Skip to content

Instantly share code, notes, and snippets.

@0age
Created June 21, 2023 14:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0age/f88e52aaadac33c4cce1f493fe47e41f to your computer and use it in GitHub Desktop.
Save 0age/f88e52aaadac33c4cce1f493fe47e41f to your computer and use it in GitHub Desktop.
ABIs for SeaportNavigator & SeaportValidator contracts
[
{
"inputs": [],
"name": "CannotDeriveProofForSingleTokenId",
"type": "error"
},
{
"inputs": [],
"name": "CannotDeriveRootForSingleTokenId",
"type": "error"
},
{
"inputs": [],
"name": "TokenIdNotFound",
"type": "error"
},
{
"inputs": [],
"name": "criteriaHelper",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "tokenIds",
"type": "uint256[]"
},
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "criteriaProof",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "tokenIds",
"type": "uint256[]"
}
],
"name": "criteriaRoot",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "executionsHelper",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "fulfillmentsHelper",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "helpers",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "orderDetailsHelper",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "contract ConsiderationInterface",
"name": "seaport",
"type": "address"
},
{
"internalType": "contract SeaportValidatorInterface",
"name": "validator",
"type": "address"
},
{
"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": "identifier",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "startAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "endAmount",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "candidateIdentifiers",
"type": "uint256[]"
}
],
"internalType": "struct NavigatorOfferItem[]",
"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": "startAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "endAmount",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "candidateIdentifiers",
"type": "uint256[]"
}
],
"internalType": "struct NavigatorConsiderationItem[]",
"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 NavigatorOrderParameters",
"name": "parameters",
"type": "tuple"
},
{
"internalType": "uint120",
"name": "numerator",
"type": "uint120"
},
{
"internalType": "uint120",
"name": "denominator",
"type": "uint120"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "extraData",
"type": "bytes"
}
],
"internalType": "struct NavigatorAdvancedOrder[]",
"name": "orders",
"type": "tuple[]"
},
{
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "nativeTokensSupplied",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maximumFulfilled",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "fulfillerConduitKey",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "seed",
"type": "uint256"
},
{
"components": [
{
"internalType": "enum AggregationStrategy",
"name": "aggregationStrategy",
"type": "uint8"
},
{
"internalType": "enum FulfillAvailableStrategy",
"name": "fulfillAvailableStrategy",
"type": "uint8"
},
{
"internalType": "enum MatchStrategy",
"name": "matchStrategy",
"type": "uint8"
}
],
"internalType": "struct FulfillmentStrategy",
"name": "fulfillmentStrategy",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "enum Side",
"name": "side",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "identifier",
"type": "uint256"
},
{
"internalType": "bytes32[]",
"name": "criteriaProof",
"type": "bytes32[]"
}
],
"internalType": "struct CriteriaResolver[]",
"name": "criteriaResolvers",
"type": "tuple[]"
},
{
"internalType": "bool",
"name": "preferMatch",
"type": "bool"
}
],
"internalType": "struct NavigatorRequest",
"name": "request",
"type": "tuple"
}
],
"name": "prepare",
"outputs": [
{
"components": [
{
"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": "uint120",
"name": "numerator",
"type": "uint120"
},
{
"internalType": "uint120",
"name": "denominator",
"type": "uint120"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "extraData",
"type": "bytes"
}
],
"internalType": "struct AdvancedOrder[]",
"name": "orders",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "enum Side",
"name": "side",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "identifier",
"type": "uint256"
},
{
"internalType": "bytes32[]",
"name": "criteriaProof",
"type": "bytes32[]"
}
],
"internalType": "struct CriteriaResolver[]",
"name": "criteriaResolvers",
"type": "tuple[]"
},
{
"internalType": "string",
"name": "suggestedActionName",
"type": "string"
},
{
"internalType": "bytes",
"name": "suggestedCallData",
"type": "bytes"
},
{
"components": [
{
"internalType": "uint16[]",
"name": "errors",
"type": "uint16[]"
},
{
"internalType": "uint16[]",
"name": "warnings",
"type": "uint16[]"
}
],
"internalType": "struct ErrorsAndWarnings[]",
"name": "validationErrors",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "address",
"name": "offerer",
"type": "address"
},
{
"internalType": "bytes32",
"name": "conduitKey",
"type": "bytes32"
},
{
"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": "bool",
"name": "isContract",
"type": "bool"
},
{
"internalType": "bytes32",
"name": "orderHash",
"type": "bytes32"
},
{
"internalType": "enum UnavailableReason",
"name": "unavailableReason",
"type": "uint8"
}
],
"internalType": "struct OrderDetails[]",
"name": "orderDetails",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "itemIndex",
"type": "uint256"
}
],
"internalType": "struct FulfillmentComponent[][]",
"name": "offerFulfillments",
"type": "tuple[][]"
},
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "itemIndex",
"type": "uint256"
}
],
"internalType": "struct FulfillmentComponent[][]",
"name": "considerationFulfillments",
"type": "tuple[][]"
},
{
"components": [
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "itemIndex",
"type": "uint256"
}
],
"internalType": "struct FulfillmentComponent[]",
"name": "offerComponents",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "itemIndex",
"type": "uint256"
}
],
"internalType": "struct FulfillmentComponent[]",
"name": "considerationComponents",
"type": "tuple[]"
}
],
"internalType": "struct Fulfillment[]",
"name": "fulfillments",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "orderIndex",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "itemIndex",
"type": "uint8"
}
],
"internalType": "struct MatchComponent[]",
"name": "unspentOfferComponents",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "orderIndex",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "itemIndex",
"type": "uint8"
}
],
"internalType": "struct MatchComponent[]",
"name": "unmetConsiderationComponents",
"type": "tuple[]"
},
{
"components": [
{
"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": "item",
"type": "tuple"
},
{
"internalType": "address",
"name": "offerer",
"type": "address"
},
{
"internalType": "bytes32",
"name": "conduitKey",
"type": "bytes32"
}
],
"internalType": "struct Execution[]",
"name": "explicitExecutions",
"type": "tuple[]"
},
{
"components": [
{
"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": "item",
"type": "tuple"
},
{
"internalType": "address",
"name": "offerer",
"type": "address"
},
{
"internalType": "bytes32",
"name": "conduitKey",
"type": "bytes32"
}
],
"internalType": "struct Execution[]",
"name": "implicitExecutions",
"type": "tuple[]"
},
{
"components": [
{
"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": "item",
"type": "tuple"
},
{
"internalType": "address",
"name": "offerer",
"type": "address"
},
{
"internalType": "bytes32",
"name": "conduitKey",
"type": "bytes32"
}
],
"internalType": "struct Execution[]",
"name": "implicitExecutionsPre",
"type": "tuple[]"
},
{
"components": [
{
"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": "item",
"type": "tuple"
},
{
"internalType": "address",
"name": "offerer",
"type": "address"
},
{
"internalType": "bytes32",
"name": "conduitKey",
"type": "bytes32"
}
],
"internalType": "struct Execution[]",
"name": "implicitExecutionsPost",
"type": "tuple[]"
},
{
"internalType": "uint256",
"name": "nativeTokensReturned",
"type": "uint256"
}
],
"internalType": "struct NavigatorResponse",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "requestValidator",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "suggestedActionHelper",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "validatorHelper",
"outputs": [
{
"internalType": "contract HelperInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
[
{
"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