ETH Price: $3,473.79 (+0.75%)

Token

Ordiswap (ORDS)
 

Overview

Max Total Supply

991,308,988.75344145084686 ORDS

Holders

12,548 ( 0.024%)

Market

Price

$0.00 @ 0.000001 ETH (+2.42%)

Onchain Market Cap

$2,108,600.99

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,813.250302 ORDS

Value
$3.86 ( ~0.00111117717241762 Eth) [0.0002%]
0x9680700BbF3Cca9eF73FFFD05Fde5587A56053D6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Ordiswap is a pioneering protocol, merges the worlds of Bitcoin and DeFi by introducing the first AMM on Bitcoin's native layer through off-chain balance state logic.

Market

Volume (24H):$287,364.83
Market Capitalization:$0.00
Circulating Supply:0.00 ORDS
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OrdiswapToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.8.19;
pragma experimental ABIEncoderV2;

import "@openzeppelin/[email protected]/access/Ownable.sol";
import "@openzeppelin/[email protected]/utils/math/SafeMath.sol";
import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol";
import "@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol";
import "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

interface IUniswapV3Router is ISwapRouter {
    function factory() external pure returns (address);
}

contract OrdiswapToken is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    IUniswapV3Router public immutable uniswapV3Router;
    address public uniswapV2Pair;
    address public uniswapV3Pool10000;
    address public uniswapV3Pool3000;
    address public uniswapV3Pool500;
    address public uniswapV3Pool100;
    address public constant ZERO_ADDRESS = address(0);
    address public constant DEAD_ADDRESS = address(0xdead);

    bool private _swapping;
    bool private _v3LPProtectionEnabled;
    bool public swapEnabled;
    bool public taxesEnabled;
    bool public launched;

    address public operationsWallet;

    uint256 public launchBlock;
    uint256 public launchTime;

    uint256 public swapTokensAtAmount;

    uint256 public buyFees;

    uint256 public sellFees;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _automatedMarketMakerPairsV2;
    mapping(address => bool) private _automatedMarketMakerPairsV3;
    mapping(address => bool) private _isBot;

    event Airdrop(address account, uint256 amount);
    event Launch(uint256 blockNumber, uint256 timestamp);
    event PrepareForMigration(uint256 blockNumber, uint256 timestamp);
    event SetSwapEnabled(bool status);
    event SetTaxesEnabled(bool status);
    event SetSwapTokensAtAmount(uint256 oldValue, uint256 newValue);
    event SetBuyFees(uint256 oldValue, uint256 newValue);
    event SetSellFees(uint256 oldValue, uint256 newValue);
    event SetOperationsWallet(
        address indexed oldWallet,
        address indexed newWallet
    );
    event WithdrawStuckTokens(address token, uint256 amount);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetBots(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPairV2(
        address indexed pair,
        bool indexed value
    );
    event SetAutomatedMarketMakerPairV3(
        address indexed pair,
        bool indexed value
    );

    modifier lockSwapping() {
        _swapping = true;
        _;
        _swapping = false;
    }

    constructor() ERC20("Ordiswap", "ORDS") {
        uint256 totalSupply = 1_000_000_000 ether;

        uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        uniswapV3Router = IUniswapV3Router(
            0xE592427A0AEce92De3Edee1F18E0157C05861564
        );

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

        swapTokensAtAmount = totalSupply.mul(1).div(100000);

        operationsWallet = owner();

        _excludeFromFees(owner(), true);
        _excludeFromFees(address(this), true);
        _excludeFromFees(DEAD_ADDRESS, true);
        _excludeFromFees(operationsWallet, true);

        _mint(owner(), totalSupply);
    }

    receive() external payable {}

    function burn(uint256 amount) public {
        _burn(msg.sender, amount);
    }

    function airdrop(address[] memory accounts, uint256[] memory amounts)
        public
        onlyOwner
    {
        require(
            accounts.length == amounts.length,
            "arrays must be the same length"
        );
        for (uint256 i = 0; i < accounts.length; i++) {
            address account = accounts[i];
            uint256 amount = amounts[i];
            _transfer(_msgSender(), account, amount);
            emit Airdrop(account, amount);
        }
    }

    function launch() public onlyOwner {
        require(!launched, "ERC20: Already launched.");
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair(
            address(this),
            uniswapV2Router.WETH()
        );
        if (uniswapV2Pair == ZERO_ADDRESS) {
            uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
                .createPair(address(this), uniswapV2Router.WETH());
        }
        uniswapV3Pool10000 = IUniswapV3Factory(uniswapV3Router.factory())
            .getPool(address(this), uniswapV2Router.WETH(), 10000);
        uniswapV3Pool3000 = IUniswapV3Factory(uniswapV3Router.factory())
            .getPool(address(this), uniswapV2Router.WETH(), 3000);
        uniswapV3Pool500 = IUniswapV3Factory(uniswapV3Router.factory()).getPool(
            address(this),
            uniswapV2Router.WETH(),
            500
        );
        uniswapV3Pool100 = IUniswapV3Factory(uniswapV3Router.factory()).getPool(
            address(this),
            uniswapV2Router.WETH(),
            100
        );
        if (uniswapV3Pool10000 == ZERO_ADDRESS) {
            uniswapV3Pool10000 = IUniswapV3Factory(uniswapV3Router.factory())
                .createPool(address(this), uniswapV2Router.WETH(), 10000);
        }
        if (uniswapV3Pool3000 == ZERO_ADDRESS) {
            uniswapV3Pool3000 = IUniswapV3Factory(uniswapV3Router.factory())
                .createPool(address(this), uniswapV2Router.WETH(), 3000);
        }
        if (uniswapV3Pool500 == ZERO_ADDRESS) {
            uniswapV3Pool500 = IUniswapV3Factory(uniswapV3Router.factory())
                .createPool(address(this), uniswapV2Router.WETH(), 500);
        }
        if (uniswapV3Pool100 == ZERO_ADDRESS) {
            uniswapV3Pool100 = IUniswapV3Factory(uniswapV3Router.factory())
                .createPool(address(this), uniswapV2Router.WETH(), 100);
        }

        _approve(address(this), address(uniswapV2Pair), type(uint256).max);
        _approve(address(this), address(uniswapV3Pool10000), type(uint256).max);
        _approve(address(this), address(uniswapV3Pool3000), type(uint256).max);
        _approve(address(this), address(uniswapV3Pool500), type(uint256).max);
        _approve(address(this), address(uniswapV3Pool100), type(uint256).max);

        IERC20(uniswapV2Pair).approve(
            address(uniswapV2Router),
            type(uint256).max
        );

        _setAutomatedMarketMakerPairV2(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPairV3(address(uniswapV3Pool10000), true);
        _setAutomatedMarketMakerPairV3(address(uniswapV3Pool3000), true);
        _setAutomatedMarketMakerPairV3(address(uniswapV3Pool500), true);
        _setAutomatedMarketMakerPairV3(address(uniswapV3Pool100), true);

        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            owner(),
            block.timestamp
        );

        _v3LPProtectionEnabled = true;
        launched = true;
        launchBlock = block.number;
        launchTime = block.timestamp;
        emit Launch(launchBlock, launchTime);
    }

    function prepareForMigration() public onlyOwner {
        _v3LPProtectionEnabled = false;
        swapEnabled = false;
        taxesEnabled = false;
        buyFees = 0;
        sellFees = 0;
        swapTokensAtAmount = totalSupply();
        if (balanceOf(address(this)) > 0) {
            super._transfer(
                address(this),
                msg.sender,
                balanceOf(address(this))
            );
        }

        emit PrepareForMigration(block.number, block.timestamp);
    }

    function setSwapEnabled(bool value) public onlyOwner {
        swapEnabled = value;
        emit SetSwapEnabled(swapEnabled);
    }

    function setTaxesEnabled(bool value) public onlyOwner {
        taxesEnabled = value;
        emit SetTaxesEnabled(taxesEnabled);
    }

    function setSwapTokensAtAmount(uint256 _swapTokensAtAmount)
        public
        onlyOwner
    {
        require(
            _swapTokensAtAmount >= totalSupply().mul(1).div(1000000),
            "ERC20: Swap amount cannot be lower than 0.0001% total supply."
        );
        require(
            _swapTokensAtAmount <= totalSupply().mul(1).div(1000),
            "ERC20: Swap amount cannot be higher than 0.1% total supply."
        );
        uint256 oldValue = swapTokensAtAmount;
        swapTokensAtAmount = _swapTokensAtAmount;
        emit SetSwapTokensAtAmount(oldValue, swapTokensAtAmount);
    }

    function setBuyFees(uint256 _buyFees) public onlyOwner {
        require(_buyFees <= 5, "ERC20: Must keep fees at 5% or less");
        uint256 oldValue = buyFees;
        buyFees = _buyFees;
        emit SetBuyFees(oldValue, buyFees);
    }

    function setSellFees(uint256 _sellFees) public onlyOwner {
        require(_sellFees <= 5, "ERC20: Must keep fees at 5% or less");
        uint256 oldValue = sellFees;
        sellFees = _sellFees;
        emit SetSellFees(oldValue, sellFees);
    }

    function setOperationsWallet(address _operationsWallet) public onlyOwner {
        require(_operationsWallet != ZERO_ADDRESS, "ERC20: Address 0");
        address oldWallet = operationsWallet;
        operationsWallet = _operationsWallet;
        _excludeFromFees(operationsWallet, true);
        emit SetOperationsWallet(oldWallet, operationsWallet);
    }

    function withdrawStuckTokens(address tkn) public onlyOwner {
        uint256 amount;
        if (tkn == ZERO_ADDRESS) {
            bool success;
            amount = address(this).balance;
            (success, ) = address(msg.sender).call{value: amount}("");
        } else {
            require(IERC20(tkn).balanceOf(address(this)) > 0, "No tokens");
            amount = IERC20(tkn).balanceOf(address(this));
            IERC20(tkn).transfer(msg.sender, amount);
        }
        emit WithdrawStuckTokens(tkn, amount);
    }

    function excludeFromFees(address[] calldata accounts, bool value)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < accounts.length; i++) {
            _excludeFromFees(accounts[i], value);
        }
    }

    function setAutomatedMarketMakerPairV2(address account, bool value)
        internal
        virtual
    {
        _setAutomatedMarketMakerPairV2(account, value);
    }

    function setAutomatedMarketMakerPairV3(address account, bool value)
        internal
        virtual
    {
        _setAutomatedMarketMakerPairV3(account, value);
    }

    function setBots(address[] calldata accounts, bool value) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            if (
                (accounts[i] != uniswapV2Pair) &&
                (accounts[i] != uniswapV3Pool10000) &&
                (accounts[i] != uniswapV3Pool3000) &&
                (accounts[i] != uniswapV3Pool500) &&
                (accounts[i] != uniswapV3Pool100) &&
                (accounts[i] != address(uniswapV2Router)) &&
                (accounts[i] != address(uniswapV3Router)) &&
                (accounts[i] != address(this))
            ) _setBots(accounts[i], value);
        }
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

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

        require(!_isBot[from], "ERC20: bot detected");
        require(!_isBot[msg.sender], "ERC20: bot detected");
        require(!_isBot[tx.origin], "ERC20: bot detected");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (
            _v3LPProtectionEnabled &&
            (_automatedMarketMakerPairsV3[from] ||
                _automatedMarketMakerPairsV3[to])
        ) {
            require(
                _isExcludedFromFees[from] || _isExcludedFromFees[to],
                "ERC20: Not authorized to add LP to Uniswap V3 Pool"
            );
        }

        if (
            from != owner() &&
            to != owner() &&
            to != ZERO_ADDRESS &&
            to != DEAD_ADDRESS &&
            !_swapping
        ) {
            if (!launched) {
                require(
                    _isExcludedFromFees[from] || _isExcludedFromFees[to],
                    "ERC20: Not launched."
                );
            }
        }

        if (swapEnabled) {
            uint256 contractTokenBalance = balanceOf(address(this));

            bool canSwap = contractTokenBalance >= swapTokensAtAmount;

            if (
                canSwap &&
                !_swapping &&
                !_automatedMarketMakerPairsV2[from] &&
                !_isExcludedFromFees[from] &&
                !_isExcludedFromFees[to]
            ) {
                _swapBack(contractTokenBalance);
            }
        }

        if (taxesEnabled) {
            bool takeFee = !_swapping;

            if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
                takeFee = false;
            }

            uint256 fees = 0;

            if (takeFee) {
                if (_automatedMarketMakerPairsV2[to] && sellFees > 0) {
                    fees = amount.mul(sellFees).div(100);
                } else if (_automatedMarketMakerPairsV2[from] && buyFees > 0) {
                    fees = amount.mul(buyFees).div(100);
                }

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

                amount -= fees;
            }
        }

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

    function _swapTokensForETH(uint256 tokenAmount) internal virtual {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function _swapBack(uint256 contractTokenBalance)
        internal
        virtual
        lockSwapping
    {
        bool success;

        if (contractTokenBalance == 0) {
            return;
        }

        if (contractTokenBalance > swapTokensAtAmount.mul(10)) {
            contractTokenBalance = swapTokensAtAmount.mul(10);
        }

        _swapTokensForETH(contractTokenBalance);

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

    function _excludeFromFees(address account, bool value) internal virtual {
        _isExcludedFromFees[account] = value;
        emit ExcludeFromFees(account, value);
    }

    function _setBots(address account, bool value) internal virtual {
        _isBot[account] = value;
        emit SetBots(account, value);
    }

    function _setAutomatedMarketMakerPairV2(address account, bool value)
        internal
        virtual
    {
        _automatedMarketMakerPairsV2[account] = value;
        emit SetAutomatedMarketMakerPairV2(account, value);
    }

    function _setAutomatedMarketMakerPairV3(address account, bool value)
        internal
        virtual
    {
        _automatedMarketMakerPairsV3[account] = value;
        emit SetAutomatedMarketMakerPairV3(account, value);
    }
}

File 2 of 13 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 3 of 13 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 4 of 13 : ISwapRouter.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 ISwapRouter is IUniswapV3SwapCallback {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @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 deadline;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }

    /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path
    /// @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 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another token
    /// @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 deadline;
        uint256 amountOut;
        uint256 amountInMaximum;
    }

    /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)
    /// @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 5 of 13 : IUniswapV3Factory.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title The interface for the Uniswap V3 Factory
/// @notice The Uniswap V3 Factory facilitates creation of Uniswap V3 pools and control over the protocol fees
interface IUniswapV3Factory {
    /// @notice Emitted when the owner of the factory is changed
    /// @param oldOwner The owner before the owner was changed
    /// @param newOwner The owner after the owner was changed
    event OwnerChanged(address indexed oldOwner, address indexed newOwner);

    /// @notice Emitted when a pool is created
    /// @param token0 The first token of the pool by address sort order
    /// @param token1 The second token of the pool by address sort order
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks
    /// @param pool The address of the created pool
    event PoolCreated(
        address indexed token0,
        address indexed token1,
        uint24 indexed fee,
        int24 tickSpacing,
        address pool
    );

    /// @notice Emitted when a new fee amount is enabled for pool creation via the factory
    /// @param fee The enabled fee, denominated in hundredths of a bip
    /// @param tickSpacing The minimum number of ticks between initialized ticks for pools created with the given fee
    event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);

    /// @notice Returns the current owner of the factory
    /// @dev Can be changed by the current owner via setOwner
    /// @return The address of the factory owner
    function owner() external view returns (address);

    /// @notice Returns the tick spacing for a given fee amount, if enabled, or 0 if not enabled
    /// @dev A fee amount can never be removed, so this value should be hard coded or cached in the calling context
    /// @param fee The enabled fee, denominated in hundredths of a bip. Returns 0 in case of unenabled fee
    /// @return The tick spacing
    function feeAmountTickSpacing(uint24 fee) external view returns (int24);

    /// @notice Returns the pool address for a given pair of tokens and a fee, or address 0 if it does not exist
    /// @dev tokenA and tokenB may be passed in either token0/token1 or token1/token0 order
    /// @param tokenA The contract address of either token0 or token1
    /// @param tokenB The contract address of the other token
    /// @param fee The fee collected upon every swap in the pool, denominated in hundredths of a bip
    /// @return pool The pool address
    function getPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external view returns (address pool);

    /// @notice Creates a pool for the given two tokens and fee
    /// @param tokenA One of the two tokens in the desired pool
    /// @param tokenB The other of the two tokens in the desired pool
    /// @param fee The desired fee for the pool
    /// @dev tokenA and tokenB may be passed in either order: token0/token1 or token1/token0. tickSpacing is retrieved
    /// from the fee. The call will revert if the pool already exists, the fee is invalid, or the token arguments
    /// are invalid.
    /// @return pool The address of the newly created pool
    function createPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external returns (address pool);

    /// @notice Updates the owner of the factory
    /// @dev Must be called by the current owner
    /// @param _owner The new owner of the factory
    function setOwner(address _owner) external;

    /// @notice Enables a fee amount with the given tickSpacing
    /// @dev Fee amounts may never be removed once enabled
    /// @param fee The fee amount to enable, denominated in hundredths of a bip (i.e. 1e-6)
    /// @param tickSpacing The spacing between ticks to be enforced for all pools created with the given fee amount
    function enableFeeAmount(uint24 fee, int24 tickSpacing) external;
}

File 6 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 7 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

File 8 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 9 of 13 : 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 10 of 13 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 11 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 12 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 13 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Airdrop","type":"event"},{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Launch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"PrepareForMigration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPairV2","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPairV3","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"SetBots","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetBuyFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"},{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"SetOperationsWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetSellFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetSwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"SetSwapTokensAtAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetTaxesEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawStuckTokens","type":"event"},{"inputs":[],"name":"DEAD_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZERO_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromFees","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":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepareForMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFees","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operationsWallet","type":"address"}],"name":"setOperationsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellFees","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setTaxesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"uniswapV3Pool100","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Pool10000","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Pool3000","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Pool500","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV3Router","outputs":[{"internalType":"contract IUniswapV3Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040523480156200001157600080fd5b506040518060400160405280600881526020016704f726469737761760c41b815250604051806040016040528060048152602001634f52445360e01b8152508160039081620000619190620004f6565b506004620000708282620004f6565b5050506200008d620000876200018460201b60201c565b62000188565b737a250d5630b4cf539739df2c5dacb4c659f2488d608081905273e592427a0aece92de3edee1f18e0157c0586156460a0526b033b2e3c9fd0803ce800000090620000dd903090600019620001da565b620000f9620186a0620000f283600162000306565b906200031d565b600e55600554600b80546001600160a01b0319166001600160a01b0390921691821790556200012a9060016200032b565b620001373060016200032b565b6200014661dead60016200032b565b600b546200015f906001600160a01b031660016200032b565b6200017d620001766005546001600160a01b031690565b826200038a565b506200062b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620002425760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620002a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000239565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000620003148284620005d8565b90505b92915050565b6000620003148284620005f2565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620003e25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000239565b8060026000828254620003f6919062000615565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200047d57607f821691505b6020821081036200049e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200044d57600081815260208120601f850160051c81016020861015620004cd5750805b601f850160051c820191505b81811015620004ee57828155600101620004d9565b505050505050565b81516001600160401b0381111562000512576200051262000452565b6200052a8162000523845462000468565b84620004a4565b602080601f831160018114620005625760008415620005495750858301515b600019600386901b1c1916600185901b178555620004ee565b600085815260208120601f198616915b82811015620005935788860151825594840194600190910190840162000572565b5085821015620005b25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620003175762000317620005c2565b6000826200061057634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620003175762000317620005c2565b60805160a051613d036200070e6000396000818161039c01528181610c1501528181610db001528181610f4b015281816110e60152818161127e01528181611426015281816115ce015281816117760152612155015260008181610311015281816108cb0152818161095c01528181610a7001528181610b0101528181610ca601528181610e4101528181610fdc015281816111770152818161130f015281816114b70152818161165f01528181611807015281816119a701528181611a9b015281816120f1015281816134ec015281816135a501526135e10152613d036000f3fe6080604052600436106102815760003560e01c80638da5cb5b1161014f578063d94890b4116100c1578063e4748b9e1161007a578063e4748b9e146107ac578063ee5ecc89146107c2578063f2a9b985146107e2578063f2b6c16e14610802578063f2fde38b14610822578063fd72e22a1461084257600080fd5b8063d94890b414610700578063dcf7aef314610720578063dd62ed3e14610740578063e01af92c14610760578063e0f3ccf514610780578063e2f456051461079657600080fd5b8063a9059cbb11610113578063a9059cbb14610649578063ad29ffde14610669578063afa4f3b214610689578063bff51ef8146106a9578063cb963728146106ca578063d00efb2f146106ea57600080fd5b80638da5cb5b146105b657806395927c25146105d457806395d89b41146105f45780639c0db5f314610609578063a457c2d71461062957600080fd5b80634e6fd6c4116101f35780636ddd1713116101ac5780636ddd1713146104fe57806370a082311461051f578063715018a61461055557806373d01ead1461056a578063790ca4131461057f5780638091f3bf1461059557600080fd5b80634e6fd6c41461043a5780634fbee19314610450578063538ba4f91461048957806359512ab01461049e578063629c638c146104be57806367243482146104de57600080fd5b806323b872dd1161024557806323b872dd1461036a5780632c76d7a61461038a578063313ce567146103be57806339509351146103da57806342966c68146103fa57806349bd5a5e1461041a57600080fd5b806301339c211461028d57806306fdde03146102a4578063095ea7b3146102cf5780631694505e146102ff57806318160ddd1461034b57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610862565b005b3480156102b057600080fd5b506102b9611bf0565b6040516102c69190613655565b60405180910390f35b3480156102db57600080fd5b506102ef6102ea3660046136b8565b611c82565b60405190151581526020016102c6565b34801561030b57600080fd5b506103337f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102c6565b34801561035757600080fd5b506002545b6040519081526020016102c6565b34801561037657600080fd5b506102ef6103853660046136e4565b611c9c565b34801561039657600080fd5b506103337f000000000000000000000000000000000000000000000000000000000000000081565b3480156103ca57600080fd5b50604051601281526020016102c6565b3480156103e657600080fd5b506102ef6103f53660046136b8565b611cc0565b34801561040657600080fd5b506102a2610415366004613725565b611ce2565b34801561042657600080fd5b50600654610333906001600160a01b031681565b34801561044657600080fd5b5061033361dead81565b34801561045c57600080fd5b506102ef61046b36600461373e565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561049557600080fd5b50610333600081565b3480156104aa57600080fd5b506102a26104b9366004613769565b611cef565b3480156104ca57600080fd5b50600a54610333906001600160a01b031681565b3480156104ea57600080fd5b506102a26104f936600461385c565b611d53565b34801561050a57600080fd5b50600a546102ef90600160b01b900460ff1681565b34801561052b57600080fd5b5061035c61053a36600461373e565b6001600160a01b031660009081526020819052604090205490565b34801561056157600080fd5b506102a2611e61565b34801561057657600080fd5b506102a2611e75565b34801561058b57600080fd5b5061035c600d5481565b3480156105a157600080fd5b50600a546102ef90600160c01b900460ff1681565b3480156105c257600080fd5b506005546001600160a01b0316610333565b3480156105e057600080fd5b506102a26105ef366004613725565b611f01565b34801561060057600080fd5b506102b9611f70565b34801561061557600080fd5b506102a261062436600461391e565b611f7f565b34801561063557600080fd5b506102ef6106443660046136b8565b612238565b34801561065557600080fd5b506102ef6106643660046136b8565b6122b3565b34801561067557600080fd5b506102a261068436600461391e565b6122c1565b34801561069557600080fd5b506102a26106a4366004613725565b612316565b3480156106b557600080fd5b50600a546102ef90600160b81b900460ff1681565b3480156106d657600080fd5b506102a26106e536600461373e565b61247b565b3480156106f657600080fd5b5061035c600c5481565b34801561070c57600080fd5b50600854610333906001600160a01b031681565b34801561072c57600080fd5b506102a261073b366004613725565b6126a8565b34801561074c57600080fd5b5061035c61075b3660046139a4565b61270f565b34801561076c57600080fd5b506102a261077b366004613769565b61273a565b34801561078c57600080fd5b5061035c60105481565b3480156107a257600080fd5b5061035c600e5481565b3480156107b857600080fd5b5061035c600f5481565b3480156107ce57600080fd5b506102a26107dd36600461373e565b612797565b3480156107ee57600080fd5b50600754610333906001600160a01b031681565b34801561080e57600080fd5b50600954610333906001600160a01b031681565b34801561082e57600080fd5b506102a261083d36600461373e565b612853565b34801561084e57600080fd5b50600b54610333906001600160a01b031681565b61086a6128c9565b600a54600160c01b900460ff16156108c95760405162461bcd60e51b815260206004820152601860248201527f45524332303a20416c7265616479206c61756e636865642e000000000000000060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610927573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094b91906139dd565b6001600160a01b031663e6a43905307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dc91906139dd565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b91906139dd565b600680546001600160a01b0319166001600160a01b03929092169182179055610c13577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af091906139dd565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8191906139dd565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf291906139dd565b600680546001600160a01b0319166001600160a01b03929092169190911790555b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9591906139dd565b6001600160a01b0316631698ee82307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2691906139dd565b6127106040518463ffffffff1660e01b8152600401610d47939291906139fa565b602060405180830381865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8891906139dd565b600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3091906139dd565b6001600160a01b0316631698ee82307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec191906139dd565b610bb86040518463ffffffff1660e01b8152600401610ee2939291906139fa565b602060405180830381865afa158015610eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2391906139dd565b600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb91906139dd565b6001600160a01b0316631698ee82307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611038573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105c91906139dd565b6101f46040518463ffffffff1660e01b815260040161107d939291906139fa565b602060405180830381865afa15801561109a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110be91906139dd565b600960006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611142573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116691906139dd565b6001600160a01b0316631698ee82307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f791906139dd565b60646040518463ffffffff1660e01b8152600401611217939291906139fa565b602060405180830381865afa158015611234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906139dd565b600a80546001600160a01b0319166001600160a01b0392831617905560075416611414577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fe91906139dd565b6001600160a01b031663a1671295307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138f91906139dd565b6127106040518463ffffffff1660e01b81526004016113b0939291906139fa565b6020604051808303816000875af11580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f391906139dd565b600780546001600160a01b0319166001600160a01b03929092169190911790555b6008546001600160a01b03166115bc577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a691906139dd565b6001600160a01b031663a1671295307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611513573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153791906139dd565b610bb86040518463ffffffff1660e01b8152600401611558939291906139fa565b6020604051808303816000875af1158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b91906139dd565b600880546001600160a01b0319166001600160a01b03929092169190911790555b6009546001600160a01b0316611764577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561162a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164e91906139dd565b6001600160a01b031663a1671295307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116df91906139dd565b6101f46040518463ffffffff1660e01b8152600401611700939291906139fa565b6020604051808303816000875af115801561171f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174391906139dd565b600980546001600160a01b0319166001600160a01b03929092169190911790555b600a546001600160a01b031661190b577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f691906139dd565b6001600160a01b031663a1671295307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188791906139dd565b60646040518463ffffffff1660e01b81526004016118a7939291906139fa565b6020604051808303816000875af11580156118c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ea91906139dd565b600a80546001600160a01b0319166001600160a01b03929092169190911790555b6006546119259030906001600160a01b0316600019612923565b60075461193f9030906001600160a01b0316600019612923565b6008546119599030906001600160a01b0316600019612923565b6009546119739030906001600160a01b0316600019612923565b600a5461198d9030906001600160a01b0316600019612923565b60065460405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301529091169063095ea7b3906044016020604051808303816000875af1158015611a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a259190613a22565b50600654611a3d906001600160a01b03166001612a47565b600754611a54906001600160a01b03166001612a9b565b600854611a6b906001600160a01b03166001612a9b565b600954611a82906001600160a01b03166001612a9b565b600a54611a99906001600160a01b03166001612a9b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7194730611ae9306001600160a01b031660009081526020819052604090205490565b600080611afe6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611b66573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b8b9190613a3f565b5050600a805463ff0000ff60a81b1916630100000160a81b1790555043600c81905542600d8190556040805192835260208301919091527fa4eda92a9703eeccb36fbed43c5cfce0e180464bf695e806d3bd0e439743fd5691015b60405180910390a1565b606060038054611bff90613a6d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2b90613a6d565b8015611c785780601f10611c4d57610100808354040283529160200191611c78565b820191906000526020600020905b815481529060010190602001808311611c5b57829003601f168201915b5050505050905090565b600033611c90818585612923565b60019150505b92915050565b600033611caa858285612aef565b611cb5858585612b63565b506001949350505050565b600033611c90818585611cd3838361270f565b611cdd9190613abd565b612923565b611cec3382613058565b50565b611cf76128c9565b600a805460ff60b81b1916600160b81b8315158102919091179182905560405160ff9190920416151581527f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b906020015b60405180910390a150565b611d5b6128c9565b8051825114611dac5760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e677468000060448201526064016108c0565b60005b8251811015611e5c576000838281518110611dcc57611dcc613ad0565b602002602001015190506000838381518110611dea57611dea613ad0565b60200260200101519050611e05611dfe3390565b8383612b63565b604080516001600160a01b0384168152602081018390527f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a910160405180910390a150508080611e5490613ae6565b915050611daf565b505050565b611e696128c9565b611e73600061318a565b565b611e7d6128c9565b600a805462ffffff60a81b191690556000600f8190556010819055600254600e553081526020819052604090205415611ecc5730600081815260208190526040902054611ecc919033906131dc565b604080514381524260208201527f4aee4a7ed8634b54edfc1176ee662b04884b0b8d9fcb732530404873ef13f3879101611be6565b611f096128c9565b6005811115611f2a5760405162461bcd60e51b81526004016108c090613aff565b601080549082905560408051828152602081018490527f125b37650f21d088600cef1223439f6a8bd70800debfd486c503a8a2d19d4b0191015b60405180910390a15050565b606060048054611bff90613a6d565b611f876128c9565b60005b82811015612232576006546001600160a01b0316848483818110611fb057611fb0613ad0565b9050602002016020810190611fc5919061373e565b6001600160a01b03161415801561201657506007546001600160a01b0316848483818110611ff557611ff5613ad0565b905060200201602081019061200a919061373e565b6001600160a01b031614155b801561205c57506008546001600160a01b031684848381811061203b5761203b613ad0565b9050602002016020810190612050919061373e565b6001600160a01b031614155b80156120a257506009546001600160a01b031684848381811061208157612081613ad0565b9050602002016020810190612096919061373e565b6001600160a01b031614155b80156120e85750600a546001600160a01b03168484838181106120c7576120c7613ad0565b90506020020160208101906120dc919061373e565b6001600160a01b031614155b801561214c57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031684848381811061212b5761212b613ad0565b9050602002016020810190612140919061373e565b6001600160a01b031614155b80156121b057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031684848381811061218f5761218f613ad0565b90506020020160208101906121a4919061373e565b6001600160a01b031614155b80156121eb5750308484838181106121ca576121ca613ad0565b90506020020160208101906121df919061373e565b6001600160a01b031614155b156122205761222084848381811061220557612205613ad0565b905060200201602081019061221a919061373e565b83613306565b8061222a81613ae6565b915050611f8a565b50505050565b60003381612246828661270f565b9050838110156122a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108c0565b611cb58286868403612923565b600033611c90818585612b63565b6122c96128c9565b60005b82811015612232576123048484838181106122e9576122e9613ad0565b90506020020160208101906122fe919061373e565b83613366565b8061230e81613ae6565b9150506122cc565b61231e6128c9565b61233f620f4240612339600161233360025490565b906133be565b906133d1565b8110156123b45760405162461bcd60e51b815260206004820152603d60248201527f45524332303a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e303030312520746f74616c20737570706c792e00000060648201526084016108c0565b6123c86103e8612339600161233360025490565b81111561243d5760405162461bcd60e51b815260206004820152603b60248201527f45524332303a205377617020616d6f756e742063616e6e6f742062652068696760448201527f686572207468616e20302e312520746f74616c20737570706c792e000000000060648201526084016108c0565b600e80549082905560408051828152602081018490527f190dc7c30bc62ef30e35c5f5512ad715a1bd03230f2d89c965249246c8d8ecca9101611f64565b6124836128c9565b60006001600160a01b0382166124e757506040514790600090339083908381818185875af1925050503d80600081146124d8576040519150601f19603f3d011682016040523d82523d6000602084013e6124dd565b606091505b5061266992505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561252e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125529190613b42565b1161258b5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b60448201526064016108c0565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f39190613b42565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015612643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126679190613a22565b505b604080516001600160a01b0384168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b9101611f64565b6126b06128c9565b60058111156126d15760405162461bcd60e51b81526004016108c090613aff565b600f80549082905560408051828152602081018490527f5fcc0eea159d45a3b8d481be746c9beed251431a542a5fed4484be37ab783e8d9101611f64565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6127426128c9565b600a805460ff60b01b1916600160b01b8315158102919091179182905560405160ff9190920416151581527f8bcc108c7d867d0a70433f71ecba3056c4dcc48eaabe4ca987f9fb1f836091d590602001611d48565b61279f6128c9565b6001600160a01b0381166127e85760405162461bcd60e51b815260206004820152601060248201526f045524332303a204164647265737320360841b60448201526064016108c0565b600b80546001600160a01b038381166001600160a01b0319831681179093551690612814906001613366565b600b546040516001600160a01b03918216918316907fe20a721838fcbbb3840bd5d97dde1ffeb479fe73d75736fa6fdfc0f220aae00590600090a35050565b61285b6128c9565b6001600160a01b0381166128c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c0565b611cec8161318a565b6005546001600160a01b03163314611e735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6001600160a01b0383166129855760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108c0565b6001600160a01b0382166129e65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917f86868b8ec444c609d51f67f74b773c02b3b8232371668107c44bd0a5408711ca91a35050565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917f457dc51939d38230ec4b2842447f10937ebe5614c5c006c815514529bbbc115891a35050565b6000612afb848461270f565b905060001981146122325781811015612b565760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108c0565b6122328484848403612923565b6001600160a01b038316612b895760405162461bcd60e51b81526004016108c090613b5b565b6001600160a01b038216612baf5760405162461bcd60e51b81526004016108c090613ba0565b6001600160a01b03831660009081526014602052604090205460ff1615612be85760405162461bcd60e51b81526004016108c090613be3565b3360009081526014602052604090205460ff1615612c185760405162461bcd60e51b81526004016108c090613be3565b3260009081526014602052604090205460ff1615612c485760405162461bcd60e51b81526004016108c090613be3565b80600003612c5c57611e5c838360006131dc565b600a54600160a81b900460ff168015612caf57506001600160a01b03831660009081526013602052604090205460ff1680612caf57506001600160a01b03821660009081526013602052604090205460ff165b15612d5a576001600160a01b03831660009081526011602052604090205460ff1680612cf357506001600160a01b03821660009081526011602052604090205460ff165b612d5a5760405162461bcd60e51b815260206004820152603260248201527f45524332303a204e6f7420617574686f72697a656420746f20616464204c50206044820152711d1bc8155b9a5cddd85c08158cc8141bdbdb60721b60648201526084016108c0565b6005546001600160a01b03848116911614801590612d8657506005546001600160a01b03838116911614155b8015612d9a57506001600160a01b03821615155b8015612db157506001600160a01b03821661dead14155b8015612dc75750600a54600160a01b900460ff16155b15612e5f57600a54600160c01b900460ff16612e5f576001600160a01b03831660009081526011602052604090205460ff1680612e1c57506001600160a01b03821660009081526011602052604090205460ff165b612e5f5760405162461bcd60e51b815260206004820152601460248201527322a92199181d102737ba103630bab731b432b21760611b60448201526064016108c0565b600a54600160b01b900460ff1615612f1f5730600090815260208190526040902054600e5481108015908190612e9f5750600a54600160a01b900460ff16155b8015612ec457506001600160a01b03851660009081526012602052604090205460ff16155b8015612ee957506001600160a01b03851660009081526011602052604090205460ff16155b8015612f0e57506001600160a01b03841660009081526011602052604090205460ff16155b15612f1c57612f1c826133dd565b50505b600a54600160b81b900460ff161561304d57600a546001600160a01b03841660009081526011602052604090205460ff600160a01b909204821615911680612f7f57506001600160a01b03831660009081526011602052604090205460ff165b15612f88575060005b6000811561304a576001600160a01b03841660009081526012602052604090205460ff168015612fba57506000601054115b15612fe057612fd96064612339601054866133be90919063ffffffff16565b905061302c565b6001600160a01b03851660009081526012602052604090205460ff16801561300a57506000600f54115b1561302c576130296064612339600f54866133be90919063ffffffff16565b90505b801561303d5761303d8530836131dc565b6130478184613c10565b92505b50505b611e5c8383836131dc565b6001600160a01b0382166130b85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108c0565b6001600160a01b0382166000908152602081905260409020548181101561312c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108c0565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166132025760405162461bcd60e51b81526004016108c090613b5b565b6001600160a01b0382166132285760405162461bcd60e51b81526004016108c090613ba0565b6001600160a01b038316600090815260208190526040902054818110156132a05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108c0565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3612232565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc891015b60405180910390a25050565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910161335a565b60006133ca8284613c23565b9392505050565b60006133ca8284613c3a565b600a805460ff60a01b1916600160a01b17905560008181036133ff5750613485565b600e5461340d90600a6133be565b82111561342557600e5461342290600a6133be565b91505b61342e82613495565b600b546040516001600160a01b03909116904790600081818185875af1925050503d806000811461347b576040519150601f19603f3d011682016040523d82523d6000602084013e613480565b606091505b505050505b50600a805460ff60a01b19169055565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106134ca576134ca613ad0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356c91906139dd565b8160018151811061357f5761357f613ad0565b60200260200101906001600160a01b031690816001600160a01b0316815250506135ca307f000000000000000000000000000000000000000000000000000000000000000084612923565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061361f908590600090869030904290600401613c5c565b600060405180830381600087803b15801561363957600080fd5b505af115801561364d573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561368257858101830151858201604001528201613666565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611cec57600080fd5b600080604083850312156136cb57600080fd5b82356136d6816136a3565b946020939093013593505050565b6000806000606084860312156136f957600080fd5b8335613704816136a3565b92506020840135613714816136a3565b929592945050506040919091013590565b60006020828403121561373757600080fd5b5035919050565b60006020828403121561375057600080fd5b81356133ca816136a3565b8015158114611cec57600080fd5b60006020828403121561377b57600080fd5b81356133ca8161375b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156137c5576137c5613786565b604052919050565b600067ffffffffffffffff8211156137e7576137e7613786565b5060051b60200190565b600082601f83011261380257600080fd5b81356020613817613812836137cd565b61379c565b82815260059290921b8401810191818101908684111561383657600080fd5b8286015b84811015613851578035835291830191830161383a565b509695505050505050565b6000806040838503121561386f57600080fd5b823567ffffffffffffffff8082111561388757600080fd5b818501915085601f83011261389b57600080fd5b813560206138ab613812836137cd565b82815260059290921b840181019181810190898411156138ca57600080fd5b948201945b838610156138f15785356138e2816136a3565b825294820194908201906138cf565b9650508601359250508082111561390757600080fd5b50613914858286016137f1565b9150509250929050565b60008060006040848603121561393357600080fd5b833567ffffffffffffffff8082111561394b57600080fd5b818601915086601f83011261395f57600080fd5b81358181111561396e57600080fd5b8760208260051b850101111561398357600080fd5b602092830195509350508401356139998161375b565b809150509250925092565b600080604083850312156139b757600080fd5b82356139c2816136a3565b915060208301356139d2816136a3565b809150509250929050565b6000602082840312156139ef57600080fd5b81516133ca816136a3565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b600060208284031215613a3457600080fd5b81516133ca8161375b565b600080600060608486031215613a5457600080fd5b8351925060208401519150604084015190509250925092565b600181811c90821680613a8157607f821691505b602082108103613aa157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611c9657611c96613aa7565b634e487b7160e01b600052603260045260246000fd5b600060018201613af857613af8613aa7565b5060010190565b60208082526023908201527f45524332303a204d757374206b6565702066656573206174203525206f72206c60408201526265737360e81b606082015260800190565b600060208284031215613b5457600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b602080825260139082015272115490cc8c0e88189bdd0819195d1958dd1959606a1b604082015260600190565b81810381811115611c9657611c96613aa7565b8082028115828204841417611c9657611c96613aa7565b600082613c5757634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613cac5784516001600160a01b031683529383019391830191600101613c87565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c35b75d124567efcedcd5c6d1fe8310d3818264e477a380337f07e9a6774405664736f6c63430008130033

Deployed Bytecode

0x6080604052600436106102815760003560e01c80638da5cb5b1161014f578063d94890b4116100c1578063e4748b9e1161007a578063e4748b9e146107ac578063ee5ecc89146107c2578063f2a9b985146107e2578063f2b6c16e14610802578063f2fde38b14610822578063fd72e22a1461084257600080fd5b8063d94890b414610700578063dcf7aef314610720578063dd62ed3e14610740578063e01af92c14610760578063e0f3ccf514610780578063e2f456051461079657600080fd5b8063a9059cbb11610113578063a9059cbb14610649578063ad29ffde14610669578063afa4f3b214610689578063bff51ef8146106a9578063cb963728146106ca578063d00efb2f146106ea57600080fd5b80638da5cb5b146105b657806395927c25146105d457806395d89b41146105f45780639c0db5f314610609578063a457c2d71461062957600080fd5b80634e6fd6c4116101f35780636ddd1713116101ac5780636ddd1713146104fe57806370a082311461051f578063715018a61461055557806373d01ead1461056a578063790ca4131461057f5780638091f3bf1461059557600080fd5b80634e6fd6c41461043a5780634fbee19314610450578063538ba4f91461048957806359512ab01461049e578063629c638c146104be57806367243482146104de57600080fd5b806323b872dd1161024557806323b872dd1461036a5780632c76d7a61461038a578063313ce567146103be57806339509351146103da57806342966c68146103fa57806349bd5a5e1461041a57600080fd5b806301339c211461028d57806306fdde03146102a4578063095ea7b3146102cf5780631694505e146102ff57806318160ddd1461034b57600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610862565b005b3480156102b057600080fd5b506102b9611bf0565b6040516102c69190613655565b60405180910390f35b3480156102db57600080fd5b506102ef6102ea3660046136b8565b611c82565b60405190151581526020016102c6565b34801561030b57600080fd5b506103337f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102c6565b34801561035757600080fd5b506002545b6040519081526020016102c6565b34801561037657600080fd5b506102ef6103853660046136e4565b611c9c565b34801561039657600080fd5b506103337f000000000000000000000000e592427a0aece92de3edee1f18e0157c0586156481565b3480156103ca57600080fd5b50604051601281526020016102c6565b3480156103e657600080fd5b506102ef6103f53660046136b8565b611cc0565b34801561040657600080fd5b506102a2610415366004613725565b611ce2565b34801561042657600080fd5b50600654610333906001600160a01b031681565b34801561044657600080fd5b5061033361dead81565b34801561045c57600080fd5b506102ef61046b36600461373e565b6001600160a01b031660009081526011602052604090205460ff1690565b34801561049557600080fd5b50610333600081565b3480156104aa57600080fd5b506102a26104b9366004613769565b611cef565b3480156104ca57600080fd5b50600a54610333906001600160a01b031681565b3480156104ea57600080fd5b506102a26104f936600461385c565b611d53565b34801561050a57600080fd5b50600a546102ef90600160b01b900460ff1681565b34801561052b57600080fd5b5061035c61053a36600461373e565b6001600160a01b031660009081526020819052604090205490565b34801561056157600080fd5b506102a2611e61565b34801561057657600080fd5b506102a2611e75565b34801561058b57600080fd5b5061035c600d5481565b3480156105a157600080fd5b50600a546102ef90600160c01b900460ff1681565b3480156105c257600080fd5b506005546001600160a01b0316610333565b3480156105e057600080fd5b506102a26105ef366004613725565b611f01565b34801561060057600080fd5b506102b9611f70565b34801561061557600080fd5b506102a261062436600461391e565b611f7f565b34801561063557600080fd5b506102ef6106443660046136b8565b612238565b34801561065557600080fd5b506102ef6106643660046136b8565b6122b3565b34801561067557600080fd5b506102a261068436600461391e565b6122c1565b34801561069557600080fd5b506102a26106a4366004613725565b612316565b3480156106b557600080fd5b50600a546102ef90600160b81b900460ff1681565b3480156106d657600080fd5b506102a26106e536600461373e565b61247b565b3480156106f657600080fd5b5061035c600c5481565b34801561070c57600080fd5b50600854610333906001600160a01b031681565b34801561072c57600080fd5b506102a261073b366004613725565b6126a8565b34801561074c57600080fd5b5061035c61075b3660046139a4565b61270f565b34801561076c57600080fd5b506102a261077b366004613769565b61273a565b34801561078c57600080fd5b5061035c60105481565b3480156107a257600080fd5b5061035c600e5481565b3480156107b857600080fd5b5061035c600f5481565b3480156107ce57600080fd5b506102a26107dd36600461373e565b612797565b3480156107ee57600080fd5b50600754610333906001600160a01b031681565b34801561080e57600080fd5b50600954610333906001600160a01b031681565b34801561082e57600080fd5b506102a261083d36600461373e565b612853565b34801561084e57600080fd5b50600b54610333906001600160a01b031681565b61086a6128c9565b600a54600160c01b900460ff16156108c95760405162461bcd60e51b815260206004820152601860248201527f45524332303a20416c7265616479206c61756e636865642e000000000000000060448201526064015b60405180910390fd5b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610927573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094b91906139dd565b6001600160a01b031663e6a43905307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109dc91906139dd565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b91906139dd565b600680546001600160a01b0319166001600160a01b03929092169182179055610c13577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610acc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af091906139dd565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8191906139dd565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf291906139dd565b600680546001600160a01b0319166001600160a01b03929092169190911790555b7f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9591906139dd565b6001600160a01b0316631698ee82307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2691906139dd565b6127106040518463ffffffff1660e01b8152600401610d47939291906139fa565b602060405180830381865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8891906139dd565b600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3091906139dd565b6001600160a01b0316631698ee82307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec191906139dd565b610bb86040518463ffffffff1660e01b8152600401610ee2939291906139fa565b602060405180830381865afa158015610eff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2391906139dd565b600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb91906139dd565b6001600160a01b0316631698ee82307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611038573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105c91906139dd565b6101f46040518463ffffffff1660e01b815260040161107d939291906139fa565b602060405180830381865afa15801561109a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110be91906139dd565b600960006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611142573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116691906139dd565b6001600160a01b0316631698ee82307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f791906139dd565b60646040518463ffffffff1660e01b8152600401611217939291906139fa565b602060405180830381865afa158015611234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125891906139dd565b600a80546001600160a01b0319166001600160a01b0392831617905560075416611414577f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fe91906139dd565b6001600160a01b031663a1671295307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138f91906139dd565b6127106040518463ffffffff1660e01b81526004016113b0939291906139fa565b6020604051808303816000875af11580156113cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f391906139dd565b600780546001600160a01b0319166001600160a01b03929092169190911790555b6008546001600160a01b03166115bc577f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a691906139dd565b6001600160a01b031663a1671295307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611513573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153791906139dd565b610bb86040518463ffffffff1660e01b8152600401611558939291906139fa565b6020604051808303816000875af1158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b91906139dd565b600880546001600160a01b0319166001600160a01b03929092169190911790555b6009546001600160a01b0316611764577f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561162a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164e91906139dd565b6001600160a01b031663a1671295307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116df91906139dd565b6101f46040518463ffffffff1660e01b8152600401611700939291906139fa565b6020604051808303816000875af115801561171f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174391906139dd565b600980546001600160a01b0319166001600160a01b03929092169190911790555b600a546001600160a01b031661190b577f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f691906139dd565b6001600160a01b031663a1671295307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188791906139dd565b60646040518463ffffffff1660e01b81526004016118a7939291906139fa565b6020604051808303816000875af11580156118c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ea91906139dd565b600a80546001600160a01b0319166001600160a01b03929092169190911790555b6006546119259030906001600160a01b0316600019612923565b60075461193f9030906001600160a01b0316600019612923565b6008546119599030906001600160a01b0316600019612923565b6009546119739030906001600160a01b0316600019612923565b600a5461198d9030906001600160a01b0316600019612923565b60065460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8116600483015260001960248301529091169063095ea7b3906044016020604051808303816000875af1158015611a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a259190613a22565b50600654611a3d906001600160a01b03166001612a47565b600754611a54906001600160a01b03166001612a9b565b600854611a6b906001600160a01b03166001612a9b565b600954611a82906001600160a01b03166001612a9b565b600a54611a99906001600160a01b03166001612a9b565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7194730611ae9306001600160a01b031660009081526020819052604090205490565b600080611afe6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611b66573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b8b9190613a3f565b5050600a805463ff0000ff60a81b1916630100000160a81b1790555043600c81905542600d8190556040805192835260208301919091527fa4eda92a9703eeccb36fbed43c5cfce0e180464bf695e806d3bd0e439743fd5691015b60405180910390a1565b606060038054611bff90613a6d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2b90613a6d565b8015611c785780601f10611c4d57610100808354040283529160200191611c78565b820191906000526020600020905b815481529060010190602001808311611c5b57829003601f168201915b5050505050905090565b600033611c90818585612923565b60019150505b92915050565b600033611caa858285612aef565b611cb5858585612b63565b506001949350505050565b600033611c90818585611cd3838361270f565b611cdd9190613abd565b612923565b611cec3382613058565b50565b611cf76128c9565b600a805460ff60b81b1916600160b81b8315158102919091179182905560405160ff9190920416151581527f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b906020015b60405180910390a150565b611d5b6128c9565b8051825114611dac5760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e677468000060448201526064016108c0565b60005b8251811015611e5c576000838281518110611dcc57611dcc613ad0565b602002602001015190506000838381518110611dea57611dea613ad0565b60200260200101519050611e05611dfe3390565b8383612b63565b604080516001600160a01b0384168152602081018390527f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a910160405180910390a150508080611e5490613ae6565b915050611daf565b505050565b611e696128c9565b611e73600061318a565b565b611e7d6128c9565b600a805462ffffff60a81b191690556000600f8190556010819055600254600e553081526020819052604090205415611ecc5730600081815260208190526040902054611ecc919033906131dc565b604080514381524260208201527f4aee4a7ed8634b54edfc1176ee662b04884b0b8d9fcb732530404873ef13f3879101611be6565b611f096128c9565b6005811115611f2a5760405162461bcd60e51b81526004016108c090613aff565b601080549082905560408051828152602081018490527f125b37650f21d088600cef1223439f6a8bd70800debfd486c503a8a2d19d4b0191015b60405180910390a15050565b606060048054611bff90613a6d565b611f876128c9565b60005b82811015612232576006546001600160a01b0316848483818110611fb057611fb0613ad0565b9050602002016020810190611fc5919061373e565b6001600160a01b03161415801561201657506007546001600160a01b0316848483818110611ff557611ff5613ad0565b905060200201602081019061200a919061373e565b6001600160a01b031614155b801561205c57506008546001600160a01b031684848381811061203b5761203b613ad0565b9050602002016020810190612050919061373e565b6001600160a01b031614155b80156120a257506009546001600160a01b031684848381811061208157612081613ad0565b9050602002016020810190612096919061373e565b6001600160a01b031614155b80156120e85750600a546001600160a01b03168484838181106120c7576120c7613ad0565b90506020020160208101906120dc919061373e565b6001600160a01b031614155b801561214c57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031684848381811061212b5761212b613ad0565b9050602002016020810190612140919061373e565b6001600160a01b031614155b80156121b057507f000000000000000000000000e592427a0aece92de3edee1f18e0157c058615646001600160a01b031684848381811061218f5761218f613ad0565b90506020020160208101906121a4919061373e565b6001600160a01b031614155b80156121eb5750308484838181106121ca576121ca613ad0565b90506020020160208101906121df919061373e565b6001600160a01b031614155b156122205761222084848381811061220557612205613ad0565b905060200201602081019061221a919061373e565b83613306565b8061222a81613ae6565b915050611f8a565b50505050565b60003381612246828661270f565b9050838110156122a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108c0565b611cb58286868403612923565b600033611c90818585612b63565b6122c96128c9565b60005b82811015612232576123048484838181106122e9576122e9613ad0565b90506020020160208101906122fe919061373e565b83613366565b8061230e81613ae6565b9150506122cc565b61231e6128c9565b61233f620f4240612339600161233360025490565b906133be565b906133d1565b8110156123b45760405162461bcd60e51b815260206004820152603d60248201527f45524332303a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e303030312520746f74616c20737570706c792e00000060648201526084016108c0565b6123c86103e8612339600161233360025490565b81111561243d5760405162461bcd60e51b815260206004820152603b60248201527f45524332303a205377617020616d6f756e742063616e6e6f742062652068696760448201527f686572207468616e20302e312520746f74616c20737570706c792e000000000060648201526084016108c0565b600e80549082905560408051828152602081018490527f190dc7c30bc62ef30e35c5f5512ad715a1bd03230f2d89c965249246c8d8ecca9101611f64565b6124836128c9565b60006001600160a01b0382166124e757506040514790600090339083908381818185875af1925050503d80600081146124d8576040519150601f19603f3d011682016040523d82523d6000602084013e6124dd565b606091505b5061266992505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561252e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125529190613b42565b1161258b5760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b60448201526064016108c0565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156125cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f39190613b42565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015612643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126679190613a22565b505b604080516001600160a01b0384168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b9101611f64565b6126b06128c9565b60058111156126d15760405162461bcd60e51b81526004016108c090613aff565b600f80549082905560408051828152602081018490527f5fcc0eea159d45a3b8d481be746c9beed251431a542a5fed4484be37ab783e8d9101611f64565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6127426128c9565b600a805460ff60b01b1916600160b01b8315158102919091179182905560405160ff9190920416151581527f8bcc108c7d867d0a70433f71ecba3056c4dcc48eaabe4ca987f9fb1f836091d590602001611d48565b61279f6128c9565b6001600160a01b0381166127e85760405162461bcd60e51b815260206004820152601060248201526f045524332303a204164647265737320360841b60448201526064016108c0565b600b80546001600160a01b038381166001600160a01b0319831681179093551690612814906001613366565b600b546040516001600160a01b03918216918316907fe20a721838fcbbb3840bd5d97dde1ffeb479fe73d75736fa6fdfc0f220aae00590600090a35050565b61285b6128c9565b6001600160a01b0381166128c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c0565b611cec8161318a565b6005546001600160a01b03163314611e735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b6001600160a01b0383166129855760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108c0565b6001600160a01b0382166129e65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917f86868b8ec444c609d51f67f74b773c02b3b8232371668107c44bd0a5408711ca91a35050565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917f457dc51939d38230ec4b2842447f10937ebe5614c5c006c815514529bbbc115891a35050565b6000612afb848461270f565b905060001981146122325781811015612b565760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108c0565b6122328484848403612923565b6001600160a01b038316612b895760405162461bcd60e51b81526004016108c090613b5b565b6001600160a01b038216612baf5760405162461bcd60e51b81526004016108c090613ba0565b6001600160a01b03831660009081526014602052604090205460ff1615612be85760405162461bcd60e51b81526004016108c090613be3565b3360009081526014602052604090205460ff1615612c185760405162461bcd60e51b81526004016108c090613be3565b3260009081526014602052604090205460ff1615612c485760405162461bcd60e51b81526004016108c090613be3565b80600003612c5c57611e5c838360006131dc565b600a54600160a81b900460ff168015612caf57506001600160a01b03831660009081526013602052604090205460ff1680612caf57506001600160a01b03821660009081526013602052604090205460ff165b15612d5a576001600160a01b03831660009081526011602052604090205460ff1680612cf357506001600160a01b03821660009081526011602052604090205460ff165b612d5a5760405162461bcd60e51b815260206004820152603260248201527f45524332303a204e6f7420617574686f72697a656420746f20616464204c50206044820152711d1bc8155b9a5cddd85c08158cc8141bdbdb60721b60648201526084016108c0565b6005546001600160a01b03848116911614801590612d8657506005546001600160a01b03838116911614155b8015612d9a57506001600160a01b03821615155b8015612db157506001600160a01b03821661dead14155b8015612dc75750600a54600160a01b900460ff16155b15612e5f57600a54600160c01b900460ff16612e5f576001600160a01b03831660009081526011602052604090205460ff1680612e1c57506001600160a01b03821660009081526011602052604090205460ff165b612e5f5760405162461bcd60e51b815260206004820152601460248201527322a92199181d102737ba103630bab731b432b21760611b60448201526064016108c0565b600a54600160b01b900460ff1615612f1f5730600090815260208190526040902054600e5481108015908190612e9f5750600a54600160a01b900460ff16155b8015612ec457506001600160a01b03851660009081526012602052604090205460ff16155b8015612ee957506001600160a01b03851660009081526011602052604090205460ff16155b8015612f0e57506001600160a01b03841660009081526011602052604090205460ff16155b15612f1c57612f1c826133dd565b50505b600a54600160b81b900460ff161561304d57600a546001600160a01b03841660009081526011602052604090205460ff600160a01b909204821615911680612f7f57506001600160a01b03831660009081526011602052604090205460ff165b15612f88575060005b6000811561304a576001600160a01b03841660009081526012602052604090205460ff168015612fba57506000601054115b15612fe057612fd96064612339601054866133be90919063ffffffff16565b905061302c565b6001600160a01b03851660009081526012602052604090205460ff16801561300a57506000600f54115b1561302c576130296064612339600f54866133be90919063ffffffff16565b90505b801561303d5761303d8530836131dc565b6130478184613c10565b92505b50505b611e5c8383836131dc565b6001600160a01b0382166130b85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108c0565b6001600160a01b0382166000908152602081905260409020548181101561312c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108c0565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166132025760405162461bcd60e51b81526004016108c090613b5b565b6001600160a01b0382166132285760405162461bcd60e51b81526004016108c090613ba0565b6001600160a01b038316600090815260208190526040902054818110156132a05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108c0565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3612232565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc891015b60405180910390a25050565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910161335a565b60006133ca8284613c23565b9392505050565b60006133ca8284613c3a565b600a805460ff60a01b1916600160a01b17905560008181036133ff5750613485565b600e5461340d90600a6133be565b82111561342557600e5461342290600a6133be565b91505b61342e82613495565b600b546040516001600160a01b03909116904790600081818185875af1925050503d806000811461347b576040519150601f19603f3d011682016040523d82523d6000602084013e613480565b606091505b505050505b50600a805460ff60a01b19169055565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106134ca576134ca613ad0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356c91906139dd565b8160018151811061357f5761357f613ad0565b60200260200101906001600160a01b031690816001600160a01b0316815250506135ca307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612923565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061361f908590600090869030904290600401613c5c565b600060405180830381600087803b15801561363957600080fd5b505af115801561364d573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561368257858101830151858201604001528201613666565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611cec57600080fd5b600080604083850312156136cb57600080fd5b82356136d6816136a3565b946020939093013593505050565b6000806000606084860312156136f957600080fd5b8335613704816136a3565b92506020840135613714816136a3565b929592945050506040919091013590565b60006020828403121561373757600080fd5b5035919050565b60006020828403121561375057600080fd5b81356133ca816136a3565b8015158114611cec57600080fd5b60006020828403121561377b57600080fd5b81356133ca8161375b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156137c5576137c5613786565b604052919050565b600067ffffffffffffffff8211156137e7576137e7613786565b5060051b60200190565b600082601f83011261380257600080fd5b81356020613817613812836137cd565b61379c565b82815260059290921b8401810191818101908684111561383657600080fd5b8286015b84811015613851578035835291830191830161383a565b509695505050505050565b6000806040838503121561386f57600080fd5b823567ffffffffffffffff8082111561388757600080fd5b818501915085601f83011261389b57600080fd5b813560206138ab613812836137cd565b82815260059290921b840181019181810190898411156138ca57600080fd5b948201945b838610156138f15785356138e2816136a3565b825294820194908201906138cf565b9650508601359250508082111561390757600080fd5b50613914858286016137f1565b9150509250929050565b60008060006040848603121561393357600080fd5b833567ffffffffffffffff8082111561394b57600080fd5b818601915086601f83011261395f57600080fd5b81358181111561396e57600080fd5b8760208260051b850101111561398357600080fd5b602092830195509350508401356139998161375b565b809150509250925092565b600080604083850312156139b757600080fd5b82356139c2816136a3565b915060208301356139d2816136a3565b809150509250929050565b6000602082840312156139ef57600080fd5b81516133ca816136a3565b6001600160a01b03938416815291909216602082015262ffffff909116604082015260600190565b600060208284031215613a3457600080fd5b81516133ca8161375b565b600080600060608486031215613a5457600080fd5b8351925060208401519150604084015190509250925092565b600181811c90821680613a8157607f821691505b602082108103613aa157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611c9657611c96613aa7565b634e487b7160e01b600052603260045260246000fd5b600060018201613af857613af8613aa7565b5060010190565b60208082526023908201527f45524332303a204d757374206b6565702066656573206174203525206f72206c60408201526265737360e81b606082015260800190565b600060208284031215613b5457600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b602080825260139082015272115490cc8c0e88189bdd0819195d1958dd1959606a1b604082015260600190565b81810381811115611c9657611c96613aa7565b8082028115828204841417611c9657611c96613aa7565b600082613c5757634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613cac5784516001600160a01b031683529383019391830191600101613c87565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c35b75d124567efcedcd5c6d1fe8310d3818264e477a380337f07e9a6774405664736f6c63430008130033

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.