ETH Price: $3,386.74 (+1.42%)

Token

Retroverse (RETRO)
 

Overview

Max Total Supply

1,000,000,000 RETRO

Holders

158

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,789,138.58659763546652086 RETRO

Value
$0.00
0x90fa9158a8ca22387d8ac39fb8f84a3124aedfb0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
RETRO

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 13 : RETRO.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.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 "./interfaces/IWhitelist.sol";
import "./interfaces/IReflectable.sol";

contract RETRO is ERC20, Ownable, IReflectable {
    using SafeMath for uint256;

    modifier lockSwap() {
        _inSwap = true;
        _;
        _inSwap = false;
    }

    modifier liquidityAdd() {
        _inLiquidityAdd = true;
        _;
        _inLiquidityAdd = false;
    }

    uint256 public constant MAX_SUPPLY = 1_000_000_000 ether;
    uint256 public constant BPS_DENOMINATOR = 10_000;

    /// @notice Max buy amount in wei
    uint256 public buyLimit;
    /// @notice Cooldown in seconds
    uint256 public cooldown = 60;

    /// @notice Buy tax0 in BPS
    uint256 public buyTax0 = 1300;
    /// @notice Sell tax0 in BPS
    uint256 public sellTax0 = 2300;
    /// @notice Buy tax1 in BPS
    uint256 public buyTax1 = 100;
    /// @notice Sell tax1 in BPS
    uint256 public sellTax1 = 100;
    /// @notice Buy tax2 in BPS
    uint256 public buyTax2 = 100;
    /// @notice Sell tax2 in BPS
    uint256 public sellTax2 = 100;
    /// @notice Buy reflection tax in BPS
    uint256 public buyReflectionTax = 0;
    /// @notice Sell reflection tax in BPS
    uint256 public sellReflectionTax = 0;

    /// @notice Contract RETRO balance threshold before `_swap` is invoked
    uint256 public minTokenBalance = 1000 ether;
    bool public swapFees = true;

    /// @notice tokens that are allocated for tax0 tax
    uint256 public totalTax0;
    /// @notice tokens that are allocated for tax1 tax
    uint256 public totalTax1;
    /// @notice tokens that are allocated for tax2 tax
    uint256 public totalTax2;

    /// @notice Counter for all reflections collected
    uint256 public reflectionBasis;
    /// @notice Mapping of each user's last reflection basis
    mapping(address => uint256) public lastReflectionBasis;
    /// @notice Mapping of each user's owed reflections
    mapping(address => uint256) public override reflectionOwed;

    /// @notice address that tax0 is sent to
    address payable public tax0Wallet;
    /// @notice address that tax1 is sent to
    address payable public tax1Wallet;
    /// @notice address that tax2 is sent to
    address payable public tax2Wallet;

    uint256 internal _totalSupply = 0;
    IUniswapV2Router02 internal _router = IUniswapV2Router02(address(0));
    address internal _pair;
    bool internal _inSwap = false;
    bool internal _inLiquidityAdd = false;
    bool public tradingActive = false;

    IWhitelist public whitelist;

    mapping(address => uint256) private _balances;
    mapping(address => bool) public taxExcluded;
    mapping(address => uint256) public lastBuy;

    event Tax0WalletChanged(address previousWallet, address nextWallet);
    event Tax1WalletChanged(address previousWallet, address nextWallet);
    event Tax2WalletChanged(address previousWallet, address nextWallet);
    event BuyTax0Changed(uint256 previousTax, uint256 nextTax);
    event SellTax0Changed(uint256 previousTax, uint256 nextTax);
    event BuyTax1Changed(uint256 previousTax, uint256 nextTax);
    event SellTax1Changed(uint256 previousTax, uint256 nextTax);
    event BuyTax2Changed(uint256 previousTax, uint256 nextTax);
    event SellTax2Changed(uint256 previousTax, uint256 nextTax);
    event BuyReflectionTaxChanged(uint256 previousTax, uint256 nextTax);
    event SellReflectionTaxChanged(uint256 previousTax, uint256 nextTax);
    event MinTokenBalanceChanged(uint256 previousMin, uint256 nextMin);
    event Tax0Rescued(uint256 amount);
    event Tax1Rescued(uint256 amount);
    event Tax2Rescued(uint256 amount);
    event TradingActiveChanged(bool enabled);
    event TaxExclusionChanged(address user, bool taxExcluded);
    event BuyLimitChanged(uint256 previousMax, uint256 nextMax);
    event SwapFeesChanged(bool enabled);
    event CooldownChanged(uint256 previousCooldown, uint256 nextCooldown);
    event WhitelistChanged(address previousWhitelist, address nextWhitelist);

    constructor(
        address _uniswapFactory,
        address _uniswapRouter,
        uint256 _buyLimit,
        address payable _tax0Wallet,
        address payable _tax1Wallet,
        address payable _tax2Wallet
    ) ERC20("Retroverse", "RETRO") Ownable() {
        taxExcluded[owner()] = true;
        taxExcluded[address(0)] = true;
        taxExcluded[_tax0Wallet] = true;
        taxExcluded[_tax1Wallet] = true;
        taxExcluded[_tax2Wallet] = true;
        taxExcluded[address(this)] = true;

        buyLimit = _buyLimit;
        tax0Wallet = _tax0Wallet;
        tax1Wallet = _tax1Wallet;
        tax2Wallet = _tax2Wallet;

        _router = IUniswapV2Router02(_uniswapRouter);
        IUniswapV2Factory uniswapContract = IUniswapV2Factory(_uniswapFactory);
        _pair = uniswapContract.createPair(address(this), _router.WETH());
    }

    /// @notice Change the address of the tax0 wallet
    /// @param _tax0Wallet The new address of the tax0 wallet
    function setTax0Wallet(address payable _tax0Wallet) external onlyOwner {
        emit Tax0WalletChanged(tax0Wallet, _tax0Wallet);
        tax0Wallet = _tax0Wallet;
    }

    /// @notice Change the address of the tax1 wallet
    /// @param _tax1Wallet The new address of the tax1 wallet
    function setTax1Wallet(address payable _tax1Wallet) external onlyOwner {
        emit Tax1WalletChanged(tax1Wallet, _tax1Wallet);
        tax1Wallet = _tax1Wallet;
    }

    /// @notice Change the address of the tax2 wallet
    /// @param _tax2Wallet The new address of the tax2 wallet
    function setTax2Wallet(address payable _tax2Wallet) external onlyOwner {
        emit Tax2WalletChanged(tax2Wallet, _tax2Wallet);
        tax2Wallet = _tax2Wallet;
    }

    /// @notice Change the buy tax0 rate
    /// @param _buyTax0 The new buy tax0 rate
    function setBuyTax0(uint256 _buyTax0) external onlyOwner {
        require(
            _buyTax0 <= BPS_DENOMINATOR,
            "_buyTax0 cannot exceed BPS_DENOMINATOR"
        );
        emit BuyTax0Changed(buyTax0, _buyTax0);
        buyTax0 = _buyTax0;
    }

    /// @notice Change the sell tax0 rate
    /// @param _sellTax0 The new sell tax0 rate
    function setSellTax0(uint256 _sellTax0) external onlyOwner {
        require(
            _sellTax0 <= BPS_DENOMINATOR,
            "_sellTax0 cannot exceed BPS_DENOMINATOR"
        );
        emit SellTax0Changed(sellTax0, _sellTax0);
        sellTax0 = _sellTax0;
    }

    /// @notice Change the buy tax1 rate
    /// @param _buyTax1 The new buy tax1 rate
    function setBuyTax1(uint256 _buyTax1) external onlyOwner {
        require(
            _buyTax1 <= BPS_DENOMINATOR,
            "_buyTax1 cannot exceed BPS_DENOMINATOR"
        );
        emit BuyTax1Changed(buyTax1, _buyTax1);
        buyTax1 = _buyTax1;
    }

    /// @notice Change the sell tax1 rate
    /// @param _sellTax1 The new sell tax1 rate
    function setSellTax1(uint256 _sellTax1) external onlyOwner {
        require(
            _sellTax1 <= BPS_DENOMINATOR,
            "_sellTax1 cannot exceed BPS_DENOMINATOR"
        );
        emit SellTax1Changed(sellTax1, _sellTax1);
        sellTax1 = _sellTax1;
    }

    /// @notice Change the buy tax2 rate
    /// @param _buyTax2 The new buy tax2 rate
    function setBuyTax2(uint256 _buyTax2) external onlyOwner {
        require(
            _buyTax2 <= BPS_DENOMINATOR,
            "_buyTax2 cannot exceed BPS_DENOMINATOR"
        );
        emit BuyTax2Changed(buyTax2, _buyTax2);
        buyTax2 = _buyTax2;
    }

    /// @notice Change the sell tax2 rate
    /// @param _sellTax2 The new sell tax2 rate
    function setSellTax2(uint256 _sellTax2) external onlyOwner {
        require(
            _sellTax2 <= BPS_DENOMINATOR,
            "_sellTax2 cannot exceed BPS_DENOMINATOR"
        );
        emit SellTax2Changed(sellTax2, _sellTax2);
        sellTax2 = _sellTax2;
    }

    /// @notice Change the buy reflection rate
    /// @param _buyReflectionTax The new buy reflection tax rate
    function setBuyReflectionTax(uint256 _buyReflectionTax) external onlyOwner {
        require(
            _buyReflectionTax <= BPS_DENOMINATOR,
            "_buyReflectionTax cannot exceed BPS_DENOMINATOR"
        );
        emit BuyReflectionTaxChanged(buyReflectionTax, _buyReflectionTax);
        buyReflectionTax = _buyReflectionTax;
    }

    /// @notice Change the sell reflection rate
    /// @param _sellReflectionTax The new sell reflection tax rate
    function setSellReflectionTax(uint256 _sellReflectionTax)
        external
        onlyOwner
    {
        require(
            _sellReflectionTax <= BPS_DENOMINATOR,
            "_sellReflectionTax cannot exceed BPS_DENOMINATOR"
        );
        emit SellReflectionTaxChanged(sellReflectionTax, _sellReflectionTax);
        sellReflectionTax = _sellReflectionTax;
    }

    /// @notice Change the minimum contract RETRO balance before `_swap` gets invoked
    /// @param _minTokenBalance The new minimum balance
    function setMinTokenBalance(uint256 _minTokenBalance) external onlyOwner {
        emit MinTokenBalanceChanged(minTokenBalance, _minTokenBalance);
        minTokenBalance = _minTokenBalance;
    }

    /// @notice Change the cooldown for buys
    /// @param _cooldown The new cooldown in seconds
    function setCooldown(uint256 _cooldown) external onlyOwner {
        emit CooldownChanged(cooldown, _cooldown);
        cooldown = _cooldown;
    }

    /// @notice Change the whitelist
    /// @param _whitelist The new whitelist contract
    function setWhitelist(IWhitelist _whitelist) external onlyOwner {
        emit WhitelistChanged(address(whitelist), address(_whitelist));
        whitelist = _whitelist;
    }

    /// @notice Rescue RETRO from the tax0 amount
    /// @dev Should only be used in an emergency
    /// @param _amount The amount of RETRO to rescue
    /// @param _recipient The recipient of the rescued RETRO
    function rescueTax0Tokens(uint256 _amount, address _recipient)
        external
        onlyOwner
    {
        require(
            _amount <= totalTax0,
            "Amount cannot be greater than totalTax0"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit Tax0Rescued(_amount);
        totalTax0 -= _amount;
    }

    /// @notice Rescue RETRO from the tax1 amount
    /// @dev Should only be used in an emergency
    /// @param _amount The amount of RETRO to rescue
    /// @param _recipient The recipient of the rescued RETRO
    function rescueTax1Tokens(uint256 _amount, address _recipient)
        external
        onlyOwner
    {
        require(
            _amount <= totalTax1,
            "Amount cannot be greater than totalTax1"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit Tax1Rescued(_amount);
        totalTax1 -= _amount;
    }

    /// @notice Rescue RETRO from the tax2 amount
    /// @dev Should only be used in an emergency
    /// @param _amount The amount of RETRO to rescue
    /// @param _recipient The recipient of the rescued RETRO
    function rescueTax2Tokens(uint256 _amount, address _recipient)
        external
        onlyOwner
    {
        require(
            _amount <= totalTax2,
            "Amount cannot be greater than totalTax2"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit Tax2Rescued(_amount);
        totalTax2 -= _amount;
    }

    function addLiquidity(uint256 tokens)
        external
        payable
        onlyOwner
        liquidityAdd
    {
        _mint(address(this), tokens);
        _approve(address(this), address(_router), tokens);

        _router.addLiquidityETH{value: msg.value}(
            address(this),
            tokens,
            0,
            0,
            owner(),
            // solhint-disable-next-line not-rely-on-time
            block.timestamp
        );
    }

    /// @notice Enables or disables trading on Uniswap
    function setTradingActive(bool _tradingActive) external onlyOwner {
        tradingActive = _tradingActive;
        emit TradingActiveChanged(_tradingActive);
    }

    /// @notice Updates tax exclusion status
    /// @param _account Account to update the tax exclusion status of
    /// @param _taxExcluded If true, exclude taxes for this user
    function setTaxExcluded(address _account, bool _taxExcluded)
        public
        onlyOwner
    {
        taxExcluded[_account] = _taxExcluded;
        emit TaxExclusionChanged(_account, _taxExcluded);
    }

    /// @notice Updates the max amount allowed to buy
    /// @param _buyLimit The new buy limit
    function setBuyLimit(uint256 _buyLimit) external onlyOwner {
        emit BuyLimitChanged(buyLimit, _buyLimit);
        buyLimit = _buyLimit;
    }

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

    function _addBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] + amount;
    }

    function _subtractBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] - amount;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        if (taxExcluded[sender] || taxExcluded[recipient]) {
            _rawTransfer(sender, recipient, amount);
            return;
        }

        uint256 swapAmount = totalTax0.add(totalTax1).add(totalTax2);
        bool overMinTokenBalance = swapAmount >= minTokenBalance;

        if (overMinTokenBalance && !_inSwap && sender != _pair && swapFees) {
            _swap(swapAmount);
        }

        updateReflection(sender);
        updateReflection(recipient);

        uint256 send = amount;
        uint256 tax0;
        uint256 tax1;
        uint256 tax2;
        uint256 reflectionTax;
        if (sender == _pair) {
            if (address(whitelist) != address(0)) {
                require(
                    whitelist.isWhitelisted(recipient),
                    "User is not whitelisted to buy"
                );
            }
            require(tradingActive, "Trading is not yet active");
            require(amount <= buyLimit, "Buy limit exceeded");
            if (cooldown > 0) {
                require(
                    lastBuy[recipient] + cooldown <= block.timestamp,
                    "Cooldown still active"
                );
                lastBuy[recipient] = block.timestamp;
            }
            (send, tax0, tax1, tax2, reflectionTax) = _getTaxAmounts(
                amount,
                true
            );
        } else if (recipient == _pair) {
            require(tradingActive, "Trading is not yet active");
            if (address(whitelist) != address(0)) {
                require(
                    whitelist.isWhitelisted(sender),
                    "User is not whitelisted to sell"
                );
            }
            (send, tax0, tax1, tax2, reflectionTax) = _getTaxAmounts(
                amount,
                false
            );
        }
        _rawTransfer(sender, recipient, send);
        _takeTaxes(sender, tax0, tax1, tax2, reflectionTax);
    }

    /// @notice Perform a Uniswap v2 swap from RETRO to ETH and handle tax distribution
    /// @param amount The amount of RETRO to swap in wei
    /// @dev `amount` is always <= this contract's ETH balance. Calculate and distribute taxes
    function _swap(uint256 amount) internal lockSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();

        _approve(address(this), address(_router), amount);

        uint256 contractEthBalance = address(this).balance;

        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 tradeValue = address(this).balance - contractEthBalance;

        uint256 totalTaxes = totalTax0.add(totalTax1).add(totalTax2);
        uint256 tax0Amount = amount.mul(totalTax0).div(totalTaxes);
        uint256 tax1Amount = amount.mul(totalTax1).div(totalTaxes);
        uint256 tax2Amount = amount.mul(totalTax2).div(totalTaxes);

        uint256 tax0Eth = tradeValue.mul(totalTax0).div(totalTaxes);
        uint256 tax1Eth = tradeValue.mul(totalTax1).div(totalTaxes);
        uint256 tax2Eth = tradeValue.mul(totalTax2).div(totalTaxes);

        totalTax0 = totalTax0.sub(tax0Amount);
        totalTax1 = totalTax1.sub(tax1Amount);
        totalTax2 = totalTax2.sub(tax2Amount);
        if (tax0Eth > 0) {
            tax0Wallet.transfer(tax0Eth);
        }
        if (tax1Eth > 0) {
            tax1Wallet.transfer(tax1Eth);
        }
        if (tax2Eth > 0) {
            tax2Wallet.transfer(tax2Eth);
        }
    }

    function swapAll() external {
        uint256 swapAmount = totalTax0.add(totalTax1).add(totalTax2);

        if (!_inSwap) {
            _swap(swapAmount);
        }
    }

    function withdrawAll() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /// @notice Transfers RETRO from an account to this contract for taxes
    /// @param _account The account to transfer RETRO from
    /// @param _tax0Amount The amount of tax0 tax to transfer
    /// @param _tax1Amount The amount of tax1 tax to transfer
    /// @param _reflectionTaxAmount The amount of reflection tax to transfer
    function _takeTaxes(
        address _account,
        uint256 _tax0Amount,
        uint256 _tax1Amount,
        uint256 _tax2Amount,
        uint256 _reflectionTaxAmount
    ) internal {
        require(_account != address(0), "taxation from the zero address");

        uint256 totalAmount = _tax0Amount.add(_tax1Amount).add(_tax2Amount).add(
            _reflectionTaxAmount
        );
        _rawTransfer(_account, address(this), totalAmount);
        totalTax0 += _tax0Amount;
        totalTax1 += _tax1Amount;
        totalTax2 += _tax2Amount;
        reflectionBasis += _reflectionTaxAmount;
    }

    /// @notice Get a breakdown of send and tax amounts
    /// @param amount The amount to tax in wei
    /// @return send The raw amount to send
    /// @return tax0 The raw tax0 tax amount
    /// @return tax1 The raw tax1 tax amount
    /// @return tax2 The raw tax1 tax amount
    /// @return reflectionTax The raw tax1 tax amount
    function _getTaxAmounts(uint256 amount, bool buying)
        internal
        view
        returns (
            uint256 send,
            uint256 tax0,
            uint256 tax1,
            uint256 tax2,
            uint256 reflectionTax
        )
    {
        if (buying) {
            tax0 = amount.mul(buyTax0).div(BPS_DENOMINATOR);
            tax1 = amount.mul(buyTax1).div(BPS_DENOMINATOR);
            tax2 = amount.mul(buyTax2).div(BPS_DENOMINATOR);
            reflectionTax = amount.mul(buyReflectionTax).div(BPS_DENOMINATOR);
        } else {
            tax0 = amount.mul(sellTax0).div(BPS_DENOMINATOR);
            tax1 = amount.mul(sellTax1).div(BPS_DENOMINATOR);
            tax2 = amount.mul(sellTax2).div(BPS_DENOMINATOR);
            reflectionTax = amount.mul(sellReflectionTax).div(BPS_DENOMINATOR);
        }
        send = amount.sub(tax0).sub(tax1).sub(tax2).sub(reflectionTax);
    }

    // modified from OpenZeppelin ERC20
    function _rawTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), "transfer from the zero address");
        require(recipient != address(0), "transfer to the zero address");

        uint256 senderBalance = balanceOf(sender);
        require(senderBalance >= amount, "transfer amount exceeds balance");
        unchecked {
            _subtractBalance(sender, amount);
        }
        _addBalance(recipient, amount);

        emit Transfer(sender, recipient, amount);
    }

    /// @notice Enable or disable whether swap occurs during `_transfer`
    /// @param _swapFees If true, enables swap during `_transfer`
    function setSwapFees(bool _swapFees) external onlyOwner {
        swapFees = _swapFees;
        emit SwapFeesChanged(_swapFees);
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function _mint(address account, uint256 amount) internal override {
        require(_totalSupply.add(amount) <= MAX_SUPPLY, "Max supply exceeded");
        _totalSupply += amount;
        _addBalance(account, amount);
        emit Transfer(address(0), account, amount);
    }

    function mint(address account, uint256 amount) external onlyOwner {
        _mint(account, amount);
    }

    function airdrop(address[] memory accounts, uint256[] memory amounts)
        external
        onlyOwner
    {
        require(accounts.length == amounts.length, "array lengths must match");

        for (uint256 i = 0; i < accounts.length; i++) {
            _mint(accounts[i], amounts[i]);
        }
    }

    /// @notice Update the amount of owed reflections for a user
    /// @param addr The address to update the reflections for
    function updateReflection(address addr) public override {
        if (addr == _pair || addr == address(_router)) return;

        uint256 basisDifference = reflectionBasis.sub(
            lastReflectionBasis[addr]
        );
        reflectionOwed[addr] += basisDifference.mul(balanceOf(addr)).div(
            _totalSupply
        );

        lastReflectionBasis[addr] = reflectionBasis;
    }

    /// @notice Claim all owed reflections
    function claimReflection() public override {
        updateReflection(msg.sender);
        _rawTransfer(address(this), msg.sender, reflectionOwed[msg.sender]);
        reflectionOwed[msg.sender] = 0;
    }

    receive() external payable {}
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT

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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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 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 4 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

File 5 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 13 : 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 12 of 13 : IReflectable.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

interface IReflectable {
    function reflectionOwed(address user) external view returns (uint256);

    function updateReflection(address user) external;

    function claimReflection() external;
}

File 13 of 13 : IWhitelist.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

interface IWhitelist {
    function isWhitelisted(address user) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_uniswapFactory","type":"address"},{"internalType":"address","name":"_uniswapRouter","type":"address"},{"internalType":"uint256","name":"_buyLimit","type":"uint256"},{"internalType":"address payable","name":"_tax0Wallet","type":"address"},{"internalType":"address payable","name":"_tax1Wallet","type":"address"},{"internalType":"address payable","name":"_tax2Wallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMax","type":"uint256"}],"name":"BuyLimitChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"BuyReflectionTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"BuyTax0Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"BuyTax1Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"BuyTax2Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousCooldown","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextCooldown","type":"uint256"}],"name":"CooldownChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMin","type":"uint256"}],"name":"MinTokenBalanceChanged","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":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"SellReflectionTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"SellTax0Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"SellTax1Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextTax","type":"uint256"}],"name":"SellTax2Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapFeesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Tax0Rescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousWallet","type":"address"},{"indexed":false,"internalType":"address","name":"nextWallet","type":"address"}],"name":"Tax0WalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Tax1Rescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousWallet","type":"address"},{"indexed":false,"internalType":"address","name":"nextWallet","type":"address"}],"name":"Tax1WalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Tax2Rescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousWallet","type":"address"},{"indexed":false,"internalType":"address","name":"nextWallet","type":"address"}],"name":"Tax2WalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"taxExcluded","type":"bool"}],"name":"TaxExclusionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousWhitelist","type":"address"},{"indexed":false,"internalType":"address","name":"nextWhitelist","type":"address"}],"name":"WhitelistChanged","type":"event"},{"inputs":[],"name":"BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyReflectionTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReflection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cooldown","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":"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":"","type":"address"}],"name":"lastBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastReflectionBasis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reflectionBasis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reflectionOwed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTax0Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTax1Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTax2Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellReflectionTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLimit","type":"uint256"}],"name":"setBuyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyReflectionTax","type":"uint256"}],"name":"setBuyReflectionTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax0","type":"uint256"}],"name":"setBuyTax0","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax1","type":"uint256"}],"name":"setBuyTax1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax2","type":"uint256"}],"name":"setBuyTax2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cooldown","type":"uint256"}],"name":"setCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTokenBalance","type":"uint256"}],"name":"setMinTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellReflectionTax","type":"uint256"}],"name":"setSellReflectionTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTax0","type":"uint256"}],"name":"setSellTax0","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTax1","type":"uint256"}],"name":"setSellTax1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTax2","type":"uint256"}],"name":"setSellTax2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapFees","type":"bool"}],"name":"setSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_tax0Wallet","type":"address"}],"name":"setTax0Wallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_tax1Wallet","type":"address"}],"name":"setTax1Wallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_tax2Wallet","type":"address"}],"name":"setTax2Wallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_taxExcluded","type":"bool"}],"name":"setTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingActive","type":"bool"}],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IWhitelist","name":"_whitelist","type":"address"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tax0Wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tax1Wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tax2Wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax2","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"updateReflection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelist","outputs":[{"internalType":"contract IWhitelist","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052603c6007556105146008556108fc6009556064600a819055600b819055600c819055600d556000600e819055600f819055683635c9adc5dea000006010556011805460ff19166001179055601b55601c80546001600160a01b0319169055601d805462ffffff60a01b191690553480156200007e57600080fd5b5060405162003af138038062003af1833981016040819052620000a1916200046c565b604080518082018252600a815269526574726f766572736560b01b602080830191825283518085019094526005845264524554524f60d81b908401528151919291620000f091600391620003a0565b50805162000106906004906020840190620003a0565b505050620001236200011d6200034a60201b60201c565b6200034e565b6001602060006200013c6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790558380527f29ab76e7ca72530a8284597fb76b039d796325740b21528d71ade454c6f2dbe98054861660019081179091558883168083528483208054881683179055888416808452858420805489168417905588851680855286852080548a16851790553080865294879020805490991690931790975560068b9055601880546001600160a01b03199081169092179055601980548216909717909655601a805487169091179055601c80548b841696168617905582516315ab88c960e31b815292518b959286169463c9c653969492939263ad5c46489260048083019392829003018186803b1580156200025d57600080fd5b505afa15801562000272573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000298919062000446565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002e157600080fd5b505af1158015620002f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031c919062000446565b601d80546001600160a01b0319166001600160a01b0392909216919091179055506200054995505050505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003ae90620004f3565b90600052602060002090601f016020900481019282620003d257600085556200041d565b82601f10620003ed57805160ff19168380011785556200041d565b828001600101855582156200041d579182015b828111156200041d57825182559160200191906001019062000400565b506200042b9291506200042f565b5090565b5b808211156200042b576000815560010162000430565b60006020828403121562000458578081fd5b8151620004658162000530565b9392505050565b60008060008060008060c0878903121562000485578182fd5b8651620004928162000530565b6020880151909650620004a58162000530565b604088015160608901519196509450620004bf8162000530565b6080880151909350620004d28162000530565b60a0880151909250620004e58162000530565b809150509295509295509295565b600181811c908216806200050857607f821691505b602082108114156200052a57634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03811681146200054657600080fd5b50565b61359880620005596000396000f3fe6080604052600436106103fe5760003560e01c8063715018a611610213578063ba1eb76e11610123578063dd62ed3e116100ab578063e3f9fc631161007a578063e3f9fc6314610bc1578063f292917914610be1578063f2fde38b14610c01578063f3b6966b14610c21578063fa378c9f14610c4157600080fd5b8063dd62ed3e14610b2f578063e1662ed314610b75578063e1a4521814610b8b578063e325555214610ba157600080fd5b8063c6941bbf116100f2578063c6941bbf14610a99578063cb3c10cb14610ab9578063d63ace4314610ad9578063db3ec6ee14610aef578063dd31ee2d14610b0f57600080fd5b8063ba1eb76e14610a1f578063bbc0c74214610a35578063bf7fcc7a14610a56578063c1adf7bc14610a6c57600080fd5b8063959bd6c2116101a6578063a457c2d711610175578063a457c2d714610985578063a9059cbb146109a5578063b0ac1571146109c5578063b9987a00146109e5578063b9ccf21d14610a0557600080fd5b8063959bd6c21461091a57806395d89b411461093a5780639762bbf11461094f5780639a15ad501461096557600080fd5b80638da5cb5b116101e25780638da5cb5b1461089957806390b391ec146108b757806393e59dc1146108cd5780639579d514146108ed57600080fd5b8063715018a614610839578063787a08a61461084e578063853828b614610864578063854cff2f1461087957600080fd5b8063395093511161030e57806351c6590a116102a15780635b78f35f116102705780635b78f35f1461079757806367243482146107ad5780636bfad452146107cd57806370a08231146107e3578063711ee0501461081957600080fd5b806351c6590a146107425780635252a22814610755578063546f85b11461076b578063589210d91461078157600080fd5b806340c10f19116102dd57806340c10f191461069d5780634495a61c146106bd57806344d85c6d146106ea5780634fc3f41a1461072257600080fd5b8063395093511461061957806339b622d3146106395780633df0f325146106685780633e9ffbea1461068857600080fd5b806321c45d90116103915780632e495ed2116103605780632e495ed214610588578063313ce567146105a857806331700322146105c457806332cb6b0c146105e4578063375632931461060457600080fd5b806321c45d901461051c57806323b872dd14610532578063256806db14610552578063267e812f1461056857600080fd5b806314a5f893116103cd57806314a5f893146104a757806318160ddd146104c757806319c2c40d146104e6578063200705111461050657600080fd5b806306fdde031461040a57806308e4deb714610435578063095ea7b3146104575780630cf280801461048757600080fd5b3661040557005b600080fd5b34801561041657600080fd5b5061041f610c61565b60405161042c9190613302565b60405180910390f35b34801561044157600080fd5b50610455610450366004613299565b610cf3565b005b34801561046357600080fd5b50610477610472366004613173565b610dc8565b604051901515815260200161042c565b34801561049357600080fd5b506104556104a2366004613096565b610dde565b3480156104b357600080fd5b506104556104c2366004613299565b610ebb565b3480156104d357600080fd5b50601b545b60405190815260200161042c565b3480156104f257600080fd5b50610455610501366004613146565b610f87565b34801561051257600080fd5b506104d8600a5481565b34801561052857600080fd5b506104d8600d5481565b34801561053e57600080fd5b5061047761054d366004613106565b611012565b34801561055e57600080fd5b506104d860085481565b34801561057457600080fd5b506104556105833660046132b1565b6110bc565b34801561059457600080fd5b506104556105a3366004613096565b6111a1565b3480156105b457600080fd5b506040516012815260200161042c565b3480156105d057600080fd5b506104556105df366004613096565b611234565b3480156105f057600080fd5b506104d86b033b2e3c9fd0803ce800000081565b34801561061057600080fd5b506104556112c7565b34801561062557600080fd5b50610477610634366004613173565b6112fd565b34801561064557600080fd5b50610477610654366004613096565b602080526000908152604090205460ff1681565b34801561067457600080fd5b50610455610683366004613299565b611339565b34801561069457600080fd5b5061045561140e565b3480156106a957600080fd5b506104556106b8366004613173565b611453565b3480156106c957600080fd5b506104d86106d8366004613096565b60176020526000908152604090205481565b3480156106f657600080fd5b5060185461070a906001600160a01b031681565b6040516001600160a01b03909116815260200161042c565b34801561072e57600080fd5b5061045561073d366004613299565b61148b565b610455610750366004613299565b6114f6565b34801561076157600080fd5b506104d8600e5481565b34801561077757600080fd5b506104d860135481565b34801561078d57600080fd5b506104d860065481565b3480156107a357600080fd5b506104d860105481565b3480156107b957600080fd5b506104556107c836600461319e565b61162d565b3480156107d957600080fd5b506104d8600c5481565b3480156107ef57600080fd5b506104d86107fe366004613096565b6001600160a01b03166000908152601f602052604090205490565b34801561082557600080fd5b50610455610834366004613299565b611723565b34801561084557600080fd5b506104556117f0565b34801561085a57600080fd5b506104d860075481565b34801561087057600080fd5b50610455611826565b34801561088557600080fd5b50610455610894366004613096565b611889565b3480156108a557600080fd5b506005546001600160a01b031661070a565b3480156108c357600080fd5b506104d8600b5481565b3480156108d957600080fd5b50601e5461070a906001600160a01b031681565b3480156108f957600080fd5b506104d8610908366004613096565b60166020526000908152604090205481565b34801561092657600080fd5b50610455610935366004613261565b61191c565b34801561094657600080fd5b5061041f61199e565b34801561095b57600080fd5b506104d860125481565b34801561097157600080fd5b50610455610980366004613299565b6119ad565b34801561099157600080fd5b506104776109a0366004613173565b611a83565b3480156109b157600080fd5b506104776109c0366004613173565b611b1c565b3480156109d157600080fd5b506104556109e0366004613299565b611b29565b3480156109f157600080fd5b50610455610a00366004613096565b611b94565b348015610a1157600080fd5b506011546104779060ff1681565b348015610a2b57600080fd5b506104d860095481565b348015610a4157600080fd5b50601d5461047790600160b01b900460ff1681565b348015610a6257600080fd5b506104d860145481565b348015610a7857600080fd5b506104d8610a87366004613096565b60216020526000908152604090205481565b348015610aa557600080fd5b50610455610ab43660046132b1565b611c27565b348015610ac557600080fd5b50610455610ad43660046132b1565b611d03565b348015610ae557600080fd5b506104d860155481565b348015610afb57600080fd5b50610455610b0a366004613299565b611ddf565b348015610b1b57600080fd5b50610455610b2a366004613299565b611eac565b348015610b3b57600080fd5b506104d8610b4a3660046130ce565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b8157600080fd5b506104d8600f5481565b348015610b9757600080fd5b506104d861271081565b348015610bad57600080fd5b50601a5461070a906001600160a01b031681565b348015610bcd57600080fd5b50610455610bdc366004613261565b611f17565b348015610bed57600080fd5b50610455610bfc366004613299565b611f82565b348015610c0d57600080fd5b50610455610c1c366004613096565b61204f565b348015610c2d57600080fd5b5060195461070a906001600160a01b031681565b348015610c4d57600080fd5b50610455610c5c366004613299565b6120e7565b606060038054610c70906134bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9c906134bd565b8015610ce95780601f10610cbe57610100808354040283529160200191610ce9565b820191906000526020600020905b815481529060010190602001808311610ccc57829003601f168201915b5050505050905090565b6005546001600160a01b03163314610d265760405162461bcd60e51b8152600401610d1d90613355565b60405180910390fd5b612710811115610d875760405162461bcd60e51b815260206004820152602660248201527f5f627579546178302063616e6e6f7420657863656564204250535f44454e4f4d60448201526524a720aa27a960d11b6064820152608401610d1d565b60085460408051918252602082018390527f423cb647c3f53d35f6826528df6b8bd36ecde0a9bf6f362a403ebfcbf51fb34b910160405180910390a1600855565b6000610dd53384846121b3565b50600192915050565b601d546001600160a01b0382811691161480610e075750601c546001600160a01b038281169116145b15610e0f5750565b6001600160a01b038116600090815260166020526040812054601554610e34916122d7565b9050610e6b601b54610e65610e5e856001600160a01b03166000908152601f602052604090205490565b84906122ea565b906122f6565b6001600160a01b03831660009081526017602052604081208054909190610e9390849061344f565b90915550506015546001600160a01b0390921660009081526016602052604090209190915550565b6005546001600160a01b03163314610ee55760405162461bcd60e51b8152600401610d1d90613355565b612710811115610f465760405162461bcd60e51b815260206004820152602660248201527f5f627579546178312063616e6e6f7420657863656564204250535f44454e4f4d60448201526524a720aa27a960d11b6064820152608401610d1d565b600a5460408051918252602082018390527f6e37303a197a6a4a39bf19059543f49982c0fece69e8ed13f8ea669f84b4b921910160405180910390a1600a55565b6005546001600160a01b03163314610fb15760405162461bcd60e51b8152600401610d1d90613355565b6001600160a01b03821660008181526020808052604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b600061101f848484612302565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156110a45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610d1d565b6110b185338584036121b3565b506001949350505050565b6005546001600160a01b031633146110e65760405162461bcd60e51b8152600401610d1d90613355565b6013548211156111485760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f60448201526674616c5461783160c81b6064820152608401610d1d565b61115330828461279c565b6040518281527fbe059b381184a54866077f7010fa75a39f76255f9a9077421d4391e44fc618659060200160405180910390a1816013600082825461119891906134a6565b90915550505050565b6005546001600160a01b031633146111cb5760405162461bcd60e51b8152600401610d1d90613355565b601854604080516001600160a01b03928316815291831660208301527f71d1f853e82f95cbed869a56fc79541481ec1164668de30c952d0ccbfde8058b910160405180910390a1601880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461125e5760405162461bcd60e51b8152600401610d1d90613355565b601954604080516001600160a01b03928316815291831660208301527f5bc1cbf3da419a604fd2f1e72bf67cfbe40774c51109a1138317ee9d01f9d5f8910160405180910390a1601980546001600160a01b0319166001600160a01b0392909216919091179055565b6112d033610dde565b336000818152601760205260409020546112eb91309161279c565b33600090815260176020526040812055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610dd591859061133490869061344f565b6121b3565b6005546001600160a01b031633146113635760405162461bcd60e51b8152600401610d1d90613355565b6127108111156113cd5760405162461bcd60e51b815260206004820152602f60248201527f5f6275795265666c656374696f6e5461782063616e6e6f74206578636565642060448201526e212829afa222a727a6a4a720aa27a960891b6064820152608401610d1d565b600e5460408051918252602082018390527fc4944bb8caecb44813e5661595a9cd8820a82221d5c30a942eb7b5b95f41e713910160405180910390a1600e55565b600061143360145461142d60135460125461291890919063ffffffff16565b90612918565b601d54909150600160a01b900460ff166114505761145081612924565b50565b6005546001600160a01b0316331461147d5760405162461bcd60e51b8152600401610d1d90613355565b6114878282612ca8565b5050565b6005546001600160a01b031633146114b55760405162461bcd60e51b8152600401610d1d90613355565b60075460408051918252602082018390527f0731af75921ee6c66096a5c95daa1adcf95ff01e0ce8063a2369cb218ee4bcc9910160405180910390a1600755565b6005546001600160a01b031633146115205760405162461bcd60e51b8152600401610d1d90613355565b601d805460ff60a81b1916600160a81b17905561153d3082612ca8565b601c546115559030906001600160a01b0316836121b3565b601c546001600160a01b031663f305d71934308460008061157e6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156115e157600080fd5b505af11580156115f5573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061161a91906132d5565b5050601d805460ff60a81b191690555050565b6005546001600160a01b031633146116575760405162461bcd60e51b8152600401610d1d90613355565b80518251146116a85760405162461bcd60e51b815260206004820152601860248201527f6172726179206c656e67746873206d757374206d6174636800000000000000006044820152606401610d1d565b60005b825181101561171e5761170c8382815181106116d757634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106116ff57634e487b7160e01b600052603260045260246000fd5b6020026020010151612ca8565b80611716816134f8565b9150506116ab565b505050565b6005546001600160a01b0316331461174d5760405162461bcd60e51b8152600401610d1d90613355565b6127108111156117af5760405162461bcd60e51b815260206004820152602760248201527f5f73656c6c546178312063616e6e6f7420657863656564204250535f44454e4f60448201526626a4a720aa27a960c91b6064820152608401610d1d565b600b5460408051918252602082018390527f4c23cdba55537c4a9397024f9eede55c24a16651c2d35d5bc9c847c8e32ea400910160405180910390a1600b55565b6005546001600160a01b0316331461181a5760405162461bcd60e51b8152600401610d1d90613355565b6118246000612d6e565b565b6005546001600160a01b031633146118505760405162461bcd60e51b8152600401610d1d90613355565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611450573d6000803e3d6000fd5b6005546001600160a01b031633146118b35760405162461bcd60e51b8152600401610d1d90613355565b601e54604080516001600160a01b03928316815291831660208301527fdb0a396bdd47d29c2b55a6631f0b286785ea8ed9f585d34c8e32cdb022c3bc82910160405180910390a1601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146119465760405162461bcd60e51b8152600401610d1d90613355565b601d8054821515600160b01b0260ff60b01b199091161790556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b99061199390831515815260200190565b60405180910390a150565b606060048054610c70906134bd565b6005546001600160a01b031633146119d75760405162461bcd60e51b8152600401610d1d90613355565b612710811115611a425760405162461bcd60e51b815260206004820152603060248201527f5f73656c6c5265666c656374696f6e5461782063616e6e6f742065786365656460448201526f10212829afa222a727a6a4a720aa27a960811b6064820152608401610d1d565b600f5460408051918252602082018390527fafaefd0eaa173fccc0c83e5fdcc2cee37e70d1d103e0cdee62aba8cd4607d0de910160405180910390a1600f55565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015611b055760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d1d565b611b1233858584036121b3565b5060019392505050565b6000610dd5338484612302565b6005546001600160a01b03163314611b535760405162461bcd60e51b8152600401610d1d90613355565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6005546001600160a01b03163314611bbe5760405162461bcd60e51b8152600401610d1d90613355565b601a54604080516001600160a01b03928316815291831660208301527f73b4d3ef11f55a69ab12c5f5aef3b83332a8aaa17b14b5c39793a390c0c71aa9910160405180910390a1601a80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611c515760405162461bcd60e51b8152600401610d1d90613355565b601254821115611cb35760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f604482015266074616c546178360cc1b6064820152608401610d1d565b611cbe30828461279c565b6040518281527f4ff84299a9066b3836ca8606ce8e8c7970db1d9e77572936ab6d7d7ebef267a79060200160405180910390a1816012600082825461119891906134a6565b6005546001600160a01b03163314611d2d5760405162461bcd60e51b8152600401610d1d90613355565b601454821115611d8f5760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152663a30b62a30bc1960c91b6064820152608401610d1d565b611d9a30828461279c565b6040518281527f807f0964978cf68549b020ded5521e5d7759d804bbcc3ee72e726ed7f860d2b39060200160405180910390a1816014600082825461119891906134a6565b6005546001600160a01b03163314611e095760405162461bcd60e51b8152600401610d1d90613355565b612710811115611e6b5760405162461bcd60e51b815260206004820152602760248201527f5f73656c6c546178302063616e6e6f7420657863656564204250535f44454e4f60448201526626a4a720aa27a960c91b6064820152608401610d1d565b60095460408051918252602082018390527f08eb95bc641ade82630257156c45f72630088ad7bdc7ab87c46acd07f6e0581a910160405180910390a1600955565b6005546001600160a01b03163314611ed65760405162461bcd60e51b8152600401610d1d90613355565b60065460408051918252602082018390527f9862aab0ff01a9f8d29ab506ecd393151053b65b8209b7f477f29738f91ac424910160405180910390a1600655565b6005546001600160a01b03163314611f415760405162461bcd60e51b8152600401610d1d90613355565b6011805460ff19168215159081179091556040519081527f6692a46708413bf1e57c8f7a926240360f509d61372ea4d421040c66b0d97e3f90602001611993565b6005546001600160a01b03163314611fac5760405162461bcd60e51b8152600401610d1d90613355565b61271081111561200e5760405162461bcd60e51b815260206004820152602760248201527f5f73656c6c546178322063616e6e6f7420657863656564204250535f44454e4f60448201526626a4a720aa27a960c91b6064820152608401610d1d565b600d5460408051918252602082018390527f34d9b2b89a9fa950be293440a3464a41b33b52bdbdf381a376adcbacb48a2642910160405180910390a1600d55565b6005546001600160a01b031633146120795760405162461bcd60e51b8152600401610d1d90613355565b6001600160a01b0381166120de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1d565b61145081612d6e565b6005546001600160a01b031633146121115760405162461bcd60e51b8152600401610d1d90613355565b6127108111156121725760405162461bcd60e51b815260206004820152602660248201527f5f627579546178322063616e6e6f7420657863656564204250535f44454e4f4d60448201526524a720aa27a960d11b6064820152608401610d1d565b600c5460408051918252602082018390527f5e1e54b019a643d11e49eeb131b36756ac768b29fae41bb5b44b996bd6a85fe4910160405180910390a1600c55565b6001600160a01b0383166122155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1d565b6001600160a01b0382166122765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d1d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006122e382846134a6565b9392505050565b60006122e38284613487565b60006122e38284613467565b6001600160a01b038316600090815260208052604090205460ff168061233f57506001600160a01b038216600090815260208052604090205460ff165b1561234f5761171e83838361279c565b600061236e60145461142d60135460125461291890919063ffffffff16565b6010549091508110801590819061238f5750601d54600160a01b900460ff16155b80156123a95750601d546001600160a01b03868116911614155b80156123b7575060115460ff165b156123c5576123c582612924565b6123ce85610dde565b6123d784610dde565b601d5483906000908190819081906001600160a01b038b81169116141561261b57601e546001600160a01b0316156124d257601e54604051633af32abf60e01b81526001600160a01b038b8116600483015290911690633af32abf9060240160206040518083038186803b15801561244e57600080fd5b505afa158015612462573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612486919061327d565b6124d25760405162461bcd60e51b815260206004820152601e60248201527f55736572206973206e6f742077686974656c697374656420746f2062757900006044820152606401610d1d565b601d54600160b01b900460ff166125275760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610d1d565b60065488111561256e5760405162461bcd60e51b8152602060048201526012602482015271109d5e481b1a5b5a5d08195e18d95959195960721b6044820152606401610d1d565b600754156125ff576007546001600160a01b038a16600090815260216020526040902054429161259d9161344f565b11156125e35760405162461bcd60e51b8152602060048201526015602482015274436f6f6c646f776e207374696c6c2061637469766560581b6044820152606401610d1d565b6001600160a01b03891660009081526021602052604090204290555b61260a886001612dc0565b939850919650945092509050612778565b601d546001600160a01b038a81169116141561277857601d54600160b01b900460ff166126865760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610d1d565b601e546001600160a01b03161561276057601e54604051633af32abf60e01b81526001600160a01b038c8116600483015290911690633af32abf9060240160206040518083038186803b1580156126dc57600080fd5b505afa1580156126f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612714919061327d565b6127605760405162461bcd60e51b815260206004820152601f60248201527f55736572206973206e6f742077686974656c697374656420746f2073656c6c006044820152606401610d1d565b61276b886000612dc0565b9398509196509450925090505b6127838a8a8761279c565b6127908a85858585612ee0565b50505050505050505050565b6001600160a01b0383166127f25760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610d1d565b6001600160a01b0382166128485760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610d1d565b6001600160a01b0383166000908152601f6020526040902054818110156128b15760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610d1d565b6128bb8483612fbf565b6128c58383613003565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161290a91815260200190565b60405180910390a350505050565b60006122e3828461344f565b601d805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061297a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156129ce57600080fd5b505afa1580156129e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0691906130b2565b81600181518110612a2757634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c54612a4d91309116846121b3565b601c5460405163791ac94760e01b815247916001600160a01b03169063791ac94790612a8690869060009087903090429060040161338a565b600060405180830381600087803b158015612aa057600080fd5b505af1158015612ab4573d6000803e3d6000fd5b5050505060008147612ac691906134a6565b90506000612ae760145461142d60135460125461291890919063ffffffff16565b90506000612b0482610e65601254896122ea90919063ffffffff16565b90506000612b2183610e656013548a6122ea90919063ffffffff16565b90506000612b3e84610e656014548b6122ea90919063ffffffff16565b90506000612b5b85610e65601254896122ea90919063ffffffff16565b90506000612b7886610e656013548a6122ea90919063ffffffff16565b90506000612b9587610e656014548b6122ea90919063ffffffff16565b601254909150612ba590876122d7565b601255601354612bb590866122d7565b601355601454612bc590856122d7565b6014558215612c0a576018546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015612c08573d6000803e3d6000fd5b505b8115612c4c576019546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612c4a573d6000803e3d6000fd5b505b8015612c8e57601a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612c8c573d6000803e3d6000fd5b505b5050601d805460ff60a01b19169055505050505050505050565b601b546b033b2e3c9fd0803ce800000090612cc39083612918565b1115612d075760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610d1d565b80601b6000828254612d19919061344f565b90915550612d2990508282613003565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060008060008515612e4757612de9612710610e656008548a6122ea90919063ffffffff16565b9350612e06612710610e65600a548a6122ea90919063ffffffff16565b9250612e23612710610e65600c548a6122ea90919063ffffffff16565b9150612e40612710610e65600e548a6122ea90919063ffffffff16565b9050612ebc565b612e62612710610e656009548a6122ea90919063ffffffff16565b9350612e7f612710610e65600b548a6122ea90919063ffffffff16565b9250612e9c612710610e65600d548a6122ea90919063ffffffff16565b9150612eb9612710610e65600f548a6122ea90919063ffffffff16565b90505b612ed481612ece848187818d8b6122d7565b906122d7565b94509295509295909350565b6001600160a01b038516612f365760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610d1d565b6000612f488261142d85818989612918565b9050612f5586308361279c565b8460126000828254612f67919061344f565b925050819055508360136000828254612f80919061344f565b925050819055508260146000828254612f99919061344f565b925050819055508160156000828254612fb2919061344f565b9091555050505050505050565b6001600160a01b0382166000908152601f6020526040902054612fe39082906134a6565b6001600160a01b039092166000908152601f602052604090209190915550565b6001600160a01b0382166000908152601f6020526040902054612fe390829061344f565b600082601f830112613037578081fd5b8135602061304c6130478361342b565b6133fa565b80838252828201915082860187848660051b890101111561306b578586fd5b855b858110156130895781358452928401929084019060010161306d565b5090979650505050505050565b6000602082840312156130a7578081fd5b81356122e38161353f565b6000602082840312156130c3578081fd5b81516122e38161353f565b600080604083850312156130e0578081fd5b82356130eb8161353f565b915060208301356130fb8161353f565b809150509250929050565b60008060006060848603121561311a578081fd5b83356131258161353f565b925060208401356131358161353f565b929592945050506040919091013590565b60008060408385031215613158578182fd5b82356131638161353f565b915060208301356130fb81613554565b60008060408385031215613185578182fd5b82356131908161353f565b946020939093013593505050565b600080604083850312156131b0578182fd5b823567ffffffffffffffff808211156131c7578384fd5b818501915085601f8301126131da578384fd5b813560206131ea6130478361342b565b8083825282820191508286018a848660051b8901011115613209578889fd5b8896505b848710156132345780356132208161353f565b83526001969096019591830191830161320d565b509650508601359250508082111561324a578283fd5b5061325785828601613027565b9150509250929050565b600060208284031215613272578081fd5b81356122e381613554565b60006020828403121561328e578081fd5b81516122e381613554565b6000602082840312156132aa578081fd5b5035919050565b600080604083850312156132c3578182fd5b8235915060208301356130fb8161353f565b6000806000606084860312156132e9578081fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561332e57858101830151858201604001528201613312565b8181111561333f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156133d95784516001600160a01b0316835293830193918301916001016133b4565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561342357613423613529565b604052919050565b600067ffffffffffffffff82111561344557613445613529565b5060051b60200190565b6000821982111561346257613462613513565b500190565b60008261348257634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156134a1576134a1613513565b500290565b6000828210156134b8576134b8613513565b500390565b600181811c908216806134d157607f821691505b602082108114156134f257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561350c5761350c613513565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461145057600080fd5b801515811461145057600080fdfea2646970667358221220286a0f33ea24bed9ea6b387954270403fb27e3a7d5542009a15bed3e796521df64736f6c634300080400330000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000001a784379d99db4200000000000000000000000000000022fc6d729668ded26e6a63339becbaed96286fe9000000000000000000000000f914bbdff49fd4ba1a1cbfc740e0d60a8674f4380000000000000000000000001f58c7ae4c0cd8c91b64d0dc5b88a8ea121b3c4e

Deployed Bytecode

0x6080604052600436106103fe5760003560e01c8063715018a611610213578063ba1eb76e11610123578063dd62ed3e116100ab578063e3f9fc631161007a578063e3f9fc6314610bc1578063f292917914610be1578063f2fde38b14610c01578063f3b6966b14610c21578063fa378c9f14610c4157600080fd5b8063dd62ed3e14610b2f578063e1662ed314610b75578063e1a4521814610b8b578063e325555214610ba157600080fd5b8063c6941bbf116100f2578063c6941bbf14610a99578063cb3c10cb14610ab9578063d63ace4314610ad9578063db3ec6ee14610aef578063dd31ee2d14610b0f57600080fd5b8063ba1eb76e14610a1f578063bbc0c74214610a35578063bf7fcc7a14610a56578063c1adf7bc14610a6c57600080fd5b8063959bd6c2116101a6578063a457c2d711610175578063a457c2d714610985578063a9059cbb146109a5578063b0ac1571146109c5578063b9987a00146109e5578063b9ccf21d14610a0557600080fd5b8063959bd6c21461091a57806395d89b411461093a5780639762bbf11461094f5780639a15ad501461096557600080fd5b80638da5cb5b116101e25780638da5cb5b1461089957806390b391ec146108b757806393e59dc1146108cd5780639579d514146108ed57600080fd5b8063715018a614610839578063787a08a61461084e578063853828b614610864578063854cff2f1461087957600080fd5b8063395093511161030e57806351c6590a116102a15780635b78f35f116102705780635b78f35f1461079757806367243482146107ad5780636bfad452146107cd57806370a08231146107e3578063711ee0501461081957600080fd5b806351c6590a146107425780635252a22814610755578063546f85b11461076b578063589210d91461078157600080fd5b806340c10f19116102dd57806340c10f191461069d5780634495a61c146106bd57806344d85c6d146106ea5780634fc3f41a1461072257600080fd5b8063395093511461061957806339b622d3146106395780633df0f325146106685780633e9ffbea1461068857600080fd5b806321c45d90116103915780632e495ed2116103605780632e495ed214610588578063313ce567146105a857806331700322146105c457806332cb6b0c146105e4578063375632931461060457600080fd5b806321c45d901461051c57806323b872dd14610532578063256806db14610552578063267e812f1461056857600080fd5b806314a5f893116103cd57806314a5f893146104a757806318160ddd146104c757806319c2c40d146104e6578063200705111461050657600080fd5b806306fdde031461040a57806308e4deb714610435578063095ea7b3146104575780630cf280801461048757600080fd5b3661040557005b600080fd5b34801561041657600080fd5b5061041f610c61565b60405161042c9190613302565b60405180910390f35b34801561044157600080fd5b50610455610450366004613299565b610cf3565b005b34801561046357600080fd5b50610477610472366004613173565b610dc8565b604051901515815260200161042c565b34801561049357600080fd5b506104556104a2366004613096565b610dde565b3480156104b357600080fd5b506104556104c2366004613299565b610ebb565b3480156104d357600080fd5b50601b545b60405190815260200161042c565b3480156104f257600080fd5b50610455610501366004613146565b610f87565b34801561051257600080fd5b506104d8600a5481565b34801561052857600080fd5b506104d8600d5481565b34801561053e57600080fd5b5061047761054d366004613106565b611012565b34801561055e57600080fd5b506104d860085481565b34801561057457600080fd5b506104556105833660046132b1565b6110bc565b34801561059457600080fd5b506104556105a3366004613096565b6111a1565b3480156105b457600080fd5b506040516012815260200161042c565b3480156105d057600080fd5b506104556105df366004613096565b611234565b3480156105f057600080fd5b506104d86b033b2e3c9fd0803ce800000081565b34801561061057600080fd5b506104556112c7565b34801561062557600080fd5b50610477610634366004613173565b6112fd565b34801561064557600080fd5b50610477610654366004613096565b602080526000908152604090205460ff1681565b34801561067457600080fd5b50610455610683366004613299565b611339565b34801561069457600080fd5b5061045561140e565b3480156106a957600080fd5b506104556106b8366004613173565b611453565b3480156106c957600080fd5b506104d86106d8366004613096565b60176020526000908152604090205481565b3480156106f657600080fd5b5060185461070a906001600160a01b031681565b6040516001600160a01b03909116815260200161042c565b34801561072e57600080fd5b5061045561073d366004613299565b61148b565b610455610750366004613299565b6114f6565b34801561076157600080fd5b506104d8600e5481565b34801561077757600080fd5b506104d860135481565b34801561078d57600080fd5b506104d860065481565b3480156107a357600080fd5b506104d860105481565b3480156107b957600080fd5b506104556107c836600461319e565b61162d565b3480156107d957600080fd5b506104d8600c5481565b3480156107ef57600080fd5b506104d86107fe366004613096565b6001600160a01b03166000908152601f602052604090205490565b34801561082557600080fd5b50610455610834366004613299565b611723565b34801561084557600080fd5b506104556117f0565b34801561085a57600080fd5b506104d860075481565b34801561087057600080fd5b50610455611826565b34801561088557600080fd5b50610455610894366004613096565b611889565b3480156108a557600080fd5b506005546001600160a01b031661070a565b3480156108c357600080fd5b506104d8600b5481565b3480156108d957600080fd5b50601e5461070a906001600160a01b031681565b3480156108f957600080fd5b506104d8610908366004613096565b60166020526000908152604090205481565b34801561092657600080fd5b50610455610935366004613261565b61191c565b34801561094657600080fd5b5061041f61199e565b34801561095b57600080fd5b506104d860125481565b34801561097157600080fd5b50610455610980366004613299565b6119ad565b34801561099157600080fd5b506104776109a0366004613173565b611a83565b3480156109b157600080fd5b506104776109c0366004613173565b611b1c565b3480156109d157600080fd5b506104556109e0366004613299565b611b29565b3480156109f157600080fd5b50610455610a00366004613096565b611b94565b348015610a1157600080fd5b506011546104779060ff1681565b348015610a2b57600080fd5b506104d860095481565b348015610a4157600080fd5b50601d5461047790600160b01b900460ff1681565b348015610a6257600080fd5b506104d860145481565b348015610a7857600080fd5b506104d8610a87366004613096565b60216020526000908152604090205481565b348015610aa557600080fd5b50610455610ab43660046132b1565b611c27565b348015610ac557600080fd5b50610455610ad43660046132b1565b611d03565b348015610ae557600080fd5b506104d860155481565b348015610afb57600080fd5b50610455610b0a366004613299565b611ddf565b348015610b1b57600080fd5b50610455610b2a366004613299565b611eac565b348015610b3b57600080fd5b506104d8610b4a3660046130ce565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b8157600080fd5b506104d8600f5481565b348015610b9757600080fd5b506104d861271081565b348015610bad57600080fd5b50601a5461070a906001600160a01b031681565b348015610bcd57600080fd5b50610455610bdc366004613261565b611f17565b348015610bed57600080fd5b50610455610bfc366004613299565b611f82565b348015610c0d57600080fd5b50610455610c1c366004613096565b61204f565b348015610c2d57600080fd5b5060195461070a906001600160a01b031681565b348015610c4d57600080fd5b50610455610c5c366004613299565b6120e7565b606060038054610c70906134bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9c906134bd565b8015610ce95780601f10610cbe57610100808354040283529160200191610ce9565b820191906000526020600020905b815481529060010190602001808311610ccc57829003601f168201915b5050505050905090565b6005546001600160a01b03163314610d265760405162461bcd60e51b8152600401610d1d90613355565b60405180910390fd5b612710811115610d875760405162461bcd60e51b815260206004820152602660248201527f5f627579546178302063616e6e6f7420657863656564204250535f44454e4f4d60448201526524a720aa27a960d11b6064820152608401610d1d565b60085460408051918252602082018390527f423cb647c3f53d35f6826528df6b8bd36ecde0a9bf6f362a403ebfcbf51fb34b910160405180910390a1600855565b6000610dd53384846121b3565b50600192915050565b601d546001600160a01b0382811691161480610e075750601c546001600160a01b038281169116145b15610e0f5750565b6001600160a01b038116600090815260166020526040812054601554610e34916122d7565b9050610e6b601b54610e65610e5e856001600160a01b03166000908152601f602052604090205490565b84906122ea565b906122f6565b6001600160a01b03831660009081526017602052604081208054909190610e9390849061344f565b90915550506015546001600160a01b0390921660009081526016602052604090209190915550565b6005546001600160a01b03163314610ee55760405162461bcd60e51b8152600401610d1d90613355565b612710811115610f465760405162461bcd60e51b815260206004820152602660248201527f5f627579546178312063616e6e6f7420657863656564204250535f44454e4f4d60448201526524a720aa27a960d11b6064820152608401610d1d565b600a5460408051918252602082018390527f6e37303a197a6a4a39bf19059543f49982c0fece69e8ed13f8ea669f84b4b921910160405180910390a1600a55565b6005546001600160a01b03163314610fb15760405162461bcd60e51b8152600401610d1d90613355565b6001600160a01b03821660008181526020808052604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b600061101f848484612302565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156110a45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610d1d565b6110b185338584036121b3565b506001949350505050565b6005546001600160a01b031633146110e65760405162461bcd60e51b8152600401610d1d90613355565b6013548211156111485760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f60448201526674616c5461783160c81b6064820152608401610d1d565b61115330828461279c565b6040518281527fbe059b381184a54866077f7010fa75a39f76255f9a9077421d4391e44fc618659060200160405180910390a1816013600082825461119891906134a6565b90915550505050565b6005546001600160a01b031633146111cb5760405162461bcd60e51b8152600401610d1d90613355565b601854604080516001600160a01b03928316815291831660208301527f71d1f853e82f95cbed869a56fc79541481ec1164668de30c952d0ccbfde8058b910160405180910390a1601880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461125e5760405162461bcd60e51b8152600401610d1d90613355565b601954604080516001600160a01b03928316815291831660208301527f5bc1cbf3da419a604fd2f1e72bf67cfbe40774c51109a1138317ee9d01f9d5f8910160405180910390a1601980546001600160a01b0319166001600160a01b0392909216919091179055565b6112d033610dde565b336000818152601760205260409020546112eb91309161279c565b33600090815260176020526040812055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610dd591859061133490869061344f565b6121b3565b6005546001600160a01b031633146113635760405162461bcd60e51b8152600401610d1d90613355565b6127108111156113cd5760405162461bcd60e51b815260206004820152602f60248201527f5f6275795265666c656374696f6e5461782063616e6e6f74206578636565642060448201526e212829afa222a727a6a4a720aa27a960891b6064820152608401610d1d565b600e5460408051918252602082018390527fc4944bb8caecb44813e5661595a9cd8820a82221d5c30a942eb7b5b95f41e713910160405180910390a1600e55565b600061143360145461142d60135460125461291890919063ffffffff16565b90612918565b601d54909150600160a01b900460ff166114505761145081612924565b50565b6005546001600160a01b0316331461147d5760405162461bcd60e51b8152600401610d1d90613355565b6114878282612ca8565b5050565b6005546001600160a01b031633146114b55760405162461bcd60e51b8152600401610d1d90613355565b60075460408051918252602082018390527f0731af75921ee6c66096a5c95daa1adcf95ff01e0ce8063a2369cb218ee4bcc9910160405180910390a1600755565b6005546001600160a01b031633146115205760405162461bcd60e51b8152600401610d1d90613355565b601d805460ff60a81b1916600160a81b17905561153d3082612ca8565b601c546115559030906001600160a01b0316836121b3565b601c546001600160a01b031663f305d71934308460008061157e6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156115e157600080fd5b505af11580156115f5573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061161a91906132d5565b5050601d805460ff60a81b191690555050565b6005546001600160a01b031633146116575760405162461bcd60e51b8152600401610d1d90613355565b80518251146116a85760405162461bcd60e51b815260206004820152601860248201527f6172726179206c656e67746873206d757374206d6174636800000000000000006044820152606401610d1d565b60005b825181101561171e5761170c8382815181106116d757634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106116ff57634e487b7160e01b600052603260045260246000fd5b6020026020010151612ca8565b80611716816134f8565b9150506116ab565b505050565b6005546001600160a01b0316331461174d5760405162461bcd60e51b8152600401610d1d90613355565b6127108111156117af5760405162461bcd60e51b815260206004820152602760248201527f5f73656c6c546178312063616e6e6f7420657863656564204250535f44454e4f60448201526626a4a720aa27a960c91b6064820152608401610d1d565b600b5460408051918252602082018390527f4c23cdba55537c4a9397024f9eede55c24a16651c2d35d5bc9c847c8e32ea400910160405180910390a1600b55565b6005546001600160a01b0316331461181a5760405162461bcd60e51b8152600401610d1d90613355565b6118246000612d6e565b565b6005546001600160a01b031633146118505760405162461bcd60e51b8152600401610d1d90613355565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611450573d6000803e3d6000fd5b6005546001600160a01b031633146118b35760405162461bcd60e51b8152600401610d1d90613355565b601e54604080516001600160a01b03928316815291831660208301527fdb0a396bdd47d29c2b55a6631f0b286785ea8ed9f585d34c8e32cdb022c3bc82910160405180910390a1601e80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146119465760405162461bcd60e51b8152600401610d1d90613355565b601d8054821515600160b01b0260ff60b01b199091161790556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b99061199390831515815260200190565b60405180910390a150565b606060048054610c70906134bd565b6005546001600160a01b031633146119d75760405162461bcd60e51b8152600401610d1d90613355565b612710811115611a425760405162461bcd60e51b815260206004820152603060248201527f5f73656c6c5265666c656374696f6e5461782063616e6e6f742065786365656460448201526f10212829afa222a727a6a4a720aa27a960811b6064820152608401610d1d565b600f5460408051918252602082018390527fafaefd0eaa173fccc0c83e5fdcc2cee37e70d1d103e0cdee62aba8cd4607d0de910160405180910390a1600f55565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015611b055760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d1d565b611b1233858584036121b3565b5060019392505050565b6000610dd5338484612302565b6005546001600160a01b03163314611b535760405162461bcd60e51b8152600401610d1d90613355565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6005546001600160a01b03163314611bbe5760405162461bcd60e51b8152600401610d1d90613355565b601a54604080516001600160a01b03928316815291831660208301527f73b4d3ef11f55a69ab12c5f5aef3b83332a8aaa17b14b5c39793a390c0c71aa9910160405180910390a1601a80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611c515760405162461bcd60e51b8152600401610d1d90613355565b601254821115611cb35760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f604482015266074616c546178360cc1b6064820152608401610d1d565b611cbe30828461279c565b6040518281527f4ff84299a9066b3836ca8606ce8e8c7970db1d9e77572936ab6d7d7ebef267a79060200160405180910390a1816012600082825461119891906134a6565b6005546001600160a01b03163314611d2d5760405162461bcd60e51b8152600401610d1d90613355565b601454821115611d8f5760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152663a30b62a30bc1960c91b6064820152608401610d1d565b611d9a30828461279c565b6040518281527f807f0964978cf68549b020ded5521e5d7759d804bbcc3ee72e726ed7f860d2b39060200160405180910390a1816014600082825461119891906134a6565b6005546001600160a01b03163314611e095760405162461bcd60e51b8152600401610d1d90613355565b612710811115611e6b5760405162461bcd60e51b815260206004820152602760248201527f5f73656c6c546178302063616e6e6f7420657863656564204250535f44454e4f60448201526626a4a720aa27a960c91b6064820152608401610d1d565b60095460408051918252602082018390527f08eb95bc641ade82630257156c45f72630088ad7bdc7ab87c46acd07f6e0581a910160405180910390a1600955565b6005546001600160a01b03163314611ed65760405162461bcd60e51b8152600401610d1d90613355565b60065460408051918252602082018390527f9862aab0ff01a9f8d29ab506ecd393151053b65b8209b7f477f29738f91ac424910160405180910390a1600655565b6005546001600160a01b03163314611f415760405162461bcd60e51b8152600401610d1d90613355565b6011805460ff19168215159081179091556040519081527f6692a46708413bf1e57c8f7a926240360f509d61372ea4d421040c66b0d97e3f90602001611993565b6005546001600160a01b03163314611fac5760405162461bcd60e51b8152600401610d1d90613355565b61271081111561200e5760405162461bcd60e51b815260206004820152602760248201527f5f73656c6c546178322063616e6e6f7420657863656564204250535f44454e4f60448201526626a4a720aa27a960c91b6064820152608401610d1d565b600d5460408051918252602082018390527f34d9b2b89a9fa950be293440a3464a41b33b52bdbdf381a376adcbacb48a2642910160405180910390a1600d55565b6005546001600160a01b031633146120795760405162461bcd60e51b8152600401610d1d90613355565b6001600160a01b0381166120de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1d565b61145081612d6e565b6005546001600160a01b031633146121115760405162461bcd60e51b8152600401610d1d90613355565b6127108111156121725760405162461bcd60e51b815260206004820152602660248201527f5f627579546178322063616e6e6f7420657863656564204250535f44454e4f4d60448201526524a720aa27a960d11b6064820152608401610d1d565b600c5460408051918252602082018390527f5e1e54b019a643d11e49eeb131b36756ac768b29fae41bb5b44b996bd6a85fe4910160405180910390a1600c55565b6001600160a01b0383166122155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1d565b6001600160a01b0382166122765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d1d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006122e382846134a6565b9392505050565b60006122e38284613487565b60006122e38284613467565b6001600160a01b038316600090815260208052604090205460ff168061233f57506001600160a01b038216600090815260208052604090205460ff165b1561234f5761171e83838361279c565b600061236e60145461142d60135460125461291890919063ffffffff16565b6010549091508110801590819061238f5750601d54600160a01b900460ff16155b80156123a95750601d546001600160a01b03868116911614155b80156123b7575060115460ff165b156123c5576123c582612924565b6123ce85610dde565b6123d784610dde565b601d5483906000908190819081906001600160a01b038b81169116141561261b57601e546001600160a01b0316156124d257601e54604051633af32abf60e01b81526001600160a01b038b8116600483015290911690633af32abf9060240160206040518083038186803b15801561244e57600080fd5b505afa158015612462573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612486919061327d565b6124d25760405162461bcd60e51b815260206004820152601e60248201527f55736572206973206e6f742077686974656c697374656420746f2062757900006044820152606401610d1d565b601d54600160b01b900460ff166125275760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610d1d565b60065488111561256e5760405162461bcd60e51b8152602060048201526012602482015271109d5e481b1a5b5a5d08195e18d95959195960721b6044820152606401610d1d565b600754156125ff576007546001600160a01b038a16600090815260216020526040902054429161259d9161344f565b11156125e35760405162461bcd60e51b8152602060048201526015602482015274436f6f6c646f776e207374696c6c2061637469766560581b6044820152606401610d1d565b6001600160a01b03891660009081526021602052604090204290555b61260a886001612dc0565b939850919650945092509050612778565b601d546001600160a01b038a81169116141561277857601d54600160b01b900460ff166126865760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610d1d565b601e546001600160a01b03161561276057601e54604051633af32abf60e01b81526001600160a01b038c8116600483015290911690633af32abf9060240160206040518083038186803b1580156126dc57600080fd5b505afa1580156126f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612714919061327d565b6127605760405162461bcd60e51b815260206004820152601f60248201527f55736572206973206e6f742077686974656c697374656420746f2073656c6c006044820152606401610d1d565b61276b886000612dc0565b9398509196509450925090505b6127838a8a8761279c565b6127908a85858585612ee0565b50505050505050505050565b6001600160a01b0383166127f25760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610d1d565b6001600160a01b0382166128485760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610d1d565b6001600160a01b0383166000908152601f6020526040902054818110156128b15760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610d1d565b6128bb8483612fbf565b6128c58383613003565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161290a91815260200190565b60405180910390a350505050565b60006122e3828461344f565b601d805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061297a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156129ce57600080fd5b505afa1580156129e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0691906130b2565b81600181518110612a2757634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c54612a4d91309116846121b3565b601c5460405163791ac94760e01b815247916001600160a01b03169063791ac94790612a8690869060009087903090429060040161338a565b600060405180830381600087803b158015612aa057600080fd5b505af1158015612ab4573d6000803e3d6000fd5b5050505060008147612ac691906134a6565b90506000612ae760145461142d60135460125461291890919063ffffffff16565b90506000612b0482610e65601254896122ea90919063ffffffff16565b90506000612b2183610e656013548a6122ea90919063ffffffff16565b90506000612b3e84610e656014548b6122ea90919063ffffffff16565b90506000612b5b85610e65601254896122ea90919063ffffffff16565b90506000612b7886610e656013548a6122ea90919063ffffffff16565b90506000612b9587610e656014548b6122ea90919063ffffffff16565b601254909150612ba590876122d7565b601255601354612bb590866122d7565b601355601454612bc590856122d7565b6014558215612c0a576018546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015612c08573d6000803e3d6000fd5b505b8115612c4c576019546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015612c4a573d6000803e3d6000fd5b505b8015612c8e57601a546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612c8c573d6000803e3d6000fd5b505b5050601d805460ff60a01b19169055505050505050505050565b601b546b033b2e3c9fd0803ce800000090612cc39083612918565b1115612d075760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610d1d565b80601b6000828254612d19919061344f565b90915550612d2990508282613003565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060008060008515612e4757612de9612710610e656008548a6122ea90919063ffffffff16565b9350612e06612710610e65600a548a6122ea90919063ffffffff16565b9250612e23612710610e65600c548a6122ea90919063ffffffff16565b9150612e40612710610e65600e548a6122ea90919063ffffffff16565b9050612ebc565b612e62612710610e656009548a6122ea90919063ffffffff16565b9350612e7f612710610e65600b548a6122ea90919063ffffffff16565b9250612e9c612710610e65600d548a6122ea90919063ffffffff16565b9150612eb9612710610e65600f548a6122ea90919063ffffffff16565b90505b612ed481612ece848187818d8b6122d7565b906122d7565b94509295509295909350565b6001600160a01b038516612f365760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610d1d565b6000612f488261142d85818989612918565b9050612f5586308361279c565b8460126000828254612f67919061344f565b925050819055508360136000828254612f80919061344f565b925050819055508260146000828254612f99919061344f565b925050819055508160156000828254612fb2919061344f565b9091555050505050505050565b6001600160a01b0382166000908152601f6020526040902054612fe39082906134a6565b6001600160a01b039092166000908152601f602052604090209190915550565b6001600160a01b0382166000908152601f6020526040902054612fe390829061344f565b600082601f830112613037578081fd5b8135602061304c6130478361342b565b6133fa565b80838252828201915082860187848660051b890101111561306b578586fd5b855b858110156130895781358452928401929084019060010161306d565b5090979650505050505050565b6000602082840312156130a7578081fd5b81356122e38161353f565b6000602082840312156130c3578081fd5b81516122e38161353f565b600080604083850312156130e0578081fd5b82356130eb8161353f565b915060208301356130fb8161353f565b809150509250929050565b60008060006060848603121561311a578081fd5b83356131258161353f565b925060208401356131358161353f565b929592945050506040919091013590565b60008060408385031215613158578182fd5b82356131638161353f565b915060208301356130fb81613554565b60008060408385031215613185578182fd5b82356131908161353f565b946020939093013593505050565b600080604083850312156131b0578182fd5b823567ffffffffffffffff808211156131c7578384fd5b818501915085601f8301126131da578384fd5b813560206131ea6130478361342b565b8083825282820191508286018a848660051b8901011115613209578889fd5b8896505b848710156132345780356132208161353f565b83526001969096019591830191830161320d565b509650508601359250508082111561324a578283fd5b5061325785828601613027565b9150509250929050565b600060208284031215613272578081fd5b81356122e381613554565b60006020828403121561328e578081fd5b81516122e381613554565b6000602082840312156132aa578081fd5b5035919050565b600080604083850312156132c3578182fd5b8235915060208301356130fb8161353f565b6000806000606084860312156132e9578081fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561332e57858101830151858201604001528201613312565b8181111561333f5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156133d95784516001600160a01b0316835293830193918301916001016133b4565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561342357613423613529565b604052919050565b600067ffffffffffffffff82111561344557613445613529565b5060051b60200190565b6000821982111561346257613462613513565b500190565b60008261348257634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156134a1576134a1613513565b500290565b6000828210156134b8576134b8613513565b500390565b600181811c908216806134d157607f821691505b602082108114156134f257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561350c5761350c613513565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461145057600080fd5b801515811461145057600080fdfea2646970667358221220286a0f33ea24bed9ea6b387954270403fb27e3a7d5542009a15bed3e796521df64736f6c63430008040033

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

0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000001a784379d99db4200000000000000000000000000000022fc6d729668ded26e6a63339becbaed96286fe9000000000000000000000000f914bbdff49fd4ba1a1cbfc740e0d60a8674f4380000000000000000000000001f58c7ae4c0cd8c91b64d0dc5b88a8ea121b3c4e

-----Decoded View---------------
Arg [0] : _uniswapFactory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [1] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _buyLimit (uint256): 2000000000000000000000000
Arg [3] : _tax0Wallet (address): 0x22Fc6D729668ded26e6A63339becBaEd96286Fe9
Arg [4] : _tax1Wallet (address): 0xf914BbDFf49Fd4ba1A1cBFC740E0d60a8674f438
Arg [5] : _tax2Wallet (address): 0x1F58c7Ae4c0cd8C91B64d0dC5b88a8Ea121B3C4e

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 00000000000000000000000000000000000000000001a784379d99db42000000
Arg [3] : 00000000000000000000000022fc6d729668ded26e6a63339becbaed96286fe9
Arg [4] : 000000000000000000000000f914bbdff49fd4ba1a1cbfc740e0d60a8674f438
Arg [5] : 0000000000000000000000001f58c7ae4c0cd8c91b64d0dc5b88a8ea121b3c4e


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.