[ { "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" }, { "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": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "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": "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" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferWithLog", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
608060405234801561000f575f80fd5b506040518060400160405280601381526020017f52656d696c696120576f726c64204f72646572000000000000000000000000008152506040518060400160405280600481526020017f43554c5400000000000000000000000000000000000000000000000000000000815250816003908161008b91906105dd565b50806004908161009b91906105dd565b5050505f6c01431e0fae6d7217caa000000090506100bf338261010560201b60201c565b5f60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506107c1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610175575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161016c91906106eb565b60405180910390fd5b6101865f838361018a60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036101da578060025f8282546101ce9190610731565b925050819055506102a8565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610263578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161025a93929190610773565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102ef578060025f8282540392505081905550610339565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161039691906107a8565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061041e57607f821691505b602082108103610431576104306103da565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026104937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610458565b61049d8683610458565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6104e16104dc6104d7846104b5565b6104be565b6104b5565b9050919050565b5f819050919050565b6104fa836104c7565b61050e610506826104e8565b848454610464565b825550505050565b5f90565b610522610516565b61052d8184846104f1565b505050565b5b81811015610550576105455f8261051a565b600181019050610533565b5050565b601f8211156105955761056681610437565b61056f84610449565b8101602085101561057e578190505b61059261058a85610449565b830182610532565b50505b505050565b5f82821c905092915050565b5f6105b55f198460080261059a565b1980831691505092915050565b5f6105cd83836105a6565b9150826002028217905092915050565b6105e6826103a3565b67ffffffffffffffff8111156105ff576105fe6103ad565b5b6106098254610407565b610614828285610554565b5f60209050601f831160018114610645575f8415610633578287015190505b61063d85826105c2565b8655506106a4565b601f19841661065386610437565b5f5b8281101561067a57848901518255600182019150602085019450602081019050610655565b868310156106975784890151610693601f8916826105a6565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6106d5826106ac565b9050919050565b6106e5816106cb565b82525050565b5f6020820190506106fe5f8301846106dc565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61073b826104b5565b9150610746836104b5565b925082820190508082111561075e5761075d610704565b5b92915050565b61076d816104b5565b82525050565b5f6060820190506107865f8301866106dc565b6107936020830185610764565b6107a06040830184610764565b949350505050565b5f6020820190506107bb5f830184610764565b92915050565b6115f7806107ce5f395ff3fe608060405234801561000f575f80fd5b50600436106100cd575f3560e01c806342966c681161008a57806395d89b411161006457806395d89b4114610225578063a9059cbb14610243578063dd62ed3e14610273578063f2fde38b146102a3576100cd565b806342966c68146101bb57806370a08231146101d75780638da5cb5b14610207576100cd565b806306fdde03146100d1578063095ea7b3146100ef57806318160ddd1461011f57806323b872dd1461013d578063313ce5671461016d5780633f96b8c11461018b575b5f80fd5b6100d96102bf565b6040516100e69190610fe4565b60405180910390f35b61010960048036038101906101049190611095565b61034f565b60405161011691906110ed565b60405180910390f35b610127610371565b6040516101349190611115565b60405180910390f35b6101576004803603810190610152919061112e565b61037a565b60405161016491906110ed565b60405180910390f35b6101756104b5565b6040516101829190611199565b60405180910390f35b6101a560048036038101906101a09190611095565b6104bd565b6040516101b291906110ed565b60405180910390f35b6101d560048036038101906101d091906111b2565b6105f1565b005b6101f160048036038101906101ec91906111dd565b6105fe565b6040516101fe9190611115565b60405180910390f35b61020f610643565b60405161021c9190611217565b60405180910390f35b61022d610668565b60405161023a9190610fe4565b60405180910390f35b61025d60048036038101906102589190611095565b6106f8565b60405161026a91906110ed565b60405180910390f35b61028d60048036038101906102889190611230565b6107c7565b60405161029a9190611115565b60405180910390f35b6102bd60048036038101906102b891906111dd565b610849565b005b6060600380546102ce9061129b565b80601f01602080910402602001604051908101604052809291908181526020018280546102fa9061129b565b80156103455780601f1061031c57610100808354040283529160200191610345565b820191905f5260205f20905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b5f80610359610a04565b9050610366818585610a0b565b600191505092915050565b5f600254905090565b5f61038584336107c7565b8211156103c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103be90611315565b60405180910390fd5b6103d0846105fe565b821115610412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104099061137d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610480576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610477906113e5565b60405180910390fd5b61048b848484610a1d565b6104aa84338461049b88336107c7565b6104a59190611430565b610a0b565b600190509392505050565b5f6012905090565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361052c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610523906113e5565b60405180910390fd5b610535336105fe565b821115610577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056e9061137d565b60405180910390fd5b610582338484610a1d565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516105df9190611115565b60405180910390a36001905092915050565b6105fb3382610b0d565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600480546106779061129b565b80601f01602080910402602001604051908101604052809291908181526020018280546106a39061129b565b80156106ee5780601f106106c5576101008083540402835291602001916106ee565b820191905f5260205f20905b8154815290600101906020018083116106d157829003601f168201915b5050505050905090565b5f610702336105fe565b821115610744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073b9061137d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906113e5565b60405180910390fd5b6107bd338484610a1d565b6001905092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae906114ad565b60405180910390fd5b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d9061153b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f33905090565b610a188383836001610b8c565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a8d575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610a849190611217565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610afd575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610af49190611217565b60405180910390fd5b610b08838383610d5b565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b7d575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401610b749190611217565b60405180910390fd5b610b88825f83610d5b565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610bfc575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610bf39190611217565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c6c575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610c639190611217565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610d55578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d4c9190611115565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dab578060025f828254610d9f9190611559565b92505081905550610e79565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610e34578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e2b9392919061158c565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ec0578060025f8282540392505081905550610f0a565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f679190611115565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610fb682610f74565b610fc08185610f7e565b9350610fd0818560208601610f8e565b610fd981610f9c565b840191505092915050565b5f6020820190508181035f830152610ffc8184610fac565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61103182611008565b9050919050565b61104181611027565b811461104b575f80fd5b50565b5f8135905061105c81611038565b92915050565b5f819050919050565b61107481611062565b811461107e575f80fd5b50565b5f8135905061108f8161106b565b92915050565b5f80604083850312156110ab576110aa611004565b5b5f6110b88582860161104e565b92505060206110c985828601611081565b9150509250929050565b5f8115159050919050565b6110e7816110d3565b82525050565b5f6020820190506111005f8301846110de565b92915050565b61110f81611062565b82525050565b5f6020820190506111285f830184611106565b92915050565b5f805f6060848603121561114557611144611004565b5b5f6111528682870161104e565b93505060206111638682870161104e565b925050604061117486828701611081565b9150509250925092565b5f60ff82169050919050565b6111938161117e565b82525050565b5f6020820190506111ac5f83018461118a565b92915050565b5f602082840312156111c7576111c6611004565b5b5f6111d484828501611081565b91505092915050565b5f602082840312156111f2576111f1611004565b5b5f6111ff8482850161104e565b91505092915050565b61121181611027565b82525050565b5f60208201905061122a5f830184611208565b92915050565b5f806040838503121561124657611245611004565b5b5f6112538582860161104e565b92505060206112648582860161104e565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806112b257607f821691505b6020821081036112c5576112c461126e565b5b50919050565b7f496e73756666696369656e7420616c6c6f77616e6365000000000000000000005f82015250565b5f6112ff601683610f7e565b915061130a826112cb565b602082019050919050565b5f6020820190508181035f83015261132c816112f3565b9050919050565b7f496e73756666696369656e742062616c616e63650000000000000000000000005f82015250565b5f611367601483610f7e565b915061137282611333565b602082019050919050565b5f6020820190508181035f8301526113948161135b565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373000000005f82015250565b5f6113cf601c83610f7e565b91506113da8261139b565b602082019050919050565b5f6020820190508181035f8301526113fc816113c3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61143a82611062565b915061144583611062565b925082820390508181111561145d5761145c611403565b5b92915050565b7f4e6577206f776e65722063616e6e6f74206265207a65726f20616464726573735f82015250565b5f611497602083610f7e565b91506114a282611463565b602082019050919050565b5f6020820190508181035f8301526114c48161148b565b9050919050565b7f4f6e6c79207468652063757272656e74206f776e65722063616e207472616e735f8201527f666572206f776e65727368697000000000000000000000000000000000000000602082015250565b5f611525602d83610f7e565b9150611530826114cb565b604082019050919050565b5f6020820190508181035f83015261155281611519565b9050919050565b5f61156382611062565b915061156e83611062565b925082820190508082111561158657611585611403565b5b92915050565b5f60608201905061159f5f830186611208565b6115ac6020830185611106565b6115b96040830184611106565b94935050505056fea264697066735822122085dba455ebd8a8de086204d4387401dfb59129be4989b146f2ff0118e55694d864736f6c634300081a0033