ETH Price: $2,459.66 (+4.04%)

Contract

0xA9687c8cfb7D1B831a4aD733173927Af83fe8c94
 

Overview

ETH Balance

0.021776336984994499 ETH

Eth Value

$53.56 (@ $2,459.66/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve186305082023-11-22 23:18:23287 days ago1700695103IN
0xA9687c8c...f83fe8c94
0 ETH0.0014467359.42400841
Approve186305072023-11-22 23:18:11287 days ago1700695091IN
0xA9687c8c...f83fe8c94
0 ETH0.0014822561.03313991
Approve182648712023-10-02 19:14:47338 days ago1696274087IN
0xA9687c8c...f83fe8c94
0 ETH0.0022773748.83925417
Approve179518932023-08-19 22:47:47382 days ago1692485267IN
0xA9687c8c...f83fe8c94
0 ETH0.0003565112.19675311
Approve178969232023-08-12 6:13:47389 days ago1691820827IN
0xA9687c8c...f83fe8c94
0 ETH0.0003156912.00987599
Approve178969232023-08-12 6:13:47389 days ago1691820827IN
0xA9687c8c...f83fe8c94
0 ETH0.0002916712.00987599
Approve174697442023-06-13 7:59:47449 days ago1686643187IN
0xA9687c8c...f83fe8c94
0 ETH0.00042414.47604641
Approve174558102023-06-11 8:52:59451 days ago1686473579IN
0xA9687c8c...f83fe8c94
0 ETH0.0005300721.82630251
Approve173908712023-06-02 5:04:11460 days ago1685682251IN
0xA9687c8c...f83fe8c94
0 ETH0.0011463124.74231605
Approve171897052023-05-04 20:33:47489 days ago1683232427IN
0xA9687c8c...f83fe8c94
0 ETH0.00463366100.06617832
Approve171896822023-05-04 20:28:59489 days ago1683232139IN
0xA9687c8c...f83fe8c94
0 ETH0.0041967290.5832848
Approve171286562023-04-26 6:35:35497 days ago1682490935IN
0xA9687c8c...f83fe8c94
0 ETH0.0010761136.81533882
Approve170726802023-04-18 9:27:23505 days ago1681810043IN
0xA9687c8c...f83fe8c94
0 ETH0.0016563435.56686819
Approve170508902023-04-15 7:18:11508 days ago1681543091IN
0xA9687c8c...f83fe8c94
0 ETH0.0007199324.63007063
Approve170388282023-04-13 13:32:11510 days ago1681392731IN
0xA9687c8c...f83fe8c94
0 ETH0.0021309145.69837782
Approve170388252023-04-13 13:31:23510 days ago1681392683IN
0xA9687c8c...f83fe8c94
0 ETH0.0023102849.54497974
Transfer170361242023-04-13 3:22:11510 days ago1681356131IN
0xA9687c8c...f83fe8c94
0 ETH0.0028185226.06099326
Transfer170338722023-04-12 19:04:59511 days ago1681326299IN
0xA9687c8c...f83fe8c94
0 ETH0.0035936235.19194225
Transfer170338672023-04-12 19:03:47511 days ago1681326227IN
0xA9687c8c...f83fe8c94
0 ETH0.0008104936.3693165
Transfer170338622023-04-12 19:02:47511 days ago1681326167IN
0xA9687c8c...f83fe8c94
0 ETH0.0008110836.39621286
Approve170317902023-04-12 11:59:35511 days ago1681300775IN
0xA9687c8c...f83fe8c94
0 ETH0.000958220.57566375
Approve170316842023-04-12 11:38:11511 days ago1681299491IN
0xA9687c8c...f83fe8c94
0 ETH0.0009016219.36053916
Approve170242902023-04-11 10:33:35512 days ago1681209215IN
0xA9687c8c...f83fe8c94
0 ETH0.0010193522.00204542
Approve170239182023-04-11 9:17:35512 days ago1681204655IN
0xA9687c8c...f83fe8c94
0 ETH0.0009531320.57276293
Transfer170238832023-04-11 9:10:35512 days ago1681204235IN
0xA9687c8c...f83fe8c94
0 ETH0.002380222.00815091
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
182649522023-10-02 19:31:11338 days ago1696275071
0xA9687c8c...f83fe8c94
0.00355342 ETH
182649522023-10-02 19:31:11338 days ago1696275071
0xA9687c8c...f83fe8c94
0.00088835 ETH
182649522023-10-02 19:31:11338 days ago1696275071
0xA9687c8c...f83fe8c94
0.00444178 ETH
171420362023-04-28 3:44:23495 days ago1682653463
0xA9687c8c...f83fe8c94
0.00366375 ETH
171420362023-04-28 3:44:23495 days ago1682653463
0xA9687c8c...f83fe8c94
0.00091593 ETH
171420362023-04-28 3:44:23495 days ago1682653463
0xA9687c8c...f83fe8c94
0.00457969 ETH
171006252023-04-22 8:14:11501 days ago1682151251
0xA9687c8c...f83fe8c94
0.00384333 ETH
171006252023-04-22 8:14:11501 days ago1682151251
0xA9687c8c...f83fe8c94
0.00096083 ETH
171006252023-04-22 8:14:11501 days ago1682151251
0xA9687c8c...f83fe8c94
0.00480417 ETH
170508942023-04-15 7:18:59508 days ago1681543139
0xA9687c8c...f83fe8c94
0.00360371 ETH
170508942023-04-15 7:18:59508 days ago1681543139
0xA9687c8c...f83fe8c94
0.00090092 ETH
170508942023-04-15 7:18:59508 days ago1681543139
0xA9687c8c...f83fe8c94
0.00450464 ETH
170388272023-04-13 13:31:59510 days ago1681392719
0xA9687c8c...f83fe8c94
0.00392102 ETH
170388272023-04-13 13:31:59510 days ago1681392719
0xA9687c8c...f83fe8c94
0.00098025 ETH
170388272023-04-13 13:31:59510 days ago1681392719
0xA9687c8c...f83fe8c94
0.00490128 ETH
170362012023-04-13 3:39:59510 days ago1681357199
0xA9687c8c...f83fe8c94
0.00367508 ETH
170362012023-04-13 3:39:59510 days ago1681357199
0xA9687c8c...f83fe8c94
0.00091877 ETH
170362012023-04-13 3:39:59510 days ago1681357199
0xA9687c8c...f83fe8c94
0.00459386 ETH
170316892023-04-12 11:39:11511 days ago1681299551
0xA9687c8c...f83fe8c94
0.02183323 ETH
170316892023-04-12 11:39:11511 days ago1681299551
0xA9687c8c...f83fe8c94
0.0054583 ETH
170316892023-04-12 11:39:11511 days ago1681299551
0xA9687c8c...f83fe8c94
0.02729153 ETH
170242962023-04-11 10:34:59512 days ago1681209299
0xA9687c8c...f83fe8c94
0.02214745 ETH
170242962023-04-11 10:34:59512 days ago1681209299
0xA9687c8c...f83fe8c94
0.00553686 ETH
170242962023-04-11 10:34:59512 days ago1681209299
0xA9687c8c...f83fe8c94
0.02768431 ETH
170182012023-04-10 13:50:35513 days ago1681134635
0xA9687c8c...f83fe8c94
0.01682853 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HONKLER

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : HONKLER.sol
/**

    Website: ClownWorldPepe.com
    Twitter: https://twitter.com/ClownWorldPepe_
    Telegram: https://t.me/ClownWorldPepe
     
**/

pragma solidity 0.8.2;

// SPDX-License-Identifier: MIT

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

interface IUniswapV2Factory {
   function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Router {
   function factory() external pure returns (address);
   function WETH() external pure returns (address);
   function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity);
   function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
}

contract HONKLER is Ownable, ERC20 {
	using SafeMath for uint256;
	
    mapping (address => uint256) public _rOwned;
    mapping (address => uint256) public _tOwned;
    mapping (address => bool) public _isExcludedFromFee;
	mapping (address => bool) public _isExcludedFromMaxTokenPerWallet;
    mapping (address => bool) public _isExcludedFromReward;
	mapping (address => bool) public _automatedMarketMakerPairs;
	
    address[] private _excluded;
	address public marketingWallet = payable(0xBf4A0c2325583C444307Fd81ADAa194B36A017De);
	
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 555555555555 * (10**18);
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;
	
	uint256 public liquidityFeeTotal;
    uint256 public marketingFeeTotal;
	
	uint256[] public liquidityFee;
	uint256[] public marketingFee;
	uint256[] public reflectionFee;
	
	uint256 private _liquidityFee;
	uint256 private _marketingFee;
	uint256 private _reflectionFee;
	
    IUniswapV2Router public uniswapV2Router;
    address public uniswapV2Pair;
	
	bool private swapping;
	bool public swapAndLiquifyEnabled;
	
    uint256 public swapTokensAtAmount = 500000000 * (10**18);
	uint256 public maxTokenPerWallet = 11111111110 * (10**18);
	
	event SwapTokensAmountUpdated(uint256 amount);
	event MarketingWalletUpdated(address newWallet);
	event SwapAndLiquifyStatusUpdated(bool status);
	event AutomatedMarketMakerPairUpdated(address pair, bool status);
	event MigrateTokens(address token, address receiver, uint256 amount);
	event TransferETH(address recipient, uint256 amount);
	event LiquidityFeeUpdated(uint256 buy, uint256 sell, uint256 p2p);
	event MarketingFeeUpdated(uint256 buy, uint256 sell, uint256 p2p);
	event ReflectionFeeUpdated(uint256 buy, uint256 sell, uint256 p2p);
	
    constructor (address owner) ERC20("Clown World Pepe", "$HONKLER") {
        _rOwned[owner] = _rTotal;
        
        uniswapV2Router = IUniswapV2Router(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

		_setAutomatedMarketMakerPair(uniswapV2Pair, true);
		
        _isExcludedFromFee[owner] = true;
        _isExcludedFromFee[address(this)] = true;
		
		_isExcludedFromMaxTokenPerWallet[address(uniswapV2Pair)] = true;
		_isExcludedFromMaxTokenPerWallet[address(this)] = true;
		_isExcludedFromMaxTokenPerWallet[owner] = true;
		
		liquidityFee.push(100);
		liquidityFee.push(100);
		liquidityFee.push(0);
		
		marketingFee.push(200);
		marketingFee.push(200);
		marketingFee.push(0);

		reflectionFee.push(100);
		reflectionFee.push(100);
		reflectionFee.push(0);
		
		_excludeFromReward(address(uniswapV2Pair));
		_excludeFromReward(address(this));
		
		swapAndLiquifyEnabled = true;
		
        emit Transfer(address(0), owner, _tTotal);
    }
	
	receive() external payable {}

    function totalSupply() public override pure returns (uint256) {
        return _tTotal;
    }
	
	function excludeFromFee(address account, bool status) external onlyOwner {
	    require(_isExcludedFromFee[account] != status, "Account is already the value of 'status'");
	    _isExcludedFromFee[account] = status;
	}
	
	function excludeFromMaxTokenPerWallet(address account, bool status) external onlyOwner {
	    require(_isExcludedFromMaxTokenPerWallet[account] != status, "Account is already the value of 'status'");
	    _isExcludedFromMaxTokenPerWallet[account] = status;
	}
	
	function excludeFromReward(address account) public onlyOwner() {
        require(!_isExcludedFromReward[account], "Account is already excluded");
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcludedFromReward[account] = true;
        _excluded.push(account);
    }
	
    function includeInReward(address account) external onlyOwner() {
        require(_isExcludedFromReward[account], "Account is already included");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcludedFromReward[account] = false;
                _excluded.pop();
                break;
            }
        }
    }
	
	function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
  	    require(amount <= totalSupply(), "Amount cannot be over the total supply.");
		
		swapTokensAtAmount = amount;
		emit SwapTokensAmountUpdated(amount);
  	}
	
	function setMarketingWallet(address payable _marketingWallet) external onlyOwner{
	   require(_marketingWallet != address(0), "Zero address");
	   
	   marketingWallet = _marketingWallet;
	   emit MarketingWalletUpdated(_marketingWallet);
    }
	
	function setSwapAndLiquifyEnabled(bool status) external onlyOwner {
        require(swapAndLiquifyEnabled != status, "Account is already the value of 'status'");
		
		swapAndLiquifyEnabled = status;
		emit SwapAndLiquifyStatusUpdated(status);
    }
	
	function setAutomatedMarketMakerPair(address pair, bool status) external onlyOwner {
        require(_automatedMarketMakerPairs[pair] != status, "Automated market maker pair is already set to that value");
        require(pair != address(uniswapV2Pair), "The pair cannot be removed from automatedMarketMakerPairs");
		
		_automatedMarketMakerPairs[address(pair)] = status;
		emit AutomatedMarketMakerPairUpdated(pair, status);
    }
	
	function setLiquidityFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner {
	    require(marketingFee[0] + reflectionFee[0] + buy  <= 600, "Max fee limit reached for 'BUY'");
		require(marketingFee[1] + reflectionFee[1] + sell <= 600, "Max fee limit reached for 'SELL'");
		require(marketingFee[2] + reflectionFee[2] + p2p  <= 600, "Max fee limit reached for 'P2P'");
		
		liquidityFee[0] = buy;
		liquidityFee[1] = sell;
		liquidityFee[2] = p2p;
		
		emit LiquidityFeeUpdated(buy, sell, p2p);
	}
	
	function setMarketingFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner {
	    require(liquidityFee[0] + reflectionFee[0] + buy  <= 600, "Max fee limit reached for 'BUY'");
		require(liquidityFee[1] + reflectionFee[1] + sell <= 600, "Max fee limit reached for 'SELL'");
		require(liquidityFee[2] + reflectionFee[2] + p2p  <= 600, "Max fee limit reached for 'P2P'");
		
		marketingFee[0] = buy;
		marketingFee[1] = sell;
		marketingFee[2] = p2p;
		
		emit MarketingFeeUpdated(buy, sell, p2p);
	}
	
	function setReflectionFee(uint256 buy, uint256 sell, uint256 p2p) external onlyOwner {
	    require(liquidityFee[0] + marketingFee[0] + buy  <= 600, "Max fee limit reached for 'BUY'");
		require(liquidityFee[1] + marketingFee[1] + sell <= 600, "Max fee limit reached for 'SELL'");
		require(liquidityFee[2] + marketingFee[2] + p2p  <= 600, "Max fee limit reached for 'P2P'");
		
		reflectionFee[0] = buy;
		reflectionFee[1] = sell;
		reflectionFee[2] = p2p;
		
		emit ReflectionFeeUpdated(buy, sell, p2p);
	}

    function balanceOf(address account) public override view returns (uint256) {
        if (_isExcludedFromReward[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }
	
    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) internal {
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcludedFromReward[account] = true;
        _excluded.push(account);
    }
	
    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(_automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value");
        _automatedMarketMakerPairs[pair] = value;
    }
	
    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) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tMarketing) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, tMarketing, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity, tMarketing);
    }
	
    function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256) {
		uint256 tFee = calculateReflectionFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tMarketing = calculateMarketingFee(tAmount);
		
		uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub(tMarketing);
        return (tTransferAmount, tFee, tLiquidity, tMarketing);
    }
	
    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tMarketing, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rMarketing = tMarketing.mul(currentRate);
		
		uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub(rMarketing);
        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(_isExcludedFromReward[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }
	
    function _takeMarketing(uint256 tMarketing) private {
        uint256 currentRate =  _getRate();
        uint256 rMarketing = tMarketing.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing);
        if(_isExcludedFromReward[address(this)])
           _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing);
    }
	
    function calculateReflectionFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_reflectionFee).div(10000);
    }
	
    function calculateMarketingFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_marketingFee).div(10000);
    }
	
    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_liquidityFee).div(10000);
    }
	
    function removeAllFee() private {
       _reflectionFee = 0;
       _marketingFee = 0;
       _liquidityFee = 0;
    }
	
    function applyBuyFee() private {
	   _reflectionFee = reflectionFee[0];
       _marketingFee = marketingFee[0];
       _liquidityFee = liquidityFee[0];
    }
	
	function applySellFee() private {
	   _reflectionFee = reflectionFee[1];
       _marketingFee = marketingFee[1];
       _liquidityFee = liquidityFee[1];
    }
	
	function applyP2PFee() private {
	   _reflectionFee = reflectionFee[2];
       _marketingFee = marketingFee[2];
       _liquidityFee = liquidityFee[2];
    }
	
    function _transfer(address from, address to, uint256 amount) internal override{
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
		
		if(!_isExcludedFromMaxTokenPerWallet[to])
		{
            uint256 balanceRecepient = balanceOf(to);
            require(balanceRecepient + amount <= maxTokenPerWallet, "Exceeds maximum token per wallet limit");
        }
		
        uint256 contractTokenBalance = balanceOf(address(this));
		bool canSwap = contractTokenBalance >= swapTokensAtAmount;
		
        if (canSwap && !swapping && _automatedMarketMakerPairs[to] && swapAndLiquifyEnabled) 
		{
		    uint256 tokenToLiqudity = liquidityFeeTotal.div(2);
			uint256 tokenToMarketing = marketingFeeTotal;
			uint256 tokenToSwap = tokenToLiqudity.add(tokenToMarketing);
			
			if(tokenToSwap >= swapTokensAtAmount) 
			{
			    swapping = true;
				
				uint256 initialBalance = address(this).balance;
				swapTokensForETH(swapTokensAtAmount);
				uint256 newBalance = address(this).balance.sub(initialBalance);
				
				uint256 liqudityPart = newBalance.mul(tokenToLiqudity).div(tokenToSwap);
				uint256 marketingPart = newBalance - liqudityPart;
				
				if(liqudityPart > 0)
				{
				    uint256 liqudityToken = swapTokensAtAmount.mul(tokenToLiqudity).div(tokenToSwap);
					addLiquidity(liqudityToken, liqudityPart);
					liquidityFeeTotal = liquidityFeeTotal.sub(liqudityToken).sub(liqudityToken);
				}
				if(marketingPart > 0) 
				{
				    payable(marketingWallet).transfer(marketingPart);
					marketingFeeTotal = marketingFeeTotal.sub(swapTokensAtAmount.mul(tokenToMarketing).div(tokenToSwap));
				}
				swapping = false;
			}
        }
		
        bool takeFee = true;
        if(_isExcludedFromFee[from] || _isExcludedFromFee[to])
		{
            takeFee = false;
        }
        _tokenTransfer(from, to, amount, takeFee);
    }
	
    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
		
		if(!takeFee) 
		{
		    removeAllFee();
		}
		else if(!_automatedMarketMakerPairs[sender] && !_automatedMarketMakerPairs[recipient])
		{
		    applyP2PFee();
		}
		else if(_automatedMarketMakerPairs[recipient])
		{
		    applySellFee();
		}
		else
		{
		    applyBuyFee();
		}
		
        if (_isExcludedFromReward[sender] && !_isExcludedFromReward[recipient]) 
		{
            _transferFromExcluded(sender, recipient, amount);
        } 
		else if (!_isExcludedFromReward[sender] && _isExcludedFromReward[recipient]) 
		{
            _transferToExcluded(sender, recipient, amount);
        } 
		else if (!_isExcludedFromReward[sender] && !_isExcludedFromReward[recipient]) 
		{
            _transferStandard(sender, recipient, amount);
        } 
		else if (_isExcludedFromReward[sender] && _isExcludedFromReward[recipient]) 
		{
            _transferBothExcluded(sender, recipient, amount);
        } 
		else 
		{
            _transferStandard(sender, recipient, amount);
        }
    }
	
    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tMarketing) = _getValues(tAmount);
        
		_rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _takeMarketing(tMarketing);
        _reflectFee(rFee, tFee);
		
		liquidityFeeTotal += tLiquidity;
        marketingFeeTotal += tMarketing;
		
		if(tMarketing.add(tLiquidity) > 0)
		{
		    emit Transfer(sender, address(this), tMarketing.add(tLiquidity));
		}
        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, uint256 tMarketing) = _getValues(tAmount);

		_rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);           
        _takeLiquidity(tLiquidity);
        _takeMarketing(tMarketing);
        _reflectFee(rFee, tFee);
		
		liquidityFeeTotal += tLiquidity;
        marketingFeeTotal += tMarketing;
		
		if(tMarketing.add(tLiquidity) > 0)
		{
		    emit Transfer(sender, address(this), tMarketing.add(tLiquidity));
		}
        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, uint256 tMarketing) = _getValues(tAmount);

		_tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);   
        _takeLiquidity(tLiquidity);
        _takeMarketing(tMarketing);
        _reflectFee(rFee, tFee);
		
		liquidityFeeTotal += tLiquidity;
        marketingFeeTotal += tMarketing;
		
		if(tMarketing.add(tLiquidity) > 0)
		{
		    emit Transfer(sender, address(this), tMarketing.add(tLiquidity));
		}
        emit Transfer(sender, recipient, tTransferAmount);
    }
	
	function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tMarketing) = _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);
        _takeMarketing(tMarketing);
        _reflectFee(rFee, tFee);
		
		liquidityFeeTotal += tLiquidity;
        marketingFeeTotal += tMarketing;
		
		if(tMarketing.add(tLiquidity) > 0)
		{
		    emit Transfer(sender, address(this), tMarketing.add(tLiquidity));
		}
        emit Transfer(sender, recipient, tTransferAmount);
    }
	
	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,
            address(this),
            block.timestamp
        );
    }
	
	function migrateTokens(address token, address receiver, uint256 amount) external onlyOwner{
       require(token != address(0), "Zero address");
	   require(receiver != address(0), "Zero address");
	   require(token != address(this), "Incorrect Token Address");
	   require(IERC20(token).balanceOf(address(this)) >= amount, "Insufficient balance on contract");  
	   
	   IERC20(token).transfer(address(receiver), amount);
       emit MigrateTokens(token, receiver, amount);
    }
	
	function resetFee(address receiver) external onlyOwner{
	   liquidityFeeTotal = 0;
       marketingFeeTotal = 0;
	   
	   emit MigrateTokens(address(this), address(receiver), balanceOf(address(this)));
	   IERC20(address(this)).transfer(address(receiver), balanceOf(address(this)));
    }
	
	function migrateETH(address payable recipient) external onlyOwner{
	   require(recipient != address(0), "Zero address");
	   
	   emit TransferETH(recipient, address(this).balance);
       recipient.transfer(address(this).balance);
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        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);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 7 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","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":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"AutomatedMarketMakerPairUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"LiquidityFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"MarketingFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newWallet","type":"address"}],"name":"MarketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MigrateTokens","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":false,"internalType":"uint256","name":"buy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"ReflectionFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SwapAndLiquifyStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapTokensAmountUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferETH","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromMaxTokenPerWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_rOwned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_tOwned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":"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":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"excludeFromMaxTokenPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"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":"uint256","name":"","type":"uint256"}],"name":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"migrateETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrateTokens","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reflectionFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"resetFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"},{"internalType":"uint256","name":"p2p","type":"uint256"}],"name":"setReflectionFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600d80546001600160a01b03191673bf4a0c2325583c444307fd81adaa194b36a017de179055620000456c070318c8e574c41eac8dac000060001962000b52565b620000539060001962000add565b600e556b019d971e4fe8401e74000000601a556b23e6e54c35a137a43b580000601b553480156200008357600080fd5b50604051620042ee380380620042ee833981016040819052620000a69162000a9d565b6040518060400160405280601081526020016f436c6f776e20576f726c64205065706560801b81525060405180604001604052806008815260200167122427a725a622a960c11b8152506200010a620001046200051260201b60201c565b62000516565b81516200011f906004906020850190620009f7565b50805162000135906005906020840190620009f7565b5050600e546001600160a01b0380841660009081526006602090815260409182902093909355601880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790819055815163c45a015560e01b815291519216935063c45a0155926004808301939192829003018186803b158015620001b857600080fd5b505afa158015620001cd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f3919062000a9d565b6001600160a01b031663c9c6539630601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200025157600080fd5b505afa15801562000266573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200028c919062000a9d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002d557600080fd5b505af1158015620002ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000310919062000a9d565b601980546001600160a01b0319166001600160a01b0392831617908190556200033c9116600162000566565b6001600160a01b0381811660008181526008602090815260408083208054600160ff199182168117909255308086528386208054831684179055601980548916875260099095528386208054831684179055855282852080548216831790559484529083208054909416811790935560128054808501825560647fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34449182018190558254808701845582018190558254808701909355910183905560138054808601825560c87f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a090918201819055825480880184558201558154808701909255018390556014805480860182558185527fce6d7b5282bd9a3661ae061feed1dbda4e52ab073b1f9285be6e155d9c38d4ec90810183905581548087018355810192909255805494850190559290920155546200049791166200062c565b620004a2306200062c565b6019805460ff60a81b1916600160a81b1790556040516001600160a01b038216906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9062000503906c070318c8e574c41eac8dac0000815260200190565b60405180910390a35062000b95565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600b602052604090205460ff1615158115151415620006015760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6001600160a01b0381166000908152600660205260409020541562000689576001600160a01b0381166000908152600660205260409020546200066f90620006ef565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600a60205260408120805460ff19166001908117909155600c805491820181559091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169091179055565b6000600e54821115620007585760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401620005f8565b60006200076462000787565b9050620007808184620007ba60201b62001eb51790919060201c565b9392505050565b6000808062000795620007c8565b91509150620007b38183620007ba60201b62001eb51790919060201c565b9250505090565b600062000780828462000ac6565b600e5460009081906c070318c8e574c41eac8dac0000825b600c5481101562000990578260066000600c84815481106200081257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806200088d57508160076000600c84815481106200086657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15620008b157600e546c070318c8e574c41eac8dac000094509450505050620009e5565b6200091460066000600c8481548110620008db57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054859162001ec8620009e9821b17901c565b92506200097960076000600c84815481106200094057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054849162001ec8620009e9821b17901c565b915080620009878162000b34565b915050620007e0565b50620009ba6c070318c8e574c41eac8dac0000600e54620007ba60201b62001eb51790919060201c565b821015620009df57600e546c070318c8e574c41eac8dac0000935093505050620009e5565b90925090505b9091565b600062000780828462000add565b82805462000a059062000af7565b90600052602060002090601f01602090048101928262000a29576000855562000a74565b82601f1062000a4457805160ff191683800117855562000a74565b8280016001018555821562000a74579182015b8281111562000a7457825182559160200191906001019062000a57565b5062000a8292915062000a86565b5090565b5b8082111562000a82576000815560010162000a87565b60006020828403121562000aaf578081fd5b81516001600160a01b038116811462000780578182fd5b60008262000ad85762000ad862000b7f565b500490565b60008282101562000af25762000af262000b69565b500390565b60028104600182168062000b0c57607f821691505b6020821081141562000b2e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000b4b5762000b4b62000b69565b5060010190565b60008262000b645762000b6462000b7f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6137498062000ba56000396000f3fe6080604052600436106102815760003560e01c806375f0a8741161014f578063a918299c116100c1578063dd62ed3e1161007a578063dd62ed3e146107f1578063df8408fe14610811578063e2f4560514610831578063ea0a605f14610847578063f2fde38b14610867578063fcef88671461088757610288565b8063a918299c14610721578063a9b232d914610741578063afa4f3b214610771578063c065d7f014610791578063c49b9a80146107b1578063d86daab1146107d157610288565b8063957537f911610113578063957537f91461066c57806395d89b411461068c5780639a7a23d6146106a1578063a046bc78146106c1578063a457c2d7146106e1578063a9059cbb1461070157610288565b806375f0a874146105c8578063768dc710146105e85780637a8baf521461061857806382fb71191461062e5780638da5cb5b1461064e57610288565b806339509351116101f35780635d098b38116101ac5780635d098b38146105275780636ba5b8b81461054757806370a082311461055d578063715018a61461057d578063735039d11461059257806374da7cd8146105a857610288565b806339509351146104495780633b7e6d4a146104695780633c6ca5c11461049657806349bd5a5e146104c65780634a74bb02146104e657806352390c021461050757610288565b806318160ddd1161024557806318160ddd1461037d57806323b872dd1461039d57806328e6c7e7146103bd5780632d838119146103ed578063313ce5671461040d5780633685d4191461042957610288565b806301d7532d1461028d57806306fdde03146102af578063095ea7b3146102da5780630cfc15f91461030a5780631694505e1461034557610288565b3661028857005b600080fd5b34801561029957600080fd5b506102ad6102a836600461332a565b6108a7565b005b3480156102bb57600080fd5b506102c4610922565b6040516102d19190613442565b60405180910390f35b3480156102e657600080fd5b506102fa6102f5366004613357565b6109b4565b60405190151581526020016102d1565b34801561031657600080fd5b5061033761032536600461327a565b60066020526000908152604090205481565b6040519081526020016102d1565b34801561035157600080fd5b50601854610365906001600160a01b031681565b6040516001600160a01b0390911681526020016102d1565b34801561038957600080fd5b506c070318c8e574c41eac8dac0000610337565b3480156103a957600080fd5b506102fa6103b83660046132ea565b6109cc565b3480156103c957600080fd5b506102fa6103d836600461327a565b60096020526000908152604090205460ff1681565b3480156103f957600080fd5b506103376104083660046133ba565b6109f0565b34801561041957600080fd5b50604051601281526020016102d1565b34801561043557600080fd5b506102ad61044436600461327a565b610a76565b34801561045557600080fd5b506102fa610464366004613357565b610c44565b34801561047557600080fd5b5061033761048436600461327a565b60076020526000908152604090205481565b3480156104a257600080fd5b506102fa6104b136600461327a565b600a6020526000908152604090205460ff1681565b3480156104d257600080fd5b50601954610365906001600160a01b031681565b3480156104f257600080fd5b506019546102fa90600160a81b900460ff1681565b34801561051357600080fd5b506102ad61052236600461327a565b610c66565b34801561053357600080fd5b506102ad61054236600461327a565b610d97565b34801561055357600080fd5b5061033760105481565b34801561056957600080fd5b5061033761057836600461327a565b610e1a565b34801561058957600080fd5b506102ad610e82565b34801561059e57600080fd5b5061033760115481565b3480156105b457600080fd5b506102ad6105c336600461327a565b610e96565b3480156105d457600080fd5b50600d54610365906001600160a01b031681565b3480156105f457600080fd5b506102fa61060336600461327a565b60086020526000908152604090205460ff1681565b34801561062457600080fd5b50610337601b5481565b34801561063a57600080fd5b506103376106493660046133ba565b610f3a565b34801561065a57600080fd5b506000546001600160a01b0316610365565b34801561067857600080fd5b506102ad6106873660046132ea565b610f5b565b34801561069857600080fd5b506102c46111a3565b3480156106ad57600080fd5b506102ad6106bc36600461332a565b6111b2565b3480156106cd57600080fd5b506103376106dc3660046133ba565b611336565b3480156106ed57600080fd5b506102fa6106fc366004613357565b611346565b34801561070d57600080fd5b506102fa61071c366004613357565b6113c1565b34801561072d57600080fd5b506102ad61073c3660046133ea565b6113cf565b34801561074d57600080fd5b506102fa61075c36600461327a565b600b6020526000908152604090205460ff1681565b34801561077d57600080fd5b506102ad61078c3660046133ba565b611658565b34801561079d57600080fd5b506102ad6107ac3660046133ea565b611702565b3480156107bd57600080fd5b506102ad6107cc366004613382565b61198b565b3480156107dd57600080fd5b506102ad6107ec36600461327a565b611a11565b3480156107fd57600080fd5b5061033761080c3660046132b2565b611b06565b34801561081d57600080fd5b506102ad61082c36600461332a565b611b31565b34801561083d57600080fd5b50610337601a5481565b34801561085357600080fd5b506102ad6108623660046133ea565b611ba3565b34801561087357600080fd5b506102ad61088236600461327a565b611e2c565b34801561089357600080fd5b506103376108a23660046133ba565b611ea5565b6108af611ed4565b6001600160a01b03821660009081526009602052604090205460ff16151581151514156108f75760405162461bcd60e51b81526004016108ee90613529565b60405180910390fd5b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60606004805461093190613684565b80601f016020809104026020016040519081016040528092919081815260200182805461095d90613684565b80156109aa5780601f1061097f576101008083540402835291602001916109aa565b820191906000526020600020905b81548152906001019060200180831161098d57829003601f168201915b5050505050905090565b6000336109c2818585611f2e565b5060019392505050565b6000336109da858285612052565b6109e58585856120cc565b506001949350505050565b6000600e54821115610a575760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016108ee565b6000610a616124ab565b9050610a6d8382611eb5565b9150505b919050565b610a7e611ed4565b6001600160a01b0381166000908152600a602052604090205460ff16610ae65760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c75646564000000000060448201526064016108ee565b60005b600c54811015610c4057816001600160a01b0316600c8281548110610b1e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c2e57600c8054610b499060019061366d565b81548110610b6757634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600c80546001600160a01b039092169183908110610ba157634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600a90925220805460ff19169055600c805480610c0757634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610c40565b80610c38816136bf565b915050610ae9565b5050565b6000336109c2818585610c578383611b06565b610c619190613616565b611f2e565b610c6e611ed4565b6001600160a01b0381166000908152600a602052604090205460ff1615610cd75760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108ee565b6001600160a01b03811660009081526006602052604090205415610d31576001600160a01b038116600090815260066020526040902054610d17906109f0565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600a60205260408120805460ff19166001908117909155600c805491820181559091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169091179055565b610d9f611ed4565b6001600160a01b038116610dc55760405162461bcd60e51b81526004016108ee906134cc565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e7906020015b60405180910390a150565b6001600160a01b0381166000908152600a602052604081205460ff1615610e5a57506001600160a01b038116600090815260076020526040902054610a71565b6001600160a01b038216600090815260066020526040902054610e7c906109f0565b92915050565b610e8a611ed4565b610e9460006124ce565b565b610e9e611ed4565b6001600160a01b038116610ec45760405162461bcd60e51b81526004016108ee906134cc565b604080516001600160a01b03831681524760208201527ffd69c215b8b91dab5e96ff0bcbaf5dc372919948eea2003ae16481c036f816f8910160405180910390a16040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610c40573d6000803e3d6000fd5b60138181548110610f4a57600080fd5b600091825260209091200154905081565b610f63611ed4565b6001600160a01b038316610f895760405162461bcd60e51b81526004016108ee906134cc565b6001600160a01b038216610faf5760405162461bcd60e51b81526004016108ee906134cc565b6001600160a01b0383163014156110085760405162461bcd60e51b815260206004820152601760248201527f496e636f727265637420546f6b656e204164647265737300000000000000000060448201526064016108ee565b6040516370a0823160e01b815230600482015281906001600160a01b038516906370a082319060240160206040518083038186803b15801561104957600080fd5b505afa15801561105d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108191906133d2565b10156110cf5760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e742062616c616e6365206f6e20636f6e747261637460448201526064016108ee565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561111957600080fd5b505af115801561112d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611151919061339e565b50604080516001600160a01b038086168252841660208201529081018290527fc7372460dc9d750a8e86aab4229750d8df3d2d3a19784820f83c00c986e00611906060015b60405180910390a1505050565b60606005805461093190613684565b6111ba611ed4565b6001600160a01b0382166000908152600b602052604090205460ff161515811515141561124f5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016108ee565b6019546001600160a01b03838116911614156112d35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108ee565b6001600160a01b0382166000818152600b6020908152604091829020805460ff19168515159081179091558251938452908301527fef0b71f3a695ce5a89064cc2745d0c503cf766ed985e781607660be6010b8e90910160405180910390a15050565b60128181548110610f4a57600080fd5b600033816113548286611b06565b9050838110156113b45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108ee565b6109e58286868403611f2e565b6000336109c28185856120cc565b6113d7611ed4565b6102588360146000815481106113fd57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260008154811061142a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015461143f9190613616565b6114499190613616565b11156114675760405162461bcd60e51b81526004016108ee90613495565b61025882601460018154811061148d57634e487b7160e01b600052603260045260246000fd5b906000526020600020015460126001815481106114ba57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546114cf9190613616565b6114d99190613616565b11156114f75760405162461bcd60e51b81526004016108ee90613571565b61025881601460028154811061151d57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260028154811061154a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015461155f9190613616565b6115699190613616565b11156115875760405162461bcd60e51b81526004016108ee906134f2565b8260136000815481106115aa57634e487b7160e01b600052603260045260246000fd5b90600052602060002001819055508160136001815481106115db57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080601360028154811061160c57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001919091556040805185815291820184905281018290527f3044b38769c2aa50acc652d2a51ec6a0712bb556a8cb713ee35dcf2ef3f0507590606001611196565b611660611ed4565b6c070318c8e574c41eac8dac00008111156116cd5760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b60648201526084016108ee565b601a8190556040518181527f28ea3a80049e637c2f1bf658d47a07f688bea6e931f3c1930cf4a4daf97b186090602001610e0f565b61170a611ed4565b61025883601360008154811061173057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260008154811061175d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546117729190613616565b61177c9190613616565b111561179a5760405162461bcd60e51b81526004016108ee90613495565b6102588260136001815481106117c057634e487b7160e01b600052603260045260246000fd5b906000526020600020015460126001815481106117ed57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546118029190613616565b61180c9190613616565b111561182a5760405162461bcd60e51b81526004016108ee90613571565b61025881601360028154811061185057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260028154811061187d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546118929190613616565b61189c9190613616565b11156118ba5760405162461bcd60e51b81526004016108ee906134f2565b8260146000815481106118dd57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081601460018154811061190e57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080601460028154811061193f57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001919091556040805185815291820184905281018290527fba16035156e8913004ada62e7f85968008b3a45502bd335816bc697aed12374190606001611196565b611993611ed4565b60195460ff600160a81b90910416151581151514156119c45760405162461bcd60e51b81526004016108ee90613529565b60198054821515600160a81b0260ff60a81b199091161790556040517f083ec94fdbe7b9156108be7401c9808cd45be92d8bcba03f203523515831146c90610e0f90831515815260200190565b611a19611ed4565b600060108190556011557fc7372460dc9d750a8e86aab4229750d8df3d2d3a19784820f83c00c986e006113082611a4f82610e1a565b604080516001600160a01b0394851681529390921660208401529082015260600160405180910390a13063a9059cbb82611a8883610e1a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611ace57600080fd5b505af1158015611ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c40919061339e565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b611b39611ed4565b6001600160a01b03821660009081526008602052604090205460ff1615158115151415611b785760405162461bcd60e51b81526004016108ee90613529565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b611bab611ed4565b610258836014600081548110611bd157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546013600081548110611bfe57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611c139190613616565b611c1d9190613616565b1115611c3b5760405162461bcd60e51b81526004016108ee90613495565b610258826014600181548110611c6157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546013600181548110611c8e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611ca39190613616565b611cad9190613616565b1115611ccb5760405162461bcd60e51b81526004016108ee90613571565b610258816014600281548110611cf157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546013600281548110611d1e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611d339190613616565b611d3d9190613616565b1115611d5b5760405162461bcd60e51b81526004016108ee906134f2565b826012600081548110611d7e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200181905550816012600181548110611daf57634e487b7160e01b600052603260045260246000fd5b9060005260206000200181905550806012600281548110611de057634e487b7160e01b600052603260045260246000fd5b600091825260209182902001919091556040805185815291820184905281018290527fa2e3a2fc9e2d3de89081c9ccf4a886d5b03b390a0143445e31a9bb4a1f49556490606001611196565b611e34611ed4565b6001600160a01b038116611e995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ee565b611ea2816124ce565b50565b60148181548110610f4a57600080fd5b6000611ec1828461362e565b9392505050565b6000611ec1828461366d565b6000546001600160a01b03163314610e945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ee565b6001600160a01b038316611f905760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ee565b6001600160a01b038216611ff15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ee565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061205e8484611b06565b905060001981146120c657818110156120b95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ee565b6120c68484848403611f2e565b50505050565b6001600160a01b0383166121305760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ee565b6001600160a01b0382166121925760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ee565b600081116121f45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108ee565b6001600160a01b03821660009081526009602052604090205460ff1661228e57600061221f83610e1a565b601b5490915061222f8383613616565b111561228c5760405162461bcd60e51b815260206004820152602660248201527f45786365656473206d6178696d756d20746f6b656e207065722077616c6c6574604482015265081b1a5b5a5d60d21b60648201526084016108ee565b505b600061229930610e1a565b601a54909150811080159081906122ba5750601954600160a01b900460ff16155b80156122de57506001600160a01b0384166000908152600b602052604090205460ff165b80156122f35750601954600160a81b900460ff165b1561244c57601054600090612309906002611eb5565b601154909150600061231b838361251e565b9050601a548110612448576019805460ff60a01b1916600160a01b179055601a5447906123479061252a565b60006123534783611ec8565b9050600061236b8461236584896126a7565b90611eb5565b90506000612379828461366d565b905081156123cc57600061239c866123658a601a546126a790919063ffffffff16565b90506123a881846126b3565b6123c7816123c183601054611ec890919063ffffffff16565b90611ec8565b601055505b801561243657600d546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561240c573d6000803e3d6000fd5b506124326124298661236589601a546126a790919063ffffffff16565b60115490611ec8565b6011555b50506019805460ff60a01b1916905550505b5050505b6001600160a01b03851660009081526008602052604090205460019060ff168061248e57506001600160a01b03851660009081526008602052604090205460ff165b15612497575060005b6124a386868684612773565b505050505050565b60008060006124b8612965565b90925090506124c78282611eb5565b9250505090565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611ec18284613616565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061256d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156125c157600080fd5b505afa1580156125d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f99190613296565b8160018151811061261a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526018546126409130911684611f2e565b60185460405163791ac94760e01b81526001600160a01b039091169063791ac947906126799085906000908690309042906004016135a6565b600060405180830381600087803b15801561269357600080fd5b505af11580156124a3573d6000803e3d6000fd5b6000611ec1828461364e565b6018546126cb9030906001600160a01b031684611f2e565b60185460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561273357600080fd5b505af1158015612747573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061276c9190613415565b5050505050565b806127915761278c600060178190556016819055601555565b612811565b6001600160a01b0384166000908152600b602052604090205460ff161580156127d357506001600160a01b0383166000908152600b602052604090205460ff16155b156127e05761278c612b4e565b6001600160a01b0383166000908152600b602052604090205460ff16156128095761278c612be7565b612811612c6f565b6001600160a01b0384166000908152600a602052604090205460ff16801561285257506001600160a01b0383166000908152600a602052604090205460ff16155b1561286757612862848484612cf7565b6120c6565b6001600160a01b0384166000908152600a602052604090205460ff161580156128a857506001600160a01b0383166000908152600a602052604090205460ff165b156128b857612862848484612ec8565b6001600160a01b0384166000908152600a602052604090205460ff161580156128fa57506001600160a01b0383166000908152600a602052604090205460ff16155b1561290a57612862848484612f87565b6001600160a01b0384166000908152600a602052604090205460ff16801561294a57506001600160a01b0383166000908152600a602052604090205460ff165b1561295a57612862848484612fe1565b6120c6848484612f87565b600e5460009081906c070318c8e574c41eac8dac0000825b600c54811015612b06578260066000600c84815481106129ad57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612a2657508160076000600c84815481106129ff57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612a4857600e546c070318c8e574c41eac8dac000094509450505050612b4a565b612a9c60066000600c8481548110612a7057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611ec8565b9250612af260076000600c8481548110612ac657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611ec8565b915080612afe816136bf565b91505061297d565b50600e54612b21906c070318c8e574c41eac8dac0000611eb5565b821015612b4457600e546c070318c8e574c41eac8dac0000935093505050612b4a565b90925090505b9091565b6014600281548110612b7057634e487b7160e01b600052603260045260246000fd5b90600052602060002001546017819055506013600281548110612ba357634e487b7160e01b600052603260045260246000fd5b90600052602060002001546016819055506012600281548110612bd657634e487b7160e01b600052603260045260246000fd5b600091825260209091200154601555565b6014600181548110612c0957634e487b7160e01b600052603260045260246000fd5b90600052602060002001546017819055506013600181548110612c3c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546016819055506012600181548110612bd657634e487b7160e01b600052603260045260246000fd5b6014600081548110612c9157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546017819055506013600081548110612cc457634e487b7160e01b600052603260045260246000fd5b90600052602060002001546016819055506012600081548110612bd657634e487b7160e01b600052603260045260246000fd5b6000806000806000806000612d0b8861306a565b9650965096509650965096509650612d5188600760008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6001600160a01b038b16600090815260076020908152604080832093909355600690522054612d809088611ec8565b6001600160a01b03808c1660009081526006602052604080822093909355908b1681522054612daf908761251e565b6001600160a01b038a16600090815260066020526040902055612dd1826130c5565b612dda816130c5565b612de4858461314e565b8160106000828254612df69190613616565b925050819055508060116000828254612e0f9190613616565b9091555060009050612e21828461251e565b1115612e6f57306001600160a01b038b167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef612e5d848661251e565b60405190815260200160405180910390a35b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051612eb491815260200190565b60405180910390a350505050505050505050565b6000806000806000806000612edc8861306a565b9650965096509650965096509650612f2287600660008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6001600160a01b03808c16600090815260066020908152604080832094909455918c16815260079091522054612f58908561251e565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612daf908761251e565b6000806000806000806000612f9b8861306a565b9650965096509650965096509650612d8087600660008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6000806000806000806000612ff58861306a565b965096509650965096509650965061303b88600760008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6001600160a01b038b16600090815260076020908152604080832093909355600690522054612f229088611ec8565b60008060008060008060008060008060006130848c613172565b935093509350935060008060006130a58f8787876130a06124ab565b6131c1565b919f509d509b509599509397509195509350505050919395979092949650565b60006130cf6124ab565b905060006130dd83836126a7565b306000908152600660205260409020549091506130fa908261251e565b30600090815260066020908152604080832093909355600a9052205460ff16156131495730600090815260076020526040902054613138908461251e565b306000908152600760205260409020555b505050565b600e5461315b9083611ec8565b600e55600f5461316b908261251e565b600f555050565b600080600080600061318386613223565b9050600061319087613240565b9050600061319d8861325d565b905060006131b1826123c185818d89611ec8565b9993985091965094509092505050565b60008080806131d089866126a7565b905060006131de89876126a7565b905060006131ec89886126a7565b905060006131fa89896126a7565b9050600061320e826123c185818989611ec8565b949d949c50929a509298505050505050505050565b6000610e7c612710612365601754856126a790919063ffffffff16565b6000610e7c612710612365601554856126a790919063ffffffff16565b6000610e7c612710612365601654856126a790919063ffffffff16565b60006020828403121561328b578081fd5b8135611ec1816136f0565b6000602082840312156132a7578081fd5b8151611ec1816136f0565b600080604083850312156132c4578081fd5b82356132cf816136f0565b915060208301356132df816136f0565b809150509250929050565b6000806000606084860312156132fe578081fd5b8335613309816136f0565b92506020840135613319816136f0565b929592945050506040919091013590565b6000806040838503121561333c578182fd5b8235613347816136f0565b915060208301356132df81613705565b60008060408385031215613369578182fd5b8235613374816136f0565b946020939093013593505050565b600060208284031215613393578081fd5b8135611ec181613705565b6000602082840312156133af578081fd5b8151611ec181613705565b6000602082840312156133cb578081fd5b5035919050565b6000602082840312156133e3578081fd5b5051919050565b6000806000606084860312156133fe578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215613429578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561346e57858101830151858201604001528201613452565b8181111561347f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220274255592700604082015260600190565b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220275032502700604082015260600190565b60208082526028908201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604082015267277374617475732760c01b606082015260800190565b6020808252818101527f4d617820666565206c696d6974207265616368656420666f72202753454c4c27604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156135f55784516001600160a01b0316835293830193918301916001016135d0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613629576136296136da565b500190565b60008261364957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613668576136686136da565b500290565b60008282101561367f5761367f6136da565b500390565b60028104600182168061369857607f821691505b602082108114156136b957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156136d3576136d36136da565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114611ea257600080fd5b8015158114611ea257600080fdfea264697066735822122079027beb2246977198a9e763d854c2205067d2448560bc343a33eb553a334bd564736f6c634300080200330000000000000000000000009e84a9a3df283b71b04439b7308d18e169c23615

Deployed Bytecode

0x6080604052600436106102815760003560e01c806375f0a8741161014f578063a918299c116100c1578063dd62ed3e1161007a578063dd62ed3e146107f1578063df8408fe14610811578063e2f4560514610831578063ea0a605f14610847578063f2fde38b14610867578063fcef88671461088757610288565b8063a918299c14610721578063a9b232d914610741578063afa4f3b214610771578063c065d7f014610791578063c49b9a80146107b1578063d86daab1146107d157610288565b8063957537f911610113578063957537f91461066c57806395d89b411461068c5780639a7a23d6146106a1578063a046bc78146106c1578063a457c2d7146106e1578063a9059cbb1461070157610288565b806375f0a874146105c8578063768dc710146105e85780637a8baf521461061857806382fb71191461062e5780638da5cb5b1461064e57610288565b806339509351116101f35780635d098b38116101ac5780635d098b38146105275780636ba5b8b81461054757806370a082311461055d578063715018a61461057d578063735039d11461059257806374da7cd8146105a857610288565b806339509351146104495780633b7e6d4a146104695780633c6ca5c11461049657806349bd5a5e146104c65780634a74bb02146104e657806352390c021461050757610288565b806318160ddd1161024557806318160ddd1461037d57806323b872dd1461039d57806328e6c7e7146103bd5780632d838119146103ed578063313ce5671461040d5780633685d4191461042957610288565b806301d7532d1461028d57806306fdde03146102af578063095ea7b3146102da5780630cfc15f91461030a5780631694505e1461034557610288565b3661028857005b600080fd5b34801561029957600080fd5b506102ad6102a836600461332a565b6108a7565b005b3480156102bb57600080fd5b506102c4610922565b6040516102d19190613442565b60405180910390f35b3480156102e657600080fd5b506102fa6102f5366004613357565b6109b4565b60405190151581526020016102d1565b34801561031657600080fd5b5061033761032536600461327a565b60066020526000908152604090205481565b6040519081526020016102d1565b34801561035157600080fd5b50601854610365906001600160a01b031681565b6040516001600160a01b0390911681526020016102d1565b34801561038957600080fd5b506c070318c8e574c41eac8dac0000610337565b3480156103a957600080fd5b506102fa6103b83660046132ea565b6109cc565b3480156103c957600080fd5b506102fa6103d836600461327a565b60096020526000908152604090205460ff1681565b3480156103f957600080fd5b506103376104083660046133ba565b6109f0565b34801561041957600080fd5b50604051601281526020016102d1565b34801561043557600080fd5b506102ad61044436600461327a565b610a76565b34801561045557600080fd5b506102fa610464366004613357565b610c44565b34801561047557600080fd5b5061033761048436600461327a565b60076020526000908152604090205481565b3480156104a257600080fd5b506102fa6104b136600461327a565b600a6020526000908152604090205460ff1681565b3480156104d257600080fd5b50601954610365906001600160a01b031681565b3480156104f257600080fd5b506019546102fa90600160a81b900460ff1681565b34801561051357600080fd5b506102ad61052236600461327a565b610c66565b34801561053357600080fd5b506102ad61054236600461327a565b610d97565b34801561055357600080fd5b5061033760105481565b34801561056957600080fd5b5061033761057836600461327a565b610e1a565b34801561058957600080fd5b506102ad610e82565b34801561059e57600080fd5b5061033760115481565b3480156105b457600080fd5b506102ad6105c336600461327a565b610e96565b3480156105d457600080fd5b50600d54610365906001600160a01b031681565b3480156105f457600080fd5b506102fa61060336600461327a565b60086020526000908152604090205460ff1681565b34801561062457600080fd5b50610337601b5481565b34801561063a57600080fd5b506103376106493660046133ba565b610f3a565b34801561065a57600080fd5b506000546001600160a01b0316610365565b34801561067857600080fd5b506102ad6106873660046132ea565b610f5b565b34801561069857600080fd5b506102c46111a3565b3480156106ad57600080fd5b506102ad6106bc36600461332a565b6111b2565b3480156106cd57600080fd5b506103376106dc3660046133ba565b611336565b3480156106ed57600080fd5b506102fa6106fc366004613357565b611346565b34801561070d57600080fd5b506102fa61071c366004613357565b6113c1565b34801561072d57600080fd5b506102ad61073c3660046133ea565b6113cf565b34801561074d57600080fd5b506102fa61075c36600461327a565b600b6020526000908152604090205460ff1681565b34801561077d57600080fd5b506102ad61078c3660046133ba565b611658565b34801561079d57600080fd5b506102ad6107ac3660046133ea565b611702565b3480156107bd57600080fd5b506102ad6107cc366004613382565b61198b565b3480156107dd57600080fd5b506102ad6107ec36600461327a565b611a11565b3480156107fd57600080fd5b5061033761080c3660046132b2565b611b06565b34801561081d57600080fd5b506102ad61082c36600461332a565b611b31565b34801561083d57600080fd5b50610337601a5481565b34801561085357600080fd5b506102ad6108623660046133ea565b611ba3565b34801561087357600080fd5b506102ad61088236600461327a565b611e2c565b34801561089357600080fd5b506103376108a23660046133ba565b611ea5565b6108af611ed4565b6001600160a01b03821660009081526009602052604090205460ff16151581151514156108f75760405162461bcd60e51b81526004016108ee90613529565b60405180910390fd5b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60606004805461093190613684565b80601f016020809104026020016040519081016040528092919081815260200182805461095d90613684565b80156109aa5780601f1061097f576101008083540402835291602001916109aa565b820191906000526020600020905b81548152906001019060200180831161098d57829003601f168201915b5050505050905090565b6000336109c2818585611f2e565b5060019392505050565b6000336109da858285612052565b6109e58585856120cc565b506001949350505050565b6000600e54821115610a575760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016108ee565b6000610a616124ab565b9050610a6d8382611eb5565b9150505b919050565b610a7e611ed4565b6001600160a01b0381166000908152600a602052604090205460ff16610ae65760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c75646564000000000060448201526064016108ee565b60005b600c54811015610c4057816001600160a01b0316600c8281548110610b1e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c2e57600c8054610b499060019061366d565b81548110610b6757634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600c80546001600160a01b039092169183908110610ba157634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600782526040808220829055600a90925220805460ff19169055600c805480610c0757634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b0319169055019055610c40565b80610c38816136bf565b915050610ae9565b5050565b6000336109c2818585610c578383611b06565b610c619190613616565b611f2e565b610c6e611ed4565b6001600160a01b0381166000908152600a602052604090205460ff1615610cd75760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108ee565b6001600160a01b03811660009081526006602052604090205415610d31576001600160a01b038116600090815260066020526040902054610d17906109f0565b6001600160a01b0382166000908152600760205260409020555b6001600160a01b03166000818152600a60205260408120805460ff19166001908117909155600c805491820181559091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169091179055565b610d9f611ed4565b6001600160a01b038116610dc55760405162461bcd60e51b81526004016108ee906134cc565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e7906020015b60405180910390a150565b6001600160a01b0381166000908152600a602052604081205460ff1615610e5a57506001600160a01b038116600090815260076020526040902054610a71565b6001600160a01b038216600090815260066020526040902054610e7c906109f0565b92915050565b610e8a611ed4565b610e9460006124ce565b565b610e9e611ed4565b6001600160a01b038116610ec45760405162461bcd60e51b81526004016108ee906134cc565b604080516001600160a01b03831681524760208201527ffd69c215b8b91dab5e96ff0bcbaf5dc372919948eea2003ae16481c036f816f8910160405180910390a16040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015610c40573d6000803e3d6000fd5b60138181548110610f4a57600080fd5b600091825260209091200154905081565b610f63611ed4565b6001600160a01b038316610f895760405162461bcd60e51b81526004016108ee906134cc565b6001600160a01b038216610faf5760405162461bcd60e51b81526004016108ee906134cc565b6001600160a01b0383163014156110085760405162461bcd60e51b815260206004820152601760248201527f496e636f727265637420546f6b656e204164647265737300000000000000000060448201526064016108ee565b6040516370a0823160e01b815230600482015281906001600160a01b038516906370a082319060240160206040518083038186803b15801561104957600080fd5b505afa15801561105d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108191906133d2565b10156110cf5760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e742062616c616e6365206f6e20636f6e747261637460448201526064016108ee565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561111957600080fd5b505af115801561112d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611151919061339e565b50604080516001600160a01b038086168252841660208201529081018290527fc7372460dc9d750a8e86aab4229750d8df3d2d3a19784820f83c00c986e00611906060015b60405180910390a1505050565b60606005805461093190613684565b6111ba611ed4565b6001600160a01b0382166000908152600b602052604090205460ff161515811515141561124f5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016108ee565b6019546001600160a01b03838116911614156112d35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108ee565b6001600160a01b0382166000818152600b6020908152604091829020805460ff19168515159081179091558251938452908301527fef0b71f3a695ce5a89064cc2745d0c503cf766ed985e781607660be6010b8e90910160405180910390a15050565b60128181548110610f4a57600080fd5b600033816113548286611b06565b9050838110156113b45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108ee565b6109e58286868403611f2e565b6000336109c28185856120cc565b6113d7611ed4565b6102588360146000815481106113fd57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260008154811061142a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015461143f9190613616565b6114499190613616565b11156114675760405162461bcd60e51b81526004016108ee90613495565b61025882601460018154811061148d57634e487b7160e01b600052603260045260246000fd5b906000526020600020015460126001815481106114ba57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546114cf9190613616565b6114d99190613616565b11156114f75760405162461bcd60e51b81526004016108ee90613571565b61025881601460028154811061151d57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260028154811061154a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015461155f9190613616565b6115699190613616565b11156115875760405162461bcd60e51b81526004016108ee906134f2565b8260136000815481106115aa57634e487b7160e01b600052603260045260246000fd5b90600052602060002001819055508160136001815481106115db57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080601360028154811061160c57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001919091556040805185815291820184905281018290527f3044b38769c2aa50acc652d2a51ec6a0712bb556a8cb713ee35dcf2ef3f0507590606001611196565b611660611ed4565b6c070318c8e574c41eac8dac00008111156116cd5760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b60648201526084016108ee565b601a8190556040518181527f28ea3a80049e637c2f1bf658d47a07f688bea6e931f3c1930cf4a4daf97b186090602001610e0f565b61170a611ed4565b61025883601360008154811061173057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260008154811061175d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546117729190613616565b61177c9190613616565b111561179a5760405162461bcd60e51b81526004016108ee90613495565b6102588260136001815481106117c057634e487b7160e01b600052603260045260246000fd5b906000526020600020015460126001815481106117ed57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546118029190613616565b61180c9190613616565b111561182a5760405162461bcd60e51b81526004016108ee90613571565b61025881601360028154811061185057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154601260028154811061187d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546118929190613616565b61189c9190613616565b11156118ba5760405162461bcd60e51b81526004016108ee906134f2565b8260146000815481106118dd57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555081601460018154811061190e57634e487b7160e01b600052603260045260246000fd5b906000526020600020018190555080601460028154811061193f57634e487b7160e01b600052603260045260246000fd5b600091825260209182902001919091556040805185815291820184905281018290527fba16035156e8913004ada62e7f85968008b3a45502bd335816bc697aed12374190606001611196565b611993611ed4565b60195460ff600160a81b90910416151581151514156119c45760405162461bcd60e51b81526004016108ee90613529565b60198054821515600160a81b0260ff60a81b199091161790556040517f083ec94fdbe7b9156108be7401c9808cd45be92d8bcba03f203523515831146c90610e0f90831515815260200190565b611a19611ed4565b600060108190556011557fc7372460dc9d750a8e86aab4229750d8df3d2d3a19784820f83c00c986e006113082611a4f82610e1a565b604080516001600160a01b0394851681529390921660208401529082015260600160405180910390a13063a9059cbb82611a8883610e1a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015611ace57600080fd5b505af1158015611ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c40919061339e565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b611b39611ed4565b6001600160a01b03821660009081526008602052604090205460ff1615158115151415611b785760405162461bcd60e51b81526004016108ee90613529565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b611bab611ed4565b610258836014600081548110611bd157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546013600081548110611bfe57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611c139190613616565b611c1d9190613616565b1115611c3b5760405162461bcd60e51b81526004016108ee90613495565b610258826014600181548110611c6157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546013600181548110611c8e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611ca39190613616565b611cad9190613616565b1115611ccb5760405162461bcd60e51b81526004016108ee90613571565b610258816014600281548110611cf157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546013600281548110611d1e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611d339190613616565b611d3d9190613616565b1115611d5b5760405162461bcd60e51b81526004016108ee906134f2565b826012600081548110611d7e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200181905550816012600181548110611daf57634e487b7160e01b600052603260045260246000fd5b9060005260206000200181905550806012600281548110611de057634e487b7160e01b600052603260045260246000fd5b600091825260209182902001919091556040805185815291820184905281018290527fa2e3a2fc9e2d3de89081c9ccf4a886d5b03b390a0143445e31a9bb4a1f49556490606001611196565b611e34611ed4565b6001600160a01b038116611e995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108ee565b611ea2816124ce565b50565b60148181548110610f4a57600080fd5b6000611ec1828461362e565b9392505050565b6000611ec1828461366d565b6000546001600160a01b03163314610e945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108ee565b6001600160a01b038316611f905760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108ee565b6001600160a01b038216611ff15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108ee565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061205e8484611b06565b905060001981146120c657818110156120b95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108ee565b6120c68484848403611f2e565b50505050565b6001600160a01b0383166121305760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108ee565b6001600160a01b0382166121925760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108ee565b600081116121f45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108ee565b6001600160a01b03821660009081526009602052604090205460ff1661228e57600061221f83610e1a565b601b5490915061222f8383613616565b111561228c5760405162461bcd60e51b815260206004820152602660248201527f45786365656473206d6178696d756d20746f6b656e207065722077616c6c6574604482015265081b1a5b5a5d60d21b60648201526084016108ee565b505b600061229930610e1a565b601a54909150811080159081906122ba5750601954600160a01b900460ff16155b80156122de57506001600160a01b0384166000908152600b602052604090205460ff165b80156122f35750601954600160a81b900460ff165b1561244c57601054600090612309906002611eb5565b601154909150600061231b838361251e565b9050601a548110612448576019805460ff60a01b1916600160a01b179055601a5447906123479061252a565b60006123534783611ec8565b9050600061236b8461236584896126a7565b90611eb5565b90506000612379828461366d565b905081156123cc57600061239c866123658a601a546126a790919063ffffffff16565b90506123a881846126b3565b6123c7816123c183601054611ec890919063ffffffff16565b90611ec8565b601055505b801561243657600d546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561240c573d6000803e3d6000fd5b506124326124298661236589601a546126a790919063ffffffff16565b60115490611ec8565b6011555b50506019805460ff60a01b1916905550505b5050505b6001600160a01b03851660009081526008602052604090205460019060ff168061248e57506001600160a01b03851660009081526008602052604090205460ff165b15612497575060005b6124a386868684612773565b505050505050565b60008060006124b8612965565b90925090506124c78282611eb5565b9250505090565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611ec18284613616565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061256d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156125c157600080fd5b505afa1580156125d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f99190613296565b8160018151811061261a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526018546126409130911684611f2e565b60185460405163791ac94760e01b81526001600160a01b039091169063791ac947906126799085906000908690309042906004016135a6565b600060405180830381600087803b15801561269357600080fd5b505af11580156124a3573d6000803e3d6000fd5b6000611ec1828461364e565b6018546126cb9030906001600160a01b031684611f2e565b60185460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561273357600080fd5b505af1158015612747573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061276c9190613415565b5050505050565b806127915761278c600060178190556016819055601555565b612811565b6001600160a01b0384166000908152600b602052604090205460ff161580156127d357506001600160a01b0383166000908152600b602052604090205460ff16155b156127e05761278c612b4e565b6001600160a01b0383166000908152600b602052604090205460ff16156128095761278c612be7565b612811612c6f565b6001600160a01b0384166000908152600a602052604090205460ff16801561285257506001600160a01b0383166000908152600a602052604090205460ff16155b1561286757612862848484612cf7565b6120c6565b6001600160a01b0384166000908152600a602052604090205460ff161580156128a857506001600160a01b0383166000908152600a602052604090205460ff165b156128b857612862848484612ec8565b6001600160a01b0384166000908152600a602052604090205460ff161580156128fa57506001600160a01b0383166000908152600a602052604090205460ff16155b1561290a57612862848484612f87565b6001600160a01b0384166000908152600a602052604090205460ff16801561294a57506001600160a01b0383166000908152600a602052604090205460ff165b1561295a57612862848484612fe1565b6120c6848484612f87565b600e5460009081906c070318c8e574c41eac8dac0000825b600c54811015612b06578260066000600c84815481106129ad57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180612a2657508160076000600c84815481106129ff57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15612a4857600e546c070318c8e574c41eac8dac000094509450505050612b4a565b612a9c60066000600c8481548110612a7057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611ec8565b9250612af260076000600c8481548110612ac657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611ec8565b915080612afe816136bf565b91505061297d565b50600e54612b21906c070318c8e574c41eac8dac0000611eb5565b821015612b4457600e546c070318c8e574c41eac8dac0000935093505050612b4a565b90925090505b9091565b6014600281548110612b7057634e487b7160e01b600052603260045260246000fd5b90600052602060002001546017819055506013600281548110612ba357634e487b7160e01b600052603260045260246000fd5b90600052602060002001546016819055506012600281548110612bd657634e487b7160e01b600052603260045260246000fd5b600091825260209091200154601555565b6014600181548110612c0957634e487b7160e01b600052603260045260246000fd5b90600052602060002001546017819055506013600181548110612c3c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001546016819055506012600181548110612bd657634e487b7160e01b600052603260045260246000fd5b6014600081548110612c9157634e487b7160e01b600052603260045260246000fd5b90600052602060002001546017819055506013600081548110612cc457634e487b7160e01b600052603260045260246000fd5b90600052602060002001546016819055506012600081548110612bd657634e487b7160e01b600052603260045260246000fd5b6000806000806000806000612d0b8861306a565b9650965096509650965096509650612d5188600760008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6001600160a01b038b16600090815260076020908152604080832093909355600690522054612d809088611ec8565b6001600160a01b03808c1660009081526006602052604080822093909355908b1681522054612daf908761251e565b6001600160a01b038a16600090815260066020526040902055612dd1826130c5565b612dda816130c5565b612de4858461314e565b8160106000828254612df69190613616565b925050819055508060116000828254612e0f9190613616565b9091555060009050612e21828461251e565b1115612e6f57306001600160a01b038b167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef612e5d848661251e565b60405190815260200160405180910390a35b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051612eb491815260200190565b60405180910390a350505050505050505050565b6000806000806000806000612edc8861306a565b9650965096509650965096509650612f2287600660008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6001600160a01b03808c16600090815260066020908152604080832094909455918c16815260079091522054612f58908561251e565b6001600160a01b038a16600090815260076020908152604080832093909355600690522054612daf908761251e565b6000806000806000806000612f9b8861306a565b9650965096509650965096509650612d8087600660008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6000806000806000806000612ff58861306a565b965096509650965096509650965061303b88600760008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611ec890919063ffffffff16565b6001600160a01b038b16600090815260076020908152604080832093909355600690522054612f229088611ec8565b60008060008060008060008060008060006130848c613172565b935093509350935060008060006130a58f8787876130a06124ab565b6131c1565b919f509d509b509599509397509195509350505050919395979092949650565b60006130cf6124ab565b905060006130dd83836126a7565b306000908152600660205260409020549091506130fa908261251e565b30600090815260066020908152604080832093909355600a9052205460ff16156131495730600090815260076020526040902054613138908461251e565b306000908152600760205260409020555b505050565b600e5461315b9083611ec8565b600e55600f5461316b908261251e565b600f555050565b600080600080600061318386613223565b9050600061319087613240565b9050600061319d8861325d565b905060006131b1826123c185818d89611ec8565b9993985091965094509092505050565b60008080806131d089866126a7565b905060006131de89876126a7565b905060006131ec89886126a7565b905060006131fa89896126a7565b9050600061320e826123c185818989611ec8565b949d949c50929a509298505050505050505050565b6000610e7c612710612365601754856126a790919063ffffffff16565b6000610e7c612710612365601554856126a790919063ffffffff16565b6000610e7c612710612365601654856126a790919063ffffffff16565b60006020828403121561328b578081fd5b8135611ec1816136f0565b6000602082840312156132a7578081fd5b8151611ec1816136f0565b600080604083850312156132c4578081fd5b82356132cf816136f0565b915060208301356132df816136f0565b809150509250929050565b6000806000606084860312156132fe578081fd5b8335613309816136f0565b92506020840135613319816136f0565b929592945050506040919091013590565b6000806040838503121561333c578182fd5b8235613347816136f0565b915060208301356132df81613705565b60008060408385031215613369578182fd5b8235613374816136f0565b946020939093013593505050565b600060208284031215613393578081fd5b8135611ec181613705565b6000602082840312156133af578081fd5b8151611ec181613705565b6000602082840312156133cb578081fd5b5035919050565b6000602082840312156133e3578081fd5b5051919050565b6000806000606084860312156133fe578283fd5b505081359360208301359350604090920135919050565b600080600060608486031215613429578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561346e57858101830151858201604001528201613452565b8181111561347f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220274255592700604082015260600190565b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b6020808252601f908201527f4d617820666565206c696d6974207265616368656420666f7220275032502700604082015260600190565b60208082526028908201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604082015267277374617475732760c01b606082015260800190565b6020808252818101527f4d617820666565206c696d6974207265616368656420666f72202753454c4c27604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156135f55784516001600160a01b0316835293830193918301916001016135d0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613629576136296136da565b500190565b60008261364957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615613668576136686136da565b500290565b60008282101561367f5761367f6136da565b500390565b60028104600182168061369857607f821691505b602082108114156136b957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156136d3576136d36136da565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114611ea257600080fd5b8015158114611ea257600080fdfea264697066735822122079027beb2246977198a9e763d854c2205067d2448560bc343a33eb553a334bd564736f6c63430008020033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000009e84a9a3df283b71b04439b7308d18e169c23615

-----Decoded View---------------
Arg [0] : owner (address): 0x9e84a9A3df283B71b04439b7308D18e169c23615

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009e84a9a3df283b71b04439b7308d18e169c23615


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.