[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "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": [ { "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": "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": [], "name": "myChance", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "myChanceMigrated", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "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": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "safeBurn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "safeMint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "_myChance", "type": "address" }, { "internalType": "address", "name": "_myChanceMigration", "type": "address" } ], "name": "setMyChance", "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": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60e0604052602460808181529062001d7760a039600e90620000229082620001b1565b503480156200003057600080fd5b506040518060400160405280600d81526020016c0a0e4d2f4ca84dedcc882ecc2f609b1b8152506040518060400160405280600381526020016250424160e81b8152508160009081620000849190620001b1565b506001620000938282620001b1565b505050620000b0620000aa620000b660201b60201c565b620000ba565b6200027d565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013757607f821691505b6020821081036200015857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ac57600081815260208120601f850160051c81016020861015620001875750805b601f850160051c820191505b81811015620001a85782815560010162000193565b5050505b505050565b81516001600160401b03811115620001cd57620001cd6200010c565b620001e581620001de845462000122565b846200015e565b602080601f8311600181146200021d5760008415620002045750858301515b600019600386901b1c1916600185901b178555620001a8565b600085815260208120601f198616915b828110156200024e578886015182559484019460019091019084016200022d565b50858210156200026d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611aea806200028d6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146102cb578063c87b56dd146102de578063da4c7a8a146102f1578063dbf5132514610304578063e985e9c514610317578063f2fde38b1461035357600080fd5b806370a0823114610271578063715018a614610284578063851464d91461028c5780638da5cb5b1461029f57806395d89b41146102b0578063a22cb465146102b857600080fd5b80632f745c59116101155780632f745c59146101ff578063404c74071461021257806340d097c31461022557806342842e0e146102385780634f6ccce71461024b5780636352211e1461025e57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c557806318160ddd146101da57806323b872dd146101ec575b600080fd5b61017061016b3660046115ef565b610366565b60405190151581526020015b60405180910390f35b61018d610377565b60405161017c9190611664565b6101ad6101a8366004611677565b610409565b6040516001600160a01b03909116815260200161017c565b6101d86101d33660046116a7565b610430565b005b6008545b60405190815260200161017c565b6101d86101fa3660046116d1565b61054a565b6101de61020d3660046116a7565b61057b565b600c546101ad906001600160a01b031681565b6101de61023336600461170d565b610611565b6101d86102463660046116d1565b6106a1565b6101de610259366004611677565b6106bc565b6101ad61026c366004611677565b61074f565b6101de61027f36600461170d565b6107af565b6101d8610835565b600b546101ad906001600160a01b031681565b600a546001600160a01b03166101ad565b61018d610849565b6101d86102c6366004611728565b610858565b6101d86102d936600461177a565b610867565b61018d6102ec366004611677565b61089f565b6101d86102ff366004611856565b610906565b6101d8610312366004611677565b61093c565b610170610325366004611856565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101d861036136600461170d565b6109a8565b600061037182610a1e565b92915050565b60606000805461038690611889565b80601f01602080910402602001604051908101604052809291908181526020018280546103b290611889565b80156103ff5780601f106103d4576101008083540402835291602001916103ff565b820191906000526020600020905b8154815290600101906020018083116103e257829003601f168201915b5050505050905090565b600061041482610a43565b506000908152600460205260409020546001600160a01b031690565b600061043b8261074f565b9050806001600160a01b0316836001600160a01b0316036104ad5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104c957506104c98133610325565b61053b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104a4565b6105458383610aa2565b505050565b6105543382610b10565b6105705760405162461bcd60e51b81526004016104a4906118c3565b610545838383610b8f565b6000610586836107af565b82106105e85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104a4565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546000906001600160a01b03163314806106375750600c546001600160a01b031633145b6106745760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b0b63632b960911b60448201526064016104a4565b600061067f600d5490565b905061068f600d80546001019055565b6106998382610d36565b90505b919050565b61054583838360405180602001604052806000815250610867565b60006106c760085490565b821061072a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104a4565b6008828154811061073d5761073d611911565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806106995760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104a4565b60006001600160a01b0382166108195760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104a4565b506001600160a01b031660009081526003602052604090205490565b61083d610d50565b6108476000610daa565b565b60606001805461038690611889565b610863338383610dfc565b5050565b6108713383610b10565b61088d5760405162461bcd60e51b81526004016104a4906118c3565b61089984848484610eca565b50505050565b60606108aa82610a43565b60006108b4610efd565b905060008151116108d457604051806020016040528060008152506108ff565b806108de84610f0c565b6040516020016108ef929190611927565b6040516020818303038152906040525b9392505050565b61090e610d50565b600b80546001600160a01b039384166001600160a01b031991821617909155600c8054929093169116179055565b600b546001600160a01b031633148061095f5750600c546001600160a01b031633145b61099c5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b0b63632b960911b60448201526064016104a4565b6109a58161100d565b50565b6109b0610d50565b6001600160a01b038116610a155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104a4565b6109a581610daa565b60006001600160e01b0319821663780e9d6360e01b14806103715750610371826110b4565b6000818152600260205260409020546001600160a01b03166109a55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104a4565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ad78261074f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b1c8361074f565b9050806001600160a01b0316846001600160a01b03161480610b6357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b875750836001600160a01b0316610b7c84610409565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ba28261074f565b6001600160a01b031614610c065760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104a4565b6001600160a01b038216610c685760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104a4565b610c73838383611104565b610c7e600082610aa2565b6001600160a01b0383166000908152600360205260408120805460019290610ca790849061196c565b90915550506001600160a01b0382166000908152600360205260408120805460019290610cd5908490611983565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61086382826040518060200160405280600081525061110f565b600a546001600160a01b031633146108475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a4565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603610e5d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104a4565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ed5848484610b8f565b610ee184848484611142565b6108995760405162461bcd60e51b81526004016104a49061199b565b6060600e805461038690611889565b606081600003610f335750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610f5d5780610f47816119ed565b9150610f569050600a83611a1c565b9150610f37565b60008167ffffffffffffffff811115610f7857610f78611764565b6040519080825280601f01601f191660200182016040528015610fa2576020820181803683370190505b5090505b8415610b8757610fb760018361196c565b9150610fc4600a86611a30565b610fcf906030611983565b60f81b818381518110610fe457610fe4611911565b60200101906001600160f81b031916908160001a905350611006600a86611a1c565b9450610fa6565b60006110188261074f565b905061102681600084611104565b611031600083610aa2565b6001600160a01b038116600090815260036020526040812080546001929061105a90849061196c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b14806110e557506001600160e01b03198216635b5e139f60e01b145b8061037157506301ffc9a760e01b6001600160e01b0319831614610371565b610545838383611243565b61111983836112fb565b6111266000848484611142565b6105455760405162461bcd60e51b81526004016104a49061199b565b60006001600160a01b0384163b1561123857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611186903390899088908890600401611a44565b6020604051808303816000875af19250505080156111c1575060408051601f3d908101601f191682019092526111be91810190611a81565b60015b61121e573d8080156111ef576040519150601f19603f3d011682016040523d82523d6000602084013e6111f4565b606091505b5080516000036112165760405162461bcd60e51b81526004016104a49061199b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b87565b506001949350505050565b6001600160a01b03831661129e5761129981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6112c1565b816001600160a01b0316836001600160a01b0316146112c1576112c18382611449565b6001600160a01b0382166112d857610545816114e6565b826001600160a01b0316826001600160a01b031614610545576105458282611595565b6001600160a01b0382166113515760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104a4565b6000818152600260205260409020546001600160a01b0316156113b65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104a4565b6113c260008383611104565b6001600160a01b03821660009081526003602052604081208054600192906113eb908490611983565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611456846107af565b611460919061196c565b6000838152600760205260409020549091508082146114b3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906114f89060019061196c565b6000838152600960205260408120546008805493945090928490811061152057611520611911565b90600052602060002001549050806008838154811061154157611541611911565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061157957611579611a9e565b6001900381819060005260206000200160009055905550505050565b60006115a0836107af565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b0319811681146109a557600080fd5b60006020828403121561160157600080fd5b81356108ff816115d9565b60005b8381101561162757818101518382015260200161160f565b838111156108995750506000910152565b6000815180845261165081602086016020860161160c565b601f01601f19169290920160200192915050565b6020815260006108ff6020830184611638565b60006020828403121561168957600080fd5b5035919050565b80356001600160a01b038116811461069c57600080fd5b600080604083850312156116ba57600080fd5b6116c383611690565b946020939093013593505050565b6000806000606084860312156116e657600080fd5b6116ef84611690565b92506116fd60208501611690565b9150604084013590509250925092565b60006020828403121561171f57600080fd5b6108ff82611690565b6000806040838503121561173b57600080fd5b61174483611690565b91506020830135801515811461175957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561179057600080fd5b61179985611690565b93506117a760208601611690565b925060408501359150606085013567ffffffffffffffff808211156117cb57600080fd5b818701915087601f8301126117df57600080fd5b8135818111156117f1576117f1611764565b604051601f8201601f19908116603f0116810190838211818310171561181957611819611764565b816040528281528a602084870101111561183257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561186957600080fd5b61187283611690565b915061188060208401611690565b90509250929050565b600181811c9082168061189d57607f821691505b6020821081036118bd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000835161193981846020880161160c565b83519083019061194d81836020880161160c565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561197e5761197e611956565b500390565b6000821982111561199657611996611956565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600182016119ff576119ff611956565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611a2b57611a2b611a06565b500490565b600082611a3f57611a3f611a06565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a7790830184611638565b9695505050505050565b600060208284031215611a9357600080fd5b81516108ff816115d9565b634e487b7160e01b600052603160045260246000fdfea26469706673582212203d9a803d6f6b6ed995d967e2d38d275e81f8a63a4fbc01fbf54cbf4262713cbe64736f6c634300080f003368747470733a2f2f6d792d6368616e63652e696f2f6170692f415641582f746f6b656e2f