ETH Price: $2,977.63 (+0.23%)
Gas: 8 Gwei

Contract

0x6f4403710c7B0A861906217d459deaA481157e1B
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve155533422022-09-17 12:36:35660 days ago1663418195IN
0x6f440371...481157e1B
0 ETH0.000279525.99205861
Approve149966772022-06-20 12:56:26749 days ago1655729786IN
0x6f440371...481157e1B
0 ETH0.0004195717.22036568
Approve149966462022-06-20 12:50:00749 days ago1655729400IN
0x6f440371...481157e1B
0 ETH0.0013114628.11348593
Approve149863902022-06-18 18:16:56750 days ago1655576216IN
0x6f440371...481157e1B
0 ETH0.0043612493.49061883
Approve146716942022-04-28 8:03:34802 days ago1651133014IN
0x6f440371...481157e1B
0 ETH0.0014367730.79973183
Approve146686602022-04-27 20:31:09802 days ago1651091469IN
0x6f440371...481157e1B
0 ETH0.0014246662.90190212
Approve146570112022-04-26 0:40:54804 days ago1650933654IN
0x6f440371...481157e1B
0 ETH0.0010802844.33751938
Approve143706432022-03-12 7:40:58849 days ago1647070858IN
0x6f440371...481157e1B
0 ETH0.0003995516.39887962
Approve143706432022-03-12 7:40:58849 days ago1647070858IN
0x6f440371...481157e1B
0 ETH0.0003995516.39887962
Approve142397152022-02-20 0:31:45869 days ago1645317105IN
0x6f440371...481157e1B
0 ETH0.0013879456.96480241
Approve141590622022-02-07 13:00:31882 days ago1644238831IN
0x6f440371...481157e1B
0 ETH0.0011442346.96235893
Approve139988912022-01-13 18:53:38906 days ago1642100018IN
0x6f440371...481157e1B
0 ETH0.00422207173.2842974
Approve139988802022-01-13 18:51:14906 days ago1642099874IN
0x6f440371...481157e1B
0 ETH0.00719298154.19370794
Approve139639992022-01-08 9:30:42912 days ago1641634242IN
0x6f440371...481157e1B
0 ETH0.0031371767.25054346
Transfer139333002022-01-03 15:34:45917 days ago1641224085IN
0x6f440371...481157e1B
0 ETH0.0055564989.85861481
Approve139284402022-01-02 21:23:50917 days ago1641158630IN
0x6f440371...481157e1B
0 ETH0.00379651155.81819446
Approve139255182022-01-02 10:41:43918 days ago1641120103IN
0x6f440371...481157e1B
0 ETH0.0014453559.32081823
Transfer139209132022-01-01 17:38:34918 days ago1641058714IN
0x6f440371...481157e1B
0 ETH0.0051506183.2786436
Renounce Ownersh...139208852022-01-01 17:32:15918 days ago1641058335IN
0x6f440371...481157e1B
0 ETH0.0017243373.97094336
Approve139208232022-01-01 17:18:38918 days ago1641057518IN
0x6f440371...481157e1B
0 ETH0.0046182599
Approve139198712022-01-01 13:44:09919 days ago1641044649IN
0x6f440371...481157e1B
0 ETH0.0025219554.06240318
Approve139178572022-01-01 6:22:50919 days ago1641018170IN
0x6f440371...481157e1B
0 ETH0.0032531569.73687623
Approve139177012022-01-01 5:42:55919 days ago1641015775IN
0x6f440371...481157e1B
0 ETH0.0034288773.5036689
Approve139176872022-01-01 5:38:41919 days ago1641015521IN
0x6f440371...481157e1B
0 ETH0.0030592665.58048139
Approve139175202022-01-01 4:58:02919 days ago1641013082IN
0x6f440371...481157e1B
0 ETH0.0033989272.86162233
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
155533532022-09-17 12:38:47660 days ago1663418327
0x6f440371...481157e1B
0.0021063 ETH
155533532022-09-17 12:38:47660 days ago1663418327
0x6f440371...481157e1B
0.0021063 ETH
155533532022-09-17 12:38:47660 days ago1663418327
0x6f440371...481157e1B
0.00002028 ETH
155533532022-09-17 12:38:47660 days ago1663418327
0x6f440371...481157e1B
0.00209616 ETH
155533532022-09-17 12:38:47660 days ago1663418327
0x6f440371...481157e1B
0.00628849 ETH
149966552022-06-20 12:51:45749 days ago1655729505
0x6f440371...481157e1B
0.00232024 ETH
149966552022-06-20 12:51:45749 days ago1655729505
0x6f440371...481157e1B
0.00232024 ETH
149966552022-06-20 12:51:45749 days ago1655729505
0x6f440371...481157e1B
0.0000239 ETH
149966552022-06-20 12:51:45749 days ago1655729505
0x6f440371...481157e1B
0.00230828 ETH
149966552022-06-20 12:51:45749 days ago1655729505
0x6f440371...481157e1B
0.00692485 ETH
141586962022-02-07 11:37:31882 days ago1644233851
0x6f440371...481157e1B
0.00278886 ETH
141586962022-02-07 11:37:31882 days ago1644233851
0x6f440371...481157e1B
0.00278886 ETH
141586962022-02-07 11:37:31882 days ago1644233851
0x6f440371...481157e1B
0.00003245 ETH
141586962022-02-07 11:37:31882 days ago1644233851
0x6f440371...481157e1B
0.00277263 ETH
141586962022-02-07 11:37:31882 days ago1644233851
0x6f440371...481157e1B
0.0083179 ETH
141586812022-02-07 11:35:08882 days ago1644233708
0x6f440371...481157e1B
0.00372622 ETH
141586812022-02-07 11:35:08882 days ago1644233708
0x6f440371...481157e1B
0.00372622 ETH
141586812022-02-07 11:35:08882 days ago1644233708
0x6f440371...481157e1B
0.00005205 ETH
141586812022-02-07 11:35:08882 days ago1644233708
0x6f440371...481157e1B
0.0037002 ETH
141586812022-02-07 11:35:08882 days ago1644233708
0x6f440371...481157e1B
0.0111006 ETH
140859712022-01-27 5:57:44893 days ago1643263064
0x6f440371...481157e1B
0.00382387 ETH
140859712022-01-27 5:57:44893 days ago1643263064
0x6f440371...481157e1B
0.00382387 ETH
140859712022-01-27 5:57:44893 days ago1643263064
0x6f440371...481157e1B
0.00000029 ETH
140859712022-01-27 5:57:44893 days ago1643263064
0x6f440371...481157e1B
0.00382372 ETH
140859712022-01-27 5:57:44893 days ago1643263064
0x6f440371...481157e1B
0.01147117 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HappInuYear

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 9 : HappInuYear.sol
/**

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

Twitter: https://twitter.com/Happinuyear2022
Telegram: https://t.me/happinuyear
Website: https://www.happinuyear.com

- Tokenomics: 80% burn (Every day, new random burn, from 1 to 10% of the remaining supply) | 10% use for liquidity | 10% use for presale
- Ownership will be transferred to the dead address after the audit
- 6% of the fee will be used to automatically add liquidity to the liquidityLockAddress. Liquidity will be sent to deadAdress to create a deflation mechanism that will reduce supply and increase liquidity by time.
- 3% fee sent to marketingAddress will be used to promote the project 100% transparency with the DAO.
- 3% fee sent to nftAddress will be used to buy NFT chosen by the DAO and share them randomly with token holders.
*/

// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.3;

import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IUniswapV2Pair} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract HappInuYear is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using SafeMath for uint8;
    using Address for address;

    address payable public marketingAddress = payable(0xfe727321BEbec92B515bC1F0F77FC1cBC47Eee9E);
    address payable public nftAddress = payable(0xd4F12167ED3DB5569C510783282dbD6256F44FD5);
    address payable public liquidityLockAddress = payable(0x000000000000000000000000000000000000dEaD);
    address public constant uniSwapRouterAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isSniper;
    mapping(address => bool) private _isExcludedFromFee;

    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 2022 * 10**6 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;

    string private constant _name = "HappInuYear";
    string private constant _symbol = "HIY";

    uint8 private constant _decimals = 9;
    uint8 public taxFee;
    uint8 private _previousTaxFee = taxFee;
    uint8 public totalFee = 12;
    uint8 private _previousTotalFee = totalFee;
    uint8 public marketingFee = 3;
    uint8 public nftFee = 3;
    uint8 public highPriceImpactMultiplicator = 1;

    bool public swapAndLiquifyEnabled = false;
    bool public feesAfterHighPriceImpactEnabled = false;
    bool inSwapAndLiquify;

    uint256 public maxTxAmount = 20 * 10**6 * 10**9;
    uint256 private minimumTokensBeforeSwap = 1 * 10**6 * 10**9;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;

    event FeesAfterHighPriceImpactEnabledUpdated(bool enabled);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event UniswapV2PairUpdated(address pairAddress);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity);
    event SwapTokensForETH(uint256 amountIn, address[] path);

    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() {
        _rOwned[_msgSender()] = _rTotal;
        uniswapV2Router = IUniswapV2Router02(uniSwapRouterAddress);

        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[marketingAddress] = true;
        _isExcludedFromFee[nftAddress] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")
        );
        return true;
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function minimumTokensBeforeSwapAmount() public view returns (uint256) {
        return minimumTokensBeforeSwap;
    }

    function tokenFromReflection(uint256 rAmount) public view returns (uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function isBlockedSniper(address account) public view returns (bool) {
        return _isSniper[account];
    }

    function blockSniper(address account) external onlyOwner {
        require(!_isSniper[account], "Account is already blacklisted");
        _isSniper[account] = true;
    }

    function amnestySniper(address account) external onlyOwner {
        require(_isSniper[account], "Account is not blacklisted");
        _isSniper[account] = false;
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        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);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        require(!_isSniper[to], "You have no power here!");
        require(!_isSniper[from], "You have no power here!");

        if (from != owner() && to != owner() && from != address(this)) {
            require(amount <= maxTxAmount, "Transfer amount exceeds the maxTxAmount.");
        }

        if (
            !inSwapAndLiquify &&
            swapAndLiquifyEnabled &&
            to == uniswapV2Pair &&
            balanceOf(address(this)) >= minimumTokensBeforeSwap
        ) {
            swapAndLiquify(minimumTokensBeforeSwap);
        }

        bool takeFee = !(_isExcludedFromFee[from] || _isExcludedFromFee[to]);
        if (!takeFee) removeAllFee();
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tLiquidity
        ) = _getValues(amount, to);
        _rOwned[from] = _rOwned[from].sub(rAmount);
        _rOwned[to] = _rOwned[to].add(rTransferAmount);
        _takeLiquidity(tLiquidity);
        _reflectFee(rFee, tFee);
        emit Transfer(from, to, tTransferAmount);
        if (!takeFee) restoreAllFee();
    }

    function swapAndLiquify(uint256 tokenAmount) private lockTheSwap {
        uint256 liquidityDivisor = totalFee.sub(marketingFee).sub(nftFee).div(2);
        uint256 tokenForLiquify = tokenAmount.mul(liquidityDivisor).div(totalFee);
        uint256 tokenForSwap = tokenAmount.sub(tokenForLiquify);
        uint256 initialBalance = address(this).balance;
        swapTokensForEth(tokenForSwap);

        uint256 transferredBalance = address(this).balance.sub(initialBalance);
        uint256 balanceForLiquidity = transferredBalance.mul(liquidityDivisor).div(totalFee.sub(liquidityDivisor));
        addLiquidity(tokenForLiquify, balanceForLiquidity);

        uint256 leftoverBalance = address(this).balance;
        uint256 halfAmount = leftoverBalance.div(2);
        transferToAddressETH(marketingAddress, halfAmount);
        transferToAddressETH(nftAddress, leftoverBalance.sub(halfAmount));

        emit SwapAndLiquify(tokenForSwap, balanceForLiquidity, tokenForLiquify);
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        require(tokenAmount <= balanceOf(address(this)), "Not enough HIY in contract balance");
        require(ethAmount <= address(this).balance, "Not enough ETH in contract balance");
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            liquidityLockAddress,
            block.timestamp
        );
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );

        emit SwapTokensForETH(tokenAmount, path);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _getValues(uint256 tAmount, address recipient)
        private
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount, recipient);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity);
    }

    function _getTValues(uint256 tAmount, address recipient)
        private
        view
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 tFee = tAmount.mul(taxFee).div(10**2);
        uint256 tLiquidity = calculateFinalFee(tAmount, recipient);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity);
        return (tTransferAmount, tFee, tLiquidity);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tLiquidity,
        uint256 currentRate
    )
        private
        pure
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _priceImpact(uint256 transferAmount) private view returns (uint256) {
        (uint256 reserves0, uint256 reserves1, ) = IUniswapV2Pair(uniswapV2Pair).getReserves();
        (uint256 reserveA, uint256 reserveB) = address(this) == IUniswapV2Pair(uniswapV2Pair).token0()
            ? (reserves0, reserves1)
            : (reserves1, reserves0);
        if (reserveA == 0 || reserveB == 0) {
            return 0;
        }
        uint256 exactQuote = transferAmount.mul(reserveB).div(reserveA);
        uint256 outputAmount = IUniswapV2Router02(uniSwapRouterAddress).getAmountOut(
            transferAmount,
            reserveA,
            reserveB
        );
        return exactQuote.sub(outputAmount).mul(10**2).div(exactQuote);
    }

    function _calculateHighPriceImpactFee(uint256 priceImpact) private view returns (uint256) {
        uint256 tax = 0;
        if (priceImpact >= 1 && priceImpact < 2) {
            tax = 2;
        } else if (priceImpact >= 2 && priceImpact < 3) {
            tax = 3;
        } else if (priceImpact >= 3 && priceImpact < 4) {
            tax = 4;
        } else if (priceImpact >= 4) {
            tax = 5;
        }
        return tax.mul(highPriceImpactMultiplicator);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeLiquidity(uint256 tLiquidity) private {
        uint256 currentRate = _getRate();
        uint256 rLiquidity = tLiquidity.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity);
    }

    function calculateFinalFee(uint256 _amount, address recipient) private view returns (uint256) {
        if (!swapAndLiquifyEnabled) {
            return 0;
        }
        if (feesAfterHighPriceImpactEnabled && recipient == uniswapV2Pair && totalFee > 0) {
            uint256 priceImpact = _priceImpact(_amount);
            uint256 highPriceImpactFee = _calculateHighPriceImpactFee(priceImpact);
            uint256 finalFee = totalFee.add(highPriceImpactFee);
            return _amount.mul(finalFee).div(10**2);
        }
        return _amount.mul(totalFee).div(10**2);
    }

    function removeAllFee() private {
        if (taxFee == 0 && totalFee == 0) return;
        _previousTaxFee = taxFee;
        _previousTotalFee = totalFee;
        taxFee = 0;
        totalFee = 0;
    }

    function restoreAllFee() private {
        taxFee = _previousTaxFee;
        totalFee = _previousTotalFee;
    }

    function isExcludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFee[account];
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setTaxFeePercent(uint8 fee) external onlyOwner {
        require(fee <= 5, "fee too high");
        taxFee = fee;
    }

    function setTotalFeePercent(uint8 fee) external onlyOwner {
        require(fee <= 10, "fee too high");
        totalFee = fee;
    }

    function setMaxTxAmount(uint256 amount) external onlyOwner {
        maxTxAmount = amount;
    }

    function setMarketingFee(uint8 fee) external onlyOwner {
        require(fee <= 3, "fee too high");
        marketingFee = fee;
    }

    function setNftFee(uint8 fee) external onlyOwner {
        require(fee <= 3, "fee too high");
        nftFee = fee;
    }

    function setHighPriceImpactMultiplicator(uint8 multiplicator) external onlyOwner {
        require(multiplicator <= 10, "multiplicator too high");
        highPriceImpactMultiplicator = multiplicator;
    }

    function setMinimumTokensBeforeSwap(uint256 _minimumTokensBeforeSwap) external onlyOwner {
        minimumTokensBeforeSwap = _minimumTokensBeforeSwap;
    }

    function setMarketingAddress(address _marketingAddress) external onlyOwner {
        marketingAddress = payable(_marketingAddress);
    }

    function setNftAddress(address _nftAddress) external onlyOwner {
        nftAddress = payable(_nftAddress);
    }

    function setLiquidityLockAddress(address _liquidityLockAddress) external onlyOwner {
        liquidityLockAddress = payable(_liquidityLockAddress);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function setFeesAfterHighPriceImpactEnabled(bool _enabled) public onlyOwner {
        feesAfterHighPriceImpactEnabled = _enabled;
        emit FeesAfterHighPriceImpactEnabledUpdated(_enabled);
    }

    function setUniswapV2Pair(address _uniswapV2Pair) public onlyOwner {
        uniswapV2Pair = _uniswapV2Pair;
        emit UniswapV2PairUpdated(_uniswapV2Pair);
    }

    function prepareForPreSale() external onlyOwner {
        swapAndLiquifyEnabled = false;
        feesAfterHighPriceImpactEnabled = false;
    }

    function beforeLiquidityAdded() external onlyOwner {
        swapAndLiquifyEnabled = true;
    }

    function afterLiquidityAdded(address _uniswapV2Pair) external onlyOwner {
        setUniswapV2Pair(_uniswapV2Pair);
        swapAndLiquifyEnabled = true;
        feesAfterHighPriceImpactEnabled = true;
    }

    function transferToAddressETH(address payable recipient, uint256 amount) private {
        recipient.transfer(amount);
    }

    receive() external payable {}
}

File 2 of 9 : 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 3 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 9 : 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 Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

File 6 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

import './IUniswapV2Router01.sol';

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

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

File 9 of 9 : 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);
}

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

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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"FeesAfterHighPriceImpactEnabledUpdated","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pairAddress","type":"address"}],"name":"UniswapV2PairUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"afterLiquidityAdded","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":"account","type":"address"}],"name":"amnestySniper","outputs":[],"stateMutability":"nonpayable","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":[],"name":"beforeLiquidityAdded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"blockSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesAfterHighPriceImpactEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"highPriceImpactMultiplicator","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlockedSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityLockAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokensBeforeSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepareForPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setFeesAfterHighPriceImpactEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"multiplicator","type":"uint8"}],"name":"setHighPriceImpactMultiplicator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityLockAddress","type":"address"}],"name":"setLiquidityLockAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"fee","type":"uint8"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumTokensBeforeSwap","type":"uint256"}],"name":"setMinimumTokensBeforeSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"}],"name":"setNftAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"fee","type":"uint8"}],"name":"setNftFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"fee","type":"uint8"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"fee","type":"uint8"}],"name":"setTotalFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"setUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"taxFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniSwapRouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600180546001600160a01b031990811673fe727321bebec92b515bc1f0f77fc1cbc47eee9e1790915560028054821673d4f12167ed3db5569c510783282dbd6256f44fd51790556003805490911661dead1790556200006e671c0f964977d700006000196200025b565b6200007c9060001962000235565b600955600b8054660103000000000064ffff0000001962ffff0019831661010060ff9485160262ff0000191617620c0000179081166201000090910490921663010000000260ff60201b1916919091176403000000001763ffffffff60281b191617905566470de4df820000600c5566038d7ea4c68000600d553480156200010357600080fd5b506200010f33620001e5565b600954336000818152600460209081526040808320949094557f7a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000060805281546001600160a01b039081168352600882528483208054600160ff19918216811790925530855286852080548216831790558154831685528685208054821683179055600254909216845285842080549092161790559251671c0f964977d700008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200027e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000828210156200025657634e487b7160e01b600052601160045260246000fd5b500390565b6000826200027957634e487b7160e01b600052601260045260246000fd5b500690565b60805160601c612f64620002c0600039600081816104c7015281816122f6015281816123be015281816124130152818161258401526126050152612f646000f3fe60806040526004361061034e5760003560e01c806376042c0a116101bb578063a5ece941116100f7578063d7a0198211610095578063ea2f0b371161006f578063ea2f0b3714610a48578063ec28438a14610a68578063f2fde38b14610a88578063fe83024014610aa857600080fd5b8063d7a01982146109c2578063dd62ed3e146109e2578063e1e22a0914610a2857600080fd5b8063b805fbf8116100d1578063b805fbf814610929578063c49b9a8014610962578063cb8d15d114610982578063cc1621b9146109a257600080fd5b8063a5ece941146108c9578063a9059cbb146108e9578063aee50b1e1461090957600080fd5b80639381f6fd11610164578063a071dcf41161013e578063a071dcf41461085a578063a073d37f14610874578063a29a608914610889578063a457c2d7146108a957600080fd5b80639381f6fd146107d457806395d89b41146107f457806396aa04171461083a57600080fd5b80638da5cb5b116101955780638da5cb5b14610773578063906e9dd0146107915780639071adc0146107b157600080fd5b806376042c0a1461071d57806377df6b4f1461073d5780638c0b5e221461075d57600080fd5b80632d8381191161028a5780634a74bb02116102335780635bf8633a1161020d5780635bf8633a146106a65780636b67c4df146106c657806370a08231146106e8578063715018a61461070857600080fd5b80634a74bb02146106335780635134f6ab146106585780635342acb41461066d57600080fd5b8063395093511161026457806339509351146105d3578063437823ec146105f357806349bd5a5e1461061357600080fd5b80632d8381191461058a578063313ce567146105aa57806333ccd076146105be57600080fd5b80631527be3b116102f75780631a3f9f17116102d15780631a3f9f17146105045780631df4ccfc1461052a57806323b872dd1461054a57806329fe077d1461056a57600080fd5b80631527be3b1461047f5780631694505e146104b557806318160ddd146104e957600080fd5b80630b102d1a116103285780630b102d1a1461041e5780630b2a808c1461044057806313114a9d1461046057600080fd5b8063054972651461035a57806306fdde031461039f578063095ea7b3146103ee57600080fd5b3661035557005b600080fd5b34801561036657600080fd5b50610382737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103ab57600080fd5b5060408051808201909152600b81527f48617070496e755965617200000000000000000000000000000000000000000060208201525b6040516103969190612d5e565b3480156103fa57600080fd5b5061040e610409366004612bf9565b610ac8565b6040519015158152602001610396565b34801561042a57600080fd5b5061043e610439366004612b45565b610adf565b005b34801561044c57600080fd5b5061043e61045b366004612b45565b610b4e565b34801561046c57600080fd5b50600a545b604051908152602001610396565b34801561048b57600080fd5b50600b546104a3906601000000000000900460ff1681565b60405160ff9091168152602001610396565b3480156104c157600080fd5b506103827f000000000000000000000000000000000000000000000000000000000000000081565b3480156104f557600080fd5b50671c0f964977d70000610471565b34801561051057600080fd5b50600b5461040e9068010000000000000000900460ff1681565b34801561053657600080fd5b50600b546104a39062010000900460ff1681565b34801561055657600080fd5b5061040e610565366004612bb8565b610c1f565b34801561057657600080fd5b5061043e610585366004612cf7565b610c88565b34801561059657600080fd5b506104716105a5366004612c97565b610d35565b3480156105b657600080fd5b5060096104a3565b3480156105ca57600080fd5b5061043e610dcc565b3480156105df57600080fd5b5061040e6105ee366004612bf9565b610e31565b3480156105ff57600080fd5b5061043e61060e366004612b45565b610e67565b34801561061f57600080fd5b50600e54610382906001600160a01b031681565b34801561063f57600080fd5b50600b5461040e90670100000000000000900460ff1681565b34801561066457600080fd5b5061043e610ed3565b34801561067957600080fd5b5061040e610688366004612b45565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156106b257600080fd5b50600254610382906001600160a01b031681565b3480156106d257600080fd5b50600b546104a390640100000000900460ff1681565b3480156106f457600080fd5b50610471610703366004612b45565b610f2f565b34801561071457600080fd5b5061043e610f51565b34801561072957600080fd5b50600354610382906001600160a01b031681565b34801561074957600080fd5b5061043e610758366004612b45565b610fa5565b34801561076957600080fd5b50610471600c5481565b34801561077f57600080fd5b506000546001600160a01b0316610382565b34801561079d57600080fd5b5061043e6107ac366004612b45565b611016565b3480156107bd57600080fd5b50600b546104a39065010000000000900460ff1681565b3480156107e057600080fd5b5061043e6107ef366004612cf7565b611080565b34801561080057600080fd5b5060408051808201909152600381527f484959000000000000000000000000000000000000000000000000000000000060208201526103e1565b34801561084657600080fd5b5061043e610855366004612b45565b611121565b34801561086657600080fd5b50600b546104a39060ff1681565b34801561088057600080fd5b50600d54610471565b34801561089557600080fd5b5061043e6108a4366004612b45565b6111f6565b3480156108b557600080fd5b5061040e6108c4366004612bf9565b611293565b3480156108d557600080fd5b50600154610382906001600160a01b031681565b3480156108f557600080fd5b5061040e610904366004612bf9565b6112e2565b34801561091557600080fd5b5061043e610924366004612c97565b6112ef565b34801561093557600080fd5b5061040e610944366004612b45565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561096e57600080fd5b5061043e61097d366004612c25565b61133c565b34801561098e57600080fd5b5061043e61099d366004612cf7565b6113d9565b3480156109ae57600080fd5b5061043e6109bd366004612cf7565b611488565b3480156109ce57600080fd5b5061043e6109dd366004612b45565b61154a565b3480156109ee57600080fd5b506104716109fd366004612b7f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610a3457600080fd5b5061043e610a43366004612cf7565b6115b4565b348015610a5457600080fd5b5061043e610a63366004612b45565b61165d565b348015610a7457600080fd5b5061043e610a83366004612c97565b6116c6565b348015610a9457600080fd5b5061043e610aa3366004612b45565b611713565b348015610ab457600080fd5b5061043e610ac3366004612c25565b6117e3565b6000610ad5338484611882565b5060015b92915050565b6000546001600160a01b03163314610b2c5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea83398151915260448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610b965760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03811660009081526007602052604090205460ff16610bfe5760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610b23565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000610c2c8484846119da565b610c7e8433610c7985604051806060016040528060288152602001612ec2602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190611edd565b611882565b5060019392505050565b6000546001600160a01b03163314610cd05760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b60038160ff161115610d135760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff9092166401000000000264ff0000000019909216919091179055565b6000600954821115610daf5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610b23565b6000610db9611f09565b9050610dc58382611f2c565b9392505050565b6000546001600160a01b03163314610e145760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b805467ff000000000000001916670100000000000000179055565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610ad5918590610c799086611f38565b6000546001600160a01b03163314610eaf5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000546001600160a01b03163314610f1b5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b805468ffff0000000000000019169055565b6001600160a01b038116600090815260046020526040812054610ad990610d35565b6000546001600160a01b03163314610f995760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b610fa36000611f44565b565b6000546001600160a01b03163314610fed5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b610ff6816111f6565b50600b805468ffff00000000000000191668010100000000000000179055565b6000546001600160a01b0316331461105e5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110c85760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b60058160ff16111561110b5760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff191660ff92909216919091179055565b6000546001600160a01b031633146111695760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03811660009081526007602052604090205460ff16156111d25760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610b23565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000546001600160a01b0316331461123e5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600e80546001600160a01b0319166001600160a01b0383169081179091556040519081527f7ce2f660d28151927edf092d28b8ad31996fd3c11a637db41ddb1cd1a34bee0e906020015b60405180910390a150565b6000610ad53384610c7985604051806060016040528060258152602001612f0a602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190611edd565b6000610ad53384846119da565b6000546001600160a01b031633146113375760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600d55565b6000546001600160a01b031633146113845760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b80548215156701000000000000000267ff00000000000000199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061128890831515815260200190565b6000546001600160a01b031633146114215760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b60038160ff1611156114645760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff909216650100000000000265ff000000000019909216919091179055565b6000546001600160a01b031633146114d05760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600a8160ff1611156115245760405162461bcd60e51b815260206004820152601660248201527f6d756c7469706c696361746f7220746f6f2068696768000000000000000000006044820152606401610b23565b600b805460ff90921666010000000000000266ff00000000000019909216919091179055565b6000546001600160a01b031633146115925760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146115fc5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600a8160ff16111561163f5760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff909216620100000262ff000019909216919091179055565b6000546001600160a01b031633146116a55760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6000546001600160a01b0316331461170e5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600c55565b6000546001600160a01b0316331461175b5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b0381166117d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b23565b6117e081611f44565b50565b6000546001600160a01b0316331461182b5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b8054821515680100000000000000000268ff0000000000000000199091161790556040517fde9762afb5060310a9124bef47dfb48d1431d36d82d4e1db32bf2a617672681b9061128890831515815260200190565b6001600160a01b0383166118fd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b0382166119795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a565760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b038216611ad25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610b23565b60008111611b485760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b03821660009081526007602052604090205460ff1615611bb15760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610b23565b6001600160a01b03831660009081526007602052604090205460ff1615611c1a5760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610b23565b6000546001600160a01b03848116911614801590611c4657506000546001600160a01b03838116911614155b8015611c5b57506001600160a01b0383163014155b15611cd857600c54811115611cd85760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e0000000000000000000000000000000000000000000000006064820152608401610b23565b600b546901000000000000000000900460ff16158015611d055750600b54670100000000000000900460ff165b8015611d1e5750600e546001600160a01b038381169116145b8015611d345750600d54611d3130610f2f565b10155b15611d4457611d44600d54611f94565b6001600160a01b03831660009081526008602052604081205460ff1680611d8357506001600160a01b03831660009081526008602052604090205460ff165b15905080611d9357611d9361211a565b600080600080600080611da6888a612186565b955095509550955095509550611dea86600460008d6001600160a01b03166001600160a01b03168152602001908152602001600020546121d990919063ffffffff16565b6001600160a01b03808c1660009081526004602052604080822093909355908b1681522054611e199086611f38565b6001600160a01b038a16600090815260046020526040902055611e3b816121e5565b611e45848361222f565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611e8a91815260200190565b60405180910390a386611ed157611ed1600b805462010000630100000060ff19831660ff61010085048116918217929092049091169190910262ff00ff1990921617179055565b50505050505050505050565b60008184841115611f015760405162461bcd60e51b8152600401610b239190612d5e565b505050900390565b6000806000611f16612253565b9092509050611f258282611f2c565b9250505090565b6000610dc58284612e28565b6000610dc58284612e10565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b805469ff000000000000000000191669010000000000000000001790819055600090611ff990600290611ff39065010000000000810460ff90811691611fed916201000082048116916401000000009004166121d9565b906121d9565b90611f2c565b600b549091506000906120199062010000900460ff16611ff38585612293565b9050600061202784836121d9565b9050476120338261229f565b600061203f47836121d9565b600b549091506000906120699061205f9062010000900460ff16886121d9565b611ff38489612293565b905061207585826124c0565b476000612083826002611f2c565b60015490915061209c906001600160a01b03168261268c565b6002546120bb906001600160a01b03166120b684846121d9565b61268c565b60408051878152602081018590529081018890527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050600b805469ff0000000000000000001916905550505050505050565b600b5460ff161580156121365750600b5462010000900460ff16155b1561213d57565b600b805463ff00ff0019811663ff0000001961010060ff80851691909102918216929092176201000061ff001990941690911792909204166301000000021762ff00ff19169055565b600080600080600080600080600061219e8b8b6126c7565b92509250925060008060006121bc8e86866121b7611f09565b612717565b919d509b5099509497509295509093505050509295509295509295565b6000610dc58284612e69565b60006121ef611f09565b905060006121fd8383612293565b3060009081526004602052604090205490915061221a9082611f38565b30600090815260046020526040902055505050565b60095461223c90836121d9565b600955600a5461224c9082611f38565b600a555050565b6009546000908190671c0f964977d7000061226e8282611f2c565b82101561228a57505060095492671c0f964977d7000092509050565b90939092509050565b6000610dc58284612e4a565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122d4576122d4612e96565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561234d57600080fd5b505afa158015612361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123859190612b62565b8160018151811061239857612398612e96565b60200260200101906001600160a01b031690816001600160a01b0316815250506123e3307f000000000000000000000000000000000000000000000000000000000000000084611882565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612451908590600090869030904290600401612dd4565b600060405180830381600087803b15801561246b57600080fd5b505af115801561247f573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040516124b4929190612db3565b60405180910390a15050565b6124c930610f2f565b8211156125235760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f7567682048495920696e20636f6e74726163742062616c616e604482015261636560f01b6064820152608401610b23565b4781111561257e5760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f7567682045544820696e20636f6e74726163742062616c616e604482015261636560f01b6064820152608401610b23565b6125a9307f000000000000000000000000000000000000000000000000000000000000000084611882565b6003546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c4016060604051808303818588803b15801561264c57600080fd5b505af1158015612660573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906126859190612cc9565b5050505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156126c2573d6000803e3d6000fd5b505050565b600b546000908190819081906126e890606490611ff390899060ff16612293565b905060006126f68787612767565b9050600061270882611fed8a866121d9565b95509193509150509250925092565b60008080806127268886612293565b905060006127348887612293565b905060006127428888612293565b9050600061275482611fed86866121d9565b939b939a50919850919650505050505050565b600b54600090670100000000000000900460ff1661278757506000610ad9565b600b5468010000000000000000900460ff1680156127b25750600e546001600160a01b038381169116145b80156127c85750600b5462010000900460ff1615155b1561281c5760006127d88461283a565b905060006127e582612a9e565b600b549091506000906128019062010000900460ff1683611f38565b90506128126064611ff38884612293565b9350505050610ad9565b600b54610dc590606490611ff390869062010000900460ff16612293565b6000806000600e60009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561288d57600080fd5b505afa1580156128a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c59190612c47565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150600080600e60009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561293b57600080fd5b505afa15801561294f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129739190612b62565b6001600160a01b0316306001600160a01b031614612992578284612995565b83835b9150915081600014806129a6575080155b156129b75750600095945050505050565b60006129c783611ff38985612293565b6040517f054d50d4000000000000000000000000000000000000000000000000000000008152600481018990526024810185905260448101849052909150600090737a250d5630b4cf539739df2c5dacb4c659f2488d9063054d50d49060640160206040518083038186803b158015612a3f57600080fd5b505afa158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190612cb0565b9050612a9282611ff36064612a8c83866121d9565b90612293565b98975050505050505050565b60008060018310801590612ab25750600283105b15612abf57506002612b07565b60028310158015612ad05750600383105b15612add57506003612b07565b60038310158015612aee5750600483105b15612afb57506004612b07565b60048310612b07575060055b600b54610dc59082906601000000000000900460ff16612293565b80516dffffffffffffffffffffffffffff81168114612b4057600080fd5b919050565b600060208284031215612b5757600080fd5b8135610dc581612eac565b600060208284031215612b7457600080fd5b8151610dc581612eac565b60008060408385031215612b9257600080fd5b8235612b9d81612eac565b91506020830135612bad81612eac565b809150509250929050565b600080600060608486031215612bcd57600080fd5b8335612bd881612eac565b92506020840135612be881612eac565b929592945050506040919091013590565b60008060408385031215612c0c57600080fd5b8235612c1781612eac565b946020939093013593505050565b600060208284031215612c3757600080fd5b81358015158114610dc557600080fd5b600080600060608486031215612c5c57600080fd5b612c6584612b22565b9250612c7360208501612b22565b9150604084015163ffffffff81168114612c8c57600080fd5b809150509250925092565b600060208284031215612ca957600080fd5b5035919050565b600060208284031215612cc257600080fd5b5051919050565b600080600060608486031215612cde57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612d0957600080fd5b813560ff81168114610dc557600080fd5b600081518084526020808501945080840160005b83811015612d535781516001600160a01b031687529582019590820190600101612d2e565b509495945050505050565b600060208083528351808285015260005b81811015612d8b57858101830151858201604001528201612d6f565b81811115612d9d576000604083870101525b50601f01601f1916929092016040019392505050565b828152604060208201526000612dcc6040830184612d1a565b949350505050565b85815284602082015260a060408201526000612df360a0830186612d1a565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612e2357612e23612e80565b500190565b600082612e4557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e6457612e64612e80565b500290565b600082821015612e7b57612e7b612e80565b500390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146117e057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d5dfc79869cd2a4c21c1a3bf7913e93be3f857a7f393008fe82ee5a96fa6d70e64736f6c63430008060033

Deployed Bytecode

0x60806040526004361061034e5760003560e01c806376042c0a116101bb578063a5ece941116100f7578063d7a0198211610095578063ea2f0b371161006f578063ea2f0b3714610a48578063ec28438a14610a68578063f2fde38b14610a88578063fe83024014610aa857600080fd5b8063d7a01982146109c2578063dd62ed3e146109e2578063e1e22a0914610a2857600080fd5b8063b805fbf8116100d1578063b805fbf814610929578063c49b9a8014610962578063cb8d15d114610982578063cc1621b9146109a257600080fd5b8063a5ece941146108c9578063a9059cbb146108e9578063aee50b1e1461090957600080fd5b80639381f6fd11610164578063a071dcf41161013e578063a071dcf41461085a578063a073d37f14610874578063a29a608914610889578063a457c2d7146108a957600080fd5b80639381f6fd146107d457806395d89b41146107f457806396aa04171461083a57600080fd5b80638da5cb5b116101955780638da5cb5b14610773578063906e9dd0146107915780639071adc0146107b157600080fd5b806376042c0a1461071d57806377df6b4f1461073d5780638c0b5e221461075d57600080fd5b80632d8381191161028a5780634a74bb02116102335780635bf8633a1161020d5780635bf8633a146106a65780636b67c4df146106c657806370a08231146106e8578063715018a61461070857600080fd5b80634a74bb02146106335780635134f6ab146106585780635342acb41461066d57600080fd5b8063395093511161026457806339509351146105d3578063437823ec146105f357806349bd5a5e1461061357600080fd5b80632d8381191461058a578063313ce567146105aa57806333ccd076146105be57600080fd5b80631527be3b116102f75780631a3f9f17116102d15780631a3f9f17146105045780631df4ccfc1461052a57806323b872dd1461054a57806329fe077d1461056a57600080fd5b80631527be3b1461047f5780631694505e146104b557806318160ddd146104e957600080fd5b80630b102d1a116103285780630b102d1a1461041e5780630b2a808c1461044057806313114a9d1461046057600080fd5b8063054972651461035a57806306fdde031461039f578063095ea7b3146103ee57600080fd5b3661035557005b600080fd5b34801561036657600080fd5b50610382737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103ab57600080fd5b5060408051808201909152600b81527f48617070496e755965617200000000000000000000000000000000000000000060208201525b6040516103969190612d5e565b3480156103fa57600080fd5b5061040e610409366004612bf9565b610ac8565b6040519015158152602001610396565b34801561042a57600080fd5b5061043e610439366004612b45565b610adf565b005b34801561044c57600080fd5b5061043e61045b366004612b45565b610b4e565b34801561046c57600080fd5b50600a545b604051908152602001610396565b34801561048b57600080fd5b50600b546104a3906601000000000000900460ff1681565b60405160ff9091168152602001610396565b3480156104c157600080fd5b506103827f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156104f557600080fd5b50671c0f964977d70000610471565b34801561051057600080fd5b50600b5461040e9068010000000000000000900460ff1681565b34801561053657600080fd5b50600b546104a39062010000900460ff1681565b34801561055657600080fd5b5061040e610565366004612bb8565b610c1f565b34801561057657600080fd5b5061043e610585366004612cf7565b610c88565b34801561059657600080fd5b506104716105a5366004612c97565b610d35565b3480156105b657600080fd5b5060096104a3565b3480156105ca57600080fd5b5061043e610dcc565b3480156105df57600080fd5b5061040e6105ee366004612bf9565b610e31565b3480156105ff57600080fd5b5061043e61060e366004612b45565b610e67565b34801561061f57600080fd5b50600e54610382906001600160a01b031681565b34801561063f57600080fd5b50600b5461040e90670100000000000000900460ff1681565b34801561066457600080fd5b5061043e610ed3565b34801561067957600080fd5b5061040e610688366004612b45565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156106b257600080fd5b50600254610382906001600160a01b031681565b3480156106d257600080fd5b50600b546104a390640100000000900460ff1681565b3480156106f457600080fd5b50610471610703366004612b45565b610f2f565b34801561071457600080fd5b5061043e610f51565b34801561072957600080fd5b50600354610382906001600160a01b031681565b34801561074957600080fd5b5061043e610758366004612b45565b610fa5565b34801561076957600080fd5b50610471600c5481565b34801561077f57600080fd5b506000546001600160a01b0316610382565b34801561079d57600080fd5b5061043e6107ac366004612b45565b611016565b3480156107bd57600080fd5b50600b546104a39065010000000000900460ff1681565b3480156107e057600080fd5b5061043e6107ef366004612cf7565b611080565b34801561080057600080fd5b5060408051808201909152600381527f484959000000000000000000000000000000000000000000000000000000000060208201526103e1565b34801561084657600080fd5b5061043e610855366004612b45565b611121565b34801561086657600080fd5b50600b546104a39060ff1681565b34801561088057600080fd5b50600d54610471565b34801561089557600080fd5b5061043e6108a4366004612b45565b6111f6565b3480156108b557600080fd5b5061040e6108c4366004612bf9565b611293565b3480156108d557600080fd5b50600154610382906001600160a01b031681565b3480156108f557600080fd5b5061040e610904366004612bf9565b6112e2565b34801561091557600080fd5b5061043e610924366004612c97565b6112ef565b34801561093557600080fd5b5061040e610944366004612b45565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561096e57600080fd5b5061043e61097d366004612c25565b61133c565b34801561098e57600080fd5b5061043e61099d366004612cf7565b6113d9565b3480156109ae57600080fd5b5061043e6109bd366004612cf7565b611488565b3480156109ce57600080fd5b5061043e6109dd366004612b45565b61154a565b3480156109ee57600080fd5b506104716109fd366004612b7f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b348015610a3457600080fd5b5061043e610a43366004612cf7565b6115b4565b348015610a5457600080fd5b5061043e610a63366004612b45565b61165d565b348015610a7457600080fd5b5061043e610a83366004612c97565b6116c6565b348015610a9457600080fd5b5061043e610aa3366004612b45565b611713565b348015610ab457600080fd5b5061043e610ac3366004612c25565b6117e3565b6000610ad5338484611882565b5060015b92915050565b6000546001600160a01b03163314610b2c5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea83398151915260448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610b965760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03811660009081526007602052604090205460ff16610bfe5760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610b23565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000610c2c8484846119da565b610c7e8433610c7985604051806060016040528060288152602001612ec2602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190611edd565b611882565b5060019392505050565b6000546001600160a01b03163314610cd05760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b60038160ff161115610d135760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff9092166401000000000264ff0000000019909216919091179055565b6000600954821115610daf5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610b23565b6000610db9611f09565b9050610dc58382611f2c565b9392505050565b6000546001600160a01b03163314610e145760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b805467ff000000000000001916670100000000000000179055565b3360008181526006602090815260408083206001600160a01b03871684529091528120549091610ad5918590610c799086611f38565b6000546001600160a01b03163314610eaf5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000546001600160a01b03163314610f1b5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b805468ffff0000000000000019169055565b6001600160a01b038116600090815260046020526040812054610ad990610d35565b6000546001600160a01b03163314610f995760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b610fa36000611f44565b565b6000546001600160a01b03163314610fed5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b610ff6816111f6565b50600b805468ffff00000000000000191668010100000000000000179055565b6000546001600160a01b0316331461105e5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110c85760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b60058160ff16111561110b5760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff191660ff92909216919091179055565b6000546001600160a01b031633146111695760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03811660009081526007602052604090205460ff16156111d25760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610b23565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000546001600160a01b0316331461123e5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600e80546001600160a01b0319166001600160a01b0383169081179091556040519081527f7ce2f660d28151927edf092d28b8ad31996fd3c11a637db41ddb1cd1a34bee0e906020015b60405180910390a150565b6000610ad53384610c7985604051806060016040528060258152602001612f0a602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190611edd565b6000610ad53384846119da565b6000546001600160a01b031633146113375760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600d55565b6000546001600160a01b031633146113845760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b80548215156701000000000000000267ff00000000000000199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061128890831515815260200190565b6000546001600160a01b031633146114215760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b60038160ff1611156114645760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff909216650100000000000265ff000000000019909216919091179055565b6000546001600160a01b031633146114d05760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600a8160ff1611156115245760405162461bcd60e51b815260206004820152601660248201527f6d756c7469706c696361746f7220746f6f2068696768000000000000000000006044820152606401610b23565b600b805460ff90921666010000000000000266ff00000000000019909216919091179055565b6000546001600160a01b031633146115925760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146115fc5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600a8160ff16111561163f5760405162461bcd60e51b815260206004820152600c60248201526b0cccaca40e8dede40d0d2ced60a31b6044820152606401610b23565b600b805460ff909216620100000262ff000019909216919091179055565b6000546001600160a01b031633146116a55760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6000546001600160a01b0316331461170e5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600c55565b6000546001600160a01b0316331461175b5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b6001600160a01b0381166117d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b23565b6117e081611f44565b50565b6000546001600160a01b0316331461182b5760405162461bcd60e51b81526020600482018190526024820152600080516020612eea8339815191526044820152606401610b23565b600b8054821515680100000000000000000268ff0000000000000000199091161790556040517fde9762afb5060310a9124bef47dfb48d1431d36d82d4e1db32bf2a617672681b9061128890831515815260200190565b6001600160a01b0383166118fd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b0382166119795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a565760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b038216611ad25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610b23565b60008111611b485760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610b23565b6001600160a01b03821660009081526007602052604090205460ff1615611bb15760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610b23565b6001600160a01b03831660009081526007602052604090205460ff1615611c1a5760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610b23565b6000546001600160a01b03848116911614801590611c4657506000546001600160a01b03838116911614155b8015611c5b57506001600160a01b0383163014155b15611cd857600c54811115611cd85760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e0000000000000000000000000000000000000000000000006064820152608401610b23565b600b546901000000000000000000900460ff16158015611d055750600b54670100000000000000900460ff165b8015611d1e5750600e546001600160a01b038381169116145b8015611d345750600d54611d3130610f2f565b10155b15611d4457611d44600d54611f94565b6001600160a01b03831660009081526008602052604081205460ff1680611d8357506001600160a01b03831660009081526008602052604090205460ff165b15905080611d9357611d9361211a565b600080600080600080611da6888a612186565b955095509550955095509550611dea86600460008d6001600160a01b03166001600160a01b03168152602001908152602001600020546121d990919063ffffffff16565b6001600160a01b03808c1660009081526004602052604080822093909355908b1681522054611e199086611f38565b6001600160a01b038a16600090815260046020526040902055611e3b816121e5565b611e45848361222f565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611e8a91815260200190565b60405180910390a386611ed157611ed1600b805462010000630100000060ff19831660ff61010085048116918217929092049091169190910262ff00ff1990921617179055565b50505050505050505050565b60008184841115611f015760405162461bcd60e51b8152600401610b239190612d5e565b505050900390565b6000806000611f16612253565b9092509050611f258282611f2c565b9250505090565b6000610dc58284612e28565b6000610dc58284612e10565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b805469ff000000000000000000191669010000000000000000001790819055600090611ff990600290611ff39065010000000000810460ff90811691611fed916201000082048116916401000000009004166121d9565b906121d9565b90611f2c565b600b549091506000906120199062010000900460ff16611ff38585612293565b9050600061202784836121d9565b9050476120338261229f565b600061203f47836121d9565b600b549091506000906120699061205f9062010000900460ff16886121d9565b611ff38489612293565b905061207585826124c0565b476000612083826002611f2c565b60015490915061209c906001600160a01b03168261268c565b6002546120bb906001600160a01b03166120b684846121d9565b61268c565b60408051878152602081018590529081018890527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050600b805469ff0000000000000000001916905550505050505050565b600b5460ff161580156121365750600b5462010000900460ff16155b1561213d57565b600b805463ff00ff0019811663ff0000001961010060ff80851691909102918216929092176201000061ff001990941690911792909204166301000000021762ff00ff19169055565b600080600080600080600080600061219e8b8b6126c7565b92509250925060008060006121bc8e86866121b7611f09565b612717565b919d509b5099509497509295509093505050509295509295509295565b6000610dc58284612e69565b60006121ef611f09565b905060006121fd8383612293565b3060009081526004602052604090205490915061221a9082611f38565b30600090815260046020526040902055505050565b60095461223c90836121d9565b600955600a5461224c9082611f38565b600a555050565b6009546000908190671c0f964977d7000061226e8282611f2c565b82101561228a57505060095492671c0f964977d7000092509050565b90939092509050565b6000610dc58284612e4a565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122d4576122d4612e96565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561234d57600080fd5b505afa158015612361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123859190612b62565b8160018151811061239857612398612e96565b60200260200101906001600160a01b031690816001600160a01b0316815250506123e3307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611882565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612451908590600090869030904290600401612dd4565b600060405180830381600087803b15801561246b57600080fd5b505af115801561247f573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040516124b4929190612db3565b60405180910390a15050565b6124c930610f2f565b8211156125235760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f7567682048495920696e20636f6e74726163742062616c616e604482015261636560f01b6064820152608401610b23565b4781111561257e5760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f7567682045544820696e20636f6e74726163742062616c616e604482015261636560f01b6064820152608401610b23565b6125a9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611882565b6003546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c4016060604051808303818588803b15801561264c57600080fd5b505af1158015612660573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906126859190612cc9565b5050505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156126c2573d6000803e3d6000fd5b505050565b600b546000908190819081906126e890606490611ff390899060ff16612293565b905060006126f68787612767565b9050600061270882611fed8a866121d9565b95509193509150509250925092565b60008080806127268886612293565b905060006127348887612293565b905060006127428888612293565b9050600061275482611fed86866121d9565b939b939a50919850919650505050505050565b600b54600090670100000000000000900460ff1661278757506000610ad9565b600b5468010000000000000000900460ff1680156127b25750600e546001600160a01b038381169116145b80156127c85750600b5462010000900460ff1615155b1561281c5760006127d88461283a565b905060006127e582612a9e565b600b549091506000906128019062010000900460ff1683611f38565b90506128126064611ff38884612293565b9350505050610ad9565b600b54610dc590606490611ff390869062010000900460ff16612293565b6000806000600e60009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561288d57600080fd5b505afa1580156128a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c59190612c47565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150600080600e60009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561293b57600080fd5b505afa15801561294f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129739190612b62565b6001600160a01b0316306001600160a01b031614612992578284612995565b83835b9150915081600014806129a6575080155b156129b75750600095945050505050565b60006129c783611ff38985612293565b6040517f054d50d4000000000000000000000000000000000000000000000000000000008152600481018990526024810185905260448101849052909150600090737a250d5630b4cf539739df2c5dacb4c659f2488d9063054d50d49060640160206040518083038186803b158015612a3f57600080fd5b505afa158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190612cb0565b9050612a9282611ff36064612a8c83866121d9565b90612293565b98975050505050505050565b60008060018310801590612ab25750600283105b15612abf57506002612b07565b60028310158015612ad05750600383105b15612add57506003612b07565b60038310158015612aee5750600483105b15612afb57506004612b07565b60048310612b07575060055b600b54610dc59082906601000000000000900460ff16612293565b80516dffffffffffffffffffffffffffff81168114612b4057600080fd5b919050565b600060208284031215612b5757600080fd5b8135610dc581612eac565b600060208284031215612b7457600080fd5b8151610dc581612eac565b60008060408385031215612b9257600080fd5b8235612b9d81612eac565b91506020830135612bad81612eac565b809150509250929050565b600080600060608486031215612bcd57600080fd5b8335612bd881612eac565b92506020840135612be881612eac565b929592945050506040919091013590565b60008060408385031215612c0c57600080fd5b8235612c1781612eac565b946020939093013593505050565b600060208284031215612c3757600080fd5b81358015158114610dc557600080fd5b600080600060608486031215612c5c57600080fd5b612c6584612b22565b9250612c7360208501612b22565b9150604084015163ffffffff81168114612c8c57600080fd5b809150509250925092565b600060208284031215612ca957600080fd5b5035919050565b600060208284031215612cc257600080fd5b5051919050565b600080600060608486031215612cde57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612d0957600080fd5b813560ff81168114610dc557600080fd5b600081518084526020808501945080840160005b83811015612d535781516001600160a01b031687529582019590820190600101612d2e565b509495945050505050565b600060208083528351808285015260005b81811015612d8b57858101830151858201604001528201612d6f565b81811115612d9d576000604083870101525b50601f01601f1916929092016040019392505050565b828152604060208201526000612dcc6040830184612d1a565b949350505050565b85815284602082015260a060408201526000612df360a0830186612d1a565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612e2357612e23612e80565b500190565b600082612e4557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612e6457612e64612e80565b500290565b600082821015612e7b57612e7b612e80565b500390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146117e057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d5dfc79869cd2a4c21c1a3bf7913e93be3f857a7f393008fe82ee5a96fa6d70e64736f6c63430008060033

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.