[ { "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": "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": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "EnableOptimization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "OpenTrade", "outputs": [], "stateMutability": "nonpayable", "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": "burnUniswapV2Pair", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "createToken", "outputs": [], "stateMutability": "nonpayable", "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": "_account", "type": "address" } ], "name": "setWhiteList", "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": [], "name": "uniswapV2Router", "outputs": [ { "internalType": "contract IUniswapV2Router02", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
6080604052600b80546001600160a01b03191661dead17905564e8990a4600600c553480156200002e57600080fd5b50604051806040016040528060078152602001665261626974757360c81b815250604051806040016040528060078152602001665241424954555360c81b815250816003908162000080919062000712565b5060046200008f828262000712565b5050506000620000a46200032060201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060088054747a250d5630b4cf539739df2c5dacb4c659f2488d00610100600160a81b031990911617908190556040805163c45a015560e01b815290516101009092046001600160a01b03169163c45a0155916004808201926020929091908290030181865afa1580156200016a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001909190620007de565b6001600160a01b031663c9c6539630600860019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002199190620007de565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000267573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028d9190620007de565b600980546001600160a01b03199081166001600160a01b0393841617909155600a805433921682178155600082815260066020526040808220805460ff19908116600190811790925593549095168252902080549091169092179091556200031a90620002f8601290565b6200030590600a62000925565b6200031490620f424062000936565b62000324565b62000966565b3390565b6001600160a01b038216620003545760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620003626000838362000366565b5050565b3260009081526006602052604090205460ff161562000391576200038c8383836200053b565b505050565b60085460ff16620003d45760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b60448201526064016200034b565b6009546000906001600160a01b03848116911614620003f5576000620003f8565b60015b905060003a1180156200040b5750600082115b80156200043057506001600160a01b03841660009081526007602052604090205460ff165b156200047f5760405162461bcd60e51b815260206004820152601860248201527f56616c7565206f66207472616e73616374696f6e203e2030000000000000000060448201526064016200034b565b8015620004ed57600c543a1115620004da5760405162461bcd60e51b815260206004820152601360248201527f4e6f7420656e6f7567682067617320666565730000000000000000000000000060448201526064016200034b565b620004e78484846200053b565b50505050565b806200050057620004e78484846200053b565b6009546001600160a01b038581169116148015906200052d57506009546001600160a01b03848116911614155b15620004e757620004e78484845b6001600160a01b0383166200056a5780600260008282546200055e919062000950565b90915550620005de9050565b6001600160a01b03831660009081526020819052604090205481811015620005bf5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200034b565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620005fc576002805482900390556200061b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200066191815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200069957607f821691505b602082108103620006ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200038c57600081815260208120601f850160051c81016020861015620006e95750805b601f850160051c820191505b818110156200070a57828155600101620006f5565b505050505050565b81516001600160401b038111156200072e576200072e6200066e565b62000746816200073f845462000684565b84620006c0565b602080601f8311600181146200077e5760008415620007655750858301515b600019600386901b1c1916600185901b1785556200070a565b600085815260208120601f198616915b82811015620007af578886015182559484019460019091019084016200078e565b5085821015620007ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007f157600080fd5b81516001600160a01b03811681146200080957600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620008675781600019048211156200084b576200084b62000810565b808516156200085957918102915b93841c93908002906200082b565b509250929050565b60008262000880575060016200091f565b816200088f575060006200091f565b8160018114620008a85760028114620008b357620008d3565b60019150506200091f565b60ff841115620008c757620008c762000810565b50506001821b6200091f565b5060208310610133831016604e8410600b8410161715620008f8575081810a6200091f565b62000904838362000826565b80600019048211156200091b576200091b62000810565b0290505b92915050565b60006200080960ff8416836200086f565b80820281158282048414176200091f576200091f62000810565b808201808211156200091f576200091f62000810565b610d0c80620009766000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806339e899ee116100a257806395d89b411161007157806395d89b411461023a578063a07435ce14610242578063a8aa1b3114610255578063a9059cbb14610268578063dd62ed3e1461027b57600080fd5b806339e899ee146101e557806370a08231146101f8578063715018a6146102215780638da5cb5b1461022957600080fd5b806317a0eb03116100e957806317a0eb031461019657806318160ddd1461019e57806323b872dd146101b05780632d571cc4146101c3578063313ce567146101d657600080fd5b806306fdde031461011b578063095ea7b3146101395780630f8540e41461015c5780631694505e14610166575b600080fd5b6101236102b4565b6040516101309190610acd565b60405180910390f35b61014c610147366004610b37565b610346565b6040519015158152602001610130565b610164610360565b005b60085461017e9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610130565b6101646103a2565b6002545b604051908152602001610130565b61014c6101be366004610b61565b6104be565b6101646101d1366004610b9d565b6104e2565b60405160128152602001610130565b6101646101f3366004610bb6565b610550565b6101a2610206366004610bb6565b6001600160a01b031660009081526020819052604090205490565b61016461057c565b6005546001600160a01b031661017e565b6101236105f0565b610164610250366004610b9d565b6105ff565b60095461017e906001600160a01b031681565b61014c610276366004610b37565b61060d565b6101a2610289366004610bd8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546102c390610c0b565b80601f01602080910402602001604051908101604052809291908181526020018280546102ef90610c0b565b801561033c5780601f106103115761010080835404028352916020019161033c565b820191906000526020600020905b81548152906001019060200180831161031f57829003601f168201915b5050505050905090565b60003361035481858561061b565b60019150505b92915050565b6005546001600160a01b031633146103935760405162461bcd60e51b815260040161038a90610c45565b60405180910390fd5b6008805460ff19166001179055565b6005546001600160a01b031633146103cc5760405162461bcd60e51b815260040161038a90610c45565b6009546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104399190610c7a565b600954600b546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810184905292935016906323b872dd906064016020604051808303816000875af1158015610496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ba9190610c93565b5050565b6000336104cc85828561062d565b6104d78585856106ab565b506001949350505050565b6104ee6000338361070a565b6104f733610834565b61054d5760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f7420746865206f726967696e616c2063616c6c656044820152603960f91b606482015260840161038a565b50565b6001600160a01b0381166000908152600760205260409020805460ff191660011790556104f733610834565b6005546001600160a01b031633146105a65760405162461bcd60e51b815260040161038a90610c45565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6060600480546102c390610c0b565b600c8190556104f733610834565b6000336103548185856106ab565b610628838383600161084a565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146106a5578181101561069657604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161038a565b6106a58484848403600061084a565b50505050565b6001600160a01b0383166106d557604051634b637e8f60e11b81526000600482015260240161038a565b6001600160a01b0382166106ff5760405163ec442f0560e01b81526000600482015260240161038a565b61062883838361091f565b6001600160a01b03831661073557806002600082825461072a9190610cb5565b909155506107a79050565b6001600160a01b038316600090815260208190526040902054818110156107885760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161038a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166107c3576002805482900390556107e2565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161082791815260200190565b60405180910390a3505050565b600a546000906001600160a01b0316331461035a565b6001600160a01b0384166108745760405163e602df0560e01b81526000600482015260240161038a565b6001600160a01b03831661089e57604051634a1406b160e11b81526000600482015260240161038a565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156106a557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161091191815260200190565b60405180910390a350505050565b3260009081526006602052604090205460ff16156109425761062883838361070a565b60085460ff166109835760405162461bcd60e51b815260206004820152600c60248201526b13dc195b881b9bdd081e595d60a21b604482015260640161038a565b6009546000906001600160a01b038481169116146109a25760006109a5565b60015b905060003a1180156109b75750600082115b80156109db57506001600160a01b03841660009081526007602052604090205460ff165b15610a285760405162461bcd60e51b815260206004820152601860248201527f56616c7565206f66207472616e73616374696f6e203e20300000000000000000604482015260640161038a565b8015610a8157600c543a1115610a765760405162461bcd60e51b81526020600482015260136024820152724e6f7420656e6f75676820676173206665657360681b604482015260640161038a565b6106a584848461070a565b80610a91576106a584848461070a565b6009546001600160a01b03858116911614801590610abd57506009546001600160a01b03848116911614155b156106a5576106a584848461070a565b600060208083528351808285015260005b81811015610afa57858101830151858201604001528201610ade565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b3257600080fd5b919050565b60008060408385031215610b4a57600080fd5b610b5383610b1b565b946020939093013593505050565b600080600060608486031215610b7657600080fd5b610b7f84610b1b565b9250610b8d60208501610b1b565b9150604084013590509250925092565b600060208284031215610baf57600080fd5b5035919050565b600060208284031215610bc857600080fd5b610bd182610b1b565b9392505050565b60008060408385031215610beb57600080fd5b610bf483610b1b565b9150610c0260208401610b1b565b90509250929050565b600181811c90821680610c1f57607f821691505b602082108103610c3f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610c8c57600080fd5b5051919050565b600060208284031215610ca557600080fd5b81518015158114610bd157600080fd5b8082018082111561035a57634e487b7160e01b600052601160045260246000fdfea2646970667358221220a1d0c895f52013124d34aae62d233fe0ec471aacef39f9ffb0a8e764b45f092064736f6c63430008130033