Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Contract is not verified. However, we found a verified contract with the same bytecode in Blockscout DB 0x62345560663f908ae9a6861af8aa2413259e0ae4.
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
Verify & Publish
All metadata displayed below is from that contract. In order to verify current contract, click Verify & Publish button
- Contract name:
- TOXIC
- Optimization enabled
- true
- Compiler version
- v0.8.9+commit.e5eed63a
- Optimization runs
- 200
- Verified at
- 2021-11-04T22:14:48.915164Z
Contract source code
/** ____ _______________.____ _____ _________________ ________ ________ ___________ \ \ / /\_ _____/| | / _ \ / _____/\______ \ \_____ \ / _____/ \_ _____/ \ Y / | __)_ | | / /_\ \ \_____ \ | | \ / | \ / \ ___ | __)_ \ / | \| |___ / | \ / \ | ` \/ | \\ \_\ \ | \ \___/ /_______ /|_______ \\____|__ //_______ //_______ /\_______ / \______ //_______ / \/ \/ \/ \/ \/ \/ \/ \/ TG: https://t.me/velasdoge Koko'Squad: https://t.me/kokocryptosignals */ // SPDX-License-Identifier: Unlicensed pragma solidity 0.8.9; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } abstract contract Context { function _msgSender() internal view virtual returns (address ) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } library Address { function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { if (returndata.length > 0) { // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract Ownable is Context { address private _owner; address private _previousOwner; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } function geUnlockTime() public view returns (uint256) { return _lockTime; } function lock(uint256 time) public virtual onlyOwner { _previousOwner = _owner; _owner = address(0); _lockTime = block.timestamp + time; emit OwnershipTransferred(_owner, address(0)); } function unlock() public virtual { require(_previousOwner == msg.sender, "You don't have permission to unlock"); require(block.timestamp > _lockTime , "Contract is locked until 7 days"); emit OwnershipTransferred(_owner, _previousOwner); _owner = _previousOwner; } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract TOXIC is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcluded; address[] private _excluded; mapping (address => bool) private _isBlacklisted; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 1000000000 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = "TOXIC"; string private _symbol = "TX"; uint8 private _decimals = 9; uint256 public _taxFee = 2; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 10; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _burnFee = 1; uint256 private _previousBurnFee = _burnFee; uint256 public _marketingFee = 3; address public marketingWallet = 0xB83CF0D9F9f375A1a4E936927ce4E657623C7e47; uint256 public _marketingFeeBNB = 3; address payable public marketingWalletBNB = payable(marketingWallet); uint256 private _previousmarketingFee = _marketingFee; uint256 public _maxTx = 9000000 * 10**9; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 private numTokensSellToAddToLiquidity = 50000 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor () { _rOwned[_msgSender()] = _rTotal; //0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3 //0x10ED43C718714eb63d5aA57B78B54704E256024E //0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00 IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00 ); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[marketingWallet] = true; _isExcludedFromFee[marketingWalletBNB] = true; // _isExcludedFromFee[0x3a036C43bAabe2A047c990038d8FEecFE2638724] = true; //aidrop adress emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner() { require(account != 0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00, 'We can not exclude Pancake router.'); require(!_isExcluded[account], "Account is already excluded"); if(_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); return (tTransferAmount, tFee, tLiquidity); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div( 10**2 ); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div( 10**2 ); } function removeAllFee() private { if(_taxFee == 0 && _liquidityFee == 0 && _marketingFee==0 && _burnFee==0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousBurnFee = _burnFee; _previousmarketingFee = _marketingFee; _taxFee = 0; _liquidityFee = 0; _marketingFee = 0; _burnFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _burnFee = _previousBurnFee; _marketingFee = _previousmarketingFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function blacklistAddress(address account) public onlyOwner { _isBlacklisted[account] = true; } function whitelistAddress(address account) public onlyOwner { _isBlacklisted[account] = false; } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); require(_isBlacklisted[from] == false && _isBlacklisted[to] == false, "Blacklisted addresses can't do buy or sell"); if (msg.sender == uniswapV2Pair) { require(amount<_maxTx, "Transfer amount must be less them maxTx"); }else{} uint256 contractTokenBalance = balanceOf(address(this)); bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { swapAndLiquify(contractTokenBalance); } _tokenTransfer(from,to,amount); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { uint256 _totalFeesForBNB = _liquidityFee.add(_marketingFeeBNB); uint256 lpPart = contractTokenBalance.mul(_liquidityFee).div(_totalFeesForBNB); uint256 marketingAndDevelopmentPart = contractTokenBalance.sub(lpPart); uint256 half = lpPart.div(2); uint256 otherHalf = lpPart.sub(half); uint256 initialBalance = address(this).balance; swapTokensForBnb(half); uint256 newBalance = address(this).balance.sub(initialBalance); addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); if( marketingAndDevelopmentPart > 0) { initialBalance = address(this).balance; swapTokensForBnb(marketingAndDevelopmentPart); newBalance = address(this).balance.sub(initialBalance); transferToAddressBNB(marketingWalletBNB,newBalance); } else{} } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, owner(), block.timestamp ); } function _tokenTransfer(address sender, address recipient, uint256 amount) private { if(_isExcludedFromFee[sender] || _isExcludedFromFee[recipient]){ removeAllFee(); } uint256 burnAmt = amount.mul(_burnFee).div(100); uint256 marketingAmt = amount.mul(_marketingFee).div(100); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt))); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt))); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt))); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt))); } else { _transferStandard(sender, recipient, (amount.sub(burnAmt).sub(marketingAmt))); } _taxFee = 0; _liquidityFee = 0; if(burnAmt>0){ _transferStandard(sender,0x000000000000000000000000000000000000dEaD, burnAmt); }else{} if(marketingAmt>0){ _transferStandard(sender, marketingWallet, marketingAmt); }else{} _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; if(_isExcludedFromFee[sender] || _isExcludedFromFee[recipient]) restoreAllFee(); } function transferToAddressBNB(address payable recipient, uint256 amount) private { recipient.transfer(amount); } function swapTokensForBnb(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of BNB path, address(this), block.timestamp ); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setBuyBacktWallet(address wallet) external onlyOwner{ marketingWalletBNB = payable(wallet); _isExcludedFromFee[marketingWalletBNB] = true; } function setTaxFeePercent(uint256 taxFee) external onlyOwner() { _taxFee = taxFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner() { _liquidityFee = liquidityFee; } function setMarketingFeePercent(uint256 marketingFee) external onlyOwner() { _marketingFee = marketingFee; } function setBurnFeePercent(uint256 burnFee) external onlyOwner() { _burnFee = burnFee; } function setMarketBNBFee(uint256 Fee) external onlyOwner() { _marketingFeeBNB = Fee; } function set_MaxTransaction(uint256 maxTx) external onlyOwner() { _maxTx = maxTx; } function set_numTokensSellToAddToLiquidity(uint256 numToken) external onlyOwner() { numTokensSellToAddToLiquidity = numToken; } function setRouterAddress(address newRouter) public onlyOwner() { IUniswapV2Router02 _newPancakeRouter = IUniswapV2Router02(newRouter); uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this), _newPancakeRouter.WETH()); uniswapV2Router = _newPancakeRouter; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MinTokensBeforeSwapUpdated","inputs":[{"type":"uint256","name":"minTokensBeforeSwap","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SwapAndLiquify","inputs":[{"type":"uint256","name":"tokensSwapped","internalType":"uint256","indexed":false},{"type":"uint256","name":"ethReceived","internalType":"uint256","indexed":false},{"type":"uint256","name":"tokensIntoLiqudity","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapAndLiquifyEnabledUpdated","inputs":[{"type":"bool","name":"enabled","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_burnFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_liquidityFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_marketingFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_marketingFeeBNB","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_maxTx","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_taxFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"blacklistAddress","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"geUnlockTime","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"includeInReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromFee","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isExcludedFromReward","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"lock","inputs":[{"type":"uint256","name":"time","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"marketingWallet","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address payable"}],"name":"marketingWalletBNB","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"reflectionFromToken","inputs":[{"type":"uint256","name":"tAmount","internalType":"uint256"},{"type":"bool","name":"deductTransferFee","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBurnFeePercent","inputs":[{"type":"uint256","name":"burnFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBuyBacktWallet","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLiquidityFeePercent","inputs":[{"type":"uint256","name":"liquidityFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketBNBFee","inputs":[{"type":"uint256","name":"Fee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMarketingFeePercent","inputs":[{"type":"uint256","name":"marketingFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRouterAddress","inputs":[{"type":"address","name":"newRouter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setSwapAndLiquifyEnabled","inputs":[{"type":"bool","name":"_enabled","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTaxFeePercent","inputs":[{"type":"uint256","name":"taxFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"set_MaxTransaction","inputs":[{"type":"uint256","name":"maxTx","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"set_numTokensSellToAddToLiquidity","inputs":[{"type":"uint256","name":"numToken","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"swapAndLiquifyEnabled","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenFromReflection","inputs":[{"type":"uint256","name":"rAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFees","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"uniswapV2Pair","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"uniswapV2Router","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unlock","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"whitelistAddress","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
Deployed ByteCode
0x6080604052600436106102b25760003560e01c80635563fc7c11610175578063a9059cbb116100dc578063cea2695811610095578063ea2f0b371161006f578063ea2f0b3714610878578063f2fde38b14610898578063f3290d75146108b8578063ff98d32d146108d857600080fd5b8063cea26958146107f2578063dd46706414610812578063dd62ed3e1461083257600080fd5b8063a9059cbb14610747578063b6c5232414610767578063b8d704b81461077c578063c0b0fda21461079c578063c49b9a80146107b2578063ca57b75f146107d257600080fd5b806388f820201161012e57806388f82020146106865780638da5cb5b146106bf5780638ee88c53146106dd57806395d89b41146106fd578063a457c2d714610712578063a69df4b51461073257600080fd5b80635563fc7c146105ef5780636bc87c3a1461060557806370a082311461061b578063715018a61461063b57806375f0a874146106505780637830b0721461067057600080fd5b80633685d419116102195780634549b039116101d25780634549b03914610515578063457c194c1461053557806349bd5a5e146105555780634a74bb021461057557806352390c02146105965780635342acb4146105b657600080fd5b80633685d4191461045f578063395093511461047f5780633b124fe71461049f57806341566585146104b557806341cb87fc146104d5578063437823ec146104f557600080fd5b806322976e0d1161026b57806322976e0d146103a757806323b872dd146103bd578063275461d7146103dd5780632ad70b12146103fd5780632d8381191461041d578063313ce5671461043d57600080fd5b8063061c82d0146102be57806306fdde03146102e0578063095ea7b31461030b57806313114a9d1461033b5780631694505e1461035a57806318160ddd1461039257600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612995565b6108f8565b005b3480156102ec57600080fd5b506102f5610930565b60405161030291906129ae565b60405180910390f35b34801561031757600080fd5b5061032b610326366004612a1b565b6109c2565b6040519015158152602001610302565b34801561034757600080fd5b50600c545b604051908152602001610302565b34801561036657600080fd5b50601c5461037a906001600160a01b031681565b6040516001600160a01b039091168152602001610302565b34801561039e57600080fd5b50600a5461034c565b3480156103b357600080fd5b5061034c60165481565b3480156103c957600080fd5b5061032b6103d8366004612a47565b6109d9565b3480156103e957600080fd5b506102de6103f8366004612a88565b610a42565b34801561040957600080fd5b506102de610418366004612995565b610aa6565b34801561042957600080fd5b5061034c610438366004612995565b610ad5565b34801561044957600080fd5b50600f5460405160ff9091168152602001610302565b34801561046b57600080fd5b506102de61047a366004612a88565b610b59565b34801561048b57600080fd5b5061032b61049a366004612a1b565b610d10565b3480156104ab57600080fd5b5061034c60105481565b3480156104c157600080fd5b506102de6104d0366004612a88565b610d46565b3480156104e157600080fd5b506102de6104f0366004612a88565b610d91565b34801561050157600080fd5b506102de610510366004612a88565b610f63565b34801561052157600080fd5b5061034c610530366004612aba565b610fb1565b34801561054157600080fd5b506102de610550366004612995565b61103e565b34801561056157600080fd5b50601d5461037a906001600160a01b031681565b34801561058157600080fd5b50601d5461032b90600160a81b900460ff1681565b3480156105a257600080fd5b506102de6105b1366004612a88565b61106d565b3480156105c257600080fd5b5061032b6105d1366004612a88565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156105fb57600080fd5b5061034c60185481565b34801561061157600080fd5b5061034c60125481565b34801561062757600080fd5b5061034c610636366004612a88565b611238565b34801561064757600080fd5b506102de611297565b34801561065c57600080fd5b5060175461037a906001600160a01b031681565b34801561067c57600080fd5b5061034c601b5481565b34801561069257600080fd5b5061032b6106a1366004612a88565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156106cb57600080fd5b506000546001600160a01b031661037a565b3480156106e957600080fd5b506102de6106f8366004612995565b6112f9565b34801561070957600080fd5b506102f5611328565b34801561071e57600080fd5b5061032b61072d366004612a1b565b611337565b34801561073e57600080fd5b506102de611386565b34801561075357600080fd5b5061032b610762366004612a1b565b61148c565b34801561077357600080fd5b5060025461034c565b34801561078857600080fd5b5060195461037a906001600160a01b031681565b3480156107a857600080fd5b5061034c60145481565b3480156107be57600080fd5b506102de6107cd366004612ae6565b611499565b3480156107de57600080fd5b506102de6107ed366004612995565b61151b565b3480156107fe57600080fd5b506102de61080d366004612995565b61154a565b34801561081e57600080fd5b506102de61082d366004612995565b611579565b34801561083e57600080fd5b5061034c61084d366004612b01565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561088457600080fd5b506102de610893366004612a88565b6115fe565b3480156108a457600080fd5b506102de6108b3366004612a88565b611649565b3480156108c457600080fd5b506102de6108d3366004612a88565b611721565b3480156108e457600080fd5b506102de6108f3366004612995565b61176f565b6000546001600160a01b0316331461092b5760405162461bcd60e51b815260040161092290612b3a565b60405180910390fd5b601055565b6060600d805461093f90612b6f565b80601f016020809104026020016040519081016040528092919081815260200182805461096b90612b6f565b80156109b85780601f1061098d576101008083540402835291602001916109b8565b820191906000526020600020905b81548152906001019060200180831161099b57829003601f168201915b5050505050905090565b60006109cf33848461179e565b5060015b92915050565b60006109e68484846118c2565b610a388433610a3385604051806060016040528060288152602001612d34602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190611b18565b61179e565b5060019392505050565b6000546001600160a01b03163314610a6c5760405162461bcd60e51b815260040161092290612b3a565b601980546001600160a01b039092166001600160a01b0319909216821790556000908152600660205260409020805460ff19166001179055565b6000546001600160a01b03163314610ad05760405162461bcd60e51b815260040161092290612b3a565b601e55565b6000600b54821115610b3c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610922565b6000610b46611b52565b9050610b528382611b75565b9392505050565b6000546001600160a01b03163314610b835760405162461bcd60e51b815260040161092290612b3a565b6001600160a01b03811660009081526007602052604090205460ff16610beb5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610922565b60005b600854811015610d0c57816001600160a01b031660088281548110610c1557610c15612baa565b6000918252602090912001546001600160a01b03161415610cfa5760088054610c4090600190612bd6565b81548110610c5057610c50612baa565b600091825260209091200154600880546001600160a01b039092169183908110610c7c57610c7c612baa565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480610cd457610cd4612bed565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610d0481612c03565b915050610bee565b5050565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916109cf918590610a339086611bb7565b6000546001600160a01b03163314610d705760405162461bcd60e51b815260040161092290612b3a565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6000546001600160a01b03163314610dbb5760405162461bcd60e51b815260040161092290612b3a565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610df957600080fd5b505afa158015610e0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e319190612c1e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610e7957600080fd5b505afa158015610e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb19190612c1e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610ef957600080fd5b505af1158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f319190612c1e565b601d80546001600160a01b039283166001600160a01b031991821617909155601c805493909216921691909117905550565b6000546001600160a01b03163314610f8d5760405162461bcd60e51b815260040161092290612b3a565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6000600a548311156110055760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610922565b8161102457600061101584611c16565b509395506109d3945050505050565b600061102f84611c16565b509295506109d3945050505050565b6000546001600160a01b031633146110685760405162461bcd60e51b815260040161092290612b3a565b601655565b6000546001600160a01b031633146110975760405162461bcd60e51b815260040161092290612b3a565b733d1c58b6d4501e34df37cf0f664a58059a188f006001600160a01b038216141561110f5760405162461bcd60e51b815260206004820152602260248201527f57652063616e206e6f74206578636c7564652050616e63616b6520726f757465604482015261391760f11b6064820152608401610922565b6001600160a01b03811660009081526007602052604090205460ff16156111785760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610922565b6001600160a01b038116600090815260036020526040902054156111d2576001600160a01b0381166000908152600360205260409020546111b890610ad5565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6001600160a01b03811660009081526007602052604081205460ff161561127557506001600160a01b031660009081526004602052604090205490565b6001600160a01b0382166000908152600360205260409020546109d390610ad5565b6000546001600160a01b031633146112c15760405162461bcd60e51b815260040161092290612b3a565b600080546040516001600160a01b0390911690600080516020612d5c833981519152908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146113235760405162461bcd60e51b815260040161092290612b3a565b601255565b6060600e805461093f90612b6f565b60006109cf3384610a3385604051806060016040528060258152602001612d7c602591393360009081526005602090815260408083206001600160a01b038d1684529091529020549190611b18565b6001546001600160a01b031633146113ec5760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742068617665207065726d697373696f6e20746f20756e6c6044820152626f636b60e81b6064820152608401610922565b600254421161143d5760405162461bcd60e51b815260206004820152601f60248201527f436f6e7472616374206973206c6f636b656420756e74696c20372064617973006044820152606401610922565b600154600080546040516001600160a01b039384169390911691600080516020612d5c83398151915291a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b60006109cf3384846118c2565b6000546001600160a01b031633146114c35760405162461bcd60e51b815260040161092290612b3a565b601d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061151090831515815260200190565b60405180910390a150565b6000546001600160a01b031633146115455760405162461bcd60e51b815260040161092290612b3a565b601855565b6000546001600160a01b031633146115745760405162461bcd60e51b815260040161092290612b3a565b601455565b6000546001600160a01b031633146115a35760405162461bcd60e51b815260040161092290612b3a565b60008054600180546001600160a01b03199081166001600160a01b038416179091551690556115d28142612c3b565b600255600080546040516001600160a01b0390911690600080516020612d5c833981519152908390a350565b6000546001600160a01b031633146116285760405162461bcd60e51b815260040161092290612b3a565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b031633146116735760405162461bcd60e51b815260040161092290612b3a565b6001600160a01b0381166116d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610922565b600080546040516001600160a01b0380851693921691600080516020612d5c83398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461174b5760405162461bcd60e51b815260040161092290612b3a565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6000546001600160a01b031633146117995760405162461bcd60e51b815260040161092290612b3a565b601b55565b6001600160a01b0383166118005760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610922565b6001600160a01b0382166118615760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610922565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119265760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610922565b600081116119885760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610922565b6001600160a01b03831660009081526009602052604090205460ff161580156119ca57506001600160a01b03821660009081526009602052604090205460ff16155b611a295760405162461bcd60e51b815260206004820152602a60248201527f426c61636b6c6973746564206164647265737365732063616e277420646f20626044820152691d5e481bdc881cd95b1b60b21b6064820152608401610922565b601d546001600160a01b0316331415611a9d57601b548110611a9d5760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206d757374206265206c657373207468656044820152660da40dac2f0a8f60cb1b6064820152608401610922565b6000611aa830611238565b601e5490915081108015908190611ac95750601d54600160a01b900460ff16155b8015611ae35750601d546001600160a01b03868116911614155b8015611af85750601d54600160a81b900460ff165b15611b0657611b0682611c65565b611b11858585611d8a565b5050505050565b60008184841115611b3c5760405162461bcd60e51b815260040161092291906129ae565b506000611b498486612bd6565b95945050505050565b6000806000611b5f612051565b9092509050611b6e8282611b75565b9250505090565b6000610b5283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121d3565b600080611bc48385612c3b565b905083811015610b525760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610922565b6000806000806000806000806000611c2d8a612201565b9250925092506000806000611c4b8d8686611c46611b52565b61223d565b919f909e50909c50959a5093985091965092945050505050565b601d805460ff60a01b1916600160a01b179055601854601254600091611c8b9190611bb7565b90506000611cae82611ca86012548661228d90919063ffffffff16565b90611b75565b90506000611cbc848361230c565b90506000611ccb836002611b75565b90506000611cd9848361230c565b905047611ce58361234e565b6000611cf1478361230c565b9050611cfd83826124b7565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a18415611d7357479150611d508561234e565b611d5a478361230c565b601954909150611d73906001600160a01b031682612594565b5050601d805460ff60a01b19169055505050505050565b6001600160a01b03831660009081526006602052604090205460ff1680611dc957506001600160a01b03821660009081526006602052604090205460ff165b15611dd657611dd66125cf565b6000611df26064611ca86014548561228d90919063ffffffff16565b90506000611e106064611ca86016548661228d90919063ffffffff16565b6001600160a01b03861660009081526007602052604090205490915060ff168015611e5457506001600160a01b03841660009081526007602052604090205460ff16155b15611e7c57611e778585611e7284611e6c888861230c565b9061230c565b61262b565b611fa9565b6001600160a01b03851660009081526007602052604090205460ff16158015611ebd57506001600160a01b03841660009081526007602052604090205460ff165b15611eda57611e778585611ed584611e6c888861230c565b612751565b6001600160a01b03851660009081526007602052604090205460ff16158015611f1c57506001600160a01b03841660009081526007602052604090205460ff16155b15611f3957611e778585611f3484611e6c888861230c565b6127fa565b6001600160a01b03851660009081526007602052604090205460ff168015611f7957506001600160a01b03841660009081526007602052604090205460ff165b15611f9657611e778585611f9184611e6c888861230c565b61283e565b611fa98585611f3484611e6c888861230c565b600060108190556012558115611fc657611fc68561dead846127fa565b8015611fe457601754611fe49086906001600160a01b0316836127fa565b6011546010556013546012556001600160a01b03851660009081526006602052604090205460ff168061202f57506001600160a01b03841660009081526006602052604090205460ff165b15611b1157611b11601154601055601354601255601554601455601a54601655565b600b54600a546000918291825b6008548110156121a35782600360006008848154811061208057612080612baa565b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806120eb57508160046000600884815481106120c4576120c4612baa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561210157600b54600a54945094505050509091565b612147600360006008848154811061211b5761211b612baa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054849061230c565b925061218f600460006008848154811061216357612163612baa565b60009182526020808320909101546001600160a01b03168352820192909252604001902054839061230c565b91508061219b81612c03565b91505061205e565b50600a54600b546121b391611b75565b8210156121ca57600b54600a549350935050509091565b90939092509050565b600081836121f45760405162461bcd60e51b815260040161092291906129ae565b506000611b498486612c53565b600080600080612210856128b1565b9050600061221d866128cd565b9050600061222f82611e6c898661230c565b979296509094509092505050565b600080808061224c888661228d565b9050600061225a888761228d565b90506000612268888861228d565b9050600061227a82611e6c868661230c565b939b939a50919850919650505050505050565b60008261229c575060006109d3565b60006122a88385612c75565b9050826122b58583612c53565b14610b525760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610922565b6000610b5283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b18565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061238357612383612baa565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156123d757600080fd5b505afa1580156123eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240f9190612c1e565b8160018151811061242257612422612baa565b6001600160a01b039283166020918202929092010152601c54612448913091168461179e565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612481908590600090869030904290600401612c94565b600060405180830381600087803b15801561249b57600080fd5b505af11580156124af573d6000803e3d6000fd5b505050505050565b601c546124cf9030906001600160a01b03168461179e565b601c546001600160a01b031663f305d7198230856000806124f86000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561255b57600080fd5b505af115801561256f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b119190612d05565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156125ca573d6000803e3d6000fd5b505050565b6010541580156125df5750601254155b80156125eb5750601654155b80156125f75750601454155b156125fe57565b60108054601155601280546013556014805460155560168054601a55600093849055918390559082905555565b60008060008060008061263d87611c16565b6001600160a01b038f16600090815260046020526040902054959b5093995091975095509350915061266f908861230c565b6001600160a01b038a1660009081526004602090815260408083209390935560039052205461269e908761230c565b6001600160a01b03808b1660009081526003602052604080822093909355908a16815220546126cd9086611bb7565b6001600160a01b0389166000908152600360205260409020556126ef816128e9565b6126f98483612971565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161273e91815260200190565b60405180910390a3505050505050505050565b60008060008060008061276387611c16565b6001600160a01b038f16600090815260036020526040902054959b50939950919750955093509150612795908761230c565b6001600160a01b03808b16600090815260036020908152604080832094909455918b168152600490915220546127cb9084611bb7565b6001600160a01b0389166000908152600460209081526040808320939093556003905220546126cd9086611bb7565b60008060008060008061280c87611c16565b6001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061269e908761230c565b60008060008060008061285087611c16565b6001600160a01b038f16600090815260046020526040902054959b50939950919750955093509150612882908861230c565b6001600160a01b038a16600090815260046020908152604080832093909355600390522054612795908761230c565b60006109d36064611ca86010548561228d90919063ffffffff16565b60006109d36064611ca86012548561228d90919063ffffffff16565b60006128f3611b52565b90506000612901838361228d565b3060009081526003602052604090205490915061291e9082611bb7565b3060009081526003602090815260408083209390935560079052205460ff16156125ca573060009081526004602052604090205461295c9084611bb7565b30600090815260046020526040902055505050565b600b5461297e908361230c565b600b55600c5461298e9082611bb7565b600c555050565b6000602082840312156129a757600080fd5b5035919050565b600060208083528351808285015260005b818110156129db578581018301518582016040015282016129bf565b818111156129ed576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114612a1857600080fd5b50565b60008060408385031215612a2e57600080fd5b8235612a3981612a03565b946020939093013593505050565b600080600060608486031215612a5c57600080fd5b8335612a6781612a03565b92506020840135612a7781612a03565b929592945050506040919091013590565b600060208284031215612a9a57600080fd5b8135610b5281612a03565b80358015158114612ab557600080fd5b919050565b60008060408385031215612acd57600080fd5b82359150612add60208401612aa5565b90509250929050565b600060208284031215612af857600080fd5b610b5282612aa5565b60008060408385031215612b1457600080fd5b8235612b1f81612a03565b91506020830135612b2f81612a03565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612b8357607f821691505b60208210811415612ba457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015612be857612be8612bc0565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612c1757612c17612bc0565b5060010190565b600060208284031215612c3057600080fd5b8151610b5281612a03565b60008219821115612c4e57612c4e612bc0565b500190565b600082612c7057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612c8f57612c8f612bc0565b500290565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612ce45784516001600160a01b031683529383019391830191600101612cbf565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612d1a57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63658be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e045524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202d9fbfc9ee52376a297d582eb75823a846759c10ec7a35824b576f1739ece31264736f6c63430008090033