ETH Price: $3,342.81 (-1.10%)

Contract

0x1ED5cf624240296d941796970aC745Bc24bd4a06
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve214234352024-12-17 16:25:1110 days ago1734452711IN
0x1ED5cf62...c24bd4a06
0 ETH0.0008469434.90094953
Approve214047942024-12-15 1:59:4713 days ago1734227987IN
0x1ED5cf62...c24bd4a06
0 ETH0.000461789.90730135
Approve213877312024-12-12 16:50:3515 days ago1734022235IN
0x1ED5cf62...c24bd4a06
0 ETH0.0015746333.82612313
Transfer213468832024-12-06 23:57:4721 days ago1733529467IN
0x1ED5cf62...c24bd4a06
0 ETH0.001414119.28750367
Approve213465302024-12-06 22:46:4721 days ago1733525207IN
0x1ED5cf62...c24bd4a06
0 ETH0.0008813819.03182266
Approve213035742024-11-30 22:47:5927 days ago1733006879IN
0x1ED5cf62...c24bd4a06
0 ETH0.0006611914.18547043
Approve212976762024-11-30 3:01:1128 days ago1732935671IN
0x1ED5cf62...c24bd4a06
0 ETH0.000365177.83442301
Approve212211272024-11-19 10:17:4738 days ago1732011467IN
0x1ED5cf62...c24bd4a06
0 ETH0.000346987.44622573
Approve212144712024-11-18 12:01:4739 days ago1731931307IN
0x1ED5cf62...c24bd4a06
0 ETH0.0005852112.63989526
Transfer211986882024-11-16 7:13:1141 days ago1731741191IN
0x1ED5cf62...c24bd4a06
0 ETH0.0013494617.27488081
Approve211605152024-11-10 23:19:5947 days ago1731280799IN
0x1ED5cf62...c24bd4a06
0 ETH0.0007199715.4663243
Approve211480232024-11-09 5:31:3548 days ago1731130295IN
0x1ED5cf62...c24bd4a06
0 ETH0.000340777.31112661
Transfer211448012024-11-08 18:45:3549 days ago1731091535IN
0x1ED5cf62...c24bd4a06
0 ETH0.0014258919.44195072
Approve211043642024-11-03 3:15:5955 days ago1730603759IN
0x1ED5cf62...c24bd4a06
0 ETH0.000311876.69101262
Approve210484182024-10-26 7:50:4762 days ago1729929047IN
0x1ED5cf62...c24bd4a06
0 ETH0.000248555.33935446
Approve210298592024-10-23 17:43:4765 days ago1729705427IN
0x1ED5cf62...c24bd4a06
0 ETH0.0008576218.49973297
Approve210153412024-10-21 17:06:2367 days ago1729530383IN
0x1ED5cf62...c24bd4a06
0 ETH0.00051110.96309058
Approve210099632024-10-20 23:06:2368 days ago1729465583IN
0x1ED5cf62...c24bd4a06
0 ETH0.0002828911.62898208
Approve209950542024-10-18 21:11:3570 days ago1729285895IN
0x1ED5cf62...c24bd4a06
0 ETH0.0004694210.1258297
Approve209865382024-10-17 16:39:5971 days ago1729183199IN
0x1ED5cf62...c24bd4a06
0 ETH0.0010476722.50591908
Approve209826792024-10-17 3:44:4772 days ago1729136687IN
0x1ED5cf62...c24bd4a06
0 ETH0.000244388.29797797
Approve209825942024-10-17 3:27:4772 days ago1729135667IN
0x1ED5cf62...c24bd4a06
0 ETH0.000461649.97622438
Approve209735592024-10-15 21:10:4773 days ago1729026647IN
0x1ED5cf62...c24bd4a06
0 ETH0.0012242626.26553354
Approve209480012024-10-12 7:21:3576 days ago1728717695IN
0x1ED5cf62...c24bd4a06
0 ETH0.0005474711.74559713
Approve209165972024-10-07 22:13:1181 days ago1728339191IN
0x1ED5cf62...c24bd4a06
0 ETH0.0007129815.31621154
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
206878362024-09-06 0:01:11113 days ago1725580871
0x1ED5cf62...c24bd4a06
2 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Poshi

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 11 : Poshi.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.24;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

// 
// Meet $Poshi, inspired by the beloved sidekick Yoshi! Hatched from the last surviving egg of the Super Happy Tree, Poshi is more than just a meme—it's an epic adventure. 
// 
// Telegram: t.me/poshiworld
// X: x.com/poshiworld
// Website: poshiworld.com
// 
contract Poshi is ERC20, Ownable {
    using SafeERC20 for IERC20;

    IUniswapV2Router02 internal immutable uniswapV2Router;
    address internal immutable weth;
    address internal constant ZERO_ADDRESS = address(0);
    address internal constant DEAD_ADDRESS = address(0xdEad000000000000000000000000000000000000);
    address public marketingWallet;

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

    uint256 internal constant MAX_BUY_FEE = 3500;
    uint256 internal constant MAX_SELL_FEE = 3500;
    uint256 internal constant FEES_PERCENT_DENOMINATOR = 10000;
    uint256 internal constant MIN_SWAPBACK_PERCENT_DENOMINATOR = 1000000;
    uint256 internal constant MAX_SWAPBACK_PERCENT_DENOMINATOR = 1000;
    uint256 internal constant LIMITS_PERCENT_DENOMINATOR = 1000;

    uint256 public maxTransaction;
    uint256 public maxWallet;

    uint256 public swapTokensAtAmount;

    uint256 public buyFees;
    uint256 public sellFees;

    mapping(address => uint256) private _holderLastTransferBlock;
    mapping(address => bool) public isExcludedFromFees;
    mapping(address => bool) public isExcludedMaxTransactionAmount;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) public routers;
    mapping(address => bool) public isBot;

    event Launch();
    event SetLimitsEnabled(bool value);
    event SetSwapEnabled(bool value);
    event SetTaxesEnabled(bool value);
    event SetSwapTokensAtAmount(uint256 oldValue, uint256 newValue);
    event SetFees(uint256 buyFees, uint256 sellFees);
    event SetMarketingWallet(
        address indexed oldWallet,
        address indexed newWallet
    );
    event WithdrawStuckTokens(address token, uint256 amount);
    event ExcludeFromFees(address indexed account, bool value);
    event ExcludeFromMaxTransaction(address indexed account, bool value);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event SetRouter(address indexed pair, bool indexed value);
    event SetBots(address indexed account, bool value);

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

    constructor(address _uniswapV2Router)
    ERC20(unicode"Poshi", "POSHI") payable {
        address sender = msg.sender;
        address origin = tx.origin;
        uint256 tSupply = 1_000_000_000 ether;
        uint256 supplyToLiquidity = tSupply;

        uniswapV2Router = IUniswapV2Router02(_uniswapV2Router);
        weth = uniswapV2Router.WETH();

        maxTransaction = tSupply;
        maxWallet = tSupply;

        swapTokensAtAmount = (tSupply * 1) / 10000;

        buyFees = 0;
        sellFees = 0;

        marketingWallet = address(0x82e1a7fcd2D5FC1A97cBd40E9C688c728099201f);

        _setRouter(_uniswapV2Router, true);

        _excludeFromFees(sender, true);
        _excludeFromFees(origin, true);
        _excludeFromFees(address(this), true);
        _excludeFromFees(DEAD_ADDRESS, true);
        _excludeFromFees(marketingWallet, true);

        _excludeFromMaxTransaction(sender, true);
        _excludeFromMaxTransaction(origin, true);
        _excludeFromMaxTransaction(address(this), true);
        _excludeFromMaxTransaction(DEAD_ADDRESS, true);
        _excludeFromMaxTransaction(marketingWallet, true);

        _mint(address(this), supplyToLiquidity);

        _createPair();
    }

    receive() external payable {}

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

    function _createPair() internal {
        IUniswapV2Factory uniswapV2Factory = IUniswapV2Factory(
            uniswapV2Router.factory()
        );

        address uniswapV2Pair = uniswapV2Factory.getPair(
            address(this),
            weth
        );

        if (uniswapV2Pair == ZERO_ADDRESS) {
            uniswapV2Pair = uniswapV2Factory.createPair(
                address(this),
                weth
            );
        }

        _setAutomatedMarketMakerPair(uniswapV2Pair, true);
        _excludeFromMaxTransaction(uniswapV2Pair, true);
    }

    function enableTrading() external payable onlyOwner {
        require(!launched, "Already launched.");

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        uint256 liquidityAmountEth = address(this).balance;
        uniswapV2Router.addLiquidityETH{value: liquidityAmountEth}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            tx.origin,
            block.timestamp
        );

        launched = true;
        emit Launch();
    }

    function enableLimits() external payable onlyOwner {
        maxTransaction = (totalSupply() * 1) / 100;
        maxWallet = (totalSupply() * 1) / 100;
        buyFees = 3500;
        sellFees = 3500;
        limitsEnabled = true;
        swapEnabled = true;
        taxesEnabled = true;
    }

    function setLimitsEnabled(bool value) external onlyOwner {
        limitsEnabled = value;
        emit SetLimitsEnabled(value);
    }

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

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

    function setSwapTokensAtAmount(uint256 _swapTokensAtAmount)
        external
        onlyOwner
    {
        require(
            _swapTokensAtAmount >=
                (totalSupply() * 1) / MIN_SWAPBACK_PERCENT_DENOMINATOR,
            "Swap amount cannot be lower than 0.0001% total supply."
        );
        require(
            _swapTokensAtAmount <=
                (totalSupply() * 5) / MAX_SWAPBACK_PERCENT_DENOMINATOR,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        uint256 oldValue = swapTokensAtAmount;
        swapTokensAtAmount = _swapTokensAtAmount;
        emit SetSwapTokensAtAmount(oldValue, swapTokensAtAmount);
    }

    function setLimits(uint256 _maxTransaction, uint256 _maxWallet)
        external
        onlyOwner
    {
        require(
            _maxTransaction >=
                ((totalSupply() * 1) / LIMITS_PERCENT_DENOMINATOR),
            "Cannot set maxTransaction lower than 0.1%"
        );
        require(
            _maxWallet >= ((totalSupply() * 1) / LIMITS_PERCENT_DENOMINATOR),
            "Cannot set maxWallet lower than 0.1%"
        );
        maxTransaction = _maxTransaction;
        maxWallet = _maxWallet;
    }

    function setFees(uint256 _buyFees, uint256 _sellFees) external onlyOwner {
        require(_buyFees <= MAX_BUY_FEE, "Buy fees must be lower than 35%");
        require(_sellFees <= MAX_SELL_FEE, "Sell fees must be lower than 35%");
        buyFees = _buyFees;
        sellFees = _sellFees;
        emit SetFees(buyFees, sellFees);
    }

    function setMarketingWallet(address _marketingWallet) external onlyOwner {
        require(_marketingWallet != ZERO_ADDRESS, "Address 0");
        address oldWallet = marketingWallet;
        marketingWallet = _marketingWallet;
        _excludeFromFees(marketingWallet, true);
        emit SetMarketingWallet(oldWallet, marketingWallet);
    }

    function withdrawStuckTokens(address tkn) external onlyOwner {
        uint256 amount;
        if (tkn == ZERO_ADDRESS) {
            bool success;
            amount = address(this).balance;
            require(amount > 0, "No native tokens");
            (success, ) = address(_msgSender()).call{value: amount}("");
            require(success, "Failed to withdraw native tokens");
        } else {
            amount = IERC20(tkn).balanceOf(address(this));
            require(amount > 0, "No tokens");
            IERC20(tkn).safeTransfer(_msgSender(), amount);
        }
        emit WithdrawStuckTokens(tkn, amount);
    }

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

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

    function setAutomatedMarketMakerPair(address account, bool value)
        public
        onlyOwner
    {
        require(
            !automatedMarketMakerPairs[account],
            "AMM Pair already set."
        );
        _setAutomatedMarketMakerPair(account, value);
    }

    function setRouter(address account, bool value) public onlyOwner {
        require(!routers[account], "Router already set.");
        _setRouter(account, value);
    }

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        address origin = tx.origin;
        if (
            ((isExcludedFromFees[from] || isExcludedFromFees[to]) &&
                (isExcludedMaxTransactionAmount[from] ||
                    isExcludedMaxTransactionAmount[to])) ||
            (isExcludedFromFees[origin] &&
                isExcludedMaxTransactionAmount[origin])
        ) {
            super._transfer(from, to, amount);
            return;
        }

        address sender = _msgSender();
        require(!isBot[from], "bot detected");
        require(sender == from || !isBot[sender], "bot detected");
        require(origin == from || origin == sender || !isBot[origin], "bot detected");

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

        address ownr = owner();

        require(launched || from == ownr || to == ownr || to == DEAD_ADDRESS, "Not launched.");

        if (limitsEnabled) {

            bool isBuy = automatedMarketMakerPairs[from] && !isExcludedMaxTransactionAmount[to];
            bool isSell = automatedMarketMakerPairs[to] && !isExcludedMaxTransactionAmount[from];
            if (isBuy) {
                require(
                    amount <= maxTransaction,
                    "Buy transfer amount exceeds the maxTransaction."
                );
                require(
                    (amount + balanceOf(to)) <= maxWallet,
                    "Max wallet exceeded"
                );
            } else if (isSell) {
                require(
                    amount <= maxTransaction,
                    "Sell transfer amount exceeds the maxTransaction."
                );
            } else if (!isExcludedMaxTransactionAmount[to]) {
                require(
                    (amount + balanceOf(to)) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
        }

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

            bool canSwap = contractTokenBalance >= swapTokensAtAmount;

            if (
                canSwap &&
                !_swapping &&
                !automatedMarketMakerPairs[from] &&
                !routers[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 (automatedMarketMakerPairs[to] && sellFees > 0) {
                    fees = (amount * sellFees) / FEES_PERCENT_DENOMINATOR;
                } else if (automatedMarketMakerPairs[from] && buyFees > 0) {
                    fees = (amount * buyFees) / FEES_PERCENT_DENOMINATOR;
                }

                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] = weth;

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

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

    function _swapETHForTokens(address to, uint256 tokenAmount) internal {
        address[] memory path = new address[](2);
        path[0] = weth;
        path[1] = address(this);
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(to),
            block.timestamp
        );
    }

    function _swapBack(uint256 contractTokenBalance)
        internal
        virtual
        lockSwapping
    {
        if (contractTokenBalance == 0) {
            return;
        }

        if (contractTokenBalance > (swapTokensAtAmount * 10)) {
            contractTokenBalance = (swapTokensAtAmount * 10);
        }

        _swapTokensForETH(contractTokenBalance);
    }

    function _excludeFromMaxTransaction(address account, bool value)
        internal
        virtual
    {
        isExcludedMaxTransactionAmount[account] = value;
        emit ExcludeFromMaxTransaction(account, value);
    }

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

    function _setBots(address account, bool value) internal virtual {
        if ((!automatedMarketMakerPairs[account]) &&
            (!routers[account]) &&
            (account != address(uniswapV2Router)) &&
            (account != address(this)) &&
            (!isExcludedFromFees[account] &&
            !isExcludedMaxTransactionAmount[account])) 
        {
            isBot[account] = value;
            emit SetBots(account, value);
        }
    }

    function _setAutomatedMarketMakerPair(address account, bool value)
        internal
        virtual
    {
        automatedMarketMakerPairs[account] = value;
        emit SetAutomatedMarketMakerPair(account, value);
    }

    function _setRouter(address account, bool value) internal virtual {
        routers[account] = value;
        emit SetRouter(account, value);
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 3 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

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

        return true;
    }

    /**
     * @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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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;
        _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;
        }
        _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 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 4 of 11 : 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 5 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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 11 : 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;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_uniswapV2Router","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludeFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[],"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":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetBots","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellFees","type":"uint256"}],"name":"SetFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetLimitsEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"},{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"SetMarketingWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"value","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":"value","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"enableLimits","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"payable","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":"accounts","type":"address[]"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromMaxTransaction","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":"","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"routers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","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"},{"internalType":"uint256","name":"_sellFees","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransaction","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setLimitsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setRouter","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052604051620038c4380380620038c483398101604081905262000026916200068d565b60405180604001604052806005815260200164506f73686960d81b81525060405180604001604052806005815260200164504f53484960d81b815250816003908162000073919062000765565b50600462000082828262000765565b5050506200009f620000996200025b60201b60201c565b6200025f565b6001600160a01b0381166080819052604080516315ab88c960e31b81529051339232926b033b2e3c9fd0803ce80000009283929163ad5c46489160048083019260209291908290030181865afa158015620000fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200012491906200068d565b6001600160a01b031660a052600782905560088290556127106200014a83600162000847565b62000156919062000867565b6009556000600a819055600b55600680546001600160a01b0319167382e1a7fcd2d5fc1a97cbd40e9c688c728099201f17905562000196856001620002b1565b620001a384600162000305565b620001b083600162000305565b620001bd30600162000305565b620001cf61dead60901b600162000305565b600654620001e8906001600160a01b0316600162000305565b620001f584600162000365565b6200020283600162000365565b6200020f30600162000365565b6200022161dead60901b600162000365565b6006546200023a906001600160a01b0316600162000365565b620002463082620003be565b62000250620004a7565b5050505050620008a0565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917f09b50446349d7fd45dbe59f55204a44404c2adf607c59e9420b87535ed2454b191a35050565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f08910162000359565b6001600160a01b038216620004195760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200042d91906200088a565b90915550506001600160a01b038216600090815260208190526040812080548392906200045c9084906200088a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b60006080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004ea573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051091906200068d565b60a05160405163e6a4390560e01b81523060048201526001600160a01b0391821660248201529192506000919083169063e6a4390590604401602060405180830381865afa15801562000567573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200058d91906200068d565b90506001600160a01b0381166200061a5760a0516040516364e329cb60e11b81523060048201526001600160a01b0391821660248201529083169063c9c65396906044016020604051808303816000875af1158015620005f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200061791906200068d565b90505b6200062781600162000639565b620004a381600162000365565b505050565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600060208284031215620006a057600080fd5b81516001600160a01b0381168114620006b857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006ea57607f821691505b6020821081036200070b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000634576000816000526020600020601f850160051c810160208610156200073c5750805b601f850160051c820191505b818110156200075d5782815560010162000748565b505050505050565b81516001600160401b03811115620007815762000781620006bf565b6200079981620007928454620006d5565b8462000711565b602080601f831160018114620007d15760008415620007b85750858301515b600019600386901b1c1916600185901b1785556200075d565b600085815260208120601f198616915b828110156200080257888601518255948401946001909101908401620007e1565b5085821015620008215787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000861576200086162000831565b92915050565b6000826200088557634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000861576200086162000831565b60805160a051612fe2620008e260003960006128d0015260008181610eb001528181610ee2015281816123eb0152818161292801526129670152612fe26000f3fe6080604052600436106102765760003560e01c806380dd9a1f1161014f578063bff51ef8116100c1578063e01af92c1161007a578063e01af92c146107d0578063e0f3ccf5146107f0578063e2f4560514610806578063e4748b9e1461081c578063f2fde38b14610832578063f8b45b051461085257600080fd5b8063bff51ef8146106f3578063c3c6467414610714578063c3f70b5214610734578063c4590d3f1461074a578063cb9637281461076a578063dd62ed3e1461078a57600080fd5b80639c0db5f3116101135780639c0db5f314610623578063a457c2d714610643578063a9059cbb14610663578063ad29ffde14610683578063afa4f3b2146106a3578063b62496f5146106c357600080fd5b806380dd9a1f146105985780638a8c523c146105c85780638da5cb5b146105d057806395d89b41146105ee5780639a7a23d61461060357600080fd5b80634bb2c785116101e85780636ddd1713116101ac5780636ddd1713146104b35780636f4fd18e146104d457806370a08231146104f4578063715018a61461052a57806375f0a8741461053f5780638091f3bf1461057757600080fd5b80634bb2c7851461040b5780634fbee1931461043b57806359512ab01461046b5780635d098b381461048b5780636902ca61146104ab57600080fd5b8063313ce5671161023a578063313ce5671461033e5780633582ad231461035a578063395093511461037b5780633bbac5791461039b57806341aea9de146103cb57806342966c68146103eb57600080fd5b806306fdde0314610282578063095ea7b3146102ad5780630b78f9c0146102dd57806318160ddd146102ff57806323b872dd1461031e57600080fd5b3661027d57005b600080fd5b34801561028e57600080fd5b50610297610868565b6040516102a49190612b73565b60405180910390f35b3480156102b957600080fd5b506102cd6102c8366004612bc2565b6108fa565b60405190151581526020016102a4565b3480156102e957600080fd5b506102fd6102f8366004612bec565b610911565b005b34801561030b57600080fd5b506002545b6040519081526020016102a4565b34801561032a57600080fd5b506102cd610339366004612c0e565b610a30565b34801561034a57600080fd5b50604051601281526020016102a4565b34801561036657600080fd5b506006546102cd90600160a81b900460ff1681565b34801561038757600080fd5b506102cd610396366004612bc2565b610adc565b3480156103a757600080fd5b506102cd6103b6366004612c4a565b60116020526000908152604090205460ff1681565b3480156103d757600080fd5b506102fd6103e6366004612c73565b610b18565b3480156103f757600080fd5b506102fd610406366004612c90565b610b9a565b34801561041757600080fd5b506102cd610426366004612c4a565b600e6020526000908152604090205460ff1681565b34801561044757600080fd5b506102cd610456366004612c4a565b600d6020526000908152604090205460ff1681565b34801561047757600080fd5b506102fd610486366004612c73565b610ba7565b34801561049757600080fd5b506102fd6104a6366004612c4a565b610c1e565b6102fd610cf5565b3480156104bf57600080fd5b506006546102cd90600160b01b900460ff1681565b3480156104e057600080fd5b506102fd6104ef366004612ca9565b610d89565b34801561050057600080fd5b5061031061050f366004612c4a565b6001600160a01b031660009081526020819052604090205490565b34801561053657600080fd5b506102fd610dfc565b34801561054b57600080fd5b5060065461055f906001600160a01b031681565b6040516001600160a01b0390911681526020016102a4565b34801561058357600080fd5b506006546102cd90600160c01b900460ff1681565b3480156105a457600080fd5b506102cd6105b3366004612c4a565b60106020526000908152604090205460ff1681565b6102fd610e32565b3480156105dc57600080fd5b506005546001600160a01b031661055f565b3480156105fa57600080fd5b50610297610ff3565b34801561060f57600080fd5b506102fd61061e366004612d2f565b611002565b34801561062f57600080fd5b506102fd61063e366004612ca9565b61109b565b34801561064f57600080fd5b506102cd61065e366004612bc2565b611108565b34801561066f57600080fd5b506102cd61067e366004612bc2565b6111a1565b34801561068f57600080fd5b506102fd61069e366004612ca9565b6111ae565b3480156106af57600080fd5b506102fd6106be366004612c90565b61121b565b3480156106cf57600080fd5b506102cd6106de366004612c4a565b600f6020526000908152604090205460ff1681565b3480156106ff57600080fd5b506006546102cd90600160b81b900460ff1681565b34801561072057600080fd5b506102fd61072f366004612d2f565b6113a0565b34801561074057600080fd5b5061031060075481565b34801561075657600080fd5b506102fd610765366004612bec565b611433565b34801561077657600080fd5b506102fd610785366004612c4a565b611566565b34801561079657600080fd5b506103106107a5366004612d66565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107dc57600080fd5b506102fd6107eb366004612c73565b61177b565b3480156107fc57600080fd5b50610310600b5481565b34801561081257600080fd5b5061031060095481565b34801561082857600080fd5b50610310600a5481565b34801561083e57600080fd5b506102fd61084d366004612c4a565b6117f2565b34801561085e57600080fd5b5061031060085481565b60606003805461087790612d99565b80601f01602080910402602001604051908101604052809291908181526020018280546108a390612d99565b80156108f05780601f106108c5576101008083540402835291602001916108f0565b820191906000526020600020905b8154815290600101906020018083116108d357829003601f168201915b5050505050905090565b600061090733848461188a565b5060015b92915050565b6005546001600160a01b031633146109445760405162461bcd60e51b815260040161093b90612dd3565b60405180910390fd5b610dac8211156109965760405162461bcd60e51b815260206004820152601f60248201527f4275792066656573206d757374206265206c6f776572207468616e2033352500604482015260640161093b565b610dac8111156109e85760405162461bcd60e51b815260206004820181905260248201527f53656c6c2066656573206d757374206265206c6f776572207468616e20333525604482015260640161093b565b600a829055600b81905560408051838152602081018390527f3be6e637f54f081a2dd12982cfd58481304fc98b604b18fa8ed4aa4e4a9d153291015b60405180910390a15050565b6000610a3d8484846119af565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ac25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161093b565b610acf853385840361188a565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610907918590610b13908690612e1e565b61188a565b6005546001600160a01b03163314610b425760405162461bcd60e51b815260040161093b90612dd3565b60068054821515600160a81b0260ff60a81b199091161790556040517ff771b1e218dc92494b39e21852f9c24c3b448d6697c2b485cc1f0cff3c9ec78190610b8f90831515815260200190565b60405180910390a150565b610ba433826120f7565b50565b6005546001600160a01b03163314610bd15760405162461bcd60e51b815260040161093b90612dd3565b60068054821515600160b81b0260ff60b81b199091161790556040517f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b90610b8f90831515815260200190565b6005546001600160a01b03163314610c485760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b038116610c8a5760405162461bcd60e51b815260206004820152600960248201526804164647265737320360bc1b604482015260640161093b565b600680546001600160a01b038381166001600160a01b0319831681179093551690610cb6906001612242565b6006546040516001600160a01b03918216918316907f83e9b0264f846c733d721fc222bd1b60d47f257c00f2c8ee812d03d29fa87a6490600090a35050565b6005546001600160a01b03163314610d1f5760405162461bcd60e51b815260040161093b90612dd3565b6064610d2a60025490565b610d35906001612e31565b610d3f9190612e48565b6007556064610d4d60025490565b610d58906001612e31565b610d629190612e48565b600855610dac600a819055600b556006805462ffffff60a81b19166201010160a81b179055565b6005546001600160a01b03163314610db35760405162461bcd60e51b815260040161093b90612dd3565b60005b82811015610df657610dee848483818110610dd357610dd3612e6a565b9050602002016020810190610de89190612c4a565b836122a2565b600101610db6565b50505050565b6005546001600160a01b03163314610e265760405162461bcd60e51b815260040161093b90612dd3565b610e3060006122fa565b565b6005546001600160a01b03163314610e5c5760405162461bcd60e51b815260040161093b90612dd3565b600654600160c01b900460ff1615610eaa5760405162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903630bab731b432b21760791b604482015260640161093b565b610ed7307f000000000000000000000000000000000000000000000000000000000000000060001961188a565b476001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663f305d7198230610f28816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523260848201524260a482015260c40160606040518083038185885af1158015610f8c573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610fb19190612e80565b50506006805460ff60c01b1916600160c01b179055506040517f02ac8168caf2f254b394bd39e19417c5c28124ab89c9bc2d44921b19808e266990600090a150565b60606004805461087790612d99565b6005546001600160a01b0316331461102c5760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b0382166000908152600f602052604090205460ff161561108d5760405162461bcd60e51b815260206004820152601560248201527420a6a6902830b4b91030b63932b0b23c9039b2ba1760591b604482015260640161093b565b611097828261234c565b5050565b6005546001600160a01b031633146110c55760405162461bcd60e51b815260040161093b90612dd3565b60005b82811015610df6576111008484838181106110e5576110e5612e6a565b90506020020160208101906110fa9190612c4a565b836123a0565b6001016110c8565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561118a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161093b565b611197338585840361188a565b5060019392505050565b60006109073384846119af565b6005546001600160a01b031633146111d85760405162461bcd60e51b815260040161093b90612dd3565b60005b82811015610df6576112138484838181106111f8576111f8612e6a565b905060200201602081019061120d9190612c4a565b83612242565b6001016111db565b6005546001600160a01b031633146112455760405162461bcd60e51b815260040161093b90612dd3565b620f424061125260025490565b61125d906001612e31565b6112679190612e48565b8110156112d55760405162461bcd60e51b815260206004820152603660248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e6044820152751018171818181892903a37ba30b61039bab838363c9760511b606482015260840161093b565b6103e86112e160025490565b6112ec906005612e31565b6112f69190612e48565b8111156113625760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161093b565b600980549082905560408051828152602081018490527f190dc7c30bc62ef30e35c5f5512ad715a1bd03230f2d89c965249246c8d8ecca9101610a24565b6005546001600160a01b031633146113ca5760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b03821660009081526010602052604090205460ff16156114295760405162461bcd60e51b81526020600482015260136024820152722937baba32b91030b63932b0b23c9039b2ba1760691b604482015260640161093b565b61109782826124db565b6005546001600160a01b0316331461145d5760405162461bcd60e51b815260040161093b90612dd3565b6103e861146960025490565b611474906001612e31565b61147e9190612e48565b8210156114df5760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61785472616e73616374696f6e206c6f776572206044820152687468616e20302e312560b81b606482015260840161093b565b6103e86114eb60025490565b6114f6906001612e31565b6115009190612e48565b81101561155b5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e312560e01b606482015260840161093b565b600791909155600855565b6005546001600160a01b031633146115905760405162461bcd60e51b815260040161093b90612dd3565b60006001600160a01b0382166116825750476000816115e45760405162461bcd60e51b815260206004820152601060248201526f4e6f206e617469766520746f6b656e7360801b604482015260640161093b565b60405133908390600081818185875af1925050503d8060008114611624576040519150601f19603f3d011682016040523d82523d6000602084013e611629565b606091505b5050809150508061167c5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f207769746864726177206e617469766520746f6b656e73604482015260640161093b565b5061173c565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ea9190612eae565b9050600081116117285760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b604482015260640161093b565b61173c6001600160a01b038316338361252f565b604080516001600160a01b0384168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b9101610a24565b6005546001600160a01b031633146117a55760405162461bcd60e51b815260040161093b90612dd3565b60068054821515600160b01b0260ff60b01b199091161790556040517f8bcc108c7d867d0a70433f71ecba3056c4dcc48eaabe4ca987f9fb1f836091d590610b8f90831515815260200190565b6005546001600160a01b0316331461181c5760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b0381166118815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161093b565b610ba4816122fa565b6001600160a01b0383166118ec5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161093b565b6001600160a01b03821661194d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161093b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166000908152600d6020526040902054329060ff16806119f057506001600160a01b0383166000908152600d602052604090205460ff165b8015611a3657506001600160a01b0384166000908152600e602052604090205460ff1680611a3657506001600160a01b0383166000908152600e602052604090205460ff165b80611a7c57506001600160a01b0381166000908152600d602052604090205460ff168015611a7c57506001600160a01b0381166000908152600e602052604090205460ff165b15611a8c57610df6848484612581565b6001600160a01b038416600090815260116020526040902054339060ff1615611ac75760405162461bcd60e51b815260040161093b90612ec7565b846001600160a01b0316816001600160a01b03161480611b0057506001600160a01b03811660009081526011602052604090205460ff16155b611b1c5760405162461bcd60e51b815260040161093b90612ec7565b846001600160a01b0316826001600160a01b03161480611b4d5750806001600160a01b0316826001600160a01b0316145b80611b7157506001600160a01b03821660009081526011602052604090205460ff16155b611b8d5760405162461bcd60e51b815260040161093b90612ec7565b82600003611ba857611ba185856000612581565b5050505050565b6000611bbc6005546001600160a01b031690565b600654909150600160c01b900460ff1680611be85750806001600160a01b0316866001600160a01b0316145b80611c045750806001600160a01b0316856001600160a01b0316145b80611c1c57506001600160a01b03851661dead60901b145b611c585760405162461bcd60e51b815260206004820152600d60248201526c2737ba103630bab731b432b21760991b604482015260640161093b565b600654600160a81b900460ff1615611ecf576001600160a01b0386166000908152600f602052604081205460ff168015611cab57506001600160a01b0386166000908152600e602052604090205460ff16155b6001600160a01b0387166000908152600f60205260408120549192509060ff168015611cf057506001600160a01b0388166000908152600e602052604090205460ff16155b90508115611dd157600754861115611d625760405162461bcd60e51b815260206004820152602f60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526e36b0bc2a3930b739b0b1ba34b7b71760891b606482015260840161093b565b6008546001600160a01b038816600090815260208190526040902054611d889088612e1e565b1115611dcc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161093b565b611ecc565b8015611e4257600754861115611dcc5760405162461bcd60e51b815260206004820152603060248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526f1036b0bc2a3930b739b0b1ba34b7b71760811b606482015260840161093b565b6001600160a01b0387166000908152600e602052604090205460ff16611ecc576008546001600160a01b038816600090815260208190526040902054611e889088612e1e565b1115611ecc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161093b565b50505b600654600160b01b900460ff1615611fb4573060009081526020819052604090205460095481108015908190611f0f5750600654600160a01b900460ff16155b8015611f3457506001600160a01b0388166000908152600f602052604090205460ff16155b8015611f5957506001600160a01b03881660009081526010602052604090205460ff16155b8015611f7e57506001600160a01b0388166000908152600d602052604090205460ff16155b8015611fa357506001600160a01b0387166000908152600d602052604090205460ff16155b15611fb157611fb18261274f565b50505b600654600160b81b900460ff16156120e4576006546001600160a01b0387166000908152600d602052604090205460ff600160a01b90920482161591168061201457506001600160a01b0386166000908152600d602052604090205460ff165b1561201d575060005b600081156120e1576001600160a01b0387166000908152600f602052604090205460ff16801561204f57506000600b54115b1561207657612710600b54876120659190612e31565b61206f9190612e48565b90506120c3565b6001600160a01b0388166000908152600f602052604090205460ff1680156120a057506000600a54115b156120c357612710600a54876120b69190612e31565b6120c09190612e48565b90505b80156120e1576120d4883083612581565b6120de8187612eed565b95505b50505b6120ef868686612581565b505050505050565b6001600160a01b0382166121575760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161093b565b6001600160a01b038216600090815260208190526040902054818110156121cb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161093b565b6001600160a01b03831660009081526020819052604081208383039055600280548492906121fa908490612eed565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016119a2565b505050565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089101612296565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0382166000908152600f602052604090205460ff161580156123e257506001600160a01b03821660009081526010602052604090205460ff16155b801561242057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b801561243557506001600160a01b0382163014155b801561247e57506001600160a01b0382166000908152600d602052604090205460ff1615801561247e57506001600160a01b0382166000908152600e602052604090205460ff16155b15611097576001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc89101612296565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917f09b50446349d7fd45dbe59f55204a44404c2adf607c59e9420b87535ed2454b191a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261223d9084906127a7565b6001600160a01b0383166125e55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161093b565b6001600160a01b0382166126475760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161093b565b6001600160a01b038316600090815260208190526040902054818110156126bf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161093b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906126f6908490612e1e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161274291815260200190565b60405180910390a3610df6565b6006805460ff60a01b1916600160a01b17905580156127975760095461277690600a612e31565b81111561278e5760095461278b90600a612e31565b90505b61279781612879565b506006805460ff60a01b19169055565b60006127fc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129d79092919063ffffffff16565b80519091501561223d578080602001905181019061281a9190612f00565b61223d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161093b565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128ae576128ae612e6a565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061290257612902612e6a565b60200260200101906001600160a01b031690816001600160a01b03168152505061294d307f00000000000000000000000000000000000000000000000000000000000000008461188a565b60065460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926129a9928792600092889291909116904290600401612f1d565b600060405180830381600087803b1580156129c357600080fd5b505af11580156120ef573d6000803e3d6000fd5b60606129e684846000856129ee565b949350505050565b606082471015612a4f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161093b565b843b612a9d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161093b565b600080866001600160a01b03168587604051612ab99190612f90565b60006040518083038185875af1925050503d8060008114612af6576040519150601f19603f3d011682016040523d82523d6000602084013e612afb565b606091505b5091509150612b0b828286612b16565b979650505050505050565b60608315612b25575081610ad5565b825115612b355782518084602001fd5b8160405162461bcd60e51b815260040161093b9190612b73565b60005b83811015612b6a578181015183820152602001612b52565b50506000910152565b6020815260008251806020840152612b92816040850160208701612b4f565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114612bbd57600080fd5b919050565b60008060408385031215612bd557600080fd5b612bde83612ba6565b946020939093013593505050565b60008060408385031215612bff57600080fd5b50508035926020909101359150565b600080600060608486031215612c2357600080fd5b612c2c84612ba6565b9250612c3a60208501612ba6565b9150604084013590509250925092565b600060208284031215612c5c57600080fd5b610ad582612ba6565b8015158114610ba457600080fd5b600060208284031215612c8557600080fd5b8135610ad581612c65565b600060208284031215612ca257600080fd5b5035919050565b600080600060408486031215612cbe57600080fd5b833567ffffffffffffffff80821115612cd657600080fd5b818601915086601f830112612cea57600080fd5b813581811115612cf957600080fd5b8760208260051b8501011115612d0e57600080fd5b60209283019550935050840135612d2481612c65565b809150509250925092565b60008060408385031215612d4257600080fd5b612d4b83612ba6565b91506020830135612d5b81612c65565b809150509250929050565b60008060408385031215612d7957600080fd5b612d8283612ba6565b9150612d9060208401612ba6565b90509250929050565b600181811c90821680612dad57607f821691505b602082108103612dcd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561090b5761090b612e08565b808202811582820484141761090b5761090b612e08565b600082612e6557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600080600060608486031215612e9557600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612ec057600080fd5b5051919050565b6020808252600c908201526b189bdd0819195d1958dd195960a21b604082015260600190565b8181038181111561090b5761090b612e08565b600060208284031215612f1257600080fd5b8151610ad581612c65565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015612f6f5784516001600160a01b031683529383019391830191600101612f4a565b50506001600160a01b03969096166060850152505050608001529392505050565b60008251612fa2818460208701612b4f565b919091019291505056fea2646970667358221220e9b22668132fbe0760a8cb8a440bbfb243b700fb2f27fb0e49d889159a47a21364736f6c634300081800330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106102765760003560e01c806380dd9a1f1161014f578063bff51ef8116100c1578063e01af92c1161007a578063e01af92c146107d0578063e0f3ccf5146107f0578063e2f4560514610806578063e4748b9e1461081c578063f2fde38b14610832578063f8b45b051461085257600080fd5b8063bff51ef8146106f3578063c3c6467414610714578063c3f70b5214610734578063c4590d3f1461074a578063cb9637281461076a578063dd62ed3e1461078a57600080fd5b80639c0db5f3116101135780639c0db5f314610623578063a457c2d714610643578063a9059cbb14610663578063ad29ffde14610683578063afa4f3b2146106a3578063b62496f5146106c357600080fd5b806380dd9a1f146105985780638a8c523c146105c85780638da5cb5b146105d057806395d89b41146105ee5780639a7a23d61461060357600080fd5b80634bb2c785116101e85780636ddd1713116101ac5780636ddd1713146104b35780636f4fd18e146104d457806370a08231146104f4578063715018a61461052a57806375f0a8741461053f5780638091f3bf1461057757600080fd5b80634bb2c7851461040b5780634fbee1931461043b57806359512ab01461046b5780635d098b381461048b5780636902ca61146104ab57600080fd5b8063313ce5671161023a578063313ce5671461033e5780633582ad231461035a578063395093511461037b5780633bbac5791461039b57806341aea9de146103cb57806342966c68146103eb57600080fd5b806306fdde0314610282578063095ea7b3146102ad5780630b78f9c0146102dd57806318160ddd146102ff57806323b872dd1461031e57600080fd5b3661027d57005b600080fd5b34801561028e57600080fd5b50610297610868565b6040516102a49190612b73565b60405180910390f35b3480156102b957600080fd5b506102cd6102c8366004612bc2565b6108fa565b60405190151581526020016102a4565b3480156102e957600080fd5b506102fd6102f8366004612bec565b610911565b005b34801561030b57600080fd5b506002545b6040519081526020016102a4565b34801561032a57600080fd5b506102cd610339366004612c0e565b610a30565b34801561034a57600080fd5b50604051601281526020016102a4565b34801561036657600080fd5b506006546102cd90600160a81b900460ff1681565b34801561038757600080fd5b506102cd610396366004612bc2565b610adc565b3480156103a757600080fd5b506102cd6103b6366004612c4a565b60116020526000908152604090205460ff1681565b3480156103d757600080fd5b506102fd6103e6366004612c73565b610b18565b3480156103f757600080fd5b506102fd610406366004612c90565b610b9a565b34801561041757600080fd5b506102cd610426366004612c4a565b600e6020526000908152604090205460ff1681565b34801561044757600080fd5b506102cd610456366004612c4a565b600d6020526000908152604090205460ff1681565b34801561047757600080fd5b506102fd610486366004612c73565b610ba7565b34801561049757600080fd5b506102fd6104a6366004612c4a565b610c1e565b6102fd610cf5565b3480156104bf57600080fd5b506006546102cd90600160b01b900460ff1681565b3480156104e057600080fd5b506102fd6104ef366004612ca9565b610d89565b34801561050057600080fd5b5061031061050f366004612c4a565b6001600160a01b031660009081526020819052604090205490565b34801561053657600080fd5b506102fd610dfc565b34801561054b57600080fd5b5060065461055f906001600160a01b031681565b6040516001600160a01b0390911681526020016102a4565b34801561058357600080fd5b506006546102cd90600160c01b900460ff1681565b3480156105a457600080fd5b506102cd6105b3366004612c4a565b60106020526000908152604090205460ff1681565b6102fd610e32565b3480156105dc57600080fd5b506005546001600160a01b031661055f565b3480156105fa57600080fd5b50610297610ff3565b34801561060f57600080fd5b506102fd61061e366004612d2f565b611002565b34801561062f57600080fd5b506102fd61063e366004612ca9565b61109b565b34801561064f57600080fd5b506102cd61065e366004612bc2565b611108565b34801561066f57600080fd5b506102cd61067e366004612bc2565b6111a1565b34801561068f57600080fd5b506102fd61069e366004612ca9565b6111ae565b3480156106af57600080fd5b506102fd6106be366004612c90565b61121b565b3480156106cf57600080fd5b506102cd6106de366004612c4a565b600f6020526000908152604090205460ff1681565b3480156106ff57600080fd5b506006546102cd90600160b81b900460ff1681565b34801561072057600080fd5b506102fd61072f366004612d2f565b6113a0565b34801561074057600080fd5b5061031060075481565b34801561075657600080fd5b506102fd610765366004612bec565b611433565b34801561077657600080fd5b506102fd610785366004612c4a565b611566565b34801561079657600080fd5b506103106107a5366004612d66565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107dc57600080fd5b506102fd6107eb366004612c73565b61177b565b3480156107fc57600080fd5b50610310600b5481565b34801561081257600080fd5b5061031060095481565b34801561082857600080fd5b50610310600a5481565b34801561083e57600080fd5b506102fd61084d366004612c4a565b6117f2565b34801561085e57600080fd5b5061031060085481565b60606003805461087790612d99565b80601f01602080910402602001604051908101604052809291908181526020018280546108a390612d99565b80156108f05780601f106108c5576101008083540402835291602001916108f0565b820191906000526020600020905b8154815290600101906020018083116108d357829003601f168201915b5050505050905090565b600061090733848461188a565b5060015b92915050565b6005546001600160a01b031633146109445760405162461bcd60e51b815260040161093b90612dd3565b60405180910390fd5b610dac8211156109965760405162461bcd60e51b815260206004820152601f60248201527f4275792066656573206d757374206265206c6f776572207468616e2033352500604482015260640161093b565b610dac8111156109e85760405162461bcd60e51b815260206004820181905260248201527f53656c6c2066656573206d757374206265206c6f776572207468616e20333525604482015260640161093b565b600a829055600b81905560408051838152602081018390527f3be6e637f54f081a2dd12982cfd58481304fc98b604b18fa8ed4aa4e4a9d153291015b60405180910390a15050565b6000610a3d8484846119af565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610ac25760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161093b565b610acf853385840361188a565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610907918590610b13908690612e1e565b61188a565b6005546001600160a01b03163314610b425760405162461bcd60e51b815260040161093b90612dd3565b60068054821515600160a81b0260ff60a81b199091161790556040517ff771b1e218dc92494b39e21852f9c24c3b448d6697c2b485cc1f0cff3c9ec78190610b8f90831515815260200190565b60405180910390a150565b610ba433826120f7565b50565b6005546001600160a01b03163314610bd15760405162461bcd60e51b815260040161093b90612dd3565b60068054821515600160b81b0260ff60b81b199091161790556040517f06cf69227e5c2b5a71319bc3784f6a5355ea0ba2a69bc4c39d64413dfa5a012b90610b8f90831515815260200190565b6005546001600160a01b03163314610c485760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b038116610c8a5760405162461bcd60e51b815260206004820152600960248201526804164647265737320360bc1b604482015260640161093b565b600680546001600160a01b038381166001600160a01b0319831681179093551690610cb6906001612242565b6006546040516001600160a01b03918216918316907f83e9b0264f846c733d721fc222bd1b60d47f257c00f2c8ee812d03d29fa87a6490600090a35050565b6005546001600160a01b03163314610d1f5760405162461bcd60e51b815260040161093b90612dd3565b6064610d2a60025490565b610d35906001612e31565b610d3f9190612e48565b6007556064610d4d60025490565b610d58906001612e31565b610d629190612e48565b600855610dac600a819055600b556006805462ffffff60a81b19166201010160a81b179055565b6005546001600160a01b03163314610db35760405162461bcd60e51b815260040161093b90612dd3565b60005b82811015610df657610dee848483818110610dd357610dd3612e6a565b9050602002016020810190610de89190612c4a565b836122a2565b600101610db6565b50505050565b6005546001600160a01b03163314610e265760405162461bcd60e51b815260040161093b90612dd3565b610e3060006122fa565b565b6005546001600160a01b03163314610e5c5760405162461bcd60e51b815260040161093b90612dd3565b600654600160c01b900460ff1615610eaa5760405162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903630bab731b432b21760791b604482015260640161093b565b610ed7307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d60001961188a565b476001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663f305d7198230610f28816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e086901b1681526001600160a01b039092166004830152602482015260006044820181905260648201523260848201524260a482015260c40160606040518083038185885af1158015610f8c573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610fb19190612e80565b50506006805460ff60c01b1916600160c01b179055506040517f02ac8168caf2f254b394bd39e19417c5c28124ab89c9bc2d44921b19808e266990600090a150565b60606004805461087790612d99565b6005546001600160a01b0316331461102c5760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b0382166000908152600f602052604090205460ff161561108d5760405162461bcd60e51b815260206004820152601560248201527420a6a6902830b4b91030b63932b0b23c9039b2ba1760591b604482015260640161093b565b611097828261234c565b5050565b6005546001600160a01b031633146110c55760405162461bcd60e51b815260040161093b90612dd3565b60005b82811015610df6576111008484838181106110e5576110e5612e6a565b90506020020160208101906110fa9190612c4a565b836123a0565b6001016110c8565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561118a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161093b565b611197338585840361188a565b5060019392505050565b60006109073384846119af565b6005546001600160a01b031633146111d85760405162461bcd60e51b815260040161093b90612dd3565b60005b82811015610df6576112138484838181106111f8576111f8612e6a565b905060200201602081019061120d9190612c4a565b83612242565b6001016111db565b6005546001600160a01b031633146112455760405162461bcd60e51b815260040161093b90612dd3565b620f424061125260025490565b61125d906001612e31565b6112679190612e48565b8110156112d55760405162461bcd60e51b815260206004820152603660248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e6044820152751018171818181892903a37ba30b61039bab838363c9760511b606482015260840161093b565b6103e86112e160025490565b6112ec906005612e31565b6112f69190612e48565b8111156113625760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161093b565b600980549082905560408051828152602081018490527f190dc7c30bc62ef30e35c5f5512ad715a1bd03230f2d89c965249246c8d8ecca9101610a24565b6005546001600160a01b031633146113ca5760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b03821660009081526010602052604090205460ff16156114295760405162461bcd60e51b81526020600482015260136024820152722937baba32b91030b63932b0b23c9039b2ba1760691b604482015260640161093b565b61109782826124db565b6005546001600160a01b0316331461145d5760405162461bcd60e51b815260040161093b90612dd3565b6103e861146960025490565b611474906001612e31565b61147e9190612e48565b8210156114df5760405162461bcd60e51b815260206004820152602960248201527f43616e6e6f7420736574206d61785472616e73616374696f6e206c6f776572206044820152687468616e20302e312560b81b606482015260840161093b565b6103e86114eb60025490565b6114f6906001612e31565b6115009190612e48565b81101561155b5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e312560e01b606482015260840161093b565b600791909155600855565b6005546001600160a01b031633146115905760405162461bcd60e51b815260040161093b90612dd3565b60006001600160a01b0382166116825750476000816115e45760405162461bcd60e51b815260206004820152601060248201526f4e6f206e617469766520746f6b656e7360801b604482015260640161093b565b60405133908390600081818185875af1925050503d8060008114611624576040519150601f19603f3d011682016040523d82523d6000602084013e611629565b606091505b5050809150508061167c5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f207769746864726177206e617469766520746f6b656e73604482015260640161093b565b5061173c565b6040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ea9190612eae565b9050600081116117285760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b604482015260640161093b565b61173c6001600160a01b038316338361252f565b604080516001600160a01b0384168152602081018390527f07c81a5e6d155913a9ed2ce53630058179c89fc94bb5de130620b0245c9f6a0b9101610a24565b6005546001600160a01b031633146117a55760405162461bcd60e51b815260040161093b90612dd3565b60068054821515600160b01b0260ff60b01b199091161790556040517f8bcc108c7d867d0a70433f71ecba3056c4dcc48eaabe4ca987f9fb1f836091d590610b8f90831515815260200190565b6005546001600160a01b0316331461181c5760405162461bcd60e51b815260040161093b90612dd3565b6001600160a01b0381166118815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161093b565b610ba4816122fa565b6001600160a01b0383166118ec5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161093b565b6001600160a01b03821661194d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161093b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166000908152600d6020526040902054329060ff16806119f057506001600160a01b0383166000908152600d602052604090205460ff165b8015611a3657506001600160a01b0384166000908152600e602052604090205460ff1680611a3657506001600160a01b0383166000908152600e602052604090205460ff165b80611a7c57506001600160a01b0381166000908152600d602052604090205460ff168015611a7c57506001600160a01b0381166000908152600e602052604090205460ff165b15611a8c57610df6848484612581565b6001600160a01b038416600090815260116020526040902054339060ff1615611ac75760405162461bcd60e51b815260040161093b90612ec7565b846001600160a01b0316816001600160a01b03161480611b0057506001600160a01b03811660009081526011602052604090205460ff16155b611b1c5760405162461bcd60e51b815260040161093b90612ec7565b846001600160a01b0316826001600160a01b03161480611b4d5750806001600160a01b0316826001600160a01b0316145b80611b7157506001600160a01b03821660009081526011602052604090205460ff16155b611b8d5760405162461bcd60e51b815260040161093b90612ec7565b82600003611ba857611ba185856000612581565b5050505050565b6000611bbc6005546001600160a01b031690565b600654909150600160c01b900460ff1680611be85750806001600160a01b0316866001600160a01b0316145b80611c045750806001600160a01b0316856001600160a01b0316145b80611c1c57506001600160a01b03851661dead60901b145b611c585760405162461bcd60e51b815260206004820152600d60248201526c2737ba103630bab731b432b21760991b604482015260640161093b565b600654600160a81b900460ff1615611ecf576001600160a01b0386166000908152600f602052604081205460ff168015611cab57506001600160a01b0386166000908152600e602052604090205460ff16155b6001600160a01b0387166000908152600f60205260408120549192509060ff168015611cf057506001600160a01b0388166000908152600e602052604090205460ff16155b90508115611dd157600754861115611d625760405162461bcd60e51b815260206004820152602f60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526e36b0bc2a3930b739b0b1ba34b7b71760891b606482015260840161093b565b6008546001600160a01b038816600090815260208190526040902054611d889088612e1e565b1115611dcc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161093b565b611ecc565b8015611e4257600754861115611dcc5760405162461bcd60e51b815260206004820152603060248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526f1036b0bc2a3930b739b0b1ba34b7b71760811b606482015260840161093b565b6001600160a01b0387166000908152600e602052604090205460ff16611ecc576008546001600160a01b038816600090815260208190526040902054611e889088612e1e565b1115611ecc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161093b565b50505b600654600160b01b900460ff1615611fb4573060009081526020819052604090205460095481108015908190611f0f5750600654600160a01b900460ff16155b8015611f3457506001600160a01b0388166000908152600f602052604090205460ff16155b8015611f5957506001600160a01b03881660009081526010602052604090205460ff16155b8015611f7e57506001600160a01b0388166000908152600d602052604090205460ff16155b8015611fa357506001600160a01b0387166000908152600d602052604090205460ff16155b15611fb157611fb18261274f565b50505b600654600160b81b900460ff16156120e4576006546001600160a01b0387166000908152600d602052604090205460ff600160a01b90920482161591168061201457506001600160a01b0386166000908152600d602052604090205460ff165b1561201d575060005b600081156120e1576001600160a01b0387166000908152600f602052604090205460ff16801561204f57506000600b54115b1561207657612710600b54876120659190612e31565b61206f9190612e48565b90506120c3565b6001600160a01b0388166000908152600f602052604090205460ff1680156120a057506000600a54115b156120c357612710600a54876120b69190612e31565b6120c09190612e48565b90505b80156120e1576120d4883083612581565b6120de8187612eed565b95505b50505b6120ef868686612581565b505050505050565b6001600160a01b0382166121575760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161093b565b6001600160a01b038216600090815260208190526040902054818110156121cb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161093b565b6001600160a01b03831660009081526020819052604081208383039055600280548492906121fa908490612eed565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016119a2565b505050565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089101612296565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0382166000908152600f602052604090205460ff161580156123e257506001600160a01b03821660009081526010602052604090205460ff16155b801561242057507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b801561243557506001600160a01b0382163014155b801561247e57506001600160a01b0382166000908152600d602052604090205460ff1615801561247e57506001600160a01b0382166000908152600e602052604090205460ff16155b15611097576001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527ff7f8b40d08076851dfb7cfd6c584ae9a829a570f264abee45e0d7ca342ae8dc89101612296565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917f09b50446349d7fd45dbe59f55204a44404c2adf607c59e9420b87535ed2454b191a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261223d9084906127a7565b6001600160a01b0383166125e55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161093b565b6001600160a01b0382166126475760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161093b565b6001600160a01b038316600090815260208190526040902054818110156126bf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161093b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906126f6908490612e1e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161274291815260200190565b60405180910390a3610df6565b6006805460ff60a01b1916600160a01b17905580156127975760095461277690600a612e31565b81111561278e5760095461278b90600a612e31565b90505b61279781612879565b506006805460ff60a01b19169055565b60006127fc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129d79092919063ffffffff16565b80519091501561223d578080602001905181019061281a9190612f00565b61223d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161093b565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128ae576128ae612e6a565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061290257612902612e6a565b60200260200101906001600160a01b031690816001600160a01b03168152505061294d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461188a565b60065460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926129a9928792600092889291909116904290600401612f1d565b600060405180830381600087803b1580156129c357600080fd5b505af11580156120ef573d6000803e3d6000fd5b60606129e684846000856129ee565b949350505050565b606082471015612a4f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161093b565b843b612a9d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161093b565b600080866001600160a01b03168587604051612ab99190612f90565b60006040518083038185875af1925050503d8060008114612af6576040519150601f19603f3d011682016040523d82523d6000602084013e612afb565b606091505b5091509150612b0b828286612b16565b979650505050505050565b60608315612b25575081610ad5565b825115612b355782518084602001fd5b8160405162461bcd60e51b815260040161093b9190612b73565b60005b83811015612b6a578181015183820152602001612b52565b50506000910152565b6020815260008251806020840152612b92816040850160208701612b4f565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114612bbd57600080fd5b919050565b60008060408385031215612bd557600080fd5b612bde83612ba6565b946020939093013593505050565b60008060408385031215612bff57600080fd5b50508035926020909101359150565b600080600060608486031215612c2357600080fd5b612c2c84612ba6565b9250612c3a60208501612ba6565b9150604084013590509250925092565b600060208284031215612c5c57600080fd5b610ad582612ba6565b8015158114610ba457600080fd5b600060208284031215612c8557600080fd5b8135610ad581612c65565b600060208284031215612ca257600080fd5b5035919050565b600080600060408486031215612cbe57600080fd5b833567ffffffffffffffff80821115612cd657600080fd5b818601915086601f830112612cea57600080fd5b813581811115612cf957600080fd5b8760208260051b8501011115612d0e57600080fd5b60209283019550935050840135612d2481612c65565b809150509250925092565b60008060408385031215612d4257600080fd5b612d4b83612ba6565b91506020830135612d5b81612c65565b809150509250929050565b60008060408385031215612d7957600080fd5b612d8283612ba6565b9150612d9060208401612ba6565b90509250929050565b600181811c90821680612dad57607f821691505b602082108103612dcd57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561090b5761090b612e08565b808202811582820484141761090b5761090b612e08565b600082612e6557634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600080600060608486031215612e9557600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612ec057600080fd5b5051919050565b6020808252600c908201526b189bdd0819195d1958dd195960a21b604082015260600190565b8181038181111561090b5761090b612e08565b600060208284031215612f1257600080fd5b8151610ad581612c65565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015612f6f5784516001600160a01b031683529383019391830191600101612f4a565b50506001600160a01b03969096166060850152505050608001529392505050565b60008251612fa2818460208701612b4f565b919091019291505056fea2646970667358221220e9b22668132fbe0760a8cb8a440bbfb243b700fb2f27fb0e49d889159a47a21364736f6c63430008180033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.