[ { "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" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "OwnableInvalidOwner", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "OwnableUnauthorizedAccount", "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": "OpenTrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "WETH", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "uint256", "name": "amount", "type": "uint256" } ], "name": "enableOpimiziom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "minigasfees", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pair", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "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" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
6080604052600880546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790915560098054909116731f98431c8ad98523631ae4a59f267346ea31f98417905564e8990a4600600a5534801562000061575f80fd5b50336040518060400160405280601581526020017f444f4e275420462a2a4b2057495448202443415453000000000000000000000081525060405180604001604052806005815260200164244341545360d81b8152508160039081620000c89190620005c2565b506004620000d78282620005c2565b5050506001600160a01b0381166200010957604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b62000114816200020d565b5060095460085460405163a167129560e01b81523060048201526001600160a01b039182166024820152606460448201819052919092169163a167129591016020604051808303815f875af115801562000170573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200019691906200068e565b600780546001600160a01b039290921661010002610100600160a81b0319909216919091179055335f818152600660205260409020805460ff191660011790556200020790620001e4601290565b620001f190600a620007cc565b6200020190633b9aca00620007dc565b6200025e565b6200080c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620002895760405163ec442f0560e01b81525f600482015260240162000100565b620002965f83836200029a565b5050565b325f9081526006602052604090205460ff1615620002c457620002bf838383620003f6565b505050565b60075460ff16620003075760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b604482015260640162000100565b6007545f906001600160a01b0384811661010090920416146200032b575f6200032e565b60015b905080156200039e57600a543a11156200038b5760405162461bcd60e51b815260206004820152601360248201527f4e6f7420656e6f75676820676173206665657300000000000000000000000000604482015260640162000100565b62000398848484620003f6565b50505050565b80620003b15762000398848484620003f6565b6007546001600160a01b038581166101009092041614801590620003e857506007546001600160a01b038481166101009092041614155b156200039857620003988484845b6001600160a01b03831662000424578060025f828254620004189190620007f6565b90915550620004969050565b6001600160a01b0383165f9081526020819052604090205481811015620004785760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000100565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620004b457600280548290039055620004d2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200051891815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200054e57607f821691505b6020821081036200056d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002bf57805f5260205f20601f840160051c810160208510156200059a5750805b601f840160051c820191505b81811015620005bb575f8155600101620005a6565b5050505050565b81516001600160401b03811115620005de57620005de62000525565b620005f681620005ef845462000539565b8462000573565b602080601f8311600181146200062c575f8415620006145750858301515b5f19600386901b1c1916600185901b17855562000686565b5f85815260208120601f198616915b828110156200065c578886015182559484019460019091019084016200063b565b50858210156200067a57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f602082840312156200069f575f80fd5b81516001600160a01b0381168114620006b6575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200071157815f1904821115620006f557620006f5620006bd565b808516156200070357918102915b93841c9390800290620006d6565b509250929050565b5f826200072957506001620007c6565b816200073757505f620007c6565b81600181146200075057600281146200075b576200077b565b6001915050620007c6565b60ff8411156200076f576200076f620006bd565b50506001821b620007c6565b5060208310610133831016604e8410600b8410161715620007a0575081810a620007c6565b620007ac8383620006d1565b805f1904821115620007c257620007c2620006bd565b0290505b92915050565b5f620006b660ff84168362000719565b8082028115828204841417620007c657620007c6620006bd565b80820180821115620007c657620007c6620006bd565b610a3e806200081a5f395ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c80638da5cb5b1161009e578063ad5c46481161006e578063ad5c464814610211578063bc3f0f0b14610224578063dd62ed3e14610237578063f2fde38b1461026f578063f534413514610282575f80fd5b80638da5cb5b146101b957806395d89b41146101de578063a8aa1b31146101e6578063a9059cbb146101fe575f80fd5b806323b872dd116100d957806323b872dd14610167578063313ce5671461017a57806370a0823114610189578063715018a6146101b1575f80fd5b806306fdde031461010a578063095ea7b3146101285780630f8540e41461014b57806318160ddd14610155575b5f80fd5b61011261028b565b60405161011f9190610881565b60405180910390f35b61013b6101363660046108e8565b61031b565b604051901515815260200161011f565b610153610334565b005b6002545b60405190815260200161011f565b61013b610175366004610910565b61034b565b6040516012815260200161011f565b610159610197366004610949565b6001600160a01b03165f9081526020819052604090205490565b61015361036e565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161011f565b610112610381565b6007546101c69061010090046001600160a01b031681565b61013b61020c3660046108e8565b610390565b6008546101c6906001600160a01b031681565b610153610232366004610969565b61039d565b610159610245366004610980565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61015361027d366004610949565b6103aa565b610159600a5481565b60606003805461029a906109b1565b80601f01602080910402602001604051908101604052809291908181526020018280546102c6906109b1565b80156103115780601f106102e857610100808354040283529160200191610311565b820191905f5260205f20905b8154815290600101906020018083116102f457829003601f168201915b5050505050905090565b5f336103288185856103ec565b60019150505b92915050565b61033c6103fe565b6007805460ff19166001179055565b5f3361035885828561042b565b6103638585856104a6565b506001949350505050565b6103766103fe565b61037f5f610503565b565b60606004805461029a906109b1565b5f336103288185856104a6565b6103a56103fe565b600a55565b6103b26103fe565b6001600160a01b0381166103e057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6103e981610503565b50565b6103f98383836001610554565b505050565b6005546001600160a01b0316331461037f5760405163118cdaa760e01b81523360048201526024016103d7565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146104a0578181101561049257604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103d7565b6104a084848484035f610554565b50505050565b6001600160a01b0383166104cf57604051634b637e8f60e11b81525f60048201526024016103d7565b6001600160a01b0382166104f85760405163ec442f0560e01b81525f60048201526024016103d7565b6103f9838383610626565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661057d5760405163e602df0560e01b81525f60048201526024016103d7565b6001600160a01b0383166105a657604051634a1406b160e11b81525f60048201526024016103d7565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104a057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161061891815260200190565b60405180910390a350505050565b325f9081526006602052604090205460ff1615610648576103f983838361075b565b60075460ff166106895760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016103d7565b6007545f906001600160a01b0384811661010090920416146106ab575f6106ae565b60015b9050801561070957600a543a11156106fe5760405162461bcd60e51b81526020600482015260136024820152724e6f7420656e6f75676820676173206665657360681b60448201526064016103d7565b6104a084848461075b565b80610719576104a084848461075b565b6007546001600160a01b03858116610100909204161480159061074f57506007546001600160a01b038481166101009092041614155b156104a0576104a08484845b6001600160a01b038316610785578060025f82825461077a91906109e9565b909155506107f59050565b6001600160a01b0383165f90815260208190526040902054818110156107d75760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103d7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166108115760028054829003905561082f565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161087491815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b818110156108ad57858101830151858201604001528201610891565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108e3575f80fd5b919050565b5f80604083850312156108f9575f80fd5b610902836108cd565b946020939093013593505050565b5f805f60608486031215610922575f80fd5b61092b846108cd565b9250610939602085016108cd565b9150604084013590509250925092565b5f60208284031215610959575f80fd5b610962826108cd565b9392505050565b5f60208284031215610979575f80fd5b5035919050565b5f8060408385031215610991575f80fd5b61099a836108cd565b91506109a8602084016108cd565b90509250929050565b600181811c908216806109c557607f821691505b6020821081036109e357634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561032e57634e487b7160e01b5f52601160045260245ffdfea2646970667358221220239879ca8624c60c716d6872eb76c1b061724245e7d0dab6478e9603f3c40d5c64736f6c63430008170033