ETH Price: $3,352.96 (+2.76%)
Gas: 3.89 Gwei
 

Overview

Max Total Supply

10,000,000,000 VOGUE

Holders

78

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,049,730.067556195035093616 VOGUE

Value
$0.00
0x207f3cb9b5b5143bb205fa1becea6d2e5b8d4847
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:
VogueToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 8 : VogueToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;

/**
 * @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.
 */

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./interfaces/IUniswap.sol";

contract VogueToken is Context, ERC20, Ownable {
    using SafeMath for uint256;

    string private constant _NAME = "VOGUE Token";
    string private constant _SYMBOL = "VOGUE";
    uint8 private constant _DECIMALS = 18;

    uint256 private constant _MAX = ~uint256(0);
    uint256 private constant _tTotal = 10 * 10**9 * (10**_DECIMALS); // 10 Billion VogueToken
    uint256 private _rTotal = (_MAX - (_MAX % _tTotal));
    uint256 private _tFeeTotal;

    uint8 public liquidityFeeOnBuy = 2;
    uint8 public treasuryFeeOnBuy = 2;
    uint8 public VoguedistributionFeeOnBuy = 2;

    // Total of 6%

    uint8 public liquidityFeeOnSell = 4;
    uint8 public treasuryFeeOnSell = 1;
    uint8 public VoguedistributionFeeOnSell = 4;

    // Total of 9%

    uint256 public launchedAt;

    // State data for statistical purposes ONLY
    address public treasuryWallet;
    address private constant _DEAD_ADDRESS =
        0x000000000000000000000000000000000000dEaD;

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

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcluded;
    address[] private _excluded;

    IUniswapV2Router02 public uniV2Router;
    address public uniV2Pair;

    uint256 public maxTxAmount = _tTotal.mul(1).div(10**2); // 1% of total supply
    uint256 public amountOfTokensToAddToLiquidityThreshold =
        maxTxAmount.mul(10).div(10**2); // 10% of max transaction amount

    bool public swapAndLiquifyEnabled = true;
    bool private _inSwap;
    modifier swapping() {
        _inSwap = true;
        _;
        _inSwap = false;
    }

    event SwapAndLiquify(
        uint256 indexed ethReceived,
        uint256 indexed tokensIntoLiqudity
    );
    event UpdateUniSwapRouter(address indexed uniV2Router);
    event UpdateSwapAndLiquifyEnabled(bool indexed swapAndLiquifyEnabled);
    event ExcludeFromReflection(address indexed account);
    event IncludeInReflection(address indexed account);
    event SetIsExcludedFromFee(address indexed account, bool indexed flag);
    event ChangeFeesForNormalBuy(
        uint8 indexed liquidityFeeOnBuy,
        uint8 indexed treasuryFeeOnBuy,
        uint8 indexed VoguedistributionFeeOnBuy
    );
    event ChangeFeesForNormalSell(
        uint8 indexed liquidityFeeOnSell,
        uint8 indexed treasuryFeeOnSell,
        uint8 indexed VoguedistributionFeeOnSell
    );
    event UpdateTreasuryWallet(address indexed treasuryWallet);
    event UpdateAmountOfTokensToAddToLiquidityThreshold(
        uint256 indexed amountOfTokensToAddToLiquidityThreshold
    );
    event SetMaxTxPercent(uint256 indexed maxTxPercent);

    constructor(
        address _treasuryWalletAddress,
        address _uniswapV2Router02Address
    ) ERC20(_NAME, _SYMBOL) {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            _uniswapV2Router02Address
        );
        uniV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(
            address(this),
            _uniswapV2Router.WETH()
        );
        uniV2Router = _uniswapV2Router;
        _allowances[address(this)][address(uniV2Router)] = _MAX;
        treasuryWallet = _treasuryWalletAddress;
        _rOwned[msg.sender] = _rTotal;

        _isExcludedFromFee[msg.sender] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[treasuryWallet] = true;
        _excludeFromReflection(treasuryWallet);

        emit Transfer(address(0), msg.sender, _tTotal);
    }

    receive() external payable {}

    fallback() external payable {}

    // Back-Up withdraw, in case ETH gets sent in here
    // NOTE: This function is to be called if and only if ETH gets sent into this contract.
    // On no other occurence should this function be called.
    function withdrawEthInWei(address payable recipient, uint256 amount)
        external
        onlyOwner
    {
        require(recipient != address(0), "Invalid Recipient!");
        require(amount > 0, "Invalid Amount!");
        // recipient.transfer(amount);
        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Transfer failed");
    }

    // Withdraw ERC20 tokens sent to this contract
    // NOTE: This function is to be called if and only if ERC20 tokens gets sent into this contract.
    // On no other occurence should this function be called.
    function withdrawTokens(address token, address recipient)
        external
        onlyOwner
    {
        require(token != address(0), "Invalid Token!");
        require(recipient != address(0), "Invalid Recipient!");

        uint256 balance = IERC20(token).balanceOf(address(this));
        if (balance > 0) {
            require(
                IERC20(token).transfer(recipient, balance),
                "Transfer Failed"
            );
        }
    }

    //  -----------------------------
    //  SETTERS (PROTECTED)
    //  -----------------------------
    function excludeFromReflection(address account) external onlyOwner {
        _excludeFromReflection(account);
        emit ExcludeFromReflection(account);
    }

    function includeInReflection(address account) external onlyOwner {
        _includeInReflection(account);
        emit IncludeInReflection(account);
    }

    function setIsExcludedFromFee(address account, bool flag)
        external
        onlyOwner
    {
        _setIsExcludedFromFee(account, flag);
        emit SetIsExcludedFromFee(account, flag);
    }

    function changeFeesForNormalBuy(
        uint8 _liquidityFeeOnBuy,
        uint8 _treasuryFeeOnBuy,
        uint8 _VoguedistributionFeeOnBuy
    ) external onlyOwner {
        require(_liquidityFeeOnBuy < 100, "Fee should be less than 100!");
        require(_treasuryFeeOnBuy < 100, "Fee should be less than 100!");
        require(
            _VoguedistributionFeeOnBuy < 100,
            "Fee should be less than 100!"
        );
        liquidityFeeOnBuy = _liquidityFeeOnBuy;
        treasuryFeeOnBuy = _treasuryFeeOnBuy;
        VoguedistributionFeeOnBuy = _VoguedistributionFeeOnBuy;
        emit ChangeFeesForNormalBuy(
            _liquidityFeeOnBuy,
            _treasuryFeeOnBuy,
            _VoguedistributionFeeOnBuy
        );
    }

    function changeFeesForNormalSell(
        uint8 _liquidityFeeOnSell,
        uint8 _treasuryFeeOnSell,
        uint8 _VoguedistributionFeeOnSell
    ) external onlyOwner {
        require(_liquidityFeeOnSell < 100, "Fee should be less than 100!");
        require(_treasuryFeeOnSell < 100, "Fee should be less than 100!");
        require(
            _VoguedistributionFeeOnSell < 100,
            "Fee should be less than 100!"
        );
        liquidityFeeOnSell = _liquidityFeeOnSell;
        treasuryFeeOnSell = _treasuryFeeOnSell;
        VoguedistributionFeeOnSell = _VoguedistributionFeeOnSell;
        emit ChangeFeesForNormalSell(
            _liquidityFeeOnSell,
            _treasuryFeeOnSell,
            _VoguedistributionFeeOnSell
        );
    }

    function updateTreasuryWallet(address _treasuryWallet) external onlyOwner {
        require(_treasuryWallet != address(0), "Zero address not allowed!");
        _isExcludedFromFee[treasuryWallet] = false;
        treasuryWallet = _treasuryWallet;
        _isExcludedFromFee[treasuryWallet] = true;
        _excludeFromReflection(treasuryWallet);
        emit UpdateTreasuryWallet(_treasuryWallet);
    }

    function updateAmountOfTokensToAddToLiquidityThreshold(
        uint256 _amountOfTokensToAddToLiquidityThreshold
    ) external onlyOwner {
        amountOfTokensToAddToLiquidityThreshold =
            _amountOfTokensToAddToLiquidityThreshold *
            (10**_DECIMALS);
        emit UpdateAmountOfTokensToAddToLiquidityThreshold(
            _amountOfTokensToAddToLiquidityThreshold
        );
    }

    function updateUniSwapRouter(address _uniV2Router) external onlyOwner {
        require(_uniV2Router != address(0), "UniSwap Router Invalid!");
        require(
            address(uniV2Router) != _uniV2Router,
            "UniSwap Router already exists!"
        );
        _allowances[address(this)][address(uniV2Router)] = 0; // Set Allowance to 0
        uniV2Router = IUniswapV2Router02(_uniV2Router);
      
        _allowances[address(this)][address(uniV2Router)] = _MAX;
        emit UpdateUniSwapRouter(_uniV2Router);
    }

    function updateUniSwapPair(address _uniV2Pair) external onlyOwner {
        require(_uniV2Pair != address(0), "UniSwap Router Invalid!");
        require(
            uniV2Pair != _uniV2Pair,
            "UniSwap Pair already exists!"
        );
        uniV2Pair = _uniV2Pair;
    }



    function updateSwapAndLiquifyEnabled(bool _swapAndLiquifyEnabled)
        external
        onlyOwner
    {
        require(
            swapAndLiquifyEnabled != _swapAndLiquifyEnabled,
            "Value already exists!"
        );
        swapAndLiquifyEnabled = _swapAndLiquifyEnabled;
        emit UpdateSwapAndLiquifyEnabled(_swapAndLiquifyEnabled);
    }

    function setMaxTxPercent(uint256 maxTxPercent) external onlyOwner {
        maxTxAmount = _tTotal.mul(maxTxPercent).div(10**2);
        emit SetMaxTxPercent(maxTxPercent);
    }

    //  -----------------------------
    //  SETTERS
    //  -----------------------------

    function transfer(address recipient, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function approve(address spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        override
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        override
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    //  -----------------------------
    //  GETTERS
    //  -----------------------------
    function name() public pure override returns (string memory) {
        return _NAME;
    }

    function symbol() public pure override returns (string memory) {
        return _SYMBOL;
    }

    function decimals() public pure override returns (uint8) {
        return _DECIMALS;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function allowance(address owner, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function isExcludedFromReflection(address account)
        public
        view
        returns (bool)
    {
        return _isExcluded[account];
    }

    function totalFees() external view returns (uint256) {
        return _tFeeTotal;
    }

    function reflectionFromToken(uint256 tAmount)
        public
        view
        returns (uint256)
    {
        uint256 rAmount = tAmount.mul(_getRate());
        return rAmount;
    }

    function tokenFromReflection(uint256 rAmount)
        public
        view
        returns (uint256)
    {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function getTotalCommunityReflection() external view returns (uint256) {
        return _tFeeTotal;
    }

    //  -----------------------------
    //  INTERNAL
    //  -----------------------------
    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (
                _rOwned[_excluded[i]] > rSupply ||
                _tOwned[_excluded[i]] > tSupply
            ) return (_rTotal, _tTotal);

            rSupply = rSupply.sub(_rOwned[_excluded[i]]);
            tSupply = tSupply.sub(_tOwned[_excluded[i]]);
        }

        if (rSupply < _rTotal.div(_tTotal)) {
            return (_rTotal, _tTotal);
        }

        return (rSupply, tSupply);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal override {
        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);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "ERC20: Transfer amount must be greater than zero");

        if (sender != owner() && recipient != owner())
            require(
                amount <= maxTxAmount,
                "Transfer amount exceeds the maxTxAmount"
            );

        if (_inSwap) {
            _basicTransfer(sender, recipient, amount);
            return;
        }

        if (_isExcludedFromFee[sender] || _isExcludedFromFee[recipient]) {
            _basicTransfer(sender, recipient, amount);
        } else {
            if (recipient == uniV2Pair) {
                _normalSell(sender, recipient, amount);
            } else if (sender == uniV2Pair) {
                _normalBuy(sender, recipient, amount);
            } else {
                _basicTransfer(sender, recipient, amount);
            }
        }

        if (launchedAt == 0 && recipient == uniV2Pair) {
            launchedAt = block.number;
        }
    }

    function _basicTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        uint256 rAmount = reflectionFromToken(amount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rAmount);
        if (_isExcluded[sender]) _tOwned[sender] = _tOwned[sender].sub(amount);
        if (_isExcluded[recipient])
            _tOwned[recipient] = _tOwned[recipient].add(amount);

        emit Transfer(sender, recipient, amount);
    }

    function _normalBuy(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        uint256 currentRate = _getRate();
        uint256 rAmount = amount.mul(currentRate);
        uint256 rLiquidityFee = amount
            .mul(liquidityFeeOnBuy)
            .mul(currentRate)
            .div(100);
        uint256 rVoguedistributionFee = amount
            .mul(VoguedistributionFeeOnBuy)
            .mul(currentRate)
            .div(100);
        uint256 rTreasuryFee = amount
            .mul(treasuryFeeOnBuy)
            .mul(currentRate)
            .div(100);
        uint256 rTransferAmount = rAmount
            .sub(rLiquidityFee)
            .sub(rVoguedistributionFee)
            .sub(rTreasuryFee);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidityFee);
        if (_isExcluded[sender]) _tOwned[sender] = _tOwned[sender].sub(amount);
        if (_isExcluded[recipient])
            _tOwned[recipient] = _tOwned[recipient].add(
                rTransferAmount.div(currentRate)
            );
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(
                rLiquidityFee.div(currentRate)
            );

        emit Transfer(sender, recipient, rTransferAmount.div(currentRate));
        emit Transfer(sender, address(this), (rLiquidityFee).div(currentRate));

        _sendToTreasuryWallet(
            sender,
            rTreasuryFee.div(currentRate),
            rTreasuryFee
        );
        _reflectFee(
            rVoguedistributionFee,
            rVoguedistributionFee.div(currentRate)
        );
    }

    function _normalSell(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        uint256 currentRate = _getRate();
        uint256 rAmount = amount.mul(currentRate);
        uint256 rLiquidityFee = amount
            .mul(liquidityFeeOnSell)
            .mul(currentRate)
            .div(100);
        uint256 rVoguedistributionFee = amount
            .mul(VoguedistributionFeeOnSell)
            .mul(currentRate)
            .div(100);
        uint256 rTreasuryFee = amount
            .mul(treasuryFeeOnSell)
            .mul(currentRate)
            .div(100);
        uint256 rTransferAmount = rAmount
            .sub(rLiquidityFee)
            .sub(rVoguedistributionFee)
            .sub(rTreasuryFee);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidityFee);
        if (_isExcluded[sender]) _tOwned[sender] = _tOwned[sender].sub(amount);
        if (_isExcluded[recipient])
            _tOwned[recipient] = _tOwned[recipient].add(
                rTransferAmount.div(currentRate)
            );
        if (_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)].add(
                rLiquidityFee.div(currentRate)
            );

        emit Transfer(sender, recipient, rTransferAmount.div(currentRate));
        emit Transfer(sender, address(this), rLiquidityFee.div(currentRate));

        _sendToTreasuryWallet(
            sender,
            rTreasuryFee.div(currentRate),
            rTreasuryFee
        );
        _reflectFee(
            rVoguedistributionFee,
            rVoguedistributionFee.div(currentRate)
        );
    }

    function _sendToTreasuryWallet(
        address sender,
        uint256 tTreasuryFee,
        uint256 rTreasuryFee
    ) private {
        _rOwned[treasuryWallet] = _rOwned[treasuryWallet].add(rTreasuryFee);
        if (_isExcluded[treasuryWallet])
            _tOwned[treasuryWallet] = _tOwned[treasuryWallet].add(tTreasuryFee);
        emit Transfer(sender, treasuryWallet, tTreasuryFee);
    }


    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    function _excludeFromReflection(address account) private {
        // require(account !=  0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude UniSwap router.');
        require(!_isExcluded[account], "Account is already excluded");

        if (_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function _includeInReflection(address account) private {
        require(_isExcluded[account], "Account is already included");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _rOwned[account] = reflectionFromToken(_tOwned[account]);
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function _setIsExcludedFromFee(address account, bool flag) private {
        _isExcludedFromFee[account] = flag;
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 8 : IUniswap.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 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 (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    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 (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

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

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

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

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

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

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":"_treasuryWalletAddress","type":"address"},{"internalType":"address","name":"_uniswapV2Router02Address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"liquidityFeeOnBuy","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"treasuryFeeOnBuy","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"VoguedistributionFeeOnBuy","type":"uint8"}],"name":"ChangeFeesForNormalBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"liquidityFeeOnSell","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"treasuryFeeOnSell","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"VoguedistributionFeeOnSell","type":"uint8"}],"name":"ChangeFeesForNormalSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromReflection","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"IncludeInReflection","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"flag","type":"bool"}],"name":"SetIsExcludedFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"SetMaxTxPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amountOfTokensToAddToLiquidityThreshold","type":"uint256"}],"name":"UpdateAmountOfTokensToAddToLiquidityThreshold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"swapAndLiquifyEnabled","type":"bool"}],"name":"UpdateSwapAndLiquifyEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"treasuryWallet","type":"address"}],"name":"UpdateTreasuryWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"uniV2Router","type":"address"}],"name":"UpdateUniSwapRouter","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"VoguedistributionFeeOnBuy","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VoguedistributionFeeOnSell","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountOfTokensToAddToLiquidityThreshold","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":[{"internalType":"uint8","name":"_liquidityFeeOnBuy","type":"uint8"},{"internalType":"uint8","name":"_treasuryFeeOnBuy","type":"uint8"},{"internalType":"uint8","name":"_VoguedistributionFeeOnBuy","type":"uint8"}],"name":"changeFeesForNormalBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_liquidityFeeOnSell","type":"uint8"},{"internalType":"uint8","name":"_treasuryFeeOnSell","type":"uint8"},{"internalType":"uint8","name":"_VoguedistributionFeeOnSell","type":"uint8"}],"name":"changeFeesForNormalSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReflection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTotalCommunityReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReflection","outputs":[],"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":"account","type":"address"}],"name":"isExcludedFromReflection","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnBuy","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnSell","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"setIsExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxPercent","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":[],"name":"treasuryFeeOnBuy","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFeeOnSell","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountOfTokensToAddToLiquidityThreshold","type":"uint256"}],"name":"updateAmountOfTokensToAddToLiquidityThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapAndLiquifyEnabled","type":"bool"}],"name":"updateSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniV2Pair","type":"address"}],"name":"updateUniSwapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniV2Router","type":"address"}],"name":"updateUniSwapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawEthInWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052620000126012600a62000a83565b62000023906402540be40062000b42565b620000319060001962000bd9565b6200003f9060001962000b64565b6006556008805465ffffffffffff191665040104020202179055620000ac6064620000986001620000736012600a62000a83565b62000084906402540be40062000b42565b6200042260201b620017001790919060201c565b6200043960201b6200170c1790919060201c565b601355620000d2606462000098600a6013546200042260201b620017001790919060201c565b6014556015805460ff19166001179055348015620000ef57600080fd5b50604051620037d8380380620037d88339810160408190526200011291620009ec565b604080518082018252600b81526a2b27a3aaa2902a37b5b2b760a91b602080830191825283518085019094526005845264564f47554560d81b90840152815191929162000162916003916200090c565b508051620001789060049060208401906200090c565b505050620001956200018f6200044760201b60201c565b6200044b565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001d457600080fd5b505afa158015620001e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020f9190620009cf565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200025857600080fd5b505afa1580156200026d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002939190620009cf565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002dc57600080fd5b505af1158015620002f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003179190620009cf565b601280546001600160a01b03199081166001600160a01b0393841617909155601180548216848416908117909155306000818152600d602090815260408083209483529381528382206000199055600a8054909516898716178555600654338352600b825284832055600e9052828120805460ff19908116600190811790925592825283822080548416821790558454861682529290208054909116909117905554620003c591166200049d565b3360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620003f76012600a62000a83565b62000408906402540be40062000b42565b60405190815260200160405180910390a350505062000c1c565b600062000430828462000b42565b90505b92915050565b600062000430828462000a23565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381166000908152600f602052604090205460ff16156200050c5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064015b60405180910390fd5b6001600160a01b0381166000908152600b60205260409020541562000569576001600160a01b0381166000908152600b60205260409020546200054f90620005cf565b6001600160a01b0382166000908152600c60205260409020555b6001600160a01b03166000818152600f60205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319169091179055565b6000600654821115620006385760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840162000503565b60006200064462000667565b90506200066081846200043960201b6200170c1790919060201c565b9392505050565b60008080620006756200069a565b915091506200069381836200043960201b6200170c1790919060201c565b9250505090565b600654600090819081620006b16012600a62000a83565b620006c2906402540be40062000b42565b905060005b601054811015620008865782600b600060108481548110620006f957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118062000774575081600c6000601084815481106200074d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15620007a7576006546200078b6012600a62000a83565b6200079c906402540be40062000b42565b945094505050509091565b6200080a600b600060108481548110620007d157634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054859162001718620008fe821b17901c565b92506200086f600c6000601084815481106200083657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352828101939093526040909101902054849162001718620008fe821b17901c565b9150806200087d8162000bbb565b915050620006c7565b50620008c1620008996012600a62000a83565b620008aa906402540be40062000b42565b6006546200043960201b6200170c1790919060201c565b821015620008f557600654620008da6012600a62000a83565b620008eb906402540be40062000b42565b9350935050509091565b90939092509050565b600062000430828462000b64565b8280546200091a9062000b7e565b90600052602060002090601f0160209004810192826200093e576000855562000989565b82601f106200095957805160ff191683800117855562000989565b8280016001018555821562000989579182015b82811115620009895782518255916020019190600101906200096c565b50620009979291506200099b565b5090565b5b808211156200099757600081556001016200099c565b80516001600160a01b0381168114620009ca57600080fd5b919050565b600060208284031215620009e1578081fd5b6200043082620009b2565b60008060408385031215620009ff578081fd5b62000a0a83620009b2565b915062000a1a60208401620009b2565b90509250929050565b60008262000a355762000a3562000c06565b500490565b600181815b8085111562000a7b57816000190482111562000a5f5762000a5f62000bf0565b8085161562000a6d57918102915b93841c939080029062000a3f565b509250929050565b60006200043060ff84168360008262000a9f5750600162000433565b8162000aae5750600062000433565b816001811462000ac7576002811462000ad25762000af2565b600191505062000433565b60ff84111562000ae65762000ae662000bf0565b50506001821b62000433565b5060208310610133831016604e8410600b841016171562000b17575081810a62000433565b62000b23838362000a3a565b806000190482111562000b3a5762000b3a62000bf0565b029392505050565b600081600019048311821515161562000b5f5762000b5f62000bf0565b500290565b60008282101562000b795762000b7962000bf0565b500390565b600181811c9082168062000b9357607f821691505b6020821081141562000bb557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000bd25762000bd262000bf0565b5060010190565b60008262000beb5762000beb62000c06565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b612bac8062000c2c6000396000f3fe60806040526004361061025e5760003560e01c80637b3c83b111610143578063a457c2d7116100bb578063cdd4bd7911610077578063cdd4bd7914610762578063d543dbeb14610784578063dd62ed3e146107a4578063ef422a18146107ea578063f0189c311461080a578063f2fde38b1461082a57005b8063a457c2d7146106ac578063a522ad25146106cc578063a9059cbb146106ec578063bf56b3711461070c578063c85a470214610722578063caea29951461074257005b80638c0b5e221161010a5780638c0b5e221461060a5780638da5cb5b146106205780639193cecc146102fd578063958c2e521461063e57806395d89b411461065e5780639f9a4e7f1461068c57005b80637b3c83b1146105585780637d459db314610572578063809d458d146105ab578063824e4605146105cb5780638bcea939146105ea57005b806330f0a7d4116101d65780633bae39731161019d5780633bae39731461049b5780634626402b146104b15780634a74bb02146104e95780635c4907c91461050357806370a0823114610523578063715018a61461054357005b806330f0a7d414610404578063313ce56714610427578063376808541461043b578063395093511461045b5780633b86ff851461047b57005b806318160ddd1161022557806318160ddd1461033c57806323b872dd1461035157806327334a08146103715780632ce86fbf146103915780632d4ec96e146103c45780632d838119146103e457005b806305f82a451461026757806306fdde0314610287578063095ea7b3146102cd57806313114a9d146102fd5780631392c0861461031c57005b3661026557005b005b34801561027357600080fd5b506102656102823660046126f2565b61084a565b34801561029357600080fd5b5060408051808201909152600b81526a2b27a3aaa2902a37b5b2b760a91b60208201525b6040516102c4919061289a565b60405180910390f35b3480156102d957600080fd5b506102ed6102e83660046127de565b6108bd565b60405190151581526020016102c4565b34801561030957600080fd5b506007545b6040519081526020016102c4565b34801561032857600080fd5b5061030e610337366004612828565b6108d4565b34801561034857600080fd5b5061030e6108f0565b34801561035d57600080fd5b506102ed61036c366004612771565b610912565b34801561037d57600080fd5b5061026561038c3660046126f2565b61097b565b34801561039d57600080fd5b506008546103b2906301000000900460ff1681565b60405160ff90911681526020016102c4565b3480156103d057600080fd5b506102656103df3660046126f2565b6109e5565b3480156103f057600080fd5b5061030e6103ff366004612828565b610adf565b34801561041057600080fd5b506008546103b29065010000000000900460ff1681565b34801561043357600080fd5b5060126103b2565b34801561044757600080fd5b50610265610456366004612858565b610b5c565b34801561046757600080fd5b506102ed6104763660046127de565b610c4f565b34801561048757600080fd5b50610265610496366004612858565b610c85565b3480156104a757600080fd5b5061030e60145481565b3480156104bd57600080fd5b50600a546104d1906001600160a01b031681565b6040516001600160a01b0390911681526020016102c4565b3480156104f557600080fd5b506015546102ed9060ff1681565b34801561050f57600080fd5b5061026561051e3660046126f2565b610d97565b34801561052f57600080fd5b5061030e61053e3660046126f2565b610ee5565b34801561054f57600080fd5b50610265610f44565b34801561056457600080fd5b506008546103b29060ff1681565b34801561057e57600080fd5b506102ed61058d3660046126f2565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156105b757600080fd5b506102656105c63660046126f2565b610f7a565b3480156105d757600080fd5b506008546103b290610100900460ff1681565b3480156105f657600080fd5b506012546104d1906001600160a01b031681565b34801561061657600080fd5b5061030e60135481565b34801561062c57600080fd5b506005546001600160a01b03166104d1565b34801561064a57600080fd5b506011546104d1906001600160a01b031681565b34801561066a57600080fd5b50604080518082019091526005815264564f47554560d81b60208201526102b7565b34801561069857600080fd5b506102656106a73660046127f0565b611088565b3480156106b857600080fd5b506102ed6106c73660046127de565b611140565b3480156106d857600080fd5b506102656106e7366004612739565b61118f565b3480156106f857600080fd5b506102ed6107073660046127de565b611392565b34801561071857600080fd5b5061030e60095481565b34801561072e57600080fd5b506008546103b29062010000900460ff1681565b34801561074e57600080fd5b5061026561075d366004612828565b61139f565b34801561076e57600080fd5b506008546103b290640100000000900460ff1681565b34801561079057600080fd5b5061026561079f366004612828565b611410565b3480156107b057600080fd5b5061030e6107bf366004612739565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205490565b3480156107f657600080fd5b506102656108053660046127b1565b61149b565b34801561081657600080fd5b5061026561082536600461270e565b611519565b34801561083657600080fd5b506102656108453660046126f2565b611665565b6005546001600160a01b0316331461087d5760405162461bcd60e51b815260040161087490612924565b60405180910390fd5b61088681611724565b6040516001600160a01b038216907fbc60ea2907fcdafe53db285c79dc7f5c4871e4d26a2d97a7bb5ae1e61f89099790600090a250565b60006108ca33848461190e565b5060015b92915050565b6000806108e96108e2611a33565b8490611700565b9392505050565b60006108fe6012600a6129d4565b61090d906402540be400612a7f565b905090565b600061091f848484611a56565b610971843361096c85604051806060016040528060288152602001612b0a602891396001600160a01b038a166000908152600d602090815260408083203384529091529020549190611cff565b61190e565b5060019392505050565b6005546001600160a01b031633146109a55760405162461bcd60e51b815260040161087490612924565b6109ae81611d2b565b6040516001600160a01b038216907fb1e6291bd894dac65335f88fa5b41166f1f5d6194503a8b59c1afa98de37942690600090a250565b6005546001600160a01b03163314610a0f5760405162461bcd60e51b815260040161087490612924565b6001600160a01b038116610a5f5760405162461bcd60e51b8152602060048201526017602482015276556e695377617020526f7574657220496e76616c69642160481b6044820152606401610874565b6012546001600160a01b0382811691161415610abd5760405162461bcd60e51b815260206004820152601c60248201527f556e6953776170205061697220616c72656164792065786973747321000000006044820152606401610874565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000600654821115610b465760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610874565b6000610b50611a33565b90506108e9838261170c565b6005546001600160a01b03163314610b865760405162461bcd60e51b815260040161087490612924565b60648360ff1610610ba95760405162461bcd60e51b8152600401610874906128ed565b60648260ff1610610bcc5760405162461bcd60e51b8152600401610874906128ed565b60648160ff1610610bef5760405162461bcd60e51b8152600401610874906128ed565b6008805460ff83811662010000810262ff000019878416610100810261ffff19909616948a169485179590951716179093556040517f7510d0059c69c8b48a31a5ad9daec9757e7d1dcfbdce101689667c9189b3016290600090a4505050565b336000818152600d602090815260408083206001600160a01b038716845290915281205490916108ca91859061096c9086611e54565b6005546001600160a01b03163314610caf5760405162461bcd60e51b815260040161087490612924565b60648360ff1610610cd25760405162461bcd60e51b8152600401610874906128ed565b60648260ff1610610cf55760405162461bcd60e51b8152600401610874906128ed565b60648160ff1610610d185760405162461bcd60e51b8152600401610874906128ed565b6008805460ff83811665010000000000810265ff000000000019878416640100000000810264ff0000000019958b16630100000081029690961664ffff00000019909716969096179590951716179093556040517fa00b29898a6a901f1859cc5ae0d8ff55764dc09e1ad4546861d4fa02b1c3a07190600090a4505050565b6005546001600160a01b03163314610dc15760405162461bcd60e51b815260040161087490612924565b6001600160a01b038116610e115760405162461bcd60e51b8152602060048201526017602482015276556e695377617020526f7574657220496e76616c69642160481b6044820152606401610874565b6011546001600160a01b0382811691161415610e6f5760405162461bcd60e51b815260206004820152601e60248201527f556e695377617020526f7574657220616c7265616479206578697374732100006044820152606401610874565b306000908152600d60209081526040808320601180546001600160a01b0390811686529190935281842084905582546001600160a01b03191690851690811790925581835280832060001990555190917f250311754282b7507f0ca147c35e4bf56ba6b0f0bd7dd9a01d46b49d3aa3b77091a250565b6001600160a01b0381166000908152600f602052604081205460ff1615610f2257506001600160a01b03166000908152600c602052604090205490565b6001600160a01b0382166000908152600b60205260409020546108ce90610adf565b6005546001600160a01b03163314610f6e5760405162461bcd60e51b815260040161087490612924565b610f786000611e60565b565b6005546001600160a01b03163314610fa45760405162461bcd60e51b815260040161087490612924565b6001600160a01b038116610ffa5760405162461bcd60e51b815260206004820152601960248201527f5a65726f2061646472657373206e6f7420616c6c6f77656421000000000000006044820152606401610874565b600a80546001600160a01b039081166000908152600e6020526040808220805460ff1990811690915584546001600160a01b0319168685169081178655835291208054909116600117905590546110519116611d2b565b6040516001600160a01b038216907f7bdfb4a7f59b687d1b5dc131df162bfbe0456a6b5fc0bf2be4f912a6c5ac586c90600090a250565b6005546001600160a01b031633146110b25760405162461bcd60e51b815260040161087490612924565b60155460ff16151581151514156111035760405162461bcd60e51b815260206004820152601560248201527456616c756520616c7265616479206578697374732160581b6044820152606401610874565b6015805460ff19168215159081179091556040517feabf867d58cac10df90423915b338c6913140ae03402727b226deedef8d47c6990600090a250565b60006108ca338461096c85604051806060016040528060258152602001612b5260259139336000908152600d602090815260408083206001600160a01b038d1684529091529020549190611cff565b6005546001600160a01b031633146111b95760405162461bcd60e51b815260040161087490612924565b6001600160a01b0382166112005760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420546f6b656e2160901b6044820152606401610874565b6001600160a01b03811661124b5760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420526563697069656e742160701b6044820152606401610874565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b15801561128d57600080fd5b505afa1580156112a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c59190612840565b9050801561138d5760405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561131757600080fd5b505af115801561132b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134f919061280c565b61138d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8811985a5b1959608a1b6044820152606401610874565b505050565b60006108ca338484611a56565b6005546001600160a01b031633146113c95760405162461bcd60e51b815260040161087490612924565b6113d56012600a6129d4565b6113df9082612a7f565b60145560405181907f770976e2f66426619bfae364435eb739d78cc32d7ba2ead465556f51a10e6a2b90600090a250565b6005546001600160a01b0316331461143a5760405162461bcd60e51b815260040161087490612924565b61146a60646114648361144f6012600a6129d4565b61145e906402540be400612a7f565b90611700565b9061170c565b60135560405181907f570636dca93f35bb5dee1663ad99fe3f70745771395df08a5f7732130618b51890600090a250565b6005546001600160a01b031633146114c55760405162461bcd60e51b815260040161087490612924565b6001600160a01b0382166000818152600e6020526040808220805460ff191685151590811790915590519092917fc444ab4df75bf06253429e3bef0816d6ab100d5e10cc3daafce5f29d48b4d73091a35050565b6005546001600160a01b031633146115435760405162461bcd60e51b815260040161087490612924565b6001600160a01b03821661158e5760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420526563697069656e742160701b6044820152606401610874565b600081116115d05760405162461bcd60e51b815260206004820152600f60248201526e496e76616c696420416d6f756e742160881b6044820152606401610874565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461161d576040519150601f19603f3d011682016040523d82523d6000602084013e611622565b606091505b505090508061138d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610874565b6005546001600160a01b0316331461168f5760405162461bcd60e51b815260040161087490612924565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610874565b6116fd81611e60565b50565b60006108e98284612a7f565b60006108e98284612971565b60006108e98284612a9e565b6001600160a01b0381166000908152600f602052604090205460ff1661178c5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610874565b60005b60105481101561190a57816001600160a01b0316601082815481106117c457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156118f857601080546117ef90600190612a9e565b8154811061180d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154601080546001600160a01b03909216918390811061184757634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600c9091526040902054611887906108d4565b6001600160a01b0383166000908152600b6020908152604080832093909355600f905220805460ff1916905560108054806118d257634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b8061190281612ab5565b91505061178f565b5050565b6001600160a01b0383166119705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610874565b6001600160a01b0382166119d15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610874565b6001600160a01b038381166000818152600d602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000806000611a40611eb2565b9092509050611a4f828261170c565b9250505090565b6001600160a01b038316611aba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610874565b6001600160a01b038216611b1c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610874565b60008111611b855760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610874565b6005546001600160a01b03848116911614801590611bb157506005546001600160a01b03838116911614155b15611c1857601354811115611c185760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b6064820152608401610874565b601554610100900460ff1615611c335761138d8383836120d0565b6001600160a01b0383166000908152600e602052604090205460ff1680611c7257506001600160a01b0382166000908152600e602052604090205460ff165b15611c8757611c828383836120d0565b611cd4565b6012546001600160a01b0383811691161415611ca857611c82838383612240565b6012546001600160a01b0384811691161415611cc957611c82838383612548565b611cd48383836120d0565b600954158015611cf157506012546001600160a01b038381169116145b1561138d5743600955505050565b60008184841115611d235760405162461bcd60e51b8152600401610874919061289a565b505050900390565b6001600160a01b0381166000908152600f602052604090205460ff1615611d945760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610874565b6001600160a01b0381166000908152600b602052604090205415611dee576001600160a01b0381166000908152600b6020526040902054611dd490610adf565b6001600160a01b0382166000908152600c60205260409020555b6001600160a01b03166000818152600f60205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319169091179055565b60006108e98284612959565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600654600090819081611ec76012600a6129d4565b611ed6906402540be400612a7f565b905060005b6010548110156120705782600b600060108481548110611f0b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611f84575081600c600060108481548110611f5d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611fb257600654611f986012600a6129d4565b611fa7906402540be400612a7f565b945094505050509091565b612006600b600060108481548110611fda57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611718565b925061205c600c60006010848154811061203057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611718565b91508061206881612ab5565b915050611edb565b506120986120806012600a6129d4565b61208f906402540be400612a7f565b6006549061170c565b8210156120c7576006546120ae6012600a6129d4565b6120bd906402540be400612a7f565b9350935050509091565b90939092509050565b60006120db826108d4565b6001600160a01b0385166000908152600b60205260409020549091506121019082611718565b6001600160a01b038086166000908152600b602052604080822093909355908516815220546121309082611e54565b6001600160a01b038085166000908152600b60209081526040808320949094559187168152600f909152205460ff16156121a1576001600160a01b0384166000908152600c60205260409020546121879083611718565b6001600160a01b0385166000908152600c60205260409020555b6001600160a01b0383166000908152600f602052604090205460ff16156121ff576001600160a01b0383166000908152600c60205260409020546121e59083611e54565b6001600160a01b0384166000908152600c60205260409020555b826001600160a01b0316846001600160a01b0316600080516020612b328339815191528460405161223291815260200190565b60405180910390a350505050565b600061224a611a33565b905060006122588383611700565b9050600061228a60646114648561145e600860039054906101000a900460ff1660ff168961170090919063ffffffff16565b905060006122bc60646114648661145e600860059054906101000a900460ff1660ff168a61170090919063ffffffff16565b905060006122ee60646114648761145e600860049054906101000a900460ff1660ff168b61170090919063ffffffff16565b905060006123088261230285818989611718565b90611718565b6001600160a01b038a166000908152600b602052604090205490915061232e9086611718565b6001600160a01b03808b166000908152600b602052604080822093909355908a168152205461235d9082611e54565b6001600160a01b0389166000908152600b60205260408082209290925530815220546123899085611e54565b306000908152600b60209081526040808320939093556001600160a01b038c168252600f9052205460ff16156123f6576001600160a01b0389166000908152600c60205260409020546123dc9088611718565b6001600160a01b038a166000908152600c60205260409020555b6001600160a01b0388166000908152600f602052604090205460ff161561245d57612443612424828861170c565b6001600160a01b038a166000908152600c602052604090205490611e54565b6001600160a01b0389166000908152600c60205260409020555b306000908152600f602052604090205460ff16156124a957612498612482858861170c565b306000908152600c602052604090205490611e54565b306000908152600c60205260409020555b6001600160a01b03808916908a16600080516020612b328339815191526124d0848a61170c565b60405190815260200160405180910390a3306001600160a01b038a16600080516020612b32833981519152612505878a61170c565b60405190815260200160405180910390a361252a89612524848961170c565b846125e8565b61253d83612538818961170c565b6126b8565b505050505050505050565b6000612552611a33565b905060006125608383611700565b6008549091506000906125849060649061146490869061145e90899060ff16611700565b905060006125b660646114648661145e600860029054906101000a900460ff1660ff168a61170090919063ffffffff16565b905060006122ee60646114648761145e600860019054906101000a900460ff1660ff168b61170090919063ffffffff16565b600a546001600160a01b03166000908152600b602052604090205461260d9082611e54565b600a80546001600160a01b039081166000908152600b602090815260408083209590955592549091168152600f909152205460ff161561268857600a546001600160a01b03166000908152600c602052604090205461266c9083611e54565b600a546001600160a01b03166000908152600c60205260409020555b600a546040518381526001600160a01b0391821691851690600080516020612b3283398151915290602001611a26565b6006546126c59083611718565b6006556007546126d59082611e54565b6007555050565b803560ff811681146126ed57600080fd5b919050565b600060208284031215612703578081fd5b81356108e981612ae6565b60008060408385031215612720578081fd5b823561272b81612ae6565b946020939093013593505050565b6000806040838503121561274b578182fd5b823561275681612ae6565b9150602083013561276681612ae6565b809150509250929050565b600080600060608486031215612785578081fd5b833561279081612ae6565b925060208401356127a081612ae6565b929592945050506040919091013590565b600080604083850312156127c3578182fd5b82356127ce81612ae6565b9150602083013561276681612afb565b60008060408385031215612720578182fd5b600060208284031215612801578081fd5b81356108e981612afb565b60006020828403121561281d578081fd5b81516108e981612afb565b600060208284031215612839578081fd5b5035919050565b600060208284031215612851578081fd5b5051919050565b60008060006060848603121561286c578283fd5b612875846126dc565b9250612883602085016126dc565b9150612891604085016126dc565b90509250925092565b6000602080835283518082850152825b818110156128c6578581018301518582016040015282016128aa565b818111156128d75783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601c908201527f4665652073686f756c64206265206c657373207468616e203130302100000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561296c5761296c612ad0565b500190565b60008261298c57634e487b7160e01b81526012600452602481fd5b500490565b600181815b808511156129cc5781600019048211156129b2576129b2612ad0565b808516156129bf57918102915b93841c9390800290612996565b509250929050565b60006108e960ff8416836000826129ed575060016108ce565b816129fa575060006108ce565b8160018114612a105760028114612a1a57612a36565b60019150506108ce565b60ff841115612a2b57612a2b612ad0565b50506001821b6108ce565b5060208310610133831016604e8410600b8410161715612a59575081810a6108ce565b612a638383612991565b8060001904821115612a7757612a77612ad0565b029392505050565b6000816000190483118215151615612a9957612a99612ad0565b500290565b600082821015612ab057612ab0612ad0565b500390565b6000600019821415612ac957612ac9612ad0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146116fd57600080fd5b80151581146116fd57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ddfe0c8c53f01cb0a285826667098eb6b4e409101adf0e8016ca9d961eeb704564736f6c634300080400330000000000000000000000006108027b79c746d99c5a08815661815e24d2eae80000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x60806040526004361061025e5760003560e01c80637b3c83b111610143578063a457c2d7116100bb578063cdd4bd7911610077578063cdd4bd7914610762578063d543dbeb14610784578063dd62ed3e146107a4578063ef422a18146107ea578063f0189c311461080a578063f2fde38b1461082a57005b8063a457c2d7146106ac578063a522ad25146106cc578063a9059cbb146106ec578063bf56b3711461070c578063c85a470214610722578063caea29951461074257005b80638c0b5e221161010a5780638c0b5e221461060a5780638da5cb5b146106205780639193cecc146102fd578063958c2e521461063e57806395d89b411461065e5780639f9a4e7f1461068c57005b80637b3c83b1146105585780637d459db314610572578063809d458d146105ab578063824e4605146105cb5780638bcea939146105ea57005b806330f0a7d4116101d65780633bae39731161019d5780633bae39731461049b5780634626402b146104b15780634a74bb02146104e95780635c4907c91461050357806370a0823114610523578063715018a61461054357005b806330f0a7d414610404578063313ce56714610427578063376808541461043b578063395093511461045b5780633b86ff851461047b57005b806318160ddd1161022557806318160ddd1461033c57806323b872dd1461035157806327334a08146103715780632ce86fbf146103915780632d4ec96e146103c45780632d838119146103e457005b806305f82a451461026757806306fdde0314610287578063095ea7b3146102cd57806313114a9d146102fd5780631392c0861461031c57005b3661026557005b005b34801561027357600080fd5b506102656102823660046126f2565b61084a565b34801561029357600080fd5b5060408051808201909152600b81526a2b27a3aaa2902a37b5b2b760a91b60208201525b6040516102c4919061289a565b60405180910390f35b3480156102d957600080fd5b506102ed6102e83660046127de565b6108bd565b60405190151581526020016102c4565b34801561030957600080fd5b506007545b6040519081526020016102c4565b34801561032857600080fd5b5061030e610337366004612828565b6108d4565b34801561034857600080fd5b5061030e6108f0565b34801561035d57600080fd5b506102ed61036c366004612771565b610912565b34801561037d57600080fd5b5061026561038c3660046126f2565b61097b565b34801561039d57600080fd5b506008546103b2906301000000900460ff1681565b60405160ff90911681526020016102c4565b3480156103d057600080fd5b506102656103df3660046126f2565b6109e5565b3480156103f057600080fd5b5061030e6103ff366004612828565b610adf565b34801561041057600080fd5b506008546103b29065010000000000900460ff1681565b34801561043357600080fd5b5060126103b2565b34801561044757600080fd5b50610265610456366004612858565b610b5c565b34801561046757600080fd5b506102ed6104763660046127de565b610c4f565b34801561048757600080fd5b50610265610496366004612858565b610c85565b3480156104a757600080fd5b5061030e60145481565b3480156104bd57600080fd5b50600a546104d1906001600160a01b031681565b6040516001600160a01b0390911681526020016102c4565b3480156104f557600080fd5b506015546102ed9060ff1681565b34801561050f57600080fd5b5061026561051e3660046126f2565b610d97565b34801561052f57600080fd5b5061030e61053e3660046126f2565b610ee5565b34801561054f57600080fd5b50610265610f44565b34801561056457600080fd5b506008546103b29060ff1681565b34801561057e57600080fd5b506102ed61058d3660046126f2565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156105b757600080fd5b506102656105c63660046126f2565b610f7a565b3480156105d757600080fd5b506008546103b290610100900460ff1681565b3480156105f657600080fd5b506012546104d1906001600160a01b031681565b34801561061657600080fd5b5061030e60135481565b34801561062c57600080fd5b506005546001600160a01b03166104d1565b34801561064a57600080fd5b506011546104d1906001600160a01b031681565b34801561066a57600080fd5b50604080518082019091526005815264564f47554560d81b60208201526102b7565b34801561069857600080fd5b506102656106a73660046127f0565b611088565b3480156106b857600080fd5b506102ed6106c73660046127de565b611140565b3480156106d857600080fd5b506102656106e7366004612739565b61118f565b3480156106f857600080fd5b506102ed6107073660046127de565b611392565b34801561071857600080fd5b5061030e60095481565b34801561072e57600080fd5b506008546103b29062010000900460ff1681565b34801561074e57600080fd5b5061026561075d366004612828565b61139f565b34801561076e57600080fd5b506008546103b290640100000000900460ff1681565b34801561079057600080fd5b5061026561079f366004612828565b611410565b3480156107b057600080fd5b5061030e6107bf366004612739565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205490565b3480156107f657600080fd5b506102656108053660046127b1565b61149b565b34801561081657600080fd5b5061026561082536600461270e565b611519565b34801561083657600080fd5b506102656108453660046126f2565b611665565b6005546001600160a01b0316331461087d5760405162461bcd60e51b815260040161087490612924565b60405180910390fd5b61088681611724565b6040516001600160a01b038216907fbc60ea2907fcdafe53db285c79dc7f5c4871e4d26a2d97a7bb5ae1e61f89099790600090a250565b60006108ca33848461190e565b5060015b92915050565b6000806108e96108e2611a33565b8490611700565b9392505050565b60006108fe6012600a6129d4565b61090d906402540be400612a7f565b905090565b600061091f848484611a56565b610971843361096c85604051806060016040528060288152602001612b0a602891396001600160a01b038a166000908152600d602090815260408083203384529091529020549190611cff565b61190e565b5060019392505050565b6005546001600160a01b031633146109a55760405162461bcd60e51b815260040161087490612924565b6109ae81611d2b565b6040516001600160a01b038216907fb1e6291bd894dac65335f88fa5b41166f1f5d6194503a8b59c1afa98de37942690600090a250565b6005546001600160a01b03163314610a0f5760405162461bcd60e51b815260040161087490612924565b6001600160a01b038116610a5f5760405162461bcd60e51b8152602060048201526017602482015276556e695377617020526f7574657220496e76616c69642160481b6044820152606401610874565b6012546001600160a01b0382811691161415610abd5760405162461bcd60e51b815260206004820152601c60248201527f556e6953776170205061697220616c72656164792065786973747321000000006044820152606401610874565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000600654821115610b465760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610874565b6000610b50611a33565b90506108e9838261170c565b6005546001600160a01b03163314610b865760405162461bcd60e51b815260040161087490612924565b60648360ff1610610ba95760405162461bcd60e51b8152600401610874906128ed565b60648260ff1610610bcc5760405162461bcd60e51b8152600401610874906128ed565b60648160ff1610610bef5760405162461bcd60e51b8152600401610874906128ed565b6008805460ff83811662010000810262ff000019878416610100810261ffff19909616948a169485179590951716179093556040517f7510d0059c69c8b48a31a5ad9daec9757e7d1dcfbdce101689667c9189b3016290600090a4505050565b336000818152600d602090815260408083206001600160a01b038716845290915281205490916108ca91859061096c9086611e54565b6005546001600160a01b03163314610caf5760405162461bcd60e51b815260040161087490612924565b60648360ff1610610cd25760405162461bcd60e51b8152600401610874906128ed565b60648260ff1610610cf55760405162461bcd60e51b8152600401610874906128ed565b60648160ff1610610d185760405162461bcd60e51b8152600401610874906128ed565b6008805460ff83811665010000000000810265ff000000000019878416640100000000810264ff0000000019958b16630100000081029690961664ffff00000019909716969096179590951716179093556040517fa00b29898a6a901f1859cc5ae0d8ff55764dc09e1ad4546861d4fa02b1c3a07190600090a4505050565b6005546001600160a01b03163314610dc15760405162461bcd60e51b815260040161087490612924565b6001600160a01b038116610e115760405162461bcd60e51b8152602060048201526017602482015276556e695377617020526f7574657220496e76616c69642160481b6044820152606401610874565b6011546001600160a01b0382811691161415610e6f5760405162461bcd60e51b815260206004820152601e60248201527f556e695377617020526f7574657220616c7265616479206578697374732100006044820152606401610874565b306000908152600d60209081526040808320601180546001600160a01b0390811686529190935281842084905582546001600160a01b03191690851690811790925581835280832060001990555190917f250311754282b7507f0ca147c35e4bf56ba6b0f0bd7dd9a01d46b49d3aa3b77091a250565b6001600160a01b0381166000908152600f602052604081205460ff1615610f2257506001600160a01b03166000908152600c602052604090205490565b6001600160a01b0382166000908152600b60205260409020546108ce90610adf565b6005546001600160a01b03163314610f6e5760405162461bcd60e51b815260040161087490612924565b610f786000611e60565b565b6005546001600160a01b03163314610fa45760405162461bcd60e51b815260040161087490612924565b6001600160a01b038116610ffa5760405162461bcd60e51b815260206004820152601960248201527f5a65726f2061646472657373206e6f7420616c6c6f77656421000000000000006044820152606401610874565b600a80546001600160a01b039081166000908152600e6020526040808220805460ff1990811690915584546001600160a01b0319168685169081178655835291208054909116600117905590546110519116611d2b565b6040516001600160a01b038216907f7bdfb4a7f59b687d1b5dc131df162bfbe0456a6b5fc0bf2be4f912a6c5ac586c90600090a250565b6005546001600160a01b031633146110b25760405162461bcd60e51b815260040161087490612924565b60155460ff16151581151514156111035760405162461bcd60e51b815260206004820152601560248201527456616c756520616c7265616479206578697374732160581b6044820152606401610874565b6015805460ff19168215159081179091556040517feabf867d58cac10df90423915b338c6913140ae03402727b226deedef8d47c6990600090a250565b60006108ca338461096c85604051806060016040528060258152602001612b5260259139336000908152600d602090815260408083206001600160a01b038d1684529091529020549190611cff565b6005546001600160a01b031633146111b95760405162461bcd60e51b815260040161087490612924565b6001600160a01b0382166112005760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420546f6b656e2160901b6044820152606401610874565b6001600160a01b03811661124b5760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420526563697069656e742160701b6044820152606401610874565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b15801561128d57600080fd5b505afa1580156112a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c59190612840565b9050801561138d5760405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb90604401602060405180830381600087803b15801561131757600080fd5b505af115801561132b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134f919061280c565b61138d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8811985a5b1959608a1b6044820152606401610874565b505050565b60006108ca338484611a56565b6005546001600160a01b031633146113c95760405162461bcd60e51b815260040161087490612924565b6113d56012600a6129d4565b6113df9082612a7f565b60145560405181907f770976e2f66426619bfae364435eb739d78cc32d7ba2ead465556f51a10e6a2b90600090a250565b6005546001600160a01b0316331461143a5760405162461bcd60e51b815260040161087490612924565b61146a60646114648361144f6012600a6129d4565b61145e906402540be400612a7f565b90611700565b9061170c565b60135560405181907f570636dca93f35bb5dee1663ad99fe3f70745771395df08a5f7732130618b51890600090a250565b6005546001600160a01b031633146114c55760405162461bcd60e51b815260040161087490612924565b6001600160a01b0382166000818152600e6020526040808220805460ff191685151590811790915590519092917fc444ab4df75bf06253429e3bef0816d6ab100d5e10cc3daafce5f29d48b4d73091a35050565b6005546001600160a01b031633146115435760405162461bcd60e51b815260040161087490612924565b6001600160a01b03821661158e5760405162461bcd60e51b8152602060048201526012602482015271496e76616c696420526563697069656e742160701b6044820152606401610874565b600081116115d05760405162461bcd60e51b815260206004820152600f60248201526e496e76616c696420416d6f756e742160881b6044820152606401610874565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461161d576040519150601f19603f3d011682016040523d82523d6000602084013e611622565b606091505b505090508061138d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610874565b6005546001600160a01b0316331461168f5760405162461bcd60e51b815260040161087490612924565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610874565b6116fd81611e60565b50565b60006108e98284612a7f565b60006108e98284612971565b60006108e98284612a9e565b6001600160a01b0381166000908152600f602052604090205460ff1661178c5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610874565b60005b60105481101561190a57816001600160a01b0316601082815481106117c457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156118f857601080546117ef90600190612a9e565b8154811061180d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154601080546001600160a01b03909216918390811061184757634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600c9091526040902054611887906108d4565b6001600160a01b0383166000908152600b6020908152604080832093909355600f905220805460ff1916905560108054806118d257634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b8061190281612ab5565b91505061178f565b5050565b6001600160a01b0383166119705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610874565b6001600160a01b0382166119d15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610874565b6001600160a01b038381166000818152600d602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000806000611a40611eb2565b9092509050611a4f828261170c565b9250505090565b6001600160a01b038316611aba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610874565b6001600160a01b038216611b1c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610874565b60008111611b855760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610874565b6005546001600160a01b03848116911614801590611bb157506005546001600160a01b03838116911614155b15611c1857601354811115611c185760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b6064820152608401610874565b601554610100900460ff1615611c335761138d8383836120d0565b6001600160a01b0383166000908152600e602052604090205460ff1680611c7257506001600160a01b0382166000908152600e602052604090205460ff165b15611c8757611c828383836120d0565b611cd4565b6012546001600160a01b0383811691161415611ca857611c82838383612240565b6012546001600160a01b0384811691161415611cc957611c82838383612548565b611cd48383836120d0565b600954158015611cf157506012546001600160a01b038381169116145b1561138d5743600955505050565b60008184841115611d235760405162461bcd60e51b8152600401610874919061289a565b505050900390565b6001600160a01b0381166000908152600f602052604090205460ff1615611d945760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610874565b6001600160a01b0381166000908152600b602052604090205415611dee576001600160a01b0381166000908152600b6020526040902054611dd490610adf565b6001600160a01b0382166000908152600c60205260409020555b6001600160a01b03166000818152600f60205260408120805460ff191660019081179091556010805491820181559091527f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6720180546001600160a01b0319169091179055565b60006108e98284612959565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600654600090819081611ec76012600a6129d4565b611ed6906402540be400612a7f565b905060005b6010548110156120705782600b600060108481548110611f0b57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611f84575081600c600060108481548110611f5d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611fb257600654611f986012600a6129d4565b611fa7906402540be400612a7f565b945094505050509091565b612006600b600060108481548110611fda57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611718565b925061205c600c60006010848154811061203057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611718565b91508061206881612ab5565b915050611edb565b506120986120806012600a6129d4565b61208f906402540be400612a7f565b6006549061170c565b8210156120c7576006546120ae6012600a6129d4565b6120bd906402540be400612a7f565b9350935050509091565b90939092509050565b60006120db826108d4565b6001600160a01b0385166000908152600b60205260409020549091506121019082611718565b6001600160a01b038086166000908152600b602052604080822093909355908516815220546121309082611e54565b6001600160a01b038085166000908152600b60209081526040808320949094559187168152600f909152205460ff16156121a1576001600160a01b0384166000908152600c60205260409020546121879083611718565b6001600160a01b0385166000908152600c60205260409020555b6001600160a01b0383166000908152600f602052604090205460ff16156121ff576001600160a01b0383166000908152600c60205260409020546121e59083611e54565b6001600160a01b0384166000908152600c60205260409020555b826001600160a01b0316846001600160a01b0316600080516020612b328339815191528460405161223291815260200190565b60405180910390a350505050565b600061224a611a33565b905060006122588383611700565b9050600061228a60646114648561145e600860039054906101000a900460ff1660ff168961170090919063ffffffff16565b905060006122bc60646114648661145e600860059054906101000a900460ff1660ff168a61170090919063ffffffff16565b905060006122ee60646114648761145e600860049054906101000a900460ff1660ff168b61170090919063ffffffff16565b905060006123088261230285818989611718565b90611718565b6001600160a01b038a166000908152600b602052604090205490915061232e9086611718565b6001600160a01b03808b166000908152600b602052604080822093909355908a168152205461235d9082611e54565b6001600160a01b0389166000908152600b60205260408082209290925530815220546123899085611e54565b306000908152600b60209081526040808320939093556001600160a01b038c168252600f9052205460ff16156123f6576001600160a01b0389166000908152600c60205260409020546123dc9088611718565b6001600160a01b038a166000908152600c60205260409020555b6001600160a01b0388166000908152600f602052604090205460ff161561245d57612443612424828861170c565b6001600160a01b038a166000908152600c602052604090205490611e54565b6001600160a01b0389166000908152600c60205260409020555b306000908152600f602052604090205460ff16156124a957612498612482858861170c565b306000908152600c602052604090205490611e54565b306000908152600c60205260409020555b6001600160a01b03808916908a16600080516020612b328339815191526124d0848a61170c565b60405190815260200160405180910390a3306001600160a01b038a16600080516020612b32833981519152612505878a61170c565b60405190815260200160405180910390a361252a89612524848961170c565b846125e8565b61253d83612538818961170c565b6126b8565b505050505050505050565b6000612552611a33565b905060006125608383611700565b6008549091506000906125849060649061146490869061145e90899060ff16611700565b905060006125b660646114648661145e600860029054906101000a900460ff1660ff168a61170090919063ffffffff16565b905060006122ee60646114648761145e600860019054906101000a900460ff1660ff168b61170090919063ffffffff16565b600a546001600160a01b03166000908152600b602052604090205461260d9082611e54565b600a80546001600160a01b039081166000908152600b602090815260408083209590955592549091168152600f909152205460ff161561268857600a546001600160a01b03166000908152600c602052604090205461266c9083611e54565b600a546001600160a01b03166000908152600c60205260409020555b600a546040518381526001600160a01b0391821691851690600080516020612b3283398151915290602001611a26565b6006546126c59083611718565b6006556007546126d59082611e54565b6007555050565b803560ff811681146126ed57600080fd5b919050565b600060208284031215612703578081fd5b81356108e981612ae6565b60008060408385031215612720578081fd5b823561272b81612ae6565b946020939093013593505050565b6000806040838503121561274b578182fd5b823561275681612ae6565b9150602083013561276681612ae6565b809150509250929050565b600080600060608486031215612785578081fd5b833561279081612ae6565b925060208401356127a081612ae6565b929592945050506040919091013590565b600080604083850312156127c3578182fd5b82356127ce81612ae6565b9150602083013561276681612afb565b60008060408385031215612720578182fd5b600060208284031215612801578081fd5b81356108e981612afb565b60006020828403121561281d578081fd5b81516108e981612afb565b600060208284031215612839578081fd5b5035919050565b600060208284031215612851578081fd5b5051919050565b60008060006060848603121561286c578283fd5b612875846126dc565b9250612883602085016126dc565b9150612891604085016126dc565b90509250925092565b6000602080835283518082850152825b818110156128c6578581018301518582016040015282016128aa565b818111156128d75783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601c908201527f4665652073686f756c64206265206c657373207468616e203130302100000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561296c5761296c612ad0565b500190565b60008261298c57634e487b7160e01b81526012600452602481fd5b500490565b600181815b808511156129cc5781600019048211156129b2576129b2612ad0565b808516156129bf57918102915b93841c9390800290612996565b509250929050565b60006108e960ff8416836000826129ed575060016108ce565b816129fa575060006108ce565b8160018114612a105760028114612a1a57612a36565b60019150506108ce565b60ff841115612a2b57612a2b612ad0565b50506001821b6108ce565b5060208310610133831016604e8410600b8410161715612a59575081810a6108ce565b612a638383612991565b8060001904821115612a7757612a77612ad0565b029392505050565b6000816000190483118215151615612a9957612a99612ad0565b500290565b600082821015612ab057612ab0612ad0565b500390565b6000600019821415612ac957612ac9612ad0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146116fd57600080fd5b80151581146116fd57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ddfe0c8c53f01cb0a285826667098eb6b4e409101adf0e8016ca9d961eeb704564736f6c63430008040033

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

0000000000000000000000006108027b79c746d99c5a08815661815e24d2eae80000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _treasuryWalletAddress (address): 0x6108027B79C746d99C5a08815661815E24d2EaE8
Arg [1] : _uniswapV2Router02Address (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006108027b79c746d99c5a08815661815e24d2eae8
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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.