ETH Price: $3,415.13 (+3.11%)

Contract

0x2a2f58a8aE31433003995D308415F474E7F87a33
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve186628892023-11-27 12:09:59362 days ago1701086999IN
0x2a2f58a8...4E7F87a33
0 ETH0.0009021937.0846782
Approve185492302023-11-11 14:17:23378 days ago1699712243IN
0x2a2f58a8...4E7F87a33
0 ETH0.0006619327.2088538
Approve183903132023-10-20 8:21:35400 days ago1697790095IN
0x2a2f58a8...4E7F87a33
0 ETH0.000220679.07102612
Approve181567662023-09-17 15:55:11433 days ago1694966111IN
0x2a2f58a8...4E7F87a33
0 ETH0.0002607110.7166045
Approve171883292023-05-04 15:55:35569 days ago1683215735IN
0x2a2f58a8...4E7F87a33
0 ETH0.0024222799.5673451
Approve171883292023-05-04 15:55:35569 days ago1683215735IN
0x2a2f58a8...4E7F87a33
0 ETH0.0024222799.5673451
Approve170328122023-04-12 15:28:47591 days ago1681313327IN
0x2a2f58a8...4E7F87a33
0 ETH0.0007346330.19693882
Approve164719502023-01-23 20:39:35670 days ago1674506375IN
0x2a2f58a8...4E7F87a33
0 ETH0.0005273221.6754679
Approve164151522023-01-15 22:22:35678 days ago1673821355IN
0x2a2f58a8...4E7F87a33
0 ETH0.0005203121.38761152
Approve163339872023-01-04 14:21:23689 days ago1672842083IN
0x2a2f58a8...4E7F87a33
0 ETH0.00075216.13329481
Approve163004052022-12-30 21:56:23694 days ago1672437383IN
0x2a2f58a8...4E7F87a33
0 ETH0.0008671318.60334258
Approve162252922022-12-20 10:24:35704 days ago1671531875IN
0x2a2f58a8...4E7F87a33
0 ETH0.0005912512.68460744
Approve162115122022-12-18 12:15:23706 days ago1671365723IN
0x2a2f58a8...4E7F87a33
0 ETH0.0006841714.67814302
Approve162092712022-12-18 4:45:11706 days ago1671338711IN
0x2a2f58a8...4E7F87a33
0 ETH0.0007369915.81120535
Approve161802152022-12-14 3:20:59710 days ago1670988059IN
0x2a2f58a8...4E7F87a33
0 ETH0.0007554816.20789187
Approve161784802022-12-13 21:32:35711 days ago1670967155IN
0x2a2f58a8...4E7F87a33
0 ETH0.0009621320.64140679
Approve161784672022-12-13 21:29:47711 days ago1670966987IN
0x2a2f58a8...4E7F87a33
0 ETH0.0009391820.14899948
Approve161195312022-12-05 15:35:35719 days ago1670254535IN
0x2a2f58a8...4E7F87a33
0 ETH0.0010568322.67300951
Approve160930802022-12-01 22:56:35722 days ago1669935395IN
0x2a2f58a8...4E7F87a33
0 ETH0.0005460711.71533393
Approve160922152022-12-01 20:03:11723 days ago1669924991IN
0x2a2f58a8...4E7F87a33
0 ETH0.0010803723.17805612
Approve160772572022-11-29 17:52:11725 days ago1669744331IN
0x2a2f58a8...4E7F87a33
0 ETH0.0007603316.31199346
Approve160767032022-11-29 16:00:47725 days ago1669737647IN
0x2a2f58a8...4E7F87a33
0 ETH0.0006876714.75325877
Approve160381962022-11-24 6:57:47730 days ago1669273067IN
0x2a2f58a8...4E7F87a33
0 ETH0.0007457916
Approve160361072022-11-23 23:58:11730 days ago1669247891IN
0x2a2f58a8...4E7F87a33
0 ETH0.0005553911.91523297
Approve160351932022-11-23 20:53:23731 days ago1669236803IN
0x2a2f58a8...4E7F87a33
0 ETH0.000571412.25877721
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
163731232023-01-10 1:29:23683 days ago1673314163
0x2a2f58a8...4E7F87a33
0.00134791 ETH
163731232023-01-10 1:29:23683 days ago1673314163
0x2a2f58a8...4E7F87a33
0.00134791 ETH
163317272023-01-04 6:47:23689 days ago1672814843
0x2a2f58a8...4E7F87a33
0.00149642 ETH
163317272023-01-04 6:47:23689 days ago1672814843
0x2a2f58a8...4E7F87a33
0.00149642 ETH
163004092022-12-30 21:57:11694 days ago1672437431
0x2a2f58a8...4E7F87a33
0.00888017 ETH
163004092022-12-30 21:57:11694 days ago1672437431
0x2a2f58a8...4E7F87a33
0.00888017 ETH
162816602022-12-28 7:09:23696 days ago1672211363
0x2a2f58a8...4E7F87a33
0.00902798 ETH
162816602022-12-28 7:09:23696 days ago1672211363
0x2a2f58a8...4E7F87a33
0.00902798 ETH
162115152022-12-18 12:15:59706 days ago1671365759
0x2a2f58a8...4E7F87a33
0.01810832 ETH
162115152022-12-18 12:15:59706 days ago1671365759
0x2a2f58a8...4E7F87a33
0.01810832 ETH
162092742022-12-18 4:45:47706 days ago1671338747
0x2a2f58a8...4E7F87a33
0.01200826 ETH
162092742022-12-18 4:45:47706 days ago1671338747
0x2a2f58a8...4E7F87a33
0.01200826 ETH
161784822022-12-13 21:32:59711 days ago1670967179
0x2a2f58a8...4E7F87a33
0.01126812 ETH
161784822022-12-13 21:32:59711 days ago1670967179
0x2a2f58a8...4E7F87a33
0.01126812 ETH
160945242022-12-02 3:46:11722 days ago1669952771
0x2a2f58a8...4E7F87a33
0.0119811 ETH
160945242022-12-02 3:46:11722 days ago1669952771
0x2a2f58a8...4E7F87a33
0.0119811 ETH
160930832022-12-01 22:57:11722 days ago1669935431
0x2a2f58a8...4E7F87a33
0.01333249 ETH
160930832022-12-01 22:57:11722 days ago1669935431
0x2a2f58a8...4E7F87a33
0.01333249 ETH
160922492022-12-01 20:09:59723 days ago1669925399
0x2a2f58a8...4E7F87a33
0.01028512 ETH
160922492022-12-01 20:09:59723 days ago1669925399
0x2a2f58a8...4E7F87a33
0.01028512 ETH
160772602022-11-29 17:52:47725 days ago1669744367
0x2a2f58a8...4E7F87a33
0.01050266 ETH
160772602022-11-29 17:52:47725 days ago1669744367
0x2a2f58a8...4E7F87a33
0.01050266 ETH
160767082022-11-29 16:01:47725 days ago1669737707
0x2a2f58a8...4E7F87a33
0.01362252 ETH
160767082022-11-29 16:01:47725 days ago1669737707
0x2a2f58a8...4E7F87a33
0.01362252 ETH
160381992022-11-24 6:58:23730 days ago1669273103
0x2a2f58a8...4E7F87a33
0.02409183 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SauronScan

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : sauronscan.sol
/**

Sauron Scan provides holders advanced Ethereum scanner dapps.

① Etherscan Message Scanner
    Sauron monitors and analyzes all transactions from the Ethereum blockchain for
    Etherscan messages. Messages are decoded and sent to our Telegram scanner group.

② Dynamic Sniper Scanner
    Sauron monitors all snipes from the Ethereum blockchain and builds a profile of all
    sniper wallets that can be retrieved later. Sauron alerts the group of the hottest 
    snipes and which wallets sniped it. Users can retrieve a profile of a wallet using 
    /profile 0xADDRESS.

③ Anonymous Message Sending
    Anonymously send messages using the deployer wallet. 

This project focuses on advanced utility that allows investors to see better what is going
on in ERC-20. More utility will come as more ideas arise.

⌖ DApe
⌖ Moncler


Website:
https://sauron.tools

Telegram:
https://t.me/sauronscan

*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.16;

// @openzeppelin
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

// @uniswap
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

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

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool private swapping;

    uint256 public swapTokensAtAmount;
    uint256 public maxTransactionAmount;

    uint256 public liquidityActiveBlock = 0; // 0 means liquidity is not active yet
    uint256 public tradingActiveBlock = 0; // 0 means trading is not active

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

    address public marketingWallet;

    uint256 public constant feeDivisor = 1000;

    uint256 public marketingBuyFee;
    uint256 public totalBuyFees;

    uint256 public marketingSellFee;
    uint256 public totalSellFees;

    uint256 public tokensForFees;
    uint256 public tokensForMarketing;

    bool public transferDelayEnabled = true;
    uint256 public maxWallet;

    mapping(address => bool) private _blacklist;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    mapping(address => bool) public automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);

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

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

    constructor() ERC20("Sauron Scan", "SAURON") {
        marketingWallet = msg.sender;
        uint256 totalSupply = 1 * 1e8 * 1e18;

        swapTokensAtAmount = (totalSupply * 1) / 10000; // 0.01% swap tokens amount
        maxTransactionAmount = (totalSupply * 10) / 1000; // 1% maxTransactionAmountTxn
        maxWallet = (totalSupply * 20) / 1000; // 2% maxWallet

        marketingBuyFee = 70; 
        totalBuyFees = marketingBuyFee; 

        marketingSellFee = 150;
        totalSellFees = marketingSellFee;

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        // Create a uniswap pair for this new token
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

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

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

        _mint(address(owner()), totalSupply);
    }

    receive() external payable {}

    function enableTrading() external onlyOwner {
        require(!tradingActive, "Cannot re-enable trading");
        tradingActive = true;
        swapEnabled = true;
        tradingActiveBlock = block.number;
    }

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

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 20) / 1000) / 1e18,
            "Cannot set maxWallet lower than 2.0%"
        );
        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 updateSellFees(uint256 _marketingSellFee) external onlyOwner {
        marketingSellFee = _marketingSellFee;
        totalSellFees = marketingSellFee;
        require(totalSellFees <= 100, "Must keep fees at 10% or less");
    }

    function updateBuyFees(uint256 _marketingBuyFee) external onlyOwner {
        marketingBuyFee = _marketingBuyFee;
        totalBuyFees = marketingBuyFee;
        require(totalSellFees <= 150, "Must keep fees at 15% or less");
    }

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

        emit ExcludeFromFees(account, excluded);
    }

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

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        external
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The Uniswap 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) external view returns (bool) {
        return _isExcludedFromFees[account];
    }

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

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

        if (!tradingActive) {
            require(
                _isExcludedFromFees[from] || _isExcludedFromFees[to],
                "Trading is not active yet."
            );
        }

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

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount + 1 * 1e18,
                        "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 + 1 * 1e18,
                        "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;

        // no taxes on transfers (non buys/sells)
        if (takeFee) {
            // on sell take fees, purchase token and burn it
            if (automatedMarketMakerPairs[to] && totalSellFees > 0) {
                fees = amount.mul(totalSellFees).div(feeDivisor);
                tokensForFees += fees;
                tokensForMarketing += (fees * marketingSellFee) / totalSellFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from]) {
                fees = amount.mul(totalBuyFees).div(feeDivisor);
                tokensForFees += fees;
                tokensForMarketing += (fees * marketingBuyFee) / totalBuyFees;
            }

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

            amount -= fees;
        }

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

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

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

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

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

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

    function manualSwap() external onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForEth(contractBalance);
    }

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

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

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

        uint256 amountToSwapForETH = contractBalance;
        swapTokensForEth(amountToSwapForETH);

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

        tokensForMarketing = 0;
        tokensForFees = 0;
    }

    function changeAccountStatus(address[] memory bots_, bool status)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < bots_.length; i++) {
            _blacklist[bots_[i]] = status;
        }
    }

    function withdrawStuckEth() external onlyOwner {
        (bool success, ) = address(msg.sender).call{
            value: address(this).balance
        }("");
        require(success, "failed to withdraw");
    }
}

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

import './IUniswapV2Router01.sol';

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

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

File 3 of 11 : 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 4 of 11 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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

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

File 7 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 11 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","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":"tokensIntoLiqudity","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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"},{"internalType":"bool","name":"status","type":"bool"}],"name":"changeAccountStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":[{"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":"tokensForFees","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":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","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":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"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":"_marketingBuyFee","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":"_marketingSellFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405260006008819055600955600a805462ffffff19166101001790556011805460ff191660011790553480156200003857600080fd5b506040518060400160405280600b81526020016a29b0bab937b71029b1b0b760a91b8152506040518060400160405280600681526020016529a0aaa927a760d11b81525081600390816200008d9190620006f9565b5060046200009c8282620006f9565b505050620000b9620000b3620003c160201b60201c565b620003c5565b600a80546301000000600160b81b031916336301000000021790556a52b7d2dcc80cd2e4000000612710620000f0826001620007db565b620000fc9190620007fd565b6006556103e86200010f82600a620007db565b6200011b9190620007fd565b6007556103e86200012e826014620007db565b6200013a9190620007fd565b6012556046600b819055600c556096600d819055600e556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048281019260209291908290030181865afa158015620001a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001cd919062000820565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000241919062000820565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200028f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b5919062000820565b6001600160a01b03808416608052811660a0529050620002d781600162000417565b620002f6620002ee6005546001600160a01b031690565b60016200046b565b620003033060016200046b565b6200031261dead60016200046b565b6200031f8260016200046b565b600a546200033f90630100000090046001600160a01b031660016200046b565b6200035e620003566005546001600160a01b031690565b6001620004d4565b6200036b306001620004d4565b6200037a61dead6001620004d4565b600a546200039a90630100000090046001600160a01b03166001620004d4565b620003b8620003b16005546001600160a01b031690565b8462000509565b5050506200086e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b62000475620005f2565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620004de620005f2565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6001600160a01b038216620005655760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000579919062000852565b90915550506001600160a01b03821660009081526020819052604081208054839290620005a890849062000852565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b031633146200064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200055c565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200068057607f821691505b602082108103620006a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065057600081815260208120601f850160051c81016020861015620006d05750805b601f850160051c820191505b81811015620006f157828155600101620006dc565b505050505050565b81516001600160401b0381111562000715576200071562000655565b6200072d816200072684546200066b565b84620006a7565b602080601f8311600181146200076557600084156200074c5750858301515b600019600386901b1c1916600185901b178555620006f1565b600085815260208120601f198616915b82811015620007965788860151825594840194600190910190840162000775565b5085821015620007b55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620007f857620007f8620007c5565b500290565b6000826200081b57634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156200083357600080fd5b81516001600160a01b03811681146200084b57600080fd5b9392505050565b80820180821115620008685762000868620007c5565b92915050565b60805160a051612558620008b0600039600081816104c50152610d5701526000818161039a01528181611b8c01528181611c450152611c8101526125586000f3fe6080604052600436106102cd5760003560e01c80637fa787ba11610175578063c0246668116100dc578063dd62ed3e11610095578063eba4c3331161006f578063eba4c33314610896578063ee40166e146108b6578063f2fde38b146108cc578063f8b45b05146108ec57600080fd5b8063dd62ed3e1461084a578063e2f456051461086a578063e7f444b31461088057600080fd5b8063c0246668146107a4578063c18bc195146107c4578063c492f046146107e4578063c876d0b914610804578063c8c8ebe41461081e578063d0a398141461083457600080fd5b80639a7a23d61161012e5780639a7a23d6146106e4578063a457c2d714610704578063a9059cbb14610724578063b62496f514610744578063b9e9370014610774578063bbc0c7421461078a57600080fd5b80637fa787ba146106515780638a8c523c146106665780638da5cb5b1461067b578063924de9b71461069957806395d89b41146106b95780639a36f932146106ce57600080fd5b80633f8a6204116102345780636ddd1713116101ed57806371fc4688116101c757806371fc4688146105d5578063751039fc146105f55780637571336a1461060a57806375f0a8741461062a57600080fd5b80636ddd17131461056a57806370a082311461058a578063715018a6146105c057600080fd5b80633f8a62041461049d57806349bd5a5e146104b35780634a62bb65146104e75780634fbee1931461050657806351bc3c851461053f578063680789521461055457600080fd5b806318160ddd1161028657806318160ddd146103f65780631f3fed8f1461040b578063203e727e1461042157806323b872dd14610441578063313ce56714610461578063395093511461047d57600080fd5b806306fdde03146102d9578063095ea7b3146103045780630f4432e31461033457806310d5de53146103585780631694505e1461038857806317533bca146103d457600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102ee610902565b6040516102fb9190611fad565b60405180910390f35b34801561031057600080fd5b5061032461031f366004612020565b610994565b60405190151581526020016102fb565b34801561034057600080fd5b5061034a60085481565b6040519081526020016102fb565b34801561036457600080fd5b5061032461037336600461204c565b60156020526000908152604090205460ff1681565b34801561039457600080fd5b506103bc7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102fb565b3480156103e057600080fd5b506103f46103ef36600461208f565b6109ae565b005b34801561040257600080fd5b5060025461034a565b34801561041757600080fd5b5061034a60105481565b34801561042d57600080fd5b506103f461043c366004612166565b610a22565b34801561044d57600080fd5b5061032461045c36600461217f565b610ae2565b34801561046d57600080fd5b50604051601281526020016102fb565b34801561048957600080fd5b50610324610498366004612020565b610b06565b3480156104a957600080fd5b5061034a600f5481565b3480156104bf57600080fd5b506103bc7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104f357600080fd5b50600a5461032490610100900460ff1681565b34801561051257600080fd5b5061032461052136600461204c565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561054b57600080fd5b506103f4610b28565b34801561056057600080fd5b5061034a600b5481565b34801561057657600080fd5b50600a546103249062010000900460ff1681565b34801561059657600080fd5b5061034a6105a536600461204c565b6001600160a01b031660009081526020819052604090205490565b3480156105cc57600080fd5b506103f4610b4c565b3480156105e157600080fd5b506103f46105f0366004612166565b610b60565b34801561060157600080fd5b50610324610bc5565b34801561061657600080fd5b506103f46106253660046121c0565b610be0565b34801561063657600080fd5b50600a546103bc90630100000090046001600160a01b031681565b34801561065d57600080fd5b506103f4610c13565b34801561067257600080fd5b506103f4610ca8565b34801561068757600080fd5b506005546001600160a01b03166103bc565b3480156106a557600080fd5b506103f46106b43660046121f5565b610d1a565b3480156106c557600080fd5b506102ee610d3e565b3480156106da57600080fd5b5061034a6103e881565b3480156106f057600080fd5b506103f46106ff3660046121c0565b610d4d565b34801561071057600080fd5b5061032461071f366004612020565b610e14565b34801561073057600080fd5b5061032461073f366004612020565b610e8f565b34801561075057600080fd5b5061032461075f36600461204c565b60166020526000908152604090205460ff1681565b34801561078057600080fd5b5061034a600c5481565b34801561079657600080fd5b50600a546103249060ff1681565b3480156107b057600080fd5b506103f46107bf3660046121c0565b610e9d565b3480156107d057600080fd5b506103f46107df366004612166565b610f04565b3480156107f057600080fd5b506103f46107ff366004612210565b610fb3565b34801561081057600080fd5b506011546103249060ff1681565b34801561082a57600080fd5b5061034a60075481565b34801561084057600080fd5b5061034a600e5481565b34801561085657600080fd5b5061034a610865366004612294565b61106d565b34801561087657600080fd5b5061034a60065481565b34801561088c57600080fd5b5061034a600d5481565b3480156108a257600080fd5b506103f46108b1366004612166565b611098565b3480156108c257600080fd5b5061034a60095481565b3480156108d857600080fd5b506103f46108e736600461204c565b6110fb565b3480156108f857600080fd5b5061034a60125481565b606060038054610911906122cd565b80601f016020809104026020016040519081016040528092919081815260200182805461093d906122cd565b801561098a5780601f1061095f5761010080835404028352916020019161098a565b820191906000526020600020905b81548152906001019060200180831161096d57829003601f168201915b5050505050905090565b6000336109a2818585611171565b60019150505b92915050565b6109b6611295565b60005b8251811015610a1d5781601360008584815181106109d9576109d9612307565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a1581612333565b9150506109b9565b505050565b610a2a611295565b670de0b6b3a76400006103e8610a3f60025490565b610a4a90600a61234c565b610a54919061236b565b610a5e919061236b565b811015610aca5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20312e302560881b60648201526084015b60405180910390fd5b610adc81670de0b6b3a764000061234c565b60075550565b600033610af08582856112ef565b610afb858585611369565b506001949350505050565b6000336109a2818585610b19838361106d565b610b23919061238d565b611171565b610b30611295565b30600090815260208190526040902054610b4981611b35565b50565b610b54611295565b610b5e6000611cf5565b565b610b68611295565b600b819055600c819055600e5460961015610b495760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610ac1565b6000610bcf611295565b50600a805461ff0019169055600190565b610be8611295565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b610c1b611295565b604051600090339047908381818185875af1925050503d8060008114610c5d576040519150601f19603f3d011682016040523d82523d6000602084013e610c62565b606091505b5050905080610b495760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401610ac1565b610cb0611295565b600a5460ff1615610d035760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742072652d656e61626c652074726164696e6700000000000000006044820152606401610ac1565b600a805462ff00ff19166201000117905543600955565b610d22611295565b600a8054911515620100000262ff000019909216919091179055565b606060048054610911906122cd565b610d55611295565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e065760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610ac1565b610e108282611d47565b5050565b60003381610e22828661106d565b905083811015610e825760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ac1565b610afb8286868403611171565b6000336109a2818585611369565b610ea5611295565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610f0c611295565b670de0b6b3a76400006103e8610f2160025490565b610f2c90601461234c565b610f36919061236b565b610f40919061236b565b811015610f9b5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263322e302560e01b6064820152608401610ac1565b610fad81670de0b6b3a764000061234c565b60125550565b610fbb611295565b60005b8281101561102c578160146000868685818110610fdd57610fdd612307565b9050602002016020810190610ff2919061204c565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061102481612333565b915050610fbe565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611060939291906123a0565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110a0611295565b600d819055600e8190556064811115610b495760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610ac1565b611103611295565b6001600160a01b0381166111685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ac1565b610b4981611cf5565b6001600160a01b0383166111d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ac1565b6001600160a01b0382166112345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ac1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ac1565b60006112fb848461106d565b9050600019811461136357818110156113565760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ac1565b6113638484848403611171565b50505050565b6001600160a01b03831661138f5760405162461bcd60e51b8152600401610ac1906123f9565b6001600160a01b0382166113b55760405162461bcd60e51b8152600401610ac19061243e565b6001600160a01b03821660009081526013602052604090205460ff161580156113f757506001600160a01b03831660009081526013602052604090205460ff16155b61145d5760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610ac1565b8060000361147157610a1d83836000611d9b565b600a5460ff16611506576001600160a01b03831660009081526014602052604090205460ff16806114ba57506001600160a01b03821660009081526014602052604090205460ff165b6115065760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401610ac1565b600a54610100900460ff16156118a0576005546001600160a01b0384811691161480159061154257506005546001600160a01b03838116911614155b801561155657506001600160a01b03821615155b801561156d57506001600160a01b03821661dead14155b80156115835750600554600160a01b900460ff16155b156118a057600a5460ff16611616576001600160a01b03831660009081526014602052604090205460ff16806115d157506001600160a01b03821660009081526014602052604090205460ff165b6116165760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610ac1565b6001600160a01b03831660009081526016602052604090205460ff16801561165757506001600160a01b03821660009081526015602052604090205460ff16155b1561174d5760075461167190670de0b6b3a764000061238d565b8111156116de5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610ac1565b6012546001600160a01b038316600090815260208190526040902054611704908361238d565b11156117485760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ac1565b6118a0565b6001600160a01b03821660009081526016602052604090205460ff16801561178e57506001600160a01b03831660009081526015602052604090205460ff16155b15611816576007546117a890670de0b6b3a764000061238d565b8111156117485760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610ac1565b6001600160a01b03821660009081526015602052604090205460ff166118a0576012546001600160a01b03831660009081526020819052604090205461185c908361238d565b11156118a05760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ac1565b30600090815260208190526040902054600654811080159081906118cc5750600a5462010000900460ff165b80156118e25750600554600160a01b900460ff16155b801561190757506001600160a01b03851660009081526016602052604090205460ff16155b801561192c57506001600160a01b03851660009081526014602052604090205460ff16155b801561195157506001600160a01b03841660009081526014602052604090205460ff16155b1561197f576005805460ff60a01b1916600160a01b179055611971611eef565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526014602052604090205460ff600160a01b9092048216159116806119cd57506001600160a01b03851660009081526014602052604090205460ff165b156119d6575060005b60008115611b21576001600160a01b03861660009081526016602052604090205460ff168015611a0857506000600e54115b15611a7d57611a2e6103e8611a28600e5488611f8e90919063ffffffff16565b90611fa1565b905080600f6000828254611a42919061238d565b9091555050600e54600d54611a57908361234c565b611a61919061236b565b60106000828254611a72919061238d565b90915550611b039050565b6001600160a01b03871660009081526016602052604090205460ff1615611b0357611ab96103e8611a28600c5488611f8e90919063ffffffff16565b905080600f6000828254611acd919061238d565b9091555050600c54600b54611ae2908361234c565b611aec919061236b565b60106000828254611afd919061238d565b90915550505b8015611b1457611b14873083611d9b565b611b1e8186612481565b94505b611b2c878787611d9b565b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b6a57611b6a612307565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c9190612494565b81600181518110611c1f57611c1f612307565b60200260200101906001600160a01b031690816001600160a01b031681525050611c6a307f000000000000000000000000000000000000000000000000000000000000000084611171565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611cbf9085906000908690309042906004016124b1565b600060405180830381600087803b158015611cd957600080fd5b505af1158015611ced573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611dc15760405162461bcd60e51b8152600401610ac1906123f9565b6001600160a01b038216611de75760405162461bcd60e51b8152600401610ac19061243e565b6001600160a01b03831660009081526020819052604090205481811015611e5f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ac1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e9690849061238d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ee291815260200190565b60405180910390a3611363565b306000908152602081905260408120546010549091821580611f0f575081155b15611f1957505050565b82611f2381611b35565b600a5460405163010000009091046001600160a01b0316904790600081818185875af1925050503d8060008114611f76576040519150601f19603f3d011682016040523d82523d6000602084013e611f7b565b606091505b505060006010819055600f555050505050565b6000611f9a828461234c565b9392505050565b6000611f9a828461236b565b600060208083528351808285015260005b81811015611fda57858101830151858201604001528201611fbe565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b4957600080fd5b803561201b81611ffb565b919050565b6000806040838503121561203357600080fd5b823561203e81611ffb565b946020939093013593505050565b60006020828403121561205e57600080fd5b8135611f9a81611ffb565b634e487b7160e01b600052604160045260246000fd5b8035801515811461201b57600080fd5b600080604083850312156120a257600080fd5b823567ffffffffffffffff808211156120ba57600080fd5b818501915085601f8301126120ce57600080fd5b81356020828211156120e2576120e2612069565b8160051b604051601f19603f8301168101818110868211171561210757612107612069565b60405292835281830193508481018201928984111561212557600080fd5b948201945b8386101561214a5761213b86612010565b8552948201949382019361212a565b9650612159905087820161207f565b9450505050509250929050565b60006020828403121561217857600080fd5b5035919050565b60008060006060848603121561219457600080fd5b833561219f81611ffb565b925060208401356121af81611ffb565b929592945050506040919091013590565b600080604083850312156121d357600080fd5b82356121de81611ffb565b91506121ec6020840161207f565b90509250929050565b60006020828403121561220757600080fd5b611f9a8261207f565b60008060006040848603121561222557600080fd5b833567ffffffffffffffff8082111561223d57600080fd5b818601915086601f83011261225157600080fd5b81358181111561226057600080fd5b8760208260051b850101111561227557600080fd5b60209283019550935061228b918601905061207f565b90509250925092565b600080604083850312156122a757600080fd5b82356122b281611ffb565b915060208301356122c281611ffb565b809150509250929050565b600181811c908216806122e157607f821691505b60208210810361230157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016123455761234561231d565b5060010190565b60008160001904831182151516156123665761236661231d565b500290565b60008261238857634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156109a8576109a861231d565b6040808252810183905260008460608301825b868110156123e35782356123c681611ffb565b6001600160a01b03168252602092830192909101906001016123b3565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109a8576109a861231d565b6000602082840312156124a657600080fd5b8151611f9a81611ffb565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125015784516001600160a01b0316835293830193918301916001016124dc565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122089076d40c3fdaed4e177d82b288264391ef46d2b7d2e1407e759afbf8274f17964736f6c63430008100033

Deployed Bytecode

0x6080604052600436106102cd5760003560e01c80637fa787ba11610175578063c0246668116100dc578063dd62ed3e11610095578063eba4c3331161006f578063eba4c33314610896578063ee40166e146108b6578063f2fde38b146108cc578063f8b45b05146108ec57600080fd5b8063dd62ed3e1461084a578063e2f456051461086a578063e7f444b31461088057600080fd5b8063c0246668146107a4578063c18bc195146107c4578063c492f046146107e4578063c876d0b914610804578063c8c8ebe41461081e578063d0a398141461083457600080fd5b80639a7a23d61161012e5780639a7a23d6146106e4578063a457c2d714610704578063a9059cbb14610724578063b62496f514610744578063b9e9370014610774578063bbc0c7421461078a57600080fd5b80637fa787ba146106515780638a8c523c146106665780638da5cb5b1461067b578063924de9b71461069957806395d89b41146106b95780639a36f932146106ce57600080fd5b80633f8a6204116102345780636ddd1713116101ed57806371fc4688116101c757806371fc4688146105d5578063751039fc146105f55780637571336a1461060a57806375f0a8741461062a57600080fd5b80636ddd17131461056a57806370a082311461058a578063715018a6146105c057600080fd5b80633f8a62041461049d57806349bd5a5e146104b35780634a62bb65146104e75780634fbee1931461050657806351bc3c851461053f578063680789521461055457600080fd5b806318160ddd1161028657806318160ddd146103f65780631f3fed8f1461040b578063203e727e1461042157806323b872dd14610441578063313ce56714610461578063395093511461047d57600080fd5b806306fdde03146102d9578063095ea7b3146103045780630f4432e31461033457806310d5de53146103585780631694505e1461038857806317533bca146103d457600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102ee610902565b6040516102fb9190611fad565b60405180910390f35b34801561031057600080fd5b5061032461031f366004612020565b610994565b60405190151581526020016102fb565b34801561034057600080fd5b5061034a60085481565b6040519081526020016102fb565b34801561036457600080fd5b5061032461037336600461204c565b60156020526000908152604090205460ff1681565b34801561039457600080fd5b506103bc7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102fb565b3480156103e057600080fd5b506103f46103ef36600461208f565b6109ae565b005b34801561040257600080fd5b5060025461034a565b34801561041757600080fd5b5061034a60105481565b34801561042d57600080fd5b506103f461043c366004612166565b610a22565b34801561044d57600080fd5b5061032461045c36600461217f565b610ae2565b34801561046d57600080fd5b50604051601281526020016102fb565b34801561048957600080fd5b50610324610498366004612020565b610b06565b3480156104a957600080fd5b5061034a600f5481565b3480156104bf57600080fd5b506103bc7f00000000000000000000000054436a6720ae60cb454994060c1e1d8a4be656cd81565b3480156104f357600080fd5b50600a5461032490610100900460ff1681565b34801561051257600080fd5b5061032461052136600461204c565b6001600160a01b031660009081526014602052604090205460ff1690565b34801561054b57600080fd5b506103f4610b28565b34801561056057600080fd5b5061034a600b5481565b34801561057657600080fd5b50600a546103249062010000900460ff1681565b34801561059657600080fd5b5061034a6105a536600461204c565b6001600160a01b031660009081526020819052604090205490565b3480156105cc57600080fd5b506103f4610b4c565b3480156105e157600080fd5b506103f46105f0366004612166565b610b60565b34801561060157600080fd5b50610324610bc5565b34801561061657600080fd5b506103f46106253660046121c0565b610be0565b34801561063657600080fd5b50600a546103bc90630100000090046001600160a01b031681565b34801561065d57600080fd5b506103f4610c13565b34801561067257600080fd5b506103f4610ca8565b34801561068757600080fd5b506005546001600160a01b03166103bc565b3480156106a557600080fd5b506103f46106b43660046121f5565b610d1a565b3480156106c557600080fd5b506102ee610d3e565b3480156106da57600080fd5b5061034a6103e881565b3480156106f057600080fd5b506103f46106ff3660046121c0565b610d4d565b34801561071057600080fd5b5061032461071f366004612020565b610e14565b34801561073057600080fd5b5061032461073f366004612020565b610e8f565b34801561075057600080fd5b5061032461075f36600461204c565b60166020526000908152604090205460ff1681565b34801561078057600080fd5b5061034a600c5481565b34801561079657600080fd5b50600a546103249060ff1681565b3480156107b057600080fd5b506103f46107bf3660046121c0565b610e9d565b3480156107d057600080fd5b506103f46107df366004612166565b610f04565b3480156107f057600080fd5b506103f46107ff366004612210565b610fb3565b34801561081057600080fd5b506011546103249060ff1681565b34801561082a57600080fd5b5061034a60075481565b34801561084057600080fd5b5061034a600e5481565b34801561085657600080fd5b5061034a610865366004612294565b61106d565b34801561087657600080fd5b5061034a60065481565b34801561088c57600080fd5b5061034a600d5481565b3480156108a257600080fd5b506103f46108b1366004612166565b611098565b3480156108c257600080fd5b5061034a60095481565b3480156108d857600080fd5b506103f46108e736600461204c565b6110fb565b3480156108f857600080fd5b5061034a60125481565b606060038054610911906122cd565b80601f016020809104026020016040519081016040528092919081815260200182805461093d906122cd565b801561098a5780601f1061095f5761010080835404028352916020019161098a565b820191906000526020600020905b81548152906001019060200180831161096d57829003601f168201915b5050505050905090565b6000336109a2818585611171565b60019150505b92915050565b6109b6611295565b60005b8251811015610a1d5781601360008584815181106109d9576109d9612307565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a1581612333565b9150506109b9565b505050565b610a2a611295565b670de0b6b3a76400006103e8610a3f60025490565b610a4a90600a61234c565b610a54919061236b565b610a5e919061236b565b811015610aca5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20312e302560881b60648201526084015b60405180910390fd5b610adc81670de0b6b3a764000061234c565b60075550565b600033610af08582856112ef565b610afb858585611369565b506001949350505050565b6000336109a2818585610b19838361106d565b610b23919061238d565b611171565b610b30611295565b30600090815260208190526040902054610b4981611b35565b50565b610b54611295565b610b5e6000611cf5565b565b610b68611295565b600b819055600c819055600e5460961015610b495760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610ac1565b6000610bcf611295565b50600a805461ff0019169055600190565b610be8611295565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b610c1b611295565b604051600090339047908381818185875af1925050503d8060008114610c5d576040519150601f19603f3d011682016040523d82523d6000602084013e610c62565b606091505b5050905080610b495760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401610ac1565b610cb0611295565b600a5460ff1615610d035760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742072652d656e61626c652074726164696e6700000000000000006044820152606401610ac1565b600a805462ff00ff19166201000117905543600955565b610d22611295565b600a8054911515620100000262ff000019909216919091179055565b606060048054610911906122cd565b610d55611295565b7f00000000000000000000000054436a6720ae60cb454994060c1e1d8a4be656cd6001600160a01b0316826001600160a01b031603610e065760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610ac1565b610e108282611d47565b5050565b60003381610e22828661106d565b905083811015610e825760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ac1565b610afb8286868403611171565b6000336109a2818585611369565b610ea5611295565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610f0c611295565b670de0b6b3a76400006103e8610f2160025490565b610f2c90601461234c565b610f36919061236b565b610f40919061236b565b811015610f9b5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263322e302560e01b6064820152608401610ac1565b610fad81670de0b6b3a764000061234c565b60125550565b610fbb611295565b60005b8281101561102c578160146000868685818110610fdd57610fdd612307565b9050602002016020810190610ff2919061204c565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061102481612333565b915050610fbe565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611060939291906123a0565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110a0611295565b600d819055600e8190556064811115610b495760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610ac1565b611103611295565b6001600160a01b0381166111685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ac1565b610b4981611cf5565b6001600160a01b0383166111d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ac1565b6001600160a01b0382166112345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ac1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ac1565b60006112fb848461106d565b9050600019811461136357818110156113565760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ac1565b6113638484848403611171565b50505050565b6001600160a01b03831661138f5760405162461bcd60e51b8152600401610ac1906123f9565b6001600160a01b0382166113b55760405162461bcd60e51b8152600401610ac19061243e565b6001600160a01b03821660009081526013602052604090205460ff161580156113f757506001600160a01b03831660009081526013602052604090205460ff16155b61145d5760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610ac1565b8060000361147157610a1d83836000611d9b565b600a5460ff16611506576001600160a01b03831660009081526014602052604090205460ff16806114ba57506001600160a01b03821660009081526014602052604090205460ff165b6115065760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401610ac1565b600a54610100900460ff16156118a0576005546001600160a01b0384811691161480159061154257506005546001600160a01b03838116911614155b801561155657506001600160a01b03821615155b801561156d57506001600160a01b03821661dead14155b80156115835750600554600160a01b900460ff16155b156118a057600a5460ff16611616576001600160a01b03831660009081526014602052604090205460ff16806115d157506001600160a01b03821660009081526014602052604090205460ff165b6116165760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610ac1565b6001600160a01b03831660009081526016602052604090205460ff16801561165757506001600160a01b03821660009081526015602052604090205460ff16155b1561174d5760075461167190670de0b6b3a764000061238d565b8111156116de5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610ac1565b6012546001600160a01b038316600090815260208190526040902054611704908361238d565b11156117485760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ac1565b6118a0565b6001600160a01b03821660009081526016602052604090205460ff16801561178e57506001600160a01b03831660009081526015602052604090205460ff16155b15611816576007546117a890670de0b6b3a764000061238d565b8111156117485760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610ac1565b6001600160a01b03821660009081526015602052604090205460ff166118a0576012546001600160a01b03831660009081526020819052604090205461185c908361238d565b11156118a05760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ac1565b30600090815260208190526040902054600654811080159081906118cc5750600a5462010000900460ff165b80156118e25750600554600160a01b900460ff16155b801561190757506001600160a01b03851660009081526016602052604090205460ff16155b801561192c57506001600160a01b03851660009081526014602052604090205460ff16155b801561195157506001600160a01b03841660009081526014602052604090205460ff16155b1561197f576005805460ff60a01b1916600160a01b179055611971611eef565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526014602052604090205460ff600160a01b9092048216159116806119cd57506001600160a01b03851660009081526014602052604090205460ff165b156119d6575060005b60008115611b21576001600160a01b03861660009081526016602052604090205460ff168015611a0857506000600e54115b15611a7d57611a2e6103e8611a28600e5488611f8e90919063ffffffff16565b90611fa1565b905080600f6000828254611a42919061238d565b9091555050600e54600d54611a57908361234c565b611a61919061236b565b60106000828254611a72919061238d565b90915550611b039050565b6001600160a01b03871660009081526016602052604090205460ff1615611b0357611ab96103e8611a28600c5488611f8e90919063ffffffff16565b905080600f6000828254611acd919061238d565b9091555050600c54600b54611ae2908361234c565b611aec919061236b565b60106000828254611afd919061238d565b90915550505b8015611b1457611b14873083611d9b565b611b1e8186612481565b94505b611b2c878787611d9b565b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b6a57611b6a612307565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c9190612494565b81600181518110611c1f57611c1f612307565b60200260200101906001600160a01b031690816001600160a01b031681525050611c6a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611171565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611cbf9085906000908690309042906004016124b1565b600060405180830381600087803b158015611cd957600080fd5b505af1158015611ced573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611dc15760405162461bcd60e51b8152600401610ac1906123f9565b6001600160a01b038216611de75760405162461bcd60e51b8152600401610ac19061243e565b6001600160a01b03831660009081526020819052604090205481811015611e5f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ac1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e9690849061238d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ee291815260200190565b60405180910390a3611363565b306000908152602081905260408120546010549091821580611f0f575081155b15611f1957505050565b82611f2381611b35565b600a5460405163010000009091046001600160a01b0316904790600081818185875af1925050503d8060008114611f76576040519150601f19603f3d011682016040523d82523d6000602084013e611f7b565b606091505b505060006010819055600f555050505050565b6000611f9a828461234c565b9392505050565b6000611f9a828461236b565b600060208083528351808285015260005b81811015611fda57858101830151858201604001528201611fbe565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b4957600080fd5b803561201b81611ffb565b919050565b6000806040838503121561203357600080fd5b823561203e81611ffb565b946020939093013593505050565b60006020828403121561205e57600080fd5b8135611f9a81611ffb565b634e487b7160e01b600052604160045260246000fd5b8035801515811461201b57600080fd5b600080604083850312156120a257600080fd5b823567ffffffffffffffff808211156120ba57600080fd5b818501915085601f8301126120ce57600080fd5b81356020828211156120e2576120e2612069565b8160051b604051601f19603f8301168101818110868211171561210757612107612069565b60405292835281830193508481018201928984111561212557600080fd5b948201945b8386101561214a5761213b86612010565b8552948201949382019361212a565b9650612159905087820161207f565b9450505050509250929050565b60006020828403121561217857600080fd5b5035919050565b60008060006060848603121561219457600080fd5b833561219f81611ffb565b925060208401356121af81611ffb565b929592945050506040919091013590565b600080604083850312156121d357600080fd5b82356121de81611ffb565b91506121ec6020840161207f565b90509250929050565b60006020828403121561220757600080fd5b611f9a8261207f565b60008060006040848603121561222557600080fd5b833567ffffffffffffffff8082111561223d57600080fd5b818601915086601f83011261225157600080fd5b81358181111561226057600080fd5b8760208260051b850101111561227557600080fd5b60209283019550935061228b918601905061207f565b90509250925092565b600080604083850312156122a757600080fd5b82356122b281611ffb565b915060208301356122c281611ffb565b809150509250929050565b600181811c908216806122e157607f821691505b60208210810361230157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016123455761234561231d565b5060010190565b60008160001904831182151516156123665761236661231d565b500290565b60008261238857634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156109a8576109a861231d565b6040808252810183905260008460608301825b868110156123e35782356123c681611ffb565b6001600160a01b03168252602092830192909101906001016123b3565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109a8576109a861231d565b6000602082840312156124a657600080fd5b8151611f9a81611ffb565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125015784516001600160a01b0316835293830193918301916001016124dc565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122089076d40c3fdaed4e177d82b288264391ef46d2b7d2e1407e759afbf8274f17964736f6c63430008100033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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