ETH Price: $3,167.99 (+2.27%)

Token

Perpetual Buyback Machine (PBM)
 

Overview

Max Total Supply

100,000,000 PBM

Holders

109

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
94,155.909088714464234145 PBM

Value
$0.00
0x625ceba7f2fa59a6b10cfaed5c54ebf3cd0501f6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PerpetualBuybacks

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : perpetualbuybacks.sol
// SPDX-License-Identifier: MIT    

/*
    Perpetual Buyback Machine ↻
                    
    Perpetual Buyback Machine is the premier buyback burn token. 
    All swap fees go straight into liquidity, buybacks, and burns. 
    Let's all hop board the perpetual buyback machine!

    LP is automatically locked in the contract for 15 days on launch
    through the smart contract.

    https://perpetualbuyback.com/
    https://t.me/perpetualbuyback

*/
                                           

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

pragma solidity 0.8.16;

interface IDexRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable;
    function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function removeLiquidityETH(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountToken, uint amountETH);
}

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

contract PerpetualBuybacks is ERC20, Ownable {

    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWallet;

    IDexRouter public dexRouter;
    address public lpPair;

    bool private swapping;
    uint256 public swapTokensAtAmount;

    address public buybackAddress;

    uint256 public tradingActiveBlock = 0; // 0 means trading is not active
    uint256 public blockForPenaltyEnd;
    mapping (address => bool) public boughtEarly;
    address[] public earlyBuyers;
    uint256 public botsCaught;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    mapping (address => bool) public privateSaleWallets;
    mapping (address => uint256) public nextPrivateWalletSellDate;
    uint256 public maxPrivSaleSell = 1 ether;
    
     // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
    bool public transferDelayEnabled = true;

    uint256 public buyTotalFees;
    uint256 public buyBuybackFee;
    uint256 public buyLiquidityFee;
    uint256 public buyBurnFee;

    uint256 public sellTotalFees;
    uint256 public sellBuybackFee;
    uint256 public sellLiquidityFee;
    uint256 public sellBurnFee;

    uint256 public constant FEE_DIVISOR = 10000;

    uint256 public tokensForBuyback;
    uint256 public tokensForLiquidity;

    uint256 public lpWithdrawRequestTimestamp;
    uint256 public lpWithdrawRequestDuration = 1 days;
    bool public lpWithdrawRequestPending;
    uint256 public lpPercToWithDraw;

    uint256 public percentForLPBurn = 5; // 5 = .05%
    bool public lpBurnEnabled = true;
    uint256 public lpBurnFrequency = 1800 seconds;
    uint256 public lastLpBurnTime;
    
    uint256 public manualBurnFrequency = 30 seconds;
    uint256 public lastManualLpBurnTime;
    
    /******************/

    // exlcude from fees and max transaction amount
    mapping (address => bool) private _isExcludedFromFees;
    mapping (address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event EnabledTrading();

    event RemovedLimits();

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event UpdatedMaxBuyAmount(uint256 newAmount);

    event UpdatedMaxSellAmount(uint256 newAmount);

    event UpdatedMaxWalletAmount(uint256 newAmount);

    event UpdatedBuybackAddress(address indexed newWallet);

    event UpdatedDevAddress(address indexed newWallet);

    event MaxTransactionExclusion(address _address, bool excluded);

    event OwnerForcedSwapBack(uint256 timestamp);

    event CaughtEarlyBuyer(address sniper);

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event AutoBurnLP(uint256 indexed tokensBurned);

    event ManualBurnLP(uint256 indexed tokensBurned);

    event TransferForeignToken(address token, uint256 amount);

    event UpdatedPrivateMaxSell(uint256 amount);

    event RequestedLPWithdraw();
    
    event WithdrewLPForMigration();

    event CanceledLpWithdrawRequest();

    constructor() ERC20("Perpetual Buyback Machine", "PBM") payable {
        
        address newOwner = msg.sender; // can leave alone if owner is deployer.
        address _dexRouter;

        if(block.chainid == 1){
            _dexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // ETH: Uniswap V2
        } else if(block.chainid == 4){
            _dexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // ETH: Uniswap V2
        } else if(block.chainid == 56){
            _dexRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E; // BNB Chain: PCS V2
        } else if(block.chainid == 97){
            _dexRouter = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1; // BNB Chain: PCS V2
        } else if(block.chainid == 42161){
            _dexRouter = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506; // Arbitrum: SushiSwap
        } else {
            revert("Chain not configured");
        }

        // initialize router
        dexRouter = IDexRouter(_dexRouter);

        uint256 totalSupply = 1 * 1e8 * (10 ** decimals());
        
        maxBuyAmount = totalSupply * 1 / 100;
        maxSellAmount = totalSupply * 1 / 100;
        maxWallet = totalSupply * 1 / 100;
        swapTokensAtAmount = totalSupply * 25 / 100000;

        buyBuybackFee = 0;
        buyLiquidityFee = 700;
        buyBurnFee = 200;
        buyTotalFees = buyBuybackFee + buyLiquidityFee + buyBurnFee;

        sellBuybackFee = 0;
        sellLiquidityFee = 700;
        sellBurnFee = 200;
        sellTotalFees = sellBuybackFee + sellLiquidityFee + sellBurnFee;

        buybackAddress = address(msg.sender);

        _excludeFromMaxTransaction(newOwner, true);
        _excludeFromMaxTransaction(address(this), true);
        _excludeFromMaxTransaction(address(0xdead), true);
        _excludeFromMaxTransaction(address(buybackAddress), true);
        _excludeFromMaxTransaction(address(dexRouter), true);

        excludeFromFees(newOwner, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(address(buybackAddress), true);
        excludeFromFees(address(dexRouter), true);

        
        _mint(address(this), totalSupply);
        transferOwnership(newOwner);
    }

    receive() external payable {}
    
    function enableTrading(uint256 blocksForPenalty) external onlyOwner {
        require(!tradingActive, "Cannot reenable trading");
        require(blocksForPenalty <= 50, "Cannot make penalty blocks more than 50");
        tradingActive = true;
        swapEnabled = true;
        tradingActiveBlock = block.number;
        blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty;
        emit EnabledTrading();
    }
    
    // remove limits after token is stable
    function removeLimits() external onlyOwner {
        limitsInEffect = false;
        transferDelayEnabled = false;
        maxBuyAmount = totalSupply();
        maxSellAmount = totalSupply();
        emit RemovedLimits();
    }

    function getEarlyBuyers() external view returns (address[] memory){
        return earlyBuyers;
    }

    function massRemoveBoughtEarly(address[] calldata accounts) external onlyOwner {
        for(uint256 i = 0; i < accounts.length; i++){
            boughtEarly[accounts[i]] = false;
        }
    }

    function removeBoughtEarly(address wallet) external onlyOwner {
        require(boughtEarly[wallet], "Wallet is already not flagged.");
        boughtEarly[wallet] = false;
    }

    function emergencyUpdateRouter(address router) external onlyOwner {
        require(!tradingActive, "Cannot update after trading is functional");
        dexRouter = IDexRouter(router);
    }
    
    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner {
        transferDelayEnabled = false;
    }
    
    function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 10 / 1000) / (10 ** decimals()), "Cannot set max buy amount lower than 1%");
        maxBuyAmount = newNum * (10 ** decimals());
        emit UpdatedMaxBuyAmount(maxBuyAmount);
    }
    
    function updateMaxSellAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 10 / 1000) / (10 ** decimals()), "Cannot set max sell amount lower than 1%");
        maxSellAmount = newNum * (10 ** decimals());
        emit UpdatedMaxSellAmount(maxSellAmount);
    }

    function updateMaxWallet(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 10 / 100) / (10 ** decimals()), "Cannot set max wallet amount lower than 1%");
        maxWallet = newNum * (10 ** decimals());
        emit UpdatedMaxWalletAmount(maxWallet);
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
  	    require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply.");
  	    require(newAmount <= totalSupply() * 1 / 1000, "Swap amount cannot be higher than 0.1% total supply.");
  	    swapTokensAtAmount = newAmount;
  	}
    
    function _excludeFromMaxTransaction(address updAds, bool isExcluded) private {
        _isExcludedMaxTransactionAmount[updAds] = isExcluded;
        emit MaxTransactionExclusion(updAds, isExcluded);
    }
     
    function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner {
        if(!isEx){
            require(updAds != lpPair, "Cannot remove uniswap pair from max txn");
        }
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
        require(pair != lpPair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        _excludeFromMaxTransaction(pair, value);
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateBuyFees(uint256 _buybackFee, uint256 _liquidityFee, uint256 _burnFee) external onlyOwner {
        buyBuybackFee = _buybackFee;
        buyLiquidityFee = _liquidityFee;
        buyBurnFee = _burnFee;
        buyTotalFees = buyBuybackFee + buyLiquidityFee + buyBurnFee;
        require(buyTotalFees <= 10 * FEE_DIVISOR / 100, "Must keep fees at 10% or less");
    }

    function updateSellFees(uint256 _buybackFee, uint256 _liquidityFee,uint256 _burnFee) external onlyOwner {
        sellBuybackFee = _buybackFee;
        sellLiquidityFee = _liquidityFee;
        sellBurnFee = _burnFee;
        sellTotalFees = sellBuybackFee + sellLiquidityFee + sellBurnFee;
        require(sellTotalFees <= 20 * FEE_DIVISOR / 100, "Must keep fees at 20% or less");
    }

    function massExcludeFromFees(address[] calldata accounts, bool excluded) external onlyOwner {
        for(uint256 i = 0; i < accounts.length; i++){
            _isExcludedFromFees[accounts[i]] = excluded;
            emit ExcludeFromFees(accounts[i], excluded);
        }
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    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, "amount must be greater than 0");
        
        if(!tradingActive){
            require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
        }

        if(!earlyBuyPenaltyInEffect() && tradingActive){
            require(!boughtEarly[from] || to == owner() || to == address(0xdead), "Bots cannot transfer tokens in or out except to owner or dead address.");
        }

        if(privateSaleWallets[from]){
            if(automatedMarketMakerPairs[to]){
                //enforce max sell restrictions.
                require(nextPrivateWalletSellDate[from] <= block.timestamp, "Cannot sell yet");
                require(amount <= getPrivateSaleMaxSell(), "Attempting to sell over max sell amount.  Check max.");
                nextPrivateWalletSellDate[from] = block.timestamp + 24 hours;
            } else if(!_isExcludedFromFees[to]){
                revert("Private sale cannot transfer and must sell only or transfer to a whitelisted address.");
            }
        }
        
        if(limitsInEffect){
            if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
                
                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.  
                if (transferDelayEnabled){
                    if (to != address(dexRouter) && to != address(lpPair)){
                        require(_holderLastTransferTimestamp[tx.origin] < block.number - 2 && _holderLastTransferTimestamp[to] < block.number - 2, "_transfer:: Transfer Delay enabled.  Try again later.");
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                        _holderLastTransferTimestamp[to] = block.number;
                    }
                }
                 
                //when buy
                if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                    require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy.");
                    require(amount + balanceOf(to) <= maxWallet, "Cannot exceed max wallet");
                } 
                //when sell
                else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                    require(amount <= maxSellAmount, "Sell transfer amount exceeds the max sell.");
                }
                else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(amount + balanceOf(to) <= maxWallet, "Cannot exceed max wallet");
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if(canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            swapping = true;
            swapBack();
            swapping = false;
        }

        if(!swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && !_isExcludedFromFees[from]){
            autoBurnLiquidityPairTokens();
        }

        bool takeFee = true;
        // if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }
        
        uint256 fees = 0;
        uint256 tokensToBurn = 0;

        // only take fees on buys/sells, do not take on wallet transfers
        if(takeFee){
            // bot/sniper penalty.
            if(earlyBuyPenaltyInEffect() && automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && !_isExcludedFromFees[to] && buyTotalFees > 0){
                
                if(!earlyBuyPenaltyInEffect()){
                    // reduce by 1 wei per max buy over what Uniswap will allow to revert bots as best as possible to limit erroneously blacklisted wallets. First bot will get in and be blacklisted, rest will be reverted (*cross fingers*)
                    maxBuyAmount -= 1;
                }

                if(!boughtEarly[to]){
                    boughtEarly[to] = true;
                    botsCaught += 1;
                    earlyBuyers.push(to);
                    emit CaughtEarlyBuyer(to);
                }

                fees = amount * buyTotalFees / FEE_DIVISOR;
        	    tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                tokensForBuyback += fees * buyBuybackFee / buyTotalFees;
                tokensToBurn = fees * buyBurnFee / buyTotalFees;
            }

            // on sell
            else if (automatedMarketMakerPairs[to] && sellTotalFees > 0){
                fees = amount * sellTotalFees / FEE_DIVISOR;
                tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
                tokensForBuyback += fees * sellBuybackFee / sellTotalFees;
                tokensToBurn = fees * sellBurnFee / buyTotalFees;
            }

            // on buy
            else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
        	    fees = amount * buyTotalFees / FEE_DIVISOR;
        	    tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                tokensForBuyback += fees * buyBuybackFee / buyTotalFees;
                tokensToBurn = fees * buyBurnFee / buyTotalFees;
            }
            
            if(fees > 0){    
                super._transfer(from, address(this), fees);
                if(tokensToBurn > 0){
                    super._transfer(address(this), address(0xdead), tokensToBurn);
                }
            }
        	
        	amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    function earlyBuyPenaltyInEffect() public view returns (bool){
        return block.number < blockForPenaltyEnd;
    }

    function swapTokensForEth(uint256 tokenAmount) private {

        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = dexRouter.WETH();

        _approve(address(this), address(dexRouter), tokenAmount);

        // make the swap
        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }
    
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(dexRouter), tokenAmount);

        // add the liquidity
        dexRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(this),
            block.timestamp
        );
    }

    function swapBack() private {

        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity + tokensForBuyback;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

        if(contractBalance > swapTokensAtAmount * 10){
            contractBalance = swapTokensAtAmount * 10;
        }

        bool success;
        
        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
        
        swapTokensForEth(contractBalance - liquidityTokens); 
        
        uint256 ethBalance = address(this).balance;
        uint256 ethForLiquidity = ethBalance;

        uint256 ethForBuyback = ethBalance * tokensForBuyback / (totalTokensToSwap - (tokensForLiquidity/2));

        ethForLiquidity -= ethForBuyback;
            
        tokensForLiquidity = 0;
        tokensForBuyback = 0;
        
        if(liquidityTokens > 0 && ethForLiquidity > 0){
            addLiquidity(liquidityTokens, ethForLiquidity);
        }

        (success,) = address(buybackAddress).call{value: address(this).balance}("");
    }

    function transferForeignToken(address _token, address _to) external onlyOwner returns (bool _sent) {
        require(_token != address(0), "_token address cannot be 0");
        require(_token != address(this) || !tradingActive, "Can't withdraw native tokens while trading is active");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        _sent = IERC20(_token).transfer(_to, _contractBalance);
        emit TransferForeignToken(_token, _contractBalance);
    }

    // withdraw ETH if stuck or someone sends to the address
    function withdrawStuckETH() external onlyOwner {
        bool success;
        (success,) = address(msg.sender).call{value: address(this).balance}("");
    }

    function setBuybackAddress(address _buybackAddress) external onlyOwner {
        require(_buybackAddress != address(0), "_buybackAddress address cannot be 0");
        buybackAddress = payable(_buybackAddress);
        emit UpdatedBuybackAddress(_buybackAddress);
    }

    // force Swap back if slippage issues.
    function forceSwapBack() external onlyOwner {
        require(balanceOf(address(this)) >= swapTokensAtAmount, "Can only swap when token amount is at or higher than restriction");
        swapping = true;
        swapBack();
        swapping = false;
        emit OwnerForcedSwapBack(block.timestamp);
    }

    function getPrivateSaleMaxSell() public view returns (uint256){
        address[] memory path = new address[](2);
        path[0] = dexRouter.WETH();
        path[1] = address(this);
        
        uint256[] memory amounts = new uint256[](2);
        amounts = dexRouter.getAmountsOut(maxPrivSaleSell, path);
        return amounts[1] + (amounts[1] * (sellLiquidityFee + sellBuybackFee))/100;
    }

    function setPrivateSaleMaxSell(uint256 amount) external onlyOwner{
        require(amount >= 10 && amount <= 50000, "Must set between 0.1 and 500 BNB");
        maxPrivSaleSell = amount * 1e16;
        emit UpdatedPrivateMaxSell(amount);
    }

    function launchPerpetuity(uint256 blocksForPenalty) external onlyOwner {
        require(!tradingActive, "Trading is already active, cannot relaunch.");
        require(blocksForPenalty < 5, "Cannot make penalty blocks more than 5");

        //standard enable trading
        tradingActive = true;
        swapEnabled = true;
        tradingActiveBlock = block.number;
        blockForPenaltyEnd = tradingActiveBlock + blocksForPenalty;
        emit EnabledTrading();

        // create pair
        lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), dexRouter.WETH());
        _excludeFromMaxTransaction(address(lpPair), true);
        _setAutomatedMarketMakerPair(address(lpPair), true);
   
        // add the liquidity

        require(address(this).balance > 0, "Must have ETH on contract to launch");

        require(balanceOf(address(this)) > 0, "Must have Tokens on contract to launch");

        _approve(address(this), address(dexRouter), balanceOf(address(this)));
        dexRouter.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(this),
            block.timestamp
        );
    }

    function setAutoLPBurnSettings(uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled) external onlyOwner {
        require(_frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes");
        require(_percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%");
        lpBurnFrequency = _frequencyInSeconds;
        percentForLPBurn = _percent;
        lpBurnEnabled = _Enabled;
    }
    
    function autoBurnLiquidityPairTokens() internal {
        
        lastLpBurnTime = block.timestamp;
        
        lastManualLpBurnTime = block.timestamp;
        uint256 lpBalance = IERC20(lpPair).balanceOf(address(this));
        uint256 tokenBalance = balanceOf(address(this));
        uint256 lpAmount = lpBalance * percentForLPBurn / 10000;
        uint256 initialEthBalance = address(this).balance;

        // approve token transfer to cover all possible scenarios
        IERC20(lpPair).approve(address(dexRouter), lpAmount);

        // remove the liquidity
        dexRouter.removeLiquidityETH(
            address(this),
            lpAmount,
            1, // slippage is unavoidable
            1, // slippage is unavoidable
            address(this),
            block.timestamp
        );

        uint256 deltaTokenBalance = balanceOf(address(this)) - tokenBalance;
        if(deltaTokenBalance > 0){
            super._transfer(address(this), address(0xdead), deltaTokenBalance);
        }

        uint256 deltaEthBalance = address(this).balance - initialEthBalance;

        if(deltaEthBalance > 0){
            buyBackTokens(deltaEthBalance);
        }

        emit AutoBurnLP(lpAmount);
    }

    function manualBurnLiquidityPairTokens(uint256 percent) external onlyOwner {
        require(percent <=2000, "May not burn more than 20% of contract's LP at a time");
        require(lastManualLpBurnTime <= block.timestamp - manualBurnFrequency, "Burn too soon");
        lastManualLpBurnTime = block.timestamp;
        uint256 lpBalance = IERC20(lpPair).balanceOf(address(this));
        uint256 tokenBalance = balanceOf(address(this));
        uint256 lpAmount = lpBalance * percent / 10000;
        uint256 initialEthBalance = address(this).balance;

        // approve token transfer to cover all possible scenarios
        IERC20(lpPair).approve(address(dexRouter), lpAmount);

        // remove the liquidity
        dexRouter.removeLiquidityETH(
            address(this),
            lpAmount,
            1, // slippage is unavoidable
            1, // slippage is unavoidable
            address(this),
            block.timestamp
        );

        uint256 deltaTokenBalance = balanceOf(address(this)) - tokenBalance;
        if(deltaTokenBalance > 0){
            super._transfer(address(this), address(0xdead), deltaTokenBalance);
        }

        uint256 deltaEthBalance = address(this).balance - initialEthBalance;

        if(deltaEthBalance > 0){
            buyBackTokens(deltaEthBalance);
        }

        emit ManualBurnLP(lpAmount);
    }

    function buyBackTokens(uint256 amountInWei) internal {
        address[] memory path = new address[](2);
        path[0] = dexRouter.WETH();
        path[1] = address(this);

        dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountInWei}(
            0,
            path,
            address(0xdead),
            block.timestamp
        );
    }

    function requestToWithdrawLP(uint256 percToWithdraw) external onlyOwner {
        require(!lpWithdrawRequestPending, "Cannot request again until first request is over.");
        require(percToWithdraw <= 100 && percToWithdraw > 0, "Need to set between 1-100%");
        lpWithdrawRequestTimestamp = block.timestamp;
        lpWithdrawRequestPending = true;
        lpPercToWithDraw = percToWithdraw;
        emit RequestedLPWithdraw();
    }

    function nextAvailableLpWithdrawDate() public view returns (uint256){
        if(lpWithdrawRequestPending){
            return lpWithdrawRequestTimestamp + lpWithdrawRequestDuration;
        }
        else {
            return 0;  // 0 means no open requests
        }
    }

    function withdrawRequestedLP() external onlyOwner {
        require(block.timestamp >= nextAvailableLpWithdrawDate() && nextAvailableLpWithdrawDate() > 0, "Must request and wait.");
        lpWithdrawRequestTimestamp = 0;
        lpWithdrawRequestPending = false;

        uint256 amtToWithdraw = IERC20(address(lpPair)).balanceOf(address(this)) * lpPercToWithDraw / 100;
        
        lpPercToWithDraw = 0;

        IERC20(lpPair).transfer(msg.sender, amtToWithdraw);
    }

    function cancelLPWithdrawRequest() external onlyOwner {
        lpWithdrawRequestPending = false;
        lpPercToWithDraw = 0;
        lpWithdrawRequestTimestamp = 0;
        emit CanceledLpWithdrawRequest();
    }
}

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 : 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 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 : 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 6 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 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokensBurned","type":"uint256"}],"name":"AutoBurnLP","type":"event"},{"anonymous":false,"inputs":[],"name":"CanceledLpWithdrawRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sniper","type":"address"}],"name":"CaughtEarlyBuyer","type":"event"},{"anonymous":false,"inputs":[],"name":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokensBurned","type":"uint256"}],"name":"ManualBurnLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[],"name":"RequestedLPWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedBuybackAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuyAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSellAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWalletAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdatedPrivateMaxSell","type":"event"},{"anonymous":false,"inputs":[],"name":"WithdrewLPForMigration","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockForPenaltyEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"botsCaught","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boughtEarly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBuybackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancelLPWithdrawRequest","outputs":[],"stateMutability":"nonpayable","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":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earlyBuyPenaltyInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earlyBuyers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"emergencyUpdateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocksForPenalty","type":"uint256"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getEarlyBuyers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrivateSaleMaxSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocksForPenalty","type":"uint256"}],"name":"launchPerpetuity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPercToWithDraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpWithdrawRequestDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpWithdrawRequestPending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpWithdrawRequestTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"massExcludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"massRemoveBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPrivSaleSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextAvailableLpWithdrawDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nextPrivateWalletSellDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"privateSaleWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"removeBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percToWithdraw","type":"uint256"}],"name":"requestToWithdrawLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellBuybackFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_buybackAddress","type":"address"}],"name":"setBuybackAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPrivateSaleMaxSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","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":[],"name":"tokensForBuyback","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","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":[{"internalType":"uint256","name":"_buybackFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buybackFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRequestedLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6000600d556012805462ffffff19166001908117909155670de0b6b3a76400006015556017805460ff199081168317909155620151806023556005602655602780549091169091179055610708602855601e602a55601960809081527f50657270657475616c204275796261636b204d616368696e650000000000000060a052610100604052600360c08181526250424d60e81b60e05290620000a3838262000771565b506004620000b2828262000771565b505050620000cf620000c9620003e460201b60201c565b620003e8565b33600046600103620000f75750737a250d5630b4cf539739df2c5dacb4c659f2488d620001d9565b466004036200011c5750737a250d5630b4cf539739df2c5dacb4c659f2488d620001d9565b466038036200014157507310ed43c718714eb63d5aa57b78b54704e256024e620001d9565b4660610362000166575073d99d1c33f9fc3444f8101754abc46c52416550d1620001d9565b4661a4b1036200018c5750731b02da8cb0d097eb8d57a175b88c7d8b47997506620001d9565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b600980546001600160a01b0319166001600160a01b0383161790556000620001ff601290565b6200020c90600a62000952565b6200021c906305f5e1006200096a565b905060646200022d8260016200096a565b6200023991906200098c565b60065560646200024b8260016200096a565b6200025791906200098c565b6007556064620002698260016200096a565b6200027591906200098c565b600855620186a0620002898260196200096a565b6200029591906200098c565b600b55600060198190556102bc601a81905560c8601b81905591620002bb9190620009af565b620002c79190620009af565b6018556000601d8190556102bc601e81905560c8601f81905591620002ed9190620009af565b620002f99190620009af565b601c55600c80546001600160a01b031916331790556200031b8360016200043a565b620003283060016200043a565b6200033761dead60016200043a565b600c5462000350906001600160a01b031660016200043a565b60095462000369906001600160a01b031660016200043a565b620003768360016200049d565b620003833060016200049d565b6200039261dead60016200049d565b600c54620003ab906001600160a01b031660016200049d565b600954620003c4906001600160a01b031660016200049d565b620003d0308262000506565b620003db83620005eb565b505050620009c5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152602d6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b620004a76200066a565b6001600160a01b0382166000818152602c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200055e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001d0565b8060026000828254620005729190620009af565b90915550506001600160a01b03821660009081526020819052604081208054839290620005a1908490620009af565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b620005f56200066a565b6001600160a01b0381166200065c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620001d0565b6200066781620003e8565b50565b6005546001600160a01b03163314620006c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001d0565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006f857607f821691505b6020821081036200071957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006c857600081815260208120601f850160051c81016020861015620007485750805b601f850160051c820191505b81811015620007695782815560010162000754565b505050505050565b81516001600160401b038111156200078d576200078d620006cd565b620007a5816200079e8454620006e3565b846200071f565b602080601f831160018114620007dd5760008415620007c45750858301515b600019600386901b1c1916600185901b17855562000769565b600085815260208120601f198616915b828110156200080e57888601518255948401946001909101908401620007ed565b50858210156200082d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620008945781600019048211156200087857620008786200083d565b808516156200088657918102915b93841c939080029062000858565b509250929050565b600082620008ad575060016200094c565b81620008bc575060006200094c565b8160018114620008d55760028114620008e05762000900565b60019150506200094c565b60ff841115620008f457620008f46200083d565b50506001821b6200094c565b5060208310610133831016604e8410600b841016171562000925575081810a6200094c565b62000931838362000853565b80600019048211156200094857620009486200083d565b0290505b92915050565b60006200096360ff8416836200089c565b9392505050565b60008160001904831182151516156200098757620009876200083d565b500290565b600082620009aa57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200094c576200094c6200083d565b614ecb80620009d56000396000f3fe6080604052600436106104c45760003560e01c80638366e79a11610276578063c7c61e2c1161014f578063eb472fc4116100c1578063f5648a4f11610085578063f5648a4f14610df4578063f637434214610e09578063f8b45b0514610e1f578063f9d08d8b14610e35578063fd361d0e14610e55578063fe72b27a14610e6f57600080fd5b8063eb472fc414610d72578063ee40166e14610d92578063ee44b44e14610da8578063f11a24d314610dbe578063f2fde38b14610dd457600080fd5b8063d85ba06311610113578063d85ba06314610cdb578063dc3f0d0f14610cf1578063dd62ed3e14610d11578063e2f4560514610d31578063e71dc3f514610d47578063e884f26014610d5d57600080fd5b8063c7c61e2c14610c56578063c876d0b914610c6b578063cc2fbd6614610c85578063d257b34f14610ca5578063d4090d2a14610cc557600080fd5b8063a62068ce116101e8578063b62496f5116101ac578063b62496f514610b87578063bbc0c74214610bb7578063bd5fb92014610bd6578063befd2fac14610bf6578063c024666814610c16578063c17b5b8c14610c3657600080fd5b8063a62068ce14610af5578063a9059cbb14610b0b578063acee28d114610b2b578063adb873bd14610b41578063afd6ce6114610b5757600080fd5b80639a5bd2dd1161023a5780639a5bd2dd14610a515780639a7a23d614610a735780639e93ad8e14610a935780639ec22c0e14610aa9578063a457c2d714610abf578063a4c82a0014610adf57600080fd5b80638366e79a146109b857806385ecfd28146109d857806388e765ff14610a085780638da5cb5b14610a1e57806395d89b4114610a3c57600080fd5b8063540ba552116103a8578063713d09741161031a5780637571336a116102de5780637571336a1461090d578063763cef491461092d578063783102eb146109425780637e88880d146109585780638095d5641461097857806382aa7c681461099857600080fd5b8063713d097414610898578063715018a6146108ad57806371a51522146108c2578063730c1888146108d8578063751039fc146108f857600080fd5b806366d602ae1161036c57806366d602ae146108015780636a486a8e146108175780636b0a894c1461082d5780636ddd17131461084357806370a0823114610863578063712c29851461088357600080fd5b8063540ba5521461076757806354b857461461077d57806358a6d5311461079d5780635bb988c9146107b45780635c3352d3146107d457600080fd5b80631a8145bb116104415780632e82f1a0116104055780632e82f1a0146106c2578063313ce567146106dc57806339509351146106f8578063452ed4f1146107185780634a62bb651461073857806351f205e41461075257600080fd5b80631a8145bb146106365780631c499ab01461064c57806323b872dd1461066c5780632be32b611461068c5780632c3e486c146106ac57600080fd5b80631805805b116104885780631805805b146105b357806318160ddd146105d5578063184c16c5146105ea57806318e1c12314610600578063199ffc721461062057600080fd5b8063058054c9146104d057806306fdde03146104f95780630758d9241461051b578063095ea7b31461055357806310d5de531461058357600080fd5b366104cb57005b600080fd5b3480156104dc57600080fd5b506104e660225481565b6040519081526020015b60405180910390f35b34801561050557600080fd5b5061050e610e8f565b6040516104f091906146d6565b34801561052757600080fd5b5060095461053b906001600160a01b031681565b6040516001600160a01b0390911681526020016104f0565b34801561055f57600080fd5b5061057361056e366004614739565b610f21565b60405190151581526020016104f0565b34801561058f57600080fd5b5061057361059e366004614765565b602d6020526000908152604090205460ff1681565b3480156105bf57600080fd5b506105d36105ce366004614765565b610f3b565b005b3480156105e157600080fd5b506002546104e6565b3480156105f657600080fd5b506104e6602a5481565b34801561060c57600080fd5b506105d361061b366004614789565b610fd4565b34801561062c57600080fd5b506104e660265481565b34801561064257600080fd5b506104e660215481565b34801561065857600080fd5b506105d3610667366004614789565b611086565b34801561067857600080fd5b506105736106873660046147a2565b611171565b34801561069857600080fd5b506105d36106a7366004614789565b611195565b3480156106b857600080fd5b506104e660285481565b3480156106ce57600080fd5b506027546105739060ff1681565b3480156106e857600080fd5b50604051601281526020016104f0565b34801561070457600080fd5b50610573610713366004614739565b61127e565b34801561072457600080fd5b50600a5461053b906001600160a01b031681565b34801561074457600080fd5b506012546105739060ff1681565b34801561075e57600080fd5b506105d36112a0565b34801561077357600080fd5b506104e660195481565b34801561078957600080fd5b506105d361079836600461482f565b611387565b3480156107a957600080fd5b50600e544310610573565b3480156107c057600080fd5b506105d36107cf366004614765565b611406565b3480156107e057600080fd5b506104e66107ef366004614765565b60146020526000908152604090205481565b34801561080d57600080fd5b506104e660075481565b34801561082357600080fd5b506104e6601c5481565b34801561083957600080fd5b506104e660115481565b34801561084f57600080fd5b506012546105739062010000900460ff1681565b34801561086f57600080fd5b506104e661087e366004614765565b611497565b34801561088f57600080fd5b506104e66114b2565b3480156108a457600080fd5b506104e66114db565b3480156108b957600080fd5b506105d36116d7565b3480156108ce57600080fd5b506104e6601d5481565b3480156108e457600080fd5b506105d36108f336600461487f565b6116eb565b34801561090457600080fd5b506105d36117f2565b34801561091957600080fd5b506105d36109283660046148b8565b611847565b34801561093957600080fd5b506105d36118ed565b34801561094e57600080fd5b506104e660255481565b34801561096457600080fd5b506105d3610973366004614765565b611a6c565b34801561098457600080fd5b506105d36109933660046148f1565b611b20565b3480156109a457600080fd5b506105d36109b3366004614789565b611bb9565b3480156109c457600080fd5b506105736109d336600461491d565b611ccb565b3480156109e457600080fd5b506105736109f3366004614765565b600f6020526000908152604090205460ff1681565b348015610a1457600080fd5b506104e660065481565b348015610a2a57600080fd5b506005546001600160a01b031661053b565b348015610a4857600080fd5b5061050e611ee2565b348015610a5d57600080fd5b50610a66611ef1565b6040516104f0919061498f565b348015610a7f57600080fd5b506105d3610a8e3660046148b8565b611f52565b348015610a9f57600080fd5b506104e661271081565b348015610ab557600080fd5b506104e6602b5481565b348015610acb57600080fd5b50610573610ada366004614739565b612024565b348015610aeb57600080fd5b506104e660295481565b348015610b0157600080fd5b506104e6600e5481565b348015610b1757600080fd5b50610573610b26366004614739565b61209f565b348015610b3757600080fd5b506104e660155481565b348015610b4d57600080fd5b506104e6601f5481565b348015610b6357600080fd5b50610573610b72366004614765565b60136020526000908152604090205460ff1681565b348015610b9357600080fd5b50610573610ba2366004614765565b602e6020526000908152604090205460ff1681565b348015610bc357600080fd5b5060125461057390610100900460ff1681565b348015610be257600080fd5b506105d3610bf13660046149a2565b6120ad565b348015610c0257600080fd5b506105d3610c11366004614789565b612197565b348015610c2257600080fd5b506105d3610c313660046148b8565b6122ab565b348015610c4257600080fd5b506105d3610c513660046148f1565b612312565b348015610c6257600080fd5b506105d36123ab565b348015610c7757600080fd5b506017546105739060ff1681565b348015610c9157600080fd5b50600c5461053b906001600160a01b031681565b348015610cb157600080fd5b506105d3610cc0366004614789565b6123f2565b348015610cd157600080fd5b506104e660205481565b348015610ce757600080fd5b506104e660185481565b348015610cfd57600080fd5b506105d3610d0c366004614789565b61251b565b348015610d1d57600080fd5b506104e6610d2c36600461491d565b612605565b348015610d3d57600080fd5b506104e6600b5481565b348015610d5357600080fd5b506104e6601b5481565b348015610d6957600080fd5b506105d3612630565b348015610d7e57600080fd5b5061053b610d8d366004614789565b612644565b348015610d9e57600080fd5b506104e6600d5481565b348015610db457600080fd5b506104e660235481565b348015610dca57600080fd5b506104e6601a5481565b348015610de057600080fd5b506105d3610def366004614765565b61266e565b348015610e0057600080fd5b506105d36126e7565b348015610e1557600080fd5b506104e6601e5481565b348015610e2b57600080fd5b506104e660085481565b348015610e4157600080fd5b506105d3610e50366004614789565b612731565b348015610e6157600080fd5b506024546105739060ff1681565b348015610e7b57600080fd5b506105d3610e8a366004614789565b612b64565b606060038054610e9e906149ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610eca906149ee565b8015610f175780601f10610eec57610100808354040283529160200191610f17565b820191906000526020600020905b815481529060010190602001808311610efa57829003601f168201915b5050505050905090565b600033610f2f818585612e3c565b60019150505b92915050565b610f43612f60565b601254610100900460ff1615610fb25760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f74207570646174652061667465722074726164696e6720697320666044820152681d5b98dd1a5bdb985b60ba1b60648201526084015b60405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b610fdc612f60565b600a8110158015610fef575061c3508111155b61103b5760405162461bcd60e51b815260206004820181905260248201527f4d75737420736574206265747765656e20302e3120616e642035303020424e426044820152606401610fa9565b61104c81662386f26fc10000614a3e565b6015556040518181527f0320a651094de4f5fc35c0f1c336811904e8f465b6599a93eb0dec4919b8fec5906020015b60405180910390a150565b61108e612f60565b61109a6012600a614b41565b60646110a560025490565b6110b090600a614a3e565b6110ba9190614b50565b6110c49190614b50565b8110156111265760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f776044820152696572207468616e20312560b01b6064820152608401610fa9565b6111326012600a614b41565b61113c9082614a3e565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc9060200161107b565b60003361117f858285612fba565b61118a85858561302e565b506001949350505050565b61119d612f60565b6111a96012600a614b41565b6103e86111b560025490565b6111c090600a614a3e565b6111ca9190614b50565b6111d49190614b50565b8110156112335760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152667468616e20312560c81b6064820152608401610fa9565b61123f6012600a614b41565b6112499082614a3e565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de410099060200161107b565b600033610f2f8185856112918383612605565b61129b9190614b72565b612e3c565b6112a8612f60565b600b546112b430611497565b101561132a576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610fa9565b600a805460ff60a01b1916600160a01b179055611345613ddb565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b61138f612f60565b60005b81811015611401576000600f60008585858181106113b2576113b2614b85565b90506020020160208101906113c79190614765565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806113f981614b9b565b915050611392565b505050565b61140e612f60565b6001600160a01b0381166000908152600f602052604090205460ff166114765760405162461bcd60e51b815260206004820152601e60248201527f57616c6c657420697320616c7265616479206e6f7420666c61676765642e00006044820152606401610fa9565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6001600160a01b031660009081526020819052604090205490565b60245460009060ff16156114d5576023546022546114d09190614b72565b905090565b50600090565b604080516002808252606082018352600092839291906020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156d9190614bca565b8160008151811061158057611580614b85565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106115b4576115b4614b85565b6001600160a01b039290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505060095460155460405163d06ca61f60e01b81529293506001600160a01b039091169163d06ca61f91611623918690600401614be7565b600060405180830381865afa158015611640573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116689190810190614c08565b90506064601d54601e5461167c9190614b72565b8260018151811061168f5761168f614b85565b60200260200101516116a19190614a3e565b6116ab9190614b50565b816001815181106116be576116be614b85565b60200260200101516116d09190614b72565b9250505090565b6116df612f60565b6116e96000613f3d565b565b6116f3612f60565b6102588310156117615760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610fa9565b6103e88211158015611771575060015b6117d65760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610fa9565b6028929092556026556027805460ff1916911515919091179055565b6117fa612f60565b6012805460ff199081169091556017805490911690556002546006556002546007556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b61184f612f60565b806118c257600a546001600160a01b03908116908316036118c25760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610fa9565b6001600160a01b03919091166000908152602d60205260409020805460ff1916911515919091179055565b6118f5612f60565b6118fd6114b2565b4210158015611913575060006119116114b2565b115b6119585760405162461bcd60e51b815260206004820152601660248201527526bab9ba103932b8bab2b9ba1030b732103bb0b4ba1760511b6044820152606401610fa9565b600060228190556024805460ff19168155602554600a546040516370a0823160e01b81523060048201526064936001600160a01b03909216916370a082319101602060405180830381865afa1580156119b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d99190614cc6565b6119e39190614a3e565b6119ed9190614b50565b6000602555600a5460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015611a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a689190614cdf565b5050565b611a74612f60565b6001600160a01b038116611ad65760405162461bcd60e51b815260206004820152602360248201527f5f6275796261636b4164647265737320616464726573732063616e6e6f74206260448201526206520360ec1b6064820152608401610fa9565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f35fdd09cd9e3c0b3db0ec0a84460f7988447f496226916c84ad69d0ba4e7f3ca90600090a250565b611b28612f60565b6019839055601a829055601b81905580611b428385614b72565b611b4c9190614b72565b6018556064611b5e612710600a614a3e565b611b689190614b50565b60185411156114015760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610fa9565b611bc1612f60565b601254610100900460ff1615611c195760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e670000000000000000006044820152606401610fa9565b6032811115611c7a5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f72652060448201526607468616e2035360cc1b6064820152608401610fa9565b6012805462ffff0019166201010017905543600d819055611c9c908290614b72565b600e556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6000611cd5612f60565b6001600160a01b038316611d2b5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610fa9565b6001600160a01b03831630141580611d4b5750601254610100900460ff16155b611db45760405162461bcd60e51b815260206004820152603460248201527f43616e2774207769746864726177206e617469766520746f6b656e73207768696044820152736c652074726164696e672069732061637469766560601b6064820152608401610fa9565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f9190614cc6565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015611e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e969190614cdf565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610e9e906149ee565b60606010805480602002602001604051908101604052809291908181526020018280548015610f1757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f2b575050505050905090565b611f5a612f60565b600a546001600160a01b0390811690831603611fde5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610fa9565b611fe88282613f8f565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600033816120328286612605565b9050838110156120925760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610fa9565b61118a8286868403612e3c565b600033610f2f81858561302e565b6120b5612f60565b60005b828110156121915781602c60008686858181106120d7576120d7614b85565b90506020020160208101906120ec9190614765565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905583838281811061212657612126614b85565b905060200201602081019061213b9190614765565b6001600160a01b03167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df783604051612177911515815260200190565b60405180910390a28061218981614b9b565b9150506120b8565b50505050565b61219f612f60565b60245460ff161561220c5760405162461bcd60e51b815260206004820152603160248201527f43616e6e6f74207265717565737420616761696e20756e74696c206669727374604482015270103932b8bab2b9ba1034b99037bb32b91760791b6064820152608401610fa9565b6064811115801561221d5750600081115b6122695760405162461bcd60e51b815260206004820152601a60248201527f4e65656420746f20736574206265747765656e20312d313030250000000000006044820152606401610fa9565b426022556024805460ff1916600117905560258190556040517fd99a77b2f3951cd076e75814e44db497e6abc203dd251329da0b62c288f9f48b90600090a150565b6122b3612f60565b6001600160a01b0382166000818152602c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61231a612f60565b601d839055601e829055601f819055806123348385614b72565b61233e9190614b72565b601c5560646123506127106014614a3e565b61235a9190614b50565b601c5411156114015760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610fa9565b6123b3612f60565b6024805460ff191690556000602581905560228190556040517ffbcc1c208c9c4d1d9f557267b55c5ae316e74ce676a0db72ef18c6d5f5767c619190a1565b6123fa612f60565b620186a061240760025490565b612412906001614a3e565b61241c9190614b50565b8110156124895760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610fa9565b6103e861249560025490565b6124a0906001614a3e565b6124aa9190614b50565b8111156125165760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610fa9565b600b55565b612523612f60565b61252f6012600a614b41565b6103e861253b60025490565b61254690600a614a3e565b6125509190614b50565b61255a9190614b50565b8110156125ba5760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015267207468616e20312560c01b6064820152608401610fa9565b6125c66012600a614b41565b6125d09082614a3e565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e9060200161107b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b612638612f60565b6017805460ff19169055565b6010818154811061265457600080fd5b6000918252602090912001546001600160a01b0316905081565b612676612f60565b6001600160a01b0381166126db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610fa9565b6126e481613f3d565b50565b6126ef612f60565b604051600090339047908381818185875af1925050503d8060008114612191576040519150601f19603f3d011682016040523d82523d6000602084013e612191565b612739612f60565b601254610100900460ff16156127a55760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610fa9565b600581106128045760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f7265206044820152657468616e203560d01b6064820152608401610fa9565b6012805462ffff0019166201010017905543600d819055612826908290614b72565b600e556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c99190614bca565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561292b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294f9190614bca565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561299c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c09190614bca565b600a80546001600160a01b0319166001600160a01b039290921691821790556129ea906001613fb9565b600a54612a01906001600160a01b03166001613f8f565b60004711612a5d5760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610fa9565b6000612a6830611497565b11612ac45760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610fa9565b600954612adf9030906001600160a01b031661129b82611497565b6009546001600160a01b031663f305d7194730612afb81611497565b60008030426040518863ffffffff1660e01b8152600401612b2196959493929190614cfc565b60606040518083038185885af1158015612b3f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906121919190614d37565b612b6c612f60565b6107d0811115612bdc5760405162461bcd60e51b815260206004820152603560248201527f4d6179206e6f74206275726e206d6f7265207468616e20323025206f6620636f6044820152746e74726163742773204c5020617420612074696d6560581b6064820152608401610fa9565b602a54612be99042614d65565b602b541115612c2a5760405162461bcd60e51b815260206004820152600d60248201526c213ab937103a37b79039b7b7b760991b6044820152606401610fa9565b42602b55600a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9b9190614cc6565b90506000612ca830611497565b90506000612710612cb98585614a3e565b612cc39190614b50565b600a5460095460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052929350479291169063095ea7b3906044016020604051808303816000875af1158015612d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d419190614cdf565b50600954604051629d473b60e21b81526001600160a01b03909116906302751cec90612d7c9030908690600190819084904290600401614cfc565b60408051808303816000875af1158015612d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dbe9190614d78565b5050600083612dcc30611497565b612dd69190614d65565b90508015612deb57612deb3061dead8361401c565b6000612df78347614d65565b90508015612e0857612e0881614170565b60405184907f81b7e7967a97e0708996ad25e859322b1c2e22612ac6798c9c95cfda2dca265f90600090a250505050505050565b6001600160a01b038316612e9e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610fa9565b6001600160a01b038216612eff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610fa9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146116e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610fa9565b6000612fc68484612605565b9050600019811461219157818110156130215760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610fa9565b6121918484848403612e3c565b6001600160a01b0383166130545760405162461bcd60e51b8152600401610fa990614d9c565b6001600160a01b03821661307a5760405162461bcd60e51b8152600401610fa990614de1565b600081116130ca5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610fa9565b601254610100900460ff1661315d576001600160a01b0383166000908152602c602052604090205460ff168061311857506001600160a01b0382166000908152602c602052604090205460ff165b61315d5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610fa9565b600e5443101580156131765750601254610100900460ff165b15613246576001600160a01b0383166000908152600f602052604090205460ff1615806131b057506005546001600160a01b038381169116145b806131c557506001600160a01b03821661dead145b6132465760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610fa9565b6001600160a01b03831660009081526013602052604090205460ff161561342d576001600160a01b0382166000908152602e602052604090205460ff1615613381576001600160a01b0383166000908152601460205260409020544210156132e25760405162461bcd60e51b815260206004820152600f60248201526e10d85b9b9bdd081cd95b1b081e595d608a1b6044820152606401610fa9565b6132ea6114db565b8111156133565760405162461bcd60e51b815260206004820152603460248201527f417474656d7074696e6720746f2073656c6c206f766572206d61782073656c6c6044820152731030b6b7bab73a17101021b432b1b59036b0bc1760611b6064820152608401610fa9565b6133634262015180614b72565b6001600160a01b03841660009081526014602052604090205561342d565b6001600160a01b0382166000908152602c602052604090205460ff1661342d5760405162461bcd60e51b815260206004820152605560248201527f507269766174652073616c652063616e6e6f74207472616e7366657220616e6460448201527f206d7573742073656c6c206f6e6c79206f72207472616e7366657220746f2061606482015274103bb434ba32b634b9ba32b21030b2323932b9b99760591b608482015260a401610fa9565b60125460ff1615613829576005546001600160a01b0384811691161480159061346457506005546001600160a01b03838116911614155b801561347857506001600160a01b03821615155b801561348f57506001600160a01b03821661dead14155b80156134b457506001600160a01b0383166000908152602c602052604090205460ff16155b80156134d957506001600160a01b0382166000908152602c602052604090205460ff16155b156138295760175460ff16156135f2576009546001600160a01b038381169116148015906135155750600a546001600160a01b03838116911614155b156135f257613525600243614d65565b326000908152601660205260409020541080156135635750613548600243614d65565b6001600160a01b038316600090815260166020526040902054105b6135cd5760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610fa9565b3260009081526016602052604080822043908190556001600160a01b03851683529120555b6001600160a01b0383166000908152602e602052604090205460ff16801561363357506001600160a01b0382166000908152602d602052604090205460ff16155b156136ff5760065481111561369b5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610fa9565b6008546136a783611497565b6136b19083614b72565b11156136fa5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08195e18d95959081b585e081dd85b1b195d60421b6044820152606401610fa9565b613829565b6001600160a01b0382166000908152602e602052604090205460ff16801561374057506001600160a01b0383166000908152602d602052604090205460ff16155b156137aa576007548111156136fa5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610fa9565b6001600160a01b0382166000908152602d602052604090205460ff16613829576008546137d683611497565b6137e09083614b72565b11156138295760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08195e18d95959081b585e081dd85b1b195d60421b6044820152606401610fa9565b600061383430611497565b600b5490915081108015908190613853575060125462010000900460ff165b80156138695750600a54600160a01b900460ff16155b801561388e57506001600160a01b0385166000908152602e602052604090205460ff16155b80156138b357506001600160a01b0385166000908152602c602052604090205460ff16155b80156138d857506001600160a01b0384166000908152602c602052604090205460ff16155b1561390657600a805460ff60a01b1916600160a01b1790556138f8613ddb565b600a805460ff60a01b191690555b600a54600160a01b900460ff1615801561393857506001600160a01b0384166000908152602e602052604090205460ff165b8015613946575060275460ff165b8015613961575060285460295461395d9190614b72565b4210155b801561398657506001600160a01b0385166000908152602c602052604090205460ff16155b15613993576139936142c3565b6001600160a01b0385166000908152602c602052604090205460019060ff16806139d557506001600160a01b0385166000908152602c602052604090205460ff165b156139de575060005b6000808215613dc657600e5443108015613a1057506001600160a01b0388166000908152602e602052604090205460ff165b8015613a3557506001600160a01b0387166000908152602e602052604090205460ff16155b8015613a5a57506001600160a01b0387166000908152602c602052604090205460ff16155b8015613a6857506000601854115b15613c0e57600e544310613a8f57600160066000828254613a899190614d65565b90915550505b6001600160a01b0387166000908152600f602052604090205460ff16613b6f576001600160a01b0387166000908152600f60205260408120805460ff191660019081179091556011805491929091613ae8908490614b72565b9091555050601080546001810182556000919091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319166001600160a01b0389169081179091556040519081527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b61271060185487613b809190614a3e565b613b8a9190614b50565b9150601854601a5483613b9d9190614a3e565b613ba79190614b50565b60216000828254613bb89190614b72565b9091555050601854601954613bcd9084614a3e565b613bd79190614b50565b60206000828254613be89190614b72565b9091555050601854601b54613bfd9084614a3e565b613c079190614b50565b9050613d95565b6001600160a01b0387166000908152602e602052604090205460ff168015613c3857506000601c54115b15613ccb57612710601c5487613c4e9190614a3e565b613c589190614b50565b9150601c54601e5483613c6b9190614a3e565b613c759190614b50565b60216000828254613c869190614b72565b9091555050601c54601d54613c9b9084614a3e565b613ca59190614b50565b60206000828254613cb69190614b72565b9091555050601854601f54613bfd9084614a3e565b6001600160a01b0388166000908152602e602052604090205460ff168015613cf557506000601854115b15613d955761271060185487613d0b9190614a3e565b613d159190614b50565b9150601854601a5483613d289190614a3e565b613d329190614b50565b60216000828254613d439190614b72565b9091555050601854601954613d589084614a3e565b613d629190614b50565b60206000828254613d739190614b72565b9091555050601854601b54613d889084614a3e565b613d929190614b50565b90505b8115613db957613da688308461401c565b8015613db957613db93061dead8361401c565b613dc38287614d65565b95505b613dd188888861401c565b5050505050505050565b6000613de630611497565b90506000602054602154613dfa9190614b72565b9050811580613e07575080155b15613e10575050565b600b54613e1e90600a614a3e565b821115613e3657600b54613e3390600a614a3e565b91505b60008060028360215486613e4a9190614a3e565b613e549190614b50565b613e5e9190614b50565b9050613e72613e6d8286614d65565b6144dd565b60215447908190600090613e8890600290614b50565b613e929087614d65565b602054613e9f9085614a3e565b613ea99190614b50565b9050613eb58183614d65565b6000602181905560205591508315801590613ed05750600082115b15613edf57613edf8483614637565b600c546040516001600160a01b03909116904790600081818185875af1925050503d8060008114613f2c576040519150601f19603f3d011682016040523d82523d6000602084013e613f31565b606091505b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152602e60205260409020805460ff1916821515179055611fe882825b6001600160a01b0382166000818152602d6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0383166140425760405162461bcd60e51b8152600401610fa990614d9c565b6001600160a01b0382166140685760405162461bcd60e51b8152600401610fa990614de1565b6001600160a01b038316600090815260208190526040902054818110156140e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610fa9565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290614117908490614b72565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161416391815260200190565b60405180910390a3612191565b6040805160028082526060820183526000926020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156141da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141fe9190614bca565b8160008151811061421157614211614b85565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061424557614245614b85565b6001600160a01b03928316602091820292909201015260095460405163b6f9de9560e01b815291169063b6f9de9590849061428d90600090869061dead904290600401614e24565b6000604051808303818588803b1580156142a657600080fd5b505af11580156142ba573d6000803e3d6000fd5b50505050505050565b426029819055602b55600a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015614315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143399190614cc6565b9050600061434630611497565b905060006127106026548461435b9190614a3e565b6143659190614b50565b600a5460095460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052929350479291169063095ea7b3906044016020604051808303816000875af11580156143bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143e39190614cdf565b50600954604051629d473b60e21b81526001600160a01b03909116906302751cec9061441e9030908690600190819084904290600401614cfc565b60408051808303816000875af115801561443c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144609190614d78565b505060008361446e30611497565b6144789190614d65565b9050801561448d5761448d3061dead8361401c565b60006144998347614d65565b905080156144aa576144aa81614170565b60405184907f30464008593337c7762c84338a125f5c481ce1997dbf1d7931bcce0b6430787a90600090a2505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061451257614512614b85565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561456b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061458f9190614bca565b816001815181106145a2576145a2614b85565b6001600160a01b0392831660209182029290920101526009546145c89130911684612e3c565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790614601908590600090869030904290600401614e59565b600060405180830381600087803b15801561461b57600080fd5b505af115801561462f573d6000803e3d6000fd5b505050505050565b60095461464f9030906001600160a01b031684612e3c565b60095460405163f305d71960e01b81526001600160a01b039091169063f305d71990839061468c9030908790600090819084904290600401614cfc565b60606040518083038185885af11580156146aa573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906146cf9190614d37565b5050505050565b600060208083528351808285015260005b81811015614703578581018301518582016040015282016146e7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146126e457600080fd5b6000806040838503121561474c57600080fd5b823561475781614724565b946020939093013593505050565b60006020828403121561477757600080fd5b813561478281614724565b9392505050565b60006020828403121561479b57600080fd5b5035919050565b6000806000606084860312156147b757600080fd5b83356147c281614724565b925060208401356147d281614724565b929592945050506040919091013590565b60008083601f8401126147f557600080fd5b50813567ffffffffffffffff81111561480d57600080fd5b6020830191508360208260051b850101111561482857600080fd5b9250929050565b6000806020838503121561484257600080fd5b823567ffffffffffffffff81111561485957600080fd5b614865858286016147e3565b90969095509350505050565b80151581146126e457600080fd5b60008060006060848603121561489457600080fd5b833592506020840135915060408401356148ad81614871565b809150509250925092565b600080604083850312156148cb57600080fd5b82356148d681614724565b915060208301356148e681614871565b809150509250929050565b60008060006060848603121561490657600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561493057600080fd5b823561493b81614724565b915060208301356148e681614724565b600081518084526020808501945080840160005b838110156149845781516001600160a01b03168752958201959082019060010161495f565b509495945050505050565b602081526000614782602083018461494b565b6000806000604084860312156149b757600080fd5b833567ffffffffffffffff8111156149ce57600080fd5b6149da868287016147e3565b90945092505060208401356148ad81614871565b600181811c90821680614a0257607f821691505b602082108103614a2257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615614a5857614a58614a28565b500290565b600181815b80851115614a98578160001904821115614a7e57614a7e614a28565b80851615614a8b57918102915b93841c9390800290614a62565b509250929050565b600082614aaf57506001610f35565b81614abc57506000610f35565b8160018114614ad25760028114614adc57614af8565b6001915050610f35565b60ff841115614aed57614aed614a28565b50506001821b610f35565b5060208310610133831016604e8410600b8410161715614b1b575081810a610f35565b614b258383614a5d565b8060001904821115614b3957614b39614a28565b029392505050565b600061478260ff841683614aa0565b600082614b6d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610f3557610f35614a28565b634e487b7160e01b600052603260045260246000fd5b600060018201614bad57614bad614a28565b5060010190565b634e487b7160e01b600052604160045260246000fd5b600060208284031215614bdc57600080fd5b815161478281614724565b828152604060208201526000614c00604083018461494b565b949350505050565b60006020808385031215614c1b57600080fd5b825167ffffffffffffffff80821115614c3357600080fd5b818501915085601f830112614c4757600080fd5b815181811115614c5957614c59614bb4565b8060051b604051601f19603f83011681018181108582111715614c7e57614c7e614bb4565b604052918252848201925083810185019188831115614c9c57600080fd5b938501935b82851015614cba57845184529385019392850192614ca1565b98975050505050505050565b600060208284031215614cd857600080fd5b5051919050565b600060208284031215614cf157600080fd5b815161478281614871565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600080600060608486031215614d4c57600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610f3557610f35614a28565b60008060408385031215614d8b57600080fd5b505080516020909101519092909150565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b848152608060208201526000614e3d608083018661494b565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a060408201526000614e7860a083018661494b565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122039e3ccc1f4218233ad8860f308da560821e40645ab81e28d701f834a6131e00964736f6c63430008100033

Deployed Bytecode

0x6080604052600436106104c45760003560e01c80638366e79a11610276578063c7c61e2c1161014f578063eb472fc4116100c1578063f5648a4f11610085578063f5648a4f14610df4578063f637434214610e09578063f8b45b0514610e1f578063f9d08d8b14610e35578063fd361d0e14610e55578063fe72b27a14610e6f57600080fd5b8063eb472fc414610d72578063ee40166e14610d92578063ee44b44e14610da8578063f11a24d314610dbe578063f2fde38b14610dd457600080fd5b8063d85ba06311610113578063d85ba06314610cdb578063dc3f0d0f14610cf1578063dd62ed3e14610d11578063e2f4560514610d31578063e71dc3f514610d47578063e884f26014610d5d57600080fd5b8063c7c61e2c14610c56578063c876d0b914610c6b578063cc2fbd6614610c85578063d257b34f14610ca5578063d4090d2a14610cc557600080fd5b8063a62068ce116101e8578063b62496f5116101ac578063b62496f514610b87578063bbc0c74214610bb7578063bd5fb92014610bd6578063befd2fac14610bf6578063c024666814610c16578063c17b5b8c14610c3657600080fd5b8063a62068ce14610af5578063a9059cbb14610b0b578063acee28d114610b2b578063adb873bd14610b41578063afd6ce6114610b5757600080fd5b80639a5bd2dd1161023a5780639a5bd2dd14610a515780639a7a23d614610a735780639e93ad8e14610a935780639ec22c0e14610aa9578063a457c2d714610abf578063a4c82a0014610adf57600080fd5b80638366e79a146109b857806385ecfd28146109d857806388e765ff14610a085780638da5cb5b14610a1e57806395d89b4114610a3c57600080fd5b8063540ba552116103a8578063713d09741161031a5780637571336a116102de5780637571336a1461090d578063763cef491461092d578063783102eb146109425780637e88880d146109585780638095d5641461097857806382aa7c681461099857600080fd5b8063713d097414610898578063715018a6146108ad57806371a51522146108c2578063730c1888146108d8578063751039fc146108f857600080fd5b806366d602ae1161036c57806366d602ae146108015780636a486a8e146108175780636b0a894c1461082d5780636ddd17131461084357806370a0823114610863578063712c29851461088357600080fd5b8063540ba5521461076757806354b857461461077d57806358a6d5311461079d5780635bb988c9146107b45780635c3352d3146107d457600080fd5b80631a8145bb116104415780632e82f1a0116104055780632e82f1a0146106c2578063313ce567146106dc57806339509351146106f8578063452ed4f1146107185780634a62bb651461073857806351f205e41461075257600080fd5b80631a8145bb146106365780631c499ab01461064c57806323b872dd1461066c5780632be32b611461068c5780632c3e486c146106ac57600080fd5b80631805805b116104885780631805805b146105b357806318160ddd146105d5578063184c16c5146105ea57806318e1c12314610600578063199ffc721461062057600080fd5b8063058054c9146104d057806306fdde03146104f95780630758d9241461051b578063095ea7b31461055357806310d5de531461058357600080fd5b366104cb57005b600080fd5b3480156104dc57600080fd5b506104e660225481565b6040519081526020015b60405180910390f35b34801561050557600080fd5b5061050e610e8f565b6040516104f091906146d6565b34801561052757600080fd5b5060095461053b906001600160a01b031681565b6040516001600160a01b0390911681526020016104f0565b34801561055f57600080fd5b5061057361056e366004614739565b610f21565b60405190151581526020016104f0565b34801561058f57600080fd5b5061057361059e366004614765565b602d6020526000908152604090205460ff1681565b3480156105bf57600080fd5b506105d36105ce366004614765565b610f3b565b005b3480156105e157600080fd5b506002546104e6565b3480156105f657600080fd5b506104e6602a5481565b34801561060c57600080fd5b506105d361061b366004614789565b610fd4565b34801561062c57600080fd5b506104e660265481565b34801561064257600080fd5b506104e660215481565b34801561065857600080fd5b506105d3610667366004614789565b611086565b34801561067857600080fd5b506105736106873660046147a2565b611171565b34801561069857600080fd5b506105d36106a7366004614789565b611195565b3480156106b857600080fd5b506104e660285481565b3480156106ce57600080fd5b506027546105739060ff1681565b3480156106e857600080fd5b50604051601281526020016104f0565b34801561070457600080fd5b50610573610713366004614739565b61127e565b34801561072457600080fd5b50600a5461053b906001600160a01b031681565b34801561074457600080fd5b506012546105739060ff1681565b34801561075e57600080fd5b506105d36112a0565b34801561077357600080fd5b506104e660195481565b34801561078957600080fd5b506105d361079836600461482f565b611387565b3480156107a957600080fd5b50600e544310610573565b3480156107c057600080fd5b506105d36107cf366004614765565b611406565b3480156107e057600080fd5b506104e66107ef366004614765565b60146020526000908152604090205481565b34801561080d57600080fd5b506104e660075481565b34801561082357600080fd5b506104e6601c5481565b34801561083957600080fd5b506104e660115481565b34801561084f57600080fd5b506012546105739062010000900460ff1681565b34801561086f57600080fd5b506104e661087e366004614765565b611497565b34801561088f57600080fd5b506104e66114b2565b3480156108a457600080fd5b506104e66114db565b3480156108b957600080fd5b506105d36116d7565b3480156108ce57600080fd5b506104e6601d5481565b3480156108e457600080fd5b506105d36108f336600461487f565b6116eb565b34801561090457600080fd5b506105d36117f2565b34801561091957600080fd5b506105d36109283660046148b8565b611847565b34801561093957600080fd5b506105d36118ed565b34801561094e57600080fd5b506104e660255481565b34801561096457600080fd5b506105d3610973366004614765565b611a6c565b34801561098457600080fd5b506105d36109933660046148f1565b611b20565b3480156109a457600080fd5b506105d36109b3366004614789565b611bb9565b3480156109c457600080fd5b506105736109d336600461491d565b611ccb565b3480156109e457600080fd5b506105736109f3366004614765565b600f6020526000908152604090205460ff1681565b348015610a1457600080fd5b506104e660065481565b348015610a2a57600080fd5b506005546001600160a01b031661053b565b348015610a4857600080fd5b5061050e611ee2565b348015610a5d57600080fd5b50610a66611ef1565b6040516104f0919061498f565b348015610a7f57600080fd5b506105d3610a8e3660046148b8565b611f52565b348015610a9f57600080fd5b506104e661271081565b348015610ab557600080fd5b506104e6602b5481565b348015610acb57600080fd5b50610573610ada366004614739565b612024565b348015610aeb57600080fd5b506104e660295481565b348015610b0157600080fd5b506104e6600e5481565b348015610b1757600080fd5b50610573610b26366004614739565b61209f565b348015610b3757600080fd5b506104e660155481565b348015610b4d57600080fd5b506104e6601f5481565b348015610b6357600080fd5b50610573610b72366004614765565b60136020526000908152604090205460ff1681565b348015610b9357600080fd5b50610573610ba2366004614765565b602e6020526000908152604090205460ff1681565b348015610bc357600080fd5b5060125461057390610100900460ff1681565b348015610be257600080fd5b506105d3610bf13660046149a2565b6120ad565b348015610c0257600080fd5b506105d3610c11366004614789565b612197565b348015610c2257600080fd5b506105d3610c313660046148b8565b6122ab565b348015610c4257600080fd5b506105d3610c513660046148f1565b612312565b348015610c6257600080fd5b506105d36123ab565b348015610c7757600080fd5b506017546105739060ff1681565b348015610c9157600080fd5b50600c5461053b906001600160a01b031681565b348015610cb157600080fd5b506105d3610cc0366004614789565b6123f2565b348015610cd157600080fd5b506104e660205481565b348015610ce757600080fd5b506104e660185481565b348015610cfd57600080fd5b506105d3610d0c366004614789565b61251b565b348015610d1d57600080fd5b506104e6610d2c36600461491d565b612605565b348015610d3d57600080fd5b506104e6600b5481565b348015610d5357600080fd5b506104e6601b5481565b348015610d6957600080fd5b506105d3612630565b348015610d7e57600080fd5b5061053b610d8d366004614789565b612644565b348015610d9e57600080fd5b506104e6600d5481565b348015610db457600080fd5b506104e660235481565b348015610dca57600080fd5b506104e6601a5481565b348015610de057600080fd5b506105d3610def366004614765565b61266e565b348015610e0057600080fd5b506105d36126e7565b348015610e1557600080fd5b506104e6601e5481565b348015610e2b57600080fd5b506104e660085481565b348015610e4157600080fd5b506105d3610e50366004614789565b612731565b348015610e6157600080fd5b506024546105739060ff1681565b348015610e7b57600080fd5b506105d3610e8a366004614789565b612b64565b606060038054610e9e906149ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610eca906149ee565b8015610f175780601f10610eec57610100808354040283529160200191610f17565b820191906000526020600020905b815481529060010190602001808311610efa57829003601f168201915b5050505050905090565b600033610f2f818585612e3c565b60019150505b92915050565b610f43612f60565b601254610100900460ff1615610fb25760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f74207570646174652061667465722074726164696e6720697320666044820152681d5b98dd1a5bdb985b60ba1b60648201526084015b60405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b610fdc612f60565b600a8110158015610fef575061c3508111155b61103b5760405162461bcd60e51b815260206004820181905260248201527f4d75737420736574206265747765656e20302e3120616e642035303020424e426044820152606401610fa9565b61104c81662386f26fc10000614a3e565b6015556040518181527f0320a651094de4f5fc35c0f1c336811904e8f465b6599a93eb0dec4919b8fec5906020015b60405180910390a150565b61108e612f60565b61109a6012600a614b41565b60646110a560025490565b6110b090600a614a3e565b6110ba9190614b50565b6110c49190614b50565b8110156111265760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f776044820152696572207468616e20312560b01b6064820152608401610fa9565b6111326012600a614b41565b61113c9082614a3e565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc9060200161107b565b60003361117f858285612fba565b61118a85858561302e565b506001949350505050565b61119d612f60565b6111a96012600a614b41565b6103e86111b560025490565b6111c090600a614a3e565b6111ca9190614b50565b6111d49190614b50565b8110156112335760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152667468616e20312560c81b6064820152608401610fa9565b61123f6012600a614b41565b6112499082614a3e565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de410099060200161107b565b600033610f2f8185856112918383612605565b61129b9190614b72565b612e3c565b6112a8612f60565b600b546112b430611497565b101561132a576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610fa9565b600a805460ff60a01b1916600160a01b179055611345613ddb565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b61138f612f60565b60005b81811015611401576000600f60008585858181106113b2576113b2614b85565b90506020020160208101906113c79190614765565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806113f981614b9b565b915050611392565b505050565b61140e612f60565b6001600160a01b0381166000908152600f602052604090205460ff166114765760405162461bcd60e51b815260206004820152601e60248201527f57616c6c657420697320616c7265616479206e6f7420666c61676765642e00006044820152606401610fa9565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6001600160a01b031660009081526020819052604090205490565b60245460009060ff16156114d5576023546022546114d09190614b72565b905090565b50600090565b604080516002808252606082018352600092839291906020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156d9190614bca565b8160008151811061158057611580614b85565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106115b4576115b4614b85565b6001600160a01b039290921660209283029190910182015260408051600280825260608201835260009391929091830190803683370190505060095460155460405163d06ca61f60e01b81529293506001600160a01b039091169163d06ca61f91611623918690600401614be7565b600060405180830381865afa158015611640573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116689190810190614c08565b90506064601d54601e5461167c9190614b72565b8260018151811061168f5761168f614b85565b60200260200101516116a19190614a3e565b6116ab9190614b50565b816001815181106116be576116be614b85565b60200260200101516116d09190614b72565b9250505090565b6116df612f60565b6116e96000613f3d565b565b6116f3612f60565b6102588310156117615760405162461bcd60e51b815260206004820152603360248201527f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e207468604482015272616e206576657279203130206d696e7574657360681b6064820152608401610fa9565b6103e88211158015611771575060015b6117d65760405162461bcd60e51b815260206004820152603060248201527f4d75737420736574206175746f204c50206275726e2070657263656e7420626560448201526f747765656e20302520616e642031302560801b6064820152608401610fa9565b6028929092556026556027805460ff1916911515919091179055565b6117fa612f60565b6012805460ff199081169091556017805490911690556002546006556002546007556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b61184f612f60565b806118c257600a546001600160a01b03908116908316036118c25760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610fa9565b6001600160a01b03919091166000908152602d60205260409020805460ff1916911515919091179055565b6118f5612f60565b6118fd6114b2565b4210158015611913575060006119116114b2565b115b6119585760405162461bcd60e51b815260206004820152601660248201527526bab9ba103932b8bab2b9ba1030b732103bb0b4ba1760511b6044820152606401610fa9565b600060228190556024805460ff19168155602554600a546040516370a0823160e01b81523060048201526064936001600160a01b03909216916370a082319101602060405180830381865afa1580156119b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d99190614cc6565b6119e39190614a3e565b6119ed9190614b50565b6000602555600a5460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015611a44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a689190614cdf565b5050565b611a74612f60565b6001600160a01b038116611ad65760405162461bcd60e51b815260206004820152602360248201527f5f6275796261636b4164647265737320616464726573732063616e6e6f74206260448201526206520360ec1b6064820152608401610fa9565b600c80546001600160a01b0319166001600160a01b0383169081179091556040517f35fdd09cd9e3c0b3db0ec0a84460f7988447f496226916c84ad69d0ba4e7f3ca90600090a250565b611b28612f60565b6019839055601a829055601b81905580611b428385614b72565b611b4c9190614b72565b6018556064611b5e612710600a614a3e565b611b689190614b50565b60185411156114015760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610fa9565b611bc1612f60565b601254610100900460ff1615611c195760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e670000000000000000006044820152606401610fa9565b6032811115611c7a5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f72652060448201526607468616e2035360cc1b6064820152608401610fa9565b6012805462ffff0019166201010017905543600d819055611c9c908290614b72565b600e556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6000611cd5612f60565b6001600160a01b038316611d2b5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610fa9565b6001600160a01b03831630141580611d4b5750601254610100900460ff16155b611db45760405162461bcd60e51b815260206004820152603460248201527f43616e2774207769746864726177206e617469766520746f6b656e73207768696044820152736c652074726164696e672069732061637469766560601b6064820152608401610fa9565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f9190614cc6565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af1158015611e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e969190614cdf565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610e9e906149ee565b60606010805480602002602001604051908101604052809291908181526020018280548015610f1757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f2b575050505050905090565b611f5a612f60565b600a546001600160a01b0390811690831603611fde5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610fa9565b611fe88282613f8f565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b600033816120328286612605565b9050838110156120925760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610fa9565b61118a8286868403612e3c565b600033610f2f81858561302e565b6120b5612f60565b60005b828110156121915781602c60008686858181106120d7576120d7614b85565b90506020020160208101906120ec9190614765565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905583838281811061212657612126614b85565b905060200201602081019061213b9190614765565b6001600160a01b03167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df783604051612177911515815260200190565b60405180910390a28061218981614b9b565b9150506120b8565b50505050565b61219f612f60565b60245460ff161561220c5760405162461bcd60e51b815260206004820152603160248201527f43616e6e6f74207265717565737420616761696e20756e74696c206669727374604482015270103932b8bab2b9ba1034b99037bb32b91760791b6064820152608401610fa9565b6064811115801561221d5750600081115b6122695760405162461bcd60e51b815260206004820152601a60248201527f4e65656420746f20736574206265747765656e20312d313030250000000000006044820152606401610fa9565b426022556024805460ff1916600117905560258190556040517fd99a77b2f3951cd076e75814e44db497e6abc203dd251329da0b62c288f9f48b90600090a150565b6122b3612f60565b6001600160a01b0382166000818152602c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b61231a612f60565b601d839055601e829055601f819055806123348385614b72565b61233e9190614b72565b601c5560646123506127106014614a3e565b61235a9190614b50565b601c5411156114015760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420323025206f72206c6573730000006044820152606401610fa9565b6123b3612f60565b6024805460ff191690556000602581905560228190556040517ffbcc1c208c9c4d1d9f557267b55c5ae316e74ce676a0db72ef18c6d5f5767c619190a1565b6123fa612f60565b620186a061240760025490565b612412906001614a3e565b61241c9190614b50565b8110156124895760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610fa9565b6103e861249560025490565b6124a0906001614a3e565b6124aa9190614b50565b8111156125165760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610fa9565b600b55565b612523612f60565b61252f6012600a614b41565b6103e861253b60025490565b61254690600a614a3e565b6125509190614b50565b61255a9190614b50565b8110156125ba5760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015267207468616e20312560c01b6064820152608401610fa9565b6125c66012600a614b41565b6125d09082614a3e565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e9060200161107b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b612638612f60565b6017805460ff19169055565b6010818154811061265457600080fd5b6000918252602090912001546001600160a01b0316905081565b612676612f60565b6001600160a01b0381166126db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610fa9565b6126e481613f3d565b50565b6126ef612f60565b604051600090339047908381818185875af1925050503d8060008114612191576040519150601f19603f3d011682016040523d82523d6000602084013e612191565b612739612f60565b601254610100900460ff16156127a55760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201526a3a103932b630bab731b41760a91b6064820152608401610fa9565b600581106128045760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f74206d616b652070656e616c747920626c6f636b73206d6f7265206044820152657468616e203560d01b6064820152608401610fa9565b6012805462ffff0019166201010017905543600d819055612826908290614b72565b600e556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c99190614bca565b6001600160a01b031663c9c6539630600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561292b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294f9190614bca565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561299c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c09190614bca565b600a80546001600160a01b0319166001600160a01b039290921691821790556129ea906001613fb9565b600a54612a01906001600160a01b03166001613f8f565b60004711612a5d5760405162461bcd60e51b815260206004820152602360248201527f4d757374206861766520455448206f6e20636f6e747261637420746f206c61756044820152620dcc6d60eb1b6064820152608401610fa9565b6000612a6830611497565b11612ac45760405162461bcd60e51b815260206004820152602660248201527f4d757374206861766520546f6b656e73206f6e20636f6e747261637420746f206044820152650d8c2eadcc6d60d31b6064820152608401610fa9565b600954612adf9030906001600160a01b031661129b82611497565b6009546001600160a01b031663f305d7194730612afb81611497565b60008030426040518863ffffffff1660e01b8152600401612b2196959493929190614cfc565b60606040518083038185885af1158015612b3f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906121919190614d37565b612b6c612f60565b6107d0811115612bdc5760405162461bcd60e51b815260206004820152603560248201527f4d6179206e6f74206275726e206d6f7265207468616e20323025206f6620636f6044820152746e74726163742773204c5020617420612074696d6560581b6064820152608401610fa9565b602a54612be99042614d65565b602b541115612c2a5760405162461bcd60e51b815260206004820152600d60248201526c213ab937103a37b79039b7b7b760991b6044820152606401610fa9565b42602b55600a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9b9190614cc6565b90506000612ca830611497565b90506000612710612cb98585614a3e565b612cc39190614b50565b600a5460095460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052929350479291169063095ea7b3906044016020604051808303816000875af1158015612d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d419190614cdf565b50600954604051629d473b60e21b81526001600160a01b03909116906302751cec90612d7c9030908690600190819084904290600401614cfc565b60408051808303816000875af1158015612d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dbe9190614d78565b5050600083612dcc30611497565b612dd69190614d65565b90508015612deb57612deb3061dead8361401c565b6000612df78347614d65565b90508015612e0857612e0881614170565b60405184907f81b7e7967a97e0708996ad25e859322b1c2e22612ac6798c9c95cfda2dca265f90600090a250505050505050565b6001600160a01b038316612e9e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610fa9565b6001600160a01b038216612eff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610fa9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146116e95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610fa9565b6000612fc68484612605565b9050600019811461219157818110156130215760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610fa9565b6121918484848403612e3c565b6001600160a01b0383166130545760405162461bcd60e51b8152600401610fa990614d9c565b6001600160a01b03821661307a5760405162461bcd60e51b8152600401610fa990614de1565b600081116130ca5760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610fa9565b601254610100900460ff1661315d576001600160a01b0383166000908152602c602052604090205460ff168061311857506001600160a01b0382166000908152602c602052604090205460ff165b61315d5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610fa9565b600e5443101580156131765750601254610100900460ff165b15613246576001600160a01b0383166000908152600f602052604090205460ff1615806131b057506005546001600160a01b038381169116145b806131c557506001600160a01b03821661dead145b6132465760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610fa9565b6001600160a01b03831660009081526013602052604090205460ff161561342d576001600160a01b0382166000908152602e602052604090205460ff1615613381576001600160a01b0383166000908152601460205260409020544210156132e25760405162461bcd60e51b815260206004820152600f60248201526e10d85b9b9bdd081cd95b1b081e595d608a1b6044820152606401610fa9565b6132ea6114db565b8111156133565760405162461bcd60e51b815260206004820152603460248201527f417474656d7074696e6720746f2073656c6c206f766572206d61782073656c6c6044820152731030b6b7bab73a17101021b432b1b59036b0bc1760611b6064820152608401610fa9565b6133634262015180614b72565b6001600160a01b03841660009081526014602052604090205561342d565b6001600160a01b0382166000908152602c602052604090205460ff1661342d5760405162461bcd60e51b815260206004820152605560248201527f507269766174652073616c652063616e6e6f74207472616e7366657220616e6460448201527f206d7573742073656c6c206f6e6c79206f72207472616e7366657220746f2061606482015274103bb434ba32b634b9ba32b21030b2323932b9b99760591b608482015260a401610fa9565b60125460ff1615613829576005546001600160a01b0384811691161480159061346457506005546001600160a01b03838116911614155b801561347857506001600160a01b03821615155b801561348f57506001600160a01b03821661dead14155b80156134b457506001600160a01b0383166000908152602c602052604090205460ff16155b80156134d957506001600160a01b0382166000908152602c602052604090205460ff16155b156138295760175460ff16156135f2576009546001600160a01b038381169116148015906135155750600a546001600160a01b03838116911614155b156135f257613525600243614d65565b326000908152601660205260409020541080156135635750613548600243614d65565b6001600160a01b038316600090815260166020526040902054105b6135cd5760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610fa9565b3260009081526016602052604080822043908190556001600160a01b03851683529120555b6001600160a01b0383166000908152602e602052604090205460ff16801561363357506001600160a01b0382166000908152602d602052604090205460ff16155b156136ff5760065481111561369b5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610fa9565b6008546136a783611497565b6136b19083614b72565b11156136fa5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08195e18d95959081b585e081dd85b1b195d60421b6044820152606401610fa9565b613829565b6001600160a01b0382166000908152602e602052604090205460ff16801561374057506001600160a01b0383166000908152602d602052604090205460ff16155b156137aa576007548111156136fa5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610fa9565b6001600160a01b0382166000908152602d602052604090205460ff16613829576008546137d683611497565b6137e09083614b72565b11156138295760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08195e18d95959081b585e081dd85b1b195d60421b6044820152606401610fa9565b600061383430611497565b600b5490915081108015908190613853575060125462010000900460ff165b80156138695750600a54600160a01b900460ff16155b801561388e57506001600160a01b0385166000908152602e602052604090205460ff16155b80156138b357506001600160a01b0385166000908152602c602052604090205460ff16155b80156138d857506001600160a01b0384166000908152602c602052604090205460ff16155b1561390657600a805460ff60a01b1916600160a01b1790556138f8613ddb565b600a805460ff60a01b191690555b600a54600160a01b900460ff1615801561393857506001600160a01b0384166000908152602e602052604090205460ff165b8015613946575060275460ff165b8015613961575060285460295461395d9190614b72565b4210155b801561398657506001600160a01b0385166000908152602c602052604090205460ff16155b15613993576139936142c3565b6001600160a01b0385166000908152602c602052604090205460019060ff16806139d557506001600160a01b0385166000908152602c602052604090205460ff165b156139de575060005b6000808215613dc657600e5443108015613a1057506001600160a01b0388166000908152602e602052604090205460ff165b8015613a3557506001600160a01b0387166000908152602e602052604090205460ff16155b8015613a5a57506001600160a01b0387166000908152602c602052604090205460ff16155b8015613a6857506000601854115b15613c0e57600e544310613a8f57600160066000828254613a899190614d65565b90915550505b6001600160a01b0387166000908152600f602052604090205460ff16613b6f576001600160a01b0387166000908152600f60205260408120805460ff191660019081179091556011805491929091613ae8908490614b72565b9091555050601080546001810182556000919091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319166001600160a01b0389169081179091556040519081527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b61271060185487613b809190614a3e565b613b8a9190614b50565b9150601854601a5483613b9d9190614a3e565b613ba79190614b50565b60216000828254613bb89190614b72565b9091555050601854601954613bcd9084614a3e565b613bd79190614b50565b60206000828254613be89190614b72565b9091555050601854601b54613bfd9084614a3e565b613c079190614b50565b9050613d95565b6001600160a01b0387166000908152602e602052604090205460ff168015613c3857506000601c54115b15613ccb57612710601c5487613c4e9190614a3e565b613c589190614b50565b9150601c54601e5483613c6b9190614a3e565b613c759190614b50565b60216000828254613c869190614b72565b9091555050601c54601d54613c9b9084614a3e565b613ca59190614b50565b60206000828254613cb69190614b72565b9091555050601854601f54613bfd9084614a3e565b6001600160a01b0388166000908152602e602052604090205460ff168015613cf557506000601854115b15613d955761271060185487613d0b9190614a3e565b613d159190614b50565b9150601854601a5483613d289190614a3e565b613d329190614b50565b60216000828254613d439190614b72565b9091555050601854601954613d589084614a3e565b613d629190614b50565b60206000828254613d739190614b72565b9091555050601854601b54613d889084614a3e565b613d929190614b50565b90505b8115613db957613da688308461401c565b8015613db957613db93061dead8361401c565b613dc38287614d65565b95505b613dd188888861401c565b5050505050505050565b6000613de630611497565b90506000602054602154613dfa9190614b72565b9050811580613e07575080155b15613e10575050565b600b54613e1e90600a614a3e565b821115613e3657600b54613e3390600a614a3e565b91505b60008060028360215486613e4a9190614a3e565b613e549190614b50565b613e5e9190614b50565b9050613e72613e6d8286614d65565b6144dd565b60215447908190600090613e8890600290614b50565b613e929087614d65565b602054613e9f9085614a3e565b613ea99190614b50565b9050613eb58183614d65565b6000602181905560205591508315801590613ed05750600082115b15613edf57613edf8483614637565b600c546040516001600160a01b03909116904790600081818185875af1925050503d8060008114613f2c576040519150601f19603f3d011682016040523d82523d6000602084013e613f31565b606091505b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152602e60205260409020805460ff1916821515179055611fe882825b6001600160a01b0382166000818152602d6020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0383166140425760405162461bcd60e51b8152600401610fa990614d9c565b6001600160a01b0382166140685760405162461bcd60e51b8152600401610fa990614de1565b6001600160a01b038316600090815260208190526040902054818110156140e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610fa9565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290614117908490614b72565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161416391815260200190565b60405180910390a3612191565b6040805160028082526060820183526000926020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156141da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141fe9190614bca565b8160008151811061421157614211614b85565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061424557614245614b85565b6001600160a01b03928316602091820292909201015260095460405163b6f9de9560e01b815291169063b6f9de9590849061428d90600090869061dead904290600401614e24565b6000604051808303818588803b1580156142a657600080fd5b505af11580156142ba573d6000803e3d6000fd5b50505050505050565b426029819055602b55600a546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015614315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143399190614cc6565b9050600061434630611497565b905060006127106026548461435b9190614a3e565b6143659190614b50565b600a5460095460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052929350479291169063095ea7b3906044016020604051808303816000875af11580156143bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143e39190614cdf565b50600954604051629d473b60e21b81526001600160a01b03909116906302751cec9061441e9030908690600190819084904290600401614cfc565b60408051808303816000875af115801561443c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144609190614d78565b505060008361446e30611497565b6144789190614d65565b9050801561448d5761448d3061dead8361401c565b60006144998347614d65565b905080156144aa576144aa81614170565b60405184907f30464008593337c7762c84338a125f5c481ce1997dbf1d7931bcce0b6430787a90600090a2505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061451257614512614b85565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561456b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061458f9190614bca565b816001815181106145a2576145a2614b85565b6001600160a01b0392831660209182029290920101526009546145c89130911684612e3c565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790614601908590600090869030904290600401614e59565b600060405180830381600087803b15801561461b57600080fd5b505af115801561462f573d6000803e3d6000fd5b505050505050565b60095461464f9030906001600160a01b031684612e3c565b60095460405163f305d71960e01b81526001600160a01b039091169063f305d71990839061468c9030908790600090819084904290600401614cfc565b60606040518083038185885af11580156146aa573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906146cf9190614d37565b5050505050565b600060208083528351808285015260005b81811015614703578581018301518582016040015282016146e7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146126e457600080fd5b6000806040838503121561474c57600080fd5b823561475781614724565b946020939093013593505050565b60006020828403121561477757600080fd5b813561478281614724565b9392505050565b60006020828403121561479b57600080fd5b5035919050565b6000806000606084860312156147b757600080fd5b83356147c281614724565b925060208401356147d281614724565b929592945050506040919091013590565b60008083601f8401126147f557600080fd5b50813567ffffffffffffffff81111561480d57600080fd5b6020830191508360208260051b850101111561482857600080fd5b9250929050565b6000806020838503121561484257600080fd5b823567ffffffffffffffff81111561485957600080fd5b614865858286016147e3565b90969095509350505050565b80151581146126e457600080fd5b60008060006060848603121561489457600080fd5b833592506020840135915060408401356148ad81614871565b809150509250925092565b600080604083850312156148cb57600080fd5b82356148d681614724565b915060208301356148e681614871565b809150509250929050565b60008060006060848603121561490657600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561493057600080fd5b823561493b81614724565b915060208301356148e681614724565b600081518084526020808501945080840160005b838110156149845781516001600160a01b03168752958201959082019060010161495f565b509495945050505050565b602081526000614782602083018461494b565b6000806000604084860312156149b757600080fd5b833567ffffffffffffffff8111156149ce57600080fd5b6149da868287016147e3565b90945092505060208401356148ad81614871565b600181811c90821680614a0257607f821691505b602082108103614a2257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615614a5857614a58614a28565b500290565b600181815b80851115614a98578160001904821115614a7e57614a7e614a28565b80851615614a8b57918102915b93841c9390800290614a62565b509250929050565b600082614aaf57506001610f35565b81614abc57506000610f35565b8160018114614ad25760028114614adc57614af8565b6001915050610f35565b60ff841115614aed57614aed614a28565b50506001821b610f35565b5060208310610133831016604e8410600b8410161715614b1b575081810a610f35565b614b258383614a5d565b8060001904821115614b3957614b39614a28565b029392505050565b600061478260ff841683614aa0565b600082614b6d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610f3557610f35614a28565b634e487b7160e01b600052603260045260246000fd5b600060018201614bad57614bad614a28565b5060010190565b634e487b7160e01b600052604160045260246000fd5b600060208284031215614bdc57600080fd5b815161478281614724565b828152604060208201526000614c00604083018461494b565b949350505050565b60006020808385031215614c1b57600080fd5b825167ffffffffffffffff80821115614c3357600080fd5b818501915085601f830112614c4757600080fd5b815181811115614c5957614c59614bb4565b8060051b604051601f19603f83011681018181108582111715614c7e57614c7e614bb4565b604052918252848201925083810185019188831115614c9c57600080fd5b938501935b82851015614cba57845184529385019392850192614ca1565b98975050505050505050565b600060208284031215614cd857600080fd5b5051919050565b600060208284031215614cf157600080fd5b815161478281614871565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600080600060608486031215614d4c57600080fd5b8351925060208401519150604084015190509250925092565b81810381811115610f3557610f35614a28565b60008060408385031215614d8b57600080fd5b505080516020909101519092909150565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b848152608060208201526000614e3d608083018661494b565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a060408201526000614e7860a083018661494b565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122039e3ccc1f4218233ad8860f308da560821e40645ab81e28d701f834a6131e00964736f6c63430008100033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.