ETH Price: $3,070.61 (+1.02%)
Gas: 14 Gwei

Contract

0x133100FF81EFa5416C371cD5aCBf9c36959B16d8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer195659022024-04-02 5:01:3517 days ago1712034095IN
0x133100FF...6959B16d8
0 ETH0.0009291720.35082099
Approve194849862024-03-21 19:03:1128 days ago1711047791IN
0x133100FF...6959B16d8
0 ETH0.0013254928.53787392
Approve190583502024-01-21 23:10:5988 days ago1705878659IN
0x133100FF...6959B16d8
0 ETH0.0003398713.94121887
Approve190443192024-01-19 23:54:1190 days ago1705708451IN
0x133100FF...6959B16d8
0 ETH0.0008534718.39414903
Approve189648012024-01-08 20:55:47101 days ago1704747347IN
0x133100FF...6959B16d8
0 ETH0.0013564929.03262546
Approve189406912024-01-05 11:11:23105 days ago1704453083IN
0x133100FF...6959B16d8
0 ETH0.0007587516.33603454
Approve189293072024-01-03 20:49:35106 days ago1704314975IN
0x133100FF...6959B16d8
0 ETH0.0011126223.99192688
Transfer189290232024-01-03 19:52:11106 days ago1704311531IN
0x133100FF...6959B16d8
0 ETH0.0016243925.90417649
Approve189076712023-12-31 19:54:11109 days ago1704052451IN
0x133100FF...6959B16d8
0 ETH0.0005777412.45491402
Approve189007422023-12-30 20:35:23110 days ago1703968523IN
0x133100FF...6959B16d8
0 ETH0.0012760227.34556699
Approve188977012023-12-30 10:19:23111 days ago1703931563IN
0x133100FF...6959B16d8
0 ETH0.000694214.87706799
Approve188784262023-12-27 17:17:11113 days ago1703697431IN
0x133100FF...6959B16d8
0 ETH0.0019033141.03123544
Approve188537172023-12-24 6:01:59117 days ago1703397719IN
0x133100FF...6959B16d8
0 ETH0.0009455820.2640339
Approve187873122023-12-14 22:20:11126 days ago1702592411IN
0x133100FF...6959B16d8
0 ETH0.002075944.43013796
Approve187840182023-12-14 11:14:47127 days ago1702552487IN
0x133100FF...6959B16d8
0 ETH0.0018572340.04828795
Approve187798602023-12-13 21:15:47127 days ago1702502147IN
0x133100FF...6959B16d8
0 ETH0.001542252.63662467
Transfer187796822023-12-13 20:39:59127 days ago1702499999IN
0x133100FF...6959B16d8
0 ETH0.0024827951.44308911
Approve187775652023-12-13 13:31:59128 days ago1702474319IN
0x133100FF...6959B16d8
0 ETH0.0021215445.73573521
Approve187772932023-12-13 12:36:47128 days ago1702471007IN
0x133100FF...6959B16d8
0 ETH0.0015384733.17471837
Approve187726952023-12-12 21:10:47128 days ago1702415447IN
0x133100FF...6959B16d8
0 ETH0.0025014953.60763376
Approve187721372023-12-12 19:18:35128 days ago1702408715IN
0x133100FF...6959B16d8
0 ETH0.001928641.33043184
Approve187695032023-12-12 10:26:47129 days ago1702376807IN
0x133100FF...6959B16d8
0 ETH0.0014303230.6521524
Approve187682602023-12-12 6:16:11129 days ago1702361771IN
0x133100FF...6959B16d8
0 ETH0.0012858927.55707055
Approve187675552023-12-12 3:53:47129 days ago1702353227IN
0x133100FF...6959B16d8
0 ETH0.0012181326.26033878
Transfer187658932023-12-11 22:19:11129 days ago1702333151IN
0x133100FF...6959B16d8
0 ETH0.0027565339.68802601
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
189076752023-12-31 19:54:59109 days ago1704052499
0x133100FF...6959B16d8
0.00336918 ETH
189076752023-12-31 19:54:59109 days ago1704052499
0x133100FF...6959B16d8
0.00673836 ETH
189076752023-12-31 19:54:59109 days ago1704052499
0x133100FF...6959B16d8
0.00673836 ETH
189076752023-12-31 19:54:59109 days ago1704052499
0x133100FF...6959B16d8
0.01684591 ETH
188552372023-12-24 11:09:59117 days ago1703416199
0x133100FF...6959B16d8
0.00336954 ETH
188552372023-12-24 11:09:59117 days ago1703416199
0x133100FF...6959B16d8
0.00673909 ETH
188552372023-12-24 11:09:59117 days ago1703416199
0x133100FF...6959B16d8
0.00673909 ETH
188552372023-12-24 11:09:59117 days ago1703416199
0x133100FF...6959B16d8
0.01684772 ETH
187873122023-12-14 22:20:11126 days ago1702592411
0x133100FF...6959B16d8
0.00473833 ETH
187873122023-12-14 22:20:11126 days ago1702592411
0x133100FF...6959B16d8
0.00947666 ETH
187873122023-12-14 22:20:11126 days ago1702592411
0x133100FF...6959B16d8
0.00947666 ETH
187873122023-12-14 22:20:11126 days ago1702592411
0x133100FF...6959B16d8
0.02369165 ETH
187814722023-12-14 2:40:47127 days ago1702521647
0x133100FF...6959B16d8
0.00755244 ETH
187814722023-12-14 2:40:47127 days ago1702521647
0x133100FF...6959B16d8
0.01510489 ETH
187814722023-12-14 2:40:47127 days ago1702521647
0x133100FF...6959B16d8
0.01510489 ETH
187814722023-12-14 2:40:47127 days ago1702521647
0x133100FF...6959B16d8
0.03776223 ETH
187716422023-12-12 17:38:23128 days ago1702402703
0x133100FF...6959B16d8
0.0088564 ETH
187716422023-12-12 17:38:23128 days ago1702402703
0x133100FF...6959B16d8
0.01771281 ETH
187716422023-12-12 17:38:23128 days ago1702402703
0x133100FF...6959B16d8
0.01771281 ETH
187716422023-12-12 17:38:23128 days ago1702402703
0x133100FF...6959B16d8
0.04428204 ETH
187688912023-12-12 8:23:47129 days ago1702369427
0x133100FF...6959B16d8
0.00942164 ETH
187688912023-12-12 8:23:47129 days ago1702369427
0x133100FF...6959B16d8
0.01884328 ETH
187688912023-12-12 8:23:47129 days ago1702369427
0x133100FF...6959B16d8
0.01884328 ETH
187688912023-12-12 8:23:47129 days ago1702369427
0x133100FF...6959B16d8
0.0471082 ETH
187658902023-12-11 22:18:35129 days ago1702333115
0x133100FF...6959B16d8
0.01758011 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SLING

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 12 : SLING.sol
// Telegram: https://t.me/bet_slinger
// Twitter:  https://x.com/bet_slinger

// $$$$$$$\  $$$$$$$$\ $$$$$$$$\   $$$$$$\  $$\       $$$$$$\ $$\   $$\  $$$$$$\  $$$$$$$$\ $$$$$$$\
// $$  __$$\ $$  _____|\__$$  __| $$  __$$\ $$ |      \_$$  _|$$$\  $$ |$$  __$$\ $$  _____|$$  __$$\
// $$ |  $$ |$$ |         $$ |    $$ /  \__|$$ |        $$ |  $$$$\ $$ |$$ /  \__|$$ |      $$ |  $$ |
// $$$$$$$\ |$$$$$\       $$ |    \$$$$$$\  $$ |        $$ |  $$ $$\$$ |$$ |$$$$\ $$$$$\    $$$$$$$  |
// $$  __$$\ $$  __|      $$ |     \____$$\ $$ |        $$ |  $$ \$$$$ |$$ |\_$$ |$$  __|   $$  __$$<
// $$ |  $$ |$$ |         $$ |    $$\   $$ |$$ |        $$ |  $$ |\$$$ |$$ |  $$ |$$ |      $$ |  $$ |
// $$$$$$$  |$$$$$$$$\    $$ |    \$$$$$$  |$$$$$$$$\ $$$$$$\ $$ | \$$ |\$$$$$$  |$$$$$$$$\ $$ |  $$ |
// \_______/ \________|   \__|     \______/ \________|\______|\__|  \__| \______/ \________|\__|  \__|

// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

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

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

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    bool private swapping;

    address public rewardsWallet;
    address public marketingWallet;
    address public operationsWallet;

    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
    bool public transferDelayEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyRewardsFee;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyOperationsFee;

    uint256 public sellTotalFees;
    uint256 public sellRewardsFee;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellOperationsFee;

    uint256 public tokensForRewards;
    uint256 public tokensForMarketing;
    uint256 public tokensForLiquidity;
    uint256 public tokensForOperations;

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

    // exlcude 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 SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor(
        address _router
    ) ERC20("Bet Slinger", "SLING") Ownable(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 _buyRewardsFee = 1;
        uint256 _buyMarketingFee = 4;
        uint256 _buyLiquidityFee = 0;
        uint256 _buyOperationsFee = 10;

        uint256 _sellRewardsFee = 1;
        uint256 _sellMarketingFee = 4;
        uint256 _sellLiquidityFee = 0;
        uint256 _sellOperationsFee = 10;

        uint256 totalSupply = 1000000 * 1e18;

        maxTransactionAmount = (totalSupply * 15) / 1000; // 1.5% from total supply maxTransactionAmountTxn
        maxWallet = (totalSupply * 15) / 1000; // 1.5% from total supply maxWallet
        swapTokensAtAmount = (totalSupply * 5) / 1000; // 0.5% swap wallet

        buyRewardsFee = _buyRewardsFee;
        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyOperationsFee = _buyOperationsFee;
        buyTotalFees =
            buyRewardsFee +
            buyMarketingFee +
            buyLiquidityFee +
            buyOperationsFee;

        sellRewardsFee = _sellRewardsFee;
        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellOperationsFee = _sellOperationsFee;
        sellTotalFees =
            sellRewardsFee +
            sellMarketingFee +
            sellLiquidityFee +
            sellOperationsFee;

        rewardsWallet = address(0x90Bb4e4d3DF2103BBEDBd330dD366C70927ACAa9); // set as rewards wallet
        marketingWallet = address(0x5275e0c8038BE2B1B982e15d405f6BCB902a789B); // set as marketing wallet
        operationsWallet = address(0x7cAeA506E45a63dc367a28643757279E14b865B1); // set as operations 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;
    }

    // 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 {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 2) / 100,
            "Swap amount cannot be higher than 2% total supply."
        );
        swapTokensAtAmount = newAmount;
    }

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

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

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

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

    function updateBuyFees(
        uint256 _rewardsFee,
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _operationsFee
    ) external onlyOwner {
        require(
            (_rewardsFee + _marketingFee + _liquidityFee + _operationsFee) <=
                30,
            "Max BuyFee 30%"
        );
        buyRewardsFee = _rewardsFee;
        buyMarketingFee = _marketingFee;
        buyLiquidityFee = _liquidityFee;
        buyOperationsFee = _operationsFee;
        buyTotalFees =
            buyRewardsFee +
            buyMarketingFee +
            buyLiquidityFee +
            buyOperationsFee;
    }

    function updateSellFees(
        uint256 _rewardsFee,
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _operationsFee
    ) external onlyOwner {
        require(
            (_rewardsFee + _marketingFee + _liquidityFee + _operationsFee) <=
                30,
            "Max SellFee 30%"
        );
        sellRewardsFee = _rewardsFee;
        sellMarketingFee = _marketingFee;
        sellLiquidityFee = _liquidityFee;
        sellOperationsFee = _operationsFee;
        sellTotalFees =
            sellRewardsFee +
            sellMarketingFee +
            sellLiquidityFee +
            sellOperationsFee;
    }

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

    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 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");

        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.mul(sellTotalFees).div(100);
                tokensForRewards += (fees * sellRewardsFee) / sellTotalFees;
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForOperations +=
                    (fees * sellOperationsFee) /
                    sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForRewards += (fees * buyRewardsFee) / buyTotalFees;
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForOperations += (fees * buyOperationsFee) / 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
            operationsWallet,
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForRewards +
            tokensForLiquidity +
            tokensForMarketing +
            tokensForOperations;
        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.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

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

        uint256 ethForRewards = ethBalance.mul(tokensForRewards).div(
            totalTokensToSwap
        );
        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(
            totalTokensToSwap
        );
        uint256 ethForOperations = ethBalance.mul(tokensForOperations).div(
            totalTokensToSwap
        );

        uint256 ethForLiquidity = ethBalance -
            ethForRewards -
            ethForMarketing -
            ethForOperations;

        tokensForLiquidity = 0;
        tokensForRewards = 0;
        tokensForMarketing = 0;
        tokensForOperations = 0;

        (success, ) = address(operationsWallet).call{value: ethForOperations}(
            ""
        );
        (success, ) = address(marketingWallet).call{value: ethForMarketing}("");

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

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

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 3 of 12 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) virtual internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

File 5 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 6 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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 8 of 12 : IUniswapV2Factory.sol
//SPDX-License-Identifier:MIT

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 9 of 12 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 10 of 12 : IUniswapV2Router01.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.6.2;

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

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

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

File 11 of 12 : IUniswapV2Router02.sol
//SPDX-License-Identifier: UNLICENSED
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 12 of 12 : SafeMath.sol
// SPDX-License-Identifier:MIT

pragma solidity ^0.8.20;

library SafeMath {

    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"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":"value","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":[],"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":"buyOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRewardsFee","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":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":"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":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"operationsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRewardsFee","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":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForRewards","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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateBuyFees","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":"_rewardsFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","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":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600c805462ffffff19166001179055600e805460ff191690553480156200002a57600080fd5b5060405162003096380380620030968339810160408190526200004d916200074e565b336040518060400160405280600b81526020016a2132ba1029b634b733b2b960a91b81525060405180604001604052806005815260200164534c494e4760d81b8152508160039081620000a1919062000825565b506004620000b0828262000825565b5050506001600160a01b038116620000e357604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000ee8162000468565b5080620000fd816001620004ba565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000148573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016e91906200074e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e291906200074e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000230573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025691906200074e565b6001600160a01b031660a081905262000271906001620004ba565b60a05162000281906001620004ef565b600160046000600a8383838369d3c21bcecceda10000006103e8620002a882600f62000907565b620002b4919062000927565b6009556103e8620002c782600f62000907565b620002d3919062000927565b600b556103e8620002e682600562000907565b620002f2919062000927565b600a5560108990556011889055601287905560138690558587620003178a8c6200094a565b6200032391906200094a565b6200032f91906200094a565b600f55601585905560168490556017839055601882905581836200035486886200094a565b6200036091906200094a565b6200036c91906200094a565b601455600680546001600160a01b03199081167390bb4e4d3df2103bbedbd330dd366c70927acaa917909155600780548216735275e0c8038be2b1b982e15d405f6bcb902a789b17905560088054909116737caea506e45a63dc367a28643757279e14b865b1179055620003f4620003ec6005546001600160a01b031690565b600162000543565b6200040130600162000543565b6200041061dead600162000543565b6200042f620004276005546001600160a01b031690565b6001620004ba565b6200043c306001620004ba565b6200044b61dead6001620004ba565b620004573382620005ac565b505050505050505050505062000960565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004c4620005ea565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b6001600160a01b0382166000818152601f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200054d620005ea565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005d85760405163ec442f0560e01b815260006004820152602401620000da565b620005e6600083836200061b565b5050565b6005546001600160a01b03163314620006195760405163118cdaa760e01b8152336004820152602401620000da565b565b6001600160a01b0383166200064a5780600260008282546200063e91906200094a565b90915550620006be9050565b6001600160a01b038316600090815260208190526040902054818110156200069f5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000da565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620006dc57600280548290039055620006fb565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200074191815260200190565b60405180910390a3505050565b6000602082840312156200076157600080fd5b81516001600160a01b03811681146200077957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620007ab57607f821691505b602082108103620007cc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200082057600081815260208120601f850160051c81016020861015620007fb5750805b601f850160051c820191505b818110156200081c5782815560010162000807565b5050505b505050565b81516001600160401b0381111562000841576200084162000780565b620008598162000852845462000796565b84620007d2565b602080601f831160018114620008915760008415620008785750858301515b600019600386901b1c1916600185901b1785556200081c565b600085815260208120601f198616915b82811015620008c257888601518255948401946001909101908401620008a1565b5085821015620008e15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620009215762000921620008f1565b92915050565b6000826200094557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620009215762000921620008f1565b60805160a0516126d8620009be6000396000818161050d01528181610cc701526113ce0152600081816103e201528181611390015281816120fc015281816121b5015281816121f10152818161226b01526122d301526126d86000f3fe6080604052600436106103395760003560e01c80638a8c523c116101ab578063c8c8ebe4116100f7578063f11a24d311610095578063f63743421161006f578063f637434214610976578063f8b45b051461098c578063fb002c97146109a2578063fd72e22a146109b857600080fd5b8063f11a24d31461092a578063f2fde38b14610940578063f54afa781461096057600080fd5b8063dd62ed3e116100d1578063dd62ed3e14610899578063e2f45605146108df578063e7ad9fcd146108f5578063e884f2601461091557600080fd5b8063c8c8ebe41461084d578063d257b34f14610863578063d85ba0631461088357600080fd5b8063a9059cbb11610164578063bbc0c7421161013e578063bbc0c742146107d4578063c0246668146107f3578063c18bc19514610813578063c876d0b91461083357600080fd5b8063a9059cbb1461076e578063b62496f51461078e578063bb8d5131146107be57600080fd5b80638a8c523c146106d05780638da5cb5b146106e55780639213691314610703578063924de9b71461071957806395d89b41146107395780639a7a23d61461074e57600080fd5b80634a62bb651161028557806370a08231116102235780637571336a116101fd5780637571336a1461066457806375f0a8741461068457806377a3b609146106a45780637bce5a04146106ba57600080fd5b806370a0823114610604578063715018a61461063a578063751039fc1461064f57600080fd5b80635a139dd41161025f5780635a139dd4146105985780635b35f9c9146105ae5780636a486a8e146105ce5780636ddd1713146105e457600080fd5b80634a62bb651461052f5780634f77f6c0146105495780634fbee1931461055f57600080fd5b80631f3fed8f116102f257806327c8f835116102cc57806327c8f835146104a95780632e6ed7ef146104bf578063313ce567146104df57806349bd5a5e146104fb57600080fd5b80631f3fed8f14610451578063203e727e1461046757806323b872dd1461048957600080fd5b806306fdde0314610345578063095ea7b31461037057806310d5de53146103a05780631694505e146103d057806318160ddd1461041c5780631a8145bb1461043b57600080fd5b3661034057005b600080fd5b34801561035157600080fd5b5061035a6109d8565b604051610367919061234b565b60405180910390f35b34801561037c57600080fd5b5061039061038b3660046123ae565b610a6a565b6040519015158152602001610367565b3480156103ac57600080fd5b506103906103bb3660046123da565b601e6020526000908152604090205460ff1681565b3480156103dc57600080fd5b506104047f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610367565b34801561042857600080fd5b506002545b604051908152602001610367565b34801561044757600080fd5b5061042d601b5481565b34801561045d57600080fd5b5061042d601a5481565b34801561047357600080fd5b506104876104823660046123f7565b610a84565b005b34801561049557600080fd5b506103906104a4366004612410565b610b44565b3480156104b557600080fd5b5061040461dead81565b3480156104cb57600080fd5b506104876104da366004612451565b610b68565b3480156104eb57600080fd5b5060405160128152602001610367565b34801561050757600080fd5b506104047f000000000000000000000000000000000000000000000000000000000000000081565b34801561053b57600080fd5b50600c546103909060ff1681565b34801561055557600080fd5b5061042d60185481565b34801561056b57600080fd5b5061039061057a3660046123da565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156105a457600080fd5b5061042d60135481565b3480156105ba57600080fd5b50600654610404906001600160a01b031681565b3480156105da57600080fd5b5061042d60145481565b3480156105f057600080fd5b50600c546103909062010000900460ff1681565b34801561061057600080fd5b5061042d61061f3660046123da565b6001600160a01b031660009081526020819052604090205490565b34801561064657600080fd5b50610487610c0e565b34801561065b57600080fd5b50610390610c22565b34801561067057600080fd5b5061048761067f366004612498565b610c3c565b34801561069057600080fd5b50600754610404906001600160a01b031681565b3480156106b057600080fd5b5061042d60105481565b3480156106c657600080fd5b5061042d60115481565b3480156106dc57600080fd5b50610487610c6f565b3480156106f157600080fd5b506005546001600160a01b0316610404565b34801561070f57600080fd5b5061042d60165481565b34801561072557600080fd5b506104876107343660046124cd565b610c8a565b34801561074557600080fd5b5061035a610cae565b34801561075a57600080fd5b50610487610769366004612498565b610cbd565b34801561077a57600080fd5b506103906107893660046123ae565b610d7a565b34801561079a57600080fd5b506103906107a93660046123da565b601f6020526000908152604090205460ff1681565b3480156107ca57600080fd5b5061042d60155481565b3480156107e057600080fd5b50600c5461039090610100900460ff1681565b3480156107ff57600080fd5b5061048761080e366004612498565b610d88565b34801561081f57600080fd5b5061048761082e3660046123f7565b610def565b34801561083f57600080fd5b50600e546103909060ff1681565b34801561085957600080fd5b5061042d60095481565b34801561086f57600080fd5b5061048761087e3660046123f7565b610e9e565b34801561088f57600080fd5b5061042d600f5481565b3480156108a557600080fd5b5061042d6108b43660046124e8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108eb57600080fd5b5061042d600a5481565b34801561090157600080fd5b50610487610910366004612451565b610fc4565b34801561092157600080fd5b5061039061106b565b34801561093657600080fd5b5061042d60125481565b34801561094c57600080fd5b5061048761095b3660046123da565b611085565b34801561096c57600080fd5b5061042d60195481565b34801561098257600080fd5b5061042d60175481565b34801561099857600080fd5b5061042d600b5481565b3480156109ae57600080fd5b5061042d601c5481565b3480156109c457600080fd5b50600854610404906001600160a01b031681565b6060600380546109e790612521565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1390612521565b8015610a605780601f10610a3557610100808354040283529160200191610a60565b820191906000526020600020905b815481529060010190602001808311610a4357829003601f168201915b5050505050905090565b600033610a788185856110c3565b60019150505b92915050565b610a8c6110d5565b670de0b6b3a76400006103e8610aa160025490565b610aac906005612571565b610ab69190612588565b610ac09190612588565b811015610b2c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610b3e81670de0b6b3a7640000612571565b60095550565b600033610b52858285611102565b610b5d858585611180565b506001949350505050565b610b706110d5565b601e8183610b7e86886125aa565b610b8891906125aa565b610b9291906125aa565b1115610bd15760405162461bcd60e51b815260206004820152600e60248201526d4d6178204275794665652033302560901b6044820152606401610b23565b60108490556011839055601282905560138190558082610bf185876125aa565b610bfb91906125aa565b610c0591906125aa565b600f5550505050565b610c166110d5565b610c206000611aac565b565b6000610c2c6110d5565b50600c805460ff19169055600190565b610c446110d5565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b610c776110d5565b600c805462ffff00191662010100179055565b610c926110d5565b600c8054911515620100000262ff000019909216919091179055565b6060600480546109e790612521565b610cc56110d5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610d6c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b23565b610d768282611afe565b5050565b600033610a78818585611180565b610d906110d5565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610df76110d5565b670de0b6b3a76400006103e8610e0c60025490565b610e17906005612571565b610e219190612588565b610e2b9190612588565b811015610e865760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610b23565b610e9881670de0b6b3a7640000612571565b600b5550565b610ea66110d5565b620186a0610eb360025490565b610ebe906001612571565b610ec89190612588565b811015610f355760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b23565b6064610f4060025490565b610f4b906002612571565b610f559190612588565b811115610fbf5760405162461bcd60e51b815260206004820152603260248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527137101912903a37ba30b61039bab838363c9760711b6064820152608401610b23565b600a55565b610fcc6110d5565b601e8183610fda86886125aa565b610fe491906125aa565b610fee91906125aa565b111561102e5760405162461bcd60e51b815260206004820152600f60248201526e4d61782053656c6c4665652033302560881b6044820152606401610b23565b6015849055601683905560178290556018819055808261104e85876125aa565b61105891906125aa565b61106291906125aa565b60145550505050565b60006110756110d5565b50600e805460ff19169055600190565b61108d6110d5565b6001600160a01b0381166110b757604051631e4fbdf760e01b815260006004820152602401610b23565b6110c081611aac565b50565b6110d08383836001611b52565b505050565b6005546001600160a01b03163314610c205760405163118cdaa760e01b8152336004820152602401610b23565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461117a578181101561116b57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b23565b61117a84848484036000611b52565b50505050565b6001600160a01b0383166111e45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b23565b6001600160a01b0382166112465760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b23565b8060000361125a576110d083836000611c27565b600c5460ff1615611717576005546001600160a01b0384811691161480159061129157506005546001600160a01b03838116911614155b80156112a557506001600160a01b03821615155b80156112bc57506001600160a01b03821661dead14155b80156112d25750600554600160a01b900460ff16155b1561171757600c54610100900460ff1661136a576001600160a01b0383166000908152601d602052604090205460ff168061132557506001600160a01b0382166000908152601d602052604090205460ff165b61136a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b23565b600e5460ff16156114b1576005546001600160a01b038381169116148015906113c557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b801561140357507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156114b157326000908152600d6020526040902054431161149e5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b23565b326000908152600d602052604090204390555b6001600160a01b0383166000908152601f602052604090205460ff1680156114f257506001600160a01b0382166000908152601e602052604090205460ff16155b156115d6576009548111156115675760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b23565b600b546001600160a01b03831660009081526020819052604090205461158d90836125aa565b11156115d15760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b23565b611717565b6001600160a01b0382166000908152601f602052604090205460ff16801561161757506001600160a01b0383166000908152601e602052604090205460ff16155b1561168d576009548111156115d15760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b23565b6001600160a01b0382166000908152601e602052604090205460ff1661171757600b546001600160a01b0383166000908152602081905260409020546116d390836125aa565b11156117175760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b23565b30600090815260208190526040902054600a54811080159081906117435750600c5462010000900460ff165b80156117595750600554600160a01b900460ff16155b801561177e57506001600160a01b0385166000908152601f602052604090205460ff16155b80156117a357506001600160a01b0385166000908152601d602052604090205460ff16155b80156117c857506001600160a01b0384166000908152601d602052604090205460ff16155b156117f6576005805460ff60a01b1916600160a01b1790556117e8611c86565b6005805460ff60a01b191690555b6005546001600160a01b0386166000908152601d602052604090205460ff600160a01b90920482161591168061184457506001600160a01b0385166000908152601d602052604090205460ff165b1561184d575060005b60008115611a98576001600160a01b0386166000908152601f602052604090205460ff16801561187f57506000601454115b1561196d576118a4606461189e60145488611f5090919063ffffffff16565b90611f63565b9050601454601554826118b79190612571565b6118c19190612588565b601960008282546118d291906125aa565b90915550506014546017546118e79083612571565b6118f19190612588565b601b600082825461190291906125aa565b90915550506014546018546119179083612571565b6119219190612588565b601c600082825461193291906125aa565b90915550506014546016546119479083612571565b6119519190612588565b601a600082825461196291906125aa565b90915550611a7a9050565b6001600160a01b0387166000908152601f602052604090205460ff16801561199757506000600f54115b15611a7a576119b6606461189e600f5488611f5090919063ffffffff16565b9050600f54601054826119c99190612571565b6119d39190612588565b601960008282546119e491906125aa565b9091555050600f546012546119f99083612571565b611a039190612588565b601b6000828254611a1491906125aa565b9091555050600f54601354611a299083612571565b611a339190612588565b601c6000828254611a4491906125aa565b9091555050600f54601154611a599083612571565b611a639190612588565b601a6000828254611a7491906125aa565b90915550505b8015611a8b57611a8b873083611c27565b611a9581866125bd565b94505b611aa3878787611c27565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038416611b7c5760405163e602df0560e01b815260006004820152602401610b23565b6001600160a01b038316611ba657604051634a1406b160e11b815260006004820152602401610b23565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561117a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611c1991815260200190565b60405180910390a350505050565b6001600160a01b038316611c5157604051634b637e8f60e11b815260006004820152602401610b23565b6001600160a01b038216611c7b5760405163ec442f0560e01b815260006004820152602401610b23565b6110d0838383611f6f565b3060009081526020819052604081205490506000601c54601a54601b54601954611cb091906125aa565b611cba91906125aa565b611cc491906125aa565b90506000821580611cd3575081155b15611cdd57505050565b600a54611ceb906014612571565b831115611d0357600a54611d00906014612571565b92505b6000600283601b5486611d169190612571565b611d209190612588565b611d2a9190612588565b90506000611d388583612099565b905047611d44826120a5565b6000611d504783612099565b90506000611d6d8761189e60195485611f5090919063ffffffff16565b90506000611d8a8861189e601a5486611f5090919063ffffffff16565b90506000611da78961189e601c5487611f5090919063ffffffff16565b905060008183611db786886125bd565b611dc191906125bd565b611dcb91906125bd565b6000601b8190556019819055601a819055601c8190556008546040519293506001600160a01b031691849181818185875af1925050503d8060008114611e2d576040519150601f19603f3d011682016040523d82523d6000602084013e611e32565b606091505b5050600754604051919a506001600160a01b0316908490600081818185875af1925050503d8060008114611e82576040519150601f19603f3d011682016040523d82523d6000602084013e611e87565b606091505b50909950508715801590611e9b5750600081115b15611eee57611eaa8882612265565b601b54604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611f3b576040519150601f19603f3d011682016040523d82523d6000602084013e611f40565b606091505b5050505050505050505050505050565b6000611f5c8284612571565b9392505050565b6000611f5c8284612588565b6001600160a01b038316611f9a578060026000828254611f8f91906125aa565b9091555061200c9050565b6001600160a01b03831660009081526020819052604090205481811015611fed5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b23565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661202857600280548290039055612047565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161208c91815260200190565b60405180910390a3505050565b6000611f5c82846125bd565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120da576120da6125d0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c91906125e6565b8160018151811061218f5761218f6125d0565b60200260200101906001600160a01b031690816001600160a01b0316815250506121da307f0000000000000000000000000000000000000000000000000000000000000000846110c3565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061222f908590600090869030904290600401612603565b600060405180830381600087803b15801561224957600080fd5b505af115801561225d573d6000803e3d6000fd5b505050505050565b612290307f0000000000000000000000000000000000000000000000000000000000000000846110c3565b60085460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af115801561231f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906123449190612674565b5050505050565b600060208083528351808285015260005b818110156123785785810183015185820160400152820161235c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146110c057600080fd5b600080604083850312156123c157600080fd5b82356123cc81612399565b946020939093013593505050565b6000602082840312156123ec57600080fd5b8135611f5c81612399565b60006020828403121561240957600080fd5b5035919050565b60008060006060848603121561242557600080fd5b833561243081612399565b9250602084013561244081612399565b929592945050506040919091013590565b6000806000806080858703121561246757600080fd5b5050823594602084013594506040840135936060013592509050565b8035801515811461249357600080fd5b919050565b600080604083850312156124ab57600080fd5b82356124b681612399565b91506124c460208401612483565b90509250929050565b6000602082840312156124df57600080fd5b611f5c82612483565b600080604083850312156124fb57600080fd5b823561250681612399565b9150602083013561251681612399565b809150509250929050565b600181811c9082168061253557607f821691505b60208210810361255557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a7e57610a7e61255b565b6000826125a557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a7e57610a7e61255b565b81810381811115610a7e57610a7e61255b565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125f857600080fd5b8151611f5c81612399565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126535784516001600160a01b03168352938301939183019160010161262e565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561268957600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220777e666b1c66ef3ae1b9182f346a97a11af91bac578272ff03b51bb6a1fc70ce64736f6c634300081400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103395760003560e01c80638a8c523c116101ab578063c8c8ebe4116100f7578063f11a24d311610095578063f63743421161006f578063f637434214610976578063f8b45b051461098c578063fb002c97146109a2578063fd72e22a146109b857600080fd5b8063f11a24d31461092a578063f2fde38b14610940578063f54afa781461096057600080fd5b8063dd62ed3e116100d1578063dd62ed3e14610899578063e2f45605146108df578063e7ad9fcd146108f5578063e884f2601461091557600080fd5b8063c8c8ebe41461084d578063d257b34f14610863578063d85ba0631461088357600080fd5b8063a9059cbb11610164578063bbc0c7421161013e578063bbc0c742146107d4578063c0246668146107f3578063c18bc19514610813578063c876d0b91461083357600080fd5b8063a9059cbb1461076e578063b62496f51461078e578063bb8d5131146107be57600080fd5b80638a8c523c146106d05780638da5cb5b146106e55780639213691314610703578063924de9b71461071957806395d89b41146107395780639a7a23d61461074e57600080fd5b80634a62bb651161028557806370a08231116102235780637571336a116101fd5780637571336a1461066457806375f0a8741461068457806377a3b609146106a45780637bce5a04146106ba57600080fd5b806370a0823114610604578063715018a61461063a578063751039fc1461064f57600080fd5b80635a139dd41161025f5780635a139dd4146105985780635b35f9c9146105ae5780636a486a8e146105ce5780636ddd1713146105e457600080fd5b80634a62bb651461052f5780634f77f6c0146105495780634fbee1931461055f57600080fd5b80631f3fed8f116102f257806327c8f835116102cc57806327c8f835146104a95780632e6ed7ef146104bf578063313ce567146104df57806349bd5a5e146104fb57600080fd5b80631f3fed8f14610451578063203e727e1461046757806323b872dd1461048957600080fd5b806306fdde0314610345578063095ea7b31461037057806310d5de53146103a05780631694505e146103d057806318160ddd1461041c5780631a8145bb1461043b57600080fd5b3661034057005b600080fd5b34801561035157600080fd5b5061035a6109d8565b604051610367919061234b565b60405180910390f35b34801561037c57600080fd5b5061039061038b3660046123ae565b610a6a565b6040519015158152602001610367565b3480156103ac57600080fd5b506103906103bb3660046123da565b601e6020526000908152604090205460ff1681565b3480156103dc57600080fd5b506104047f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610367565b34801561042857600080fd5b506002545b604051908152602001610367565b34801561044757600080fd5b5061042d601b5481565b34801561045d57600080fd5b5061042d601a5481565b34801561047357600080fd5b506104876104823660046123f7565b610a84565b005b34801561049557600080fd5b506103906104a4366004612410565b610b44565b3480156104b557600080fd5b5061040461dead81565b3480156104cb57600080fd5b506104876104da366004612451565b610b68565b3480156104eb57600080fd5b5060405160128152602001610367565b34801561050757600080fd5b506104047f000000000000000000000000c0d1a3a1e3af279f17170782bd7067932b1c833981565b34801561053b57600080fd5b50600c546103909060ff1681565b34801561055557600080fd5b5061042d60185481565b34801561056b57600080fd5b5061039061057a3660046123da565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156105a457600080fd5b5061042d60135481565b3480156105ba57600080fd5b50600654610404906001600160a01b031681565b3480156105da57600080fd5b5061042d60145481565b3480156105f057600080fd5b50600c546103909062010000900460ff1681565b34801561061057600080fd5b5061042d61061f3660046123da565b6001600160a01b031660009081526020819052604090205490565b34801561064657600080fd5b50610487610c0e565b34801561065b57600080fd5b50610390610c22565b34801561067057600080fd5b5061048761067f366004612498565b610c3c565b34801561069057600080fd5b50600754610404906001600160a01b031681565b3480156106b057600080fd5b5061042d60105481565b3480156106c657600080fd5b5061042d60115481565b3480156106dc57600080fd5b50610487610c6f565b3480156106f157600080fd5b506005546001600160a01b0316610404565b34801561070f57600080fd5b5061042d60165481565b34801561072557600080fd5b506104876107343660046124cd565b610c8a565b34801561074557600080fd5b5061035a610cae565b34801561075a57600080fd5b50610487610769366004612498565b610cbd565b34801561077a57600080fd5b506103906107893660046123ae565b610d7a565b34801561079a57600080fd5b506103906107a93660046123da565b601f6020526000908152604090205460ff1681565b3480156107ca57600080fd5b5061042d60155481565b3480156107e057600080fd5b50600c5461039090610100900460ff1681565b3480156107ff57600080fd5b5061048761080e366004612498565b610d88565b34801561081f57600080fd5b5061048761082e3660046123f7565b610def565b34801561083f57600080fd5b50600e546103909060ff1681565b34801561085957600080fd5b5061042d60095481565b34801561086f57600080fd5b5061048761087e3660046123f7565b610e9e565b34801561088f57600080fd5b5061042d600f5481565b3480156108a557600080fd5b5061042d6108b43660046124e8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108eb57600080fd5b5061042d600a5481565b34801561090157600080fd5b50610487610910366004612451565b610fc4565b34801561092157600080fd5b5061039061106b565b34801561093657600080fd5b5061042d60125481565b34801561094c57600080fd5b5061048761095b3660046123da565b611085565b34801561096c57600080fd5b5061042d60195481565b34801561098257600080fd5b5061042d60175481565b34801561099857600080fd5b5061042d600b5481565b3480156109ae57600080fd5b5061042d601c5481565b3480156109c457600080fd5b50600854610404906001600160a01b031681565b6060600380546109e790612521565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1390612521565b8015610a605780601f10610a3557610100808354040283529160200191610a60565b820191906000526020600020905b815481529060010190602001808311610a4357829003601f168201915b5050505050905090565b600033610a788185856110c3565b60019150505b92915050565b610a8c6110d5565b670de0b6b3a76400006103e8610aa160025490565b610aac906005612571565b610ab69190612588565b610ac09190612588565b811015610b2c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610b3e81670de0b6b3a7640000612571565b60095550565b600033610b52858285611102565b610b5d858585611180565b506001949350505050565b610b706110d5565b601e8183610b7e86886125aa565b610b8891906125aa565b610b9291906125aa565b1115610bd15760405162461bcd60e51b815260206004820152600e60248201526d4d6178204275794665652033302560901b6044820152606401610b23565b60108490556011839055601282905560138190558082610bf185876125aa565b610bfb91906125aa565b610c0591906125aa565b600f5550505050565b610c166110d5565b610c206000611aac565b565b6000610c2c6110d5565b50600c805460ff19169055600190565b610c446110d5565b6001600160a01b03919091166000908152601e60205260409020805460ff1916911515919091179055565b610c776110d5565b600c805462ffff00191662010100179055565b610c926110d5565b600c8054911515620100000262ff000019909216919091179055565b6060600480546109e790612521565b610cc56110d5565b7f000000000000000000000000c0d1a3a1e3af279f17170782bd7067932b1c83396001600160a01b0316826001600160a01b031603610d6c5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610b23565b610d768282611afe565b5050565b600033610a78818585611180565b610d906110d5565b6001600160a01b0382166000818152601d6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610df76110d5565b670de0b6b3a76400006103e8610e0c60025490565b610e17906005612571565b610e219190612588565b610e2b9190612588565b811015610e865760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610b23565b610e9881670de0b6b3a7640000612571565b600b5550565b610ea66110d5565b620186a0610eb360025490565b610ebe906001612571565b610ec89190612588565b811015610f355760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610b23565b6064610f4060025490565b610f4b906002612571565b610f559190612588565b811115610fbf5760405162461bcd60e51b815260206004820152603260248201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160448201527137101912903a37ba30b61039bab838363c9760711b6064820152608401610b23565b600a55565b610fcc6110d5565b601e8183610fda86886125aa565b610fe491906125aa565b610fee91906125aa565b111561102e5760405162461bcd60e51b815260206004820152600f60248201526e4d61782053656c6c4665652033302560881b6044820152606401610b23565b6015849055601683905560178290556018819055808261104e85876125aa565b61105891906125aa565b61106291906125aa565b60145550505050565b60006110756110d5565b50600e805460ff19169055600190565b61108d6110d5565b6001600160a01b0381166110b757604051631e4fbdf760e01b815260006004820152602401610b23565b6110c081611aac565b50565b6110d08383836001611b52565b505050565b6005546001600160a01b03163314610c205760405163118cdaa760e01b8152336004820152602401610b23565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461117a578181101561116b57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b23565b61117a84848484036000611b52565b50505050565b6001600160a01b0383166111e45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b23565b6001600160a01b0382166112465760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b23565b8060000361125a576110d083836000611c27565b600c5460ff1615611717576005546001600160a01b0384811691161480159061129157506005546001600160a01b03838116911614155b80156112a557506001600160a01b03821615155b80156112bc57506001600160a01b03821661dead14155b80156112d25750600554600160a01b900460ff16155b1561171757600c54610100900460ff1661136a576001600160a01b0383166000908152601d602052604090205460ff168061132557506001600160a01b0382166000908152601d602052604090205460ff165b61136a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610b23565b600e5460ff16156114b1576005546001600160a01b038381169116148015906113c557507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316826001600160a01b031614155b801561140357507f000000000000000000000000c0d1a3a1e3af279f17170782bd7067932b1c83396001600160a01b0316826001600160a01b031614155b156114b157326000908152600d6020526040902054431161149e5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610b23565b326000908152600d602052604090204390555b6001600160a01b0383166000908152601f602052604090205460ff1680156114f257506001600160a01b0382166000908152601e602052604090205460ff16155b156115d6576009548111156115675760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610b23565b600b546001600160a01b03831660009081526020819052604090205461158d90836125aa565b11156115d15760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b23565b611717565b6001600160a01b0382166000908152601f602052604090205460ff16801561161757506001600160a01b0383166000908152601e602052604090205460ff16155b1561168d576009548111156115d15760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610b23565b6001600160a01b0382166000908152601e602052604090205460ff1661171757600b546001600160a01b0383166000908152602081905260409020546116d390836125aa565b11156117175760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610b23565b30600090815260208190526040902054600a54811080159081906117435750600c5462010000900460ff165b80156117595750600554600160a01b900460ff16155b801561177e57506001600160a01b0385166000908152601f602052604090205460ff16155b80156117a357506001600160a01b0385166000908152601d602052604090205460ff16155b80156117c857506001600160a01b0384166000908152601d602052604090205460ff16155b156117f6576005805460ff60a01b1916600160a01b1790556117e8611c86565b6005805460ff60a01b191690555b6005546001600160a01b0386166000908152601d602052604090205460ff600160a01b90920482161591168061184457506001600160a01b0385166000908152601d602052604090205460ff165b1561184d575060005b60008115611a98576001600160a01b0386166000908152601f602052604090205460ff16801561187f57506000601454115b1561196d576118a4606461189e60145488611f5090919063ffffffff16565b90611f63565b9050601454601554826118b79190612571565b6118c19190612588565b601960008282546118d291906125aa565b90915550506014546017546118e79083612571565b6118f19190612588565b601b600082825461190291906125aa565b90915550506014546018546119179083612571565b6119219190612588565b601c600082825461193291906125aa565b90915550506014546016546119479083612571565b6119519190612588565b601a600082825461196291906125aa565b90915550611a7a9050565b6001600160a01b0387166000908152601f602052604090205460ff16801561199757506000600f54115b15611a7a576119b6606461189e600f5488611f5090919063ffffffff16565b9050600f54601054826119c99190612571565b6119d39190612588565b601960008282546119e491906125aa565b9091555050600f546012546119f99083612571565b611a039190612588565b601b6000828254611a1491906125aa565b9091555050600f54601354611a299083612571565b611a339190612588565b601c6000828254611a4491906125aa565b9091555050600f54601154611a599083612571565b611a639190612588565b601a6000828254611a7491906125aa565b90915550505b8015611a8b57611a8b873083611c27565b611a9581866125bd565b94505b611aa3878787611c27565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038416611b7c5760405163e602df0560e01b815260006004820152602401610b23565b6001600160a01b038316611ba657604051634a1406b160e11b815260006004820152602401610b23565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561117a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611c1991815260200190565b60405180910390a350505050565b6001600160a01b038316611c5157604051634b637e8f60e11b815260006004820152602401610b23565b6001600160a01b038216611c7b5760405163ec442f0560e01b815260006004820152602401610b23565b6110d0838383611f6f565b3060009081526020819052604081205490506000601c54601a54601b54601954611cb091906125aa565b611cba91906125aa565b611cc491906125aa565b90506000821580611cd3575081155b15611cdd57505050565b600a54611ceb906014612571565b831115611d0357600a54611d00906014612571565b92505b6000600283601b5486611d169190612571565b611d209190612588565b611d2a9190612588565b90506000611d388583612099565b905047611d44826120a5565b6000611d504783612099565b90506000611d6d8761189e60195485611f5090919063ffffffff16565b90506000611d8a8861189e601a5486611f5090919063ffffffff16565b90506000611da78961189e601c5487611f5090919063ffffffff16565b905060008183611db786886125bd565b611dc191906125bd565b611dcb91906125bd565b6000601b8190556019819055601a819055601c8190556008546040519293506001600160a01b031691849181818185875af1925050503d8060008114611e2d576040519150601f19603f3d011682016040523d82523d6000602084013e611e32565b606091505b5050600754604051919a506001600160a01b0316908490600081818185875af1925050503d8060008114611e82576040519150601f19603f3d011682016040523d82523d6000602084013e611e87565b606091505b50909950508715801590611e9b5750600081115b15611eee57611eaa8882612265565b601b54604080518981526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611f3b576040519150601f19603f3d011682016040523d82523d6000602084013e611f40565b606091505b5050505050505050505050505050565b6000611f5c8284612571565b9392505050565b6000611f5c8284612588565b6001600160a01b038316611f9a578060026000828254611f8f91906125aa565b9091555061200c9050565b6001600160a01b03831660009081526020819052604090205481811015611fed5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b23565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661202857600280548290039055612047565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161208c91815260200190565b60405180910390a3505050565b6000611f5c82846125bd565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120da576120da6125d0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c91906125e6565b8160018151811061218f5761218f6125d0565b60200260200101906001600160a01b031690816001600160a01b0316815250506121da307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846110c3565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061222f908590600090869030904290600401612603565b600060405180830381600087803b15801561224957600080fd5b505af115801561225d573d6000803e3d6000fd5b505050505050565b612290307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846110c3565b60085460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af115801561231f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906123449190612674565b5050505050565b600060208083528351808285015260005b818110156123785785810183015185820160400152820161235c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146110c057600080fd5b600080604083850312156123c157600080fd5b82356123cc81612399565b946020939093013593505050565b6000602082840312156123ec57600080fd5b8135611f5c81612399565b60006020828403121561240957600080fd5b5035919050565b60008060006060848603121561242557600080fd5b833561243081612399565b9250602084013561244081612399565b929592945050506040919091013590565b6000806000806080858703121561246757600080fd5b5050823594602084013594506040840135936060013592509050565b8035801515811461249357600080fd5b919050565b600080604083850312156124ab57600080fd5b82356124b681612399565b91506124c460208401612483565b90509250929050565b6000602082840312156124df57600080fd5b611f5c82612483565b600080604083850312156124fb57600080fd5b823561250681612399565b9150602083013561251681612399565b809150509250929050565b600181811c9082168061253557607f821691505b60208210810361255557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a7e57610a7e61255b565b6000826125a557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a7e57610a7e61255b565b81810381811115610a7e57610a7e61255b565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125f857600080fd5b8151611f5c81612399565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126535784516001600160a01b03168352938301939183019160010161262e565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561268957600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220777e666b1c66ef3ae1b9182f346a97a11af91bac578272ff03b51bb6a1fc70ce64736f6c63430008140033

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
[ 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.