[ { "inputs": [ { "internalType": "address", "name": "_erc1155Contract", "type": "address" }, { "internalType": "uint256", "name": "_tokenId", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "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": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Respawn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Transform", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "erc1155Contract", "outputs": [ { "internalType": "contract IERC1155", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "erc1155TokenId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "onERC1155BatchReceived", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "onERC1155Received", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "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": [], "name": "tokenSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040526401dfd32eb86008553480156200001a57600080fd5b5060405162001411380380620014118339810160408190526200003d916200022d565b604051806040016040528060118152602001702737b716a83630bcb0b136329021b7b4b760791b815250604051806040016040528060038152602001624e504360e81b81525081600390816200009491906200030d565b506004620000a382826200030d565b505050620000c0620000ba6200010c60201b60201c565b62000110565b600680546001600160a01b0319166001600160a01b038416179055600781905560085462000104903090620000fe90670de0b6b3a7640000620003ef565b62000162565b505062000425565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001bd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001d191906200040f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b600080604083850312156200024157600080fd5b82516001600160a01b03811681146200025957600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029457607f821691505b602082108103620002b557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022857600081815260208120601f850160051c81016020861015620002e45750805b601f850160051c820191505b818110156200030557828155600101620002f0565b505050505050565b81516001600160401b0381111562000329576200032962000269565b62000341816200033a84546200027f565b84620002bb565b602080601f831160018114620003795760008415620003605750858301515b600019600386901b1c1916600185901b17855562000305565b600085815260208120601f198616915b82811015620003aa5788860151825594840194600190910190840162000389565b5085821015620003c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620004095762000409620003d9565b92915050565b80820180821115620004095762000409620003d9565b610fdc80620004356000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637a564970116100b8578063a9059cbb1161007c578063a9059cbb1461028d578063bc197c81146102a0578063bd8933ba146102d8578063dd62ed3e146102eb578063f23a6e61146102fe578063f2fde38b1461031d57600080fd5b80637a564970146102235780637e6a000a1461024e5780638da5cb5b1461026157806395d89b4114610272578063a457c2d71461027a57600080fd5b8063313ce5671161010a578063313ce567146101bc57806339509351146101cb578063637a6687146101de57806370a08231146101e7578063715018a6146102105780637824407f1461021a57600080fd5b806301ffc9a71461014757806306fdde031461016f578063095ea7b31461018457806318160ddd1461019757806323b872dd146101a9575b600080fd5b61015a610155366004610b46565b610330565b60405190151581526020015b60405180910390f35b610177610367565b6040516101669190610b77565b61015a610192366004610be1565b6103f9565b6002545b604051908152602001610166565b61015a6101b7366004610c0b565b610411565b60405160128152602001610166565b61015a6101d9366004610be1565b610435565b61019b60075481565b61019b6101f5366004610c47565b6001600160a01b031660009081526020819052604090205490565b610218610457565b005b61019b60085481565b600654610236906001600160a01b031681565b6040516001600160a01b039091168152602001610166565b61021861025c366004610c62565b61046b565b6005546001600160a01b0316610236565b61017761054b565b61015a610288366004610be1565b61055a565b61015a61029b366004610be1565b6105d5565b6102bf6102ae366004610db2565b63bc197c8160e01b95945050505050565b6040516001600160e01b03199091168152602001610166565b6102186102e6366004610c62565b6105e3565b61019b6102f9366004610e5c565b6106b7565b6102bf61030c366004610e8f565b63f23a6e6160e01b95945050505050565b61021861032b366004610c47565b6106e2565b60006001600160e01b03198216630271189760e51b148061036157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461037690610ef4565b80601f01602080910402602001604051908101604052809291908181526020018280546103a290610ef4565b80156103ef5780601f106103c4576101008083540402835291602001916103ef565b820191906000526020600020905b8154815290600101906020018083116103d257829003601f168201915b5050505050905090565b600033610407818585610758565b5060019392505050565b60003361041f85828561087c565b61042a8585856108f6565b506001949350505050565b60003361040781858561044883836106b7565b6104529190610f44565b610758565b61045f610a9a565b6104696000610af4565b565b60018110156104c15760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203100000060448201526064015b60405180910390fd5b600654600754604051637921219560e11b81526001600160a01b039092169163f242432a916104f891339130918790600401610f57565b600060405180830381600087803b15801561051257600080fd5b505af1158015610526573d6000803e3d6000fd5b50505050610548303383670de0b6b3a76400006105439190610f8f565b6108f6565b50565b60606004805461037690610ef4565b6000338161056882866106b7565b9050838110156105c85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104b8565b61042a8286868403610758565b6000336104078185856108f6565b60018110156106345760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203100000060448201526064016104b8565b61064b333061054384670de0b6b3a7640000610f8f565b600654600754604051637921219560e11b81526001600160a01b039092169163f242432a9161068291309133918790600401610f57565b600060405180830381600087803b15801561069c57600080fd5b505af11580156106b0573d6000803e3d6000fd5b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106ea610a9a565b6001600160a01b03811661074f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b8565b61054881610af4565b6001600160a01b0383166107ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b8565b6001600160a01b03821661081b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061088884846106b7565b905060001981146108f057818110156108e35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104b8565b6108f08484848403610758565b50505050565b6001600160a01b03831661095a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b8565b6001600160a01b0382166109bc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b8565b6001600160a01b03831660009081526020819052604090205481811015610a345760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104b8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108f0565b6005546001600160a01b031633146104695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b8565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215610b5857600080fd5b81356001600160e01b031981168114610b7057600080fd5b9392505050565b600060208083528351808285015260005b81811015610ba457858101830151858201604001528201610b88565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bdc57600080fd5b919050565b60008060408385031215610bf457600080fd5b610bfd83610bc5565b946020939093013593505050565b600080600060608486031215610c2057600080fd5b610c2984610bc5565b9250610c3760208501610bc5565b9150604084013590509250925092565b600060208284031215610c5957600080fd5b610b7082610bc5565b600060208284031215610c7457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610cba57610cba610c7b565b604052919050565b600082601f830112610cd357600080fd5b8135602067ffffffffffffffff821115610cef57610cef610c7b565b8160051b610cfe828201610c91565b9283528481018201928281019087851115610d1857600080fd5b83870192505b84831015610d3757823582529183019190830190610d1e565b979650505050505050565b600082601f830112610d5357600080fd5b813567ffffffffffffffff811115610d6d57610d6d610c7b565b610d80601f8201601f1916602001610c91565b818152846020838601011115610d9557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215610dca57600080fd5b610dd386610bc5565b9450610de160208701610bc5565b9350604086013567ffffffffffffffff80821115610dfe57600080fd5b610e0a89838a01610cc2565b94506060880135915080821115610e2057600080fd5b610e2c89838a01610cc2565b93506080880135915080821115610e4257600080fd5b50610e4f88828901610d42565b9150509295509295909350565b60008060408385031215610e6f57600080fd5b610e7883610bc5565b9150610e8660208401610bc5565b90509250929050565b600080600080600060a08688031215610ea757600080fd5b610eb086610bc5565b9450610ebe60208701610bc5565b93506040860135925060608601359150608086013567ffffffffffffffff811115610ee857600080fd5b610e4f88828901610d42565b600181811c90821680610f0857607f821691505b602082108103610f2857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561036157610361610f2e565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b808202811582820484141761036157610361610f2e56fea26469706673582212206ed75449b1c4689fb654c849323a3f0c74a97844b6021a9d8db56479ae2b4e6164736f6c6343000811003300000000000000000000000031b73666ca5874950e94babc0c5f93419facc82b0000000000000000000000000000000000000000000000000000000000000001