[ { "inputs": [ { "internalType": "uint256", "name": "totalSupply", "type": "uint256" } ], "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": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getDecimals", "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": [], "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" } ]
60806040526005805460ff60a01b1916600960a11b1790553480156200002457600080fd5b5060405162000ecc38038062000ecc8339810160408190526200004791620001ea565b336040518060400160405280600a8152602001694156415820476f61747360b01b8152506040518060400160405280600481526020016311d3d05560e21b8152508160039081620000999190620002a9565b506004620000a88282620002a9565b5050506001600160a01b038116620000da57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000e581620000f8565b50620000f1816200014a565b506200039d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6b0d92289838d21a99680000006002819055336000908152602081905260409020556200019062000187826a61c9706e863e27a13da1eb62000375565b60025462000193565b50565b600580546001600160a01b0319166001600160a01b03841617905560405181815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208284031215620001fd57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022f57607f821691505b6020821081036200025057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a457600081815260208120601f850160051c810160208610156200027f5750805b601f850160051c820191505b81811015620002a0578281556001016200028b565b5050505b505050565b81516001600160401b03811115620002c557620002c562000204565b620002dd81620002d684546200021a565b8462000256565b602080601f831160018114620003155760008415620002fc5750858301515b600019600386901b1c1916600185901b178555620002a0565b600085815260208120601f198616915b82811015620003465788860151825594840194600190910190840162000325565b5085821015620003655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200039757634e487b7160e01b600052601160045260246000fd5b92915050565b610b1f80620003ad6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb146101fb578063dd62ed3e1461020e578063f0141d8414610247578063f2fde38b1461025957600080fd5b8063715018a6146101bb5780638da5cb5b146101c557806395d89b41146101e0578063a457c2d7146101e857600080fd5b806323b872dd116100d357806323b872dd1461014d578063313ce56714610160578063395093511461017f57806370a082311461019257600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b61010261026c565b60405161010f9190610950565b60405180910390f35b61012b6101263660046109ba565b6102fe565b604051901515815260200161010f565b6002545b60405190815260200161010f565b61012b61015b3660046109e4565b610318565b600554600160a01b900460ff1660405160ff909116815260200161010f565b61012b61018d3660046109ba565b6103dd565b61013f6101a0366004610a20565b6001600160a01b031660009081526020819052604090205490565b6101c361041c565b005b6006546040516001600160a01b03909116815260200161010f565b610102610430565b61012b6101f63660046109ba565b61043f565b61012b6102093660046109ba565b6104d6565b61013f61021c366004610a42565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600554600160a01b900460ff1661013f565b6101c3610267366004610a20565b6104e4565b60606003805461027b90610a75565b80601f01602080910402602001604051908101604052809291908181526020018280546102a790610a75565b80156102f45780601f106102c9576101008083540402835291602001916102f4565b820191906000526020600020905b8154815290600101906020018083116102d757829003601f168201915b5050505050905090565b60003361030c818585610522565b60019150505b92915050565b6000336103268582856105d8565b6005546001600160a01b0386811660008181526020819052604090819020549051631a4eb99360e21b81526004810191909152602481019190915291169063693ae64c90604401602060405180830381865afa15801561038a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ae9190610aaf565b6001600160a01b0386166000908152602081905260409020556103d2858585610654565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061030c9082908690610417908790610ac8565b610522565b6104246106b8565b61042e60006106e5565b565b60606004805461027b90610a75565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156104c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103d28286868403610522565b60003361030c818585610654565b6104ec6106b8565b6001600160a01b03811661051657604051631e4fbdf760e01b8152600060048201526024016104c0565b61051f816106e5565b50565b6001600160a01b03831661054c5760405163e602df0560e01b8152600060048201526024016104c0565b6001600160a01b03821661057657604051634a1406b160e11b8152600060048201526024016104c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461064e578181101561064157604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104c0565b61064e8484848403610522565b50505050565b6001600160a01b03831661067e57604051634b637e8f60e11b8152600060048201526024016104c0565b6001600160a01b0382166106a85760405163ec442f0560e01b8152600060048201526024016104c0565b6106b3838383610744565b505050565b6006546001600160a01b0316331461042e5760405163118cdaa760e01b81523360048201526024016104c0565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661076f5780600260008282546107649190610ac8565b909155506108d09050565b6001600160a01b038316600090815260208190526040902054818110156107c25760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104c0565b6005546001600160a01b0385811660008181526020819052604090819020549051635757719560e01b81523060048201526024810191909152604481019190915284929190911690635757719590606401602060405180830381865afa158015610830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108549190610aaf565b10156108b15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104c0565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108ec5760028054829003905561090b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105cb91815260200190565b600060208083528351808285015260005b8181101561097d57858101830151858201604001528201610961565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109b557600080fd5b919050565b600080604083850312156109cd57600080fd5b6109d68361099e565b946020939093013593505050565b6000806000606084860312156109f957600080fd5b610a028461099e565b9250610a106020850161099e565b9150604084013590509250925092565b600060208284031215610a3257600080fd5b610a3b8261099e565b9392505050565b60008060408385031215610a5557600080fd5b610a5e8361099e565b9150610a6c6020840161099e565b90509250929050565b600181811c90821680610a8957607f821691505b602082108103610aa957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ac157600080fd5b5051919050565b8082018082111561031257634e487b7160e01b600052601160045260246000fdfea26469706673582212202e54fe7ffc1c894c1dacc870c434fc04e14338cdfeab527a2a961d5f404a24c364736f6c63430008140033000000000000000000000000879b136405e086040ec541eb7dd30a7e726ac124