ETH Price: $3,327.96 (-0.97%)

Token

Coil (Coil)
 

Overview

Max Total Supply

1,000,000,000 Coil

Holders

551

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
58,200.000000000000100748 Coil

Value
$0.00
0xDeCCF3C9BfF291E2741eD6E9290E59103fEd55cC
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
Coil

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Coil.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";

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

    uint256 private _manPeriod = 24 * 60 * 60;
    uint256 public _levelUpdateTime = _manPeriod * 3 / 4;

    IUniswapV2Router02 private _uniswapV2Router;
    address private _uniswapV2Pair;
    mapping(address => bool) private _isBlacklisted;
    bool private _swappingBack;
    uint256 private _launchTime;

    uint256 public _initialPrice = 0;
    uint256 public _dipPeriod = 7;
    uint256 public hundredMinusDipPercent = 70;

    uint256 public _blockToInitLevelPrice = 1200;
    uint256 public _supportLevel;
    uint256 public _previousPeriod;
    bool public _hitLevel = false;
    uint256 public _taxFreeSeconds = 3600;
    uint256 public _taxFreePeriodEnd;

    address private _feeWallet;

    uint256 public _maxTransactionAmount;
    uint256 public _swapTokensAtAmount;
    uint256 public _maxWallet;

    bool public _limitsInEffect = true;
    bool public _tradingActive = false;
    bool public _isDipPeriod = false;
    bool public _isDipPeriodLevelUpdated = false;

    mapping(address => uint256) private _holderLastTransferTimestamp;

    uint256 public _totalFees;
    uint256 private _marketingFee;
    uint256 private _liquidityFee;
    uint256 private _additionalSellFee;

    uint256 private _tokensForMarketing;
    uint256 private _tokensForLiquidity;

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

    AggregatorV3Interface internal priceFeed;
    address public _oraclePriceFeed = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419;
    bool private _priceOracleEnabled = true;
    int private manualETHvalue = 1700 * 10 ** 18;

    event HitLevel();
    event UpdatedAllowableDip(uint256 hundredMinusDipPercent);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event FeeWalletUpdated(address indexed newWallet, address indexed oldWallet);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity);

    constructor() ERC20("Coil", "Coil") payable {
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        priceFeed = AggregatorV3Interface(_oraclePriceFeed);

        _previousPeriod = block.timestamp.div(_manPeriod);
        _supportLevel = 0;

        uint256 totalSupply = 1e9 * 1e18;

        _maxTransactionAmount = totalSupply * 2 / 100;
        _maxWallet = totalSupply * 2 / 100;
        _swapTokensAtAmount = totalSupply * 10 / 10000;

        _marketingFee = 2;
        _liquidityFee = 1;
        _additionalSellFee = 27;
        _totalFees = _marketingFee + _liquidityFee;

        _feeWallet = address(owner());

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

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

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

    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(!_isBlacklisted[from], "Your address has been marked as a sniper, you are unable to transfer or swap.");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
        bool isExcludeFromFee = _isExcludedFromFees[from] || _isExcludedFromFees[to];
        if (block.timestamp <= _launchTime && !isExcludeFromFee) _isBlacklisted[to] = true;

        bool isBuy = from == _uniswapV2Pair && !_isExcludedMaxTransactionAmount[to];
        bool isSell = to == _uniswapV2Pair && !_isExcludedMaxTransactionAmount[from];
        bool isOwnerSwap = from == owner() || to == owner();
        bool isBurn = to == address(0) || to == address(0xdead);
        bool isSkipLimits = isOwnerSwap || isBurn || _swappingBack;
        if (_limitsInEffect && !isSkipLimits) {
            if (_initialPrice == 0) {
                _initialPrice = this.getTokenPrice();
            }
            require(_tradingActive || isExcludeFromFee, "Trading is not active.");
            if (isBuy) {
                require(amount <= _maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                require(amount + balanceOf(to) <= _maxWallet, "Max wallet exceeded");
            } else if (isSell) {
                //require(amount <= _maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
            } else if (!_isExcludedMaxTransactionAmount[to] && !_isExcludedMaxTransactionAmount[from]) {
                require(amount + balanceOf(to) <= _maxWallet, "Max wallet exceeded");
            }
        }

        bool isSwap = isBuy || isSell;
        if (isSwap && !_swappingBack) {
            if (_supportLevel == 0) {
                initLevel();
            }
            calcLevel();
            if (isSell) {
                require(!_hitLevel, "cannot sell below previous closing price!");
                uint256 contractTokenBalance = balanceOf(address(this));
                bool canSwap = contractTokenBalance >= _swapTokensAtAmount;
                if (canSwap && !isExcludeFromFee) {
                    _swappingBack = true;
                    swapBack();
                    _swappingBack = false;
                }
            }
        }
        transferInternal(from, to, amount, isSell);
    }

    function initLevel() private {
        uint256 currentPrice = this.getTokenPrice();
        if (_launchTime + _blockToInitLevelPrice <= block.timestamp && currentPrice > _initialPrice) {
            updateSupportLevel(_initialPrice + (currentPrice - _initialPrice).mul(7).div(10));
        }
    }

    function calcLevel() private {
        uint256 currentPeriod = getPeriod();
        uint256 currentPrice = this.getTokenPrice();
        if (currentPeriod > _previousPeriod) {
            if (currentPeriod % _dipPeriod == 0 && !_isDipPeriod) {
                _isDipPeriod = true;
                updateSupportLevel(_initialPrice + (_supportLevel - _initialPrice).mul(hundredMinusDipPercent).div(100));
            }

            bool isGT6 = block.timestamp % _manPeriod >= _levelUpdateTime;
            if (currentPrice > _supportLevel && isGT6) {
                updateSupportLevel(currentPrice);
                updatePreviousPeriod(currentPeriod);
                _isDipPeriod = false;
            }
        }

        if (currentPrice <= _supportLevel) {
            if (block.timestamp > _taxFreePeriodEnd) {
                _taxFreePeriodEnd = block.timestamp.add(_taxFreeSeconds);
            }
            _hitLevel = true;
            emit HitLevel();
        } else {
            _hitLevel = false;
        }
    }

    function transferInternal(
        address from,
        address to,
        uint256 amount,
        bool isSell
    ) private {
        bool takeFee = needTakeFee(from, to);
        if (takeFee) {
            uint256 total = _totalFees;
            uint256 marketing = _marketingFee;
            if (isSell) {
                total = _totalFees + _additionalSellFee;
                marketing = _marketingFee + _additionalSellFee;
            }
            uint256 fees = amount.mul(total).div(100);
            _tokensForLiquidity += fees * _liquidityFee / total;
            _tokensForMarketing += fees * marketing / total;

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

    function needTakeFee(address from, address to) public view returns (bool) {
        bool isSell = to == _uniswapV2Pair;
        bool isBuy = from == _uniswapV2Pair && to != address(_uniswapV2Router);
        bool isSwap = isBuy || isSell;

        bool isExcludedFromFee = _isExcludedFromFees[from] || _isExcludedFromFees[to];
        bool isBuyAndHitLevel = isBuy && (block.timestamp < _taxFreePeriodEnd);
        bool isFeeSet = (_totalFees > 0);

        return isFeeSet && !_swappingBack && !isExcludedFromFee && !isBuyAndHitLevel && isSwap;
    }

    function getPeriod() private returns (uint256) {
        return block.timestamp.div(_manPeriod);
    }

    function enableTrading() public onlyOwner {
        _tradingActive = true;
        _launchTime = block.timestamp;
    }

    function removeLimits() external onlyOwner returns (bool) {
        _limitsInEffect = false;
        return true;
    }

    function getTokenPrice() external view returns (uint256) {
        IERC20Metadata token0 = IERC20Metadata(IUniswapV2Pair(_uniswapV2Pair).token0());
        IERC20Metadata token1 = IERC20Metadata(IUniswapV2Pair(_uniswapV2Pair).token1());
        (uint112 Res0, uint112 Res1,) = IUniswapV2Pair(_uniswapV2Pair).getReserves();
        int latestETHprice = manualETHvalue;
        if (_priceOracleEnabled) {
            (, latestETHprice,,,) = this.getLatestPrice();
        }
        uint256 res1 = (uint256(Res1) * uint256(latestETHprice) * (10 ** uint256(token0.decimals()))) / uint256(token1.decimals());
        return (res1 / uint256(Res0));
    }

    function getLatestPrice() external view returns (uint80, int, uint, uint, uint80) {
        (
        uint80 roundID,
        int price,
        uint startedAt,
        uint timeStamp,
        uint80 answeredInRound
        ) = priceFeed.latestRoundData();

        return (roundID, price, startedAt, timeStamp, answeredInRound);
    }


    function getSupportLevel() external view returns (uint256) {
        return _supportLevel;
    }

    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) {
        require(newAmount >= totalSupply() * 1 / 100000, "Swap amount cannot be lower than 0.001% total supply.");
        require(newAmount <= totalSupply() * 5 / 1000, "Swap amount cannot be higher than 0.5% total supply.");
        _swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 1 / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%");
        _maxTransactionAmount = newNum * 1e18;
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 5 / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%");
        _maxWallet = newNum * 1e18;
    }

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

    function updateFees(uint256 marketingFee, uint256 liquidityFee) external onlyOwner {
        _marketingFee = marketingFee;
        _liquidityFee = liquidityFee;
        _totalFees = _marketingFee + _liquidityFee;
        require(_totalFees <= 10, "Must keep fees at 10% or less");
    }

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

    function updateFeeWallet(address newWallet) external onlyOwner {
        emit FeeWalletUpdated(newWallet, _feeWallet);
        _feeWallet = newWallet;
    }

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

    function setBlacklisted(address[] memory blacklisted_) public onlyOwner {
        for (uint i = 0; i < blacklisted_.length; i++) {
            if (blacklisted_[i] != _uniswapV2Pair && blacklisted_[i] != address(_uniswapV2Router)) {
                _isBlacklisted[blacklisted_[i]] = false;
            }
        }
    }

    function delBlacklisted(address[] memory blacklisted_) public onlyOwner {
        for (uint i = 0; i < blacklisted_.length; i++) {
            _isBlacklisted[blacklisted_[i]] = false;
        }
    }

    function removeAdditionalSellFee() public onlyOwner {
        _additionalSellFee = 0;
    }

    function isSniper(address addr) public view returns (bool) {
        return _isBlacklisted[addr];
    }

    function updatePreviousPeriod(uint256 period) internal {
        _previousPeriod = period;
    }


    function updateSupportLevel(uint256 price) internal {
        _supportLevel = price;
    }

    function setSupportLevel(uint256 price) public onlyOwner {
        updateSupportLevel(price);
    }

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

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

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

    function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        _approve(address(this), address(_uniswapV2Router), tokenAmount);
        _uniswapV2Router.addLiquidityETH{value : ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            owner(),
            block.timestamp
        );
    }

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

        if (contractBalance == 0 || totalTokensToSwap == 0) return;
        if (contractBalance > _swapTokensAtAmount) {
            contractBalance = _swapTokensAtAmount;
        }
        uint256 liquidityTokens = contractBalance * _tokensForLiquidity / totalTokensToSwap / 2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        _swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
        uint256 ethForMarketing = ethBalance.mul(_tokensForMarketing).div(totalTokensToSwap);
        uint256 ethForLiquidity = ethBalance - ethForMarketing;


        _tokensForLiquidity = 0;
        _tokensForMarketing = 0;

        (bool success,) = address(_feeWallet).call{value : ethForMarketing}("");

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

    function setPeriod(uint256 period) external onlyOwner() {
        _manPeriod = period;
        _levelUpdateTime = _manPeriod * 3 / 4;
    }

    function setDipPeriod(uint256 dipPeriod) external onlyOwner() {
        _dipPeriod = dipPeriod;
    }

    function setLevelUpdateTime(uint256 levelUpdateTime) external onlyOwner() {
        _levelUpdateTime = levelUpdateTime;
    }

    function setManualETHvalue(uint256 val) external onlyOwner() {
        manualETHvalue = int(val.mul(10 ** 18));
    }

    function updateOraclePriceFeed(address feed) external onlyOwner() {
        _oraclePriceFeed = feed;
    }

    function setAllowableDip(uint256 _hundredMinusDipPercent) external onlyOwner() {
        require(_hundredMinusDipPercent <= 95, "percent must be less than or equal to 95");
        hundredMinusDipPercent = _hundredMinusDipPercent;
        emit UpdatedAllowableDip(hundredMinusDipPercent);
    }

    function enablePriceOracle() external onlyOwner() {
        require(_priceOracleEnabled == false, "price oracle already enabled");
        _priceOracleEnabled = true;
    }

    function disablePriceOracle() external onlyOwner() {
        require(_priceOracleEnabled == true, "price oracle already disabled");
        _priceOracleEnabled = false;
    }

    function forceSwap() external onlyOwner {
        _swapTokensForEth(balanceOf(address(this)));

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

    function forceSend() external onlyOwner {
        (bool success,) = address(_feeWallet).call{value : address(this).balance}("");
    }

    receive() external payable {}
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 4 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 7 of 12 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 8 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 9 of 12 : AggregatorV3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface AggregatorV3Interface {
  function decimals() external view returns (uint8);

  function description() external view returns (string memory);

  function version() external view returns (uint256);

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"HitLevel","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"hundredMinusDipPercent","type":"uint256"}],"name":"UpdatedAllowableDip","type":"event"},{"inputs":[],"name":"_blockToInitLevelPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_dipPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hitLevel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_initialPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isDipPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isDipPeriodLevelUpdated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_levelUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_oraclePriceFeed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_previousPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_supportLevel","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":"_taxFreePeriodEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFreeSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"blacklisted_","type":"address[]"}],"name":"delBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disablePriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint80","name":"","type":"uint80"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSupportLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hundredMinusDipPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"needTakeFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeAdditionalSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_hundredMinusDipPercent","type":"uint256"}],"name":"setAllowableDip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"blacklisted_","type":"address[]"}],"name":"setBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dipPeriod","type":"uint256"}],"name":"setDipPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"levelUpdateTime","type":"uint256"}],"name":"setLevelUpdateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setManualETHvalue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"}],"name":"setPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSupportLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feed","type":"address"}],"name":"updateOraclePriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405262015180600655600460065460036200001e919062000855565b6200002a919062000832565b60079081556000600d55600e556046600f556104b06010556013805460ff19169055610e10601455601a805463ffffffff19166001179055602580546001600160a81b03191674015f4ec3df9cbd43714fe2740f5e3616155c5b8419179055685c283d41039410000060265560408051808201825260048082526310dbda5b60e21b602080840182815285518087019096529285528401528151919291620000d59160039162000746565b508051620000eb90600490602084019062000746565b50505062000108620001026200047260201b60201c565b62000476565b600880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a015591600480820192602092909190829003018186803b1580156200016857600080fd5b505afa1580156200017d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a39190620007ec565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020157600080fd5b505afa15801562000216573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023c9190620007ec565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028557600080fd5b505af11580156200029a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c09190620007ec565b600980546001600160a01b0319166001600160a01b03928316179055600854620002ed91166001620004c8565b602554602480546001600160a01b039092166001600160a01b03199092169190911790556006546200032d90429062000542602090811b62001e1d17901c565b60125560006011556b033b2e3c9fd0803ce800000060646200035182600262000855565b6200035d919062000832565b60175560646200036f82600262000855565b6200037b919062000832565b6019556127106200038e82600a62000855565b6200039a919062000832565b6018556002601d8190556001601e819055601b601f55620003bb9162000817565b601c55600554601680546001600160a01b0319166001600160a01b039092169182179055620003ec90600162000557565b620003f930600162000557565b6200040861dead600162000557565b620004276200041f6005546001600160a01b031690565b6001620004c8565b62000434306001620004c8565b6200044361dead6001620004c8565b620004616200045a6005546001600160a01b031690565b8262000601565b6200046b620006e6565b50620008ca565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620005175760405162461bcd60e51b8152602060048201819052602482015260008051602062003f0183398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b600062000550828462000832565b9392505050565b6005546001600160a01b03163314620005a25760405162461bcd60e51b8152602060048201819052602482015260008051602062003f0183398151915260448201526064016200050e565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620006595760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200050e565b80600260008282546200066d919062000817565b90915550506001600160a01b038216600090815260208190526040812080548392906200069c90849062000817565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620007315760405162461bcd60e51b8152602060048201819052602482015260008051602062003f0183398151915260448201526064016200050e565b601a805461ff00191661010017905542600c55565b828054620007549062000877565b90600052602060002090601f016020900481019282620007785760008555620007c3565b82601f106200079357805160ff1916838001178555620007c3565b82800160010185558215620007c3579182015b82811115620007c3578251825591602001919060010190620007a6565b50620007d1929150620007d5565b5090565b5b80821115620007d15760008155600101620007d6565b600060208284031215620007ff57600080fd5b81516001600160a01b03811681146200055057600080fd5b600082198211156200082d576200082d620008b4565b500190565b6000826200085057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615620008725762000872620008b4565b500290565b600181811c908216806200088c57607f821691505b60208210811415620008ae57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61362780620008da6000396000f3fe6080604052600436106103b05760003560e01c80637571336a116101e7578063ae76b0901161010d578063dd1e1ca9116100a0578063f048f7191161006f578063f048f71914610aab578063f2fde38b14610ac1578063fea4fa4d14610ae1578063fefa5ce314610af757600080fd5b8063dd1e1ca914610a47578063dd62ed3e14610a5c578063df778d2614610a7c578063e73b90cd14610a9157600080fd5b8063c862c28b116100dc578063c862c28b146109dc578063cea0eafb146109f1578063d257b34f14610a11578063d96c171514610a3157600080fd5b8063ae76b09014610967578063c02466681461097c578063c18bc1951461099c578063c8125e45146109bc57600080fd5b80638e0608c31161018557806395d89b411161015457806395d89b41146108f2578063a1cd15e814610907578063a457c2d714610927578063a9059cbb1461094757600080fd5b80638e0608c31461085a5780638e15f4731461087057806393885af4146108bc5780639549535e146108dc57600080fd5b806382315956116101c157806382315956146107f057806388bad79e146108115780638a8c523c146108275780638da5cb5b1461083c57600080fd5b80637571336a146107a45780637ab36b53146107c457806382247ec0146107da57600080fd5b80632fd689e3116102d757806365d248811161026a57806370a082311161023957806370a0823114610724578063715018a61461075a578063741505b11461076f578063751039fc1461078f57600080fd5b806365d248811461068c57806366718524146106ac5780636d77ecd1146106cc5780636db794371461070457600080fd5b80634b7c012f116102a65780634b7c012f1461060e5780634b94f50e146106245780634fbee1931461063957806354e73e651461067257600080fd5b80632fd689e31461059c578063313ce567146105b257806337648337146105ce57806339509351146105ee57600080fd5b80630f3a9f651161034f578063203e727e1161031e578063203e727e1461051d57806323b872dd1461053d57806323bf4c861461055d57806327f4d7d51461057d57600080fd5b80630f3a9f65146104bd57806312b77e8a146104dd57806318160ddd146104f2578063182a8ca31461050757600080fd5b806306fdde031161038b57806306fdde0314610410578063095ea7b3146104325780630b559c6f146104625780630f3a325f1461048457600080fd5b8062be127d146103bc5780630336d860146103e557806304beaeb8146103fa57600080fd5b366103b757005b600080fd5b3480156103c857600080fd5b506103d2600f5481565b6040519081526020015b60405180910390f35b3480156103f157600080fd5b506011546103d2565b34801561040657600080fd5b506103d260175481565b34801561041c57600080fd5b50610425610b17565b6040516103dc919061324a565b34801561043e57600080fd5b5061045261044d36600461300d565b610ba9565b60405190151581526020016103dc565b34801561046e57600080fd5b5061048261047d366004613039565b610bc3565b005b34801561049057600080fd5b5061045261049f366004612f26565b6001600160a01b03166000908152600a602052604090205460ff1690565b3480156104c957600080fd5b506104826104d8366004613155565b610ce9565b3480156104e957600080fd5b50610482610d35565b3480156104fe57600080fd5b506002546103d2565b34801561051357600080fd5b506103d260125481565b34801561052957600080fd5b50610482610538366004613155565b610db7565b34801561054957600080fd5b50610452610558366004612f99565b610e94565b34801561056957600080fd5b50610482610578366004612f26565b610eb8565b34801561058957600080fd5b50601a5461045290610100900460ff1681565b3480156105a857600080fd5b506103d260185481565b3480156105be57600080fd5b50604051601281526020016103dc565b3480156105da57600080fd5b506104826105e9366004613155565b610f04565b3480156105fa57600080fd5b5061045261060936600461300d565b610f33565b34801561061a57600080fd5b506103d260145481565b34801561063057600080fd5b506103d2610f55565b34801561064557600080fd5b50610452610654366004612f26565b6001600160a01b031660009081526022602052604090205460ff1690565b34801561067e57600080fd5b506013546104529060ff1681565b34801561069857600080fd5b506104826106a7366004613155565b6112c5565b3480156106b857600080fd5b506104826106c7366004612f26565b6112fb565b3480156106d857600080fd5b506025546106ec906001600160a01b031681565b6040516001600160a01b0390911681526020016103dc565b34801561071057600080fd5b5061048261071f366004613187565b611382565b34801561073057600080fd5b506103d261073f366004612f26565b6001600160a01b031660009081526020819052604090205490565b34801561076657600080fd5b50610482611415565b34801561077b57600080fd5b50601a546104529062010000900460ff1681565b34801561079b57600080fd5b5061045261144b565b3480156107b057600080fd5b506104826107bf366004612fda565b611488565b3480156107d057600080fd5b506103d2600d5481565b3480156107e657600080fd5b506103d260195481565b3480156107fc57600080fd5b50601a54610452906301000000900460ff1681565b34801561081d57600080fd5b506103d260105481565b34801561083357600080fd5b506104826114dd565b34801561084857600080fd5b506005546001600160a01b03166106ec565b34801561086657600080fd5b506103d260155481565b34801561087c57600080fd5b5061088561151c565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a0016103dc565b3480156108c857600080fd5b506104826108d7366004613155565b6115c7565b3480156108e857600080fd5b506103d260115481565b3480156108fe57600080fd5b5061042561168e565b34801561091357600080fd5b50610452610922366004612f60565b61169d565b34801561093357600080fd5b5061045261094236600461300d565b611779565b34801561095357600080fd5b5061045261096236600461300d565b6117f4565b34801561097357600080fd5b50610482611802565b34801561098857600080fd5b50610482610997366004612fda565b611833565b3480156109a857600080fd5b506104826109b7366004613155565b6118bc565b3480156109c857600080fd5b506104826109d7366004613039565b61198d565b3480156109e857600080fd5b50610482611a1f565b3480156109fd57600080fd5b50610482610a0c366004613155565b611ab8565b348015610a1d57600080fd5b50610452610a2c366004613155565b611ae7565b348015610a3d57600080fd5b506103d2600e5481565b348015610a5357600080fd5b50610482611c3e565b348015610a6857600080fd5b506103d2610a77366004612f60565b611cd5565b348015610a8857600080fd5b50610482611d00565b348015610a9d57600080fd5b50601a546104529060ff1681565b348015610ab757600080fd5b506103d260075481565b348015610acd57600080fd5b50610482610adc366004612f26565b611d43565b348015610aed57600080fd5b506103d2601c5481565b348015610b0357600080fd5b50610482610b12366004613155565b611ddb565b606060038054610b269061351a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b529061351a565b8015610b9f5780601f10610b7457610100808354040283529160200191610b9f565b820191906000526020600020905b815481529060010190602001808311610b8257829003601f168201915b5050505050905090565b600033610bb7818585611e30565b60019150505b92915050565b6005546001600160a01b03163314610bf65760405162461bcd60e51b8152600401610bed906132e2565b60405180910390fd5b60005b8151811015610ce55760095482516001600160a01b0390911690839083908110610c2557610c256135b0565b60200260200101516001600160a01b031614158015610c76575060085482516001600160a01b0390911690839083908110610c6257610c626135b0565b60200260200101516001600160a01b031614155b15610cd3576000600a6000848481518110610c9357610c936135b0565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610cdd81613555565b915050610bf9565b5050565b6005546001600160a01b03163314610d135760405162461bcd60e51b8152600401610bed906132e2565b60068190556004610d258260036134e4565b610d2f91906133e5565b60075550565b6005546001600160a01b03163314610d5f5760405162461bcd60e51b8152600401610bed906132e2565b6016546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610dac576040519150601f19603f3d011682016040523d82523d6000602084013e610db1565b606091505b50505050565b6005546001600160a01b03163314610de15760405162461bcd60e51b8152600401610bed906132e2565b670de0b6b3a76400006103e8610df660025490565b610e019060016134e4565b610e0b91906133e5565b610e1591906133e5565b811015610e7c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610bed565b610e8e81670de0b6b3a76400006134e4565b60175550565b600033610ea2858285611f54565b610ead858585611fc8565b506001949350505050565b6005546001600160a01b03163314610ee25760405162461bcd60e51b8152600401610bed906132e2565b602580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610f2e5760405162461bcd60e51b8152600401610bed906132e2565b600755565b600033610bb7818585610f468383611cd5565b610f5091906133cd565b611e30565b600080600960009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610fa657600080fd5b505afa158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde9190612f43565b90506000600960009054906101000a90046001600160a01b03166001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561103057600080fd5b505afa158015611044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110689190612f43565b9050600080600960009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156110bb57600080fd5b505afa1580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f39190613105565b5060265460255492945090925090600160a01b900460ff161561118957306001600160a01b0316638e15f4736040518163ffffffff1660e01b815260040160a06040518083038186803b15801561114957600080fd5b505afa15801561115d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118191906131d7565b509193505050505b6000846001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156111c457600080fd5b505afa1580156111d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fc9190613227565b60ff16866001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561123857600080fd5b505afa15801561124c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112709190613227565b61127e9060ff16600a61343c565b611291846001600160701b0387166134e4565b61129b91906134e4565b6112a591906133e5565b90506112ba6001600160701b038516826133e5565b965050505050505090565b6005546001600160a01b031633146112ef5760405162461bcd60e51b8152600401610bed906132e2565b6112f881601155565b50565b6005546001600160a01b031633146113255760405162461bcd60e51b8152600401610bed906132e2565b6016546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3601680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113ac5760405162461bcd60e51b8152600401610bed906132e2565b601d829055601e8190556113c081836133cd565b601c819055600a1015610ce55760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610bed565b6005546001600160a01b0316331461143f5760405162461bcd60e51b8152600401610bed906132e2565b61144960006125d1565b565b6005546000906001600160a01b031633146114785760405162461bcd60e51b8152600401610bed906132e2565b50601a805460ff19169055600190565b6005546001600160a01b031633146114b25760405162461bcd60e51b8152600401610bed906132e2565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146115075760405162461bcd60e51b8152600401610bed906132e2565b601a805461ff00191661010017905542600c55565b600080600080600080600080600080602460009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561157957600080fd5b505afa15801561158d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b191906131d7565b939e929d50909b50995090975095505050505050565b6005546001600160a01b031633146115f15760405162461bcd60e51b8152600401610bed906132e2565b605f8111156116535760405162461bcd60e51b815260206004820152602860248201527f70657263656e74206d757374206265206c657373207468616e206f7220657175604482015267616c20746f20393560c01b6064820152608401610bed565b600f8190556040518181527fbad9fa33d53433fba11793ad88522e842126a87adb01cc77aa1639b3e4bcfe059060200160405180910390a150565b606060048054610b269061351a565b6009546000906001600160a01b0383811691811691821491839186161480156116d457506008546001600160a01b03858116911614155b9050600081806116e15750825b6001600160a01b0387166000908152602260205260408120549192509060ff168061172457506001600160a01b03861660009081526022602052604090205460ff165b90506000838015611736575060155442105b601c5490915015801590819061174f5750600b5460ff16155b8015611759575082155b8015611763575081155b801561176c5750835b9998505050505050505050565b600033816117878286611cd5565b9050838110156117e75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bed565b610ead8286868403611e30565b600033610bb7818585611fc8565b6005546001600160a01b0316331461182c5760405162461bcd60e51b8152600401610bed906132e2565b6000601f55565b6005546001600160a01b0316331461185d5760405162461bcd60e51b8152600401610bed906132e2565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146118e65760405162461bcd60e51b8152600401610bed906132e2565b670de0b6b3a76400006103e86118fb60025490565b6119069060056134e4565b61191091906133e5565b61191a91906133e5565b8110156119755760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610bed565b61198781670de0b6b3a76400006134e4565b60195550565b6005546001600160a01b031633146119b75760405162461bcd60e51b8152600401610bed906132e2565b60005b8151811015610ce5576000600a60008484815181106119db576119db6135b0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611a1781613555565b9150506119ba565b6005546001600160a01b03163314611a495760405162461bcd60e51b8152600401610bed906132e2565b602554600160a01b900460ff1615611aa35760405162461bcd60e51b815260206004820152601c60248201527f7072696365206f7261636c6520616c726561647920656e61626c6564000000006044820152606401610bed565b6025805460ff60a01b1916600160a01b179055565b6005546001600160a01b03163314611ae25760405162461bcd60e51b8152600401610bed906132e2565b600e55565b6005546000906001600160a01b03163314611b145760405162461bcd60e51b8152600401610bed906132e2565b620186a0611b2160025490565b611b2c9060016134e4565b611b3691906133e5565b821015611ba35760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610bed565b6103e8611baf60025490565b611bba9060056134e4565b611bc491906133e5565b821115611c305760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610bed565b50601881905560015b919050565b6005546001600160a01b03163314611c685760405162461bcd60e51b8152600401610bed906132e2565b602554600160a01b900460ff161515600114611cc65760405162461bcd60e51b815260206004820152601d60248201527f7072696365206f7261636c6520616c72656164792064697361626c65640000006044820152606401610bed565b6025805460ff60a01b19169055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611d2a5760405162461bcd60e51b8152600401610bed906132e2565b30600090815260208190526040902054610d5f90612623565b6005546001600160a01b03163314611d6d5760405162461bcd60e51b8152600401610bed906132e2565b6001600160a01b038116611dd25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bed565b6112f8816125d1565b6005546001600160a01b03163314611e055760405162461bcd60e51b8152600401610bed906132e2565b611e1781670de0b6b3a764000061278c565b60265550565b6000611e2982846133e5565b9392505050565b6001600160a01b038316611e925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bed565b6001600160a01b038216611ef35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bed565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611f608484611cd5565b90506000198114610db15781811015611fbb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bed565b610db18484848403611e30565b6001600160a01b038316611fee5760405162461bcd60e51b8152600401610bed90613317565b6001600160a01b0382166120145760405162461bcd60e51b8152600401610bed9061329f565b6001600160a01b0383166000908152600a602052604090205460ff16156120b95760405162461bcd60e51b815260206004820152604d60248201527f596f7572206164647265737320686173206265656e206d61726b65642061732060448201527f6120736e697065722c20796f752061726520756e61626c6520746f207472616e60648201526c39b332b91037b91039bbb0b81760991b608482015260a401610bed565b806120cf576120ca83836000612798565b505050565b6001600160a01b03831660009081526022602052604081205460ff168061210e57506001600160a01b03831660009081526022602052604090205460ff165b9050600c544211158015612120575080155b15612149576001600160a01b0383166000908152600a60205260409020805460ff191660011790555b6009546000906001600160a01b03868116911614801561218257506001600160a01b03841660009081526023602052604090205460ff16155b6009549091506000906001600160a01b0386811691161480156121be57506001600160a01b03861660009081526023602052604090205460ff16155b905060006121d46005546001600160a01b031690565b6001600160a01b0316876001600160a01b0316148061220057506005546001600160a01b038781169116145b905060006001600160a01b038716158061222457506001600160a01b03871661dead145b9050600082806122315750815b8061223e5750600b5460ff165b601a5490915060ff168015612251575080155b156124cb57600d546122d257306001600160a01b0316634b94f50e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561229657600080fd5b505afa1580156122aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ce919061316e565b600d555b601a54610100900460ff16806122e55750855b61232a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bed565b841561240f576017548711156123a05760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610bed565b6019546001600160a01b0389166000908152602081905260409020546123c690896133cd565b111561240a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bed565b6124cb565b831561241a576124cb565b6001600160a01b03881660009081526023602052604090205460ff1615801561245c57506001600160a01b03891660009081526023602052604090205460ff16155b156124cb576019546001600160a01b03891660009081526020819052604090205461248790896133cd565b11156124cb5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bed565b600085806124d65750845b90508080156124e85750600b5460ff16155b156125b9576011546124fc576124fc6128ec565b6125046129bf565b84156125b95760135460ff161561256f5760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f742073656c6c2062656c6f772070726576696f757320636c6f73696044820152686e672070726963652160b81b6064820152608401610bed565b3060009081526020819052604090205460185481108015908190612591575088155b156125b657600b805460ff191660011790556125ab612b5d565b600b805460ff191690555b50505b6125c58a8a8a88612cf3565b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612658576126586135b0565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156126ac57600080fd5b505afa1580156126c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e49190612f43565b816001815181106126f7576126f76135b0565b6001600160a01b03928316602091820292909201015260085461271d9130911684611e30565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac9479061275690859060009086903090429060040161335c565b600060405180830381600087803b15801561277057600080fd5b505af1158015612784573d6000803e3d6000fd5b505050505050565b6000611e2982846134e4565b6001600160a01b0383166127be5760405162461bcd60e51b8152600401610bed90613317565b6001600160a01b0382166127e45760405162461bcd60e51b8152600401610bed9061329f565b6001600160a01b0383166000908152602081905260409020548181101561285c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bed565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906128939084906133cd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128df91815260200190565b60405180910390a3610db1565b6000306001600160a01b0316634b94f50e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561292757600080fd5b505afa15801561293b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295f919061316e565b905042601054600c5461297291906133cd565b111580156129815750600d5481115b156112f8576112f86129ad600a6129a76007600d54866129a19190613503565b9061278c565b90611e1d565b600d546129ba91906133cd565b601155565b60006129c9612dd9565b90506000306001600160a01b0316634b94f50e6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a0657600080fd5b505afa158015612a1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3e919061316e565b9050601254821115612af057600e54612a579083613570565b158015612a6d5750601a5462010000900460ff16155b15612aa557601a805462ff0000191662010000179055600f54600d54601154612aa5926129ad926064926129a792916129a191613503565b600060075460065442612ab89190613570565b1015905060115482118015612aca5750805b15612aee57612ad882601155565b612ae183601255565b601a805462ff0000191690555b505b6011548111612b4f57601554421115612b1557601454612b11904290612df5565b6015555b6013805460ff191660011790556040517f6042d3a2ce9bcc277aaab1aad9c72f61800edd71d82dc6496cd52783c9d234cb90600090a15050565b6013805460ff191690555050565b3060009081526020819052604081205490506000602054602154612b8191906133cd565b9050811580612b8e575080155b15612b97575050565b601854821115612ba75760185491505b600060028260215485612bba91906134e4565b612bc491906133e5565b612bce91906133e5565b90506000612bdc8483612e01565b905047612be882612623565b6000612bf44783612e01565b90506000612c11866129a76020548561278c90919063ffffffff16565b90506000612c1f8284613503565b60006021819055602081905560165460405192935090916001600160a01b039091169084908381818185875af1925050503d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b50509050600087118015612c955750600082115b15612ce857612ca48783612e0d565b602154604080518881526020810185905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b6000612cff858561169d565b90508015612dc757601c54601d548315612d3857601f54601c54612d2391906133cd565b9150601f54601d54612d3591906133cd565b90505b6000612d4960646129a7888661278c565b905082601e5482612d5a91906134e4565b612d6491906133e5565b60216000828254612d7591906133cd565b90915550839050612d8683836134e4565b612d9091906133e5565b60206000828254612da191906133cd565b90915550508015612db757612db7883083612798565b612dc18187613503565b95505050505b612dd2858585612798565b5050505050565b6000612df060065442611e1d90919063ffffffff16565b905090565b6000611e2982846133cd565b6000611e298284613503565b600854612e259030906001600160a01b031684611e30565b6008546001600160a01b031663f305d719823085600080612e4e6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612eb157600080fd5b505af1158015612ec5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612dd291906131a9565b8035611c39816135dc565b80516001600160701b0381168114611c3957600080fd5b805169ffffffffffffffffffff81168114611c3957600080fd5b600060208284031215612f3857600080fd5b8135611e29816135dc565b600060208284031215612f5557600080fd5b8151611e29816135dc565b60008060408385031215612f7357600080fd5b8235612f7e816135dc565b91506020830135612f8e816135dc565b809150509250929050565b600080600060608486031215612fae57600080fd5b8335612fb9816135dc565b92506020840135612fc9816135dc565b929592945050506040919091013590565b60008060408385031215612fed57600080fd5b8235612ff8816135dc565b915060208301358015158114612f8e57600080fd5b6000806040838503121561302057600080fd5b823561302b816135dc565b946020939093013593505050565b6000602080838503121561304c57600080fd5b823567ffffffffffffffff8082111561306457600080fd5b818501915085601f83011261307857600080fd5b81358181111561308a5761308a6135c6565b8060051b604051601f19603f830116810181811085821117156130af576130af6135c6565b604052828152858101935084860182860187018a10156130ce57600080fd5b600095505b838610156130f8576130e481612eea565b8552600195909501949386019386016130d3565b5098975050505050505050565b60008060006060848603121561311a57600080fd5b61312384612ef5565b925061313160208501612ef5565b9150604084015163ffffffff8116811461314a57600080fd5b809150509250925092565b60006020828403121561316757600080fd5b5035919050565b60006020828403121561318057600080fd5b5051919050565b6000806040838503121561319a57600080fd5b50508035926020909101359150565b6000806000606084860312156131be57600080fd5b8351925060208401519150604084015190509250925092565b600080600080600060a086880312156131ef57600080fd5b6131f886612f0c565b945060208601519350604086015192506060860151915061321b60808701612f0c565b90509295509295909350565b60006020828403121561323957600080fd5b815160ff81168114611e2957600080fd5b600060208083528351808285015260005b818110156132775785810183015185820160400152820161325b565b81811115613289576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133ac5784516001600160a01b031683529383019391830191600101613387565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156133e0576133e0613584565b500190565b6000826133f4576133f461359a565b500490565b600181815b8085111561343457816000190482111561341a5761341a613584565b8085161561342757918102915b93841c93908002906133fe565b509250929050565b6000611e29838360008261345257506001610bbd565b8161345f57506000610bbd565b8160018114613475576002811461347f5761349b565b6001915050610bbd565b60ff84111561349057613490613584565b50506001821b610bbd565b5060208310610133831016604e8410600b84101617156134be575081810a610bbd565b6134c883836133f9565b80600019048211156134dc576134dc613584565b029392505050565b60008160001904831182151516156134fe576134fe613584565b500290565b60008282101561351557613515613584565b500390565b600181811c9082168061352e57607f821691505b6020821081141561354f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561356957613569613584565b5060010190565b60008261357f5761357f61359a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146112f857600080fdfea264697066735822122069d4a342236d7f07af384f6dddbdb059523ab502f0abbbce9787b587c145f18164736f6c634300080700334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106103b05760003560e01c80637571336a116101e7578063ae76b0901161010d578063dd1e1ca9116100a0578063f048f7191161006f578063f048f71914610aab578063f2fde38b14610ac1578063fea4fa4d14610ae1578063fefa5ce314610af757600080fd5b8063dd1e1ca914610a47578063dd62ed3e14610a5c578063df778d2614610a7c578063e73b90cd14610a9157600080fd5b8063c862c28b116100dc578063c862c28b146109dc578063cea0eafb146109f1578063d257b34f14610a11578063d96c171514610a3157600080fd5b8063ae76b09014610967578063c02466681461097c578063c18bc1951461099c578063c8125e45146109bc57600080fd5b80638e0608c31161018557806395d89b411161015457806395d89b41146108f2578063a1cd15e814610907578063a457c2d714610927578063a9059cbb1461094757600080fd5b80638e0608c31461085a5780638e15f4731461087057806393885af4146108bc5780639549535e146108dc57600080fd5b806382315956116101c157806382315956146107f057806388bad79e146108115780638a8c523c146108275780638da5cb5b1461083c57600080fd5b80637571336a146107a45780637ab36b53146107c457806382247ec0146107da57600080fd5b80632fd689e3116102d757806365d248811161026a57806370a082311161023957806370a0823114610724578063715018a61461075a578063741505b11461076f578063751039fc1461078f57600080fd5b806365d248811461068c57806366718524146106ac5780636d77ecd1146106cc5780636db794371461070457600080fd5b80634b7c012f116102a65780634b7c012f1461060e5780634b94f50e146106245780634fbee1931461063957806354e73e651461067257600080fd5b80632fd689e31461059c578063313ce567146105b257806337648337146105ce57806339509351146105ee57600080fd5b80630f3a9f651161034f578063203e727e1161031e578063203e727e1461051d57806323b872dd1461053d57806323bf4c861461055d57806327f4d7d51461057d57600080fd5b80630f3a9f65146104bd57806312b77e8a146104dd57806318160ddd146104f2578063182a8ca31461050757600080fd5b806306fdde031161038b57806306fdde0314610410578063095ea7b3146104325780630b559c6f146104625780630f3a325f1461048457600080fd5b8062be127d146103bc5780630336d860146103e557806304beaeb8146103fa57600080fd5b366103b757005b600080fd5b3480156103c857600080fd5b506103d2600f5481565b6040519081526020015b60405180910390f35b3480156103f157600080fd5b506011546103d2565b34801561040657600080fd5b506103d260175481565b34801561041c57600080fd5b50610425610b17565b6040516103dc919061324a565b34801561043e57600080fd5b5061045261044d36600461300d565b610ba9565b60405190151581526020016103dc565b34801561046e57600080fd5b5061048261047d366004613039565b610bc3565b005b34801561049057600080fd5b5061045261049f366004612f26565b6001600160a01b03166000908152600a602052604090205460ff1690565b3480156104c957600080fd5b506104826104d8366004613155565b610ce9565b3480156104e957600080fd5b50610482610d35565b3480156104fe57600080fd5b506002546103d2565b34801561051357600080fd5b506103d260125481565b34801561052957600080fd5b50610482610538366004613155565b610db7565b34801561054957600080fd5b50610452610558366004612f99565b610e94565b34801561056957600080fd5b50610482610578366004612f26565b610eb8565b34801561058957600080fd5b50601a5461045290610100900460ff1681565b3480156105a857600080fd5b506103d260185481565b3480156105be57600080fd5b50604051601281526020016103dc565b3480156105da57600080fd5b506104826105e9366004613155565b610f04565b3480156105fa57600080fd5b5061045261060936600461300d565b610f33565b34801561061a57600080fd5b506103d260145481565b34801561063057600080fd5b506103d2610f55565b34801561064557600080fd5b50610452610654366004612f26565b6001600160a01b031660009081526022602052604090205460ff1690565b34801561067e57600080fd5b506013546104529060ff1681565b34801561069857600080fd5b506104826106a7366004613155565b6112c5565b3480156106b857600080fd5b506104826106c7366004612f26565b6112fb565b3480156106d857600080fd5b506025546106ec906001600160a01b031681565b6040516001600160a01b0390911681526020016103dc565b34801561071057600080fd5b5061048261071f366004613187565b611382565b34801561073057600080fd5b506103d261073f366004612f26565b6001600160a01b031660009081526020819052604090205490565b34801561076657600080fd5b50610482611415565b34801561077b57600080fd5b50601a546104529062010000900460ff1681565b34801561079b57600080fd5b5061045261144b565b3480156107b057600080fd5b506104826107bf366004612fda565b611488565b3480156107d057600080fd5b506103d2600d5481565b3480156107e657600080fd5b506103d260195481565b3480156107fc57600080fd5b50601a54610452906301000000900460ff1681565b34801561081d57600080fd5b506103d260105481565b34801561083357600080fd5b506104826114dd565b34801561084857600080fd5b506005546001600160a01b03166106ec565b34801561086657600080fd5b506103d260155481565b34801561087c57600080fd5b5061088561151c565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a0016103dc565b3480156108c857600080fd5b506104826108d7366004613155565b6115c7565b3480156108e857600080fd5b506103d260115481565b3480156108fe57600080fd5b5061042561168e565b34801561091357600080fd5b50610452610922366004612f60565b61169d565b34801561093357600080fd5b5061045261094236600461300d565b611779565b34801561095357600080fd5b5061045261096236600461300d565b6117f4565b34801561097357600080fd5b50610482611802565b34801561098857600080fd5b50610482610997366004612fda565b611833565b3480156109a857600080fd5b506104826109b7366004613155565b6118bc565b3480156109c857600080fd5b506104826109d7366004613039565b61198d565b3480156109e857600080fd5b50610482611a1f565b3480156109fd57600080fd5b50610482610a0c366004613155565b611ab8565b348015610a1d57600080fd5b50610452610a2c366004613155565b611ae7565b348015610a3d57600080fd5b506103d2600e5481565b348015610a5357600080fd5b50610482611c3e565b348015610a6857600080fd5b506103d2610a77366004612f60565b611cd5565b348015610a8857600080fd5b50610482611d00565b348015610a9d57600080fd5b50601a546104529060ff1681565b348015610ab757600080fd5b506103d260075481565b348015610acd57600080fd5b50610482610adc366004612f26565b611d43565b348015610aed57600080fd5b506103d2601c5481565b348015610b0357600080fd5b50610482610b12366004613155565b611ddb565b606060038054610b269061351a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b529061351a565b8015610b9f5780601f10610b7457610100808354040283529160200191610b9f565b820191906000526020600020905b815481529060010190602001808311610b8257829003601f168201915b5050505050905090565b600033610bb7818585611e30565b60019150505b92915050565b6005546001600160a01b03163314610bf65760405162461bcd60e51b8152600401610bed906132e2565b60405180910390fd5b60005b8151811015610ce55760095482516001600160a01b0390911690839083908110610c2557610c256135b0565b60200260200101516001600160a01b031614158015610c76575060085482516001600160a01b0390911690839083908110610c6257610c626135b0565b60200260200101516001600160a01b031614155b15610cd3576000600a6000848481518110610c9357610c936135b0565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610cdd81613555565b915050610bf9565b5050565b6005546001600160a01b03163314610d135760405162461bcd60e51b8152600401610bed906132e2565b60068190556004610d258260036134e4565b610d2f91906133e5565b60075550565b6005546001600160a01b03163314610d5f5760405162461bcd60e51b8152600401610bed906132e2565b6016546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610dac576040519150601f19603f3d011682016040523d82523d6000602084013e610db1565b606091505b50505050565b6005546001600160a01b03163314610de15760405162461bcd60e51b8152600401610bed906132e2565b670de0b6b3a76400006103e8610df660025490565b610e019060016134e4565b610e0b91906133e5565b610e1591906133e5565b811015610e7c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610bed565b610e8e81670de0b6b3a76400006134e4565b60175550565b600033610ea2858285611f54565b610ead858585611fc8565b506001949350505050565b6005546001600160a01b03163314610ee25760405162461bcd60e51b8152600401610bed906132e2565b602580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610f2e5760405162461bcd60e51b8152600401610bed906132e2565b600755565b600033610bb7818585610f468383611cd5565b610f5091906133cd565b611e30565b600080600960009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015610fa657600080fd5b505afa158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde9190612f43565b90506000600960009054906101000a90046001600160a01b03166001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561103057600080fd5b505afa158015611044573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110689190612f43565b9050600080600960009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156110bb57600080fd5b505afa1580156110cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f39190613105565b5060265460255492945090925090600160a01b900460ff161561118957306001600160a01b0316638e15f4736040518163ffffffff1660e01b815260040160a06040518083038186803b15801561114957600080fd5b505afa15801561115d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118191906131d7565b509193505050505b6000846001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156111c457600080fd5b505afa1580156111d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fc9190613227565b60ff16866001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561123857600080fd5b505afa15801561124c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112709190613227565b61127e9060ff16600a61343c565b611291846001600160701b0387166134e4565b61129b91906134e4565b6112a591906133e5565b90506112ba6001600160701b038516826133e5565b965050505050505090565b6005546001600160a01b031633146112ef5760405162461bcd60e51b8152600401610bed906132e2565b6112f881601155565b50565b6005546001600160a01b031633146113255760405162461bcd60e51b8152600401610bed906132e2565b6016546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3601680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113ac5760405162461bcd60e51b8152600401610bed906132e2565b601d829055601e8190556113c081836133cd565b601c819055600a1015610ce55760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610bed565b6005546001600160a01b0316331461143f5760405162461bcd60e51b8152600401610bed906132e2565b61144960006125d1565b565b6005546000906001600160a01b031633146114785760405162461bcd60e51b8152600401610bed906132e2565b50601a805460ff19169055600190565b6005546001600160a01b031633146114b25760405162461bcd60e51b8152600401610bed906132e2565b6001600160a01b03919091166000908152602360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146115075760405162461bcd60e51b8152600401610bed906132e2565b601a805461ff00191661010017905542600c55565b600080600080600080600080600080602460009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561157957600080fd5b505afa15801561158d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b191906131d7565b939e929d50909b50995090975095505050505050565b6005546001600160a01b031633146115f15760405162461bcd60e51b8152600401610bed906132e2565b605f8111156116535760405162461bcd60e51b815260206004820152602860248201527f70657263656e74206d757374206265206c657373207468616e206f7220657175604482015267616c20746f20393560c01b6064820152608401610bed565b600f8190556040518181527fbad9fa33d53433fba11793ad88522e842126a87adb01cc77aa1639b3e4bcfe059060200160405180910390a150565b606060048054610b269061351a565b6009546000906001600160a01b0383811691811691821491839186161480156116d457506008546001600160a01b03858116911614155b9050600081806116e15750825b6001600160a01b0387166000908152602260205260408120549192509060ff168061172457506001600160a01b03861660009081526022602052604090205460ff165b90506000838015611736575060155442105b601c5490915015801590819061174f5750600b5460ff16155b8015611759575082155b8015611763575081155b801561176c5750835b9998505050505050505050565b600033816117878286611cd5565b9050838110156117e75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610bed565b610ead8286868403611e30565b600033610bb7818585611fc8565b6005546001600160a01b0316331461182c5760405162461bcd60e51b8152600401610bed906132e2565b6000601f55565b6005546001600160a01b0316331461185d5760405162461bcd60e51b8152600401610bed906132e2565b6001600160a01b038216600081815260226020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146118e65760405162461bcd60e51b8152600401610bed906132e2565b670de0b6b3a76400006103e86118fb60025490565b6119069060056134e4565b61191091906133e5565b61191a91906133e5565b8110156119755760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610bed565b61198781670de0b6b3a76400006134e4565b60195550565b6005546001600160a01b031633146119b75760405162461bcd60e51b8152600401610bed906132e2565b60005b8151811015610ce5576000600a60008484815181106119db576119db6135b0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611a1781613555565b9150506119ba565b6005546001600160a01b03163314611a495760405162461bcd60e51b8152600401610bed906132e2565b602554600160a01b900460ff1615611aa35760405162461bcd60e51b815260206004820152601c60248201527f7072696365206f7261636c6520616c726561647920656e61626c6564000000006044820152606401610bed565b6025805460ff60a01b1916600160a01b179055565b6005546001600160a01b03163314611ae25760405162461bcd60e51b8152600401610bed906132e2565b600e55565b6005546000906001600160a01b03163314611b145760405162461bcd60e51b8152600401610bed906132e2565b620186a0611b2160025490565b611b2c9060016134e4565b611b3691906133e5565b821015611ba35760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610bed565b6103e8611baf60025490565b611bba9060056134e4565b611bc491906133e5565b821115611c305760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610bed565b50601881905560015b919050565b6005546001600160a01b03163314611c685760405162461bcd60e51b8152600401610bed906132e2565b602554600160a01b900460ff161515600114611cc65760405162461bcd60e51b815260206004820152601d60248201527f7072696365206f7261636c6520616c72656164792064697361626c65640000006044820152606401610bed565b6025805460ff60a01b19169055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611d2a5760405162461bcd60e51b8152600401610bed906132e2565b30600090815260208190526040902054610d5f90612623565b6005546001600160a01b03163314611d6d5760405162461bcd60e51b8152600401610bed906132e2565b6001600160a01b038116611dd25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bed565b6112f8816125d1565b6005546001600160a01b03163314611e055760405162461bcd60e51b8152600401610bed906132e2565b611e1781670de0b6b3a764000061278c565b60265550565b6000611e2982846133e5565b9392505050565b6001600160a01b038316611e925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bed565b6001600160a01b038216611ef35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bed565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611f608484611cd5565b90506000198114610db15781811015611fbb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bed565b610db18484848403611e30565b6001600160a01b038316611fee5760405162461bcd60e51b8152600401610bed90613317565b6001600160a01b0382166120145760405162461bcd60e51b8152600401610bed9061329f565b6001600160a01b0383166000908152600a602052604090205460ff16156120b95760405162461bcd60e51b815260206004820152604d60248201527f596f7572206164647265737320686173206265656e206d61726b65642061732060448201527f6120736e697065722c20796f752061726520756e61626c6520746f207472616e60648201526c39b332b91037b91039bbb0b81760991b608482015260a401610bed565b806120cf576120ca83836000612798565b505050565b6001600160a01b03831660009081526022602052604081205460ff168061210e57506001600160a01b03831660009081526022602052604090205460ff165b9050600c544211158015612120575080155b15612149576001600160a01b0383166000908152600a60205260409020805460ff191660011790555b6009546000906001600160a01b03868116911614801561218257506001600160a01b03841660009081526023602052604090205460ff16155b6009549091506000906001600160a01b0386811691161480156121be57506001600160a01b03861660009081526023602052604090205460ff16155b905060006121d46005546001600160a01b031690565b6001600160a01b0316876001600160a01b0316148061220057506005546001600160a01b038781169116145b905060006001600160a01b038716158061222457506001600160a01b03871661dead145b9050600082806122315750815b8061223e5750600b5460ff165b601a5490915060ff168015612251575080155b156124cb57600d546122d257306001600160a01b0316634b94f50e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561229657600080fd5b505afa1580156122aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ce919061316e565b600d555b601a54610100900460ff16806122e55750855b61232a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610bed565b841561240f576017548711156123a05760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610bed565b6019546001600160a01b0389166000908152602081905260409020546123c690896133cd565b111561240a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bed565b6124cb565b831561241a576124cb565b6001600160a01b03881660009081526023602052604090205460ff1615801561245c57506001600160a01b03891660009081526023602052604090205460ff16155b156124cb576019546001600160a01b03891660009081526020819052604090205461248790896133cd565b11156124cb5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610bed565b600085806124d65750845b90508080156124e85750600b5460ff16155b156125b9576011546124fc576124fc6128ec565b6125046129bf565b84156125b95760135460ff161561256f5760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f742073656c6c2062656c6f772070726576696f757320636c6f73696044820152686e672070726963652160b81b6064820152608401610bed565b3060009081526020819052604090205460185481108015908190612591575088155b156125b657600b805460ff191660011790556125ab612b5d565b600b805460ff191690555b50505b6125c58a8a8a88612cf3565b50505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612658576126586135b0565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156126ac57600080fd5b505afa1580156126c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e49190612f43565b816001815181106126f7576126f76135b0565b6001600160a01b03928316602091820292909201015260085461271d9130911684611e30565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac9479061275690859060009086903090429060040161335c565b600060405180830381600087803b15801561277057600080fd5b505af1158015612784573d6000803e3d6000fd5b505050505050565b6000611e2982846134e4565b6001600160a01b0383166127be5760405162461bcd60e51b8152600401610bed90613317565b6001600160a01b0382166127e45760405162461bcd60e51b8152600401610bed9061329f565b6001600160a01b0383166000908152602081905260409020548181101561285c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bed565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906128939084906133cd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516128df91815260200190565b60405180910390a3610db1565b6000306001600160a01b0316634b94f50e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561292757600080fd5b505afa15801561293b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295f919061316e565b905042601054600c5461297291906133cd565b111580156129815750600d5481115b156112f8576112f86129ad600a6129a76007600d54866129a19190613503565b9061278c565b90611e1d565b600d546129ba91906133cd565b601155565b60006129c9612dd9565b90506000306001600160a01b0316634b94f50e6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a0657600080fd5b505afa158015612a1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3e919061316e565b9050601254821115612af057600e54612a579083613570565b158015612a6d5750601a5462010000900460ff16155b15612aa557601a805462ff0000191662010000179055600f54600d54601154612aa5926129ad926064926129a792916129a191613503565b600060075460065442612ab89190613570565b1015905060115482118015612aca5750805b15612aee57612ad882601155565b612ae183601255565b601a805462ff0000191690555b505b6011548111612b4f57601554421115612b1557601454612b11904290612df5565b6015555b6013805460ff191660011790556040517f6042d3a2ce9bcc277aaab1aad9c72f61800edd71d82dc6496cd52783c9d234cb90600090a15050565b6013805460ff191690555050565b3060009081526020819052604081205490506000602054602154612b8191906133cd565b9050811580612b8e575080155b15612b97575050565b601854821115612ba75760185491505b600060028260215485612bba91906134e4565b612bc491906133e5565b612bce91906133e5565b90506000612bdc8483612e01565b905047612be882612623565b6000612bf44783612e01565b90506000612c11866129a76020548561278c90919063ffffffff16565b90506000612c1f8284613503565b60006021819055602081905560165460405192935090916001600160a01b039091169084908381818185875af1925050503d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b50509050600087118015612c955750600082115b15612ce857612ca48783612e0d565b602154604080518881526020810185905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b505050505050505050565b6000612cff858561169d565b90508015612dc757601c54601d548315612d3857601f54601c54612d2391906133cd565b9150601f54601d54612d3591906133cd565b90505b6000612d4960646129a7888661278c565b905082601e5482612d5a91906134e4565b612d6491906133e5565b60216000828254612d7591906133cd565b90915550839050612d8683836134e4565b612d9091906133e5565b60206000828254612da191906133cd565b90915550508015612db757612db7883083612798565b612dc18187613503565b95505050505b612dd2858585612798565b5050505050565b6000612df060065442611e1d90919063ffffffff16565b905090565b6000611e2982846133cd565b6000611e298284613503565b600854612e259030906001600160a01b031684611e30565b6008546001600160a01b031663f305d719823085600080612e4e6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015612eb157600080fd5b505af1158015612ec5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612dd291906131a9565b8035611c39816135dc565b80516001600160701b0381168114611c3957600080fd5b805169ffffffffffffffffffff81168114611c3957600080fd5b600060208284031215612f3857600080fd5b8135611e29816135dc565b600060208284031215612f5557600080fd5b8151611e29816135dc565b60008060408385031215612f7357600080fd5b8235612f7e816135dc565b91506020830135612f8e816135dc565b809150509250929050565b600080600060608486031215612fae57600080fd5b8335612fb9816135dc565b92506020840135612fc9816135dc565b929592945050506040919091013590565b60008060408385031215612fed57600080fd5b8235612ff8816135dc565b915060208301358015158114612f8e57600080fd5b6000806040838503121561302057600080fd5b823561302b816135dc565b946020939093013593505050565b6000602080838503121561304c57600080fd5b823567ffffffffffffffff8082111561306457600080fd5b818501915085601f83011261307857600080fd5b81358181111561308a5761308a6135c6565b8060051b604051601f19603f830116810181811085821117156130af576130af6135c6565b604052828152858101935084860182860187018a10156130ce57600080fd5b600095505b838610156130f8576130e481612eea565b8552600195909501949386019386016130d3565b5098975050505050505050565b60008060006060848603121561311a57600080fd5b61312384612ef5565b925061313160208501612ef5565b9150604084015163ffffffff8116811461314a57600080fd5b809150509250925092565b60006020828403121561316757600080fd5b5035919050565b60006020828403121561318057600080fd5b5051919050565b6000806040838503121561319a57600080fd5b50508035926020909101359150565b6000806000606084860312156131be57600080fd5b8351925060208401519150604084015190509250925092565b600080600080600060a086880312156131ef57600080fd5b6131f886612f0c565b945060208601519350604086015192506060860151915061321b60808701612f0c565b90509295509295909350565b60006020828403121561323957600080fd5b815160ff81168114611e2957600080fd5b600060208083528351808285015260005b818110156132775785810183015185820160400152820161325b565b81811115613289576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156133ac5784516001600160a01b031683529383019391830191600101613387565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156133e0576133e0613584565b500190565b6000826133f4576133f461359a565b500490565b600181815b8085111561343457816000190482111561341a5761341a613584565b8085161561342757918102915b93841c93908002906133fe565b509250929050565b6000611e29838360008261345257506001610bbd565b8161345f57506000610bbd565b8160018114613475576002811461347f5761349b565b6001915050610bbd565b60ff84111561349057613490613584565b50506001821b610bbd565b5060208310610133831016604e8410600b84101617156134be575081810a610bbd565b6134c883836133f9565b80600019048211156134dc576134dc613584565b029392505050565b60008160001904831182151516156134fe576134fe613584565b500290565b60008282101561351557613515613584565b500390565b600181811c9082168061352e57607f821691505b6020821081141561354f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561356957613569613584565b5060010190565b60008261357f5761357f61359a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146112f857600080fdfea264697066735822122069d4a342236d7f07af384f6dddbdb059523ab502f0abbbce9787b587c145f18164736f6c63430008070033

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.