ETH Price: $3,441.91 (+1.27%)

Token

Echoes (ECHO3S)
 

Overview

Max Total Supply

1,000,000,000,000 ECHO3S

Holders

55

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,399,999,999.999999999999999998 ECHO3S

Value
$0.00
0xc871bf374d16bdd8f613631a743a901d54ab31bb
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:
ECHO3S

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : enableinitialize.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;

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

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


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

library Address {
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }


    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address lpPair, uint);
    function getPair(address tokenA, address tokenB) external view returns (address lpPair);
    function createPair(address tokenA, address tokenB) external returns (address lpPair);
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

contract ECHO3S is Context, IERC20Upgradeable {
    // Ownership moved to in-contract for customizability.
    address private _owner;

    mapping (address => uint256) private _rOwned;
    mapping (address => uint256) private _tOwned;
    mapping (address => bool) lpPairs;
    uint256 private timeSinceLastPair = 0;
    mapping (address => mapping (address => uint256)) private _allowances;

    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private _isExcluded;
    address[] private _excluded;

    mapping (address => bool) private _liquidityHolders;
   
    uint256 private startingSupply;

    string private _name;
    string private _symbol;

    uint256 public _reflectFee = 0;
    uint256 public _liquidityFee = 0;
    uint256 public _marketingFee =6;

    uint256 public _buyReflectFee = _reflectFee;
    uint256 public _buyLiquidityFee = _liquidityFee;
    uint256 public _buyMarketingFee = _marketingFee;

    uint256 public _sellReflectFee = 0;
    uint256 public _sellLiquidityFee = 0;
    uint256 public _sellMarketingFee = 10;
    
    uint256 public _transferReflectFee = 0;
    uint256 public _transferLiquidityFee = 0;
    uint256 public _transferMarketingFee = 0;
    
    uint256 private maxReflectFee = 25;
    uint256 private maxLiquidityFee = 25;
    uint256 private maxMarketingFee = 25;

    uint256 public _liquidityRatio = 0;
    uint256 public _marketingRatio = 0;

    uint256 private masterTaxDivisor = 100;

    uint256 public MarketShare = 1;
    uint256 public DevShare = 0;
    uint256 public ValueDivisor = 1;

    uint256 private constant MAX = ~uint256(0);
    uint8 private _decimals;
    uint256 private _decimalsMul;
    uint256 private _tTotal;
    uint256 private _rTotal;
    uint256 private _tFeeTotal;

    IUniswapV2Router02 public dexRouter;
    address public lpPair;

    // UNI ROUTER
    address public _routerAddress;

    address public DEAD = 0x000000000000000000000000000000000000dEaD;
    address public ZERO = 0x0000000000000000000000000000000000000000;
    address payable private _devWallet;
    address payable private _marketWallet;
    
    bool inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = false;
    
    uint256 private _maxTxAmount;
    uint256 public maxTxAmountUI;

    uint256 private _maxWalletSize;
    uint256 public maxWalletSizeUI;

    uint256 private swapThreshold;
    uint256 private swapAmount;

    bool tradingEnabled = false;

    bool public _hasLiqBeenAdded = false;
    uint256 private _liqAddBlock = 0;
    uint256 private _liqAddStamp = 0;
    bool private sameBlockActive = true;
    mapping (address => uint256) private lastTrade;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );
    event SniperCaught(address sniperAddress);
    uint256 Planted;
    
    bool contractInitialized = false;
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    
    constructor () payable {
        // Set the owner.
        _owner = msg.sender;

        if (block.chainid == 56) {
            _routerAddress = 0x10ED43C718714eb63d5aA57B78B54704E256024E;
        } else if (block.chainid == 97) {
            _routerAddress = 0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3;
        } else if (block.chainid == 1 || block.chainid == 4 || block.chainid == 3) {
            _routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        } else {
            revert();
        }

        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _liquidityHolders[owner()] = true;

        _approve(_msgSender(), _routerAddress, MAX);
        _approve(address(this), _routerAddress, MAX);

    }

    receive() external payable {}

    function intializeContract(address payable setMarketWallet, address payable setDevWallet, string memory _tokenname, string memory _tokensymbol) external onlyOwner {
        require(!contractInitialized);

        _marketWallet = payable(setMarketWallet);
        _devWallet = payable(setDevWallet);

        _name = _tokenname;
        _symbol = _tokensymbol;
        startingSupply = 1_000_000_000_000;
        if (startingSupply < 10000000000000) {
            _decimals = 18;
            _decimalsMul = _decimals;
        } else {
            _decimals = 9;
            _decimalsMul = _decimals;
        }
        _tTotal = startingSupply * (10**_decimalsMul);
        _rTotal = (MAX - (MAX % _tTotal));

        dexRouter = IUniswapV2Router02(_routerAddress);
        lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(), address(this));
        lpPairs[lpPair] = true;
        _allowances[address(this)][address(dexRouter)] = type(uint256).max;
        
        _maxTxAmount = (_tTotal * 100) / 100;
        maxTxAmountUI = (startingSupply * 10) / 1000;
        _maxWalletSize = (_tTotal * 100) / 100;
        maxWalletSizeUI = (startingSupply * 20) / 1000;
        swapThreshold = (_tTotal * 5) / 10000;
        swapAmount = (_tTotal * 5) / 1000;

        approve(_routerAddress, type(uint256).max);

        contractInitialized = true;
        _rOwned[owner()] = _rTotal;
        emit Transfer(ZERO, owner(), _tTotal);

        _approve(address(this), address(dexRouter), type(uint256).max);

        _transfer(owner(), address(this), balanceOf(owner()));


        

        dexRouter.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0, 
            0, 
            owner(),
            block.timestamp
        );
        Planted = block.number;
    }

//===============================================================================================================
//===============================================================================================================
//===============================================================================================================
    // Ownable removed as a lib and added here to allow for custom transfers and recnouncements.
    // This allows for removal of ownership privelages from the owner once renounced or transferred.
    function owner() public view returns (address) {
        return _owner;
    }

    function transferOwner(address newOwner) external onlyOwner() {
        require(newOwner != address(0), "Call renounceOwnership to transfer owner to the zero address.");
        require(newOwner != DEAD, "Call renounceOwnership to transfer owner to the zero address.");
        setExcludedFromFee(_owner, false);
        setExcludedFromFee(newOwner, true);
        setExcludedFromReward(newOwner, true);
        
        if (_devWallet == payable(_owner))
            _devWallet = payable(newOwner);
        
        _allowances[_owner][newOwner] = balanceOf(_owner);
        if(balanceOf(_owner) > 0) {
            _transfer(_owner, newOwner, balanceOf(_owner));
        }
        
        _owner = newOwner;
        emit OwnershipTransferred(_owner, newOwner);
        
    }

    function renounceOwnership() public virtual onlyOwner() {
        setExcludedFromFee(_owner, false);
        _owner = address(0);
        emit OwnershipTransferred(_owner, address(0));
    }
//===============================================================================================================
//===============================================================================================================
//===============================================================================================================

    function totalSupply() external view override returns (uint256) { return _tTotal; }
    function decimals() external view returns (uint8) { return _decimals; }
    function symbol() external view returns (string memory) { return _symbol; }
    function name() external view returns (string memory) { return _name; }
    function getOwner() external view returns (address) { return owner(); }
    function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

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

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

    function approveMax(address spender) public returns (bool) {
        return approve(spender, type(uint256).max);
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue);
        return true;
    }

    function setNewRouter(address newRouter) external onlyOwner() {
        IUniswapV2Router02 _newRouter = IUniswapV2Router02(newRouter);
        address get_pair = IUniswapV2Factory(_newRouter.factory()).getPair(address(this), _newRouter.WETH());
        if (get_pair == address(0)) {
            lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this), _newRouter.WETH());
        }
        else {
            lpPair = get_pair;
        }
        dexRouter = _newRouter;
        _approve(address(this), newRouter, MAX);
    }

    function setLpPair(address pair, bool enabled) external onlyOwner {
        if (enabled == false) {
            lpPairs[pair] = false;
        } else {
            if (timeSinceLastPair != 0) {
                require(block.timestamp - timeSinceLastPair > 1 weeks, "Cannot set a new pair this week!");
            }
            lpPairs[pair] = true;
            timeSinceLastPair = block.timestamp;
        }
    }

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

    function setTaxesBuy(uint256 reflect, uint256 liquidity, uint256 marketing) external onlyOwner {
        require(reflect <= maxReflectFee
                && liquidity <= maxLiquidityFee
                && marketing <= maxMarketingFee
                );
        require(reflect + liquidity + marketing <= 4900);
        _buyReflectFee = reflect;
        _buyLiquidityFee = liquidity;
        _buyMarketingFee = marketing;
    }

    function setTaxesSell(uint256 reflect, uint256 liquidity, uint256 marketing) external onlyOwner {
        require(reflect <= maxReflectFee
                && liquidity <= maxLiquidityFee
                && marketing <= maxMarketingFee
                );
        require(reflect + liquidity + marketing <= 4900);
        _sellReflectFee = reflect;
        _sellLiquidityFee = liquidity;
        _sellMarketingFee = marketing;
    }

    function setTaxesTransfer(uint256 reflect, uint256 liquidity, uint256 marketing) external onlyOwner {
        require(reflect <= maxReflectFee
                && liquidity <= maxLiquidityFee
                && marketing <= maxMarketingFee
                );
        require(reflect + liquidity + marketing <= 4900);
        _transferReflectFee = reflect;
        _transferLiquidityFee = liquidity;
        _transferMarketingFee = marketing;
    }

    function setValues(uint256 ms, uint256 ds, uint256 vd) external onlyOwner {
        MarketShare = ms;
        DevShare = ds;
        ValueDivisor = vd;
    }

    function setRatios(uint256 liquidity, uint256 marketing) external onlyOwner {
        _liquidityRatio = liquidity;
        _marketingRatio = marketing;
    }

    function MaxTx(uint256 percent, uint256 divisor) external onlyOwner {
        uint256 check = (_tTotal * percent) / divisor;
        require(check >= (_tTotal / 1000), "Max Transaction amt must be above 0.1% of total supply.");
        _maxTxAmount = check;
        maxTxAmountUI = (startingSupply * percent) / divisor;
    }

    function WalletSize(uint256 percent, uint256 divisor) external onlyOwner {
        uint256 check = (_tTotal * percent) / divisor;
        require(check >= (_tTotal / 1000), "Max Wallet amt must be above 0.1% of total supply.");
        _maxWalletSize = check;
        maxWalletSizeUI = (startingSupply * percent) / divisor;
    }

    function setSwapSettings(uint256 thresholdPercent, uint256 thresholdDivisor, uint256 amountPercent, uint256 amountDivisor) external onlyOwner {
        swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor;
        swapAmount = (_tTotal * amountPercent) / amountDivisor;
    }

    function NewMarketWallet(address payable newWallet) external onlyOwner {
        require(_marketWallet != newWallet, "Wallet already set!");
        _marketWallet = payable(newWallet);
    }

    function NewDevWallet(address payable newWallet) external onlyOwner {
        require(_devWallet != newWallet, "Wallet already set!");
        _devWallet = payable(newWallet);
    }
    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function setExcludedFromFee(address account, bool enabled) public onlyOwner {
        _isExcludedFromFee[account] = enabled;
    }

    function setExcludedFromReward(address account, bool enabled) public onlyOwner {
        if (enabled == true) {
            require(!_isExcluded[account], "Account is already excluded.");
            if(_rOwned[account] > 0) {
                _tOwned[account] = tokenFromReflection(_rOwned[account]);
            }
            _isExcluded[account] = true;
            _excluded.push(account);
        } else if (enabled == false) {
            require(_isExcluded[account], "Account is already included.");
            for (uint256 i = 0; i < _excluded.length; i++) {
                if (_excluded[i] == account) {
                    _excluded[i] = _excluded[_excluded.length - 1];
                    _tOwned[account] = 0;
                    _isExcluded[account] = false;
                    _excluded.pop();
                    break;
                }
            }
        }
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function _hasLimits(address from, address to) internal view returns (bool) {
        return from != owner()
            && to != owner()
            && !_liquidityHolders[to]
            && !_liquidityHolders[from]
            && to != DEAD
            && to != address(0)
            && from != address(this);
    }

    function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount / currentRate;
    }
    
    function _approve(address sender, address spender, uint256 amount) internal {
        require(sender != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[sender][spender] = amount;
        emit Approval(sender, spender, amount);
    }

    function _transfer(address from, address to, uint256 amount) internal returns (bool) {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if(_hasLimits(from, to)) {
            if(!tradingEnabled) {
                revert("Trading not yet enabled!");
            }
            if (sameBlockActive) {
                if (lpPairs[from]){
                    require(lastTrade[to] != block.number);
                    lastTrade[to] = block.number;
                } else {
                    require(lastTrade[from] != block.number);
                    lastTrade[from] = block.number;
                }
            }
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
            if(to != _routerAddress && !lpPairs[to]) {
                require(balanceOf(to) + amount <= _maxWalletSize, "Transfer amount exceeds the maxWalletSize.");
            }
        }
        bool takeFee = true;
        if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
            takeFee = false;
        }

        if (lpPairs[to]) {
            if (!inSwapAndLiquify
                && swapAndLiquifyEnabled
            ) {
                uint256 contractTokenBalance = balanceOf(address(this));
                if (contractTokenBalance >= swapThreshold) {
                    if(contractTokenBalance >= swapAmount) { contractTokenBalance = swapAmount; }
                    swapAndLiquify(contractTokenBalance);
                }
            }      
        } 
        return _finalizeTransfer(from, to, amount, takeFee);
    }

    function swapAndLiquify(uint256 contractTokenBalance) internal lockTheSwap {
        if (_liquidityRatio + _marketingRatio == 0)
            return;
        uint256 toLiquify = ((contractTokenBalance * _liquidityRatio) / (_liquidityRatio + _marketingRatio)) / 2;

        uint256 toSwapForEth = contractTokenBalance - toLiquify;

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

        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            toSwapForEth,
            0,
            path,
            address(this),
            block.timestamp
        );


        uint256 liquidityBalance = ((address(this).balance * _liquidityRatio) / (_liquidityRatio + _marketingRatio)) / 2;

        if (toLiquify > 0) {
            dexRouter.addLiquidityETH{value: liquidityBalance}(
                address(this),
                toLiquify,
                0, 
                0, 
                DEAD,
                block.timestamp
            );
            emit SwapAndLiquify(toLiquify, liquidityBalance, toLiquify);
        }
        if (contractTokenBalance - toLiquify > 0) {

            uint256 OperationsFee = (address(this).balance);
            uint256 marketFee = OperationsFee/(ValueDivisor)*(MarketShare);
            uint256 devfeeshare = OperationsFee/(ValueDivisor)*(DevShare);
            _marketWallet.transfer(marketFee);
            _devWallet.transfer(devfeeshare);            

        }
    }

    

    function _checkLiquidityAdd(address from, address to) internal {
        require(!_hasLiqBeenAdded, "Liquidity already added and marked.");
        if (!_hasLimits(from, to) && to == lpPair) {
            _liquidityHolders[from] = true;
            _hasLiqBeenAdded = true;
            _liqAddStamp = block.timestamp;

            swapAndLiquifyEnabled = true;
            emit SwapAndLiquifyEnabledUpdated(true);
        }
    }

    function enableTrading() public onlyOwner {
        require(!tradingEnabled, "Trading already enabled!");
        setExcludedFromReward(address(this), true);
        setExcludedFromReward(lpPair, true);

        tradingEnabled = true;
        swapAndLiquifyEnabled = true;
    }

    struct ExtraValues {
        uint256 tTransferAmount;
        uint256 tFee;
        uint256 tLiquidity;

        uint256 rTransferAmount;
        uint256 rAmount;
        uint256 rFee;
    }

    function _finalizeTransfer(address from, address to, uint256 tAmount, bool takeFee) internal returns (bool) {


        if (!_hasLiqBeenAdded) {
                _checkLiquidityAdd(from, to);
                if (!_hasLiqBeenAdded && _hasLimits(from, to)) {
                    revert("Only owner can transfer at this time.");
                }
        }
        
        ExtraValues memory values = _getValues(from, to, tAmount, takeFee);

        _rOwned[from] = _rOwned[from] - values.rAmount;
        _rOwned[to] = _rOwned[to] + values.rTransferAmount;

        if (_isExcluded[from] && !_isExcluded[to]) {
            _tOwned[from] = _tOwned[from] - tAmount;
        } else if (!_isExcluded[from] && _isExcluded[to]) {
            _tOwned[to] = _tOwned[to] + values.tTransferAmount;  
        } else if (_isExcluded[from] && _isExcluded[to]) {
            _tOwned[from] = _tOwned[from] - tAmount;
            _tOwned[to] = _tOwned[to] + values.tTransferAmount;
        }

        if (values.tLiquidity > 0)
            _takeLiquidity(from, values.tLiquidity);
        if (values.rFee > 0 || values.tFee > 0)
            _takeReflect(values.rFee, values.tFee);

        emit Transfer(from, to, values.tTransferAmount);
        return true;
    }

    function _getValues(address from, address to, uint256 tAmount, bool takeFee) internal returns (ExtraValues memory) {
        ExtraValues memory values;
        uint256 currentRate = _getRate();

        values.rAmount = tAmount * currentRate;

        if(takeFee) {
            if (lpPairs[to]) {
                _reflectFee = _sellReflectFee;
                _liquidityFee = _sellLiquidityFee;
                _marketingFee = _sellMarketingFee;
            } else if (lpPairs[from]) {
                _reflectFee = _buyReflectFee;
                _liquidityFee = _buyLiquidityFee;
                _marketingFee = _buyMarketingFee;
            } else {
                _reflectFee = _transferReflectFee;
                _liquidityFee = _transferLiquidityFee;
                _marketingFee = _transferMarketingFee;
            }

            values.tFee = (tAmount * _reflectFee) / masterTaxDivisor;
            values.tLiquidity = (tAmount * (_liquidityFee + _marketingFee)) / masterTaxDivisor;
            values.tTransferAmount = tAmount - (values.tFee + values.tLiquidity);

            values.rFee = values.tFee * currentRate;
        } else {
            values.tFee = 0;
            values.tLiquidity = 0;
            values.tTransferAmount = tAmount;

            values.rFee = 0;
        }

        values.rTransferAmount = values.rAmount - (values.rFee + (values.tLiquidity * currentRate));
        return values;
    }

    function _getRate() internal view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply / tSupply;
    }

    function _getCurrentSupply() internal view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply - _rOwned[_excluded[i]];
            tSupply = tSupply - _tOwned[_excluded[i]];
        }
        if (rSupply < _rTotal / _tTotal) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }
    
    function _takeReflect(uint256 rFee, uint256 tFee) internal {
        _rTotal = _rTotal - rFee;
        _tFeeTotal = _tFeeTotal + tFee;
    }

    function takeETHback() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
    
    function _takeLiquidity(address sender, uint256 tLiquidity) internal {
        uint256 currentRate =  _getRate();
        uint256 rLiquidity = tLiquidity * currentRate;
        _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity;
        if(_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity;
        emit Transfer(sender, address(this), tLiquidity); 
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sniperAddress","type":"address"}],"name":"SniperCaught","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":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","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"},{"inputs":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DevShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MarketShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"},{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"MaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"NewDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"NewMarketWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ValueDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"},{"internalType":"uint256","name":"divisor","type":"uint256"}],"name":"WalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ZERO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyReflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasLiqBeenAdded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_sellReflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferReflectFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"setMarketWallet","type":"address"},{"internalType":"address payable","name":"setDevWallet","type":"address"},{"internalType":"string","name":"_tokenname","type":"string"},{"internalType":"string","name":"_tokensymbol","type":"string"}],"name":"intializeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmountUI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSizeUI","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setExcludedFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setLpPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setNewRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setRatios","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"thresholdPercent","type":"uint256"},{"internalType":"uint256","name":"thresholdDivisor","type":"uint256"},{"internalType":"uint256","name":"amountPercent","type":"uint256"},{"internalType":"uint256","name":"amountDivisor","type":"uint256"}],"name":"setSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reflect","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setTaxesBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reflect","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setTaxesSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reflect","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"}],"name":"setTaxesTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ms","type":"uint256"},{"internalType":"uint256","name":"ds","type":"uint256"},{"internalType":"uint256","name":"vd","type":"uint256"}],"name":"setValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"takeETHback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"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":"transferOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260006004819055600d819055600e8190556006600f8190556010829055601182905560125560138190556014819055600a6015556016819055601781905560188190556019808055601a819055601b55601c819055601d8190556064601e556001601f81905560208290556021819055602a80546001600160a01b031990811661dead17909155602b805482169055602d805460ff60a81b191690556034805461ffff19169055603583905560368390556037805460ff199081169093179055603a80549092169091558154163317905560384614156200010b57602980546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e17905562000194565b46606114156200014157602980546001600160a01b031916739ac64cc6e4415144c455bd8e4837fea55603e5c317905562000194565b4660011480620001515750466004145b806200015d5750466003145b156200018f57602980546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905562000194565b600080fd5b600160066000620001ad6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526006909252812080549092166001908117909255600990620002066000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556200024f6200023a3390565b6029546001600160a01b031660001962000271565b6029546200026b9030906001600160a01b031660001962000271565b6200039d565b6001600160a01b038316620002d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200033c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002d0565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b613eb680620003ad6000396000f3fe6080604052600436106103c75760003560e01c80636cbdd5e3116101f2578063c49b9a801161010d578063dc44b6a0116100a0578063ea08d30b1161006f578063ea08d30b14610ade578063eafb5a3c14610af4578063f6540ec714610b14578063fb78680d14610b2a57600080fd5b8063dc44b6a014610a42578063dd62ed3e14610a58578063e60624b414610a9e578063e7c281d614610abe57600080fd5b8063d038b07e116100dc578063d038b07e146109cc578063d4154e85146109e2578063d9e6646014610a02578063da4b33c714610a2257600080fd5b8063c49b9a801461096b578063c5d241891461098b578063c8607952146109a1578063c9987e98146109b757600080fd5b80638a8c523c11610185578063a9059cbb11610154578063a9059cbb146108f5578063b746454c14610915578063bac3052b14610935578063bbcea6bf1461095557600080fd5b80638a8c523c146108ab5780638da5cb5b1461088d57806395d89b41146108c0578063a457c2d7146108d557600080fd5b806380c581d1116101c157806380c581d11461081e57806388790a681461083e57806388f8202014610854578063893d20e81461088d57600080fd5b80636cbdd5e3146107bd57806370a08231146107d3578063715018a6146107f357806371e078d51461080857600080fd5b806339509351116102e2578063571ac8b0116102755780636612e66f116102445780636612e66f146107475780636639dd93146107675780636bc87c3a146107875780636c6d9fa11461079d57600080fd5b8063571ac8b0146106d1578063575f18e5146106f157806358fa63ca14610711578063640384091461073157600080fd5b80634ef3cce5116102b15780634ef3cce5146106435780634fb2e45d1461065957806350a8e016146106795780635342acb41461069857600080fd5b806339509351146105cc578063452ed4f1146105ec57806345e8c85c1461060c5780634a74bb021461062257600080fd5b806315639c1b1161035a57806323b872dd1161032957806323b872dd146105545780632d83811914610574578063313ce56714610594578063384f6b51146105b657600080fd5b806315639c1b146104fd57806317eade331461051357806318160ddd1461052957806322976e0d1461053e57600080fd5b80630e954d8e116103965780630e954d8e14610482578063111be316146104a657806313114a9d146104c857806313e46192146104dd57600080fd5b806303fd2a45146103d357806306fdde03146104105780630758d92414610432578063095ea7b31461045257600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b50602a546103f3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561041c57600080fd5b50610425610b4a565b6040516104079190613aee565b34801561043e57600080fd5b506027546103f3906001600160a01b031681565b34801561045e57600080fd5b5061047261046d3660046139a5565b610bdc565b6040519015158152602001610407565b34801561048e57600080fd5b5061049860205481565b604051908152602001610407565b3480156104b257600080fd5b506104c66104c1366004613a27565b610bf3565b005b3480156104d457600080fd5b50602654610498565b3480156104e957600080fd5b506104c66104f8366004613970565b610c34565b34801561050957600080fd5b50610498600d5481565b34801561051f57600080fd5b5061049860215481565b34801561053557600080fd5b50602454610498565b34801561054a57600080fd5b50610498600f5481565b34801561056057600080fd5b5061047261056f36600461392f565b610f28565b34801561058057600080fd5b5061049861058f3660046139ec565b610f7b565b3480156105a057600080fd5b5060225460405160ff9091168152602001610407565b3480156105c257600080fd5b50610498601c5481565b3480156105d857600080fd5b506104726105e73660046139a5565b610fff565b3480156105f857600080fd5b506028546103f3906001600160a01b031681565b34801561061857600080fd5b5061049860165481565b34801561062e57600080fd5b50602d5461047290600160a81b900460ff1681565b34801561064f57600080fd5b50610498601d5481565b34801561066557600080fd5b506104c6610674366004613833565b611036565b34801561068557600080fd5b5060345461047290610100900460ff1681565b3480156106a457600080fd5b506104726106b3366004613833565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156106dd57600080fd5b506104726106ec366004613833565b6111d8565b3480156106fd57600080fd5b506104c661070c366004613a27565b6111e6565b34801561071d57600080fd5b50602b546103f3906001600160a01b031681565b34801561073d57600080fd5b50610498602f5481565b34801561075357600080fd5b506104c6610762366004613970565b61126c565b34801561077357600080fd5b506104c6610782366004613a05565b6112c1565b34801561079357600080fd5b50610498600e5481565b3480156107a957600080fd5b506104c66107b8366004613a27565b6112f6565b3480156107c957600080fd5b5061049860185481565b3480156107df57600080fd5b506104986107ee366004613833565b61137c565b3480156107ff57600080fd5b506104c66113db565b34801561081457600080fd5b50610498601f5481565b34801561082a57600080fd5b506104c6610839366004613970565b61145a565b34801561084a57600080fd5b5061049860145481565b34801561086057600080fd5b5061047261086f366004613833565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561089957600080fd5b506000546001600160a01b03166103f3565b3480156108b757600080fd5b506104c661153d565b3480156108cc57600080fd5b506104256115fe565b3480156108e157600080fd5b506104726108f03660046139a5565b61160d565b34801561090157600080fd5b506104726109103660046139a5565b611644565b34801561092157600080fd5b506104c6610930366004613833565b611651565b34801561094157600080fd5b506104c6610950366004613833565b6116f1565b34801561096157600080fd5b5061049860135481565b34801561097757600080fd5b506104c66109863660046139d1565b611791565b34801561099757600080fd5b5061049860125481565b3480156109ad57600080fd5b5061049860155481565b3480156109c357600080fd5b506104c6611813565b3480156109d857600080fd5b5061049860105481565b3480156109ee57600080fd5b506104c66109fd366004613a05565b61187a565b348015610a0e57600080fd5b506029546103f3906001600160a01b031681565b348015610a2e57600080fd5b506104c6610a3d366004613a05565b61196d565b348015610a4e57600080fd5b5061049860115481565b348015610a6457600080fd5b50610498610a733660046138f6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610aaa57600080fd5b506104c6610ab936600461386d565b611a55565b348015610aca57600080fd5b506104c6610ad9366004613a27565b611f9a565b348015610aea57600080fd5b5061049860175481565b348015610b0057600080fd5b506104c6610b0f366004613833565b612020565b348015610b2057600080fd5b5061049860315481565b348015610b3657600080fd5b506104c6610b45366004613a81565b6123aa565b6060600b8054610b5990613d93565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8590613d93565b8015610bd25780601f10610ba757610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610bb557829003601f168201915b5050505050905090565b6000610be9338484612413565b5060015b92915050565b6000546001600160a01b03163314610c265760405162461bcd60e51b8152600401610c1d90613b43565b60405180910390fd5b601f92909255602055602155565b6000546001600160a01b03163314610c5e5760405162461bcd60e51b8152600401610c1d90613b43565b60018115151415610d93576001600160a01b03821660009081526007602052604090205460ff1615610cd25760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e000000006044820152606401610c1d565b6001600160a01b03821660009081526001602052604090205415610d2c576001600160a01b038216600090815260016020526040902054610d1290610f7b565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b80610f24576001600160a01b03821660009081526007602052604090205460ff16610e005760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e000000006044820152606401610c1d565b60005b600854811015610f2257826001600160a01b031660088281548110610e2a57610e2a613e3f565b6000918252602090912001546001600160a01b03161415610f105760088054610e5590600190613d7c565b81548110610e6557610e65613e3f565b600091825260209091200154600880546001600160a01b039092169183908110610e9157610e91613e3f565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610ee957610ee9613e29565b600082815260209020810160001990810180546001600160a01b0319169055019055610f22565b80610f1a81613dce565b915050610e03565b505b5050565b6000610f35848484612537565b506001600160a01b038416600090815260056020908152604080832033808552925290912054610f71918691610f6c908690613d7c565b612413565b5060019392505050565b6000602554821115610fe25760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610c1d565b6000610fec612963565b9050610ff88184613c5e565b9392505050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610f6c908690613c46565b6000546001600160a01b031633146110605760405162461bcd60e51b8152600401610c1d90613b43565b6001600160a01b0381166110865760405162461bcd60e51b8152600401610c1d90613b78565b602a546001600160a01b03828116911614156110b45760405162461bcd60e51b8152600401610c1d90613b78565b600080546110cd916001600160a01b039091169061126c565b6110d881600161126c565b6110e3816001610c34565b600054602c546001600160a01b039081169116141561111857602c80546001600160a01b0319166001600160a01b0383161790555b60005461112d906001600160a01b031661137c565b600080546001600160a01b039081168252600560209081526040808420868416855290915282209290925580549091611166911661137c565b111561118d5760005461118b906001600160a01b0316826111868261137c565b612537565b505b600080546001600160a01b0319166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000610bed82600019610bdc565b6000546001600160a01b031633146112105760405162461bcd60e51b8152600401610c1d90613b43565b60195483111580156112245750601a548211155b80156112325750601b548111155b61123b57600080fd5b611324816112498486613c46565b6112539190613c46565b111561125e57600080fd5b601692909255601755601855565b6000546001600160a01b031633146112965760405162461bcd60e51b8152600401610c1d90613b43565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146112eb5760405162461bcd60e51b8152600401610c1d90613b43565b601c91909155601d55565b6000546001600160a01b031633146113205760405162461bcd60e51b8152600401610c1d90613b43565b60195483111580156113345750601a548211155b80156113425750601b548111155b61134b57600080fd5b611324816113598486613c46565b6113639190613c46565b111561136e57600080fd5b601092909255601155601255565b6001600160a01b03811660009081526007602052604081205460ff16156113b957506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610bed90610f7b565b6000546001600160a01b031633146114055760405162461bcd60e51b8152600401610c1d90613b43565b6000805461141e916001600160a01b039091169061126c565b600080546001600160a01b031916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b031633146114845760405162461bcd60e51b8152600401610c1d90613b43565b806114ab57506001600160a01b03166000908152600360205260409020805460ff19169055565b600454156115125762093a80600454426114c59190613d7c565b116115125760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b216044820152606401610c1d565b6001600160a01b0382166000908152600360205260409020805460ff19166001179055426004555050565b6000546001600160a01b031633146115675760405162461bcd60e51b8152600401610c1d90613b43565b60345460ff16156115ba5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642100000000000000006044820152606401610c1d565b6115c5306001610c34565b6028546115dc906001600160a01b03166001610c34565b6034805460ff19166001179055602d805460ff60a81b1916600160a81b179055565b6060600c8054610b5990613d93565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610f6c908690613d7c565b6000610f71338484612537565b6000546001600160a01b0316331461167b5760405162461bcd60e51b8152600401610c1d90613b43565b602d546001600160a01b03828116911614156116cf5760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461171b5760405162461bcd60e51b8152600401610c1d90613b43565b602c546001600160a01b038281169116141561176f5760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117bb5760405162461bcd60e51b8152600401610c1d90613b43565b602d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061180890831515815260200190565b60405180910390a150565b6000546001600160a01b0316331461183d5760405162461bcd60e51b8152600401610c1d90613b43565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015611877573d6000803e3d6000fd5b50565b6000546001600160a01b031633146118a45760405162461bcd60e51b8152600401610c1d90613b43565b600081836024546118b59190613d5d565b6118bf9190613c5e565b90506103e86024546118d19190613c5e565b8110156119465760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610c1d565b602e819055600a54829061195b908590613d5d565b6119659190613c5e565b602f55505050565b6000546001600160a01b031633146119975760405162461bcd60e51b8152600401610c1d90613b43565b600081836024546119a89190613d5d565b6119b29190613c5e565b90506103e86024546119c49190613c5e565b811015611a2e5760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e31604482015271129037b3103a37ba30b61039bab838363c9760711b6064820152608401610c1d565b6030819055600a548290611a43908590613d5d565b611a4d9190613c5e565b603155505050565b6000546001600160a01b03163314611a7f5760405162461bcd60e51b8152600401610c1d90613b43565b603a5460ff1615611a8f57600080fd5b602d80546001600160a01b038087166001600160a01b031992831617909255602c8054928616929091169190911790558151611ad290600b9060208501906136f8565b508051611ae690600c9060208401906136f8565b5064e8d4a51000600a556022805460ff19166012908117909155602355602354611b1190600a613cb5565b600a54611b1e9190613d5d565b6024819055611b2f90600019613de9565b611b3b90600019613d7c565b602555602954602780546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b158015611b9557600080fd5b505afa158015611ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcd9190613850565b6001600160a01b031663c9c65396602760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611c2957600080fd5b505afa158015611c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c619190613850565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b158015611ca857600080fd5b505af1158015611cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce09190613850565b602880546001600160a01b0319166001600160a01b039283169081179091556000908152600360209081526040808320805460ff19166001179055308352600582528083206027549094168352929052206000199055602454606490611d469082613d5d565b611d509190613c5e565b602e55600a80546103e891611d659190613d5d565b611d6f9190613c5e565b602f55602454606490611d829082613d5d565b611d8c9190613c5e565b603055600a546103e890611da1906014613d5d565b611dab9190613c5e565b60315560245461271090611dc0906005613d5d565b611dca9190613c5e565b6032556024546103e890611ddf906005613d5d565b611de99190613c5e565b603355602954611e04906001600160a01b0316600019610bdc565b50603a805460ff19166001908117909155602554906000611e2d6000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055611e596000546001600160a01b031690565b602b546024546040519081526001600160a01b0392831692909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3602754611ebc9030906001600160a01b0316600019612413565b611ee7611ed16000546001600160a01b031690565b306111866107ee6000546001600160a01b031690565b506027546001600160a01b031663f305d7194730611f048161137c565b600080611f196000546001600160a01b031690565b426040518863ffffffff1660e01b8152600401611f3b96959493929190613ab3565b6060604051808303818588803b158015611f5457600080fd5b505af1158015611f68573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611f8d9190613a53565b5050436039555050505050565b6000546001600160a01b03163314611fc45760405162461bcd60e51b8152600401610c1d90613b43565b6019548311158015611fd85750601a548211155b8015611fe65750601b548111155b611fef57600080fd5b61132481611ffd8486613c46565b6120079190613c46565b111561201257600080fd5b601392909255601455601555565b6000546001600160a01b0316331461204a5760405162461bcd60e51b8152600401610c1d90613b43565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561208a57600080fd5b505afa15801561209e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c29190613850565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561210a57600080fd5b505afa15801561211e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121429190613850565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b15801561218857600080fd5b505afa15801561219c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c09190613850565b90506001600160a01b03811661236657816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561220957600080fd5b505afa15801561221d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122419190613850565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561228957600080fd5b505afa15801561229d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c19190613850565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561230957600080fd5b505af115801561231d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123419190613850565b602880546001600160a01b0319166001600160a01b0392909216919091179055612382565b602880546001600160a01b0319166001600160a01b0383161790555b602780546001600160a01b0319166001600160a01b038416179055610f223084600019612413565b6000546001600160a01b031633146123d45760405162461bcd60e51b8152600401610c1d90613b43565b82846024546123e39190613d5d565b6123ed9190613c5e565b6032556024548190612400908490613d5d565b61240a9190613c5e565b60335550505050565b6001600160a01b0383166124755760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c1d565b6001600160a01b0382166124d65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c1d565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b03841661259d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c1d565b6001600160a01b0383166125ff5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c1d565b600082116126615760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c1d565b61266b8484612986565b1561288b5760345460ff166126c25760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610c1d565b60375460ff1615612774576001600160a01b03841660009081526003602052604090205460ff1615612733576001600160a01b03831660009081526038602052604090205443141561271357600080fd5b6001600160a01b0383166000908152603860205260409020439055612774565b6001600160a01b03841660009081526038602052604090205443141561275857600080fd5b6001600160a01b03841660009081526038602052604090204390555b602e548211156127d75760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c1d565b6029546001600160a01b0384811691161480159061280e57506001600160a01b03831660009081526003602052604090205460ff16155b1561288b57603054826128208561137c565b61282a9190613c46565b111561288b5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b6064820152608401610c1d565b6001600160a01b03841660009081526006602052604090205460019060ff16806128cd57506001600160a01b03841660009081526006602052604090205460ff165b156128d6575060005b6001600160a01b03841660009081526003602052604090205460ff161561294e57602d54600160a01b900460ff1615801561291a5750602d54600160a81b900460ff165b1561294e57600061292a3061137c565b9050603254811061294c57603354811061294357506033545b61294c81612a46565b505b61295a85858584612dfa565b95945050505050565b600080600061297061317b565b909250905061297f8183613c5e565b9250505090565b600080546001600160a01b038481169116148015906129b357506000546001600160a01b03838116911614155b80156129d857506001600160a01b03821660009081526009602052604090205460ff16155b80156129fd57506001600160a01b03831660009081526009602052604090205460ff16155b8015612a175750602a546001600160a01b03838116911614155b8015612a2b57506001600160a01b03821615155b8015610ff857506001600160a01b0383163014159392505050565b602d805460ff60a01b1916600160a01b179055601d54601c54612a699190613c46565b612a7257612dea565b60006002601d54601c54612a869190613c46565b601c54612a939085613d5d565b612a9d9190613c5e565b612aa79190613c5e565b90506000612ab58284613d7c565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110612aef57612aef613e3f565b6001600160a01b03928316602091820292909201810191909152602754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b4357600080fd5b505afa158015612b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7b9190613850565b81600181518110612b8e57612b8e613e3f565b6001600160a01b03928316602091820292909201015260275460405163791ac94760e01b815291169063791ac94790612bd4908590600090869030904290600401613bd5565b600060405180830381600087803b158015612bee57600080fd5b505af1158015612c02573d6000803e3d6000fd5b5050505060006002601d54601c54612c1a9190613c46565b601c54612c279047613d5d565b612c319190613c5e565b612c3b9190613c5e565b90508315612d1a57602754602a5460405163f305d71960e01b81526001600160a01b039283169263f305d719928592612c839230928b92600092839216904290600401613ab3565b6060604051808303818588803b158015612c9c57600080fd5b505af1158015612cb0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612cd59190613a53565b505060408051868152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a15b6000612d268587613d7c565b1115612de557601f546021544791600091612d419084613c5e565b612d4b9190613d5d565b9050600060205460215484612d609190613c5e565b612d6a9190613d5d565b602d546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612da5573d6000803e3d6000fd5b50602c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612de0573d6000803e3d6000fd5b505050505b505050505b50602d805460ff60a01b19169055565b603454600090610100900460ff16612e8e57612e1685856132fe565b603454610100900460ff16158015612e335750612e338585612986565b15612e8e5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e736665722061742074686973206044820152643a34b6b29760d91b6064820152608401610c1d565b6000612e9c86868686613418565b60808101516001600160a01b038816600090815260016020526040902054919250612ec691613d7c565b6001600160a01b0380881660009081526001602052604080822093909355606084015191881681529190912054612efd9190613c46565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff168015612f5157506001600160a01b03851660009081526007602052604090205460ff16155b15612f98576001600160a01b038616600090815260026020526040902054612f7a908590613d7c565b6001600160a01b0387166000908152600260205260409020556130d8565b6001600160a01b03861660009081526007602052604090205460ff16158015612fd957506001600160a01b03851660009081526007602052604090205460ff165b156130215780516001600160a01b0386166000908152600260205260409020546130039190613c46565b6001600160a01b0386166000908152600260205260409020556130d8565b6001600160a01b03861660009081526007602052604090205460ff16801561306157506001600160a01b03851660009081526007602052604090205460ff165b156130d8576001600160a01b03861660009081526002602052604090205461308a908590613d7c565b6001600160a01b03808816600090815260026020526040808220939093558351918816815291909120546130be9190613c46565b6001600160a01b0386166000908152600260205260409020555b6040810151156130f0576130f0868260400151613606565b60008160a001511180613107575060008160200151115b1561311e5761311e8160a0015182602001516136d2565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836000015160405161316791815260200190565b60405180910390a350600195945050505050565b6025546024546000918291825b6008548110156132cd578260016000600884815481106131aa576131aa613e3f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061321557508160026000600884815481106131ee576131ee613e3f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561322b57602554602454945094505050509091565b600160006008838154811061324257613242613e3f565b60009182526020808320909101546001600160a01b031683528201929092526040019020546132719084613d7c565b9250600260006008838154811061328a5761328a613e3f565b60009182526020808320909101546001600160a01b031683528201929092526040019020546132b99083613d7c565b9150806132c581613dce565b915050613188565b506024546025546132de9190613c5e565b8210156132f5576025546024549350935050509091565b90939092509050565b603454610100900460ff16156133625760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b6064820152608401610c1d565b61336c8282612986565b15801561338657506028546001600160a01b038281169116145b15610f24576001600160a01b03821660009081526009602052604090819020805460ff191660019081179091556034805461ff00191661010017905542603655602d805460ff60a81b1916600160a81b17905590517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599161340c91901515815260200190565b60405180910390a15050565b6134516040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61348a6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000613494612963565b90506134a08186613d5d565b608083015283156135b0576001600160a01b03861660009081526003602052604090205460ff16156134e357601354600d55601454600e55601554600f5561352e565b6001600160a01b03871660009081526003602052604090205460ff161561351b57601054600d55601154600e55601254600f5561352e565b601654600d55601754600e55601854600f555b601e54600d5461353e9087613d5d565b6135489190613c5e565b6020830152601e54600f54600e546135609190613c46565b61356a9087613d5d565b6135749190613c5e565b60408301819052602083015161358a9190613c46565b6135949086613d7c565b825260208201516135a6908290613d5d565b60a08301526135c9565b6000602083018190526040830181905285835260a08301525b8082604001516135d99190613d5d565b8260a001516135e89190613c46565b82608001516135f79190613d7c565b60608301525095945050505050565b6000613610612963565b9050600061361e8284613d5d565b3060009081526001602052604090205490915061363c908290613c46565b3060009081526001602090815260408083209390935560079052205460ff161561368c573060009081526002602052604090205461367b908490613c46565b306000908152600260205260409020555b60405183815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b816025546136e09190613d7c565b6025556026546136f1908290613c46565b6026555050565b82805461370490613d93565b90600052602060002090601f016020900481019282613726576000855561376c565b82601f1061373f57805160ff191683800117855561376c565b8280016001018555821561376c579182015b8281111561376c578251825591602001919060010190613751565b5061377892915061377c565b5090565b5b80821115613778576000815560010161377d565b803580151581146137a157600080fd5b919050565b600082601f8301126137b757600080fd5b813567ffffffffffffffff808211156137d2576137d2613e55565b604051601f8301601f19908116603f011681019082821181831017156137fa576137fa613e55565b8160405283815286602085880101111561381357600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561384557600080fd5b8135610ff881613e6b565b60006020828403121561386257600080fd5b8151610ff881613e6b565b6000806000806080858703121561388357600080fd5b843561388e81613e6b565b9350602085013561389e81613e6b565b9250604085013567ffffffffffffffff808211156138bb57600080fd5b6138c7888389016137a6565b935060608701359150808211156138dd57600080fd5b506138ea878288016137a6565b91505092959194509250565b6000806040838503121561390957600080fd5b823561391481613e6b565b9150602083013561392481613e6b565b809150509250929050565b60008060006060848603121561394457600080fd5b833561394f81613e6b565b9250602084013561395f81613e6b565b929592945050506040919091013590565b6000806040838503121561398357600080fd5b823561398e81613e6b565b915061399c60208401613791565b90509250929050565b600080604083850312156139b857600080fd5b82356139c381613e6b565b946020939093013593505050565b6000602082840312156139e357600080fd5b610ff882613791565b6000602082840312156139fe57600080fd5b5035919050565b60008060408385031215613a1857600080fd5b50508035926020909101359150565b600080600060608486031215613a3c57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215613a6857600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215613a9757600080fd5b5050823594602084013594506040840135936060013592509050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600060208083528351808285015260005b81811015613b1b57858101830151858201604001528201613aff565b81811115613b2d576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603d908201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660408201527f6572206f776e657220746f20746865207a65726f20616464726573732e000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613c255784516001600160a01b031683529383019391830191600101613c00565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613c5957613c59613dfd565b500190565b600082613c6d57613c6d613e13565b500490565b600181815b80851115613cad578160001904821115613c9357613c93613dfd565b80851615613ca057918102915b93841c9390800290613c77565b509250929050565b6000610ff88383600082613ccb57506001610bed565b81613cd857506000610bed565b8160018114613cee5760028114613cf857613d14565b6001915050610bed565b60ff841115613d0957613d09613dfd565b50506001821b610bed565b5060208310610133831016604e8410600b8410161715613d37575081810a610bed565b613d418383613c72565b8060001904821115613d5557613d55613dfd565b029392505050565b6000816000190483118215151615613d7757613d77613dfd565b500290565b600082821015613d8e57613d8e613dfd565b500390565b600181811c90821680613da757607f821691505b60208210811415613dc857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613de257613de2613dfd565b5060010190565b600082613df857613df8613e13565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461187757600080fdfea26469706673582212208df693b4e9fb1443b441b69b6f2e518dbdbaa4a58c696273ae65778ef20a388364736f6c63430008070033

Deployed Bytecode

0x6080604052600436106103c75760003560e01c80636cbdd5e3116101f2578063c49b9a801161010d578063dc44b6a0116100a0578063ea08d30b1161006f578063ea08d30b14610ade578063eafb5a3c14610af4578063f6540ec714610b14578063fb78680d14610b2a57600080fd5b8063dc44b6a014610a42578063dd62ed3e14610a58578063e60624b414610a9e578063e7c281d614610abe57600080fd5b8063d038b07e116100dc578063d038b07e146109cc578063d4154e85146109e2578063d9e6646014610a02578063da4b33c714610a2257600080fd5b8063c49b9a801461096b578063c5d241891461098b578063c8607952146109a1578063c9987e98146109b757600080fd5b80638a8c523c11610185578063a9059cbb11610154578063a9059cbb146108f5578063b746454c14610915578063bac3052b14610935578063bbcea6bf1461095557600080fd5b80638a8c523c146108ab5780638da5cb5b1461088d57806395d89b41146108c0578063a457c2d7146108d557600080fd5b806380c581d1116101c157806380c581d11461081e57806388790a681461083e57806388f8202014610854578063893d20e81461088d57600080fd5b80636cbdd5e3146107bd57806370a08231146107d3578063715018a6146107f357806371e078d51461080857600080fd5b806339509351116102e2578063571ac8b0116102755780636612e66f116102445780636612e66f146107475780636639dd93146107675780636bc87c3a146107875780636c6d9fa11461079d57600080fd5b8063571ac8b0146106d1578063575f18e5146106f157806358fa63ca14610711578063640384091461073157600080fd5b80634ef3cce5116102b15780634ef3cce5146106435780634fb2e45d1461065957806350a8e016146106795780635342acb41461069857600080fd5b806339509351146105cc578063452ed4f1146105ec57806345e8c85c1461060c5780634a74bb021461062257600080fd5b806315639c1b1161035a57806323b872dd1161032957806323b872dd146105545780632d83811914610574578063313ce56714610594578063384f6b51146105b657600080fd5b806315639c1b146104fd57806317eade331461051357806318160ddd1461052957806322976e0d1461053e57600080fd5b80630e954d8e116103965780630e954d8e14610482578063111be316146104a657806313114a9d146104c857806313e46192146104dd57600080fd5b806303fd2a45146103d357806306fdde03146104105780630758d92414610432578063095ea7b31461045257600080fd5b366103ce57005b600080fd5b3480156103df57600080fd5b50602a546103f3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561041c57600080fd5b50610425610b4a565b6040516104079190613aee565b34801561043e57600080fd5b506027546103f3906001600160a01b031681565b34801561045e57600080fd5b5061047261046d3660046139a5565b610bdc565b6040519015158152602001610407565b34801561048e57600080fd5b5061049860205481565b604051908152602001610407565b3480156104b257600080fd5b506104c66104c1366004613a27565b610bf3565b005b3480156104d457600080fd5b50602654610498565b3480156104e957600080fd5b506104c66104f8366004613970565b610c34565b34801561050957600080fd5b50610498600d5481565b34801561051f57600080fd5b5061049860215481565b34801561053557600080fd5b50602454610498565b34801561054a57600080fd5b50610498600f5481565b34801561056057600080fd5b5061047261056f36600461392f565b610f28565b34801561058057600080fd5b5061049861058f3660046139ec565b610f7b565b3480156105a057600080fd5b5060225460405160ff9091168152602001610407565b3480156105c257600080fd5b50610498601c5481565b3480156105d857600080fd5b506104726105e73660046139a5565b610fff565b3480156105f857600080fd5b506028546103f3906001600160a01b031681565b34801561061857600080fd5b5061049860165481565b34801561062e57600080fd5b50602d5461047290600160a81b900460ff1681565b34801561064f57600080fd5b50610498601d5481565b34801561066557600080fd5b506104c6610674366004613833565b611036565b34801561068557600080fd5b5060345461047290610100900460ff1681565b3480156106a457600080fd5b506104726106b3366004613833565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156106dd57600080fd5b506104726106ec366004613833565b6111d8565b3480156106fd57600080fd5b506104c661070c366004613a27565b6111e6565b34801561071d57600080fd5b50602b546103f3906001600160a01b031681565b34801561073d57600080fd5b50610498602f5481565b34801561075357600080fd5b506104c6610762366004613970565b61126c565b34801561077357600080fd5b506104c6610782366004613a05565b6112c1565b34801561079357600080fd5b50610498600e5481565b3480156107a957600080fd5b506104c66107b8366004613a27565b6112f6565b3480156107c957600080fd5b5061049860185481565b3480156107df57600080fd5b506104986107ee366004613833565b61137c565b3480156107ff57600080fd5b506104c66113db565b34801561081457600080fd5b50610498601f5481565b34801561082a57600080fd5b506104c6610839366004613970565b61145a565b34801561084a57600080fd5b5061049860145481565b34801561086057600080fd5b5061047261086f366004613833565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561089957600080fd5b506000546001600160a01b03166103f3565b3480156108b757600080fd5b506104c661153d565b3480156108cc57600080fd5b506104256115fe565b3480156108e157600080fd5b506104726108f03660046139a5565b61160d565b34801561090157600080fd5b506104726109103660046139a5565b611644565b34801561092157600080fd5b506104c6610930366004613833565b611651565b34801561094157600080fd5b506104c6610950366004613833565b6116f1565b34801561096157600080fd5b5061049860135481565b34801561097757600080fd5b506104c66109863660046139d1565b611791565b34801561099757600080fd5b5061049860125481565b3480156109ad57600080fd5b5061049860155481565b3480156109c357600080fd5b506104c6611813565b3480156109d857600080fd5b5061049860105481565b3480156109ee57600080fd5b506104c66109fd366004613a05565b61187a565b348015610a0e57600080fd5b506029546103f3906001600160a01b031681565b348015610a2e57600080fd5b506104c6610a3d366004613a05565b61196d565b348015610a4e57600080fd5b5061049860115481565b348015610a6457600080fd5b50610498610a733660046138f6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610aaa57600080fd5b506104c6610ab936600461386d565b611a55565b348015610aca57600080fd5b506104c6610ad9366004613a27565b611f9a565b348015610aea57600080fd5b5061049860175481565b348015610b0057600080fd5b506104c6610b0f366004613833565b612020565b348015610b2057600080fd5b5061049860315481565b348015610b3657600080fd5b506104c6610b45366004613a81565b6123aa565b6060600b8054610b5990613d93565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8590613d93565b8015610bd25780601f10610ba757610100808354040283529160200191610bd2565b820191906000526020600020905b815481529060010190602001808311610bb557829003601f168201915b5050505050905090565b6000610be9338484612413565b5060015b92915050565b6000546001600160a01b03163314610c265760405162461bcd60e51b8152600401610c1d90613b43565b60405180910390fd5b601f92909255602055602155565b6000546001600160a01b03163314610c5e5760405162461bcd60e51b8152600401610c1d90613b43565b60018115151415610d93576001600160a01b03821660009081526007602052604090205460ff1615610cd25760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c7265616479206578636c756465642e000000006044820152606401610c1d565b6001600160a01b03821660009081526001602052604090205415610d2c576001600160a01b038216600090815260016020526040902054610d1290610f7b565b6001600160a01b0383166000908152600260205260409020555b506001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b80610f24576001600160a01b03821660009081526007602052604090205460ff16610e005760405162461bcd60e51b815260206004820152601c60248201527f4163636f756e7420697320616c726561647920696e636c756465642e000000006044820152606401610c1d565b60005b600854811015610f2257826001600160a01b031660088281548110610e2a57610e2a613e3f565b6000918252602090912001546001600160a01b03161415610f105760088054610e5590600190613d7c565b81548110610e6557610e65613e3f565b600091825260209091200154600880546001600160a01b039092169183908110610e9157610e91613e3f565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600282526040808220829055600790925220805460ff191690556008805480610ee957610ee9613e29565b600082815260209020810160001990810180546001600160a01b0319169055019055610f22565b80610f1a81613dce565b915050610e03565b505b5050565b6000610f35848484612537565b506001600160a01b038416600090815260056020908152604080832033808552925290912054610f71918691610f6c908690613d7c565b612413565b5060019392505050565b6000602554821115610fe25760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610c1d565b6000610fec612963565b9050610ff88184613c5e565b9392505050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610f6c908690613c46565b6000546001600160a01b031633146110605760405162461bcd60e51b8152600401610c1d90613b43565b6001600160a01b0381166110865760405162461bcd60e51b8152600401610c1d90613b78565b602a546001600160a01b03828116911614156110b45760405162461bcd60e51b8152600401610c1d90613b78565b600080546110cd916001600160a01b039091169061126c565b6110d881600161126c565b6110e3816001610c34565b600054602c546001600160a01b039081169116141561111857602c80546001600160a01b0319166001600160a01b0383161790555b60005461112d906001600160a01b031661137c565b600080546001600160a01b039081168252600560209081526040808420868416855290915282209290925580549091611166911661137c565b111561118d5760005461118b906001600160a01b0316826111868261137c565b612537565b505b600080546001600160a01b0319166001600160a01b0383169081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000610bed82600019610bdc565b6000546001600160a01b031633146112105760405162461bcd60e51b8152600401610c1d90613b43565b60195483111580156112245750601a548211155b80156112325750601b548111155b61123b57600080fd5b611324816112498486613c46565b6112539190613c46565b111561125e57600080fd5b601692909255601755601855565b6000546001600160a01b031633146112965760405162461bcd60e51b8152600401610c1d90613b43565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146112eb5760405162461bcd60e51b8152600401610c1d90613b43565b601c91909155601d55565b6000546001600160a01b031633146113205760405162461bcd60e51b8152600401610c1d90613b43565b60195483111580156113345750601a548211155b80156113425750601b548111155b61134b57600080fd5b611324816113598486613c46565b6113639190613c46565b111561136e57600080fd5b601092909255601155601255565b6001600160a01b03811660009081526007602052604081205460ff16156113b957506001600160a01b031660009081526002602052604090205490565b6001600160a01b038216600090815260016020526040902054610bed90610f7b565b6000546001600160a01b031633146114055760405162461bcd60e51b8152600401610c1d90613b43565b6000805461141e916001600160a01b039091169061126c565b600080546001600160a01b031916815560405181907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3565b6000546001600160a01b031633146114845760405162461bcd60e51b8152600401610c1d90613b43565b806114ab57506001600160a01b03166000908152600360205260409020805460ff19169055565b600454156115125762093a80600454426114c59190613d7c565b116115125760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f74207365742061206e657720706169722074686973207765656b216044820152606401610c1d565b6001600160a01b0382166000908152600360205260409020805460ff19166001179055426004555050565b6000546001600160a01b031633146115675760405162461bcd60e51b8152600401610c1d90613b43565b60345460ff16156115ba5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642100000000000000006044820152606401610c1d565b6115c5306001610c34565b6028546115dc906001600160a01b03166001610c34565b6034805460ff19166001179055602d805460ff60a81b1916600160a81b179055565b6060600c8054610b5990613d93565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610be9918590610f6c908690613d7c565b6000610f71338484612537565b6000546001600160a01b0316331461167b5760405162461bcd60e51b8152600401610c1d90613b43565b602d546001600160a01b03828116911614156116cf5760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461171b5760405162461bcd60e51b8152600401610c1d90613b43565b602c546001600160a01b038281169116141561176f5760405162461bcd60e51b815260206004820152601360248201527257616c6c657420616c7265616479207365742160681b6044820152606401610c1d565b602c80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146117bb5760405162461bcd60e51b8152600401610c1d90613b43565b602d8054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061180890831515815260200190565b60405180910390a150565b6000546001600160a01b0316331461183d5760405162461bcd60e51b8152600401610c1d90613b43565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015611877573d6000803e3d6000fd5b50565b6000546001600160a01b031633146118a45760405162461bcd60e51b8152600401610c1d90613b43565b600081836024546118b59190613d5d565b6118bf9190613c5e565b90506103e86024546118d19190613c5e565b8110156119465760405162461bcd60e51b815260206004820152603760248201527f4d6178205472616e73616374696f6e20616d74206d7573742062652061626f7660448201527f6520302e3125206f6620746f74616c20737570706c792e0000000000000000006064820152608401610c1d565b602e819055600a54829061195b908590613d5d565b6119659190613c5e565b602f55505050565b6000546001600160a01b031633146119975760405162461bcd60e51b8152600401610c1d90613b43565b600081836024546119a89190613d5d565b6119b29190613c5e565b90506103e86024546119c49190613c5e565b811015611a2e5760405162461bcd60e51b815260206004820152603260248201527f4d61782057616c6c657420616d74206d7573742062652061626f766520302e31604482015271129037b3103a37ba30b61039bab838363c9760711b6064820152608401610c1d565b6030819055600a548290611a43908590613d5d565b611a4d9190613c5e565b603155505050565b6000546001600160a01b03163314611a7f5760405162461bcd60e51b8152600401610c1d90613b43565b603a5460ff1615611a8f57600080fd5b602d80546001600160a01b038087166001600160a01b031992831617909255602c8054928616929091169190911790558151611ad290600b9060208501906136f8565b508051611ae690600c9060208401906136f8565b5064e8d4a51000600a556022805460ff19166012908117909155602355602354611b1190600a613cb5565b600a54611b1e9190613d5d565b6024819055611b2f90600019613de9565b611b3b90600019613d7c565b602555602954602780546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b158015611b9557600080fd5b505afa158015611ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcd9190613850565b6001600160a01b031663c9c65396602760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611c2957600080fd5b505afa158015611c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c619190613850565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381600087803b158015611ca857600080fd5b505af1158015611cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce09190613850565b602880546001600160a01b0319166001600160a01b039283169081179091556000908152600360209081526040808320805460ff19166001179055308352600582528083206027549094168352929052206000199055602454606490611d469082613d5d565b611d509190613c5e565b602e55600a80546103e891611d659190613d5d565b611d6f9190613c5e565b602f55602454606490611d829082613d5d565b611d8c9190613c5e565b603055600a546103e890611da1906014613d5d565b611dab9190613c5e565b60315560245461271090611dc0906005613d5d565b611dca9190613c5e565b6032556024546103e890611ddf906005613d5d565b611de99190613c5e565b603355602954611e04906001600160a01b0316600019610bdc565b50603a805460ff19166001908117909155602554906000611e2d6000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055611e596000546001600160a01b031690565b602b546024546040519081526001600160a01b0392831692909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3602754611ebc9030906001600160a01b0316600019612413565b611ee7611ed16000546001600160a01b031690565b306111866107ee6000546001600160a01b031690565b506027546001600160a01b031663f305d7194730611f048161137c565b600080611f196000546001600160a01b031690565b426040518863ffffffff1660e01b8152600401611f3b96959493929190613ab3565b6060604051808303818588803b158015611f5457600080fd5b505af1158015611f68573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611f8d9190613a53565b5050436039555050505050565b6000546001600160a01b03163314611fc45760405162461bcd60e51b8152600401610c1d90613b43565b6019548311158015611fd85750601a548211155b8015611fe65750601b548111155b611fef57600080fd5b61132481611ffd8486613c46565b6120079190613c46565b111561201257600080fd5b601392909255601455601555565b6000546001600160a01b0316331461204a5760405162461bcd60e51b8152600401610c1d90613b43565b60008190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561208a57600080fd5b505afa15801561209e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c29190613850565b6001600160a01b031663e6a4390530846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561210a57600080fd5b505afa15801561211e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121429190613850565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201529116602482015260440160206040518083038186803b15801561218857600080fd5b505afa15801561219c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c09190613850565b90506001600160a01b03811661236657816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561220957600080fd5b505afa15801561221d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122419190613850565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561228957600080fd5b505afa15801561229d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c19190613850565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561230957600080fd5b505af115801561231d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123419190613850565b602880546001600160a01b0319166001600160a01b0392909216919091179055612382565b602880546001600160a01b0319166001600160a01b0383161790555b602780546001600160a01b0319166001600160a01b038416179055610f223084600019612413565b6000546001600160a01b031633146123d45760405162461bcd60e51b8152600401610c1d90613b43565b82846024546123e39190613d5d565b6123ed9190613c5e565b6032556024548190612400908490613d5d565b61240a9190613c5e565b60335550505050565b6001600160a01b0383166124755760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c1d565b6001600160a01b0382166124d65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c1d565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006001600160a01b03841661259d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c1d565b6001600160a01b0383166125ff5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c1d565b600082116126615760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610c1d565b61266b8484612986565b1561288b5760345460ff166126c25760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610c1d565b60375460ff1615612774576001600160a01b03841660009081526003602052604090205460ff1615612733576001600160a01b03831660009081526038602052604090205443141561271357600080fd5b6001600160a01b0383166000908152603860205260409020439055612774565b6001600160a01b03841660009081526038602052604090205443141561275857600080fd5b6001600160a01b03841660009081526038602052604090204390555b602e548211156127d75760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b6064820152608401610c1d565b6029546001600160a01b0384811691161480159061280e57506001600160a01b03831660009081526003602052604090205460ff16155b1561288b57603054826128208561137c565b61282a9190613c46565b111561288b5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b6064820152608401610c1d565b6001600160a01b03841660009081526006602052604090205460019060ff16806128cd57506001600160a01b03841660009081526006602052604090205460ff165b156128d6575060005b6001600160a01b03841660009081526003602052604090205460ff161561294e57602d54600160a01b900460ff1615801561291a5750602d54600160a81b900460ff165b1561294e57600061292a3061137c565b9050603254811061294c57603354811061294357506033545b61294c81612a46565b505b61295a85858584612dfa565b95945050505050565b600080600061297061317b565b909250905061297f8183613c5e565b9250505090565b600080546001600160a01b038481169116148015906129b357506000546001600160a01b03838116911614155b80156129d857506001600160a01b03821660009081526009602052604090205460ff16155b80156129fd57506001600160a01b03831660009081526009602052604090205460ff16155b8015612a175750602a546001600160a01b03838116911614155b8015612a2b57506001600160a01b03821615155b8015610ff857506001600160a01b0383163014159392505050565b602d805460ff60a01b1916600160a01b179055601d54601c54612a699190613c46565b612a7257612dea565b60006002601d54601c54612a869190613c46565b601c54612a939085613d5d565b612a9d9190613c5e565b612aa79190613c5e565b90506000612ab58284613d7c565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110612aef57612aef613e3f565b6001600160a01b03928316602091820292909201810191909152602754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b4357600080fd5b505afa158015612b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7b9190613850565b81600181518110612b8e57612b8e613e3f565b6001600160a01b03928316602091820292909201015260275460405163791ac94760e01b815291169063791ac94790612bd4908590600090869030904290600401613bd5565b600060405180830381600087803b158015612bee57600080fd5b505af1158015612c02573d6000803e3d6000fd5b5050505060006002601d54601c54612c1a9190613c46565b601c54612c279047613d5d565b612c319190613c5e565b612c3b9190613c5e565b90508315612d1a57602754602a5460405163f305d71960e01b81526001600160a01b039283169263f305d719928592612c839230928b92600092839216904290600401613ab3565b6060604051808303818588803b158015612c9c57600080fd5b505af1158015612cb0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612cd59190613a53565b505060408051868152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a15b6000612d268587613d7c565b1115612de557601f546021544791600091612d419084613c5e565b612d4b9190613d5d565b9050600060205460215484612d609190613c5e565b612d6a9190613d5d565b602d546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015612da5573d6000803e3d6000fd5b50602c546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612de0573d6000803e3d6000fd5b505050505b505050505b50602d805460ff60a01b19169055565b603454600090610100900460ff16612e8e57612e1685856132fe565b603454610100900460ff16158015612e335750612e338585612986565b15612e8e5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e736665722061742074686973206044820152643a34b6b29760d91b6064820152608401610c1d565b6000612e9c86868686613418565b60808101516001600160a01b038816600090815260016020526040902054919250612ec691613d7c565b6001600160a01b0380881660009081526001602052604080822093909355606084015191881681529190912054612efd9190613c46565b6001600160a01b0380871660009081526001602090815260408083209490945591891681526007909152205460ff168015612f5157506001600160a01b03851660009081526007602052604090205460ff16155b15612f98576001600160a01b038616600090815260026020526040902054612f7a908590613d7c565b6001600160a01b0387166000908152600260205260409020556130d8565b6001600160a01b03861660009081526007602052604090205460ff16158015612fd957506001600160a01b03851660009081526007602052604090205460ff165b156130215780516001600160a01b0386166000908152600260205260409020546130039190613c46565b6001600160a01b0386166000908152600260205260409020556130d8565b6001600160a01b03861660009081526007602052604090205460ff16801561306157506001600160a01b03851660009081526007602052604090205460ff165b156130d8576001600160a01b03861660009081526002602052604090205461308a908590613d7c565b6001600160a01b03808816600090815260026020526040808220939093558351918816815291909120546130be9190613c46565b6001600160a01b0386166000908152600260205260409020555b6040810151156130f0576130f0868260400151613606565b60008160a001511180613107575060008160200151115b1561311e5761311e8160a0015182602001516136d2565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836000015160405161316791815260200190565b60405180910390a350600195945050505050565b6025546024546000918291825b6008548110156132cd578260016000600884815481106131aa576131aa613e3f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061321557508160026000600884815481106131ee576131ee613e3f565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561322b57602554602454945094505050509091565b600160006008838154811061324257613242613e3f565b60009182526020808320909101546001600160a01b031683528201929092526040019020546132719084613d7c565b9250600260006008838154811061328a5761328a613e3f565b60009182526020808320909101546001600160a01b031683528201929092526040019020546132b99083613d7c565b9150806132c581613dce565b915050613188565b506024546025546132de9190613c5e565b8210156132f5576025546024549350935050509091565b90939092509050565b603454610100900460ff16156133625760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b6064820152608401610c1d565b61336c8282612986565b15801561338657506028546001600160a01b038281169116145b15610f24576001600160a01b03821660009081526009602052604090819020805460ff191660019081179091556034805461ff00191661010017905542603655602d805460ff60a81b1916600160a81b17905590517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599161340c91901515815260200190565b60405180910390a15050565b6134516040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61348a6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000613494612963565b90506134a08186613d5d565b608083015283156135b0576001600160a01b03861660009081526003602052604090205460ff16156134e357601354600d55601454600e55601554600f5561352e565b6001600160a01b03871660009081526003602052604090205460ff161561351b57601054600d55601154600e55601254600f5561352e565b601654600d55601754600e55601854600f555b601e54600d5461353e9087613d5d565b6135489190613c5e565b6020830152601e54600f54600e546135609190613c46565b61356a9087613d5d565b6135749190613c5e565b60408301819052602083015161358a9190613c46565b6135949086613d7c565b825260208201516135a6908290613d5d565b60a08301526135c9565b6000602083018190526040830181905285835260a08301525b8082604001516135d99190613d5d565b8260a001516135e89190613c46565b82608001516135f79190613d7c565b60608301525095945050505050565b6000613610612963565b9050600061361e8284613d5d565b3060009081526001602052604090205490915061363c908290613c46565b3060009081526001602090815260408083209390935560079052205460ff161561368c573060009081526002602052604090205461367b908490613c46565b306000908152600260205260409020555b60405183815230906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b816025546136e09190613d7c565b6025556026546136f1908290613c46565b6026555050565b82805461370490613d93565b90600052602060002090601f016020900481019282613726576000855561376c565b82601f1061373f57805160ff191683800117855561376c565b8280016001018555821561376c579182015b8281111561376c578251825591602001919060010190613751565b5061377892915061377c565b5090565b5b80821115613778576000815560010161377d565b803580151581146137a157600080fd5b919050565b600082601f8301126137b757600080fd5b813567ffffffffffffffff808211156137d2576137d2613e55565b604051601f8301601f19908116603f011681019082821181831017156137fa576137fa613e55565b8160405283815286602085880101111561381357600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561384557600080fd5b8135610ff881613e6b565b60006020828403121561386257600080fd5b8151610ff881613e6b565b6000806000806080858703121561388357600080fd5b843561388e81613e6b565b9350602085013561389e81613e6b565b9250604085013567ffffffffffffffff808211156138bb57600080fd5b6138c7888389016137a6565b935060608701359150808211156138dd57600080fd5b506138ea878288016137a6565b91505092959194509250565b6000806040838503121561390957600080fd5b823561391481613e6b565b9150602083013561392481613e6b565b809150509250929050565b60008060006060848603121561394457600080fd5b833561394f81613e6b565b9250602084013561395f81613e6b565b929592945050506040919091013590565b6000806040838503121561398357600080fd5b823561398e81613e6b565b915061399c60208401613791565b90509250929050565b600080604083850312156139b857600080fd5b82356139c381613e6b565b946020939093013593505050565b6000602082840312156139e357600080fd5b610ff882613791565b6000602082840312156139fe57600080fd5b5035919050565b60008060408385031215613a1857600080fd5b50508035926020909101359150565b600080600060608486031215613a3c57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215613a6857600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215613a9757600080fd5b5050823594602084013594506040840135936060013592509050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b600060208083528351808285015260005b81811015613b1b57858101830151858201604001528201613aff565b81811115613b2d576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252603d908201527f43616c6c2072656e6f756e63654f776e65727368697020746f207472616e736660408201527f6572206f776e657220746f20746865207a65726f20616464726573732e000000606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613c255784516001600160a01b031683529383019391830191600101613c00565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115613c5957613c59613dfd565b500190565b600082613c6d57613c6d613e13565b500490565b600181815b80851115613cad578160001904821115613c9357613c93613dfd565b80851615613ca057918102915b93841c9390800290613c77565b509250929050565b6000610ff88383600082613ccb57506001610bed565b81613cd857506000610bed565b8160018114613cee5760028114613cf857613d14565b6001915050610bed565b60ff841115613d0957613d09613dfd565b50506001821b610bed565b5060208310610133831016604e8410600b8410161715613d37575081810a610bed565b613d418383613c72565b8060001904821115613d5557613d55613dfd565b029392505050565b6000816000190483118215151615613d7757613d77613dfd565b500290565b600082821015613d8e57613d8e613dfd565b500390565b600181811c90821680613da757607f821691505b60208210811415613dc857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613de257613de2613dfd565b5060010190565b600082613df857613df8613e13565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461187757600080fdfea26469706673582212208df693b4e9fb1443b441b69b6f2e518dbdbaa4a58c696273ae65778ef20a388364736f6c63430008070033

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.