[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "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" }, { "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": "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": "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" } ]
608060405234801562000010575f80fd5b5060405162000c0d38038062000c0d8339810160408190526200003391620002a0565b8282600362000043838262000398565b50600462000052828262000398565b5050506200006733826200007060201b60201c565b5050506200048a565b6001600160a01b0382166200009f5760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b620000ac5f8383620000b0565b5050565b6001600160a01b038316620000de578060025f828254620000d2919062000464565b90915550620001509050565b6001600160a01b0383165f9081526020819052604090205481811015620001325760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000096565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166200016e576002805482900390556200018c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620001d291815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000203575f80fd5b81516001600160401b0380821115620002205762000220620001df565b604051601f8301601f19908116603f011681019082821181831017156200024b576200024b620001df565b816040528381526020925086602085880101111562000268575f80fd5b5f91505b838210156200028b57858201830151818301840152908201906200026c565b5f602085830101528094505050505092915050565b5f805f60608486031215620002b3575f80fd5b83516001600160401b0380821115620002ca575f80fd5b620002d887838801620001f3565b94506020860151915080821115620002ee575f80fd5b50620002fd86828701620001f3565b925050604084015190509250925092565b600181811c908216806200032357607f821691505b6020821081036200034257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200039357805f5260205f20601f840160051c810160208510156200036f5750805b601f840160051c820191505b8181101562000390575f81556001016200037b565b50505b505050565b81516001600160401b03811115620003b457620003b4620001df565b620003cc81620003c584546200030e565b8462000348565b602080601f83116001811462000402575f8415620003ea5750858301515b5f19600386901b1c1916600185901b1785556200045c565b5f85815260208120601f198616915b82811015620004325788860151825594840194600190910190840162000411565b50858210156200045057878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b808201808211156200048457634e487b7160e01b5f52601160045260245ffd5b92915050565b61077580620004985f395ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c806370a082311161006357806370a082311461011457806395d89b411461013c578063a0712d6814610144578063a9059cbb14610159578063dd62ed3e1461016c575f80fd5b806306fdde031461009f578063095ea7b3146100bd57806318160ddd146100e057806323b872dd146100f2578063313ce56714610105575b5f80fd5b6100a76101a4565b6040516100b491906105b8565b60405180910390f35b6100d06100cb36600461061f565b610234565b60405190151581526020016100b4565b6002545b6040519081526020016100b4565b6100d0610100366004610647565b61024d565b604051601281526020016100b4565b6100e4610122366004610680565b6001600160a01b03165f9081526020819052604090205490565b6100a7610270565b6101576101523660046106a0565b61027f565b005b6100d061016736600461061f565b61028c565b6100e461017a3660046106b7565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101b3906106e8565b80601f01602080910402602001604051908101604052809291908181526020018280546101df906106e8565b801561022a5780601f106102015761010080835404028352916020019161022a565b820191905f5260205f20905b81548152906001019060200180831161020d57829003601f168201915b5050505050905090565b5f33610241818585610299565b60019150505b92915050565b5f3361025a8582856102ab565b61026585858561032b565b506001949350505050565b6060600480546101b3906106e8565b6102893382610388565b50565b5f3361024181858561032b565b6102a683838360016103c0565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610325578181101561031757604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61032584848484035f6103c0565b50505050565b6001600160a01b03831661035457604051634b637e8f60e11b81525f600482015260240161030e565b6001600160a01b03821661037d5760405163ec442f0560e01b81525f600482015260240161030e565b6102a6838383610492565b6001600160a01b0382166103b15760405163ec442f0560e01b81525f600482015260240161030e565b6103bc5f8383610492565b5050565b6001600160a01b0384166103e95760405163e602df0560e01b81525f600482015260240161030e565b6001600160a01b03831661041257604051634a1406b160e11b81525f600482015260240161030e565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561032557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161048491815260200190565b60405180910390a350505050565b6001600160a01b0383166104bc578060025f8282546104b19190610720565b9091555061052c9050565b6001600160a01b0383165f908152602081905260409020548181101561050e5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161030e565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661054857600280548290039055610566565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105ab91815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b818110156105e4578581018301518582016040015282016105c8565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461061a575f80fd5b919050565b5f8060408385031215610630575f80fd5b61063983610604565b946020939093013593505050565b5f805f60608486031215610659575f80fd5b61066284610604565b925061067060208501610604565b9150604084013590509250925092565b5f60208284031215610690575f80fd5b61069982610604565b9392505050565b5f602082840312156106b0575f80fd5b5035919050565b5f80604083850312156106c8575f80fd5b6106d183610604565b91506106df60208401610604565b90509250929050565b600181811c908216806106fc57607f821691505b60208210810361071a57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561024757634e487b7160e01b5f52601160045260245ffdfea26469706673582212206a944fda8c199b8e8a81bdd833cfe99d9e5a00dcab27a6c8417c40d7520a2e9764736f6c63430008180033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000000000000000000000000000000000000000000f566f74652d657363726f772042414c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005766542414c000000000000000000000000000000000000000000000000000000