[ { "type": "constructor", "inputs": [ { "name": "admin", "type": "address", "internalType": "address" }, { "name": "minter", "type": "address", "internalType": "address" } ], "stateMutability": "nonpayable" }, { "name": "AccessControlBadConfirmation", "type": "error", "inputs": [] }, { "name": "AccessControlUnauthorizedAccount", "type": "error", "inputs": [ { "name": "account", "type": "address", "internalType": "address" }, { "name": "neededRole", "type": "bytes32", "internalType": "bytes32" } ] }, { "name": "AlreadyHasToken", "type": "error", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" } ] }, { "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": "ERC721IncorrectOwner", "type": "error", "inputs": [ { "name": "sender", "type": "address", "internalType": "address" }, { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "owner", "type": "address", "internalType": "address" } ] }, { "name": "ERC721InsufficientApproval", "type": "error", "inputs": [ { "name": "operator", "type": "address", "internalType": "address" }, { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ] }, { "name": "ERC721InvalidApprover", "type": "error", "inputs": [ { "name": "approver", "type": "address", "internalType": "address" } ] }, { "name": "ERC721InvalidOperator", "type": "error", "inputs": [ { "name": "operator", "type": "address", "internalType": "address" } ] }, { "name": "ERC721InvalidOwner", "type": "error", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" } ] }, { "name": "ERC721InvalidReceiver", "type": "error", "inputs": [ { "name": "receiver", "type": "address", "internalType": "address" } ] }, { "name": "ERC721InvalidSender", "type": "error", "inputs": [ { "name": "sender", "type": "address", "internalType": "address" } ] }, { "name": "ERC721NonexistentToken", "type": "error", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ] }, { "name": "EmptySerial", "type": "error", "inputs": [] }, { "name": "EmptyURI", "type": "error", "inputs": [] }, { "name": "InvalidMigrationSignature", "type": "error", "inputs": [] }, { "name": "InvalidMigrationTarget", "type": "error", "inputs": [ { "name": "to", "type": "address", "internalType": "address" } ] }, { "name": "InvalidShortString", "type": "error", "inputs": [] }, { "name": "MigrationExpired", "type": "error", "inputs": [ { "name": "deadline", "type": "uint256", "internalType": "uint256" } ] }, { "name": "SerialAlreadyMinted", "type": "error", "inputs": [ { "name": "serial", "type": "string", "internalType": "string" } ] }, { "name": "Soulbound", "type": "error", "inputs": [] }, { "name": "StringTooLong", "type": "error", "inputs": [ { "name": "str", "type": "string", "internalType": "string" } ] }, { "name": "Approval", "type": "event", "inputs": [ { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "approved", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "name": "ApprovalForAll", "type": "event", "inputs": [ { "name": "owner", "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": "BatchMetadataUpdate", "type": "event", "inputs": [ { "name": "_fromTokenId", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "_toTokenId", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "CVMinted", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "serial", "type": "string", "indexed": false, "internalType": "string" }, { "name": "uri", "type": "string", "indexed": false, "internalType": "string" } ], "anonymous": false }, { "name": "EIP712DomainChanged", "type": "event", "inputs": [], "anonymous": false }, { "name": "Locked", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "MetadataUpdate", "type": "event", "inputs": [ { "name": "_tokenId", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "Migrated", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" } ], "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": "TokenURIUpdated", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "uri", "type": "string", "indexed": false, "internalType": "string" } ], "anonymous": false }, { "name": "Transfer", "type": "event", "inputs": [ { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "name": "Unlocked", "type": "event", "inputs": [ { "name": "tokenId", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "name": "DEFAULT_ADMIN_ROLE", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "name": "MIGRATE_TYPEHASH", "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": "approve", "type": "function", "inputs": [ { "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "pure" }, { "name": "balanceOf", "type": "function", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "eip712Domain", "type": "function", "inputs": [], "outputs": [ { "name": "fields", "type": "bytes1", "internalType": "bytes1" }, { "name": "name", "type": "string", "internalType": "string" }, { "name": "version", "type": "string", "internalType": "string" }, { "name": "chainId", "type": "uint256", "internalType": "uint256" }, { "name": "verifyingContract", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }, { "name": "extensions", "type": "uint256[]", "internalType": "uint256[]" } ], "stateMutability": "view" }, { "name": "getApproved", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "name": "getRoleAdmin", "type": "function", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" } ], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "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": "isApprovedForAll", "type": "function", "inputs": [ { "name": "owner", "type": "address", "internalType": "address" }, { "name": "operator", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "name": "locked", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "name": "migrate", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "newOwner", "type": "address", "internalType": "address" }, { "name": "deadline", "type": "uint256", "internalType": "uint256" }, { "name": "acceptSignature", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "migrationDigest", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "newOwner", "type": "address", "internalType": "address" }, { "name": "deadline", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "stateMutability": "view" }, { "name": "migrationNonce", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "nonce", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "mint", "type": "function", "inputs": [ { "name": "to", "type": "address", "internalType": "address" }, { "name": "serial", "type": "string", "internalType": "string" }, { "name": "uri", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "nonpayable" }, { "name": "name", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "ownerOf", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "name": "renounceRole", "type": "function", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "callerConfirmation", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "revokeRole", "type": "function", "inputs": [ { "name": "role", "type": "bytes32", "internalType": "bytes32" }, { "name": "account", "type": "address", "internalType": "address" } ], "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" } ], "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": "data", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "serialOf", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "setApprovalForAll", "type": "function", "inputs": [ { "name": "", "type": "address", "internalType": "address" }, { "name": "", "type": "bool", "internalType": "bool" } ], "outputs": [], "stateMutability": "pure" }, { "name": "setTokenURI", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" }, { "name": "uri", "type": "string", "internalType": "string" } ], "outputs": [], "stateMutability": "nonpayable" }, { "name": "supportsInterface", "type": "function", "inputs": [ { "name": "interfaceId", "type": "bytes4", "internalType": "bytes4" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "name": "symbol", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "tokenBySerial", "type": "function", "inputs": [ { "name": "serial", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "tokenURI", "type": "function", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "name": "totalMinted", "type": "function", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "name": "transferFrom", "type": "function", "inputs": [ { "name": "from", "type": "address", "internalType": "address" }, { "name": "to", "type": "address", "internalType": "address" }, { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" } ]