[ { "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": [], "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" } ]
608060405234801561000f575f80fd5b5033604051806040016040528060048152602001634563686f60e01b815250604051806040016040528060048152602001634543484f60e01b815250816003908161005a9190610311565b5060046100678282610311565b5050506001600160a01b03811661009857604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100a1816100ca565b506100c5336100b26012600a6104c4565b6100c090633b9aca006104d9565b61011b565b610503565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166101445760405163ec442f0560e01b81525f600482015260240161008f565b61014f5f8383610153565b5050565b6001600160a01b03831661017d578060025f82825461017291906104f0565b909155506101ed9050565b6001600160a01b0383165f90815260208190526040902054818110156101cf5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161008f565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661020957600280548290039055610227565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161026c91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806102a157607f821691505b6020821081036102bf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561030c57805f5260205f20601f840160051c810160208510156102ea5750805b601f840160051c820191505b81811015610309575f81556001016102f6565b50505b505050565b81516001600160401b0381111561032a5761032a610279565b61033e81610338845461028d565b846102c5565b6020601f821160018114610370575f83156103595750848201515b5f19600385901b1c1916600184901b178455610309565b5f84815260208120601f198516915b8281101561039f578785015182556020948501946001909201910161037f565b50848210156103bc57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b600184111561041a578085048111156103fe576103fe6103cb565b600184161561040c57908102905b60019390931c9280026103e3565b935093915050565b5f82610430575060016104be565b8161043c57505f6104be565b8160018114610452576002811461045c57610478565b60019150506104be565b60ff84111561046d5761046d6103cb565b50506001821b6104be565b5060208310610133831016604e8410600b841016171561049b575081810a6104be565b6104a75f1984846103df565b805f19048211156104ba576104ba6103cb565b0290505b92915050565b5f6104d260ff841683610422565b9392505050565b80820281158282048414176104be576104be6103cb565b808201808211156104be576104be6103cb565b61080a806105105f395ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c8063715018a61161006e578063715018a6146101525780638da5cb5b1461015c57806395d89b4114610177578063a9059cbb1461017f578063dd62ed3e14610192578063f2fde38b146101ca575f80fd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd14610108578063313ce5671461011b57806370a082311461012a575b5f80fd5b6100bd6101dd565b6040516100ca919061067a565b60405180910390f35b6100e66100e13660046106ca565b61026d565b60405190151581526020016100ca565b6002545b6040519081526020016100ca565b6100e66101163660046106f2565b610286565b604051601281526020016100ca565b6100fa61013836600461072c565b6001600160a01b03165f9081526020819052604090205490565b61015a6102a9565b005b6005546040516001600160a01b0390911681526020016100ca565b6100bd6102bc565b6100e661018d3660046106ca565b6102cb565b6100fa6101a036600461074c565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61015a6101d836600461072c565b6102d8565b6060600380546101ec9061077d565b80601f01602080910402602001604051908101604052809291908181526020018280546102189061077d565b80156102635780601f1061023a57610100808354040283529160200191610263565b820191905f5260205f20905b81548152906001019060200180831161024657829003601f168201915b5050505050905090565b5f3361027a81858561031a565b60019150505b92915050565b5f3361029385828561032c565b61029e8585856103a7565b506001949350505050565b6102b1610404565b6102ba5f610431565b565b6060600480546101ec9061077d565b5f3361027a8185856103a7565b6102e0610404565b6001600160a01b03811661030e57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61031781610431565b50565b6103278383836001610482565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146103a1578181101561039357604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610305565b6103a184848484035f610482565b50505050565b6001600160a01b0383166103d057604051634b637e8f60e11b81525f6004820152602401610305565b6001600160a01b0382166103f95760405163ec442f0560e01b81525f6004820152602401610305565b610327838383610554565b6005546001600160a01b031633146102ba5760405163118cdaa760e01b8152336004820152602401610305565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166104ab5760405163e602df0560e01b81525f6004820152602401610305565b6001600160a01b0383166104d457604051634a1406b160e11b81525f6004820152602401610305565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156103a157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161054691815260200190565b60405180910390a350505050565b6001600160a01b03831661057e578060025f82825461057391906107b5565b909155506105ee9050565b6001600160a01b0383165f90815260208190526040902054818110156105d05760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610305565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661060a57600280548290039055610628565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161066d91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146106c5575f80fd5b919050565b5f80604083850312156106db575f80fd5b6106e4836106af565b946020939093013593505050565b5f805f60608486031215610704575f80fd5b61070d846106af565b925061071b602085016106af565b929592945050506040919091013590565b5f6020828403121561073c575f80fd5b610745826106af565b9392505050565b5f806040838503121561075d575f80fd5b610766836106af565b9150610774602084016106af565b90509250929050565b600181811c9082168061079157607f821691505b6020821081036107af57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561028057634e487b7160e01b5f52601160045260245ffdfea2646970667358221220a728aac94787854cdf6da299a1d28a462a97a9e52bbaf58dc86c3fb4974e099d64736f6c634300081a0033