[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "string", "name": "uri_", "type": "string" }, { "internalType": "contract IStake", "name": "_stakeContract", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "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": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "indexed": false, "internalType": "uint256[]", "name": "values", "type": "uint256[]" } ], "name": "TransferBatch", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "TransferSingle", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "value", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "URI", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "accounts", "type": "address[]" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" } ], "name": "balanceOfBatch", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "who", "type": "address" } ], "name": "getVaults", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "grandmasterKeysMinted", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "name": "isApprovedForAll", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "masterKeysMinted", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mintGrandmasterKey", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "mintMasterKey", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256[]", "name": "ids", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "safeBatchTransferFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "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": [], "name": "stakeContract", "outputs": [ { "internalType": "contract IStake", "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": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "tokenURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalGrandMasterMinted", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalMasterMinted", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "uri", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b5060405162001f5338038062001f53833981016040819052620000349162000209565b81620000408162000097565b50835162000056906003906020870190620000b0565b5082516200006c906004906020860190620000b0565b50600580546001600160a01b0319166001600160a01b0392909216919091179055506200030a915050565b8051620000ac906002906020840190620000b0565b5050565b828054620000be90620002b7565b90600052602060002090601f016020900481019282620000e257600085556200012d565b82601f10620000fd57805160ff19168380011785556200012d565b828001600101855582156200012d579182015b828111156200012d57825182559160200191906001019062000110565b506200013b9291506200013f565b5090565b5b808211156200013b576000815560010162000140565b600082601f83011262000167578081fd5b81516001600160401b0380821115620001845762000184620002f4565b604051601f8301601f19908116603f01168101908282118183101715620001af57620001af620002f4565b81604052838152602092508683858801011115620001cb578485fd5b8491505b83821015620001ee5785820183015181830184015290820190620001cf565b83821115620001ff57848385830101525b9695505050505050565b600080600080608085870312156200021f578384fd5b84516001600160401b038082111562000236578586fd5b620002448883890162000156565b955060208701519150808211156200025a578485fd5b620002688883890162000156565b945060408701519150808211156200027e578384fd5b506200028d8782880162000156565b606087015190935090506001600160a01b0381168114620002ac578182fd5b939692955090935050565b600281046001821680620002cc57607f821691505b60208210811415620002ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611c39806200031a6000396000f3fe608060405234801561001057600080fd5b506004361061010a5760003560e01c80635ed7207c116100a2578063c87b56dd11610071578063c87b56dd14610158578063c903eacc1461022d578063e985e9c51461024d578063f242432a14610289578063fe7c9c921461029c5761010a565b80635ed7207c14610200578063919f71f71461020857806394953bb914610211578063a22cb4651461021a5761010a565b80632eb2c2d6116100de5780632eb2c2d6146101a357806346654b48146101b85780634e1273f4146101c0578063584707a6146101e05761010a565b8062fdd58e1461010f57806301ffc9a7146101355780630e89341c146101585780631a18622714610178575b600080fd5b61012261011d3660046115e6565b6102af565b6040519081526020015b60405180910390f35b6101486101433660046116d8565b610346565b604051901515815260200161012c565b61016b610166366004611710565b61039a565b60405161012c91906118c8565b60055461018b906001600160a01b031681565b6040516001600160a01b03909116815260200161012c565b6101b66101b13660046114a3565b6103d5565b005b6101b661047e565b6101d36101ce36600461160f565b6105e4565b60405161012c9190611887565b6101226101ee366004611450565b60096020526000908152604090205481565b6101b6610746565b61012260075481565b61012260065481565b6101b66102283660046115ac565b6108bf565b61012261023b366004611450565b60086020526000908152604090205481565b61014861025b366004611471565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6101b6610297366004611549565b6108d5565b6101226102aa366004611450565b61096e565b60006001600160a01b0383166103205760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061037757506001600160e01b031982166303a24d0760e21b145b8061039257506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606103a5826109ec565b6103ae83610a80565b6040516020016103bf9291906117a6565b6040516020818303038152906040529050919050565b6103dd610ba3565b6001600160a01b0316856001600160a01b0316148061040357506104038561025b610ba3565b61046a5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610317565b6104778585858585610ba8565b5050505050565b336000908152600960205260409020546001116104dd5760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206d696e742031206772616e646d6173746572206b6579736044820152606401610317565b600554604051636167253960e01b81523360048201526001600160a01b039091169063616725399060240160206040518083038186803b15801561052057600080fd5b505afa158015610534573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105589190611728565b6064146105905760405162461bcd60e51b81526004016103179060208082526004908201526318d85b9d60e21b604082015260600190565b3360009081526009602052604081208054916105ab83611ad0565b91905055506105cd336002600160405180602001604052806000815250610dac565b600780549060006105dd83611ad0565b9190505550565b606081518351146106495760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610317565b6000835167ffffffffffffffff81111561067357634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561069c578160200160208202803683370190505b50905060005b845181101561073e576107038582815181106106ce57634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106106f657634e487b7160e01b600052603260045260246000fd5b60200260200101516102af565b82828151811061072357634e487b7160e01b600052603260045260246000fd5b602090810291909101015261073781611ad0565b90506106a2565b509392505050565b33600090815260086020526040812080549161076183611ad0565b909155505033600090815260086020526040902054600a10156107c65760405162461bcd60e51b815260206004820152601d60248201527f43616e206d696e7420757020746f203130206d6173746572206b6579730000006044820152606401610317565b336000908152600860205260409020546107e190600a611a02565b600554604051636167253960e01b81523360048201526001600160a01b039091169063616725399060240160206040518083038186803b15801561082457600080fd5b505afa158015610838573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190611728565b10156108935760405162461bcd60e51b81526004016103179060208082526004908201526318d85b9d60e21b604082015260600190565b6108af3360018060405180602001604052806000815250610dac565b600680549060006105dd83611ad0565b6108d16108ca610ba3565b8383610ec1565b5050565b6108dd610ba3565b6001600160a01b0316856001600160a01b0316148061090357506109038561025b610ba3565b6109615760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610317565b6104778585858585610fa2565b600554604051636167253960e01b81526001600160a01b038381166004830152600092169063616725399060240160206040518083038186803b1580156109b457600080fd5b505afa1580156109c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103929190611728565b6060600280546109fb90611a68565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2790611a68565b8015610a745780601f10610a4957610100808354040283529160200191610a74565b820191906000526020600020905b815481529060010190602001808311610a5757829003601f168201915b50505050509050919050565b606081610aa557506040805180820190915260018152600360fc1b6020820152610395565b8160005b8115610acf5780610ab981611ad0565b9150610ac89050600a836119ee565b9150610aa9565b60008167ffffffffffffffff811115610af857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610b22576020820181803683370190505b5090505b8415610b9b57610b37600183611a21565b9150610b44600a86611aeb565b610b4f9060306119d6565b60f81b818381518110610b7257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350610b94600a866119ee565b9450610b26565b949350505050565b335b90565b8151835114610c0a5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610317565b6001600160a01b038416610c305760405162461bcd60e51b815260040161031790611923565b6000610c3a610ba3565b905060005b8451811015610d3e576000858281518110610c6a57634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110610c9657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610ce65760405162461bcd60e51b815260040161031790611968565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610d239084906119d6565b9250508190555050505080610d3790611ad0565b9050610c3f565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610d8e92919061189a565b60405180910390a4610da48187878787876110ca565b505050505050565b6001600160a01b038416610e0c5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610317565b6000610e16610ba3565b9050610e3181600087610e2888611235565b61047788611235565b6000848152602081815260408083206001600160a01b038916845290915281208054859290610e619084906119d6565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46104778160008787878761128e565b816001600160a01b0316836001600160a01b03161415610f355760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610317565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416610fc85760405162461bcd60e51b815260040161031790611923565b6000610fd2610ba3565b9050610fe3818787610e2888611235565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156110245760405162461bcd60e51b815260040161031790611968565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906110619084906119d6565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46110c182888888888861128e565b50505050505050565b6001600160a01b0384163b15610da45760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061110e90899089908890889088906004016117e4565b602060405180830381600087803b15801561112857600080fd5b505af1925050508015611158575060408051601f3d908101601f19168201909252611155918101906116f4565b60015b61120557611164611b41565b806308c379a0141561119e5750611179611b58565b8061118457506111a0565b8060405162461bcd60e51b815260040161031791906118c8565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610317565b6001600160e01b0319811663bc197c8160e01b146110c15760405162461bcd60e51b8152600401610317906118db565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061127d57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b15610da45760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906112d29089908990889088908890600401611842565b602060405180830381600087803b1580156112ec57600080fd5b505af192505050801561131c575060408051601f3d908101601f19168201909252611319918101906116f4565b60015b61132857611164611b41565b6001600160e01b0319811663f23a6e6160e01b146110c15760405162461bcd60e51b8152600401610317906118db565b80356001600160a01b038116811461039557600080fd5b600082601f83011261137f578081fd5b8135602061138c826119b2565b6040516113998282611aa3565b8381528281019150858301838502870184018810156113b6578586fd5b855b858110156113d4578135845292840192908401906001016113b8565b5090979650505050505050565b600082601f8301126113f1578081fd5b813567ffffffffffffffff81111561140b5761140b611b2b565b604051611422601f8301601f191660200182611aa3565b818152846020838601011115611436578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215611461578081fd5b61146a82611358565b9392505050565b60008060408385031215611483578081fd5b61148c83611358565b915061149a60208401611358565b90509250929050565b600080600080600060a086880312156114ba578081fd5b6114c386611358565b94506114d160208701611358565b9350604086013567ffffffffffffffff808211156114ed578283fd5b6114f989838a0161136f565b9450606088013591508082111561150e578283fd5b61151a89838a0161136f565b9350608088013591508082111561152f578283fd5b5061153c888289016113e1565b9150509295509295909350565b600080600080600060a08688031215611560578081fd5b61156986611358565b945061157760208701611358565b93506040860135925060608601359150608086013567ffffffffffffffff8111156115a0578182fd5b61153c888289016113e1565b600080604083850312156115be578182fd5b6115c783611358565b9150602083013580151581146115db578182fd5b809150509250929050565b600080604083850312156115f8578182fd5b61160183611358565b946020939093013593505050565b60008060408385031215611621578182fd5b823567ffffffffffffffff80821115611638578384fd5b818501915085601f83011261164b578384fd5b81356020611658826119b2565b6040516116658282611aa3565b8381528281019150858301838502870184018b1015611682578889fd5b8896505b848710156116ab5761169781611358565b835260019690960195918301918301611686565b50965050860135925050808211156116c1578283fd5b506116ce8582860161136f565b9150509250929050565b6000602082840312156116e9578081fd5b813561146a81611bea565b600060208284031215611705578081fd5b815161146a81611bea565b600060208284031215611721578081fd5b5035919050565b600060208284031215611739578081fd5b5051919050565b6000815180845260208085019450808401835b8381101561176f57815187529582019590820190600101611753565b509495945050505050565b60008151808452611792816020860160208601611a38565b601f01601f19169290920160200192915050565b600083516117b8818460208801611a38565b8351908301906117cc818360208801611a38565b632e6a706760e01b9101908152600401949350505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061181090830186611740565b82810360608401526118228186611740565b90508281036080840152611836818561177a565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061187c9083018461177a565b979650505050505050565b60006020825261146a6020830184611740565b6000604082526118ad6040830185611740565b82810360208401526118bf8185611740565b95945050505050565b60006020825261146a602083018461177a565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b600067ffffffffffffffff8211156119cc576119cc611b2b565b5060209081020190565b600082198211156119e9576119e9611aff565b500190565b6000826119fd576119fd611b15565b500490565b6000816000190483118215151615611a1c57611a1c611aff565b500290565b600082821015611a3357611a33611aff565b500390565b60005b83811015611a53578181015183820152602001611a3b565b83811115611a62576000848401525b50505050565b600281046001821680611a7c57607f821691505b60208210811415611a9d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff81118282101715611ac957611ac9611b2b565b6040525050565b6000600019821415611ae457611ae4611aff565b5060010190565b600082611afa57611afa611b15565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115610ba557600481823e5160e01c90565b600060443d1015611b6857610ba5565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611b9a575050505050610ba5565b8285019150815181811115611bb457505050505050610ba5565b843d8701016020828501011115611bd057505050505050610ba5565b611bdf60208286010187611aa3565b509094505050505090565b6001600160e01b031981168114611c0057600080fd5b5056fea26469706673582212203f4c88525a9ec62d160d242db72e1e47f8dfb4dd0b8e7a0a7f191d8331a66d8b64736f6c63430008020033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000049255cb865cba3bef037c62f89744c258c8cc52f000000000000000000000000000000000000000000000000000000000000000941564158204e6f646500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005414e4f44450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d62797364765a78664e6d6b32797350373545663346347873344547314b6a587655793576597157434544616b2f00000000000000000000
Loading