ETH Price: $3,494.22 (+1.19%)

Token

Secret of The Sphinx (SPHINX)
 

Overview

Max Total Supply

60,000,000 SPHINX

Holders

237

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
507,455.923143457301161278 SPHINX

Value
$0.00
0xb412B96Dbe138DA98be8e475f632E1A8F0037748
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:
Sphinx

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 36 : Sphinx.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.7.6;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
import '@uniswap/v3-core/contracts/libraries/TickMath.sol';
import '@uniswap/v3-periphery/contracts/interfaces/INonfungiblePositionManager.sol';
import '@uniswap/v3-periphery/contracts/libraries/TransferHelper.sol';
import '@uniswap/swap-router-contracts/contracts/interfaces/ISwapRouter02.sol';
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import "./Util.sol";
import "./UniswapV2.sol";

contract Sphinx is Context, IERC20, IERC721Receiver, Ownable{
    using SafeMath for uint256;
    using Address for address;
    mapping(uint256 => uint128) public deposits;
    address payable public devAddress = payable(0xBc09BB32e3bA81e3969f680B86a37f3f6abaAF80); 
    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;
    address[] private _excluded;
    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 60 * 10 ** 6 * 10 ** 18;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;
    string private constant _name = "Secret of The Sphinx";
    string private constant _symbol = "SPHINX";
    uint8 private constant _decimals = 18;
    uint256 private constant BUY = 1;
    uint256 private constant TRANSFER = 3;
    uint256 private buyOrSellSwitch;
    uint256 public startTime;
    uint256 public unlockTime;
    bool public autoFeeEnabled = false;
    uint256 private _taxFee;
    uint256 private _previousTaxFee = _taxFee;
    uint256 private _liquidityFee;
    uint256 private _previousLiquidityFee = _liquidityFee;
    uint256 public _buyTaxFee = 20;
    uint256 public _buyLiquidityFee = 80;
    uint256 public _buyDevFee = 50;
    bool public tradingActive = false;
    bool public antiBotsActive = false;
    mapping(address => uint256) public _blockNumberByAddress;
    mapping(address => bool) public isContractExempt;
    uint public blockCooldownAmount = 1;
    uint256 private _liquidityTokensToSwap;
    uint256 private _devTokensToSwap;
    mapping (address => bool) public automatedMarketMakerPairs;
    ISwapRouter02 public uniswapV3Router;
    IUniswapV3Pool public v3Pool;
    address public constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;  //Ethereum mainnet
    uint24 public constant poolFee = 500;
    INonfungiblePositionManager public nonfungiblePositionManager;
    uint256 public positionX1;
    uint256 public positionX2;
    uint256 public positionX3;
    uint256 public positionX4;
    uint256 public currentPrice;
    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    bool inSwap;
    bool public swapEnabled = false;

    modifier lockTheSwap() {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor() {
        address newOwner = msg.sender;    
        _rOwned[newOwner] = _rTotal;
        uniswapV3Router = ISwapRouter02(0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45);
        nonfungiblePositionManager = INonfungiblePositionManager(0xC36442b4a4522E871399CD717aBDD847Ab11FE88);
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), USDC);
        _setAutomatedMarketMakerPair(uniswapV2Pair, true);
        _isExcludedFromFee[newOwner] = true;
        _isExcludedFromFee[address(this)] = true;
        isContractExempt[address(this)] = true;
        isContractExempt[address(uniswapV2Router)] = true;
        isContractExempt[address(uniswapV3Router)] = true;
        isContractExempt[address(uniswapV2Pair)] = true;
        isContractExempt[address(nonfungiblePositionManager)] = true;
        emit Transfer(address(0), newOwner, _tTotal);
    }

    function _createDeposit(uint256 tokenId) internal {
        (, , , , , , , uint128 liquidity, , , , ) =
            nonfungiblePositionManager.positions(tokenId);
        deposits[tokenId] = liquidity;
    }

    function init(address _v3Address, uint256 tokenVal, uint256 usdcVal) external onlyOwner {
        TransferHelper.safeTransferFrom(address(this), msg.sender, address(this), tokenVal);
        TransferHelper.safeTransferFrom(USDC, msg.sender, address(this), usdcVal);
        startTime = block.timestamp;
        unlockTime = startTime + (180 days);
        tradingActive = true;
        swapEnabled = true;
        antiBotsActive = true;
        autoFeeEnabled = true;
        isContractExempt[_v3Address] = true;
        _setAutomatedMarketMakerPair(_v3Address, true);
        v3Pool = IUniswapV3Pool(_v3Address);
        (uint160 sqrtPriceX96, int24 tick, , , , , ) = v3Pool.slot0();
        int24 lessTick = tick < 0 ? (tick / 10) * 10 - 10 : (tick / 10) * 10 + 10;
        int24 overTick = tick < 0 ? (tick / 10) * 10 + 10 : (tick / 10) * 10 - 10;
        currentPrice = uint256(sqrtPriceX96).mul(uint256(sqrtPriceX96)).mul(1e18) >> (96 * 2);
        (int24 tickX1, int24 tickX2, int24 tickX3, int24 tickX4) = calculateTicks(currentPrice, tick);
        positionX1 = mintNewPosition(0, usdcVal, tickX1, lessTick);
        positionX2 = mintNewPosition(tokenVal.mul(20).div(100), 0, overTick, tickX2);
        positionX3 = mintNewPosition(tokenVal.mul(30).div(100), 0, tickX2, tickX3);
        positionX4 = mintNewPosition(tokenVal.mul(50).div(100), 0, tickX3, tickX4);
    }

    function reorg() public onlyOwner {
        decreaseLiquidity(positionX1);
        collectFees(positionX1);
        decreaseLiquidity(positionX2);
        collectFees(positionX2);
        decreaseLiquidity(positionX3);
        collectFees(positionX3);
        decreaseLiquidity(positionX4);
        collectFees(positionX4);
        uint256 tokenVal = balanceOf(address(this));
        uint256 usdcVal = IERC20(USDC).balanceOf(address(this)); 

        uint256 usdcForDev = usdcVal.div(100);
        TransferHelper.safeTransfer(USDC, devAddress, usdcForDev);

        usdcVal = usdcVal - usdcForDev;

        (uint160 sqrtPriceX96, int24 tick, , , , , ) = v3Pool.slot0();
        int24 lessTick = tick < 0 ? (tick / 10) * 10 - 10 : (tick / 10) * 10 + 10;
        int24 overTick = tick < 0 ? (tick / 10) * 10 + 10 : (tick / 10) * 10 - 10;
        currentPrice = uint256(sqrtPriceX96).mul(uint256(sqrtPriceX96)).mul(1e18) >> (96 * 2);
        (int24 tickX1, int24 tickX2, int24 tickX3, int24 tickX4) = calculateTicks(currentPrice, tick);
        positionX1 = mintNewPosition(0, usdcVal, tickX1, lessTick);
        positionX2 = mintNewPosition(tokenVal.mul(20).div(100), 0, overTick, tickX2);
        positionX3 = mintNewPosition(tokenVal.mul(30).div(100), 0, tickX2, tickX3);
        positionX4 = mintNewPosition(tokenVal.mul(50).div(100), 0, tickX3, tickX4);
    }

    function unlock() external onlyOwner {
        require(unlockTime < block.timestamp, "Cannot unlock until 6 month");
        decreaseLiquidity(positionX1);
        collectFees(positionX1);
        decreaseLiquidity(positionX2);
        collectFees(positionX2);
        decreaseLiquidity(positionX3);
        collectFees(positionX3);
        decreaseLiquidity(positionX4);
        collectFees(positionX4);
        uint256 usdcBalance = IERC20(USDC).balanceOf(address(this)); 
        uint256 tokenBalance = balanceOf(address(this));
        TransferHelper.safeTransfer(USDC, devAddress, usdcBalance);
        TransferHelper.safeTransfer(address(this), devAddress, tokenBalance);
    }

    function calculateTicks(uint256 _currentPrice, int24 _currentTick)internal pure returns(int24 tickX1, int24 tickX2, int24 tickX3, int24 tickX4){
        uint160 sqrtX1; 
        uint160 sqrtX2;
        uint160 sqrtX3;
        uint160 sqrtX4;
        if(_currentTick < 0){
            sqrtX1 = uint160(Util.sqrt(((_currentPrice - _currentPrice.div(10)) << (96 * 2)).div(1e18)));
            sqrtX2 = uint160(Util.sqrt(((_currentPrice.mul(2)) << (96 * 2)).div(1e18)));
            sqrtX3 = uint160(Util.sqrt(((_currentPrice.mul(3)) << (96 * 2)).div(1e18)));
            sqrtX4 = uint160(Util.sqrt(((_currentPrice.mul(4)) << (96 * 2)).div(1e18)));
        }else{
            sqrtX1 = uint160(Util.sqrt(((_currentPrice + _currentPrice.div(10)) << (96 * 2)).div(1e18)));
            sqrtX2 = uint160(Util.sqrt(((_currentPrice.div(2)) << (96 * 2)).div(1e18)));
            sqrtX3 = uint160(Util.sqrt(((_currentPrice.div(3)) << (96 * 2)).div(1e18)));
            sqrtX4 = uint160(Util.sqrt(((_currentPrice.div(4)) << (96 * 2)).div(1e18)));
        }
       
        tickX1 = (TickMath.getTickAtSqrtRatio(sqrtX1) / 10) * 10;
        tickX2 = (TickMath.getTickAtSqrtRatio(sqrtX2) / 10) * 10;
        tickX3 = (TickMath.getTickAtSqrtRatio(sqrtX3) / 10) * 10;
        tickX4 = (TickMath.getTickAtSqrtRatio(sqrtX4) / 10) * 10;
    }

    function name() external pure returns (string memory) {
        return _name;
    }

    function symbol() external pure returns (string memory) {
        return _symbol;
    }

    function decimals() external pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() external pure override returns (uint256) {
        return _tTotal;
    }

    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)
        external
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

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

    function decreaseAllowance(address spender, uint256 subtractedValue)
        external
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

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

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

    function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "Cannot remove pair");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        if(value){excludeFromReward(pair);}
        if(!value){includeInReward(pair);}
    }

    // How many reward received, deductTransferFee = true
    function reflectionFromToken(uint256 tAmount, bool deductTransferFee)
        external
        view
        returns (uint256)
    {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount, , , , , ) = _getValues(tAmount);
            return rAmount;
        } else {
            (, uint256 rTransferAmount, , , , ) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount)
        public
        view
        returns (uint256)
    {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function excludeFromReward(address account) public onlyOwner {
        require(!_isExcluded[account], "Account is already excluded");
        require(_excluded.length + 1 <= 50, "Cannot exclude more than 50 accounts.");
        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) public onlyOwner {
        require(_isExcluded[account], "Account is not excluded");
        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 _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        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 (!tradingActive){
            require(!automatedMarketMakerPairs[from] || !automatedMarketMakerPairs[to] , "Cannot add liquidity");
        }

        if(antiBotsActive)
        {
            if(!isContractExempt[from] && !isContractExempt[to])
            {
                address human = Util.ensureOneHuman(from, to);
                ensureMaxTxFrequency(human);
                _blockNumberByAddress[human] = block.number;
            }
        }

        removeAllFee();

        if(autoFeeEnabled){
            if( block.timestamp < startTime + (7 days)){
                _buyTaxFee = 20;
                _buyLiquidityFee = 50;
                _buyDevFee = 30;
                autoFeeEnabled = false;
            }
        }

        buyOrSellSwitch = TRANSFER;

        if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {
            // Buy
            if (automatedMarketMakerPairs[from]) {
                _taxFee = _buyTaxFee;
                _liquidityFee = _buyLiquidityFee + _buyDevFee;
                if(_liquidityFee > 0){
                    buyOrSellSwitch = BUY;
                }
            }
        }

        _tokenTransfer(from, to, amount);

        restoreAllFee();
    }

    function swapExactInputSingle(uint256 _amount) private {
        approve(address(uniswapV3Router), _amount);
        IV3SwapRouter.ExactInputSingleParams memory params = IV3SwapRouter.ExactInputSingleParams({
                tokenIn: address(this),
                tokenOut: USDC,
                fee: poolFee,
                recipient: address(this),
                amountIn: _amount / 2,
                amountOutMinimum: 0,
                sqrtPriceLimitX96: 0
            });
        uniswapV3Router.exactInputSingle(params);
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) private {

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferBothExcluded(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getTValues(tAmount);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
            tAmount,
            tFee,
            tLiquidity,
            _getRate()
        );
        return (
            rAmount,
            rTransferAmount,
            rFee,
            tTransferAmount,
            tFee,
            tLiquidity
        );
    }

    function _getTValues(uint256 tAmount)
        private
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tLiquidity,
        uint256 currentRate
    )
        private
        pure
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);
            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        if(buyOrSellSwitch == BUY){
            _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee;
            _devTokensToSwap += tLiquidity * _buyDevFee / _liquidityFee;
        } 
        
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity);
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount.mul(_taxFee).div(10**3);
    }

    function calculateLiquidityFee(uint256 _amount)
        private
        view
        returns (uint256)
    {
        return _amount.mul(_liquidityFee).div(10**3);
    }

    function removeAllFee() private {
        if (_taxFee == 0 && _liquidityFee == 0) return;
        _previousTaxFee = _taxFee;
        _previousLiquidityFee = _liquidityFee;
        _taxFee = 0;
        _liquidityFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _liquidityFee = _previousLiquidityFee;
    }

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

    function excludeFromFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setFee(uint256 buyTaxFee, uint256 buyLiquidityFee, uint256 buyDevFee, address _devAddress) external onlyOwner {
        _buyTaxFee = buyTaxFee;
        _buyLiquidityFee = buyLiquidityFee;
        _buyDevFee = buyDevFee;
        devAddress = payable(_devAddress);
        _isExcludedFromFee[devAddress] = true;
    }

    function mintNewPosition(uint256 tokenAmount, uint256 usdcAmount, int24 xTickLower, int24 xTickUpper)
        private
        returns (
            uint256 tokenId
        )
    {
        address token0;
        address token1;
        uint token0Amount;
        uint token1Amount;
        int24 minTick = xTickLower < xTickUpper ? xTickLower : xTickUpper;
        int24 maxTick = xTickLower < xTickUpper ? xTickUpper : xTickLower;
        maxTick = TickMath.MAX_TICK < maxTick ? TickMath.MAX_TICK : maxTick;
        minTick = minTick < TickMath.MIN_TICK? TickMath.MIN_TICK : minTick;
        TransferHelper.safeApprove(address(this), address(nonfungiblePositionManager), tokenAmount);
        TransferHelper.safeApprove(USDC, address(nonfungiblePositionManager), usdcAmount);
        if (address(this) < USDC) {
            token0 = address(this);
            token1 = USDC;
            token0Amount = tokenAmount;
            token1Amount = usdcAmount;
        } else {
            token0 = USDC;
            token1 = address(this);
            token0Amount = usdcAmount;
            token1Amount = tokenAmount;
        }
        INonfungiblePositionManager.MintParams memory params =
            INonfungiblePositionManager.MintParams({
                token0: token0,
                token1: token1,
                fee: poolFee,
                tickLower: minTick,
                tickUpper: maxTick,
                amount0Desired: token0Amount,
                amount1Desired: token1Amount,
                amount0Min: 0,
                amount1Min: 0,
                recipient: address(this),
                deadline: block.timestamp
            });
        (tokenId, , , ) = nonfungiblePositionManager.mint(params);
        _createDeposit(tokenId);
    }

    function decreaseLiquidity(uint256 tokenId) private {
        uint128 liquidity = deposits[tokenId];
        INonfungiblePositionManager.DecreaseLiquidityParams memory params =
            INonfungiblePositionManager.DecreaseLiquidityParams({
                tokenId: tokenId,
                liquidity: liquidity,
                amount0Min: 0,
                amount1Min: 0,
                deadline: block.timestamp
            });
        nonfungiblePositionManager.decreaseLiquidity(params);
    }

    function collectFees(uint256 tokenId) private {
        INonfungiblePositionManager.CollectParams memory params =
            INonfungiblePositionManager.CollectParams({
                tokenId: tokenId,
                recipient: address(this),
                amount0Max: type(uint128).max,
                amount1Max: type(uint128).max
            });

        nonfungiblePositionManager.collect(params);
    }

    function extendUnLock(uint256 _unlockDates) external onlyOwner {
        unlockTime = block.timestamp + _unlockDates * (1 days);
    }

    function onERC721Received(
        address,
        address,
        uint256 tokenId,
        bytes calldata
    ) external override returns (bytes4) {
        _createDeposit(tokenId);
        return this.onERC721Received.selector;
    }

    function ensureMaxTxFrequency(address addr) internal virtual {
        bool isAllowed = _blockNumberByAddress[addr] == 0 ||
            ((_blockNumberByAddress[addr] + blockCooldownAmount) < (block.number + 1));
        require(isAllowed, "Max tx frequency exceeded!");
    }

    function setContractExempt(address account, bool value) external onlyOwner {
        isContractExempt[account] = value;
    }

    receive() external payable {}

    function removeStuck(address _token, address _to) external onlyOwner {
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        TransferHelper.safeTransfer(_token, _to, _contractBalance);
    }
}

File 2 of 36 : IUniswapV3Pool.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

import './pool/IUniswapV3PoolImmutables.sol';
import './pool/IUniswapV3PoolState.sol';
import './pool/IUniswapV3PoolDerivedState.sol';
import './pool/IUniswapV3PoolActions.sol';
import './pool/IUniswapV3PoolOwnerActions.sol';
import './pool/IUniswapV3PoolEvents.sol';

/// @title The interface for a Uniswap V3 Pool
/// @notice A Uniswap pool facilitates swapping and automated market making between any two assets that strictly conform
/// to the ERC20 specification
/// @dev The pool interface is broken up into many smaller pieces
interface IUniswapV3Pool is
    IUniswapV3PoolImmutables,
    IUniswapV3PoolState,
    IUniswapV3PoolDerivedState,
    IUniswapV3PoolActions,
    IUniswapV3PoolOwnerActions,
    IUniswapV3PoolEvents
{

}

File 3 of 36 : TickMath.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Math library for computing sqrt prices from ticks and vice versa
/// @notice Computes sqrt price for ticks of size 1.0001, i.e. sqrt(1.0001^tick) as fixed point Q64.96 numbers. Supports
/// prices between 2**-128 and 2**128
library TickMath {
    /// @dev The minimum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**-128
    int24 internal constant MIN_TICK = -887272;
    /// @dev The maximum tick that may be passed to #getSqrtRatioAtTick computed from log base 1.0001 of 2**128
    int24 internal constant MAX_TICK = -MIN_TICK;

    /// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
    uint160 internal constant MIN_SQRT_RATIO = 4295128739;
    /// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
    uint160 internal constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;

    /// @notice Calculates sqrt(1.0001^tick) * 2^96
    /// @dev Throws if |tick| > max tick
    /// @param tick The input tick for the above formula
    /// @return sqrtPriceX96 A Fixed point Q64.96 number representing the sqrt of the ratio of the two assets (token1/token0)
    /// at the given tick
    function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96) {
        uint256 absTick = tick < 0 ? uint256(-int256(tick)) : uint256(int256(tick));
        require(absTick <= uint256(uint24(MAX_TICK)), 'T');

        uint256 ratio = absTick & 0x1 != 0 ? 0xfffcb933bd6fad37aa2d162d1a594001 : 0x100000000000000000000000000000000;
        if (absTick & 0x2 != 0) ratio = (ratio * 0xfff97272373d413259a46990580e213a) >> 128;
        if (absTick & 0x4 != 0) ratio = (ratio * 0xfff2e50f5f656932ef12357cf3c7fdcc) >> 128;
        if (absTick & 0x8 != 0) ratio = (ratio * 0xffe5caca7e10e4e61c3624eaa0941cd0) >> 128;
        if (absTick & 0x10 != 0) ratio = (ratio * 0xffcb9843d60f6159c9db58835c926644) >> 128;
        if (absTick & 0x20 != 0) ratio = (ratio * 0xff973b41fa98c081472e6896dfb254c0) >> 128;
        if (absTick & 0x40 != 0) ratio = (ratio * 0xff2ea16466c96a3843ec78b326b52861) >> 128;
        if (absTick & 0x80 != 0) ratio = (ratio * 0xfe5dee046a99a2a811c461f1969c3053) >> 128;
        if (absTick & 0x100 != 0) ratio = (ratio * 0xfcbe86c7900a88aedcffc83b479aa3a4) >> 128;
        if (absTick & 0x200 != 0) ratio = (ratio * 0xf987a7253ac413176f2b074cf7815e54) >> 128;
        if (absTick & 0x400 != 0) ratio = (ratio * 0xf3392b0822b70005940c7a398e4b70f3) >> 128;
        if (absTick & 0x800 != 0) ratio = (ratio * 0xe7159475a2c29b7443b29c7fa6e889d9) >> 128;
        if (absTick & 0x1000 != 0) ratio = (ratio * 0xd097f3bdfd2022b8845ad8f792aa5825) >> 128;
        if (absTick & 0x2000 != 0) ratio = (ratio * 0xa9f746462d870fdf8a65dc1f90e061e5) >> 128;
        if (absTick & 0x4000 != 0) ratio = (ratio * 0x70d869a156d2a1b890bb3df62baf32f7) >> 128;
        if (absTick & 0x8000 != 0) ratio = (ratio * 0x31be135f97d08fd981231505542fcfa6) >> 128;
        if (absTick & 0x10000 != 0) ratio = (ratio * 0x9aa508b5b7a84e1c677de54f3e99bc9) >> 128;
        if (absTick & 0x20000 != 0) ratio = (ratio * 0x5d6af8dedb81196699c329225ee604) >> 128;
        if (absTick & 0x40000 != 0) ratio = (ratio * 0x2216e584f5fa1ea926041bedfe98) >> 128;
        if (absTick & 0x80000 != 0) ratio = (ratio * 0x48a170391f7dc42444e8fa2) >> 128;

        if (tick > 0) ratio = type(uint256).max / ratio;

        // this divides by 1<<32 rounding up to go from a Q128.128 to a Q128.96.
        // we then downcast because we know the result always fits within 160 bits due to our tick input constraint
        // we round up in the division so getTickAtSqrtRatio of the output price is always consistent
        sqrtPriceX96 = uint160((ratio >> 32) + (ratio % (1 << 32) == 0 ? 0 : 1));
    }

    /// @notice Calculates the greatest tick value such that getRatioAtTick(tick) <= ratio
    /// @dev Throws in case sqrtPriceX96 < MIN_SQRT_RATIO, as MIN_SQRT_RATIO is the lowest value getRatioAtTick may
    /// ever return.
    /// @param sqrtPriceX96 The sqrt ratio for which to compute the tick as a Q64.96
    /// @return tick The greatest tick for which the ratio is less than or equal to the input ratio
    function getTickAtSqrtRatio(uint160 sqrtPriceX96) internal pure returns (int24 tick) {
        // second inequality must be < because the price can never reach the price at the max tick
        require(sqrtPriceX96 >= MIN_SQRT_RATIO && sqrtPriceX96 < MAX_SQRT_RATIO, 'R');
        uint256 ratio = uint256(sqrtPriceX96) << 32;

        uint256 r = ratio;
        uint256 msb = 0;

        assembly {
            let f := shl(7, gt(r, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(6, gt(r, 0xFFFFFFFFFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(5, gt(r, 0xFFFFFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(4, gt(r, 0xFFFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(3, gt(r, 0xFF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(2, gt(r, 0xF))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := shl(1, gt(r, 0x3))
            msb := or(msb, f)
            r := shr(f, r)
        }
        assembly {
            let f := gt(r, 0x1)
            msb := or(msb, f)
        }

        if (msb >= 128) r = ratio >> (msb - 127);
        else r = ratio << (127 - msb);

        int256 log_2 = (int256(msb) - 128) << 64;

        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(63, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(62, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(61, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(60, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(59, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(58, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(57, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(56, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(55, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(54, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(53, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(52, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(51, f))
            r := shr(f, r)
        }
        assembly {
            r := shr(127, mul(r, r))
            let f := shr(128, r)
            log_2 := or(log_2, shl(50, f))
        }

        int256 log_sqrt10001 = log_2 * 255738958999603826347141; // 128.128 number

        int24 tickLow = int24((log_sqrt10001 - 3402992956809132418596140100660247210) >> 128);
        int24 tickHi = int24((log_sqrt10001 + 291339464771989622907027621153398088495) >> 128);

        tick = tickLow == tickHi ? tickLow : getSqrtRatioAtTick(tickHi) <= sqrtPriceX96 ? tickHi : tickLow;
    }
}

File 4 of 36 : INonfungiblePositionManager.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@openzeppelin/contracts/token/ERC721/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol';

import './IPoolInitializer.sol';
import './IERC721Permit.sol';
import './IPeripheryPayments.sol';
import './IPeripheryImmutableState.sol';
import '../libraries/PoolAddress.sol';

/// @title Non-fungible token for positions
/// @notice Wraps Uniswap V3 positions in a non-fungible token interface which allows for them to be transferred
/// and authorized.
interface INonfungiblePositionManager is
    IPoolInitializer,
    IPeripheryPayments,
    IPeripheryImmutableState,
    IERC721Metadata,
    IERC721Enumerable,
    IERC721Permit
{
    /// @notice Emitted when liquidity is increased for a position NFT
    /// @dev Also emitted when a token is minted
    /// @param tokenId The ID of the token for which liquidity was increased
    /// @param liquidity The amount by which liquidity for the NFT position was increased
    /// @param amount0 The amount of token0 that was paid for the increase in liquidity
    /// @param amount1 The amount of token1 that was paid for the increase in liquidity
    event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);
    /// @notice Emitted when liquidity is decreased for a position NFT
    /// @param tokenId The ID of the token for which liquidity was decreased
    /// @param liquidity The amount by which liquidity for the NFT position was decreased
    /// @param amount0 The amount of token0 that was accounted for the decrease in liquidity
    /// @param amount1 The amount of token1 that was accounted for the decrease in liquidity
    event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);
    /// @notice Emitted when tokens are collected for a position NFT
    /// @dev The amounts reported may not be exactly equivalent to the amounts transferred, due to rounding behavior
    /// @param tokenId The ID of the token for which underlying tokens were collected
    /// @param recipient The address of the account that received the collected tokens
    /// @param amount0 The amount of token0 owed to the position that was collected
    /// @param amount1 The amount of token1 owed to the position that was collected
    event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1);

    /// @notice Returns the position information associated with a given token ID.
    /// @dev Throws if the token ID is not valid.
    /// @param tokenId The ID of the token that represents the position
    /// @return nonce The nonce for permits
    /// @return operator The address that is approved for spending
    /// @return token0 The address of the token0 for a specific pool
    /// @return token1 The address of the token1 for a specific pool
    /// @return fee The fee associated with the pool
    /// @return tickLower The lower end of the tick range for the position
    /// @return tickUpper The higher end of the tick range for the position
    /// @return liquidity The liquidity of the position
    /// @return feeGrowthInside0LastX128 The fee growth of token0 as of the last action on the individual position
    /// @return feeGrowthInside1LastX128 The fee growth of token1 as of the last action on the individual position
    /// @return tokensOwed0 The uncollected amount of token0 owed to the position as of the last computation
    /// @return tokensOwed1 The uncollected amount of token1 owed to the position as of the last computation
    function positions(uint256 tokenId)
        external
        view
        returns (
            uint96 nonce,
            address operator,
            address token0,
            address token1,
            uint24 fee,
            int24 tickLower,
            int24 tickUpper,
            uint128 liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

    struct MintParams {
        address token0;
        address token1;
        uint24 fee;
        int24 tickLower;
        int24 tickUpper;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        address recipient;
        uint256 deadline;
    }

    /// @notice Creates a new position wrapped in a NFT
    /// @dev Call this when the pool does exist and is initialized. Note that if the pool is created but not initialized
    /// a method does not exist, i.e. the pool is assumed to be initialized.
    /// @param params The params necessary to mint a position, encoded as `MintParams` in calldata
    /// @return tokenId The ID of the token that represents the minted position
    /// @return liquidity The amount of liquidity for this position
    /// @return amount0 The amount of token0
    /// @return amount1 The amount of token1
    function mint(MintParams calldata params)
        external
        payable
        returns (
            uint256 tokenId,
            uint128 liquidity,
            uint256 amount0,
            uint256 amount1
        );

    struct IncreaseLiquidityParams {
        uint256 tokenId;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        uint256 deadline;
    }

    /// @notice Increases the amount of liquidity in a position, with tokens paid by the `msg.sender`
    /// @param params tokenId The ID of the token for which liquidity is being increased,
    /// amount0Desired The desired amount of token0 to be spent,
    /// amount1Desired The desired amount of token1 to be spent,
    /// amount0Min The minimum amount of token0 to spend, which serves as a slippage check,
    /// amount1Min The minimum amount of token1 to spend, which serves as a slippage check,
    /// deadline The time by which the transaction must be included to effect the change
    /// @return liquidity The new liquidity amount as a result of the increase
    /// @return amount0 The amount of token0 to acheive resulting liquidity
    /// @return amount1 The amount of token1 to acheive resulting liquidity
    function increaseLiquidity(IncreaseLiquidityParams calldata params)
        external
        payable
        returns (
            uint128 liquidity,
            uint256 amount0,
            uint256 amount1
        );

    struct DecreaseLiquidityParams {
        uint256 tokenId;
        uint128 liquidity;
        uint256 amount0Min;
        uint256 amount1Min;
        uint256 deadline;
    }

    /// @notice Decreases the amount of liquidity in a position and accounts it to the position
    /// @param params tokenId The ID of the token for which liquidity is being decreased,
    /// amount The amount by which liquidity will be decreased,
    /// amount0Min The minimum amount of token0 that should be accounted for the burned liquidity,
    /// amount1Min The minimum amount of token1 that should be accounted for the burned liquidity,
    /// deadline The time by which the transaction must be included to effect the change
    /// @return amount0 The amount of token0 accounted to the position's tokens owed
    /// @return amount1 The amount of token1 accounted to the position's tokens owed
    function decreaseLiquidity(DecreaseLiquidityParams calldata params)
        external
        payable
        returns (uint256 amount0, uint256 amount1);

    struct CollectParams {
        uint256 tokenId;
        address recipient;
        uint128 amount0Max;
        uint128 amount1Max;
    }

    /// @notice Collects up to a maximum amount of fees owed to a specific position to the recipient
    /// @param params tokenId The ID of the NFT for which tokens are being collected,
    /// recipient The account that should receive the tokens,
    /// amount0Max The maximum amount of token0 to collect,
    /// amount1Max The maximum amount of token1 to collect
    /// @return amount0 The amount of fees collected in token0
    /// @return amount1 The amount of fees collected in token1
    function collect(CollectParams calldata params) external payable returns (uint256 amount0, uint256 amount1);

    /// @notice Burns a token ID, which deletes it from the NFT contract. The token must have 0 liquidity and all tokens
    /// must be collected first.
    /// @param tokenId The ID of the token that is being burned
    function burn(uint256 tokenId) external payable;
}

File 5 of 36 : TransferHelper.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.6.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

library TransferHelper {
    /// @notice Transfers tokens from the targeted address to the given destination
    /// @notice Errors with 'STF' if transfer fails
    /// @param token The contract address of the token to be transferred
    /// @param from The originating address from which the tokens will be transferred
    /// @param to The destination address of the transfer
    /// @param value The amount to be transferred
    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) =
            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF');
    }

    /// @notice Transfers tokens from msg.sender to a recipient
    /// @dev Errors with ST if transfer fails
    /// @param token The contract address of the token which will be transferred
    /// @param to The recipient of the transfer
    /// @param value The value of the transfer
    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST');
    }

    /// @notice Approves the stipulated contract to spend the given allowance in the given token
    /// @dev Errors with 'SA' if transfer fails
    /// @param token The contract address of the token to be approved
    /// @param to The target of the approval
    /// @param value The amount of the given token the target will be allowed to spend
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'SA');
    }

    /// @notice Transfers ETH to the recipient address
    /// @dev Fails with `STE`
    /// @param to The destination of the transfer
    /// @param value The value to be transferred
    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'STE');
    }
}

File 6 of 36 : ISwapRouter02.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-periphery/contracts/interfaces/ISelfPermit.sol';

import './IV2SwapRouter.sol';
import './IV3SwapRouter.sol';
import './IApproveAndCall.sol';
import './IMulticallExtended.sol';

/// @title Router token swapping functionality
interface ISwapRouter02 is IV2SwapRouter, IV3SwapRouter, IApproveAndCall, IMulticallExtended, ISelfPermit {

}

File 7 of 36 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 36 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    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");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    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");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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);
            }
        }
    }
}

File 9 of 36 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

File 10 of 36 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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/issues/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);
}

File 11 of 36 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}

File 12 of 36 : Util.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.7.6;

library Util {
    function sqrt(uint256 x) internal pure returns (uint256 y) {
        uint256 z = (x + 1) / 2;
        y = x;
        while (z < y) {
            y = z;
            z = (x / z + z) / 2;
        }
    }

    // Anti bots Implementation
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function ensureOneHuman(address _to, address _from) internal view returns (address) {
        require(!isContract(_to) || !isContract(_from), "No bots allowed!");
        if (isContract(_to)) return _from;
        else return _to;
    }
}

File 13 of 36 : UniswapV2.sol
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.7.6;

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

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
}

File 14 of 36 : IUniswapV3PoolImmutables.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Pool state that never changes
/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values
interface IUniswapV3PoolImmutables {
    /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface
    /// @return The contract address
    function factory() external view returns (address);

    /// @notice The first of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token0() external view returns (address);

    /// @notice The second of the two tokens of the pool, sorted by address
    /// @return The token contract address
    function token1() external view returns (address);

    /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6
    /// @return The fee
    function fee() external view returns (uint24);

    /// @notice The pool tick spacing
    /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive
    /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...
    /// This value is an int24 to avoid casting even though it is always positive.
    /// @return The tick spacing
    function tickSpacing() external view returns (int24);

    /// @notice The maximum amount of position liquidity that can use any tick in the range
    /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and
    /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool
    /// @return The max amount of liquidity per tick
    function maxLiquidityPerTick() external view returns (uint128);
}

File 15 of 36 : IUniswapV3PoolState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Pool state that can change
/// @notice These methods compose the pool's state, and can change with any frequency including multiple times
/// per transaction
interface IUniswapV3PoolState {
    /// @notice The 0th storage slot in the pool stores many values, and is exposed as a single method to save gas
    /// when accessed externally.
    /// @return sqrtPriceX96 The current price of the pool as a sqrt(token1/token0) Q64.96 value
    /// tick The current tick of the pool, i.e. according to the last tick transition that was run.
    /// This value may not always be equal to SqrtTickMath.getTickAtSqrtRatio(sqrtPriceX96) if the price is on a tick
    /// boundary.
    /// observationIndex The index of the last oracle observation that was written,
    /// observationCardinality The current maximum number of observations stored in the pool,
    /// observationCardinalityNext The next maximum number of observations, to be updated when the observation.
    /// feeProtocol The protocol fee for both tokens of the pool.
    /// Encoded as two 4 bit values, where the protocol fee of token1 is shifted 4 bits and the protocol fee of token0
    /// is the lower 4 bits. Used as the denominator of a fraction of the swap fee, e.g. 4 means 1/4th of the swap fee.
    /// unlocked Whether the pool is currently locked to reentrancy
    function slot0()
        external
        view
        returns (
            uint160 sqrtPriceX96,
            int24 tick,
            uint16 observationIndex,
            uint16 observationCardinality,
            uint16 observationCardinalityNext,
            uint8 feeProtocol,
            bool unlocked
        );

    /// @notice The fee growth as a Q128.128 fees of token0 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal0X128() external view returns (uint256);

    /// @notice The fee growth as a Q128.128 fees of token1 collected per unit of liquidity for the entire life of the pool
    /// @dev This value can overflow the uint256
    function feeGrowthGlobal1X128() external view returns (uint256);

    /// @notice The amounts of token0 and token1 that are owed to the protocol
    /// @dev Protocol fees will never exceed uint128 max in either token
    function protocolFees() external view returns (uint128 token0, uint128 token1);

    /// @notice The currently in range liquidity available to the pool
    /// @dev This value has no relationship to the total liquidity across all ticks
    function liquidity() external view returns (uint128);

    /// @notice Look up information about a specific tick in the pool
    /// @param tick The tick to look up
    /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or
    /// tick upper,
    /// liquidityNet how much liquidity changes when the pool price crosses the tick,
    /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,
    /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,
    /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick
    /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from the current tick,
    /// secondsOutside the seconds spent on the other side of the tick from the current tick,
    /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise equal to false.
    /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.
    /// In addition, these values are only relative and must be used only in comparison to previous snapshots for
    /// a specific position.
    function ticks(int24 tick)
        external
        view
        returns (
            uint128 liquidityGross,
            int128 liquidityNet,
            uint256 feeGrowthOutside0X128,
            uint256 feeGrowthOutside1X128,
            int56 tickCumulativeOutside,
            uint160 secondsPerLiquidityOutsideX128,
            uint32 secondsOutside,
            bool initialized
        );

    /// @notice Returns 256 packed tick initialized boolean values. See TickBitmap for more information
    function tickBitmap(int16 wordPosition) external view returns (uint256);

    /// @notice Returns the information about a position by the position's key
    /// @param key The position's key is a hash of a preimage composed by the owner, tickLower and tickUpper
    /// @return _liquidity The amount of liquidity in the position,
    /// Returns feeGrowthInside0LastX128 fee growth of token0 inside the tick range as of the last mint/burn/poke,
    /// Returns feeGrowthInside1LastX128 fee growth of token1 inside the tick range as of the last mint/burn/poke,
    /// Returns tokensOwed0 the computed amount of token0 owed to the position as of the last mint/burn/poke,
    /// Returns tokensOwed1 the computed amount of token1 owed to the position as of the last mint/burn/poke
    function positions(bytes32 key)
        external
        view
        returns (
            uint128 _liquidity,
            uint256 feeGrowthInside0LastX128,
            uint256 feeGrowthInside1LastX128,
            uint128 tokensOwed0,
            uint128 tokensOwed1
        );

    /// @notice Returns data about a specific observation index
    /// @param index The element of the observations array to fetch
    /// @dev You most likely want to use #observe() instead of this method to get an observation as of some amount of time
    /// ago, rather than at a specific index in the array.
    /// @return blockTimestamp The timestamp of the observation,
    /// Returns tickCumulative the tick multiplied by seconds elapsed for the life of the pool as of the observation timestamp,
    /// Returns secondsPerLiquidityCumulativeX128 the seconds per in range liquidity for the life of the pool as of the observation timestamp,
    /// Returns initialized whether the observation has been initialized and the values are safe to use
    function observations(uint256 index)
        external
        view
        returns (
            uint32 blockTimestamp,
            int56 tickCumulative,
            uint160 secondsPerLiquidityCumulativeX128,
            bool initialized
        );
}

File 16 of 36 : IUniswapV3PoolDerivedState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Pool state that is not stored
/// @notice Contains view functions to provide information about the pool that is computed rather than stored on the
/// blockchain. The functions here may have variable gas costs.
interface IUniswapV3PoolDerivedState {
    /// @notice Returns the cumulative tick and liquidity as of each timestamp `secondsAgo` from the current block timestamp
    /// @dev To get a time weighted average tick or liquidity-in-range, you must call this with two values, one representing
    /// the beginning of the period and another for the end of the period. E.g., to get the last hour time-weighted average tick,
    /// you must call it with secondsAgos = [3600, 0].
    /// @dev The time weighted average tick represents the geometric time weighted average price of the pool, in
    /// log base sqrt(1.0001) of token1 / token0. The TickMath library can be used to go from a tick value to a ratio.
    /// @param secondsAgos From how long ago each cumulative tick and liquidity value should be returned
    /// @return tickCumulatives Cumulative tick values as of each `secondsAgos` from the current block timestamp
    /// @return secondsPerLiquidityCumulativeX128s Cumulative seconds per liquidity-in-range value as of each `secondsAgos` from the current block
    /// timestamp
    function observe(uint32[] calldata secondsAgos)
        external
        view
        returns (int56[] memory tickCumulatives, uint160[] memory secondsPerLiquidityCumulativeX128s);

    /// @notice Returns a snapshot of the tick cumulative, seconds per liquidity and seconds inside a tick range
    /// @dev Snapshots must only be compared to other snapshots, taken over a period for which a position existed.
    /// I.e., snapshots cannot be compared if a position is not held for the entire period between when the first
    /// snapshot is taken and the second snapshot is taken.
    /// @param tickLower The lower tick of the range
    /// @param tickUpper The upper tick of the range
    /// @return tickCumulativeInside The snapshot of the tick accumulator for the range
    /// @return secondsPerLiquidityInsideX128 The snapshot of seconds per liquidity for the range
    /// @return secondsInside The snapshot of seconds per liquidity for the range
    function snapshotCumulativesInside(int24 tickLower, int24 tickUpper)
        external
        view
        returns (
            int56 tickCumulativeInside,
            uint160 secondsPerLiquidityInsideX128,
            uint32 secondsInside
        );
}

File 17 of 36 : IUniswapV3PoolActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Permissionless pool actions
/// @notice Contains pool methods that can be called by anyone
interface IUniswapV3PoolActions {
    /// @notice Sets the initial price for the pool
    /// @dev Price is represented as a sqrt(amountToken1/amountToken0) Q64.96 value
    /// @param sqrtPriceX96 the initial sqrt price of the pool as a Q64.96
    function initialize(uint160 sqrtPriceX96) external;

    /// @notice Adds liquidity for the given recipient/tickLower/tickUpper position
    /// @dev The caller of this method receives a callback in the form of IUniswapV3MintCallback#uniswapV3MintCallback
    /// in which they must pay any token0 or token1 owed for the liquidity. The amount of token0/token1 due depends
    /// on tickLower, tickUpper, the amount of liquidity, and the current price.
    /// @param recipient The address for which the liquidity will be created
    /// @param tickLower The lower tick of the position in which to add liquidity
    /// @param tickUpper The upper tick of the position in which to add liquidity
    /// @param amount The amount of liquidity to mint
    /// @param data Any data that should be passed through to the callback
    /// @return amount0 The amount of token0 that was paid to mint the given amount of liquidity. Matches the value in the callback
    /// @return amount1 The amount of token1 that was paid to mint the given amount of liquidity. Matches the value in the callback
    function mint(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount,
        bytes calldata data
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Collects tokens owed to a position
    /// @dev Does not recompute fees earned, which must be done either via mint or burn of any amount of liquidity.
    /// Collect must be called by the position owner. To withdraw only token0 or only token1, amount0Requested or
    /// amount1Requested may be set to zero. To withdraw all tokens owed, caller may pass any value greater than the
    /// actual tokens owed, e.g. type(uint128).max. Tokens owed may be from accumulated swap fees or burned liquidity.
    /// @param recipient The address which should receive the fees collected
    /// @param tickLower The lower tick of the position for which to collect fees
    /// @param tickUpper The upper tick of the position for which to collect fees
    /// @param amount0Requested How much token0 should be withdrawn from the fees owed
    /// @param amount1Requested How much token1 should be withdrawn from the fees owed
    /// @return amount0 The amount of fees collected in token0
    /// @return amount1 The amount of fees collected in token1
    function collect(
        address recipient,
        int24 tickLower,
        int24 tickUpper,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);

    /// @notice Burn liquidity from the sender and account tokens owed for the liquidity to the position
    /// @dev Can be used to trigger a recalculation of fees owed to a position by calling with an amount of 0
    /// @dev Fees must be collected separately via a call to #collect
    /// @param tickLower The lower tick of the position for which to burn liquidity
    /// @param tickUpper The upper tick of the position for which to burn liquidity
    /// @param amount How much liquidity to burn
    /// @return amount0 The amount of token0 sent to the recipient
    /// @return amount1 The amount of token1 sent to the recipient
    function burn(
        int24 tickLower,
        int24 tickUpper,
        uint128 amount
    ) external returns (uint256 amount0, uint256 amount1);

    /// @notice Swap token0 for token1, or token1 for token0
    /// @dev The caller of this method receives a callback in the form of IUniswapV3SwapCallback#uniswapV3SwapCallback
    /// @param recipient The address to receive the output of the swap
    /// @param zeroForOne The direction of the swap, true for token0 to token1, false for token1 to token0
    /// @param amountSpecified The amount of the swap, which implicitly configures the swap as exact input (positive), or exact output (negative)
    /// @param sqrtPriceLimitX96 The Q64.96 sqrt price limit. If zero for one, the price cannot be less than this
    /// value after the swap. If one for zero, the price cannot be greater than this value after the swap
    /// @param data Any data to be passed through to the callback
    /// @return amount0 The delta of the balance of token0 of the pool, exact when negative, minimum when positive
    /// @return amount1 The delta of the balance of token1 of the pool, exact when negative, minimum when positive
    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);

    /// @notice Receive token0 and/or token1 and pay it back, plus a fee, in the callback
    /// @dev The caller of this method receives a callback in the form of IUniswapV3FlashCallback#uniswapV3FlashCallback
    /// @dev Can be used to donate underlying tokens pro-rata to currently in-range liquidity providers by calling
    /// with 0 amount{0,1} and sending the donation amount(s) from the callback
    /// @param recipient The address which will receive the token0 and token1 amounts
    /// @param amount0 The amount of token0 to send
    /// @param amount1 The amount of token1 to send
    /// @param data Any data to be passed through to the callback
    function flash(
        address recipient,
        uint256 amount0,
        uint256 amount1,
        bytes calldata data
    ) external;

    /// @notice Increase the maximum number of price and liquidity observations that this pool will store
    /// @dev This method is no-op if the pool already has an observationCardinalityNext greater than or equal to
    /// the input observationCardinalityNext.
    /// @param observationCardinalityNext The desired minimum number of observations for the pool to store
    function increaseObservationCardinalityNext(uint16 observationCardinalityNext) external;
}

File 18 of 36 : IUniswapV3PoolOwnerActions.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Permissioned pool actions
/// @notice Contains pool methods that may only be called by the factory owner
interface IUniswapV3PoolOwnerActions {
    /// @notice Set the denominator of the protocol's % share of the fees
    /// @param feeProtocol0 new protocol fee for token0 of the pool
    /// @param feeProtocol1 new protocol fee for token1 of the pool
    function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;

    /// @notice Collect the protocol fee accrued to the pool
    /// @param recipient The address to which collected protocol fees should be sent
    /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    /// @return amount0 The protocol fee collected in token0
    /// @return amount1 The protocol fee collected in token1
    function collectProtocol(
        address recipient,
        uint128 amount0Requested,
        uint128 amount1Requested
    ) external returns (uint128 amount0, uint128 amount1);
}

File 19 of 36 : IUniswapV3PoolEvents.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Events emitted by a pool
/// @notice Contains all events emitted by the pool
interface IUniswapV3PoolEvents {
    /// @notice Emitted exactly once by a pool when #initialize is first called on the pool
    /// @dev Mint/Burn/Swap cannot be emitted by the pool before Initialize
    /// @param sqrtPriceX96 The initial sqrt price of the pool, as a Q64.96
    /// @param tick The initial tick of the pool, i.e. log base 1.0001 of the starting price of the pool
    event Initialize(uint160 sqrtPriceX96, int24 tick);

    /// @notice Emitted when liquidity is minted for a given position
    /// @param sender The address that minted the liquidity
    /// @param owner The owner of the position and recipient of any minted liquidity
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity minted to the position range
    /// @param amount0 How much token0 was required for the minted liquidity
    /// @param amount1 How much token1 was required for the minted liquidity
    event Mint(
        address sender,
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted when fees are collected by the owner of a position
    /// @dev Collect events may be emitted with zero amount0 and amount1 when the caller chooses not to collect fees
    /// @param owner The owner of the position for which fees are collected
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount0 The amount of token0 fees collected
    /// @param amount1 The amount of token1 fees collected
    event Collect(
        address indexed owner,
        address recipient,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount0,
        uint128 amount1
    );

    /// @notice Emitted when a position's liquidity is removed
    /// @dev Does not withdraw any fees earned by the liquidity position, which must be withdrawn via #collect
    /// @param owner The owner of the position for which liquidity is removed
    /// @param tickLower The lower tick of the position
    /// @param tickUpper The upper tick of the position
    /// @param amount The amount of liquidity to remove
    /// @param amount0 The amount of token0 withdrawn
    /// @param amount1 The amount of token1 withdrawn
    event Burn(
        address indexed owner,
        int24 indexed tickLower,
        int24 indexed tickUpper,
        uint128 amount,
        uint256 amount0,
        uint256 amount1
    );

    /// @notice Emitted by the pool for any swaps between token0 and token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the output of the swap
    /// @param amount0 The delta of the token0 balance of the pool
    /// @param amount1 The delta of the token1 balance of the pool
    /// @param sqrtPriceX96 The sqrt(price) of the pool after the swap, as a Q64.96
    /// @param liquidity The liquidity of the pool after the swap
    /// @param tick The log base 1.0001 of price of the pool after the swap
    event Swap(
        address indexed sender,
        address indexed recipient,
        int256 amount0,
        int256 amount1,
        uint160 sqrtPriceX96,
        uint128 liquidity,
        int24 tick
    );

    /// @notice Emitted by the pool for any flashes of token0/token1
    /// @param sender The address that initiated the swap call, and that received the callback
    /// @param recipient The address that received the tokens from flash
    /// @param amount0 The amount of token0 that was flashed
    /// @param amount1 The amount of token1 that was flashed
    /// @param paid0 The amount of token0 paid for the flash, which can exceed the amount0 plus the fee
    /// @param paid1 The amount of token1 paid for the flash, which can exceed the amount1 plus the fee
    event Flash(
        address indexed sender,
        address indexed recipient,
        uint256 amount0,
        uint256 amount1,
        uint256 paid0,
        uint256 paid1
    );

    /// @notice Emitted by the pool for increases to the number of observations that can be stored
    /// @dev observationCardinalityNext is not the observation cardinality until an observation is written at the index
    /// just before a mint/swap/burn.
    /// @param observationCardinalityNextOld The previous value of the next observation cardinality
    /// @param observationCardinalityNextNew The updated value of the next observation cardinality
    event IncreaseObservationCardinalityNext(
        uint16 observationCardinalityNextOld,
        uint16 observationCardinalityNextNew
    );

    /// @notice Emitted when the protocol fee is changed by the pool
    /// @param feeProtocol0Old The previous value of the token0 protocol fee
    /// @param feeProtocol1Old The previous value of the token1 protocol fee
    /// @param feeProtocol0New The updated value of the token0 protocol fee
    /// @param feeProtocol1New The updated value of the token1 protocol fee
    event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New);

    /// @notice Emitted when the collected protocol fees are withdrawn by the factory owner
    /// @param sender The address that collects the protocol fees
    /// @param recipient The address that receives the collected protocol fees
    /// @param amount0 The amount of token0 protocol fees that is withdrawn
    /// @param amount0 The amount of token1 protocol fees that is withdrawn
    event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1);
}

File 20 of 36 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 21 of 36 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 22 of 36 : IPoolInitializer.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

/// @title Creates and initializes V3 Pools
/// @notice Provides a method for creating and initializing a pool, if necessary, for bundling with other methods that
/// require the pool to exist.
interface IPoolInitializer {
    /// @notice Creates a new pool if it does not exist, then initializes if not initialized
    /// @dev This method can be bundled with others via IMulticall for the first action (e.g. mint) performed against a pool
    /// @param token0 The contract address of token0 of the pool
    /// @param token1 The contract address of token1 of the pool
    /// @param fee The fee amount of the v3 pool for the specified token pair
    /// @param sqrtPriceX96 The initial square root price of the pool as a Q64.96 value
    /// @return pool Returns the pool address based on the pair of tokens and fee, will return the newly created pool address if necessary
    function createAndInitializePoolIfNecessary(
        address token0,
        address token1,
        uint24 fee,
        uint160 sqrtPriceX96
    ) external payable returns (address pool);
}

File 23 of 36 : IERC721Permit.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';

/// @title ERC721 with permit
/// @notice Extension to ERC721 that includes a permit function for signature based approvals
interface IERC721Permit is IERC721 {
    /// @notice The permit typehash used in the permit signature
    /// @return The typehash for the permit
    function PERMIT_TYPEHASH() external pure returns (bytes32);

    /// @notice The domain separator used in the permit signature
    /// @return The domain seperator used in encoding of permit signature
    function DOMAIN_SEPARATOR() external view returns (bytes32);

    /// @notice Approve of a specific token ID for spending by spender via signature
    /// @param spender The account that is being approved
    /// @param tokenId The ID of the token that is being approved for spending
    /// @param deadline The deadline timestamp by which the call must be mined for the approve to work
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function permit(
        address spender,
        uint256 tokenId,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external payable;
}

File 24 of 36 : IPeripheryPayments.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;

/// @title Periphery Payments
/// @notice Functions to ease deposits and withdrawals of ETH
interface IPeripheryPayments {
    /// @notice Unwraps the contract's WETH9 balance and sends it to recipient as ETH.
    /// @dev The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.
    /// @param amountMinimum The minimum amount of WETH9 to unwrap
    /// @param recipient The address receiving ETH
    function unwrapWETH9(uint256 amountMinimum, address recipient) external payable;

    /// @notice Refunds any ETH balance held by this contract to the `msg.sender`
    /// @dev Useful for bundling with mint or increase liquidity that uses ether, or exact output swaps
    /// that use ether for the input amount
    function refundETH() external payable;

    /// @notice Transfers the full amount of a token held by this contract to recipient
    /// @dev The amountMinimum parameter prevents malicious contracts from stealing the token from users
    /// @param token The contract address of the token which will be transferred to `recipient`
    /// @param amountMinimum The minimum amount of token required for a transfer
    /// @param recipient The destination address of the token
    function sweepToken(
        address token,
        uint256 amountMinimum,
        address recipient
    ) external payable;
}

File 25 of 36 : IPeripheryImmutableState.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Immutable state
/// @notice Functions that return immutable state of the router
interface IPeripheryImmutableState {
    /// @return Returns the address of the Uniswap V3 factory
    function factory() external view returns (address);

    /// @return Returns the address of WETH9
    function WETH9() external view returns (address);
}

File 26 of 36 : PoolAddress.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee
library PoolAddress {
    bytes32 internal constant POOL_INIT_CODE_HASH = 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;

    /// @notice The identifying key of the pool
    struct PoolKey {
        address token0;
        address token1;
        uint24 fee;
    }

    /// @notice Returns PoolKey: the ordered tokens with the matched fee levels
    /// @param tokenA The first token of a pool, unsorted
    /// @param tokenB The second token of a pool, unsorted
    /// @param fee The fee level of the pool
    /// @return Poolkey The pool details with ordered token0 and token1 assignments
    function getPoolKey(
        address tokenA,
        address tokenB,
        uint24 fee
    ) internal pure returns (PoolKey memory) {
        if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
        return PoolKey({token0: tokenA, token1: tokenB, fee: fee});
    }

    /// @notice Deterministically computes the pool address given the factory and PoolKey
    /// @param factory The Uniswap V3 factory contract address
    /// @param key The PoolKey
    /// @return pool The contract address of the V3 pool
    function computeAddress(address factory, PoolKey memory key) internal pure returns (address pool) {
        require(key.token0 < key.token1);
        pool = address(
            uint160(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            hex'ff',
                            factory,
                            keccak256(abi.encode(key.token0, key.token1, key.fee)),
                            POOL_INIT_CODE_HASH
                        )
                    )
                )
            )
        );
    }
}

File 27 of 36 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../../introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 28 of 36 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 29 of 36 : ISelfPermit.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;

/// @title Self Permit
/// @notice Functionality to call permit on any EIP-2612-compliant token for use in the route
interface ISelfPermit {
    /// @notice Permits this contract to spend a given token from `msg.sender`
    /// @dev The `owner` is always msg.sender and the `spender` is always address(this).
    /// @param token The address of the token spent
    /// @param value The amount that can be spent of token
    /// @param deadline A timestamp, the current blocktime must be less than or equal to this timestamp
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function selfPermit(
        address token,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external payable;

    /// @notice Permits this contract to spend a given token from `msg.sender`
    /// @dev The `owner` is always msg.sender and the `spender` is always address(this).
    /// Can be used instead of #selfPermit to prevent calls from failing due to a frontrun of a call to #selfPermit
    /// @param token The address of the token spent
    /// @param value The amount that can be spent of token
    /// @param deadline A timestamp, the current blocktime must be less than or equal to this timestamp
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function selfPermitIfNecessary(
        address token,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external payable;

    /// @notice Permits this contract to spend the sender's tokens for permit signatures that have the `allowed` parameter
    /// @dev The `owner` is always msg.sender and the `spender` is always address(this)
    /// @param token The address of the token spent
    /// @param nonce The current nonce of the owner
    /// @param expiry The timestamp at which the permit is no longer valid
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function selfPermitAllowed(
        address token,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external payable;

    /// @notice Permits this contract to spend the sender's tokens for permit signatures that have the `allowed` parameter
    /// @dev The `owner` is always msg.sender and the `spender` is always address(this)
    /// Can be used instead of #selfPermitAllowed to prevent calls from failing due to a frontrun of a call to #selfPermitAllowed.
    /// @param token The address of the token spent
    /// @param nonce The current nonce of the owner
    /// @param expiry The timestamp at which the permit is no longer valid
    /// @param v Must produce valid secp256k1 signature from the holder along with `r` and `s`
    /// @param r Must produce valid secp256k1 signature from the holder along with `v` and `s`
    /// @param s Must produce valid secp256k1 signature from the holder along with `r` and `v`
    function selfPermitAllowedIfNecessary(
        address token,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external payable;
}

File 30 of 36 : IV2SwapRouter.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V2
interface IV2SwapRouter {
    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @dev Setting `amountIn` to 0 will cause the contract to look up its own balance,
    /// and swap the entire amount, enabling contracts to send tokens before calling this function.
    /// @param amountIn The amount of token to swap
    /// @param amountOutMin The minimum amount of output that must be received
    /// @param path The ordered list of tokens to swap through
    /// @param to The recipient address
    /// @return amountOut The amount of the received token
    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to
    ) external payable returns (uint256 amountOut);

    /// @notice Swaps as little as possible of one token for an exact amount of another token
    /// @param amountOut The amount of token to swap for
    /// @param amountInMax The maximum amount of input that the caller will pay
    /// @param path The ordered list of tokens to swap through
    /// @param to The recipient address
    /// @return amountIn The amount of token to pay
    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to
    ) external payable returns (uint256 amountIn);
}

File 31 of 36 : IV3SwapRouter.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol';

/// @title Router token swapping functionality
/// @notice Functions for swapping tokens via Uniswap V3
interface IV3SwapRouter is IUniswapV3SwapCallback {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @dev Setting `amountIn` to 0 will cause the contract to look up its own balance,
    /// and swap the entire amount, enabling contracts to send tokens before calling this function.
    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);

    struct ExactInputParams {
        bytes path;
        address recipient;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
    /// @dev Setting `amountIn` to 0 will cause the contract to look up its own balance,
    /// and swap the entire amount, enabling contracts to send tokens before calling this function.
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);

    struct ExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another token
    /// that may remain in the router after the swap.
    /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);

    struct ExactOutputParams {
        bytes path;
        address recipient;
        uint256 amountOut;
        uint256 amountInMaximum;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
    /// that may remain in the router after the swap.
    /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata
    /// @return amountIn The amount of the input token
    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);
}

File 32 of 36 : IApproveAndCall.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity =0.7.6;
pragma abicoder v2;

interface IApproveAndCall {
    enum ApprovalType {NOT_REQUIRED, MAX, MAX_MINUS_ONE, ZERO_THEN_MAX, ZERO_THEN_MAX_MINUS_ONE}

    /// @dev Lens to be called off-chain to determine which (if any) of the relevant approval functions should be called
    /// @param token The token to approve
    /// @param amount The amount to approve
    /// @return The required approval type
    function getApprovalType(address token, uint256 amount) external returns (ApprovalType);

    /// @notice Approves a token for the maximum possible amount
    /// @param token The token to approve
    function approveMax(address token) external payable;

    /// @notice Approves a token for the maximum possible amount minus one
    /// @param token The token to approve
    function approveMaxMinusOne(address token) external payable;

    /// @notice Approves a token for zero, then the maximum possible amount
    /// @param token The token to approve
    function approveZeroThenMax(address token) external payable;

    /// @notice Approves a token for zero, then the maximum possible amount minus one
    /// @param token The token to approve
    function approveZeroThenMaxMinusOne(address token) external payable;

    /// @notice Calls the position manager with arbitrary calldata
    /// @param data Calldata to pass along to the position manager
    /// @return result The result from the call
    function callPositionManager(bytes memory data) external payable returns (bytes memory result);

    struct MintParams {
        address token0;
        address token1;
        uint24 fee;
        int24 tickLower;
        int24 tickUpper;
        uint256 amount0Min;
        uint256 amount1Min;
        address recipient;
    }

    /// @notice Calls the position manager's mint function
    /// @param params Calldata to pass along to the position manager
    /// @return result The result from the call
    function mint(MintParams calldata params) external payable returns (bytes memory result);

    struct IncreaseLiquidityParams {
        address token0;
        address token1;
        uint256 tokenId;
        uint256 amount0Min;
        uint256 amount1Min;
    }

    /// @notice Calls the position manager's increaseLiquidity function
    /// @param params Calldata to pass along to the position manager
    /// @return result The result from the call
    function increaseLiquidity(IncreaseLiquidityParams calldata params) external payable returns (bytes memory result);
}

File 33 of 36 : IMulticallExtended.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

import '@uniswap/v3-periphery/contracts/interfaces/IMulticall.sol';

/// @title MulticallExtended interface
/// @notice Enables calling multiple methods in a single call to the contract with optional validation
interface IMulticallExtended is IMulticall {
    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed
    /// @dev The `msg.value` should not be trusted for any method callable from multicall.
    /// @param deadline The time by which this function must be called before failing
    /// @param data The encoded function data for each of the calls to make to this contract
    /// @return results The results from each of the calls passed in via data
    function multicall(uint256 deadline, bytes[] calldata data) external payable returns (bytes[] memory results);

    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed
    /// @dev The `msg.value` should not be trusted for any method callable from multicall.
    /// @param previousBlockhash The expected parent blockHash
    /// @param data The encoded function data for each of the calls to make to this contract
    /// @return results The results from each of the calls passed in via data
    function multicall(bytes32 previousBlockhash, bytes[] calldata data)
        external
        payable
        returns (bytes[] memory results);
}

File 34 of 36 : IUniswapV3SwapCallback.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Callback for IUniswapV3PoolActions#swap
/// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface
interface IUniswapV3SwapCallback {
    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;
}

File 35 of 36 : IMulticall.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.7.5;
pragma abicoder v2;

/// @title Multicall interface
/// @notice Enables calling multiple methods in a single call to the contract
interface IMulticall {
    /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed
    /// @dev The `msg.value` should not be trusted for any method callable from multicall.
    /// @param data The encoded function data for each of the calls to make to this contract
    /// @return results The results from each of the calls passed in via data
    function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);
}

File 36 of 36 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_blockNumberByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyTaxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"autoFeeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockCooldownAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"deposits","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unlockDates","type":"uint256"}],"name":"extendUnLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_v3Address","type":"address"},{"internalType":"uint256","name":"tokenVal","type":"uint256"},{"internalType":"uint256","name":"usdcVal","type":"uint256"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isContractExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"nonfungiblePositionManager","outputs":[{"internalType":"contract INonfungiblePositionManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionX1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionX2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionX3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"positionX4","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"removeStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reorg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setContractExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyTaxFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"buyDevFee","type":"uint256"},{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"pure","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Router","outputs":[{"internalType":"contract ISwapRouter02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3Pool","outputs":[{"internalType":"contract IUniswapV3Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600280546001600160a01b03191673bc09bb32e3ba81e3969f680b86a37f3f6abaaf801790556a246db7c785a8ccb7ffffff19600955600e805460ff19169055600f54601055601154601255601460138190556050905560326015556016805461ffff1916905560016019556026805460ff60a81b191690553480156200008a57600080fd5b5060006200009762000385565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506009543360008181526003602090815260409182902093909355601d80546001600160a01b03199081167368b3465833fb72a70ecdf485e0e4c7bd8665fc4517909155601f8054821673c36442b4a4522e871399cd717abdd847ab11fe8817905560258054909116737a250d5630b4cf539739df2c5dacb4c659f2488d1790819055815163c45a015560e01b8152915192936001600160a01b03919091169263c45a0155926004808201939291829003018186803b158015620001a357600080fd5b505afa158015620001b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001de919062000a31565b6001600160a01b031663c9c653963073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486040518363ffffffff1660e01b81526004016200022192919062000a5a565b602060405180830381600087803b1580156200023c57600080fd5b505af115801562000251573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000277919062000a31565b602680546001600160a01b0319166001600160a01b039283161790819055620002a39116600162000389565b6001600160a01b0381811660008181526006602090815260408083208054600160ff199182168117909255308552828520805482168317905560189093528184208054841682179055602554861684528184208054841682179055601d54861684528184208054841682179055602654861684528184208054841682179055601f5490951683528083208054909216909417905591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9062000376906a31a17e847807b1bc0000009062000b71565b60405180910390a35062000b7a565b3390565b6001600160a01b0382166000908152601c60205260409020805460ff19168215801591909117909155620003c257620003c282620003d7565b80620003d357620003d38262000572565b5050565b620003e162000385565b6001600160a01b0316620003f462000715565b6001600160a01b0316146200043f576040805162461bcd60e51b8152602060048201819052602482015260008051602062006625833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff1615620004845760405162461bcd60e51b81526004016200047b9062000abe565b60405180910390fd5b600854603260019091011115620004af5760405162461bcd60e51b81526004016200047b9062000b2c565b6001600160a01b038116600090815260036020526040902054156200050c576001600160a01b038116600090815260036020526040902054620004f29062000724565b6001600160a01b0382166000908152600460205260409020555b6001600160a01b03166000818152600760205260408120805460ff191660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055565b6200057c62000385565b6001600160a01b03166200058f62000715565b6001600160a01b031614620005da576040805162461bcd60e51b8152602060048201819052602482015260008051602062006625833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526007602052604090205460ff16620006155760405162461bcd60e51b81526004016200047b9062000af5565b60005b600854811015620003d357816001600160a01b0316600882815481106200063b57fe5b6000918252602090912001546001600160a01b031614156200070c576008805460001981019081106200066a57fe5b600091825260209091200154600880546001600160a01b0390921691839081106200069157fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600482526040808220829055600790925220805460ff191690556008805480620006e457fe5b600082815260209020810160001990810180546001600160a01b0319169055019055620003d3565b60010162000618565b6000546001600160a01b031690565b60006009548211156200074b5760405162461bcd60e51b81526004016200047b9062000a74565b6000620007576200077a565b9050620007738184620007ad60201b6200294b1790919060201c565b9392505050565b600080806200078862000816565b91509150620007a68183620007ad60201b6200294b1790919060201c565b9250505090565b600080821162000804576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816200080e57fe5b049392505050565b60095460009081906a31a17e847807b1bc000000825b6008548110156200097e578260036000600884815481106200084a57fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180620008b157508160046000600884815481106200088a57fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15620008d3576009546a31a17e847807b1bc00000094509450505050620009cf565b620009226003600060088481548110620008e957fe5b60009182526020808320909101546001600160a01b031683528281019390935260409091019020548591620029cc620009d3821b17901c565b92506200097360046000600884815481106200093a57fe5b60009182526020808320909101546001600160a01b031683528281019390935260409091019020548491620029cc620009d3821b17901c565b91506001016200082c565b50620009a66a31a17e847807b1bc000000600954620007ad60201b6200294b1790919060201c565b821015620009c9576009546a31a17e847807b1bc000000935093505050620009cf565b90925090505b9091565b60008282111562000a2b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60006020828403121562000a43578081fd5b81516001600160a01b038116811462000773578182fd5b6001600160a01b0392831681529116602082015260400190565b6020808252602a908201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260408201526965666c656374696f6e7360b01b606082015260800190565b6020808252601b908201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604082015260600190565b60208082526017908201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604082015260600190565b60208082526025908201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f6040820152643ab73a399760d91b606082015260800190565b90815260200190565b615a9b8062000b8a6000396000f3fe6080604052600436106103905760003560e01c80636fd23588116101dc578063a4a2a9f611610102578063dc44b6a0116100a0578063efcc52de1161006f578063efcc52de146109a5578063f2488aa5146109ba578063f2fde38b146109cf578063f6887cd3146109ef57610397565b8063dc44b6a01461093b578063dd62ed3e14610950578063ea2f0b3714610970578063ebd2affc1461099057610397565b8063b02c43d0116100dc578063b02c43d0146108c4578063b44a2722146108f1578063b62496f514610906578063bbc0c7421461092657610397565b8063a4a2a9f61461086f578063a69df4b51461088f578063a9059cbb146108a457610397565b806388f820201161017a5780639686d322116101495780639686d322146107fa5780639a7a23d61461081a5780639d1b464a1461083a578063a457c2d71461084f57610397565b806388f820201461079b57806389a30271146107bb5780638da5cb5b146107d057806395d89b41146107e557610397565b8063744ac697116101b6578063744ac6971461073157806377a59f001461074657806378e97925146107665780637cc8eb761461077b57610397565b80636fd23588146106e757806370a08231146106fc578063715018a61461071c57610397565b8063313ce567116102c1578063437823ec1161025f57806352390c021161022e57806352390c021461067d5780635342acb41461069d57806362015852146106bd5780636ddd1713146106d257610397565b8063437823ec1461061357806343c667b4146106335780634549b0391461064857806349bd5a5e1461066857610397565b80633a924d5b1161029b5780633a924d5b146105b45780633ad10ef6146105c9578063417c7985146105de57806341f20b68146105fe57610397565b8063313ce567146105525780633685d41914610574578063395093511461059457610397565b80631868aadf1161032e578063251c1aa311610308578063251c1aa3146104e65780632692166e146104fb5780632c76d7a61461051d5780632d8381191461053257610397565b80631868aadf1461049c57806319291c69146104b157806323b872dd146104c657610397565b806313114a9d1161036a57806313114a9d14610416578063150b7a02146104385780631694505e1461046557806318160ddd1461048757610397565b806306fdde031461039c578063089fe6aa146103c7578063095ea7b3146103e957610397565b3661039757005b600080fd5b3480156103a857600080fd5b506103b1610a0f565b6040516103be91906153b3565b60405180910390f35b3480156103d357600080fd5b506103dc610a46565b6040516103be91906159a0565b3480156103f557600080fd5b5061040961040436600461506d565b610a4c565b6040516103be919061537b565b34801561042257600080fd5b5061042b610a6a565b6040516103be91906159b0565b34801561044457600080fd5b50610458610453366004614fa6565b610a70565b6040516103be9190615386565b34801561047157600080fd5b5061047a610aa6565b6040516103be919061535a565b34801561049357600080fd5b5061042b610ac2565b3480156104a857600080fd5b5061042b610ad1565b3480156104bd57600080fd5b5061042b610ad7565b3480156104d257600080fd5b506104096104e1366004614f66565b610add565b3480156104f257600080fd5b5061042b610b7e565b34801561050757600080fd5b5061051b610516366004614f2e565b610b84565b005b34801561052957600080fd5b5061047a610ce3565b34801561053e57600080fd5b5061042b61054d36600461515f565b610cff565b34801561055e57600080fd5b50610567610d65565b6040516103be91906159b9565b34801561058057600080fd5b5061051b61058f366004614f12565b610d6a565b3480156105a057600080fd5b506104096105af36600461506d565b61102b565b3480156105c057600080fd5b5061047a611086565b3480156105d557600080fd5b5061047a6110a2565b3480156105ea57600080fd5b5061051b6105f9366004615211565b6110be565b34801561060a57600080fd5b506104096111f2565b34801561061f57600080fd5b5061051b61062e366004614f12565b611200565b34801561063f57600080fd5b5061051b6112f7565b34801561065457600080fd5b5061042b61066336600461518f565b6116f0565b34801561067457600080fd5b5061047a611770565b34801561068957600080fd5b5061051b610698366004614f12565b61178c565b3480156106a957600080fd5b506104096106b8366004614f12565b611a00565b3480156106c957600080fd5b5061042b611a2b565b3480156106de57600080fd5b50610409611a31565b3480156106f357600080fd5b50610409611a53565b34801561070857600080fd5b5061042b610717366004614f12565b611a5c565b34801561072857600080fd5b5061051b611ae5565b34801561073d57600080fd5b5061042b611bfc565b34801561075257600080fd5b5061042b610761366004614f12565b611c02565b34801561077257600080fd5b5061042b611c14565b34801561078757600080fd5b5061051b61079636600461515f565b611c1a565b3480156107a757600080fd5b506104096107b6366004614f12565b611cce565b3480156107c757600080fd5b5061047a611cf9565b3480156107dc57600080fd5b5061047a611d11565b3480156107f157600080fd5b506103b1611d2d565b34801561080657600080fd5b5061051b610815366004615040565b611d64565b34801561082657600080fd5b5061051b610835366004615040565b611e62565b34801561084657600080fd5b5061042b611f69565b34801561085b57600080fd5b5061040961086a36600461506d565b611f6f565b34801561087b57600080fd5b5061051b61088a366004615098565b611fe4565b34801561089b57600080fd5b5061051b612393565b3480156108b057600080fd5b506104096108bf36600461506d565b6125df565b3480156108d057600080fd5b506108e46108df36600461515f565b6125f3565b6040516103be9190615983565b3480156108fd57600080fd5b5061047a612617565b34801561091257600080fd5b50610409610921366004614f12565b612633565b34801561093257600080fd5b50610409612648565b34801561094757600080fd5b5061042b612651565b34801561095c57600080fd5b5061042b61096b366004614f2e565b612657565b34801561097c57600080fd5b5061051b61098b366004614f12565b61268f565b34801561099c57600080fd5b5061042b612783565b3480156109b157600080fd5b5061042b612789565b3480156109c657600080fd5b5061042b61278f565b3480156109db57600080fd5b5061051b6109ea366004614f12565b612795565b3480156109fb57600080fd5b50610409610a0a366004614f12565b612936565b60408051808201909152601481527f536563726574206f662054686520537068696e78000000000000000000000000602082015290565b6101f481565b6000610a60610a59612a43565b8484612a47565b5060015b92915050565b600a5490565b6000610a7b84612b56565b507f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b60255473ffffffffffffffffffffffffffffffffffffffff1681565b6a31a17e847807b1bc00000090565b60195481565b60225481565b6000610aea848484612c5a565b610b7484610af6612a43565b610b6f85604051806060016040528060288152602001615a426028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260056020526040812090610b41612a43565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190612f98565b612a47565b5060019392505050565b600d5481565b610b8c612a43565b73ffffffffffffffffffffffffffffffffffffffff16610baa611d11565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190610c8190309060040161535a565b60206040518083038186803b158015610c9957600080fd5b505afa158015610cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd19190615177565b9050610cde838383613049565b505050565b601d5473ffffffffffffffffffffffffffffffffffffffff1681565b6000600954821115610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615481565b60405180910390fd5b6000610d50613225565b9050610d5c838261294b565b9150505b919050565b601290565b610d72612a43565b73ffffffffffffffffffffffffffffffffffffffff16610d90611d11565b73ffffffffffffffffffffffffffffffffffffffff1614610e1257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604090205460ff16610e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615617565b60005b600854811015611027578173ffffffffffffffffffffffffffffffffffffffff1660088281548110610ea257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561101f57600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908110610efa57fe5b6000918252602090912001546008805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610f2d57fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055918416815260048252604080822082905560079092522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556008805480610fc257fe5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055611027565b600101610e74565b5050565b6000610a60611038612a43565b84610b6f8560056000611049612a43565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490613248565b601e5473ffffffffffffffffffffffffffffffffffffffff1681565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6110c6612a43565b73ffffffffffffffffffffffffffffffffffffffff166110e4611d11565b73ffffffffffffffffffffffffffffffffffffffff161461116657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b601393909355601491909155601555600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179081905516600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b601654610100900460ff1681565b611208612a43565b73ffffffffffffffffffffffffffffffffffffffff16611226611d11565b73ffffffffffffffffffffffffffffffffffffffff16146112a857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6112ff612a43565b73ffffffffffffffffffffffffffffffffffffffff1661131d611d11565b73ffffffffffffffffffffffffffffffffffffffff161461139f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6113aa6020546132c3565b6113b56020546133b7565b6113c06021546132c3565b6113cb6021546133b7565b6113d66022546132c3565b6113e16022546133b7565b6113ec6023546132c3565b6113f76023546133b7565b600061140230611a5c565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815290915060009073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906370a082319061145890309060040161535a565b60206040518083038186803b15801561147057600080fd5b505afa158015611484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a89190615177565b905060006114b782606461294b565b6002549091506114f39073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489073ffffffffffffffffffffffffffffffffffffffff1683613049565b8082039150600080601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561156357600080fd5b505afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b91906150cc565b5050505050915091506000808260020b126115c957600a8260020b816115bd57fe5b05600a02600a016115dd565b600a808360020b816115d757fe5b05600a02035b90506000808360020b1261160357600a808460020b816115f957fe5b05600a0203611618565b600a8360020b8161161057fe5b05600a02600a015b905060c061164e670de0b6b3a764000061164873ffffffffffffffffffffffffffffffffffffffff881680613492565b90613492565b901c60248190555060008060008061166860245488613505565b935093509350935061167d60008b86896136ad565b6020556116a261169960646116938e6014613492565b9061294b565b600087866136ad565b6021556116c16116b860646116938e601e613492565b600085856136ad565b6022556116e06116d760646116938e6032613492565b600084846136ad565b6023555050505050505050505050565b60006a31a17e847807b1bc000000831115611737576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061564e565b816117565760006117478461393a565b50939550610a64945050505050565b60006117618461393a565b50929550610a64945050505050565b60265473ffffffffffffffffffffffffffffffffffffffff1681565b611794612a43565b73ffffffffffffffffffffffffffffffffffffffff166117b2611d11565b73ffffffffffffffffffffffffffffffffffffffff161461183457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604090205460ff1615611894576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906155e0565b6008546032600190910111156118d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906157d3565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040902054156119575773ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604090205461193090610cff565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260409020555b73ffffffffffffffffffffffffffffffffffffffff16600081815260076020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205460ff1690565b60155481565b6026547501000000000000000000000000000000000000000000900460ff1681565b600e5460ff1681565b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604081205460ff1615611ab6575073ffffffffffffffffffffffffffffffffffffffff8116600090815260046020526040902054610d60565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040902054610a6490610cff565b611aed612a43565b73ffffffffffffffffffffffffffffffffffffffff16611b0b611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611b8d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60205481565b60176020526000908152604090205481565b600c5481565b611c22612a43565b73ffffffffffffffffffffffffffffffffffffffff16611c40611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611cc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b62015180024201600d55565b73ffffffffffffffffffffffffffffffffffffffff1660009081526007602052604090205460ff1690565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60408051808201909152600681527f535048494e580000000000000000000000000000000000000000000000000000602082015290565b611d6c612a43565b73ffffffffffffffffffffffffffffffffffffffff16611d8a611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611e0c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260186020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b611e6a612a43565b73ffffffffffffffffffffffffffffffffffffffff16611e88611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611f0a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60265473ffffffffffffffffffffffffffffffffffffffff83811691161415611f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615572565b6110278282613989565b60245481565b6000610a60611f7c612a43565b84610b6f85604051806060016040528060258152602001615a6a6025913960056000611fa6612a43565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190612f98565b611fec612a43565b73ffffffffffffffffffffffffffffffffffffffff1661200a611d11565b73ffffffffffffffffffffffffffffffffffffffff161461208c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b612098303330856139f8565b6120b873a0b86991c6218b36c1d19d4a2e9eb0ce3606eb483330846139f8565b42600c81905562ed4e0001600d5560168054602680547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821660019081179190911661010017909255600e805482168317905573ffffffffffffffffffffffffffffffffffffffff851660009081526018602052604090208054909116821790556121a2908490613989565b601e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8581169190911791829055604080517f3850c7bd000000000000000000000000000000000000000000000000000000008152905160009384931691633850c7bd9160048083019260e0929190829003018186803b15801561223d57600080fd5b505afa158015612251573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227591906150cc565b5050505050915091506000808260020b126122a357600a8260020b8161229757fe5b05600a02600a016122b7565b600a808360020b816122b157fe5b05600a02035b90506000808360020b126122dd57600a808460020b816122d357fe5b05600a02036122f2565b600a8360020b816122ea57fe5b05600a02600a015b905060c0612322670de0b6b3a764000061164873ffffffffffffffffffffffffffffffffffffffff881680613492565b901c60248190555060008060008061233c60245488613505565b935093509350935061235160008a86896136ad565b60205561236761169960646116938d6014613492565b60215561237d6116b860646116938d601e613492565b6022556116e06116d760646116938d6032613492565b61239b612a43565b73ffffffffffffffffffffffffffffffffffffffff166123b9611d11565b73ffffffffffffffffffffffffffffffffffffffff161461243b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b42600d5410612476576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061553b565b6124816020546132c3565b61248c6020546133b7565b6124976021546132c3565b6124a26021546133b7565b6124ad6022546132c3565b6124b86022546133b7565b6124c36023546132c3565b6124ce6023546133b7565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906370a082319061252190309060040161535a565b60206040518083038186803b15801561253957600080fd5b505afa15801561254d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125719190615177565b9050600061257e30611a5c565b6002549091506125ba9073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489073ffffffffffffffffffffffffffffffffffffffff1684613049565b60025461102790309073ffffffffffffffffffffffffffffffffffffffff1683613049565b6000610a606125ec612a43565b8484612c5a565b6001602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b601f5473ffffffffffffffffffffffffffffffffffffffff1681565b601c6020526000908152604090205460ff1681565b60165460ff1681565b60145481565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205490565b612697612a43565b73ffffffffffffffffffffffffffffffffffffffff166126b5611d11565b73ffffffffffffffffffffffffffffffffffffffff161461273757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60215481565b60135481565b60235481565b61279d612a43565b73ffffffffffffffffffffffffffffffffffffffff166127bb611d11565b73ffffffffffffffffffffffffffffffffffffffff161461283d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166128a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806159fb6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60186020526000908152604090205460ff1681565b60008082116129bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816129c457fe5b049392505050565b600082821115612a3d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316612a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061573f565b73ffffffffffffffffffffffffffffffffffffffff8216612ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906154de565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526005602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612b499085906159b0565b60405180910390a3505050565b601f546040517f99fbab8800000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906399fbab8890612bad9085906004016159b0565b6101806040518083038186803b158015612bc657600080fd5b505afa158015612bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfe9190615251565b50505060009a8b52506001602052604090992080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff909a16999099179098555050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316612ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906156e2565b73ffffffffffffffffffffffffffffffffffffffff8216612cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615424565b60008111612d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615685565b60165460ff16612dc95773ffffffffffffffffffffffffffffffffffffffff83166000908152601c602052604090205460ff161580612d93575073ffffffffffffffffffffffffffffffffffffffff82166000908152601c602052604090205460ff16155b612dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906155a9565b601654610100900460ff1615612e795773ffffffffffffffffffffffffffffffffffffffff831660009081526018602052604090205460ff16158015612e35575073ffffffffffffffffffffffffffffffffffffffff821660009081526018602052604090205460ff16155b15612e79576000612e468484613bdd565b9050612e5181613c81565b73ffffffffffffffffffffffffffffffffffffffff1660009081526017602052604090204390555b612e81613d18565b600e5460ff1615612ed457600c5462093a8001421015612ed4576014601381905560329055601e601555600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b6003600b5573ffffffffffffffffffffffffffffffffffffffff831660009081526006602052604090205460ff16158015612f35575073ffffffffffffffffffffffffffffffffffffffff821660009081526006602052604090205460ff16155b15612f855773ffffffffffffffffffffffffffffffffffffffff83166000908152601c602052604090205460ff1615612f8557601354600f5560155460145401601181905515612f85576001600b555b612f90838383613d4a565b610cde613e9a565b60008184841115613041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613006578181015183820152602001612fee565b50505050905090810190601f1680156130335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251825160009485949389169392918291908083835b6020831061311e57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016130e1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613180576040519150601f19603f3d011682016040523d82523d6000602084013e613185565b606091505b50915091508180156131b35750805115806131b357508080602001905160208110156131b057600080fd5b50515b61321e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f5354000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b6000806000613232613ea8565b9092509050613241828261294b565b9250505090565b6000828201838110156132bc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600081815260016020908152604080832054815160a0810183528581526fffffffffffffffffffffffffffffffff9091169281018390528082018490526060810193909352426080840152601f5490517f0c49ccbe00000000000000000000000000000000000000000000000000000000815291929173ffffffffffffffffffffffffffffffffffffffff90911690630c49ccbe90613366908490600401615889565b6040805180830381600087803b15801561337f57600080fd5b505af1158015613393573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321e91906151ee565b604080516080810182528281523060208201526fffffffffffffffffffffffffffffffff8183018190526060820152601f5491517ffc6f7865000000000000000000000000000000000000000000000000000000008152909173ffffffffffffffffffffffffffffffffffffffff169063fc6f78659061343b908490600401615830565b6040805180830381600087803b15801561345457600080fd5b505af1158015613468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061348c91906151ee565b50505050565b6000826134a157506000610a64565b828202828482816134ae57fe5b04146132bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615a216021913960400191505060405180910390fd5b60008060008060008060008060008960020b12156135b157613548613543670de0b6b3a764000060c06135398e600a61294b565b8e03901b9061294b565b614063565b935061356e613543670de0b6b3a764000060c06135668e6002613492565b901b9061294b565b925061358c613543670de0b6b3a764000060c06135668e6003613492565b91506135aa613543670de0b6b3a764000060c06135668e6004613492565b9050613634565b6135d7613543670de0b6b3a764000060c06135cd8e600a61294b565b8e01901b9061294b565b93506135f5613543670de0b6b3a764000060c06135668e600261294b565b9250613613613543670de0b6b3a764000060c06135668e600361294b565b9150613631613543670de0b6b3a764000060c06135668e600461294b565b90505b600a61363f8561409a565b60020b8161364957fe5b05600a029750600a61365a8461409a565b60020b8161366457fe5b05600a029650600a6136758361409a565b60020b8161367f57fe5b05600a029550600a6136908261409a565b60020b8161369a57fe5b05600a0294505050505092959194509250565b6000806000806000808660020b8860020b126136c957866136cb565b875b905060008760020b8960020b126136e257886136e4565b875b9050600281900b620d89e8126136fa57806136ff565b620d89e85b90507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27618600283900b126137325781613754565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff276185b601f5490925061377c90309073ffffffffffffffffffffffffffffffffffffffff168d614466565b601f546137b59073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489073ffffffffffffffffffffffffffffffffffffffff168c614466565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb483010156137f65730955073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4894508a9350899250613817565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4895503094508993508a92505b604080516101608101825273ffffffffffffffffffffffffffffffffffffffff808916825287811660208301526101f482840152600285810b606084015284900b608083015260a0820187905260c08201869052600060e083018190526101008301523061012083015242610140830152601f5492517f88316456000000000000000000000000000000000000000000000000000000008152919216906388316456906138c89084906004016158d5565b608060405180830381600087803b1580156138e257600080fd5b505af11580156138f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391a91906151b3565b5091995061392b9150899050612b56565b50505050505050949350505050565b60008060008060008060008060006139518a61463b565b925092509250600080600061396f8d868661396a613225565b61467d565b919f909e50909c50959a5093985091965092945050505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682158015919091179091556139ea576139ea8261178c565b806110275761102782610d6a565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000178152925182516000948594938a169392918291908083835b60208310613ad557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613a98565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613b37576040519150601f19603f3d011682016040523d82523d6000602084013e613b3c565b606091505b5091509150818015613b6a575080511580613b6a5750808060200190516020811015613b6757600080fd5b50515b613bd557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f5354460000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505050505050565b6000613be8836146cd565b1580613bfa5750613bf8826146cd565b155b613c6557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f20626f747320616c6c6f7765642100000000000000000000000000000000604482015290519081900360640190fd5b613c6e836146cd565b15613c7a575080610a64565b5081610a64565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601760205260408120541580613cdf575060195473ffffffffffffffffffffffffffffffffffffffff8316600090815260176020526040902054600143019101105b905080611027576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061579c565b600f54158015613d285750601154155b15613d3257613d48565b600f805460105560118054601255600091829055555b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff168015613da5575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16155b15613dba57613db58383836146d3565b610cde565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff16158015613e15575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff165b15613e2557613db5838383614845565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff168015613e7f575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff165b15613e8f57613db5838383614915565b610cde8383836149a2565b601054600f55601254601155565b60095460009081906a31a17e847807b1bc000000825b60085481101561401f57826003600060088481548110613eda57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff1683528201929092526040019020541180613f595750816004600060088481548110613f2557fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054115b15613f79576009546a31a17e847807b1bc0000009450945050505061405f565b613fc66003600060088481548110613f8d57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205484906129cc565b92506140156004600060088481548110613fdc57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205483906129cc565b9150600101613ebe565b50600954614038906a31a17e847807b1bc00000061294b565b821015614059576009546a31a17e847807b1bc00000093509350505061405f565b90925090505b9091565b80600260018201045b818110156140945780915060028182858161408357fe5b04018161408c57fe5b04905061406c565b50919050565b60006401000276a373ffffffffffffffffffffffffffffffffffffffff8316108015906140f0575073fffd8963efd1fc6a506488495d951d5263988d2673ffffffffffffffffffffffffffffffffffffffff8316105b61415b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600160248201527f5200000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061420557607f810383901c915061420f565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581027ffffffffffffffffffffffffffffffffffd709b7e5480fba5a50fed5e62ffc5568101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b14614457578873ffffffffffffffffffffffffffffffffffffffff1661442e826149f3565b73ffffffffffffffffffffffffffffffffffffffff1611156144505781614452565b805b614459565b815b9998505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001781529251825160009485949389169392918291908083835b6020831061453b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016144fe565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461459d576040519150601f19603f3d011682016040523d82523d6000602084013e6145a2565b606091505b50915091508180156145d05750805115806145d057508080602001905160208110156145cd57600080fd5b50515b61321e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f5341000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60008060008061464a85614d86565b9050600061465786614da3565b9050600061466f8261466989866129cc565b906129cc565b979296509094509092505050565b600080808061468c8886613492565b9050600061469a8887613492565b905060006146a88888613492565b905060006146ba8261466986866129cc565b939b939a50919850919650505050505050565b3b151590565b6000806000806000806146e58761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260046020526040902054959b5093995091975095509350915061472490886129cc565b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526004602090815260408083209390935560039052205461476090876129cc565b73ffffffffffffffffffffffffffffffffffffffff808b1660009081526003602052604080822093909355908a168152205461479c9086613248565b73ffffffffffffffffffffffffffffffffffffffff89166000908152600360205260409020556147cb81614dc0565b6147d58483614e8c565b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161483291906159b0565b60405180910390a3505050505050505050565b6000806000806000806148578761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260036020526040902054959b5093995091975095509350915061489690876129cc565b73ffffffffffffffffffffffffffffffffffffffff808b16600090815260036020908152604080832094909455918b168152600490915220546148d99084613248565b73ffffffffffffffffffffffffffffffffffffffff891660009081526004602090815260408083209390935560039052205461479c9086613248565b6000806000806000806149278761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260046020526040902054959b5093995091975095509350915061496690886129cc565b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526004602090815260408083209390935560039052205461489690876129cc565b6000806000806000806149b48761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260036020526040902054959b5093995091975095509350915061476090876129cc565b60008060008360020b12614a0a578260020b614a12565b8260020b6000035b9050620d89e8811115614a8657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600160248201527f5400000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600060018216614aa757700100000000000000000000000000000000614ab9565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615614aed576ffff97272373d413259a46990580e213a0260801c5b6004821615614b0c576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b6008821615614b2b576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b6010821615614b4a576fffcb9843d60f6159c9db58835c9266440260801c5b6020821615614b69576fff973b41fa98c081472e6896dfb254c00260801c5b6040821615614b88576fff2ea16466c96a3843ec78b326b528610260801c5b6080821615614ba7576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615614bc7576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615614be7576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615614c07576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615614c27576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615614c47576fd097f3bdfd2022b8845ad8f792aa58250260801c5b612000821615614c67576fa9f746462d870fdf8a65dc1f90e061e50260801c5b614000821615614c87576f70d869a156d2a1b890bb3df62baf32f70260801c5b618000821615614ca7576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615614cc8576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615614ce8576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615614d07576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615614d24576b048a170391f7dc42444e8fa20260801c5b60008460020b1315614d5d57807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81614d5957fe5b0490505b640100000000810615614d71576001614d74565b60005b60ff16602082901c0192505050919050565b6000610a646103e8611693600f548561349290919063ffffffff16565b6000610a646103e86116936011548561349290919063ffffffff16565b6001600b541415614e0457601154601454820281614dda57fe5b601a8054929091049091019055601154601554820281614df657fe5b601b80549290910490910190555b6000614e0e613225565b90506000614e1c8383613492565b30600090815260036020526040902054909150614e399082613248565b3060009081526003602090815260408083209390935560079052205460ff1615610cde5730600090815260046020526040902054614e779084613248565b30600090815260046020526040902055505050565b600954614e9990836129cc565b600955600a54614ea99082613248565b600a555050565b8051610d60816159c7565b8051600281900b8114610d6057600080fd5b80516fffffffffffffffffffffffffffffffff81168114610d6057600080fd5b805161ffff81168114610d6057600080fd5b805162ffffff81168114610d6057600080fd5b600060208284031215614f23578081fd5b81356132bc816159c7565b60008060408385031215614f40578081fd5b8235614f4b816159c7565b91506020830135614f5b816159c7565b809150509250929050565b600080600060608486031215614f7a578081fd5b8335614f85816159c7565b92506020840135614f95816159c7565b929592945050506040919091013590565b600080600080600060808688031215614fbd578081fd5b8535614fc8816159c7565b94506020860135614fd8816159c7565b935060408601359250606086013567ffffffffffffffff80821115614ffb578283fd5b818801915088601f83011261500e578283fd5b81358181111561501c578384fd5b89602082850101111561502d578384fd5b9699959850939650602001949392505050565b60008060408385031215615052578182fd5b823561505d816159c7565b91506020830135614f5b816159ec565b6000806040838503121561507f578182fd5b823561508a816159c7565b946020939093013593505050565b6000806000606084860312156150ac578283fd5b83356150b7816159c7565b95602085013595506040909401359392505050565b600080600080600080600060e0888a0312156150e6578182fd5b87516150f1816159c7565b96506150ff60208901614ebb565b955061510d60408901614eed565b945061511b60608901614eed565b935061512960808901614eed565b925060a088015160ff8116811461513e578283fd5b60c089015190925061514f816159ec565b8091505092959891949750929550565b600060208284031215615170578081fd5b5035919050565b600060208284031215615188578081fd5b5051919050565b600080604083850312156151a1578182fd5b823591506020830135614f5b816159ec565b600080600080608085870312156151c8578182fd5b845193506151d860208601614ecd565b6040860151606090960151949790965092505050565b60008060408385031215615200578182fd5b505080516020909101519092909150565b60008060008060808587031215615226578182fd5b8435935060208501359250604085013591506060850135615246816159c7565b939692955090935050565b6000806000806000806000806000806000806101808d8f031215615273578586fd5b8c516bffffffffffffffffffffffff8116811461528e578687fd5b9b5061529c60208e01614eb0565b9a506152aa60408e01614eb0565b99506152b860608e01614eb0565b98506152c660808e01614eff565b97506152d460a08e01614ebb565b96506152e260c08e01614ebb565b95506152f060e08e01614ecd565b94506101008d015193506101208d0151925061530f6101408e01614ecd565b915061531e6101608e01614ecd565b90509295989b509295989b509295989b565b73ffffffffffffffffffffffffffffffffffffffff169052565b60020b9052565b62ffffff169052565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b6000602080835283518082850152825b818110156153df578581018301518582016040015282016153c3565b818111156153f05783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260408201527f65666c656374696f6e7300000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f43616e6e6f7420756e6c6f636b20756e74696c2036206d6f6e74680000000000604082015260600190565b60208082526012908201527f43616e6e6f742072656d6f766520706169720000000000000000000000000000604082015260600190565b60208082526014908201527f43616e6e6f7420616464206c6971756964697479000000000000000000000000604082015260600190565b6020808252601b908201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604082015260600190565b60208082526017908201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604082015260600190565b6020808252601f908201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604082015260600190565b60208082526029908201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060408201527f7468616e207a65726f0000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f4d6178207478206672657175656e637920657863656564656421000000000000604082015260600190565b60208082526025908201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60408201527f756e74732e000000000000000000000000000000000000000000000000000000606082015260800190565b8151815260208083015173ffffffffffffffffffffffffffffffffffffffff16908201526040808301516fffffffffffffffffffffffffffffffff90811691830191909152606092830151169181019190915260800190565b600060a082019050825182526fffffffffffffffffffffffffffffffff602084015116602083015260408301516040830152606083015160608301526080830151608083015292915050565b6000610160820190506158e9828451615330565b60208301516158fb6020840182615330565b50604083015161590e6040840182615351565b506060830151615921606084018261534a565b506080830151615934608084018261534a565b5060a083015160a083015260c083015160c083015260e083015160e08301526101008084015181840152506101208084015161597282850182615330565b505061014092830151919092015290565b6fffffffffffffffffffffffffffffffff91909116815260200190565b62ffffff91909116815260200190565b90815260200190565b60ff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff811681146159e957600080fd5b50565b80151581146159e957600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000706000a4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106103905760003560e01c80636fd23588116101dc578063a4a2a9f611610102578063dc44b6a0116100a0578063efcc52de1161006f578063efcc52de146109a5578063f2488aa5146109ba578063f2fde38b146109cf578063f6887cd3146109ef57610397565b8063dc44b6a01461093b578063dd62ed3e14610950578063ea2f0b3714610970578063ebd2affc1461099057610397565b8063b02c43d0116100dc578063b02c43d0146108c4578063b44a2722146108f1578063b62496f514610906578063bbc0c7421461092657610397565b8063a4a2a9f61461086f578063a69df4b51461088f578063a9059cbb146108a457610397565b806388f820201161017a5780639686d322116101495780639686d322146107fa5780639a7a23d61461081a5780639d1b464a1461083a578063a457c2d71461084f57610397565b806388f820201461079b57806389a30271146107bb5780638da5cb5b146107d057806395d89b41146107e557610397565b8063744ac697116101b6578063744ac6971461073157806377a59f001461074657806378e97925146107665780637cc8eb761461077b57610397565b80636fd23588146106e757806370a08231146106fc578063715018a61461071c57610397565b8063313ce567116102c1578063437823ec1161025f57806352390c021161022e57806352390c021461067d5780635342acb41461069d57806362015852146106bd5780636ddd1713146106d257610397565b8063437823ec1461061357806343c667b4146106335780634549b0391461064857806349bd5a5e1461066857610397565b80633a924d5b1161029b5780633a924d5b146105b45780633ad10ef6146105c9578063417c7985146105de57806341f20b68146105fe57610397565b8063313ce567146105525780633685d41914610574578063395093511461059457610397565b80631868aadf1161032e578063251c1aa311610308578063251c1aa3146104e65780632692166e146104fb5780632c76d7a61461051d5780632d8381191461053257610397565b80631868aadf1461049c57806319291c69146104b157806323b872dd146104c657610397565b806313114a9d1161036a57806313114a9d14610416578063150b7a02146104385780631694505e1461046557806318160ddd1461048757610397565b806306fdde031461039c578063089fe6aa146103c7578063095ea7b3146103e957610397565b3661039757005b600080fd5b3480156103a857600080fd5b506103b1610a0f565b6040516103be91906153b3565b60405180910390f35b3480156103d357600080fd5b506103dc610a46565b6040516103be91906159a0565b3480156103f557600080fd5b5061040961040436600461506d565b610a4c565b6040516103be919061537b565b34801561042257600080fd5b5061042b610a6a565b6040516103be91906159b0565b34801561044457600080fd5b50610458610453366004614fa6565b610a70565b6040516103be9190615386565b34801561047157600080fd5b5061047a610aa6565b6040516103be919061535a565b34801561049357600080fd5b5061042b610ac2565b3480156104a857600080fd5b5061042b610ad1565b3480156104bd57600080fd5b5061042b610ad7565b3480156104d257600080fd5b506104096104e1366004614f66565b610add565b3480156104f257600080fd5b5061042b610b7e565b34801561050757600080fd5b5061051b610516366004614f2e565b610b84565b005b34801561052957600080fd5b5061047a610ce3565b34801561053e57600080fd5b5061042b61054d36600461515f565b610cff565b34801561055e57600080fd5b50610567610d65565b6040516103be91906159b9565b34801561058057600080fd5b5061051b61058f366004614f12565b610d6a565b3480156105a057600080fd5b506104096105af36600461506d565b61102b565b3480156105c057600080fd5b5061047a611086565b3480156105d557600080fd5b5061047a6110a2565b3480156105ea57600080fd5b5061051b6105f9366004615211565b6110be565b34801561060a57600080fd5b506104096111f2565b34801561061f57600080fd5b5061051b61062e366004614f12565b611200565b34801561063f57600080fd5b5061051b6112f7565b34801561065457600080fd5b5061042b61066336600461518f565b6116f0565b34801561067457600080fd5b5061047a611770565b34801561068957600080fd5b5061051b610698366004614f12565b61178c565b3480156106a957600080fd5b506104096106b8366004614f12565b611a00565b3480156106c957600080fd5b5061042b611a2b565b3480156106de57600080fd5b50610409611a31565b3480156106f357600080fd5b50610409611a53565b34801561070857600080fd5b5061042b610717366004614f12565b611a5c565b34801561072857600080fd5b5061051b611ae5565b34801561073d57600080fd5b5061042b611bfc565b34801561075257600080fd5b5061042b610761366004614f12565b611c02565b34801561077257600080fd5b5061042b611c14565b34801561078757600080fd5b5061051b61079636600461515f565b611c1a565b3480156107a757600080fd5b506104096107b6366004614f12565b611cce565b3480156107c757600080fd5b5061047a611cf9565b3480156107dc57600080fd5b5061047a611d11565b3480156107f157600080fd5b506103b1611d2d565b34801561080657600080fd5b5061051b610815366004615040565b611d64565b34801561082657600080fd5b5061051b610835366004615040565b611e62565b34801561084657600080fd5b5061042b611f69565b34801561085b57600080fd5b5061040961086a36600461506d565b611f6f565b34801561087b57600080fd5b5061051b61088a366004615098565b611fe4565b34801561089b57600080fd5b5061051b612393565b3480156108b057600080fd5b506104096108bf36600461506d565b6125df565b3480156108d057600080fd5b506108e46108df36600461515f565b6125f3565b6040516103be9190615983565b3480156108fd57600080fd5b5061047a612617565b34801561091257600080fd5b50610409610921366004614f12565b612633565b34801561093257600080fd5b50610409612648565b34801561094757600080fd5b5061042b612651565b34801561095c57600080fd5b5061042b61096b366004614f2e565b612657565b34801561097c57600080fd5b5061051b61098b366004614f12565b61268f565b34801561099c57600080fd5b5061042b612783565b3480156109b157600080fd5b5061042b612789565b3480156109c657600080fd5b5061042b61278f565b3480156109db57600080fd5b5061051b6109ea366004614f12565b612795565b3480156109fb57600080fd5b50610409610a0a366004614f12565b612936565b60408051808201909152601481527f536563726574206f662054686520537068696e78000000000000000000000000602082015290565b6101f481565b6000610a60610a59612a43565b8484612a47565b5060015b92915050565b600a5490565b6000610a7b84612b56565b507f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b60255473ffffffffffffffffffffffffffffffffffffffff1681565b6a31a17e847807b1bc00000090565b60195481565b60225481565b6000610aea848484612c5a565b610b7484610af6612a43565b610b6f85604051806060016040528060288152602001615a426028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260056020526040812090610b41612a43565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190612f98565b612a47565b5060019392505050565b600d5481565b610b8c612a43565b73ffffffffffffffffffffffffffffffffffffffff16610baa611d11565b73ffffffffffffffffffffffffffffffffffffffff1614610c2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190610c8190309060040161535a565b60206040518083038186803b158015610c9957600080fd5b505afa158015610cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd19190615177565b9050610cde838383613049565b505050565b601d5473ffffffffffffffffffffffffffffffffffffffff1681565b6000600954821115610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615481565b60405180910390fd5b6000610d50613225565b9050610d5c838261294b565b9150505b919050565b601290565b610d72612a43565b73ffffffffffffffffffffffffffffffffffffffff16610d90611d11565b73ffffffffffffffffffffffffffffffffffffffff1614610e1257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604090205460ff16610e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615617565b60005b600854811015611027578173ffffffffffffffffffffffffffffffffffffffff1660088281548110610ea257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561101f57600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908110610efa57fe5b6000918252602090912001546008805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610f2d57fe5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055918416815260048252604080822082905560079092522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556008805480610fc257fe5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055611027565b600101610e74565b5050565b6000610a60611038612a43565b84610b6f8560056000611049612a43565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490613248565b601e5473ffffffffffffffffffffffffffffffffffffffff1681565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6110c6612a43565b73ffffffffffffffffffffffffffffffffffffffff166110e4611d11565b73ffffffffffffffffffffffffffffffffffffffff161461116657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b601393909355601491909155601555600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff928316179081905516600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b601654610100900460ff1681565b611208612a43565b73ffffffffffffffffffffffffffffffffffffffff16611226611d11565b73ffffffffffffffffffffffffffffffffffffffff16146112a857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6112ff612a43565b73ffffffffffffffffffffffffffffffffffffffff1661131d611d11565b73ffffffffffffffffffffffffffffffffffffffff161461139f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6113aa6020546132c3565b6113b56020546133b7565b6113c06021546132c3565b6113cb6021546133b7565b6113d66022546132c3565b6113e16022546133b7565b6113ec6023546132c3565b6113f76023546133b7565b600061140230611a5c565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815290915060009073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906370a082319061145890309060040161535a565b60206040518083038186803b15801561147057600080fd5b505afa158015611484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a89190615177565b905060006114b782606461294b565b6002549091506114f39073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489073ffffffffffffffffffffffffffffffffffffffff1683613049565b8082039150600080601e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633850c7bd6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561156357600080fd5b505afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b91906150cc565b5050505050915091506000808260020b126115c957600a8260020b816115bd57fe5b05600a02600a016115dd565b600a808360020b816115d757fe5b05600a02035b90506000808360020b1261160357600a808460020b816115f957fe5b05600a0203611618565b600a8360020b8161161057fe5b05600a02600a015b905060c061164e670de0b6b3a764000061164873ffffffffffffffffffffffffffffffffffffffff881680613492565b90613492565b901c60248190555060008060008061166860245488613505565b935093509350935061167d60008b86896136ad565b6020556116a261169960646116938e6014613492565b9061294b565b600087866136ad565b6021556116c16116b860646116938e601e613492565b600085856136ad565b6022556116e06116d760646116938e6032613492565b600084846136ad565b6023555050505050505050505050565b60006a31a17e847807b1bc000000831115611737576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061564e565b816117565760006117478461393a565b50939550610a64945050505050565b60006117618461393a565b50929550610a64945050505050565b60265473ffffffffffffffffffffffffffffffffffffffff1681565b611794612a43565b73ffffffffffffffffffffffffffffffffffffffff166117b2611d11565b73ffffffffffffffffffffffffffffffffffffffff161461183457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604090205460ff1615611894576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906155e0565b6008546032600190910111156118d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906157d3565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260036020526040902054156119575773ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604090205461193090610cff565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260409020555b73ffffffffffffffffffffffffffffffffffffffff16600081815260076020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556008805491820181559091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff1660009081526006602052604090205460ff1690565b60155481565b6026547501000000000000000000000000000000000000000000900460ff1681565b600e5460ff1681565b73ffffffffffffffffffffffffffffffffffffffff811660009081526007602052604081205460ff1615611ab6575073ffffffffffffffffffffffffffffffffffffffff8116600090815260046020526040902054610d60565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040902054610a6490610cff565b611aed612a43565b73ffffffffffffffffffffffffffffffffffffffff16611b0b611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611b8d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60205481565b60176020526000908152604090205481565b600c5481565b611c22612a43565b73ffffffffffffffffffffffffffffffffffffffff16611c40611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611cc257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b62015180024201600d55565b73ffffffffffffffffffffffffffffffffffffffff1660009081526007602052604090205460ff1690565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60408051808201909152600681527f535048494e580000000000000000000000000000000000000000000000000000602082015290565b611d6c612a43565b73ffffffffffffffffffffffffffffffffffffffff16611d8a611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611e0c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260186020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b611e6a612a43565b73ffffffffffffffffffffffffffffffffffffffff16611e88611d11565b73ffffffffffffffffffffffffffffffffffffffff1614611f0a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60265473ffffffffffffffffffffffffffffffffffffffff83811691161415611f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615572565b6110278282613989565b60245481565b6000610a60611f7c612a43565b84610b6f85604051806060016040528060258152602001615a6a6025913960056000611fa6612a43565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190612f98565b611fec612a43565b73ffffffffffffffffffffffffffffffffffffffff1661200a611d11565b73ffffffffffffffffffffffffffffffffffffffff161461208c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b612098303330856139f8565b6120b873a0b86991c6218b36c1d19d4a2e9eb0ce3606eb483330846139f8565b42600c81905562ed4e0001600d5560168054602680547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1675010000000000000000000000000000000000000000001790557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091821660019081179190911661010017909255600e805482168317905573ffffffffffffffffffffffffffffffffffffffff851660009081526018602052604090208054909116821790556121a2908490613989565b601e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8581169190911791829055604080517f3850c7bd000000000000000000000000000000000000000000000000000000008152905160009384931691633850c7bd9160048083019260e0929190829003018186803b15801561223d57600080fd5b505afa158015612251573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227591906150cc565b5050505050915091506000808260020b126122a357600a8260020b8161229757fe5b05600a02600a016122b7565b600a808360020b816122b157fe5b05600a02035b90506000808360020b126122dd57600a808460020b816122d357fe5b05600a02036122f2565b600a8360020b816122ea57fe5b05600a02600a015b905060c0612322670de0b6b3a764000061164873ffffffffffffffffffffffffffffffffffffffff881680613492565b901c60248190555060008060008061233c60245488613505565b935093509350935061235160008a86896136ad565b60205561236761169960646116938d6014613492565b60215561237d6116b860646116938d601e613492565b6022556116e06116d760646116938d6032613492565b61239b612a43565b73ffffffffffffffffffffffffffffffffffffffff166123b9611d11565b73ffffffffffffffffffffffffffffffffffffffff161461243b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b42600d5410612476576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061553b565b6124816020546132c3565b61248c6020546133b7565b6124976021546132c3565b6124a26021546133b7565b6124ad6022546132c3565b6124b86022546133b7565b6124c36023546132c3565b6124ce6023546133b7565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48906370a082319061252190309060040161535a565b60206040518083038186803b15801561253957600080fd5b505afa15801561254d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125719190615177565b9050600061257e30611a5c565b6002549091506125ba9073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489073ffffffffffffffffffffffffffffffffffffffff1684613049565b60025461102790309073ffffffffffffffffffffffffffffffffffffffff1683613049565b6000610a606125ec612a43565b8484612c5a565b6001602052600090815260409020546fffffffffffffffffffffffffffffffff1681565b601f5473ffffffffffffffffffffffffffffffffffffffff1681565b601c6020526000908152604090205460ff1681565b60165460ff1681565b60145481565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205490565b612697612a43565b73ffffffffffffffffffffffffffffffffffffffff166126b5611d11565b73ffffffffffffffffffffffffffffffffffffffff161461273757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff16600090815260066020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60215481565b60135481565b60235481565b61279d612a43565b73ffffffffffffffffffffffffffffffffffffffff166127bb611d11565b73ffffffffffffffffffffffffffffffffffffffff161461283d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166128a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806159fb6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60186020526000908152604090205460ff1681565b60008082116129bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816129c457fe5b049392505050565b600082821115612a3d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316612a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061573f565b73ffffffffffffffffffffffffffffffffffffffff8216612ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906154de565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526005602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612b499085906159b0565b60405180910390a3505050565b601f546040517f99fbab8800000000000000000000000000000000000000000000000000000000815260009173ffffffffffffffffffffffffffffffffffffffff16906399fbab8890612bad9085906004016159b0565b6101806040518083038186803b158015612bc657600080fd5b505afa158015612bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bfe9190615251565b50505060009a8b52506001602052604090992080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff909a16999099179098555050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316612ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906156e2565b73ffffffffffffffffffffffffffffffffffffffff8216612cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615424565b60008111612d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90615685565b60165460ff16612dc95773ffffffffffffffffffffffffffffffffffffffff83166000908152601c602052604090205460ff161580612d93575073ffffffffffffffffffffffffffffffffffffffff82166000908152601c602052604090205460ff16155b612dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906155a9565b601654610100900460ff1615612e795773ffffffffffffffffffffffffffffffffffffffff831660009081526018602052604090205460ff16158015612e35575073ffffffffffffffffffffffffffffffffffffffff821660009081526018602052604090205460ff16155b15612e79576000612e468484613bdd565b9050612e5181613c81565b73ffffffffffffffffffffffffffffffffffffffff1660009081526017602052604090204390555b612e81613d18565b600e5460ff1615612ed457600c5462093a8001421015612ed4576014601381905560329055601e601555600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b6003600b5573ffffffffffffffffffffffffffffffffffffffff831660009081526006602052604090205460ff16158015612f35575073ffffffffffffffffffffffffffffffffffffffff821660009081526006602052604090205460ff16155b15612f855773ffffffffffffffffffffffffffffffffffffffff83166000908152601c602052604090205460ff1615612f8557601354600f5560155460145401601181905515612f85576001600b555b612f90838383613d4a565b610cde613e9a565b60008184841115613041576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613006578181015183820152602001612fee565b50505050905090810190601f1680156130335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251825160009485949389169392918291908083835b6020831061311e57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016130e1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613180576040519150601f19603f3d011682016040523d82523d6000602084013e613185565b606091505b50915091508180156131b35750805115806131b357508080602001905160208110156131b057600080fd5b50515b61321e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f5354000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b6000806000613232613ea8565b9092509050613241828261294b565b9250505090565b6000828201838110156132bc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600081815260016020908152604080832054815160a0810183528581526fffffffffffffffffffffffffffffffff9091169281018390528082018490526060810193909352426080840152601f5490517f0c49ccbe00000000000000000000000000000000000000000000000000000000815291929173ffffffffffffffffffffffffffffffffffffffff90911690630c49ccbe90613366908490600401615889565b6040805180830381600087803b15801561337f57600080fd5b505af1158015613393573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321e91906151ee565b604080516080810182528281523060208201526fffffffffffffffffffffffffffffffff8183018190526060820152601f5491517ffc6f7865000000000000000000000000000000000000000000000000000000008152909173ffffffffffffffffffffffffffffffffffffffff169063fc6f78659061343b908490600401615830565b6040805180830381600087803b15801561345457600080fd5b505af1158015613468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061348c91906151ee565b50505050565b6000826134a157506000610a64565b828202828482816134ae57fe5b04146132bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615a216021913960400191505060405180910390fd5b60008060008060008060008060008960020b12156135b157613548613543670de0b6b3a764000060c06135398e600a61294b565b8e03901b9061294b565b614063565b935061356e613543670de0b6b3a764000060c06135668e6002613492565b901b9061294b565b925061358c613543670de0b6b3a764000060c06135668e6003613492565b91506135aa613543670de0b6b3a764000060c06135668e6004613492565b9050613634565b6135d7613543670de0b6b3a764000060c06135cd8e600a61294b565b8e01901b9061294b565b93506135f5613543670de0b6b3a764000060c06135668e600261294b565b9250613613613543670de0b6b3a764000060c06135668e600361294b565b9150613631613543670de0b6b3a764000060c06135668e600461294b565b90505b600a61363f8561409a565b60020b8161364957fe5b05600a029750600a61365a8461409a565b60020b8161366457fe5b05600a029650600a6136758361409a565b60020b8161367f57fe5b05600a029550600a6136908261409a565b60020b8161369a57fe5b05600a0294505050505092959194509250565b6000806000806000808660020b8860020b126136c957866136cb565b875b905060008760020b8960020b126136e257886136e4565b875b9050600281900b620d89e8126136fa57806136ff565b620d89e85b90507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27618600283900b126137325781613754565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff276185b601f5490925061377c90309073ffffffffffffffffffffffffffffffffffffffff168d614466565b601f546137b59073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb489073ffffffffffffffffffffffffffffffffffffffff168c614466565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb483010156137f65730955073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4894508a9350899250613817565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4895503094508993508a92505b604080516101608101825273ffffffffffffffffffffffffffffffffffffffff808916825287811660208301526101f482840152600285810b606084015284900b608083015260a0820187905260c08201869052600060e083018190526101008301523061012083015242610140830152601f5492517f88316456000000000000000000000000000000000000000000000000000000008152919216906388316456906138c89084906004016158d5565b608060405180830381600087803b1580156138e257600080fd5b505af11580156138f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391a91906151b3565b5091995061392b9150899050612b56565b50505050505050949350505050565b60008060008060008060008060006139518a61463b565b925092509250600080600061396f8d868661396a613225565b61467d565b919f909e50909c50959a5093985091965092945050505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682158015919091179091556139ea576139ea8261178c565b806110275761102782610d6a565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000178152925182516000948594938a169392918291908083835b60208310613ad557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613a98565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613b37576040519150601f19603f3d011682016040523d82523d6000602084013e613b3c565b606091505b5091509150818015613b6a575080511580613b6a5750808060200190516020811015613b6757600080fd5b50515b613bd557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f5354460000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505050505050565b6000613be8836146cd565b1580613bfa5750613bf8826146cd565b155b613c6557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f20626f747320616c6c6f7765642100000000000000000000000000000000604482015290519081900360640190fd5b613c6e836146cd565b15613c7a575080610a64565b5081610a64565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601760205260408120541580613cdf575060195473ffffffffffffffffffffffffffffffffffffffff8316600090815260176020526040902054600143019101105b905080611027576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d9061579c565b600f54158015613d285750601154155b15613d3257613d48565b600f805460105560118054601255600091829055555b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff168015613da5575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16155b15613dba57613db58383836146d3565b610cde565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff16158015613e15575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff165b15613e2557613db5838383614845565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff168015613e7f575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff165b15613e8f57613db5838383614915565b610cde8383836149a2565b601054600f55601254601155565b60095460009081906a31a17e847807b1bc000000825b60085481101561401f57826003600060088481548110613eda57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff1683528201929092526040019020541180613f595750816004600060088481548110613f2557fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054115b15613f79576009546a31a17e847807b1bc0000009450945050505061405f565b613fc66003600060088481548110613f8d57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205484906129cc565b92506140156004600060088481548110613fdc57fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205483906129cc565b9150600101613ebe565b50600954614038906a31a17e847807b1bc00000061294b565b821015614059576009546a31a17e847807b1bc00000093509350505061405f565b90925090505b9091565b80600260018201045b818110156140945780915060028182858161408357fe5b04018161408c57fe5b04905061406c565b50919050565b60006401000276a373ffffffffffffffffffffffffffffffffffffffff8316108015906140f0575073fffd8963efd1fc6a506488495d951d5263988d2673ffffffffffffffffffffffffffffffffffffffff8316105b61415b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600160248201527f5200000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b77ffffffffffffffffffffffffffffffffffffffff00000000602083901b166fffffffffffffffffffffffffffffffff811160071b81811c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211600190811b92831c9790881196179094179092171790911717176080811061420557607f810383901c915061420f565b80607f0383901b91505b908002607f81811c60ff83811c9190911c800280831c81831c1c800280841c81841c1c800280851c81851c1c800280861c81861c1c800280871c81871c1c800280881c81881c1c800280891c81891c1c8002808a1c818a1c1c8002808b1c818b1c1c8002808c1c818c1c1c8002808d1c818d1c1c8002808e1c9c81901c9c909c1c80029c8d901c9e9d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808f0160401b60c09190911c678000000000000000161760c19b909b1c674000000000000000169a909a1760c29990991c672000000000000000169890981760c39790971c671000000000000000169690961760c49590951c670800000000000000169490941760c59390931c670400000000000000169290921760c69190911c670200000000000000161760c79190911c670100000000000000161760c89190911c6680000000000000161760c99190911c6640000000000000161760ca9190911c6620000000000000161760cb9190911c6610000000000000161760cc9190911c6608000000000000161760cd9190911c66040000000000001617693627a301d71055774c8581027ffffffffffffffffffffffffffffffffffd709b7e5480fba5a50fed5e62ffc5568101608090811d906fdb2df09e81959a81455e260799a0632f8301901d600281810b9083900b14614457578873ffffffffffffffffffffffffffffffffffffffff1661442e826149f3565b73ffffffffffffffffffffffffffffffffffffffff1611156144505781614452565b805b614459565b815b9998505050505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001781529251825160009485949389169392918291908083835b6020831061453b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016144fe565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461459d576040519150601f19603f3d011682016040523d82523d6000602084013e6145a2565b606091505b50915091508180156145d05750805115806145d057508080602001905160208110156145cd57600080fd5b50515b61321e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f5341000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60008060008061464a85614d86565b9050600061465786614da3565b9050600061466f8261466989866129cc565b906129cc565b979296509094509092505050565b600080808061468c8886613492565b9050600061469a8887613492565b905060006146a88888613492565b905060006146ba8261466986866129cc565b939b939a50919850919650505050505050565b3b151590565b6000806000806000806146e58761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260046020526040902054959b5093995091975095509350915061472490886129cc565b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526004602090815260408083209390935560039052205461476090876129cc565b73ffffffffffffffffffffffffffffffffffffffff808b1660009081526003602052604080822093909355908a168152205461479c9086613248565b73ffffffffffffffffffffffffffffffffffffffff89166000908152600360205260409020556147cb81614dc0565b6147d58483614e8c565b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161483291906159b0565b60405180910390a3505050505050505050565b6000806000806000806148578761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260036020526040902054959b5093995091975095509350915061489690876129cc565b73ffffffffffffffffffffffffffffffffffffffff808b16600090815260036020908152604080832094909455918b168152600490915220546148d99084613248565b73ffffffffffffffffffffffffffffffffffffffff891660009081526004602090815260408083209390935560039052205461479c9086613248565b6000806000806000806149278761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260046020526040902054959b5093995091975095509350915061496690886129cc565b73ffffffffffffffffffffffffffffffffffffffff8a1660009081526004602090815260408083209390935560039052205461489690876129cc565b6000806000806000806149b48761393a565b73ffffffffffffffffffffffffffffffffffffffff8f16600090815260036020526040902054959b5093995091975095509350915061476090876129cc565b60008060008360020b12614a0a578260020b614a12565b8260020b6000035b9050620d89e8811115614a8657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600160248201527f5400000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600060018216614aa757700100000000000000000000000000000000614ab9565b6ffffcb933bd6fad37aa2d162d1a5940015b70ffffffffffffffffffffffffffffffffff1690506002821615614aed576ffff97272373d413259a46990580e213a0260801c5b6004821615614b0c576ffff2e50f5f656932ef12357cf3c7fdcc0260801c5b6008821615614b2b576fffe5caca7e10e4e61c3624eaa0941cd00260801c5b6010821615614b4a576fffcb9843d60f6159c9db58835c9266440260801c5b6020821615614b69576fff973b41fa98c081472e6896dfb254c00260801c5b6040821615614b88576fff2ea16466c96a3843ec78b326b528610260801c5b6080821615614ba7576ffe5dee046a99a2a811c461f1969c30530260801c5b610100821615614bc7576ffcbe86c7900a88aedcffc83b479aa3a40260801c5b610200821615614be7576ff987a7253ac413176f2b074cf7815e540260801c5b610400821615614c07576ff3392b0822b70005940c7a398e4b70f30260801c5b610800821615614c27576fe7159475a2c29b7443b29c7fa6e889d90260801c5b611000821615614c47576fd097f3bdfd2022b8845ad8f792aa58250260801c5b612000821615614c67576fa9f746462d870fdf8a65dc1f90e061e50260801c5b614000821615614c87576f70d869a156d2a1b890bb3df62baf32f70260801c5b618000821615614ca7576f31be135f97d08fd981231505542fcfa60260801c5b62010000821615614cc8576f09aa508b5b7a84e1c677de54f3e99bc90260801c5b62020000821615614ce8576e5d6af8dedb81196699c329225ee6040260801c5b62040000821615614d07576d2216e584f5fa1ea926041bedfe980260801c5b62080000821615614d24576b048a170391f7dc42444e8fa20260801c5b60008460020b1315614d5d57807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81614d5957fe5b0490505b640100000000810615614d71576001614d74565b60005b60ff16602082901c0192505050919050565b6000610a646103e8611693600f548561349290919063ffffffff16565b6000610a646103e86116936011548561349290919063ffffffff16565b6001600b541415614e0457601154601454820281614dda57fe5b601a8054929091049091019055601154601554820281614df657fe5b601b80549290910490910190555b6000614e0e613225565b90506000614e1c8383613492565b30600090815260036020526040902054909150614e399082613248565b3060009081526003602090815260408083209390935560079052205460ff1615610cde5730600090815260046020526040902054614e779084613248565b30600090815260046020526040902055505050565b600954614e9990836129cc565b600955600a54614ea99082613248565b600a555050565b8051610d60816159c7565b8051600281900b8114610d6057600080fd5b80516fffffffffffffffffffffffffffffffff81168114610d6057600080fd5b805161ffff81168114610d6057600080fd5b805162ffffff81168114610d6057600080fd5b600060208284031215614f23578081fd5b81356132bc816159c7565b60008060408385031215614f40578081fd5b8235614f4b816159c7565b91506020830135614f5b816159c7565b809150509250929050565b600080600060608486031215614f7a578081fd5b8335614f85816159c7565b92506020840135614f95816159c7565b929592945050506040919091013590565b600080600080600060808688031215614fbd578081fd5b8535614fc8816159c7565b94506020860135614fd8816159c7565b935060408601359250606086013567ffffffffffffffff80821115614ffb578283fd5b818801915088601f83011261500e578283fd5b81358181111561501c578384fd5b89602082850101111561502d578384fd5b9699959850939650602001949392505050565b60008060408385031215615052578182fd5b823561505d816159c7565b91506020830135614f5b816159ec565b6000806040838503121561507f578182fd5b823561508a816159c7565b946020939093013593505050565b6000806000606084860312156150ac578283fd5b83356150b7816159c7565b95602085013595506040909401359392505050565b600080600080600080600060e0888a0312156150e6578182fd5b87516150f1816159c7565b96506150ff60208901614ebb565b955061510d60408901614eed565b945061511b60608901614eed565b935061512960808901614eed565b925060a088015160ff8116811461513e578283fd5b60c089015190925061514f816159ec565b8091505092959891949750929550565b600060208284031215615170578081fd5b5035919050565b600060208284031215615188578081fd5b5051919050565b600080604083850312156151a1578182fd5b823591506020830135614f5b816159ec565b600080600080608085870312156151c8578182fd5b845193506151d860208601614ecd565b6040860151606090960151949790965092505050565b60008060408385031215615200578182fd5b505080516020909101519092909150565b60008060008060808587031215615226578182fd5b8435935060208501359250604085013591506060850135615246816159c7565b939692955090935050565b6000806000806000806000806000806000806101808d8f031215615273578586fd5b8c516bffffffffffffffffffffffff8116811461528e578687fd5b9b5061529c60208e01614eb0565b9a506152aa60408e01614eb0565b99506152b860608e01614eb0565b98506152c660808e01614eff565b97506152d460a08e01614ebb565b96506152e260c08e01614ebb565b95506152f060e08e01614ecd565b94506101008d015193506101208d0151925061530f6101408e01614ecd565b915061531e6101608e01614ecd565b90509295989b509295989b509295989b565b73ffffffffffffffffffffffffffffffffffffffff169052565b60020b9052565b62ffffff169052565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b6000602080835283518082850152825b818110156153df578581018301518582016040015282016153c3565b818111156153f05783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260408201527f65666c656374696f6e7300000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f43616e6e6f7420756e6c6f636b20756e74696c2036206d6f6e74680000000000604082015260600190565b60208082526012908201527f43616e6e6f742072656d6f766520706169720000000000000000000000000000604082015260600190565b60208082526014908201527f43616e6e6f7420616464206c6971756964697479000000000000000000000000604082015260600190565b6020808252601b908201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604082015260600190565b60208082526017908201527f4163636f756e74206973206e6f74206578636c75646564000000000000000000604082015260600190565b6020808252601f908201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604082015260600190565b60208082526029908201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060408201527f7468616e207a65726f0000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f4d6178207478206672657175656e637920657863656564656421000000000000604082015260600190565b60208082526025908201527f43616e6e6f74206578636c756465206d6f7265207468616e203530206163636f60408201527f756e74732e000000000000000000000000000000000000000000000000000000606082015260800190565b8151815260208083015173ffffffffffffffffffffffffffffffffffffffff16908201526040808301516fffffffffffffffffffffffffffffffff90811691830191909152606092830151169181019190915260800190565b600060a082019050825182526fffffffffffffffffffffffffffffffff602084015116602083015260408301516040830152606083015160608301526080830151608083015292915050565b6000610160820190506158e9828451615330565b60208301516158fb6020840182615330565b50604083015161590e6040840182615351565b506060830151615921606084018261534a565b506080830151615934608084018261534a565b5060a083015160a083015260c083015160c083015260e083015160e08301526101008084015181840152506101208084015161597282850182615330565b505061014092830151919092015290565b6fffffffffffffffffffffffffffffffff91909116815260200190565b62ffffff91909116815260200190565b90815260200190565b60ff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff811681146159e957600080fd5b50565b80151581146159e957600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000706000a

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.