// Generated by @wagmi/cli@0.1.14 on 3/21/2023 at 5:03:46 PM import { useContract, UseContractConfig, useContractRead, UseContractReadConfig, useContractWrite, UseContractWriteConfig, usePrepareContractWrite, UsePrepareContractWriteConfig, useContractEvent, UseContractEventConfig, } from 'wagmi' import { ReadContractResult, WriteContractMode, PrepareWriteContractResult, } from 'wagmi/actions' ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AccessControl ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const accessControlABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'previousAdminRole', internalType: 'bytes32', type: 'bytes32', indexed: true, }, { name: 'newAdminRole', internalType: 'bytes32', type: 'bytes32', indexed: true, }, ], name: 'RoleAdminChanged', }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'sender', internalType: 'address', type: 'address', indexed: true, }, ], name: 'RoleGranted', }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'sender', internalType: 'address', type: 'address', indexed: true, }, ], name: 'RoleRevoked', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'DEFAULT_ADMIN_ROLE', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }], name: 'getRoleAdmin', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'grantRole', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'hasRole', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'renounceRole', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'revokeRole', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // BaseTest ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const baseTestABI = [ { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'string', type: 'string', indexed: false }, ], name: 'log', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'address', type: 'address', indexed: false }, ], name: 'log_address', }, { type: 'event', anonymous: false, inputs: [ { name: 'val', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, ], name: 'log_array', }, { type: 'event', anonymous: false, inputs: [ { name: 'val', internalType: 'int256[]', type: 'int256[]', indexed: false, }, ], name: 'log_array', }, { type: 'event', anonymous: false, inputs: [ { name: 'val', internalType: 'address[]', type: 'address[]', indexed: false, }, ], name: 'log_array', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, ], name: 'log_bytes', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'bytes32', type: 'bytes32', indexed: false }, ], name: 'log_bytes32', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'int256', type: 'int256', indexed: false }, ], name: 'log_int', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'address', type: 'address', indexed: false }, ], name: 'log_named_address', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, ], name: 'log_named_array', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'int256[]', type: 'int256[]', indexed: false, }, ], name: 'log_named_array', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'address[]', type: 'address[]', indexed: false, }, ], name: 'log_named_array', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'bytes', type: 'bytes', indexed: false }, ], name: 'log_named_bytes', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'bytes32', type: 'bytes32', indexed: false }, ], name: 'log_named_bytes32', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, { name: 'decimals', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'log_named_decimal_int', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, { name: 'decimals', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'log_named_decimal_uint', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'int256', type: 'int256', indexed: false }, ], name: 'log_named_int', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'string', type: 'string', indexed: false }, ], name: 'log_named_string', }, { type: 'event', anonymous: false, inputs: [ { name: 'key', internalType: 'string', type: 'string', indexed: false }, { name: 'val', internalType: 'uint256', type: 'uint256', indexed: false }, ], name: 'log_named_uint', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'string', type: 'string', indexed: false }, ], name: 'log_string', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'uint256', type: 'uint256', indexed: false }, ], name: 'log_uint', }, { type: 'event', anonymous: false, inputs: [ { name: '', internalType: 'bytes', type: 'bytes', indexed: false }, ], name: 'logs', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'AMOUNT_TO_LAZY_MINT', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'BOB', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'DESCRIPTION', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ELON', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ENCRYPTED_URI', outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'FLASK_URI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'IMAGE_URI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'IS_TEST', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'KEY', outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'MAX_BPS', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'MAX_SUPPLY', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'MAX_TOTAL_SUPPLY', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'METADATA', outputs: [ { name: 'name', internalType: 'string', type: 'string' }, { name: 'description', internalType: 'string', type: 'string' }, { name: 'imageURI', internalType: 'string', type: 'string' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'NAME', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'PRIMARY_SALE_RECIPIENTS', outputs: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'bps', internalType: 'uint16', type: 'uint16' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'PRIMARY_SELL_BPS_ALICE', outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'PRIMARY_SELL_BPS_BOB', outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'PRIMARY_SELL_BPS_PLATFORM', outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'PRIMARY_SELL_RECIPIENT_ALICE', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'PRIMARY_SELL_RECIPIENT_BOB', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'PRIMARY_SELL_RECIPIENT_PLATFORM', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ROYALTY_FEE_BPS', outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ROYALTY_FEE_RECIPIENT_CHRIS', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ROYALTY_FEE_RECIPIENT_DAVE', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ROYALTY_FEE_SHARE_CHRIS', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'ROYALTY_FEE_SHARE_DAVE', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'ROYALTY_RECIPIENTS', outputs: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'SYMBOL', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'UNENCRYPTED_URI', outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'failed', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'setUp', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ContractMetadata ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const contractMetadataABI = [ { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // CurrencyTransferLib ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const currencyTransferLibABI = [ { stateMutability: 'view', type: 'function', inputs: [], name: 'NATIVE_TOKEN', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // DelayedReveal ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const delayedRevealABI = [ { type: 'error', inputs: [], name: 'BaseURIRequiredError' }, { type: 'error', inputs: [], name: 'NothingToReveal' }, { type: 'event', anonymous: false, inputs: [ { name: 'revealedURI', internalType: 'string', type: 'string', indexed: false, }, ], name: 'URIRevealed', }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'key', internalType: 'bytes', type: 'bytes' }], name: 'reveal', outputs: [{ name: 'revealedURI', internalType: 'string', type: 'string' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Drop ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const dropABI = [ { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionEndTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Drop1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const drop1155ABI = [ { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionStartTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_editionId', internalType: 'uint256', type: 'uint256' }], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ERC1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const erc1155ABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [{ name: 'uri_', internalType: 'string', type: 'string' }], }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, { name: 'values', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, ], name: 'TransferBatch', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false }, { name: 'value', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TransferSingle', }, { type: 'event', anonymous: false, inputs: [ { name: 'value', internalType: 'string', type: 'string', indexed: false }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true }, ], name: 'URI', }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, ], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'accounts', internalType: 'address[]', type: 'address[]' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, ], name: 'balanceOfBatch', outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'amounts', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeBatchTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'uri', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ERC165 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const erc165ABI = [ { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ERC721A ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const erc721AABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: 'name_', internalType: 'string', type: 'string' }, { name: 'symbol_', internalType: 'string', type: 'string' }, ], }, { type: 'error', inputs: [], name: 'ApprovalCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'ApprovalQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'BalanceQueryForZeroAddress' }, { type: 'error', inputs: [], name: 'MintERC2309QuantityExceedsLimit' }, { type: 'error', inputs: [], name: 'MintToZeroAddress' }, { type: 'error', inputs: [], name: 'MintZeroQuantity' }, { type: 'error', inputs: [], name: 'OwnerQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'OwnershipNotInitializedForExtraData' }, { type: 'error', inputs: [], name: 'TransferCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'TransferFromIncorrectOwner' }, { type: 'error', inputs: [], name: 'TransferToNonERC721ReceiverImplementer' }, { type: 'error', inputs: [], name: 'TransferToZeroAddress' }, { type: 'error', inputs: [], name: 'URIQueryForNonexistentToken' }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'fromTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'toTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, ], name: 'ConsecutiveTransfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ERC721A__IERC721Receiver ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const erc721AIerc721ReceiverABI = [ { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'from', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'onERC721Received', outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ERC721r ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const erc721rABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: 'name_', internalType: 'string', type: 'string' }, { name: 'symbol_', internalType: 'string', type: 'string' }, { name: 'maxSupply_', internalType: 'uint256', type: 'uint256' }, ], }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IAccessControl ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iAccessControlABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'previousAdminRole', internalType: 'bytes32', type: 'bytes32', indexed: true, }, { name: 'newAdminRole', internalType: 'bytes32', type: 'bytes32', indexed: true, }, ], name: 'RoleAdminChanged', }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'sender', internalType: 'address', type: 'address', indexed: true, }, ], name: 'RoleGranted', }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'sender', internalType: 'address', type: 'address', indexed: true, }, ], name: 'RoleRevoked', }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }], name: 'getRoleAdmin', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'grantRole', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'hasRole', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'renounceRole', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'revokeRole', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IContractMetadata ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iContractMetadataABI = [ { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IDrop ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iDropABI = [ { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionEndTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'phases', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: 'resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IDelayedReveal ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iDelayedRevealABI = [ { type: 'error', inputs: [], name: 'BaseURIRequiredError' }, { type: 'event', anonymous: false, inputs: [ { name: 'revealedURI', internalType: 'string', type: 'string', indexed: false, }, ], name: 'URIRevealed', }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'key', internalType: 'bytes', type: 'bytes' }], name: 'reveal', outputs: [{ name: 'revealedURI', internalType: 'string', type: 'string' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IDrop1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iDrop1155ABI = [ { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionStartTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'phases', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: 'resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc1155ABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, { name: 'values', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, ], name: 'TransferBatch', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false }, { name: 'value', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TransferSingle', }, { type: 'event', anonymous: false, inputs: [ { name: 'value', internalType: 'string', type: 'string', indexed: false }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true }, ], name: 'URI', }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, ], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'accounts', internalType: 'address[]', type: 'address[]' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, ], name: 'balanceOfBatch', outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'amounts', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeBatchTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC1155MetadataURI ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc1155MetadataUriABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, { name: 'values', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, ], name: 'TransferBatch', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false }, { name: 'value', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TransferSingle', }, { type: 'event', anonymous: false, inputs: [ { name: 'value', internalType: 'string', type: 'string', indexed: false }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true }, ], name: 'URI', }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, ], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'accounts', internalType: 'address[]', type: 'address[]' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, ], name: 'balanceOfBatch', outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'amounts', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeBatchTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'id', internalType: 'uint256', type: 'uint256' }], name: 'uri', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC1155Receiver ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc1155ReceiverABI = [ { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'from', internalType: 'address', type: 'address' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'values', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'onERC1155BatchReceived', outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'from', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, { name: 'value', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'onERC1155Received', outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC165 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc165ABI = [ { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC20 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc20ABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'spender', internalType: 'address', type: 'address', indexed: true, }, { name: 'value', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'value', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'Transfer', }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'spender', internalType: 'address', type: 'address' }, ], name: 'allowance', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'spender', internalType: 'address', type: 'address' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], name: 'transfer', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC2981 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc2981ABI = [ { stateMutability: 'view', type: 'function', inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC721 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc721ABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: 'operator', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: 'owner', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: '_approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC721A ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc721AABI = [ { type: 'error', inputs: [], name: 'ApprovalCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'ApprovalQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'BalanceQueryForZeroAddress' }, { type: 'error', inputs: [], name: 'MintERC2309QuantityExceedsLimit' }, { type: 'error', inputs: [], name: 'MintToZeroAddress' }, { type: 'error', inputs: [], name: 'MintZeroQuantity' }, { type: 'error', inputs: [], name: 'OwnerQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'OwnershipNotInitializedForExtraData' }, { type: 'error', inputs: [], name: 'TransferCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'TransferFromIncorrectOwner' }, { type: 'error', inputs: [], name: 'TransferToNonERC721ReceiverImplementer' }, { type: 'error', inputs: [], name: 'TransferToZeroAddress' }, { type: 'error', inputs: [], name: 'URIQueryForNonexistentToken' }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'fromTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'toTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, ], name: 'ConsecutiveTransfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: 'operator', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: 'owner', internalType: 'address', type: 'address' }], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: '_approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC721Enumerable ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc721EnumerableABI = [ { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'tokenByIndex', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'index', internalType: 'uint256', type: 'uint256' }, ], name: 'tokenOfOwnerByIndex', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC721Metadata ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc721MetadataABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: 'operator', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: 'owner', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: '_approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC721Receiver ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc721ReceiverABI = [ { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'from', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'onERC721Received', outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ILazyMint ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iLazyMintABI = [ { type: 'error', inputs: [], name: 'AmountCantBeZeroError' }, { type: 'event', anonymous: false, inputs: [ { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'endTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensLazyMinted', }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IPrimarySale ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iPrimarySaleABI = [ { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [ { name: 'recipients', internalType: 'address[]', type: 'address[]' }, ], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IRoyaltySplitter ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iRoyaltySplitterABI = [ { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IThirdPartyMint ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iThirdPartyMintABI = [ { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IThirdPartyMint1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iThirdPartyMint1155ABI = [ { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IThirdPartyMint721 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iThirdPartyMint721ABI = [ { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IWETH ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iwethABI = [ { stateMutability: 'payable', type: 'function', inputs: [], name: 'deposit', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'value', internalType: 'uint256', type: 'uint256' }, ], name: 'transfer', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }], name: 'withdraw', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IWalletClaimCounter ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iWalletClaimCounterABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_count', internalType: 'uint256', type: 'uint256' }], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_claimer', internalType: 'address', type: 'address' }], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IWalletClaimCounter1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const iWalletClaimCounter1155ABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // KanjiDropERC1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const kanjiDropErc1155ABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: '_name', internalType: 'string', type: 'string' }, { name: '_symbol', internalType: 'string', type: 'string' }, { name: '_metadata', internalType: 'struct IContractMetadata.Metadata', type: 'tuple', components: [ { name: 'name', internalType: 'string', type: 'string' }, { name: 'description', internalType: 'string', type: 'string' }, { name: 'imageURI', internalType: 'string', type: 'string' }, ], }, { name: '_saleRecipients', internalType: 'struct IPrimarySale.PrimarySaleRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'bps', internalType: 'uint16', type: 'uint16' }, ], }, { name: '_royaltyBps', internalType: 'uint16', type: 'uint16' }, { name: '_royaltyRecipients', internalType: 'struct IRoyaltySplitter.RoyaltyRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], }, { name: '_thirdParty', internalType: 'contract IAccessControl', type: 'address', }, ], }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [], name: 'AlreadyShotError' }, { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'walletClaimCountClaimer', internalType: 'uint256', type: 'uint256', }, { name: 'claimer', internalType: 'address', type: 'address' }, { name: 'maxWalletClaimCount', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedClaimLimitForWalletError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [], name: 'ExceedMaxTotalSupplyError' }, { type: 'error', inputs: [{ name: 'expected', internalType: 'uint256', type: 'uint256' }], name: 'IncorrectMsgValue', }, { type: 'error', inputs: [], name: 'InsufficientBPSError' }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'PausedError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [], name: 'RecipientAlreadySetError' }, { type: 'error', inputs: [], name: 'RecipientCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionStartTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'maxTotalSupply', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxTotalSupplyUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'previousOwner', internalType: 'address', type: 'address', indexed: true, }, { name: 'newOwner', internalType: 'address', type: 'address', indexed: true, }, ], name: 'OwnershipTransferred', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Paused', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, { name: 'shares', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PayeeAdded', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: false, }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReceived', }, { type: 'event', anonymous: false, inputs: [ { name: 'to', internalType: 'address', type: 'address', indexed: false }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReleased', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, { name: 'values', internalType: 'uint256[]', type: 'uint256[]', indexed: false, }, ], name: 'TransferBatch', }, { type: 'event', anonymous: false, inputs: [ { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false }, { name: 'value', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TransferSingle', }, { type: 'event', anonymous: false, inputs: [ { name: 'value', internalType: 'string', type: 'string', indexed: false }, { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true }, ], name: 'URI', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Unpaused', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, ], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'accounts', internalType: 'address[]', type: 'address[]' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, ], name: 'balanceOfBatch', outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'recipients', internalType: 'address[]', type: 'address[]' }, { name: 'editionsWithAmounts', internalType: 'struct KanjiDropERC1155.BatchMintData[]', type: 'tuple[]', components: [ { name: 'editionId', internalType: 'uint256', type: 'uint256' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, ], }, ], name: 'batchMintOwner', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_editionId', internalType: 'uint256', type: 'uint256' }], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'account', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'maxTotalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintOwner', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'owner', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'pause', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'paused', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'payee', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'releasable', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'account', internalType: 'address payable', type: 'address' }, ], name: 'release', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'releaseAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'released', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'renounceOwnership', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'amounts', internalType: 'uint256[]', type: 'uint256[]' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeBatchTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'id', internalType: 'uint256', type: 'uint256' }, { name: 'amount', internalType: 'uint256', type: 'uint256' }, { name: 'data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_baseURI', internalType: 'string', type: 'string' }, { name: '_maxSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'setBaseURI', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_maxTotalSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'setMaxTotalSupply', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'shares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalReleased', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalShares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], name: 'transferOwnership', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_editionId', internalType: 'uint256', type: 'uint256' }], name: 'uri', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: '', internalType: 'address', type: 'address' }, ], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'receive' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // KanjiDropERC721A ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const kanjiDropErc721AABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: '_name', internalType: 'string', type: 'string' }, { name: '_symbol', internalType: 'string', type: 'string' }, { name: '_maxSupply', internalType: 'uint256', type: 'uint256' }, { name: '_metadata', internalType: 'struct IContractMetadata.Metadata', type: 'tuple', components: [ { name: 'name', internalType: 'string', type: 'string' }, { name: 'description', internalType: 'string', type: 'string' }, { name: 'imageURI', internalType: 'string', type: 'string' }, ], }, { name: '_saleRecipients', internalType: 'struct IPrimarySale.PrimarySaleRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'bps', internalType: 'uint16', type: 'uint16' }, ], }, { name: '_royaltyBps', internalType: 'uint16', type: 'uint16' }, { name: '_royaltyRecipients', internalType: 'struct IRoyaltySplitter.RoyaltyRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], }, { name: '_thirdParty', internalType: 'contract IAccessControl', type: 'address', }, ], }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [], name: 'AlreadyShotError' }, { type: 'error', inputs: [], name: 'AmountCantBeZeroError' }, { type: 'error', inputs: [], name: 'ApprovalCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'ApprovalQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'BalanceQueryForZeroAddress' }, { type: 'error', inputs: [], name: 'BaseURIRequiredError' }, { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'walletClaimCountClaimer', internalType: 'uint256', type: 'uint256', }, { name: 'claimer', internalType: 'address', type: 'address' }, { name: 'maxWalletClaimCount', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedClaimLimitForWalletError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'maxSupply', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxSupplyError', }, { type: 'error', inputs: [{ name: 'expected', internalType: 'uint256', type: 'uint256' }], name: 'IncorrectMsgValue', }, { type: 'error', inputs: [], name: 'InsufficientBPSError' }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'MintERC2309QuantityExceedsLimit' }, { type: 'error', inputs: [], name: 'MintToZeroAddress' }, { type: 'error', inputs: [], name: 'MintZeroQuantity' }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToMint', internalType: 'uint256', type: 'uint256' }, ], name: 'NotEnoughMintedTokensError', }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'NothingToReveal' }, { type: 'error', inputs: [], name: 'OwnerQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'OwnershipNotInitializedForExtraData' }, { type: 'error', inputs: [], name: 'PausedError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [], name: 'RecipientAlreadySetError' }, { type: 'error', inputs: [], name: 'RecipientCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionEndTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'error', inputs: [], name: 'TransferCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'TransferFromIncorrectOwner' }, { type: 'error', inputs: [], name: 'TransferToNonERC721ReceiverImplementer' }, { type: 'error', inputs: [], name: 'TransferToZeroAddress' }, { type: 'error', inputs: [], name: 'URIQueryForNonexistentToken' }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'fromTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'toTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, ], name: 'ConsecutiveTransfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'maxSupply', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxSupplyUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'previousOwner', internalType: 'address', type: 'address', indexed: true, }, { name: 'newOwner', internalType: 'address', type: 'address', indexed: true, }, ], name: 'OwnershipTransferred', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Paused', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, { name: 'shares', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PayeeAdded', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: false, }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReceived', }, { type: 'event', anonymous: false, inputs: [ { name: 'to', internalType: 'address', type: 'address', indexed: false }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReleased', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { type: 'event', anonymous: false, inputs: [ { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'endTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensLazyMinted', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'revealedURI', internalType: 'string', type: 'string', indexed: false, }, ], name: 'URIRevealed', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Unpaused', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'recipients', internalType: 'address[]', type: 'address[]' }, ], name: 'batchMintOwner', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_amount', internalType: 'uint256', type: 'uint256' }, { name: '_baseURI', internalType: 'bytes', type: 'bytes' }, { name: '_flaskURI', internalType: 'string', type: 'string' }, ], name: 'lazyMint', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintOwner', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'nextTokenIdToClaim', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'nextTokenIdToMint', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'owner', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'pause', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'paused', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'payee', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'releasable', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'account', internalType: 'address payable', type: 'address' }, ], name: 'release', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'releaseAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'released', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'renounceOwnership', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_key', internalType: 'bytes', type: 'bytes' }], name: 'reveal', outputs: [{ name: 'revealedURI', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_count', internalType: 'uint256', type: 'uint256' }], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'shares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalMinted', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalReleased', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalShares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], name: 'transferOwnership', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'address', type: 'address' }], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'receive' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // KanjiDropERC721AEnumerable ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const kanjiDropErc721AEnumerableABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: '_name', internalType: 'string', type: 'string' }, { name: '_symbol', internalType: 'string', type: 'string' }, { name: '_maxSupply', internalType: 'uint256', type: 'uint256' }, { name: '_metadata', internalType: 'struct IContractMetadata.Metadata', type: 'tuple', components: [ { name: 'name', internalType: 'string', type: 'string' }, { name: 'description', internalType: 'string', type: 'string' }, { name: 'imageURI', internalType: 'string', type: 'string' }, ], }, { name: '_saleRecipients', internalType: 'struct IPrimarySale.PrimarySaleRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'bps', internalType: 'uint16', type: 'uint16' }, ], }, { name: '_royaltyBps', internalType: 'uint16', type: 'uint16' }, { name: '_royaltyRecipients', internalType: 'struct IRoyaltySplitter.RoyaltyRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], }, { name: '_thirdParty', internalType: 'contract IAccessControl', type: 'address', }, ], }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [], name: 'AlreadyShotError' }, { type: 'error', inputs: [], name: 'AmountCantBeZeroError' }, { type: 'error', inputs: [], name: 'ApprovalCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'ApprovalQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'BalanceQueryForZeroAddress' }, { type: 'error', inputs: [], name: 'BaseURIRequiredError' }, { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'walletClaimCountClaimer', internalType: 'uint256', type: 'uint256', }, { name: 'claimer', internalType: 'address', type: 'address' }, { name: 'maxWalletClaimCount', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedClaimLimitForWalletError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'maxSupply', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxSupplyError', }, { type: 'error', inputs: [{ name: 'expected', internalType: 'uint256', type: 'uint256' }], name: 'IncorrectMsgValue', }, { type: 'error', inputs: [], name: 'InsufficientBPSError' }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'MintERC2309QuantityExceedsLimit' }, { type: 'error', inputs: [], name: 'MintToZeroAddress' }, { type: 'error', inputs: [], name: 'MintZeroQuantity' }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToMint', internalType: 'uint256', type: 'uint256' }, ], name: 'NotEnoughMintedTokensError', }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'NothingToReveal' }, { type: 'error', inputs: [], name: 'OwnerQueryForNonexistentToken' }, { type: 'error', inputs: [], name: 'OwnershipNotInitializedForExtraData' }, { type: 'error', inputs: [], name: 'PausedError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [], name: 'RecipientAlreadySetError' }, { type: 'error', inputs: [], name: 'RecipientCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionEndTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'error', inputs: [], name: 'TransferCallerNotOwnerNorApproved' }, { type: 'error', inputs: [], name: 'TransferFromIncorrectOwner' }, { type: 'error', inputs: [], name: 'TransferToNonERC721ReceiverImplementer' }, { type: 'error', inputs: [], name: 'TransferToZeroAddress' }, { type: 'error', inputs: [], name: 'URIQueryForNonexistentToken' }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'fromTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'toTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, ], name: 'ConsecutiveTransfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'maxSupply', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxSupplyUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'previousOwner', internalType: 'address', type: 'address', indexed: true, }, { name: 'newOwner', internalType: 'address', type: 'address', indexed: true, }, ], name: 'OwnershipTransferred', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Paused', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, { name: 'shares', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PayeeAdded', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: false, }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReceived', }, { type: 'event', anonymous: false, inputs: [ { name: 'to', internalType: 'address', type: 'address', indexed: false }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReleased', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { type: 'event', anonymous: false, inputs: [ { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'endTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensLazyMinted', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'revealedURI', internalType: 'string', type: 'string', indexed: false, }, ], name: 'URIRevealed', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Unpaused', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'recipients', internalType: 'address[]', type: 'address[]' }, ], name: 'batchMintOwner', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_amount', internalType: 'uint256', type: 'uint256' }, { name: '_baseURI', internalType: 'bytes', type: 'bytes' }, { name: '_flaskURI', internalType: 'string', type: 'string' }, ], name: 'lazyMint', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintOwner', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'nextTokenIdToClaim', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'nextTokenIdToMint', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'owner', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'pause', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'paused', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'payee', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'releasable', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'account', internalType: 'address payable', type: 'address' }, ], name: 'release', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'releaseAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'released', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'renounceOwnership', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_key', internalType: 'bytes', type: 'bytes' }], name: 'reveal', outputs: [{ name: 'revealedURI', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_count', internalType: 'uint256', type: 'uint256' }], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'shares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'tokenByIndex', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'index', internalType: 'uint256', type: 'uint256' }, ], name: 'tokenOfOwnerByIndex', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalMinted', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalReleased', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalShares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], name: 'transferOwnership', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'address', type: 'address' }], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'receive' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // KanjiDropERC721R ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const kanjiDropErc721RABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: '_name', internalType: 'string', type: 'string' }, { name: '_symbol', internalType: 'string', type: 'string' }, { name: '_maxSupply', internalType: 'uint256', type: 'uint256' }, { name: '_metadata', internalType: 'struct IContractMetadata.Metadata', type: 'tuple', components: [ { name: 'name', internalType: 'string', type: 'string' }, { name: 'description', internalType: 'string', type: 'string' }, { name: 'imageURI', internalType: 'string', type: 'string' }, ], }, { name: '_saleRecipients', internalType: 'struct IPrimarySale.PrimarySaleRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'bps', internalType: 'uint16', type: 'uint16' }, ], }, { name: '_royaltyBps', internalType: 'uint16', type: 'uint16' }, { name: '_royaltyRecipients', internalType: 'struct IRoyaltySplitter.RoyaltyRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], }, { name: '_thirdParty', internalType: 'contract IAccessControl', type: 'address', }, ], }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [], name: 'AlreadyShotError' }, { type: 'error', inputs: [], name: 'AmountCantBeZeroError' }, { type: 'error', inputs: [], name: 'BaseURIRequiredError' }, { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'walletClaimCountClaimer', internalType: 'uint256', type: 'uint256', }, { name: 'claimer', internalType: 'address', type: 'address' }, { name: 'maxWalletClaimCount', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedClaimLimitForWalletError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'maxSupply', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxSupplyError', }, { type: 'error', inputs: [{ name: 'expected', internalType: 'uint256', type: 'uint256' }], name: 'IncorrectMsgValue', }, { type: 'error', inputs: [], name: 'InsufficientBPSError' }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToMint', internalType: 'uint256', type: 'uint256' }, ], name: 'NotEnoughMintedTokensError', }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'NothingToReveal' }, { type: 'error', inputs: [], name: 'PausedError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [], name: 'RecipientAlreadySetError' }, { type: 'error', inputs: [], name: 'RecipientCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionEndTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'maxSupply', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxSupplyUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'previousOwner', internalType: 'address', type: 'address', indexed: true, }, { name: 'newOwner', internalType: 'address', type: 'address', indexed: true, }, ], name: 'OwnershipTransferred', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Paused', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, { name: 'shares', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PayeeAdded', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: false, }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReceived', }, { type: 'event', anonymous: false, inputs: [ { name: 'to', internalType: 'address', type: 'address', indexed: false }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReleased', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { type: 'event', anonymous: false, inputs: [ { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'endTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensLazyMinted', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'revealedURI', internalType: 'string', type: 'string', indexed: false, }, ], name: 'URIRevealed', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Unpaused', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'recipients', internalType: 'address[]', type: 'address[]' }, ], name: 'batchMintOwner', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_amount', internalType: 'uint256', type: 'uint256' }, { name: '_baseURI', internalType: 'bytes', type: 'bytes' }, { name: '_flaskURI', internalType: 'string', type: 'string' }, ], name: 'lazyMint', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintOwner', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'nextTokenIdToMint', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'owner', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'pause', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'paused', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'payee', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'releasable', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'account', internalType: 'address payable', type: 'address' }, ], name: 'release', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'releaseAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'released', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'renounceOwnership', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_key', internalType: 'bytes', type: 'bytes' }], name: 'reveal', outputs: [{ name: 'revealedURI', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_count', internalType: 'uint256', type: 'uint256' }], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'shares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalMinted', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalReleased', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalShares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], name: 'transferOwnership', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'address', type: 'address' }], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'receive' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // KanjiDropERC721REnumerable ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const kanjiDropErc721REnumerableABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [ { name: '_name', internalType: 'string', type: 'string' }, { name: '_symbol', internalType: 'string', type: 'string' }, { name: '_maxSupply', internalType: 'uint256', type: 'uint256' }, { name: '_metadata', internalType: 'struct IContractMetadata.Metadata', type: 'tuple', components: [ { name: 'name', internalType: 'string', type: 'string' }, { name: 'description', internalType: 'string', type: 'string' }, { name: 'imageURI', internalType: 'string', type: 'string' }, ], }, { name: '_saleRecipients', internalType: 'struct IPrimarySale.PrimarySaleRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'bps', internalType: 'uint16', type: 'uint16' }, ], }, { name: '_royaltyBps', internalType: 'uint16', type: 'uint16' }, { name: '_royaltyRecipients', internalType: 'struct IRoyaltySplitter.RoyaltyRecipient[]', type: 'tuple[]', components: [ { name: 'recipient', internalType: 'address', type: 'address' }, { name: 'shares', internalType: 'uint256', type: 'uint256' }, ], }, { name: '_thirdParty', internalType: 'contract IAccessControl', type: 'address', }, ], }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [], name: 'AlreadyShotError' }, { type: 'error', inputs: [], name: 'AmountCantBeZeroError' }, { type: 'error', inputs: [], name: 'BaseURIRequiredError' }, { type: 'error', inputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'blockTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], name: 'CannotClaimYetError', }, { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'walletClaimCountClaimer', internalType: 'uint256', type: 'uint256', }, { name: 'claimer', internalType: 'address', type: 'address' }, { name: 'maxWalletClaimCount', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedClaimLimitForWalletError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxClaimableSupplyError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'maxSupply', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, ], name: 'ExceedMaxSupplyError', }, { type: 'error', inputs: [{ name: 'expected', internalType: 'uint256', type: 'uint256' }], name: 'IncorrectMsgValue', }, { type: 'error', inputs: [], name: 'InsufficientBPSError' }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, ], name: 'InvalidQuantityClaimedError', }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'supplyClaimedAlready', internalType: 'uint256', type: 'uint256', }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256' }, ], name: 'MaxSupplyClaimedAlreadyError', }, { type: 'error', inputs: [], name: 'NoActiveClaimConditionError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [ { name: 'quantity', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToClaim', internalType: 'uint256', type: 'uint256' }, { name: 'nextTokenIdToMint', internalType: 'uint256', type: 'uint256' }, ], name: 'NotEnoughMintedTokensError', }, { type: 'error', inputs: [], name: 'NotInWhitelistError' }, { type: 'error', inputs: [], name: 'NothingToReveal' }, { type: 'error', inputs: [], name: 'PausedError' }, { type: 'error', inputs: [], name: 'ProofClaimedError' }, { type: 'error', inputs: [], name: 'RecipientAlreadySetError' }, { type: 'error', inputs: [], name: 'RecipientCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { type: 'error', inputs: [ { name: 'index', internalType: 'uint256', type: 'uint256' }, { name: 'lastConditionEndTimestamp', internalType: 'uint256', type: 'uint256', }, { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, ], name: 'StartTimeStampError', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Approval', }, { type: 'event', anonymous: false, inputs: [ { name: 'owner', internalType: 'address', type: 'address', indexed: true, }, { name: 'operator', internalType: 'address', type: 'address', indexed: true, }, { name: 'approved', internalType: 'bool', type: 'bool', indexed: false }, ], name: 'ApprovalForAll', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], indexed: false, }, { name: 'resetEligibility', internalType: 'bool', type: 'bool', indexed: false, }, ], name: 'ClaimConditionsUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'maxSupply', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxSupplyUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'previousOwner', internalType: 'address', type: 'address', indexed: true, }, { name: 'newOwner', internalType: 'address', type: 'address', indexed: true, }, ], name: 'OwnershipTransferred', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Paused', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, { name: 'shares', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PayeeAdded', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: false, }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReceived', }, { type: 'event', anonymous: false, inputs: [ { name: 'to', internalType: 'address', type: 'address', indexed: false }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReleased', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimConditionIndex', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'receiver', internalType: 'address', type: 'address', indexed: true, }, { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'quantityClaimed', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensClaimed', }, { type: 'event', anonymous: false, inputs: [ { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'endTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensLazyMinted', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: true }, { name: 'to', internalType: 'address', type: 'address', indexed: true }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, ], name: 'Transfer', }, { type: 'event', anonymous: false, inputs: [ { name: 'revealedURI', internalType: 'string', type: 'string', indexed: false, }, ], name: 'URIRevealed', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Unpaused', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'approve', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'balanceOf', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'recipients', internalType: 'address[]', type: 'address[]' }, ], name: 'batchMintOwner', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'payable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'claim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'claimCondition', outputs: [ { name: 'currentStartId', internalType: 'uint256', type: 'uint256' }, { name: 'count', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'getActiveClaimConditionId', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'getApproved', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, ], name: 'getClaimConditionById', outputs: [ { name: 'condition', internalType: 'struct IClaimCondition.ClaimCondition', type: 'tuple', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, ], name: 'getClaimTimestamp', outputs: [ { name: 'lastClaimTimestamp', internalType: 'uint256', type: 'uint256' }, { name: 'nextValidClaimTimestamp', internalType: 'uint256', type: 'uint256', }, ], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_index', internalType: 'uint256', type: 'uint256' }, ], name: 'getUsedAllowListSpot', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'operator', internalType: 'address', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_amount', internalType: 'uint256', type: 'uint256' }, { name: '_baseURI', internalType: 'bytes', type: 'bytes' }, { name: '_flaskURI', internalType: 'string', type: 'string' }, ], name: 'lazyMint', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintOwner', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'name', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'nextTokenIdToMint', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'owner', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }], name: 'ownerOf', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'pause', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'paused', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'payee', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'releasable', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'account', internalType: 'address payable', type: 'address' }, ], name: 'release', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'releaseAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'released', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'renounceOwnership', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_key', internalType: 'bytes', type: 'bytes' }], name: 'reveal', outputs: [{ name: 'revealedURI', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, { name: '_data', internalType: 'bytes', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'operator', internalType: 'address', type: 'address' }, { name: 'approved', internalType: 'bool', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_conditions', internalType: 'struct IClaimCondition.ClaimCondition[]', type: 'tuple[]', components: [ { name: 'startsAt', internalType: 'uint256', type: 'uint256' }, { name: 'endsAt', internalType: 'uint256', type: 'uint256' }, { name: 'maxClaimableSupply', internalType: 'uint256', type: 'uint256', }, { name: 'supplyClaimed', internalType: 'uint256', type: 'uint256' }, { name: 'quantityLimitPerTransaction', internalType: 'uint256', type: 'uint256', }, { name: 'waitTimeInSecondsBetweenClaims', internalType: 'uint256', type: 'uint256', }, { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' }, { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' }, { name: 'metadata', internalType: 'string', type: 'string' }, ], }, { name: '_resetClaimEligibility', internalType: 'bool', type: 'bool' }, ], name: 'setClaimConditions', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_count', internalType: 'uint256', type: 'uint256' }], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'shares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'symbol', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'tokenByIndex', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'index', internalType: 'uint256', type: 'uint256' }, ], name: 'tokenOfOwnerByIndex', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_tokenId', internalType: 'uint256', type: 'uint256' }], name: 'tokenURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalMinted', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalReleased', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalShares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalSupply', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'from', internalType: 'address', type: 'address' }, { name: 'to', internalType: 'address', type: 'address' }, { name: 'tokenId', internalType: 'uint256', type: 'uint256' }, ], name: 'transferFrom', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], name: 'transferOwnership', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, { name: 'verifyMaxQuantityPerTransaction', internalType: 'bool', type: 'bool', }, ], name: 'verifyClaim', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '_conditionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_proof', internalType: 'bytes32[]', type: 'bytes32[]' }, ], name: 'verifyClaimMerkleProof', outputs: [ { name: 'validMerkleProof', internalType: 'bool', type: 'bool' }, { name: 'merkleProofIndex', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'address', type: 'address' }], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'receive' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // KanjiThirdParty ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const kanjiThirdPartyABI = [ { stateMutability: 'nonpayable', type: 'constructor', inputs: [{ name: '_minter', internalType: 'address', type: 'address' }], }, { type: 'error', inputs: [], name: 'NotAllowedToChangeMinter' }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'previousAdminRole', internalType: 'bytes32', type: 'bytes32', indexed: true, }, { name: 'newAdminRole', internalType: 'bytes32', type: 'bytes32', indexed: true, }, ], name: 'RoleAdminChanged', }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'sender', internalType: 'address', type: 'address', indexed: true, }, ], name: 'RoleGranted', }, { type: 'event', anonymous: false, inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true }, { name: 'account', internalType: 'address', type: 'address', indexed: true, }, { name: 'sender', internalType: 'address', type: 'address', indexed: true, }, ], name: 'RoleRevoked', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'DEFAULT_ADMIN_ROLE', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'MINTER_ROLE', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_newMinter', internalType: 'address', type: 'address' }], name: 'changeMinter', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }], name: 'getRoleAdmin', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'grantRole', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'hasRole', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'renounceRole', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'role', internalType: 'bytes32', type: 'bytes32' }, { name: 'account', internalType: 'address', type: 'address' }, ], name: 'revokeRole', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // LazyMint ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const lazyMintABI = [ { type: 'error', inputs: [], name: 'AmountCantBeZeroError' }, { type: 'event', anonymous: false, inputs: [ { name: 'startTokenId', internalType: 'uint256', type: 'uint256', indexed: true, }, { name: 'endTokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'TokensLazyMinted', }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Oneshot ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const oneshotABI = [ { type: 'error', inputs: [], name: 'AlreadyShotError' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Ownable ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ownableABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'previousOwner', internalType: 'address', type: 'address', indexed: true, }, { name: 'newOwner', internalType: 'address', type: 'address', indexed: true, }, ], name: 'OwnershipTransferred', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'owner', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'renounceOwnership', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }], name: 'transferOwnership', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Pausable ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const pausableABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Paused', }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, ], name: 'Unpaused', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'paused', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // PrimarySale ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const primarySaleABI = [ { type: 'error', inputs: [], name: 'InsufficientBPSError' }, { type: 'error', inputs: [], name: 'RecipientAlreadySetError' }, { type: 'error', inputs: [], name: 'RecipientCantBeZeroAddressError' }, { stateMutability: 'view', type: 'function', inputs: [{ name: '_recipient', internalType: 'address', type: 'address' }], name: 'primarySaleRecipientBps', outputs: [{ name: 'bps', internalType: 'uint16', type: 'uint16' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'primarySaleRecipients', outputs: [{ name: '', internalType: 'address[]', type: 'address[]' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // RoyaltySplitter ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const royaltySplitterABI = [ { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'AccountAlreadyHasSharesError', }, { type: 'error', inputs: [], name: 'AccountCantBeZeroAddressError' }, { type: 'error', inputs: [], name: 'AlreadyInitializedError' }, { type: 'error', inputs: [{ name: 'royaltyBps', internalType: 'uint16', type: 'uint16' }], name: 'InvalidRoyaltyBpsError', }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoPaymentError', }, { type: 'error', inputs: [], name: 'NoRecipientsError' }, { type: 'error', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'NoSharesError', }, { type: 'error', inputs: [], name: 'SharesCantBeZeroError' }, { type: 'event', anonymous: false, inputs: [ { name: 'account', internalType: 'address', type: 'address', indexed: false, }, { name: 'shares', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PayeeAdded', }, { type: 'event', anonymous: false, inputs: [ { name: 'from', internalType: 'address', type: 'address', indexed: false, }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReceived', }, { type: 'event', anonymous: false, inputs: [ { name: 'to', internalType: 'address', type: 'address', indexed: false }, { name: 'amount', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'PaymentReleased', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'contractURI', outputs: [{ name: '', internalType: 'string', type: 'string' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }], name: 'payee', outputs: [{ name: '', internalType: 'address', type: 'address' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'releasable', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'account', internalType: 'address payable', type: 'address' }, ], name: 'release', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [], name: 'releaseAll', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'released', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: 'salePrice', internalType: 'uint256', type: 'uint256' }, ], name: 'royaltyInfo', outputs: [ { name: 'receiver', internalType: 'address', type: 'address' }, { name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' }, ], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'account', internalType: 'address', type: 'address' }], name: 'shares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ name: '', internalType: 'bool', type: 'bool' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalReleased', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'view', type: 'function', inputs: [], name: 'totalShares', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'payable', type: 'receive' }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ThirdPartyMint ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const thirdPartyMintABI = [ { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ThirdPartyMint1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const thirdPartyMint1155ABI = [ { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ThirdPartyMint721 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const thirdPartyMint721ABI = [ { type: 'error', inputs: [], name: 'CannotMintFromThirdPartyIfMsgSenderIsNotMinterError', }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_thirdPartySetup', internalType: 'contract IAccessControl', type: 'address', }, ], name: 'changeThirdPartySetup', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_receiver', internalType: 'address', type: 'address' }, { name: '_quantity', internalType: 'uint256', type: 'uint256' }, ], name: 'mintFromThirdParty', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // WalletClaimCounter ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const walletClaimCounterABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'view', type: 'function', inputs: [], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [{ name: '_count', internalType: 'uint256', type: 'uint256' }], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'address', type: 'address' }], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // WalletClaimCounter1155 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const walletClaimCounter1155ABI = [ { type: 'event', anonymous: false, inputs: [ { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'MaxWalletClaimCountUpdated', }, { type: 'event', anonymous: false, inputs: [ { name: 'claimer', internalType: 'address', type: 'address', indexed: true, }, { name: 'tokenId', internalType: 'uint256', type: 'uint256', indexed: false, }, { name: 'count', internalType: 'uint256', type: 'uint256', indexed: false, }, ], name: 'WalletClaimCountUpdated', }, { stateMutability: 'view', type: 'function', inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], name: 'maxWalletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setMaxWalletClaimCount', outputs: [], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: '_editionId', internalType: 'uint256', type: 'uint256' }, { name: '_claimer', internalType: 'address', type: 'address' }, { name: '_count', internalType: 'uint256', type: 'uint256' }, ], name: 'setWalletClaimCount', outputs: [], }, { stateMutability: 'view', type: 'function', inputs: [ { name: '', internalType: 'uint256', type: 'uint256' }, { name: '', internalType: 'address', type: 'address' }, ], name: 'walletClaimCount', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IERC20Permit ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// export const ierc20PermitABI = [ { stateMutability: 'view', type: 'function', inputs: [], name: 'DOMAIN_SEPARATOR', outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }], }, { stateMutability: 'view', type: 'function', inputs: [{ name: 'owner', internalType: 'address', type: 'address' }], name: 'nonces', outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }], }, { stateMutability: 'nonpayable', type: 'function', inputs: [ { name: 'owner', internalType: 'address', type: 'address' }, { name: 'spender', internalType: 'address', type: 'address' }, { name: 'value', internalType: 'uint256', type: 'uint256' }, { name: 'deadline', internalType: 'uint256', type: 'uint256' }, { name: 'v', internalType: 'uint8', type: 'uint8' }, { name: 'r', internalType: 'bytes32', type: 'bytes32' }, { name: 's', internalType: 'bytes32', type: 'bytes32' }, ], name: 'permit', outputs: [], }, ] as const ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // React ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** * Wraps __{@link useContract}__ with `abi` set to __{@link accessControlABI}__. */ export function useAccessControl( config: Omit = {} as any, ) { return useContract({ abi: accessControlABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link accessControlABI}__. */ export function useAccessControlRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: accessControlABI, ...config, } as UseContractReadConfig< typeof accessControlABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"`. */ export function useAccessControlDefaultAdminRole< TSelectData = ReadContractResult< typeof accessControlABI, 'DEFAULT_ADMIN_ROLE' >, >( config: Omit< UseContractReadConfig< typeof accessControlABI, 'DEFAULT_ADMIN_ROLE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: accessControlABI, functionName: 'DEFAULT_ADMIN_ROLE', ...config, } as UseContractReadConfig< typeof accessControlABI, 'DEFAULT_ADMIN_ROLE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"getRoleAdmin"`. */ export function useAccessControlGetRoleAdmin< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: accessControlABI, functionName: 'getRoleAdmin', ...config, } as UseContractReadConfig< typeof accessControlABI, 'getRoleAdmin', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"hasRole"`. */ export function useAccessControlHasRole< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: accessControlABI, functionName: 'hasRole', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"supportsInterface"`. */ export function useAccessControlSupportsInterface< TSelectData = ReadContractResult< typeof accessControlABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof accessControlABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: accessControlABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof accessControlABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link accessControlABI}__. */ export function useAccessControlWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: accessControlABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"grantRole"`. */ export function useAccessControlGrantRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'grantRole' > & { functionName?: 'grantRole' } : UseContractWriteConfig & { abi?: never functionName?: 'grantRole' } = {} as any, ) { return useContractWrite({ abi: accessControlABI, functionName: 'grantRole', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"renounceRole"`. */ export function useAccessControlRenounceRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof accessControlABI, 'renounceRole' >['abi'], 'renounceRole' > & { functionName?: 'renounceRole' } : UseContractWriteConfig & { abi?: never functionName?: 'renounceRole' } = {} as any, ) { return useContractWrite({ abi: accessControlABI, functionName: 'renounceRole', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"revokeRole"`. */ export function useAccessControlRevokeRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof accessControlABI, 'revokeRole' >['abi'], 'revokeRole' > & { functionName?: 'revokeRole' } : UseContractWriteConfig & { abi?: never functionName?: 'revokeRole' } = {} as any, ) { return useContractWrite({ abi: accessControlABI, functionName: 'revokeRole', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link accessControlABI}__. */ export function usePrepareAccessControlWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: accessControlABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"grantRole"`. */ export function usePrepareAccessControlGrantRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: accessControlABI, functionName: 'grantRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"renounceRole"`. */ export function usePrepareAccessControlRenounceRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: accessControlABI, functionName: 'renounceRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link accessControlABI}__ and `functionName` set to `"revokeRole"`. */ export function usePrepareAccessControlRevokeRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: accessControlABI, functionName: 'revokeRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link accessControlABI}__. */ export function useAccessControlEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: accessControlABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link accessControlABI}__ and `eventName` set to `"RoleAdminChanged"`. */ export function useAccessControlRoleAdminChangedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: accessControlABI, eventName: 'RoleAdminChanged', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link accessControlABI}__ and `eventName` set to `"RoleGranted"`. */ export function useAccessControlRoleGrantedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: accessControlABI, eventName: 'RoleGranted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link accessControlABI}__ and `eventName` set to `"RoleRevoked"`. */ export function useAccessControlRoleRevokedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: accessControlABI, eventName: 'RoleRevoked', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link baseTestABI}__. */ export function useBaseTest( config: Omit = {} as any, ) { return useContract({ abi: baseTestABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__. */ export function useBaseTestRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: baseTestABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"AMOUNT_TO_LAZY_MINT"`. */ export function useBaseTestAmountToLazyMint< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'AMOUNT_TO_LAZY_MINT', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'AMOUNT_TO_LAZY_MINT', ...config, } as UseContractReadConfig< typeof baseTestABI, 'AMOUNT_TO_LAZY_MINT', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"BOB"`. */ export function useBaseTestBob< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'BOB', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"DESCRIPTION"`. */ export function useBaseTestDescription< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'DESCRIPTION', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ELON"`. */ export function useBaseTestElon< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ELON', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ENCRYPTED_URI"`. */ export function useBaseTestEncryptedUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ENCRYPTED_URI', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"FLASK_URI"`. */ export function useBaseTestFlaskUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'FLASK_URI', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"IMAGE_URI"`. */ export function useBaseTestImageUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'IMAGE_URI', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"IS_TEST"`. */ export function useBaseTestIsTest< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'IS_TEST', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"KEY"`. */ export function useBaseTestKey< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'KEY', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"MAX_BPS"`. */ export function useBaseTestMaxBps< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'MAX_BPS', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"MAX_SUPPLY"`. */ export function useBaseTestMaxSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'MAX_SUPPLY', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"MAX_TOTAL_SUPPLY"`. */ export function useBaseTestMaxTotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'MAX_TOTAL_SUPPLY', ...config, } as UseContractReadConfig< typeof baseTestABI, 'MAX_TOTAL_SUPPLY', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"METADATA"`. */ export function useBaseTestMetadata< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'METADATA', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"NAME"`. */ export function useBaseTestName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'NAME', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SALE_RECIPIENTS"`. */ export function useBaseTestPrimarySaleRecipients< TSelectData = ReadContractResult< typeof baseTestABI, 'PRIMARY_SALE_RECIPIENTS' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SALE_RECIPIENTS', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SALE_RECIPIENTS', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SALE_RECIPIENTS', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SELL_BPS_ALICE"`. */ export function useBaseTestPrimarySellBpsAlice< TSelectData = ReadContractResult< typeof baseTestABI, 'PRIMARY_SELL_BPS_ALICE' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_BPS_ALICE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SELL_BPS_ALICE', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_BPS_ALICE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SELL_BPS_BOB"`. */ export function useBaseTestPrimarySellBpsBob< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_BPS_BOB', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SELL_BPS_BOB', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_BPS_BOB', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SELL_BPS_PLATFORM"`. */ export function useBaseTestPrimarySellBpsPlatform< TSelectData = ReadContractResult< typeof baseTestABI, 'PRIMARY_SELL_BPS_PLATFORM' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_BPS_PLATFORM', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SELL_BPS_PLATFORM', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_BPS_PLATFORM', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SELL_RECIPIENT_ALICE"`. */ export function useBaseTestPrimarySellRecipientAlice< TSelectData = ReadContractResult< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_ALICE' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_ALICE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SELL_RECIPIENT_ALICE', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_ALICE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SELL_RECIPIENT_BOB"`. */ export function useBaseTestPrimarySellRecipientBob< TSelectData = ReadContractResult< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_BOB' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_BOB', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SELL_RECIPIENT_BOB', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_BOB', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"PRIMARY_SELL_RECIPIENT_PLATFORM"`. */ export function useBaseTestPrimarySellRecipientPlatform< TSelectData = ReadContractResult< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_PLATFORM' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_PLATFORM', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'PRIMARY_SELL_RECIPIENT_PLATFORM', ...config, } as UseContractReadConfig< typeof baseTestABI, 'PRIMARY_SELL_RECIPIENT_PLATFORM', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ROYALTY_FEE_BPS"`. */ export function useBaseTestRoyaltyFeeBps< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ROYALTY_FEE_BPS', ...config, } as UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_BPS', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ROYALTY_FEE_RECIPIENT_CHRIS"`. */ export function useBaseTestRoyaltyFeeRecipientChris< TSelectData = ReadContractResult< typeof baseTestABI, 'ROYALTY_FEE_RECIPIENT_CHRIS' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_RECIPIENT_CHRIS', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ROYALTY_FEE_RECIPIENT_CHRIS', ...config, } as UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_RECIPIENT_CHRIS', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ROYALTY_FEE_RECIPIENT_DAVE"`. */ export function useBaseTestRoyaltyFeeRecipientDave< TSelectData = ReadContractResult< typeof baseTestABI, 'ROYALTY_FEE_RECIPIENT_DAVE' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_RECIPIENT_DAVE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ROYALTY_FEE_RECIPIENT_DAVE', ...config, } as UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_RECIPIENT_DAVE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ROYALTY_FEE_SHARE_CHRIS"`. */ export function useBaseTestRoyaltyFeeShareChris< TSelectData = ReadContractResult< typeof baseTestABI, 'ROYALTY_FEE_SHARE_CHRIS' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_SHARE_CHRIS', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ROYALTY_FEE_SHARE_CHRIS', ...config, } as UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_SHARE_CHRIS', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ROYALTY_FEE_SHARE_DAVE"`. */ export function useBaseTestRoyaltyFeeShareDave< TSelectData = ReadContractResult< typeof baseTestABI, 'ROYALTY_FEE_SHARE_DAVE' >, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_SHARE_DAVE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ROYALTY_FEE_SHARE_DAVE', ...config, } as UseContractReadConfig< typeof baseTestABI, 'ROYALTY_FEE_SHARE_DAVE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"ROYALTY_RECIPIENTS"`. */ export function useBaseTestRoyaltyRecipients< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof baseTestABI, 'ROYALTY_RECIPIENTS', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'ROYALTY_RECIPIENTS', ...config, } as UseContractReadConfig< typeof baseTestABI, 'ROYALTY_RECIPIENTS', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"SYMBOL"`. */ export function useBaseTestSymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'SYMBOL', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"UNENCRYPTED_URI"`. */ export function useBaseTestUnencryptedUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: baseTestABI, functionName: 'UNENCRYPTED_URI', ...config, } as UseContractReadConfig< typeof baseTestABI, 'UNENCRYPTED_URI', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link baseTestABI}__. */ export function useBaseTestWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: baseTestABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"failed"`. */ export function useBaseTestFailed( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'failed' > & { functionName?: 'failed' } : UseContractWriteConfig & { abi?: never functionName?: 'failed' } = {} as any, ) { return useContractWrite({ abi: baseTestABI, functionName: 'failed', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"setUp"`. */ export function useBaseTestSetUp( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'setUp' > & { functionName?: 'setUp' } : UseContractWriteConfig & { abi?: never functionName?: 'setUp' } = {} as any, ) { return useContractWrite({ abi: baseTestABI, functionName: 'setUp', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link baseTestABI}__. */ export function usePrepareBaseTestWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: baseTestABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"failed"`. */ export function usePrepareBaseTestFailed( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: baseTestABI, functionName: 'failed', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link baseTestABI}__ and `functionName` set to `"setUp"`. */ export function usePrepareBaseTestSetUp( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: baseTestABI, functionName: 'setUp', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__. */ export function useBaseTestEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log"`. */ export function useBaseTestLogEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_address"`. */ export function useBaseTestLogAddressEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_address', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_array"`. */ export function useBaseTestLogArrayEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_array', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_bytes"`. */ export function useBaseTestLogBytesEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_bytes', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_bytes32"`. */ export function useBaseTestLogBytes32Event( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_bytes32', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_int"`. */ export function useBaseTestLogIntEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_int', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_address"`. */ export function useBaseTestLogNamedAddressEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_address', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_array"`. */ export function useBaseTestLogNamedArrayEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_array', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_bytes"`. */ export function useBaseTestLogNamedBytesEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_bytes', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_bytes32"`. */ export function useBaseTestLogNamedBytes32Event( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_bytes32', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_decimal_int"`. */ export function useBaseTestLogNamedDecimalIntEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_decimal_int', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_decimal_uint"`. */ export function useBaseTestLogNamedDecimalUintEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_decimal_uint', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_int"`. */ export function useBaseTestLogNamedIntEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_int', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_string"`. */ export function useBaseTestLogNamedStringEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_string', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_named_uint"`. */ export function useBaseTestLogNamedUintEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_named_uint', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_string"`. */ export function useBaseTestLogStringEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_string', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"log_uint"`. */ export function useBaseTestLogUintEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'log_uint', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link baseTestABI}__ and `eventName` set to `"logs"`. */ export function useBaseTestLogsEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: baseTestABI, eventName: 'logs', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link contractMetadataABI}__. */ export function useContractMetadata( config: Omit = {} as any, ) { return useContract({ abi: contractMetadataABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link contractMetadataABI}__. */ export function useContractMetadataRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof contractMetadataABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: contractMetadataABI, ...config, } as UseContractReadConfig< typeof contractMetadataABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link contractMetadataABI}__ and `functionName` set to `"contractURI"`. */ export function useContractMetadataContractUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof contractMetadataABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: contractMetadataABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof contractMetadataABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link currencyTransferLibABI}__. */ export function useCurrencyTransferLib( config: Omit = {} as any, ) { return useContract({ abi: currencyTransferLibABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link currencyTransferLibABI}__. */ export function useCurrencyTransferLibRead< TFunctionName extends string, TSelectData = ReadContractResult< typeof currencyTransferLibABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof currencyTransferLibABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: currencyTransferLibABI, ...config, } as UseContractReadConfig< typeof currencyTransferLibABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link currencyTransferLibABI}__ and `functionName` set to `"NATIVE_TOKEN"`. */ export function useCurrencyTransferLibNativeToken< TSelectData = ReadContractResult< typeof currencyTransferLibABI, 'NATIVE_TOKEN' >, >( config: Omit< UseContractReadConfig< typeof currencyTransferLibABI, 'NATIVE_TOKEN', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: currencyTransferLibABI, functionName: 'NATIVE_TOKEN', ...config, } as UseContractReadConfig< typeof currencyTransferLibABI, 'NATIVE_TOKEN', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link delayedRevealABI}__. */ export function useDelayedReveal( config: Omit = {} as any, ) { return useContract({ abi: delayedRevealABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link delayedRevealABI}__. */ export function useDelayedRevealWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: delayedRevealABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link delayedRevealABI}__ and `functionName` set to `"reveal"`. */ export function useDelayedRevealReveal( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'reveal' > & { functionName?: 'reveal' } : UseContractWriteConfig & { abi?: never functionName?: 'reveal' } = {} as any, ) { return useContractWrite({ abi: delayedRevealABI, functionName: 'reveal', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link delayedRevealABI}__. */ export function usePrepareDelayedRevealWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: delayedRevealABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link delayedRevealABI}__ and `functionName` set to `"reveal"`. */ export function usePrepareDelayedRevealReveal( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: delayedRevealABI, functionName: 'reveal', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link delayedRevealABI}__. */ export function useDelayedRevealEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: delayedRevealABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link delayedRevealABI}__ and `eventName` set to `"URIRevealed"`. */ export function useDelayedRevealUriRevealedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: delayedRevealABI, eventName: 'URIRevealed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link dropABI}__. */ export function useDrop(config: Omit = {} as any) { return useContract({ abi: dropABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__. */ export function useDropRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: dropABI, ...config } as UseContractReadConfig< typeof dropABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"claimCondition"`. */ export function useDropClaimCondition< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useDropGetActiveClaimConditionId< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof dropABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof dropABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useDropGetClaimConditionById< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof dropABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useDropGetClaimTimestamp< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useDropGetUsedAllowListSpot< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof dropABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"verifyClaim"`. */ export function useDropVerifyClaim< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useDropVerifyClaimMerkleProof< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof dropABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: dropABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof dropABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link dropABI}__. */ export function useDropWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: dropABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"claim"`. */ export function useDropClaim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: dropABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useDropSetClaimConditions( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite({ abi: dropABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link dropABI}__. */ export function usePrepareDropWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: dropABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"claim"`. */ export function usePrepareDropClaim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: dropABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link dropABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareDropSetClaimConditions( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: dropABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link dropABI}__. */ export function useDropEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: dropABI, ...config } as UseContractEventConfig< typeof dropABI, TEventName >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link dropABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useDropClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: dropABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link dropABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useDropTokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: dropABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link drop1155ABI}__. */ export function useDrop1155( config: Omit = {} as any, ) { return useContract({ abi: drop1155ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__. */ export function useDrop1155Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"claimCondition"`. */ export function useDrop1155ClaimCondition< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useDrop1155GetActiveClaimConditionId< TSelectData = ReadContractResult< typeof drop1155ABI, 'getActiveClaimConditionId' >, >( config: Omit< UseContractReadConfig< typeof drop1155ABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof drop1155ABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useDrop1155GetClaimConditionById< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof drop1155ABI, 'getClaimConditionById', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof drop1155ABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useDrop1155GetClaimTimestamp< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig< typeof drop1155ABI, 'getClaimTimestamp', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useDrop1155GetUsedAllowListSpot< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof drop1155ABI, 'getUsedAllowListSpot', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof drop1155ABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"verifyClaim"`. */ export function useDrop1155VerifyClaim< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useDrop1155VerifyClaimMerkleProof< TSelectData = ReadContractResult< typeof drop1155ABI, 'verifyClaimMerkleProof' >, >( config: Omit< UseContractReadConfig< typeof drop1155ABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: drop1155ABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof drop1155ABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link drop1155ABI}__. */ export function useDrop1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: drop1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"claim"`. */ export function useDrop1155Claim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: drop1155ABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useDrop1155SetClaimConditions( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof drop1155ABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof drop1155ABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite({ abi: drop1155ABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link drop1155ABI}__. */ export function usePrepareDrop1155Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: drop1155ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"claim"`. */ export function usePrepareDrop1155Claim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: drop1155ABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link drop1155ABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareDrop1155SetClaimConditions( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: drop1155ABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link drop1155ABI}__. */ export function useDrop1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: drop1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link drop1155ABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useDrop1155ClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: drop1155ABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link drop1155ABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useDrop1155TokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: drop1155ABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link erc1155ABI}__. */ export function useErc1155(config: Omit = {} as any) { return useContract({ abi: erc1155ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc1155ABI}__. */ export function useErc1155Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: erc1155ABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"balanceOf"`. */ export function useErc1155BalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc1155ABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"balanceOfBatch"`. */ export function useErc1155BalanceOfBatch< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc1155ABI, functionName: 'balanceOfBatch', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useErc1155IsApprovedForAll< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc1155ABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof erc1155ABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useErc1155SupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc1155ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof erc1155ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"uri"`. */ export function useErc1155Uri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc1155ABI, functionName: 'uri', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc1155ABI}__. */ export function useErc1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: erc1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function useErc1155SafeBatchTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc1155ABI, 'safeBatchTransferFrom' >['abi'], 'safeBatchTransferFrom' > & { functionName?: 'safeBatchTransferFrom' } : UseContractWriteConfig< TMode, typeof erc1155ABI, 'safeBatchTransferFrom' > & { abi?: never functionName?: 'safeBatchTransferFrom' } = {} as any, ) { return useContractWrite({ abi: erc1155ABI, functionName: 'safeBatchTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useErc1155SafeTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc1155ABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite({ abi: erc1155ABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useErc1155SetApprovalForAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc1155ABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite({ abi: erc1155ABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc1155ABI}__. */ export function usePrepareErc1155Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: erc1155ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function usePrepareErc1155SafeBatchTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc1155ABI, functionName: 'safeBatchTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof erc1155ABI, 'safeBatchTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareErc1155SafeTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc1155ABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc1155ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareErc1155SetApprovalForAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc1155ABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc1155ABI}__. */ export function useErc1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: erc1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc1155ABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useErc1155ApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc1155ABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc1155ABI}__ and `eventName` set to `"TransferBatch"`. */ export function useErc1155TransferBatchEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc1155ABI, eventName: 'TransferBatch', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc1155ABI}__ and `eventName` set to `"TransferSingle"`. */ export function useErc1155TransferSingleEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc1155ABI, eventName: 'TransferSingle', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc1155ABI}__ and `eventName` set to `"URI"`. */ export function useErc1155UriEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc1155ABI, eventName: 'URI', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link erc165ABI}__. */ export function useErc165(config: Omit = {} as any) { return useContract({ abi: erc165ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc165ABI}__. */ export function useErc165Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: erc165ABI, ...config } as UseContractReadConfig< typeof erc165ABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc165ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useErc165SupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc165ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof erc165ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link erc721AABI}__. */ export function useErc721A(config: Omit = {} as any) { return useContract({ abi: erc721AABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__. */ export function useErc721ARead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: erc721AABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"balanceOf"`. */ export function useErc721ABalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"getApproved"`. */ export function useErc721AGetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'getApproved', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useErc721AIsApprovedForAll< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof erc721AABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"name"`. */ export function useErc721AName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"ownerOf"`. */ export function useErc721AOwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"supportsInterface"`. */ export function useErc721ASupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof erc721AABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"symbol"`. */ export function useErc721ASymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"tokenURI"`. */ export function useErc721ATokenUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"totalSupply"`. */ export function useErc721ATotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721AABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AABI}__. */ export function useErc721AWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: erc721AABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"approve"`. */ export function useErc721AApprove( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: erc721AABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useErc721ASafeTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc721AABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite({ abi: erc721AABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useErc721ASetApprovalForAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc721AABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite({ abi: erc721AABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"transferFrom"`. */ export function useErc721ATransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: erc721AABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AABI}__. */ export function usePrepareErc721AWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"approve"`. */ export function usePrepareErc721AApprove( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareErc721ASafeTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareErc721ASetApprovalForAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareErc721ATransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721AABI}__. */ export function useErc721AEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: erc721AABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721AABI}__ and `eventName` set to `"Approval"`. */ export function useErc721AApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721AABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721AABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useErc721AApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721AABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721AABI}__ and `eventName` set to `"ConsecutiveTransfer"`. */ export function useErc721AConsecutiveTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721AABI, eventName: 'ConsecutiveTransfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721AABI}__ and `eventName` set to `"Transfer"`. */ export function useErc721ATransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721AABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link erc721AIerc721ReceiverABI}__. */ export function useErc721AIerc721Receiver( config: Omit = {} as any, ) { return useContract({ abi: erc721AIerc721ReceiverABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AIerc721ReceiverABI}__. */ export function useErc721AIerc721ReceiverWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc721AIerc721ReceiverABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof erc721AIerc721ReceiverABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite< TMode, typeof erc721AIerc721ReceiverABI, TFunctionName >({ abi: erc721AIerc721ReceiverABI, ...config } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721AIerc721ReceiverABI}__ and `functionName` set to `"onERC721Received"`. */ export function useErc721AIerc721ReceiverOnErc721Received< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc721AIerc721ReceiverABI, 'onERC721Received' >['abi'], 'onERC721Received' > & { functionName?: 'onERC721Received' } : UseContractWriteConfig< TMode, typeof erc721AIerc721ReceiverABI, 'onERC721Received' > & { abi?: never functionName?: 'onERC721Received' } = {} as any, ) { return useContractWrite< TMode, typeof erc721AIerc721ReceiverABI, 'onERC721Received' >({ abi: erc721AIerc721ReceiverABI, functionName: 'onERC721Received', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AIerc721ReceiverABI}__. */ export function usePrepareErc721AIerc721ReceiverWrite< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig< typeof erc721AIerc721ReceiverABI, TFunctionName >, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AIerc721ReceiverABI, ...config, } as UsePrepareContractWriteConfig< typeof erc721AIerc721ReceiverABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721AIerc721ReceiverABI}__ and `functionName` set to `"onERC721Received"`. */ export function usePrepareErc721AIerc721ReceiverOnErc721Received( config: Omit< UsePrepareContractWriteConfig< typeof erc721AIerc721ReceiverABI, 'onERC721Received' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721AIerc721ReceiverABI, functionName: 'onERC721Received', ...config, } as UsePrepareContractWriteConfig< typeof erc721AIerc721ReceiverABI, 'onERC721Received' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link erc721rABI}__. */ export function useErc721r(config: Omit = {} as any) { return useContract({ abi: erc721rABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__. */ export function useErc721rRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: erc721rABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"balanceOf"`. */ export function useErc721rBalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"getApproved"`. */ export function useErc721rGetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'getApproved', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useErc721rIsApprovedForAll< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof erc721rABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"maxSupply"`. */ export function useErc721rMaxSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'maxSupply', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"name"`. */ export function useErc721rName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"ownerOf"`. */ export function useErc721rOwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"supportsInterface"`. */ export function useErc721rSupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof erc721rABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"symbol"`. */ export function useErc721rSymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"tokenURI"`. */ export function useErc721rTokenUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"totalSupply"`. */ export function useErc721rTotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: erc721rABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721rABI}__. */ export function useErc721rWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: erc721rABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"approve"`. */ export function useErc721rApprove( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: erc721rABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useErc721rSafeTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc721rABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite({ abi: erc721rABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useErc721rSetApprovalForAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof erc721rABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite({ abi: erc721rABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"transferFrom"`. */ export function useErc721rTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: erc721rABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721rABI}__. */ export function usePrepareErc721rWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721rABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"approve"`. */ export function usePrepareErc721rApprove( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721rABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareErc721rSafeTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721rABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareErc721rSetApprovalForAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721rABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link erc721rABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareErc721rTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: erc721rABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721rABI}__. */ export function useErc721rEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: erc721rABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721rABI}__ and `eventName` set to `"Approval"`. */ export function useErc721rApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721rABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721rABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useErc721rApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721rABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link erc721rABI}__ and `eventName` set to `"Transfer"`. */ export function useErc721rTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: erc721rABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iAccessControlABI}__. */ export function useIAccessControl( config: Omit = {} as any, ) { return useContract({ abi: iAccessControlABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iAccessControlABI}__. */ export function useIAccessControlRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: iAccessControlABI, ...config, } as UseContractReadConfig< typeof iAccessControlABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"getRoleAdmin"`. */ export function useIAccessControlGetRoleAdmin< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof iAccessControlABI, 'getRoleAdmin', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iAccessControlABI, functionName: 'getRoleAdmin', ...config, } as UseContractReadConfig< typeof iAccessControlABI, 'getRoleAdmin', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"hasRole"`. */ export function useIAccessControlHasRole< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iAccessControlABI, functionName: 'hasRole', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iAccessControlABI}__. */ export function useIAccessControlWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iAccessControlABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"grantRole"`. */ export function useIAccessControlGrantRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iAccessControlABI, 'grantRole' >['abi'], 'grantRole' > & { functionName?: 'grantRole' } : UseContractWriteConfig & { abi?: never functionName?: 'grantRole' } = {} as any, ) { return useContractWrite({ abi: iAccessControlABI, functionName: 'grantRole', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"renounceRole"`. */ export function useIAccessControlRenounceRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iAccessControlABI, 'renounceRole' >['abi'], 'renounceRole' > & { functionName?: 'renounceRole' } : UseContractWriteConfig< TMode, typeof iAccessControlABI, 'renounceRole' > & { abi?: never functionName?: 'renounceRole' } = {} as any, ) { return useContractWrite({ abi: iAccessControlABI, functionName: 'renounceRole', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"revokeRole"`. */ export function useIAccessControlRevokeRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iAccessControlABI, 'revokeRole' >['abi'], 'revokeRole' > & { functionName?: 'revokeRole' } : UseContractWriteConfig & { abi?: never functionName?: 'revokeRole' } = {} as any, ) { return useContractWrite({ abi: iAccessControlABI, functionName: 'revokeRole', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iAccessControlABI}__. */ export function usePrepareIAccessControlWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iAccessControlABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"grantRole"`. */ export function usePrepareIAccessControlGrantRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iAccessControlABI, functionName: 'grantRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"renounceRole"`. */ export function usePrepareIAccessControlRenounceRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iAccessControlABI, functionName: 'renounceRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iAccessControlABI}__ and `functionName` set to `"revokeRole"`. */ export function usePrepareIAccessControlRevokeRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iAccessControlABI, functionName: 'revokeRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iAccessControlABI}__. */ export function useIAccessControlEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iAccessControlABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iAccessControlABI}__ and `eventName` set to `"RoleAdminChanged"`. */ export function useIAccessControlRoleAdminChangedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iAccessControlABI, eventName: 'RoleAdminChanged', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iAccessControlABI}__ and `eventName` set to `"RoleGranted"`. */ export function useIAccessControlRoleGrantedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iAccessControlABI, eventName: 'RoleGranted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iAccessControlABI}__ and `eventName` set to `"RoleRevoked"`. */ export function useIAccessControlRoleRevokedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iAccessControlABI, eventName: 'RoleRevoked', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iContractMetadataABI}__. */ export function useIContractMetadata( config: Omit = {} as any, ) { return useContract({ abi: iContractMetadataABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iContractMetadataABI}__. */ export function useIContractMetadataRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof iContractMetadataABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: iContractMetadataABI, ...config, } as UseContractReadConfig< typeof iContractMetadataABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iContractMetadataABI}__ and `functionName` set to `"contractURI"`. */ export function useIContractMetadataContractUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof iContractMetadataABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iContractMetadataABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof iContractMetadataABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iDropABI}__. */ export function useIDrop(config: Omit = {} as any) { return useContract({ abi: iDropABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDropABI}__. */ export function useIDropWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iDropABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDropABI}__ and `functionName` set to `"claim"`. */ export function useIDropClaim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: iDropABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDropABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useIDropSetClaimConditions( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iDropABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite({ abi: iDropABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDropABI}__. */ export function usePrepareIDropWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iDropABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDropABI}__ and `functionName` set to `"claim"`. */ export function usePrepareIDropClaim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iDropABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDropABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareIDropSetClaimConditions( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iDropABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDropABI}__. */ export function useIDropEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iDropABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDropABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useIDropClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iDropABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDropABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useIDropTokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iDropABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iDelayedRevealABI}__. */ export function useIDelayedReveal( config: Omit = {} as any, ) { return useContract({ abi: iDelayedRevealABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDelayedRevealABI}__. */ export function useIDelayedRevealWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iDelayedRevealABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDelayedRevealABI}__ and `functionName` set to `"reveal"`. */ export function useIDelayedRevealReveal( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'reveal' > & { functionName?: 'reveal' } : UseContractWriteConfig & { abi?: never functionName?: 'reveal' } = {} as any, ) { return useContractWrite({ abi: iDelayedRevealABI, functionName: 'reveal', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDelayedRevealABI}__. */ export function usePrepareIDelayedRevealWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iDelayedRevealABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDelayedRevealABI}__ and `functionName` set to `"reveal"`. */ export function usePrepareIDelayedRevealReveal( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iDelayedRevealABI, functionName: 'reveal', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDelayedRevealABI}__. */ export function useIDelayedRevealEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iDelayedRevealABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDelayedRevealABI}__ and `eventName` set to `"URIRevealed"`. */ export function useIDelayedRevealUriRevealedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iDelayedRevealABI, eventName: 'URIRevealed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iDrop1155ABI}__. */ export function useIDrop1155( config: Omit = {} as any, ) { return useContract({ abi: iDrop1155ABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDrop1155ABI}__. */ export function useIDrop1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iDrop1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDrop1155ABI}__ and `functionName` set to `"claim"`. */ export function useIDrop1155Claim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: iDrop1155ABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iDrop1155ABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useIDrop1155SetClaimConditions( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iDrop1155ABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof iDrop1155ABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite({ abi: iDrop1155ABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDrop1155ABI}__. */ export function usePrepareIDrop1155Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iDrop1155ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDrop1155ABI}__ and `functionName` set to `"claim"`. */ export function usePrepareIDrop1155Claim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iDrop1155ABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iDrop1155ABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareIDrop1155SetClaimConditions( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iDrop1155ABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDrop1155ABI}__. */ export function useIDrop1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iDrop1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDrop1155ABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useIDrop1155ClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iDrop1155ABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iDrop1155ABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useIDrop1155TokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iDrop1155ABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc1155ABI}__. */ export function useIerc1155( config: Omit = {} as any, ) { return useContract({ abi: ierc1155ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ABI}__. */ export function useIerc1155Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc1155ABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"balanceOf"`. */ export function useIerc1155BalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155ABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"balanceOfBatch"`. */ export function useIerc1155BalanceOfBatch< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155ABI, functionName: 'balanceOfBatch', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useIerc1155IsApprovedForAll< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155ABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof ierc1155ABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc1155SupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc1155ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ABI}__. */ export function useIerc1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function useIerc1155SafeBatchTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155ABI, 'safeBatchTransferFrom' >['abi'], 'safeBatchTransferFrom' > & { functionName?: 'safeBatchTransferFrom' } : UseContractWriteConfig< TMode, typeof ierc1155ABI, 'safeBatchTransferFrom' > & { abi?: never functionName?: 'safeBatchTransferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc1155ABI, functionName: 'safeBatchTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useIerc1155SafeTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155ABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc1155ABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useIerc1155SetApprovalForAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155ABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite({ abi: ierc1155ABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ABI}__. */ export function usePrepareIerc1155Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function usePrepareIerc1155SafeBatchTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ABI, functionName: 'safeBatchTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof ierc1155ABI, 'safeBatchTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareIerc1155SafeTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareIerc1155SetApprovalForAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155ABI}__. */ export function useIerc1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ierc1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155ABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useIerc1155ApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155ABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155ABI}__ and `eventName` set to `"TransferBatch"`. */ export function useIerc1155TransferBatchEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155ABI, eventName: 'TransferBatch', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155ABI}__ and `eventName` set to `"TransferSingle"`. */ export function useIerc1155TransferSingleEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155ABI, eventName: 'TransferSingle', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155ABI}__ and `eventName` set to `"URI"`. */ export function useIerc1155UriEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155ABI, eventName: 'URI', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc1155MetadataUriABI}__. */ export function useIerc1155MetadataUri( config: Omit = {} as any, ) { return useContract({ abi: ierc1155MetadataUriABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155MetadataUriABI}__. */ export function useIerc1155MetadataUriRead< TFunctionName extends string, TSelectData = ReadContractResult< typeof ierc1155MetadataUriABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof ierc1155MetadataUriABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc1155MetadataUriABI, ...config, } as UseContractReadConfig< typeof ierc1155MetadataUriABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"balanceOf"`. */ export function useIerc1155MetadataUriBalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc1155MetadataUriABI, 'balanceOf', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155MetadataUriABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof ierc1155MetadataUriABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"balanceOfBatch"`. */ export function useIerc1155MetadataUriBalanceOfBatch< TSelectData = ReadContractResult< typeof ierc1155MetadataUriABI, 'balanceOfBatch' >, >( config: Omit< UseContractReadConfig< typeof ierc1155MetadataUriABI, 'balanceOfBatch', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155MetadataUriABI, functionName: 'balanceOfBatch', ...config, } as UseContractReadConfig< typeof ierc1155MetadataUriABI, 'balanceOfBatch', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useIerc1155MetadataUriIsApprovedForAll< TSelectData = ReadContractResult< typeof ierc1155MetadataUriABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof ierc1155MetadataUriABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155MetadataUriABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof ierc1155MetadataUriABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc1155MetadataUriSupportsInterface< TSelectData = ReadContractResult< typeof ierc1155MetadataUriABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof ierc1155MetadataUriABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155MetadataUriABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc1155MetadataUriABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"uri"`. */ export function useIerc1155MetadataUriUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155MetadataUriABI, functionName: 'uri', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__. */ export function useIerc1155MetadataUriWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155MetadataUriABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof ierc1155MetadataUriABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc1155MetadataUriABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function useIerc1155MetadataUriSafeBatchTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155MetadataUriABI, 'safeBatchTransferFrom' >['abi'], 'safeBatchTransferFrom' > & { functionName?: 'safeBatchTransferFrom' } : UseContractWriteConfig< TMode, typeof ierc1155MetadataUriABI, 'safeBatchTransferFrom' > & { abi?: never functionName?: 'safeBatchTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof ierc1155MetadataUriABI, 'safeBatchTransferFrom' >({ abi: ierc1155MetadataUriABI, functionName: 'safeBatchTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useIerc1155MetadataUriSafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155MetadataUriABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof ierc1155MetadataUriABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof ierc1155MetadataUriABI, 'safeTransferFrom' >({ abi: ierc1155MetadataUriABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useIerc1155MetadataUriSetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155MetadataUriABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof ierc1155MetadataUriABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof ierc1155MetadataUriABI, 'setApprovalForAll' >({ abi: ierc1155MetadataUriABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__. */ export function usePrepareIerc1155MetadataUriWrite< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155MetadataUriABI, ...config, } as UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function usePrepareIerc1155MetadataUriSafeBatchTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, 'safeBatchTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155MetadataUriABI, functionName: 'safeBatchTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, 'safeBatchTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareIerc1155MetadataUriSafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155MetadataUriABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareIerc1155MetadataUriSetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155MetadataUriABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof ierc1155MetadataUriABI, 'setApprovalForAll' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155MetadataUriABI}__. */ export function useIerc1155MetadataUriEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ierc1155MetadataUriABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useIerc1155MetadataUriApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155MetadataUriABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `eventName` set to `"TransferBatch"`. */ export function useIerc1155MetadataUriTransferBatchEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155MetadataUriABI, eventName: 'TransferBatch', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `eventName` set to `"TransferSingle"`. */ export function useIerc1155MetadataUriTransferSingleEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155MetadataUriABI, eventName: 'TransferSingle', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc1155MetadataUriABI}__ and `eventName` set to `"URI"`. */ export function useIerc1155MetadataUriUriEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc1155MetadataUriABI, eventName: 'URI', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc1155ReceiverABI}__. */ export function useIerc1155Receiver( config: Omit = {} as any, ) { return useContract({ abi: ierc1155ReceiverABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ReceiverABI}__. */ export function useIerc1155ReceiverRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc1155ReceiverABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc1155ReceiverABI, ...config, } as UseContractReadConfig< typeof ierc1155ReceiverABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc1155ReceiverABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc1155ReceiverSupportsInterface< TSelectData = ReadContractResult< typeof ierc1155ReceiverABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof ierc1155ReceiverABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc1155ReceiverABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc1155ReceiverABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ReceiverABI}__. */ export function useIerc1155ReceiverWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof ierc1155ReceiverABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc1155ReceiverABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ReceiverABI}__ and `functionName` set to `"onERC1155BatchReceived"`. */ export function useIerc1155ReceiverOnErc1155BatchReceived< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155ReceiverABI, 'onERC1155BatchReceived' >['abi'], 'onERC1155BatchReceived' > & { functionName?: 'onERC1155BatchReceived' } : UseContractWriteConfig< TMode, typeof ierc1155ReceiverABI, 'onERC1155BatchReceived' > & { abi?: never functionName?: 'onERC1155BatchReceived' } = {} as any, ) { return useContractWrite< TMode, typeof ierc1155ReceiverABI, 'onERC1155BatchReceived' >({ abi: ierc1155ReceiverABI, functionName: 'onERC1155BatchReceived', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc1155ReceiverABI}__ and `functionName` set to `"onERC1155Received"`. */ export function useIerc1155ReceiverOnErc1155Received< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc1155ReceiverABI, 'onERC1155Received' >['abi'], 'onERC1155Received' > & { functionName?: 'onERC1155Received' } : UseContractWriteConfig< TMode, typeof ierc1155ReceiverABI, 'onERC1155Received' > & { abi?: never functionName?: 'onERC1155Received' } = {} as any, ) { return useContractWrite< TMode, typeof ierc1155ReceiverABI, 'onERC1155Received' >({ abi: ierc1155ReceiverABI, functionName: 'onERC1155Received', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ReceiverABI}__. */ export function usePrepareIerc1155ReceiverWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ReceiverABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ReceiverABI}__ and `functionName` set to `"onERC1155BatchReceived"`. */ export function usePrepareIerc1155ReceiverOnErc1155BatchReceived( config: Omit< UsePrepareContractWriteConfig< typeof ierc1155ReceiverABI, 'onERC1155BatchReceived' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ReceiverABI, functionName: 'onERC1155BatchReceived', ...config, } as UsePrepareContractWriteConfig< typeof ierc1155ReceiverABI, 'onERC1155BatchReceived' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc1155ReceiverABI}__ and `functionName` set to `"onERC1155Received"`. */ export function usePrepareIerc1155ReceiverOnErc1155Received( config: Omit< UsePrepareContractWriteConfig< typeof ierc1155ReceiverABI, 'onERC1155Received' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc1155ReceiverABI, functionName: 'onERC1155Received', ...config, } as UsePrepareContractWriteConfig< typeof ierc1155ReceiverABI, 'onERC1155Received' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc165ABI}__. */ export function useIerc165(config: Omit = {} as any) { return useContract({ abi: ierc165ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc165ABI}__. */ export function useIerc165Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc165ABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc165ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc165SupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc165ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc165ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc20ABI}__. */ export function useIerc20(config: Omit = {} as any) { return useContract({ abi: ierc20ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20ABI}__. */ export function useIerc20Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc20ABI, ...config } as UseContractReadConfig< typeof ierc20ABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"allowance"`. */ export function useIerc20Allowance< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc20ABI, functionName: 'allowance', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"balanceOf"`. */ export function useIerc20BalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc20ABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"totalSupply"`. */ export function useIerc20TotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc20ABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc20ABI}__. */ export function useIerc20Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc20ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"approve"`. */ export function useIerc20Approve( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: ierc20ABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"transfer"`. */ export function useIerc20Transfer( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transfer' > & { functionName?: 'transfer' } : UseContractWriteConfig & { abi?: never functionName?: 'transfer' } = {} as any, ) { return useContractWrite({ abi: ierc20ABI, functionName: 'transfer', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"transferFrom"`. */ export function useIerc20TransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc20ABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc20ABI}__. */ export function usePrepareIerc20Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc20ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"approve"`. */ export function usePrepareIerc20Approve( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc20ABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"transfer"`. */ export function usePrepareIerc20Transfer( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc20ABI, functionName: 'transfer', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc20ABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareIerc20TransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc20ABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc20ABI}__. */ export function useIerc20Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ierc20ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc20ABI}__ and `eventName` set to `"Approval"`. */ export function useIerc20ApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc20ABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc20ABI}__ and `eventName` set to `"Transfer"`. */ export function useIerc20TransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc20ABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc2981ABI}__. */ export function useIerc2981( config: Omit = {} as any, ) { return useContract({ abi: ierc2981ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc2981ABI}__. */ export function useIerc2981Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc2981ABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc2981ABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useIerc2981RoyaltyInfo< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc2981ABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc2981ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc2981SupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc2981ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc2981ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc721ABI}__. */ export function useIerc721(config: Omit = {} as any) { return useContract({ abi: ierc721ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721ABI}__. */ export function useIerc721Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc721ABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"balanceOf"`. */ export function useIerc721BalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721ABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"getApproved"`. */ export function useIerc721GetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721ABI, functionName: 'getApproved', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useIerc721IsApprovedForAll< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721ABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof ierc721ABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"ownerOf"`. */ export function useIerc721OwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721ABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc721SupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc721ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ABI}__. */ export function useIerc721Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc721ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"approve"`. */ export function useIerc721Approve( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: ierc721ABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useIerc721SafeTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721ABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc721ABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useIerc721SetApprovalForAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721ABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite({ abi: ierc721ABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"transferFrom"`. */ export function useIerc721TransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc721ABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ABI}__. */ export function usePrepareIerc721Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"approve"`. */ export function usePrepareIerc721Approve( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareIerc721SafeTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareIerc721SetApprovalForAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareIerc721TransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721ABI}__. */ export function useIerc721Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ierc721ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721ABI}__ and `eventName` set to `"Approval"`. */ export function useIerc721ApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721ABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721ABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useIerc721ApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721ABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721ABI}__ and `eventName` set to `"Transfer"`. */ export function useIerc721TransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721ABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc721AABI}__. */ export function useIerc721A( config: Omit = {} as any, ) { return useContract({ abi: ierc721AABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__. */ export function useIerc721ARead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"balanceOf"`. */ export function useIerc721ABalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"getApproved"`. */ export function useIerc721AGetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'getApproved', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useIerc721AIsApprovedForAll< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof ierc721AABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"name"`. */ export function useIerc721AName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"ownerOf"`. */ export function useIerc721AOwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc721ASupportsInterface< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc721AABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"symbol"`. */ export function useIerc721ASymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"tokenURI"`. */ export function useIerc721ATokenUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"totalSupply"`. */ export function useIerc721ATotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721AABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721AABI}__. */ export function useIerc721AWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc721AABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"approve"`. */ export function useIerc721AApprove( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: ierc721AABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useIerc721ASafeTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721AABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc721AABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useIerc721ASetApprovalForAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721AABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite({ abi: ierc721AABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"transferFrom"`. */ export function useIerc721ATransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc721AABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721AABI}__. */ export function usePrepareIerc721AWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721AABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"approve"`. */ export function usePrepareIerc721AApprove( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721AABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareIerc721ASafeTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721AABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareIerc721ASetApprovalForAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721AABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721AABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareIerc721ATransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721AABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721AABI}__. */ export function useIerc721AEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ierc721AABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721AABI}__ and `eventName` set to `"Approval"`. */ export function useIerc721AApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721AABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721AABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useIerc721AApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721AABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721AABI}__ and `eventName` set to `"ConsecutiveTransfer"`. */ export function useIerc721AConsecutiveTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721AABI, eventName: 'ConsecutiveTransfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721AABI}__ and `eventName` set to `"Transfer"`. */ export function useIerc721ATransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721AABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc721EnumerableABI}__. */ export function useIerc721Enumerable( config: Omit = {} as any, ) { return useContract({ abi: ierc721EnumerableABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721EnumerableABI}__. */ export function useIerc721EnumerableRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc721EnumerableABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc721EnumerableABI, ...config, } as UseContractReadConfig< typeof ierc721EnumerableABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721EnumerableABI}__ and `functionName` set to `"tokenByIndex"`. */ export function useIerc721EnumerableTokenByIndex< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc721EnumerableABI, 'tokenByIndex', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721EnumerableABI, functionName: 'tokenByIndex', ...config, } as UseContractReadConfig< typeof ierc721EnumerableABI, 'tokenByIndex', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721EnumerableABI}__ and `functionName` set to `"tokenOfOwnerByIndex"`. */ export function useIerc721EnumerableTokenOfOwnerByIndex< TSelectData = ReadContractResult< typeof ierc721EnumerableABI, 'tokenOfOwnerByIndex' >, >( config: Omit< UseContractReadConfig< typeof ierc721EnumerableABI, 'tokenOfOwnerByIndex', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721EnumerableABI, functionName: 'tokenOfOwnerByIndex', ...config, } as UseContractReadConfig< typeof ierc721EnumerableABI, 'tokenOfOwnerByIndex', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721EnumerableABI}__ and `functionName` set to `"totalSupply"`. */ export function useIerc721EnumerableTotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc721EnumerableABI, 'totalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721EnumerableABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig< typeof ierc721EnumerableABI, 'totalSupply', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc721MetadataABI}__. */ export function useIerc721Metadata( config: Omit = {} as any, ) { return useContract({ abi: ierc721MetadataABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__. */ export function useIerc721MetadataRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc721MetadataABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, ...config, } as UseContractReadConfig< typeof ierc721MetadataABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"balanceOf"`. */ export function useIerc721MetadataBalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof ierc721MetadataABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"getApproved"`. */ export function useIerc721MetadataGetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc721MetadataABI, 'getApproved', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'getApproved', ...config, } as UseContractReadConfig< typeof ierc721MetadataABI, 'getApproved', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useIerc721MetadataIsApprovedForAll< TSelectData = ReadContractResult< typeof ierc721MetadataABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof ierc721MetadataABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof ierc721MetadataABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"name"`. */ export function useIerc721MetadataName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"ownerOf"`. */ export function useIerc721MetadataOwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIerc721MetadataSupportsInterface< TSelectData = ReadContractResult< typeof ierc721MetadataABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof ierc721MetadataABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof ierc721MetadataABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"symbol"`. */ export function useIerc721MetadataSymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"tokenURI"`. */ export function useIerc721MetadataTokenUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc721MetadataABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig< typeof ierc721MetadataABI, 'tokenURI', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__. */ export function useIerc721MetadataWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof ierc721MetadataABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc721MetadataABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"approve"`. */ export function useIerc721MetadataApprove( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: ierc721MetadataABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useIerc721MetadataSafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721MetadataABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof ierc721MetadataABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite( { abi: ierc721MetadataABI, functionName: 'safeTransferFrom', ...config, } as any, ) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useIerc721MetadataSetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721MetadataABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof ierc721MetadataABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof ierc721MetadataABI, 'setApprovalForAll' >({ abi: ierc721MetadataABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"transferFrom"`. */ export function useIerc721MetadataTransferFrom( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721MetadataABI, 'transferFrom' >['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig< TMode, typeof ierc721MetadataABI, 'transferFrom' > & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: ierc721MetadataABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__. */ export function usePrepareIerc721MetadataWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721MetadataABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"approve"`. */ export function usePrepareIerc721MetadataApprove( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721MetadataABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareIerc721MetadataSafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof ierc721MetadataABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721MetadataABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof ierc721MetadataABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareIerc721MetadataSetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof ierc721MetadataABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721MetadataABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof ierc721MetadataABI, 'setApprovalForAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721MetadataABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareIerc721MetadataTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721MetadataABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721MetadataABI}__. */ export function useIerc721MetadataEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ierc721MetadataABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721MetadataABI}__ and `eventName` set to `"Approval"`. */ export function useIerc721MetadataApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721MetadataABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721MetadataABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useIerc721MetadataApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721MetadataABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ierc721MetadataABI}__ and `eventName` set to `"Transfer"`. */ export function useIerc721MetadataTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ierc721MetadataABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc721ReceiverABI}__. */ export function useIerc721Receiver( config: Omit = {} as any, ) { return useContract({ abi: ierc721ReceiverABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ReceiverABI}__. */ export function useIerc721ReceiverWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof ierc721ReceiverABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc721ReceiverABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc721ReceiverABI}__ and `functionName` set to `"onERC721Received"`. */ export function useIerc721ReceiverOnErc721Received< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ierc721ReceiverABI, 'onERC721Received' >['abi'], 'onERC721Received' > & { functionName?: 'onERC721Received' } : UseContractWriteConfig< TMode, typeof ierc721ReceiverABI, 'onERC721Received' > & { abi?: never functionName?: 'onERC721Received' } = {} as any, ) { return useContractWrite( { abi: ierc721ReceiverABI, functionName: 'onERC721Received', ...config, } as any, ) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ReceiverABI}__. */ export function usePrepareIerc721ReceiverWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ReceiverABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc721ReceiverABI}__ and `functionName` set to `"onERC721Received"`. */ export function usePrepareIerc721ReceiverOnErc721Received( config: Omit< UsePrepareContractWriteConfig< typeof ierc721ReceiverABI, 'onERC721Received' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc721ReceiverABI, functionName: 'onERC721Received', ...config, } as UsePrepareContractWriteConfig< typeof ierc721ReceiverABI, 'onERC721Received' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iLazyMintABI}__. */ export function useILazyMint( config: Omit = {} as any, ) { return useContract({ abi: iLazyMintABI, ...config }) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iLazyMintABI}__. */ export function useILazyMintEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iLazyMintABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iLazyMintABI}__ and `eventName` set to `"TokensLazyMinted"`. */ export function useILazyMintTokensLazyMintedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iLazyMintABI, eventName: 'TokensLazyMinted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iPrimarySaleABI}__. */ export function useIPrimarySale( config: Omit = {} as any, ) { return useContract({ abi: iPrimarySaleABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iPrimarySaleABI}__. */ export function useIPrimarySaleRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: iPrimarySaleABI, ...config, } as UseContractReadConfig< typeof iPrimarySaleABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iPrimarySaleABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function useIPrimarySalePrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof iPrimarySaleABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof iPrimarySaleABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iPrimarySaleABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof iPrimarySaleABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iPrimarySaleABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function useIPrimarySalePrimarySaleRecipients< TSelectData = ReadContractResult< typeof iPrimarySaleABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof iPrimarySaleABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iPrimarySaleABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof iPrimarySaleABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iRoyaltySplitterABI}__. */ export function useIRoyaltySplitter( config: Omit = {} as any, ) { return useContract({ abi: iRoyaltySplitterABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iRoyaltySplitterABI}__. */ export function useIRoyaltySplitterRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof iRoyaltySplitterABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: iRoyaltySplitterABI, ...config, } as UseContractReadConfig< typeof iRoyaltySplitterABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iRoyaltySplitterABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useIRoyaltySplitterRoyaltyInfo< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof iRoyaltySplitterABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iRoyaltySplitterABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof iRoyaltySplitterABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iRoyaltySplitterABI}__ and `functionName` set to `"supportsInterface"`. */ export function useIRoyaltySplitterSupportsInterface< TSelectData = ReadContractResult< typeof iRoyaltySplitterABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof iRoyaltySplitterABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iRoyaltySplitterABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof iRoyaltySplitterABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iThirdPartyMintABI}__. */ export function useIThirdPartyMint( config: Omit = {} as any, ) { return useContract({ abi: iThirdPartyMintABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMintABI}__. */ export function useIThirdPartyMintWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof iThirdPartyMintABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iThirdPartyMintABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMintABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useIThirdPartyMintChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iThirdPartyMintABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof iThirdPartyMintABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof iThirdPartyMintABI, 'changeThirdPartySetup' >({ abi: iThirdPartyMintABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMintABI}__. */ export function usePrepareIThirdPartyMintWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMintABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMintABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareIThirdPartyMintChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof iThirdPartyMintABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMintABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMintABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__. */ export function useIThirdPartyMint1155( config: Omit = {} as any, ) { return useContract({ abi: iThirdPartyMint1155ABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__. */ export function useIThirdPartyMint1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iThirdPartyMint1155ABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof iThirdPartyMint1155ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iThirdPartyMint1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useIThirdPartyMint1155ChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iThirdPartyMint1155ABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof iThirdPartyMint1155ABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof iThirdPartyMint1155ABI, 'changeThirdPartySetup' >({ abi: iThirdPartyMint1155ABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useIThirdPartyMint1155MintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iThirdPartyMint1155ABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof iThirdPartyMint1155ABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof iThirdPartyMint1155ABI, 'mintFromThirdParty' >({ abi: iThirdPartyMint1155ABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__. */ export function usePrepareIThirdPartyMint1155Write< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMint1155ABI, ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMint1155ABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareIThirdPartyMint1155ChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof iThirdPartyMint1155ABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMint1155ABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMint1155ABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMint1155ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareIThirdPartyMint1155MintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof iThirdPartyMint1155ABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMint1155ABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMint1155ABI, 'mintFromThirdParty' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iThirdPartyMint721ABI}__. */ export function useIThirdPartyMint721( config: Omit = {} as any, ) { return useContract({ abi: iThirdPartyMint721ABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMint721ABI}__. */ export function useIThirdPartyMint721Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof iThirdPartyMint721ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iThirdPartyMint721ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMint721ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useIThirdPartyMint721ChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iThirdPartyMint721ABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof iThirdPartyMint721ABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof iThirdPartyMint721ABI, 'changeThirdPartySetup' >({ abi: iThirdPartyMint721ABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iThirdPartyMint721ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useIThirdPartyMint721MintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iThirdPartyMint721ABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof iThirdPartyMint721ABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof iThirdPartyMint721ABI, 'mintFromThirdParty' >({ abi: iThirdPartyMint721ABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMint721ABI}__. */ export function usePrepareIThirdPartyMint721Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMint721ABI, ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMint721ABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMint721ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareIThirdPartyMint721ChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof iThirdPartyMint721ABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMint721ABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMint721ABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iThirdPartyMint721ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareIThirdPartyMint721MintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof iThirdPartyMint721ABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iThirdPartyMint721ABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof iThirdPartyMint721ABI, 'mintFromThirdParty' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iwethABI}__. */ export function useIweth(config: Omit = {} as any) { return useContract({ abi: iwethABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iwethABI}__. */ export function useIwethWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iwethABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iwethABI}__ and `functionName` set to `"deposit"`. */ export function useIwethDeposit( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'deposit' > & { functionName?: 'deposit' } : UseContractWriteConfig & { abi?: never functionName?: 'deposit' } = {} as any, ) { return useContractWrite({ abi: iwethABI, functionName: 'deposit', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iwethABI}__ and `functionName` set to `"transfer"`. */ export function useIwethTransfer( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'transfer' > & { functionName?: 'transfer' } : UseContractWriteConfig & { abi?: never functionName?: 'transfer' } = {} as any, ) { return useContractWrite({ abi: iwethABI, functionName: 'transfer', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iwethABI}__ and `functionName` set to `"withdraw"`. */ export function useIwethWithdraw( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'withdraw' > & { functionName?: 'withdraw' } : UseContractWriteConfig & { abi?: never functionName?: 'withdraw' } = {} as any, ) { return useContractWrite({ abi: iwethABI, functionName: 'withdraw', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iwethABI}__. */ export function usePrepareIwethWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iwethABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iwethABI}__ and `functionName` set to `"deposit"`. */ export function usePrepareIwethDeposit( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iwethABI, functionName: 'deposit', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iwethABI}__ and `functionName` set to `"transfer"`. */ export function usePrepareIwethTransfer( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iwethABI, functionName: 'transfer', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iwethABI}__ and `functionName` set to `"withdraw"`. */ export function usePrepareIwethWithdraw( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iwethABI, functionName: 'withdraw', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iWalletClaimCounterABI}__. */ export function useIWalletClaimCounter( config: Omit = {} as any, ) { return useContract({ abi: iWalletClaimCounterABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iWalletClaimCounterABI}__. */ export function useIWalletClaimCounterRead< TFunctionName extends string, TSelectData = ReadContractResult< typeof iWalletClaimCounterABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof iWalletClaimCounterABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: iWalletClaimCounterABI, ...config, } as UseContractReadConfig< typeof iWalletClaimCounterABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useIWalletClaimCounterMaxWalletClaimCount< TSelectData = ReadContractResult< typeof iWalletClaimCounterABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof iWalletClaimCounterABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iWalletClaimCounterABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof iWalletClaimCounterABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useIWalletClaimCounterWalletClaimCount< TSelectData = ReadContractResult< typeof iWalletClaimCounterABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof iWalletClaimCounterABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iWalletClaimCounterABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof iWalletClaimCounterABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iWalletClaimCounterABI}__. */ export function useIWalletClaimCounterWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iWalletClaimCounterABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof iWalletClaimCounterABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: iWalletClaimCounterABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useIWalletClaimCounterSetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iWalletClaimCounterABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof iWalletClaimCounterABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof iWalletClaimCounterABI, 'setMaxWalletClaimCount' >({ abi: iWalletClaimCounterABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useIWalletClaimCounterSetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iWalletClaimCounterABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof iWalletClaimCounterABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof iWalletClaimCounterABI, 'setWalletClaimCount' >({ abi: iWalletClaimCounterABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iWalletClaimCounterABI}__. */ export function usePrepareIWalletClaimCounterWrite< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iWalletClaimCounterABI, ...config, } as UsePrepareContractWriteConfig< typeof iWalletClaimCounterABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareIWalletClaimCounterSetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof iWalletClaimCounterABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iWalletClaimCounterABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof iWalletClaimCounterABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareIWalletClaimCounterSetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof iWalletClaimCounterABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iWalletClaimCounterABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof iWalletClaimCounterABI, 'setWalletClaimCount' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iWalletClaimCounterABI}__. */ export function useIWalletClaimCounterEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iWalletClaimCounterABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useIWalletClaimCounterMaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof iWalletClaimCounterABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iWalletClaimCounterABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof iWalletClaimCounterABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iWalletClaimCounterABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useIWalletClaimCounterWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof iWalletClaimCounterABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iWalletClaimCounterABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof iWalletClaimCounterABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__. */ export function useIWalletClaimCounter1155( config: Omit = {} as any, ) { return useContract({ abi: iWalletClaimCounter1155ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__. */ export function useIWalletClaimCounter1155Read< TFunctionName extends string, TSelectData = ReadContractResult< typeof iWalletClaimCounter1155ABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof iWalletClaimCounter1155ABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: iWalletClaimCounter1155ABI, ...config, } as UseContractReadConfig< typeof iWalletClaimCounter1155ABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useIWalletClaimCounter1155MaxWalletClaimCount< TSelectData = ReadContractResult< typeof iWalletClaimCounter1155ABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof iWalletClaimCounter1155ABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iWalletClaimCounter1155ABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof iWalletClaimCounter1155ABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useIWalletClaimCounter1155WalletClaimCount< TSelectData = ReadContractResult< typeof iWalletClaimCounter1155ABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof iWalletClaimCounter1155ABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: iWalletClaimCounter1155ABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof iWalletClaimCounter1155ABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__. */ export function useIWalletClaimCounter1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iWalletClaimCounter1155ABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof iWalletClaimCounter1155ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite< TMode, typeof iWalletClaimCounter1155ABI, TFunctionName >({ abi: iWalletClaimCounter1155ABI, ...config } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useIWalletClaimCounter1155SetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iWalletClaimCounter1155ABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof iWalletClaimCounter1155ABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof iWalletClaimCounter1155ABI, 'setMaxWalletClaimCount' >({ abi: iWalletClaimCounter1155ABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useIWalletClaimCounter1155SetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof iWalletClaimCounter1155ABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof iWalletClaimCounter1155ABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof iWalletClaimCounter1155ABI, 'setWalletClaimCount' >({ abi: iWalletClaimCounter1155ABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__. */ export function usePrepareIWalletClaimCounter1155Write< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig< typeof iWalletClaimCounter1155ABI, TFunctionName >, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: iWalletClaimCounter1155ABI, ...config, } as UsePrepareContractWriteConfig< typeof iWalletClaimCounter1155ABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareIWalletClaimCounter1155SetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof iWalletClaimCounter1155ABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iWalletClaimCounter1155ABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof iWalletClaimCounter1155ABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareIWalletClaimCounter1155SetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof iWalletClaimCounter1155ABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: iWalletClaimCounter1155ABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof iWalletClaimCounter1155ABI, 'setWalletClaimCount' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__. */ export function useIWalletClaimCounter1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: iWalletClaimCounter1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useIWalletClaimCounter1155MaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof iWalletClaimCounter1155ABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iWalletClaimCounter1155ABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof iWalletClaimCounter1155ABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link iWalletClaimCounter1155ABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useIWalletClaimCounter1155WalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof iWalletClaimCounter1155ABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: iWalletClaimCounter1155ABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof iWalletClaimCounter1155ABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link kanjiDropErc1155ABI}__. */ export function useKanjiDropErc1155( config: Omit = {} as any, ) { return useContract({ abi: kanjiDropErc1155ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__. */ export function useKanjiDropErc1155Read< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"balanceOf"`. */ export function useKanjiDropErc1155BalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"balanceOfBatch"`. */ export function useKanjiDropErc1155BalanceOfBatch< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'balanceOfBatch' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'balanceOfBatch', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'balanceOfBatch', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'balanceOfBatch', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"claimCondition"`. */ export function useKanjiDropErc1155ClaimCondition< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'claimCondition' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'claimCondition', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'claimCondition', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"contractURI"`. */ export function useKanjiDropErc1155ContractUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useKanjiDropErc1155GetActiveClaimConditionId< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'getActiveClaimConditionId' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useKanjiDropErc1155GetClaimConditionById< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'getClaimConditionById' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getClaimConditionById', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useKanjiDropErc1155GetClaimTimestamp< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'getClaimTimestamp' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getClaimTimestamp', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getClaimTimestamp', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useKanjiDropErc1155GetUsedAllowListSpot< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'getUsedAllowListSpot' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getUsedAllowListSpot', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useKanjiDropErc1155IsApprovedForAll< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"maxTotalSupply"`. */ export function useKanjiDropErc1155MaxTotalSupply< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'maxTotalSupply' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'maxTotalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'maxTotalSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'maxTotalSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useKanjiDropErc1155MaxWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"name"`. */ export function useKanjiDropErc1155Name< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"owner"`. */ export function useKanjiDropErc1155Owner< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'owner', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"paused"`. */ export function useKanjiDropErc1155Paused< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'paused', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"payee"`. */ export function useKanjiDropErc1155Payee< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'payee', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function useKanjiDropErc1155PrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function useKanjiDropErc1155PrimarySaleRecipients< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"releasable"`. */ export function useKanjiDropErc1155Releasable< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'releasable', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'releasable', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'releasable', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"released"`. */ export function useKanjiDropErc1155Released< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'released', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'released', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useKanjiDropErc1155RoyaltyInfo< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"shares"`. */ export function useKanjiDropErc1155Shares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'shares', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"supportsInterface"`. */ export function useKanjiDropErc1155SupportsInterface< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"symbol"`. */ export function useKanjiDropErc1155Symbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"totalReleased"`. */ export function useKanjiDropErc1155TotalReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'totalReleased', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'totalReleased', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'totalReleased', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"totalShares"`. */ export function useKanjiDropErc1155TotalShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'totalShares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'totalShares', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'totalShares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"totalSupply"`. */ export function useKanjiDropErc1155TotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'totalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'totalSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"uri"`. */ export function useKanjiDropErc1155Uri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'uri', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"verifyClaim"`. */ export function useKanjiDropErc1155VerifyClaim< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'verifyClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'verifyClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useKanjiDropErc1155VerifyClaimMerkleProof< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'verifyClaimMerkleProof' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useKanjiDropErc1155WalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc1155ABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc1155ABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc1155ABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc1155ABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__. */ export function useKanjiDropErc1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"batchMintOwner"`. */ export function useKanjiDropErc1155BatchMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'batchMintOwner' >['abi'], 'batchMintOwner' > & { functionName?: 'batchMintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'batchMintOwner' > & { abi?: never functionName?: 'batchMintOwner' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'batchMintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useKanjiDropErc1155ChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'changeThirdPartySetup' >({ abi: kanjiDropErc1155ABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"claim"`. */ export function useKanjiDropErc1155Claim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useKanjiDropErc1155MintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'mintFromThirdParty' >({ abi: kanjiDropErc1155ABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"mintOwner"`. */ export function useKanjiDropErc1155MintOwner( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'mintOwner' >['abi'], 'mintOwner' > & { functionName?: 'mintOwner' } : UseContractWriteConfig & { abi?: never functionName?: 'mintOwner' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'mintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"pause"`. */ export function useKanjiDropErc1155Pause( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'pause' > & { functionName?: 'pause' } : UseContractWriteConfig & { abi?: never functionName?: 'pause' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'pause', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"release"`. */ export function useKanjiDropErc1155Release( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'release' >['abi'], 'release' > & { functionName?: 'release' } : UseContractWriteConfig & { abi?: never functionName?: 'release' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'release', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"releaseAll"`. */ export function useKanjiDropErc1155ReleaseAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'releaseAll' >['abi'], 'releaseAll' > & { functionName?: 'releaseAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'releaseAll' > & { abi?: never functionName?: 'releaseAll' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'releaseAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"renounceOwnership"`. */ export function useKanjiDropErc1155RenounceOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'renounceOwnership' >['abi'], 'renounceOwnership' > & { functionName?: 'renounceOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'renounceOwnership' > & { abi?: never functionName?: 'renounceOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'renounceOwnership' >({ abi: kanjiDropErc1155ABI, functionName: 'renounceOwnership', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function useKanjiDropErc1155SafeBatchTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'safeBatchTransferFrom' >['abi'], 'safeBatchTransferFrom' > & { functionName?: 'safeBatchTransferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'safeBatchTransferFrom' > & { abi?: never functionName?: 'safeBatchTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'safeBatchTransferFrom' >({ abi: kanjiDropErc1155ABI, functionName: 'safeBatchTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useKanjiDropErc1155SafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'safeTransferFrom' >({ abi: kanjiDropErc1155ABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useKanjiDropErc1155SetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'setApprovalForAll' >({ abi: kanjiDropErc1155ABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setBaseURI"`. */ export function useKanjiDropErc1155SetBaseUri( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'setBaseURI' >['abi'], 'setBaseURI' > & { functionName?: 'setBaseURI' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'setBaseURI' > & { abi?: never functionName?: 'setBaseURI' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setBaseURI', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useKanjiDropErc1155SetClaimConditions< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'setClaimConditions' >({ abi: kanjiDropErc1155ABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setMaxTotalSupply"`. */ export function useKanjiDropErc1155SetMaxTotalSupply< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'setMaxTotalSupply' >['abi'], 'setMaxTotalSupply' > & { functionName?: 'setMaxTotalSupply' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'setMaxTotalSupply' > & { abi?: never functionName?: 'setMaxTotalSupply' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'setMaxTotalSupply' >({ abi: kanjiDropErc1155ABI, functionName: 'setMaxTotalSupply', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useKanjiDropErc1155SetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'setMaxWalletClaimCount' >({ abi: kanjiDropErc1155ABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useKanjiDropErc1155SetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'setWalletClaimCount' >({ abi: kanjiDropErc1155ABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"transferOwnership"`. */ export function useKanjiDropErc1155TransferOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc1155ABI, 'transferOwnership' >['abi'], 'transferOwnership' > & { functionName?: 'transferOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc1155ABI, 'transferOwnership' > & { abi?: never functionName?: 'transferOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc1155ABI, 'transferOwnership' >({ abi: kanjiDropErc1155ABI, functionName: 'transferOwnership', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__. */ export function usePrepareKanjiDropErc1155Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"batchMintOwner"`. */ export function usePrepareKanjiDropErc1155BatchMintOwner( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'batchMintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'batchMintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareKanjiDropErc1155ChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"claim"`. */ export function usePrepareKanjiDropErc1155Claim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareKanjiDropErc1155MintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'mintFromThirdParty' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"mintOwner"`. */ export function usePrepareKanjiDropErc1155MintOwner( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'mintOwner', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"pause"`. */ export function usePrepareKanjiDropErc1155Pause( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'pause', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"release"`. */ export function usePrepareKanjiDropErc1155Release( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'release', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"releaseAll"`. */ export function usePrepareKanjiDropErc1155ReleaseAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'releaseAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"renounceOwnership"`. */ export function usePrepareKanjiDropErc1155RenounceOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'renounceOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'renounceOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'renounceOwnership' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"safeBatchTransferFrom"`. */ export function usePrepareKanjiDropErc1155SafeBatchTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'safeBatchTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'safeBatchTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'safeBatchTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareKanjiDropErc1155SafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareKanjiDropErc1155SetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setApprovalForAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setBaseURI"`. */ export function usePrepareKanjiDropErc1155SetBaseUri( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setBaseURI', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareKanjiDropErc1155SetClaimConditions( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setClaimConditions' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setClaimConditions' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setMaxTotalSupply"`. */ export function usePrepareKanjiDropErc1155SetMaxTotalSupply( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setMaxTotalSupply' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setMaxTotalSupply', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setMaxTotalSupply' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareKanjiDropErc1155SetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareKanjiDropErc1155SetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'setWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `functionName` set to `"transferOwnership"`. */ export function usePrepareKanjiDropErc1155TransferOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'transferOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc1155ABI, functionName: 'transferOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc1155ABI, 'transferOwnership' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__. */ export function useKanjiDropErc1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useKanjiDropErc1155ApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useKanjiDropErc1155ClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc1155ABI, 'ClaimConditionsUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc1155ABI, 'ClaimConditionsUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"MaxTotalSupplyUpdated"`. */ export function useKanjiDropErc1155MaxTotalSupplyUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'MaxTotalSupplyUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc1155ABI, 'MaxTotalSupplyUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useKanjiDropErc1155MaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc1155ABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc1155ABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"OwnershipTransferred"`. */ export function useKanjiDropErc1155OwnershipTransferredEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'OwnershipTransferred', ...config, } as UseContractEventConfig< typeof kanjiDropErc1155ABI, 'OwnershipTransferred' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"Paused"`. */ export function useKanjiDropErc1155PausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'Paused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"PayeeAdded"`. */ export function useKanjiDropErc1155PayeeAddedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'PayeeAdded', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"PaymentReceived"`. */ export function useKanjiDropErc1155PaymentReceivedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'PaymentReceived', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"PaymentReleased"`. */ export function useKanjiDropErc1155PaymentReleasedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'PaymentReleased', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useKanjiDropErc1155TokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"TransferBatch"`. */ export function useKanjiDropErc1155TransferBatchEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'TransferBatch', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"TransferSingle"`. */ export function useKanjiDropErc1155TransferSingleEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'TransferSingle', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"URI"`. */ export function useKanjiDropErc1155UriEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'URI', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"Unpaused"`. */ export function useKanjiDropErc1155UnpausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'Unpaused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc1155ABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useKanjiDropErc1155WalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc1155ABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc1155ABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc1155ABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link kanjiDropErc721AABI}__. */ export function useKanjiDropErc721A( config: Omit = {} as any, ) { return useContract({ abi: kanjiDropErc721AABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__. */ export function useKanjiDropErc721ARead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"balanceOf"`. */ export function useKanjiDropErc721ABalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"claimCondition"`. */ export function useKanjiDropErc721AClaimCondition< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'claimCondition' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'claimCondition', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'claimCondition', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"contractURI"`. */ export function useKanjiDropErc721AContractUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useKanjiDropErc721AGetActiveClaimConditionId< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'getActiveClaimConditionId' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"getApproved"`. */ export function useKanjiDropErc721AGetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'getApproved', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'getApproved', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'getApproved', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useKanjiDropErc721AGetClaimConditionById< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'getClaimConditionById' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'getClaimConditionById', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useKanjiDropErc721AGetClaimTimestamp< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'getClaimTimestamp' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'getClaimTimestamp', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'getClaimTimestamp', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useKanjiDropErc721AGetUsedAllowListSpot< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'getUsedAllowListSpot' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'getUsedAllowListSpot', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useKanjiDropErc721AIsApprovedForAll< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"maxSupply"`. */ export function useKanjiDropErc721AMaxSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'maxSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'maxSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useKanjiDropErc721AMaxWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"name"`. */ export function useKanjiDropErc721AName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"nextTokenIdToClaim"`. */ export function useKanjiDropErc721ANextTokenIdToClaim< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'nextTokenIdToClaim' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'nextTokenIdToClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'nextTokenIdToClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'nextTokenIdToClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"nextTokenIdToMint"`. */ export function useKanjiDropErc721ANextTokenIdToMint< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'nextTokenIdToMint' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'nextTokenIdToMint', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'nextTokenIdToMint', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'nextTokenIdToMint', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"owner"`. */ export function useKanjiDropErc721AOwner< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'owner', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"ownerOf"`. */ export function useKanjiDropErc721AOwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'ownerOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"paused"`. */ export function useKanjiDropErc721APaused< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'paused', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"payee"`. */ export function useKanjiDropErc721APayee< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'payee', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function useKanjiDropErc721APrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function useKanjiDropErc721APrimarySaleRecipients< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"releasable"`. */ export function useKanjiDropErc721AReleasable< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'releasable', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'releasable', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'releasable', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"released"`. */ export function useKanjiDropErc721AReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'released', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'released', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useKanjiDropErc721ARoyaltyInfo< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"shares"`. */ export function useKanjiDropErc721AShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'shares', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"supportsInterface"`. */ export function useKanjiDropErc721ASupportsInterface< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"symbol"`. */ export function useKanjiDropErc721ASymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"tokenURI"`. */ export function useKanjiDropErc721ATokenUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'tokenURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"totalMinted"`. */ export function useKanjiDropErc721ATotalMinted< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalMinted', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'totalMinted', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalMinted', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"totalReleased"`. */ export function useKanjiDropErc721ATotalReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalReleased', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'totalReleased', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalReleased', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"totalShares"`. */ export function useKanjiDropErc721ATotalShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalShares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'totalShares', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalShares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"totalSupply"`. */ export function useKanjiDropErc721ATotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'totalSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"verifyClaim"`. */ export function useKanjiDropErc721AVerifyClaim< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'verifyClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'verifyClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useKanjiDropErc721AVerifyClaimMerkleProof< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'verifyClaimMerkleProof' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useKanjiDropErc721AWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721AABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__. */ export function useKanjiDropErc721AWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"approve"`. */ export function useKanjiDropErc721AApprove( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'approve' >['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"batchMintOwner"`. */ export function useKanjiDropErc721ABatchMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'batchMintOwner' >['abi'], 'batchMintOwner' > & { functionName?: 'batchMintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'batchMintOwner' > & { abi?: never functionName?: 'batchMintOwner' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'batchMintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useKanjiDropErc721AChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'changeThirdPartySetup' >({ abi: kanjiDropErc721AABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"claim"`. */ export function useKanjiDropErc721AClaim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"lazyMint"`. */ export function useKanjiDropErc721ALazyMint( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'lazyMint' >['abi'], 'lazyMint' > & { functionName?: 'lazyMint' } : UseContractWriteConfig & { abi?: never functionName?: 'lazyMint' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'lazyMint', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useKanjiDropErc721AMintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'mintFromThirdParty' >({ abi: kanjiDropErc721AABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"mintOwner"`. */ export function useKanjiDropErc721AMintOwner( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'mintOwner' >['abi'], 'mintOwner' > & { functionName?: 'mintOwner' } : UseContractWriteConfig & { abi?: never functionName?: 'mintOwner' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'mintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"pause"`. */ export function useKanjiDropErc721APause( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'pause' > & { functionName?: 'pause' } : UseContractWriteConfig & { abi?: never functionName?: 'pause' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'pause', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"release"`. */ export function useKanjiDropErc721ARelease( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'release' >['abi'], 'release' > & { functionName?: 'release' } : UseContractWriteConfig & { abi?: never functionName?: 'release' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'release', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"releaseAll"`. */ export function useKanjiDropErc721AReleaseAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'releaseAll' >['abi'], 'releaseAll' > & { functionName?: 'releaseAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'releaseAll' > & { abi?: never functionName?: 'releaseAll' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'releaseAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"renounceOwnership"`. */ export function useKanjiDropErc721ARenounceOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'renounceOwnership' >['abi'], 'renounceOwnership' > & { functionName?: 'renounceOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'renounceOwnership' > & { abi?: never functionName?: 'renounceOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'renounceOwnership' >({ abi: kanjiDropErc721AABI, functionName: 'renounceOwnership', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"reveal"`. */ export function useKanjiDropErc721AReveal( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'reveal' > & { functionName?: 'reveal' } : UseContractWriteConfig & { abi?: never functionName?: 'reveal' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'reveal', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useKanjiDropErc721ASafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'safeTransferFrom' >({ abi: kanjiDropErc721AABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useKanjiDropErc721ASetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'setApprovalForAll' >({ abi: kanjiDropErc721AABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useKanjiDropErc721ASetClaimConditions< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'setClaimConditions' >({ abi: kanjiDropErc721AABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useKanjiDropErc721ASetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'setMaxWalletClaimCount' >({ abi: kanjiDropErc721AABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useKanjiDropErc721ASetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'setWalletClaimCount' >({ abi: kanjiDropErc721AABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"transferFrom"`. */ export function useKanjiDropErc721ATransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'transferFrom' >['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'transferFrom' > & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721AABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"transferOwnership"`. */ export function useKanjiDropErc721ATransferOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AABI, 'transferOwnership' >['abi'], 'transferOwnership' > & { functionName?: 'transferOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AABI, 'transferOwnership' > & { abi?: never functionName?: 'transferOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AABI, 'transferOwnership' >({ abi: kanjiDropErc721AABI, functionName: 'transferOwnership', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__. */ export function usePrepareKanjiDropErc721AWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"approve"`. */ export function usePrepareKanjiDropErc721AApprove( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"batchMintOwner"`. */ export function usePrepareKanjiDropErc721ABatchMintOwner( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'batchMintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'batchMintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareKanjiDropErc721AChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"claim"`. */ export function usePrepareKanjiDropErc721AClaim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"lazyMint"`. */ export function usePrepareKanjiDropErc721ALazyMint( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'lazyMint', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareKanjiDropErc721AMintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'mintFromThirdParty' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"mintOwner"`. */ export function usePrepareKanjiDropErc721AMintOwner( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'mintOwner', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"pause"`. */ export function usePrepareKanjiDropErc721APause( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'pause', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"release"`. */ export function usePrepareKanjiDropErc721ARelease( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'release', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"releaseAll"`. */ export function usePrepareKanjiDropErc721AReleaseAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'releaseAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"renounceOwnership"`. */ export function usePrepareKanjiDropErc721ARenounceOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'renounceOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'renounceOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'renounceOwnership' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"reveal"`. */ export function usePrepareKanjiDropErc721AReveal( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'reveal', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareKanjiDropErc721ASafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareKanjiDropErc721ASetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setApprovalForAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareKanjiDropErc721ASetClaimConditions( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setClaimConditions' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setClaimConditions' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareKanjiDropErc721ASetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareKanjiDropErc721ASetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'setWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareKanjiDropErc721ATransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'transferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `functionName` set to `"transferOwnership"`. */ export function usePrepareKanjiDropErc721ATransferOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'transferOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AABI, functionName: 'transferOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AABI, 'transferOwnership' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__. */ export function useKanjiDropErc721AEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"Approval"`. */ export function useKanjiDropErc721AApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useKanjiDropErc721AApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useKanjiDropErc721AClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AABI, 'ClaimConditionsUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AABI, 'ClaimConditionsUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"ConsecutiveTransfer"`. */ export function useKanjiDropErc721AConsecutiveTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'ConsecutiveTransfer', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AABI, 'ConsecutiveTransfer' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"MaxSupplyUpdated"`. */ export function useKanjiDropErc721AMaxSupplyUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'MaxSupplyUpdated', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useKanjiDropErc721AMaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"OwnershipTransferred"`. */ export function useKanjiDropErc721AOwnershipTransferredEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'OwnershipTransferred', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AABI, 'OwnershipTransferred' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"Paused"`. */ export function useKanjiDropErc721APausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'Paused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"PayeeAdded"`. */ export function useKanjiDropErc721APayeeAddedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'PayeeAdded', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"PaymentReceived"`. */ export function useKanjiDropErc721APaymentReceivedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'PaymentReceived', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"PaymentReleased"`. */ export function useKanjiDropErc721APaymentReleasedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'PaymentReleased', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useKanjiDropErc721ATokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"TokensLazyMinted"`. */ export function useKanjiDropErc721ATokensLazyMintedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'TokensLazyMinted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"Transfer"`. */ export function useKanjiDropErc721ATransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"URIRevealed"`. */ export function useKanjiDropErc721AUriRevealedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'URIRevealed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"Unpaused"`. */ export function useKanjiDropErc721AUnpausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'Unpaused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useKanjiDropErc721AWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__. */ export function useKanjiDropErc721AEnumerable( config: Omit = {} as any, ) { return useContract({ abi: kanjiDropErc721AEnumerableABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__. */ export function useKanjiDropErc721AEnumerableRead< TFunctionName extends string, TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"balanceOf"`. */ export function useKanjiDropErc721AEnumerableBalanceOf< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'balanceOf' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'balanceOf', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"claimCondition"`. */ export function useKanjiDropErc721AEnumerableClaimCondition< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'claimCondition' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'claimCondition', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'claimCondition', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"contractURI"`. */ export function useKanjiDropErc721AEnumerableContractUri< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'contractURI' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useKanjiDropErc721AEnumerableGetActiveClaimConditionId< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'getActiveClaimConditionId' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"getApproved"`. */ export function useKanjiDropErc721AEnumerableGetApproved< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'getApproved' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getApproved', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'getApproved', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getApproved', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useKanjiDropErc721AEnumerableGetClaimConditionById< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'getClaimConditionById' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getClaimConditionById', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useKanjiDropErc721AEnumerableGetClaimTimestamp< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'getClaimTimestamp' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getClaimTimestamp', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getClaimTimestamp', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useKanjiDropErc721AEnumerableGetUsedAllowListSpot< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'getUsedAllowListSpot' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getUsedAllowListSpot', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useKanjiDropErc721AEnumerableIsApprovedForAll< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"maxSupply"`. */ export function useKanjiDropErc721AEnumerableMaxSupply< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'maxSupply' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'maxSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'maxSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'maxSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useKanjiDropErc721AEnumerableMaxWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"name"`. */ export function useKanjiDropErc721AEnumerableName< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'name' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'name', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'name', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'name', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"nextTokenIdToClaim"`. */ export function useKanjiDropErc721AEnumerableNextTokenIdToClaim< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'nextTokenIdToClaim' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'nextTokenIdToClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'nextTokenIdToClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'nextTokenIdToClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"nextTokenIdToMint"`. */ export function useKanjiDropErc721AEnumerableNextTokenIdToMint< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'nextTokenIdToMint' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'nextTokenIdToMint', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'nextTokenIdToMint', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'nextTokenIdToMint', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"owner"`. */ export function useKanjiDropErc721AEnumerableOwner< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'owner' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'owner', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'owner', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'owner', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"ownerOf"`. */ export function useKanjiDropErc721AEnumerableOwnerOf< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'ownerOf' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'ownerOf', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'ownerOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"paused"`. */ export function useKanjiDropErc721AEnumerablePaused< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'paused' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'paused', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'paused', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'paused', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"payee"`. */ export function useKanjiDropErc721AEnumerablePayee< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'payee' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'payee', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'payee', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'payee', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function useKanjiDropErc721AEnumerablePrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function useKanjiDropErc721AEnumerablePrimarySaleRecipients< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"releasable"`. */ export function useKanjiDropErc721AEnumerableReleasable< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'releasable' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'releasable', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'releasable', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'releasable', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"released"`. */ export function useKanjiDropErc721AEnumerableReleased< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'released' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'released', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'released', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'released', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useKanjiDropErc721AEnumerableRoyaltyInfo< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'royaltyInfo' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"shares"`. */ export function useKanjiDropErc721AEnumerableShares< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'shares' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'shares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'shares', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'shares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"supportsInterface"`. */ export function useKanjiDropErc721AEnumerableSupportsInterface< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"symbol"`. */ export function useKanjiDropErc721AEnumerableSymbol< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'symbol' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'symbol', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'symbol', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'symbol', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"tokenByIndex"`. */ export function useKanjiDropErc721AEnumerableTokenByIndex< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'tokenByIndex' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'tokenByIndex', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'tokenByIndex', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'tokenByIndex', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"tokenOfOwnerByIndex"`. */ export function useKanjiDropErc721AEnumerableTokenOfOwnerByIndex< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'tokenOfOwnerByIndex' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'tokenOfOwnerByIndex', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'tokenOfOwnerByIndex', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'tokenOfOwnerByIndex', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"tokenURI"`. */ export function useKanjiDropErc721AEnumerableTokenUri< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'tokenURI' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'tokenURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'tokenURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"totalMinted"`. */ export function useKanjiDropErc721AEnumerableTotalMinted< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'totalMinted' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalMinted', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'totalMinted', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalMinted', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"totalReleased"`. */ export function useKanjiDropErc721AEnumerableTotalReleased< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'totalReleased' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalReleased', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'totalReleased', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalReleased', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"totalShares"`. */ export function useKanjiDropErc721AEnumerableTotalShares< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'totalShares' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalShares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'totalShares', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalShares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"totalSupply"`. */ export function useKanjiDropErc721AEnumerableTotalSupply< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'totalSupply' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'totalSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"verifyClaim"`. */ export function useKanjiDropErc721AEnumerableVerifyClaim< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'verifyClaim' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'verifyClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'verifyClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useKanjiDropErc721AEnumerableVerifyClaimMerkleProof< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'verifyClaimMerkleProof' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useKanjiDropErc721AEnumerableWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721AEnumerableABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721AEnumerableABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721AEnumerableABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__. */ export function useKanjiDropErc721AEnumerableWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, TFunctionName >({ abi: kanjiDropErc721AEnumerableABI, ...config } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"approve"`. */ export function useKanjiDropErc721AEnumerableApprove< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'approve' >['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'approve' > & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'approve' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"batchMintOwner"`. */ export function useKanjiDropErc721AEnumerableBatchMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'batchMintOwner' >['abi'], 'batchMintOwner' > & { functionName?: 'batchMintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'batchMintOwner' > & { abi?: never functionName?: 'batchMintOwner' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'batchMintOwner' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'batchMintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useKanjiDropErc721AEnumerableChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'changeThirdPartySetup' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"claim"`. */ export function useKanjiDropErc721AEnumerableClaim< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'claim' >['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'claim' > & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite( { abi: kanjiDropErc721AEnumerableABI, functionName: 'claim', ...config, } as any, ) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"lazyMint"`. */ export function useKanjiDropErc721AEnumerableLazyMint< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'lazyMint' >['abi'], 'lazyMint' > & { functionName?: 'lazyMint' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'lazyMint' > & { abi?: never functionName?: 'lazyMint' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'lazyMint' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'lazyMint', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useKanjiDropErc721AEnumerableMintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'mintFromThirdParty' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"mintOwner"`. */ export function useKanjiDropErc721AEnumerableMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'mintOwner' >['abi'], 'mintOwner' > & { functionName?: 'mintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'mintOwner' > & { abi?: never functionName?: 'mintOwner' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'mintOwner' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'mintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"pause"`. */ export function useKanjiDropErc721AEnumerablePause< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'pause' >['abi'], 'pause' > & { functionName?: 'pause' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'pause' > & { abi?: never functionName?: 'pause' } = {} as any, ) { return useContractWrite( { abi: kanjiDropErc721AEnumerableABI, functionName: 'pause', ...config, } as any, ) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"release"`. */ export function useKanjiDropErc721AEnumerableRelease< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'release' >['abi'], 'release' > & { functionName?: 'release' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'release' > & { abi?: never functionName?: 'release' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'release' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'release', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"releaseAll"`. */ export function useKanjiDropErc721AEnumerableReleaseAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'releaseAll' >['abi'], 'releaseAll' > & { functionName?: 'releaseAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'releaseAll' > & { abi?: never functionName?: 'releaseAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'releaseAll' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'releaseAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"renounceOwnership"`. */ export function useKanjiDropErc721AEnumerableRenounceOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'renounceOwnership' >['abi'], 'renounceOwnership' > & { functionName?: 'renounceOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'renounceOwnership' > & { abi?: never functionName?: 'renounceOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'renounceOwnership' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'renounceOwnership', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"reveal"`. */ export function useKanjiDropErc721AEnumerableReveal< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'reveal' >['abi'], 'reveal' > & { functionName?: 'reveal' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'reveal' > & { abi?: never functionName?: 'reveal' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'reveal' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'reveal', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useKanjiDropErc721AEnumerableSafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'safeTransferFrom' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useKanjiDropErc721AEnumerableSetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'setApprovalForAll' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useKanjiDropErc721AEnumerableSetClaimConditions< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'setClaimConditions' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useKanjiDropErc721AEnumerableSetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'setMaxWalletClaimCount' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useKanjiDropErc721AEnumerableSetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'setWalletClaimCount' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"transferFrom"`. */ export function useKanjiDropErc721AEnumerableTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'transferFrom' >['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'transferFrom' > & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'transferFrom' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"transferOwnership"`. */ export function useKanjiDropErc721AEnumerableTransferOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721AEnumerableABI, 'transferOwnership' >['abi'], 'transferOwnership' > & { functionName?: 'transferOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721AEnumerableABI, 'transferOwnership' > & { abi?: never functionName?: 'transferOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721AEnumerableABI, 'transferOwnership' >({ abi: kanjiDropErc721AEnumerableABI, functionName: 'transferOwnership', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__. */ export function usePrepareKanjiDropErc721AEnumerableWrite< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, TFunctionName >, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"approve"`. */ export function usePrepareKanjiDropErc721AEnumerableApprove( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'approve' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'approve' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"batchMintOwner"`. */ export function usePrepareKanjiDropErc721AEnumerableBatchMintOwner( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'batchMintOwner' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'batchMintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'batchMintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareKanjiDropErc721AEnumerableChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"claim"`. */ export function usePrepareKanjiDropErc721AEnumerableClaim( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'claim' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'claim' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"lazyMint"`. */ export function usePrepareKanjiDropErc721AEnumerableLazyMint( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'lazyMint' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'lazyMint', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'lazyMint' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareKanjiDropErc721AEnumerableMintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'mintFromThirdParty' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"mintOwner"`. */ export function usePrepareKanjiDropErc721AEnumerableMintOwner( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'mintOwner' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'mintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'mintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"pause"`. */ export function usePrepareKanjiDropErc721AEnumerablePause( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'pause' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'pause', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'pause' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"release"`. */ export function usePrepareKanjiDropErc721AEnumerableRelease( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'release' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'release', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'release' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"releaseAll"`. */ export function usePrepareKanjiDropErc721AEnumerableReleaseAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'releaseAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'releaseAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'releaseAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"renounceOwnership"`. */ export function usePrepareKanjiDropErc721AEnumerableRenounceOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'renounceOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'renounceOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'renounceOwnership' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"reveal"`. */ export function usePrepareKanjiDropErc721AEnumerableReveal( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'reveal' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'reveal', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'reveal' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareKanjiDropErc721AEnumerableSafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareKanjiDropErc721AEnumerableSetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setApprovalForAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareKanjiDropErc721AEnumerableSetClaimConditions( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setClaimConditions' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setClaimConditions' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareKanjiDropErc721AEnumerableSetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareKanjiDropErc721AEnumerableSetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'setWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareKanjiDropErc721AEnumerableTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'transferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'transferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `functionName` set to `"transferOwnership"`. */ export function usePrepareKanjiDropErc721AEnumerableTransferOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'transferOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721AEnumerableABI, functionName: 'transferOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721AEnumerableABI, 'transferOwnership' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__. */ export function useKanjiDropErc721AEnumerableEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"Approval"`. */ export function useKanjiDropErc721AEnumerableApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useKanjiDropErc721AEnumerableApprovalForAllEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'ApprovalForAll' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'ApprovalForAll' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useKanjiDropErc721AEnumerableClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'ClaimConditionsUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'ClaimConditionsUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"ConsecutiveTransfer"`. */ export function useKanjiDropErc721AEnumerableConsecutiveTransferEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'ConsecutiveTransfer' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'ConsecutiveTransfer', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'ConsecutiveTransfer' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"MaxSupplyUpdated"`. */ export function useKanjiDropErc721AEnumerableMaxSupplyUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'MaxSupplyUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'MaxSupplyUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'MaxSupplyUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useKanjiDropErc721AEnumerableMaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"OwnershipTransferred"`. */ export function useKanjiDropErc721AEnumerableOwnershipTransferredEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'OwnershipTransferred' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'OwnershipTransferred', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'OwnershipTransferred' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"Paused"`. */ export function useKanjiDropErc721AEnumerablePausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'Paused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"PayeeAdded"`. */ export function useKanjiDropErc721AEnumerablePayeeAddedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'PayeeAdded', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'PayeeAdded' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"PaymentReceived"`. */ export function useKanjiDropErc721AEnumerablePaymentReceivedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'PaymentReceived' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'PaymentReceived', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'PaymentReceived' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"PaymentReleased"`. */ export function useKanjiDropErc721AEnumerablePaymentReleasedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'PaymentReleased' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'PaymentReleased', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'PaymentReleased' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useKanjiDropErc721AEnumerableTokensClaimedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'TokensClaimed' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'TokensClaimed' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"TokensLazyMinted"`. */ export function useKanjiDropErc721AEnumerableTokensLazyMintedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'TokensLazyMinted' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'TokensLazyMinted', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'TokensLazyMinted' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"Transfer"`. */ export function useKanjiDropErc721AEnumerableTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"URIRevealed"`. */ export function useKanjiDropErc721AEnumerableUriRevealedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'URIRevealed', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'URIRevealed' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"Unpaused"`. */ export function useKanjiDropErc721AEnumerableUnpausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'Unpaused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721AEnumerableABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useKanjiDropErc721AEnumerableWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721AEnumerableABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721AEnumerableABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link kanjiDropErc721RABI}__. */ export function useKanjiDropErc721R( config: Omit = {} as any, ) { return useContract({ abi: kanjiDropErc721RABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__. */ export function useKanjiDropErc721RRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"balanceOf"`. */ export function useKanjiDropErc721RBalanceOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"claimCondition"`. */ export function useKanjiDropErc721RClaimCondition< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'claimCondition' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'claimCondition', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'claimCondition', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"contractURI"`. */ export function useKanjiDropErc721RContractUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useKanjiDropErc721RGetActiveClaimConditionId< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'getActiveClaimConditionId' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"getApproved"`. */ export function useKanjiDropErc721RGetApproved< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'getApproved', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'getApproved', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'getApproved', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useKanjiDropErc721RGetClaimConditionById< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'getClaimConditionById' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'getClaimConditionById', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useKanjiDropErc721RGetClaimTimestamp< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'getClaimTimestamp' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'getClaimTimestamp', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'getClaimTimestamp', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useKanjiDropErc721RGetUsedAllowListSpot< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'getUsedAllowListSpot' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'getUsedAllowListSpot', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useKanjiDropErc721RIsApprovedForAll< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"maxSupply"`. */ export function useKanjiDropErc721RMaxSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'maxSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'maxSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useKanjiDropErc721RMaxWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"name"`. */ export function useKanjiDropErc721RName< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'name', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"nextTokenIdToMint"`. */ export function useKanjiDropErc721RNextTokenIdToMint< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'nextTokenIdToMint' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'nextTokenIdToMint', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'nextTokenIdToMint', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'nextTokenIdToMint', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"owner"`. */ export function useKanjiDropErc721ROwner< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'owner', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"ownerOf"`. */ export function useKanjiDropErc721ROwnerOf< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'ownerOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"paused"`. */ export function useKanjiDropErc721RPaused< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'paused', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"payee"`. */ export function useKanjiDropErc721RPayee< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'payee', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function useKanjiDropErc721RPrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function useKanjiDropErc721RPrimarySaleRecipients< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"releasable"`. */ export function useKanjiDropErc721RReleasable< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'releasable', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'releasable', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'releasable', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"released"`. */ export function useKanjiDropErc721RReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'released', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'released', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useKanjiDropErc721RRoyaltyInfo< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"shares"`. */ export function useKanjiDropErc721RShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'shares', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"supportsInterface"`. */ export function useKanjiDropErc721RSupportsInterface< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"symbol"`. */ export function useKanjiDropErc721RSymbol< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'symbol', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"tokenURI"`. */ export function useKanjiDropErc721RTokenUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'tokenURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"totalMinted"`. */ export function useKanjiDropErc721RTotalMinted< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalMinted', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'totalMinted', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalMinted', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"totalReleased"`. */ export function useKanjiDropErc721RTotalReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalReleased', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'totalReleased', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalReleased', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"totalShares"`. */ export function useKanjiDropErc721RTotalShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalShares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'totalShares', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalShares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"totalSupply"`. */ export function useKanjiDropErc721RTotalSupply< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'totalSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"verifyClaim"`. */ export function useKanjiDropErc721RVerifyClaim< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'verifyClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'verifyClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useKanjiDropErc721RVerifyClaimMerkleProof< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'verifyClaimMerkleProof' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useKanjiDropErc721RWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721RABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721RABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721RABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721RABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__. */ export function useKanjiDropErc721RWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"approve"`. */ export function useKanjiDropErc721RApprove( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'approve' >['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"batchMintOwner"`. */ export function useKanjiDropErc721RBatchMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'batchMintOwner' >['abi'], 'batchMintOwner' > & { functionName?: 'batchMintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'batchMintOwner' > & { abi?: never functionName?: 'batchMintOwner' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'batchMintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useKanjiDropErc721RChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'changeThirdPartySetup' >({ abi: kanjiDropErc721RABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"claim"`. */ export function useKanjiDropErc721RClaim( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'claim', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"lazyMint"`. */ export function useKanjiDropErc721RLazyMint( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'lazyMint' >['abi'], 'lazyMint' > & { functionName?: 'lazyMint' } : UseContractWriteConfig & { abi?: never functionName?: 'lazyMint' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'lazyMint', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useKanjiDropErc721RMintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'mintFromThirdParty' >({ abi: kanjiDropErc721RABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"mintOwner"`. */ export function useKanjiDropErc721RMintOwner( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'mintOwner' >['abi'], 'mintOwner' > & { functionName?: 'mintOwner' } : UseContractWriteConfig & { abi?: never functionName?: 'mintOwner' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'mintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"pause"`. */ export function useKanjiDropErc721RPause( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'pause' > & { functionName?: 'pause' } : UseContractWriteConfig & { abi?: never functionName?: 'pause' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'pause', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"release"`. */ export function useKanjiDropErc721RRelease( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'release' >['abi'], 'release' > & { functionName?: 'release' } : UseContractWriteConfig & { abi?: never functionName?: 'release' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'release', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"releaseAll"`. */ export function useKanjiDropErc721RReleaseAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'releaseAll' >['abi'], 'releaseAll' > & { functionName?: 'releaseAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'releaseAll' > & { abi?: never functionName?: 'releaseAll' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'releaseAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"renounceOwnership"`. */ export function useKanjiDropErc721RRenounceOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'renounceOwnership' >['abi'], 'renounceOwnership' > & { functionName?: 'renounceOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'renounceOwnership' > & { abi?: never functionName?: 'renounceOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'renounceOwnership' >({ abi: kanjiDropErc721RABI, functionName: 'renounceOwnership', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"reveal"`. */ export function useKanjiDropErc721RReveal( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'reveal' > & { functionName?: 'reveal' } : UseContractWriteConfig & { abi?: never functionName?: 'reveal' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'reveal', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useKanjiDropErc721RSafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'safeTransferFrom' >({ abi: kanjiDropErc721RABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useKanjiDropErc721RSetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'setApprovalForAll' >({ abi: kanjiDropErc721RABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useKanjiDropErc721RSetClaimConditions< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'setClaimConditions' >({ abi: kanjiDropErc721RABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useKanjiDropErc721RSetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'setMaxWalletClaimCount' >({ abi: kanjiDropErc721RABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useKanjiDropErc721RSetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'setWalletClaimCount' >({ abi: kanjiDropErc721RABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"transferFrom"`. */ export function useKanjiDropErc721RTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'transferFrom' >['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'transferFrom' > & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite({ abi: kanjiDropErc721RABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"transferOwnership"`. */ export function useKanjiDropErc721RTransferOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721RABI, 'transferOwnership' >['abi'], 'transferOwnership' > & { functionName?: 'transferOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721RABI, 'transferOwnership' > & { abi?: never functionName?: 'transferOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721RABI, 'transferOwnership' >({ abi: kanjiDropErc721RABI, functionName: 'transferOwnership', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__. */ export function usePrepareKanjiDropErc721RWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"approve"`. */ export function usePrepareKanjiDropErc721RApprove( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"batchMintOwner"`. */ export function usePrepareKanjiDropErc721RBatchMintOwner( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'batchMintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'batchMintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareKanjiDropErc721RChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"claim"`. */ export function usePrepareKanjiDropErc721RClaim( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"lazyMint"`. */ export function usePrepareKanjiDropErc721RLazyMint( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'lazyMint', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareKanjiDropErc721RMintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'mintFromThirdParty' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"mintOwner"`. */ export function usePrepareKanjiDropErc721RMintOwner( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'mintOwner', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"pause"`. */ export function usePrepareKanjiDropErc721RPause( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'pause', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"release"`. */ export function usePrepareKanjiDropErc721RRelease( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'release', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"releaseAll"`. */ export function usePrepareKanjiDropErc721RReleaseAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'releaseAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"renounceOwnership"`. */ export function usePrepareKanjiDropErc721RRenounceOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'renounceOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'renounceOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'renounceOwnership' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"reveal"`. */ export function usePrepareKanjiDropErc721RReveal( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'reveal', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareKanjiDropErc721RSafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareKanjiDropErc721RSetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setApprovalForAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareKanjiDropErc721RSetClaimConditions( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setClaimConditions' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setClaimConditions' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareKanjiDropErc721RSetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareKanjiDropErc721RSetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'setWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareKanjiDropErc721RTransferFrom( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'transferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `functionName` set to `"transferOwnership"`. */ export function usePrepareKanjiDropErc721RTransferOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'transferOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721RABI, functionName: 'transferOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721RABI, 'transferOwnership' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__. */ export function useKanjiDropErc721REvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"Approval"`. */ export function useKanjiDropErc721RApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useKanjiDropErc721RApprovalForAllEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useKanjiDropErc721RClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721RABI, 'ClaimConditionsUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721RABI, 'ClaimConditionsUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"MaxSupplyUpdated"`. */ export function useKanjiDropErc721RMaxSupplyUpdatedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'MaxSupplyUpdated', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useKanjiDropErc721RMaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721RABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721RABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"OwnershipTransferred"`. */ export function useKanjiDropErc721ROwnershipTransferredEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'OwnershipTransferred', ...config, } as UseContractEventConfig< typeof kanjiDropErc721RABI, 'OwnershipTransferred' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"Paused"`. */ export function useKanjiDropErc721RPausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'Paused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"PayeeAdded"`. */ export function useKanjiDropErc721RPayeeAddedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'PayeeAdded', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"PaymentReceived"`. */ export function useKanjiDropErc721RPaymentReceivedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'PaymentReceived', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"PaymentReleased"`. */ export function useKanjiDropErc721RPaymentReleasedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'PaymentReleased', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useKanjiDropErc721RTokensClaimedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"TokensLazyMinted"`. */ export function useKanjiDropErc721RTokensLazyMintedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'TokensLazyMinted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"Transfer"`. */ export function useKanjiDropErc721RTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"URIRevealed"`. */ export function useKanjiDropErc721RUriRevealedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'URIRevealed', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"Unpaused"`. */ export function useKanjiDropErc721RUnpausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'Unpaused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721RABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useKanjiDropErc721RWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721RABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721RABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721RABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__. */ export function useKanjiDropErc721REnumerable( config: Omit = {} as any, ) { return useContract({ abi: kanjiDropErc721REnumerableABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__. */ export function useKanjiDropErc721REnumerableRead< TFunctionName extends string, TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"balanceOf"`. */ export function useKanjiDropErc721REnumerableBalanceOf< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'balanceOf' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'balanceOf', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'balanceOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'balanceOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"claimCondition"`. */ export function useKanjiDropErc721REnumerableClaimCondition< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'claimCondition' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'claimCondition', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'claimCondition', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'claimCondition', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"contractURI"`. */ export function useKanjiDropErc721REnumerableContractUri< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'contractURI' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"getActiveClaimConditionId"`. */ export function useKanjiDropErc721REnumerableGetActiveClaimConditionId< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'getActiveClaimConditionId' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getActiveClaimConditionId', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'getActiveClaimConditionId', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getActiveClaimConditionId', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"getApproved"`. */ export function useKanjiDropErc721REnumerableGetApproved< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'getApproved' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getApproved', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'getApproved', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getApproved', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"getClaimConditionById"`. */ export function useKanjiDropErc721REnumerableGetClaimConditionById< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'getClaimConditionById' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getClaimConditionById', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'getClaimConditionById', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getClaimConditionById', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"getClaimTimestamp"`. */ export function useKanjiDropErc721REnumerableGetClaimTimestamp< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'getClaimTimestamp' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getClaimTimestamp', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'getClaimTimestamp', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getClaimTimestamp', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"getUsedAllowListSpot"`. */ export function useKanjiDropErc721REnumerableGetUsedAllowListSpot< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'getUsedAllowListSpot' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getUsedAllowListSpot', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'getUsedAllowListSpot', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'getUsedAllowListSpot', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"isApprovedForAll"`. */ export function useKanjiDropErc721REnumerableIsApprovedForAll< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'isApprovedForAll' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'isApprovedForAll', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'isApprovedForAll', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'isApprovedForAll', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"maxSupply"`. */ export function useKanjiDropErc721REnumerableMaxSupply< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'maxSupply' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'maxSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'maxSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'maxSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useKanjiDropErc721REnumerableMaxWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"name"`. */ export function useKanjiDropErc721REnumerableName< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'name' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'name', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'name', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'name', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"nextTokenIdToMint"`. */ export function useKanjiDropErc721REnumerableNextTokenIdToMint< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'nextTokenIdToMint' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'nextTokenIdToMint', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'nextTokenIdToMint', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'nextTokenIdToMint', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"owner"`. */ export function useKanjiDropErc721REnumerableOwner< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'owner' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'owner', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'owner', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'owner', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"ownerOf"`. */ export function useKanjiDropErc721REnumerableOwnerOf< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'ownerOf' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'ownerOf', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'ownerOf', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'ownerOf', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"paused"`. */ export function useKanjiDropErc721REnumerablePaused< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'paused' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'paused', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'paused', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'paused', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"payee"`. */ export function useKanjiDropErc721REnumerablePayee< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'payee' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'payee', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'payee', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'payee', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function useKanjiDropErc721REnumerablePrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function useKanjiDropErc721REnumerablePrimarySaleRecipients< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"releasable"`. */ export function useKanjiDropErc721REnumerableReleasable< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'releasable' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'releasable', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'releasable', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'releasable', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"released"`. */ export function useKanjiDropErc721REnumerableReleased< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'released' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'released', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'released', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'released', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useKanjiDropErc721REnumerableRoyaltyInfo< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'royaltyInfo' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"shares"`. */ export function useKanjiDropErc721REnumerableShares< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'shares' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'shares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'shares', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'shares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"supportsInterface"`. */ export function useKanjiDropErc721REnumerableSupportsInterface< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"symbol"`. */ export function useKanjiDropErc721REnumerableSymbol< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'symbol' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'symbol', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'symbol', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'symbol', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"tokenByIndex"`. */ export function useKanjiDropErc721REnumerableTokenByIndex< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'tokenByIndex' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'tokenByIndex', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'tokenByIndex', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'tokenByIndex', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"tokenOfOwnerByIndex"`. */ export function useKanjiDropErc721REnumerableTokenOfOwnerByIndex< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'tokenOfOwnerByIndex' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'tokenOfOwnerByIndex', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'tokenOfOwnerByIndex', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'tokenOfOwnerByIndex', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"tokenURI"`. */ export function useKanjiDropErc721REnumerableTokenUri< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'tokenURI' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'tokenURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'tokenURI', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'tokenURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"totalMinted"`. */ export function useKanjiDropErc721REnumerableTotalMinted< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'totalMinted' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalMinted', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'totalMinted', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalMinted', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"totalReleased"`. */ export function useKanjiDropErc721REnumerableTotalReleased< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'totalReleased' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalReleased', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'totalReleased', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalReleased', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"totalShares"`. */ export function useKanjiDropErc721REnumerableTotalShares< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'totalShares' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalShares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'totalShares', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalShares', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"totalSupply"`. */ export function useKanjiDropErc721REnumerableTotalSupply< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'totalSupply' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalSupply', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'totalSupply', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'totalSupply', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"verifyClaim"`. */ export function useKanjiDropErc721REnumerableVerifyClaim< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'verifyClaim' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'verifyClaim', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'verifyClaim', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'verifyClaim', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"verifyClaimMerkleProof"`. */ export function useKanjiDropErc721REnumerableVerifyClaimMerkleProof< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'verifyClaimMerkleProof' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'verifyClaimMerkleProof', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'verifyClaimMerkleProof', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'verifyClaimMerkleProof', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useKanjiDropErc721REnumerableWalletClaimCount< TSelectData = ReadContractResult< typeof kanjiDropErc721REnumerableABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiDropErc721REnumerableABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof kanjiDropErc721REnumerableABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__. */ export function useKanjiDropErc721REnumerableWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, TFunctionName >({ abi: kanjiDropErc721REnumerableABI, ...config } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"approve"`. */ export function useKanjiDropErc721REnumerableApprove< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'approve' >['abi'], 'approve' > & { functionName?: 'approve' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'approve' > & { abi?: never functionName?: 'approve' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'approve' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'approve', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"batchMintOwner"`. */ export function useKanjiDropErc721REnumerableBatchMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'batchMintOwner' >['abi'], 'batchMintOwner' > & { functionName?: 'batchMintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'batchMintOwner' > & { abi?: never functionName?: 'batchMintOwner' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'batchMintOwner' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'batchMintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useKanjiDropErc721REnumerableChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'changeThirdPartySetup' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"claim"`. */ export function useKanjiDropErc721REnumerableClaim< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'claim' >['abi'], 'claim' > & { functionName?: 'claim' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'claim' > & { abi?: never functionName?: 'claim' } = {} as any, ) { return useContractWrite( { abi: kanjiDropErc721REnumerableABI, functionName: 'claim', ...config, } as any, ) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"lazyMint"`. */ export function useKanjiDropErc721REnumerableLazyMint< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'lazyMint' >['abi'], 'lazyMint' > & { functionName?: 'lazyMint' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'lazyMint' > & { abi?: never functionName?: 'lazyMint' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'lazyMint' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'lazyMint', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useKanjiDropErc721REnumerableMintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'mintFromThirdParty' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"mintOwner"`. */ export function useKanjiDropErc721REnumerableMintOwner< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'mintOwner' >['abi'], 'mintOwner' > & { functionName?: 'mintOwner' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'mintOwner' > & { abi?: never functionName?: 'mintOwner' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'mintOwner' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'mintOwner', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"pause"`. */ export function useKanjiDropErc721REnumerablePause< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'pause' >['abi'], 'pause' > & { functionName?: 'pause' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'pause' > & { abi?: never functionName?: 'pause' } = {} as any, ) { return useContractWrite( { abi: kanjiDropErc721REnumerableABI, functionName: 'pause', ...config, } as any, ) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"release"`. */ export function useKanjiDropErc721REnumerableRelease< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'release' >['abi'], 'release' > & { functionName?: 'release' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'release' > & { abi?: never functionName?: 'release' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'release' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'release', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"releaseAll"`. */ export function useKanjiDropErc721REnumerableReleaseAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'releaseAll' >['abi'], 'releaseAll' > & { functionName?: 'releaseAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'releaseAll' > & { abi?: never functionName?: 'releaseAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'releaseAll' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'releaseAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"renounceOwnership"`. */ export function useKanjiDropErc721REnumerableRenounceOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'renounceOwnership' >['abi'], 'renounceOwnership' > & { functionName?: 'renounceOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'renounceOwnership' > & { abi?: never functionName?: 'renounceOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'renounceOwnership' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'renounceOwnership', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"reveal"`. */ export function useKanjiDropErc721REnumerableReveal< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'reveal' >['abi'], 'reveal' > & { functionName?: 'reveal' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'reveal' > & { abi?: never functionName?: 'reveal' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'reveal' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'reveal', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function useKanjiDropErc721REnumerableSafeTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'safeTransferFrom' >['abi'], 'safeTransferFrom' > & { functionName?: 'safeTransferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'safeTransferFrom' > & { abi?: never functionName?: 'safeTransferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'safeTransferFrom' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'safeTransferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function useKanjiDropErc721REnumerableSetApprovalForAll< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'setApprovalForAll' >['abi'], 'setApprovalForAll' > & { functionName?: 'setApprovalForAll' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'setApprovalForAll' > & { abi?: never functionName?: 'setApprovalForAll' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'setApprovalForAll' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'setApprovalForAll', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setClaimConditions"`. */ export function useKanjiDropErc721REnumerableSetClaimConditions< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'setClaimConditions' >['abi'], 'setClaimConditions' > & { functionName?: 'setClaimConditions' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'setClaimConditions' > & { abi?: never functionName?: 'setClaimConditions' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'setClaimConditions' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'setClaimConditions', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useKanjiDropErc721REnumerableSetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'setMaxWalletClaimCount' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useKanjiDropErc721REnumerableSetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'setWalletClaimCount' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"transferFrom"`. */ export function useKanjiDropErc721REnumerableTransferFrom< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'transferFrom' >['abi'], 'transferFrom' > & { functionName?: 'transferFrom' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'transferFrom' > & { abi?: never functionName?: 'transferFrom' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'transferFrom' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'transferFrom', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"transferOwnership"`. */ export function useKanjiDropErc721REnumerableTransferOwnership< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiDropErc721REnumerableABI, 'transferOwnership' >['abi'], 'transferOwnership' > & { functionName?: 'transferOwnership' } : UseContractWriteConfig< TMode, typeof kanjiDropErc721REnumerableABI, 'transferOwnership' > & { abi?: never functionName?: 'transferOwnership' } = {} as any, ) { return useContractWrite< TMode, typeof kanjiDropErc721REnumerableABI, 'transferOwnership' >({ abi: kanjiDropErc721REnumerableABI, functionName: 'transferOwnership', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__. */ export function usePrepareKanjiDropErc721REnumerableWrite< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, TFunctionName >, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"approve"`. */ export function usePrepareKanjiDropErc721REnumerableApprove( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'approve' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'approve', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'approve' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"batchMintOwner"`. */ export function usePrepareKanjiDropErc721REnumerableBatchMintOwner( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'batchMintOwner' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'batchMintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'batchMintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareKanjiDropErc721REnumerableChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"claim"`. */ export function usePrepareKanjiDropErc721REnumerableClaim( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'claim' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'claim', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'claim' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"lazyMint"`. */ export function usePrepareKanjiDropErc721REnumerableLazyMint( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'lazyMint' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'lazyMint', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'lazyMint' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareKanjiDropErc721REnumerableMintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'mintFromThirdParty' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"mintOwner"`. */ export function usePrepareKanjiDropErc721REnumerableMintOwner( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'mintOwner' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'mintOwner', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'mintOwner' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"pause"`. */ export function usePrepareKanjiDropErc721REnumerablePause( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'pause' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'pause', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'pause' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"release"`. */ export function usePrepareKanjiDropErc721REnumerableRelease( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'release' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'release', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'release' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"releaseAll"`. */ export function usePrepareKanjiDropErc721REnumerableReleaseAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'releaseAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'releaseAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'releaseAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"renounceOwnership"`. */ export function usePrepareKanjiDropErc721REnumerableRenounceOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'renounceOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'renounceOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'renounceOwnership' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"reveal"`. */ export function usePrepareKanjiDropErc721REnumerableReveal( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'reveal' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'reveal', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'reveal' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"safeTransferFrom"`. */ export function usePrepareKanjiDropErc721REnumerableSafeTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'safeTransferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'safeTransferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'safeTransferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setApprovalForAll"`. */ export function usePrepareKanjiDropErc721REnumerableSetApprovalForAll( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setApprovalForAll' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'setApprovalForAll', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setApprovalForAll' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setClaimConditions"`. */ export function usePrepareKanjiDropErc721REnumerableSetClaimConditions( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setClaimConditions' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'setClaimConditions', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setClaimConditions' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareKanjiDropErc721REnumerableSetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareKanjiDropErc721REnumerableSetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'setWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"transferFrom"`. */ export function usePrepareKanjiDropErc721REnumerableTransferFrom( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'transferFrom' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'transferFrom', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'transferFrom' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `functionName` set to `"transferOwnership"`. */ export function usePrepareKanjiDropErc721REnumerableTransferOwnership( config: Omit< UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'transferOwnership' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiDropErc721REnumerableABI, functionName: 'transferOwnership', ...config, } as UsePrepareContractWriteConfig< typeof kanjiDropErc721REnumerableABI, 'transferOwnership' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__. */ export function useKanjiDropErc721REnumerableEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"Approval"`. */ export function useKanjiDropErc721REnumerableApprovalEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'Approval', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"ApprovalForAll"`. */ export function useKanjiDropErc721REnumerableApprovalForAllEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'ApprovalForAll' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'ApprovalForAll', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'ApprovalForAll' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"ClaimConditionsUpdated"`. */ export function useKanjiDropErc721REnumerableClaimConditionsUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'ClaimConditionsUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'ClaimConditionsUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'ClaimConditionsUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"MaxSupplyUpdated"`. */ export function useKanjiDropErc721REnumerableMaxSupplyUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'MaxSupplyUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'MaxSupplyUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'MaxSupplyUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useKanjiDropErc721REnumerableMaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"OwnershipTransferred"`. */ export function useKanjiDropErc721REnumerableOwnershipTransferredEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'OwnershipTransferred' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'OwnershipTransferred', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'OwnershipTransferred' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"Paused"`. */ export function useKanjiDropErc721REnumerablePausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'Paused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"PayeeAdded"`. */ export function useKanjiDropErc721REnumerablePayeeAddedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'PayeeAdded', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'PayeeAdded' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"PaymentReceived"`. */ export function useKanjiDropErc721REnumerablePaymentReceivedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'PaymentReceived' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'PaymentReceived', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'PaymentReceived' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"PaymentReleased"`. */ export function useKanjiDropErc721REnumerablePaymentReleasedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'PaymentReleased' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'PaymentReleased', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'PaymentReleased' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"TokensClaimed"`. */ export function useKanjiDropErc721REnumerableTokensClaimedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'TokensClaimed' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'TokensClaimed', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'TokensClaimed' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"TokensLazyMinted"`. */ export function useKanjiDropErc721REnumerableTokensLazyMintedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'TokensLazyMinted' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'TokensLazyMinted', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'TokensLazyMinted' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"Transfer"`. */ export function useKanjiDropErc721REnumerableTransferEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'Transfer', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"URIRevealed"`. */ export function useKanjiDropErc721REnumerableUriRevealedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'URIRevealed', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'URIRevealed' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"Unpaused"`. */ export function useKanjiDropErc721REnumerableUnpausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'Unpaused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiDropErc721REnumerableABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useKanjiDropErc721REnumerableWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiDropErc721REnumerableABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof kanjiDropErc721REnumerableABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link kanjiThirdPartyABI}__. */ export function useKanjiThirdParty( config: Omit = {} as any, ) { return useContract({ abi: kanjiThirdPartyABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiThirdPartyABI}__. */ export function useKanjiThirdPartyRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiThirdPartyABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: kanjiThirdPartyABI, ...config, } as UseContractReadConfig< typeof kanjiThirdPartyABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"DEFAULT_ADMIN_ROLE"`. */ export function useKanjiThirdPartyDefaultAdminRole< TSelectData = ReadContractResult< typeof kanjiThirdPartyABI, 'DEFAULT_ADMIN_ROLE' >, >( config: Omit< UseContractReadConfig< typeof kanjiThirdPartyABI, 'DEFAULT_ADMIN_ROLE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiThirdPartyABI, functionName: 'DEFAULT_ADMIN_ROLE', ...config, } as UseContractReadConfig< typeof kanjiThirdPartyABI, 'DEFAULT_ADMIN_ROLE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"MINTER_ROLE"`. */ export function useKanjiThirdPartyMinterRole< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiThirdPartyABI, 'MINTER_ROLE', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiThirdPartyABI, functionName: 'MINTER_ROLE', ...config, } as UseContractReadConfig< typeof kanjiThirdPartyABI, 'MINTER_ROLE', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"getRoleAdmin"`. */ export function useKanjiThirdPartyGetRoleAdmin< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof kanjiThirdPartyABI, 'getRoleAdmin', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiThirdPartyABI, functionName: 'getRoleAdmin', ...config, } as UseContractReadConfig< typeof kanjiThirdPartyABI, 'getRoleAdmin', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"hasRole"`. */ export function useKanjiThirdPartyHasRole< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiThirdPartyABI, functionName: 'hasRole', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"supportsInterface"`. */ export function useKanjiThirdPartySupportsInterface< TSelectData = ReadContractResult< typeof kanjiThirdPartyABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof kanjiThirdPartyABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: kanjiThirdPartyABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof kanjiThirdPartyABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__. */ export function useKanjiThirdPartyWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof kanjiThirdPartyABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: kanjiThirdPartyABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"changeMinter"`. */ export function useKanjiThirdPartyChangeMinter( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiThirdPartyABI, 'changeMinter' >['abi'], 'changeMinter' > & { functionName?: 'changeMinter' } : UseContractWriteConfig< TMode, typeof kanjiThirdPartyABI, 'changeMinter' > & { abi?: never functionName?: 'changeMinter' } = {} as any, ) { return useContractWrite({ abi: kanjiThirdPartyABI, functionName: 'changeMinter', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"grantRole"`. */ export function useKanjiThirdPartyGrantRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiThirdPartyABI, 'grantRole' >['abi'], 'grantRole' > & { functionName?: 'grantRole' } : UseContractWriteConfig & { abi?: never functionName?: 'grantRole' } = {} as any, ) { return useContractWrite({ abi: kanjiThirdPartyABI, functionName: 'grantRole', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"renounceRole"`. */ export function useKanjiThirdPartyRenounceRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiThirdPartyABI, 'renounceRole' >['abi'], 'renounceRole' > & { functionName?: 'renounceRole' } : UseContractWriteConfig< TMode, typeof kanjiThirdPartyABI, 'renounceRole' > & { abi?: never functionName?: 'renounceRole' } = {} as any, ) { return useContractWrite({ abi: kanjiThirdPartyABI, functionName: 'renounceRole', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"revokeRole"`. */ export function useKanjiThirdPartyRevokeRole( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof kanjiThirdPartyABI, 'revokeRole' >['abi'], 'revokeRole' > & { functionName?: 'revokeRole' } : UseContractWriteConfig & { abi?: never functionName?: 'revokeRole' } = {} as any, ) { return useContractWrite({ abi: kanjiThirdPartyABI, functionName: 'revokeRole', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__. */ export function usePrepareKanjiThirdPartyWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiThirdPartyABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"changeMinter"`. */ export function usePrepareKanjiThirdPartyChangeMinter( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiThirdPartyABI, functionName: 'changeMinter', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"grantRole"`. */ export function usePrepareKanjiThirdPartyGrantRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiThirdPartyABI, functionName: 'grantRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"renounceRole"`. */ export function usePrepareKanjiThirdPartyRenounceRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiThirdPartyABI, functionName: 'renounceRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `functionName` set to `"revokeRole"`. */ export function usePrepareKanjiThirdPartyRevokeRole( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: kanjiThirdPartyABI, functionName: 'revokeRole', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiThirdPartyABI}__. */ export function useKanjiThirdPartyEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: kanjiThirdPartyABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `eventName` set to `"RoleAdminChanged"`. */ export function useKanjiThirdPartyRoleAdminChangedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiThirdPartyABI, eventName: 'RoleAdminChanged', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `eventName` set to `"RoleGranted"`. */ export function useKanjiThirdPartyRoleGrantedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiThirdPartyABI, eventName: 'RoleGranted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link kanjiThirdPartyABI}__ and `eventName` set to `"RoleRevoked"`. */ export function useKanjiThirdPartyRoleRevokedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: kanjiThirdPartyABI, eventName: 'RoleRevoked', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link lazyMintABI}__. */ export function useLazyMint( config: Omit = {} as any, ) { return useContract({ abi: lazyMintABI, ...config }) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link lazyMintABI}__. */ export function useLazyMintEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: lazyMintABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link lazyMintABI}__ and `eventName` set to `"TokensLazyMinted"`. */ export function useLazyMintTokensLazyMintedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: lazyMintABI, eventName: 'TokensLazyMinted', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link oneshotABI}__. */ export function useOneshot(config: Omit = {} as any) { return useContract({ abi: oneshotABI, ...config }) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ownableABI}__. */ export function useOwnable(config: Omit = {} as any) { return useContract({ abi: ownableABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ownableABI}__. */ export function useOwnableRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ownableABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ownableABI}__ and `functionName` set to `"owner"`. */ export function useOwnableOwner< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ownableABI, functionName: 'owner', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ownableABI}__. */ export function useOwnableWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ownableABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ownableABI}__ and `functionName` set to `"renounceOwnership"`. */ export function useOwnableRenounceOwnership( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ownableABI, 'renounceOwnership' >['abi'], 'renounceOwnership' > & { functionName?: 'renounceOwnership' } : UseContractWriteConfig & { abi?: never functionName?: 'renounceOwnership' } = {} as any, ) { return useContractWrite({ abi: ownableABI, functionName: 'renounceOwnership', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ownableABI}__ and `functionName` set to `"transferOwnership"`. */ export function useOwnableTransferOwnership( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof ownableABI, 'transferOwnership' >['abi'], 'transferOwnership' > & { functionName?: 'transferOwnership' } : UseContractWriteConfig & { abi?: never functionName?: 'transferOwnership' } = {} as any, ) { return useContractWrite({ abi: ownableABI, functionName: 'transferOwnership', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ownableABI}__. */ export function usePrepareOwnableWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ownableABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ownableABI}__ and `functionName` set to `"renounceOwnership"`. */ export function usePrepareOwnableRenounceOwnership( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ownableABI, functionName: 'renounceOwnership', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ownableABI}__ and `functionName` set to `"transferOwnership"`. */ export function usePrepareOwnableTransferOwnership( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ownableABI, functionName: 'transferOwnership', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ownableABI}__. */ export function useOwnableEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: ownableABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link ownableABI}__ and `eventName` set to `"OwnershipTransferred"`. */ export function useOwnableOwnershipTransferredEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: ownableABI, eventName: 'OwnershipTransferred', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link pausableABI}__. */ export function usePausable( config: Omit = {} as any, ) { return useContract({ abi: pausableABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link pausableABI}__. */ export function usePausableRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: pausableABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link pausableABI}__ and `functionName` set to `"paused"`. */ export function usePausablePaused< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: pausableABI, functionName: 'paused', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link pausableABI}__. */ export function usePausableEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: pausableABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link pausableABI}__ and `eventName` set to `"Paused"`. */ export function usePausablePausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: pausableABI, eventName: 'Paused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link pausableABI}__ and `eventName` set to `"Unpaused"`. */ export function usePausableUnpausedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: pausableABI, eventName: 'Unpaused', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link primarySaleABI}__. */ export function usePrimarySale( config: Omit = {} as any, ) { return useContract({ abi: primarySaleABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link primarySaleABI}__. */ export function usePrimarySaleRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: primarySaleABI, ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link primarySaleABI}__ and `functionName` set to `"primarySaleRecipientBps"`. */ export function usePrimarySalePrimarySaleRecipientBps< TSelectData = ReadContractResult< typeof primarySaleABI, 'primarySaleRecipientBps' >, >( config: Omit< UseContractReadConfig< typeof primarySaleABI, 'primarySaleRecipientBps', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: primarySaleABI, functionName: 'primarySaleRecipientBps', ...config, } as UseContractReadConfig< typeof primarySaleABI, 'primarySaleRecipientBps', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link primarySaleABI}__ and `functionName` set to `"primarySaleRecipients"`. */ export function usePrimarySalePrimarySaleRecipients< TSelectData = ReadContractResult< typeof primarySaleABI, 'primarySaleRecipients' >, >( config: Omit< UseContractReadConfig< typeof primarySaleABI, 'primarySaleRecipients', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: primarySaleABI, functionName: 'primarySaleRecipients', ...config, } as UseContractReadConfig< typeof primarySaleABI, 'primarySaleRecipients', TSelectData >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link royaltySplitterABI}__. */ export function useRoyaltySplitter( config: Omit = {} as any, ) { return useContract({ abi: royaltySplitterABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__. */ export function useRoyaltySplitterRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof royaltySplitterABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, ...config, } as UseContractReadConfig< typeof royaltySplitterABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"contractURI"`. */ export function useRoyaltySplitterContractUri< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof royaltySplitterABI, 'contractURI', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'contractURI', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'contractURI', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"payee"`. */ export function useRoyaltySplitterPayee< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'payee', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"releasable"`. */ export function useRoyaltySplitterReleasable< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'releasable', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'releasable', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"released"`. */ export function useRoyaltySplitterReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'released', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'released', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"royaltyInfo"`. */ export function useRoyaltySplitterRoyaltyInfo< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof royaltySplitterABI, 'royaltyInfo', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'royaltyInfo', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'royaltyInfo', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"shares"`. */ export function useRoyaltySplitterShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'shares', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"supportsInterface"`. */ export function useRoyaltySplitterSupportsInterface< TSelectData = ReadContractResult< typeof royaltySplitterABI, 'supportsInterface' >, >( config: Omit< UseContractReadConfig< typeof royaltySplitterABI, 'supportsInterface', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'supportsInterface', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'supportsInterface', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"totalReleased"`. */ export function useRoyaltySplitterTotalReleased< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof royaltySplitterABI, 'totalReleased', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'totalReleased', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'totalReleased', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"totalShares"`. */ export function useRoyaltySplitterTotalShares< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof royaltySplitterABI, 'totalShares', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: royaltySplitterABI, functionName: 'totalShares', ...config, } as UseContractReadConfig< typeof royaltySplitterABI, 'totalShares', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link royaltySplitterABI}__. */ export function useRoyaltySplitterWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof royaltySplitterABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: royaltySplitterABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"release"`. */ export function useRoyaltySplitterRelease( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'release' > & { functionName?: 'release' } : UseContractWriteConfig & { abi?: never functionName?: 'release' } = {} as any, ) { return useContractWrite({ abi: royaltySplitterABI, functionName: 'release', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"releaseAll"`. */ export function useRoyaltySplitterReleaseAll( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof royaltySplitterABI, 'releaseAll' >['abi'], 'releaseAll' > & { functionName?: 'releaseAll' } : UseContractWriteConfig & { abi?: never functionName?: 'releaseAll' } = {} as any, ) { return useContractWrite({ abi: royaltySplitterABI, functionName: 'releaseAll', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link royaltySplitterABI}__. */ export function usePrepareRoyaltySplitterWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: royaltySplitterABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"release"`. */ export function usePrepareRoyaltySplitterRelease( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: royaltySplitterABI, functionName: 'release', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link royaltySplitterABI}__ and `functionName` set to `"releaseAll"`. */ export function usePrepareRoyaltySplitterReleaseAll( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: royaltySplitterABI, functionName: 'releaseAll', ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link royaltySplitterABI}__. */ export function useRoyaltySplitterEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: royaltySplitterABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link royaltySplitterABI}__ and `eventName` set to `"PayeeAdded"`. */ export function useRoyaltySplitterPayeeAddedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: royaltySplitterABI, eventName: 'PayeeAdded', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link royaltySplitterABI}__ and `eventName` set to `"PaymentReceived"`. */ export function useRoyaltySplitterPaymentReceivedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: royaltySplitterABI, eventName: 'PaymentReceived', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link royaltySplitterABI}__ and `eventName` set to `"PaymentReleased"`. */ export function useRoyaltySplitterPaymentReleasedEvent( config: Omit< UseContractEventConfig, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: royaltySplitterABI, eventName: 'PaymentReleased', ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link thirdPartyMintABI}__. */ export function useThirdPartyMint( config: Omit = {} as any, ) { return useContract({ abi: thirdPartyMintABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMintABI}__. */ export function useThirdPartyMintWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: thirdPartyMintABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMintABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useThirdPartyMintChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof thirdPartyMintABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof thirdPartyMintABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof thirdPartyMintABI, 'changeThirdPartySetup' >({ abi: thirdPartyMintABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMintABI}__. */ export function usePrepareThirdPartyMintWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMintABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMintABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareThirdPartyMintChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof thirdPartyMintABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMintABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMintABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link thirdPartyMint1155ABI}__. */ export function useThirdPartyMint1155( config: Omit = {} as any, ) { return useContract({ abi: thirdPartyMint1155ABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMint1155ABI}__. */ export function useThirdPartyMint1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof thirdPartyMint1155ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: thirdPartyMint1155ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMint1155ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useThirdPartyMint1155ChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof thirdPartyMint1155ABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof thirdPartyMint1155ABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof thirdPartyMint1155ABI, 'changeThirdPartySetup' >({ abi: thirdPartyMint1155ABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMint1155ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useThirdPartyMint1155MintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof thirdPartyMint1155ABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof thirdPartyMint1155ABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof thirdPartyMint1155ABI, 'mintFromThirdParty' >({ abi: thirdPartyMint1155ABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMint1155ABI}__. */ export function usePrepareThirdPartyMint1155Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMint1155ABI, ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMint1155ABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMint1155ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareThirdPartyMint1155ChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof thirdPartyMint1155ABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMint1155ABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMint1155ABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMint1155ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareThirdPartyMint1155MintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof thirdPartyMint1155ABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMint1155ABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMint1155ABI, 'mintFromThirdParty' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link thirdPartyMint721ABI}__. */ export function useThirdPartyMint721( config: Omit = {} as any, ) { return useContract({ abi: thirdPartyMint721ABI, ...config }) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMint721ABI}__. */ export function useThirdPartyMint721Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof thirdPartyMint721ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: thirdPartyMint721ABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMint721ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function useThirdPartyMint721ChangeThirdPartySetup< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof thirdPartyMint721ABI, 'changeThirdPartySetup' >['abi'], 'changeThirdPartySetup' > & { functionName?: 'changeThirdPartySetup' } : UseContractWriteConfig< TMode, typeof thirdPartyMint721ABI, 'changeThirdPartySetup' > & { abi?: never functionName?: 'changeThirdPartySetup' } = {} as any, ) { return useContractWrite< TMode, typeof thirdPartyMint721ABI, 'changeThirdPartySetup' >({ abi: thirdPartyMint721ABI, functionName: 'changeThirdPartySetup', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link thirdPartyMint721ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function useThirdPartyMint721MintFromThirdParty< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof thirdPartyMint721ABI, 'mintFromThirdParty' >['abi'], 'mintFromThirdParty' > & { functionName?: 'mintFromThirdParty' } : UseContractWriteConfig< TMode, typeof thirdPartyMint721ABI, 'mintFromThirdParty' > & { abi?: never functionName?: 'mintFromThirdParty' } = {} as any, ) { return useContractWrite< TMode, typeof thirdPartyMint721ABI, 'mintFromThirdParty' >({ abi: thirdPartyMint721ABI, functionName: 'mintFromThirdParty', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMint721ABI}__. */ export function usePrepareThirdPartyMint721Write( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMint721ABI, ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMint721ABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMint721ABI}__ and `functionName` set to `"changeThirdPartySetup"`. */ export function usePrepareThirdPartyMint721ChangeThirdPartySetup( config: Omit< UsePrepareContractWriteConfig< typeof thirdPartyMint721ABI, 'changeThirdPartySetup' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMint721ABI, functionName: 'changeThirdPartySetup', ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMint721ABI, 'changeThirdPartySetup' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link thirdPartyMint721ABI}__ and `functionName` set to `"mintFromThirdParty"`. */ export function usePrepareThirdPartyMint721MintFromThirdParty( config: Omit< UsePrepareContractWriteConfig< typeof thirdPartyMint721ABI, 'mintFromThirdParty' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: thirdPartyMint721ABI, functionName: 'mintFromThirdParty', ...config, } as UsePrepareContractWriteConfig< typeof thirdPartyMint721ABI, 'mintFromThirdParty' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link walletClaimCounterABI}__. */ export function useWalletClaimCounter( config: Omit = {} as any, ) { return useContract({ abi: walletClaimCounterABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link walletClaimCounterABI}__. */ export function useWalletClaimCounterRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof walletClaimCounterABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: walletClaimCounterABI, ...config, } as UseContractReadConfig< typeof walletClaimCounterABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link walletClaimCounterABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useWalletClaimCounterMaxWalletClaimCount< TSelectData = ReadContractResult< typeof walletClaimCounterABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof walletClaimCounterABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: walletClaimCounterABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof walletClaimCounterABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link walletClaimCounterABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useWalletClaimCounterWalletClaimCount< TSelectData = ReadContractResult< typeof walletClaimCounterABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof walletClaimCounterABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: walletClaimCounterABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof walletClaimCounterABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link walletClaimCounterABI}__. */ export function useWalletClaimCounterWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof walletClaimCounterABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite({ abi: walletClaimCounterABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link walletClaimCounterABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useWalletClaimCounterSetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof walletClaimCounterABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof walletClaimCounterABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof walletClaimCounterABI, 'setMaxWalletClaimCount' >({ abi: walletClaimCounterABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link walletClaimCounterABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useWalletClaimCounterSetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof walletClaimCounterABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof walletClaimCounterABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof walletClaimCounterABI, 'setWalletClaimCount' >({ abi: walletClaimCounterABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link walletClaimCounterABI}__. */ export function usePrepareWalletClaimCounterWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: walletClaimCounterABI, ...config, } as UsePrepareContractWriteConfig< typeof walletClaimCounterABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link walletClaimCounterABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareWalletClaimCounterSetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof walletClaimCounterABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: walletClaimCounterABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof walletClaimCounterABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link walletClaimCounterABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareWalletClaimCounterSetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof walletClaimCounterABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: walletClaimCounterABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof walletClaimCounterABI, 'setWalletClaimCount' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link walletClaimCounterABI}__. */ export function useWalletClaimCounterEvent( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: walletClaimCounterABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link walletClaimCounterABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useWalletClaimCounterMaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof walletClaimCounterABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: walletClaimCounterABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof walletClaimCounterABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link walletClaimCounterABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useWalletClaimCounterWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof walletClaimCounterABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: walletClaimCounterABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof walletClaimCounterABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link walletClaimCounter1155ABI}__. */ export function useWalletClaimCounter1155( config: Omit = {} as any, ) { return useContract({ abi: walletClaimCounter1155ABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link walletClaimCounter1155ABI}__. */ export function useWalletClaimCounter1155Read< TFunctionName extends string, TSelectData = ReadContractResult< typeof walletClaimCounter1155ABI, TFunctionName >, >( config: Omit< UseContractReadConfig< typeof walletClaimCounter1155ABI, TFunctionName, TSelectData >, 'abi' > = {} as any, ) { return useContractRead({ abi: walletClaimCounter1155ABI, ...config, } as UseContractReadConfig< typeof walletClaimCounter1155ABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `functionName` set to `"maxWalletClaimCount"`. */ export function useWalletClaimCounter1155MaxWalletClaimCount< TSelectData = ReadContractResult< typeof walletClaimCounter1155ABI, 'maxWalletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof walletClaimCounter1155ABI, 'maxWalletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: walletClaimCounter1155ABI, functionName: 'maxWalletClaimCount', ...config, } as UseContractReadConfig< typeof walletClaimCounter1155ABI, 'maxWalletClaimCount', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `functionName` set to `"walletClaimCount"`. */ export function useWalletClaimCounter1155WalletClaimCount< TSelectData = ReadContractResult< typeof walletClaimCounter1155ABI, 'walletClaimCount' >, >( config: Omit< UseContractReadConfig< typeof walletClaimCounter1155ABI, 'walletClaimCount', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: walletClaimCounter1155ABI, functionName: 'walletClaimCount', ...config, } as UseContractReadConfig< typeof walletClaimCounter1155ABI, 'walletClaimCount', TSelectData >) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link walletClaimCounter1155ABI}__. */ export function useWalletClaimCounter1155Write< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof walletClaimCounter1155ABI, string >['abi'], TFunctionName > : UseContractWriteConfig< TMode, typeof walletClaimCounter1155ABI, TFunctionName > & { abi?: never } = {} as any, ) { return useContractWrite< TMode, typeof walletClaimCounter1155ABI, TFunctionName >({ abi: walletClaimCounter1155ABI, ...config } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function useWalletClaimCounter1155SetMaxWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof walletClaimCounter1155ABI, 'setMaxWalletClaimCount' >['abi'], 'setMaxWalletClaimCount' > & { functionName?: 'setMaxWalletClaimCount' } : UseContractWriteConfig< TMode, typeof walletClaimCounter1155ABI, 'setMaxWalletClaimCount' > & { abi?: never functionName?: 'setMaxWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof walletClaimCounter1155ABI, 'setMaxWalletClaimCount' >({ abi: walletClaimCounter1155ABI, functionName: 'setMaxWalletClaimCount', ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function useWalletClaimCounter1155SetWalletClaimCount< TMode extends WriteContractMode, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult< typeof walletClaimCounter1155ABI, 'setWalletClaimCount' >['abi'], 'setWalletClaimCount' > & { functionName?: 'setWalletClaimCount' } : UseContractWriteConfig< TMode, typeof walletClaimCounter1155ABI, 'setWalletClaimCount' > & { abi?: never functionName?: 'setWalletClaimCount' } = {} as any, ) { return useContractWrite< TMode, typeof walletClaimCounter1155ABI, 'setWalletClaimCount' >({ abi: walletClaimCounter1155ABI, functionName: 'setWalletClaimCount', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link walletClaimCounter1155ABI}__. */ export function usePrepareWalletClaimCounter1155Write< TFunctionName extends string, >( config: Omit< UsePrepareContractWriteConfig< typeof walletClaimCounter1155ABI, TFunctionName >, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: walletClaimCounter1155ABI, ...config, } as UsePrepareContractWriteConfig< typeof walletClaimCounter1155ABI, TFunctionName >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `functionName` set to `"setMaxWalletClaimCount"`. */ export function usePrepareWalletClaimCounter1155SetMaxWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof walletClaimCounter1155ABI, 'setMaxWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: walletClaimCounter1155ABI, functionName: 'setMaxWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof walletClaimCounter1155ABI, 'setMaxWalletClaimCount' >) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `functionName` set to `"setWalletClaimCount"`. */ export function usePrepareWalletClaimCounter1155SetWalletClaimCount( config: Omit< UsePrepareContractWriteConfig< typeof walletClaimCounter1155ABI, 'setWalletClaimCount' >, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: walletClaimCounter1155ABI, functionName: 'setWalletClaimCount', ...config, } as UsePrepareContractWriteConfig< typeof walletClaimCounter1155ABI, 'setWalletClaimCount' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link walletClaimCounter1155ABI}__. */ export function useWalletClaimCounter1155Event( config: Omit< UseContractEventConfig, 'abi' > = {} as any, ) { return useContractEvent({ abi: walletClaimCounter1155ABI, ...config, } as UseContractEventConfig) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `eventName` set to `"MaxWalletClaimCountUpdated"`. */ export function useWalletClaimCounter1155MaxWalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof walletClaimCounter1155ABI, 'MaxWalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: walletClaimCounter1155ABI, eventName: 'MaxWalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof walletClaimCounter1155ABI, 'MaxWalletClaimCountUpdated' >) } /** * Wraps __{@link useContractEvent}__ with `abi` set to __{@link walletClaimCounter1155ABI}__ and `eventName` set to `"WalletClaimCountUpdated"`. */ export function useWalletClaimCounter1155WalletClaimCountUpdatedEvent( config: Omit< UseContractEventConfig< typeof walletClaimCounter1155ABI, 'WalletClaimCountUpdated' >, 'abi' | 'eventName' > = {} as any, ) { return useContractEvent({ abi: walletClaimCounter1155ABI, eventName: 'WalletClaimCountUpdated', ...config, } as UseContractEventConfig< typeof walletClaimCounter1155ABI, 'WalletClaimCountUpdated' >) } /** * Wraps __{@link useContract}__ with `abi` set to __{@link ierc20PermitABI}__. */ export function useIerc20Permit( config: Omit = {} as any, ) { return useContract({ abi: ierc20PermitABI, ...config }) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20PermitABI}__. */ export function useIerc20PermitRead< TFunctionName extends string, TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' > = {} as any, ) { return useContractRead({ abi: ierc20PermitABI, ...config, } as UseContractReadConfig< typeof ierc20PermitABI, TFunctionName, TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20PermitABI}__ and `functionName` set to `"DOMAIN_SEPARATOR"`. */ export function useIerc20PermitDomainSeparator< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig< typeof ierc20PermitABI, 'DOMAIN_SEPARATOR', TSelectData >, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc20PermitABI, functionName: 'DOMAIN_SEPARATOR', ...config, } as UseContractReadConfig< typeof ierc20PermitABI, 'DOMAIN_SEPARATOR', TSelectData >) } /** * Wraps __{@link useContractRead}__ with `abi` set to __{@link ierc20PermitABI}__ and `functionName` set to `"nonces"`. */ export function useIerc20PermitNonces< TSelectData = ReadContractResult, >( config: Omit< UseContractReadConfig, 'abi' | 'functionName' > = {} as any, ) { return useContractRead({ abi: ierc20PermitABI, functionName: 'nonces', ...config, } as UseContractReadConfig) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc20PermitABI}__. */ export function useIerc20PermitWrite< TMode extends WriteContractMode, TFunctionName extends string, >( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], TFunctionName > : UseContractWriteConfig & { abi?: never } = {} as any, ) { return useContractWrite({ abi: ierc20PermitABI, ...config, } as any) } /** * Wraps __{@link useContractWrite}__ with `abi` set to __{@link ierc20PermitABI}__ and `functionName` set to `"permit"`. */ export function useIerc20PermitPermit( config: TMode extends 'prepared' ? UseContractWriteConfig< TMode, PrepareWriteContractResult['abi'], 'permit' > & { functionName?: 'permit' } : UseContractWriteConfig & { abi?: never functionName?: 'permit' } = {} as any, ) { return useContractWrite({ abi: ierc20PermitABI, functionName: 'permit', ...config, } as any) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc20PermitABI}__. */ export function usePrepareIerc20PermitWrite( config: Omit< UsePrepareContractWriteConfig, 'abi' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc20PermitABI, ...config, } as UsePrepareContractWriteConfig) } /** * Wraps __{@link usePrepareContractWrite}__ with `abi` set to __{@link ierc20PermitABI}__ and `functionName` set to `"permit"`. */ export function usePrepareIerc20PermitPermit( config: Omit< UsePrepareContractWriteConfig, 'abi' | 'functionName' > = {} as any, ) { return usePrepareContractWrite({ abi: ierc20PermitABI, functionName: 'permit', ...config, } as UsePrepareContractWriteConfig) }