ETH Price: $2,014.86 (+2.61%)
 

Overview

Max Total Supply

100,000,000 CRAFT

Holders

2,044

Transfers

-
62 ( -34.04%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
TaxToken

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IUniswapV2Factory.sol";
import "./interfaces/IUniswapV2Router02.sol";

/**
 * @title TaxToken
 * @notice ERC20 token with buy/sell tax, automatic fee liquidation, and distribution.
 */
contract TaxToken is ERC20, Ownable {
    using SafeERC20 for IERC20;

    /* ========== CONFIGURATION ========== */

    /// Token name and symbol
    string public constant NAME = "Craft Engine";
    string public constant SYMBOL = "CRAFT";

    /// @notice Initial token distribution amounts
    uint256 public constant AIRDROP_AMOUNT = 46_000_000 ether;
    uint256 public constant LIQUIDITY_AMOUNT = 9_000_000 ether;
    uint256 public constant HOLDER_BENEFITS_AMOUNT = 6_000_000 ether;
    uint256 public constant TEAM_MINT_AMOUNT = 20_000_000 ether;
    uint256 public constant MARKETING_MINT_AMOUNT = 14_000_000 ether;
    uint256 public constant COMP_AMOUNT = 5_000_000 ether;

    uint256 public swapTokensAtAmount = 50_000 ether; // tokens at which the contract will swap (0.05%)
    uint256 public swapCapMultiplier = 10; // maximum tokens to be swapped at once (swapTokensAtAmount * swapCapMultiplier) (0.5% of supply, but only 50% of that get swapped at a time)

    /// @notice Slippage protection for automatic swaps (in basis points, 1000 = 100%)
    uint256 public autoSwapSlippage = 1000; // 100% default (effectively no slippage protection)

    /// @notice Transaction and wallet limits
    uint256 public maxTransactionAmount = 50_000 ether; // 0.05% of total supply initially
    uint256 public maxWallet = 100_000_000 ether; // not active

    /// @notice WETH and router address for Uniswap on Base
    address public constant WETH = 0x4200000000000000000000000000000000000006;
    address public constant routerAddress = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24;

    /// @notice Wallets
    address public marketingWallet = 0x966b484600F3E8f936Ea24b41AA186551AC2B8Af;
    address public teamWallet = 0xC0E97446186B7820C7fDE4c9B5E763825Ad99404;
    address public treasury = 0xaC7a6a5aa1a0A5Ae6EB5eA4Eb9b96EF18F9Ab68F; // multisig wallet
    address public airdrop = 0xd41AE16603654FD8bf4e498ACfC6185f764b00fe; // airdrop wallet

    /// @notice Fee distribution (percentages, must sum to 100)
    uint8 public constant marketingFee = 50;
    uint8 public constant teamFee = 50;

    /// @notice Buy and sell fees (5% each, fixed)
    uint8 public constant buyTotalFees = 50; // 5%
    uint8 public constant sellTotalFees = 50; // 5%

    /* =================================== */

    /// @notice Operator address for day-to-day management
    address public operator;

    /// @notice Swapping and trading state
    bool private swapping;
    bool private launched;
    bool public feesEnabled = true;
    bool public limitsInEffect = false;

    /// @notice Exclusion mappings
    mapping(address => bool) private _isExcludedFromLimits;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;

    /// @notice Uniswap router and pair
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;

    /// @notice Events
    event SwapAndLiquify(uint256 tokensSwapped, uint256 teamETH, uint256 marketingETH);
    event OperatorUpdated(address indexed previousOperator, address indexed newOperator);

    /// @notice Modifier for functions callable by owner or operator
    modifier onlyOwnerOrOperator() {
        require(msg.sender == owner() || msg.sender == operator, "Not owner or operator");
        _;
    }

    /**
     * @notice Deploys the TaxToken contract, sets up Uniswap, and mints initial supply to wallets.
     */
    constructor() ERC20(NAME, SYMBOL) {
        uniswapV2Router = IUniswapV2Router02(routerAddress);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), WETH);
        automatedMarketMakerPairs[uniswapV2Pair] = true;

        // Set initial operator
        operator = owner();

        // owner and operator are excluded from fees and limits
        setExcludedFromFees(owner(), true);
        setExcludedFromLimits(owner(), true);
        setExcludedFromFees(operator, true);
        setExcludedFromLimits(operator, true);

        // Exclude special addresses from fees and limits
        setExcludedFromFees(address(0xdead), true);
        setExcludedFromLimits(address(0xdead), true);
        setExcludedFromFees(address(0), true);
        setExcludedFromLimits(address(0), true);
        setExcludedFromLimits(address(uniswapV2Pair), true);
        setExcludedFromLimits(address(uniswapV2Router), true);

        _mint(airdrop, AIRDROP_AMOUNT + HOLDER_BENEFITS_AMOUNT);

        // Mint initial supply to wallets
        setExcludedFromFees(marketingWallet, true);
        setExcludedFromLimits(marketingWallet, true);
        _mint(treasury, MARKETING_MINT_AMOUNT + COMP_AMOUNT);

        setExcludedFromFees(teamWallet, true);
        setExcludedFromLimits(teamWallet, true);
        _mint(teamWallet, TEAM_MINT_AMOUNT);

        // LP
        setExcludedFromFees(address(this), true);
        setExcludedFromLimits(address(this), true);
        _mint(address(this), LIQUIDITY_AMOUNT);
    }

    /// @notice Accept ETH
    receive() external payable { }

    /**
     * @notice Internal transfer with fee logic and swap trigger.
     * @param from Sender address
     * @param to Recipient address
     * @param amount Amount to transfer
     */
    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        if (!launched && (from != owner() && from != address(this) && to != owner())) {
            revert("Trading not enabled");
        }

        // Cache AMM pair lookups
        bool isToAMM = automatedMarketMakerPairs[to];
        bool isFromAMM = automatedMarketMakerPairs[from];

        if (limitsInEffect && !swapping) {
            // Buy transaction limits
            if (isFromAMM && !_isExcludedFromLimits[to]) {
                require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTx");
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
            // Sell transaction limits
            else if (isToAMM && !_isExcludedFromLimits[from]) {
                require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTx");
            }
            // Regular transfer wallet limits
            else if (!_isExcludedFromLimits[to]) {
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
        }

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

        // Only trigger swap on sells (transfers to the AMM pair)
        bool isSell = isToAMM && !swapping;

        if (canSwap && isSell && !_isExcludedFromFees[from]) {
            swapping = true;
            _swapBack();
            swapping = false;
        }

        bool takeFee = !swapping && feesEnabled;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        if (takeFee) {
            if (isToAMM && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 1000;
            } else if (isFromAMM && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 1000;
            }

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

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

    /**
     * @notice Update operator address (only owner).
     * @param newOperator The new operator address
     */
    function setOperator(address newOperator) external onlyOwnerOrOperator {
        require(newOperator != address(0), "Invalid operator address");
        address previousOperator = operator;
        operator = newOperator;
        emit OperatorUpdated(previousOperator, newOperator);
    }

    /**
     * @notice Enable or disable fees.
     * @param enabled True to enable, false to disable
     */
    function setFeesEnabled(bool enabled) external onlyOwnerOrOperator {
        feesEnabled = enabled;
    }

    /**
     * @notice Set the automatic swap slippage tolerance.
     * @param slippagePercent Slippage in basis points (10 = 1%, 1000 = 100% = accept any price)
     */
    function setAutoSwapSlippage(uint256 slippagePercent) external onlyOwnerOrOperator {
        require(slippagePercent >= 10 && slippagePercent <= 1000, "Slippage must be between 1% and 100%");
        autoSwapSlippage = slippagePercent;
    }

    /**
     * @notice Exclude or include an account from fees.
     * @param account The address to update
     * @param excluded True to exclude, false to include
     */
    function setExcludedFromFees(address account, bool excluded) public onlyOwnerOrOperator {
        _isExcludedFromFees[account] = excluded;
    }

    /**
     * @notice Set exclusion from limits.
     * @param account The address to update
     * @param excluded True to exclude, false to include
     */
    function setExcludedFromLimits(address account, bool excluded) public onlyOwnerOrOperator {
        _isExcludedFromLimits[account] = excluded;
    }

    /**
     * @notice Set the maximum transaction amount.
     * @param newMaxTx The new max transaction amount
     */
    function setMaxTransactionAmount(uint256 newMaxTx) external onlyOwnerOrOperator {
        require(newMaxTx >= (totalSupply() * 1) / 10000, "Cannot set max transaction lower than 0.01%");
        maxTransactionAmount = newMaxTx;
    }

    /**
     * @notice Set the Marketing & Team Wallets.
     * @param newMarketingWallet Set Marketing Wallet
     * @param newTeamWallet Set TEam wallet
     */
    function setWallets(address newMarketingWallet, address newTeamWallet) external onlyOwnerOrOperator {
        require(newMarketingWallet != address(0) && newTeamWallet != address(0), "The Wallets can not be null address");

        marketingWallet = newMarketingWallet;
        teamWallet = newTeamWallet;
    }

    /**
     * @notice Set the maximum wallet amount.
     * @param newMaxWallet The new max wallet amount
     */
    function setMaxWalletAmount(uint256 newMaxWallet) external onlyOwnerOrOperator {
        require(newMaxWallet >= (totalSupply() * 1) / 1000, "Cannot set max wallet lower than 0.1%");
        maxWallet = newMaxWallet;
    }

    /**
     * @notice Remove all limits in one go.
     */
    function removeLimits() external onlyOwnerOrOperator {
        limitsInEffect = false;
    }

    /**
     * @notice Returns whether an account is excluded from fees.
     * @param account The address to check
     */
    function excludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    /**
     * @notice Check if an address is excluded from limits.
     * @param account The address to check
     */
    function excludedFromLimits(address account) public view returns (bool) {
        return _isExcludedFromLimits[account];
    }

    /**
     * @notice Enable trading (can only be called once by owner).
     */
    function openTrade() external onlyOwner {
        require(!launched, "Already launched");
        launched = true;
    }

    /**
     * @notice Add a new automated market maker pair.
     * @param pair The pair address
     * @param value True to add, false to remove
     */
    function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwnerOrOperator {
        require(pair != uniswapV2Pair, "The pair cannot be removed");
        automatedMarketMakerPairs[pair] = value;
    }

    /**
     * @notice Set the token swap threshold for fee liquidation.
     * @param newSwapAmount The new threshold
     */
    function setSwapAtAmount(uint256 newSwapAmount) external onlyOwnerOrOperator {
        require(newSwapAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% of the supply");
        require(newSwapAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% of the supply");
        swapTokensAtAmount = newSwapAmount;
    }

    /**
     * @notice Set the swap multiplier (max tokens swapped = swapTokensAtAmount * swapMultiplier)
     * @param newMultiplier The new multiplier value
     */
    function setSwapMultiplier(uint256 newMultiplier) external onlyOwnerOrOperator {
        require(newMultiplier >= 1 && newMultiplier <= 100, "Multiplier out of range");
        swapCapMultiplier = newMultiplier;
    }

    /**
     * @notice Withdraw any ERC20 token stuck in the contract (only owner).
     * @param token The token address
     * @param to The recipient address
     */
    function withdrawStuckToken(address token, address to) external onlyOwnerOrOperator {
        require(token != address(this), "Cannot withdraw own token");
        uint256 _contractBalance = IERC20(token).balanceOf(address(this));
        SafeERC20.safeTransfer(IERC20(token), to, _contractBalance);
    }

    /**
     * @notice Withdraw stuck ETH from the contract (only owner).
     * @param addr The recipient address
     */
    function withdrawStuckETH(address addr) external onlyOwnerOrOperator {
        require(addr != address(0), "Invalid address");
        (bool success,) = addr.call{ value: address(this).balance }("");
        require(success, "Withdrawal failed");
    }

    /**
     * @notice Manual swap function for owner/operator with custom parameters.
     * @param tokensToSwap Amount of tokens to swap
     * @param slippagePercent Slippage tolerance in basis points (100 = 10%, 1000 = 100%)
     */
    function manualSwapBack(uint256 tokensToSwap, uint256 slippagePercent) external onlyOwnerOrOperator {
        require(tokensToSwap > 0, "Amount must be greater than 0");
        require(tokensToSwap <= balanceOf(address(this)), "Insufficient contract balance");
        require(slippagePercent >= 0 && slippagePercent <= 1000, "Slippage must be between 0% and 100%");
        require(!swapping, "Already swapping");

        swapping = true;
        _swapBackWithParams(tokensToSwap, slippagePercent, true);
        swapping = false;
    }

    /**
     * @notice Internal swap function used by automatic swaps.
     */
    function _swapBack() private {
        uint256 contractTokenBalance = balanceOf(address(this));

        uint256 maxSwap = swapTokensAtAmount * swapCapMultiplier;

        if (contractTokenBalance > maxSwap) {
            contractTokenBalance = maxSwap;
        }

        // Use configured slippage for automatic swaps
        _swapBackWithParams(contractTokenBalance, autoSwapSlippage, true);
    }

    /**
     * @notice Core swap logic with configurable parameters.
     * @param contractTokenBalance Amount of tokens to process
     * @param slippagePercent Slippage tolerance in basis points (1000 = 100% = accept any price)
     * @param useSlippage Whether to apply slippage protection
     */
    function _swapBackWithParams(uint256 contractTokenBalance, uint256 slippagePercent, bool useSlippage) private {
        uint256 tokensToSwap = contractTokenBalance / 2;
        uint256 tokensToKeep = contractTokenBalance - tokensToSwap;

        if (tokensToSwap == 0) return;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;

        uint256 minETHOut = 0;

        // Only calculate slippage for manual swaps
        if (useSlippage && slippagePercent > 0) {
            uint256[] memory amounts = uniswapV2Router.getAmountsOut(tokensToSwap, path);
            uint256 expectedETH = amounts[1];
            minETHOut = (expectedETH * (1000 - slippagePercent)) / 1000;
        }

        uint256 initialETHBalance = address(this).balance;

        // Approve only what's needed
        _approve(address(this), address(uniswapV2Router), tokensToSwap);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokensToSwap,
            minETHOut, // 0 for automatic swaps, calculated value for manual swaps
            path,
            address(this),
            block.timestamp
        );

        uint256 ethReceived = address(this).balance - initialETHBalance;

        // Distribute ETH
        if (ethReceived > 0) {
            uint256 ethForMarketing = (ethReceived * marketingFee) / 100;
            uint256 ethForTeam = (ethReceived * teamFee) / 100;

            // Ignore return values as we do not want to revert on failure
            // worst case scenario is that the ETH is stuck in the contract and can be retrieved with withdrawStuckETH()
            (bool success,) = address(teamWallet).call{ value: ethForTeam }("");
            (success,) = address(marketingWallet).call{ value: ethForMarketing }("");

            emit SwapAndLiquify(tokensToSwap, ethForTeam, ethForMarketing);
        }

        // Distribute Tokens using _transfer to avoid fees
        if (tokensToKeep > 0) {
            uint256 tokensForMarketing = (tokensToKeep * marketingFee) / 100;
            uint256 tokensForTeam = (tokensToKeep * teamFee) / 100;

            _transfer(address(this), marketingWallet, tokensForMarketing);
            _transfer(address(this), teamWallet, tokensForTeam);
        }
    }

    /**
     * @notice Adds liquidity to Uniswap using the contract's token balance and ETH sent with the call.
     * Can only be called before trading is launched (only owner).
     */
    function prepare() external payable onlyOwner {
        require(!launched, "Already launched");
        uint256 tokenAmount = balanceOf(address(this));
        require(tokenAmount > 0, "No tokens to add as liquidity");
        require(msg.value > 0, "No ETH sent for liquidity");

        // Approve the router to spend tokens if not already approved
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // Add liquidity
        uniswapV2Router.addLiquidityETH{ value: msg.value }(
            address(this),
            tokenAmount,
            0, // Accept any amount of tokens
            0, // Accept any amount of ETH
            owner(), // Recipient of LP tokens
            block.timestamp
        );
    }
}

// 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 {}
}

// 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);
    }
}

// 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));
    }
}

// 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);
}

// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

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

    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(uint256) external view returns (address pair);
    function allPairsLength() external view returns (uint256);

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

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

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2;

import "./IUniswapV2Router01.sol";

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

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

// 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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
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].
     *
     * CAUTION: See Security Considerations above.
     */
    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);
}

// 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);
        }
    }
}

// SPDX-License-Identifier: MIT
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,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);
    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);
    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
    function swapExactETHForTokens(uint256 amountOutMin, address[] calldata path, address to, uint256 deadline)
        external
        payable
        returns (uint256[] memory amounts);
    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
    function swapETHForExactTokens(uint256 amountOut, address[] calldata path, address to, uint256 deadline)
        external
        payable
        returns (uint256[] memory amounts);

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

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@chainlink/contracts/=lib/chainlink-brownie-contracts/contracts/",
    "@pythnetwork/entropy-sdk-solidity/=node_modules/@pythnetwork/entropy-sdk-solidity/",
    "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": true,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"teamETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingETH","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"AIRDROP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HOLDER_BENEFITS_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING_MINT_AMOUNT","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":"SYMBOL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"airdrop","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoSwapSlippage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludedFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToSwap","type":"uint256"},{"internalType":"uint256","name":"slippagePercent","type":"uint256"}],"name":"manualSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepare","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"slippagePercent","type":"uint256"}],"name":"setAutoSwapSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setFeesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTx","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxWallet","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapAmount","type":"uint256"}],"name":"setSwapAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMultiplier","type":"uint256"}],"name":"setSwapMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"},{"internalType":"address","name":"newTeamWallet","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapCapMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405234610c7e57604051610017604082610c82565b600c81526b437261667420456e67696e6560a01b602082015260405161003e604082610c82565b600581526410d490519560da1b602082015281516001600160401b038111610b9157600354600181811c91168015610c74575b6020821014610b7357601f8111610c11575b50602092601f8211600114610bb057928192935f92610ba5575b50508160011b915f199060031b1c1916176003555b80516001600160401b038111610b9157600454600181811c91168015610b87575b6020821014610b7357601f8111610b10575b50602091601f8211600114610ab0579181925f92610aa5575b50508160011b915f199060031b1c1916176004555b60058054336001600160a01b03198216811790925560405191906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3690a968163f0a57b4000006006819055600a60078190556103e86008556009919091556a52b7d2dcc80cd2e40000009055600b80546001600160a01b031990811673966b484600f3e8f936ea24b41aa186551ac2b8af17909155600c8054821673c0e97446186b7820c7fde4c9b5e763825ad99404179055600d8054821673ac7a6a5aa1a0a5ae6eb5ea4eb9b96ef18f9ab68f179055600e805490911673d41ae16603654fd8bf4e498acfc6185f764b00fe179055600f805461ffff60b01b1916600160b01b179055734752ba5dbc23f44d87826276bf6fd6b1c372ad24608081905263c45a015560e01b8252602090829060049082905afa908115610a7d575f916020918391610a88575b506040516364e329cb60e11b8152306004820152734200000000000000000000000000000000000006602482015292839160449183916001600160a01b03165af1908115610a7d575f91610a4e575b50601380546001600160a01b03199081166001600160a01b039384169081179092555f91825260126020526040909120805460ff19166001179055600554600f8054909216921691821790556103123382148015610a4957610cc4565b5f908152601160205260409020805460ff191660011790556005546001600160a01b03163381148015610a35575b61034990610cc4565b5f908152601060205260409020805460ff19166001179055600f546005546001600160a01b0391821691339116148015610a2c575b61038790610cc4565b5f908152601160205260409020805460ff19166001179055600f546005546001600160a01b0391821691339116148015610a23575b6103c590610cc4565b5f52601060205260405f20600160ff1982541617905560018060a01b036005541633148015610a0f575b6103f890610cc4565b61dead5f5260116020527f97847ee99463795296047093514439c3127772df3715e628aa85601cf85417168054600160ff199091161790556005546001600160a01b0316331480156109fb575b61044e90610cc4565b61dead5f5260106020527f9e93e1db4a1f807cc22b2aecf4deeb0bf5745f1ecb319e87c68c5624c0fa6b698054600160ff199091161790556005546001600160a01b0316331480156109e7575b6104a490610cc4565b5f805260116020527f4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b78054600160ff199091161790556005546001600160a01b0316331480156109d3575b6104f890610cc4565b5f805260106020527f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb01805460ff191660011790556013546005546001600160a01b03918216913391161480156109bf575b61055290610cc4565b5f908152601060205260409020805460ff191660011790556080516005546001600160a01b03918216913391161480156109ab575b61059090610cc4565b5f908152601060205260409020805460ff19166001179055600e546001600160a01b031680156108ee576002546a2b036da601a044b400000081018091116108da57600255805f525f60205260405f206a2b036da601a044b400000081540190555f5f51602061389b5f395f51905f5260206040516a2b036da601a044b40000008152a3600b546005546001600160a01b03918216911633148015610997575b61063990610cc4565b5f908152601160205260409020805460ff19166001179055600b546005546001600160a01b0391821691339116148015610983575b61067790610cc4565b5f908152601060205260409020805460ff19166001179055600d546001600160a01b031680156108ee576002546a0fb768105935a2f300000081018091116108da57600255805f525f60205260405f206a0fb768105935a2f300000081540190555f5f51602061389b5f395f51905f5260206040516a0fb768105935a2f30000008152a3600c546005546001600160a01b0391821691163314801561096f575b61072090610cc4565b5f908152601160205260409020805460ff19166001179055600c546005546001600160a01b039182169133911614801561095b575b61075e90610cc4565b5f908152601060205260409020805460ff19166001179055600c546001600160a01b031680156108ee576002546a108b2a2c2802909400000081018091116108da57600255805f525f60205260405f206a108b2a2c2802909400000081540190555f5f51602061389b5f395f51905f5260206040516a108b2a2c280290940000008152a36005546001600160a01b031633148015610947575b61080090610cc4565b305f52601160205260405f20600160ff1982541617905560018060a01b036005541633148015610933575b61083490610cc4565b305f52601060205260405f20600160ff1982541617905530156108ee576002546a0771d2fa45345aa900000081018091116108da57600255305f525f60205260405f206a0771d2fa45345aa900000081540190556040516a0771d2fa45345aa900000081525f5f51602061389b5f395f51905f5260203093a3604051612b8a9081610d11823960805181818161086401528181611b1201528181612751015261291d0152f35b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b50600f546001600160a01b0316331461082b565b50600f546001600160a01b031633146107f7565b50600f546001600160a01b03163314610755565b50600f546001600160a01b03163314610717565b50600f546001600160a01b0316331461066e565b50600f546001600160a01b03163314610630565b50600f546001600160a01b03163314610587565b50600f546001600160a01b03163314610549565b50600f546001600160a01b031633146104ef565b50600f546001600160a01b0316331461049b565b50600f546001600160a01b03163314610445565b50600f546001600160a01b031633146103ef565b503381146103bc565b5033811461037e565b50600f546001600160a01b03163314610340565b610cc4565b610a70915060203d602011610a76575b610a688183610c82565b810190610ca5565b5f6102b5565b503d610a5e565b6040513d5f823e3d90fd5b610a9f9150823d8411610a7657610a688183610c82565b5f610266565b015190505f806100fe565b601f1982169260045f52805f20915f5b858110610af857508360019510610ae0575b505050811b01600455610113565b01515f1960f88460031b161c191690555f8080610ad2565b91926020600181928685015181550194019201610ac0565b60045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610b69575b601f0160051c01905b818110610b5e57506100e5565b5f8155600101610b51565b9091508190610b48565b634e487b7160e01b5f52602260045260245ffd5b90607f16906100d3565b634e487b7160e01b5f52604160045260245ffd5b015190505f8061009d565b601f1982169360035f52805f20915f5b868110610bf95750836001959610610be1575b505050811b016003556100b2565b01515f1960f88460031b161c191690555f8080610bd3565b91926020600181928685015181550194019201610bc0565b60035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c81019160208410610c6a575b601f0160051c01905b818110610c5f5750610083565b5f8155600101610c52565b9091508190610c49565b90607f1690610071565b5f80fd5b601f909101601f19168101906001600160401b03821190821017610b9157604052565b90816020910312610c7e57516001600160a01b0381168103610c7e5790565b15610ccb57565b60405162461bcd60e51b815260206004820152601560248201527f4e6f74206f776e6572206f72206f70657261746f7200000000000000000000006044820152606490fdfe608080604052600436101561001c575b50361561001a575f80fd5b005b5f3560e01c90816305c00cb914611c225750806306fdde0314611b67578063095ea7b314611b415780631694505e14611afd57806318160ddd14611ae05780631e293c1014611a2157806323b872dd1461196457806327a14fc2146118ab5780632b5b6872146118865780633093e12e14611869578063313ce5671461184e5780633268cc561461182057806336fddb04146117a65780633884d6351461177e578063395093511461173057806339e717771461170b57806340fd839b146116e657806345dc16e01461163c57806349bd5a5e146116145780634a62bb65146115ef578063570ca735146115c757806358a8eb95146115aa578063590ffdce14611530578063599270441461150857806361d027b3146114e05780636402511e146113845780636a486a8e1461055e5780636b67c4df1461055e57806370a082311461134d578063715018a6146112f2578063751039fc146112a157806375f0a874146112795780637b812b411461123c57806385ecafd7146111ff57806388cde7bd146111da5780638918ac82146111b55780638da5cb5b1461118d57806395d89b411461108d5780639a7a23d614610fbf578063a3f4df7e14610f79578063a457c2d714610ed6578063a64e4f8a14610eb1578063a901dd9214610e42578063a9059cbb14610e11578063ad5c464814610def578063b3ab15fb14610d0d578063b62496f514610cd0578063bc205ad314610aae578063c8c8ebe414610a91578063d201b01e146109ae578063d28cebb814610825578063d3cbd7d91461066c578063d3f6a15714610563578063d7c94efd1461055e578063d85ba0631461055e578063dd62ed3e1461050e578063dfd81b2214610457578063e2f456051461043a578063f2fde38b14610373578063f76f8d7814610330578063f8b45b05146103135763fb201b1d146102d2575f61000f565b3461030f575f36600319011261030f576102ea61251c565b600f546102fd60ff8260a81c1615611dbe565b60ff60a81b1916600160a81b17600f55005b5f80fd5b3461030f575f36600319011261030f576020600a54604051908152f35b3461030f575f36600319011261030f5761036f604051610351604082611ccf565b600581526410d490519560da1b602082015260405191829182611c4f565b0390f35b3461030f57602036600319011261030f5761038c611c79565b61039461251c565b6001600160a01b031680156103e657600580546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461030f575f36600319011261030f576020600654604051908152f35b3461030f57602036600319011261030f5760043560018060a01b0360055416331480156104fa575b61048890611d05565b600a811015806104ee575b1561049d57600855005b60405162461bcd60e51b8152602060048201526024808201527f536c697070616765206d757374206265206265747765656e20312520616e64206044820152633130302560e01b6064820152608490fd5b506103e8811115610493565b50600f546001600160a01b0316331461047f565b3461030f57604036600319011261030f57610527611c79565b61052f611c8f565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b611cb4565b3461030f57604036600319011261030f5761057c611c79565b610584611c8f565b9060018060a01b036005541633148015610658575b6105a290611d05565b6001600160a01b031680151580610646575b156105f5576bffffffffffffffffffffffff60a01b600b541617600b5560018060a01b03166bffffffffffffffffffffffff60a01b600c541617600c555f80f35b60405162461bcd60e51b815260206004820152602360248201527f5468652057616c6c6574732063616e206e6f74206265206e756c6c206164647260448201526265737360e81b6064820152608490fd5b506001600160a01b03821615156105b4565b50600f546001600160a01b03163314610599565b3461030f57604036600319011261030f5760043560243560055460018060a01b031633148015610811575b6106a090611d05565b81156107cc57305f525f60205260405f20548211610787576103e8811161073657600f549060ff8260a01c166106fe5760ff60a01b19909116600160a01b17600f556106ef91600191906126e8565b600f805460ff60a01b19169055005b60405162461bcd60e51b815260206004820152601060248201526f416c7265616479207377617070696e6760801b6044820152606490fd5b60405162461bcd60e51b8152602060048201526024808201527f536c697070616765206d757374206265206265747765656e20302520616e64206044820152633130302560e01b6064820152608490fd5b60405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e63650000006044820152606490fd5b60405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606490fd5b50600f546001600160a01b03163314610697565b5f36600319011261030f5761083861251c565b61084a60ff600f5460a81c1615611dbe565b305f525f60205260405f20548015610969573415610924577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169060609061089b818430611dfd565b60055460405163f305d71960e01b815230600482015260248101929092525f6044830181905260648301526001600160a01b031660848201524260a482015291829060c490829034905af18015610919576108f257005b606090813d8311610912575b6109088183611ccf565b8101031261030f57005b503d6108fe565b6040513d5f823e3d90fd5b60405162461bcd60e51b815260206004820152601960248201527f4e6f204554482073656e7420666f72206c6971756964697479000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601d60248201527f4e6f20746f6b656e7320746f20616464206173206c69717569646974790000006044820152606490fd5b3461030f57602036600319011261030f576109c7611c79565b6005546001600160a01b031633148015610a7d575b6109e590611d05565b6001600160a01b03811615610a46575f8080809347905af1610a05611d7f565b5015610a0d57005b60405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b6044820152606490fd5b60405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606490fd5b50600f546001600160a01b031633146109dc565b3461030f575f36600319011261030f576020600954604051908152f35b3461030f57604036600319011261030f57610ac7611c79565b610acf611c8f565b9060018060a01b036005541633148015610cbc575b610aed90611d05565b6001600160a01b0316308114610c77576040516370a0823160e01b815230600482015290602082602481845afa918215610919575f92610c41575b505f80610bb09460405194602086019163a9059cbb60e01b835260018060a01b03166024870152604486015260448552610b63606486611ccf565b60405194610b72604087611ccf565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1610baa611d7f565b91612ac3565b8051908115918215610c1e575b505015610bc657005b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b819250906020918101031261030f5760200151801515810361030f578180610bbd565b9291506020833d602011610c6f575b81610c5d60209383611ccf565b8101031261030f57915190915f610b28565b3d9150610c50565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f74207769746864726177206f776e20746f6b656e000000000000006044820152606490fd5b50600f546001600160a01b03163314610ae4565b3461030f57602036600319011261030f576001600160a01b03610cf1611c79565b165f526012602052602060ff60405f2054166040519015158152f35b3461030f57602036600319011261030f57610d26611c79565b6005546001600160a01b031633148015610ddb575b610d4490611d05565b6001600160a01b03168015610d9657600f80546001600160a01b0319811683179091556001600160a01b03167ffbe5b6cbafb274f445d7fed869dc77a838d8243a22c460de156560e8857cad035f80a3005b60405162461bcd60e51b815260206004820152601860248201527f496e76616c6964206f70657261746f72206164647265737300000000000000006044820152606490fd5b50600f546001600160a01b03163314610d3b565b3461030f575f36600319011261030f576040516006602160991b018152602090f35b3461030f57604036600319011261030f57610e37610e2d611c79565b6024359033612125565b602060405160018152f35b3461030f57602036600319011261030f5760043580151580910361030f576005546001600160a01b031633148015610e9d575b610e7e90611d05565b600f805460ff60b01b191660b09290921b60ff60b01b16919091179055005b50600f546001600160a01b03163314610e75565b3461030f575f36600319011261030f57602060ff600f5460b01c166040519015158152f35b3461030f57604036600319011261030f57610eef611c79565b60243590335f52600160205260405f2060018060a01b0382165f5260205260405f205491808310610f2657610e3792039033611dfd565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b3461030f575f36600319011261030f5761036f604051610f9a604082611ccf565b600c81526b437261667420456e67696e6560a01b602082015260405191829182611c4f565b3461030f57604036600319011261030f57610fd8611c79565b610fe0611ca5565b6005546001600160a01b031633148015611079575b610ffe90611d05565b6013546001600160a01b03928316921682146110345761001a915f52601260205260405f209060ff801983541691151516179055565b60405162461bcd60e51b815260206004820152601a60248201527f54686520706169722063616e6e6f742062652072656d6f7665640000000000006044820152606490fd5b50600f546001600160a01b03163314610ff5565b3461030f575f36600319011261030f576040515f6004548060011c90600181168015611183575b60208310811461116f5782855290811561114b57506001146110ed575b61036f836110e181850382611ccf565b60405191829182611c4f565b91905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b915f905b808210611131575090915081016020016110e16110d1565b919260018160209254838588010152019101909291611119565b60ff191660208086019190915291151560051b840190910191506110e190506110d1565b634e487b7160e01b5f52602260045260245ffd5b91607f16916110b4565b3461030f575f36600319011261030f576005546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f5760206040516a0771d2fa45345aa90000008152f35b3461030f575f36600319011261030f5760206040516a0b949d854f34fece0000008152f35b3461030f57602036600319011261030f576001600160a01b03611220611c79565b165f526011602052602060ff60405f2054166040519015158152f35b3461030f57602036600319011261030f576001600160a01b0361125d611c79565b165f526010602052602060ff60405f2054166040519015158152f35b3461030f575f36600319011261030f57600b546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f576005546001600160a01b0316331480156112de575b6112cf90611d05565b600f805460ff60b81b19169055005b50600f546001600160a01b031633146112c6565b3461030f575f36600319011261030f5761130a61251c565b600580546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461030f57602036600319011261030f576001600160a01b0361136e611c79565b165f525f602052602060405f2054604051908152f35b3461030f57602036600319011261030f5760043560018060a01b0360055416331480156114cc575b6113b590611d05565b600254801581800460011481171561145557620186a08204831061146957600582029182046005141715611455576103e8900481116113f357600655005b60405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f7420626520686967686572207468616044820152736e20302e3525206f662074686520737570706c7960601b6064820152608490fd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527420302e30303125206f662074686520737570706c7960581b6064820152608490fd5b50600f546001600160a01b031633146113ac565b3461030f575f36600319011261030f57600d546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f57600c546040516001600160a01b039091168152602090f35b3461030f57604036600319011261030f5761001a61154c611c79565b611554611ca5565b9060018060a01b036005541633148015611596575b61157290611d05565b60018060a01b03165f52601160205260405f209060ff801983541691151516179055565b50600f546001600160a01b03163314611569565b3461030f575f36600319011261030f576020600854604051908152f35b3461030f575f36600319011261030f57600f546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f57602060ff600f5460b81c166040519015158152f35b3461030f575f36600319011261030f576013546040516001600160a01b039091168152602090f35b3461030f57602036600319011261030f5760043560018060a01b0360055416331480156116d2575b61166d90611d05565b6001811015806116c7575b1561168257600755005b60405162461bcd60e51b815260206004820152601760248201527f4d756c7469706c696572206f7574206f662072616e67650000000000000000006044820152606490fd5b506064811115611678565b50600f546001600160a01b03163314611664565b3461030f575f36600319011261030f5760206040516a108b2a2c280290940000008152f35b3461030f575f36600319011261030f5760206040516a0422ca8b0a00a4250000008152f35b3461030f57604036600319011261030f57610e3761174c611c79565b335f52600160205260405f2060018060a01b0382165f5260205261177760405f206024359054611d72565b9033611dfd565b3461030f575f36600319011261030f57600e546040516001600160a01b039091168152602090f35b3461030f57604036600319011261030f5761001a6117c2611c79565b6117ca611ca5565b9060018060a01b03600554163314801561180c575b6117e890611d05565b60018060a01b03165f52601060205260405f209060ff801983541691151516179055565b50600f546001600160a01b031633146117df565b3461030f575f36600319011261030f576020604051734752ba5dbc23f44d87826276bf6fd6b1c372ad248152f35b3461030f575f36600319011261030f57602060405160128152f35b3461030f575f36600319011261030f576020600754604051908152f35b3461030f575f36600319011261030f5760206040516a260ce0ff28d2b2ee0000008152f35b3461030f57602036600319011261030f5760043560018060a01b036005541633148015611950575b6118dc90611d05565b60025480800460011481151715611455576103e8900481106118fd57600a55005b60405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782077616c6c6574206c6f776572207468616e60448201526420302e312560d81b6064820152608490fd5b50600f546001600160a01b031633146118d3565b3461030f57606036600319011261030f5761197d611c79565b611985611c8f565b6001600160a01b0382165f9081526001602081815260408084203385529091529091205492604435929184016119c0575b610e379350612125565b8284106119dc576119d783610e3795033383611dfd565b6119b6565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b3461030f57602036600319011261030f5760043560018060a01b036005541633148015611acc575b611a5290611d05565b600254808004600114811517156114555761271090048110611a7357600955005b60405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d6178207472616e73616374696f6e206c6f77657260448201526a207468616e20302e30312560a81b6064820152608490fd5b50600f546001600160a01b03163314611a49565b3461030f575f36600319011261030f576020600254604051908152f35b3461030f575f36600319011261030f576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461030f57604036600319011261030f57610e37611b5d611c79565b6024359033611dfd565b3461030f575f36600319011261030f576040515f6003548060011c90600181168015611c18575b60208310811461116f5782855290811561114b5750600114611bba5761036f836110e181850382611ccf565b91905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b915f905b808210611bfe575090915081016020016110e16110d1565b919260018160209254838588010152019101909291611be6565b91607f1691611b8e565b3461030f575f36600319011261030f57806a04f68ca6d8cd91c600000060209252f35b5f91031261030f57565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361030f57565b602435906001600160a01b038216820361030f57565b60243590811515820361030f57565b3461030f575f36600319011261030f57602060405160328152f35b90601f8019910116810190811067ffffffffffffffff821117611cf157604052565b634e487b7160e01b5f52604160045260245ffd5b15611d0c57565b60405162461bcd60e51b81526020600482015260156024820152742737ba1037bbb732b91037b91037b832b930ba37b960591b6044820152606490fd5b9060328202918083046032149015171561145557565b8181029291811591840414171561145557565b9190820180921161145557565b3d15611db9573d9067ffffffffffffffff8211611cf15760405191611dae601f8201601f191660200184611ccf565b82523d5f602084013e565b606090565b15611dc557565b60405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481b185d5b98da195960821b6044820152606490fd5b6001600160a01b0316908115611eb0576001600160a01b0316918215611e605760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b15611f0857565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b15611f6257565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b15611fba57565b60405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608490fd5b1561201857565b60405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606490fd5b1561205a57565b60405162461bcd60e51b815260206004820152602660248201527f53656c6c207472616e7366657220616d6f756e74206578636565647320746865604482015265040dac2f0a8f60d31b6064820152608490fd5b156120b557565b60405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d6f756e74206578636565647320746865206044820152640dac2f0a8f60db1b6064820152608490fd5b6103e803906103e8821161145557565b9190820391821161145557565b6001600160a01b03811692919061213d841515611f01565b6001600160a01b038216612152811515611f5b565b61215d841515611fb3565b600f549460ff60a887901c1615612173565b1590565b91826124dd575b505061249d576001600160a01b0382165f9081526012602052604090206121a3905b5460ff1690565b6001600160a01b0382165f9081526012602052604090206121c39061219c565b9460b881901c60ff168061248e575b612389575b305f90815260208190526040902082905460065411159181612374575b508161236c575b5080612342575b612315575b61226094600f5461221f61216f8260ff9060a01c1690565b9081612307575b509161224561219c8560018060a01b03165f52601160205260405f2090565b80156122e1575b6122d9575b5f92612262575b5050506129e7565b565b806122d1575b156122ac57505061228361227b84611d49565b6103e8900490565b80612290575b8080612258565b6122a591936122a08230876129e7565b612118565b915f612289565b806122c9575b1561228357506122c461227b84611d49565b612283565b5060016122b2565b506001612268565b5f9250612251565b506001600160a01b0385165f9081526011602052604090206123029061219c565b61224c565b60b01c60ff1690505f612226565b600f805460ff60a01b1916600160a01b1790556123306129ad565b600f805460ff60a01b19169055612207565b506001600160a01b0382165f9081526011602052604090206123679061216f9061219c565b612202565b90505f6121fb565b612383915060a01c60ff161590565b5f6121f4565b8580612464575b156123d8576123a36009548611156120ae565b6123d36123c96123c28660018060a01b03165f525f60205260405f2090565b5487611d72565b600a541015612011565b6121d7565b818061243a575b156123f2576123d3600954861115612053565b6001600160a01b0384165f9081526010602052604090206124169061216f9061219c565b156123d3576123d36123c96123c28660018060a01b03165f525f60205260405f2090565b506001600160a01b0383165f90815260106020526040902061245f9061216f9061219c565b6123df565b506001600160a01b0384165f9081526010602052604090206124899061216f9061219c565b612390565b5060ff60a082901c16156121d2565b60405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b604482015280606481015b0390fd5b6005546001600160a01b03168083141593509183612511575b5082612506575b50505f8061217a565b141590505f806124fd565b30141592505f6124f6565b6005546001600160a01b0316330361253057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b67ffffffffffffffff8111611cf15760051b60200190565b6040516060919061259d8382611ccf565b6002815291601f1901366020840137565b8051156125bb5760200190565b634e487b7160e01b5f52603260045260245ffd5b8051600110156125bb5760400190565b60208183031261030f5780519067ffffffffffffffff821161030f57019080601f8301121561030f57815161261381612574565b926126216040519485611ccf565b81845260208085019260051b82010192831161030f57602001905b8282106126495750505090565b815181526020918201910161263c565b90602080835192838152019201905f5b8181106126765750505090565b82516001600160a01b0316845260209384019390920191600101612669565b6040906126ac939281528160208201520190612659565b90565b91926080936126d492979695978452602084015260a0604084015260a0830190612659565b6001600160a01b0390951660608201520152565b906126fd6126f68360011c90565b8093612118565b9282156129a75761270c61258c565b916127293061271a856125ae565b6001600160a01b039091169052565b612741612735846125cf565b6006602160991b019052565b5f918061299e575b6128f8575b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691479190612788858530611dfd565b833b1561030f576127b7935f928360405180978195829463791ac94760e01b8452429130918d600487016126af565b03925af19182156128f3576127d2926128d9575b5047612118565b80612830575b5050806127e25750565b61281a6128046127f76127fe6127f785611d49565b6064900490565b93611d49565b600b549092906001600160a01b03165b30612125565b600c5461226091906001600160a01b0316612814565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561916128cf61286d6127f76128676127f786611d49565b94611d49565b925f80808087612884600c5460018060a01b031690565b5af15061288f611d7f565b505f808080846128a6600b5460018060a01b031690565b5af1506128b1611d7f565b50604051938493846040919493926060820195825260208201520152565b0390a15f806127d8565b806128e75f6128ed93611ccf565b80611c45565b5f6127cb565b610919565b60405163d06ca61f60e01b81529091505f8180612919868860048401612695565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9182156128f3576129706129696129769461227b945f9161297c575b506125cf565b5191612108565b90611d5f565b5f61274e565b61299891503d805f833e6129908183611ccf565b8101906125df565b5f612963565b50801515612749565b50505050565b305f525f602052612260600160405f20546129cd60065460075490611d5f565b8082116129df575b50600854906126e8565b90505f6129d5565b6001600160a01b0316906129fc821515611f01565b6001600160a01b031691612a11831515611f5b565b815f525f60205260405f2054818110612a6f57817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f525f825260405f20818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b91929015612b255750815115612ad7575090565b3b15612ae05790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015612b385750805190602001fd5b60405162461bcd60e51b81529081906124d99060048301611c4f56fea2646970667358221220b428cf42bfec8a9969845009d0a2c014a5665bd53d99d80264324963fe92f64164736f6c634300081c0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x608080604052600436101561001c575b50361561001a575f80fd5b005b5f3560e01c90816305c00cb914611c225750806306fdde0314611b67578063095ea7b314611b415780631694505e14611afd57806318160ddd14611ae05780631e293c1014611a2157806323b872dd1461196457806327a14fc2146118ab5780632b5b6872146118865780633093e12e14611869578063313ce5671461184e5780633268cc561461182057806336fddb04146117a65780633884d6351461177e578063395093511461173057806339e717771461170b57806340fd839b146116e657806345dc16e01461163c57806349bd5a5e146116145780634a62bb65146115ef578063570ca735146115c757806358a8eb95146115aa578063590ffdce14611530578063599270441461150857806361d027b3146114e05780636402511e146113845780636a486a8e1461055e5780636b67c4df1461055e57806370a082311461134d578063715018a6146112f2578063751039fc146112a157806375f0a874146112795780637b812b411461123c57806385ecafd7146111ff57806388cde7bd146111da5780638918ac82146111b55780638da5cb5b1461118d57806395d89b411461108d5780639a7a23d614610fbf578063a3f4df7e14610f79578063a457c2d714610ed6578063a64e4f8a14610eb1578063a901dd9214610e42578063a9059cbb14610e11578063ad5c464814610def578063b3ab15fb14610d0d578063b62496f514610cd0578063bc205ad314610aae578063c8c8ebe414610a91578063d201b01e146109ae578063d28cebb814610825578063d3cbd7d91461066c578063d3f6a15714610563578063d7c94efd1461055e578063d85ba0631461055e578063dd62ed3e1461050e578063dfd81b2214610457578063e2f456051461043a578063f2fde38b14610373578063f76f8d7814610330578063f8b45b05146103135763fb201b1d146102d2575f61000f565b3461030f575f36600319011261030f576102ea61251c565b600f546102fd60ff8260a81c1615611dbe565b60ff60a81b1916600160a81b17600f55005b5f80fd5b3461030f575f36600319011261030f576020600a54604051908152f35b3461030f575f36600319011261030f5761036f604051610351604082611ccf565b600581526410d490519560da1b602082015260405191829182611c4f565b0390f35b3461030f57602036600319011261030f5761038c611c79565b61039461251c565b6001600160a01b031680156103e657600580546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461030f575f36600319011261030f576020600654604051908152f35b3461030f57602036600319011261030f5760043560018060a01b0360055416331480156104fa575b61048890611d05565b600a811015806104ee575b1561049d57600855005b60405162461bcd60e51b8152602060048201526024808201527f536c697070616765206d757374206265206265747765656e20312520616e64206044820152633130302560e01b6064820152608490fd5b506103e8811115610493565b50600f546001600160a01b0316331461047f565b3461030f57604036600319011261030f57610527611c79565b61052f611c8f565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b611cb4565b3461030f57604036600319011261030f5761057c611c79565b610584611c8f565b9060018060a01b036005541633148015610658575b6105a290611d05565b6001600160a01b031680151580610646575b156105f5576bffffffffffffffffffffffff60a01b600b541617600b5560018060a01b03166bffffffffffffffffffffffff60a01b600c541617600c555f80f35b60405162461bcd60e51b815260206004820152602360248201527f5468652057616c6c6574732063616e206e6f74206265206e756c6c206164647260448201526265737360e81b6064820152608490fd5b506001600160a01b03821615156105b4565b50600f546001600160a01b03163314610599565b3461030f57604036600319011261030f5760043560243560055460018060a01b031633148015610811575b6106a090611d05565b81156107cc57305f525f60205260405f20548211610787576103e8811161073657600f549060ff8260a01c166106fe5760ff60a01b19909116600160a01b17600f556106ef91600191906126e8565b600f805460ff60a01b19169055005b60405162461bcd60e51b815260206004820152601060248201526f416c7265616479207377617070696e6760801b6044820152606490fd5b60405162461bcd60e51b8152602060048201526024808201527f536c697070616765206d757374206265206265747765656e20302520616e64206044820152633130302560e01b6064820152608490fd5b60405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420636f6e74726163742062616c616e63650000006044820152606490fd5b60405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606490fd5b50600f546001600160a01b03163314610697565b5f36600319011261030f5761083861251c565b61084a60ff600f5460a81c1615611dbe565b305f525f60205260405f20548015610969573415610924577f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b03169060609061089b818430611dfd565b60055460405163f305d71960e01b815230600482015260248101929092525f6044830181905260648301526001600160a01b031660848201524260a482015291829060c490829034905af18015610919576108f257005b606090813d8311610912575b6109088183611ccf565b8101031261030f57005b503d6108fe565b6040513d5f823e3d90fd5b60405162461bcd60e51b815260206004820152601960248201527f4e6f204554482073656e7420666f72206c6971756964697479000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601d60248201527f4e6f20746f6b656e7320746f20616464206173206c69717569646974790000006044820152606490fd5b3461030f57602036600319011261030f576109c7611c79565b6005546001600160a01b031633148015610a7d575b6109e590611d05565b6001600160a01b03811615610a46575f8080809347905af1610a05611d7f565b5015610a0d57005b60405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b6044820152606490fd5b60405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606490fd5b50600f546001600160a01b031633146109dc565b3461030f575f36600319011261030f576020600954604051908152f35b3461030f57604036600319011261030f57610ac7611c79565b610acf611c8f565b9060018060a01b036005541633148015610cbc575b610aed90611d05565b6001600160a01b0316308114610c77576040516370a0823160e01b815230600482015290602082602481845afa918215610919575f92610c41575b505f80610bb09460405194602086019163a9059cbb60e01b835260018060a01b03166024870152604486015260448552610b63606486611ccf565b60405194610b72604087611ccf565b602086527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65646020870152519082855af1610baa611d7f565b91612ac3565b8051908115918215610c1e575b505015610bc657005b60405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608490fd5b819250906020918101031261030f5760200151801515810361030f578180610bbd565b9291506020833d602011610c6f575b81610c5d60209383611ccf565b8101031261030f57915190915f610b28565b3d9150610c50565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f74207769746864726177206f776e20746f6b656e000000000000006044820152606490fd5b50600f546001600160a01b03163314610ae4565b3461030f57602036600319011261030f576001600160a01b03610cf1611c79565b165f526012602052602060ff60405f2054166040519015158152f35b3461030f57602036600319011261030f57610d26611c79565b6005546001600160a01b031633148015610ddb575b610d4490611d05565b6001600160a01b03168015610d9657600f80546001600160a01b0319811683179091556001600160a01b03167ffbe5b6cbafb274f445d7fed869dc77a838d8243a22c460de156560e8857cad035f80a3005b60405162461bcd60e51b815260206004820152601860248201527f496e76616c6964206f70657261746f72206164647265737300000000000000006044820152606490fd5b50600f546001600160a01b03163314610d3b565b3461030f575f36600319011261030f576040516006602160991b018152602090f35b3461030f57604036600319011261030f57610e37610e2d611c79565b6024359033612125565b602060405160018152f35b3461030f57602036600319011261030f5760043580151580910361030f576005546001600160a01b031633148015610e9d575b610e7e90611d05565b600f805460ff60b01b191660b09290921b60ff60b01b16919091179055005b50600f546001600160a01b03163314610e75565b3461030f575f36600319011261030f57602060ff600f5460b01c166040519015158152f35b3461030f57604036600319011261030f57610eef611c79565b60243590335f52600160205260405f2060018060a01b0382165f5260205260405f205491808310610f2657610e3792039033611dfd565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608490fd5b3461030f575f36600319011261030f5761036f604051610f9a604082611ccf565b600c81526b437261667420456e67696e6560a01b602082015260405191829182611c4f565b3461030f57604036600319011261030f57610fd8611c79565b610fe0611ca5565b6005546001600160a01b031633148015611079575b610ffe90611d05565b6013546001600160a01b03928316921682146110345761001a915f52601260205260405f209060ff801983541691151516179055565b60405162461bcd60e51b815260206004820152601a60248201527f54686520706169722063616e6e6f742062652072656d6f7665640000000000006044820152606490fd5b50600f546001600160a01b03163314610ff5565b3461030f575f36600319011261030f576040515f6004548060011c90600181168015611183575b60208310811461116f5782855290811561114b57506001146110ed575b61036f836110e181850382611ccf565b60405191829182611c4f565b91905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b915f905b808210611131575090915081016020016110e16110d1565b919260018160209254838588010152019101909291611119565b60ff191660208086019190915291151560051b840190910191506110e190506110d1565b634e487b7160e01b5f52602260045260245ffd5b91607f16916110b4565b3461030f575f36600319011261030f576005546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f5760206040516a0771d2fa45345aa90000008152f35b3461030f575f36600319011261030f5760206040516a0b949d854f34fece0000008152f35b3461030f57602036600319011261030f576001600160a01b03611220611c79565b165f526011602052602060ff60405f2054166040519015158152f35b3461030f57602036600319011261030f576001600160a01b0361125d611c79565b165f526010602052602060ff60405f2054166040519015158152f35b3461030f575f36600319011261030f57600b546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f576005546001600160a01b0316331480156112de575b6112cf90611d05565b600f805460ff60b81b19169055005b50600f546001600160a01b031633146112c6565b3461030f575f36600319011261030f5761130a61251c565b600580546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461030f57602036600319011261030f576001600160a01b0361136e611c79565b165f525f602052602060405f2054604051908152f35b3461030f57602036600319011261030f5760043560018060a01b0360055416331480156114cc575b6113b590611d05565b600254801581800460011481171561145557620186a08204831061146957600582029182046005141715611455576103e8900481116113f357600655005b60405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f7420626520686967686572207468616044820152736e20302e3525206f662074686520737570706c7960601b6064820152608490fd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527420302e30303125206f662074686520737570706c7960581b6064820152608490fd5b50600f546001600160a01b031633146113ac565b3461030f575f36600319011261030f57600d546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f57600c546040516001600160a01b039091168152602090f35b3461030f57604036600319011261030f5761001a61154c611c79565b611554611ca5565b9060018060a01b036005541633148015611596575b61157290611d05565b60018060a01b03165f52601160205260405f209060ff801983541691151516179055565b50600f546001600160a01b03163314611569565b3461030f575f36600319011261030f576020600854604051908152f35b3461030f575f36600319011261030f57600f546040516001600160a01b039091168152602090f35b3461030f575f36600319011261030f57602060ff600f5460b81c166040519015158152f35b3461030f575f36600319011261030f576013546040516001600160a01b039091168152602090f35b3461030f57602036600319011261030f5760043560018060a01b0360055416331480156116d2575b61166d90611d05565b6001811015806116c7575b1561168257600755005b60405162461bcd60e51b815260206004820152601760248201527f4d756c7469706c696572206f7574206f662072616e67650000000000000000006044820152606490fd5b506064811115611678565b50600f546001600160a01b03163314611664565b3461030f575f36600319011261030f5760206040516a108b2a2c280290940000008152f35b3461030f575f36600319011261030f5760206040516a0422ca8b0a00a4250000008152f35b3461030f57604036600319011261030f57610e3761174c611c79565b335f52600160205260405f2060018060a01b0382165f5260205261177760405f206024359054611d72565b9033611dfd565b3461030f575f36600319011261030f57600e546040516001600160a01b039091168152602090f35b3461030f57604036600319011261030f5761001a6117c2611c79565b6117ca611ca5565b9060018060a01b03600554163314801561180c575b6117e890611d05565b60018060a01b03165f52601060205260405f209060ff801983541691151516179055565b50600f546001600160a01b031633146117df565b3461030f575f36600319011261030f576020604051734752ba5dbc23f44d87826276bf6fd6b1c372ad248152f35b3461030f575f36600319011261030f57602060405160128152f35b3461030f575f36600319011261030f576020600754604051908152f35b3461030f575f36600319011261030f5760206040516a260ce0ff28d2b2ee0000008152f35b3461030f57602036600319011261030f5760043560018060a01b036005541633148015611950575b6118dc90611d05565b60025480800460011481151715611455576103e8900481106118fd57600a55005b60405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782077616c6c6574206c6f776572207468616e60448201526420302e312560d81b6064820152608490fd5b50600f546001600160a01b031633146118d3565b3461030f57606036600319011261030f5761197d611c79565b611985611c8f565b6001600160a01b0382165f9081526001602081815260408084203385529091529091205492604435929184016119c0575b610e379350612125565b8284106119dc576119d783610e3795033383611dfd565b6119b6565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b3461030f57602036600319011261030f5760043560018060a01b036005541633148015611acc575b611a5290611d05565b600254808004600114811517156114555761271090048110611a7357600955005b60405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420736574206d6178207472616e73616374696f6e206c6f77657260448201526a207468616e20302e30312560a81b6064820152608490fd5b50600f546001600160a01b03163314611a49565b3461030f575f36600319011261030f576020600254604051908152f35b3461030f575f36600319011261030f576040517f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b03168152602090f35b3461030f57604036600319011261030f57610e37611b5d611c79565b6024359033611dfd565b3461030f575f36600319011261030f576040515f6003548060011c90600181168015611c18575b60208310811461116f5782855290811561114b5750600114611bba5761036f836110e181850382611ccf565b91905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b915f905b808210611bfe575090915081016020016110e16110d1565b919260018160209254838588010152019101909291611be6565b91607f1691611b8e565b3461030f575f36600319011261030f57806a04f68ca6d8cd91c600000060209252f35b5f91031261030f57565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361030f57565b602435906001600160a01b038216820361030f57565b60243590811515820361030f57565b3461030f575f36600319011261030f57602060405160328152f35b90601f8019910116810190811067ffffffffffffffff821117611cf157604052565b634e487b7160e01b5f52604160045260245ffd5b15611d0c57565b60405162461bcd60e51b81526020600482015260156024820152742737ba1037bbb732b91037b91037b832b930ba37b960591b6044820152606490fd5b9060328202918083046032149015171561145557565b8181029291811591840414171561145557565b9190820180921161145557565b3d15611db9573d9067ffffffffffffffff8211611cf15760405191611dae601f8201601f191660200184611ccf565b82523d5f602084013e565b606090565b15611dc557565b60405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481b185d5b98da195960821b6044820152606490fd5b6001600160a01b0316908115611eb0576001600160a01b0316918215611e605760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b15611f0857565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b15611f6257565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b15611fba57565b60405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608490fd5b1561201857565b60405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606490fd5b1561205a57565b60405162461bcd60e51b815260206004820152602660248201527f53656c6c207472616e7366657220616d6f756e74206578636565647320746865604482015265040dac2f0a8f60d31b6064820152608490fd5b156120b557565b60405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d6f756e74206578636565647320746865206044820152640dac2f0a8f60db1b6064820152608490fd5b6103e803906103e8821161145557565b9190820391821161145557565b6001600160a01b03811692919061213d841515611f01565b6001600160a01b038216612152811515611f5b565b61215d841515611fb3565b600f549460ff60a887901c1615612173565b1590565b91826124dd575b505061249d576001600160a01b0382165f9081526012602052604090206121a3905b5460ff1690565b6001600160a01b0382165f9081526012602052604090206121c39061219c565b9460b881901c60ff168061248e575b612389575b305f90815260208190526040902082905460065411159181612374575b508161236c575b5080612342575b612315575b61226094600f5461221f61216f8260ff9060a01c1690565b9081612307575b509161224561219c8560018060a01b03165f52601160205260405f2090565b80156122e1575b6122d9575b5f92612262575b5050506129e7565b565b806122d1575b156122ac57505061228361227b84611d49565b6103e8900490565b80612290575b8080612258565b6122a591936122a08230876129e7565b612118565b915f612289565b806122c9575b1561228357506122c461227b84611d49565b612283565b5060016122b2565b506001612268565b5f9250612251565b506001600160a01b0385165f9081526011602052604090206123029061219c565b61224c565b60b01c60ff1690505f612226565b600f805460ff60a01b1916600160a01b1790556123306129ad565b600f805460ff60a01b19169055612207565b506001600160a01b0382165f9081526011602052604090206123679061216f9061219c565b612202565b90505f6121fb565b612383915060a01c60ff161590565b5f6121f4565b8580612464575b156123d8576123a36009548611156120ae565b6123d36123c96123c28660018060a01b03165f525f60205260405f2090565b5487611d72565b600a541015612011565b6121d7565b818061243a575b156123f2576123d3600954861115612053565b6001600160a01b0384165f9081526010602052604090206124169061216f9061219c565b156123d3576123d36123c96123c28660018060a01b03165f525f60205260405f2090565b506001600160a01b0383165f90815260106020526040902061245f9061216f9061219c565b6123df565b506001600160a01b0384165f9081526010602052604090206124899061216f9061219c565b612390565b5060ff60a082901c16156121d2565b60405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b604482015280606481015b0390fd5b6005546001600160a01b03168083141593509183612511575b5082612506575b50505f8061217a565b141590505f806124fd565b30141592505f6124f6565b6005546001600160a01b0316330361253057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b67ffffffffffffffff8111611cf15760051b60200190565b6040516060919061259d8382611ccf565b6002815291601f1901366020840137565b8051156125bb5760200190565b634e487b7160e01b5f52603260045260245ffd5b8051600110156125bb5760400190565b60208183031261030f5780519067ffffffffffffffff821161030f57019080601f8301121561030f57815161261381612574565b926126216040519485611ccf565b81845260208085019260051b82010192831161030f57602001905b8282106126495750505090565b815181526020918201910161263c565b90602080835192838152019201905f5b8181106126765750505090565b82516001600160a01b0316845260209384019390920191600101612669565b6040906126ac939281528160208201520190612659565b90565b91926080936126d492979695978452602084015260a0604084015260a0830190612659565b6001600160a01b0390951660608201520152565b906126fd6126f68360011c90565b8093612118565b9282156129a75761270c61258c565b916127293061271a856125ae565b6001600160a01b039091169052565b612741612735846125cf565b6006602160991b019052565b5f918061299e575b6128f8575b507f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b031691479190612788858530611dfd565b833b1561030f576127b7935f928360405180978195829463791ac94760e01b8452429130918d600487016126af565b03925af19182156128f3576127d2926128d9575b5047612118565b80612830575b5050806127e25750565b61281a6128046127f76127fe6127f785611d49565b6064900490565b93611d49565b600b549092906001600160a01b03165b30612125565b600c5461226091906001600160a01b0316612814565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561916128cf61286d6127f76128676127f786611d49565b94611d49565b925f80808087612884600c5460018060a01b031690565b5af15061288f611d7f565b505f808080846128a6600b5460018060a01b031690565b5af1506128b1611d7f565b50604051938493846040919493926060820195825260208201520152565b0390a15f806127d8565b806128e75f6128ed93611ccf565b80611c45565b5f6127cb565b610919565b60405163d06ca61f60e01b81529091505f8180612919868860048401612695565b03817f0000000000000000000000004752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b03165afa9182156128f3576129706129696129769461227b945f9161297c575b506125cf565b5191612108565b90611d5f565b5f61274e565b61299891503d805f833e6129908183611ccf565b8101906125df565b5f612963565b50801515612749565b50505050565b305f525f602052612260600160405f20546129cd60065460075490611d5f565b8082116129df575b50600854906126e8565b90505f6129d5565b6001600160a01b0316906129fc821515611f01565b6001600160a01b031691612a11831515611f5b565b815f525f60205260405f2054818110612a6f57817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f525f825260405f20818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b91929015612b255750815115612ad7575090565b3b15612ae05790565b60405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b825190915015612b385750805190602001fd5b60405162461bcd60e51b81529081906124d99060048301611c4f56fea2646970667358221220b428cf42bfec8a9969845009d0a2c014a5665bd53d99d80264324963fe92f64164736f6c634300081c0033

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.