[
{
"type": "constructor",
"inputs": [
{
"name": "_roles",
"type": "tuple",
"components": [
{
"name": "initialOwner",
"type": "address",
"internalType": "address"
},
{
"name": "royaltiesReceiver",
"type": "address",
"internalType": "address"
},
{
"name": "whitelistSigner",
"type": "address",
"internalType": "address"
}
],
"internalType": "struct IntraverseProtocolDirect.Roles"
},
{
"name": "_config",
"type": "tuple",
"components": [
{
"name": "maxRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "baseUnlockTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "restoreMintFactor",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "initialUnlockedRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "checkInInterval",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "maxMintPerWallet",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintCount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mintLimit",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "burnConfig",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"internalType": "struct IntraverseProtocolDirect.Config"
},
{
"name": "_defaultRoyalties",
"type": "uint96",
"internalType": "uint96"
},
{
"name": "_baseUri",
"type": "string",
"internalType": "string"
},
{
"name": "_contractUri",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "AlreadyCheckedInToday",
"type": "error",
"inputs": []
},
{
"name": "ECDSAInvalidSignature",
"type": "error",
"inputs": []
},
{
"name": "ECDSAInvalidSignatureLength",
"type": "error",
"inputs": [
{
"name": "length",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ECDSAInvalidSignatureS",
"type": "error",
"inputs": [
{
"name": "s",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "ERC1155InsufficientBalance",
"type": "error",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "balance",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "needed",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC1155InvalidApprover",
"type": "error",
"inputs": [
{
"name": "approver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC1155InvalidArrayLength",
"type": "error",
"inputs": [
{
"name": "idsLength",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "valuesLength",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC1155InvalidOperator",
"type": "error",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC1155InvalidReceiver",
"type": "error",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC1155InvalidSender",
"type": "error",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC1155MissingApprovalForAll",
"type": "error",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC2981InvalidDefaultRoyalty",
"type": "error",
"inputs": [
{
"name": "numerator",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "denominator",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC2981InvalidDefaultRoyaltyReceiver",
"type": "error",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC2981InvalidTokenRoyalty",
"type": "error",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "numerator",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "denominator",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC2981InvalidTokenRoyaltyReceiver",
"type": "error",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "GlobalMintLimitReached",
"type": "error",
"inputs": []
},
{
"name": "InvalidBurningConfig",
"type": "error",
"inputs": [
{
"name": "expected",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "actual",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "InvalidLimitsConfig",
"type": "error",
"inputs": []
},
{
"name": "InvalidPhase",
"type": "error",
"inputs": []
},
{
"name": "InvalidRarity",
"type": "error",
"inputs": []
},
{
"name": "InvalidRecipient",
"type": "error",
"inputs": [
{
"name": "expected",
"type": "address",
"internalType": "address"
},
{
"name": "actual",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "InvalidTokenId",
"type": "error",
"inputs": []
},
{
"name": "InvalidUnlockConfig",
"type": "error",
"inputs": [
{
"name": "expected",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "actual",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "MaxMintCountReached",
"type": "error",
"inputs": []
},
{
"name": "MaxRarityAlreadyUnlocked",
"type": "error",
"inputs": []
},
{
"name": "NoMoreMintsAvailableForUser",
"type": "error",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "NotEnoughTimePassed",
"type": "error",
"inputs": []
},
{
"name": "OwnableInvalidOwner",
"type": "error",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "OwnableUnauthorizedAccount",
"type": "error",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "RarityNotYetUnlocked",
"type": "error",
"inputs": []
},
{
"name": "StringsInsufficientHexLength",
"type": "error",
"inputs": [
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "length",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "TotalMintLimitReachedForUser",
"type": "error",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "UserNotWhitelisted",
"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": "CheckIn",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newRarity",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Mint",
"type": "event",
"inputs": [
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "TokenUpgraded",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "fromTokenId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "toTokenId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"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": "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": "burnCount",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "canMint",
"type": "function",
"inputs": [
{
"name": "_mintCount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_burnCount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "checkIn",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "checkInCount",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "config",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "maxRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "baseUnlockTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "restoreMintFactor",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "initialUnlockedRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "checkInInterval",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "maxMintPerWallet",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintCount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mintLimit",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "contractURI",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "currentPhase",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum IntraverseProtocolDirect.Phase"
}
],
"stateMutability": "view"
},
{
"name": "exists",
"type": "function",
"inputs": [
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "getBurnConfig",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"name": "getConfig",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "maxRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "baseUnlockTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "restoreMintFactor",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "initialUnlockedRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "checkInInterval",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "maxMintPerWallet",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintCount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mintLimit",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "burnConfig",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"internalType": "struct IntraverseProtocolDirect.Config"
}
],
"stateMutability": "view"
},
{
"name": "getCurrentDay",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getMessageHash",
"type": "function",
"inputs": [
{
"name": "message",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "pure"
},
{
"name": "getNextRarity",
"type": "function",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getRoles",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "initialOwner",
"type": "address",
"internalType": "address"
},
{
"name": "royaltiesReceiver",
"type": "address",
"internalType": "address"
},
{
"name": "whitelistSigner",
"type": "address",
"internalType": "address"
}
],
"internalType": "struct IntraverseProtocolDirect.Roles"
}
],
"stateMutability": "view"
},
{
"name": "getUnlockedRarity",
"type": "function",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"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": "lastCheckIn",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "messageFromAddress",
"type": "function",
"inputs": [
{
"name": "_address",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"name": "mint",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "mintCount",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "mintGlobalCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "mintInitialSupply",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "rarityUnlocked",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "roles",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "initialOwner",
"type": "address",
"internalType": "address"
},
{
"name": "royaltiesReceiver",
"type": "address",
"internalType": "address"
},
{
"name": "whitelistSigner",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "royaltyInfo",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "salePrice",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"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": "values",
"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": "id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "value",
"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": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateContractConfig",
"type": "function",
"inputs": [
{
"name": "_config",
"type": "tuple",
"components": [
{
"name": "maxRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "baseUnlockTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "restoreMintFactor",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "initialUnlockedRarity",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "checkInInterval",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "maxMintPerWallet",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxMintCount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "mintLimit",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "burnConfig",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"internalType": "struct IntraverseProtocolDirect.Config"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateContractURI",
"type": "function",
"inputs": [
{
"name": "_contractUri",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateMetadata",
"type": "function",
"inputs": [
{
"name": "_baseUri",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updatePhase",
"type": "function",
"inputs": [
{
"name": "_phase",
"type": "uint8",
"internalType": "enum IntraverseProtocolDirect.Phase"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateRoyaltiesReceiver",
"type": "function",
"inputs": [
{
"name": "_royaltiesReceiver",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "updateWhitelistSigner",
"type": "function",
"inputs": [
{
"name": "_whitelistSigner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "upgradeTokenTo",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "uri",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "verifySignature",
"type": "function",
"inputs": [
{
"name": "message",
"type": "string",
"internalType": "string"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
}
]