ETH Price: $2,793.98 (+1.93%)

Token

xperp (xperp)
 

Overview

Max Total Supply

1,000,000 xperp

Holders

138

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
188.803003822178165387 xperp

Value
$0.00
0xAF905676bd21Bc3122b1443F60A747ce4DFc932b
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:
xPERP

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 300 runs

Other Settings:
paris EvmVersion
File 1 of 16 : xPERP.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

//  xPERP Token
//   ____  _____ ____  ____
//   __  _|  _ \| ____|  _ \|  _ \
//   \ \/ / |_) |  _| | |_) | |_) |
//    >  <|  __/| |___|  _ <|  __/
//   /_/\_\_|   |_____|_| \_\_|
// Go long or short with leverage on @friendtech keys via Telegram
// =====================================
// https://twitter.com/xperptech
// https://xperp.tech
// =====================================
// - Tokenomics: 35% in LP, 10% to Team, 5% to Collateral Partners, 49% for future airdrops
// - Partnership: 1% has been sold to Handz of Gods.
// - Supply: 1M tokens
// - Tax: 3.5% tax on xperp traded (0.5% to LP, 1.5% to revenue share, 1.5% to team and operating expenses).
// - Revenue Sharing: 30% of trading revenue goes to holders.
// - Eligibility: Holders of xperp tokens are entitled to revenue sharing.

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/TokenTimelock.sol";

contract xPERP is ERC20, Ownable, Pausable, ReentrancyGuard {

    // 1 Million is totalsuppy
    uint256 public constant oneMillion = 1_000_000 * 1 ether;
    // precision mitigation value, 100x100
    uint256 public constant hundredPercent = 10_000;

    // 1% of total supply, max tranfer amount possible
    uint256 public walletBalanceLimit = 10_000 * 1 ether;
    uint256 public sellLimit = 10_000 * 1 ether;

    // Taxation
    uint256 public heavyTax = 4000;
    uint256 public totalTax = 350;
    uint256 public liquidityPairTax = 50;
    uint256 public teamWalletTax = 150;
    bool public isTaxActive = true;

    IUniswapV2Router02 public constant uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    // address of the uniswap pair
    address public uniswapV2Pair;

    // address of the revenue distribution bot
    address public revenueDistributionBot;

    // address of the vesting contract
    address public vestingContract;

    // team wallet
    address payable public teamWallet;

    // switched on post launch
    bool public isTradingEnabled = false;

    // revenue sharing tax collected, completely distributed among token holders
    uint256 public liquidityPairTaxCollectedNotYetInjectedXPERP;

    // total swap tax collected, completely distributed among token holders, for analytical purposes only
    uint256 public swapTaxCollectedTotalXPERP;

    // revenue sharing tax collected for the distribution in the current snapshot (total tax less liquidity shares)
    uint256 public revShareAndTeamCurrentEpochXPERP;

    // revenue sharing tax collected, completely distributed among token holders, for analytical purposes only
    uint256 public tradingRevenueDistributedTotalETH;

    // snipers wallets
    mapping(address => bool) public earlySnipers;
    // launch phase where snipers take additional burden during the first block
    bool public launch = true;

    // Revenue sharing distribution info, 1 is the first epoch.
    struct EpochInfo {
        // Snapshot time
        uint256 epochTimestamp;
        // Snapshot supply
        uint256 epochCirculatingSupply;
        // ETH collected for rewards for re-investors
        uint256 epochRevenueFromSwapTaxCollectedXPERP;
        // Same in ETH
        uint256 epochSwapRevenueETH;
        // Injected 30% revenue from trading
        uint256 epochTradingRevenueETH;
        // Used to calculate holder balances at the time of snapshot
        mapping(address => uint256) depositedInEpoch;
        mapping(address => uint256) withdrawnInEpoch;
    }

    // Epochs array, each epoch contains the snapshot info,
    // 1 is the first epoch,
    // the current value (length-1) is the epoch currently in progress - not snapshotted yet
    // the previous value (length-2) is the last snapshotted epoch
    EpochInfo[] public epochs;

    // Claimed Epochs
    mapping(address => uint256) public lastClaimedEpochs;

    // ========== Events ==========
    event TradingOnUniSwapEnabled();
    event TradingOnUniSwapDisabled();
    event Snapshot(uint256 epoch, uint256 circulatingSupply, uint256 swapTaxCollected, uint256 tradingRevenueCollected);
    event SwappedToEth(uint256 amount, uint256 ethAmount);
    event SwappedToXperp(uint256 amount, uint256 ethAmount);
    event Claimed(address indexed user, uint256 amount);
    event LiquidityAdded(uint256 amountToken, uint256 amountETH, uint256 liquidity);
    event ReceivedEther(address indexed from, uint256 amount);
    event TaxChanged(uint256 tax, uint256 teamWalletTax, uint256 liquidityPairTax);
    event TaxActiveChanged(bool isActive);

    // ========== Modifiers ==========


    modifier botOrOwner() {
        require(msg.sender == revenueDistributionBot || msg.sender == owner(), "Not authorized");
        _;
    }

    // ========== ERC20 ==========

    constructor(address payable _teamWallet) ERC20("xperp", "xperp") {
        require(_teamWallet != address(0), "Invalid team wallet");
        teamWallet = _teamWallet;
        revenueDistributionBot = msg.sender;
        _mint(msg.sender, oneMillion);
    }

    function init() external onlyOwner {
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
            address(this),
            uniswapV2Router.WETH()
        );
        // approving uniswap router to spend xperp on behalf of the contract
        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        // initializing epochs, 1 is the first epoch.
        epochs.push();
        epochs.push();
    }

    // ========== Configuration ==========

    function setRevenueDistributionBot(address _revenueDistributionBot) external onlyOwner {
        require(_revenueDistributionBot != address(0), "Invalid bot address");
        revenueDistributionBot = _revenueDistributionBot;
    }

    function setVestingContract(address _vestingContract) external onlyOwner {
        require(_vestingContract != address(0), "Invalid vesting contract address");
        vestingContract = _vestingContract;
    }

    function setTax(uint256 _tax, uint256 _heavyTax, uint256 _teamWalletTax, uint256 _liquidityPairTax) external onlyOwner {
        require(_tax <= 500 && _heavyTax < 5000 && _teamWalletTax >= 0 && _teamWalletTax <= 500, "Invalid tax");
        totalTax = _tax;
        heavyTax = _heavyTax;
        teamWalletTax = _teamWalletTax;
        liquidityPairTax = _liquidityPairTax;
        emit TaxChanged(_tax, _teamWalletTax, _liquidityPairTax);
    }

    function setTaxActive(bool _isTaxActive) external onlyOwner {
        isTaxActive = _isTaxActive;
        emit TaxActiveChanged(_isTaxActive);
    }

    function setWalletBalanceLimit(uint256 _walletBalanceLimit) external onlyOwner {
        require(_walletBalanceLimit >= 0 && _walletBalanceLimit <= oneMillion, "Invalid wallet balance limit");
        walletBalanceLimit = _walletBalanceLimit;
    }

    function setSellLimit(uint256 _sellLimit) external onlyOwner {
        require(_sellLimit >= 0 && _sellLimit <= oneMillion, "Invalid sell balance limit");
        sellLimit = _sellLimit;
    }

    function updateTeamWallet(address payable _teamWallet) external onlyOwner {
        require(_teamWallet != address(0), "Invalid team wallet");
        teamWallet = _teamWallet;
    }

    function EnableTradingOnUniSwap() external onlyOwner {
        isTradingEnabled = true;
        emit TradingOnUniSwapEnabled();
    }

    function DisableTradingOnUniSwap() external onlyOwner {
        isTradingEnabled = false;
        emit TradingOnUniSwapDisabled();
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function updateEarlySniper(address _sniper, bool _isSniper) external onlyOwner {
        earlySnipers[_sniper] = _isSniper;
    }

    function setLaunch(bool _launch) external onlyOwner {
        launch = _launch;
    }

    // ========== ERC20 Overrides ==========
    /// @dev overriden ERC20 transfer to tax on transfers to and from the uniswap pair, xperp is swapped to ETH and prepared for snapshot distribution
    function _transfer(address from, address to, uint256 amount) internal override {
        bool isTradingTransfer =
            (from == uniswapV2Pair || to == uniswapV2Pair) &&
            msg.sender != address(uniswapV2Router) &&
            from != address(this) && to != address(this) &&
            from != owner() && to != owner() &&
            from != revenueDistributionBot && to != revenueDistributionBot &&
            from != vestingContract && to != vestingContract;

        require(isTradingEnabled || !isTradingTransfer, "Trading is not enabled yet");

        // if trading is enabled, only allow transfers to and from the Uniswap pair
        uint256 currentEpoch = epochs.length - 1;
        epochs[currentEpoch].depositedInEpoch[to] += amount;
        epochs[currentEpoch].withdrawnInEpoch[from] += amount;

        uint256 amountAfterTax = amount;
        // calculate 5% swap tax
        // owner() is an exception to fund the liquidity pair and revenueDistributionBot as well to fund the revenue distribution to holders
        if (isTradingTransfer) {
            require(isTradingEnabled, "Trading is not enabled yet");
            // Buying tokens
            if (from == uniswapV2Pair && walletBalanceLimit > 0) {
                require(balanceOf(to) + amount <= walletBalanceLimit, "Holding amount after buying exceeds maximum allowed tokens.");
                if (launch) {
                    earlySnipers[to] = true;
                }
            }
            // Selling tokens
            if (to == uniswapV2Pair && sellLimit > 0) {
                require(amount <= sellLimit, "Selling amount exceeds maximum allowed tokens.");
            }
            // 5% total tax on xperp traded (1% to LP, 2% to revenue share, 2% to team and operating expenses).
            // we get
            uint256 tax = earlySnipers[from] ? heavyTax : totalTax;

            if (isTaxActive) {
                uint256 taxAmountXPERP = (amount * tax) / hundredPercent;
                super._transfer(from, address(this), taxAmountXPERP);
                amountAfterTax -= taxAmountXPERP;
                swapTaxCollectedTotalXPERP += taxAmountXPERP;

                // 1% to LP, counting and keeping on the contract in xperp
                uint256 lpShareXPERP = (amount * liquidityPairTax) / hundredPercent;
                liquidityPairTaxCollectedNotYetInjectedXPERP += lpShareXPERP;

                revShareAndTeamCurrentEpochXPERP += taxAmountXPERP - lpShareXPERP;
            }
        }
        super._transfer(from, to, amountAfterTax);
    }

    // ========== Revenue Sharing ==========

    // Function called by the revenue distribution bot to snapshot the state
    function snapshot() external payable botOrOwner nonReentrant {
        EpochInfo storage epoch = epochs[epochs.length - 1];
        epoch.epochTimestamp = block.timestamp;
        uint256 _circulatingSupply = circulatingSupply();
        uint256 xperpToSwap = revShareAndTeamCurrentEpochXPERP;

        require(xperpToSwap > 0 || msg.value > 0, "No tax collected yet and no ETH sent");
        require(balanceOf(address(this)) >= xperpToSwap, "Balance less than required");
        uint256 revAndTeamETH = xperpToSwap > 0 ? swapXPERPToETH(xperpToSwap) : 0;

        // 1.5% to team and operating expenses distributed immediately
        uint256 teamWalletTaxAmountETH = (revAndTeamETH * teamWalletTax) / (totalTax - liquidityPairTax);
        uint256 epochSwapRevenueETH = revAndTeamETH - teamWalletTaxAmountETH;
        teamWallet.transfer(teamWalletTaxAmountETH);
        // the rest in ETH is kept on the contract for revenue share distribution
        epoch.epochCirculatingSupply = _circulatingSupply;
        epoch.epochTradingRevenueETH = msg.value;
        epoch.epochRevenueFromSwapTaxCollectedXPERP = xperpToSwap;
        epoch.epochSwapRevenueETH = epochSwapRevenueETH;
        emit Snapshot(epochs.length, _circulatingSupply, epochSwapRevenueETH, msg.value);

        epochs.push();
        revShareAndTeamCurrentEpochXPERP = 0;
    }

    function claimAll() public nonReentrant {
        require(epochs.length > 1, "No epochs yet");
        uint256 holderShare = 0;
        for (uint256 i = lastClaimedEpochs[msg.sender] + 1; i < epochs.length - 1; i++)
            holderShare += getClaimable(i);
        require(holderShare > 0, "Nothing to claim");
        lastClaimedEpochs[msg.sender] = epochs.length - 2;
        require(address(this).balance >= holderShare, "Insufficient contract balance");
        payable(msg.sender).transfer(holderShare);
        emit Claimed(msg.sender, holderShare);
    }

    // ========== Liquidity Injection ==========
    /// @dev this function uses 1% LP tax token collected from swaps, swaps tokens for ETH and adds this to liquidity pair.
    /// @dev There's also an option to transfer additional tokens and ETH to the contract, which will be used for liquidity injection
    /// @dev This function can be called by anyone
    function injectLiquidity(uint256 _tokenAmount) external botOrOwner nonReentrant payable {
        require(balanceOf(address(this)) >= liquidityPairTaxCollectedNotYetInjectedXPERP, "Not enough tokens");
        if (_tokenAmount > 0)
            transfer(address(this), _tokenAmount);
        // Tokens eligible for injection
        uint256 amountTokenToUse = (liquidityPairTaxCollectedNotYetInjectedXPERP + _tokenAmount) / 2;
        //Swap TokenForEth
        uint256 ethAmount = swapXPERPToETH(amountTokenToUse);
        // Add liquidity using all the received tokens and remaining ETH
        // The owner is a receiver of the liquidity tokens
        (uint256 amountToken, uint256 amountETH, uint256 liquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            amountTokenToUse,
            0,
            ethAmount,
            owner(),
            block.timestamp
        );
        liquidityPairTaxCollectedNotYetInjectedXPERP = 0;
        emit LiquidityAdded(amountToken, amountETH, liquidity);
    }

    // ========== Internal Functions ==========

    function swapXPERPToETH(uint256 _amount) internal returns (uint256) {
        if (_amount == 0) return 0;
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        uint256 initialETHBalance = address(this).balance;
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _amount,
            0,
            path,
            address(this),
            block.timestamp
        );
        uint256 finalETHBalance = address(this).balance;
        uint256 ETHReceived = finalETHBalance - initialETHBalance;
        emit SwappedToEth(_amount, ETHReceived);
        return ETHReceived;
    }

    // ========== Rescue Functions ==========

    function rescueETH(uint256 _weiAmount) external {
        payable(owner()).transfer(_weiAmount);
    }

    function rescueERC20(address _tokenAdd, uint256 _amount) external {
        IERC20(_tokenAdd).transfer(owner(), _amount);
    }

    // ========== Fallbacks ==========


    receive() external payable {
        emit ReceivedEther(msg.sender, msg.value);
    }
    // ========== View functions ==========

    function getBalanceForEpochOf(address _user, uint256 _epoch) public view returns (uint256) {
        if (_epoch >= epochs.length) return 0;
        uint256 currentBalance = balanceOf(_user);
        if (epochs.length >= 1) {
            uint256 e = epochs.length - 1;
            while (true) {
                currentBalance += epochs[e].withdrawnInEpoch[_user];
                currentBalance -= epochs[e].depositedInEpoch[_user];
                if (e == _epoch + 1 || e == 0) {
                    break;
                }
                e--;
            }
        }
        return currentBalance;
    }

    function getBalanceForEpoch(uint256 _epoch) public view returns (uint256) {
        return getBalanceForEpochOf(msg.sender, _epoch);
    }

    function getClaimableOf(address _user, uint256 _epoch) public view returns (uint256) {
        if (epochs.length < 1 || epochs.length <= _epoch) return 0;
        EpochInfo storage epoch = epochs[_epoch];
        if (_epoch <= lastClaimedEpochs[_user] || epoch.epochCirculatingSupply == 0)
            return 0;
        else
            return (getBalanceForEpochOf(_user, _epoch) * (epoch.epochSwapRevenueETH + epoch.epochTradingRevenueETH)) / epoch.epochCirculatingSupply;
    }

    function getClaimable(uint256 _epoch) public view returns (uint256) {
        return getClaimableOf(msg.sender, _epoch);
    }

    function circulatingSupply() public view returns (uint256) {
        uint256 distributorBalance = owner() == revenueDistributionBot ? 0 : balanceOf(revenueDistributionBot);
        uint256 vestingBalance = address(0) == vestingContract ? 0 : balanceOf(vestingContract);
        return totalSupply() - balanceOf(address(this)) - balanceOf(uniswapV2Pair) - balanceOf(owner()) - distributorBalance - vestingBalance;
    }

    function getEpochsPassed() public view returns (uint256) {
        return epochs.length;
    }

    function getDepositedInEpoch(uint256 epochIndex, address userAddress) public view returns (uint256) {
        require(epochIndex < epochs.length, "Invalid epoch index");
        return epochs[epochIndex].depositedInEpoch[userAddress];
    }

    function getWithdrawnInEpoch(uint256 epochIndex, address userAddress) public view returns (uint256) {
        require(epochIndex < epochs.length, "Invalid epoch index");
        return epochs[epochIndex].withdrawnInEpoch[userAddress];
    }

}

File 2 of 16 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 3 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 4 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 16 : 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 6 of 16 : 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 7 of 16 : 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 8 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 9 of 16 : TokenTimelock.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/TokenTimelock.sol)

pragma solidity ^0.8.0;

import "./SafeERC20.sol";

/**
 * @dev A token holder contract that will allow a beneficiary to extract the
 * tokens after a given release time.
 *
 * Useful for simple vesting schedules like "advisors get all of their tokens
 * after 1 year".
 */
contract TokenTimelock {
    using SafeERC20 for IERC20;

    // ERC20 basic token contract being held
    IERC20 private immutable _token;

    // beneficiary of tokens after they are released
    address private immutable _beneficiary;

    // timestamp when token release is enabled
    uint256 private immutable _releaseTime;

    /**
     * @dev Deploys a timelock instance that is able to hold the token specified, and will only release it to
     * `beneficiary_` when {release} is invoked after `releaseTime_`. The release time is specified as a Unix timestamp
     * (in seconds).
     */
    constructor(IERC20 token_, address beneficiary_, uint256 releaseTime_) {
        require(releaseTime_ > block.timestamp, "TokenTimelock: release time is before current time");
        _token = token_;
        _beneficiary = beneficiary_;
        _releaseTime = releaseTime_;
    }

    /**
     * @dev Returns the token being held.
     */
    function token() public view virtual returns (IERC20) {
        return _token;
    }

    /**
     * @dev Returns the beneficiary that will receive the tokens.
     */
    function beneficiary() public view virtual returns (address) {
        return _beneficiary;
    }

    /**
     * @dev Returns the time when the tokens are released in seconds since Unix epoch (i.e. Unix timestamp).
     */
    function releaseTime() public view virtual returns (uint256) {
        return _releaseTime;
    }

    /**
     * @dev Transfers tokens held by the timelock to the beneficiary. Will only succeed if invoked after the release
     * time.
     */
    function release() public virtual {
        require(block.timestamp >= releaseTime(), "TokenTimelock: current time is before release time");

        uint256 amount = token().balanceOf(address(this));
        require(amount > 0, "TokenTimelock: no tokens to release");

        token().safeTransfer(beneficiary(), amount);
    }
}

File 10 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 11 of 16 : 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);
}

File 12 of 16 : 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 13 of 16 : 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 14 of 16 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 15 of 16 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 16 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "remappings": [
    "@prb/test/=lib/prb-test/src/",
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@uniswap/v2-core/=lib/v2-core/",
    "@uniswap/v2-periphery/=lib/v2-periphery/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "prb-test/=lib/prb-test/src/",
    "v2-core/=lib/v2-core/contracts/",
    "v2-periphery/=lib/v2-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 300
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "none",
    "appendCBOR": false
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_teamWallet","type":"address"}],"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":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceivedEther","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"circulatingSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"swapTaxCollected","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tradingRevenueCollected","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"SwappedToEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"SwappedToXperp","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"TaxActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"teamWalletTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityPairTax","type":"uint256"}],"name":"TaxChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingOnUniSwapDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingOnUniSwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DisableTradingOnUniSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"EnableTradingOnUniSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"earlySnipers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochs","outputs":[{"internalType":"uint256","name":"epochTimestamp","type":"uint256"},{"internalType":"uint256","name":"epochCirculatingSupply","type":"uint256"},{"internalType":"uint256","name":"epochRevenueFromSwapTaxCollectedXPERP","type":"uint256"},{"internalType":"uint256","name":"epochSwapRevenueETH","type":"uint256"},{"internalType":"uint256","name":"epochTradingRevenueETH","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_epoch","type":"uint256"}],"name":"getBalanceForEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_epoch","type":"uint256"}],"name":"getBalanceForEpochOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_epoch","type":"uint256"}],"name":"getClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_epoch","type":"uint256"}],"name":"getClaimableOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochIndex","type":"uint256"},{"internalType":"address","name":"userAddress","type":"address"}],"name":"getDepositedInEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEpochsPassed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochIndex","type":"uint256"},{"internalType":"address","name":"userAddress","type":"address"}],"name":"getWithdrawnInEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"heavyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hundredPercent","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":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"injectLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"isTaxActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimedEpochs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPairTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPairTaxCollectedNotYetInjectedXPERP","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":"oneMillion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAdd","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_weiAmount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revShareAndTeamCurrentEpochXPERP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revenueDistributionBot","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_launch","type":"bool"}],"name":"setLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_revenueDistributionBot","type":"address"}],"name":"setRevenueDistributionBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellLimit","type":"uint256"}],"name":"setSellLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"},{"internalType":"uint256","name":"_heavyTax","type":"uint256"},{"internalType":"uint256","name":"_teamWalletTax","type":"uint256"},{"internalType":"uint256","name":"_liquidityPairTax","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isTaxActive","type":"bool"}],"name":"setTaxActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vestingContract","type":"address"}],"name":"setVestingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletBalanceLimit","type":"uint256"}],"name":"setWalletBalanceLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"swapTaxCollectedTotalXPERP","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":"teamWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWalletTax","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":"totalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingRevenueDistributedTotalETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sniper","type":"address"},{"internalType":"bool","name":"_isSniper","type":"bool"}],"name":"updateEarlySniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_teamWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vestingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletBalanceLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405269021e19e0c9bab24000006007819055600855610fa060095561015e600a556032600b556096600c55600d8054600160ff1991821681179092556010805460ff60a01b191690556016805490911690911790553480156200006457600080fd5b50604051620034d5380380620034d58339810160408190526200008791620002c2565b604080518082018252600580825264078706572760dc1b6020808401829052845180860190955291845290830152906003620000c4838262000398565b506004620000d3828262000398565b505050620000f0620000ea620001a460201b60201c565b620001a8565b6005805460ff60a01b1916905560016006556001600160a01b0381166200015e5760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964207465616d2077616c6c65740000000000000000000000000060448201526064015b60405180910390fd5b601080546001600160a01b03199081166001600160a01b03841617909155600e8054339216821790556200019d9069d3c21bcecceda1000000620001fa565b506200048c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002525760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000155565b806002600082825462000266919062000464565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b600060208284031215620002d557600080fd5b81516001600160a01b0381168114620002ed57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200031f57607f821691505b6020821081036200034057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002bd57600081815260208120601f850160051c810160208610156200036f5750805b601f850160051c820191505b8181101562000390578281556001016200037b565b505050505050565b81516001600160401b03811115620003b457620003b4620002f4565b620003cc81620003c584546200030a565b8462000346565b602080601f831160018114620004045760008415620003eb5750858301515b600019600386901b1c1916600185901b17855562000390565b600085815260208120601f198616915b82811015620004355788860151825594840194600190910190840162000414565b5085821015620004545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200048657634e487b7160e01b600052601160045260246000fd5b92915050565b613039806200049c6000396000f3fe6080604052600436106103d25760003560e01c806370a08231116101fd5780639e252f0011610118578063c6b61e4c116100ab578063dd62ed3e1161007a578063dd62ed3e14610b2b578063e1c7392a14610b71578063e4ef93b814610b86578063f2fde38b14610ba6578063fe85b42b14610bc657600080fd5b8063c6b61e4c14610a9b578063cdbafa1014610ae3578063d1058e5914610b03578063d2ddfa7714610b1857600080fd5b8063aa65c546116100e7578063aa65c54614610a18578063b131646014610a38578063b92745b414610a65578063c222740d14610a7b57600080fd5b80639e252f0014610998578063a457c2d7146109b8578063a9059cbb146109d8578063a9bf2c09146109f857600080fd5b80638a9cb3611161019057806395d89b411161015f57806395d89b41146109415780639711715a1461095657806398a0dd091461095e5780639c7e4a661461097857600080fd5b80638a9cb361146108d85780638cd4426d146108ee5780638da5cb5b1461090e5780639358928b1461092c57600080fd5b80637e45b908116101cc5780637e45b908146108785780637ff976c7146108985780638456cb59146108ad5780638817f6f1146108c257600080fd5b806370a08231146107ed578063715018a61461082357806374991569146108385780637cb332bb1461085857600080fd5b8063313ce567116102ed5780634b34bc48116102805780635c2b10e51161024f5780635c2b10e51461076e5780635c975abb1461078e5780635e6f6045146107ad5780635e9177ae146107cd57600080fd5b80634b34bc48146107025780634d4973cc146107185780634f91e48c14610738578063599270441461074e57600080fd5b80633f4ba83a116102bc5780633f4ba83a14610694578063413e920d146106a957806349bd5a5e146106c757806349cb380f146106ec57600080fd5b8063313ce5671461062257806337c279dc1461063e57806339509351146106545780633c88c0a31461067457600080fd5b80631ce05f1d1161036557806323b872dd1161033457806323b872dd146105b65780632c43644a146105d65780632ffc1628146105ec5780633059f3561461060c57600080fd5b80631ce05f1d1461053057806320c09a491461055057806321ec3c9414610570578063233edfe7146105a057600080fd5b8063095ea7b3116103a1578063095ea7b31461049c5780631694505e146104bc57806318160ddd146104fc5780631c73bca41461051b57600080fd5b806301339c211461041357806303c051c314610442578063064a59d01461045957806306fdde031461047a57600080fd5b3661040e5760405134815233907fa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf19060200160405180910390a2005b600080fd5b34801561041f57600080fd5b5060165461042d9060ff1681565b60405190151581526020015b60405180910390f35b34801561044e57600080fd5b50610457610bdc565b005b34801561046557600080fd5b5060105461042d90600160a01b900460ff1681565b34801561048657600080fd5b5061048f610c1c565b6040516104399190612c7c565b3480156104a857600080fd5b5061042d6104b7366004612cdf565b610cae565b3480156104c857600080fd5b506104e4737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610439565b34801561050857600080fd5b506002545b604051908152602001610439565b34801561052757600080fd5b5060175461050d565b34801561053c57600080fd5b5061045761054b366004612d19565b610cc8565b34801561055c57600080fd5b5061045761056b366004612d52565b610cfb565b34801561057c57600080fd5b5061042d61058b366004612d84565b60156020526000908152604090205460ff1681565b3480156105ac57600080fd5b5061050d60135481565b3480156105c257600080fd5b5061042d6105d1366004612da1565b610dc8565b3480156105e257600080fd5b5061050d60115481565b3480156105f857600080fd5b50610457610607366004612de2565b610dec565b34801561061857600080fd5b5061050d600c5481565b34801561062e57600080fd5b5060405160128152602001610439565b34801561064a57600080fd5b5061050d60125481565b34801561066057600080fd5b5061042d61066f366004612cdf565b610e3b565b34801561068057600080fd5b5061050d61068f366004612cdf565b610e7a565b3480156106a057600080fd5b50610457610f8b565b3480156106b557600080fd5b5061050d69d3c21bcecceda100000081565b3480156106d357600080fd5b50600d546104e49061010090046001600160a01b031681565b3480156106f857600080fd5b5061050d60145481565b34801561070e57600080fd5b5061050d600b5481565b34801561072457600080fd5b50610457610733366004612d84565b610f9d565b34801561074457600080fd5b5061050d60085481565b34801561075a57600080fd5b506010546104e4906001600160a01b031681565b34801561077a57600080fd5b5061050d610789366004612cdf565b611013565b34801561079a57600080fd5b50600554600160a01b900460ff1661042d565b3480156107b957600080fd5b50600f546104e4906001600160a01b031681565b3480156107d957600080fd5b5061050d6107e8366004612dff565b6110df565b3480156107f957600080fd5b5061050d610808366004612d84565b6001600160a01b031660009081526020819052604090205490565b34801561082f57600080fd5b506104576110eb565b34801561084457600080fd5b50610457610853366004612d84565b6110fd565b34801561086457600080fd5b50610457610873366004612d84565b61117d565b34801561088457600080fd5b50600e546104e4906001600160a01b031681565b3480156108a457600080fd5b506104576111f3565b3480156108b957600080fd5b50610457611239565b3480156108ce57600080fd5b5061050d60075481565b3480156108e457600080fd5b5061050d61271081565b3480156108fa57600080fd5b50610457610909366004612cdf565b611249565b34801561091a57600080fd5b506005546001600160a01b03166104e4565b34801561093857600080fd5b5061050d6112e0565b34801561094d57600080fd5b5061048f6113ea565b6104576113f9565b34801561096a57600080fd5b50600d5461042d9060ff1681565b34801561098457600080fd5b5061050d610993366004612dff565b611684565b3480156109a457600080fd5b506104576109b3366004612dff565b611690565b3480156109c457600080fd5b5061042d6109d3366004612cdf565b6116ce565b3480156109e457600080fd5b5061042d6109f3366004612cdf565b611760565b348015610a0457600080fd5b50610457610a13366004612dff565b61176e565b348015610a2457600080fd5b5061050d610a33366004612e18565b6117d5565b348015610a4457600080fd5b5061050d610a53366004612d84565b60186020526000908152604090205481565b348015610a7157600080fd5b5061050d60095481565b348015610a8757600080fd5b50610457610a96366004612de2565b611863565b348015610aa757600080fd5b50610abb610ab6366004612dff565b61187e565b604080519586526020860194909452928401919091526060830152608082015260a001610439565b348015610aef57600080fd5b5061050d610afe366004612e18565b6118bf565b348015610b0f57600080fd5b5061045761194d565b610457610b26366004612dff565b611b15565b348015610b3757600080fd5b5061050d610b46366004612e3d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b7d57600080fd5b50610457611d31565b348015610b9257600080fd5b50610457610ba1366004612dff565b611efc565b348015610bb257600080fd5b50610457610bc1366004612d84565b611f63565b348015610bd257600080fd5b5061050d600a5481565b610be4611fd9565b6010805460ff60a01b191690556040517ff6c0da004e5c54863f4e9c53375139d02174b08a4b6d00edcc264f31ce57092d90600090a1565b606060038054610c2b90612e6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5790612e6b565b8015610ca45780601f10610c7957610100808354040283529160200191610ca4565b820191906000526020600020905b815481529060010190602001808311610c8757829003601f168201915b5050505050905090565b600033610cbc818585612033565b60019150505b92915050565b610cd0611fd9565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b610d03611fd9565b6101f48411158015610d16575061138883105b8015610d20575060015b8015610d2e57506101f48211155b610d6d5760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c840e8c2f60ab1b60448201526064015b60405180910390fd5b600a8490556009839055600c829055600b81905560408051858152602081018490529081018290527f3966186e620fdc6b558ff49961e7e5d73834a6362e6ca21fdb9c0046ce04a9b79060600160405180910390a150505050565b600033610dd6858285612157565b610de18585856121e9565b506001949350505050565b610df4611fd9565b600d805460ff19168215159081179091556040519081527f540a527e51aeab0dddfb9797856930b60ffa5937b1d134ccf4e271a797dbe70a9060200160405180910390a150565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610cbc9082908690610e75908790612ebb565b612033565b6017546000908210610e8e57506000610cc2565b6001600160a01b038316600090815260208190526040902054601754600111610f8457601754600090610ec390600190612ece565b90505b60178181548110610ed957610ed9612ee1565b600091825260208083206001600160a01b038916845260066007909302019190910190526040902054610f0c9083612ebb565b915060178181548110610f2157610f21612ee1565b600091825260208083206001600160a01b038916845260056007909302019190910190526040902054610f549083612ece565b9150610f61846001612ebb565b811480610f6c575080155b610f825780610f7a81612ef7565b915050610ec6565b505b9392505050565b610f93611fd9565b610f9b612717565b565b610fa5611fd9565b6001600160a01b038116610ff15760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420626f74206164647265737360681b6044820152606401610d64565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6017546000906001118061102957506017548210155b1561103657506000610cc2565b60006017838154811061104b5761104b612ee1565b9060005260206000209060070201905060186000856001600160a01b03166001600160a01b03168152602001908152602001600020548311158061109157506001810154155b156110a0576000915050610cc2565b8060010154816004015482600301546110b99190612ebb565b6110c38686610e7a565b6110cd9190612f0e565b6110d79190612f25565b915050610cc2565b6000610cc23383610e7a565b6110f3611fd9565b610f9b600061276c565b611105611fd9565b6001600160a01b03811661115b5760405162461bcd60e51b815260206004820181905260248201527f496e76616c69642076657374696e6720636f6e747261637420616464726573736044820152606401610d64565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b611185611fd9565b6001600160a01b0381166111d15760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081d19585b481dd85b1b195d606a1b6044820152606401610d64565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6111fb611fd9565b6010805460ff60a01b1916600160a01b1790556040517f2d4fd5bae8f53dd83c59664d82f3c9a17a251e2ac3b1af3d85d6bec37d098f9f90600090a1565b611241611fd9565b610f9b6127be565b816001600160a01b031663a9059cbb61126a6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156112b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112db9190612f47565b505050565b600e5460009081906001600160a01b03166113036005546001600160a01b031690565b6001600160a01b03161461133157600e546001600160a01b0316600090815260208190526040902054611334565b60005b600f549091506000906001600160a01b03161561136b57600f546001600160a01b031660009081526020819052604090205461136e565b60005b905080826113876108086005546001600160a01b031690565b600d5461010090046001600160a01b0316600090815260208190526040808220543083529120546002546113bb9190612ece565b6113c59190612ece565b6113cf9190612ece565b6113d99190612ece565b6113e39190612ece565b9250505090565b606060048054610c2b90612e6b565b600e546001600160a01b031633148061141c57506005546001600160a01b031633145b6114595760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401610d64565b611461612801565b601780546000919061147590600190612ece565b8154811061148557611485612ee1565b6000918252602082204260079092020190815591506114a26112e0565b601354909150801515806114b65750600034115b61150e5760405162461bcd60e51b8152602060048201526024808201527f4e6f2074617820636f6c6c65637465642079657420616e64206e6f20455448206044820152631cd95b9d60e21b6064820152608401610d64565b3060009081526020819052604090205481111561156d5760405162461bcd60e51b815260206004820152601a60248201527f42616c616e6365206c657373207468616e2072657175697265640000000000006044820152606401610d64565b600080821161157d576000611586565b6115868261285a565b90506000600b54600a5461159a9190612ece565b600c546115a79084612f0e565b6115b19190612f25565b905060006115bf8284612ece565b6010546040519192506001600160a01b03169083156108fc029084906000818181858888f193505050501580156115fa573d6000803e3d6000fd5b5060018601859055346004870181905560028701859055600387018290556017546040805191825260208201889052810183905260608101919091527f2b7e220b2babc392b7f28bbfb51e48a8ae7ab8d75e59253607e2483dd411edb79060800160405180910390a15050601780546001018155600090815260135550610f9b9250612a2b915050565b6000610cc23383611013565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156116ca573d6000803e3d6000fd5b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156117535760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d64565b610de18286868403612033565b600033610cbc8185856121e9565b611776611fd9565b69d3c21bcecceda10000008111156117d05760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642073656c6c2062616c616e6365206c696d69740000000000006044820152606401610d64565b600855565b601754600090831061181f5760405162461bcd60e51b8152602060048201526013602482015272092dcecc2d8d2c840cae0dec6d040d2dcc8caf606b1b6044820152606401610d64565b6017838154811061183257611832612ee1565b600091825260208083206001600160a01b038616845260066007909302019190910190526040902054905092915050565b61186b611fd9565b6016805460ff1916911515919091179055565b6017818154811061188e57600080fd5b6000918252602090912060079091020180546001820154600283015460038401546004909401549294509092909185565b60175460009083106119095760405162461bcd60e51b8152602060048201526013602482015272092dcecc2d8d2c840cae0dec6d040d2dcc8caf606b1b6044820152606401610d64565b6017838154811061191c5761191c612ee1565b600091825260208083206001600160a01b038616845260056007909302019190910190526040902054905092915050565b611955612801565b6017546001106119975760405162461bcd60e51b815260206004820152600d60248201526c139bc8195c1bd8da1cc81e595d609a1b6044820152606401610d64565b3360009081526018602052604081205481906119b4906001612ebb565b90505b6017546119c690600190612ece565b8110156119f4576119d681611684565b6119e09083612ebb565b9150806119ec81612f64565b9150506119b7565b5060008111611a385760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b6044820152606401610d64565b601754611a4790600290612ece565b3360009081526018602052604090205547811115611aa75760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e63650000006044820152606401610d64565b604051339082156108fc029083906000818181858888f19350505050158015611ad4573d6000803e3d6000fd5b5060405181815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a9060200160405180910390a250610f9b6001600655565b600e546001600160a01b0316331480611b3857506005546001600160a01b031633145b611b755760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401610d64565b611b7d612801565b601154306000908152602081905260409020541015611bd25760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820746f6b656e7360781b6044820152606401610d64565b8015611be457611be23082611760565b505b6000600282601154611bf69190612ebb565b611c009190612f25565b90506000611c0d8261285a565b905060008080737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d7198530888583611c446005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611cac573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cd19190612f7d565b6000601155604080518481526020810184905290810182905292955090935091507fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39060600160405180910390a15050505050611d2e6001600655565b50565b611d39611fd9565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611daf9190612fab565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e349190612fab565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea59190612fab565b600d60016101000a8154816001600160a01b0302191690836001600160a01b03160217905550611eec30737a250d5630b4cf539739df2c5dacb4c659f2488d600019612033565b6017805460008290526002019055565b611f04611fd9565b69d3c21bcecceda1000000811115611f5e5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c69642077616c6c65742062616c616e6365206c696d6974000000006044820152606401610d64565b600755565b611f6b611fd9565b6001600160a01b038116611fd05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d64565b611d2e8161276c565b6005546001600160a01b03163314610f9b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d64565b6001600160a01b0383166120955760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d64565b6001600160a01b0382166120f65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d64565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146121e357818110156121d65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610d64565b6121e38484848403612033565b50505050565b600d546000906001600160a01b0385811661010090920416148061221f5750600d546001600160a01b0384811661010090920416145b801561223f575033737a250d5630b4cf539739df2c5dacb4c659f2488d14155b801561225457506001600160a01b0384163014155b801561226957506001600160a01b0383163014155b801561228357506005546001600160a01b03858116911614155b801561229d57506005546001600160a01b03848116911614155b80156122b75750600e546001600160a01b03858116911614155b80156122d15750600e546001600160a01b03848116911614155b80156122eb5750600f546001600160a01b03858116911614155b80156123055750600f546001600160a01b03848116911614155b601054909150600160a01b900460ff168061231e575080155b61236a5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420656e61626c6564207965740000000000006044820152606401610d64565b60175460009061237c90600190612ece565b9050826017828154811061239257612392612ee1565b90600052602060002090600702016005016000866001600160a01b03166001600160a01b0316815260200190815260200160002060008282546123d59190612ebb565b9250508190555082601782815481106123f0576123f0612ee1565b90600052602060002090600702016006016000876001600160a01b03166001600160a01b0316815260200190815260200160002060008282546124339190612ebb565b90915550839050821561270457601054600160a01b900460ff166124995760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420656e61626c6564207965740000000000006044820152606401610d64565b600d546001600160a01b03878116610100909204161480156124bd57506000600754115b1561259257600754846124e5876001600160a01b031660009081526020819052604090205490565b6124ef9190612ebb565b11156125635760405162461bcd60e51b815260206004820152603b60248201527f486f6c64696e6720616d6f756e7420616674657220627579696e67206578636560448201527f656473206d6178696d756d20616c6c6f77656420746f6b656e732e00000000006064820152608401610d64565b60165460ff1615612592576001600160a01b0385166000908152601560205260409020805460ff191660011790555b600d546001600160a01b03868116610100909204161480156125b657506000600854115b15612624576008548411156126245760405162461bcd60e51b815260206004820152602e60248201527f53656c6c696e6720616d6f756e742065786365656473206d6178696d756d206160448201526d363637bbb2b2103a37b5b2b7399760911b6064820152608401610d64565b6001600160a01b03861660009081526015602052604081205460ff1661264c57600a54612650565b6009545b600d5490915060ff161561270257600061271061266d8388612f0e565b6126779190612f25565b9050612684883083612a32565b61268e8184612ece565b925080601260008282546126a29190612ebb565b9091555050600b54600090612710906126bb9089612f0e565b6126c59190612f25565b905080601160008282546126d99190612ebb565b909155506126e990508183612ece565b601360008282546126fa9190612ebb565b909155505050505b505b61270f868683612a32565b505050505050565b61271f612bd6565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127c6612c2f565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861274f3390565b6002600654036128535760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d64565b6002600655565b60008160000361286c57506000919050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128a1576128a1612ee1565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612913573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129379190612fab565b8160018151811061294a5761294a612ee1565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b81524790737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906129a4908790600090879030904290600401612fc8565b600060405180830381600087803b1580156129be57600080fd5b505af11580156129d2573d6000803e3d6000fd5b50479250600091506129e690508383612ece565b60408051888152602081018390529192507fa0948473da2b862876c9b294bc55a32b178b0e3c6c9da3c91555924ec8017ee9910160405180910390a195945050505050565b6001600655565b6001600160a01b038316612a965760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d64565b6001600160a01b038216612af85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d64565b6001600160a01b03831660009081526020819052604090205481811015612b705760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610d64565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36121e3565b600554600160a01b900460ff16610f9b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610d64565b600554600160a01b900460ff1615610f9b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d64565b600060208083528351808285015260005b81811015612ca957858101830151858201604001528201612c8d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611d2e57600080fd5b60008060408385031215612cf257600080fd5b8235612cfd81612cca565b946020939093013593505050565b8015158114611d2e57600080fd5b60008060408385031215612d2c57600080fd5b8235612d3781612cca565b91506020830135612d4781612d0b565b809150509250929050565b60008060008060808587031215612d6857600080fd5b5050823594602084013594506040840135936060013592509050565b600060208284031215612d9657600080fd5b8135610f8481612cca565b600080600060608486031215612db657600080fd5b8335612dc181612cca565b92506020840135612dd181612cca565b929592945050506040919091013590565b600060208284031215612df457600080fd5b8135610f8481612d0b565b600060208284031215612e1157600080fd5b5035919050565b60008060408385031215612e2b57600080fd5b823591506020830135612d4781612cca565b60008060408385031215612e5057600080fd5b8235612e5b81612cca565b91506020830135612d4781612cca565b600181811c90821680612e7f57607f821691505b602082108103612e9f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610cc257610cc2612ea5565b81810381811115610cc257610cc2612ea5565b634e487b7160e01b600052603260045260246000fd5b600081612f0657612f06612ea5565b506000190190565b8082028115828204841417610cc257610cc2612ea5565b600082612f4257634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612f5957600080fd5b8151610f8481612d0b565b600060018201612f7657612f76612ea5565b5060010190565b600080600060608486031215612f9257600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612fbd57600080fd5b8151610f8481612cca565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130185784516001600160a01b031683529383019391830191600101612ff3565b50506001600160a01b03969096166060850152505050608001529392505050560000000000000000000000001746cf93f3368b4326423a82734a0ecc65d57bc5

Deployed Bytecode

0x6080604052600436106103d25760003560e01c806370a08231116101fd5780639e252f0011610118578063c6b61e4c116100ab578063dd62ed3e1161007a578063dd62ed3e14610b2b578063e1c7392a14610b71578063e4ef93b814610b86578063f2fde38b14610ba6578063fe85b42b14610bc657600080fd5b8063c6b61e4c14610a9b578063cdbafa1014610ae3578063d1058e5914610b03578063d2ddfa7714610b1857600080fd5b8063aa65c546116100e7578063aa65c54614610a18578063b131646014610a38578063b92745b414610a65578063c222740d14610a7b57600080fd5b80639e252f0014610998578063a457c2d7146109b8578063a9059cbb146109d8578063a9bf2c09146109f857600080fd5b80638a9cb3611161019057806395d89b411161015f57806395d89b41146109415780639711715a1461095657806398a0dd091461095e5780639c7e4a661461097857600080fd5b80638a9cb361146108d85780638cd4426d146108ee5780638da5cb5b1461090e5780639358928b1461092c57600080fd5b80637e45b908116101cc5780637e45b908146108785780637ff976c7146108985780638456cb59146108ad5780638817f6f1146108c257600080fd5b806370a08231146107ed578063715018a61461082357806374991569146108385780637cb332bb1461085857600080fd5b8063313ce567116102ed5780634b34bc48116102805780635c2b10e51161024f5780635c2b10e51461076e5780635c975abb1461078e5780635e6f6045146107ad5780635e9177ae146107cd57600080fd5b80634b34bc48146107025780634d4973cc146107185780634f91e48c14610738578063599270441461074e57600080fd5b80633f4ba83a116102bc5780633f4ba83a14610694578063413e920d146106a957806349bd5a5e146106c757806349cb380f146106ec57600080fd5b8063313ce5671461062257806337c279dc1461063e57806339509351146106545780633c88c0a31461067457600080fd5b80631ce05f1d1161036557806323b872dd1161033457806323b872dd146105b65780632c43644a146105d65780632ffc1628146105ec5780633059f3561461060c57600080fd5b80631ce05f1d1461053057806320c09a491461055057806321ec3c9414610570578063233edfe7146105a057600080fd5b8063095ea7b3116103a1578063095ea7b31461049c5780631694505e146104bc57806318160ddd146104fc5780631c73bca41461051b57600080fd5b806301339c211461041357806303c051c314610442578063064a59d01461045957806306fdde031461047a57600080fd5b3661040e5760405134815233907fa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf19060200160405180910390a2005b600080fd5b34801561041f57600080fd5b5060165461042d9060ff1681565b60405190151581526020015b60405180910390f35b34801561044e57600080fd5b50610457610bdc565b005b34801561046557600080fd5b5060105461042d90600160a01b900460ff1681565b34801561048657600080fd5b5061048f610c1c565b6040516104399190612c7c565b3480156104a857600080fd5b5061042d6104b7366004612cdf565b610cae565b3480156104c857600080fd5b506104e4737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610439565b34801561050857600080fd5b506002545b604051908152602001610439565b34801561052757600080fd5b5060175461050d565b34801561053c57600080fd5b5061045761054b366004612d19565b610cc8565b34801561055c57600080fd5b5061045761056b366004612d52565b610cfb565b34801561057c57600080fd5b5061042d61058b366004612d84565b60156020526000908152604090205460ff1681565b3480156105ac57600080fd5b5061050d60135481565b3480156105c257600080fd5b5061042d6105d1366004612da1565b610dc8565b3480156105e257600080fd5b5061050d60115481565b3480156105f857600080fd5b50610457610607366004612de2565b610dec565b34801561061857600080fd5b5061050d600c5481565b34801561062e57600080fd5b5060405160128152602001610439565b34801561064a57600080fd5b5061050d60125481565b34801561066057600080fd5b5061042d61066f366004612cdf565b610e3b565b34801561068057600080fd5b5061050d61068f366004612cdf565b610e7a565b3480156106a057600080fd5b50610457610f8b565b3480156106b557600080fd5b5061050d69d3c21bcecceda100000081565b3480156106d357600080fd5b50600d546104e49061010090046001600160a01b031681565b3480156106f857600080fd5b5061050d60145481565b34801561070e57600080fd5b5061050d600b5481565b34801561072457600080fd5b50610457610733366004612d84565b610f9d565b34801561074457600080fd5b5061050d60085481565b34801561075a57600080fd5b506010546104e4906001600160a01b031681565b34801561077a57600080fd5b5061050d610789366004612cdf565b611013565b34801561079a57600080fd5b50600554600160a01b900460ff1661042d565b3480156107b957600080fd5b50600f546104e4906001600160a01b031681565b3480156107d957600080fd5b5061050d6107e8366004612dff565b6110df565b3480156107f957600080fd5b5061050d610808366004612d84565b6001600160a01b031660009081526020819052604090205490565b34801561082f57600080fd5b506104576110eb565b34801561084457600080fd5b50610457610853366004612d84565b6110fd565b34801561086457600080fd5b50610457610873366004612d84565b61117d565b34801561088457600080fd5b50600e546104e4906001600160a01b031681565b3480156108a457600080fd5b506104576111f3565b3480156108b957600080fd5b50610457611239565b3480156108ce57600080fd5b5061050d60075481565b3480156108e457600080fd5b5061050d61271081565b3480156108fa57600080fd5b50610457610909366004612cdf565b611249565b34801561091a57600080fd5b506005546001600160a01b03166104e4565b34801561093857600080fd5b5061050d6112e0565b34801561094d57600080fd5b5061048f6113ea565b6104576113f9565b34801561096a57600080fd5b50600d5461042d9060ff1681565b34801561098457600080fd5b5061050d610993366004612dff565b611684565b3480156109a457600080fd5b506104576109b3366004612dff565b611690565b3480156109c457600080fd5b5061042d6109d3366004612cdf565b6116ce565b3480156109e457600080fd5b5061042d6109f3366004612cdf565b611760565b348015610a0457600080fd5b50610457610a13366004612dff565b61176e565b348015610a2457600080fd5b5061050d610a33366004612e18565b6117d5565b348015610a4457600080fd5b5061050d610a53366004612d84565b60186020526000908152604090205481565b348015610a7157600080fd5b5061050d60095481565b348015610a8757600080fd5b50610457610a96366004612de2565b611863565b348015610aa757600080fd5b50610abb610ab6366004612dff565b61187e565b604080519586526020860194909452928401919091526060830152608082015260a001610439565b348015610aef57600080fd5b5061050d610afe366004612e18565b6118bf565b348015610b0f57600080fd5b5061045761194d565b610457610b26366004612dff565b611b15565b348015610b3757600080fd5b5061050d610b46366004612e3d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b7d57600080fd5b50610457611d31565b348015610b9257600080fd5b50610457610ba1366004612dff565b611efc565b348015610bb257600080fd5b50610457610bc1366004612d84565b611f63565b348015610bd257600080fd5b5061050d600a5481565b610be4611fd9565b6010805460ff60a01b191690556040517ff6c0da004e5c54863f4e9c53375139d02174b08a4b6d00edcc264f31ce57092d90600090a1565b606060038054610c2b90612e6b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5790612e6b565b8015610ca45780601f10610c7957610100808354040283529160200191610ca4565b820191906000526020600020905b815481529060010190602001808311610c8757829003601f168201915b5050505050905090565b600033610cbc818585612033565b60019150505b92915050565b610cd0611fd9565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b610d03611fd9565b6101f48411158015610d16575061138883105b8015610d20575060015b8015610d2e57506101f48211155b610d6d5760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c840e8c2f60ab1b60448201526064015b60405180910390fd5b600a8490556009839055600c829055600b81905560408051858152602081018490529081018290527f3966186e620fdc6b558ff49961e7e5d73834a6362e6ca21fdb9c0046ce04a9b79060600160405180910390a150505050565b600033610dd6858285612157565b610de18585856121e9565b506001949350505050565b610df4611fd9565b600d805460ff19168215159081179091556040519081527f540a527e51aeab0dddfb9797856930b60ffa5937b1d134ccf4e271a797dbe70a9060200160405180910390a150565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610cbc9082908690610e75908790612ebb565b612033565b6017546000908210610e8e57506000610cc2565b6001600160a01b038316600090815260208190526040902054601754600111610f8457601754600090610ec390600190612ece565b90505b60178181548110610ed957610ed9612ee1565b600091825260208083206001600160a01b038916845260066007909302019190910190526040902054610f0c9083612ebb565b915060178181548110610f2157610f21612ee1565b600091825260208083206001600160a01b038916845260056007909302019190910190526040902054610f549083612ece565b9150610f61846001612ebb565b811480610f6c575080155b610f825780610f7a81612ef7565b915050610ec6565b505b9392505050565b610f93611fd9565b610f9b612717565b565b610fa5611fd9565b6001600160a01b038116610ff15760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420626f74206164647265737360681b6044820152606401610d64565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6017546000906001118061102957506017548210155b1561103657506000610cc2565b60006017838154811061104b5761104b612ee1565b9060005260206000209060070201905060186000856001600160a01b03166001600160a01b03168152602001908152602001600020548311158061109157506001810154155b156110a0576000915050610cc2565b8060010154816004015482600301546110b99190612ebb565b6110c38686610e7a565b6110cd9190612f0e565b6110d79190612f25565b915050610cc2565b6000610cc23383610e7a565b6110f3611fd9565b610f9b600061276c565b611105611fd9565b6001600160a01b03811661115b5760405162461bcd60e51b815260206004820181905260248201527f496e76616c69642076657374696e6720636f6e747261637420616464726573736044820152606401610d64565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b611185611fd9565b6001600160a01b0381166111d15760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081d19585b481dd85b1b195d606a1b6044820152606401610d64565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6111fb611fd9565b6010805460ff60a01b1916600160a01b1790556040517f2d4fd5bae8f53dd83c59664d82f3c9a17a251e2ac3b1af3d85d6bec37d098f9f90600090a1565b611241611fd9565b610f9b6127be565b816001600160a01b031663a9059cbb61126a6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156112b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112db9190612f47565b505050565b600e5460009081906001600160a01b03166113036005546001600160a01b031690565b6001600160a01b03161461133157600e546001600160a01b0316600090815260208190526040902054611334565b60005b600f549091506000906001600160a01b03161561136b57600f546001600160a01b031660009081526020819052604090205461136e565b60005b905080826113876108086005546001600160a01b031690565b600d5461010090046001600160a01b0316600090815260208190526040808220543083529120546002546113bb9190612ece565b6113c59190612ece565b6113cf9190612ece565b6113d99190612ece565b6113e39190612ece565b9250505090565b606060048054610c2b90612e6b565b600e546001600160a01b031633148061141c57506005546001600160a01b031633145b6114595760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401610d64565b611461612801565b601780546000919061147590600190612ece565b8154811061148557611485612ee1565b6000918252602082204260079092020190815591506114a26112e0565b601354909150801515806114b65750600034115b61150e5760405162461bcd60e51b8152602060048201526024808201527f4e6f2074617820636f6c6c65637465642079657420616e64206e6f20455448206044820152631cd95b9d60e21b6064820152608401610d64565b3060009081526020819052604090205481111561156d5760405162461bcd60e51b815260206004820152601a60248201527f42616c616e6365206c657373207468616e2072657175697265640000000000006044820152606401610d64565b600080821161157d576000611586565b6115868261285a565b90506000600b54600a5461159a9190612ece565b600c546115a79084612f0e565b6115b19190612f25565b905060006115bf8284612ece565b6010546040519192506001600160a01b03169083156108fc029084906000818181858888f193505050501580156115fa573d6000803e3d6000fd5b5060018601859055346004870181905560028701859055600387018290556017546040805191825260208201889052810183905260608101919091527f2b7e220b2babc392b7f28bbfb51e48a8ae7ab8d75e59253607e2483dd411edb79060800160405180910390a15050601780546001018155600090815260135550610f9b9250612a2b915050565b6000610cc23383611013565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156116ca573d6000803e3d6000fd5b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156117535760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d64565b610de18286868403612033565b600033610cbc8185856121e9565b611776611fd9565b69d3c21bcecceda10000008111156117d05760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642073656c6c2062616c616e6365206c696d69740000000000006044820152606401610d64565b600855565b601754600090831061181f5760405162461bcd60e51b8152602060048201526013602482015272092dcecc2d8d2c840cae0dec6d040d2dcc8caf606b1b6044820152606401610d64565b6017838154811061183257611832612ee1565b600091825260208083206001600160a01b038616845260066007909302019190910190526040902054905092915050565b61186b611fd9565b6016805460ff1916911515919091179055565b6017818154811061188e57600080fd5b6000918252602090912060079091020180546001820154600283015460038401546004909401549294509092909185565b60175460009083106119095760405162461bcd60e51b8152602060048201526013602482015272092dcecc2d8d2c840cae0dec6d040d2dcc8caf606b1b6044820152606401610d64565b6017838154811061191c5761191c612ee1565b600091825260208083206001600160a01b038616845260056007909302019190910190526040902054905092915050565b611955612801565b6017546001106119975760405162461bcd60e51b815260206004820152600d60248201526c139bc8195c1bd8da1cc81e595d609a1b6044820152606401610d64565b3360009081526018602052604081205481906119b4906001612ebb565b90505b6017546119c690600190612ece565b8110156119f4576119d681611684565b6119e09083612ebb565b9150806119ec81612f64565b9150506119b7565b5060008111611a385760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b6044820152606401610d64565b601754611a4790600290612ece565b3360009081526018602052604090205547811115611aa75760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e63650000006044820152606401610d64565b604051339082156108fc029083906000818181858888f19350505050158015611ad4573d6000803e3d6000fd5b5060405181815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a9060200160405180910390a250610f9b6001600655565b600e546001600160a01b0316331480611b3857506005546001600160a01b031633145b611b755760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b6044820152606401610d64565b611b7d612801565b601154306000908152602081905260409020541015611bd25760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820746f6b656e7360781b6044820152606401610d64565b8015611be457611be23082611760565b505b6000600282601154611bf69190612ebb565b611c009190612f25565b90506000611c0d8261285a565b905060008080737a250d5630b4cf539739df2c5dacb4c659f2488d63f305d7198530888583611c446005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611cac573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cd19190612f7d565b6000601155604080518481526020810184905290810182905292955090935091507fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39060600160405180910390a15050505050611d2e6001600655565b50565b611d39611fd9565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611daf9190612fab565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e349190612fab565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea59190612fab565b600d60016101000a8154816001600160a01b0302191690836001600160a01b03160217905550611eec30737a250d5630b4cf539739df2c5dacb4c659f2488d600019612033565b6017805460008290526002019055565b611f04611fd9565b69d3c21bcecceda1000000811115611f5e5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c69642077616c6c65742062616c616e6365206c696d6974000000006044820152606401610d64565b600755565b611f6b611fd9565b6001600160a01b038116611fd05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d64565b611d2e8161276c565b6005546001600160a01b03163314610f9b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d64565b6001600160a01b0383166120955760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d64565b6001600160a01b0382166120f65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d64565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146121e357818110156121d65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610d64565b6121e38484848403612033565b50505050565b600d546000906001600160a01b0385811661010090920416148061221f5750600d546001600160a01b0384811661010090920416145b801561223f575033737a250d5630b4cf539739df2c5dacb4c659f2488d14155b801561225457506001600160a01b0384163014155b801561226957506001600160a01b0383163014155b801561228357506005546001600160a01b03858116911614155b801561229d57506005546001600160a01b03848116911614155b80156122b75750600e546001600160a01b03858116911614155b80156122d15750600e546001600160a01b03848116911614155b80156122eb5750600f546001600160a01b03858116911614155b80156123055750600f546001600160a01b03848116911614155b601054909150600160a01b900460ff168061231e575080155b61236a5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420656e61626c6564207965740000000000006044820152606401610d64565b60175460009061237c90600190612ece565b9050826017828154811061239257612392612ee1565b90600052602060002090600702016005016000866001600160a01b03166001600160a01b0316815260200190815260200160002060008282546123d59190612ebb565b9250508190555082601782815481106123f0576123f0612ee1565b90600052602060002090600702016006016000876001600160a01b03166001600160a01b0316815260200190815260200160002060008282546124339190612ebb565b90915550839050821561270457601054600160a01b900460ff166124995760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420656e61626c6564207965740000000000006044820152606401610d64565b600d546001600160a01b03878116610100909204161480156124bd57506000600754115b1561259257600754846124e5876001600160a01b031660009081526020819052604090205490565b6124ef9190612ebb565b11156125635760405162461bcd60e51b815260206004820152603b60248201527f486f6c64696e6720616d6f756e7420616674657220627579696e67206578636560448201527f656473206d6178696d756d20616c6c6f77656420746f6b656e732e00000000006064820152608401610d64565b60165460ff1615612592576001600160a01b0385166000908152601560205260409020805460ff191660011790555b600d546001600160a01b03868116610100909204161480156125b657506000600854115b15612624576008548411156126245760405162461bcd60e51b815260206004820152602e60248201527f53656c6c696e6720616d6f756e742065786365656473206d6178696d756d206160448201526d363637bbb2b2103a37b5b2b7399760911b6064820152608401610d64565b6001600160a01b03861660009081526015602052604081205460ff1661264c57600a54612650565b6009545b600d5490915060ff161561270257600061271061266d8388612f0e565b6126779190612f25565b9050612684883083612a32565b61268e8184612ece565b925080601260008282546126a29190612ebb565b9091555050600b54600090612710906126bb9089612f0e565b6126c59190612f25565b905080601160008282546126d99190612ebb565b909155506126e990508183612ece565b601360008282546126fa9190612ebb565b909155505050505b505b61270f868683612a32565b505050505050565b61271f612bd6565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127c6612c2f565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861274f3390565b6002600654036128535760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d64565b6002600655565b60008160000361286c57506000919050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106128a1576128a1612ee1565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612913573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129379190612fab565b8160018151811061294a5761294a612ee1565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b81524790737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906129a4908790600090879030904290600401612fc8565b600060405180830381600087803b1580156129be57600080fd5b505af11580156129d2573d6000803e3d6000fd5b50479250600091506129e690508383612ece565b60408051888152602081018390529192507fa0948473da2b862876c9b294bc55a32b178b0e3c6c9da3c91555924ec8017ee9910160405180910390a195945050505050565b6001600655565b6001600160a01b038316612a965760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d64565b6001600160a01b038216612af85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d64565b6001600160a01b03831660009081526020819052604090205481811015612b705760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610d64565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36121e3565b600554600160a01b900460ff16610f9b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610d64565b600554600160a01b900460ff1615610f9b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d64565b600060208083528351808285015260005b81811015612ca957858101830151858201604001528201612c8d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611d2e57600080fd5b60008060408385031215612cf257600080fd5b8235612cfd81612cca565b946020939093013593505050565b8015158114611d2e57600080fd5b60008060408385031215612d2c57600080fd5b8235612d3781612cca565b91506020830135612d4781612d0b565b809150509250929050565b60008060008060808587031215612d6857600080fd5b5050823594602084013594506040840135936060013592509050565b600060208284031215612d9657600080fd5b8135610f8481612cca565b600080600060608486031215612db657600080fd5b8335612dc181612cca565b92506020840135612dd181612cca565b929592945050506040919091013590565b600060208284031215612df457600080fd5b8135610f8481612d0b565b600060208284031215612e1157600080fd5b5035919050565b60008060408385031215612e2b57600080fd5b823591506020830135612d4781612cca565b60008060408385031215612e5057600080fd5b8235612e5b81612cca565b91506020830135612d4781612cca565b600181811c90821680612e7f57607f821691505b602082108103612e9f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610cc257610cc2612ea5565b81810381811115610cc257610cc2612ea5565b634e487b7160e01b600052603260045260246000fd5b600081612f0657612f06612ea5565b506000190190565b8082028115828204841417610cc257610cc2612ea5565b600082612f4257634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612f5957600080fd5b8151610f8481612d0b565b600060018201612f7657612f76612ea5565b5060010190565b600080600060608486031215612f9257600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215612fbd57600080fd5b8151610f8481612cca565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156130185784516001600160a01b031683529383019391830191600101612ff3565b50506001600160a01b0396909616606085015250505060800152939250505056

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000001746cf93f3368b4326423a82734a0ecc65d57bc5

-----Decoded View---------------
Arg [0] : _teamWallet (address): 0x1746CF93F3368B4326423a82734A0ECC65D57bC5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001746cf93f3368b4326423a82734a0ecc65d57bc5


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.