Verified contractExactMIT
Infanity
Address0x2ae1e7fbe6c72bc091e9883d3f341b6ea7700a0e
- Balance
0.181 ETH
- Transactions
410
- Compiler
solc 0.8.13
- Same code
Only this contract
Details
- Compiler
- solc 0.8.13+commit.abaa5c0e
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 16,316,926
- Creation transaction
- 0x0d2e3796c0…de2334094a
Read25
- ADMIN_ROLE() → (bytes32)
- DEFAULT_ADMIN_ROLE() → (bytes32)
- MINTER_ROLE() → (bytes32)
- OPERATOR_FILTER_REGISTRY() → (address)
- balanceOf(address,uint256) → (uint256)
- balanceOfBatch(address[],uint256[]) → (uint256[])
- getBrandInfo(uint256) → (tuple)
- getBrandsIds() → (uint256[])
- getCollectionIds() → (uint256[])
- getCollectionInfo(uint256) → (tuple)
- getRoleAdmin(bytes32) → (bytes32)
- getTokenGatedBalance(address,address,uint256) → (uint256)
- hasRole(bytes32,address) → (bool)
- infanityNFT() → (address)
- isApprovedForAll(address,address) → (bool)
- limitedType() → (uint8)
- mintedPerCollections(address,uint256) → (uint256)
- nextItemId() → (uint256)
- regularType() → (uint8)
- royaltyInfo(uint256,uint256) → (address,uint256)
- supportsInterface(bytes4) → (bool)
- totalShares() → (uint256)
- uri(uint256) → (string)
- wallets(uint256) → (address)
- walletsShares(uint256) → (uint256)
Write27
- createBrand(uint256,bool)
- createCollection(uint256,address,uint256,uint256,uint256,uint256,uint256,bool,bool)
- createLimited(uint256,address,uint256,uint256,uint256,uint256,uint256,bool,bool)
- deleteDefaultRoyalty()
- disableBrand(uint256)
- disableCollection(uint256)
- enableBrand(uint256)
- enableCollection(uint256)
- grantRole(bytes32,address)
- mint(uint256,uint256,uint8)
- mint(address,uint256,uint256,uint8)
- renounceRole(bytes32,address)
- resetTokenRoyalty(uint256)
- revokeRole(bytes32,address)
- safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)
- safeTransferFrom(address,address,uint256,uint256,bytes)
- setApprovalForAll(address,bool)
- setDefaultRoyalty(address,uint96)
- setTokenRoyalty(uint256,address,uint96)
- setURI(string)
- setWithdrawalInfo(address[],uint256[])
- updateInfanityData(uint256,uint256,uint256,uint256,uint256)
- updateInfanityNFT(address)
- updateItemCap(uint256,uint256)
- updateItemsMintPrice(uint256,uint256)
- updateTokenGatedInfo(uint256,address,uint256,bool)
- withdraw()
Events10
- ApprovalForAll(address,address,bool)
- BrandCreated(uint256,bool,bool)
- InfanityCreated(uint256,uint256,uint256,uint256,bool,bool)
- Minted(uint256,uint256,uint8,uint256,uint256)
- RoleAdminChanged(bytes32,bytes32,bytes32)
- RoleGranted(bytes32,address,address)
- RoleRevoked(bytes32,address,address)
- TransferBatch(address,address,address,uint256[],uint256[])
- TransferSingle(address,address,address,uint256,uint256)
- URI(string,uint256)
Errors16
- CallerQueryDisableBrand()
- CallerQueryDisableItem()
- CreateExistingBrand()
- MintDisableBrand()
- MintDisableItem()
- MintInvalidCollectionType()
- MintQuantityExceedsLimit()
- MintQuantityExceedsLimitPerTx()
- MintToZeroAddress()
- NonExistingBrand()
- NonExistingItem()
- NonSupportedTokenGatedAddress()
- OperatorNotAllowed(address)
- SetToZeroAddress()
- UintZeroValue()
- UpdateLessThanCap()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "metadataURI",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "CallerQueryDisableBrand",
"type": "error",
"inputs": []
},
{
"name": "CallerQueryDisableItem",
"type": "error",
"inputs": []
},
{
"name": "CreateExistingBrand",
"type": "error",
"inputs": []
},
{
"name": "MintDisableBrand",
"type": "error",
"inputs": []
},
{
"name": "MintDisableItem",
"type": "error",
"inputs": []
},
{
"name": "MintInvalidCollectionType",
"type": "error",
"inputs": []
},
{
"name": "MintQuantityExceedsLimit",
"type": "error",
"inputs": []
},
{
"name": "MintQuantityExceedsLimitPerTx",
"type": "error",
"inputs": []
},
{
"name": "MintToZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "NonExistingBrand",
"type": "error",
"inputs": []
},
{
"name": "NonExistingItem",
"type": "error",
"inputs": []
},
{
"name": "NonSupportedTokenGatedAddress",
"type": "error",
"inputs": []
},
{
"name": "OperatorNotAllowed",
"type": "error",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "SetToZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "UintZeroValue",
"type": "error",
"inputs": []
},
{
"name": "UpdateLessThanCap",
"type": "error",
"inputs": []
},
{
"name": "ApprovalForAll",
"type": "event",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "BrandCreated",
"type": "event",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "enabled",
"type": "bool",
"indexed": false,
"internalType": "bool"
},
{
"name": "exist",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "InfanityCreated",
"type": "event",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "itemId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "mintPriceInWei",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "cap",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "enabled",
"type": "bool",
"indexed": false,
"internalType": "bool"
},
{
"name": "exist",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "Minted",
"type": "event",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "itemId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "collectionType",
"type": "uint8",
"indexed": false,
"internalType": "enum IInfanity.CollectionType"
},
{
"name": "quantity",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "dateMinted",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "RoleAdminChanged",
"type": "event",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "previousAdminRole",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "newAdminRole",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "RoleGranted",
"type": "event",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "RoleRevoked",
"type": "event",
"inputs": [
{
"name": "role",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "TransferBatch",
"type": "event",
"inputs": [
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "ids",
"type": "uint256[]",
"indexed": false,
"internalType": "uint256[]"
},
{
"name": "values",
"type": "uint256[]",
"indexed": false,
"internalType": "uint256[]"
}
],
"anonymous": false
},
{
"name": "TransferSingle",
"type": "event",
"inputs": [
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "id",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "URI",
"type": "event",
"inputs": [
{
"name": "value",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "id",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ADMIN_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "DEFAULT_ADMIN_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "MINTER_ROLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "OPERATOR_FILTER_REGISTRY",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IOperatorFilterRegistry"
}
],
"stateMutability": "view"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
},
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "balanceOfBatch",
"type": "function",
"inputs": [
{
"name": "accounts",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "ids",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"name": "createBrand",
"type": "function",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "enabled",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "createCollection",
"type": "function",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "tokenGated",
"type": "address",
"internalType": "address"
},
{
"name": "tokenGatedId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mintPriceInWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cap",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintPerAddress",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintPerTx",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "enabled",
"type": "bool",
"internalType": "bool"
},
{
"name": "enabledTokenGated",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "createLimited",
"type": "function",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "tokenGatedAddrs",
"type": "address",
"internalType": "address"
},
{
"name": "tokenGatedId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mintPriceInWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cap",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintPerAddress",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintPerTx",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "enabled",
"type": "bool",
"internalType": "bool"
},
{
"name": "enabledTokenGated",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "deleteDefaultRoyalty",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "disableBrand",
"type": "function",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "disableCollection",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "enableBrand",
"type": "function",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "enableCollection",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getBrandInfo",
"type": "function",
"inputs": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "itemIds",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "enabled",
"type": "bool",
"internalType": "bool"
},
{
"name": "exist",
"type": "bool",
"internalType": "bool"
}
],
"internalType": "struct Infanity.Brand"
}
],
"stateMutability": "view"
},
{
"name": "getBrandsIds",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"name": "getCollectionIds",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"name": "getCollectionInfo",
"type": "function",
"inputs": [
{
"name": "itemId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "brandId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "tokenGated",
"type": "address",
"internalType": "address"
},
{
"name": "tokenGatedId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "collectionType",
"type": "uint8",
"internalType": "enum IInfanity.CollectionType"
},
{
"name": "mintPriceInWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cap",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "minted",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintPerAddress",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintPerTx",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "enabled",
"type": "bool",
"internalType": "bool"
},
{
"name": "exist",
"type": "bool",
"internalType": "bool"
},
{
"name": "enabledTokenGated",
"type": "bool",
"internalType": "bool"
}
],
"internalType": "struct Infanity.InfanityItem"
}
],
"stateMutability": "view"
},
{
"name": "getRoleAdmin",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "getTokenGatedBalance",
"type": "function",
"inputs": [
{
"name": "caller",
"type": "address",
"internalType": "address"
},
{
"name": "tokenAddrs",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "grantRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "hasRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "infanityNFT",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IInfanityERC721"
}
],
"stateMutability": "view"
},
{
"name": "isApprovedForAll",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "limitedType",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum IInfanity.CollectionType"
}
],
"stateMutability": "pure"
},
{
"name": "mint",
"type": "function",
"inputs": [
{
"name": "_itemId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_quantity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "collectionType",
"type": "uint8",
"internalType": "enum IInfanity.CollectionType"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "mint",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address",
"internalType": "address"
},
{
"name": "_itemId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_quantity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "collectionType",
"type": "uint8",
"internalType": "enum IInfanity.CollectionType"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "mintedPerCollections",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "nextItemId",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "regularType",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum IInfanity.CollectionType"
}
],
"stateMutability": "pure"
},
{
"name": "renounceRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "resetTokenRoyalty",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "revokeRole",
"type": "function",
"inputs": [
{
"name": "role",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "royaltyInfo",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_salePrice",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "safeBatchTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "ids",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "amounts",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setApprovalForAll",
"type": "function",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setDefaultRoyalty",
"type": "function",
"inputs": [
{
"name": "_receiver",
"type": "address",
"internalType": "address"
},
{
"name": "_feeNumerator",
"type": "uint96",
"internalType": "uint96"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTokenRoyalty",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_receiver",
"type": "address",
"internalType": "address"
},
{
"name": "_feeNumerator",
"type": "uint96",
"internalType": "uint96"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setURI",
"type": "function",
"inputs": [
{
"name": "_baseUri",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setWithdrawalInfo",
"type": "function",
"inputs": [
{
"name": "_wallets",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "_walletsShares",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "totalShares",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "updateInfanityData",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_mintPriceInWei",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_cap",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_maxMintPerAddress",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_maxMintPerTx",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateInfanityNFT",
"type": "function",
"inputs": [
{
"name": "_nft",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateItemCap",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "cap",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateItemsMintPrice",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_mintPriceInWei",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateTokenGatedInfo",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_token",
"type": "address",
"internalType": "address"
},
{
"name": "_tokenGatedId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_enabled",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "uri",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "wallets",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "walletsShares",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "withdraw",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "receive",
"stateMutability": "payable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.