ETH Price: $3,406.30 (+6.17%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve206744182024-09-04 3:05:59142 days ago1725419159IN
0x27f4f747...c34E7BD8e
0 ETH0.000062731.35304404
Approve193006452024-02-24 23:12:11334 days ago1708816331IN
0x27f4f747...c34E7BD8e
0 ETH0.0005455322.46206995
Approve185678392023-11-14 4:45:23437 days ago1699937123IN
0x27f4f747...c34E7BD8e
0 ETH0.0010913823.56243654
Approve184815042023-11-02 2:43:11449 days ago1698892991IN
0x27f4f747...c34E7BD8e
0 ETH0.0015014932.19959496
Approve184266132023-10-25 10:19:35456 days ago1698229175IN
0x27f4f747...c34E7BD8e
0 ETH0.0003014112.38011238
Approve183964812023-10-21 5:04:23461 days ago1697864663IN
0x27f4f747...c34E7BD8e
0 ETH0.000371117.96870182
Approve182948252023-10-06 23:45:59475 days ago1696635959IN
0x27f4f747...c34E7BD8e
0 ETH0.0005464411.7185158
Approve182872992023-10-05 22:30:47476 days ago1696545047IN
0x27f4f747...c34E7BD8e
0 ETH0.000309746.6872465
Approve182633012023-10-02 13:59:11479 days ago1696255151IN
0x27f4f747...c34E7BD8e
0 ETH0.0007497816.1874543
Approve182411122023-09-29 11:36:23482 days ago1695987383IN
0x27f4f747...c34E7BD8e
0 ETH0.000338647.3017788
Approve182270842023-09-27 12:26:11484 days ago1695817571IN
0x27f4f747...c34E7BD8e
0 ETH0.0004964510.66016878
Approve182243632023-09-27 3:16:59485 days ago1695784619IN
0x27f4f747...c34E7BD8e
0 ETH0.000325516.98958536
Approve182234132023-09-27 0:05:47485 days ago1695773147IN
0x27f4f747...c34E7BD8e
0 ETH0.0004945210.61864284
Approve182174572023-09-26 4:04:59486 days ago1695701099IN
0x27f4f747...c34E7BD8e
0 ETH0.000375058.09716276
Approve182155252023-09-25 21:36:35486 days ago1695677795IN
0x27f4f747...c34E7BD8e
0 ETH0.0008351818.03115798
Approve182133872023-09-25 14:26:35486 days ago1695651995IN
0x27f4f747...c34E7BD8e
0 ETH0.0008479818.20841925
Approve182093342023-09-25 0:48:59487 days ago1695602939IN
0x27f4f747...c34E7BD8e
0 ETH0.000336917.23436293
Approve182077392023-09-24 19:28:11487 days ago1695583691IN
0x27f4f747...c34E7BD8e
0 ETH0.0003205512.11136621
Approve182075302023-09-24 18:46:11487 days ago1695581171IN
0x27f4f747...c34E7BD8e
0 ETH0.000177316.73
Approve182073732023-09-24 18:14:23487 days ago1695579263IN
0x27f4f747...c34E7BD8e
0 ETH0.000455429.83233205
Approve182067032023-09-24 15:59:35487 days ago1695571175IN
0x27f4f747...c34E7BD8e
0 ETH0.000328927.06291145
Approve182066262023-09-24 15:44:11487 days ago1695570251IN
0x27f4f747...c34E7BD8e
0 ETH0.000424999.17531258
Approve182059502023-09-24 13:27:35487 days ago1695562055IN
0x27f4f747...c34E7BD8e
0 ETH0.000327847.03972231
Approve182059112023-09-24 13:19:47487 days ago1695561587IN
0x27f4f747...c34E7BD8e
0 ETH0.00031516.76611931
Approve182058382023-09-24 13:05:11487 days ago1695560711IN
0x27f4f747...c34E7BD8e
0 ETH0.000363327.80144198
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
182633042023-10-02 13:59:47479 days ago1696255187
0x27f4f747...c34E7BD8e
0.00339521 ETH
182633042023-10-02 13:59:47479 days ago1696255187
0x27f4f747...c34E7BD8e
0.00339521 ETH
182134242023-09-25 14:34:11486 days ago1695652451
0x27f4f747...c34E7BD8e
0.00377137 ETH
182134242023-09-25 14:34:11486 days ago1695652451
0x27f4f747...c34E7BD8e
0.00377137 ETH
182073832023-09-24 18:16:23487 days ago1695579383
0x27f4f747...c34E7BD8e
0.00445137 ETH
182073832023-09-24 18:16:23487 days ago1695579383
0x27f4f747...c34E7BD8e
0.00445137 ETH
182073822023-09-24 18:16:11487 days ago1695579371
0x27f4f747...c34E7BD8e
0.00445137 ETH
182073822023-09-24 18:16:11487 days ago1695579371
0x27f4f747...c34E7BD8e
0.00445137 ETH
182073822023-09-24 18:16:11487 days ago1695579371
0x27f4f747...c34E7BD8e
0.00445137 ETH
182073822023-09-24 18:16:11487 days ago1695579371
0x27f4f747...c34E7BD8e
0.00445137 ETH
182061072023-09-24 13:59:11487 days ago1695563951
0x27f4f747...c34E7BD8e
0.00666754 ETH
182061072023-09-24 13:59:11487 days ago1695563951
0x27f4f747...c34E7BD8e
0.00666754 ETH
182056642023-09-24 12:29:59487 days ago1695558599
0x27f4f747...c34E7BD8e
0.00612329 ETH
182056642023-09-24 12:29:59487 days ago1695558599
0x27f4f747...c34E7BD8e
0.00612329 ETH
182055342023-09-24 12:03:47487 days ago1695557027
0x27f4f747...c34E7BD8e
0.00855762 ETH
182055342023-09-24 12:03:47487 days ago1695557027
0x27f4f747...c34E7BD8e
0.00855762 ETH
182048522023-09-24 9:46:11487 days ago1695548771
0x27f4f747...c34E7BD8e
0.00937264 ETH
182048522023-09-24 9:46:11487 days ago1695548771
0x27f4f747...c34E7BD8e
0.00937264 ETH
182045082023-09-24 8:37:11487 days ago1695544631
0x27f4f747...c34E7BD8e
0.00988786 ETH
182045082023-09-24 8:37:11487 days ago1695544631
0x27f4f747...c34E7BD8e
0.00988786 ETH
182043672023-09-24 8:08:35488 days ago1695542915
0x27f4f747...c34E7BD8e
0.01602297 ETH
182043672023-09-24 8:08:35488 days ago1695542915
0x27f4f747...c34E7BD8e
0.01602297 ETH
182041762023-09-24 7:29:47488 days ago1695540587
0x27f4f747...c34E7BD8e
0.00832702 ETH
182041762023-09-24 7:29:47488 days ago1695540587
0x27f4f747...c34E7BD8e
0.00832702 ETH
182039352023-09-24 6:41:11488 days ago1695537671
0x27f4f747...c34E7BD8e
0.01000982 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FTBET

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : FB.sol
/*
🎲 Bet on the key prices of your favorite twitter users

Twitter: https://twitter.com/friendbet_tech
Telegram: https://t.me/FriendBetPortal
Website: https://friendbet.tech/
Docs: https://docs.friendbet.tech/
*/

pragma solidity ^0.8.19;

//import {ERC20} from "solady/src/tokens/ERC20.sol";
import {Ownable} from "solady/src/auth/Ownable.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract FTBET is ERC20, Ownable {
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool private swapping;

    address private marketingWallet;
    address private teamWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch

    // Seller Map
    mapping(address => uint256) private _holderFirstBuyTimestamp;

    // Blacklist Map
    mapping(address => bool) private _blacklist;
    bool public transferDelayEnabled = true;

    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyTeamFee;

    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellTeamFee;

    uint256 public tokensForMarketing;
    uint256 public tokensForLiquidity;
    uint256 public tokensForTeam;

    // block number of opened trading
    uint256 launchedAt;

    /******************/

    // exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event teamWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event AutoNukeLP();

    event ManualNukeLP();

    constructor(address router) ERC20("Friend Tech Bets", "FTBET") {
        _initializeOwner(msg.sender);
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router);

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyMarketingFee = 20;
        uint256 _buyLiquidityFee = 5;
        uint256 _buyTeamFee = 0;

        uint256 _sellMarketingFee = 20;
        uint256 _sellLiquidityFee = 5;
        uint256 _sellTeamFee = 0;

        uint256 totalSupply = 2 * 1_000_000_000 * 1e18;

        maxTransactionAmount = (totalSupply * 20) / 1000; // 2% maxTransactionAmountTxn
        maxWallet = (totalSupply * 10) / 1000; // 1% maxWallet
        swapTokensAtAmount = (totalSupply * 10) / 10000; // 0.10% swap wallet

        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyTeamFee = _buyTeamFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyTeamFee;

        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellTeamFee = _sellTeamFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellTeamFee;

        marketingWallet = address(owner()); // set as marketing wallet
        teamWallet = address(owner()); // set as team wallet

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
        launchedAt = block.number;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner returns (bool) {
        transferDelayEnabled = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(
        uint256 newAmount
    ) external onlyOwner returns (bool) {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNum * (10 ** 9);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNum * (10 ** 9);
    }

    function excludeFromMaxTransaction(
        address updAds,
        bool isEx
    ) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _teamFee
    ) external onlyOwner {
        buyMarketingFee = _marketingFee;
        buyLiquidityFee = _liquidityFee;
        buyTeamFee = _teamFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyTeamFee;
        require(buyTotalFees <= 51, "Must keep fees at 51% or less");
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _teamFee
    ) external onlyOwner {
        sellMarketingFee = _marketingFee;
        sellLiquidityFee = _liquidityFee;
        sellTeamFee = _teamFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellTeamFee;
        require(sellTotalFees <= 51, "Must keep fees at 51% or less");
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function blacklistAccount(
        address account,
        bool isBlacklisted
    ) public onlyOwner {
        _blacklist[account] = isBlacklisted;
    }

    function setAutomatedMarketMakerPair(
        address pair,
        bool value
    ) public onlyOwner {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMarketingWallet(
        address newMarketingWallet
    ) external onlyOwner {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function updateTeamWallet(address newWallet) external onlyOwner {
        emit teamWalletUpdated(newWallet, teamWallet);
        teamWallet = newWallet;
    }

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(
            !_blacklist[to] && !_blacklist[from],
            "You have been blacklisted from transfering tokens"
        );
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
                if (transferDelayEnabled) {
                    if (
                        to != owner() &&
                        to != address(uniswapV2Router) &&
                        to != address(uniswapV2Pair)
                    ) {
                        require(
                            _holderLastTransferTimestamp[tx.origin] <
                                block.number,
                            "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                        );
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / (100);
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForTeam += (fees * sellTeamFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / (100);
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForTeam += (fees * buyTeamFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

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

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(marketingWallet),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensForMarketing +
            tokensForTeam;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance - liquidityTokens;

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance - initialETHBalance;

        uint256 ethForMarketing = (ethBalance * tokensForMarketing) /
            (totalTokensToSwap);
        uint256 ethForTeam = (ethBalance * tokensForTeam) / (totalTokensToSwap);
        uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForTeam;

        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForTeam = 0;

        (success, ) = address(teamWallet).call{value: ethForTeam}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 9 : 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 4 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 9 : 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 6 of 9 : 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 7 of 9 : 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 8 of 9 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 9 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Simple single owner authorization mixin.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)
///
/// @dev Note:
/// This implementation does NOT auto-initialize the owner to `msg.sender`.
/// You MUST call the `_initializeOwner` in the constructor / initializer.
///
/// While the ownable portion follows
/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,
/// the nomenclature for the 2-step ownership handover may be unique to this codebase.
abstract contract Ownable {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The caller is not authorized to call the function.
    error Unauthorized();

    /// @dev The `newOwner` cannot be the zero address.
    error NewOwnerIsZeroAddress();

    /// @dev The `pendingOwner` does not have a valid handover request.
    error NoHandoverRequest();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           EVENTS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The ownership is transferred from `oldOwner` to `newOwner`.
    /// This event is intentionally kept the same as OpenZeppelin's Ownable to be
    /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),
    /// despite it not being as lightweight as a single argument event.
    event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);

    /// @dev An ownership handover to `pendingOwner` has been requested.
    event OwnershipHandoverRequested(address indexed pendingOwner);

    /// @dev The ownership handover to `pendingOwner` has been canceled.
    event OwnershipHandoverCanceled(address indexed pendingOwner);

    /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`.
    uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =
        0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;

    /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =
        0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;

    /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =
        0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          STORAGE                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The owner slot is given by: `not(_OWNER_SLOT_NOT)`.
    /// It is intentionally chosen to be a high value
    /// to avoid collision with lower slots.
    /// The choice of manual storage layout is to enable compatibility
    /// with both regular and upgradeable contracts.
    uint256 private constant _OWNER_SLOT_NOT = 0x8b78c6d8;

    /// The ownership handover slot of `newOwner` is given by:
    /// ```
    ///     mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))
    ///     let handoverSlot := keccak256(0x00, 0x20)
    /// ```
    /// It stores the expiry timestamp of the two-step ownership handover.
    uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     INTERNAL FUNCTIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Initializes the owner directly without authorization guard.
    /// This function must be called upon initialization,
    /// regardless of whether the contract is upgradeable or not.
    /// This is to enable generalization to both regular and upgradeable contracts,
    /// and to save gas in case the initial owner is not the caller.
    /// For performance reasons, this function will not check if there
    /// is an existing owner.
    function _initializeOwner(address newOwner) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Clean the upper 96 bits.
            newOwner := shr(96, shl(96, newOwner))
            // Store the new value.
            sstore(not(_OWNER_SLOT_NOT), newOwner)
            // Emit the {OwnershipTransferred} event.
            log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
        }
    }

    /// @dev Sets the owner directly without authorization guard.
    function _setOwner(address newOwner) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            let ownerSlot := not(_OWNER_SLOT_NOT)
            // Clean the upper 96 bits.
            newOwner := shr(96, shl(96, newOwner))
            // Emit the {OwnershipTransferred} event.
            log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
            // Store the new value.
            sstore(ownerSlot, newOwner)
        }
    }

    /// @dev Throws if the sender is not the owner.
    function _checkOwner() internal view virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // If the caller is not the stored owner, revert.
            if iszero(eq(caller(), sload(not(_OWNER_SLOT_NOT)))) {
                mstore(0x00, 0x82b42900) // `Unauthorized()`.
                revert(0x1c, 0x04)
            }
        }
    }

    /// @dev Returns how long a two-step ownership handover is valid for in seconds.
    /// Override to return a different value if needed.
    /// Made internal to conserve bytecode. Wrap it in a public function if needed.
    function _ownershipHandoverValidFor() internal view virtual returns (uint64) {
        return 48 * 3600;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  PUBLIC UPDATE FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Allows the owner to transfer the ownership to `newOwner`.
    function transferOwnership(address newOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            if iszero(shl(96, newOwner)) {
                mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.
                revert(0x1c, 0x04)
            }
        }
        _setOwner(newOwner);
    }

    /// @dev Allows the owner to renounce their ownership.
    function renounceOwnership() public payable virtual onlyOwner {
        _setOwner(address(0));
    }

    /// @dev Request a two-step ownership handover to the caller.
    /// The request will automatically expire in 48 hours (172800 seconds) by default.
    function requestOwnershipHandover() public payable virtual {
        unchecked {
            uint256 expires = block.timestamp + _ownershipHandoverValidFor();
            /// @solidity memory-safe-assembly
            assembly {
                // Compute and set the handover slot to `expires`.
                mstore(0x0c, _HANDOVER_SLOT_SEED)
                mstore(0x00, caller())
                sstore(keccak256(0x0c, 0x20), expires)
                // Emit the {OwnershipHandoverRequested} event.
                log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())
            }
        }
    }

    /// @dev Cancels the two-step ownership handover to the caller, if any.
    function cancelOwnershipHandover() public payable virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, caller())
            sstore(keccak256(0x0c, 0x20), 0)
            // Emit the {OwnershipHandoverCanceled} event.
            log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())
        }
    }

    /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.
    /// Reverts if there is no existing ownership handover requested by `pendingOwner`.
    function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            let handoverSlot := keccak256(0x0c, 0x20)
            // If the handover does not exist, or has expired.
            if gt(timestamp(), sload(handoverSlot)) {
                mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.
                revert(0x1c, 0x04)
            }
            // Set the handover slot to 0.
            sstore(handoverSlot, 0)
        }
        _setOwner(pendingOwner);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   PUBLIC READ FUNCTIONS                    */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the owner of the contract.
    function owner() public view virtual returns (address result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := sload(not(_OWNER_SLOT_NOT))
        }
    }

    /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.
    function ownershipHandoverExpiresAt(address pendingOwner)
        public
        view
        virtual
        returns (uint256 result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the handover slot.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            // Load the handover slot.
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         MODIFIERS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Marks a function as only callable by the owner.
    modifier onlyOwner() virtual {
        _checkOwner();
        _;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"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":[],"name":"AutoNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"ManualNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"teamWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"blacklistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTeamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","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":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","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":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTeamFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_teamFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_teamFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600a805462ffffff19166001908117909155600e805460ff191690911790553480156200002f575f80fd5b506040516200300e3803806200300e8339810160408190526200005291620005e9565b6040518060400160405280601081526020016f467269656e642054656368204265747360801b81525060405180604001604052806005815260200164119510915560da1b8152508160039081620000aa9190620006b7565b506004620000b98282620006b7565b505050620000cd33620003d960201b60201c565b80620000db81600162000414565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000124573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200014a9190620005e9565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000196573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001bc9190620005e9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000207573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200022d9190620005e9565b6001600160a01b031660a08190526200024890600162000414565b60a0516200025890600162000448565b601460055f8282826b06765c793fa10079d00000006103e86200027c828662000793565b620002889190620007b3565b6007556103e86200029b82600a62000793565b620002a79190620007b3565b600955612710620002ba82600a62000793565b620002c69190620007b3565b60085560108790556011869055601285905584620002e58789620007d3565b620002f19190620007d3565b600f5560148490556015839055601682905581620003108486620007d3565b6200031c9190620007d3565b601355638b78c6d8195460058054610100600160a81b0319166101006001600160a01b03841690810291909117909155600680546001600160a01b03191690911790556200036c9060016200049b565b620003793060016200049b565b6200038861dead60016200049b565b620003a26200039a638b78c6d8195490565b600162000414565b620003af30600162000414565b620003be61dead600162000414565b620003ca338262000503565b505050505050505050620007e9565b6001600160a01b0316638b78c6d819819055805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b6200041e620005c7565b6001600160a01b03919091165f908152601c60205260409020805460ff1916911515919091179055565b6001600160a01b0382165f818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b620004a5620005c7565b6001600160a01b0382165f818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200055e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620005719190620007d3565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b638b78c6d819543314620005e2576382b429005f526004601cfd5b565b505050565b5f60208284031215620005fa575f80fd5b81516001600160a01b038116811462000611575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200064157607f821691505b6020821081036200066057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620005e4575f81815260208120601f850160051c810160208610156200068e5750805b601f850160051c820191505b81811015620006af578281556001016200069a565b505050505050565b81516001600160401b03811115620006d357620006d362000618565b620006eb81620006e484546200062c565b8462000666565b602080601f83116001811462000721575f8415620007095750858301515b5f19600386901b1c1916600185901b178555620006af565b5f85815260208120601f198616915b82811015620007515788860151825594840194600190910190840162000730565b50858210156200076f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620007ad57620007ad6200077f565b92915050565b5f82620007ce57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620007ad57620007ad6200077f565b60805160a0516127cb620008435f395f818161053501528181610dc2015261171801525f8181610401015281816116da01528181612199015281816122500152818161228c01528181612300015261236d01526127cb5ff3fe60806040526004361061035e575f3560e01c806392136913116101bd578063c8c8ebe4116100f2578063f04e283e11610092578063f63743421161006d578063f63743421461094d578063f8b45b0514610962578063fde83a3414610977578063fee81cf41461098c575f80fd5b8063f04e283e14610912578063f11a24d314610925578063f2fde38b1461093a575f80fd5b8063d85ba063116100cd578063d85ba063146108b5578063dd62ed3e146108ca578063e2f45605146108e9578063e884f260146108fe575f80fd5b8063c8c8ebe41461086c578063d257b34f14610881578063d729715f146108a0575f80fd5b8063aacebbe31161015d578063c024666811610138578063c0246668146107f6578063c17b5b8c14610815578063c18bc19514610834578063c876d0b914610853575f80fd5b8063aacebbe31461078b578063b62496f5146107aa578063bbc0c742146107d8575f80fd5b80639a7a23d6116101985780639a7a23d6146107195780639c2e4ac614610738578063a457c2d71461074d578063a9059cbb1461076c575f80fd5b806392136913146106d1578063924de9b7146106e657806395d89b4114610705575f80fd5b80634a62bb6511610293578063751039fc116102335780637cb332bb1161020e5780637cb332bb146106675780638095d564146106865780638a8c523c146106a55780638da5cb5b146106b9575f80fd5b8063751039fc1461061f5780637571336a146106335780637bce5a0414610652575f80fd5b80636a486a8e1161026e5780636a486a8e146105af5780636ddd1713146105c457806370a08231146105e3578063715018a614610617575f80fd5b80634a62bb65146105575780634fbee1931461057057806354d1f13d146105a7575f80fd5b8063203e727e116102fe5780632d5a5d34116102d95780632d5a5d34146104cb578063313ce567146104ea578063395093511461050557806349bd5a5e14610524575f80fd5b8063203e727e1461048357806323b872dd146104a457806325692962146104c3575f80fd5b80631694505e116103395780631694505e146103f057806318160ddd1461043b5780631a8145bb146104595780631f3fed8f1461046e575f80fd5b806306fdde0314610369578063095ea7b31461039357806310d5de53146103c2575f80fd5b3661036557005b5f80fd5b348015610374575f80fd5b5061037d6109bd565b60405161038a91906123e1565b60405180910390f35b34801561039e575f80fd5b506103b26103ad366004612440565b610a4d565b604051901515815260200161038a565b3480156103cd575f80fd5b506103b26103dc36600461246a565b601c6020525f908152604090205460ff1681565b3480156103fb575f80fd5b506104237f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161038a565b348015610446575f80fd5b506002545b60405190815260200161038a565b348015610464575f80fd5b5061044b60185481565b348015610479575f80fd5b5061044b60175481565b34801561048e575f80fd5b506104a261049d36600461248c565b610a66565b005b3480156104af575f80fd5b506103b26104be3660046124a3565b610b22565b6104a2610b45565b3480156104d6575f80fd5b506104a26104e53660046124f0565b610b92565b3480156104f5575f80fd5b506040516012815260200161038a565b348015610510575f80fd5b506103b261051f366004612440565b610bc4565b34801561052f575f80fd5b506104237f000000000000000000000000000000000000000000000000000000000000000081565b348015610562575f80fd5b50600a546103b29060ff1681565b34801561057b575f80fd5b506103b261058a36600461246a565b6001600160a01b03165f908152601b602052604090205460ff1690565b6104a2610be5565b3480156105ba575f80fd5b5061044b60135481565b3480156105cf575f80fd5b50600a546103b29062010000900460ff1681565b3480156105ee575f80fd5b5061044b6105fd36600461246a565b6001600160a01b03165f9081526020819052604090205490565b6104a2610c1e565b34801561062a575f80fd5b506103b2610c31565b34801561063e575f80fd5b506104a261064d3660046124f0565b610c4a565b34801561065d575f80fd5b5061044b60105481565b348015610672575f80fd5b506104a261068136600461246a565b610c7c565b348015610691575f80fd5b506104a26106a0366004612523565b610ce0565b3480156106b0575f80fd5b506104a2610d66565b3480156106c4575f80fd5b50638b78c6d81954610423565b3480156106dc575f80fd5b5061044b60145481565b3480156106f1575f80fd5b506104a261070036600461254c565b610d85565b348015610710575f80fd5b5061037d610da9565b348015610724575f80fd5b506104a26107333660046124f0565b610db8565b348015610743575f80fd5b5061044b60125481565b348015610758575f80fd5b506103b2610767366004612440565b610e75565b348015610777575f80fd5b506103b2610786366004612440565b610eef565b348015610796575f80fd5b506104a26107a536600461246a565b610efc565b3480156107b5575f80fd5b506103b26107c436600461246a565b601d6020525f908152604090205460ff1681565b3480156107e3575f80fd5b50600a546103b290610100900460ff1681565b348015610801575f80fd5b506104a26108103660046124f0565b610f6b565b348015610820575f80fd5b506104a261082f366004612523565b610fd1565b34801561083f575f80fd5b506104a261084e36600461248c565b611052565b34801561085e575f80fd5b50600e546103b29060ff1681565b348015610877575f80fd5b5061044b60075481565b34801561088c575f80fd5b506103b261089b36600461248c565b6110fd565b3480156108ab575f80fd5b5061044b60165481565b3480156108c0575f80fd5b5061044b600f5481565b3480156108d5575f80fd5b5061044b6108e4366004612565565b611230565b3480156108f4575f80fd5b5061044b60085481565b348015610909575f80fd5b506103b261125a565b6104a261092036600461246a565b611273565b348015610930575f80fd5b5061044b60115481565b6104a261094836600461246a565b6112b0565b348015610958575f80fd5b5061044b60155481565b34801561096d575f80fd5b5061044b60095481565b348015610982575f80fd5b5061044b60195481565b348015610997575f80fd5b5061044b6109a636600461246a565b63389a75e1600c9081525f91909152602090205490565b6060600380546109cc9061259c565b80601f01602080910402602001604051908101604052809291908181526020018280546109f89061259c565b8015610a435780601f10610a1a57610100808354040283529160200191610a43565b820191905f5260205f20905b815481529060010190602001808311610a2657829003601f168201915b5050505050905090565b5f33610a5a8185856112d6565b60019150505b92915050565b610a6e6113f9565b670de0b6b3a76400006103e8610a8360025490565b610a8e9060016125e8565b610a9891906125ff565b610aa291906125ff565b811015610b0e5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084015b60405180910390fd5b610b1c81633b9aca006125e8565b60075550565b5f33610b2f858285611413565b610b3a85858561148b565b506001949350505050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b610b9a6113f9565b6001600160a01b03919091165f908152600d60205260409020805460ff1916911515919091179055565b5f33610a5a818585610bd68383611230565b610be0919061261e565b6112d6565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b610c266113f9565b610c2f5f611d5e565b565b5f610c3a6113f9565b50600a805460ff19169055600190565b610c526113f9565b6001600160a01b03919091165f908152601c60205260409020805460ff1916911515919091179055565b610c846113f9565b6006546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f961668905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610ce86113f9565b60108390556011829055601281905580610d02838561261e565b610d0c919061261e565b600f81905560331015610d615760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353125206f72206c6573730000006044820152606401610b05565b505050565b610d6e6113f9565b600a805462ffff0019166201010017905543601a55565b610d8d6113f9565b600a8054911515620100000262ff000019909216919091179055565b6060600480546109cc9061259c565b610dc06113f9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e675760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b05565b610e718282611d9b565b5050565b5f3381610e828286611230565b905083811015610ee25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b05565b610b3a82868684036112d6565b5f33610a5a81858561148b565b610f046113f9565b6005546040516001600160a01b036101009092048216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610f736113f9565b6001600160a01b0382165f818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610fd96113f9565b60148390556015829055601681905580610ff3838561261e565b610ffd919061261e565b601381905560331015610d615760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353125206f72206c6573730000006044820152606401610b05565b61105a6113f9565b670de0b6b3a76400006103e861106f60025490565b61107a9060056125e8565b61108491906125ff565b61108e91906125ff565b8110156110e95760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610b05565b6110f781633b9aca006125e8565b60095550565b5f6111066113f9565b620186a061111360025490565b61111e9060016125e8565b61112891906125ff565b8210156111955760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b05565b6103e86111a160025490565b6111ac9060056125e8565b6111b691906125ff565b8211156112225760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b05565b50600881905560015b919050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b5f6112636113f9565b50600e805460ff19169055600190565b61127b6113f9565b63389a75e1600c52805f526020600c2080544211156112a157636f5e88185f526004601cfd5b5f90556112ad81611d5e565b50565b6112b86113f9565b8060601b6112cd57637448fbae5f526004601cfd5b6112ad81611d5e565b6001600160a01b0383166113385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b05565b6001600160a01b0382166113995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b05565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b638b78c6d819543314610c2f576382b429005f526004601cfd5b5f61141e8484611230565b90505f19811461148557818110156114785760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b05565b61148584848484036112d6565b50505050565b6001600160a01b0383166114b15760405162461bcd60e51b8152600401610b0590612631565b6001600160a01b0382166114d75760405162461bcd60e51b8152600401610b0590612676565b6001600160a01b0382165f908152600d602052604090205460ff1615801561151757506001600160a01b0383165f908152600d602052604090205460ff16155b61157d5760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610b05565b805f0361158f57610d6183835f611dee565b600a5460ff1615611a5857638b78c6d819546001600160a01b0316836001600160a01b0316141580156115da5750638b78c6d819546001600160a01b0316826001600160a01b031614155b80156115ee57506001600160a01b03821615155b801561160557506001600160a01b03821661dead14155b8015611614575060055460ff16155b15611a5857600a54610100900460ff166116aa576001600160a01b0383165f908152601b602052604090205460ff168061166557506001600160a01b0382165f908152601b602052604090205460ff165b6116aa5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b05565b600e5460ff16156117f957638b78c6d819546001600160a01b0316826001600160a01b03161415801561170f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b801561174d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156117f957325f908152600b602052604090205443116117e75760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b05565b325f908152600b602052604090204390555b6001600160a01b0383165f908152601d602052604090205460ff16801561183857506001600160a01b0382165f908152601c602052604090205460ff16155b1561191b576007548111156118ad5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b05565b6009546001600160a01b0383165f908152602081905260409020546118d2908361261e565b11156119165760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b05565b611a58565b6001600160a01b0382165f908152601d602052604090205460ff16801561195a57506001600160a01b0383165f908152601c602052604090205460ff16155b156119d0576007548111156119165760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b05565b6001600160a01b0382165f908152601c602052604090205460ff16611a58576009546001600160a01b0383165f90815260208190526040902054611a14908361261e565b1115611a585760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b05565b305f9081526020819052604090205460085481108015908190611a835750600a5462010000900460ff165b8015611a92575060055460ff16155b8015611ab657506001600160a01b0385165f908152601d602052604090205460ff16155b8015611ada57506001600160a01b0385165f908152601b602052604090205460ff16155b8015611afe57506001600160a01b0384165f908152601b602052604090205460ff16155b15611b23576005805460ff19166001179055611b18611f16565b6005805460ff191690555b6005546001600160a01b0386165f908152601b602052604090205460ff91821615911680611b6857506001600160a01b0385165f908152601b602052604090205460ff165b15611b7057505f5b5f8115611d4a576001600160a01b0386165f908152601d602052604090205460ff168015611b9f57505f601354115b15611c5457606460135486611bb491906125e8565b611bbe91906125ff565b905060135460155482611bd191906125e8565b611bdb91906125ff565b60185f828254611beb919061261e565b9091555050601354601654611c0090836125e8565b611c0a91906125ff565b60195f828254611c1a919061261e565b9091555050601354601454611c2f90836125e8565b611c3991906125ff565b60175f828254611c49919061261e565b90915550611d2c9050565b6001600160a01b0387165f908152601d602052604090205460ff168015611c7c57505f600f54115b15611d2c576064600f5486611c9191906125e8565b611c9b91906125ff565b9050600f5460115482611cae91906125e8565b611cb891906125ff565b60185f828254611cc8919061261e565b9091555050600f54601254611cdd90836125e8565b611ce791906125ff565b60195f828254611cf7919061261e565b9091555050600f54601054611d0c90836125e8565b611d1691906125ff565b60175f828254611d26919061261e565b90915550505b8015611d3d57611d3d873083611dee565b611d4781866126b9565b94505b611d55878787611dee565b50505050505050565b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b6001600160a01b0382165f818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611e145760405162461bcd60e51b8152600401610b0590612631565b6001600160a01b038216611e3a5760405162461bcd60e51b8152600401610b0590612676565b6001600160a01b0383165f9081526020819052604090205481811015611eb15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b05565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611485565b305f9081526020819052604081205490505f601954601754601854611f3b919061261e565b611f45919061261e565b90505f821580611f53575081155b15611f5d57505050565b600854611f6b9060146125e8565b831115611f8357600854611f809060146125e8565b92505b5f60028360185486611f9591906125e8565b611f9f91906125ff565b611fa991906125ff565b90505f611fb682866126b9565b905047611fc282612144565b5f611fcd82476126b9565b90505f8660175483611fdf91906125e8565b611fe991906125ff565b90505f8760195484611ffb91906125e8565b61200591906125ff565b90505f8161201384866126b9565b61201d91906126b9565b5f6018819055601781905560198190556006546040519293506001600160a01b031691849181818185875af1925050503d805f8114612077576040519150601f19603f3d011682016040523d82523d5f602084013e61207c565b606091505b5090985050861580159061208f57505f81115b156120e25761209e87826122fa565b601854604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6005546040516101009091046001600160a01b03169047905f81818185875af1925050503d805f8114612130576040519150601f19603f3d011682016040523d82523d5f602084013e612135565b606091505b50505050505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612177576121776126cc565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221791906126e0565b8160018151811061222a5761222a6126cc565b60200260200101906001600160a01b031690816001600160a01b031681525050612275307f0000000000000000000000000000000000000000000000000000000000000000846112d6565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906122c99085905f908690309042906004016126fb565b5f604051808303815f87803b1580156122e0575f80fd5b505af11580156122f2573d5f803e3d5ffd5b505050505050565b612325307f0000000000000000000000000000000000000000000000000000000000000000846112d6565b60055460405163f305d71960e01b8152306004820152602481018490525f6044820181905260648201526101009091046001600160a01b0390811660848301524260a48301527f0000000000000000000000000000000000000000000000000000000000000000169063f305d71990839060c40160606040518083038185885af11580156123b5573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906123da919061276a565b5050505050565b5f6020808352835180828501525f5b8181101561240c578581018301518582016040015282016123f0565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146112ad575f80fd5b5f8060408385031215612451575f80fd5b823561245c8161242c565b946020939093013593505050565b5f6020828403121561247a575f80fd5b81356124858161242c565b9392505050565b5f6020828403121561249c575f80fd5b5035919050565b5f805f606084860312156124b5575f80fd5b83356124c08161242c565b925060208401356124d08161242c565b929592945050506040919091013590565b8035801515811461122b575f80fd5b5f8060408385031215612501575f80fd5b823561250c8161242c565b915061251a602084016124e1565b90509250929050565b5f805f60608486031215612535575f80fd5b505081359360208301359350604090920135919050565b5f6020828403121561255c575f80fd5b612485826124e1565b5f8060408385031215612576575f80fd5b82356125818161242c565b915060208301356125918161242c565b809150509250929050565b600181811c908216806125b057607f821691505b6020821081036125ce57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610a6057610a606125d4565b5f8261261957634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610a6057610a606125d4565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a6057610a606125d4565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156126f0575f80fd5b81516124858161242c565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156127495784516001600160a01b031683529383019391830191600101612724565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f6060848603121561277c575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212208a6aab97970f4fcaeae1791e6190e7249a3bb6a0ead9e6ffa7c3b505dd461d8864736f6c634300081400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x60806040526004361061035e575f3560e01c806392136913116101bd578063c8c8ebe4116100f2578063f04e283e11610092578063f63743421161006d578063f63743421461094d578063f8b45b0514610962578063fde83a3414610977578063fee81cf41461098c575f80fd5b8063f04e283e14610912578063f11a24d314610925578063f2fde38b1461093a575f80fd5b8063d85ba063116100cd578063d85ba063146108b5578063dd62ed3e146108ca578063e2f45605146108e9578063e884f260146108fe575f80fd5b8063c8c8ebe41461086c578063d257b34f14610881578063d729715f146108a0575f80fd5b8063aacebbe31161015d578063c024666811610138578063c0246668146107f6578063c17b5b8c14610815578063c18bc19514610834578063c876d0b914610853575f80fd5b8063aacebbe31461078b578063b62496f5146107aa578063bbc0c742146107d8575f80fd5b80639a7a23d6116101985780639a7a23d6146107195780639c2e4ac614610738578063a457c2d71461074d578063a9059cbb1461076c575f80fd5b806392136913146106d1578063924de9b7146106e657806395d89b4114610705575f80fd5b80634a62bb6511610293578063751039fc116102335780637cb332bb1161020e5780637cb332bb146106675780638095d564146106865780638a8c523c146106a55780638da5cb5b146106b9575f80fd5b8063751039fc1461061f5780637571336a146106335780637bce5a0414610652575f80fd5b80636a486a8e1161026e5780636a486a8e146105af5780636ddd1713146105c457806370a08231146105e3578063715018a614610617575f80fd5b80634a62bb65146105575780634fbee1931461057057806354d1f13d146105a7575f80fd5b8063203e727e116102fe5780632d5a5d34116102d95780632d5a5d34146104cb578063313ce567146104ea578063395093511461050557806349bd5a5e14610524575f80fd5b8063203e727e1461048357806323b872dd146104a457806325692962146104c3575f80fd5b80631694505e116103395780631694505e146103f057806318160ddd1461043b5780631a8145bb146104595780631f3fed8f1461046e575f80fd5b806306fdde0314610369578063095ea7b31461039357806310d5de53146103c2575f80fd5b3661036557005b5f80fd5b348015610374575f80fd5b5061037d6109bd565b60405161038a91906123e1565b60405180910390f35b34801561039e575f80fd5b506103b26103ad366004612440565b610a4d565b604051901515815260200161038a565b3480156103cd575f80fd5b506103b26103dc36600461246a565b601c6020525f908152604090205460ff1681565b3480156103fb575f80fd5b506104237f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161038a565b348015610446575f80fd5b506002545b60405190815260200161038a565b348015610464575f80fd5b5061044b60185481565b348015610479575f80fd5b5061044b60175481565b34801561048e575f80fd5b506104a261049d36600461248c565b610a66565b005b3480156104af575f80fd5b506103b26104be3660046124a3565b610b22565b6104a2610b45565b3480156104d6575f80fd5b506104a26104e53660046124f0565b610b92565b3480156104f5575f80fd5b506040516012815260200161038a565b348015610510575f80fd5b506103b261051f366004612440565b610bc4565b34801561052f575f80fd5b506104237f00000000000000000000000013cf85f5435de743661bbdef9524dc0a1b5947b081565b348015610562575f80fd5b50600a546103b29060ff1681565b34801561057b575f80fd5b506103b261058a36600461246a565b6001600160a01b03165f908152601b602052604090205460ff1690565b6104a2610be5565b3480156105ba575f80fd5b5061044b60135481565b3480156105cf575f80fd5b50600a546103b29062010000900460ff1681565b3480156105ee575f80fd5b5061044b6105fd36600461246a565b6001600160a01b03165f9081526020819052604090205490565b6104a2610c1e565b34801561062a575f80fd5b506103b2610c31565b34801561063e575f80fd5b506104a261064d3660046124f0565b610c4a565b34801561065d575f80fd5b5061044b60105481565b348015610672575f80fd5b506104a261068136600461246a565b610c7c565b348015610691575f80fd5b506104a26106a0366004612523565b610ce0565b3480156106b0575f80fd5b506104a2610d66565b3480156106c4575f80fd5b50638b78c6d81954610423565b3480156106dc575f80fd5b5061044b60145481565b3480156106f1575f80fd5b506104a261070036600461254c565b610d85565b348015610710575f80fd5b5061037d610da9565b348015610724575f80fd5b506104a26107333660046124f0565b610db8565b348015610743575f80fd5b5061044b60125481565b348015610758575f80fd5b506103b2610767366004612440565b610e75565b348015610777575f80fd5b506103b2610786366004612440565b610eef565b348015610796575f80fd5b506104a26107a536600461246a565b610efc565b3480156107b5575f80fd5b506103b26107c436600461246a565b601d6020525f908152604090205460ff1681565b3480156107e3575f80fd5b50600a546103b290610100900460ff1681565b348015610801575f80fd5b506104a26108103660046124f0565b610f6b565b348015610820575f80fd5b506104a261082f366004612523565b610fd1565b34801561083f575f80fd5b506104a261084e36600461248c565b611052565b34801561085e575f80fd5b50600e546103b29060ff1681565b348015610877575f80fd5b5061044b60075481565b34801561088c575f80fd5b506103b261089b36600461248c565b6110fd565b3480156108ab575f80fd5b5061044b60165481565b3480156108c0575f80fd5b5061044b600f5481565b3480156108d5575f80fd5b5061044b6108e4366004612565565b611230565b3480156108f4575f80fd5b5061044b60085481565b348015610909575f80fd5b506103b261125a565b6104a261092036600461246a565b611273565b348015610930575f80fd5b5061044b60115481565b6104a261094836600461246a565b6112b0565b348015610958575f80fd5b5061044b60155481565b34801561096d575f80fd5b5061044b60095481565b348015610982575f80fd5b5061044b60195481565b348015610997575f80fd5b5061044b6109a636600461246a565b63389a75e1600c9081525f91909152602090205490565b6060600380546109cc9061259c565b80601f01602080910402602001604051908101604052809291908181526020018280546109f89061259c565b8015610a435780601f10610a1a57610100808354040283529160200191610a43565b820191905f5260205f20905b815481529060010190602001808311610a2657829003601f168201915b5050505050905090565b5f33610a5a8185856112d6565b60019150505b92915050565b610a6e6113f9565b670de0b6b3a76400006103e8610a8360025490565b610a8e9060016125e8565b610a9891906125ff565b610aa291906125ff565b811015610b0e5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084015b60405180910390fd5b610b1c81633b9aca006125e8565b60075550565b5f33610b2f858285611413565b610b3a85858561148b565b506001949350505050565b5f6202a30067ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b610b9a6113f9565b6001600160a01b03919091165f908152600d60205260409020805460ff1916911515919091179055565b5f33610a5a818585610bd68383611230565b610be0919061261e565b6112d6565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b610c266113f9565b610c2f5f611d5e565b565b5f610c3a6113f9565b50600a805460ff19169055600190565b610c526113f9565b6001600160a01b03919091165f908152601c60205260409020805460ff1916911515919091179055565b610c846113f9565b6006546040516001600160a01b03918216918316907f8aa0f85050aca99be43beb823e0457e77966b3baf697a289b03681978f961668905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610ce86113f9565b60108390556011829055601281905580610d02838561261e565b610d0c919061261e565b600f81905560331015610d615760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353125206f72206c6573730000006044820152606401610b05565b505050565b610d6e6113f9565b600a805462ffff0019166201010017905543601a55565b610d8d6113f9565b600a8054911515620100000262ff000019909216919091179055565b6060600480546109cc9061259c565b610dc06113f9565b7f00000000000000000000000013cf85f5435de743661bbdef9524dc0a1b5947b06001600160a01b0316826001600160a01b031603610e675760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b05565b610e718282611d9b565b5050565b5f3381610e828286611230565b905083811015610ee25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b05565b610b3a82868684036112d6565b5f33610a5a81858561148b565b610f046113f9565b6005546040516001600160a01b036101009092048216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610f736113f9565b6001600160a01b0382165f818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610fd96113f9565b60148390556015829055601681905580610ff3838561261e565b610ffd919061261e565b601381905560331015610d615760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420353125206f72206c6573730000006044820152606401610b05565b61105a6113f9565b670de0b6b3a76400006103e861106f60025490565b61107a9060056125e8565b61108491906125ff565b61108e91906125ff565b8110156110e95760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610b05565b6110f781633b9aca006125e8565b60095550565b5f6111066113f9565b620186a061111360025490565b61111e9060016125e8565b61112891906125ff565b8210156111955760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b05565b6103e86111a160025490565b6111ac9060056125e8565b6111b691906125ff565b8211156112225760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610b05565b50600881905560015b919050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b5f6112636113f9565b50600e805460ff19169055600190565b61127b6113f9565b63389a75e1600c52805f526020600c2080544211156112a157636f5e88185f526004601cfd5b5f90556112ad81611d5e565b50565b6112b86113f9565b8060601b6112cd57637448fbae5f526004601cfd5b6112ad81611d5e565b6001600160a01b0383166113385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b05565b6001600160a01b0382166113995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b05565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b638b78c6d819543314610c2f576382b429005f526004601cfd5b5f61141e8484611230565b90505f19811461148557818110156114785760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b05565b61148584848484036112d6565b50505050565b6001600160a01b0383166114b15760405162461bcd60e51b8152600401610b0590612631565b6001600160a01b0382166114d75760405162461bcd60e51b8152600401610b0590612676565b6001600160a01b0382165f908152600d602052604090205460ff1615801561151757506001600160a01b0383165f908152600d602052604090205460ff16155b61157d5760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610b05565b805f0361158f57610d6183835f611dee565b600a5460ff1615611a5857638b78c6d819546001600160a01b0316836001600160a01b0316141580156115da5750638b78c6d819546001600160a01b0316826001600160a01b031614155b80156115ee57506001600160a01b03821615155b801561160557506001600160a01b03821661dead14155b8015611614575060055460ff16155b15611a5857600a54610100900460ff166116aa576001600160a01b0383165f908152601b602052604090205460ff168061166557506001600160a01b0382165f908152601b602052604090205460ff165b6116aa5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b05565b600e5460ff16156117f957638b78c6d819546001600160a01b0316826001600160a01b03161415801561170f57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b801561174d57507f00000000000000000000000013cf85f5435de743661bbdef9524dc0a1b5947b06001600160a01b0316826001600160a01b031614155b156117f957325f908152600b602052604090205443116117e75760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b05565b325f908152600b602052604090204390555b6001600160a01b0383165f908152601d602052604090205460ff16801561183857506001600160a01b0382165f908152601c602052604090205460ff16155b1561191b576007548111156118ad5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b05565b6009546001600160a01b0383165f908152602081905260409020546118d2908361261e565b11156119165760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b05565b611a58565b6001600160a01b0382165f908152601d602052604090205460ff16801561195a57506001600160a01b0383165f908152601c602052604090205460ff16155b156119d0576007548111156119165760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b05565b6001600160a01b0382165f908152601c602052604090205460ff16611a58576009546001600160a01b0383165f90815260208190526040902054611a14908361261e565b1115611a585760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b05565b305f9081526020819052604090205460085481108015908190611a835750600a5462010000900460ff165b8015611a92575060055460ff16155b8015611ab657506001600160a01b0385165f908152601d602052604090205460ff16155b8015611ada57506001600160a01b0385165f908152601b602052604090205460ff16155b8015611afe57506001600160a01b0384165f908152601b602052604090205460ff16155b15611b23576005805460ff19166001179055611b18611f16565b6005805460ff191690555b6005546001600160a01b0386165f908152601b602052604090205460ff91821615911680611b6857506001600160a01b0385165f908152601b602052604090205460ff165b15611b7057505f5b5f8115611d4a576001600160a01b0386165f908152601d602052604090205460ff168015611b9f57505f601354115b15611c5457606460135486611bb491906125e8565b611bbe91906125ff565b905060135460155482611bd191906125e8565b611bdb91906125ff565b60185f828254611beb919061261e565b9091555050601354601654611c0090836125e8565b611c0a91906125ff565b60195f828254611c1a919061261e565b9091555050601354601454611c2f90836125e8565b611c3991906125ff565b60175f828254611c49919061261e565b90915550611d2c9050565b6001600160a01b0387165f908152601d602052604090205460ff168015611c7c57505f600f54115b15611d2c576064600f5486611c9191906125e8565b611c9b91906125ff565b9050600f5460115482611cae91906125e8565b611cb891906125ff565b60185f828254611cc8919061261e565b9091555050600f54601254611cdd90836125e8565b611ce791906125ff565b60195f828254611cf7919061261e565b9091555050600f54601054611d0c90836125e8565b611d1691906125ff565b60175f828254611d26919061261e565b90915550505b8015611d3d57611d3d873083611dee565b611d4781866126b9565b94505b611d55878787611dee565b50505050505050565b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a355565b6001600160a01b0382165f818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611e145760405162461bcd60e51b8152600401610b0590612631565b6001600160a01b038216611e3a5760405162461bcd60e51b8152600401610b0590612676565b6001600160a01b0383165f9081526020819052604090205481811015611eb15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b05565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611485565b305f9081526020819052604081205490505f601954601754601854611f3b919061261e565b611f45919061261e565b90505f821580611f53575081155b15611f5d57505050565b600854611f6b9060146125e8565b831115611f8357600854611f809060146125e8565b92505b5f60028360185486611f9591906125e8565b611f9f91906125ff565b611fa991906125ff565b90505f611fb682866126b9565b905047611fc282612144565b5f611fcd82476126b9565b90505f8660175483611fdf91906125e8565b611fe991906125ff565b90505f8760195484611ffb91906125e8565b61200591906125ff565b90505f8161201384866126b9565b61201d91906126b9565b5f6018819055601781905560198190556006546040519293506001600160a01b031691849181818185875af1925050503d805f8114612077576040519150601f19603f3d011682016040523d82523d5f602084013e61207c565b606091505b5090985050861580159061208f57505f81115b156120e25761209e87826122fa565b601854604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6005546040516101009091046001600160a01b03169047905f81818185875af1925050503d805f8114612130576040519150601f19603f3d011682016040523d82523d5f602084013e612135565b606091505b50505050505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612177576121776126cc565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f3573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221791906126e0565b8160018151811061222a5761222a6126cc565b60200260200101906001600160a01b031690816001600160a01b031681525050612275307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846112d6565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906122c99085905f908690309042906004016126fb565b5f604051808303815f87803b1580156122e0575f80fd5b505af11580156122f2573d5f803e3d5ffd5b505050505050565b612325307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846112d6565b60055460405163f305d71960e01b8152306004820152602481018490525f6044820181905260648201526101009091046001600160a01b0390811660848301524260a48301527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063f305d71990839060c40160606040518083038185885af11580156123b5573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906123da919061276a565b5050505050565b5f6020808352835180828501525f5b8181101561240c578581018301518582016040015282016123f0565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146112ad575f80fd5b5f8060408385031215612451575f80fd5b823561245c8161242c565b946020939093013593505050565b5f6020828403121561247a575f80fd5b81356124858161242c565b9392505050565b5f6020828403121561249c575f80fd5b5035919050565b5f805f606084860312156124b5575f80fd5b83356124c08161242c565b925060208401356124d08161242c565b929592945050506040919091013590565b8035801515811461122b575f80fd5b5f8060408385031215612501575f80fd5b823561250c8161242c565b915061251a602084016124e1565b90509250929050565b5f805f60608486031215612535575f80fd5b505081359360208301359350604090920135919050565b5f6020828403121561255c575f80fd5b612485826124e1565b5f8060408385031215612576575f80fd5b82356125818161242c565b915060208301356125918161242c565b809150509250929050565b600181811c908216806125b057607f821691505b6020821081036125ce57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610a6057610a606125d4565b5f8261261957634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610a6057610a606125d4565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a6057610a606125d4565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156126f0575f80fd5b81516124858161242c565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156127495784516001600160a01b031683529383019391830191600101612724565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f6060848603121561277c575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212208a6aab97970f4fcaeae1791e6190e7249a3bb6a0ead9e6ffa7c3b505dd461d8864736f6c63430008140033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : router (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.