You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CowWrapper.sol
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,17 @@
2
2
pragma solidity>=0.7.6<0.9.0;
3
3
pragma abicoder v2;
4
4
5
+
/**
6
+
* @title CoW Wrapper all-in-one integration file
7
+
* @author CoW Protocol Developers
8
+
* @notice This file is completely self-contained (ie no dependencies) and can be portably copied to whatever projects it is needed.
9
+
* It contains:
10
+
* * CowWrapper -- an abstract base contract which should be inherited by all wrappers
11
+
* * ICowWrapper -- the required interface for all wrappers
12
+
* * ICowSettlement -- A minimized interface and base structures for CoW Protocol settlement contract. From https://github.com/cowprotocol/contracts/blob/main/src/contracts/GPv2Settlement.sol
13
+
* * ICowAuthentication -- The authentication interface used by ICowSettlement. From https://github.com/cowprotocol/contracts/blob/main/src/contracts/interfaces/GPv2Authentication.sol
14
+
*/
15
+
5
16
/// @title CoW Protocol Authentication Interface
6
17
/// @author CoW DAO developers
7
18
interfaceICowAuthentication {
@@ -105,7 +116,7 @@ abstract contract CowWrapper is ICowWrapper {
105
116
/// validates wrapper data, then delegates to _wrap() for custom logic.
106
117
/// @param settleData ABI-encoded call to ICowSettlement.settle() containing trade data
107
118
/// @param wrapperData Encoded data for this wrapper and the chain of next wrappers/settlement.
0 commit comments