[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" } ], "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" }, { "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": [], "name": "TOTAL_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "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": "account", "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": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "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" } ]
60806040523480156200001157600080fd5b5060405162000c6538038062000c658339810160408190526200003491620002b9565b81816003620000448382620003b4565b506004620000538282620003b4565b50505062000074336b033b2e3c9fd0803ce80000006200007c60201b60201c565b5050620004a8565b6001600160a01b038216620000ac5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620000ba60008383620000be565b5050565b6001600160a01b038316620000ed578060026000828254620000e1919062000480565b90915550620001619050565b6001600160a01b03831660009081526020819052604090205481811015620001425760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000a3565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200017f576002805482900390556200019e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620001e491815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200021957600080fd5b81516001600160401b0380821115620002365762000236620001f1565b604051601f8301601f19908116603f01168101908282118183101715620002615762000261620001f1565b81604052838152602092508660208588010111156200027f57600080fd5b600091505b83821015620002a3578582018301518183018401529082019062000284565b6000602085830101528094505050505092915050565b60008060408385031215620002cd57600080fd5b82516001600160401b0380821115620002e557600080fd5b620002f38683870162000207565b935060208501519150808211156200030a57600080fd5b50620003198582860162000207565b9150509250929050565b600181811c908216806200033857607f821691505b6020821081036200035957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003af576000816000526020600020601f850160051c810160208610156200038a5750805b601f850160051c820191505b81811015620003ab5782815560010162000396565b5050505b505050565b81516001600160401b03811115620003d057620003d0620001f1565b620003e881620003e1845462000323565b846200035f565b602080601f831160018114620004205760008415620004075750858301515b600019600386901b1c1916600185901b178555620003ab565b600085815260208120601f198616915b82811015620004515788860151825594840194600190910190840162000430565b5085821015620004705787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004a257634e487b7160e01b600052601160045260246000fd5b92915050565b6107ad80620004b86000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806340c10f191161007157806340c10f191461012d57806370a0823114610142578063902d55a51461016b57806395d89b411461017e578063a9059cbb14610186578063dd62ed3e1461019957600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd1461010b578063313ce5671461011e575b600080fd5b6100b66101d2565b6040516100c391906105f6565b60405180910390f35b6100df6100da366004610661565b610264565b60405190151581526020016100c3565b6b033b2e3c9fd0803ce80000005b6040519081526020016100c3565b6100df61011936600461068b565b61027e565b604051601281526020016100c3565b61014061013b366004610661565b6102a2565b005b6100fd6101503660046106c7565b6001600160a01b031660009081526020819052604090205490565b6100fd6b033b2e3c9fd0803ce800000081565b6100b66102b0565b6100df610194366004610661565b6102bf565b6100fd6101a73660046106e9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101e19061071c565b80601f016020809104026020016040519081016040528092919081815260200182805461020d9061071c565b801561025a5780601f1061022f5761010080835404028352916020019161025a565b820191906000526020600020905b81548152906001019060200180831161023d57829003601f168201915b5050505050905090565b6000336102728185856102cd565b60019150505b92915050565b60003361028c8582856102df565b610297858585610362565b506001949350505050565b6102ac82826103c1565b5050565b6060600480546101e19061071c565b600033610272818585610362565b6102da83838360016103f7565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461035c578181101561034d57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61035c848484840360006103f7565b50505050565b6001600160a01b03831661038c57604051634b637e8f60e11b815260006004820152602401610344565b6001600160a01b0382166103b65760405163ec442f0560e01b815260006004820152602401610344565b6102da8383836104cc565b6001600160a01b0382166103eb5760405163ec442f0560e01b815260006004820152602401610344565b6102ac600083836104cc565b6001600160a01b0384166104215760405163e602df0560e01b815260006004820152602401610344565b6001600160a01b03831661044b57604051634a1406b160e11b815260006004820152602401610344565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561035c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104be91815260200190565b60405180910390a350505050565b6001600160a01b0383166104f75780600260008282546104ec9190610756565b909155506105699050565b6001600160a01b0383166000908152602081905260409020548181101561054a5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610344565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610585576002805482900390556105a4565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105e991815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b8181101561062457858101830151858201604001528201610608565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461065c57600080fd5b919050565b6000806040838503121561067457600080fd5b61067d83610645565b946020939093013593505050565b6000806000606084860312156106a057600080fd5b6106a984610645565b92506106b760208501610645565b9150604084013590509250925092565b6000602082840312156106d957600080fd5b6106e282610645565b9392505050565b600080604083850312156106fc57600080fd5b61070583610645565b915061071360208401610645565b90509250929050565b600181811c9082168061073057607f821691505b60208210810361075057634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561027857634e487b7160e01b600052601160045260246000fdfea264697066735822122093c3a66694739a9f89e13bfc78c656659e5cb00d859276ee01133127090ba12a64736f6c6343000818003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a436f6e6e74656e7443500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034343500000000000000000000000000000000000000000000000000000000000