[ { "inputs": [ { "internalType": "uint256", "name": "totalSupply_", "type": "uint256" }, { "internalType": "address", "name": "to", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "currentAllowance", "type": "uint256" }, { "internalType": "uint256", "name": "requestedDecrease", "type": "uint256" } ], "name": "ERC20FailedDecreaseAllowance", "type": "error" }, { "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": "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": "requestedDecrease", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "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": "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" } ]
60806040523480156200001157600080fd5b5060405162000bd538038062000bd5833981016040819052620000349162000225565b604080518082019091526008815267547275654575726f60c01b602082015260039062000062908262000309565b50604080518082019091526005815264544555524f60d81b60208201526004906200008e908262000309565b506005805460ff19166012179055620000a88183620000b0565b5050620003fd565b6001600160a01b038216620000e05760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620000ee60008383620000f2565b5050565b6001600160a01b03831662000121578060026000828254620001159190620003d5565b90915550620001959050565b6001600160a01b03831660009081526020819052604090205481811015620001765760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000d7565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620001b357600280548290039055620001d2565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200021891815260200190565b60405180910390a3505050565b600080604083850312156200023957600080fd5b825160208401519092506001600160a01b03811681146200025957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200028f57607f821691505b602082108103620002b057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030457600081815260208120601f850160051c81016020861015620002df5750805b601f850160051c820191505b818110156200030057828155600101620002eb565b5050505b505050565b81516001600160401b0381111562000325576200032562000264565b6200033d816200033684546200027a565b84620002b6565b602080601f8311600181146200037557600084156200035c5750858301515b600019600386901b1c1916600185901b17855562000300565b600085815260208120601f198616915b82811015620003a65788860151825594840194600190910190840162000385565b5085821015620003c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003f757634e487b7160e01b600052601160045260246000fd5b92915050565b6107c8806200040d6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012957806370a082311461013c57806395d89b4114610165578063a457c2d71461016d578063a9059cbb14610180578063dd62ed3e1461019357600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a6565b6040516100c39190610612565b60405180910390f35b6100df6100da36600461067c565b610238565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046106a6565b610252565b60055460405160ff90911681526020016100c3565b6100df61013736600461067c565b610276565b6100f361014a3660046106e2565b6001600160a01b031660009081526020819052604090205490565b6100b6610298565b6100df61017b36600461067c565b6102a7565b6100df61018e36600461067c565b610303565b6100f36101a1366004610704565b610311565b6060600380546101b590610737565b80601f01602080910402602001604051908101604052809291908181526020018280546101e190610737565b801561022e5780601f106102035761010080835404028352916020019161022e565b820191906000526020600020905b81548152906001019060200180831161021157829003601f168201915b5050505050905090565b60003361024681858561033c565b60019150505b92915050565b60003361026085828561034e565b61026b8585856103b4565b506001949350505050565b6000336102468185856102898383610311565b6102939190610771565b61033c565b6060600480546101b590610737565b600033816102b58286610311565b9050838110156102f657604051632983c0c360e21b81526001600160a01b038616600482015260248101829052604481018590526064015b60405180910390fd5b61026b828686840361033c565b6000336102468185856103b4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103498383836001610413565b505050565b600061035a8484610311565b905060001981146103ae578181101561039f57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016102ed565b6103ae84848484036000610413565b50505050565b6001600160a01b0383166103de57604051634b637e8f60e11b8152600060048201526024016102ed565b6001600160a01b0382166104085760405163ec442f0560e01b8152600060048201526024016102ed565b6103498383836104e8565b6001600160a01b03841661043d5760405163e602df0560e01b8152600060048201526024016102ed565b6001600160a01b03831661046757604051634a1406b160e11b8152600060048201526024016102ed565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156103ae57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104da91815260200190565b60405180910390a350505050565b6001600160a01b0383166105135780600260008282546105089190610771565b909155506105859050565b6001600160a01b038316600090815260208190526040902054818110156105665760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016102ed565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166105a1576002805482900390556105c0565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060591815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561063f57858101830151858201604001528201610623565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461067757600080fd5b919050565b6000806040838503121561068f57600080fd5b61069883610660565b946020939093013593505050565b6000806000606084860312156106bb57600080fd5b6106c484610660565b92506106d260208501610660565b9150604084013590509250925092565b6000602082840312156106f457600080fd5b6106fd82610660565b9392505050565b6000806040838503121561071757600080fd5b61072083610660565b915061072e60208401610660565b90509250929050565b600181811c9082168061074b57607f821691505b60208210810361076b57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561024c57634e487b7160e01b600052601160045260246000fdfea26469706673582212200fed1a94b9dc08ba13c08821d3f6fc8dbc957e6776026c394c977e404e5e586e64736f6c6343000812003300000000000000000000000000000000000000000039e7139a8c08fa06000000000000000000000000000000465d0f0012c5cf0098f851ee30fb511f61361e26