ETH Price: $3,496.53 (+1.26%)

Token

MEWE MEME (MEWE)
 

Overview

Max Total Supply

1,000,000,000 MEWE

Holders

69

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,764,760.295766059237357668 MEWE

Value
$0.00
0xEB9683F710cFf3Fcc3A0AB21749463e1559FfB6b
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:
Mewe

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Mewe.sol
// Website: https://mewe.meme
// X: https://x.com/MeweTokenETH
// Telegram: https://t.me/MeweTokenETH

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../../interfaces/IUniswapRouter.sol";

contract Mewe is ERC20, Ownable {
    uint256 private constant MAX_BUY_DURATION = 30;
    uint256 private constant MAX_HOLD_DURATION = 120;

    bool public tradingEnabled;
    bool private swapping;

    IUniswapRouter public router;
    address public taxWallet;
    address public pair;

    uint256 public maxBuyTax = 90;
    uint256 public tax = 5;
    
    uint256 public swapTokensAtAmount;
    uint256 public maxHold;
    uint256 public maxBuy;

    uint256 private limitHoldTimeStamp;
    uint256 private limitBuyTimeStamp;

    mapping(address => bool) private _isExcludedFromFees;

    event ExcludeFromFees(address indexed account, bool isExcluded);

    constructor(
        address _routerAddress,
        address _taxWallet
    ) ERC20("MEWE MEME", "MEWE") {
        setTaxWallet(_taxWallet);

        IUniswapRouter _router = IUniswapRouter(_routerAddress);

        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;

        pair = _pair;

        excludeFromFees(owner(), true);
        excludeFromFees(_taxWallet, true);
        excludeFromFees(address(this), true);

        setSwapTokensAtAmount(635_000 * (10 ** 18));

        maxHold = 15_000_000 * (10 ** 18);

        maxBuy = 2_500_000 * (10 ** 18);

        _mint(owner(), 1_000_000_000 * (10 ** 18));
    }

    /// @notice Sets the amount at which tokens will be swapped
    /// @param amount The new amount to set
    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        swapTokensAtAmount = amount;
    }

    /// @notice Excludes or includes an address from fees
    /// @param account The address to exclude/include from fees
    /// @param excluded Whether the account should be excluded (true) or included (false) in fees
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already excluded"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    /// @notice Checks if an address is excluded from fees
    /// @param account The address to check
    /// @return Whether the account is excluded from fees
    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    /// @notice Sets the wallet that will receive tax-related transactions
    /// @param _taxWallet The new wallet address to set
    function setTaxWallet(address _taxWallet) public onlyOwner {
        taxWallet = _taxWallet;
    }

    /// @notice Enables trading
    function activateTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");

        tradingEnabled = true;

        limitBuyTimeStamp = block.timestamp + MAX_BUY_DURATION;

        limitHoldTimeStamp = block.timestamp + MAX_HOLD_DURATION;
    }

    /// @dev Internal function that handles token transfers
    /// @param from The address the tokens are being transferred from
    /// @param to The address the tokens are being transferred to
    /// @param amount The amount of tokens being transferred
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        address _pair = pair;

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
            if (limitHoldTimeStamp > block.timestamp && to != _pair) {
                require(amount + balanceOf(to) <= maxHold, "Exceed max hold!");
            }
        }

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            !swapping &&
            to == _pair &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapAndSendReward(swapTokensAtAmount);

            swapping = false;
        }

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if (_pair != to && _pair != from) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 feeAmt;

            if (
                limitBuyTimeStamp > block.timestamp &&
                from == _pair &&
                amount >= maxBuy
            ) {
                feeAmt = (amount * maxBuyTax) / 100;
            } else {
                feeAmt = (amount * tax) / 100;
            }

            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }
        super._transfer(from, to, amount);
    }

    /// @notice Swaps tokens for ETH and sends the reward to a specified wallet
    /// @param tokens The number of tokens to swap
    function swapAndSendReward(uint256 tokens) private {
        swapTokensForETH(tokens);
        uint256 currentbalance = address(this).balance;
        if (currentbalance > 0) {
            (bool success, ) = payable(taxWallet).call{value: currentbalance}(
                ""
            );
            require(success, "Error");
        }
    }

    /// @notice Swaps an amount of tokens for ETH using uniswap router
    /// @param tokenAmount The number of tokens to swap
    function swapTokensForETH(uint256 tokenAmount) private {
        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
        );
    }

    receive() external payable {}
}

File 2 of 8 : 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 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 4 of 8 : 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 5 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 6 of 8 : 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 8 : 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 8 of 8 : IUniswapRouter.sol
pragma solidity ^0.8.0;

interface IPair {
    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function token0() external view returns (address);
}

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

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

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

    function WETH() external pure returns (address);

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_taxWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"inputs":[],"name":"activateTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHold","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxWallet","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"stateMutability":"payable","type":"receive"}]

6080604052605a6009556005600a553480156200001b57600080fd5b5060405162001d0238038062001d028339810160408190526200003e9162000634565b60408051808201825260098152684d455745204d454d4560b81b6020808301918252835180850190945260048452634d45574560e01b9084015281519192916200008b9160039162000571565b508051620000a190600490602084019062000571565b505050620000be620000b8620002e060201b60201c565b620002e4565b620000c98162000336565b60008290506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200010f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013591906200066c565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000183573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a991906200066c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021d91906200066c565b600680546001600160a01b038581166001600160a01b0319928316179092556008805484841692169190911790556005549192506200025f9116600162000362565b6200026c83600162000362565b6200027930600162000362565b6200028e6986776b4209cf36e0000062000441565b6a0c685fa11e01ec6f000000600c556a0211654585005212800000600d55620002d6620002c36005546001600160a01b031690565b6b033b2e3c9fd0803ce800000062000450565b50505050620006f4565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200034062000513565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6200036c62000513565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503620003e25760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064015b60405180910390fd5b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200044b62000513565b600b55565b6001600160a01b038216620004a85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003d9565b8060026000828254620004bc919062000691565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031633146200056f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003d9565b565b8280546200057f90620006b8565b90600052602060002090601f016020900481019282620005a35760008555620005ee565b82601f10620005be57805160ff1916838001178555620005ee565b82800160010185558215620005ee579182015b82811115620005ee578251825591602001919060010190620005d1565b50620005fc92915062000600565b5090565b5b80821115620005fc576000815560010162000601565b80516001600160a01b03811681146200062f57600080fd5b919050565b600080604083850312156200064857600080fd5b620006538362000617565b9150620006636020840162000617565b90509250929050565b6000602082840312156200067f57600080fd5b6200068a8262000617565b9392505050565b60008219821115620006b357634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620006cd57607f821691505b602082108103620006ee57634e487b7160e01b600052602260045260246000fd5b50919050565b6115fe80620007046000396000f3fe6080604052600436106101bb5760003560e01c806395d89b41116100ec578063c02466681161008a578063e2f4560511610064578063e2f45605146104dc578063ea414b28146104f2578063f2fde38b14610512578063f887ea401461053257600080fd5b8063c024666814610486578063c8e956ab146104a6578063dd62ed3e146104bc57600080fd5b8063a457c2d7116100c6578063a457c2d714610406578063a8aa1b3114610426578063a9059cbb14610446578063afa4f3b21461046657600080fd5b806395d89b41146103c557806399c8d556146103da5780639a6c614e146103f057600080fd5b8063395093511161015957806370a082311161013357806370a082311461034657806370db69d61461037c578063715018a6146103925780638da5cb5b146103a757600080fd5b806339509351146102cc5780634ada218b146102ec5780634fbee1931461030d57600080fd5b806318160ddd1161019557806318160ddd1461023957806323b872dd146102585780632dc0562d14610278578063313ce567146102b057600080fd5b806306fdde03146101c7578063095ea7b3146101f25780630bd05b691461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc610552565b6040516101e9919061125c565b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046112c6565b6105e4565b60405190151581526020016101e9565b34801561022e57600080fd5b506102376105fc565b005b34801561024557600080fd5b506002545b6040519081526020016101e9565b34801561026457600080fd5b506102126102733660046112f2565b610694565b34801561028457600080fd5b50600754610298906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b3480156102bc57600080fd5b50604051601281526020016101e9565b3480156102d857600080fd5b506102126102e73660046112c6565b6106b8565b3480156102f857600080fd5b5060055461021290600160a01b900460ff1681565b34801561031957600080fd5b50610212610328366004611333565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561035257600080fd5b5061024a610361366004611333565b6001600160a01b031660009081526020819052604090205490565b34801561038857600080fd5b5061024a600d5481565b34801561039e57600080fd5b506102376106da565b3480156103b357600080fd5b506005546001600160a01b0316610298565b3480156103d157600080fd5b506101dc6106ee565b3480156103e657600080fd5b5061024a600a5481565b3480156103fc57600080fd5b5061024a600c5481565b34801561041257600080fd5b506102126104213660046112c6565b6106fd565b34801561043257600080fd5b50600854610298906001600160a01b031681565b34801561045257600080fd5b506102126104613660046112c6565b610778565b34801561047257600080fd5b50610237610481366004611357565b610786565b34801561049257600080fd5b506102376104a1366004611370565b610793565b3480156104b257600080fd5b5061024a60095481565b3480156104c857600080fd5b5061024a6104d73660046113ae565b61086a565b3480156104e857600080fd5b5061024a600b5481565b3480156104fe57600080fd5b5061023761050d366004611333565b610895565b34801561051e57600080fd5b5061023761052d366004611333565b6108bf565b34801561053e57600080fd5b50600654610298906001600160a01b031681565b606060038054610561906113dc565b80601f016020809104026020016040519081016040528092919081815260200182805461058d906113dc565b80156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b5050505050905090565b6000336105f2818585610938565b5060019392505050565b610604610a5c565b600554600160a01b900460ff16156106635760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6005805460ff60a01b1916600160a01b179055610681601e4261142c565b600f5561068f60784261142c565b600e55565b6000336106a2858285610ab6565b6106ad858585610b30565b506001949350505050565b6000336105f28185856106cb838361086a565b6106d5919061142c565b610938565b6106e2610a5c565b6106ec6000610ed4565b565b606060048054610561906113dc565b6000338161070b828661086a565b90508381101561076b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161065a565b6106ad8286868403610938565b6000336105f2818585610b30565b61078e610a5c565b600b55565b61079b610a5c565b6001600160a01b03821660009081526010602052604090205481151560ff90911615150361080b5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161065a565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61089d610a5c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6108c7610a5c565b6001600160a01b03811661092c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161065a565b61093581610ed4565b50565b6001600160a01b03831661099a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161065a565b6001600160a01b0382166109fb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161065a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146106ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065a565b6000610ac2848461086a565b90506000198114610b2a5781811015610b1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161065a565b610b2a8484848403610938565b50505050565b6001600160a01b038316610b565760405162461bcd60e51b815260040161065a90611444565b6001600160a01b038216610b7c5760405162461bcd60e51b815260040161065a90611489565b6008546001600160a01b0384811660009081526010602052604090205491169060ff16158015610bc557506001600160a01b03831660009081526010602052604090205460ff16155b8015610bdb5750600554600160a81b900460ff16155b15610cbd57600554600160a01b900460ff16610c2e5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b604482015260640161065a565b42600e54118015610c515750806001600160a01b0316836001600160a01b031614155b15610cbd57600c546001600160a01b038416600090815260208190526040902054610c7c908461142c565b1115610cbd5760405162461bcd60e51b815260206004820152601060248201526f457863656564206d617820686f6c642160801b604482015260640161065a565b81600003610cd157610b2a84846000610f26565b30600090815260208190526040902054600b5481108015908190610cff5750600554600160a81b900460ff16155b8015610d1c5750826001600160a01b0316856001600160a01b0316145b8015610d4157506001600160a01b03861660009081526010602052604090205460ff16155b8015610d6657506001600160a01b03851660009081526010602052604090205460ff16155b15610d98576005805460ff60a81b1916600160a81b179055600b54610d8a90611061565b6005805460ff60a81b191690555b6005546001600160a01b03871660009081526010602052604090205460ff600160a81b909204821615911680610de657506001600160a01b03861660009081526010602052604090205460ff165b15610def575060005b856001600160a01b0316846001600160a01b031614158015610e235750866001600160a01b0316846001600160a01b031614155b15610e2c575060005b8015610ec057600042600f54118015610e565750846001600160a01b0316886001600160a01b0316145b8015610e645750600d548610155b15610e8a57606460095487610e7991906114cc565b610e8391906114eb565b9050610ea7565b6064600a5487610e9a91906114cc565b610ea491906114eb565b90505b610eb1818761150d565b9550610ebe883083610f26565b505b610ecb878787610f26565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610f4c5760405162461bcd60e51b815260040161065a90611444565b6001600160a01b038216610f725760405162461bcd60e51b815260040161065a90611489565b610f7d8383836110fc565b6001600160a01b03831660009081526020819052604090205481811015610ff55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161065a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b2a8484846110fc565b61106a81611102565b4780156110fe576007546040516000916001600160a01b03169083908381818185875af1925050503d80600081146110be576040519150601f19603f3d011682016040523d82523d6000602084013e6110c3565b606091505b50509050806110fc5760405162461bcd60e51b815260206004820152600560248201526422b93937b960d91b604482015260640161065a565b505b5050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061113757611137611524565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611190573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b4919061153a565b816001815181106111c7576111c7611524565b6001600160a01b0392831660209182029290920101526006546111ed9130911684610938565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611226908590600090869030904290600401611557565b600060405180830381600087803b15801561124057600080fd5b505af1158015611254573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b818110156112895785810183015185820160400152820161126d565b8181111561129b576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461093557600080fd5b600080604083850312156112d957600080fd5b82356112e4816112b1565b946020939093013593505050565b60008060006060848603121561130757600080fd5b8335611312816112b1565b92506020840135611322816112b1565b929592945050506040919091013590565b60006020828403121561134557600080fd5b8135611350816112b1565b9392505050565b60006020828403121561136957600080fd5b5035919050565b6000806040838503121561138357600080fd5b823561138e816112b1565b9150602083013580151581146113a357600080fd5b809150509250929050565b600080604083850312156113c157600080fd5b82356113cc816112b1565b915060208301356113a3816112b1565b600181811c908216806113f057607f821691505b60208210810361141057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561143f5761143f611416565b500190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008160001904831182151516156114e6576114e6611416565b500290565b60008261150857634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561151f5761151f611416565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561154c57600080fd5b8151611350816112b1565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156115a75784516001600160a01b031683529383019391830191600101611582565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201d81147ecfceb5e3f3156ffd82a737ed086060024db0a753193ea8c18b15131264736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000acb70ee89fa4d1dffcaf07919d39034cf2e0e0c9

Deployed Bytecode

0x6080604052600436106101bb5760003560e01c806395d89b41116100ec578063c02466681161008a578063e2f4560511610064578063e2f45605146104dc578063ea414b28146104f2578063f2fde38b14610512578063f887ea401461053257600080fd5b8063c024666814610486578063c8e956ab146104a6578063dd62ed3e146104bc57600080fd5b8063a457c2d7116100c6578063a457c2d714610406578063a8aa1b3114610426578063a9059cbb14610446578063afa4f3b21461046657600080fd5b806395d89b41146103c557806399c8d556146103da5780639a6c614e146103f057600080fd5b8063395093511161015957806370a082311161013357806370a082311461034657806370db69d61461037c578063715018a6146103925780638da5cb5b146103a757600080fd5b806339509351146102cc5780634ada218b146102ec5780634fbee1931461030d57600080fd5b806318160ddd1161019557806318160ddd1461023957806323b872dd146102585780632dc0562d14610278578063313ce567146102b057600080fd5b806306fdde03146101c7578063095ea7b3146101f25780630bd05b691461022257600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506101dc610552565b6040516101e9919061125c565b60405180910390f35b3480156101fe57600080fd5b5061021261020d3660046112c6565b6105e4565b60405190151581526020016101e9565b34801561022e57600080fd5b506102376105fc565b005b34801561024557600080fd5b506002545b6040519081526020016101e9565b34801561026457600080fd5b506102126102733660046112f2565b610694565b34801561028457600080fd5b50600754610298906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b3480156102bc57600080fd5b50604051601281526020016101e9565b3480156102d857600080fd5b506102126102e73660046112c6565b6106b8565b3480156102f857600080fd5b5060055461021290600160a01b900460ff1681565b34801561031957600080fd5b50610212610328366004611333565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561035257600080fd5b5061024a610361366004611333565b6001600160a01b031660009081526020819052604090205490565b34801561038857600080fd5b5061024a600d5481565b34801561039e57600080fd5b506102376106da565b3480156103b357600080fd5b506005546001600160a01b0316610298565b3480156103d157600080fd5b506101dc6106ee565b3480156103e657600080fd5b5061024a600a5481565b3480156103fc57600080fd5b5061024a600c5481565b34801561041257600080fd5b506102126104213660046112c6565b6106fd565b34801561043257600080fd5b50600854610298906001600160a01b031681565b34801561045257600080fd5b506102126104613660046112c6565b610778565b34801561047257600080fd5b50610237610481366004611357565b610786565b34801561049257600080fd5b506102376104a1366004611370565b610793565b3480156104b257600080fd5b5061024a60095481565b3480156104c857600080fd5b5061024a6104d73660046113ae565b61086a565b3480156104e857600080fd5b5061024a600b5481565b3480156104fe57600080fd5b5061023761050d366004611333565b610895565b34801561051e57600080fd5b5061023761052d366004611333565b6108bf565b34801561053e57600080fd5b50600654610298906001600160a01b031681565b606060038054610561906113dc565b80601f016020809104026020016040519081016040528092919081815260200182805461058d906113dc565b80156105da5780601f106105af576101008083540402835291602001916105da565b820191906000526020600020905b8154815290600101906020018083116105bd57829003601f168201915b5050505050905090565b6000336105f2818585610938565b5060019392505050565b610604610a5c565b600554600160a01b900460ff16156106635760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6005805460ff60a01b1916600160a01b179055610681601e4261142c565b600f5561068f60784261142c565b600e55565b6000336106a2858285610ab6565b6106ad858585610b30565b506001949350505050565b6000336105f28185856106cb838361086a565b6106d5919061142c565b610938565b6106e2610a5c565b6106ec6000610ed4565b565b606060048054610561906113dc565b6000338161070b828661086a565b90508381101561076b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161065a565b6106ad8286868403610938565b6000336105f2818585610b30565b61078e610a5c565b600b55565b61079b610a5c565b6001600160a01b03821660009081526010602052604090205481151560ff90911615150361080b5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161065a565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61089d610a5c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6108c7610a5c565b6001600160a01b03811661092c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161065a565b61093581610ed4565b50565b6001600160a01b03831661099a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161065a565b6001600160a01b0382166109fb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161065a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146106ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161065a565b6000610ac2848461086a565b90506000198114610b2a5781811015610b1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161065a565b610b2a8484848403610938565b50505050565b6001600160a01b038316610b565760405162461bcd60e51b815260040161065a90611444565b6001600160a01b038216610b7c5760405162461bcd60e51b815260040161065a90611489565b6008546001600160a01b0384811660009081526010602052604090205491169060ff16158015610bc557506001600160a01b03831660009081526010602052604090205460ff16155b8015610bdb5750600554600160a81b900460ff16155b15610cbd57600554600160a01b900460ff16610c2e5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b604482015260640161065a565b42600e54118015610c515750806001600160a01b0316836001600160a01b031614155b15610cbd57600c546001600160a01b038416600090815260208190526040902054610c7c908461142c565b1115610cbd5760405162461bcd60e51b815260206004820152601060248201526f457863656564206d617820686f6c642160801b604482015260640161065a565b81600003610cd157610b2a84846000610f26565b30600090815260208190526040902054600b5481108015908190610cff5750600554600160a81b900460ff16155b8015610d1c5750826001600160a01b0316856001600160a01b0316145b8015610d4157506001600160a01b03861660009081526010602052604090205460ff16155b8015610d6657506001600160a01b03851660009081526010602052604090205460ff16155b15610d98576005805460ff60a81b1916600160a81b179055600b54610d8a90611061565b6005805460ff60a81b191690555b6005546001600160a01b03871660009081526010602052604090205460ff600160a81b909204821615911680610de657506001600160a01b03861660009081526010602052604090205460ff165b15610def575060005b856001600160a01b0316846001600160a01b031614158015610e235750866001600160a01b0316846001600160a01b031614155b15610e2c575060005b8015610ec057600042600f54118015610e565750846001600160a01b0316886001600160a01b0316145b8015610e645750600d548610155b15610e8a57606460095487610e7991906114cc565b610e8391906114eb565b9050610ea7565b6064600a5487610e9a91906114cc565b610ea491906114eb565b90505b610eb1818761150d565b9550610ebe883083610f26565b505b610ecb878787610f26565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610f4c5760405162461bcd60e51b815260040161065a90611444565b6001600160a01b038216610f725760405162461bcd60e51b815260040161065a90611489565b610f7d8383836110fc565b6001600160a01b03831660009081526020819052604090205481811015610ff55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161065a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b2a8484846110fc565b61106a81611102565b4780156110fe576007546040516000916001600160a01b03169083908381818185875af1925050503d80600081146110be576040519150601f19603f3d011682016040523d82523d6000602084013e6110c3565b606091505b50509050806110fc5760405162461bcd60e51b815260206004820152600560248201526422b93937b960d91b604482015260640161065a565b505b5050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061113757611137611524565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611190573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b4919061153a565b816001815181106111c7576111c7611524565b6001600160a01b0392831660209182029290920101526006546111ed9130911684610938565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611226908590600090869030904290600401611557565b600060405180830381600087803b15801561124057600080fd5b505af1158015611254573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b818110156112895785810183015185820160400152820161126d565b8181111561129b576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461093557600080fd5b600080604083850312156112d957600080fd5b82356112e4816112b1565b946020939093013593505050565b60008060006060848603121561130757600080fd5b8335611312816112b1565b92506020840135611322816112b1565b929592945050506040919091013590565b60006020828403121561134557600080fd5b8135611350816112b1565b9392505050565b60006020828403121561136957600080fd5b5035919050565b6000806040838503121561138357600080fd5b823561138e816112b1565b9150602083013580151581146113a357600080fd5b809150509250929050565b600080604083850312156113c157600080fd5b82356113cc816112b1565b915060208301356113a3816112b1565b600181811c908216806113f057607f821691505b60208210810361141057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561143f5761143f611416565b500190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008160001904831182151516156114e6576114e6611416565b500290565b60008261150857634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561151f5761151f611416565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561154c57600080fd5b8151611350816112b1565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156115a75784516001600160a01b031683529383019391830191600101611582565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201d81147ecfceb5e3f3156ffd82a737ed086060024db0a753193ea8c18b15131264736f6c634300080d0033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000acb70ee89fa4d1dffcaf07919d39034cf2e0e0c9

-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _taxWallet (address): 0xAcb70eE89Fa4d1DFFcAF07919D39034cf2E0E0c9

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


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.