Created
March 14, 2024 17:04
-
-
Save milaabl/f21381309250ead9e98779f518cef5c9 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
const types = { | |
OrderComponents: [ | |
{ name: "offerer", type: "address" }, | |
{ name: "zone", type: "address" }, | |
{ name: "offer", type: "OfferItem[]" }, | |
{ name: "consideration", type: "ConsiderationItem[]" }, | |
{ name: "orderType", type: "uint8" }, | |
{ name: "startTime", type: "uint256" }, | |
{ name: "endTime", type: "uint256" }, | |
{ name: "zoneHash", type: "bytes32" }, | |
{ name: "salt", type: "uint256" }, | |
{ name: "conduitKey", type: "bytes32" }, | |
{ name: "counter", type: "uint256" } | |
], | |
OfferItem: [ | |
{ name: "itemType", type: "uint8" }, | |
{ name: "token", type: "address" }, | |
{ name: "identifierOrCriteria", type: "uint256" }, | |
{ name: "startAmount", type: "uint256" }, | |
{ name: "endAmount", type: "uint256" } | |
], | |
ConsiderationItem: [ | |
{ name: "itemType", type: "uint8" }, | |
{ name: "token", type: "address" }, | |
{ name: "identifierOrCriteria", type: "uint256" }, | |
{ name: "startAmount", type: "uint256" }, | |
{ name: "endAmount", type: "uint256" }, | |
{ name: "recipient", type: "address" } | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment