ETH Price: $3,450.99 (+1.54%)
Gas: 4.81 Gwei

Token

Nyan Cat (Nyan)
 

Overview

Max Total Supply

1,000,000,000 Nyan

Holders

241

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,708 Nyan

Value
$0.00
0xfde6abf41414a1b85214f61e31ce94502b9d1239
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:
NyanCat

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

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

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░░░░░░░░░
░░░░░░░░▄▀░░░░░░░░░░░░▄░░░░░░░▀▄░░░░░░░
░░░░░░░░█░░▄░░░░▄░░░░░░░░░░░░░░█░░░░░░░
░░░░░░░░█░░░░░░░░░░░░▄█▄▄░░▄░░░█░▄▄▄░░░
░▄▄▄▄▄░░█░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██░░
░██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██░░
░░▀██▄▀██░░░░░░░░▀░██▀░░░░░░░░░░░░░▀██░
░░░░▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄█░░██░
░░░░░░░▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██░
░░░░░░░▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀░░
░░░░░░█▀▀█████████▀▀▀▀████████████▀░░░░
░░░░░░████▀░░███▀░░░░░░▀███░░▀██▀░░░░░░  
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 
██╗░░░██╗██████╗░
██║░░░██║╚════██╗
╚██╗░██╔╝░░███╔═╝
░╚████╔╝░██╔══╝░░
░░╚██╔╝░░███████╗
░░░╚═╝░░░╚══════╝ 


*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.15;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

interface IERC20 {

    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
   
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IERC20Metadata is IERC20 {
    
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    function _createInitialSupply(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

    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);
    }
}

contract Ownable is Context {
    address private _owner;

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

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() external virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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
        );
}

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

contract NyanCat is ERC20, Ownable {

    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWalletAmount;

    IDexRouter public dexRouter;
    address public lpPair;

    bool private swapping;
    uint256 public swapTokensAtAmount;

    address operationsAddress;
    address devAddress;

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

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

     // 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 buyOperationsFee;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;
    uint256 public buyBurnFee;

    uint256 public sellTotalFees;
    uint256 public sellOperationsFee;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;
    uint256 public sellBurnFee;

    uint256 public tokensForOperations;
    uint256 public tokensForLiquidity;
    uint256 public tokensForDev;
    uint256 public tokensForBurn;

    /******************/

    // 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 UpdatedOperationsAddress(address indexed newWallet);

    event MaxTransactionExclusion(address _address, bool excluded);

    event BuyBackTriggered(uint256 amount);

    event OwnerForcedSwapBack(uint256 timestamp);

    event CaughtEarlyBuyer(address sniper);

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

    event TransferForeignToken(address token, uint256 amount);

    constructor() ERC20("Nyan Cat", "Nyan") {

        address newOwner = msg.sender; // can leave alone if owner is deployer.

        IDexRouter _dexRouter = IDexRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        dexRouter = _dexRouter;

        // create pair
        lpPair = IDexFactory(_dexRouter.factory()).createPair(address(this), _dexRouter.WETH());
        _excludeFromMaxTransaction(address(lpPair), true);
        _setAutomatedMarketMakerPair(address(lpPair), true);

        uint256 totalSupply = 1 * 1e9 * 1e18;

        maxBuyAmount = totalSupply * 1 / 100;
        maxSellAmount = totalSupply * 1 / 200;
        maxWalletAmount = totalSupply * 2 / 100;
        swapTokensAtAmount = totalSupply * 5 / 10000;

        buyOperationsFee = 2;
        buyLiquidityFee = 0;
        buyDevFee = 1;
        buyBurnFee = 0;
        buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee + buyBurnFee;

        sellOperationsFee = 98;
        sellLiquidityFee = 0;
        sellDevFee = 1;
        sellBurnFee = 0;
        sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee + sellBurnFee;

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

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

        operationsAddress = address(newOwner);
        devAddress = address(newOwner);

        _createInitialSupply(newOwner, totalSupply);
        transferOwnership(newOwner);
    }

    receive() external payable {}

    // only enable if no plan to airdrop

    function enableTrading(uint256 deadBlocks) external onlyOwner {
        require(!tradingActive, "Cannot reenable trading");
        tradingActive = true;
        swapEnabled = true;
        tradingActiveBlock = block.number;
        blockForPenaltyEnd = tradingActiveBlock + deadBlocks;
        emit EnabledTrading();
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner {
        limitsInEffect = false;
        transferDelayEnabled = false;
        emit RemovedLimits();
    }

    function manageBoughtEarly(address wallet, bool flag) external onlyOwner {
        boughtEarly[wallet] = flag;
    }

    function massManageBoughtEarly(address[] calldata wallets, bool flag) external onlyOwner {
        for(uint256 i = 0; i < wallets.length; i++){
            boughtEarly[wallets[i]] = flag;
        }
    }

    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner {
        transferDelayEnabled = false;
    }

    function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 2 / 1000)/1e18, "Cannot set max buy amount lower than 0.2%");
        maxBuyAmount = newNum * (10**18);
        emit UpdatedMaxBuyAmount(maxBuyAmount);
    }

    function updateMaxSellAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 2 / 1000)/1e18, "Cannot set max sell amount lower than 0.2%");
        maxSellAmount = newNum * (10**18);
        emit UpdatedMaxSellAmount(maxSellAmount);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 3 / 1000)/1e18, "Cannot set max wallet amount lower than 0.3%");
        maxWalletAmount = newNum * (10**18);
        emit UpdatedMaxWalletAmount(maxWalletAmount);
    }

    // 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 airdropToWallets(address[] memory wallets, uint256[] memory amountsInTokens) external onlyOwner {
        require(wallets.length == amountsInTokens.length, "arrays must be the same length");
        require(wallets.length < 600, "Can only airdrop 600 wallets per txn due to gas limits"); // allows for airdrop + launch at the same exact time, reducing delays and reducing sniper input.
        for(uint256 i = 0; i < wallets.length; i++){
            address wallet = wallets[i];
            uint256 amount = amountsInTokens[i];
            super._transfer(msg.sender, wallet, amount);
        }
    }

    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 _operationsFee, uint256 _liquidityFee, uint256 _DevFee, uint256 _burnFee) external onlyOwner {
        buyOperationsFee = _operationsFee;
        buyLiquidityFee = _liquidityFee;
        buyDevFee = _DevFee;
        buyBurnFee = _burnFee;
        buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee + buyBurnFee;
        require(buyTotalFees <= 30, "Must keep fees at 30% or less");
    }

    function updateSellFees(uint256 _operationsFee, uint256 _liquidityFee, uint256 _DevFee, uint256 _burnFee) external onlyOwner {
        sellOperationsFee = _operationsFee;
        sellLiquidityFee = _liquidityFee;
        sellDevFee = _DevFee;
        sellBurnFee = _burnFee;
        sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee + sellBurnFee;
        require(sellTotalFees <= 30, "Must keep fees at 30% or less");
    }

    function returnToNormalTax() external onlyOwner {
        sellOperationsFee = 10;
        sellLiquidityFee = 2;
        sellDevFee = 5;
        sellBurnFee = 0;
        sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee + sellBurnFee;
        require(sellTotalFees <= 30, "Must keep fees at 30% or less");

        buyOperationsFee = 10;
        buyLiquidityFee = 2;
        buyDevFee = 5;
        buyBurnFee = 0;
        buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee + buyBurnFee;
        require(buyTotalFees <= 15, "Must keep fees at 15% or less");
    }

    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(blockForPenaltyEnd > 0){
            require(!boughtEarly[from] || to == owner() || to == address(0xdead), "Bots cannot transfer tokens in or out except to owner or dead 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) <= maxWalletAmount, "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) <= maxWalletAmount, "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;
        }

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

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if(takeFee){
            // bot/sniper penalty.
            if(earlyBuyPenaltyInEffect() && automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to] && buyTotalFees > 0){

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

                fees = amount * 99 / 100;
        	    tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                tokensForOperations += fees * buyOperationsFee / buyTotalFees;
                tokensForDev += fees * buyDevFee / buyTotalFees;
                tokensForBurn += fees * buyBurnFee / buyTotalFees;
            }

            // on sell
            else if (automatedMarketMakerPairs[to] && sellTotalFees > 0){
                fees = amount * sellTotalFees / 100;
                tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
                tokensForOperations += fees * sellOperationsFee / sellTotalFees;
                tokensForDev += fees * sellDevFee / sellTotalFees;
                tokensForBurn += fees * sellBurnFee / sellTotalFees;
            }

            // on buy
            else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
        	    fees = amount * buyTotalFees / 100;
        	    tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                tokensForOperations += fees * buyOperationsFee / buyTotalFees;
                tokensForDev += fees * buyDevFee / buyTotalFees;
                tokensForBurn += fees * buyBurnFee / buyTotalFees;
            }

            if(fees > 0){
                super._transfer(from, address(this), fees);
            }

        	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(0xdead),
            block.timestamp
        );
    }

    function swapBack() private {

        if(tokensForBurn > 0 && balanceOf(address(this)) >= tokensForBurn) {
            _burn(address(this), tokensForBurn);
        }
        tokensForBurn = 0;

        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity + tokensForOperations + tokensForDev;

        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}

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

        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 ethForOperations = ethBalance * tokensForOperations / (totalTokensToSwap - (tokensForLiquidity/2));
        uint256 ethForDev = ethBalance * tokensForDev / (totalTokensToSwap - (tokensForLiquidity/2));

        ethForLiquidity -= ethForOperations + ethForDev;

        tokensForLiquidity = 0;
        tokensForOperations = 0;
        tokensForDev = 0;
        tokensForBurn = 0;

        if(liquidityTokens > 0 && ethForLiquidity > 0){
            addLiquidity(liquidityTokens, ethForLiquidity);
        }

        (success,) = address(devAddress).call{value: ethForDev}("");

        (success,) = address(operationsAddress).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), "Can't withdraw native tokens");
        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 setOperationsAddress(address _operationsAddress) external onlyOwner {
        require(_operationsAddress != address(0), "_operationsAddress address cannot be 0");
        operationsAddress = payable(_operationsAddress);
    }

    function setDevAddress(address _devAddress) external onlyOwner {
        require(_devAddress != address(0), "_devAddress address cannot be 0");
        devAddress = payable(_devAddress);
    }

    // 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);
    }

    // useful for buybacks or to reclaim any ETH on the contract in a way that helps holders.
    function buyBackTokens(uint256 amountInWei) external onlyOwner {
        require(amountInWei <= 10 ether, "May not buy more than 10 ETH in a single buy to reduce sandwich attacks");

        address[] memory path = new address[](2);
        path[0] = dexRouter.WETH();
        path[1] = address(this);

        // make the swap
        dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountInWei}(
            0, // accept any amount of Ethereum
            path,
            address(0xdead),
            block.timestamp
        );
        emit BuyBackTriggered(amountInWei);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BuyBackTriggered","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":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":[{"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":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":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedOperationsAddress","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInTokens","type":"uint256[]"}],"name":"airdropToWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"amountInWei","type":"uint256"}],"name":"buyBackTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","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":"buyOperationsFee","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":"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":"deadBlocks","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":[{"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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"manageBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"massManageBoughtEarly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuyAmount","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":"maxWalletAmount","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"returnToNormalTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevFee","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":"sellOperationsFee","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":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operationsAddress","type":"address"}],"name":"setOperationsAddress","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":"tokensForBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","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":"tokensForOperations","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":"recipient","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":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"_operationsFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_DevFee","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":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operationsFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_DevFee","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":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000600e556012805462ffffff191660019081179091556014805460ff191690911790553480156200003557600080fd5b5060405180604001604052806008815260200167139e585b8810d85d60c21b81525060405180604001604052806004815260200163273cb0b760e11b815250816003908162000085919062000856565b50600462000094828262000856565b5050506000620000a96200044e60201b60201c565b600580546001600160a01b0319166001600160a01b03831690811790915560405191925090600090600080516020620047e5833981519152908290a350600980546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051339291829163c45a0155916004808201926020929091908290030181865afa15801562000150573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000176919062000922565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ea919062000922565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000238573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025e919062000922565b600a80546001600160a01b0319166001600160a01b039290921691821790556200028a90600162000452565b600a54620002a3906001600160a01b03166001620004b5565b6b033b2e3c9fd0803ce80000006064620002bf8260016200096a565b620002cb91906200098c565b60065560c8620002dd8260016200096a565b620002e991906200098c565b6007556064620002fb8260026200096a565b6200030791906200098c565b6008556127106200031a8260056200096a565b6200032691906200098c565b600b556002601681905560006017819055600160188190556019829055909162000352908390620009af565b6200035e9190620009af565b6200036a9190620009af565b6015556062601b8190556000601c8190556001601d819055601e829055909162000396908390620009af565b620003a29190620009af565b620003ae9190620009af565b601a55620003be83600162000452565b620003cb30600162000452565b620003da61dead600162000452565b620003e783600162000521565b620003f430600162000521565b6200040361dead600162000521565b600c80546001600160a01b0385166001600160a01b03199182168117909255600d805490911690911790556200043a8382620005cf565b6200044583620006b4565b505050620009ca565b3390565b6001600160a01b038216600081815260246020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0382166000908152602560205260409020805460ff1916821515179055620004e5828262000452565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b03163314620005705760405162461bcd60e51b81526020600482018190526024820152600080516020620047c583398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006275760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000567565b80600260008282546200063b9190620009af565b90915550506001600160a01b038216600090815260208190526040812080548392906200066a908490620009af565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620006ff5760405162461bcd60e51b81526020600482018190526024820152600080516020620047c5833981519152604482015260640162000567565b6001600160a01b038116620007665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000567565b6005546040516001600160a01b03808416921690600080516020620047e583398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620007dc57607f821691505b602082108103620007fd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200085157600081815260208120601f850160051c810160208610156200082c5750805b601f850160051c820191505b818110156200084d5782815560010162000838565b5050505b505050565b81516001600160401b03811115620008725762000872620007b1565b6200088a81620008838454620007c7565b8462000803565b602080601f831160018114620008c25760008415620008a95750858301515b600019600386901b1c1916600185901b1785556200084d565b600085815260208120601f198616915b82811015620008f357888601518255948401946001909101908401620008d2565b5085821015620009125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200093557600080fd5b81516001600160a01b03811681146200094d57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000987576200098762000954565b500290565b600082620009aa57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620009c557620009c562000954565b500190565b613deb80620009da6000396000f3fe6080604052600436106103e85760003560e01c80638da5cb5b11610208578063d257b34f11610118578063e800dff7116100ab578063f2fde38b1161007a578063f2fde38b14610b22578063f5648a4f14610b42578063f637434214610b57578063fb002c9714610b6d578063fc155d1d14610b8357600080fd5b8063e800dff714610ac1578063e884f26014610ae1578063ee40166e14610af6578063f11a24d314610b0c57600080fd5b8063e2cd5fcd116100e7578063e2cd5fcd14610a60578063e2f4560514610a75578063e71dc3f514610a8b578063e7ad9fcd14610aa157600080fd5b8063d257b34f146109c4578063d85ba063146109e4578063dc3f0d0f146109fa578063dd62ed3e14610a1a57600080fd5b8063a9059cbb1161019b578063bbc0c7421161016a578063bbc0c7421461092b578063c02466681461094a578063c18bc1951461096a578063c876d0b91461098a578063d0d41fe1146109a457600080fd5b8063a9059cbb146108af578063aa4bde28146108cf578063adb873bd146108e5578063b62496f5146108fb57600080fd5b80639fccce32116101d75780639fccce321461084d578063a0d82dc514610863578063a457c2d714610879578063a62068ce1461089957600080fd5b80638da5cb5b146107e457806395d89b41146108025780639a7a23d6146108175780639c3b4fdc1461083757600080fd5b80634a62bb65116103035780636ddd1713116102965780637571336a116102655780637571336a1461073e57806382aa7c681461075e5780638366e79a1461077e57806385ecfd281461079e57806388e765ff146107ce57600080fd5b80636ddd1713146106d457806370a08231146106f4578063715018a614610714578063751039fc1461072957600080fd5b80635a139dd4116102d25780635a139dd41461067c57806366d602ae146106925780636a486a8e146106a85780636b0a894c146106be57600080fd5b80634a62bb65146106205780634f77f6c01461063a57806351f205e41461065057806358a6d5311461066557600080fd5b80632307b4411161037b578063313ce5671161034a578063313ce567146105a457806339509351146105c0578063452ed4f1146105e0578063499b83941461060057600080fd5b80632307b4411461052457806323b872dd146105445780632be32b61146105645780632e6ed7ef1461058457600080fd5b8063130a2c3c116103b7578063130a2c3c146104b757806318160ddd146104d95780631a8145bb146104f85780631d7778561461050e57600080fd5b806306fdde03146103f45780630758d9241461041f578063095ea7b31461045757806310d5de531461048757600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b50610409610ba3565b60405161041691906136c0565b60405180910390f35b34801561042b57600080fd5b5060095461043f906001600160a01b031681565b6040516001600160a01b039091168152602001610416565b34801561046357600080fd5b5061047761047236600461372d565b610c35565b6040519015158152602001610416565b34801561049357600080fd5b506104776104a2366004613759565b60246020526000908152604090205460ff1681565b3480156104c357600080fd5b506104d76104d236600461378b565b610c4b565b005b3480156104e557600080fd5b506002545b604051908152602001610416565b34801561050457600080fd5b506104ea60205481565b34801561051a57600080fd5b506104ea60225481565b34801561053057600080fd5b506104d761053f3660046138e7565b610cf5565b34801561055057600080fd5b5061047761055f3660046139a9565b610e4e565b34801561057057600080fd5b506104d761057f3660046139ea565b610ef8565b34801561059057600080fd5b506104d761059f366004613a03565b611005565b3480156105b057600080fd5b5060405160128152602001610416565b3480156105cc57600080fd5b506104776105db36600461372d565b611088565b3480156105ec57600080fd5b50600a5461043f906001600160a01b031681565b34801561060c57600080fd5b506104d761061b366004613759565b6110c4565b34801561062c57600080fd5b506012546104779060ff1681565b34801561064657600080fd5b506104ea601b5481565b34801561065c57600080fd5b506104d7611175565b34801561067157600080fd5b50600f544310610477565b34801561068857600080fd5b506104ea60165481565b34801561069e57600080fd5b506104ea60075481565b3480156106b457600080fd5b506104ea601a5481565b3480156106ca57600080fd5b506104ea60115481565b3480156106e057600080fd5b506012546104779062010000900460ff1681565b34801561070057600080fd5b506104ea61070f366004613759565b61127e565b34801561072057600080fd5b506104d7611299565b34801561073557600080fd5b506104d761130d565b34801561074a57600080fd5b506104d7610759366004613a35565b611378565b34801561076a57600080fd5b506104d76107793660046139ea565b611440565b34801561078a57600080fd5b50610477610799366004613a6e565b611513565b3480156107aa57600080fd5b506104776107b9366004613759565b60106020526000908152604090205460ff1681565b3480156107da57600080fd5b506104ea60065481565b3480156107f057600080fd5b506005546001600160a01b031661043f565b34801561080e57600080fd5b5061040961171c565b34801561082357600080fd5b506104d7610832366004613a35565b61172b565b34801561084357600080fd5b506104ea60185481565b34801561085957600080fd5b506104ea60215481565b34801561086f57600080fd5b506104ea601d5481565b34801561088557600080fd5b5061047761089436600461372d565b61181f565b3480156108a557600080fd5b506104ea600f5481565b3480156108bb57600080fd5b506104776108ca36600461372d565b6118b8565b3480156108db57600080fd5b506104ea60085481565b3480156108f157600080fd5b506104ea601e5481565b34801561090757600080fd5b50610477610916366004613759565b60256020526000908152604090205460ff1681565b34801561093757600080fd5b5060125461047790610100900460ff1681565b34801561095657600080fd5b506104d7610965366004613a35565b6118c5565b34801561097657600080fd5b506104d76109853660046139ea565b61194e565b34801561099657600080fd5b506014546104779060ff1681565b3480156109b057600080fd5b506104d76109bf366004613759565b611a57565b3480156109d057600080fd5b506104d76109df3660046139ea565b611af9565b3480156109f057600080fd5b506104ea60155481565b348015610a0657600080fd5b506104d7610a153660046139ea565b611c44565b348015610a2657600080fd5b506104ea610a35366004613a6e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a6c57600080fd5b506104d7611d4b565b348015610a8157600080fd5b506104ea600b5481565b348015610a9757600080fd5b506104ea60195481565b348015610aad57600080fd5b506104d7610abc366004613a03565b611e69565b348015610acd57600080fd5b506104d7610adc366004613a35565b611eec565b348015610aed57600080fd5b506104d7611f41565b348015610b0257600080fd5b506104ea600e5481565b348015610b1857600080fd5b506104ea60175481565b348015610b2e57600080fd5b506104d7610b3d366004613759565b611f77565b348015610b4e57600080fd5b506104d7612062565b348015610b6357600080fd5b506104ea601c5481565b348015610b7957600080fd5b506104ea601f5481565b348015610b8f57600080fd5b506104d7610b9e3660046139ea565b6120ce565b606060038054610bb290613a9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90613a9c565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b6000610c42338484612312565b50600192915050565b6005546001600160a01b03163314610c7e5760405162461bcd60e51b8152600401610c7590613ad6565b60405180910390fd5b60005b82811015610cef578160106000868685818110610ca057610ca0613b0b565b9050602002016020810190610cb59190613759565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ce781613b37565b915050610c81565b50505050565b6005546001600160a01b03163314610d1f5760405162461bcd60e51b8152600401610c7590613ad6565b8051825114610d705760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610c75565b610258825110610de15760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203630302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610c75565b60005b8251811015610e49576000838281518110610e0157610e01613b0b565b602002602001015190506000838381518110610e1f57610e1f613b0b565b60200260200101519050610e34338383612437565b50508080610e4190613b37565b915050610de4565b505050565b6000610e5b84848461258c565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ee05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610c75565b610eed8533858403612312565b506001949350505050565b6005546001600160a01b03163314610f225760405162461bcd60e51b8152600401610c7590613ad6565b670de0b6b3a76400006103e8610f3760025490565b610f42906002613b50565b610f4c9190613b6f565b610f569190613b6f565b811015610fb75760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e322560b81b6064820152608401610c75565b610fc981670de0b6b3a7640000613b50565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b6005546001600160a01b0316331461102f5760405162461bcd60e51b8152600401610c7590613ad6565b6016849055601783905560188290556019819055808261104f8587613b91565b6110599190613b91565b6110639190613b91565b6015819055601e1015610cef5760405162461bcd60e51b8152600401610c7590613ba9565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c429185906110bf908690613b91565b612312565b6005546001600160a01b031633146110ee5760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b0381166111535760405162461bcd60e51b815260206004820152602660248201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60448201526507420626520360d41b6064820152608401610c75565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610c7590613ad6565b600b546111ab3061127e565b1015611221576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610c75565b600a805460ff60a01b1916600160a01b17905561123c6130c1565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146112c35760405162461bcd60e51b8152600401610c7590613ad6565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146113375760405162461bcd60e51b8152600401610c7590613ad6565b6012805460ff199081169091556014805490911690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146113a25760405162461bcd60e51b8152600401610c7590613ad6565b8061141557600a546001600160a01b03908116908316036114155760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610c75565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461146a5760405162461bcd60e51b8152600401610c7590613ad6565b601254610100900460ff16156114c25760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e670000000000000000006044820152606401610c75565b6012805462ffff0019166201010017905543600e8190556114e4908290613b91565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6005546000906001600160a01b031633146115405760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b0383166115965760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c75565b306001600160a01b038416036115ee5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610c75565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116599190613be0565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af11580156116ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d09190613bf9565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610bb290613a9c565b6005546001600160a01b031633146117555760405162461bcd60e51b8152600401610c7590613ad6565b600a546001600160a01b03908116908316036117d95760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c75565b6117e38282613300565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156118a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c75565b6118ae3385858403612312565b5060019392505050565b6000610c4233848461258c565b6005546001600160a01b031633146118ef5760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146119785760405162461bcd60e51b8152600401610c7590613ad6565b670de0b6b3a76400006103e861198d60025490565b611998906003613b50565b6119a29190613b6f565b6119ac9190613b6f565b811015611a105760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610c75565b611a2281670de0b6b3a7640000613b50565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610ffa565b6005546001600160a01b03163314611a815760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b038116611ad75760405162461bcd60e51b815260206004820152601f60248201527f5f6465764164647265737320616464726573732063616e6e6f742062652030006044820152606401610c75565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611b235760405162461bcd60e51b8152600401610c7590613ad6565b620186a0611b3060025490565b611b3b906001613b50565b611b459190613b6f565b811015611bb25760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610c75565b6103e8611bbe60025490565b611bc9906001613b50565b611bd39190613b6f565b811115611c3f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610c75565b600b55565b6005546001600160a01b03163314611c6e5760405162461bcd60e51b8152600401610c7590613ad6565b670de0b6b3a76400006103e8611c8360025490565b611c8e906002613b50565b611c989190613b6f565b611ca29190613b6f565b811015611d045760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e322560b01b6064820152608401610c75565b611d1681670de0b6b3a7640000613b50565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610ffa565b6005546001600160a01b03163314611d755760405162461bcd60e51b8152600401610c7590613ad6565b600a601b8190556002601c8190556005601d8190556000601e819055929091611d9d91613b91565b611da79190613b91565b611db19190613b91565b601a819055601e1015611dd65760405162461bcd60e51b8152600401610c7590613ba9565b600a6016819055600260178190556005601881905560006019819055929091611dfe91613b91565b611e089190613b91565b611e129190613b91565b6015819055600f1015611e675760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610c75565b565b6005546001600160a01b03163314611e935760405162461bcd60e51b8152600401610c7590613ad6565b601b849055601c839055601d829055601e8190558082611eb38587613b91565b611ebd9190613b91565b611ec79190613b91565b601a819055601e1015610cef5760405162461bcd60e51b8152600401610c7590613ba9565b6005546001600160a01b03163314611f165760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611f6b5760405162461bcd60e51b8152600401610c7590613ad6565b6014805460ff19169055565b6005546001600160a01b03163314611fa15760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b0381166120065760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c75565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461208c5760405162461bcd60e51b8152600401610c7590613ad6565b604051600090339047908381818185875af1925050503d8060008114610cef576040519150601f19603f3d011682016040523d82523d6000602084013e610cef565b6005546001600160a01b031633146120f85760405162461bcd60e51b8152600401610c7590613ad6565b678ac7230489e800008111156121865760405162461bcd60e51b815260206004820152604760248201527f4d6179206e6f7420627579206d6f7265207468616e2031302045544820696e2060448201527f612073696e676c652062757920746f207265647563652073616e64776963682060648201526661747461636b7360c81b608482015260a401610c75565b6040805160028082526060820183526000926020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156121f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122149190613c16565b8160008151811061222757612227613b0b565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061225b5761225b613b0b565b6001600160a01b03928316602091820292909201015260095460405163b6f9de9560e01b815291169063b6f9de959084906122a390600090869061dead904290600401613c77565b6000604051808303818588803b1580156122bc57600080fd5b505af11580156122d0573d6000803e3d6000fd5b50505050507fa017c1567cfcdd2d750a8c01e39fe2a846bcebc293c7d078477014d6848205688260405161230691815260200190565b60405180910390a15050565b6001600160a01b0383166123745760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c75565b6001600160a01b0382166123d55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c75565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661245d5760405162461bcd60e51b8152600401610c7590613cac565b6001600160a01b0382166124835760405162461bcd60e51b8152600401610c7590613cf1565b6001600160a01b038316600090815260208190526040902054818110156124fb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c75565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612532908490613b91565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161257e91815260200190565b60405180910390a350505050565b6001600160a01b0383166125b25760405162461bcd60e51b8152600401610c7590613cac565b6001600160a01b0382166125d85760405162461bcd60e51b8152600401610c7590613cf1565b600081116126285760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610c75565b601254610100900460ff166126bb576001600160a01b03831660009081526023602052604090205460ff168061267657506001600160a01b03821660009081526023602052604090205460ff165b6126bb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c75565b600f541561278e576001600160a01b03831660009081526010602052604090205460ff1615806126f857506005546001600160a01b038381169116145b8061270d57506001600160a01b03821661dead145b61278e5760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610c75565b60125460ff1615612b8a576005546001600160a01b038481169116148015906127c557506005546001600160a01b03838116911614155b80156127d957506001600160a01b03821615155b80156127f057506001600160a01b03821661dead14155b801561281557506001600160a01b03831660009081526023602052604090205460ff16155b801561283a57506001600160a01b03821660009081526023602052604090205460ff16155b15612b8a5760145460ff1615612953576009546001600160a01b038381169116148015906128765750600a546001600160a01b03838116911614155b1561295357612886600243613d34565b326000908152601360205260409020541080156128c457506128a9600243613d34565b6001600160a01b038316600090815260136020526040902054105b61292e5760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610c75565b3260009081526013602052604080822043908190556001600160a01b03851683529120555b6001600160a01b03831660009081526025602052604090205460ff16801561299457506001600160a01b03821660009081526024602052604090205460ff16155b15612a60576006548111156129fc5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610c75565b600854612a088361127e565b612a129083613b91565b1115612a5b5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c75565b612b8a565b6001600160a01b03821660009081526025602052604090205460ff168015612aa157506001600160a01b03831660009081526024602052604090205460ff16155b15612b0b57600754811115612a5b5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610c75565b6001600160a01b03821660009081526024602052604090205460ff16612b8a57600854612b378361127e565b612b419083613b91565b1115612b8a5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c75565b6000612b953061127e565b600b5490915081108015908190612bb4575060125462010000900460ff165b8015612bca5750600a54600160a01b900460ff16155b8015612bef57506001600160a01b03851660009081526025602052604090205460ff16155b8015612c1457506001600160a01b03851660009081526023602052604090205460ff16155b8015612c3957506001600160a01b03841660009081526023602052604090205460ff16155b15612c6757600a805460ff60a01b1916600160a01b179055612c596130c1565b600a805460ff60a01b191690555b6001600160a01b03851660009081526023602052604090205460019060ff1680612ca957506001600160a01b03851660009081526023602052604090205460ff165b15612cb2575060005b600081156130ad57600f5443108015612ce357506001600160a01b03871660009081526025602052604090205460ff165b8015612d0857506001600160a01b03861660009081526025602052604090205460ff16155b8015612d1657506000601554115b15612e96576001600160a01b03861660009081526010602052604090205460ff16612db6576001600160a01b0386166000908152601060205260408120805460ff191660019081179091556011805491929091612d74908490613b91565b90915550506040516001600160a01b03871681527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b6064612dc3866063613b50565b612dcd9190613b6f565b905060155460175482612de09190613b50565b612dea9190613b6f565b60206000828254612dfb9190613b91565b9091555050601554601654612e109083613b50565b612e1a9190613b6f565b601f6000828254612e2b9190613b91565b9091555050601554601854612e409083613b50565b612e4a9190613b6f565b60216000828254612e5b9190613b91565b9091555050601554601954612e709083613b50565b612e7a9190613b6f565b60226000828254612e8b9190613b91565b9091555061308f9050565b6001600160a01b03861660009081526025602052604090205460ff168015612ec057506000601a54115b15612f82576064601a5486612ed59190613b50565b612edf9190613b6f565b9050601a54601c5482612ef29190613b50565b612efc9190613b6f565b60206000828254612f0d9190613b91565b9091555050601a54601b54612f229083613b50565b612f2c9190613b6f565b601f6000828254612f3d9190613b91565b9091555050601a54601d54612f529083613b50565b612f5c9190613b6f565b60216000828254612f6d9190613b91565b9091555050601a54601e54612e709083613b50565b6001600160a01b03871660009081526025602052604090205460ff168015612fac57506000601554115b1561308f57606460155486612fc19190613b50565b612fcb9190613b6f565b905060155460175482612fde9190613b50565b612fe89190613b6f565b60206000828254612ff99190613b91565b909155505060155460165461300e9083613b50565b6130189190613b6f565b601f60008282546130299190613b91565b909155505060155460185461303e9083613b50565b6130489190613b6f565b602160008282546130599190613b91565b909155505060155460195461306e9083613b50565b6130789190613b6f565b602260008282546130899190613b91565b90915550505b80156130a0576130a0873083612437565b6130aa8186613d34565b94505b6130b8878787612437565b50505050505050565b60006022541180156130dd57506022546130da3061127e565b10155b156130ee576130ee3060225461332e565b600060228190556130fe3061127e565b90506000602154601f546020546131159190613b91565b61311f9190613b91565b905081158061312c575080155b15613135575050565b600b54613143906014613b50565b82111561315b57600b54613158906014613b50565b91505b6000806002836020548661316f9190613b50565b6131799190613b6f565b6131839190613b6f565b90506131976131928286613d34565b613458565b602054479081906000906131ad90600290613b6f565b6131b79087613d34565b601f546131c49085613b50565b6131ce9190613b6f565b9050600060026020546131e19190613b6f565b6131eb9088613d34565b6021546131f89086613b50565b6132029190613b6f565b905061320e8183613b91565b6132189084613d34565b60006020819055601f81905560218190556022559250841580159061323d5750600083115b1561324c5761324c85846135b2565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114613299576040519150601f19603f3d011682016040523d82523d6000602084013e61329e565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d80600081146132ee576040519150601f19603f3d011682016040523d82523d6000602084013e6132f3565b606091505b5050505050505050505050565b6001600160a01b0382166000908152602560205260409020805460ff19168215151790556117e38282613664565b6001600160a01b03821661338e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c75565b6001600160a01b038216600090815260208190526040902054818110156134025760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c75565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161242a565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061348d5761348d613b0b565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156134e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350a9190613c16565b8160018151811061351d5761351d613b0b565b6001600160a01b0392831660209182029290920101526009546135439130911684612312565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac9479061357c908590600090869030904290600401613d4b565b600060405180830381600087803b15801561359657600080fd5b505af11580156135aa573d6000803e3d6000fd5b505050505050565b6009546135ca9030906001600160a01b031684612312565b60095460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015613638573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061365d9190613d87565b5050505050565b6001600160a01b038216600081815260246020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101612306565b600060208083528351808285015260005b818110156136ed578581018301518582016040015282016136d1565b818111156136ff576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461372a57600080fd5b50565b6000806040838503121561374057600080fd5b823561374b81613715565b946020939093013593505050565b60006020828403121561376b57600080fd5b813561377681613715565b9392505050565b801515811461372a57600080fd5b6000806000604084860312156137a057600080fd5b833567ffffffffffffffff808211156137b857600080fd5b818601915086601f8301126137cc57600080fd5b8135818111156137db57600080fd5b8760208260051b85010111156137f057600080fd5b602092830195509350508401356138068161377d565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561385057613850613811565b604052919050565b600067ffffffffffffffff82111561387257613872613811565b5060051b60200190565b600082601f83011261388d57600080fd5b813560206138a261389d83613858565b613827565b82815260059290921b840181019181810190868411156138c157600080fd5b8286015b848110156138dc57803583529183019183016138c5565b509695505050505050565b600080604083850312156138fa57600080fd5b823567ffffffffffffffff8082111561391257600080fd5b818501915085601f83011261392657600080fd5b8135602061393661389d83613858565b82815260059290921b8401810191818101908984111561395557600080fd5b948201945b8386101561397c57853561396d81613715565b8252948201949082019061395a565b9650508601359250508082111561399257600080fd5b5061399f8582860161387c565b9150509250929050565b6000806000606084860312156139be57600080fd5b83356139c981613715565b925060208401356139d981613715565b929592945050506040919091013590565b6000602082840312156139fc57600080fd5b5035919050565b60008060008060808587031215613a1957600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215613a4857600080fd5b8235613a5381613715565b91506020830135613a638161377d565b809150509250929050565b60008060408385031215613a8157600080fd5b8235613a8c81613715565b91506020830135613a6381613715565b600181811c90821680613ab057607f821691505b602082108103613ad057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613b4957613b49613b21565b5060010190565b6000816000190483118215151615613b6a57613b6a613b21565b500290565b600082613b8c57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115613ba457613ba4613b21565b500190565b6020808252601d908201527f4d757374206b656570206665657320617420333025206f72206c657373000000604082015260600190565b600060208284031215613bf257600080fd5b5051919050565b600060208284031215613c0b57600080fd5b81516137768161377d565b600060208284031215613c2857600080fd5b815161377681613715565b600081518084526020808501945080840160005b83811015613c6c5781516001600160a01b031687529582019590820190600101613c47565b509495945050505050565b848152608060208201526000613c906080830186613c33565b6001600160a01b03949094166040830152506060015292915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613d4657613d46613b21565b500390565b85815284602082015260a060408201526000613d6a60a0830186613c33565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215613d9c57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212205dd717b151f4c09ce57536fc788602ad4a7ce5505ddd7ee8aaaa07eef0b9708f64736f6c634300080f00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0

Deployed Bytecode

0x6080604052600436106103e85760003560e01c80638da5cb5b11610208578063d257b34f11610118578063e800dff7116100ab578063f2fde38b1161007a578063f2fde38b14610b22578063f5648a4f14610b42578063f637434214610b57578063fb002c9714610b6d578063fc155d1d14610b8357600080fd5b8063e800dff714610ac1578063e884f26014610ae1578063ee40166e14610af6578063f11a24d314610b0c57600080fd5b8063e2cd5fcd116100e7578063e2cd5fcd14610a60578063e2f4560514610a75578063e71dc3f514610a8b578063e7ad9fcd14610aa157600080fd5b8063d257b34f146109c4578063d85ba063146109e4578063dc3f0d0f146109fa578063dd62ed3e14610a1a57600080fd5b8063a9059cbb1161019b578063bbc0c7421161016a578063bbc0c7421461092b578063c02466681461094a578063c18bc1951461096a578063c876d0b91461098a578063d0d41fe1146109a457600080fd5b8063a9059cbb146108af578063aa4bde28146108cf578063adb873bd146108e5578063b62496f5146108fb57600080fd5b80639fccce32116101d75780639fccce321461084d578063a0d82dc514610863578063a457c2d714610879578063a62068ce1461089957600080fd5b80638da5cb5b146107e457806395d89b41146108025780639a7a23d6146108175780639c3b4fdc1461083757600080fd5b80634a62bb65116103035780636ddd1713116102965780637571336a116102655780637571336a1461073e57806382aa7c681461075e5780638366e79a1461077e57806385ecfd281461079e57806388e765ff146107ce57600080fd5b80636ddd1713146106d457806370a08231146106f4578063715018a614610714578063751039fc1461072957600080fd5b80635a139dd4116102d25780635a139dd41461067c57806366d602ae146106925780636a486a8e146106a85780636b0a894c146106be57600080fd5b80634a62bb65146106205780634f77f6c01461063a57806351f205e41461065057806358a6d5311461066557600080fd5b80632307b4411161037b578063313ce5671161034a578063313ce567146105a457806339509351146105c0578063452ed4f1146105e0578063499b83941461060057600080fd5b80632307b4411461052457806323b872dd146105445780632be32b61146105645780632e6ed7ef1461058457600080fd5b8063130a2c3c116103b7578063130a2c3c146104b757806318160ddd146104d95780631a8145bb146104f85780631d7778561461050e57600080fd5b806306fdde03146103f45780630758d9241461041f578063095ea7b31461045757806310d5de531461048757600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b50610409610ba3565b60405161041691906136c0565b60405180910390f35b34801561042b57600080fd5b5060095461043f906001600160a01b031681565b6040516001600160a01b039091168152602001610416565b34801561046357600080fd5b5061047761047236600461372d565b610c35565b6040519015158152602001610416565b34801561049357600080fd5b506104776104a2366004613759565b60246020526000908152604090205460ff1681565b3480156104c357600080fd5b506104d76104d236600461378b565b610c4b565b005b3480156104e557600080fd5b506002545b604051908152602001610416565b34801561050457600080fd5b506104ea60205481565b34801561051a57600080fd5b506104ea60225481565b34801561053057600080fd5b506104d761053f3660046138e7565b610cf5565b34801561055057600080fd5b5061047761055f3660046139a9565b610e4e565b34801561057057600080fd5b506104d761057f3660046139ea565b610ef8565b34801561059057600080fd5b506104d761059f366004613a03565b611005565b3480156105b057600080fd5b5060405160128152602001610416565b3480156105cc57600080fd5b506104776105db36600461372d565b611088565b3480156105ec57600080fd5b50600a5461043f906001600160a01b031681565b34801561060c57600080fd5b506104d761061b366004613759565b6110c4565b34801561062c57600080fd5b506012546104779060ff1681565b34801561064657600080fd5b506104ea601b5481565b34801561065c57600080fd5b506104d7611175565b34801561067157600080fd5b50600f544310610477565b34801561068857600080fd5b506104ea60165481565b34801561069e57600080fd5b506104ea60075481565b3480156106b457600080fd5b506104ea601a5481565b3480156106ca57600080fd5b506104ea60115481565b3480156106e057600080fd5b506012546104779062010000900460ff1681565b34801561070057600080fd5b506104ea61070f366004613759565b61127e565b34801561072057600080fd5b506104d7611299565b34801561073557600080fd5b506104d761130d565b34801561074a57600080fd5b506104d7610759366004613a35565b611378565b34801561076a57600080fd5b506104d76107793660046139ea565b611440565b34801561078a57600080fd5b50610477610799366004613a6e565b611513565b3480156107aa57600080fd5b506104776107b9366004613759565b60106020526000908152604090205460ff1681565b3480156107da57600080fd5b506104ea60065481565b3480156107f057600080fd5b506005546001600160a01b031661043f565b34801561080e57600080fd5b5061040961171c565b34801561082357600080fd5b506104d7610832366004613a35565b61172b565b34801561084357600080fd5b506104ea60185481565b34801561085957600080fd5b506104ea60215481565b34801561086f57600080fd5b506104ea601d5481565b34801561088557600080fd5b5061047761089436600461372d565b61181f565b3480156108a557600080fd5b506104ea600f5481565b3480156108bb57600080fd5b506104776108ca36600461372d565b6118b8565b3480156108db57600080fd5b506104ea60085481565b3480156108f157600080fd5b506104ea601e5481565b34801561090757600080fd5b50610477610916366004613759565b60256020526000908152604090205460ff1681565b34801561093757600080fd5b5060125461047790610100900460ff1681565b34801561095657600080fd5b506104d7610965366004613a35565b6118c5565b34801561097657600080fd5b506104d76109853660046139ea565b61194e565b34801561099657600080fd5b506014546104779060ff1681565b3480156109b057600080fd5b506104d76109bf366004613759565b611a57565b3480156109d057600080fd5b506104d76109df3660046139ea565b611af9565b3480156109f057600080fd5b506104ea60155481565b348015610a0657600080fd5b506104d7610a153660046139ea565b611c44565b348015610a2657600080fd5b506104ea610a35366004613a6e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a6c57600080fd5b506104d7611d4b565b348015610a8157600080fd5b506104ea600b5481565b348015610a9757600080fd5b506104ea60195481565b348015610aad57600080fd5b506104d7610abc366004613a03565b611e69565b348015610acd57600080fd5b506104d7610adc366004613a35565b611eec565b348015610aed57600080fd5b506104d7611f41565b348015610b0257600080fd5b506104ea600e5481565b348015610b1857600080fd5b506104ea60175481565b348015610b2e57600080fd5b506104d7610b3d366004613759565b611f77565b348015610b4e57600080fd5b506104d7612062565b348015610b6357600080fd5b506104ea601c5481565b348015610b7957600080fd5b506104ea601f5481565b348015610b8f57600080fd5b506104d7610b9e3660046139ea565b6120ce565b606060038054610bb290613a9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde90613a9c565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b6000610c42338484612312565b50600192915050565b6005546001600160a01b03163314610c7e5760405162461bcd60e51b8152600401610c7590613ad6565b60405180910390fd5b60005b82811015610cef578160106000868685818110610ca057610ca0613b0b565b9050602002016020810190610cb59190613759565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610ce781613b37565b915050610c81565b50505050565b6005546001600160a01b03163314610d1f5760405162461bcd60e51b8152600401610c7590613ad6565b8051825114610d705760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e67746800006044820152606401610c75565b610258825110610de15760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203630302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b6064820152608401610c75565b60005b8251811015610e49576000838281518110610e0157610e01613b0b565b602002602001015190506000838381518110610e1f57610e1f613b0b565b60200260200101519050610e34338383612437565b50508080610e4190613b37565b915050610de4565b505050565b6000610e5b84848461258c565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ee05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610c75565b610eed8533858403612312565b506001949350505050565b6005546001600160a01b03163314610f225760405162461bcd60e51b8152600401610c7590613ad6565b670de0b6b3a76400006103e8610f3760025490565b610f42906002613b50565b610f4c9190613b6f565b610f569190613b6f565b811015610fb75760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e322560b81b6064820152608401610c75565b610fc981670de0b6b3a7640000613b50565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b6005546001600160a01b0316331461102f5760405162461bcd60e51b8152600401610c7590613ad6565b6016849055601783905560188290556019819055808261104f8587613b91565b6110599190613b91565b6110639190613b91565b6015819055601e1015610cef5760405162461bcd60e51b8152600401610c7590613ba9565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c429185906110bf908690613b91565b612312565b6005546001600160a01b031633146110ee5760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b0381166111535760405162461bcd60e51b815260206004820152602660248201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60448201526507420626520360d41b6064820152608401610c75565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610c7590613ad6565b600b546111ab3061127e565b1015611221576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610c75565b600a805460ff60a01b1916600160a01b17905561123c6130c1565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146112c35760405162461bcd60e51b8152600401610c7590613ad6565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146113375760405162461bcd60e51b8152600401610c7590613ad6565b6012805460ff199081169091556014805490911690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146113a25760405162461bcd60e51b8152600401610c7590613ad6565b8061141557600a546001600160a01b03908116908316036114155760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610c75565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461146a5760405162461bcd60e51b8152600401610c7590613ad6565b601254610100900460ff16156114c25760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e670000000000000000006044820152606401610c75565b6012805462ffff0019166201010017905543600e8190556114e4908290613b91565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a150565b6005546000906001600160a01b031633146115405760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b0383166115965760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c75565b306001600160a01b038416036115ee5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610c75565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611635573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116599190613be0565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af11580156116ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d09190613bf9565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b606060048054610bb290613a9c565b6005546001600160a01b031633146117555760405162461bcd60e51b8152600401610c7590613ad6565b600a546001600160a01b03908116908316036117d95760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c75565b6117e38282613300565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156118a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c75565b6118ae3385858403612312565b5060019392505050565b6000610c4233848461258c565b6005546001600160a01b031633146118ef5760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146119785760405162461bcd60e51b8152600401610c7590613ad6565b670de0b6b3a76400006103e861198d60025490565b611998906003613b50565b6119a29190613b6f565b6119ac9190613b6f565b811015611a105760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610c75565b611a2281670de0b6b3a7640000613b50565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610ffa565b6005546001600160a01b03163314611a815760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b038116611ad75760405162461bcd60e51b815260206004820152601f60248201527f5f6465764164647265737320616464726573732063616e6e6f742062652030006044820152606401610c75565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611b235760405162461bcd60e51b8152600401610c7590613ad6565b620186a0611b3060025490565b611b3b906001613b50565b611b459190613b6f565b811015611bb25760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610c75565b6103e8611bbe60025490565b611bc9906001613b50565b611bd39190613b6f565b811115611c3f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610c75565b600b55565b6005546001600160a01b03163314611c6e5760405162461bcd60e51b8152600401610c7590613ad6565b670de0b6b3a76400006103e8611c8360025490565b611c8e906002613b50565b611c989190613b6f565b611ca29190613b6f565b811015611d045760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e322560b01b6064820152608401610c75565b611d1681670de0b6b3a7640000613b50565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610ffa565b6005546001600160a01b03163314611d755760405162461bcd60e51b8152600401610c7590613ad6565b600a601b8190556002601c8190556005601d8190556000601e819055929091611d9d91613b91565b611da79190613b91565b611db19190613b91565b601a819055601e1015611dd65760405162461bcd60e51b8152600401610c7590613ba9565b600a6016819055600260178190556005601881905560006019819055929091611dfe91613b91565b611e089190613b91565b611e129190613b91565b6015819055600f1015611e675760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610c75565b565b6005546001600160a01b03163314611e935760405162461bcd60e51b8152600401610c7590613ad6565b601b849055601c839055601d829055601e8190558082611eb38587613b91565b611ebd9190613b91565b611ec79190613b91565b601a819055601e1015610cef5760405162461bcd60e51b8152600401610c7590613ba9565b6005546001600160a01b03163314611f165760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611f6b5760405162461bcd60e51b8152600401610c7590613ad6565b6014805460ff19169055565b6005546001600160a01b03163314611fa15760405162461bcd60e51b8152600401610c7590613ad6565b6001600160a01b0381166120065760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c75565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461208c5760405162461bcd60e51b8152600401610c7590613ad6565b604051600090339047908381818185875af1925050503d8060008114610cef576040519150601f19603f3d011682016040523d82523d6000602084013e610cef565b6005546001600160a01b031633146120f85760405162461bcd60e51b8152600401610c7590613ad6565b678ac7230489e800008111156121865760405162461bcd60e51b815260206004820152604760248201527f4d6179206e6f7420627579206d6f7265207468616e2031302045544820696e2060448201527f612073696e676c652062757920746f207265647563652073616e64776963682060648201526661747461636b7360c81b608482015260a401610c75565b6040805160028082526060820183526000926020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa1580156121f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122149190613c16565b8160008151811061222757612227613b0b565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061225b5761225b613b0b565b6001600160a01b03928316602091820292909201015260095460405163b6f9de9560e01b815291169063b6f9de959084906122a390600090869061dead904290600401613c77565b6000604051808303818588803b1580156122bc57600080fd5b505af11580156122d0573d6000803e3d6000fd5b50505050507fa017c1567cfcdd2d750a8c01e39fe2a846bcebc293c7d078477014d6848205688260405161230691815260200190565b60405180910390a15050565b6001600160a01b0383166123745760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c75565b6001600160a01b0382166123d55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c75565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661245d5760405162461bcd60e51b8152600401610c7590613cac565b6001600160a01b0382166124835760405162461bcd60e51b8152600401610c7590613cf1565b6001600160a01b038316600090815260208190526040902054818110156124fb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c75565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612532908490613b91565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161257e91815260200190565b60405180910390a350505050565b6001600160a01b0383166125b25760405162461bcd60e51b8152600401610c7590613cac565b6001600160a01b0382166125d85760405162461bcd60e51b8152600401610c7590613cf1565b600081116126285760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610c75565b601254610100900460ff166126bb576001600160a01b03831660009081526023602052604090205460ff168061267657506001600160a01b03821660009081526023602052604090205460ff165b6126bb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c75565b600f541561278e576001600160a01b03831660009081526010602052604090205460ff1615806126f857506005546001600160a01b038381169116145b8061270d57506001600160a01b03821661dead145b61278e5760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610c75565b60125460ff1615612b8a576005546001600160a01b038481169116148015906127c557506005546001600160a01b03838116911614155b80156127d957506001600160a01b03821615155b80156127f057506001600160a01b03821661dead14155b801561281557506001600160a01b03831660009081526023602052604090205460ff16155b801561283a57506001600160a01b03821660009081526023602052604090205460ff16155b15612b8a5760145460ff1615612953576009546001600160a01b038381169116148015906128765750600a546001600160a01b03838116911614155b1561295357612886600243613d34565b326000908152601360205260409020541080156128c457506128a9600243613d34565b6001600160a01b038316600090815260136020526040902054105b61292e5760405162461bcd60e51b815260206004820152603560248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527432b21710102a393c9030b3b0b4b7103630ba32b91760591b6064820152608401610c75565b3260009081526013602052604080822043908190556001600160a01b03851683529120555b6001600160a01b03831660009081526025602052604090205460ff16801561299457506001600160a01b03821660009081526024602052604090205460ff16155b15612a60576006548111156129fc5760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610c75565b600854612a088361127e565b612a129083613b91565b1115612a5b5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c75565b612b8a565b6001600160a01b03821660009081526025602052604090205460ff168015612aa157506001600160a01b03831660009081526024602052604090205460ff16155b15612b0b57600754811115612a5b5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610c75565b6001600160a01b03821660009081526024602052604090205460ff16612b8a57600854612b378361127e565b612b419083613b91565b1115612b8a5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610c75565b6000612b953061127e565b600b5490915081108015908190612bb4575060125462010000900460ff165b8015612bca5750600a54600160a01b900460ff16155b8015612bef57506001600160a01b03851660009081526025602052604090205460ff16155b8015612c1457506001600160a01b03851660009081526023602052604090205460ff16155b8015612c3957506001600160a01b03841660009081526023602052604090205460ff16155b15612c6757600a805460ff60a01b1916600160a01b179055612c596130c1565b600a805460ff60a01b191690555b6001600160a01b03851660009081526023602052604090205460019060ff1680612ca957506001600160a01b03851660009081526023602052604090205460ff165b15612cb2575060005b600081156130ad57600f5443108015612ce357506001600160a01b03871660009081526025602052604090205460ff165b8015612d0857506001600160a01b03861660009081526025602052604090205460ff16155b8015612d1657506000601554115b15612e96576001600160a01b03861660009081526010602052604090205460ff16612db6576001600160a01b0386166000908152601060205260408120805460ff191660019081179091556011805491929091612d74908490613b91565b90915550506040516001600160a01b03871681527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b6064612dc3866063613b50565b612dcd9190613b6f565b905060155460175482612de09190613b50565b612dea9190613b6f565b60206000828254612dfb9190613b91565b9091555050601554601654612e109083613b50565b612e1a9190613b6f565b601f6000828254612e2b9190613b91565b9091555050601554601854612e409083613b50565b612e4a9190613b6f565b60216000828254612e5b9190613b91565b9091555050601554601954612e709083613b50565b612e7a9190613b6f565b60226000828254612e8b9190613b91565b9091555061308f9050565b6001600160a01b03861660009081526025602052604090205460ff168015612ec057506000601a54115b15612f82576064601a5486612ed59190613b50565b612edf9190613b6f565b9050601a54601c5482612ef29190613b50565b612efc9190613b6f565b60206000828254612f0d9190613b91565b9091555050601a54601b54612f229083613b50565b612f2c9190613b6f565b601f6000828254612f3d9190613b91565b9091555050601a54601d54612f529083613b50565b612f5c9190613b6f565b60216000828254612f6d9190613b91565b9091555050601a54601e54612e709083613b50565b6001600160a01b03871660009081526025602052604090205460ff168015612fac57506000601554115b1561308f57606460155486612fc19190613b50565b612fcb9190613b6f565b905060155460175482612fde9190613b50565b612fe89190613b6f565b60206000828254612ff99190613b91565b909155505060155460165461300e9083613b50565b6130189190613b6f565b601f60008282546130299190613b91565b909155505060155460185461303e9083613b50565b6130489190613b6f565b602160008282546130599190613b91565b909155505060155460195461306e9083613b50565b6130789190613b6f565b602260008282546130899190613b91565b90915550505b80156130a0576130a0873083612437565b6130aa8186613d34565b94505b6130b8878787612437565b50505050505050565b60006022541180156130dd57506022546130da3061127e565b10155b156130ee576130ee3060225461332e565b600060228190556130fe3061127e565b90506000602154601f546020546131159190613b91565b61311f9190613b91565b905081158061312c575080155b15613135575050565b600b54613143906014613b50565b82111561315b57600b54613158906014613b50565b91505b6000806002836020548661316f9190613b50565b6131799190613b6f565b6131839190613b6f565b90506131976131928286613d34565b613458565b602054479081906000906131ad90600290613b6f565b6131b79087613d34565b601f546131c49085613b50565b6131ce9190613b6f565b9050600060026020546131e19190613b6f565b6131eb9088613d34565b6021546131f89086613b50565b6132029190613b6f565b905061320e8183613b91565b6132189084613d34565b60006020819055601f81905560218190556022559250841580159061323d5750600083115b1561324c5761324c85846135b2565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114613299576040519150601f19603f3d011682016040523d82523d6000602084013e61329e565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d80600081146132ee576040519150601f19603f3d011682016040523d82523d6000602084013e6132f3565b606091505b5050505050505050505050565b6001600160a01b0382166000908152602560205260409020805460ff19168215151790556117e38282613664565b6001600160a01b03821661338e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c75565b6001600160a01b038216600090815260208190526040902054818110156134025760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c75565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161242a565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061348d5761348d613b0b565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156134e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350a9190613c16565b8160018151811061351d5761351d613b0b565b6001600160a01b0392831660209182029290920101526009546135439130911684612312565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac9479061357c908590600090869030904290600401613d4b565b600060405180830381600087803b15801561359657600080fd5b505af11580156135aa573d6000803e3d6000fd5b505050505050565b6009546135ca9030906001600160a01b031684612312565b60095460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015613638573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061365d9190613d87565b5050505050565b6001600160a01b038216600081815260246020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101612306565b600060208083528351808285015260005b818110156136ed578581018301518582016040015282016136d1565b818111156136ff576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461372a57600080fd5b50565b6000806040838503121561374057600080fd5b823561374b81613715565b946020939093013593505050565b60006020828403121561376b57600080fd5b813561377681613715565b9392505050565b801515811461372a57600080fd5b6000806000604084860312156137a057600080fd5b833567ffffffffffffffff808211156137b857600080fd5b818601915086601f8301126137cc57600080fd5b8135818111156137db57600080fd5b8760208260051b85010111156137f057600080fd5b602092830195509350508401356138068161377d565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561385057613850613811565b604052919050565b600067ffffffffffffffff82111561387257613872613811565b5060051b60200190565b600082601f83011261388d57600080fd5b813560206138a261389d83613858565b613827565b82815260059290921b840181019181810190868411156138c157600080fd5b8286015b848110156138dc57803583529183019183016138c5565b509695505050505050565b600080604083850312156138fa57600080fd5b823567ffffffffffffffff8082111561391257600080fd5b818501915085601f83011261392657600080fd5b8135602061393661389d83613858565b82815260059290921b8401810191818101908984111561395557600080fd5b948201945b8386101561397c57853561396d81613715565b8252948201949082019061395a565b9650508601359250508082111561399257600080fd5b5061399f8582860161387c565b9150509250929050565b6000806000606084860312156139be57600080fd5b83356139c981613715565b925060208401356139d981613715565b929592945050506040919091013590565b6000602082840312156139fc57600080fd5b5035919050565b60008060008060808587031215613a1957600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215613a4857600080fd5b8235613a5381613715565b91506020830135613a638161377d565b809150509250929050565b60008060408385031215613a8157600080fd5b8235613a8c81613715565b91506020830135613a6381613715565b600181811c90821680613ab057607f821691505b602082108103613ad057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613b4957613b49613b21565b5060010190565b6000816000190483118215151615613b6a57613b6a613b21565b500290565b600082613b8c57634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115613ba457613ba4613b21565b500190565b6020808252601d908201527f4d757374206b656570206665657320617420333025206f72206c657373000000604082015260600190565b600060208284031215613bf257600080fd5b5051919050565b600060208284031215613c0b57600080fd5b81516137768161377d565b600060208284031215613c2857600080fd5b815161377681613715565b600081518084526020808501945080840160005b83811015613c6c5781516001600160a01b031687529582019590820190600101613c47565b509495945050505050565b848152608060208201526000613c906080830186613c33565b6001600160a01b03949094166040830152506060015292915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600082821015613d4657613d46613b21565b500390565b85815284602082015260a060408201526000613d6a60a0830186613c33565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215613d9c57600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212205dd717b151f4c09ce57536fc788602ad4a7ce5505ddd7ee8aaaa07eef0b9708f64736f6c634300080f0033

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.