[ { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" }, { "internalType": "address", "name": "routerAddress_", "type": "address" }, { "internalType": "address", "name": "marketAddress_", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "_user", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "_status", "type": "bool" } ], "name": "LogWhiteListChanged", "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": "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": "amount", "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": "buyMarketRatio", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "buyStatus", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_maker", "type": "address" } ], "name": "isWhiteListed", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "marketAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sellMarketRatio", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "sellStatus", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "flag", "type": "bool" } ], "name": "setSellStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" }, { "internalType": "bool", "name": "flag", "type": "bool" } ], "name": "setUniswapV2PairMapping", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_evilUser", "type": "address" }, { "internalType": "bool", "name": "_status", "type": "bool" } ], "name": "setWhiteList", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "_evilUserBatch", "type": "address[]" }, { "internalType": "bool", "name": "_status", "type": "bool" } ], "name": "setWhiteListBatch", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "ratio", "type": "uint256" } ], "name": "setbuyMarketRatio", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "flag", "type": "bool" } ], "name": "setbuyStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "setmarketAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "ratio", "type": "uint256" } ], "name": "setsellMarketRatio", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "total", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "amount", "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": "amount", "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" }, { "inputs": [], "name": "uniswapV2Pair", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "uniswapV2PairMapping", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "uniswapV2Router", "outputs": [ { "internalType": "contract IUniswapV2Router02", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60806040526b166e49ae11d913d3de000000600755600a600b819055600c55600d805461ffff191690553480156200003657600080fd5b5060405162001a9038038062001a908339810160408190526200005991620005fb565b6040518060400160405280600381526020016247554160e81b8152506040518060400160405280600381526020016247554160e81b8152508160039080519060200190620000a992919062000513565b508051620000bf90600490602084019062000513565b505050620000dc620000d66200031160201b60201c565b62000315565b620000f5836007546200036760201b620009f21760201c565b600880546001600160a01b038084166001600160a01b031992831617909255600a805492851692909116821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b1580156200015a57600080fd5b505afa1580156200016f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001959190620005d6565b6001600160a01b031663c9c6539630600a60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001f357600080fd5b505afa15801562000208573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022e9190620005d6565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200027757600080fd5b505af11580156200028c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b29190620005d6565b600980546001600160a01b0319166001600160a01b039290921691821790556000908152600e60209081526040909120805460ff1916600190811790915562000307918591906200042e811b620007ec17901c565b50505050620006a9565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003c35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620003d7919062000645565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006200043a620004b5565b6001600160a01b038316600081815260066020908152604091829020805460ff191686151590811790915591519182527fc3f09c45f9f7bb10149cba84a0539e17a269b35e7d3cdbb25cce5aef82dda306910160405180910390a250506001600160a01b031660009081526006602052604090205460ff1690565b6005546001600160a01b03163314620005115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003ba565b565b82805462000521906200066c565b90600052602060002090601f01602090048101928262000545576000855562000590565b82601f106200056057805160ff191683800117855562000590565b8280016001018555821562000590579182015b828111156200059057825182559160200191906001019062000573565b506200059e929150620005a2565b5090565b5b808211156200059e5760008155600101620005a3565b80516001600160a01b0381168114620005d157600080fd5b919050565b600060208284031215620005e957600080fd5b620005f482620005b9565b9392505050565b6000806000606084860312156200061157600080fd5b6200061c84620005b9565b92506200062c60208501620005b9565b91506200063c60408501620005b9565b90509250925092565b600082198211156200066757634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200068157607f821691505b60208210811415620006a357634e487b7160e01b600052602260045260246000fd5b50919050565b6113d780620006b96000396000f3fe6080604052600436106101e75760003560e01c806379a400e911610102578063a9059cbb11610095578063d88f25ad11610064578063d88f25ad146105a5578063dd62ed3e146105c5578063f2fde38b146105e5578063f4d8ee661461060557600080fd5b8063a9059cbb1461053f578063b1d0b7251461055f578063b3ff6b9114610579578063d7c787851461058f57600080fd5b80638da5cb5b116100d15780638da5cb5b146104cc57806395623641146104ea57806395d89b411461050a578063a457c2d71461051f57600080fd5b806379a400e91461043c578063863016581461046c57806389ad93971461048c5780638d14e127146104ac57600080fd5b8063313ce5671161017a5780635b4be32b116101495780635b4be32b146103985780636f9170f6146103b857806370a08231146103f1578063715018a61461042757600080fd5b8063313ce5671461031d5780633415650e14610339578063395093511461035857806349bd5a5e1461037857600080fd5b80632086b0ff116101b65780632086b0ff146102a557806323b872dd146102c75780632c6c3dcc146102e75780632ddbd13a1461030757600080fd5b806306fdde03146101f3578063095ea7b31461021e5780631694505e1461024e57806318160ddd1461028657600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b50610208610625565b6040516102159190611224565b60405180910390f35b34801561022a57600080fd5b5061023e6102393660046110e8565b6106b7565b6040519015158152602001610215565b34801561025a57600080fd5b50600a5461026e906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b34801561029257600080fd5b506002545b604051908152602001610215565b3480156102b157600080fd5b506102c56102c03660046111f0565b6106cf565b005b3480156102d357600080fd5b5061023e6102e2366004611082565b6106f1565b3480156102f357600080fd5b506102c5610302366004611034565b610715565b34801561031357600080fd5b5061029760075481565b34801561032957600080fd5b5060405160128152602001610215565b34801561034557600080fd5b50600d5461023e90610100900460ff1681565b34801561036457600080fd5b5061023e6103733660046110e8565b61073f565b34801561038457600080fd5b5060095461026e906001600160a01b031681565b3480156103a457600080fd5b506102c56103b33660046111f0565b610761565b3480156103c457600080fd5b5061023e6103d3366004611034565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156103fd57600080fd5b5061029761040c366004611034565b6001600160a01b031660009081526020819052604090205490565b34801561043357600080fd5b506102c561077c565b34801561044857600080fd5b5061023e610457366004611034565b600e6020526000908152604090205460ff1681565b34801561047857600080fd5b506102c5610487366004611112565b610790565b34801561049857600080fd5b506102c56104a736600461120b565b6107df565b3480156104b857600080fd5b5061023e6104c73660046110be565b6107ec565b3480156104d857600080fd5b506005546001600160a01b031661026e565b3480156104f657600080fd5b5060085461026e906001600160a01b031681565b34801561051657600080fd5b50610208610871565b34801561052b57600080fd5b5061023e61053a3660046110e8565b610880565b34801561054b57600080fd5b5061023e61055a3660046110e8565b610900565b34801561056b57600080fd5b50600d5461023e9060ff1681565b34801561058557600080fd5b50610297600b5481565b34801561059b57600080fd5b50610297600c5481565b3480156105b157600080fd5b506102c56105c036600461120b565b61090e565b3480156105d157600080fd5b506102976105e036600461104f565b61091b565b3480156105f157600080fd5b506102c5610600366004611034565b610946565b34801561061157600080fd5b506102c56106203660046110be565b6109bf565b606060038054610634906112e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610660906112e9565b80156106ad5780601f10610682576101008083540402835291602001916106ad565b820191906000526020600020905b81548152906001019060200180831161069057829003601f168201915b5050505050905090565b6000336106c5818585610a9f565b5060019392505050565b6106d7610bc3565b600d80549115156101000261ff0019909216919091179055565b6000336106ff858285610c1d565b61070a858585610c97565b506001949350505050565b61071d610bc3565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000336106c5818585610752838361091b565b61075c9190611279565b610a9f565b610769610bc3565b600d805460ff1916911515919091179055565b610784610bc3565b61078e6000610f80565b565b610798610bc3565b60005b82518110156107da576107c78382815181106107b9576107b9611355565b6020026020010151836107ec565b50806107d281611324565b91505061079b565b505050565b6107e7610bc3565b600b55565b60006107f6610bc3565b6001600160a01b038316600081815260066020908152604091829020805460ff191686151590811790915591519182527fc3f09c45f9f7bb10149cba84a0539e17a269b35e7d3cdbb25cce5aef82dda306910160405180910390a250506001600160a01b031660009081526006602052604090205460ff1690565b606060048054610634906112e9565b6000338161088e828661091b565b9050838110156108f35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61070a8286868403610a9f565b6000336106c5818585610c97565b610916610bc3565b600c55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61094e610bc3565b6001600160a01b0381166109b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ea565b6109bc81610f80565b50565b6109c7610bc3565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6001600160a01b038216610a485760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108ea565b8060026000828254610a5a9190611279565b90915550506001600160a01b03821660008181526020818152604080832080548601905551848152600080516020611382833981519152910160405180910390a35050565b6001600160a01b038316610b015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ea565b6001600160a01b038216610b625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ea565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461078e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ea565b6000610c29848461091b565b90506000198114610c915781811015610c845760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ea565b610c918484848403610a9f565b50505050565b6001600160a01b03831660009081526020819052604090205481811015610d0f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108ea565b6001600160a01b0384166000908152600e6020526040902054829060ff1680610d5057506001600160a01b0384166000908152600e602052604090205460ff165b15610f00576001600160a01b0385166000908152600e602052604090205460ff1615610e3f57600d54610100900460ff16610db85760405162461bcd60e51b815260206004820152600860248201526773746f702062757960c01b60448201526064016108ea565b6000610dc684600b54610fd2565b6008546001600160a01b0316600090815260208190526040812080549293508392909190610df5908490611279565b90915550506008546040518281526001600160a01b03918216918816906000805160206113828339815191529060200160405180910390a3610e3781856112d2565b915050610f00565b600d5460ff16610e7d5760405162461bcd60e51b81526020600482015260096024820152681cdd1bdc081cd95b1b60ba1b60448201526064016108ea565b6000610e8b84600c54610fd2565b6008546001600160a01b0316600090815260208190526040812080549293508392909190610eba908490611279565b90915550506008546040518281526001600160a01b03918216918816906000805160206113828339815191529060200160405180910390a3610efc81856112d2565b9150505b6001600160a01b03808616600090815260208190526040808220868603905591861681529081208054839290610f37908490611279565b92505081905550836001600160a01b0316856001600160a01b031660008051602061138283398151915283604051610f7191815260200190565b60405180910390a35050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610fe96064610fe38585610ff0565b90610ffc565b9392505050565b6000610fe982846112b3565b6000610fe98284611291565b80356001600160a01b038116811461101f57600080fd5b919050565b8035801515811461101f57600080fd5b60006020828403121561104657600080fd5b610fe982611008565b6000806040838503121561106257600080fd5b61106b83611008565b915061107960208401611008565b90509250929050565b60008060006060848603121561109757600080fd5b6110a084611008565b92506110ae60208501611008565b9150604084013590509250925092565b600080604083850312156110d157600080fd5b6110da83611008565b915061107960208401611024565b600080604083850312156110fb57600080fd5b61110483611008565b946020939093013593505050565b6000806040838503121561112557600080fd5b823567ffffffffffffffff8082111561113d57600080fd5b818501915085601f83011261115157600080fd5b81356020828211156111655761116561136b565b8160051b604051601f19603f8301168101818110868211171561118a5761118a61136b565b604052838152828101945085830182870184018b10156111a957600080fd5b600096505b848710156111d3576111bf81611008565b8652600196909601959483019483016111ae565b5096506111e39050878201611024565b9450505050509250929050565b60006020828403121561120257600080fd5b610fe982611024565b60006020828403121561121d57600080fd5b5035919050565b600060208083528351808285015260005b8181101561125157858101830151858201604001528201611235565b81811115611263576000604083870101525b50601f01601f1916929092016040019392505050565b6000821982111561128c5761128c61133f565b500190565b6000826112ae57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156112cd576112cd61133f565b500290565b6000828210156112e4576112e461133f565b500390565b600181811c908216806112fd57607f821691505b6020821081141561131e57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156113385761133861133f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122099874dd62eeeb1553e640c419065a9ff1336a6ba5378c380aef4427f20588dfd64736f6c6343000807003300000000000000000000000097c8b36d348eecb7c4bc6a5cd1a1bbafdb3d421f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000008ff425362ac202800e0984cf67b350fe33577bfc