[ { "inputs": [ { "internalType": "address", "name": "initialOwner", "type": "address" } ], "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": [], "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": [], "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" } ]
608060405234801561000f575f80fd5b50604051611b80380380611b8083398181016040528101906100319190610545565b806040518060400160405280600d81526020017f526f6172696e67204b69747479000000000000000000000000000000000000008152506040518060400160405280600581526020017f24524f4b5900000000000000000000000000000000000000000000000000000081525081600390816100ad91906107aa565b5080600490816100bd91906107aa565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610130575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101279190610888565b60405180910390fd5b61013f8161017e60201b60201c565b506101783361015261024160201b60201c565b600a61015e9190610a09565b633b9aca0061016d9190610a53565b61024960201b60201c565b50610b24565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102b9575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016102b09190610888565b60405180910390fd5b6102ca5f83836102ce60201b60201c565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361031e578060025f8282546103129190610a94565b925050819055506103ec565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156103a7578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161039e93929190610ad6565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610433578060025f828254039250508190555061047d565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516104da9190610b0b565b60405180910390a3505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610514826104eb565b9050919050565b6105248161050a565b811461052e575f80fd5b50565b5f8151905061053f8161051b565b92915050565b5f6020828403121561055a576105596104e7565b5b5f61056784828501610531565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806105eb57607f821691505b6020821081036105fe576105fd6105a7565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026106607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610625565b61066a8683610625565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6106ae6106a96106a484610682565b61068b565b610682565b9050919050565b5f819050919050565b6106c783610694565b6106db6106d3826106b5565b848454610631565b825550505050565b5f90565b6106ef6106e3565b6106fa8184846106be565b505050565b5b8181101561071d576107125f826106e7565b600181019050610700565b5050565b601f8211156107625761073381610604565b61073c84610616565b8101602085101561074b578190505b61075f61075785610616565b8301826106ff565b50505b505050565b5f82821c905092915050565b5f6107825f1984600802610767565b1980831691505092915050565b5f61079a8383610773565b9150826002028217905092915050565b6107b382610570565b67ffffffffffffffff8111156107cc576107cb61057a565b5b6107d682546105d4565b6107e1828285610721565b5f60209050601f831160018114610812575f8415610800578287015190505b61080a858261078f565b865550610871565b601f19841661082086610604565b5f5b8281101561084757848901518255600182019150602085019450602081019050610822565b868310156108645784890151610860601f891682610773565b8355505b6001600288020188555050505b505050505050565b6108828161050a565b82525050565b5f60208201905061089b5f830184610879565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115610923578086048111156108ff576108fe6108a1565b5b600185161561090e5780820291505b808102905061091c856108ce565b94506108e3565b94509492505050565b5f8261093b57600190506109f6565b81610948575f90506109f6565b816001811461095e576002811461096857610997565b60019150506109f6565b60ff84111561097a576109796108a1565b5b8360020a915084821115610991576109906108a1565b5b506109f6565b5060208310610133831016604e8410600b84101617156109cc5782820a9050838111156109c7576109c66108a1565b5b6109f6565b6109d984848460016108da565b925090508184048111156109f0576109ef6108a1565b5b81810290505b9392505050565b5f60ff82169050919050565b5f610a1382610682565b9150610a1e836109fd565b9250610a4b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461092c565b905092915050565b5f610a5d82610682565b9150610a6883610682565b9250828202610a7681610682565b91508282048414831517610a8d57610a8c6108a1565b5b5092915050565b5f610a9e82610682565b9150610aa983610682565b9250828201905080821115610ac157610ac06108a1565b5b92915050565b610ad081610682565b82525050565b5f606082019050610ae95f830186610879565b610af66020830185610ac7565b610b036040830184610ac7565b949350505050565b5f602082019050610b1e5f830184610ac7565b92915050565b61104f80610b315f395ff3fe608060405234801561000f575f80fd5b50600436106100b2575f3560e01c8063715018a61161006f578063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c8578063a9059cbb146101e6578063dd62ed3e14610216578063f2fde38b14610246576100b2565b806306fdde03146100b6578063095ea7b3146100d457806318160ddd1461010457806323b872dd14610122578063313ce5671461015257806370a0823114610170575b5f80fd5b6100be610262565b6040516100cb9190610cc8565b60405180910390f35b6100ee60048036038101906100e99190610d79565b6102f2565b6040516100fb9190610dd1565b60405180910390f35b61010c610314565b6040516101199190610df9565b60405180910390f35b61013c60048036038101906101379190610e12565b61031d565b6040516101499190610dd1565b60405180910390f35b61015a61034b565b6040516101679190610e7d565b60405180910390f35b61018a60048036038101906101859190610e96565b610353565b6040516101979190610df9565b60405180910390f35b6101a8610398565b005b6101b26103ab565b6040516101bf9190610ed0565b60405180910390f35b6101d06103d3565b6040516101dd9190610cc8565b60405180910390f35b61020060048036038101906101fb9190610d79565b610463565b60405161020d9190610dd1565b60405180910390f35b610230600480360381019061022b9190610ee9565b610485565b60405161023d9190610df9565b60405180910390f35b610260600480360381019061025b9190610e96565b610507565b005b60606003805461027190610f54565b80601f016020809104026020016040519081016040528092919081815260200182805461029d90610f54565b80156102e85780601f106102bf576101008083540402835291602001916102e8565b820191905f5260205f20905b8154815290600101906020018083116102cb57829003601f168201915b5050505050905090565b5f806102fc61058b565b9050610309818585610592565b600191505092915050565b5f600254905090565b5f8061032761058b565b90506103348582856105a4565b61033f858585610636565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6103a0610726565b6103a95f6107ad565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546103e290610f54565b80601f016020809104026020016040519081016040528092919081815260200182805461040e90610f54565b80156104595780601f1061043057610100808354040283529160200191610459565b820191905f5260205f20905b81548152906001019060200180831161043c57829003601f168201915b5050505050905090565b5f8061046d61058b565b905061047a818585610636565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61050f610726565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361057f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016105769190610ed0565b60405180910390fd5b610588816107ad565b50565b5f33905090565b61059f8383836001610870565b505050565b5f6105af8484610485565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106305781811015610621578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161061893929190610f84565b60405180910390fd5b61062f84848484035f610870565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106a6575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161069d9190610ed0565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610716575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161070d9190610ed0565b60405180910390fd5b610721838383610a3f565b505050565b61072e61058b565b73ffffffffffffffffffffffffffffffffffffffff1661074c6103ab565b73ffffffffffffffffffffffffffffffffffffffff16146107ab5761076f61058b565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016107a29190610ed0565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036108e0575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016108d79190610ed0565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610950575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016109479190610ed0565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610a39578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a309190610df9565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a8f578060025f828254610a839190610fe6565b92505081905550610b5d565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610b18578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610b0f93929190610f84565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba4578060025f8282540392505081905550610bee565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c4b9190610df9565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610c9a82610c58565b610ca48185610c62565b9350610cb4818560208601610c72565b610cbd81610c80565b840191505092915050565b5f6020820190508181035f830152610ce08184610c90565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d1582610cec565b9050919050565b610d2581610d0b565b8114610d2f575f80fd5b50565b5f81359050610d4081610d1c565b92915050565b5f819050919050565b610d5881610d46565b8114610d62575f80fd5b50565b5f81359050610d7381610d4f565b92915050565b5f8060408385031215610d8f57610d8e610ce8565b5b5f610d9c85828601610d32565b9250506020610dad85828601610d65565b9150509250929050565b5f8115159050919050565b610dcb81610db7565b82525050565b5f602082019050610de45f830184610dc2565b92915050565b610df381610d46565b82525050565b5f602082019050610e0c5f830184610dea565b92915050565b5f805f60608486031215610e2957610e28610ce8565b5b5f610e3686828701610d32565b9350506020610e4786828701610d32565b9250506040610e5886828701610d65565b9150509250925092565b5f60ff82169050919050565b610e7781610e62565b82525050565b5f602082019050610e905f830184610e6e565b92915050565b5f60208284031215610eab57610eaa610ce8565b5b5f610eb884828501610d32565b91505092915050565b610eca81610d0b565b82525050565b5f602082019050610ee35f830184610ec1565b92915050565b5f8060408385031215610eff57610efe610ce8565b5b5f610f0c85828601610d32565b9250506020610f1d85828601610d32565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610f6b57607f821691505b602082108103610f7e57610f7d610f27565b5b50919050565b5f606082019050610f975f830186610ec1565b610fa46020830185610dea565b610fb16040830184610dea565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610ff082610d46565b9150610ffb83610d46565b925082820190508082111561101357611012610fb9565b5b9291505056fea26469706673582212200d2fbad74b7936bfa6830b5ca626a16b4fe534bdc65a5cc36a2fe47cbffc619464736f6c6343000819003300000000000000000000000088a434c4786ea313450b01710bff9fcc5d1b2a87