[ { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_epochClock", "type": "address" }, { "internalType": "address", "name": "_supplyManager", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "CallerNotSupplyManager", "type": "error" }, { "inputs": [], "name": "TransfersAlreadyEnabled", "type": "error" }, { "inputs": [], "name": "TransfersDisabled", "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": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "enableTransfers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "epochClock", "outputs": [ { "internalType": "contract PWNEpochClock", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "getApproved", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "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": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "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": "address", "name": "operator", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setApprovalForAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" }, { "internalType": "bool", "name": "isAllowed", "type": "bool" } ], "name": "setTransferAllowlist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "supplyManager", "outputs": [ { "internalType": "contract IStakedPWNSupplyManager", "name": "", "type": "address" } ], "stateMutability": "view", "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": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "transferAllowlist", "outputs": [ { "internalType": "bool", "name": "allowed", "type": "bool" } ], "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": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "transfersEnabled", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ]
60c060405234801561001057600080fd5b50604051611a91380380611a9183398101604081905261002f91610152565b6040518060400160405280600a81526020016929ba30b5b2b210282ba760b11b8152506040518060400160405280600581526020016439ba282ba760d91b8152506100866100816100c660201b60201c565b6100ca565b60026100928382610236565b50600361009f8282610236565b5050506001600160a01b0380831660a05281166080526100be836100ca565b5050506102f5565b3390565b600180546001600160a01b03191690556100e3816100e6565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b038116811461014d57600080fd5b919050565b60008060006060848603121561016757600080fd5b61017084610136565b925061017e60208501610136565b915061018c60408501610136565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806101bf57607f821691505b6020821081036101df57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610231576000816000526020600020601f850160051c8101602086101561020e5750805b601f850160051c820191505b8181101561022d5782815560010161021a565b5050505b505050565b81516001600160401b0381111561024f5761024f610195565b6102638161025d84546101ab565b846101e5565b602080601f83116001811461029857600084156102805750858301515b600019600386901b1c1916600185901b17855561022d565b600085815260208120601f198616915b828110156102c7578886015182559484019460019091019084016102a8565b50858210156102e55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05161176261032f60003960006102be0152600081816103b60152818161064c015281816106be015261095201526117626000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806395d89b41116100de578063bef97c8711610097578063e6ed909011610071578063e6ed909014610352578063e985e9c514610375578063f147389f146103b1578063f2fde38b146103d857600080fd5b8063bef97c8714610321578063c87b56dd1461032e578063e30c39781461034157600080fd5b806395d89b41146102b15780639cf9a327146102b9578063a22cb465146102e0578063af35c6c7146102f3578063b88d4fde146102fb578063bc0da5d91461030e57600080fd5b806342842e0e1161014b57806370a082311161012557806370a082311461026f578063715018a61461029057806379ba5097146102985780638da5cb5b146102a057600080fd5b806342842e0e1461023657806342966c68146102495780636352211e1461025c57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb57806323b872dd1461021057806340c10f1914610223575b600080fd5b6101a66101a1366004611277565b6103eb565b60405190151581526020015b60405180910390f35b6101c361043d565b6040516101b291906112eb565b6101e36101de3660046112fe565b6104cf565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611333565b6104f6565b005b61020e61021e36600461135d565b610610565b61020e610231366004611333565b610641565b61020e61024436600461135d565b610698565b61020e6102573660046112fe565b6106b3565b6101e361026a3660046112fe565b610708565b61028261027d366004611399565b610768565b6040519081526020016101b2565b61020e6107ee565b61020e610802565b6000546001600160a01b03166101e3565b6101c3610879565b6101e37f000000000000000000000000000000000000000000000000000000000000000081565b61020e6102ee3660046113b4565b610888565b61020e610893565b61020e61030936600461145f565b6108ce565b61020e61031c3660046113b4565b610906565b6008546101a69060ff1681565b6101c361033c3660046112fe565b610939565b6001546001600160a01b03166101e3565b6101a6610360366004611399565b60096020526000908152604090205460ff1681565b6101a661038336600461150a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101e37f000000000000000000000000000000000000000000000000000000000000000081565b61020e6103e6366004611399565b6109c9565b60006001600160e01b031982166380ac58cd60e01b148061041c57506001600160e01b03198216635b5e139f60e01b145b8061043757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461044c9061153d565b80601f01602080910402602001604051908101604052809291908181526020018280546104789061153d565b80156104c55780601f1061049a576101008083540402835291602001916104c5565b820191906000526020600020905b8154815290600101906020018083116104a857829003601f168201915b5050505050905090565b60006104da82610a3a565b506000908152600660205260409020546001600160a01b031690565b600061050182610708565b9050806001600160a01b0316836001600160a01b0316036105735760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061058f575061058f8133610383565b6106015760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161056a565b61060b8383610a99565b505050565b61061a3382610b07565b6106365760405162461bcd60e51b815260040161056a90611577565b61060b838383610b86565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461068a576040516313c68ddf60e11b815260040160405180910390fd5b6106948282610cf7565b5050565b61060b838383604051806020016040528060008152506108ce565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106fc576040516313c68ddf60e11b815260040160405180910390fd5b61070581610e90565b50565b6000818152600460205260408120546001600160a01b0316806104375760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161056a565b60006001600160a01b0382166107d25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161056a565b506001600160a01b031660009081526005602052604090205490565b6107f6610f33565b6108006000610f8d565b565b60015433906001600160a01b031681146108705760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b606482015260840161056a565b61070581610f8d565b60606003805461044c9061153d565b610694338383610fa6565b61089b610f33565b60085460ff16156108bf576040516385e1a58160e01b815260040160405180910390fd5b6008805460ff19166001179055565b6108d83383610b07565b6108f45760405162461bcd60e51b815260040161056a90611577565b61090084848484611074565b50505050565b61090e610f33565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60405163e959319f60e01b8152600481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e959319f90602401600060405180830381865afa1580156109a1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261043791908101906115c4565b6109d1610f33565b600180546001600160a01b0383166001600160a01b03199091168117909155610a026000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000818152600460205260409020546001600160a01b03166107055760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161056a565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ace82610708565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b1383610708565b9050806001600160a01b0316846001600160a01b03161480610b5a57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80610b7e5750836001600160a01b0316610b73846104cf565b6001600160a01b0316145b949350505050565b826001600160a01b0316610b9982610708565b6001600160a01b031614610bbf5760405162461bcd60e51b815260040161056a9061163b565b6001600160a01b038216610c215760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161056a565b610c2e83838360016110a7565b826001600160a01b0316610c4182610708565b6001600160a01b031614610c675760405162461bcd60e51b815260040161056a9061163b565b600081815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260058552838620805460001901905590871680865283862080546001019055868652600490945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216610d4d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161056a565b6000818152600460205260409020546001600160a01b031615610db25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161056a565b610dc06000838360016110a7565b6000818152600460205260409020546001600160a01b031615610e255760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161056a565b6001600160a01b038216600081815260056020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610e9b82610708565b9050610eab8160008460016110a7565b610eb482610708565b600083815260066020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526005845282852080546000190190558785526004909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000546001600160a01b031633146108005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161056a565b600180546001600160a01b031916905561070581611110565b816001600160a01b0316836001600160a01b0316036110075760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161056a565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61107f848484610b86565b61108b84848484611160565b6109005760405162461bcd60e51b815260040161056a90611680565b60085460ff161580156110ca57503360009081526009602052604090205460ff16155b80156110de57506001600160a01b03841615155b80156110f257506001600160a01b03831615155b1561090057604051638574adcf60e01b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561125657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906111a49033908990889088906004016116d2565b6020604051808303816000875af19250505080156111df575060408051601f3d908101601f191682019092526111dc9181019061170f565b60015b61123c573d80801561120d576040519150601f19603f3d011682016040523d82523d6000602084013e611212565b606091505b5080516000036112345760405162461bcd60e51b815260040161056a90611680565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b7e565b506001949350505050565b6001600160e01b03198116811461070557600080fd5b60006020828403121561128957600080fd5b813561129481611261565b9392505050565b60005b838110156112b657818101518382015260200161129e565b50506000910152565b600081518084526112d781602086016020860161129b565b601f01601f19169290920160200192915050565b60208152600061129460208301846112bf565b60006020828403121561131057600080fd5b5035919050565b80356001600160a01b038116811461132e57600080fd5b919050565b6000806040838503121561134657600080fd5b61134f83611317565b946020939093013593505050565b60008060006060848603121561137257600080fd5b61137b84611317565b925061138960208501611317565b9150604084013590509250925092565b6000602082840312156113ab57600080fd5b61129482611317565b600080604083850312156113c757600080fd5b6113d083611317565b9150602083013580151581146113e557600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561142f5761142f6113f0565b604052919050565b600067ffffffffffffffff821115611451576114516113f0565b50601f01601f191660200190565b6000806000806080858703121561147557600080fd5b61147e85611317565b935061148c60208601611317565b925060408501359150606085013567ffffffffffffffff8111156114af57600080fd5b8501601f810187136114c057600080fd5b80356114d36114ce82611437565b611406565b8181528860208385010111156114e857600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561151d57600080fd5b61152683611317565b915061153460208401611317565b90509250929050565b600181811c9082168061155157607f821691505b60208210810361157157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6000602082840312156115d657600080fd5b815167ffffffffffffffff8111156115ed57600080fd5b8201601f810184136115fe57600080fd5b805161160c6114ce82611437565b81815285602083850101111561162157600080fd5b61163282602083016020860161129b565b95945050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611705908301846112bf565b9695505050505050565b60006020828403121561172157600080fd5b81516112948161126156fea2646970667358221220dad16c4a25c5603edb1117cd22d3f7db2b58d7738d2e6b59519ee7cffc01eccb64736f6c63430008190033000000000000000000000000768a2d62781368ad3475f80d234778adb461ab4700000000000000000000000019e3293196aee99bb3080f28b9d3b4ea7f232b8d000000000000000000000000bf7105c7f1cb7cb556ad2754636f8c8d9707029e
0x000000000000000000000000768a2d62781368ad3475f80d234778adb461ab4700000000000000000000000019e3293196aee99bb3080f28b9d3b4ea7f232b8d000000000000000000000000bf7105c7f1cb7cb556ad2754636f8c8d9707029e
----Decoded View------------Arg [0] : _owner (address): 0x768A2d62781368AD3475F80D234778adb461aB47Arg [1] : _epochClock (address): 0x19e3293196aee99BB3080f28B9D3b4ea7F232b8dArg [2] : _supplyManager (address): 0xBF7105C7f1cB7CB556Ad2754636f8C8D9707029e
----Encoded View------------Arg [0] : 0x000000000000000000000000768a2d62781368ad3475f80d234778adb461ab47Arg [1] : 0x00000000000000000000000019e3293196aee99bb3080f28b9d3b4ea7f232b8dArg [2] : 0x000000000000000000000000bf7105c7f1cb7cb556ad2754636f8c8d9707029e