[ { "inputs": [ { "internalType": "address", "name": "factory", "type": "address" } ], "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": [], "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" } ]
608060405234801562000010575f80fd5b5060405162000bf038038062000bf0833981016040819052620000339162000245565b6040518060400160405280600a8152602001694574686572766973746160b01b81525060405180604001604052806005815260200164564953544160d81b81525082826003908162000086919062000314565b50600462000095838262000314565b50600580546001600160a01b0319166001600160a01b039290921691909117905550620000cf90503369d3c21bcecceda1000000620000d6565b5062000402565b6001600160a01b038216620001055760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b620001125f838362000116565b5050565b6001600160a01b03831662000144578060025f828254620001389190620003dc565b90915550620001b69050565b6001600160a01b0383165f9081526020819052604090205481811015620001985760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000fc565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620001d457600280548290039055620001f2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200023891815260200190565b60405180910390a3505050565b5f6020828403121562000256575f80fd5b81516001600160a01b03811681146200026d575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200029d57607f821691505b602082108103620002bc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200030f575f81815260208120601f850160051c81016020861015620002ea5750805b601f850160051c820191505b818110156200030b57828155600101620002f6565b5050505b505050565b81516001600160401b0381111562000330576200033062000274565b620003488162000341845462000288565b84620002c2565b602080601f8311600181146200037e575f8415620003665750858301515b5f19600386901b1c1916600185901b1785556200030b565b5f85815260208120601f198616915b82811015620003ae578886015182559484019460019091019084016200038d565b5085821015620003cc57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003fc57634e487b7160e01b5f52601160045260245ffd5b92915050565b6107e080620004105f395ff3fe608060405234801561000f575f80fd5b5060043610610090575f3560e01c8063313ce56711610063578063313ce567146100fa57806370a082311461010957806395d89b4114610131578063a9059cbb14610139578063dd62ed3e1461014c575f80fd5b806306fdde0314610094578063095ea7b3146100b257806318160ddd146100d557806323b872dd146100e7575b5f80fd5b61009c610184565b6040516100a99190610615565b60405180910390f35b6100c56100c0366004610677565b610214565b60405190151581526020016100a9565b6002545b6040519081526020016100a9565b6100c56100f53660046106a1565b6102f4565b604051601281526020016100a9565b6100d96101173660046106df565b6001600160a01b03165f9081526020819052604090205490565b61009c610317565b6100c5610147366004610677565b610326565b6100d961015a366004610701565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461019390610738565b80601f01602080910402602001604051908101604052809291908181526020018280546101bf90610738565b801561020a5780601f106101e15761010080835404028352916020019161020a565b820191905f5260205f20905b8154815290600101906020018083116101ed57829003601f168201915b5050505050905090565b600554604080516303e21fa960e61b815290515f926001600160a01b03169163f887ea409160048083019260209291908290030181865afa15801561025b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061027f9190610770565b6001600160a01b0316836001600160a01b0316146102dc5760405162461bcd60e51b815260206004820152601560248201527422ba3432b92b34b9ba309d102327a92124a22222a760591b60448201526064015b60405180910390fd5b336102e8818585610333565b60019150505b92915050565b5f33610301858285610345565b61030c8585856103c0565b506001949350505050565b60606004805461019390610738565b5f336102e88185856103c0565b610340838383600161041d565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146103ba57818110156103ac57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016102d3565b6103ba84848484035f61041d565b50505050565b6001600160a01b0383166103e957604051634b637e8f60e11b81525f60048201526024016102d3565b6001600160a01b0382166104125760405163ec442f0560e01b81525f60048201526024016102d3565b6103408383836104ef565b6001600160a01b0384166104465760405163e602df0560e01b81525f60048201526024016102d3565b6001600160a01b03831661046f57604051634a1406b160e11b81525f60048201526024016102d3565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156103ba57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104e191815260200190565b60405180910390a350505050565b6001600160a01b038316610519578060025f82825461050e919061078b565b909155506105899050565b6001600160a01b0383165f908152602081905260409020548181101561056b5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016102d3565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166105a5576002805482900390556105c3565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161060891815260200190565b60405180910390a3505050565b5f6020808352835180828501525f5b8181101561064057858101830151858201604001528201610624565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610674575f80fd5b50565b5f8060408385031215610688575f80fd5b823561069381610660565b946020939093013593505050565b5f805f606084860312156106b3575f80fd5b83356106be81610660565b925060208401356106ce81610660565b929592945050506040919091013590565b5f602082840312156106ef575f80fd5b81356106fa81610660565b9392505050565b5f8060408385031215610712575f80fd5b823561071d81610660565b9150602083013561072d81610660565b809150509250929050565b600181811c9082168061074c57607f821691505b60208210810361076a57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610780575f80fd5b81516106fa81610660565b808201808211156102ee57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220974a1175bb06f99026cada171d0463e3d265aba2393d4c23a9b54f09b328926164736f6c634300081400330000000000000000000000009a27cb5ae0b2cee0bb71f9a85c0d60f3920757b4