Created
June 21, 2023 14:23
-
-
Save 0age/f88e52aaadac33c4cce1f493fe47e41f to your computer and use it in GitHub Desktop.
ABIs for SeaportNavigator & SeaportValidator contracts
This file contains 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
[ | |
{ | |
"inputs": [], | |
"name": "CONTRACT_OFFERER_INTERFACE_ID", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "ERC1155_INTERFACE_ID", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "ERC20_INTERFACE_ID", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "ERC721_INTERFACE_ID", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "ZONE_INTERFACE_ID", | |
"outputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "", | |
"type": "bytes4" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceHash", | |
"type": "bytes4" | |
} | |
], | |
"name": "checkInterface", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "getApprovalAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "includedTokens", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "targetIndex", | |
"type": "uint256" | |
} | |
], | |
"name": "getMerkleProof", | |
"outputs": [ | |
{ | |
"internalType": "bytes32[]", | |
"name": "merkleProof", | |
"type": "bytes32[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "includedTokens", | |
"type": "uint256[]" | |
} | |
], | |
"name": "getMerkleRoot", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "merkleRoot", | |
"type": "bytes32" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
} | |
], | |
"name": "isPaymentToken", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "isValidConduit", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "parameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "signature", | |
"type": "bytes" | |
} | |
], | |
"internalType": "struct Order", | |
"name": "order", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "isValidOrder", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "seaport", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "primaryFeeRecipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "primaryFeeBips", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "checkCreatorFee", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "skipStrictValidation", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "shortOrderDuration", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "distantOrderExpiration", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct ValidationConfiguration", | |
"name": "validationConfiguration", | |
"type": "tuple" | |
}, | |
{ | |
"components": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "parameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "signature", | |
"type": "bytes" | |
} | |
], | |
"internalType": "struct Order", | |
"name": "order", | |
"type": "tuple" | |
} | |
], | |
"name": "isValidOrderWithConfiguration", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
} | |
], | |
"name": "isValidZone", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "includedTokens", | |
"type": "uint256[]" | |
} | |
], | |
"name": "sortMerkleTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "sortedTokens", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "considerationItemIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateConsiderationItem", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "considerationItemIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateConsiderationItemParameters", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateConsiderationItems", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "contractOfferer", | |
"type": "address" | |
} | |
], | |
"name": "validateContractOfferer", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "offerItemIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateOfferItem", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "offerItemIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateOfferItemApprovalAndBalance", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "offerItemIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateOfferItemParameters", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateOfferItems", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateOrderStatus", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "bytes32", | |
"name": "orderHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "fulfiller", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifier", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct SpentItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifier", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ReceivedItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "extraData", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "bytes32[]", | |
"name": "orderHashes", | |
"type": "bytes32[]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
} | |
], | |
"internalType": "struct ZoneParameters", | |
"name": "zoneParameters", | |
"type": "tuple" | |
} | |
], | |
"name": "validateOrderWithZone", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "parameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "signature", | |
"type": "bytes" | |
} | |
], | |
"internalType": "struct Order", | |
"name": "order", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateSignature", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "parameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "signature", | |
"type": "bytes" | |
} | |
], | |
"internalType": "struct Order", | |
"name": "order", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "counter", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "seaportAddress", | |
"type": "address" | |
} | |
], | |
"name": "validateSignatureWithCounter", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "address", | |
"name": "primaryFeeRecipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "primaryFeeBips", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "checkCreatorFee", | |
"type": "bool" | |
} | |
], | |
"name": "validateStrictLogic", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "offerer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "zone", | |
"type": "address" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OfferItem[]", | |
"name": "offer", | |
"type": "tuple[]" | |
}, | |
{ | |
"components": [ | |
{ | |
"internalType": "enum ItemType", | |
"name": "itemType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "identifierOrCriteria", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address payable", | |
"name": "recipient", | |
"type": "address" | |
} | |
], | |
"internalType": "struct ConsiderationItem[]", | |
"name": "consideration", | |
"type": "tuple[]" | |
}, | |
{ | |
"internalType": "enum OrderType", | |
"name": "orderType", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "startTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "endTime", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "zoneHash", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salt", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "conduitKey", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalOriginalConsiderationItems", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct OrderParameters", | |
"name": "orderParameters", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "shortOrderDuration", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "distantOrderExpiration", | |
"type": "uint256" | |
} | |
], | |
"name": "validateTime", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint16[]", | |
"name": "errors", | |
"type": "uint16[]" | |
}, | |
{ | |
"internalType": "uint16[]", | |
"name": "warnings", | |
"type": "uint16[]" | |
} | |
], | |
"internalType": "struct ErrorsAndWarnings", | |
"name": "errorsAndWarnings", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "merkleRoot", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32[]", | |
"name": "merkleProof", | |
"type": "bytes32[]" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "valueToProve", | |
"type": "uint256" | |
} | |
], | |
"name": "verifyMerkleProof", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment