[ { "inputs": [], "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": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "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": "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" } ]
608060405234801561000f575f80fd5b506040518060400160405280600581526020016409a9e8696b60db1b8152506040518060400160405280600281526020016109ab60f31b81525081600390816100589190610105565b5060046100658282610105565b5050506101bf565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061009557607f821691505b6020821081036100b357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561010057805f5260205f20601f840160051c810160208510156100de5750805b601f840160051c820191505b818110156100fd575f81556001016100ea565b50505b505050565b81516001600160401b0381111561011e5761011e61006d565b6101328161012c8454610081565b846100b9565b6020601f821160018114610164575f831561014d5750848201515b5f19600385901b1c1916600184901b1784556100fd565b5f84815260208120601f198516915b828110156101935787850151825560209485019460019092019101610173565b50848210156101b057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b610804806101cc5f395ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806342966c681161006e57806342966c681461013f57806370a082311461015257806379cc67901461017a57806395d89b411461018d578063a9059cbb14610195578063dd62ed3e146101a8575f80fd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd14610108578063313ce5671461011b57806340c10f191461012a575b5f80fd5b6100bd6101e0565b6040516100ca9190610647565b60405180910390f35b6100e66100e13660046106ad565b610270565b60405190151581526020016100ca565b6002545b6040519081526020016100ca565b6100e66101163660046106d5565b610289565b604051601281526020016100ca565b61013d6101383660046106ad565b6102ac565b005b61013d61014d36600461070f565b6102ba565b6100fa610160366004610726565b6001600160a01b03165f9081526020819052604090205490565b61013d6101883660046106ad565b6102c7565b6100bd6102dc565b6100e66101a33660046106ad565b6102eb565b6100fa6101b6366004610746565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101ef90610777565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610777565b80156102665780601f1061023d57610100808354040283529160200191610266565b820191905f5260205f20905b81548152906001019060200180831161024957829003601f168201915b5050505050905090565b5f3361027d8185856102f8565b60019150505b92915050565b5f3361029685828561030a565b6102a185858561038a565b506001949350505050565b6102b682826103e7565b5050565b6102c4338261041b565b50565b6102d282338361030a565b6102b6828261041b565b6060600480546101ef90610777565b5f3361027d81858561038a565b610305838383600161044f565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610384578181101561037657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61038484848484035f61044f565b50505050565b6001600160a01b0383166103b357604051634b637e8f60e11b81525f600482015260240161036d565b6001600160a01b0382166103dc5760405163ec442f0560e01b81525f600482015260240161036d565b610305838383610521565b6001600160a01b0382166104105760405163ec442f0560e01b81525f600482015260240161036d565b6102b65f8383610521565b6001600160a01b03821661044457604051634b637e8f60e11b81525f600482015260240161036d565b6102b6825f83610521565b6001600160a01b0384166104785760405163e602df0560e01b81525f600482015260240161036d565b6001600160a01b0383166104a157604051634a1406b160e11b81525f600482015260240161036d565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561038457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161051391815260200190565b60405180910390a350505050565b6001600160a01b03831661054b578060025f82825461054091906107af565b909155506105bb9050565b6001600160a01b0383165f908152602081905260409020548181101561059d5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161036d565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166105d7576002805482900390556105f5565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161063a91815260200190565b60405180910390a3505050565b602081525f82518060208401525f5b818110156106735760208186018101516040868401015201610656565b505f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146106a8575f80fd5b919050565b5f80604083850312156106be575f80fd5b6106c783610692565b946020939093013593505050565b5f805f606084860312156106e7575f80fd5b6106f084610692565b92506106fe60208501610692565b929592945050506040919091013590565b5f6020828403121561071f575f80fd5b5035919050565b5f60208284031215610736575f80fd5b61073f82610692565b9392505050565b5f8060408385031215610757575f80fd5b61076083610692565b915061076e60208401610692565b90509250929050565b600181811c9082168061078b57607f821691505b6020821081036107a957634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561028357634e487b7160e01b5f52601160045260245ffdfea2646970667358221220bcbab8956d0633a8291545691d9c4c2fd3c34aee020214532163c72c3731ad4c64736f6c634300081a0033