[ { "inputs": [ { "internalType": "uint256", "name": "initialSupply", "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": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "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" } ]
60806040523480156200001157600080fd5b5060405162000d5f38038062000d5f8339810160408190526200003491620002cd565b6040518060400160405280600b81526020016a53696d706c65205553444360a81b81525060405180604001604052806005815260200164735553444360d81b81525060068333848481600390816200008d91906200038e565b5060046200009c82826200038e565b5050506001600160a01b038116620000cf57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000da816200010a565b506005805460ff60a01b1916600160a01b60ff851602179055620000ff33826200015c565b505050505062000482565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001885760405163ec442f0560e01b815260006004820152602401620000c6565b62000196600083836200019a565b5050565b6001600160a01b038316620001c9578060026000828254620001bd91906200045a565b909155506200023d9050565b6001600160a01b038316600090815260208190526040902054818110156200021e5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c6565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200025b576002805482900390556200027a565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002c091815260200190565b60405180910390a3505050565b600060208284031215620002e057600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200031257607f821691505b6020821081036200033357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000389576000816000526020600020601f850160051c81016020861015620003645750805b601f850160051c820191505b81811015620003855782815560010162000370565b5050505b505050565b81516001600160401b03811115620003aa57620003aa620002e7565b620003c281620003bb8454620002fd565b8462000339565b602080601f831160018114620003fa5760008415620003e15750858301515b600019600386901b1c1916600185901b17855562000385565b600085815260208120601f198616915b828110156200042b578886015182559484019460019091019084016200040a565b50858210156200044a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200047c57634e487b7160e01b600052601160045260246000fd5b92915050565b6108cd80620004926000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101ba578063a9059cbb146101c2578063dd62ed3e146101d5578063f2fde38b1461020e57600080fd5b806370a082311461016e578063715018a6146101975780638da5cb5b1461019f57600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a57806340c10f1914610159575b600080fd5b6100dc610221565b6040516100e99190610716565b60405180910390f35b610105610100366004610781565b6102b3565b60405190151581526020016100e9565b6002545b6040519081526020016100e9565b6101056101353660046107ab565b6102cd565b600554600160a01b900460ff1660405160ff90911681526020016100e9565b61016c610167366004610781565b6102f1565b005b61011961017c3660046107e7565b6001600160a01b031660009081526020819052604090205490565b61016c6102ff565b6005546040516001600160a01b0390911681526020016100e9565b6100dc610313565b6101056101d0366004610781565b610322565b6101196101e3366004610809565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61016c61021c3660046107e7565b610330565b6060600380546102309061083c565b80601f016020809104026020016040519081016040528092919081815260200182805461025c9061083c565b80156102a95780601f1061027e576101008083540402835291602001916102a9565b820191906000526020600020905b81548152906001019060200180831161028c57829003601f168201915b5050505050905090565b6000336102c1818585610373565b60019150505b92915050565b6000336102db858285610385565b6102e6858585610403565b506001949350505050565b6102fb8282610462565b5050565b610307610498565b61031160006104c5565b565b6060600480546102309061083c565b6000336102c1818585610403565b610338610498565b6001600160a01b03811661036757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b610370816104c5565b50565b6103808383836001610517565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146103fd57818110156103ee57604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161035e565b6103fd84848484036000610517565b50505050565b6001600160a01b03831661042d57604051634b637e8f60e11b81526000600482015260240161035e565b6001600160a01b0382166104575760405163ec442f0560e01b81526000600482015260240161035e565b6103808383836105ec565b6001600160a01b03821661048c5760405163ec442f0560e01b81526000600482015260240161035e565b6102fb600083836105ec565b6005546001600160a01b031633146103115760405163118cdaa760e01b815233600482015260240161035e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105415760405163e602df0560e01b81526000600482015260240161035e565b6001600160a01b03831661056b57604051634a1406b160e11b81526000600482015260240161035e565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156103fd57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516105de91815260200190565b60405180910390a350505050565b6001600160a01b03831661061757806002600082825461060c9190610876565b909155506106899050565b6001600160a01b0383166000908152602081905260409020548181101561066a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161035e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166106a5576002805482900390556106c4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161070991815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b8181101561074457858101830151858201604001528201610728565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461077c57600080fd5b919050565b6000806040838503121561079457600080fd5b61079d83610765565b946020939093013593505050565b6000806000606084860312156107c057600080fd5b6107c984610765565b92506107d760208501610765565b9150604084013590509250925092565b6000602082840312156107f957600080fd5b61080282610765565b9392505050565b6000806040838503121561081c57600080fd5b61082583610765565b915061083360208401610765565b90509250929050565b600181811c9082168061085057607f821691505b60208210810361087057634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156102c757634e487b7160e01b600052601160045260246000fdfea26469706673582212203d9951ddcae130cecaf56d4dd62c9c1a3e3c5256525c3f56da2980bbb97cbaa864736f6c6343000817003300000000000000000000000000000000ffffffffffffffffffffffffffffffff