Function useSeaportFulfillBasicOrder
- useSeaportFulfillBasicOrder<TMode>(config?): {
data: undefined | WriteContractResult;
error: null | Error;
isError: boolean;
isIdle: boolean;
isLoading: boolean;
isSuccess: boolean;
reset: (() => void);
status: "error" | "success" | "loading" | "idle";
variables: undefined | UseContractWriteArgs<Abi, string, undefined>;
write: MutationFn<TMode, readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", void>;
writeAsync: MutationFn<TMode, readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", Promise<WriteContractResult>>;
} Parameters
config: TMode extends "prepared"
? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly [{
inputs: readonly [({ readonly name: "conduitController"; readonly internalType: "address"; readonly type: "address"; })];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [({ readonly name: "v"; readonly internalType: "uint8"; readonly type: "uint8"; })];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "considerationIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "shortfallAmount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "identifiers"; readonly internalType: "uint256[]"; readonly type: "uint256[]"; }), ({ readonly name: "amounts"; readonly internalType: "uint256[]"; readonly type: "uint256[]"; })];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [({ readonly name: "conduit"; readonly internalType: "address"; readonly type: "address"; })];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [({ readonly name: "conduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "conduit"; readonly internalType: "address"; readonly type: "address"; })];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [({ readonly name: "value"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [({ readonly name: "startTime"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "endTime"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [({ readonly name: "fulfillmentIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [({ readonly name: "side"; readonly internalType: "enum Side"; readonly type: "uint8"; })];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [({ readonly name: "account"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [({ readonly name: "account"; readonly internalType: "address"; readonly type: "address"; })];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [({ readonly name: "side"; readonly internalType: "enum Side"; readonly type: "uint8"; })];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "identifier"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "considerationIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "offerIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "newCounter"; readonly internalType: "uint256"; readonly type: "uint256"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; })];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "zone"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; })];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "zone"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; readonly indexed: false; }), ({ readonly name: "offer"; readonly internalType: "struct SpentItem[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "itemType"; readonly internalType: "enum ItemType"; readonly type: "uint8"; }, { ...; }, { ...; }, { ...; }]; readonly indexed: false; }), ({ readonly name: "consideration"; readonly internalType: "struct ReceivedItem[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "itemType"; readonly internalType: "enum ItemType"; readonly type: "uint8"; }, { ...; }, { ...; }, { ...; }, { ...; }]; readonly indexed: false; })];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "orderParameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; readonly indexed: false; })];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHashes"; readonly internalType: "bytes32[]"; readonly type: "bytes32[]"; readonly indexed: false; })];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [({ readonly name: "orders"; readonly internalType: "struct OrderComponents[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; })];
name: "cancel";
outputs: readonly [({ readonly name: "cancelled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; })];
name: "fulfillAdvancedOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "maximumFulfilled"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool[]"; readonly type: "bool[]"; }), ({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "maximumFulfilled"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "fulfillAvailableOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool[]"; readonly type: "bool[]"; }), ({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "parameters"; readonly internalType: "struct BasicOrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "considerationToken"; readonly internalType: "address"; readonly type: "address"; }, ... 16 more ..., { ...; }]; })];
name: "fulfillBasicOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "parameters"; readonly internalType: "struct BasicOrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "considerationToken"; readonly internalType: "address"; readonly type: "address"; }, ... 16 more ..., { ...; }]; })];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "fulfillOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "contractOfferer"; readonly internalType: "address"; readonly type: "address"; })];
name: "getContractOffererNonce";
outputs: readonly [({ readonly name: "nonce"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; })];
name: "getCounter";
outputs: readonly [({ readonly name: "counter"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct OrderComponents"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; })];
name: "getOrderHash";
outputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "getOrderStatus";
outputs: readonly [({ readonly name: "isValidated"; readonly internalType: "bool"; readonly type: "bool"; }), ({ readonly name: "isCancelled"; readonly internalType: "bool"; readonly type: "bool"; }), ({ readonly name: "totalFilled"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "totalSize"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [({ readonly name: "newCounter"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [({ readonly name: "version"; readonly internalType: "string"; readonly type: "string"; }), ({ readonly name: "domainSeparator"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "conduitController"; readonly internalType: "address"; readonly type: "address"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct Fulfillment[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerComponents"; readonly internalType: "struct FulfillmentComponent[]"; readonly type: "tuple[]"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; })];
name: "matchAdvancedOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct Fulfillment[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerComponents"; readonly internalType: "struct FulfillmentComponent[]"; readonly type: "tuple[]"; readonly components: readonly [...]; }, { ...; }]; })];
name: "matchOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [({ readonly name: ""; readonly internalType: "string"; readonly type: "string"; })];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; })];
name: "validate";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", TMode>> & {
mode?: TMode;
} & (TMode extends "prepared"
? UseContractWritePreparedArgs<readonly [{
inputs: readonly [({ readonly name: "conduitController"; readonly internalType: "address"; readonly type: "address"; })];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [({ readonly name: "v"; readonly internalType: "uint8"; readonly type: "uint8"; })];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "considerationIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "shortfallAmount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "identifiers"; readonly internalType: "uint256[]"; readonly type: "uint256[]"; }), ({ readonly name: "amounts"; readonly internalType: "uint256[]"; readonly type: "uint256[]"; })];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [({ readonly name: "conduit"; readonly internalType: "address"; readonly type: "address"; })];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [({ readonly name: "conduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "conduit"; readonly internalType: "address"; readonly type: "address"; })];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [({ readonly name: "value"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [({ readonly name: "startTime"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "endTime"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [({ readonly name: "fulfillmentIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [({ readonly name: "side"; readonly internalType: "enum Side"; readonly type: "uint8"; })];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [({ readonly name: "account"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [({ readonly name: "account"; readonly internalType: "address"; readonly type: "address"; })];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [({ readonly name: "side"; readonly internalType: "enum Side"; readonly type: "uint8"; })];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "identifier"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "considerationIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "offerIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "newCounter"; readonly internalType: "uint256"; readonly type: "uint256"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; })];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "zone"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; })];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "zone"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; readonly indexed: false; }), ({ readonly name: "offer"; readonly internalType: "struct SpentItem[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "itemType"; readonly internalType: "enum ItemType"; readonly type: "uint8"; }, { ...; }, { ...; }, { ...; }]; readonly indexed: false; }), ({ readonly name: "consideration"; readonly internalType: "struct ReceivedItem[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "itemType"; readonly internalType: "enum ItemType"; readonly type: "uint8"; }, { ...; }, { ...; }, { ...; }, { ...; }]; readonly indexed: false; })];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "orderParameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; readonly indexed: false; })];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHashes"; readonly internalType: "bytes32[]"; readonly type: "bytes32[]"; readonly indexed: false; })];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [({ readonly name: "orders"; readonly internalType: "struct OrderComponents[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; })];
name: "cancel";
outputs: readonly [({ readonly name: "cancelled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; })];
name: "fulfillAdvancedOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "maximumFulfilled"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool[]"; readonly type: "bool[]"; }), ({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "maximumFulfilled"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "fulfillAvailableOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool[]"; readonly type: "bool[]"; }), ({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "parameters"; readonly internalType: "struct BasicOrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "considerationToken"; readonly internalType: "address"; readonly type: "address"; }, ... 16 more ..., { ...; }]; })];
name: "fulfillBasicOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "parameters"; readonly internalType: "struct BasicOrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "considerationToken"; readonly internalType: "address"; readonly type: "address"; }, ... 16 more ..., { ...; }]; })];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "fulfillOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "contractOfferer"; readonly internalType: "address"; readonly type: "address"; })];
name: "getContractOffererNonce";
outputs: readonly [({ readonly name: "nonce"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; })];
name: "getCounter";
outputs: readonly [({ readonly name: "counter"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct OrderComponents"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; })];
name: "getOrderHash";
outputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "getOrderStatus";
outputs: readonly [({ readonly name: "isValidated"; readonly internalType: "bool"; readonly type: "bool"; }), ({ readonly name: "isCancelled"; readonly internalType: "bool"; readonly type: "bool"; }), ({ readonly name: "totalFilled"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "totalSize"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [({ readonly name: "newCounter"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [({ readonly name: "version"; readonly internalType: "string"; readonly type: "string"; }), ({ readonly name: "domainSeparator"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "conduitController"; readonly internalType: "address"; readonly type: "address"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct Fulfillment[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerComponents"; readonly internalType: "struct FulfillmentComponent[]"; readonly type: "tuple[]"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; })];
name: "matchAdvancedOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct Fulfillment[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerComponents"; readonly internalType: "struct FulfillmentComponent[]"; readonly type: "tuple[]"; readonly components: readonly [...]; }, { ...; }]; })];
name: "matchOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [({ readonly name: ""; readonly internalType: "string"; readonly type: "string"; })];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; })];
name: "validate";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder">
: UseContractWriteUnpreparedArgs<readonly [{
inputs: readonly [({ readonly name: "conduitController"; readonly internalType: "address"; readonly type: "address"; })];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [({ readonly name: "v"; readonly internalType: "uint8"; readonly type: "uint8"; })];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "considerationIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "shortfallAmount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "identifiers"; readonly internalType: "uint256[]"; readonly type: "uint256[]"; }), ({ readonly name: "amounts"; readonly internalType: "uint256[]"; readonly type: "uint256[]"; })];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [({ readonly name: "conduit"; readonly internalType: "address"; readonly type: "address"; })];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [({ readonly name: "conduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "conduit"; readonly internalType: "address"; readonly type: "address"; })];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [({ readonly name: "value"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [({ readonly name: "startTime"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "endTime"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [({ readonly name: "fulfillmentIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [({ readonly name: "side"; readonly internalType: "enum Side"; readonly type: "uint8"; })];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [({ readonly name: "account"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [({ readonly name: "account"; readonly internalType: "address"; readonly type: "address"; })];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [({ readonly name: "side"; readonly internalType: "enum Side"; readonly type: "uint8"; })];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [({ readonly name: "token"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "from"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "to"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "identifier"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "amount"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "considerationIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [({ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "offerIndex"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "newCounter"; readonly internalType: "uint256"; readonly type: "uint256"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; })];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "zone"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; })];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "zone"; readonly internalType: "address"; readonly type: "address"; readonly indexed: true; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; readonly indexed: false; }), ({ readonly name: "offer"; readonly internalType: "struct SpentItem[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "itemType"; readonly internalType: "enum ItemType"; readonly type: "uint8"; }, { ...; }, { ...; }, { ...; }]; readonly indexed: false; }), ({ readonly name: "consideration"; readonly internalType: "struct ReceivedItem[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "itemType"; readonly internalType: "enum ItemType"; readonly type: "uint8"; }, { ...; }, { ...; }, { ...; }, { ...; }]; readonly indexed: false; })];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; readonly indexed: false; }), ({ readonly name: "orderParameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; readonly indexed: false; })];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [({ readonly name: "orderHashes"; readonly internalType: "bytes32[]"; readonly type: "bytes32[]"; readonly indexed: false; })];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [({ readonly name: "orders"; readonly internalType: "struct OrderComponents[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; })];
name: "cancel";
outputs: readonly [({ readonly name: "cancelled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; })];
name: "fulfillAdvancedOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; }), ({ readonly name: "maximumFulfilled"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool[]"; readonly type: "bool[]"; }), ({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct FulfillmentComponent[][]"; readonly type: "tuple[][]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "maximumFulfilled"; readonly internalType: "uint256"; readonly type: "uint256"; })];
name: "fulfillAvailableOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool[]"; readonly type: "bool[]"; }), ({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "parameters"; readonly internalType: "struct BasicOrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "considerationToken"; readonly internalType: "address"; readonly type: "address"; }, ... 16 more ..., { ...; }]; })];
name: "fulfillBasicOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "parameters"; readonly internalType: "struct BasicOrderParameters"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "considerationToken"; readonly internalType: "address"; readonly type: "address"; }, ... 16 more ..., { ...; }]; })];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: "fulfillerConduitKey"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "fulfillOrder";
outputs: readonly [({ readonly name: "fulfilled"; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: "contractOfferer"; readonly internalType: "address"; readonly type: "address"; })];
name: "getContractOffererNonce";
outputs: readonly [({ readonly name: "nonce"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; })];
name: "getCounter";
outputs: readonly [({ readonly name: "counter"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct OrderComponents"; readonly type: "tuple"; readonly components: readonly [{ readonly name: "offerer"; readonly internalType: "address"; readonly type: "address"; }, ... 9 more ..., { ...; }]; })];
name: "getOrderHash";
outputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: "orderHash"; readonly internalType: "bytes32"; readonly type: "bytes32"; })];
name: "getOrderStatus";
outputs: readonly [({ readonly name: "isValidated"; readonly internalType: "bool"; readonly type: "bool"; }), ({ readonly name: "isCancelled"; readonly internalType: "bool"; readonly type: "bool"; }), ({ readonly name: "totalFilled"; readonly internalType: "uint256"; readonly type: "uint256"; }), ({ readonly name: "totalSize"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [({ readonly name: "newCounter"; readonly internalType: "uint256"; readonly type: "uint256"; })];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [({ readonly name: "version"; readonly internalType: "string"; readonly type: "string"; }), ({ readonly name: "domainSeparator"; readonly internalType: "bytes32"; readonly type: "bytes32"; }), ({ readonly name: "conduitController"; readonly internalType: "address"; readonly type: "address"; })];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct AdvancedOrder[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct CriteriaResolver[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "orderIndex"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ...; }, { ...; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct Fulfillment[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerComponents"; readonly internalType: "struct FulfillmentComponent[]"; readonly type: "tuple[]"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: "recipient"; readonly internalType: "address"; readonly type: "address"; })];
name: "matchAdvancedOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; }), ({ readonly name: ""; readonly internalType: "struct Fulfillment[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "offerComponents"; readonly internalType: "struct FulfillmentComponent[]"; readonly type: "tuple[]"; readonly components: readonly [...]; }, { ...; }]; })];
name: "matchOrders";
outputs: readonly [({ readonly name: ""; readonly internalType: "struct Execution[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "item"; readonly internalType: "struct ReceivedItem"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }, { ...; }]; })];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [({ readonly name: ""; readonly internalType: "string"; readonly type: "string"; })];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [({ readonly name: ""; readonly internalType: "struct Order[]"; readonly type: "tuple[]"; readonly components: readonly [{ readonly name: "parameters"; readonly internalType: "struct OrderParameters"; readonly type: "tuple"; readonly components: readonly [...]; }, { ...; }]; })];
name: "validate";
outputs: readonly [({ readonly name: ""; readonly internalType: "bool"; readonly type: "bool"; })];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder">) & {
functionName?: "fulfillBasicOrder";
}
: MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", TMode>> & {
mode?: TMode;
} & (TMode extends "prepared"
? UseContractWritePreparedArgs<readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder">
: UseContractWriteUnpreparedArgs<readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder">) & {
abi?: undefined;
functionName?: "fulfillBasicOrder";
} = ...
Returns {
data: undefined | WriteContractResult;
error: null | Error;
isError: boolean;
isIdle: boolean;
isLoading: boolean;
isSuccess: boolean;
reset: (() => void);
status: "error" | "success" | "loading" | "idle";
variables: undefined | UseContractWriteArgs<Abi, string, undefined>;
write: MutationFn<TMode, readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", void>;
writeAsync: MutationFn<TMode, readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", Promise<WriteContractResult>>;
}
error: null | Error
isError: boolean
isIdle: boolean
isLoading: boolean
isSuccess: boolean
reset: (() => void)
status: "error" | "success" | "loading" | "idle"
write: MutationFn<TMode, readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", void>
writeAsync: MutationFn<TMode, readonly [{
inputs: readonly [{
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "BadContractSignature";
type: "error";
}, {
inputs: readonly [];
name: "BadFraction";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "BadReturnValueFromERC20OnTransfer";
type: "error";
}, {
inputs: readonly [{
internalType: "uint8";
name: "v";
type: "uint8";
}];
name: "BadSignatureV";
type: "error";
}, {
inputs: readonly [];
name: "CannotCancelOrder";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [];
name: "ConsiderationLengthNotEqualToTotalOriginal";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "shortfallAmount";
type: "uint256";
}];
name: "ConsiderationNotMet";
type: "error";
}, {
inputs: readonly [];
name: "CriteriaNotEnabledForItem";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256[]";
name: "identifiers";
type: "uint256[]";
}, {
internalType: "uint256[]";
name: "amounts";
type: "uint256[]";
}];
name: "ERC1155BatchTransferGenericFailure";
type: "error";
}, {
inputs: readonly [];
name: "InexactFraction";
type: "error";
}, {
inputs: readonly [];
name: "InsufficientNativeTokensSupplied";
type: "error";
}, {
inputs: readonly [];
name: "Invalid1155BatchTransferEncoding";
type: "error";
}, {
inputs: readonly [];
name: "InvalidBasicOrderParameterEncoding";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidCallToConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "conduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "conduit";
type: "address";
}];
name: "InvalidConduit";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidContractOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "InvalidERC721TransferAmount";
type: "error";
}, {
inputs: readonly [];
name: "InvalidFulfillmentComponentData";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "value";
type: "uint256";
}];
name: "InvalidMsgValue";
type: "error";
}, {
inputs: readonly [];
name: "InvalidNativeOfferItem";
type: "error";
}, {
inputs: readonly [];
name: "InvalidProof";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "InvalidRestrictedOrder";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSignature";
type: "error";
}, {
inputs: readonly [];
name: "InvalidSigner";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "startTime";
type: "uint256";
}, {
internalType: "uint256";
name: "endTime";
type: "uint256";
}];
name: "InvalidTime";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "fulfillmentIndex";
type: "uint256";
}];
name: "MismatchedFulfillmentOfferAndConsiderationComponents";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "MissingFulfillmentComponentOnAggregation";
type: "error";
}, {
inputs: readonly [];
name: "MissingItemAmount";
type: "error";
}, {
inputs: readonly [];
name: "MissingOriginalConsiderationItems";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "NativeTokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "NoContract";
type: "error";
}, {
inputs: readonly [];
name: "NoReentrantCalls";
type: "error";
}, {
inputs: readonly [];
name: "NoSpecifiedOrdersAvailable";
type: "error";
}, {
inputs: readonly [];
name: "OfferAndConsiderationRequiredOnFulfillment";
type: "error";
}, {
inputs: readonly [];
name: "OfferCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderAlreadyFilled";
type: "error";
}, {
inputs: readonly [{
internalType: "enum Side";
name: "side";
type: "uint8";
}];
name: "OrderCriteriaResolverOutOfRange";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderIsCancelled";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "OrderPartiallyFilled";
type: "error";
}, {
inputs: readonly [];
name: "PartialFillsNotEnabledForOrder";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "token";
type: "address";
}, {
internalType: "address";
name: "from";
type: "address";
}, {
internalType: "address";
name: "to";
type: "address";
}, {
internalType: "uint256";
name: "identifier";
type: "uint256";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "TokenTransferGenericFailure";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationIndex";
type: "uint256";
}];
name: "UnresolvedConsiderationCriteria";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "offerIndex";
type: "uint256";
}];
name: "UnresolvedOfferCriteria";
type: "error";
}, {
inputs: readonly [];
name: "UnusedItemParameters";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "newCounter";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}];
name: "CounterIncremented";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}];
name: "OrderCancelled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
indexed: true;
internalType: "address";
name: "offerer";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "zone";
type: "address";
}, {
indexed: false;
internalType: "address";
name: "recipient";
type: "address";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct SpentItem[]";
name: "offer";
type: "tuple[]";
}, {
components: readonly [{
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";
}];
indexed: false;
internalType: "struct ReceivedItem[]";
name: "consideration";
type: "tuple[]";
}];
name: "OrderFulfilled";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}, {
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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";
}];
indexed: false;
internalType: "struct OrderParameters";
name: "orderParameters";
type: "tuple";
}];
name: "OrderValidated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "bytes32[]";
name: "orderHashes";
type: "bytes32[]";
}];
name: "OrdersMatched";
type: "event";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents[]";
name: "orders";
type: "tuple[]";
}];
name: "cancel";
outputs: readonly [{
internalType: "bool";
name: "cancelled";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "fulfillAdvancedOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "address";
name: "recipient";
type: "address";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableAdvancedOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[][]";
name: "";
type: "tuple[][]";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "maximumFulfilled";
type: "uint256";
}];
name: "fulfillAvailableOrders";
outputs: readonly [{
internalType: "bool[]";
name: "";
type: "bool[]";
}, {
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "considerationToken";
type: "address";
}, {
internalType: "uint256";
name: "considerationIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "considerationAmount";
type: "uint256";
}, {
internalType: "address payable";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
internalType: "address";
name: "offerToken";
type: "address";
}, {
internalType: "uint256";
name: "offerIdentifier";
type: "uint256";
}, {
internalType: "uint256";
name: "offerAmount";
type: "uint256";
}, {
internalType: "enum BasicOrderType";
name: "basicOrderType";
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: "offererConduitKey";
type: "bytes32";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}, {
internalType: "uint256";
name: "totalOriginalAdditionalRecipients";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}, {
internalType: "address payable";
name: "recipient";
type: "address";
}];
internalType: "struct AdditionalRecipient[]";
name: "additionalRecipients";
type: "tuple[]";
}, {
internalType: "bytes";
name: "signature";
type: "bytes";
}];
internalType: "struct BasicOrderParameters";
name: "parameters";
type: "tuple";
}];
name: "fulfillBasicOrder_efficient_6GL6yc";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple";
}, {
internalType: "bytes32";
name: "fulfillerConduitKey";
type: "bytes32";
}];
name: "fulfillOrder";
outputs: readonly [{
internalType: "bool";
name: "fulfilled";
type: "bool";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "contractOfferer";
type: "address";
}];
name: "getContractOffererNonce";
outputs: readonly [{
internalType: "uint256";
name: "nonce";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}];
name: "getCounter";
outputs: readonly [{
internalType: "uint256";
name: "counter";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "counter";
type: "uint256";
}];
internalType: "struct OrderComponents";
name: "";
type: "tuple";
}];
name: "getOrderHash";
outputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "orderHash";
type: "bytes32";
}];
name: "getOrderStatus";
outputs: readonly [{
internalType: "bool";
name: "isValidated";
type: "bool";
}, {
internalType: "bool";
name: "isCancelled";
type: "bool";
}, {
internalType: "uint256";
name: "totalFilled";
type: "uint256";
}, {
internalType: "uint256";
name: "totalSize";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "incrementCounter";
outputs: readonly [{
internalType: "uint256";
name: "newCounter";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "information";
outputs: readonly [{
internalType: "string";
name: "version";
type: "string";
}, {
internalType: "bytes32";
name: "domainSeparator";
type: "bytes32";
}, {
internalType: "address";
name: "conduitController";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}, {
internalType: "address";
name: "recipient";
type: "address";
}];
name: "matchAdvancedOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}, {
components: readonly [{
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "offerComponents";
type: "tuple[]";
}, {
components: readonly [{
internalType: "uint256";
name: "orderIndex";
type: "uint256";
}, {
internalType: "uint256";
name: "itemIndex";
type: "uint256";
}];
internalType: "struct FulfillmentComponent[]";
name: "considerationComponents";
type: "tuple[]";
}];
internalType: "struct Fulfillment[]";
name: "";
type: "tuple[]";
}];
name: "matchOrders";
outputs: readonly [{
components: readonly [{
components: readonly [{
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: "";
type: "tuple[]";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "name";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
components: readonly [{
components: readonly [{
internalType: "address";
name: "offerer";
type: "address";
}, {
internalType: "address";
name: "zone";
type: "address";
}, {
components: readonly [{
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: readonly [{
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: "";
type: "tuple[]";
}];
name: "validate";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "nonpayable";
type: "function";
}, {
stateMutability: "payable";
type: "receive";
}], "fulfillBasicOrder", Promise<WriteContractResult>>
Wraps useContractWrite with
abi
set to seaportABI andfunctionName
set to"fulfillBasicOrder"
.