[ { "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": [ { "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" } ]
608060405234801561000f575f5ffd5b50604051610a8e380380610a8e83398101604081905261002e916100f0565b8181600361003c83826101d9565b50600461004982826101d9565b5050505050610293565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610076575f5ffd5b81516001600160401b0381111561008f5761008f610053565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100bd576100bd610053565b6040528181528382016020018510156100d4575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f60408385031215610101575f5ffd5b82516001600160401b03811115610116575f5ffd5b61012285828601610067565b602085015190935090506001600160401b0381111561013f575f5ffd5b61014b85828601610067565b9150509250929050565b600181811c9082168061016957607f821691505b60208210810361018757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101d457805f5260205f20601f840160051c810160208510156101b25750805b601f840160051c820191505b818110156101d1575f81556001016101be565b50505b505050565b81516001600160401b038111156101f2576101f2610053565b610206816102008454610155565b8461018d565b6020601f821160018114610238575f83156102215750848201515b5f19600385901b1c1916600184901b1784556101d1565b5f84815260208120601f198516915b828110156102675787850151825560209485019460019092019101610247565b508482101561028457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6107ee806102a05f395ff3fe608060405234801561000f575f5ffd5b50600436106100b1575f3560e01c806342966c681161006e57806342966c681461013f57806370a082311461015257806379cc67901461017a57806395d89b411461018d578063a9059cbb14610195578063dd62ed3e146101a8575f5ffd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd14610108578063313ce5671461011b57806340c10f191461012a575b5f5ffd5b6100bd6101e0565b6040516100ca9190610647565b60405180910390f35b6100e66100e1366004610697565b610270565b60405190151581526020016100ca565b6002545b6040519081526020016100ca565b6100e66101163660046106bf565b610289565b604051601281526020016100ca565b61013d610138366004610697565b6102ac565b005b61013d61014d3660046106f9565b6102ba565b6100fa610160366004610710565b6001600160a01b03165f9081526020819052604090205490565b61013d610188366004610697565b6102c7565b6100bd6102dc565b6100e66101a3366004610697565b6102eb565b6100fa6101b6366004610730565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546101ef90610761565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610761565b80156102665780601f1061023d57610100808354040283529160200191610266565b820191905f5260205f20905b81548152906001019060200180831161024957829003601f168201915b5050505050905090565b5f3361027d8185856102f8565b60019150505b92915050565b5f3361029685828561030a565b6102a185858561038a565b506001949350505050565b6102b682826103e7565b5050565b6102c4338261041b565b50565b6102d282338361030a565b6102b6828261041b565b6060600480546101ef90610761565b5f3361027d81858561038a565b610305838383600161044f565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610384578181101561037657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61038484848484035f61044f565b50505050565b6001600160a01b0383166103b357604051634b637e8f60e11b81525f600482015260240161036d565b6001600160a01b0382166103dc5760405163ec442f0560e01b81525f600482015260240161036d565b610305838383610521565b6001600160a01b0382166104105760405163ec442f0560e01b81525f600482015260240161036d565b6102b65f8383610521565b6001600160a01b03821661044457604051634b637e8f60e11b81525f600482015260240161036d565b6102b6825f83610521565b6001600160a01b0384166104785760405163e602df0560e01b81525f600482015260240161036d565b6001600160a01b0383166104a157604051634a1406b160e11b81525f600482015260240161036d565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561038457826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161051391815260200190565b60405180910390a350505050565b6001600160a01b03831661054b578060025f8282546105409190610799565b909155506105bb9050565b6001600160a01b0383165f908152602081905260409020548181101561059d5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161036d565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166105d7576002805482900390556105f5565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161063a91815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610692575f5ffd5b919050565b5f5f604083850312156106a8575f5ffd5b6106b18361067c565b946020939093013593505050565b5f5f5f606084860312156106d1575f5ffd5b6106da8461067c565b92506106e86020850161067c565b929592945050506040919091013590565b5f60208284031215610709575f5ffd5b5035919050565b5f60208284031215610720575f5ffd5b6107298261067c565b9392505050565b5f5f60408385031215610741575f5ffd5b61074a8361067c565b91506107586020840161067c565b90509250929050565b600181811c9082168061077557607f821691505b60208210810361079357634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561028357634e487b7160e01b5f52601160045260245ffdfea264697066735822122063443151a213591bf04ced3ba4a6f424f5928f48dbb0c3c52f5fc082d78334f064736f6c634300081b00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000084d6f636b566f6c7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d4f434b56000000000000000000000000000000000000000000000000000000