ETH Price: $3,413.99 (+3.90%)

Token

DeTrick or Treat (dHALLOWEEN)
 

Overview

Max Total Supply

1,000,000,000 dHALLOWEEN

Holders

130

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.354582478604725334 dHALLOWEEN

Value
$0.00
0x3b57d8d5e2450502923d46d319c3e7113ddf9af8
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DHalloween

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : dhalloween.sol
/*         
      ___           ___           ___           ___       ___       ___           ___           ___           ___           ___     
     /\  \         /\__\         /\  \         /\__\     /\__\     /\  \         /\__\         /\  \         /\  \         /\__\    
    /::\  \       /:/  /        /::\  \       /:/  /    /:/  /    /::\  \       /:/ _/_       /::\  \       /::\  \       /::|  |   
   /:/\:\  \     /:/__/        /:/\:\  \     /:/  /    /:/  /    /:/\:\  \     /:/ /\__\     /:/\:\  \     /:/\:\  \     /:|:|  |   
  /:/  \:\__\   /::\  \ ___   /::\~\:\  \   /:/  /    /:/  /    /:/  \:\  \   /:/ /:/ _/_   /::\~\:\  \   /::\~\:\  \   /:/|:|  |__ 
 /:/__/ \:|__| /:/\:\  /\__\ /:/\:\ \:\__\ /:/__/    /:/__/    /:/__/ \:\__\ /:/_/:/ /\__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/ |:| /\__\
 \:\  \ /:/  / \/__\:\/:/  / \/__\:\/:/  / \:\  \    \:\  \    \:\  \ /:/  / \:\/:/ /:/  / \:\~\:\ \/__/ \:\~\:\ \/__/ \/__|:|/:/  /
  \:\  /:/  /       \::/  /       \::/  /   \:\  \    \:\  \    \:\  /:/  /   \::/_/:/  /   \:\ \:\__\    \:\ \:\__\       |:/:/  / 
   \:\/:/  /        /:/  /        /:/  /     \:\  \    \:\  \    \:\/:/  /     \:\/:/  /     \:\ \/__/     \:\ \/__/       |::/  /  
    \::/__/        /:/  /        /:/  /       \:\__\    \:\__\    \::/  /       \::/  /       \:\__\        \:\__\         /:/  /   
     ~~            \/__/         \/__/         \/__/     \/__/     \/__/         \/__/         \/__/         \/__/         \/__/        
                                                                                            
    🎃  It’s a DHalloween party! 
    🍬  De-Trick or treat with other Degens.
    🧛  Join the De-Costume Party.
    🪓  Participate in the DHalloween Murder Mystery.

    🎁  Earn rewards through de-trick or treating, and 
        participating in the de-costume party.

    💸  A chunk of the fees will be used for buyback burns.

    👻  dhalloween.net  
    🧟‍♀️  t.me/dhalloween

    @DegenerateToolsApe: 
    *This is a Halloween festive launch purely for degen entertainment purposes.*


                .___,_______,_____Happy_DHalloween____.
                | ./(       )\.        |             |
                | )  \/\_/\/  (        |             |
                | `)  (^Y^)  (`      \(|)/           |
                |  `),-(~)-,(`      --(")--          |
                |      '"'      \\    /`\            |
                |          .-'```^```'-.    ,     ,  |
                |         /   (\ __ /)  \   )\___/(  |
                |         |    ` \/ `   |  {(@)v(@)} |
                |         \    \____/   /   {|~~~|}  |
                |          `'-.......-'`    {/^^^\}  |
                .___ldb______________________`m-m`___.

*/


// SPDX-License-Identifier: MIT

pragma solidity 0.8.16;

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

library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}


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

    string[] public draftOrder = [
        "Mario", "Bowser", "Peach", "Yoshi", "Donkey Kong",
        "Captain Falcon", "Fox", "Ness", "Ice Climbers",
        "Kirby", "Samus", "Zelda", "Link", "Pikachu",
        "Jigglypuff", "Dr. Mario", "Luigi", "Ganondorf",
        "Falco", "Young Link", "Pichu", "Mewtwo",
        "Mr. Game & Watch", "Marth", "Roy"];
    uint private draftCount = 0;
    uint256 private antiSnipeBlocks;
    mapping(address => string) public costumes;

    string[] public trickOrTreatWinners;
    string[] public murderMysteryWinners;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool private swapping;

    uint256 public swapTokensAtAmount;
    uint256 public maxTransactionAmount;

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

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

    address public constant burnWallet = 0x000000000000000000000000000000000000dEaD;

    address public dhalloweenWallet = address(0x14f83880cfF575eCCf7DEAD696c45aA608A18722);

    uint256 public constant feeDivisor = 1000;

    uint256 public dhalloweenBuyFee;
    uint256 public totalBuyFees;

    uint256 public dhalloweenSellFee;
    uint256 public totalSellFees;

    uint256 public tokensForFees;
    uint256 public tokensForDhalloween;

    bool public transferDelayEnabled = true;
    uint256 public maxWallet;

    mapping(address => bool) private _blacklist;

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

    mapping(address => bool) public automatedMarketMakerPairs;

    mapping(address => uint256) public _earlyBuyer;

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

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

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

    constructor() ERC20("DeTrick or Treat", "dHALLOWEEN") {
        uint256 totalSupply = 1 * 1e9 * 1e18;

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

        dhalloweenBuyFee = 60; 
        totalBuyFees = dhalloweenBuyFee; 

        dhalloweenSellFee = 60; 
        totalSellFees = dhalloweenSellFee;

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

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

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

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

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

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

    receive() external payable {}

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

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
           newNum * (10**18) > maxTransactionAmount,
            "Cannot set maxTransactionAmount lower than previous value"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum * (10**18) > maxWallet,
            "Cannot set maxWallet lower than previous value"
        );
        maxWallet = newNum * (10**18);
    }

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

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

    function updateSellFees(uint256 _dhalloweenSellFee) external onlyOwner {
        dhalloweenSellFee = _dhalloweenSellFee;
        totalSellFees = dhalloweenSellFee;
        require(totalSellFees <= 150, "Must keep fees at 15% or less");
    }

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


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

        emit ExcludeFromFees(account, excluded);
    }

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

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

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

    function updateTrickOrTreatWinners(string[] memory _winners)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < _winners.length; i++) {
            trickOrTreatWinners.push(_winners[i]);
        }
    }

    function updateMurderMysteryWinners(string[] memory _winners)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < _winners.length; i++) {
            murderMysteryWinners.push(_winners[i]);
        }
    }

    function trickOrTreatWinnersCount() external view returns (uint) {
        return trickOrTreatWinners.length;
    }

    function murderMysteryWinnersCount() external view returns (uint) {
        return murderMysteryWinners.length;
    }

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

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

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

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

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

        // anti-bot 
        if (
            block.number < (tradingActiveBlock + antiSnipeBlocks) &&
            to != uniswapV2Pair &&
            to != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D)
        ) {
            _blacklist[to] = true;
        }


        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

        bool takeFee = !swapping;

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

        uint256 fees = 0;

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

                costumes[to] = draftOrder[draftCount % draftOrder.length];
                draftCount += 1;

            }

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

            amount -= fees;
        }


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

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

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

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

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

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

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

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

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

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

        uint256 amountToSwapForETH = contractBalance;
        swapTokensForEth(amountToSwapForETH);

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

        tokensForDhalloween = 0;
        tokensForFees = 0;
    }

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

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

File 2 of 11 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

import './IUniswapV2Router01.sol';

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

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

File 4 of 11 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_earlyBuyer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"bots_","type":"address[]"},{"internalType":"bool","name":"status","type":"bool"}],"name":"changeAccountStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"costumes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dhalloweenBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dhalloweenSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dhalloweenWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"draftOrder","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"murderMysteryWinners","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"murderMysteryWinnersCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDhalloween","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_antiSnipeBlocks","type":"uint256"}],"name":"trickOrTreat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"trickOrTreatWinners","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trickOrTreatWinnersCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[{"internalType":"uint256","name":"_dhalloweenBuyFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_winners","type":"string[]"}],"name":"updateMurderMysteryWinners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dhalloweenSellFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_winners","type":"string[]"}],"name":"updateTrickOrTreatWinners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60056103e0818152644d6172696f60d81b6104005260c09081526006610420818152652137bbb9b2b960d11b6104405260e052610460838152640a0cac2c6d60db1b61048052610100526104a083815264596f73686960d81b6104c05261012052600b6104e09081526a446f6e6b6579204b6f6e6760a81b6105005261014052600e6105209081526d21b0b83a30b4b7102330b631b7b760911b610540526101605260036105608181526208cdef60eb1b610580526101805260046105a0818152634e65737360e01b6105c0526101a052600c6105e09081526b49636520436c696d6265727360a01b610600526101c052610620858152644b6972627960d81b610640526101e0526106608581526453616d757360d81b61068052610200526106a0858152645a656c646160d81b6106c052610220526106e0908152634c696e6b60e01b610700526102405260076107209081526650696b6163687560c81b6107405261026052600a610760818152692534b3b3b63cb83ab33360b11b610780526102805260096107a08181526844722e204d6172696f60b81b6107c0526102a0526107e0868152644c7569676960d81b610800526102c0526108209081526823b0b737b73237b93360b91b610840526102e0526108608581526446616c636f60d81b61088052610300526108a090815269596f756e67204c696e6b60b01b6108c052610320526108e084815264506963687560d81b6109005261034052610920828152654d657774776f60d01b610940526103605260106109609081526f09ae45c408ec2daca404c40aec2e8c6d60831b61098052610380526109a09384526409ac2e4e8d60db1b6109c0526103a093909352610a206040526109e092835262526f7960e81b610a00526103c0929092526200029f91906019620008fe565b5060006007819055600f819055601055601180546001600160b81b0319167614f83880cff575eccf7dead696c45aa608a187220001001790556018805460ff19166001179055348015620002f257600080fd5b506040518060400160405280601081526020016f1119551c9a58dac81bdc88151c99585d60821b8152506040518060400160405280600a815260200169322420a62627aba2a2a760b11b815250816003908162000350919062000a79565b5060046200035f828262000a79565b5050506200037c620003766200066a60201b60201c565b6200066e565b6b033b2e3c9fd0803ce80000006127106200039982600162000b5b565b620003a5919062000b7d565b600d556103e8620003b882600a62000b5b565b620003c4919062000b7d565b600e556103e8620003d782601462000b5b565b620003e3919062000b7d565b601955603c6012819055601381905560148190556015556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048281019260209291908290030181865afa15801562000450573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000476919062000ba0565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ea919062000ba0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000538573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200055e919062000ba0565b6001600160a01b03808416608052811660a052905062000580816001620006c0565b6200059f620005976005546001600160a01b031690565b600162000714565b620005ac30600162000714565b620005bb61dead600162000714565b620005c882600162000714565b601154620005e890630100000090046001600160a01b0316600162000714565b62000607620005ff6005546001600160a01b031690565b60016200077d565b620006143060016200077d565b6200062361dead60016200077d565b6011546200064390630100000090046001600160a01b031660016200077d565b620006616200065a6005546001600160a01b031690565b84620007b2565b50505062000bee565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200071e6200089b565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620007876200089b565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6001600160a01b0382166200080e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000822919062000bd2565b90915550506001600160a01b038216600090815260208190526040812080548392906200085190849062000bd2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620008f75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000805565b565b505050565b82805482825590600052602060002090810192821562000949579160200282015b8281111562000949578251829062000938908262000a79565b50916020019190600101906200091f565b50620009579291506200095b565b5090565b80821115620009575760006200097282826200097c565b506001016200095b565b5080546200098a90620009eb565b6000825580601f106200099b575050565b601f016020900490600052602060002090810190620009bb9190620009be565b50565b5b80821115620009575760008155600101620009bf565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000a0057607f821691505b60208210810362000a2157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008f957600081815260208120601f850160051c8101602086101562000a505750805b601f850160051c820191505b8181101562000a715782815560010162000a5c565b505050505050565b81516001600160401b0381111562000a955762000a95620009d5565b62000aad8162000aa68454620009eb565b8462000a27565b602080601f83116001811462000ae5576000841562000acc5750858301515b600019600386901b1c1916600185901b17855562000a71565b600085815260208120601f198616915b8281101562000b165788860151825594840194600190910190840162000af5565b508582101562000b355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000b785762000b7862000b45565b500290565b60008262000b9b57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121562000bb357600080fd5b81516001600160a01b038116811462000bcb57600080fd5b9392505050565b8082018082111562000be85762000be862000b45565b92915050565b60805160a051612cf162000c37600039600081816105d101528181610f8e0152611c3b01526000818161049201528181611ffd015281816120b601526120f20152612cf16000f3fe60806040526004361061039b5760003560e01c80639571583c116101dc578063c876d0b911610102578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b14610a8e578063f68bfc7114610aae578063f8b45b0514610ace578063f9d7501014610ae457600080fd5b8063e2f4560514610a22578063eba4c33314610a38578063ee40166e14610a58578063ef8fe4f614610a6e57600080fd5b8063d0a39814116100dc578063d0a39814146109b7578063dd62ed3e146109cd578063de3e9d05146109ed578063e1c9dbec14610a0d57600080fd5b8063c876d0b914610971578063c8c8ebe41461098b578063cffec667146109a157600080fd5b8063a9059cbb1161017a578063bbc0c74211610149578063bbc0c742146108f7578063c024666814610911578063c18bc19514610931578063c492f0461461095157600080fd5b8063a9059cbb1461087b578063aeb274ce1461089b578063b62496f5146108b1578063b9e93700146108e157600080fd5b80639a36f932116101b65780639a36f932146108055780639a7a23d61461081b578063a457c2d71461083b578063a7a6f4ab1461085b57600080fd5b80639571583c146107ba57806395d89b41146107da5780639612480d146107ef57600080fd5b806349bd5a5e116102c1578063712297481161025f5780637571336a1161022e5780637571336a146107475780637fa787ba146107675780638da5cb5b1461077c578063924de9b71461079a57600080fd5b806371229748146106d6578063715018a6146106fd57806371fc468814610712578063751039fc1461073257600080fd5b80634fbee1931161029b5780634fbee1931461063257806351bc3c851461066b5780636ddd17131461068057806370a08231146106a057600080fd5b806349bd5a5e146105bf5780634a62bb65146105f35780634d0a2d641461061257600080fd5b806318160ddd116103395780632a3de72e116103085780632a3de72e14610540578063313ce5671461056d57806339509351146105895780633f8a6204146105a957600080fd5b806318160ddd146104d65780631a155eef146104eb578063203e727e1461050057806323b872dd1461052057600080fd5b80630f4432e3116103755780630f4432e31461042c57806310d5de53146104505780631694505e1461048057806317533bca146104b457600080fd5b806306228749146103a757806306fdde03146103da578063095ea7b3146103fc57600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103bd61dead81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103e657600080fd5b506103ef610b04565b6040516103d1919061241e565b34801561040857600080fd5b5061041c610417366004612481565b610b96565b60405190151581526020016103d1565b34801561043857600080fd5b50610442600f5481565b6040519081526020016103d1565b34801561045c57600080fd5b5061041c61046b3660046124ad565b601c6020526000908152604090205460ff1681565b34801561048c57600080fd5b506103bd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c057600080fd5b506104d46104cf36600461254a565b610bb0565b005b3480156104e257600080fd5b50600254610442565b3480156104f757600080fd5b50600a54610442565b34801561050c57600080fd5b506104d461051b3660046125fb565b610c24565b34801561052c57600080fd5b5061041c61053b366004612614565b610cd1565b34801561054c57600080fd5b5061044261055b3660046124ad565b601e6020526000908152604090205481565b34801561057957600080fd5b50604051601281526020016103d1565b34801561059557600080fd5b5061041c6105a4366004612481565b610cf5565b3480156105b557600080fd5b5061044260165481565b3480156105cb57600080fd5b506103bd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ff57600080fd5b5060115461041c90610100900460ff1681565b34801561061e57600080fd5b506103ef61062d3660046125fb565b610d17565b34801561063e57600080fd5b5061041c61064d3660046124ad565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561067757600080fd5b506104d4610dc3565b34801561068c57600080fd5b5060115461041c9062010000900460ff1681565b3480156106ac57600080fd5b506104426106bb3660046124ad565b6001600160a01b031660009081526020819052604090205490565b3480156106e257600080fd5b506011546103bd90630100000090046001600160a01b031681565b34801561070957600080fd5b506104d4610de7565b34801561071e57600080fd5b506104d461072d3660046125fb565b610dfb565b34801561073e57600080fd5b5061041c610e5e565b34801561075357600080fd5b506104d4610762366004612655565b610e79565b34801561077357600080fd5b506104d4610eac565b34801561078857600080fd5b506005546001600160a01b03166103bd565b3480156107a657600080fd5b506104d46107b536600461268a565b610f41565b3480156107c657600080fd5b506103ef6107d53660046125fb565b610f65565b3480156107e657600080fd5b506103ef610f75565b3480156107fb57600080fd5b5061044260145481565b34801561081157600080fd5b506104426103e881565b34801561082757600080fd5b506104d4610836366004612655565b610f84565b34801561084757600080fd5b5061041c610856366004612481565b61104b565b34801561086757600080fd5b506104d46108763660046126a5565b6110c6565b34801561088757600080fd5b5061041c610896366004612481565b61112a565b3480156108a757600080fd5b5061044260125481565b3480156108bd57600080fd5b5061041c6108cc3660046124ad565b601d6020526000908152604090205460ff1681565b3480156108ed57600080fd5b5061044260135481565b34801561090357600080fd5b5060115461041c9060ff1681565b34801561091d57600080fd5b506104d461092c366004612655565b611138565b34801561093d57600080fd5b506104d461094c3660046125fb565b61119f565b34801561095d57600080fd5b506104d461096c3660046127ac565b611238565b34801561097d57600080fd5b5060185461041c9060ff1681565b34801561099757600080fd5b50610442600e5481565b3480156109ad57600080fd5b5061044260175481565b3480156109c357600080fd5b5061044260155481565b3480156109d957600080fd5b506104426109e8366004612830565b6112f2565b3480156109f957600080fd5b506103ef610a083660046125fb565b61131d565b348015610a1957600080fd5b50600b54610442565b348015610a2e57600080fd5b50610442600d5481565b348015610a4457600080fd5b506104d4610a533660046125fb565b61132d565b348015610a6457600080fd5b5061044260105481565b348015610a7a57600080fd5b506104d4610a893660046125fb565b611390565b348015610a9a57600080fd5b506104d4610aa93660046124ad565b611405565b348015610aba57600080fd5b506103ef610ac93660046124ad565b61147b565b348015610ada57600080fd5b5061044260195481565b348015610af057600080fd5b506104d4610aff3660046126a5565b611494565b606060038054610b1390612869565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3f90612869565b8015610b8c5780601f10610b6157610100808354040283529160200191610b8c565b820191906000526020600020905b815481529060010190602001808311610b6f57829003601f168201915b5050505050905090565b600033610ba48185856114f8565b60019150505b92915050565b610bb861161c565b60005b8251811015610c1f5781601a6000858481518110610bdb57610bdb6128a3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c17816128cf565b915050610bbb565b505050565b610c2c61161c565b600e54610c4182670de0b6b3a76400006128e8565b11610cb95760405162461bcd60e51b815260206004820152603960248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201527f6c6f776572207468616e2070726576696f75732076616c75650000000000000060648201526084015b60405180910390fd5b610ccb81670de0b6b3a76400006128e8565b600e5550565b600033610cdf858285611676565b610cea8585856116f0565b506001949350505050565b600033610ba4818585610d0883836112f2565b610d129190612907565b6114f8565b60068181548110610d2757600080fd5b906000526020600020016000915090508054610d4290612869565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6e90612869565b8015610dbb5780601f10610d9057610100808354040283529160200191610dbb565b820191906000526020600020905b815481529060010190602001808311610d9e57829003601f168201915b505050505081565b610dcb61161c565b30600090815260208190526040902054610de481611fa6565b50565b610def61161c565b610df96000612166565b565b610e0361161c565b601281905560138190556096811115610de45760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610cb0565b6000610e6861161c565b506011805461ff0019169055600190565b610e8161161c565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b610eb461161c565b604051600090339047908381818185875af1925050503d8060008114610ef6576040519150601f19603f3d011682016040523d82523d6000602084013e610efb565b606091505b5050905080610de45760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401610cb0565b610f4961161c565b60118054911515620100000262ff000019909216919091179055565b600b8181548110610d2757600080fd5b606060048054610b1390612869565b610f8c61161c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361103d5760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610cb0565b61104782826121b8565b5050565b6000338161105982866112f2565b9050838110156110b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cb0565b610cea82868684036114f8565b6110ce61161c565b60005b815181101561104757600b8282815181106110ee576110ee6128a3565b602090810291909101810151825460018101845560009384529190922001906111179082612960565b5080611122816128cf565b9150506110d1565b600033610ba48185856116f0565b61114061161c565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6111a761161c565b6019546111bc82670de0b6b3a76400006128e8565b116112205760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060448201526d70726576696f75732076616c756560901b6064820152608401610cb0565b61123281670de0b6b3a76400006128e8565b60195550565b61124061161c565b60005b828110156112b15781601b6000868685818110611262576112626128a3565b905060200201602081019061127791906124ad565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806112a9816128cf565b915050611243565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516112e593929190612a20565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a8181548110610d2757600080fd5b61133561161c565b601481905560158190556096811115610de45760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610cb0565b61139861161c565b60115460ff16156113eb5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742072652d656e61626c652074726164696e6700000000000000006044820152606401610cb0565b6011805462ff00ff19166201000117905543601055600855565b61140d61161c565b6001600160a01b0381166114725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb0565b610de481612166565b60096020526000908152604090208054610d4290612869565b61149c61161c565b60005b815181101561104757600a8282815181106114bc576114bc6128a3565b602090810291909101810151825460018101845560009384529190922001906114e59082612960565b50806114f0816128cf565b91505061149f565b6001600160a01b03831661155a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cb0565b6001600160a01b0382166115bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cb0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610df95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cb0565b600061168284846112f2565b905060001981146116ea57818110156116dd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cb0565b6116ea84848484036114f8565b50505050565b6001600160a01b0383166117165760405162461bcd60e51b8152600401610cb090612a79565b6001600160a01b03821661173c5760405162461bcd60e51b8152600401610cb090612abe565b6001600160a01b0382166000908152601a602052604090205460ff1615801561177e57506001600160a01b0383166000908152601a602052604090205460ff16155b6117e45760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610cb0565b806000036117f857610c1f8383600061220c565b60115460ff1661188d576001600160a01b0383166000908152601b602052604090205460ff168061184157506001600160a01b0382166000908152601b602052604090205460ff165b61188d5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401610cb0565b601154610100900460ff1615611c20576005546001600160a01b038481169116148015906118c957506005546001600160a01b03838116911614155b80156118dd57506001600160a01b03821615155b80156118f457506001600160a01b03821661dead14155b80156119035750600c5460ff16155b15611c205760115460ff16611996576001600160a01b0383166000908152601b602052604090205460ff168061195157506001600160a01b0382166000908152601b602052604090205460ff165b6119965760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610cb0565b6001600160a01b0383166000908152601d602052604090205460ff1680156119d757506001600160a01b0382166000908152601c602052604090205460ff16155b15611acd57600e546119f190670de0b6b3a7640000612907565b811115611a5e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610cb0565b6019546001600160a01b038316600090815260208190526040902054611a849083612907565b1115611ac85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb0565b611c20565b6001600160a01b0382166000908152601d602052604090205460ff168015611b0e57506001600160a01b0383166000908152601c602052604090205460ff16155b15611b9657600e54611b2890670de0b6b3a7640000612907565b811115611ac85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610cb0565b6001600160a01b0382166000908152601c602052604090205460ff16611c20576019546001600160a01b038316600090815260208190526040902054611bdc9083612907565b1115611c205760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb0565b600854601054611c309190612907565b43108015611c7057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b8015611c9957506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611cc2576001600160a01b0382166000908152601a60205260409020805460ff191660011790555b30600090815260208190526040902054600d5481108015908190611cee575060115462010000900460ff165b8015611cfd5750600c5460ff16155b8015611d2257506001600160a01b0385166000908152601d602052604090205460ff16155b8015611d4757506001600160a01b0385166000908152601b602052604090205460ff16155b8015611d6c57506001600160a01b0384166000908152601b602052604090205460ff16155b15611d9157600c805460ff19166001179055611d86612360565b600c805460ff191690555b600c546001600160a01b0386166000908152601b602052604090205460ff91821615911680611dd857506001600160a01b0385166000908152601b602052604090205460ff165b15611de1575060005b60008115611f92576001600160a01b0386166000908152601d602052604090205460ff168015611e1357506000601554115b15611e8857611e396103e8611e33601554886123ff90919063ffffffff16565b90612412565b90508060166000828254611e4d9190612907565b9091555050601554601454611e6290836128e8565b611e6c9190612b17565b60176000828254611e7d9190612907565b90915550611f749050565b6001600160a01b0387166000908152601d602052604090205460ff1615611f7457611ec46103e8611e33601354886123ff90919063ffffffff16565b90508060166000828254611ed89190612907565b9091555050601354601254611eed90836128e8565b611ef79190612b17565b60176000828254611f089190612907565b909155505060068054600754611f1e9190612b2b565b81548110611f2e57611f2e6128a3565b600091825260208083206001600160a01b038a1684526009909152604090922091611f5a910182612b3f565b50600160076000828254611f6e9190612907565b90915550505b8015611f8557611f8587308361220c565b611f8f8186612c1a565b94505b611f9d87878761220c565b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fdb57611fdb6128a3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612059573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207d9190612c2d565b81600181518110612090576120906128a3565b60200260200101906001600160a01b031690816001600160a01b0316815250506120db307f0000000000000000000000000000000000000000000000000000000000000000846114f8565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612130908590600090869030904290600401612c4a565b600060405180830381600087803b15801561214a57600080fd5b505af115801561215e573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166122325760405162461bcd60e51b8152600401610cb090612a79565b6001600160a01b0382166122585760405162461bcd60e51b8152600401610cb090612abe565b6001600160a01b038316600090815260208190526040902054818110156122d05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cb0565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612307908490612907565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161235391815260200190565b60405180910390a36116ea565b306000908152602081905260408120546017549091821580612380575081155b1561238a57505050565b8261239481611fa6565b60115460405163010000009091046001600160a01b0316904790600081818185875af1925050503d80600081146123e7576040519150601f19603f3d011682016040523d82523d6000602084013e6123ec565b606091505b5050600060178190556016555050505050565b600061240b82846128e8565b9392505050565b600061240b8284612b17565b600060208083528351808285015260005b8181101561244b5785810183015185820160400152820161242f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610de457600080fd5b6000806040838503121561249457600080fd5b823561249f8161246c565b946020939093013593505050565b6000602082840312156124bf57600080fd5b813561240b8161246c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612509576125096124ca565b604052919050565b600067ffffffffffffffff82111561252b5761252b6124ca565b5060051b60200190565b8035801515811461254557600080fd5b919050565b6000806040838503121561255d57600080fd5b823567ffffffffffffffff81111561257457600080fd5b8301601f8101851361258557600080fd5b8035602061259a61259583612511565b6124e0565b82815260059290921b830181019181810190888411156125b957600080fd5b938201935b838510156125e05784356125d18161246c565b825293820193908201906125be565b95506125ef9050868201612535565b93505050509250929050565b60006020828403121561260d57600080fd5b5035919050565b60008060006060848603121561262957600080fd5b83356126348161246c565b925060208401356126448161246c565b929592945050506040919091013590565b6000806040838503121561266857600080fd5b82356126738161246c565b915061268160208401612535565b90509250929050565b60006020828403121561269c57600080fd5b61240b82612535565b600060208083850312156126b857600080fd5b823567ffffffffffffffff808211156126d057600080fd5b8185019150601f86818401126126e557600080fd5b82356126f361259582612511565b81815260059190911b8401850190858101908983111561271257600080fd5b8686015b8381101561279e5780358681111561272e5760008081fd5b8701603f81018c136127405760008081fd5b88810135604088821115612756576127566124ca565b612767828901601f19168c016124e0565b8281528e8284860101111561277c5760008081fd5b828285018d83013760009281018c019290925250845250918701918701612716565b509998505050505050505050565b6000806000604084860312156127c157600080fd5b833567ffffffffffffffff808211156127d957600080fd5b818601915086601f8301126127ed57600080fd5b8135818111156127fc57600080fd5b8760208260051b850101111561281157600080fd5b6020928301955093506128279186019050612535565b90509250925092565b6000806040838503121561284357600080fd5b823561284e8161246c565b9150602083013561285e8161246c565b809150509250929050565b600181811c9082168061287d57607f821691505b60208210810361289d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016128e1576128e16128b9565b5060010190565b6000816000190483118215151615612902576129026128b9565b500290565b80820180821115610baa57610baa6128b9565b601f821115610c1f57600081815260208120601f850160051c810160208610156129415750805b601f850160051c820191505b8181101561215e5782815560010161294d565b815167ffffffffffffffff81111561297a5761297a6124ca565b61298e816129888454612869565b8461291a565b602080601f8311600181146129c357600084156129ab5750858301515b600019600386901b1c1916600185901b17855561215e565b600085815260208120601f198616915b828110156129f2578886015182559484019460019091019084016129d3565b5085821015612a105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040808252810183905260008460608301825b86811015612a63578235612a468161246c565b6001600160a01b0316825260209283019290910190600101612a33565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612b2657612b26612b01565b500490565b600082612b3a57612b3a612b01565b500690565b818103612b4a575050565b612b548254612869565b67ffffffffffffffff811115612b6c57612b6c6124ca565b612b7a816129888454612869565b6000601f821160018114612bae5760008315612b965750848201545b600019600385901b1c1916600184901b178455612c13565b600085815260209020601f19841690600086815260209020845b83811015612be85782860154825560019586019590910190602001612bc8565b5085831015612c065781850154600019600388901b60f8161c191681555b50505060018360011b0184555b5050505050565b81810381811115610baa57610baa6128b9565b600060208284031215612c3f57600080fd5b815161240b8161246c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c9a5784516001600160a01b031683529383019391830191600101612c75565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220fe114c302f1cc5ffff582a9602f9606a765a4ca1f89f14f286c5ade64324fddd64736f6c63430008100033

Deployed Bytecode

0x60806040526004361061039b5760003560e01c80639571583c116101dc578063c876d0b911610102578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b14610a8e578063f68bfc7114610aae578063f8b45b0514610ace578063f9d7501014610ae457600080fd5b8063e2f4560514610a22578063eba4c33314610a38578063ee40166e14610a58578063ef8fe4f614610a6e57600080fd5b8063d0a39814116100dc578063d0a39814146109b7578063dd62ed3e146109cd578063de3e9d05146109ed578063e1c9dbec14610a0d57600080fd5b8063c876d0b914610971578063c8c8ebe41461098b578063cffec667146109a157600080fd5b8063a9059cbb1161017a578063bbc0c74211610149578063bbc0c742146108f7578063c024666814610911578063c18bc19514610931578063c492f0461461095157600080fd5b8063a9059cbb1461087b578063aeb274ce1461089b578063b62496f5146108b1578063b9e93700146108e157600080fd5b80639a36f932116101b65780639a36f932146108055780639a7a23d61461081b578063a457c2d71461083b578063a7a6f4ab1461085b57600080fd5b80639571583c146107ba57806395d89b41146107da5780639612480d146107ef57600080fd5b806349bd5a5e116102c1578063712297481161025f5780637571336a1161022e5780637571336a146107475780637fa787ba146107675780638da5cb5b1461077c578063924de9b71461079a57600080fd5b806371229748146106d6578063715018a6146106fd57806371fc468814610712578063751039fc1461073257600080fd5b80634fbee1931161029b5780634fbee1931461063257806351bc3c851461066b5780636ddd17131461068057806370a08231146106a057600080fd5b806349bd5a5e146105bf5780634a62bb65146105f35780634d0a2d641461061257600080fd5b806318160ddd116103395780632a3de72e116103085780632a3de72e14610540578063313ce5671461056d57806339509351146105895780633f8a6204146105a957600080fd5b806318160ddd146104d65780631a155eef146104eb578063203e727e1461050057806323b872dd1461052057600080fd5b80630f4432e3116103755780630f4432e31461042c57806310d5de53146104505780631694505e1461048057806317533bca146104b457600080fd5b806306228749146103a757806306fdde03146103da578063095ea7b3146103fc57600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103bd61dead81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103e657600080fd5b506103ef610b04565b6040516103d1919061241e565b34801561040857600080fd5b5061041c610417366004612481565b610b96565b60405190151581526020016103d1565b34801561043857600080fd5b50610442600f5481565b6040519081526020016103d1565b34801561045c57600080fd5b5061041c61046b3660046124ad565b601c6020526000908152604090205460ff1681565b34801561048c57600080fd5b506103bd7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156104c057600080fd5b506104d46104cf36600461254a565b610bb0565b005b3480156104e257600080fd5b50600254610442565b3480156104f757600080fd5b50600a54610442565b34801561050c57600080fd5b506104d461051b3660046125fb565b610c24565b34801561052c57600080fd5b5061041c61053b366004612614565b610cd1565b34801561054c57600080fd5b5061044261055b3660046124ad565b601e6020526000908152604090205481565b34801561057957600080fd5b50604051601281526020016103d1565b34801561059557600080fd5b5061041c6105a4366004612481565b610cf5565b3480156105b557600080fd5b5061044260165481565b3480156105cb57600080fd5b506103bd7f00000000000000000000000079c143954553da86080ed7590a000cc4a981f4cb81565b3480156105ff57600080fd5b5060115461041c90610100900460ff1681565b34801561061e57600080fd5b506103ef61062d3660046125fb565b610d17565b34801561063e57600080fd5b5061041c61064d3660046124ad565b6001600160a01b03166000908152601b602052604090205460ff1690565b34801561067757600080fd5b506104d4610dc3565b34801561068c57600080fd5b5060115461041c9062010000900460ff1681565b3480156106ac57600080fd5b506104426106bb3660046124ad565b6001600160a01b031660009081526020819052604090205490565b3480156106e257600080fd5b506011546103bd90630100000090046001600160a01b031681565b34801561070957600080fd5b506104d4610de7565b34801561071e57600080fd5b506104d461072d3660046125fb565b610dfb565b34801561073e57600080fd5b5061041c610e5e565b34801561075357600080fd5b506104d4610762366004612655565b610e79565b34801561077357600080fd5b506104d4610eac565b34801561078857600080fd5b506005546001600160a01b03166103bd565b3480156107a657600080fd5b506104d46107b536600461268a565b610f41565b3480156107c657600080fd5b506103ef6107d53660046125fb565b610f65565b3480156107e657600080fd5b506103ef610f75565b3480156107fb57600080fd5b5061044260145481565b34801561081157600080fd5b506104426103e881565b34801561082757600080fd5b506104d4610836366004612655565b610f84565b34801561084757600080fd5b5061041c610856366004612481565b61104b565b34801561086757600080fd5b506104d46108763660046126a5565b6110c6565b34801561088757600080fd5b5061041c610896366004612481565b61112a565b3480156108a757600080fd5b5061044260125481565b3480156108bd57600080fd5b5061041c6108cc3660046124ad565b601d6020526000908152604090205460ff1681565b3480156108ed57600080fd5b5061044260135481565b34801561090357600080fd5b5060115461041c9060ff1681565b34801561091d57600080fd5b506104d461092c366004612655565b611138565b34801561093d57600080fd5b506104d461094c3660046125fb565b61119f565b34801561095d57600080fd5b506104d461096c3660046127ac565b611238565b34801561097d57600080fd5b5060185461041c9060ff1681565b34801561099757600080fd5b50610442600e5481565b3480156109ad57600080fd5b5061044260175481565b3480156109c357600080fd5b5061044260155481565b3480156109d957600080fd5b506104426109e8366004612830565b6112f2565b3480156109f957600080fd5b506103ef610a083660046125fb565b61131d565b348015610a1957600080fd5b50600b54610442565b348015610a2e57600080fd5b50610442600d5481565b348015610a4457600080fd5b506104d4610a533660046125fb565b61132d565b348015610a6457600080fd5b5061044260105481565b348015610a7a57600080fd5b506104d4610a893660046125fb565b611390565b348015610a9a57600080fd5b506104d4610aa93660046124ad565b611405565b348015610aba57600080fd5b506103ef610ac93660046124ad565b61147b565b348015610ada57600080fd5b5061044260195481565b348015610af057600080fd5b506104d4610aff3660046126a5565b611494565b606060038054610b1390612869565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3f90612869565b8015610b8c5780601f10610b6157610100808354040283529160200191610b8c565b820191906000526020600020905b815481529060010190602001808311610b6f57829003601f168201915b5050505050905090565b600033610ba48185856114f8565b60019150505b92915050565b610bb861161c565b60005b8251811015610c1f5781601a6000858481518110610bdb57610bdb6128a3565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c17816128cf565b915050610bbb565b505050565b610c2c61161c565b600e54610c4182670de0b6b3a76400006128e8565b11610cb95760405162461bcd60e51b815260206004820152603960248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201527f6c6f776572207468616e2070726576696f75732076616c75650000000000000060648201526084015b60405180910390fd5b610ccb81670de0b6b3a76400006128e8565b600e5550565b600033610cdf858285611676565b610cea8585856116f0565b506001949350505050565b600033610ba4818585610d0883836112f2565b610d129190612907565b6114f8565b60068181548110610d2757600080fd5b906000526020600020016000915090508054610d4290612869565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6e90612869565b8015610dbb5780601f10610d9057610100808354040283529160200191610dbb565b820191906000526020600020905b815481529060010190602001808311610d9e57829003601f168201915b505050505081565b610dcb61161c565b30600090815260208190526040902054610de481611fa6565b50565b610def61161c565b610df96000612166565b565b610e0361161c565b601281905560138190556096811115610de45760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610cb0565b6000610e6861161c565b506011805461ff0019169055600190565b610e8161161c565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b610eb461161c565b604051600090339047908381818185875af1925050503d8060008114610ef6576040519150601f19603f3d011682016040523d82523d6000602084013e610efb565b606091505b5050905080610de45760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401610cb0565b610f4961161c565b60118054911515620100000262ff000019909216919091179055565b600b8181548110610d2757600080fd5b606060048054610b1390612869565b610f8c61161c565b7f00000000000000000000000079c143954553da86080ed7590a000cc4a981f4cb6001600160a01b0316826001600160a01b03160361103d5760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610cb0565b61104782826121b8565b5050565b6000338161105982866112f2565b9050838110156110b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cb0565b610cea82868684036114f8565b6110ce61161c565b60005b815181101561104757600b8282815181106110ee576110ee6128a3565b602090810291909101810151825460018101845560009384529190922001906111179082612960565b5080611122816128cf565b9150506110d1565b600033610ba48185856116f0565b61114061161c565b6001600160a01b0382166000818152601b6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6111a761161c565b6019546111bc82670de0b6b3a76400006128e8565b116112205760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060448201526d70726576696f75732076616c756560901b6064820152608401610cb0565b61123281670de0b6b3a76400006128e8565b60195550565b61124061161c565b60005b828110156112b15781601b6000868685818110611262576112626128a3565b905060200201602081019061127791906124ad565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806112a9816128cf565b915050611243565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516112e593929190612a20565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a8181548110610d2757600080fd5b61133561161c565b601481905560158190556096811115610de45760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c6573730000006044820152606401610cb0565b61139861161c565b60115460ff16156113eb5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742072652d656e61626c652074726164696e6700000000000000006044820152606401610cb0565b6011805462ff00ff19166201000117905543601055600855565b61140d61161c565b6001600160a01b0381166114725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb0565b610de481612166565b60096020526000908152604090208054610d4290612869565b61149c61161c565b60005b815181101561104757600a8282815181106114bc576114bc6128a3565b602090810291909101810151825460018101845560009384529190922001906114e59082612960565b50806114f0816128cf565b91505061149f565b6001600160a01b03831661155a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cb0565b6001600160a01b0382166115bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cb0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610df95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cb0565b600061168284846112f2565b905060001981146116ea57818110156116dd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cb0565b6116ea84848484036114f8565b50505050565b6001600160a01b0383166117165760405162461bcd60e51b8152600401610cb090612a79565b6001600160a01b03821661173c5760405162461bcd60e51b8152600401610cb090612abe565b6001600160a01b0382166000908152601a602052604090205460ff1615801561177e57506001600160a01b0383166000908152601a602052604090205460ff16155b6117e45760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b6064820152608401610cb0565b806000036117f857610c1f8383600061220c565b60115460ff1661188d576001600160a01b0383166000908152601b602052604090205460ff168061184157506001600160a01b0382166000908152601b602052604090205460ff165b61188d5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401610cb0565b601154610100900460ff1615611c20576005546001600160a01b038481169116148015906118c957506005546001600160a01b03838116911614155b80156118dd57506001600160a01b03821615155b80156118f457506001600160a01b03821661dead14155b80156119035750600c5460ff16155b15611c205760115460ff16611996576001600160a01b0383166000908152601b602052604090205460ff168061195157506001600160a01b0382166000908152601b602052604090205460ff165b6119965760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610cb0565b6001600160a01b0383166000908152601d602052604090205460ff1680156119d757506001600160a01b0382166000908152601c602052604090205460ff16155b15611acd57600e546119f190670de0b6b3a7640000612907565b811115611a5e5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610cb0565b6019546001600160a01b038316600090815260208190526040902054611a849083612907565b1115611ac85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb0565b611c20565b6001600160a01b0382166000908152601d602052604090205460ff168015611b0e57506001600160a01b0383166000908152601c602052604090205460ff16155b15611b9657600e54611b2890670de0b6b3a7640000612907565b811115611ac85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610cb0565b6001600160a01b0382166000908152601c602052604090205460ff16611c20576019546001600160a01b038316600090815260208190526040902054611bdc9083612907565b1115611c205760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610cb0565b600854601054611c309190612907565b43108015611c7057507f00000000000000000000000079c143954553da86080ed7590a000cc4a981f4cb6001600160a01b0316826001600160a01b031614155b8015611c9957506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611cc2576001600160a01b0382166000908152601a60205260409020805460ff191660011790555b30600090815260208190526040902054600d5481108015908190611cee575060115462010000900460ff165b8015611cfd5750600c5460ff16155b8015611d2257506001600160a01b0385166000908152601d602052604090205460ff16155b8015611d4757506001600160a01b0385166000908152601b602052604090205460ff16155b8015611d6c57506001600160a01b0384166000908152601b602052604090205460ff16155b15611d9157600c805460ff19166001179055611d86612360565b600c805460ff191690555b600c546001600160a01b0386166000908152601b602052604090205460ff91821615911680611dd857506001600160a01b0385166000908152601b602052604090205460ff165b15611de1575060005b60008115611f92576001600160a01b0386166000908152601d602052604090205460ff168015611e1357506000601554115b15611e8857611e396103e8611e33601554886123ff90919063ffffffff16565b90612412565b90508060166000828254611e4d9190612907565b9091555050601554601454611e6290836128e8565b611e6c9190612b17565b60176000828254611e7d9190612907565b90915550611f749050565b6001600160a01b0387166000908152601d602052604090205460ff1615611f7457611ec46103e8611e33601354886123ff90919063ffffffff16565b90508060166000828254611ed89190612907565b9091555050601354601254611eed90836128e8565b611ef79190612b17565b60176000828254611f089190612907565b909155505060068054600754611f1e9190612b2b565b81548110611f2e57611f2e6128a3565b600091825260208083206001600160a01b038a1684526009909152604090922091611f5a910182612b3f565b50600160076000828254611f6e9190612907565b90915550505b8015611f8557611f8587308361220c565b611f8f8186612c1a565b94505b611f9d87878761220c565b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fdb57611fdb6128a3565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612059573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207d9190612c2d565b81600181518110612090576120906128a3565b60200260200101906001600160a01b031690816001600160a01b0316815250506120db307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846114f8565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612130908590600090869030904290600401612c4a565b600060405180830381600087803b15801561214a57600080fd5b505af115801561215e573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000818152601d6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166122325760405162461bcd60e51b8152600401610cb090612a79565b6001600160a01b0382166122585760405162461bcd60e51b8152600401610cb090612abe565b6001600160a01b038316600090815260208190526040902054818110156122d05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cb0565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612307908490612907565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161235391815260200190565b60405180910390a36116ea565b306000908152602081905260408120546017549091821580612380575081155b1561238a57505050565b8261239481611fa6565b60115460405163010000009091046001600160a01b0316904790600081818185875af1925050503d80600081146123e7576040519150601f19603f3d011682016040523d82523d6000602084013e6123ec565b606091505b5050600060178190556016555050505050565b600061240b82846128e8565b9392505050565b600061240b8284612b17565b600060208083528351808285015260005b8181101561244b5785810183015185820160400152820161242f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610de457600080fd5b6000806040838503121561249457600080fd5b823561249f8161246c565b946020939093013593505050565b6000602082840312156124bf57600080fd5b813561240b8161246c565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612509576125096124ca565b604052919050565b600067ffffffffffffffff82111561252b5761252b6124ca565b5060051b60200190565b8035801515811461254557600080fd5b919050565b6000806040838503121561255d57600080fd5b823567ffffffffffffffff81111561257457600080fd5b8301601f8101851361258557600080fd5b8035602061259a61259583612511565b6124e0565b82815260059290921b830181019181810190888411156125b957600080fd5b938201935b838510156125e05784356125d18161246c565b825293820193908201906125be565b95506125ef9050868201612535565b93505050509250929050565b60006020828403121561260d57600080fd5b5035919050565b60008060006060848603121561262957600080fd5b83356126348161246c565b925060208401356126448161246c565b929592945050506040919091013590565b6000806040838503121561266857600080fd5b82356126738161246c565b915061268160208401612535565b90509250929050565b60006020828403121561269c57600080fd5b61240b82612535565b600060208083850312156126b857600080fd5b823567ffffffffffffffff808211156126d057600080fd5b8185019150601f86818401126126e557600080fd5b82356126f361259582612511565b81815260059190911b8401850190858101908983111561271257600080fd5b8686015b8381101561279e5780358681111561272e5760008081fd5b8701603f81018c136127405760008081fd5b88810135604088821115612756576127566124ca565b612767828901601f19168c016124e0565b8281528e8284860101111561277c5760008081fd5b828285018d83013760009281018c019290925250845250918701918701612716565b509998505050505050505050565b6000806000604084860312156127c157600080fd5b833567ffffffffffffffff808211156127d957600080fd5b818601915086601f8301126127ed57600080fd5b8135818111156127fc57600080fd5b8760208260051b850101111561281157600080fd5b6020928301955093506128279186019050612535565b90509250925092565b6000806040838503121561284357600080fd5b823561284e8161246c565b9150602083013561285e8161246c565b809150509250929050565b600181811c9082168061287d57607f821691505b60208210810361289d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016128e1576128e16128b9565b5060010190565b6000816000190483118215151615612902576129026128b9565b500290565b80820180821115610baa57610baa6128b9565b601f821115610c1f57600081815260208120601f850160051c810160208610156129415750805b601f850160051c820191505b8181101561215e5782815560010161294d565b815167ffffffffffffffff81111561297a5761297a6124ca565b61298e816129888454612869565b8461291a565b602080601f8311600181146129c357600084156129ab5750858301515b600019600386901b1c1916600185901b17855561215e565b600085815260208120601f198616915b828110156129f2578886015182559484019460019091019084016129d3565b5085821015612a105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040808252810183905260008460608301825b86811015612a63578235612a468161246c565b6001600160a01b0316825260209283019290910190600101612a33565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612b2657612b26612b01565b500490565b600082612b3a57612b3a612b01565b500690565b818103612b4a575050565b612b548254612869565b67ffffffffffffffff811115612b6c57612b6c6124ca565b612b7a816129888454612869565b6000601f821160018114612bae5760008315612b965750848201545b600019600385901b1c1916600184901b178455612c13565b600085815260209020601f19841690600086815260209020845b83811015612be85782860154825560019586019590910190602001612bc8565b5085831015612c065781850154600019600388901b60f8161c191681555b50505060018360011b0184555b5050505050565b81810381811115610baa57610baa6128b9565b600060208284031215612c3f57600080fd5b815161240b8161246c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c9a5784516001600160a01b031683529383019391830191600101612c75565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220fe114c302f1cc5ffff582a9602f9606a765a4ca1f89f14f286c5ade64324fddd64736f6c63430008100033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.