Created
July 10, 2021 16:35
-
-
Save ligi/83faf325a81416053f0aa5e217e32504 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"types": { | |
"Order": [ | |
{ | |
"name": "sellToken", | |
"type": "address" | |
}, | |
{ | |
"name": "buyToken", | |
"type": "address" | |
}, | |
{ | |
"name": "receiver", | |
"type": "address" | |
}, | |
{ | |
"name": "sellAmount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "buyAmount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "validTo", | |
"type": "uint32" | |
}, | |
{ | |
"name": "appData", | |
"type": "bytes32" | |
}, | |
{ | |
"name": "feeAmount", | |
"type": "uint256" | |
}, | |
{ | |
"name": "kind", | |
"type": "string" | |
}, | |
{ | |
"name": "partiallyFillable", | |
"type": "bool" | |
} | |
], | |
"EIP712Domain": [ | |
{ | |
"name": "name", | |
"type": "string" | |
}, | |
{ | |
"name": "version", | |
"type": "string" | |
}, | |
{ | |
"name": "chainId", | |
"type": "uint256" | |
}, | |
{ | |
"name": "verifyingContract", | |
"type": "address" | |
} | |
] | |
}, | |
"domain": { | |
"name": "Gnosis Protocol", | |
"version": "v2", | |
"chainId": "4", | |
"verifyingContract": "0x3328f5f2cecaf00a2443082b657cedeaf70bfaef" | |
}, | |
"primaryType": "Order", | |
"message": { | |
"sellToken": "0xc778417e063141139fce010982780140aa0cd5ab", | |
"buyToken": "0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea", | |
"receiver": "0xdac878d760ca620a262d205cadc58b42fb9088a2", | |
"sellAmount": "999799999998200000", | |
"buyAmount": "831292755669293751709662", | |
"validTo": "1625935261", | |
"appData": "0x0000000000000000000000000000000000000000000000000000000000000001", | |
"feeAmount": "200000001800000", | |
"kind": "sell", | |
"partiallyFillable": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment