ETH Price: $2,475.43 (+0.80%)
 

Overview

Max Total Supply

10,000,000 eTAO

Holders

101

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,666.888950669853589935 eTAO

Value
$0.00
0xf6a26406fcb0e695b705ea9e1667227ae4a5921f
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:
eTAO

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 9 : eTAO.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

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

contract eTAO  is Ownable, ERC20 {
    error MaxTxAmountExceeded();
    error MaxWalletAmountExceeded();
    error NotAuthorized();

    event OpenTrading();
    event DisableLimits();
    event UpdateTreasuryWL(address _treasury);
    event SwapBack(uint256 amount);
    event UpdateSwapTokenAt(uint256 amount);


    /*0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D*/
    IUniswapV2Router02 router;


    uint256 _totalSupply = 10_000_000 * 10 ** 18;

    address public pair;

    uint256 public TAX = 5;
    uint256 private _initialTax = 30;
    uint256 private _reduceTaxAt = 20;

    uint256 private _buyCount = 0;
    uint256 private _sellCount = 0;

    uint256 private _maxAmount = _totalSupply / 5; // 20% of total supply
    uint256 private _maxWallet = _maxAmount;
    bool private _tradingEnable;

    address public treasuryWallet;
    bool public limit = true;
    uint256 public swapTokenAt = _totalSupply / 1000;

    mapping(address => bool) private _isExcludedFromFees;

    bool private _swaping = false;

    modifier onSwap() {
        _swaping = true;
        _;
        _swaping = false;
    }

    constructor(
        address _treasury,
        address _router
    ) ERC20("eTAO", "eTAO")   {
          router = IUniswapV2Router02(_router);
        treasuryWallet = _treasury;
        pair = IUniswapV2Factory(router.factory()).createPair(
            address(this),
            router.WETH()
        );
        _isExcludedFromFees[_msgSender()] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[address(router)] = true;
        _isExcludedFromFees[address(_treasury)] = true;
        _mint(_msgSender(), _totalSupply);
        _approve(_msgSender(), address(router), type(uint256).max);
    }

    receive() external payable {}

    function setSwapTokenAt(uint256 value) external onlyOwner {
        require(
            value <= _totalSupply / 50,
            "Value must be less than or equal to SUPPLY / 50"
        );
        swapTokenAt = value;
        emit UpdateSwapTokenAt(value);
    }

    function openTrading() external onlyOwner {
        _tradingEnable = true;
        emit OpenTrading();
    }

    function getIsExcludedFromFees(
        address _address
    ) external view returns (bool) {
        return _isExcludedFromFees[_address];
    }

    function excludedFromFees(
        address _address,
        bool _value
    ) external onlyOwner {
        _isExcludedFromFees[_address] = _value;
    }



    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (
            _isExcludedFromFees[from] ||
            _isExcludedFromFees[to] ||
            (to != pair && from != pair) ||
            _swaping
        ) {
            super._transfer(from, to, amount);
            return;
        }

        require(_tradingEnable, "Trading is not open");

        if (limit) {
            if ((from == pair || to == pair) && amount > _maxAmount) {
                revert MaxTxAmountExceeded();
            }
            if (to != pair && balanceOf(to) + amount > _maxWallet) {
                revert MaxWalletAmountExceeded();
            }
        }

        uint256 _totalFees = (amount * TAX) / 100;

        if (to == pair) {
            _sellCount += 1;
            _totalFees =
                (amount *
                    (_sellCount > (_reduceTaxAt / 2) ? TAX : _initialTax)) /
                100;

            if (balanceOf(address(this)) >= swapTokenAt) {
                swapBack();
            }
        }

        if (from == pair) {
            _buyCount += 1;
            _totalFees =
                (amount * (_buyCount > _reduceTaxAt ? TAX : _initialTax)) /
                100;
        }

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

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

    function swapBack() public onSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

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

        uint256 balance = address(this).balance;

        if (balance > 0) {

            (bool sent, ) = payable(treasuryWallet).call{value: balance}("");

            require(sent, "Failed to send Ether to treasury wallet");
        }

        emit SwapBack(swapTokenAt);
    }



    function disableLimits() external onlyOwner {
        require(limit, "Limits already removed");
        limit = false;
        _maxWallet = _totalSupply;
        _maxAmount = _totalSupply;
        emit DisableLimits();
    }

    function setTreasuryWL(address _treasury) external  onlyOwner {
        treasuryWallet = _treasury;
        emit UpdateTreasuryWL(_treasury);
    }

    function setTax(uint256 value) external onlyOwner {
        require(value <= 20, "Value must be less than or equal to 10");
        TAX = value;
    }

    function setMaxAmount(uint256 value) external onlyOwner {
        require(value <= _totalSupply / 10, "Value must be less than or equal to SUPPLY / 10");
        _maxAmount = value;
        _maxWallet = value;
    }
}

File 2 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 3 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 4 of 9 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

import "./IUniswapV2Router01.sol";

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

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

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

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

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

File 5 of 9 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

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 6 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 7 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 8 of 9 : 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 9 of 9 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MaxTxAmountExceeded","type":"error"},{"inputs":[],"name":"MaxWalletAmountExceeded","type":"error"},{"inputs":[],"name":"NotAuthorized","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":[],"name":"DisableLimits","type":"event"},{"anonymous":false,"inputs":[],"name":"OpenTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UpdateSwapTokenAt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_treasury","type":"address"}],"name":"UpdateTreasuryWL","type":"event"},{"inputs":[],"name":"TAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"excludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getIsExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapTokenAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasuryWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokenAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526a084595161401484a0000006007556005600955601e600a556014600b556000600c556000600d5560056007546200003d9190620005cf565b600e819055600f556010805460ff60a81b1916600160a81b1790556007546200006a906103e890620005cf565b6011556013805460ff191690553480156200008457600080fd5b5060405162001f1e38038062001f1e833981016040819052620000a7916200060f565b604051806040016040528060048152602001636554414f60e01b815250604051806040016040528060048152602001636554414f60e01b815250620000fb620000f56200038560201b60201c565b62000389565b6004620001098382620006ed565b506005620001188282620006ed565b5050600680546001600160a01b038085166001600160a01b031990921682179092556010805492861661010002610100600160a81b0319909316929092179091556040805163c45a015560e01b8152905191925063c45a01559160048083019260209291908290030181865afa15801562000197573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bd9190620007b9565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002469190620007b9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000294573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ba9190620007b9565b600880546001600160a01b0319166001600160a01b0392909216919091179055600160126000620002e83390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526012909352818320805485166001908117909155600654821684528284208054861682179055908616835291208054909216179055620003636200035a3390565b600754620003d9565b6200037d336006546001600160a01b0316600019620004a2565b505062000806565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620004355760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060036000828254620004499190620007de565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620005065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200042c565b6001600160a01b038216620005695760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200042c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b600082620005ed57634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160a01b03811681146200060a57600080fd5b919050565b600080604083850312156200062357600080fd5b6200062e83620005f2565b91506200063e60208401620005f2565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200067257607f821691505b6020821081036200069357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005ca576000816000526020600020601f850160051c81016020861015620006c45750805b601f850160051c820191505b81811015620006e557828155600101620006d0565b505050505050565b81516001600160401b0381111562000709576200070962000647565b62000721816200071a84546200065d565b8462000699565b602080601f831160018114620007595760008415620007405750858301515b600019600386901b1c1916600185901b178555620006e5565b600085815260208120601f198616915b828110156200078a5788860151825594840194600190910190840162000769565b5085821015620007a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007cc57600080fd5b620007d782620005f2565b9392505050565b808201808211156200080057634e487b7160e01b600052601160045260246000fd5b92915050565b61170880620008166000396000f3fe6080604052600436106101bb5760003560e01c8063715018a6116100ec578063a4d66daf1161008a578063c9567bf911610064578063c9567bf9146104f5578063dd62ed3e1461050a578063f2fde38b1461052a578063f928364c1461054a57600080fd5b8063a4d66daf14610494578063a8aa1b31146104b5578063a9059cbb146104d557600080fd5b8063864b3167116100c6578063864b3167146104215780638da5cb5b1461044157806395d89b411461045f578063a457c2d71461047457600080fd5b8063715018a6146103bd57806373bc5a36146103d25780637b16cea0146103e857600080fd5b806332fc4c01116101595780634fe47f70116101335780634fe47f701461033c57806368f58b031461035c5780636ac5eeee1461037257806370a082311461038757600080fd5b806332fc4c01146102bf57806339509351146102df5780634626402b146102ff57600080fd5b806318160ddd1161019557806318160ddd1461024457806323b872dd146102635780632e5bb6ff14610283578063313ce567146102a357600080fd5b806306fdde03146101c7578063095ea7b3146101f257806316697fc51461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc61055f565b6040516101e99190611403565b60405180910390f35b3480156101fe57600080fd5b5061021261020d366004611467565b6105f1565b60405190151581526020016101e9565b34801561022e57600080fd5b5061024261023d366004611493565b61060b565b005b34801561025057600080fd5b506003545b6040519081526020016101e9565b34801561026f57600080fd5b5061021261027e3660046114d1565b61063e565b34801561028f57600080fd5b5061024261029e366004611512565b610662565b3480156102af57600080fd5b50604051601281526020016101e9565b3480156102cb57600080fd5b506102426102da36600461152b565b6106d4565b3480156102eb57600080fd5b506102126102fa366004611467565b610739565b34801561030b57600080fd5b506010546103249061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b34801561034857600080fd5b50610242610357366004611512565b61075b565b34801561036857600080fd5b5061025560095481565b34801561037e57600080fd5b506102426107e3565b34801561039357600080fd5b506102556103a236600461152b565b6001600160a01b031660009081526001602052604090205490565b3480156103c957600080fd5b50610242610a56565b3480156103de57600080fd5b5061025560115481565b3480156103f457600080fd5b5061021261040336600461152b565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561042d57600080fd5b5061024261043c366004611512565b610a6a565b34801561044d57600080fd5b506000546001600160a01b0316610324565b34801561046b57600080fd5b506101dc610b1d565b34801561048057600080fd5b5061021261048f366004611467565b610b2c565b3480156104a057600080fd5b5060105461021290600160a81b900460ff1681565b3480156104c157600080fd5b50600854610324906001600160a01b031681565b3480156104e157600080fd5b506102126104f0366004611467565b610ba7565b34801561050157600080fd5b50610242610bb5565b34801561051657600080fd5b5061025561052536600461154f565b610bf5565b34801561053657600080fd5b5061024261054536600461152b565b610c20565b34801561055657600080fd5b50610242610c99565b60606004805461056e9061157d565b80601f016020809104026020016040519081016040528092919081815260200182805461059a9061157d565b80156105e75780601f106105bc576101008083540402835291602001916105e7565b820191906000526020600020905b8154815290600101906020018083116105ca57829003601f168201915b5050505050905090565b6000336105ff818585610d36565b60019150505b92915050565b610613610e5a565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60003361064c858285610eb4565b610657858585610f2e565b506001949350505050565b61066a610e5a565b60148111156106cf5760405162461bcd60e51b815260206004820152602660248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c604482015265020746f2031360d41b60648201526084015b60405180910390fd5b600955565b6106dc610e5a565b60108054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527fbd5aa8e04dbf8cd0c0a2cf0d7f15cab9d94d85af3f5d347dc8359b9194610f02906020015b60405180910390a150565b6000336105ff81858561074c8383610bf5565b61075691906115cd565b610d36565b610763610e5a565b600a60075461077291906115e0565b8111156107d95760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20313608c1b60648201526084016106c6565b600e819055600f55565b6013805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061082557610825611602565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190611618565b816001815181106108b5576108b5611602565b6001600160a01b0392831660209182029290920101526006546011546108de9230921690610d36565b60065460115460405163791ac94760e01b81526001600160a01b039092169163791ac9479161091891600090869030904290600401611635565b600060405180830381600087803b15801561093257600080fd5b505af1158015610946573d6000803e3d6000fd5b504792505081159050610a0d5760105460405160009161010090046001600160a01b03169083908381818185875af1925050503d80600081146109a5576040519150601f19603f3d011682016040523d82523d6000602084013e6109aa565b606091505b5050905080610a0b5760405162461bcd60e51b815260206004820152602760248201527f4661696c656420746f2073656e6420457468657220746f207472656173757279604482015266081dd85b1b195d60ca1b60648201526084016106c6565b505b7fd851aeb8e2074b285cc12da5e2fbf79e642e38f62ef8e59590790c157491ee05601154604051610a4091815260200190565b60405180910390a150506013805460ff19169055565b610a5e610e5a565b610a686000611208565b565b610a72610e5a565b6032600754610a8191906115e0565b811115610ae85760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20353608c1b60648201526084016106c6565b60118190556040518181527f4cba14fd4026630e64b03f8c6a0130ca310c15a5376cf7f6735c66880bb7bceb9060200161072e565b60606005805461056e9061157d565b60003381610b3a8286610bf5565b905083811015610b9a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106c6565b6106578286868403610d36565b6000336105ff818585610f2e565b610bbd610e5a565b6010805460ff191660011790556040517f51cd7cc33235a1c89f708fecec535bf7cca0f94ed05216751befb052ca83e67990600090a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610c28610e5a565b6001600160a01b038116610c8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c6565b610c9681611208565b50565b610ca1610e5a565b601054600160a81b900460ff16610cf35760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d1cc8185b1c9958591e481c995b5bdd995960521b60448201526064016106c6565b6010805460ff60a81b19169055600754600f819055600e556040517fe9070d302280cd857033f56893647494c1410643fe239daabee29e9292199b3d90600090a1565b6001600160a01b038316610d985760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c6565b6001600160a01b038216610df95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b03163314610a685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c6565b6000610ec08484610bf5565b90506000198114610f285781811015610f1b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c6565b610f288484848403610d36565b50505050565b6001600160a01b03831660009081526012602052604090205460ff1680610f6d57506001600160a01b03821660009081526012602052604090205460ff165b80610f9f57506008546001600160a01b03838116911614801590610f9f57506008546001600160a01b03848116911614155b80610fac575060135460ff165b15610fc157610fbc838383611258565b505050565b60105460ff166110095760405162461bcd60e51b81526020600482015260136024820152722a3930b234b7339034b9903737ba1037b832b760691b60448201526064016106c6565b601054600160a81b900460ff16156110d5576008546001600160a01b038481169116148061104457506008546001600160a01b038381169116145b80156110515750600e5481115b1561106f5760405163801bc44b60e01b815260040160405180910390fd5b6008546001600160a01b038381169116148015906110b75750600f54816110ab846001600160a01b031660009081526001602052604090205490565b6110b591906115cd565b115b156110d55760405163a9a44dff60e01b815260040160405180910390fd5b60006064600954836110e791906116a8565b6110f191906115e0565b6008549091506001600160a01b039081169084160361117f576001600d600082825461111d91906115cd565b9091555050600b54606490611134906002906115e0565b600d541161114457600a54611148565b6009545b61115290846116a8565b61115c91906115e0565b601154306000908152600160205260409020549192501161117f5761117f6107e3565b6008546001600160a01b03908116908516036111df576001600c60008282546111a891906115cd565b925050819055506064600b54600c54116111c457600a546111c8565b6009545b6111d290846116a8565b6111dc91906115e0565b90505b80156111fd576111f0843083611258565b6111fa81836116bf565b91505b610f28848484611258565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166112bc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106c6565b6001600160a01b03821661131e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106c6565b6001600160a01b038316600090815260016020526040902054818110156113965760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106c6565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113f69086815260200190565b60405180910390a3610f28565b60006020808352835180602085015260005b8181101561143157858101830151858201604001528201611415565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c9657600080fd5b6000806040838503121561147a57600080fd5b823561148581611452565b946020939093013593505050565b600080604083850312156114a657600080fd5b82356114b181611452565b9150602083013580151581146114c657600080fd5b809150509250929050565b6000806000606084860312156114e657600080fd5b83356114f181611452565b9250602084013561150181611452565b929592945050506040919091013590565b60006020828403121561152457600080fd5b5035919050565b60006020828403121561153d57600080fd5b813561154881611452565b9392505050565b6000806040838503121561156257600080fd5b823561156d81611452565b915060208301356114c681611452565b600181811c9082168061159157607f821691505b6020821081036115b157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610605576106056115b7565b6000826115fd57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561162a57600080fd5b815161154881611452565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156116875784516001600160a01b031683529383019391830191600101611662565b50506001600160a01b03969096166060850152505050608001529392505050565b8082028115828204841417610605576106056115b7565b81810381811115610605576106056115b756fea2646970667358221220291152e5db769bdf9c46d408f63d1db3df3b060f9d1906bf537b0345dac1a07864736f6c63430008170033000000000000000000000000eefb885db79a04cefd51ae5fcb139e99de9365c20000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106101bb5760003560e01c8063715018a6116100ec578063a4d66daf1161008a578063c9567bf911610064578063c9567bf9146104f5578063dd62ed3e1461050a578063f2fde38b1461052a578063f928364c1461054a57600080fd5b8063a4d66daf14610494578063a8aa1b31146104b5578063a9059cbb146104d557600080fd5b8063864b3167116100c6578063864b3167146104215780638da5cb5b1461044157806395d89b411461045f578063a457c2d71461047457600080fd5b8063715018a6146103bd57806373bc5a36146103d25780637b16cea0146103e857600080fd5b806332fc4c01116101595780634fe47f70116101335780634fe47f701461033c57806368f58b031461035c5780636ac5eeee1461037257806370a082311461038757600080fd5b806332fc4c01146102bf57806339509351146102df5780634626402b146102ff57600080fd5b806318160ddd1161019557806318160ddd1461024457806323b872dd146102635780632e5bb6ff14610283578063313ce567146102a357600080fd5b806306fdde03146101c7578063095ea7b3146101f257806316697fc51461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc61055f565b6040516101e99190611403565b60405180910390f35b3480156101fe57600080fd5b5061021261020d366004611467565b6105f1565b60405190151581526020016101e9565b34801561022e57600080fd5b5061024261023d366004611493565b61060b565b005b34801561025057600080fd5b506003545b6040519081526020016101e9565b34801561026f57600080fd5b5061021261027e3660046114d1565b61063e565b34801561028f57600080fd5b5061024261029e366004611512565b610662565b3480156102af57600080fd5b50604051601281526020016101e9565b3480156102cb57600080fd5b506102426102da36600461152b565b6106d4565b3480156102eb57600080fd5b506102126102fa366004611467565b610739565b34801561030b57600080fd5b506010546103249061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b34801561034857600080fd5b50610242610357366004611512565b61075b565b34801561036857600080fd5b5061025560095481565b34801561037e57600080fd5b506102426107e3565b34801561039357600080fd5b506102556103a236600461152b565b6001600160a01b031660009081526001602052604090205490565b3480156103c957600080fd5b50610242610a56565b3480156103de57600080fd5b5061025560115481565b3480156103f457600080fd5b5061021261040336600461152b565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561042d57600080fd5b5061024261043c366004611512565b610a6a565b34801561044d57600080fd5b506000546001600160a01b0316610324565b34801561046b57600080fd5b506101dc610b1d565b34801561048057600080fd5b5061021261048f366004611467565b610b2c565b3480156104a057600080fd5b5060105461021290600160a81b900460ff1681565b3480156104c157600080fd5b50600854610324906001600160a01b031681565b3480156104e157600080fd5b506102126104f0366004611467565b610ba7565b34801561050157600080fd5b50610242610bb5565b34801561051657600080fd5b5061025561052536600461154f565b610bf5565b34801561053657600080fd5b5061024261054536600461152b565b610c20565b34801561055657600080fd5b50610242610c99565b60606004805461056e9061157d565b80601f016020809104026020016040519081016040528092919081815260200182805461059a9061157d565b80156105e75780601f106105bc576101008083540402835291602001916105e7565b820191906000526020600020905b8154815290600101906020018083116105ca57829003601f168201915b5050505050905090565b6000336105ff818585610d36565b60019150505b92915050565b610613610e5a565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b60003361064c858285610eb4565b610657858585610f2e565b506001949350505050565b61066a610e5a565b60148111156106cf5760405162461bcd60e51b815260206004820152602660248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c604482015265020746f2031360d41b60648201526084015b60405180910390fd5b600955565b6106dc610e5a565b60108054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527fbd5aa8e04dbf8cd0c0a2cf0d7f15cab9d94d85af3f5d347dc8359b9194610f02906020015b60405180910390a150565b6000336105ff81858561074c8383610bf5565b61075691906115cd565b610d36565b610763610e5a565b600a60075461077291906115e0565b8111156107d95760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20313608c1b60648201526084016106c6565b600e819055600f55565b6013805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061082557610825611602565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a29190611618565b816001815181106108b5576108b5611602565b6001600160a01b0392831660209182029290920101526006546011546108de9230921690610d36565b60065460115460405163791ac94760e01b81526001600160a01b039092169163791ac9479161091891600090869030904290600401611635565b600060405180830381600087803b15801561093257600080fd5b505af1158015610946573d6000803e3d6000fd5b504792505081159050610a0d5760105460405160009161010090046001600160a01b03169083908381818185875af1925050503d80600081146109a5576040519150601f19603f3d011682016040523d82523d6000602084013e6109aa565b606091505b5050905080610a0b5760405162461bcd60e51b815260206004820152602760248201527f4661696c656420746f2073656e6420457468657220746f207472656173757279604482015266081dd85b1b195d60ca1b60648201526084016106c6565b505b7fd851aeb8e2074b285cc12da5e2fbf79e642e38f62ef8e59590790c157491ee05601154604051610a4091815260200190565b60405180910390a150506013805460ff19169055565b610a5e610e5a565b610a686000611208565b565b610a72610e5a565b6032600754610a8191906115e0565b811115610ae85760405162461bcd60e51b815260206004820152602f60248201527f56616c7565206d757374206265206c657373207468616e206f7220657175616c60448201526e020746f20535550504c59202f20353608c1b60648201526084016106c6565b60118190556040518181527f4cba14fd4026630e64b03f8c6a0130ca310c15a5376cf7f6735c66880bb7bceb9060200161072e565b60606005805461056e9061157d565b60003381610b3a8286610bf5565b905083811015610b9a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106c6565b6106578286868403610d36565b6000336105ff818585610f2e565b610bbd610e5a565b6010805460ff191660011790556040517f51cd7cc33235a1c89f708fecec535bf7cca0f94ed05216751befb052ca83e67990600090a1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610c28610e5a565b6001600160a01b038116610c8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c6565b610c9681611208565b50565b610ca1610e5a565b601054600160a81b900460ff16610cf35760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d1cc8185b1c9958591e481c995b5bdd995960521b60448201526064016106c6565b6010805460ff60a81b19169055600754600f819055600e556040517fe9070d302280cd857033f56893647494c1410643fe239daabee29e9292199b3d90600090a1565b6001600160a01b038316610d985760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106c6565b6001600160a01b038216610df95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106c6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b03163314610a685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c6565b6000610ec08484610bf5565b90506000198114610f285781811015610f1b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c6565b610f288484848403610d36565b50505050565b6001600160a01b03831660009081526012602052604090205460ff1680610f6d57506001600160a01b03821660009081526012602052604090205460ff165b80610f9f57506008546001600160a01b03838116911614801590610f9f57506008546001600160a01b03848116911614155b80610fac575060135460ff165b15610fc157610fbc838383611258565b505050565b60105460ff166110095760405162461bcd60e51b81526020600482015260136024820152722a3930b234b7339034b9903737ba1037b832b760691b60448201526064016106c6565b601054600160a81b900460ff16156110d5576008546001600160a01b038481169116148061104457506008546001600160a01b038381169116145b80156110515750600e5481115b1561106f5760405163801bc44b60e01b815260040160405180910390fd5b6008546001600160a01b038381169116148015906110b75750600f54816110ab846001600160a01b031660009081526001602052604090205490565b6110b591906115cd565b115b156110d55760405163a9a44dff60e01b815260040160405180910390fd5b60006064600954836110e791906116a8565b6110f191906115e0565b6008549091506001600160a01b039081169084160361117f576001600d600082825461111d91906115cd565b9091555050600b54606490611134906002906115e0565b600d541161114457600a54611148565b6009545b61115290846116a8565b61115c91906115e0565b601154306000908152600160205260409020549192501161117f5761117f6107e3565b6008546001600160a01b03908116908516036111df576001600c60008282546111a891906115cd565b925050819055506064600b54600c54116111c457600a546111c8565b6009545b6111d290846116a8565b6111dc91906115e0565b90505b80156111fd576111f0843083611258565b6111fa81836116bf565b91505b610f28848484611258565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166112bc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106c6565b6001600160a01b03821661131e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106c6565b6001600160a01b038316600090815260016020526040902054818110156113965760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106c6565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113f69086815260200190565b60405180910390a3610f28565b60006020808352835180602085015260005b8181101561143157858101830151858201604001528201611415565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c9657600080fd5b6000806040838503121561147a57600080fd5b823561148581611452565b946020939093013593505050565b600080604083850312156114a657600080fd5b82356114b181611452565b9150602083013580151581146114c657600080fd5b809150509250929050565b6000806000606084860312156114e657600080fd5b83356114f181611452565b9250602084013561150181611452565b929592945050506040919091013590565b60006020828403121561152457600080fd5b5035919050565b60006020828403121561153d57600080fd5b813561154881611452565b9392505050565b6000806040838503121561156257600080fd5b823561156d81611452565b915060208301356114c681611452565b600181811c9082168061159157607f821691505b6020821081036115b157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610605576106056115b7565b6000826115fd57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561162a57600080fd5b815161154881611452565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156116875784516001600160a01b031683529383019391830191600101611662565b50506001600160a01b03969096166060850152505050608001529392505050565b8082028115828204841417610605576106056115b7565b81810381811115610605576106056115b756fea2646970667358221220291152e5db769bdf9c46d408f63d1db3df3b060f9d1906bf537b0345dac1a07864736f6c63430008170033

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

000000000000000000000000eefb885db79a04cefd51ae5fcb139e99de9365c20000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _treasury (address): 0xEeFb885DB79a04cEFd51aE5fCB139e99dE9365c2
Arg [1] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000eefb885db79a04cefd51ae5fcb139e99de9365c2
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.