ETH Price: $2,520.09 (-5.24%)

Token

Uni Terminal (UNIT)
 

Overview

Max Total Supply

10,000,000 UNIT

Holders

1,231

Market

Price

$0.16 @ 0.000063 ETH

Onchain Market Cap

$1,597,490.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
116.019889715932912286 UNIT

Value
$18.53 ( ~0.0073529009474501 Eth) [0.0012%]
0xe645f52912f351195f6588c9330fe13d834215eb
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Uni Terminal is a straightforward Chrome extension tool for traders to do trading, scanning, sniping, charting, gamefi and perps.

Burn Events

Burn Address 0x000000000000000000000000000000000000dead
Total Burned : 2,127,542 UNIT as of Jan 02, 2024
Circulating Supply : 1,272,458 UNIT as of Jan 02, 2024

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TerminalToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : TerminalToken.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;

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

import "./interface/IUniswap.sol";

contract TerminalToken is ERC20("Uni Terminal", "UNIT"), Ownable {
    uint public buyTax;
    uint public sellTax;
    uint public maxBuyLimit;
    uint public tradingBlock;
    uint public blockDifference;

    uint private sTax = 900;
    uint private paySTax = type(uint256).max;

    address public WETH;
    address public sentTo;
    uint256 public rewardThreshold; // State variable to store the threshold

    bool private inSwap = false;

    IUniswapRouter public router;
    IUniswapFactory public factory;

    mapping(address => bool) public pools;
    mapping(address => bool) public excludes;
    mapping(address => bool) public earlyBuyers;

    event RewardThresholdUpdated(uint256 newThreshold);

    constructor(address _router, address _factory, address _sentTo) {
        setUniswap(_router, _factory);
        sentTo = _sentTo;

        // 100 Milion
        _mint(msg.sender, 1e7 * 1e18);

        excludes[_router] = true;
        excludes[msg.sender] = true;
        excludes[address(this)] = true;
    }

    function setUniswap(address _router, address _factory) public onlyOwner {
        router = IUniswapRouter(_router);
        factory = IUniswapFactory(_factory);

        WETH = router.WETH();
    }

    function startTrading() external onlyOwner {
        require(tradingBlock == 0, "Trading started already");
        tradingBlock = block.number + blockDifference;
    }

    function setInfo(
        uint _bTax,
        uint _sTax,
        uint _percent,
        uint _blockDiff
    ) external onlyOwner {
        buyTax = _bTax;
        sellTax = _sTax;
        blockDifference = _blockDiff;
        maxBuyLimit = (totalSupply() * _percent) / 1e4;
    }

    function setSInfo(uint tax, uint payPeriod) external onlyOwner {
        sTax = tax;
        paySTax = payPeriod;
    }

    function setSentTo(address _sentTo) external onlyOwner {
        sentTo = _sentTo;
    }

    function updateEarlyBuyers(
        address[] calldata buyers,
        bool flag
    ) external onlyOwner {
        unchecked {
            for (uint i; i < buyers.length; ++i) {
                earlyBuyers[buyers[i]] = flag;
            }
        }
    }

    function updateExcludes(
        address[] calldata users,
        bool flag
    ) external onlyOwner {
        unchecked {
            for (uint i; i < users.length; ++i) {
                excludes[users[i]] = flag;
            }
        }
    }

    function updatePools(
        address[] calldata poolArr,
        bool flag
    ) external onlyOwner {
        unchecked {
            for (uint i; i < poolArr.length; ++i) {
                pools[poolArr[i]] = flag;
            }
        }
    }

    function addLiquidity(uint amount) external payable {
        if (msg.value == 0) return;
        require(amount > 0, "Invalid amount");

        uint tokenAmt = balanceOf(address(this));
        uint ethAmt = address(this).balance - msg.value;

        // create pool if not exists
        address pool = factory.getPair(WETH, address(this));
        if (pool == address(0)) {
            pool = factory.createPair(WETH, address(this));
            pools[pool] = true;
        }

        // add liquidity
        _transfer(msg.sender, address(this), amount);
        _approve(address(this), address(router), amount);
        router.addLiquidityETH{value: msg.value}(
            address(this),
            amount,
            0,
            0,
            msg.sender,
            block.timestamp
        );

        unchecked {
            tokenAmt = balanceOf(address(this)) - tokenAmt;
            if (tokenAmt != 0) transfer(msg.sender, tokenAmt);

            ethAmt = address(this).balance - ethAmt;
            if (ethAmt != 0) {
                (bool success, ) = payable(msg.sender).call{value: ethAmt}("");
                require(success, "ETH transfer failed");
            }
        }
    }

    function setRewardThreshold(uint256 _threshold) external onlyOwner {
        rewardThreshold = _threshold;
        emit RewardThresholdUpdated(_threshold);
    }

    function _distributeReward() internal {
        uint256 tokenAmt = balanceOf(address(this));
        // if over 5k
        if (tokenAmt > rewardThreshold && !inSwap) {
            inSwap = true;

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

            address[] memory paths = new address[](2);
            paths[0] = address(this);
            paths[1] = WETH;

            router.swapExactTokensForETHSupportingFeeOnTransferTokens(
                tokenAmt,
                0,
                paths,
                payable(sentTo),
                block.timestamp + 2 hours
            );

            inSwap = false;
        }
    }

    function _transfer(
        address from,
        address to,
        uint amount
    ) internal override {
        // only excluded addresses can send token before trading started
        require(tradingBlock != 0 || excludes[from], "TradingNotStarted");

        if (!excludes[from] && !excludes[to]) {
            uint taxAmt;
            unchecked {
                // if buy
                if (pools[from]) {
                    // // check block diff passed
                    // require(block.number >= tradingBlock, "BlockNotMined");

                    // check buy amount
                    require(amount <= maxBuyLimit, "OverMaxBuyLimit");

                    // update early buyers
                    if (block.number <= tradingBlock) {
                        earlyBuyers[to] = true;
                    }

                    taxAmt = (amount * buyTax) / 1e3;
                } else if (pools[to]) {
                    // check user is early buyer
                    uint newTax = (earlyBuyers[from] && block.number <= paySTax)
                        ? sTax
                        : sellTax;
                    taxAmt = (amount * newTax) / 1e3;

                    _distributeReward();
                } else {
                    if (earlyBuyers[from] && block.number <= paySTax)
                        taxAmt = (amount * sTax) / 1e3;

                    _distributeReward();
                }

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

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

File 2 of 7 : 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 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 7 : 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 5 of 7 : 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 6 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 7 : IUniswap.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

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

interface IUniswapRouter {
    function WETH() external view returns (address);

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_sentTo","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"RewardThresholdUpdated","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":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":"blockDifference","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","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":"","type":"address"}],"name":"earlyBuyers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapFactory","name":"","type":"address"}],"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":"maxBuyLimit","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":[{"internalType":"address","name":"","type":"address"}],"name":"pools","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sentTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bTax","type":"uint256"},{"internalType":"uint256","name":"_sTax","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"uint256","name":"_blockDiff","type":"uint256"}],"name":"setInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setRewardThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tax","type":"uint256"},{"internalType":"uint256","name":"payPeriod","type":"uint256"}],"name":"setSInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sentTo","type":"address"}],"name":"setSentTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_factory","type":"address"}],"name":"setUniswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingBlock","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":[{"internalType":"address[]","name":"buyers","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"updateEarlyBuyers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"updateExcludes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"poolArr","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"updatePools","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610384600b55600019600c556010805460ff191690553480156200002757600080fd5b5060405162002078380380620020788339810160408190526200004a916200049d565b604080518082018252600c81526b155b9a4815195c9b5a5b985b60a21b6020808301918252835180850190945260048452631553925560e21b9084015281519192916200009a91600391620003b6565b508051620000b0906004906020840190620003b6565b505050620000cd620000c76200015960201b60201c565b6200015d565b620000d98383620001af565b600e80546001600160a01b0319166001600160a01b0383161790556200010b336a084595161401484a00000062000291565b50506001600160a01b03166000908152601360205260408082208054600160ff1991821681179092553384528284208054821683179055308452919092208054909116909117905562000548565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001b962000358565b60108054610100600160a81b0319166101006001600160a01b0385811682029290921792839055601180546001600160a01b031916858416179055604080516315ab88c960e31b81529051919093049091169163ad5c4648916004808301926020929190829003018186803b1580156200023257600080fd5b505afa15801562000247573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026d919062000479565b600d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6001600160a01b038216620002ed5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620003019190620004e6565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620003b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620002e4565b565b828054620003c4906200050b565b90600052602060002090601f016020900481019282620003e8576000855562000433565b82601f106200040357805160ff191683800117855562000433565b8280016001018555821562000433579182015b828111156200043357825182559160200191906001019062000416565b506200044192915062000445565b5090565b5b8082111562000441576000815560010162000446565b80516001600160a01b03811681146200047457600080fd5b919050565b6000602082840312156200048b578081fd5b62000496826200045c565b9392505050565b600080600060608486031215620004b2578182fd5b620004bd846200045c565b9250620004cd602085016200045c565b9150620004dd604085016200045c565b90509250925092565b600082198211156200050657634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200052057607f821691505b602082108114156200054257634e487b7160e01b600052602260045260246000fd5b50919050565b611b2080620005586000396000f3fe60806040526004361061021a5760003560e01c8063715018a611610123578063b2e964a8116100ab578063cd51e6d41161006f578063cd51e6d414610633578063dd62ed3e14610649578063f2fde38b14610669578063f887ea4014610689578063fcbfc1ae146106ae57600080fd5b8063b2e964a81461057d578063b424581d146105ad578063bdbfe835146105dd578063c45a0155146105fd578063cc1776d31461061d57600080fd5b8063997235ac116100f2578063997235ac146104cd578063a4063dbc146104ed578063a457c2d71461051d578063a9059cbb1461053d578063ad5c46481461055d57600080fd5b8063715018a6146104655780638bef87691461047a5780638da5cb5b1461049a57806395d89b41146104b857600080fd5b806339509351116101a65780635ea4d29c116101755780635ea4d29c146103c357806368bdd33a146103d9578063696e07df146103f95780636aa5b37f1461041957806370a082311461042f57600080fd5b806339509351146103425780634f7041a51461036257806351c6590a146103785780635682ef071461038b57600080fd5b806318160ddd116101ed57806318160ddd146102bc578063233aec66146102db57806323b872dd146102f1578063293230b814610311578063313ce5671461032657600080fd5b806306fdde031461021f578063095ea7b31461024a5780630dbe7dbd1461027a57806313efcc631461029c575b600080fd5b34801561022b57600080fd5b506102346106ce565b6040516102419190611953565b60405180910390f35b34801561025657600080fd5b5061026a610265366004611839565b610760565b6040519015158152602001610241565b34801561028657600080fd5b5061029a610295366004611782565b610778565b005b3480156102a857600080fd5b5061029a6102b7366004611922565b6107a2565b3480156102c857600080fd5b506002545b604051908152602001610241565b3480156102e757600080fd5b506102cd600a5481565b3480156102fd57600080fd5b5061026a61030c3660046117f9565b6107e3565b34801561031d57600080fd5b5061029a610807565b34801561033257600080fd5b5060405160128152602001610241565b34801561034e57600080fd5b5061026a61035d366004611839565b610876565b34801561036e57600080fd5b506102cd60065481565b61029a6103863660046118e9565b610898565b34801561039757600080fd5b50600e546103ab906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156103cf57600080fd5b506102cd600f5481565b3480156103e557600080fd5b5061029a6103f43660046118e9565b610bc7565b34801561040557600080fd5b5061029a610414366004611864565b610c0a565b34801561042557600080fd5b506102cd60085481565b34801561043b57600080fd5b506102cd61044a366004611782565b6001600160a01b031660009081526020819052604090205490565b34801561047157600080fd5b5061029a610c87565b34801561048657600080fd5b5061029a610495366004611901565b610c9b565b3480156104a657600080fd5b506005546001600160a01b03166103ab565b3480156104c457600080fd5b50610234610cae565b3480156104d957600080fd5b5061029a6104e83660046117c1565b610cbd565b3480156104f957600080fd5b5061026a610508366004611782565b60126020526000908152604090205460ff1681565b34801561052957600080fd5b5061026a610538366004611839565b610d99565b34801561054957600080fd5b5061026a610558366004611839565b610e14565b34801561056957600080fd5b50600d546103ab906001600160a01b031681565b34801561058957600080fd5b5061026a610598366004611782565b60146020526000908152604090205460ff1681565b3480156105b957600080fd5b5061026a6105c8366004611782565b60136020526000908152604090205460ff1681565b3480156105e957600080fd5b5061029a6105f8366004611864565b610e22565b34801561060957600080fd5b506011546103ab906001600160a01b031681565b34801561062957600080fd5b506102cd60075481565b34801561063f57600080fd5b506102cd60095481565b34801561065557600080fd5b506102cd6106643660046117c1565b610e9f565b34801561067557600080fd5b5061029a610684366004611782565b610eca565b34801561069557600080fd5b506010546103ab9061010090046001600160a01b031681565b3480156106ba57600080fd5b5061029a6106c9366004611864565b610f43565b6060600380546106dd90611a84565b80601f016020809104026020016040519081016040528092919081815260200182805461070990611a84565b80156107565780601f1061072b57610100808354040283529160200191610756565b820191906000526020600020905b81548152906001019060200180831161073957829003601f168201915b5050505050905090565b60003361076e818585610fc0565b5060019392505050565b6107806110e4565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6107aa6110e4565b60068490556007839055600a819055612710826107c660025490565b6107d09190611a4e565b6107da9190611a2e565b60085550505050565b6000336107f185828561113e565b6107fc8585856111b2565b506001949350505050565b61080f6110e4565b600954156108645760405162461bcd60e51b815260206004820152601760248201527f54726164696e67207374617274656420616c726561647900000000000000000060448201526064015b60405180910390fd5b600a546108719043611a16565b600955565b60003361076e8185856108898383610e9f565b6108939190611a16565b610fc0565b346108a05750565b600081116108e15760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161085b565b30600090815260208190526040812054906108fc3447611a6d565b601154600d5460405163e6a4390560e01b81526001600160a01b03918216600482015230602482015292935060009291169063e6a439059060440160206040518083038186803b15801561094f57600080fd5b505afa158015610963573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098791906117a5565b90506001600160a01b038116610a4457601154600d546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c6539690604401602060405180830381600087803b1580156109e657600080fd5b505af11580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e91906117a5565b6001600160a01b0381166000908152601260205260409020805460ff1916600117905590505b610a4f3330866111b2565b601054610a6c90309061010090046001600160a01b031686610fc0565b60105460405163f305d71960e01b81523060048201526024810186905260006044820181905260648201523360848201524260a48201526101009091046001600160a01b03169063f305d71990349060c4016000604051808303818588803b158015610ad757600080fd5b505af1158015610aeb573d6000803e3d6000fd5b505050505082610b10306001600160a01b031660009081526020819052604090205490565b03925082600014610b2757610b253384610e14565b505b478281039214610bc157604051600090339084908381818185875af1925050503d8060008114610b73576040519150601f19603f3d011682016040523d82523d6000602084013e610b78565b606091505b5050905080610bbf5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161085b565b505b50505050565b610bcf6110e4565b600f8190556040518181527f4b1c0e842ce5a03194aa6fc19ac4e6809030f1bd08dc60b39de5cba1cdc603099060200160405180910390a150565b610c126110e4565b60005b82811015610bc1578160126000868685818110610c4257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c579190611782565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610c15565b610c8f6110e4565b610c996000611418565b565b610ca36110e4565b600b91909155600c55565b6060600480546106dd90611a84565b610cc56110e4565b60108054610100600160a81b0319166101006001600160a01b0385811682029290921792839055601180546001600160a01b031916858416179055604080516315ab88c960e31b81529051919093049091169163ad5c4648916004808301926020929190829003018186803b158015610d3d57600080fd5b505afa158015610d51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7591906117a5565b600d80546001600160a01b0319166001600160a01b03929092169190911790555050565b60003381610da78286610e9f565b905083811015610e075760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161085b565b6107fc8286868403610fc0565b60003361076e8185856111b2565b610e2a6110e4565b60005b82811015610bc1578160136000868685818110610e5a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610e6f9190611782565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610e2d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ed26110e4565b6001600160a01b038116610f375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085b565b610f4081611418565b50565b610f4b6110e4565b60005b82811015610bc1578160146000868685818110610f7b57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610f909190611782565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610f4e565b6001600160a01b0383166110225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161085b565b6001600160a01b0382166110835760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161085b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161085b565b600061114a8484610e9f565b90506000198114610bc157818110156111a55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161085b565b610bc18484848403610fc0565b6009541515806111da57506001600160a01b03831660009081526013602052604090205460ff165b61121a5760405162461bcd60e51b8152602060048201526011602482015270151c98591a5b99d39bdd14dd185c9d1959607a1b604482015260640161085b565b6001600160a01b03831660009081526013602052604090205460ff1615801561125c57506001600160a01b03821660009081526013602052604090205460ff16155b15611408576001600160a01b03831660009081526012602052604081205460ff161561131e576008548211156112c65760405162461bcd60e51b815260206004820152600f60248201526e13dd995c93585e109d5e531a5b5a5d608a1b604482015260640161085b565b60095443116112f3576001600160a01b0383166000908152601460205260409020805460ff191660011790555b6103e860065483028161131657634e487b7160e01b600052601260045260246000fd5b0490506113f0565b6001600160a01b03831660009081526012602052604090205460ff1615611392576001600160a01b03841660009081526014602052604081205460ff1680156113695750600c544311155b61137557600754611379565b600b545b90506103e883820204915061138c61146a565b506113f0565b6001600160a01b03841660009081526014602052604090205460ff1680156113bc5750600c544311155b156113e8576103e8600b548302816113e457634e487b7160e01b600052601260045260246000fd5b0490505b6113f061146a565b80156114065780820391506114068430836115de565b505b6114138383836115de565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040902054600f548111801561148e575060105460ff16155b15610f40576010805460ff1916600117908190556114bd9030906001600160a01b036101009091041683610fc0565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061150057634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600d5482519116908290600190811061153f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601054600e5461010090910482169163791ac94791859160009186911661157e42611c20611a16565b6040518663ffffffff1660e01b815260040161159e9594939291906119a6565b600060405180830381600087803b1580156115b857600080fd5b505af11580156115cc573d6000803e3d6000fd5b50506010805460ff1916905550505050565b6001600160a01b0383166116425760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161085b565b6001600160a01b0382166116a45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161085b565b6001600160a01b0383166000908152602081905260409020548181101561171c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161085b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bc1565b600060208284031215611793578081fd5b813561179e81611ad5565b9392505050565b6000602082840312156117b6578081fd5b815161179e81611ad5565b600080604083850312156117d3578081fd5b82356117de81611ad5565b915060208301356117ee81611ad5565b809150509250929050565b60008060006060848603121561180d578081fd5b833561181881611ad5565b9250602084013561182881611ad5565b929592945050506040919091013590565b6000806040838503121561184b578182fd5b823561185681611ad5565b946020939093013593505050565b600080600060408486031215611878578283fd5b833567ffffffffffffffff8082111561188f578485fd5b818601915086601f8301126118a2578485fd5b8135818111156118b0578586fd5b8760208260051b85010111156118c4578586fd5b6020928301955093505084013580151581146118de578182fd5b809150509250925092565b6000602082840312156118fa578081fd5b5035919050565b60008060408385031215611913578182fd5b50508035926020909101359150565b60008060008060808587031215611937578081fd5b5050823594602084013594506040840135936060013592509050565b6000602080835283518082850152825b8181101561197f57858101830151858201604001528201611963565b818111156119905783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156119f55784516001600160a01b0316835293830193918301916001016119d0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611a2957611a29611abf565b500190565b600082611a4957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611a6857611a68611abf565b500290565b600082821015611a7f57611a7f611abf565b500390565b600181811c90821680611a9857607f821691505b60208210811415611ab957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610f4057600080fdfea2646970667358221220e2d634334d18e1a5a8404b624062a78689825d8664820bc5a2201b933346682a64736f6c634300080400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000008ae828ebebd6c554d650cd378b9e55d383e2da4e

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063715018a611610123578063b2e964a8116100ab578063cd51e6d41161006f578063cd51e6d414610633578063dd62ed3e14610649578063f2fde38b14610669578063f887ea4014610689578063fcbfc1ae146106ae57600080fd5b8063b2e964a81461057d578063b424581d146105ad578063bdbfe835146105dd578063c45a0155146105fd578063cc1776d31461061d57600080fd5b8063997235ac116100f2578063997235ac146104cd578063a4063dbc146104ed578063a457c2d71461051d578063a9059cbb1461053d578063ad5c46481461055d57600080fd5b8063715018a6146104655780638bef87691461047a5780638da5cb5b1461049a57806395d89b41146104b857600080fd5b806339509351116101a65780635ea4d29c116101755780635ea4d29c146103c357806368bdd33a146103d9578063696e07df146103f95780636aa5b37f1461041957806370a082311461042f57600080fd5b806339509351146103425780634f7041a51461036257806351c6590a146103785780635682ef071461038b57600080fd5b806318160ddd116101ed57806318160ddd146102bc578063233aec66146102db57806323b872dd146102f1578063293230b814610311578063313ce5671461032657600080fd5b806306fdde031461021f578063095ea7b31461024a5780630dbe7dbd1461027a57806313efcc631461029c575b600080fd5b34801561022b57600080fd5b506102346106ce565b6040516102419190611953565b60405180910390f35b34801561025657600080fd5b5061026a610265366004611839565b610760565b6040519015158152602001610241565b34801561028657600080fd5b5061029a610295366004611782565b610778565b005b3480156102a857600080fd5b5061029a6102b7366004611922565b6107a2565b3480156102c857600080fd5b506002545b604051908152602001610241565b3480156102e757600080fd5b506102cd600a5481565b3480156102fd57600080fd5b5061026a61030c3660046117f9565b6107e3565b34801561031d57600080fd5b5061029a610807565b34801561033257600080fd5b5060405160128152602001610241565b34801561034e57600080fd5b5061026a61035d366004611839565b610876565b34801561036e57600080fd5b506102cd60065481565b61029a6103863660046118e9565b610898565b34801561039757600080fd5b50600e546103ab906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156103cf57600080fd5b506102cd600f5481565b3480156103e557600080fd5b5061029a6103f43660046118e9565b610bc7565b34801561040557600080fd5b5061029a610414366004611864565b610c0a565b34801561042557600080fd5b506102cd60085481565b34801561043b57600080fd5b506102cd61044a366004611782565b6001600160a01b031660009081526020819052604090205490565b34801561047157600080fd5b5061029a610c87565b34801561048657600080fd5b5061029a610495366004611901565b610c9b565b3480156104a657600080fd5b506005546001600160a01b03166103ab565b3480156104c457600080fd5b50610234610cae565b3480156104d957600080fd5b5061029a6104e83660046117c1565b610cbd565b3480156104f957600080fd5b5061026a610508366004611782565b60126020526000908152604090205460ff1681565b34801561052957600080fd5b5061026a610538366004611839565b610d99565b34801561054957600080fd5b5061026a610558366004611839565b610e14565b34801561056957600080fd5b50600d546103ab906001600160a01b031681565b34801561058957600080fd5b5061026a610598366004611782565b60146020526000908152604090205460ff1681565b3480156105b957600080fd5b5061026a6105c8366004611782565b60136020526000908152604090205460ff1681565b3480156105e957600080fd5b5061029a6105f8366004611864565b610e22565b34801561060957600080fd5b506011546103ab906001600160a01b031681565b34801561062957600080fd5b506102cd60075481565b34801561063f57600080fd5b506102cd60095481565b34801561065557600080fd5b506102cd6106643660046117c1565b610e9f565b34801561067557600080fd5b5061029a610684366004611782565b610eca565b34801561069557600080fd5b506010546103ab9061010090046001600160a01b031681565b3480156106ba57600080fd5b5061029a6106c9366004611864565b610f43565b6060600380546106dd90611a84565b80601f016020809104026020016040519081016040528092919081815260200182805461070990611a84565b80156107565780601f1061072b57610100808354040283529160200191610756565b820191906000526020600020905b81548152906001019060200180831161073957829003601f168201915b5050505050905090565b60003361076e818585610fc0565b5060019392505050565b6107806110e4565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6107aa6110e4565b60068490556007839055600a819055612710826107c660025490565b6107d09190611a4e565b6107da9190611a2e565b60085550505050565b6000336107f185828561113e565b6107fc8585856111b2565b506001949350505050565b61080f6110e4565b600954156108645760405162461bcd60e51b815260206004820152601760248201527f54726164696e67207374617274656420616c726561647900000000000000000060448201526064015b60405180910390fd5b600a546108719043611a16565b600955565b60003361076e8185856108898383610e9f565b6108939190611a16565b610fc0565b346108a05750565b600081116108e15760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161085b565b30600090815260208190526040812054906108fc3447611a6d565b601154600d5460405163e6a4390560e01b81526001600160a01b03918216600482015230602482015292935060009291169063e6a439059060440160206040518083038186803b15801561094f57600080fd5b505afa158015610963573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098791906117a5565b90506001600160a01b038116610a4457601154600d546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c6539690604401602060405180830381600087803b1580156109e657600080fd5b505af11580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e91906117a5565b6001600160a01b0381166000908152601260205260409020805460ff1916600117905590505b610a4f3330866111b2565b601054610a6c90309061010090046001600160a01b031686610fc0565b60105460405163f305d71960e01b81523060048201526024810186905260006044820181905260648201523360848201524260a48201526101009091046001600160a01b03169063f305d71990349060c4016000604051808303818588803b158015610ad757600080fd5b505af1158015610aeb573d6000803e3d6000fd5b505050505082610b10306001600160a01b031660009081526020819052604090205490565b03925082600014610b2757610b253384610e14565b505b478281039214610bc157604051600090339084908381818185875af1925050503d8060008114610b73576040519150601f19603f3d011682016040523d82523d6000602084013e610b78565b606091505b5050905080610bbf5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161085b565b505b50505050565b610bcf6110e4565b600f8190556040518181527f4b1c0e842ce5a03194aa6fc19ac4e6809030f1bd08dc60b39de5cba1cdc603099060200160405180910390a150565b610c126110e4565b60005b82811015610bc1578160126000868685818110610c4257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c579190611782565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610c15565b610c8f6110e4565b610c996000611418565b565b610ca36110e4565b600b91909155600c55565b6060600480546106dd90611a84565b610cc56110e4565b60108054610100600160a81b0319166101006001600160a01b0385811682029290921792839055601180546001600160a01b031916858416179055604080516315ab88c960e31b81529051919093049091169163ad5c4648916004808301926020929190829003018186803b158015610d3d57600080fd5b505afa158015610d51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7591906117a5565b600d80546001600160a01b0319166001600160a01b03929092169190911790555050565b60003381610da78286610e9f565b905083811015610e075760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161085b565b6107fc8286868403610fc0565b60003361076e8185856111b2565b610e2a6110e4565b60005b82811015610bc1578160136000868685818110610e5a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610e6f9190611782565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610e2d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ed26110e4565b6001600160a01b038116610f375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085b565b610f4081611418565b50565b610f4b6110e4565b60005b82811015610bc1578160146000868685818110610f7b57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610f909190611782565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610f4e565b6001600160a01b0383166110225760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161085b565b6001600160a01b0382166110835760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161085b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161085b565b600061114a8484610e9f565b90506000198114610bc157818110156111a55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161085b565b610bc18484848403610fc0565b6009541515806111da57506001600160a01b03831660009081526013602052604090205460ff165b61121a5760405162461bcd60e51b8152602060048201526011602482015270151c98591a5b99d39bdd14dd185c9d1959607a1b604482015260640161085b565b6001600160a01b03831660009081526013602052604090205460ff1615801561125c57506001600160a01b03821660009081526013602052604090205460ff16155b15611408576001600160a01b03831660009081526012602052604081205460ff161561131e576008548211156112c65760405162461bcd60e51b815260206004820152600f60248201526e13dd995c93585e109d5e531a5b5a5d608a1b604482015260640161085b565b60095443116112f3576001600160a01b0383166000908152601460205260409020805460ff191660011790555b6103e860065483028161131657634e487b7160e01b600052601260045260246000fd5b0490506113f0565b6001600160a01b03831660009081526012602052604090205460ff1615611392576001600160a01b03841660009081526014602052604081205460ff1680156113695750600c544311155b61137557600754611379565b600b545b90506103e883820204915061138c61146a565b506113f0565b6001600160a01b03841660009081526014602052604090205460ff1680156113bc5750600c544311155b156113e8576103e8600b548302816113e457634e487b7160e01b600052601260045260246000fd5b0490505b6113f061146a565b80156114065780820391506114068430836115de565b505b6114138383836115de565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040902054600f548111801561148e575060105460ff16155b15610f40576010805460ff1916600117908190556114bd9030906001600160a01b036101009091041683610fc0565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061150057634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600d5482519116908290600190811061153f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601054600e5461010090910482169163791ac94791859160009186911661157e42611c20611a16565b6040518663ffffffff1660e01b815260040161159e9594939291906119a6565b600060405180830381600087803b1580156115b857600080fd5b505af11580156115cc573d6000803e3d6000fd5b50506010805460ff1916905550505050565b6001600160a01b0383166116425760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161085b565b6001600160a01b0382166116a45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161085b565b6001600160a01b0383166000908152602081905260409020548181101561171c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161085b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bc1565b600060208284031215611793578081fd5b813561179e81611ad5565b9392505050565b6000602082840312156117b6578081fd5b815161179e81611ad5565b600080604083850312156117d3578081fd5b82356117de81611ad5565b915060208301356117ee81611ad5565b809150509250929050565b60008060006060848603121561180d578081fd5b833561181881611ad5565b9250602084013561182881611ad5565b929592945050506040919091013590565b6000806040838503121561184b578182fd5b823561185681611ad5565b946020939093013593505050565b600080600060408486031215611878578283fd5b833567ffffffffffffffff8082111561188f578485fd5b818601915086601f8301126118a2578485fd5b8135818111156118b0578586fd5b8760208260051b85010111156118c4578586fd5b6020928301955093505084013580151581146118de578182fd5b809150509250925092565b6000602082840312156118fa578081fd5b5035919050565b60008060408385031215611913578182fd5b50508035926020909101359150565b60008060008060808587031215611937578081fd5b5050823594602084013594506040840135936060013592509050565b6000602080835283518082850152825b8181101561197f57858101830151858201604001528201611963565b818111156119905783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156119f55784516001600160a01b0316835293830193918301916001016119d0565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611a2957611a29611abf565b500190565b600082611a4957634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611a6857611a68611abf565b500290565b600082821015611a7f57611a7f611abf565b500390565b600181811c90821680611a9857607f821691505b60208210811415611ab957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610f4057600080fdfea2646970667358221220e2d634334d18e1a5a8404b624062a78689825d8664820bc5a2201b933346682a64736f6c63430008040033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000008ae828ebebd6c554d650cd378b9e55d383e2da4e

-----Decoded View---------------
Arg [0] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [2] : _sentTo (address): 0x8AE828ebEBD6c554d650cd378B9e55d383e2da4e

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [2] : 0000000000000000000000008ae828ebebd6c554d650cd378b9e55d383e2da4e


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.