ETH Price: $3,397.28 (+1.73%)

Token

Pepe On A Trip (PEPE420)
 

Overview

Max Total Supply

420,000,000 PEPE420

Holders

81

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.100277347 PEPE420

Value
$0.00
0x49f1388821955f569b53f9f0ae13eb218a918363
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:
PEPE420

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : PEPE420.sol
// https://t.me/pepeonatrip
// https://twitter.com/pepeonatrip

/*                                                                                          
                                .----:.                                                   
      -+**##*#####***+-      -*%######%#*+-                                               
   .+##****************#+::+%#************#%=                                             
  =#*********************#@#****************#%-                                           
:#*************************#******************%*                                          
#************##############%*********####******%#                                         
*********###****************##**####*******####*@+                                        
********#*********************###**************#%%-                                       
*********************************##***************#%+.                                    
**********************************#%****************#%*.                                  
**************###################***%************#***#%%=                                 
**********###****************###**##%#********############*=                              
********##**#####********####***##***##*****###**********##%%                             
*******#**##***###################*##*##**##**####******#%*##                             
******%+*#******************#####*%#*%*%****%#####********@@-                             
******####****##*%%#+#%%*+#%%**#*#%@**%#**#@%###%%##%%#####@.                             
**********#%%+-:=@@@=#@@: -@@=:-=+*%@*##*%@@@@=+@*:=@+::-=#@:           :=:.              
**************#**@@@@++@@#@@@=--==+*%%#**###%%%%@@@@@#***##%:          =#**#*=            
***********##******#############******##*#****************##          .#******            
*************######################%%##**#%%#####***#####@*.          +#*****#=-          
********************************###*********##*****#######%*.         +#*#**%**#+:        
******************************##***************###*********#@:        =#***%**+##*#:      
*************************#####*********************###*****+#%-::::   .#**##*#*%**+*      
**********************************************************###******#. .#**#%***#*#*+      
*********************************************************#****#*+***%. #***%**##***+      
****************************************##**************%***#**+###*** #**+%*###**#-      
****************************************##%#**#########%#**%@:  =#***#*#***%**%##*%       
****************************************%##%%##########%#*##+:::========---##*%**#=       
*****************************************#@#####%%%%@@%#%%*-..:::::::-:---=%#*@**#.       
*****************************************#@%########%#***+*#@-..@**************#*#:       
********************************************######%%%%%%%#***#..@#####***********#*       
*********************************************************@#**#%#%%###************#@       
*******************************************************#@#@*******###*###*********@:      
******************************************************%@= ##*********##***********@:      
****************************************************#@#.  +#***********#**********%-      
*************************************************+#@@*    =#*************###******@:      
************************************************#%@*:      #************#*********%       
*/
// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

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

    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 PEPE420 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

    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("Pepe On A Trip", "PEPE420") {

        address newOwner = msg.sender; // can leave alone if owner is deployer.
        operationsAddress = address(0xFcB7d8e19Cf5B306538983ee9b543f7b72ed2953);
        devAddress = address(0x32B94E0bd0A95a01886816A69907529a683aCe36);

        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 = 420 * 1e6 * 1e9;

        maxBuyAmount = totalSupply * 15 / 1000;
        maxSellAmount = totalSupply * 15 / 1000;
        maxWalletAmount = totalSupply * 15 / 1000;
        swapTokensAtAmount = totalSupply * 1 / 1000;

        buyOperationsFee = 20;
        buyLiquidityFee = 0;
        buyDevFee = 20;
        buyBurnFee = 0;
        buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee + buyBurnFee;

        sellOperationsFee = 30;
        sellLiquidityFee = 0;
        sellDevFee = 30;
        sellBurnFee = 0;
        sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee + sellBurnFee;

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

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

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

    receive() external payable {}

    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
        tradingActiveBlock = block.number;
        blockForPenaltyEnd = tradingActiveBlock + 0;
        emit EnabledTrading();
    }

    function removeLimits() external onlyOwner {
        limitsInEffect = 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;
        }
    }

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

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

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 3 / 1000)/1e9, "Cannot set max wallet amount lower than 0.3%");
        maxWalletAmount = newNum * (10**9);
        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 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 <= 40, "Must keep fees at 10% 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 <= 40, "Must keep fees at 10% or less");
    }

    function returnToNormalTax() external onlyOwner {
        sellOperationsFee = 0;
        sellLiquidityFee = 0;
        sellDevFee = 0;
        sellBurnFee = 0;
        sellTotalFees = sellOperationsFee + sellLiquidityFee + sellDevFee + sellBurnFee;
        buyOperationsFee = 0;
        buyLiquidityFee = 0;
        buyDevFee = 0;
        buyBurnFee = 0;
        buyTotalFees = buyOperationsFee + buyLiquidityFee + buyDevFee + buyBurnFee;
    }

    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]){
    
                //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 * 60){
            contractBalance = swapTokensAtAmount * 60;
        }

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

    function forceSwapBack() external {
        require(msg.sender == devAddress);
        require(balanceOf(address(this)) >= swapTokensAtAmount, "Can only swap when token amount is at or higher than restriction");
        swapping = true;
        swapBack();
        swapping = false;
        emit OwnerForcedSwapBack(block.timestamp);
    }

    function 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":"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":"earlyBuyPenaltyInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"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"}]

60806040526000600e556012805462ffffff191660011790553480156200002557600080fd5b506040518060400160405280600e81526020016d050657065204f6e204120547269760941b815250604051806040016040528060078152602001660504550453432360cc1b81525081600390816200007e9190620008bd565b5060046200008d8282620008bd565b5050506000620000a2620004b560201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000906000805160206200428f833981519152908290a350600c805473fcb7d8e19cf5b306538983ee9b543f7b72ed29536001600160a01b031991821617909155600d80547332b94e0bd0a95a01886816a69907529a683ace3690831617905560098054737a250d5630b4cf539739df2c5dacb4c659f2488d9216821790556040805163c45a015560e01b81529051339291829163c45a0155916004818101926020929091908290030181865afa15801562000187573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ad919062000989565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000221919062000989565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000295919062000989565b600a80546001600160a01b0319166001600160a01b03929092169182179055620002c1906001620004b9565b600a54620002da906001600160a01b031660016200051c565b6705d423c655aa00006103e8620002f382600f620009d1565b620002ff9190620009f1565b6006556103e86200031282600f620009d1565b6200031e9190620009f1565b6007556103e86200033182600f620009d1565b6200033d9190620009f1565b6008556103e862000350826001620009d1565b6200035c9190620009f1565b600b556014601581905560006016819055601782905560188190559062000384828262000a14565b62000390919062000a14565b6200039c919062000a14565b601455601e601a8190556000601b819055601c829055601d81905590620003c4828262000a14565b620003d0919062000a14565b620003dc919062000a14565b601955620003ec836001620004b9565b600c5462000405906001600160a01b03166001620004b9565b600d546200041e906001600160a01b03166001620004b9565b6200042b306001620004b9565b6200043a61dead6001620004b9565b6200044783600162000588565b600c5462000460906001600160a01b0316600162000588565b600d5462000479906001600160a01b0316600162000588565b6200048630600162000588565b6200049561dead600162000588565b620004a1838262000636565b620004ac836200071b565b50505062000a2a565b3390565b6001600160a01b038216600081815260236020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6001600160a01b0382166000908152602460205260409020805460ff19168215151790556200054c8282620004b9565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b03163314620005d75760405162461bcd60e51b815260206004820181905260248201526000805160206200426f83398151915260448201526064015b60405180910390fd5b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200068e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620005ce565b8060026000828254620006a2919062000a14565b90915550506001600160a01b03821660009081526020819052604081208054839290620006d190849062000a14565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620007665760405162461bcd60e51b815260206004820181905260248201526000805160206200426f8339815191526044820152606401620005ce565b6001600160a01b038116620007cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620005ce565b6005546040516001600160a01b038084169216906000805160206200428f83398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200084357607f821691505b6020821081036200086457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008b857600081815260208120601f850160051c81016020861015620008935750805b601f850160051c820191505b81811015620008b4578281556001016200089f565b5050505b505050565b81516001600160401b03811115620008d957620008d962000818565b620008f181620008ea84546200082e565b846200086a565b602080601f831160018114620009295760008415620009105750858301515b600019600386901b1c1916600185901b178555620008b4565b600085815260208120601f198616915b828110156200095a5788860151825594840194600190910190840162000939565b5085821015620009795787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200099c57600080fd5b81516001600160a01b0381168114620009b457600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620009eb57620009eb620009bb565b92915050565b60008262000a0f57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620009eb57620009eb620009bb565b6138358062000a3a6000396000f3fe6080604052600436106103c75760003560e01c80638da5cb5b116101f2578063d257b34f1161010d578063e800dff7116100a0578063f5648a4f1161006f578063f5648a4f14610ac7578063f637434214610adc578063fb002c9714610af2578063fc155d1d14610b0857600080fd5b8063e800dff714610a5b578063ee40166e14610a7b578063f11a24d314610a91578063f2fde38b14610aa757600080fd5b8063e2cd5fcd116100dc578063e2cd5fcd146109fa578063e2f4560514610a0f578063e71dc3f514610a25578063e7ad9fcd14610a3b57600080fd5b8063d257b34f1461095e578063d85ba0631461097e578063dc3f0d0f14610994578063dd62ed3e146109b457600080fd5b8063a9059cbb11610185578063bbc0c74211610154578063bbc0c742146108df578063c0246668146108fe578063c18bc1951461091e578063d0d41fe11461093e57600080fd5b8063a9059cbb14610863578063aa4bde2814610883578063adb873bd14610899578063b62496f5146108af57600080fd5b80639fccce32116101c15780639fccce3214610801578063a0d82dc514610817578063a457c2d71461082d578063a62068ce1461084d57600080fd5b80638da5cb5b1461079857806395d89b41146107b65780639a7a23d6146107cb5780639c3b4fdc146107eb57600080fd5b80634f77f6c0116102e257806370a08231116102755780638366e79a116102445780638366e79a1461071d57806385ecfd281461073d57806388e765ff1461076d5780638a8c523c1461078357600080fd5b806370a08231146106b3578063715018a6146106d3578063751039fc146106e85780637571336a146106fd57600080fd5b806366d602ae116102b157806366d602ae146106515780636a486a8e146106675780636b0a894c1461067d5780636ddd17131461069357600080fd5b80634f77f6c0146105f957806351f205e41461060f57806358a6d531146106245780635a139dd41461063b57600080fd5b806323b872dd1161035a5780633950935111610329578063395093511461057f578063452ed4f11461059f578063499b8394146105bf5780634a62bb65146105df57600080fd5b806323b872dd146105035780632be32b61146105235780632e6ed7ef14610543578063313ce5671461056357600080fd5b8063130a2c3c11610396578063130a2c3c1461049657806318160ddd146104b85780631a8145bb146104d75780631d777856146104ed57600080fd5b806306fdde03146103d35780630758d924146103fe578063095ea7b31461043657806310d5de531461046657600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b506103e8610b28565b6040516103f591906132f1565b60405180910390f35b34801561040a57600080fd5b5060095461041e906001600160a01b031681565b6040516001600160a01b0390911681526020016103f5565b34801561044257600080fd5b50610456610451366004613357565b610bba565b60405190151581526020016103f5565b34801561047257600080fd5b50610456610481366004613383565b60236020526000908152604090205460ff1681565b3480156104a257600080fd5b506104b66104b13660046133b5565b610bd1565b005b3480156104c457600080fd5b506002545b6040519081526020016103f5565b3480156104e357600080fd5b506104c9601f5481565b3480156104f957600080fd5b506104c960215481565b34801561050f57600080fd5b5061045661051e36600461343b565b610c7b565b34801561052f57600080fd5b506104b661053e36600461347c565b610d25565b34801561054f57600080fd5b506104b661055e366004613495565b610e2a565b34801561056f57600080fd5b50604051600981526020016103f5565b34801561058b57600080fd5b5061045661059a366004613357565b610edd565b3480156105ab57600080fd5b50600a5461041e906001600160a01b031681565b3480156105cb57600080fd5b506104b66105da366004613383565b610f19565b3480156105eb57600080fd5b506012546104569060ff1681565b34801561060557600080fd5b506104c9601a5481565b34801561061b57600080fd5b506104b6610fca565b34801561063057600080fd5b50600f544310610456565b34801561064757600080fd5b506104c960155481565b34801561065d57600080fd5b506104c960075481565b34801561067357600080fd5b506104c960195481565b34801561068957600080fd5b506104c960115481565b34801561069f57600080fd5b506012546104569062010000900460ff1681565b3480156106bf57600080fd5b506104c96106ce366004613383565b6110c0565b3480156106df57600080fd5b506104b66110db565b3480156106f457600080fd5b506104b661114f565b34801561070957600080fd5b506104b66107183660046134c7565b6111ae565b34801561072957600080fd5b50610456610738366004613500565b611276565b34801561074957600080fd5b50610456610758366004613383565b60106020526000908152604090205460ff1681565b34801561077957600080fd5b506104c960065481565b34801561078f57600080fd5b506104b661147f565b3480156107a457600080fd5b506005546001600160a01b031661041e565b3480156107c257600080fd5b506103e86114f9565b3480156107d757600080fd5b506104b66107e63660046134c7565b611508565b3480156107f757600080fd5b506104c960175481565b34801561080d57600080fd5b506104c960205481565b34801561082357600080fd5b506104c9601c5481565b34801561083957600080fd5b50610456610848366004613357565b6115fc565b34801561085957600080fd5b506104c9600f5481565b34801561086f57600080fd5b5061045661087e366004613357565b611695565b34801561088f57600080fd5b506104c960085481565b3480156108a557600080fd5b506104c9601d5481565b3480156108bb57600080fd5b506104566108ca366004613383565b60246020526000908152604090205460ff1681565b3480156108eb57600080fd5b5060125461045690610100900460ff1681565b34801561090a57600080fd5b506104b66109193660046134c7565b6116a2565b34801561092a57600080fd5b506104b661093936600461347c565b61172b565b34801561094a57600080fd5b506104b6610959366004613383565b61182c565b34801561096a57600080fd5b506104b661097936600461347c565b6118ce565b34801561098a57600080fd5b506104c960145481565b3480156109a057600080fd5b506104b66109af36600461347c565b611a19565b3480156109c057600080fd5b506104c96109cf366004613500565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a0657600080fd5b506104b6611b18565b348015610a1b57600080fd5b506104c9600b5481565b348015610a3157600080fd5b506104c960185481565b348015610a4757600080fd5b506104b6610a56366004613495565b611bb4565b348015610a6757600080fd5b506104b6610a763660046134c7565b611c67565b348015610a8757600080fd5b506104c9600e5481565b348015610a9d57600080fd5b506104c960165481565b348015610ab357600080fd5b506104b6610ac2366004613383565b611cbc565b348015610ad357600080fd5b506104b6611da7565b348015610ae857600080fd5b506104c9601b5481565b348015610afe57600080fd5b506104c9601e5481565b348015610b1457600080fd5b506104b6610b2336600461347c565b611e13565b606060038054610b379061352e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b639061352e565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b5050505050905090565b6000610bc7338484612057565b5060015b92915050565b6005546001600160a01b03163314610c045760405162461bcd60e51b8152600401610bfb90613568565b60405180910390fd5b60005b82811015610c75578160106000868685818110610c2657610c2661359d565b9050602002016020810190610c3b9190613383565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c6d816135c9565b915050610c07565b50505050565b6000610c8884848461217c565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610d0d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610bfb565b610d1a8533858403612057565b506001949350505050565b6005546001600160a01b03163314610d4f5760405162461bcd60e51b8152600401610bfb90613568565b633b9aca006103e8610d6060025490565b610d6b9060026135e2565b610d7591906135f9565b610d7f91906135f9565b811015610de05760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e322560b81b6064820152608401610bfb565b610dee81633b9aca006135e2565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b6005546001600160a01b03163314610e545760405162461bcd60e51b8152600401610bfb90613568565b60158490556016839055601782905560188190558082610e74858761361b565b610e7e919061361b565b610e88919061361b565b601481905560281015610c755760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610bfb565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610bc7918590610f1490869061361b565b612057565b6005546001600160a01b03163314610f435760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b038116610fa85760405162461bcd60e51b815260206004820152602660248201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60448201526507420626520360d41b6064820152608401610bfb565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b03163314610fe157600080fd5b600b54610fed306110c0565b1015611063576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610bfb565b600a805460ff60a01b1916600160a01b17905561107e612b9d565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146111055760405162461bcd60e51b8152600401610bfb90613568565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146111795760405162461bcd60e51b8152600401610bfb90613568565b6012805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146111d85760405162461bcd60e51b8152600401610bfb90613568565b8061124b57600a546001600160a01b039081169083160361124b5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610bfb565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546000906001600160a01b031633146112a35760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b0383166112f95760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610bfb565b306001600160a01b038416036113515760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610bfb565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bc919061362e565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af115801561140f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114339190613647565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b6005546001600160a01b031633146114a95760405162461bcd60e51b8152600401610bfb90613568565b6012805462ffff0019166201010017905543600e8190556114cb90600061361b565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1565b606060048054610b379061352e565b6005546001600160a01b031633146115325760405162461bcd60e51b8152600401610bfb90613568565b600a546001600160a01b03908116908316036115b65760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610bfb565b6115c08282612ddc565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561167e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bfb565b61168b3385858403612057565b5060019392505050565b6000610bc733848461217c565b6005546001600160a01b031633146116cc5760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146117555760405162461bcd60e51b8152600401610bfb90613568565b633b9aca006103e861176660025490565b6117719060036135e2565b61177b91906135f9565b61178591906135f9565b8110156117e95760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610bfb565b6117f781633b9aca006135e2565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610e1f565b6005546001600160a01b031633146118565760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b0381166118ac5760405162461bcd60e51b815260206004820152601f60248201527f5f6465764164647265737320616464726573732063616e6e6f742062652030006044820152606401610bfb565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118f85760405162461bcd60e51b8152600401610bfb90613568565b620186a061190560025490565b6119109060016135e2565b61191a91906135f9565b8110156119875760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610bfb565b6103e861199360025490565b61199e9060016135e2565b6119a891906135f9565b811115611a145760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610bfb565b600b55565b6005546001600160a01b03163314611a435760405162461bcd60e51b8152600401610bfb90613568565b633b9aca006103e8611a5460025490565b611a5f9060026135e2565b611a6991906135f9565b611a7391906135f9565b811015611ad55760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e322560b01b6064820152608401610bfb565b611ae381633b9aca006135e2565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610e1f565b6005546001600160a01b03163314611b425760405162461bcd60e51b8152600401610bfb90613568565b6000601a819055601b819055601c819055601d81905580611b63818061361b565b611b6d919061361b565b611b77919061361b565b6019556000601581905560168190556017819055601881905580611b9b818061361b565b611ba5919061361b565b611baf919061361b565b601455565b6005546001600160a01b03163314611bde5760405162461bcd60e51b8152600401610bfb90613568565b601a849055601b839055601c829055601d8190558082611bfe858761361b565b611c08919061361b565b611c12919061361b565b601981905560281015610c755760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610bfb565b6005546001600160a01b03163314611c915760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611ce65760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b038116611d4b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfb565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611dd15760405162461bcd60e51b8152600401610bfb90613568565b604051600090339047908381818185875af1925050503d8060008114610c75576040519150601f19603f3d011682016040523d82523d6000602084013e610c75565b6005546001600160a01b03163314611e3d5760405162461bcd60e51b8152600401610bfb90613568565b678ac7230489e80000811115611ecb5760405162461bcd60e51b815260206004820152604760248201527f4d6179206e6f7420627579206d6f7265207468616e2031302045544820696e2060448201527f612073696e676c652062757920746f207265647563652073616e64776963682060648201526661747461636b7360c81b608482015260a401610bfb565b6040805160028082526060820183526000926020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f599190613664565b81600081518110611f6c57611f6c61359d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611fa057611fa061359d565b6001600160a01b03928316602091820292909201015260095460405163b6f9de9560e01b815291169063b6f9de95908490611fe890600090869061dead9042906004016136c5565b6000604051808303818588803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b50505050507fa017c1567cfcdd2d750a8c01e39fe2a846bcebc293c7d078477014d6848205688260405161204b91815260200190565b60405180910390a15050565b6001600160a01b0383166120b95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bfb565b6001600160a01b03821661211a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bfb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166121a25760405162461bcd60e51b8152600401610bfb906136fa565b6001600160a01b0382166121c85760405162461bcd60e51b8152600401610bfb9061373f565b600081116122185760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610bfb565b601254610100900460ff166122ab576001600160a01b03831660009081526022602052604090205460ff168061226657506001600160a01b03821660009081526022602052604090205460ff165b6122ab5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bfb565b600f541561237e576001600160a01b03831660009081526010602052604090205460ff1615806122e857506005546001600160a01b038381169116145b806122fd57506001600160a01b03821661dead145b61237e5760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610bfb565b60125460ff1615612666576005546001600160a01b038481169116148015906123b557506005546001600160a01b03838116911614155b80156123c957506001600160a01b03821615155b80156123e057506001600160a01b03821661dead14155b801561240557506001600160a01b03831660009081526022602052604090205460ff16155b801561242a57506001600160a01b03821660009081526022602052604090205460ff16155b15612666576001600160a01b03831660009081526024602052604090205460ff16801561247057506001600160a01b03821660009081526023602052604090205460ff16155b1561253c576006548111156124d85760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610bfb565b6008546124e4836110c0565b6124ee908361361b565b11156125375760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610bfb565b612666565b6001600160a01b03821660009081526024602052604090205460ff16801561257d57506001600160a01b03831660009081526023602052604090205460ff16155b156125e7576007548111156125375760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610bfb565b6001600160a01b03821660009081526023602052604090205460ff1661266657600854612613836110c0565b61261d908361361b565b11156126665760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610bfb565b6000612671306110c0565b600b5490915081108015908190612690575060125462010000900460ff165b80156126a65750600a54600160a01b900460ff16155b80156126cb57506001600160a01b03851660009081526024602052604090205460ff16155b80156126f057506001600160a01b03851660009081526022602052604090205460ff16155b801561271557506001600160a01b03841660009081526022602052604090205460ff16155b1561274357600a805460ff60a01b1916600160a01b179055612735612b9d565b600a805460ff60a01b191690555b6001600160a01b03851660009081526022602052604090205460019060ff168061278557506001600160a01b03851660009081526022602052604090205460ff165b1561278e575060005b60008115612b8957600f54431080156127bf57506001600160a01b03871660009081526024602052604090205460ff165b80156127e457506001600160a01b03861660009081526024602052604090205460ff16155b80156127f257506000601454115b15612972576001600160a01b03861660009081526010602052604090205460ff16612892576001600160a01b0386166000908152601060205260408120805460ff19166001908117909155601180549192909161285090849061361b565b90915550506040516001600160a01b03871681527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b606461289f8660636135e2565b6128a991906135f9565b9050601454601654826128bc91906135e2565b6128c691906135f9565b601f60008282546128d7919061361b565b90915550506014546015546128ec90836135e2565b6128f691906135f9565b601e6000828254612907919061361b565b909155505060145460175461291c90836135e2565b61292691906135f9565b60206000828254612937919061361b565b909155505060145460185461294c90836135e2565b61295691906135f9565b60216000828254612967919061361b565b90915550612b6b9050565b6001600160a01b03861660009081526024602052604090205460ff16801561299c57506000601954115b15612a5e576064601954866129b191906135e2565b6129bb91906135f9565b9050601954601b54826129ce91906135e2565b6129d891906135f9565b601f60008282546129e9919061361b565b9091555050601954601a546129fe90836135e2565b612a0891906135f9565b601e6000828254612a19919061361b565b9091555050601954601c54612a2e90836135e2565b612a3891906135f9565b60206000828254612a49919061361b565b9091555050601954601d5461294c90836135e2565b6001600160a01b03871660009081526024602052604090205460ff168015612a8857506000601454115b15612b6b57606460145486612a9d91906135e2565b612aa791906135f9565b905060145460165482612aba91906135e2565b612ac491906135f9565b601f6000828254612ad5919061361b565b9091555050601454601554612aea90836135e2565b612af491906135f9565b601e6000828254612b05919061361b565b9091555050601454601754612b1a90836135e2565b612b2491906135f9565b60206000828254612b35919061361b565b9091555050601454601854612b4a90836135e2565b612b5491906135f9565b60216000828254612b65919061361b565b90915550505b8015612b7c57612b7c873083612e0a565b612b868186613782565b94505b612b94878787612e0a565b50505050505050565b6000602154118015612bb95750602154612bb6306110c0565b10155b15612bca57612bca30602154612f5f565b60006021819055612bda306110c0565b90506000602054601e54601f54612bf1919061361b565b612bfb919061361b565b9050811580612c08575080155b15612c11575050565b600b54612c1f90603c6135e2565b821115612c3757600b54612c3490603c6135e2565b91505b600080600283601f5486612c4b91906135e2565b612c5591906135f9565b612c5f91906135f9565b9050612c73612c6e8286613782565b613089565b601f5447908190600090612c89906002906135f9565b612c939087613782565b601e54612ca090856135e2565b612caa91906135f9565b905060006002601f54612cbd91906135f9565b612cc79088613782565b602054612cd490866135e2565b612cde91906135f9565b9050612cea818361361b565b612cf49084613782565b6000601f819055601e819055602081905560215592508415801590612d195750600083115b15612d2857612d2885846131e3565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612d75576040519150601f19603f3d011682016040523d82523d6000602084013e612d7a565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d8060008114612dca576040519150601f19603f3d011682016040523d82523d6000602084013e612dcf565b606091505b5050505050505050505050565b6001600160a01b0382166000908152602460205260409020805460ff19168215151790556115c08282613295565b6001600160a01b038316612e305760405162461bcd60e51b8152600401610bfb906136fa565b6001600160a01b038216612e565760405162461bcd60e51b8152600401610bfb9061373f565b6001600160a01b03831660009081526020819052604090205481811015612ece5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bfb565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612f0590849061361b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f5191815260200190565b60405180910390a350505050565b6001600160a01b038216612fbf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bfb565b6001600160a01b038216600090815260208190526040902054818110156130335760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bfb565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161216f565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106130be576130be61359d565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061313b9190613664565b8160018151811061314e5761314e61359d565b6001600160a01b0392831660209182029290920101526009546131749130911684612057565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac947906131ad908590600090869030904290600401613795565b600060405180830381600087803b1580156131c757600080fd5b505af11580156131db573d6000803e3d6000fd5b505050505050565b6009546131fb9030906001600160a01b031684612057565b60095460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015613269573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061328e91906137d1565b5050505050565b6001600160a01b038216600081815260236020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910161204b565b600060208083528351808285015260005b8181101561331e57858101830151858201604001528201613302565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461335457600080fd5b50565b6000806040838503121561336a57600080fd5b82356133758161333f565b946020939093013593505050565b60006020828403121561339557600080fd5b81356133a08161333f565b9392505050565b801515811461335457600080fd5b6000806000604084860312156133ca57600080fd5b833567ffffffffffffffff808211156133e257600080fd5b818601915086601f8301126133f657600080fd5b81358181111561340557600080fd5b8760208260051b850101111561341a57600080fd5b60209283019550935050840135613430816133a7565b809150509250925092565b60008060006060848603121561345057600080fd5b833561345b8161333f565b9250602084013561346b8161333f565b929592945050506040919091013590565b60006020828403121561348e57600080fd5b5035919050565b600080600080608085870312156134ab57600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156134da57600080fd5b82356134e58161333f565b915060208301356134f5816133a7565b809150509250929050565b6000806040838503121561351357600080fd5b823561351e8161333f565b915060208301356134f58161333f565b600181811c9082168061354257607f821691505b60208210810361356257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016135db576135db6135b3565b5060010190565b8082028115828204841417610bcb57610bcb6135b3565b60008261361657634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610bcb57610bcb6135b3565b60006020828403121561364057600080fd5b5051919050565b60006020828403121561365957600080fd5b81516133a0816133a7565b60006020828403121561367657600080fd5b81516133a08161333f565b600081518084526020808501945080840160005b838110156136ba5781516001600160a01b031687529582019590820190600101613695565b509495945050505050565b8481526080602082015260006136de6080830186613681565b6001600160a01b03949094166040830152506060015292915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610bcb57610bcb6135b3565b85815284602082015260a0604082015260006137b460a0830186613681565b6001600160a01b0394909416606083015250608001529392505050565b6000806000606084860312156137e657600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212200a04dae3486a9a1f9443ff36e7095cbe83cc3776898c66e3895a624d83381c2764736f6c634300081300334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0

Deployed Bytecode

0x6080604052600436106103c75760003560e01c80638da5cb5b116101f2578063d257b34f1161010d578063e800dff7116100a0578063f5648a4f1161006f578063f5648a4f14610ac7578063f637434214610adc578063fb002c9714610af2578063fc155d1d14610b0857600080fd5b8063e800dff714610a5b578063ee40166e14610a7b578063f11a24d314610a91578063f2fde38b14610aa757600080fd5b8063e2cd5fcd116100dc578063e2cd5fcd146109fa578063e2f4560514610a0f578063e71dc3f514610a25578063e7ad9fcd14610a3b57600080fd5b8063d257b34f1461095e578063d85ba0631461097e578063dc3f0d0f14610994578063dd62ed3e146109b457600080fd5b8063a9059cbb11610185578063bbc0c74211610154578063bbc0c742146108df578063c0246668146108fe578063c18bc1951461091e578063d0d41fe11461093e57600080fd5b8063a9059cbb14610863578063aa4bde2814610883578063adb873bd14610899578063b62496f5146108af57600080fd5b80639fccce32116101c15780639fccce3214610801578063a0d82dc514610817578063a457c2d71461082d578063a62068ce1461084d57600080fd5b80638da5cb5b1461079857806395d89b41146107b65780639a7a23d6146107cb5780639c3b4fdc146107eb57600080fd5b80634f77f6c0116102e257806370a08231116102755780638366e79a116102445780638366e79a1461071d57806385ecfd281461073d57806388e765ff1461076d5780638a8c523c1461078357600080fd5b806370a08231146106b3578063715018a6146106d3578063751039fc146106e85780637571336a146106fd57600080fd5b806366d602ae116102b157806366d602ae146106515780636a486a8e146106675780636b0a894c1461067d5780636ddd17131461069357600080fd5b80634f77f6c0146105f957806351f205e41461060f57806358a6d531146106245780635a139dd41461063b57600080fd5b806323b872dd1161035a5780633950935111610329578063395093511461057f578063452ed4f11461059f578063499b8394146105bf5780634a62bb65146105df57600080fd5b806323b872dd146105035780632be32b61146105235780632e6ed7ef14610543578063313ce5671461056357600080fd5b8063130a2c3c11610396578063130a2c3c1461049657806318160ddd146104b85780631a8145bb146104d75780631d777856146104ed57600080fd5b806306fdde03146103d35780630758d924146103fe578063095ea7b31461043657806310d5de531461046657600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b506103e8610b28565b6040516103f591906132f1565b60405180910390f35b34801561040a57600080fd5b5060095461041e906001600160a01b031681565b6040516001600160a01b0390911681526020016103f5565b34801561044257600080fd5b50610456610451366004613357565b610bba565b60405190151581526020016103f5565b34801561047257600080fd5b50610456610481366004613383565b60236020526000908152604090205460ff1681565b3480156104a257600080fd5b506104b66104b13660046133b5565b610bd1565b005b3480156104c457600080fd5b506002545b6040519081526020016103f5565b3480156104e357600080fd5b506104c9601f5481565b3480156104f957600080fd5b506104c960215481565b34801561050f57600080fd5b5061045661051e36600461343b565b610c7b565b34801561052f57600080fd5b506104b661053e36600461347c565b610d25565b34801561054f57600080fd5b506104b661055e366004613495565b610e2a565b34801561056f57600080fd5b50604051600981526020016103f5565b34801561058b57600080fd5b5061045661059a366004613357565b610edd565b3480156105ab57600080fd5b50600a5461041e906001600160a01b031681565b3480156105cb57600080fd5b506104b66105da366004613383565b610f19565b3480156105eb57600080fd5b506012546104569060ff1681565b34801561060557600080fd5b506104c9601a5481565b34801561061b57600080fd5b506104b6610fca565b34801561063057600080fd5b50600f544310610456565b34801561064757600080fd5b506104c960155481565b34801561065d57600080fd5b506104c960075481565b34801561067357600080fd5b506104c960195481565b34801561068957600080fd5b506104c960115481565b34801561069f57600080fd5b506012546104569062010000900460ff1681565b3480156106bf57600080fd5b506104c96106ce366004613383565b6110c0565b3480156106df57600080fd5b506104b66110db565b3480156106f457600080fd5b506104b661114f565b34801561070957600080fd5b506104b66107183660046134c7565b6111ae565b34801561072957600080fd5b50610456610738366004613500565b611276565b34801561074957600080fd5b50610456610758366004613383565b60106020526000908152604090205460ff1681565b34801561077957600080fd5b506104c960065481565b34801561078f57600080fd5b506104b661147f565b3480156107a457600080fd5b506005546001600160a01b031661041e565b3480156107c257600080fd5b506103e86114f9565b3480156107d757600080fd5b506104b66107e63660046134c7565b611508565b3480156107f757600080fd5b506104c960175481565b34801561080d57600080fd5b506104c960205481565b34801561082357600080fd5b506104c9601c5481565b34801561083957600080fd5b50610456610848366004613357565b6115fc565b34801561085957600080fd5b506104c9600f5481565b34801561086f57600080fd5b5061045661087e366004613357565b611695565b34801561088f57600080fd5b506104c960085481565b3480156108a557600080fd5b506104c9601d5481565b3480156108bb57600080fd5b506104566108ca366004613383565b60246020526000908152604090205460ff1681565b3480156108eb57600080fd5b5060125461045690610100900460ff1681565b34801561090a57600080fd5b506104b66109193660046134c7565b6116a2565b34801561092a57600080fd5b506104b661093936600461347c565b61172b565b34801561094a57600080fd5b506104b6610959366004613383565b61182c565b34801561096a57600080fd5b506104b661097936600461347c565b6118ce565b34801561098a57600080fd5b506104c960145481565b3480156109a057600080fd5b506104b66109af36600461347c565b611a19565b3480156109c057600080fd5b506104c96109cf366004613500565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610a0657600080fd5b506104b6611b18565b348015610a1b57600080fd5b506104c9600b5481565b348015610a3157600080fd5b506104c960185481565b348015610a4757600080fd5b506104b6610a56366004613495565b611bb4565b348015610a6757600080fd5b506104b6610a763660046134c7565b611c67565b348015610a8757600080fd5b506104c9600e5481565b348015610a9d57600080fd5b506104c960165481565b348015610ab357600080fd5b506104b6610ac2366004613383565b611cbc565b348015610ad357600080fd5b506104b6611da7565b348015610ae857600080fd5b506104c9601b5481565b348015610afe57600080fd5b506104c9601e5481565b348015610b1457600080fd5b506104b6610b2336600461347c565b611e13565b606060038054610b379061352e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b639061352e565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b5050505050905090565b6000610bc7338484612057565b5060015b92915050565b6005546001600160a01b03163314610c045760405162461bcd60e51b8152600401610bfb90613568565b60405180910390fd5b60005b82811015610c75578160106000868685818110610c2657610c2661359d565b9050602002016020810190610c3b9190613383565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c6d816135c9565b915050610c07565b50505050565b6000610c8884848461217c565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610d0d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610bfb565b610d1a8533858403612057565b506001949350505050565b6005546001600160a01b03163314610d4f5760405162461bcd60e51b8152600401610bfb90613568565b633b9aca006103e8610d6060025490565b610d6b9060026135e2565b610d7591906135f9565b610d7f91906135f9565b811015610de05760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572206044820152687468616e20302e322560b81b6064820152608401610bfb565b610dee81633b9aca006135e2565b60068190556040519081527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b6005546001600160a01b03163314610e545760405162461bcd60e51b8152600401610bfb90613568565b60158490556016839055601782905560188190558082610e74858761361b565b610e7e919061361b565b610e88919061361b565b601481905560281015610c755760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610bfb565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610bc7918590610f1490869061361b565b612057565b6005546001600160a01b03163314610f435760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b038116610fa85760405162461bcd60e51b815260206004820152602660248201527f5f6f7065726174696f6e734164647265737320616464726573732063616e6e6f60448201526507420626520360d41b6064820152608401610bfb565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b03163314610fe157600080fd5b600b54610fed306110c0565b1015611063576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e6064820152608401610bfb565b600a805460ff60a01b1916600160a01b17905561107e612b9d565b600a805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6001600160a01b031660009081526020819052604090205490565b6005546001600160a01b031633146111055760405162461bcd60e51b8152600401610bfb90613568565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146111795760405162461bcd60e51b8152600401610bfb90613568565b6012805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b6005546001600160a01b031633146111d85760405162461bcd60e51b8152600401610bfb90613568565b8061124b57600a546001600160a01b039081169083160361124b5760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201526636b0bc103a3c3760c91b6064820152608401610bfb565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546000906001600160a01b031633146112a35760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b0383166112f95760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610bfb565b306001600160a01b038416036113515760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610bfb565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015611398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bc919061362e565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af115801561140f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114339190613647565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b6005546001600160a01b031633146114a95760405162461bcd60e51b8152600401610bfb90613568565b6012805462ffff0019166201010017905543600e8190556114cb90600061361b565b600f556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb790600090a1565b606060048054610b379061352e565b6005546001600160a01b031633146115325760405162461bcd60e51b8152600401610bfb90613568565b600a546001600160a01b03908116908316036115b65760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610bfb565b6115c08282612ddc565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561167e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bfb565b61168b3385858403612057565b5060019392505050565b6000610bc733848461217c565b6005546001600160a01b031633146116cc5760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146117555760405162461bcd60e51b8152600401610bfb90613568565b633b9aca006103e861176660025490565b6117719060036135e2565b61177b91906135f9565b61178591906135f9565b8110156117e95760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760448201526b6572207468616e20302e332560a01b6064820152608401610bfb565b6117f781633b9aca006135e2565b60088190556040519081527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610e1f565b6005546001600160a01b031633146118565760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b0381166118ac5760405162461bcd60e51b815260206004820152601f60248201527f5f6465764164647265737320616464726573732063616e6e6f742062652030006044820152606401610bfb565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118f85760405162461bcd60e51b8152600401610bfb90613568565b620186a061190560025490565b6119109060016135e2565b61191a91906135f9565b8110156119875760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610bfb565b6103e861199360025490565b61199e9060016135e2565b6119a891906135f9565b811115611a145760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b6064820152608401610bfb565b600b55565b6005546001600160a01b03163314611a435760405162461bcd60e51b8152600401610bfb90613568565b633b9aca006103e8611a5460025490565b611a5f9060026135e2565b611a6991906135f9565b611a7391906135f9565b811015611ad55760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f776572604482015269207468616e20302e322560b01b6064820152608401610bfb565b611ae381633b9aca006135e2565b60078190556040519081527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610e1f565b6005546001600160a01b03163314611b425760405162461bcd60e51b8152600401610bfb90613568565b6000601a819055601b819055601c819055601d81905580611b63818061361b565b611b6d919061361b565b611b77919061361b565b6019556000601581905560168190556017819055601881905580611b9b818061361b565b611ba5919061361b565b611baf919061361b565b601455565b6005546001600160a01b03163314611bde5760405162461bcd60e51b8152600401610bfb90613568565b601a849055601b839055601c829055601d8190558082611bfe858761361b565b611c08919061361b565b611c12919061361b565b601981905560281015610c755760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610bfb565b6005546001600160a01b03163314611c915760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314611ce65760405162461bcd60e51b8152600401610bfb90613568565b6001600160a01b038116611d4b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bfb565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611dd15760405162461bcd60e51b8152600401610bfb90613568565b604051600090339047908381818185875af1925050503d8060008114610c75576040519150601f19603f3d011682016040523d82523d6000602084013e610c75565b6005546001600160a01b03163314611e3d5760405162461bcd60e51b8152600401610bfb90613568565b678ac7230489e80000811115611ecb5760405162461bcd60e51b815260206004820152604760248201527f4d6179206e6f7420627579206d6f7265207468616e2031302045544820696e2060448201527f612073696e676c652062757920746f207265647563652073616e64776963682060648201526661747461636b7360c81b608482015260a401610bfb565b6040805160028082526060820183526000926020830190803683375050600954604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa158015611f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f599190613664565b81600081518110611f6c57611f6c61359d565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110611fa057611fa061359d565b6001600160a01b03928316602091820292909201015260095460405163b6f9de9560e01b815291169063b6f9de95908490611fe890600090869061dead9042906004016136c5565b6000604051808303818588803b15801561200157600080fd5b505af1158015612015573d6000803e3d6000fd5b50505050507fa017c1567cfcdd2d750a8c01e39fe2a846bcebc293c7d078477014d6848205688260405161204b91815260200190565b60405180910390a15050565b6001600160a01b0383166120b95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bfb565b6001600160a01b03821661211a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bfb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166121a25760405162461bcd60e51b8152600401610bfb906136fa565b6001600160a01b0382166121c85760405162461bcd60e51b8152600401610bfb9061373f565b600081116122185760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610bfb565b601254610100900460ff166122ab576001600160a01b03831660009081526022602052604090205460ff168061226657506001600160a01b03821660009081526022602052604090205460ff165b6122ab5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bfb565b600f541561237e576001600160a01b03831660009081526010602052604090205460ff1615806122e857506005546001600160a01b038381169116145b806122fd57506001600160a01b03821661dead145b61237e5760405162461bcd60e51b815260206004820152604660248201527f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f60448201527f72206f75742065786365707420746f206f776e6572206f722064656164206164606482015265323932b9b99760d11b608482015260a401610bfb565b60125460ff1615612666576005546001600160a01b038481169116148015906123b557506005546001600160a01b03838116911614155b80156123c957506001600160a01b03821615155b80156123e057506001600160a01b03821661dead14155b801561240557506001600160a01b03831660009081526022602052604090205460ff16155b801561242a57506001600160a01b03821660009081526022602052604090205460ff16155b15612666576001600160a01b03831660009081526024602052604090205460ff16801561247057506001600160a01b03821660009081526023602052604090205460ff16155b1561253c576006548111156124d85760405162461bcd60e51b815260206004820152602860248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526736b0bc10313abc9760c11b6064820152608401610bfb565b6008546124e4836110c0565b6124ee908361361b565b11156125375760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610bfb565b612666565b6001600160a01b03821660009081526024602052604090205460ff16801561257d57506001600160a01b03831660009081526023602052604090205460ff16155b156125e7576007548111156125375760405162461bcd60e51b815260206004820152602a60248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152691036b0bc1039b2b6361760b11b6064820152608401610bfb565b6001600160a01b03821660009081526023602052604090205460ff1661266657600854612613836110c0565b61261d908361361b565b11156126665760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd08115e18d95959081b585e081dd85b1b195d60421b6044820152606401610bfb565b6000612671306110c0565b600b5490915081108015908190612690575060125462010000900460ff165b80156126a65750600a54600160a01b900460ff16155b80156126cb57506001600160a01b03851660009081526024602052604090205460ff16155b80156126f057506001600160a01b03851660009081526022602052604090205460ff16155b801561271557506001600160a01b03841660009081526022602052604090205460ff16155b1561274357600a805460ff60a01b1916600160a01b179055612735612b9d565b600a805460ff60a01b191690555b6001600160a01b03851660009081526022602052604090205460019060ff168061278557506001600160a01b03851660009081526022602052604090205460ff165b1561278e575060005b60008115612b8957600f54431080156127bf57506001600160a01b03871660009081526024602052604090205460ff165b80156127e457506001600160a01b03861660009081526024602052604090205460ff16155b80156127f257506000601454115b15612972576001600160a01b03861660009081526010602052604090205460ff16612892576001600160a01b0386166000908152601060205260408120805460ff19166001908117909155601180549192909161285090849061361b565b90915550506040516001600160a01b03871681527f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a9060200160405180910390a15b606461289f8660636135e2565b6128a991906135f9565b9050601454601654826128bc91906135e2565b6128c691906135f9565b601f60008282546128d7919061361b565b90915550506014546015546128ec90836135e2565b6128f691906135f9565b601e6000828254612907919061361b565b909155505060145460175461291c90836135e2565b61292691906135f9565b60206000828254612937919061361b565b909155505060145460185461294c90836135e2565b61295691906135f9565b60216000828254612967919061361b565b90915550612b6b9050565b6001600160a01b03861660009081526024602052604090205460ff16801561299c57506000601954115b15612a5e576064601954866129b191906135e2565b6129bb91906135f9565b9050601954601b54826129ce91906135e2565b6129d891906135f9565b601f60008282546129e9919061361b565b9091555050601954601a546129fe90836135e2565b612a0891906135f9565b601e6000828254612a19919061361b565b9091555050601954601c54612a2e90836135e2565b612a3891906135f9565b60206000828254612a49919061361b565b9091555050601954601d5461294c90836135e2565b6001600160a01b03871660009081526024602052604090205460ff168015612a8857506000601454115b15612b6b57606460145486612a9d91906135e2565b612aa791906135f9565b905060145460165482612aba91906135e2565b612ac491906135f9565b601f6000828254612ad5919061361b565b9091555050601454601554612aea90836135e2565b612af491906135f9565b601e6000828254612b05919061361b565b9091555050601454601754612b1a90836135e2565b612b2491906135f9565b60206000828254612b35919061361b565b9091555050601454601854612b4a90836135e2565b612b5491906135f9565b60216000828254612b65919061361b565b90915550505b8015612b7c57612b7c873083612e0a565b612b868186613782565b94505b612b94878787612e0a565b50505050505050565b6000602154118015612bb95750602154612bb6306110c0565b10155b15612bca57612bca30602154612f5f565b60006021819055612bda306110c0565b90506000602054601e54601f54612bf1919061361b565b612bfb919061361b565b9050811580612c08575080155b15612c11575050565b600b54612c1f90603c6135e2565b821115612c3757600b54612c3490603c6135e2565b91505b600080600283601f5486612c4b91906135e2565b612c5591906135f9565b612c5f91906135f9565b9050612c73612c6e8286613782565b613089565b601f5447908190600090612c89906002906135f9565b612c939087613782565b601e54612ca090856135e2565b612caa91906135f9565b905060006002601f54612cbd91906135f9565b612cc79088613782565b602054612cd490866135e2565b612cde91906135f9565b9050612cea818361361b565b612cf49084613782565b6000601f819055601e819055602081905560215592508415801590612d195750600083115b15612d2857612d2885846131e3565b600d546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612d75576040519150601f19603f3d011682016040523d82523d6000602084013e612d7a565b606091505b5050600c546040519197506001600160a01b0316904790600081818185875af1925050503d8060008114612dca576040519150601f19603f3d011682016040523d82523d6000602084013e612dcf565b606091505b5050505050505050505050565b6001600160a01b0382166000908152602460205260409020805460ff19168215151790556115c08282613295565b6001600160a01b038316612e305760405162461bcd60e51b8152600401610bfb906136fa565b6001600160a01b038216612e565760405162461bcd60e51b8152600401610bfb9061373f565b6001600160a01b03831660009081526020819052604090205481811015612ece5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bfb565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612f0590849061361b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f5191815260200190565b60405180910390a350505050565b6001600160a01b038216612fbf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bfb565b6001600160a01b038216600090815260208190526040902054818110156130335760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bfb565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161216f565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106130be576130be61359d565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061313b9190613664565b8160018151811061314e5761314e61359d565b6001600160a01b0392831660209182029290920101526009546131749130911684612057565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac947906131ad908590600090869030904290600401613795565b600060405180830381600087803b1580156131c757600080fd5b505af11580156131db573d6000803e3d6000fd5b505050505050565b6009546131fb9030906001600160a01b031684612057565b60095460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af1158015613269573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061328e91906137d1565b5050505050565b6001600160a01b038216600081815260236020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910161204b565b600060208083528351808285015260005b8181101561331e57858101830151858201604001528201613302565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461335457600080fd5b50565b6000806040838503121561336a57600080fd5b82356133758161333f565b946020939093013593505050565b60006020828403121561339557600080fd5b81356133a08161333f565b9392505050565b801515811461335457600080fd5b6000806000604084860312156133ca57600080fd5b833567ffffffffffffffff808211156133e257600080fd5b818601915086601f8301126133f657600080fd5b81358181111561340557600080fd5b8760208260051b850101111561341a57600080fd5b60209283019550935050840135613430816133a7565b809150509250925092565b60008060006060848603121561345057600080fd5b833561345b8161333f565b9250602084013561346b8161333f565b929592945050506040919091013590565b60006020828403121561348e57600080fd5b5035919050565b600080600080608085870312156134ab57600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156134da57600080fd5b82356134e58161333f565b915060208301356134f5816133a7565b809150509250929050565b6000806040838503121561351357600080fd5b823561351e8161333f565b915060208301356134f58161333f565b600181811c9082168061354257607f821691505b60208210810361356257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016135db576135db6135b3565b5060010190565b8082028115828204841417610bcb57610bcb6135b3565b60008261361657634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610bcb57610bcb6135b3565b60006020828403121561364057600080fd5b5051919050565b60006020828403121561365957600080fd5b81516133a0816133a7565b60006020828403121561367657600080fd5b81516133a08161333f565b600081518084526020808501945080840160005b838110156136ba5781516001600160a01b031687529582019590820190600101613695565b509495945050505050565b8481526080602082015260006136de6080830186613681565b6001600160a01b03949094166040830152506060015292915050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610bcb57610bcb6135b3565b85815284602082015260a0604082015260006137b460a0830186613681565b6001600160a01b0394909416606083015250608001529392505050565b6000806000606084860312156137e657600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212200a04dae3486a9a1f9443ff36e7095cbe83cc3776898c66e3895a624d83381c2764736f6c63430008130033

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.