UNPKG

@vechain/vebetterdao-contracts

Version:

Vebetter DAO smart contracts, including their addresses, ABIs, and interfaces.

1,924 lines 131 kB
{ "_format": "hh-sol-artifact-1", "contractName": "GalaxyMemberV2", "sourceName": "contracts/deprecated/V2/GalaxyMemberV2.sol", "abi": [ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AccessControlBadConfirmation", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "neededRole", "type": "bytes32" } ], "name": "AccessControlUnauthorizedAccount", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "target", "type": "address" } ], "name": "AddressEmptyCode", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "implementation", "type": "address" } ], "name": "ERC1967InvalidImplementation", "type": "error" }, { "inputs": [], "name": "ERC1967NonPayable", "type": "error" }, { "inputs": [], "name": "ERC721EnumerableForbiddenBatchMint", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC721IncorrectOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ERC721InsufficientApproval", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC721InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "name": "ERC721InvalidOperator", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "ERC721InvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC721InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC721InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ERC721NonexistentToken", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "ERC721OutOfBoundsIndex", "type": "error" }, { "inputs": [], "name": "EnforcedPause", "type": "error" }, { "inputs": [], "name": "ExpectedPause", "type": "error" }, { "inputs": [], "name": "FailedInnerCall", "type": "error" }, { "inputs": [], "name": "InvalidInitialization", "type": "error" }, { "inputs": [], "name": "NotInitializing", "type": "error" }, { "inputs": [], "name": "ReentrancyGuardReentrantCall", "type": "error" }, { "inputs": [], "name": "UUPSUnauthorizedCallContext", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "slot", "type": "bytes32" } ], "name": "UUPSUnsupportedProxiableUUID", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "approved", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ApprovalForAll", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256[]", "name": "b3trToUpgradeToLevel", "type": "uint256[]" } ], "name": "B3TRtoUpgradeToLevelUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "newAddress", "type": "address" }, { "indexed": true, "internalType": "address", "name": "oldAddress", "type": "address" } ], "name": "B3trGovernorAddressUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "string", "name": "newBaseURI", "type": "string" }, { "indexed": true, "internalType": "string", "name": "oldBaseURI", "type": "string" } ], "name": "BaseURIUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "version", "type": "uint64" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "oldLevel", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newLevel", "type": "uint256" } ], "name": "MaxLevelUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "nodeTokenId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "NodeAttached", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "nodeTokenId", "type": "uint256" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "NodeDetached", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bool", "name": "isPaused", "type": "bool" } ], "name": "PublicMintingPaused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Selected", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" } ], "name": "Upgraded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "oldLevel", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newLevel", "type": "uint256" } ], "name": "Upgraded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "newAddress", "type": "address" }, { "indexed": true, "internalType": "address", "name": "oldAddress", "type": "address" } ], "name": "XAllocationsGovernorAddressUpdated", "type": "event" }, { "inputs": [], "name": "CONTRACTS_ADDRESS_MANAGER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_LEVEL", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MINTER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "NODES_MANAGER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PAUSER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UPGRADER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UPGRADE_INTERFACE_VERSION", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeTokenId", "type": "uint256" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "attachNode", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "b3tr", "outputs": [ { "internalType": "contract IB3TR", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "b3trGovernor", "outputs": [ { "internalType": "contract IB3TRGovernor", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeTokenId", "type": "uint256" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "detachNode", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "freeMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getB3TRdonated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getB3TRtoUpgrade", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "level", "type": "uint256" } ], "name": "getB3TRtoUpgradeToLevel", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeId", "type": "uint256" } ], "name": "getIdAttachedToNode", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "uint256", "name": "nodeTokenId", "type": "uint256" } ], "name": "getLevelAfterAttachingNode", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getLevelAfterDetachingNode", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getNodeIdAttached", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeId", "type": "uint256" } ], "name": "getNodeLevelOf", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "nodeLevel", "type": "uint8" } ], "name": "getNodeToFreeLevel", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "getSelectedTokenId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "getSelectedTokenInfoByOwner", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "string", "name": "tokenURI", "type": "string" }, { "internalType": "uint256", "name": "tokenLevel", "type": "uint256" }, { "internalType": "uint256", "name": "b3trToUpgrade", "type": "uint256" } ], "internalType": "struct GalaxyMemberV2.TokenInfo", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getTokenInfoByTokenId", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "string", "name": "tokenURI", "type": "string" }, { "internalType": "uint256", "name": "tokenLevel", "type": "uint256" }, { "internalType": "uint256", "name": "b3trToUpgrade", "type": "uint256" } ], "internalType": "struct GalaxyMemberV2.TokenInfo", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "page", "type": "uint256" }, { "internalType": "uint256", "name": "size", "type": "uint256" } ], "name": "getTokensInfoByOwner", "outputs": [ { "components": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "string", "name": "tokenURI", "type": "string" }, { "internalType": "uint256", "name": "tokenLevel", "type": "uint256" }, { "internalType": "uint256", "name": "b3trToUpgrade", "type": "uint256" } ], "internalType": "struct GalaxyMemberV2.TokenInfo[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "address", "name": "admin", "type": "address" }, { "internalType": "address", "name": "upgrader", "type": "address" }, { "internalType": "address", "name": "pauser", "type": "address" }, { "internalType": "address", "name": "minter", "type": "address" }, { "internalType": "address", "name": "contractsAddressManager", "type": "address" }, { "internalType": "uint256", "name": "maxLevel", "type": "uint256" }, { "internalType": "string", "name": "baseTokenURI", "type": "string" }, { "internalType": "uint256[]", "name": "b3trToUpgradeToLevel", "type": "uint256[]" }, { "internalType": "address", "name": "b3tr", "type": "address" }, { "internalType": "address", "name": "treasury", "type": "address" } ], "internalType": "struct GalaxyMemberV2.InitializationData", "name": "data", "type": "tuple" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_vechainNodes", "type": "address" }, { "internalType": "address", "name": "_nodesMangaement", "type": "address" }, { "internalType": "address", "name": "_nodesAdmin", "type": "address" }, { "internalType": "uint256[]", "name": "_nodeFreeLevels", "type": "uint256[]" } ], "name": "initializeV2", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "levelOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "participatedInGovernance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "proxiableUUID", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "callerConfirmation", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenID", "type": "uint256" } ], "name": "select", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256[]", "name": "b3trToUpgradeToLevel", "type": "uint256[]" } ], "name": "setB3TRtoUpgradeToLevel", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_b3trGovernor", "type": "address" } ], "name": "setB3trGovernorAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "baseTokenURI", "type": "string" } ], "name": "setBaseURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "isPaused", "type": "bool" } ], "name": "setIsPublicMintingPaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "level", "type": "uint256" } ], "name": "setMaxLevel", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "nodeLevel", "type": "uint8" }, { "internalType": "uint256", "name": "level", "type": "uint256" } ], "name": "setNodeToFreeUpgradeLevel", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_vechainNodes", "type": "address" } ], "name": "setVechainNodes", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_xAllocationsGovernor", "type": "address" } ], "name": "setXAllocationsGovernorAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "tokenByIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "tokenOfOwnerByIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "transferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "treasury", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "upgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "xAllocationsGovernor", "outputs": [ { "internalType": "contract IXAllocationVotingGovernor", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x60a0604052306080523480156200001557600080fd5b506200002062000026565b620000da565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000775760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d75780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6080516157b862000104600039600081816136be015281816136e7015261382f01526157b86000f3fe60806040526004361061031f5760003560e01c80621db0dd1461032457806301ffc9a71461034657806306fdde031461037b578063081812fc1461039d578063095ea7b3146103ca57806318160ddd146103ea57806323b872dd1461040d578063248a9ca31461042d5780632b42df381461044d5780632f2ff15d1461046d5780632f745c591461048d578063344f1ba5146104ad57806336568abe146104cd5780633af03ea8146104ed5780633d6dbee81461050d5780633f4ba83a1461052f5780633ff453af1461054457806342842e0e1461057657806342966c681461059657806345977d03146105b65780634a6565e1146105d65780634f1ef286146105f65780634f6ccce71461060957806351c438d11461062957806352d1902d1461064957806354fd4d501461065e57806355f804b314610688578063582a486a146106a85780635b5da514146106bd5780635b70ea9f146106dd5780635c975abb146106f25780635ecf68e9146107075780635f4e42ca1461071c5780635ffaa59a1461073c57806361d027b31461075c5780636352211e14610771578063643ce418146107915780636c0360eb146107be5780636d5e3032146107d357806370a08231146107f35780637893d73614610813578063839a19d9146108285780638456cb5914610848578063851f738e1461085d578063865c380b1461088a57806388371110146108aa5780638c5b76fb146108ca57806391d14854146108ea578063952f21331461090a578063958fc97d1461092c57806395d89b411461094c578063a1843bd014610961578063a217fddf14610981578063a22cb46514610996578063a49062d4146109b6578063a51d2e0b146109cb578063ad3cb1cc146109eb578063b1ccbd2c14610a1c578063b88d4fde14610a3c578063c190eb3a14610a5c578063c87b56dd14610a7c578063cc421d0714610a9c578063d206885d14610abc578063d539139314610adc578063d547741f14610afe578063ddd8634d14610b1e578063de4983a214610b3e578063e617e49f14610b5e578063e63ab1e914610b7e578063e985e9c514610ba0578063f72c0d8b14610bc0575b600080fd5b34801561033057600080fd5b5061034461033f366004614855565b610be2565b005b34801561035257600080fd5b50610366610361366004614897565b610d41565b60405190151581526020015b60405180910390f35b34801561038757600080fd5b50610390610d52565b6040516103729190614904565b3480156103a957600080fd5b506103bd6103b8366004614917565b610df3565b6040516103729190614930565b3480156103d657600080fd5b506103446103e5366004614969565b610e08565b3480156103f657600080fd5b506103ff610e17565b604051908152602001610372565b34801561041957600080fd5b50610344610428366004614987565b610e2c565b34801561043957600080fd5b506103ff610448366004614917565b610eb7565b34801561045957600080fd5b506103ff610468366004614917565b610ed7565b34801561047957600080fd5b506103446104883660046149c8565b610ef7565b34801561049957600080fd5b506103ff6104a8366004614969565b610f13565b3480156104b957600080fd5b506103446104c8366004614917565b610f75565b3480156104d957600080fd5b506103446104e83660046149c8565b6110e1565b3480156104f957600080fd5b506103446105083660046149f8565b611119565b34801561051957600080fd5b506103ff60008051602061574383398151915281565b34801561053b57600080fd5b50610344611217565b34801561055057600080fd5b5061056461055f366004614917565b61123a565b60405160ff9091168152602001610372565b34801561058257600080fd5b50610344610591366004614987565b6112cd565b3480156105a257600080fd5b506103446105b1366004614917565b6112e8565b3480156105c257600080fd5b506103446105d1366004614917565b611321565b3480156105e257600080fd5b506103446105f1366004614a15565b611737565b610344610604366004614b15565b611a0f565b34801561061557600080fd5b506103ff610624366004614917565b611a2a565b34801561063557600080fd5b506103ff610644366004614917565b611a8b565b34801561065557600080fd5b506103ff611aa9565b34801561066a57600080fd5b506040805180820190915260018152601960f91b6020820152610390565b34801561069457600080fd5b506103446106a3366004614b64565b611ac6565b3480156106b457600080fd5b506103bd611b63565b3480156106c957600080fd5b506103446106d8366004614ba6565b611b81565b3480156106e957600080fd5b50610344611be9565b3480156106fe57600080fd5b50610366611cd8565b34801561071357600080fd5b506103bd611ced565b34801561072857600080fd5b50610344610737366004614c42565b611d08565b34801561074857600080fd5b506103446107573660046149f8565b612237565b34801561076857600080fd5b506103bd6122ab565b34801561077d57600080fd5b506103bd61078c366004614917565b6122c9565b34801561079d57600080fd5b506107b16107ac366004614917565b6122d4565b6040516103729190614de7565b3480156107ca57600080fd5b50610390612384565b3480156107df57600080fd5b506103ff6107ee366004614917565b612393565b3480156107ff57600080fd5b506103ff61080e3660046149f8565b6123b6565b34801561081f57600080fd5b506103bd61240e565b34801561083457600080fd5b50610344610843366004614917565b61242c565b34801561085457600080fd5b50610344612436565b34801561086957600080fd5b5061087d610878366004614dfa565b612456565b6040516103729190614e2f565b34801561089657600080fd5b506103ff6108a5366004614917565b61263c565b3480156108b657600080fd5b506103446108c5366004614a15565b61265a565b3480156108d657600080fd5b506103666108e53660046149f8565b6128e1565b3480156108f657600080fd5b506103666109053660046149c8565b612ac5565b34801561091657600080fd5b506103ff60008051602061572383398151915281565b34801561093857600080fd5b506103ff610947366004614917565b612afb565b34801561095857600080fd5b50610390612b19565b34801561096d57600080fd5b506103ff61097c366004614a15565b612b36565b34801561098d57600080fd5b506103ff600081565b3480156109a257600080fd5b506103446109b1366004614e91565b612b43565b3480156109c257600080fd5b506103ff612b4e565b3480156109d757600080fd5b506103ff6109e6366004614917565b612b63565b3480156109f757600080fd5b50610390604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610a2857600080fd5b50610344610a37366004614ebf565b612bde565b348015610a4857600080fd5b50610344610a57366004614ef3565b612cce565b348015610a6857600080fd5b50610344610a77366004614f5e565b612ce5565b348015610a8857600080fd5b50610390610a97366004614917565b612fc4565b348015610aa857600080fd5b506103ff610ab7366004614917565b613055565b348015610ac857600080fd5b506103ff610ad73660046149f8565b61306b565b348015610ae857600080fd5b506103ff60008051602061570383398151915281565b348015610b0a57600080fd5b50610344610b193660046149c8565b613098565b348015610b2a57600080fd5b50610344610b393660046149f8565b6130b4565b348015610b4a57600080fd5b506107b1610b593660046149f8565b6131b2565b348015610b6a57600080fd5b506103ff610b79366004614fc6565b6131d0565b348015610b8a57600080fd5b506103ff6000805160206156e383398151915281565b348015610bac57600080fd5b50610366610bbb366004614fe3565b6131f6565b348015610bcc57600080fd5b506103ff60008051602061568383398151915281565b600080516020615743833981519152610bfa81613235565b6001821015610c4e5760405162461bcd60e51b815260206004820152601b60248201527a11d85b185e1e53595b58995c8e881a5b9d985b1a59081b195d995b602a1b60448201526064015b60405180910390fd5b60018360ff161015610ca25760405162461bcd60e51b815260206004820181905260248201527f47616c6178794d656d6265723a20696e76616c6964206e6f6465206c6576656c6044820152606401610c45565b6000610cac61323f565b90508060060154831115610d265760405162461bcd60e51b815260206004820152603b60248201527f47616c6178794d656d6265723a206c6576656c206d757374206265206c65737360448201527a081d1a185b881bdc88195c5d585b081d1bc813505617d311559153602a1b6064820152608401610c45565b60ff9093166000908152600f90930160205250604090912055565b6000610d4c82613263565b92915050565b60606000610d5e613288565b9050806000018054610d6f90615011565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9b90615011565b8015610de85780601f10610dbd57610100808354040283529160200191610de8565b820191906000526020600020905b815481529060010190602001808311610dcb57829003601f168201915b505050505091505090565b6000610dfe826132ac565b50610d4c826132e4565b610e1382823361330d565b5050565b600080610e2261331a565b6002015492915050565b6001600160a01b038216610e56576000604051633250574960e11b8152600401610c459190614930565b6000610e6383833361333e565b9050836001600160a01b0316816001600160a01b031614610eb1576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610c45565b50505050565b600080610ec26134a4565b60009384526020525050604090206001015490565b600080610ee261323f565b60009384526008016020525050604090205490565b610f0082610eb7565b610f0981613235565b610eb183836134c8565b600080610f1e61331a565b9050610f29846123b6565b8310610f4c57838360405163295f44f760e21b8152600401610c4592919061504b565b6001600160a01b0384166000908152602091825260408082208583529092522054905092915050565b6000610f8081613235565b6000610f8a61323f565b905080600601548311610fff5760405162461bcd60e51b8152602060048201526043602482015260008051602061562383398151915260448201527f2067726561746572207468616e207468652063757272656e74206d6178206c656064820152621d995b60ea1b608482015260a401610c45565b60025b8381116110975760008181526008830160205260409020546110855760405162461bcd60e51b8152602060048201526042602482015260008051602061564383398151915260448201527f7573742062652073657420666f7220616c6c206c6576656c7320756e6c6f636b606482015261195960f21b608482015260a401610c45565b8061108f8161507a565b915050611002565b506006810180549084905560408051828152602081018690527f53e438896671f1a18a4e583cceb4f0c901de52ef22ad122ea8c7f1f5b2de7450910160405180910390a150505050565b6001600160a01b038116331461110a5760405163334bd91960e11b815260040160405180910390fd5b6111148282613569565b505050565b60008051602061572383398151915261113181613235565b6001600160a01b0382166111ad5760405162461bcd60e51b815260206004820152603f60248201527f476