Loading
[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "type": "error" }, { "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": "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": "value", "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": "account", "type": "address" } ], "name": "isApproved", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "observer", "type": "address" } ], "name": "setObserver", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "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": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "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": "value", "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" } ]
608060405234801562000010575f80fd5b50336040518060400160405280600481526020017f4a524f4e000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4a524f4e0000000000000000000000000000000000000000000000000000000081525081600490816200008f9190620008c6565b508060059081620000a19190620008c6565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000117575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200010e9190620009ed565b60405180910390fd5b62000128816200016f60201b60201c565b5062000169336200013e6200023260201b60201c565b600a6200014c919062000b91565b6305f5e1006200015d919062000be1565b6200023a60201b60201c565b62000d30565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002ad575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002a49190620009ed565b60405180910390fd5b6e1665406e08786e6825f68451d4cbb16108830262e2c981600c0202805f525f60205260405f206e1665406e08786e6825f68451d4cbb181555050620002fb5f8383620002ff60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000353578060035f82825462000346919062000c2b565b9250508190555062000424565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015620003df578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620003d69392919062000c76565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200046d578060035f82825403925050819055506200056b565b610f2060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054620004f8919062000c2b565b106200052157620bd2236109e38262000512919062000be1565b6200051e919062000cde565b90505b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b60e460025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403620005f657610f2060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000655919062000d15565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620006de57607f821691505b602082108103620006f457620006f362000699565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620007587fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200071b565b6200076486836200071b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620007ae620007a8620007a2846200077c565b62000785565b6200077c565b9050919050565b5f819050919050565b620007c9836200078e565b620007e1620007d882620007b5565b84845462000727565b825550505050565b5f90565b620007f7620007e9565b62000804818484620007be565b505050565b5b818110156200082b576200081f5f82620007ed565b6001810190506200080a565b5050565b601f8211156200087a576200084481620006fa565b6200084f846200070c565b810160208510156200085f578190505b620008776200086e856200070c565b83018262000809565b50505b505050565b5f82821c905092915050565b5f6200089c5f19846008026200087f565b1980831691505092915050565b5f620008b683836200088b565b9150826002028217905092915050565b620008d18262000662565b67ffffffffffffffff811115620008ed57620008ec6200066c565b5b620008f98254620006c6565b620009068282856200082f565b5f60209050601f8311600181146200093c575f841562000927578287015190505b620009338582620008a9565b865550620009a2565b601f1984166200094c86620006fa565b5f5b8281101562000975578489015182556001820191506020850194506020810190506200094e565b8683101562000995578489015162000991601f8916826200088b565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620009d582620009aa565b9050919050565b620009e781620009c9565b82525050565b5f60208201905062000a025f830184620009dc565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111562000a925780860481111562000a6a5762000a6962000a08565b5b600185161562000a7a5780820291505b808102905062000a8a8562000a35565b945062000a4a565b94509492505050565b5f8262000aac576001905062000b7e565b8162000abb575f905062000b7e565b816001811462000ad4576002811462000adf5762000b15565b600191505062000b7e565b60ff84111562000af45762000af362000a08565b5b8360020a91508482111562000b0e5762000b0d62000a08565b5b5062000b7e565b5060208310610133831016604e8410600b841016171562000b4f5782820a90508381111562000b495762000b4862000a08565b5b62000b7e565b62000b5e848484600162000a41565b9250905081840481111562000b785762000b7762000a08565b5b81810290505b9392505050565b5f60ff82169050919050565b5f62000b9d826200077c565b915062000baa8362000b85565b925062000bd97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a9b565b905092915050565b5f62000bed826200077c565b915062000bfa836200077c565b925082820262000c0a816200077c565b9150828204841483151762000c245762000c2362000a08565b5b5092915050565b5f62000c37826200077c565b915062000c44836200077c565b925082820190508082111562000c5f5762000c5e62000a08565b5b92915050565b62000c70816200077c565b82525050565b5f60608201905062000c8b5f830186620009dc565b62000c9a602083018562000c65565b62000ca9604083018462000c65565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f62000cea826200077c565b915062000cf7836200077c565b92508262000d0a5762000d0962000cb1565b5b828204905092915050565b5f60208201905062000d2a5f83018462000c65565b92915050565b6113e88062000d3e5f395ff3fe608060405234801561000f575f80fd5b50600436106100e8575f3560e01c8063715018a61161008a57806395d89b411161006457806395d89b411461024a578063a9059cbb14610268578063dd62ed3e14610298578063f2fde38b146102c8576100e8565b8063715018a6146102065780638da5cb5b1461021057806394d9c9c71461022e576100e8565b806323b872dd116100c657806323b872dd14610158578063313ce56714610188578063673448dd146101a657806370a08231146101d6576100e8565b806306fdde03146100ec578063095ea7b31461010a57806318160ddd1461013a575b5f80fd5b6100f46102e4565b6040516101019190610fc3565b60405180910390f35b610124600480360381019061011f9190611074565b610374565b60405161013191906110cc565b60405180910390f35b61014261042d565b60405161014f91906110f4565b60405180910390f35b610172600480360381019061016d919061110d565b610436565b60405161017f91906110cc565b60405180910390f35b610190610464565b60405161019d9190611178565b60405180910390f35b6101c060048036038101906101bb9190611191565b61046c565b6040516101cd91906110f4565b60405180910390f35b6101f060048036038101906101eb9190611191565b6104b2565b6040516101fd91906110f4565b60405180910390f35b61020e6104f7565b005b61021861050a565b60405161022591906111cb565b60405180910390f35b61024860048036038101906102439190611191565b610532565b005b61025261057d565b60405161025f9190610fc3565b60405180910390f35b610282600480360381019061027d9190611074565b61060d565b60405161028f91906110cc565b60405180910390f35b6102b260048036038101906102ad91906111e4565b61062f565b6040516102bf91906110f4565b60405180910390f35b6102e260048036038101906102dd9190611191565b6106b1565b005b6060600480546102f39061124f565b80601f016020809104026020016040519081016040528092919081815260200182805461031f9061124f565b801561036a5780601f106103415761010080835404028352916020019161036a565b820191905f5260205f20905b81548152906001019060200180831161034d57829003601f168201915b5050505050905090565b5f8061037e610735565b905060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610417578260025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b61042281858561073c565b600191505092915050565b5f600354905090565b5f80610440610735565b905061044d85828561074e565b6104588585856107e0565b60019150509392505050565b5f6012905090565b5f60025f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104ff6108d0565b6105085f610957565b565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61053a6108d0565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606005805461058c9061124f565b80601f01602080910402602001604051908101604052809291908181526020018280546105b89061124f565b80156106035780601f106105da57610100808354040283529160200191610603565b820191905f5260205f20905b8154815290600101906020018083116105e657829003601f168201915b5050505050905090565b5f80610617610735565b90506106248185856107e0565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6106b96108d0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610729575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161072091906111cb565b60405180910390fd5b61073281610957565b50565b5f33905090565b6107498383836001610a1a565b505050565b5f610759848461062f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107da57818110156107cb578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016107c29392919061127f565b60405180910390fd5b6107d984848484035f610a1a565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610850575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161084791906111cb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108c0575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016108b791906111cb565b60405180910390fd5b6108cb838383610be9565b505050565b6108d8610735565b73ffffffffffffffffffffffffffffffffffffffff166108f661050a565b73ffffffffffffffffffffffffffffffffffffffff161461095557610919610735565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161094c91906111cb565b60405180910390fd5b565b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a8a575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610a8191906111cb565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610afa575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610af191906111cb565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610be3578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610bda91906110f4565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c39578060035f828254610c2d91906112e1565b92505081905550610d07565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610cc2578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610cb99392919061127f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d4e578060035f8282540392505081905550610e45565b610f2060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610dd791906112e1565b10610dfb57620bd2236109e382610dee9190611314565b610df89190611382565b90505b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b60e460025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205403610ecf57610f2060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f2c91906110f4565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610f70578082015181840152602081019050610f55565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610f9582610f39565b610f9f8185610f43565b9350610faf818560208601610f53565b610fb881610f7b565b840191505092915050565b5f6020820190508181035f830152610fdb8184610f8b565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61101082610fe7565b9050919050565b61102081611006565b811461102a575f80fd5b50565b5f8135905061103b81611017565b92915050565b5f819050919050565b61105381611041565b811461105d575f80fd5b50565b5f8135905061106e8161104a565b92915050565b5f806040838503121561108a57611089610fe3565b5b5f6110978582860161102d565b92505060206110a885828601611060565b9150509250929050565b5f8115159050919050565b6110c6816110b2565b82525050565b5f6020820190506110df5f8301846110bd565b92915050565b6110ee81611041565b82525050565b5f6020820190506111075f8301846110e5565b92915050565b5f805f6060848603121561112457611123610fe3565b5b5f6111318682870161102d565b93505060206111428682870161102d565b925050604061115386828701611060565b9150509250925092565b5f60ff82169050919050565b6111728161115d565b82525050565b5f60208201905061118b5f830184611169565b92915050565b5f602082840312156111a6576111a5610fe3565b5b5f6111b38482850161102d565b91505092915050565b6111c581611006565b82525050565b5f6020820190506111de5f8301846111bc565b92915050565b5f80604083850312156111fa576111f9610fe3565b5b5f6112078582860161102d565b92505060206112188582860161102d565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061126657607f821691505b60208210810361127957611278611222565b5b50919050565b5f6060820190506112925f8301866111bc565b61129f60208301856110e5565b6112ac60408301846110e5565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6112eb82611041565b91506112f683611041565b925082820190508082111561130e5761130d6112b4565b5b92915050565b5f61131e82611041565b915061132983611041565b925082820261133781611041565b9150828204841483151761134e5761134d6112b4565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61138c82611041565b915061139783611041565b9250826113a7576113a6611355565b5b82820490509291505056fea2646970667358221220d2c09dae658e56650d529f3cf2cb2f79ef5ce1274377ccb4e542d67f4c9dbd1464736f6c63430008180033