UNPKG

@thirdweb-dev/contracts-js

Version:
433 lines • 8.97 kB
[ { "type": "function", "name": "allowance", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" }, { "name": "spender", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "approve", "inputs": [ { "name": "spender", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "balanceOf", "inputs": [ { "name": "account", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "claim", "inputs": [ { "name": "receiver", "type": "address", "internalType": "address" }, { "name": "quantity", "type": "uint256", "internalType": "uint256" }, { "name": "currency", "type": "address", "internalType": "address" }, { "name": "pricePerToken", "type": "uint256", "internalType": "uint256" }, { "name": "proofs", "type": "bytes32[]", "internalType": "bytes32[]" }, { "name": "proofMaxQuantityPerTransaction", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "payable" }, { "type": "function", "name": "setClaimConditions", "inputs": [ { "name": "phases", "type": "tuple[]", "internalType": "struct IDropClaimCondition_V2.ClaimCondition[]", "components": [ { "name": "startTimestamp", "type": "uint256", "internalType": "uint256" }, { "name": "maxClaimableSupply", "type": "uint256", "internalType": "uint256" }, { "name": "supplyClaimed", "type": "uint256", "internalType": "uint256" }, { "name": "quantityLimitPerTransaction", "type": "uint256", "internalType": "uint256" }, { "name": "waitTimeInSecondsBetweenClaims", "type": "uint256", "internalType": "uint256" }, { "name": "merkleRoot", "type": "bytes32", "internalType": "bytes32" }, { "name": "pricePerToken", "type": "uint256", "internalType": "uint256" }, { "name": "currency", "type": "address", "internalType": "address" } ] }, { "name": "resetClaimEligibility", "type": "bool", "internalType": "bool" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "totalSupply", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "transfer", "inputs": [ { "name": "to", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "transferFrom", "inputs": [ { "name": "from", "type": "address", "internalType": "address" }, { "name": "to", "type": "address", "internalType": "address" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "nonpayable" }, { "type": "event", "name": "Approval", "inputs": [ { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "spender", "type": "address", "indexed": true, "internalType": "address" }, { "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "ClaimConditionsUpdated", "inputs": [ { "name": "claimConditions", "type": "tuple[]", "indexed": false, "internalType": "struct IDropClaimCondition_V2.ClaimCondition[]", "components": [ { "name": "startTimestamp", "type": "uint256", "internalType": "uint256" }, { "name": "maxClaimableSupply", "type": "uint256", "internalType": "uint256" }, { "name": "supplyClaimed", "type": "uint256", "internalType": "uint256" }, { "name": "quantityLimitPerTransaction", "type": "uint256", "internalType": "uint256" }, { "name": "waitTimeInSecondsBetweenClaims", "type": "uint256", "internalType": "uint256" }, { "name": "merkleRoot", "type": "bytes32", "internalType": "bytes32" }, { "name": "pricePerToken", "type": "uint256", "internalType": "uint256" }, { "name": "currency", "type": "address", "internalType": "address" } ] } ], "anonymous": false }, { "type": "event", "name": "ContractURIUpdated", "inputs": [ { "name": "prevURI", "type": "string", "indexed": false, "internalType": "string" }, { "name": "newURI", "type": "string", "indexed": false, "internalType": "string" } ], "anonymous": false }, { "type": "event", "name": "MaxTotalSupplyUpdated", "inputs": [ { "name": "maxTotalSupply", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "MaxWalletClaimCountUpdated", "inputs": [ { "name": "count", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "TokensClaimed", "inputs": [ { "name": "claimConditionIndex", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "claimer", "type": "address", "indexed": true, "internalType": "address" }, { "name": "receiver", "type": "address", "indexed": true, "internalType": "address" }, { "name": "quantityClaimed", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "Transfer", "inputs": [ { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "value", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "WalletClaimCountUpdated", "inputs": [ { "name": "wallet", "type": "address", "indexed": true, "internalType": "address" }, { "name": "count", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false } ]