ETH Price: $2,902.68 (+2.80%)
Gas: 8.96 Gwei
 

Overview

Max Total Supply

9,000,000 YIN

Holders

558

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
300 YIN

Value
$0.00
0x29744e550caf7bafd2a46c2fca8cc9383ccd8005
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:
Yin

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 9 : Yin.sol
// SPDX-License-Identifier: MIT
//spdx-license-identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";

contract Yin is Ownable, ERC20 {
    IUniswapV2Router02 public uniswapV2Router;

    bool private _inSwap;

    address public treasury;
    address public uniswapV2Pair;

    uint256 public maxTransferAmount = 9000 * 10 ** decimals(); // 9K = 0.1% of total supply
    uint256 public maxWalletAmount = 9000000 * 10 ** decimals(); // 9M = 100% of total supply
    uint256 public minAmountToLiquify = 500 * 10 ** decimals(); // 500 tokens
    uint256 public sellTax = 400; // 4%
    uint256 private _supply = 9000000 * 10 ** decimals(); // 9M

    mapping(address => bool) public isExcludedFromFee;
    mapping(address => bool) public isExcludedFromMaxTransactionAmount;
    mapping(address => bool) public isExcludedFromMaxWallet;

    error AmountCannotBeZero();
    error FailedETHSend();
    error InsufficientBalance();
    error InvalidAmount();
    error MaxWalletExceeded();
    error MaxTaxExceeded();
    error MaxTransferExceeded();
    error PairIsAlreadySet();
    error ZeroAddress();

    event ExcludeFromFee(
        address indexed owner,
        address indexed account,
        bool indexed isExcluded
    );
    event ExcludeFromMaxTransfer(
        address indexed owner,
        address indexed account,
        bool indexed isExcluded
    );
    event ExcludeFromMaxWallet(
        address indexed owner,
        address indexed account,
        bool indexed isExcluded
    );
    event SetMaxTransferAmount(address indexed owner, uint256 indexed amount);
    event SetMaxWalletAmount(address indexed owner, uint256 indexed amount);
    event UpdateUniswapV2Pair(address indexed owner, address indexed pair);

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

    modifier NotZeroAddress(address value) {
        if (value == address(0)) revert ZeroAddress();
        _;
    }

    constructor(
        address _uniswapV2Router,
        address _treasury
    )
        ERC20("YIN", "YIN")
        NotZeroAddress(_uniswapV2Router)
        NotZeroAddress(_treasury)
    {
        uniswapV2Router = IUniswapV2Router02(_uniswapV2Router);
        treasury = _treasury;

        //create pair
        address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());
        uniswapV2Pair = _uniswapV2Pair;

        isExcludedFromFee[_uniswapV2Router] = true;
        isExcludedFromFee[address(0xdead)] = true;
        isExcludedFromFee[_msgSender()] = true;
        isExcludedFromFee[_treasury] = true;
        isExcludedFromFee[_uniswapV2Pair] = true;

        isExcludedFromMaxTransactionAmount[address(0xdead)] = true;
        isExcludedFromMaxTransactionAmount[_msgSender()] = true;
        isExcludedFromMaxTransactionAmount[_treasury] = true;

        isExcludedFromMaxWallet[_msgSender()] = true;
        isExcludedFromMaxWallet[_uniswapV2Pair] = true;

        //mint tokens
        _mint(_msgSender(), _supply);
    }

    receive() external payable {}

    function excludeFromFee(
        address _address,
        bool _status
    ) external onlyOwner NotZeroAddress(_address) {
        isExcludedFromFee[_address] = _status;
        emit ExcludeFromFee(_msgSender(), _address, _status);
    }

    function excludeFromMaxTransfer(
        address _address,
        bool _status
    ) external onlyOwner NotZeroAddress(_address) {
        isExcludedFromMaxTransactionAmount[_address] = _status;
        emit ExcludeFromMaxTransfer(_msgSender(), _address, _status);
    }

    function excludeFromMaxWallet(
        address _address,
        bool _status
    ) external onlyOwner NotZeroAddress(_address) {
        isExcludedFromMaxWallet[_address] = _status;
        emit ExcludeFromMaxWallet(_msgSender(), _address, _status);
    }

    function setPostLaunchConfig(
        uint256 _maxTransferAmount,
        uint256 _maxWalletAmount
    ) external onlyOwner {
        setMaxTransferAmount(_maxTransferAmount);
        setMaxWalletAmount(_maxWalletAmount);
    }

    // 400 = 4%
    function setSellTax(uint256 amount) public onlyOwner {
        if (amount > 1000) revert MaxTaxExceeded();
        sellTax = amount;
    }
    
    function setTreasury(
        address value
    ) external onlyOwner NotZeroAddress(value) {
        treasury = value;
    }

    function updateUniswapV2Pair(address pair) external onlyOwner {
        _updateUniswapV2Pair(pair);
    }

    function withdrawETH() external onlyOwner {
        (bool success, ) = payable(treasury).call{value: address(this).balance}(
            ""
        );
        if (!success) revert FailedETHSend();
    }

    function withdrawTokens(
        address token
    ) external onlyOwner NotZeroAddress(token) {
        uint256 balance = IERC20(token).balanceOf(address(this));
        if (balance == 0) revert InsufficientBalance();
        IERC20(token).transfer(treasury, balance);
    }

    function setMaxTransferAmount(uint256 amount) public onlyOwner {
        if (amount < 9000 * 10 ** decimals()) revert InvalidAmount();
        maxTransferAmount = amount;
        emit SetMaxTransferAmount(_msgSender(), amount);
    }

    function setMaxWalletAmount(uint256 amount) public onlyOwner {
        if (amount < 9000 * 10 ** decimals()) revert InvalidAmount();
        maxWalletAmount = amount;
        emit SetMaxWalletAmount(_msgSender(), amount);
    }

    function setMinAmountToLiquify(uint256 amount) public onlyOwner {
        if (amount < 100 * 10 ** decimals()) revert InvalidAmount();
        if (amount > 100000 * 10 ** decimals()) revert InvalidAmount();
        minAmountToLiquify = amount;
    }

    function _addLiquidity() private lockTheSwap {
        uint256 balance = balanceOf(address(this));
        if (balance < minAmountToLiquify) return;

        uint256 halfTokenAmount = balance / 2;
        uint256 ethBalance = address(this).balance;
        _swapTokensForEth(halfTokenAmount);
        uint256 newBalance = address(this).balance - ethBalance;

        IUniswapV2Router02 router = uniswapV2Router;
        _approve(address(this), address(router), halfTokenAmount);
        router.addLiquidityETH{value: newBalance}(
            address(this),
            halfTokenAmount,
            0,
            0,
            treasury,
            block.timestamp
        );
    }

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

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

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override NotZeroAddress(to) NotZeroAddress(from) {
        if (amount == 0) revert AmountCannotBeZero();
        // sender has sufficient balance
        if (balanceOf(from) < amount) revert InsufficientBalance();

        if (!isExcludedFromMaxTransactionAmount[from]) {
            if (amount > maxTransferAmount) revert MaxTransferExceeded();
        }

        // recipient is not excluded from max wallet
        if (!isExcludedFromMaxWallet[to]) {
            if (balanceOf(to) + amount > maxWalletAmount)
                revert MaxWalletExceeded();
        }

        // taxes on sells only
        if (to == uniswapV2Pair && !isExcludedFromFee[from] && sellTax > 0) {
            // calculate tax (amount * taxRate / 1e4
            uint256 tax = (amount * sellTax) / 1e4;
            amount -= tax;
            uint256 treasuryTax = (tax * 25) / 100;
            super._transfer(from, treasury, treasuryTax);
            super._transfer(from, address(this), tax - treasuryTax);

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

    function _updateUniswapV2Pair(address pair) private {
        address currentPair = uniswapV2Pair;
        if (currentPair == pair) revert PairIsAlreadySet();
        uniswapV2Pair = pair;
        emit UpdateUniswapV2Pair(_msgSender(), pair);
    }
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 9 : 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 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

File 7 of 9 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

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

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

import './IUniswapV2Router01.sol';

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_uniswapV2Router","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AmountCannotBeZero","type":"error"},{"inputs":[],"name":"FailedETHSend","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"MaxTaxExceeded","type":"error"},{"inputs":[],"name":"MaxTransferExceeded","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[],"name":"PairIsAlreadySet","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxWallet","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":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SetMaxTransferAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SetMaxWalletAmount","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":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"UpdateUniswapV2Pair","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromMaxTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"excludeFromMaxWallet","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":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToLiquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTransferAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMinAmountToLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransferAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"setPostLaunchConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"value","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"updateUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052620000126012600a6200070b565b620000209061232862000723565b600955620000316012600a6200070b565b62000040906289544062000723565b600a5560126200005290600a6200070b565b62000060906101f462000723565b600b55610190600c55620000776012600a6200070b565b62000086906289544062000723565b600d553480156200009657600080fd5b506040516200257438038062002574833981016040819052620000b9916200075a565b604051806040016040528060038152602001622ca4a760e91b815250604051806040016040528060038152602001622ca4a760e91b8152506200010b62000105620004d560201b60201c565b620004d9565b600462000119838262000836565b50600562000128828262000836565b50839150506001600160a01b038116620001555760405163d92e233d60e01b815260040160405180910390fd5b816001600160a01b0381166200017e5760405163d92e233d60e01b815260040160405180910390fd5b600680546001600160a01b038087166001600160a01b0319928316811790935560078054918716919092161790556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015620001eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000211919062000902565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029a919062000902565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002e8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030e919062000902565b600880546001600160a01b0319166001600160a01b038381169190911790915586166000908152600e602081905260408220805460ff19908116600190811790925561dead84527ff77e91909e61d18f67b875b2bfcae1f683a8d555e55382e3a6b082e2c59ea57a805490911682179055929350906200038b3390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790558882168152600e84528281208054861660019081179091559186168152918220805485168217905561dead8252600f928390527f99629f56119585bf27511b6b7d295dffb54757453fcc3dabcf51d92028301f10805490941681179093556200041f3390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790559088168152600f909252812080549092166001908117909255601090620004713390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905590851681526010909252902080549091166001179055620004ca620004c13390565b600d5462000529565b505050505062000936565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620005845760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806003600082825462000598919062000920565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200064d578160001904821115620006315762000631620005f6565b808516156200063f57918102915b93841c939080029062000611565b509250929050565b600082620006665750600162000705565b81620006755750600062000705565b81600181146200068e57600281146200069957620006b9565b600191505062000705565b60ff841115620006ad57620006ad620005f6565b50506001821b62000705565b5060208310610133831016604e8410600b8410161715620006de575081810a62000705565b620006ea83836200060c565b8060001904821115620007015762000701620005f6565b0290505b92915050565b60006200071c60ff84168362000655565b9392505050565b8082028115828204841417620007055762000705620005f6565b80516001600160a01b03811681146200075557600080fd5b919050565b600080604083850312156200076e57600080fd5b62000779836200073d565b915062000789602084016200073d565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620007bd57607f821691505b602082108103620007de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005f157600081815260208120601f850160051c810160208610156200080d5750805b601f850160051c820191505b818110156200082e5782815560010162000819565b505050505050565b81516001600160401b0381111562000852576200085262000792565b6200086a81620008638454620007a8565b84620007e4565b602080601f831160018114620008a25760008415620008895750858301515b600019600386901b1c1916600185901b1785556200082e565b600085815260208120601f198616915b82811015620008d357888601518255948401946001909101908401620008b2565b5085821015620008f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200091557600080fd5b6200071c826200073d565b80820180821115620007055762000705620005f6565b611c2e80620009466000396000f3fe6080604052600436106102135760003560e01c80638cd09d5011610118578063cc1776d3116100a0578063df8408fe1161006f578063df8408fe14610625578063e086e5ec14610645578063e9481eee1461065a578063f0f442601461068a578063f2fde38b146106aa57600080fd5b8063cc1776d3146105b9578063d2fcc001146105cf578063d8248358146105ef578063dd62ed3e1461060557600080fd5b806395d89b41116100e757806395d89b4114610538578063a457c2d71461054d578063a9059cbb1461056d578063a9e757231461058d578063aa4bde28146105a357600080fd5b80638cd09d50146104ba5780638da5cb5b146104da5780638efd5e3b146104f857806391c1004a1461051857600080fd5b8063395093511161019b57806361d027b31161016a57806361d027b3146103ff5780636dd3d39f1461041f57806370a082311461044f578063715018a6146104855780638bf554091461049a57600080fd5b8063395093511461036f57806349bd5a5e1461038f57806349df728c146103af5780635342acb4146103cf57600080fd5b806323b872dd116101e257806323b872dd146102d157806327a14fc2146102f1578063313ce5671461031357806335c987f91461032f578063361a1e2e1461034f57600080fd5b806306fdde031461021f578063095ea7b31461024a5780631694505e1461027a57806318160ddd146102b257600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b506102346106ca565b60405161024191906117aa565b60405180910390f35b34801561025657600080fd5b5061026a61026536600461180d565b61075c565b6040519015158152602001610241565b34801561028657600080fd5b5060065461029a906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156102be57600080fd5b506003545b604051908152602001610241565b3480156102dd57600080fd5b5061026a6102ec366004611839565b610776565b3480156102fd57600080fd5b5061031161030c36600461187a565b61079a565b005b34801561031f57600080fd5b5060405160128152602001610241565b34801561033b57600080fd5b5061031161034a366004611893565b61080f565b34801561035b57600080fd5b5061031161036a3660046118c3565b61082d565b34801561037b57600080fd5b5061026a61038a36600461180d565b6108b5565b34801561039b57600080fd5b5060085461029a906001600160a01b031681565b3480156103bb57600080fd5b506103116103ca3660046118fc565b6108d7565b3480156103db57600080fd5b5061026a6103ea3660046118fc565b600e6020526000908152604090205460ff1681565b34801561040b57600080fd5b5060075461029a906001600160a01b031681565b34801561042b57600080fd5b5061026a61043a3660046118fc565b60106020526000908152604090205460ff1681565b34801561045b57600080fd5b506102c361046a3660046118fc565b6001600160a01b031660009081526001602052604090205490565b34801561049157600080fd5b50610311610a12565b3480156104a657600080fd5b506103116104b536600461187a565b610a26565b3480156104c657600080fd5b506103116104d536600461187a565b610a9b565b3480156104e657600080fd5b506000546001600160a01b031661029a565b34801561050457600080fd5b5061031161051336600461187a565b610acb565b34801561052457600080fd5b506103116105333660046118fc565b610b48565b34801561054457600080fd5b50610234610b5c565b34801561055957600080fd5b5061026a61056836600461180d565b610b6b565b34801561057957600080fd5b5061026a61058836600461180d565b610beb565b34801561059957600080fd5b506102c360095481565b3480156105af57600080fd5b506102c3600a5481565b3480156105c557600080fd5b506102c3600c5481565b3480156105db57600080fd5b506103116105ea3660046118c3565b610bf9565b3480156105fb57600080fd5b506102c3600b5481565b34801561061157600080fd5b506102c3610620366004611920565b610c81565b34801561063157600080fd5b506103116106403660046118c3565b610cac565b34801561065157600080fd5b50610311610d34565b34801561066657600080fd5b5061026a6106753660046118fc565b600f6020526000908152604090205460ff1681565b34801561069657600080fd5b506103116106a53660046118fc565b610db0565b3480156106b657600080fd5b506103116106c53660046118fc565b610e03565b6060600480546106d99061194e565b80601f01602080910402602001604051908101604052809291908181526020018280546107059061194e565b80156107525780601f1061072757610100808354040283529160200191610752565b820191906000526020600020905b81548152906001019060200180831161073557829003601f168201915b5050505050905090565b60003361076a818585610e79565b60019150505b92915050565b600033610784858285610f9d565b61078f858585611011565b506001949350505050565b6107a2611249565b6107ae6012600a611a82565b6107ba90612328611a91565b8110156107da5760405163162908e360e11b815260040160405180910390fd5b600a819055604051819033907fba94b21926b1b585ff6df87eaabdca93091b6d58e96ba2215c91a871ff42f4eb90600090a350565b610817611249565b61082082610a26565b6108298161079a565b5050565b610835611249565b816001600160a01b03811661085d5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383166000818152600f6020526040808220805460ff1916861515908117909155905190929133917fbcbd1936e25e0bfdd951b0b92eeffaa53ba96a778e790dfbf3c2aa2b224567fe9190a4505050565b60003361076a8185856108c88383610c81565b6108d29190611aa8565b610e79565b6108df611249565b806001600160a01b0381166109075760405163d92e233d60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109729190611abb565b90508060000361099557604051631e9acf1760e31b815260040160405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529084169063a9059cbb906044016020604051808303816000875af11580156109e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190611ad4565b50505050565b610a1a611249565b610a2460006112a3565b565b610a2e611249565b610a3a6012600a611a82565b610a4690612328611a91565b811015610a665760405163162908e360e11b815260040160405180910390fd5b6009819055604051819033907fd879694c94286c501491c341422ab6a3fe1e55f1620e2b5a67b3787c5d433c2a90600090a350565b610aa3611249565b6103e8811115610ac657604051630210e8d560e11b815260040160405180910390fd5b600c55565b610ad3611249565b610adf6012600a611a82565b610aea906064611a91565b811015610b0a5760405163162908e360e11b815260040160405180910390fd5b610b166012600a611a82565b610b2390620186a0611a91565b811115610b435760405163162908e360e11b815260040160405180910390fd5b600b55565b610b50611249565b610b59816112f3565b50565b6060600580546106d99061194e565b60003381610b798286610c81565b905083811015610bde5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61078f8286868403610e79565b60003361076a818585611011565b610c01611249565b816001600160a01b038116610c295760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038316600081815260106020526040808220805460ff1916861515908117909155905190929133917f38965c265a8b1f9ab66a037a0497f6e2a8d98663946c59869e2a20402b03e3159190a4505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610cb4611249565b816001600160a01b038116610cdc5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383166000818152600e6020526040808220805460ff1916861515908117909155905190929133917fd4e150992187c219c07481254b45c55968768013cb1c5e66038b93a351dde8be9190a4505050565b610d3c611249565b6007546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610d89576040519150601f19603f3d011682016040523d82523d6000602084013e610d8e565b606091505b5050905080610b595760405163af3f219560e01b815260040160405180910390fd5b610db8611249565b806001600160a01b038116610de05760405163d92e233d60e01b815260040160405180910390fd5b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b610e0b611249565b6001600160a01b038116610e705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bd5565b610b59816112a3565b6001600160a01b038316610edb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bd5565b6001600160a01b038216610f3c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bd5565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fa98484610c81565b90506000198114610a0c57818110156110045760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bd5565b610a0c8484848403610e79565b816001600160a01b0381166110395760405163d92e233d60e01b815260040160405180910390fd5b836001600160a01b0381166110615760405163d92e233d60e01b815260040160405180910390fd5b826000036110825760405163d11b25af60e01b815260040160405180910390fd5b826110a2866001600160a01b031660009081526001602052604090205490565b10156110c157604051631e9acf1760e31b815260040160405180910390fd5b6001600160a01b0385166000908152600f602052604090205460ff1661110457600954831115611104576040516308a84ef760e41b815260040160405180910390fd5b6001600160a01b03841660009081526010602052604090205460ff1661117057600a5483611147866001600160a01b031660009081526001602052604090205490565b6111519190611aa8565b111561117057604051632ce93b5960e01b815260040160405180910390fd5b6008546001600160a01b0385811691161480156111a657506001600160a01b0385166000908152600e602052604090205460ff16155b80156111b457506000600c54115b15611237576000612710600c54856111cc9190611a91565b6111d69190611af1565b90506111e28185611b13565b9350600060646111f3836019611a91565b6111fd9190611af1565b6007549091506112189088906001600160a01b031683611370565b61122c87306112278486611b13565b611370565b61123461151b565b50505b611242858585611370565b5050505050565b6000546001600160a01b03163314610a245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bd5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6008546001600160a01b03908116908216810361132357604051634259db1160e11b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b03841690811790915560405133907fbbd35294e9b2ff610ec524089c45bb41594224d695ebd962c4d9b713eb4e1bae90600090a35050565b6001600160a01b0383166113d45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bd5565b6001600160a01b0382166114365760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bd5565b6001600160a01b038316600090815260016020526040902054818110156114ae5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bd5565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061150e9086815260200190565b60405180910390a3610a0c565b6006805460ff60a01b1916600160a01b179055306000908152600160205260408120549050600b54811015611550575061162b565b600061155d600283611af1565b9050476115698261163a565b60006115758247611b13565b6006549091506001600160a01b031661158f308286610e79565b60075460405163f305d71960e01b81523060048201526024810186905260006044820181905260648201526001600160a01b0391821660848201524260a48201529082169063f305d71990849060c40160606040518083038185885af11580156115fd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116229190611b26565b50505050505050505b6006805460ff60a01b19169055565b6006546040805160028082526060820183526001600160a01b0390931692600092602083019080368337019050509050308160008151811061167e5761167e611b54565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117009190611b6a565b8160018151811061171357611713611b54565b60200260200101906001600160a01b031690816001600160a01b03168152505061173e308385610e79565b60405163791ac94760e01b81526001600160a01b0383169063791ac94790611773908690600090869030904290600401611b87565b600060405180830381600087803b15801561178d57600080fd5b505af11580156117a1573d6000803e3d6000fd5b50505050505050565b600060208083528351808285015260005b818110156117d7578581018301518582016040015282016117bb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b5957600080fd5b6000806040838503121561182057600080fd5b823561182b816117f8565b946020939093013593505050565b60008060006060848603121561184e57600080fd5b8335611859816117f8565b92506020840135611869816117f8565b929592945050506040919091013590565b60006020828403121561188c57600080fd5b5035919050565b600080604083850312156118a657600080fd5b50508035926020909101359150565b8015158114610b5957600080fd5b600080604083850312156118d657600080fd5b82356118e1816117f8565b915060208301356118f1816118b5565b809150509250929050565b60006020828403121561190e57600080fd5b8135611919816117f8565b9392505050565b6000806040838503121561193357600080fd5b823561193e816117f8565b915060208301356118f1816117f8565b600181811c9082168061196257607f821691505b60208210810361198257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119d95781600019048211156119bf576119bf611988565b808516156119cc57918102915b93841c93908002906119a3565b509250929050565b6000826119f057506001610770565b816119fd57506000610770565b8160018114611a135760028114611a1d57611a39565b6001915050610770565b60ff841115611a2e57611a2e611988565b50506001821b610770565b5060208310610133831016604e8410600b8410161715611a5c575081810a610770565b611a66838361199e565b8060001904821115611a7a57611a7a611988565b029392505050565b600061191960ff8416836119e1565b808202811582820484141761077057610770611988565b8082018082111561077057610770611988565b600060208284031215611acd57600080fd5b5051919050565b600060208284031215611ae657600080fd5b8151611919816118b5565b600082611b0e57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561077057610770611988565b600080600060608486031215611b3b57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611b7c57600080fd5b8151611919816117f8565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611bd75784516001600160a01b031683529383019391830191600101611bb2565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220451a4a5787685b807e21be870ff4be0aca25e89213fadb66ab82e38548fba1bd64736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000db69c3c341c45d39c0325fbead6e378d42c63c8b

Deployed Bytecode

0x6080604052600436106102135760003560e01c80638cd09d5011610118578063cc1776d3116100a0578063df8408fe1161006f578063df8408fe14610625578063e086e5ec14610645578063e9481eee1461065a578063f0f442601461068a578063f2fde38b146106aa57600080fd5b8063cc1776d3146105b9578063d2fcc001146105cf578063d8248358146105ef578063dd62ed3e1461060557600080fd5b806395d89b41116100e757806395d89b4114610538578063a457c2d71461054d578063a9059cbb1461056d578063a9e757231461058d578063aa4bde28146105a357600080fd5b80638cd09d50146104ba5780638da5cb5b146104da5780638efd5e3b146104f857806391c1004a1461051857600080fd5b8063395093511161019b57806361d027b31161016a57806361d027b3146103ff5780636dd3d39f1461041f57806370a082311461044f578063715018a6146104855780638bf554091461049a57600080fd5b8063395093511461036f57806349bd5a5e1461038f57806349df728c146103af5780635342acb4146103cf57600080fd5b806323b872dd116101e257806323b872dd146102d157806327a14fc2146102f1578063313ce5671461031357806335c987f91461032f578063361a1e2e1461034f57600080fd5b806306fdde031461021f578063095ea7b31461024a5780631694505e1461027a57806318160ddd146102b257600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b506102346106ca565b60405161024191906117aa565b60405180910390f35b34801561025657600080fd5b5061026a61026536600461180d565b61075c565b6040519015158152602001610241565b34801561028657600080fd5b5060065461029a906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156102be57600080fd5b506003545b604051908152602001610241565b3480156102dd57600080fd5b5061026a6102ec366004611839565b610776565b3480156102fd57600080fd5b5061031161030c36600461187a565b61079a565b005b34801561031f57600080fd5b5060405160128152602001610241565b34801561033b57600080fd5b5061031161034a366004611893565b61080f565b34801561035b57600080fd5b5061031161036a3660046118c3565b61082d565b34801561037b57600080fd5b5061026a61038a36600461180d565b6108b5565b34801561039b57600080fd5b5060085461029a906001600160a01b031681565b3480156103bb57600080fd5b506103116103ca3660046118fc565b6108d7565b3480156103db57600080fd5b5061026a6103ea3660046118fc565b600e6020526000908152604090205460ff1681565b34801561040b57600080fd5b5060075461029a906001600160a01b031681565b34801561042b57600080fd5b5061026a61043a3660046118fc565b60106020526000908152604090205460ff1681565b34801561045b57600080fd5b506102c361046a3660046118fc565b6001600160a01b031660009081526001602052604090205490565b34801561049157600080fd5b50610311610a12565b3480156104a657600080fd5b506103116104b536600461187a565b610a26565b3480156104c657600080fd5b506103116104d536600461187a565b610a9b565b3480156104e657600080fd5b506000546001600160a01b031661029a565b34801561050457600080fd5b5061031161051336600461187a565b610acb565b34801561052457600080fd5b506103116105333660046118fc565b610b48565b34801561054457600080fd5b50610234610b5c565b34801561055957600080fd5b5061026a61056836600461180d565b610b6b565b34801561057957600080fd5b5061026a61058836600461180d565b610beb565b34801561059957600080fd5b506102c360095481565b3480156105af57600080fd5b506102c3600a5481565b3480156105c557600080fd5b506102c3600c5481565b3480156105db57600080fd5b506103116105ea3660046118c3565b610bf9565b3480156105fb57600080fd5b506102c3600b5481565b34801561061157600080fd5b506102c3610620366004611920565b610c81565b34801561063157600080fd5b506103116106403660046118c3565b610cac565b34801561065157600080fd5b50610311610d34565b34801561066657600080fd5b5061026a6106753660046118fc565b600f6020526000908152604090205460ff1681565b34801561069657600080fd5b506103116106a53660046118fc565b610db0565b3480156106b657600080fd5b506103116106c53660046118fc565b610e03565b6060600480546106d99061194e565b80601f01602080910402602001604051908101604052809291908181526020018280546107059061194e565b80156107525780601f1061072757610100808354040283529160200191610752565b820191906000526020600020905b81548152906001019060200180831161073557829003601f168201915b5050505050905090565b60003361076a818585610e79565b60019150505b92915050565b600033610784858285610f9d565b61078f858585611011565b506001949350505050565b6107a2611249565b6107ae6012600a611a82565b6107ba90612328611a91565b8110156107da5760405163162908e360e11b815260040160405180910390fd5b600a819055604051819033907fba94b21926b1b585ff6df87eaabdca93091b6d58e96ba2215c91a871ff42f4eb90600090a350565b610817611249565b61082082610a26565b6108298161079a565b5050565b610835611249565b816001600160a01b03811661085d5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383166000818152600f6020526040808220805460ff1916861515908117909155905190929133917fbcbd1936e25e0bfdd951b0b92eeffaa53ba96a778e790dfbf3c2aa2b224567fe9190a4505050565b60003361076a8185856108c88383610c81565b6108d29190611aa8565b610e79565b6108df611249565b806001600160a01b0381166109075760405163d92e233d60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109729190611abb565b90508060000361099557604051631e9acf1760e31b815260040160405180910390fd5b60075460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529084169063a9059cbb906044016020604051808303816000875af11580156109e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190611ad4565b50505050565b610a1a611249565b610a2460006112a3565b565b610a2e611249565b610a3a6012600a611a82565b610a4690612328611a91565b811015610a665760405163162908e360e11b815260040160405180910390fd5b6009819055604051819033907fd879694c94286c501491c341422ab6a3fe1e55f1620e2b5a67b3787c5d433c2a90600090a350565b610aa3611249565b6103e8811115610ac657604051630210e8d560e11b815260040160405180910390fd5b600c55565b610ad3611249565b610adf6012600a611a82565b610aea906064611a91565b811015610b0a5760405163162908e360e11b815260040160405180910390fd5b610b166012600a611a82565b610b2390620186a0611a91565b811115610b435760405163162908e360e11b815260040160405180910390fd5b600b55565b610b50611249565b610b59816112f3565b50565b6060600580546106d99061194e565b60003381610b798286610c81565b905083811015610bde5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61078f8286868403610e79565b60003361076a818585611011565b610c01611249565b816001600160a01b038116610c295760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038316600081815260106020526040808220805460ff1916861515908117909155905190929133917f38965c265a8b1f9ab66a037a0497f6e2a8d98663946c59869e2a20402b03e3159190a4505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610cb4611249565b816001600160a01b038116610cdc5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0383166000818152600e6020526040808220805460ff1916861515908117909155905190929133917fd4e150992187c219c07481254b45c55968768013cb1c5e66038b93a351dde8be9190a4505050565b610d3c611249565b6007546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610d89576040519150601f19603f3d011682016040523d82523d6000602084013e610d8e565b606091505b5050905080610b595760405163af3f219560e01b815260040160405180910390fd5b610db8611249565b806001600160a01b038116610de05760405163d92e233d60e01b815260040160405180910390fd5b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b610e0b611249565b6001600160a01b038116610e705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bd5565b610b59816112a3565b6001600160a01b038316610edb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bd5565b6001600160a01b038216610f3c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bd5565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fa98484610c81565b90506000198114610a0c57818110156110045760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bd5565b610a0c8484848403610e79565b816001600160a01b0381166110395760405163d92e233d60e01b815260040160405180910390fd5b836001600160a01b0381166110615760405163d92e233d60e01b815260040160405180910390fd5b826000036110825760405163d11b25af60e01b815260040160405180910390fd5b826110a2866001600160a01b031660009081526001602052604090205490565b10156110c157604051631e9acf1760e31b815260040160405180910390fd5b6001600160a01b0385166000908152600f602052604090205460ff1661110457600954831115611104576040516308a84ef760e41b815260040160405180910390fd5b6001600160a01b03841660009081526010602052604090205460ff1661117057600a5483611147866001600160a01b031660009081526001602052604090205490565b6111519190611aa8565b111561117057604051632ce93b5960e01b815260040160405180910390fd5b6008546001600160a01b0385811691161480156111a657506001600160a01b0385166000908152600e602052604090205460ff16155b80156111b457506000600c54115b15611237576000612710600c54856111cc9190611a91565b6111d69190611af1565b90506111e28185611b13565b9350600060646111f3836019611a91565b6111fd9190611af1565b6007549091506112189088906001600160a01b031683611370565b61122c87306112278486611b13565b611370565b61123461151b565b50505b611242858585611370565b5050505050565b6000546001600160a01b03163314610a245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bd5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6008546001600160a01b03908116908216810361132357604051634259db1160e11b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b03841690811790915560405133907fbbd35294e9b2ff610ec524089c45bb41594224d695ebd962c4d9b713eb4e1bae90600090a35050565b6001600160a01b0383166113d45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bd5565b6001600160a01b0382166114365760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bd5565b6001600160a01b038316600090815260016020526040902054818110156114ae5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bd5565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061150e9086815260200190565b60405180910390a3610a0c565b6006805460ff60a01b1916600160a01b179055306000908152600160205260408120549050600b54811015611550575061162b565b600061155d600283611af1565b9050476115698261163a565b60006115758247611b13565b6006549091506001600160a01b031661158f308286610e79565b60075460405163f305d71960e01b81523060048201526024810186905260006044820181905260648201526001600160a01b0391821660848201524260a48201529082169063f305d71990849060c40160606040518083038185885af11580156115fd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116229190611b26565b50505050505050505b6006805460ff60a01b19169055565b6006546040805160028082526060820183526001600160a01b0390931692600092602083019080368337019050509050308160008151811061167e5761167e611b54565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117009190611b6a565b8160018151811061171357611713611b54565b60200260200101906001600160a01b031690816001600160a01b03168152505061173e308385610e79565b60405163791ac94760e01b81526001600160a01b0383169063791ac94790611773908690600090869030904290600401611b87565b600060405180830381600087803b15801561178d57600080fd5b505af11580156117a1573d6000803e3d6000fd5b50505050505050565b600060208083528351808285015260005b818110156117d7578581018301518582016040015282016117bb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b5957600080fd5b6000806040838503121561182057600080fd5b823561182b816117f8565b946020939093013593505050565b60008060006060848603121561184e57600080fd5b8335611859816117f8565b92506020840135611869816117f8565b929592945050506040919091013590565b60006020828403121561188c57600080fd5b5035919050565b600080604083850312156118a657600080fd5b50508035926020909101359150565b8015158114610b5957600080fd5b600080604083850312156118d657600080fd5b82356118e1816117f8565b915060208301356118f1816118b5565b809150509250929050565b60006020828403121561190e57600080fd5b8135611919816117f8565b9392505050565b6000806040838503121561193357600080fd5b823561193e816117f8565b915060208301356118f1816117f8565b600181811c9082168061196257607f821691505b60208210810361198257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119d95781600019048211156119bf576119bf611988565b808516156119cc57918102915b93841c93908002906119a3565b509250929050565b6000826119f057506001610770565b816119fd57506000610770565b8160018114611a135760028114611a1d57611a39565b6001915050610770565b60ff841115611a2e57611a2e611988565b50506001821b610770565b5060208310610133831016604e8410600b8410161715611a5c575081810a610770565b611a66838361199e565b8060001904821115611a7a57611a7a611988565b029392505050565b600061191960ff8416836119e1565b808202811582820484141761077057610770611988565b8082018082111561077057610770611988565b600060208284031215611acd57600080fd5b5051919050565b600060208284031215611ae657600080fd5b8151611919816118b5565b600082611b0e57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561077057610770611988565b600080600060608486031215611b3b57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611b7c57600080fd5b8151611919816117f8565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611bd75784516001600160a01b031683529383019391830191600101611bb2565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220451a4a5787685b807e21be870ff4be0aca25e89213fadb66ab82e38548fba1bd64736f6c63430008130033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000db69c3c341c45d39c0325fbead6e378d42c63c8b

-----Decoded View---------------
Arg [0] : _uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _treasury (address): 0xdB69c3C341c45D39C0325fbEad6e378d42C63c8B

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000db69c3c341c45d39c0325fbead6e378d42c63c8b


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.