MATIC Price: $0.360734 (-20.26%)
 

Overview

Max Total Supply

62,686.894320862951372016 CKIE

Holders

361,057 ( 0.000%)

Market

Price

$0.00 @ 0.000000 MATIC

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Polygonscan: Donate
Balance
0.0000239585487 CKIE

Value
$0.00
0x71c7656ec7ab88b098defb751b7401b5f6d8976f
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Cryptocookies its an NFT collection game with farming and incentives, with a unique own liquidity protocol, based on the classic idle game cookie clicker.

Contract Source Code Verified (Exact Match)

Contract Name:
CookieToken

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : CookieToken.sol
/**
 * This is a rewards token for the game CryptoCookie
 * You cant play at https://cryptocookiesdao.com/
 * 
 **/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

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

import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "./IUniswapV2Factory.sol";

/**
 * After deploying this contract, ownership will be transfer to the game, and
 * only the game will mint tokens to give players rewards
 */
contract CookieToken is ERC20, ERC20Burnable, Ownable {
    address public treasury;
    IUniswapV2Router02 immutable public router;

    // sending tokens to this address will add a fee to the transaction
    mapping(address => bool) public hasFee;
    // this addressess will be able to withdraw their tokens without a fee
    mapping(address => bool) public freeFee;
    // whis will record for each transaction
    mapping(address => uint256) public lastTransfer;
    uint256 public minSellTime = 30 days;

    event SetTreasury(address treasury);
    event SetFreeFee(address to, bool free);
    event SetHasFee(address to, bool has);
    event Minselltime(uint selltime);
    event SwapToTreasury(uint[] amounts);

    constructor(uint256 _initialSupply, IUniswapV2Router02 _router) ERC20("Cookie", "CKIE") {
        router = _router;
        _approve(address(this), address(_router), type(uint256).max);
        setFreeFee(address(this), true);
        setFreeFee(owner(), true);
        address pair = IUniswapV2Factory(_router.factory()).createPair(_router.WETH(), address(this));
        setHasFee(pair, true);

        _mint(msg.sender, _initialSupply);
    }

    function mint(address _to, uint256 _amount) external onlyOwner {
        _mint(_to, _amount);
    }

    function setTreasury(address _treasury) external onlyOwner {
        treasury = _treasury;
        emit SetTreasury(_treasury);
    }

    function setFreeFee(address _to, bool _free) public onlyOwner {
        freeFee[_to] = _free;
        emit SetFreeFee(_to, _free);
    }

    function setHasFee(address _to, bool _has) public onlyOwner {
        hasFee[_to] = _has;
        emit SetHasFee(_to, _has);
    }

    function setSellTime(uint256 _minSellTime) external onlyOwner {
        minSellTime = _minSellTime;
        emit Minselltime(_minSellTime);
    }

    function haveTax(address _user) public view returns(bool) {
        return block.timestamp - lastTransfer[_user] < minSellTime;
    }

    // if selling in a time lapse smaller than 30 days a 5% goes to the treasury
    function _transfer(address _from, address _to, uint256 _amount) internal override {
        if (hasFee[_to] && !freeFee[_from] && treasury != address(0)) {
            if (haveTax(_from)) {
                uint256 comision = _amount * 500 / 10000; // 5% fee
                _amount -= comision;
                super._transfer(_from, address(this), comision);
                _swapToTreasury(comision);
            }
            lastTransfer[_from] = block.timestamp;
        }

        super._transfer(_from, _to, _amount);
    }

    function _swapToTreasury(uint256 _comision) internal {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

        emit SwapToTreasury(
            router.swapExactTokensForETH(
                _comision,
                0,
                path,
                treasury,
                type(uint256).max
            )
        );
    }
}

File 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

import './IUniswapV2Router01.sol';

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

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

File 6 of 10 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;


interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function getPair(address tokenA, address tokenB) external view returns (address pair);
}

File 7 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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);
}

File 8 of 10 : 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 9 of 10 : 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 10 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"contract IUniswapV2Router02","name":"_router","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":false,"internalType":"uint256","name":"selltime","type":"uint256"}],"name":"Minselltime","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":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bool","name":"free","type":"bool"}],"name":"SetFreeFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bool","name":"has","type":"bool"}],"name":"SetHasFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"treasury","type":"address"}],"name":"SetTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"SwapToTreasury","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":[{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"freeFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"haveTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minSellTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"bool","name":"_free","type":"bool"}],"name":"setFreeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"bool","name":"_has","type":"bool"}],"name":"setHasFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minSellTime","type":"uint256"}],"name":"setSellTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a060405262278d00600a553480156200001857600080fd5b5060405162001e7938038062001e798339810160408190526200003b91620006ee565b6040805180820182526006815265436f6f6b696560d01b602080830191825283518085019094526004845263434b494560e01b90840152815191929162000085916003916200062f565b5080516200009b9060049060208401906200062f565b505050620000b8620000b26200027160201b60201c565b62000275565b6001600160a01b038116608052620000d43082600019620002c7565b620000e1306001620003f3565b62000100620000f86005546001600160a01b031690565b6001620003f3565b6000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000141573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000167919062000721565b6001600160a01b031663c9c65396836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001da919062000721565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af115801562000227573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024d919062000721565b90506200025c816001620004a2565b6200026833846200054a565b505050620007ac565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166200032f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620003925760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000326565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146200043e5760405162461bcd60e51b8152602060048201819052602482015260008051602062001e59833981519152604482015260640162000326565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527fddc335d1af5617c2f9dc42c54e179e4bd5fe827624f0793c59f6952ee816a41e91015b60405180910390a15050565b6005546001600160a01b03163314620004ed5760405162461bcd60e51b8152602060048201819052602482015260008051602062001e59833981519152604482015260640162000326565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f3ce0aa8a2af14cc4b6400920b10e27620a64aec9a2548ae861e4edb503231e77910162000496565b6001600160a01b038216620005a25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000326565b8060026000828254620005b6919062000748565b90915550506001600160a01b03821660009081526020819052604081208054839290620005e590849062000748565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200063d906200076f565b90600052602060002090601f016020900481019282620006615760008555620006ac565b82601f106200067c57805160ff1916838001178555620006ac565b82800160010185558215620006ac579182015b82811115620006ac5782518255916020019190600101906200068f565b50620006ba929150620006be565b5090565b5b80821115620006ba5760008155600101620006bf565b6001600160a01b0381168114620006eb57600080fd5b50565b600080604083850312156200070257600080fd5b8251915060208301516200071681620006d5565b809150509250929050565b6000602082840312156200073457600080fd5b81516200074181620006d5565b9392505050565b600082198211156200076a57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200078457607f821691505b60208210811415620007a657634e487b7160e01b600052602260045260246000fd5b50919050565b608051611683620007d660003960008181610446015281816110a6015261118301526116836000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063716563c0116100f9578063a9059cbb11610097578063ec76df8d11610071578063ec76df8d146103f8578063f0f442601461041b578063f2fde38b1461042e578063f887ea401461044157600080fd5b8063a9059cbb14610399578063b60996cd146103ac578063dd62ed3e146103bf57600080fd5b80638009480a116100d35780638009480a1461035a5780638da5cb5b1461036d57806395d89b411461037e578063a457c2d71461038657600080fd5b8063716563c0146103115780637497e2961461032457806379cc67901461034757600080fd5b806340c10f191161016657806361d027b31161014057806361d027b3146102a257806370a08231146102cd5780637112e6be146102f6578063715018a61461030957600080fd5b806340c10f191461025a57806342966c681461026f5780635b6612ad1461028257600080fd5b806323b872dd116101a257806323b872dd1461021c578063313ce5671461022f578063395093511461023e5780633e2895151461025157600080fd5b806306fdde03146101c9578063095ea7b3146101e757806318160ddd1461020a575b600080fd5b6101d1610468565b6040516101de919061121b565b60405180910390f35b6101fa6101f5366004611285565b6104fa565b60405190151581526020016101de565b6002545b6040519081526020016101de565b6101fa61022a3660046112b1565b610512565b604051601281526020016101de565b6101fa61024c366004611285565b610536565b61020e600a5481565b61026d610268366004611285565b610575565b005b61026d61027d3660046112f2565b6105b6565b61020e61029036600461130b565b60096020526000908152604090205481565b6006546102b5906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b61020e6102db36600461130b565b6001600160a01b031660009081526020819052604090205490565b61026d61030436600461132f565b6105c3565b61026d610651565b6101fa61031f36600461130b565b610687565b6101fa61033236600461130b565b60076020526000908152604090205460ff1681565b61026d610355366004611285565b6106b7565b61026d6103683660046112f2565b6106cc565b6005546001600160a01b03166102b5565b6101d1610732565b6101fa610394366004611285565b610741565b6101fa6103a7366004611285565b6107d3565b61026d6103ba36600461132f565b6107e1565b61020e6103cd36600461136d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101fa61040636600461130b565b60086020526000908152604090205460ff1681565b61026d61042936600461130b565b610867565b61026d61043c36600461130b565b6108df565b6102b57f000000000000000000000000000000000000000000000000000000000000000081565b6060600380546104779061139b565b80601f01602080910402602001604051908101604052809291908181526020018280546104a39061139b565b80156104f05780601f106104c5576101008083540402835291602001916104f0565b820191906000526020600020905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b600033610508818585610977565b5060019392505050565b600033610520858285610a9b565b61052b858585610b2d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061050890829086906105709087906113ec565b610977565b6005546001600160a01b031633146105a85760405162461bcd60e51b815260040161059f90611404565b60405180910390fd5b6105b28282610c02565b5050565b6105c03382610ce1565b50565b6005546001600160a01b031633146105ed5760405162461bcd60e51b815260040161059f90611404565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527fddc335d1af5617c2f9dc42c54e179e4bd5fe827624f0793c59f6952ee816a41e91015b60405180910390a15050565b6005546001600160a01b0316331461067b5760405162461bcd60e51b815260040161059f90611404565b6106856000610e2f565b565b600a546001600160a01b0382166000908152600960205260408120549091906106b09042611439565b1092915050565b6106c2823383610a9b565b6105b28282610ce1565b6005546001600160a01b031633146106f65760405162461bcd60e51b815260040161059f90611404565b600a8190556040518181527f3718a233e16f8e6a4eb79dadccbbcf98b07c1f8833ad9e93ab8943eb859ac24b906020015b60405180910390a150565b6060600480546104779061139b565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161059f565b61052b8286868403610977565b600033610508818585610b2d565b6005546001600160a01b0316331461080b5760405162461bcd60e51b815260040161059f90611404565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f3ce0aa8a2af14cc4b6400920b10e27620a64aec9a2548ae861e4edb503231e779101610645565b6005546001600160a01b031633146108915760405162461bcd60e51b815260040161059f90611404565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390602001610727565b6005546001600160a01b031633146109095760405162461bcd60e51b815260040161059f90611404565b6001600160a01b03811661096e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161059f565b6105c081610e2f565b6001600160a01b0383166109d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161059f565b6001600160a01b038216610a3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161059f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b275781811015610b1a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161059f565b610b278484848403610977565b50505050565b6001600160a01b03821660009081526007602052604090205460ff168015610b6e57506001600160a01b03831660009081526008602052604090205460ff16155b8015610b8457506006546001600160a01b031615155b15610bf257610b9283610687565b15610bd6576000612710610ba8836101f4611450565b610bb2919061146f565b9050610bbe8183611439565b9150610bcb843083610e81565b610bd48161104f565b505b6001600160a01b03831660009081526009602052604090204290555b610bfd838383610e81565b505050565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161059f565b8060026000828254610c6a91906113ec565b90915550506001600160a01b03821660009081526020819052604081208054839290610c979084906113ec565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610d415760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161059f565b6001600160a01b03821660009081526020819052604090205481811015610db55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161059f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610de4908490611439565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610ee55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161059f565b6001600160a01b038216610f475760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161059f565b6001600160a01b03831660009081526020819052604090205481811015610fbf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161059f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610ff69084906113ec565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161104291815260200190565b60405180910390a3610b27565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611084576110846114a7565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112691906114bd565b81600181518110611139576111396114a7565b6001600160a01b0392831660209182029290920101526006546040516318cbafe560e01b81527f0f74a6df90f8cfeb293a243a2cd282928753d4a0009524b39594b81a2658318c927f00000000000000000000000000000000000000000000000000000000000000008116926318cbafe5926111c792889260009289929190911690600019906004016114da565b6000604051808303816000875af11580156111e6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261120e919081019061154b565b6040516106459190611609565b600060208083528351808285015260005b818110156112485785810183015185820160400152820161122c565b8181111561125a576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146105c057600080fd5b6000806040838503121561129857600080fd5b82356112a381611270565b946020939093013593505050565b6000806000606084860312156112c657600080fd5b83356112d181611270565b925060208401356112e181611270565b929592945050506040919091013590565b60006020828403121561130457600080fd5b5035919050565b60006020828403121561131d57600080fd5b813561132881611270565b9392505050565b6000806040838503121561134257600080fd5b823561134d81611270565b91506020830135801515811461136257600080fd5b809150509250929050565b6000806040838503121561138057600080fd5b823561138b81611270565b9150602083013561136281611270565b600181811c908216806113af57607f821691505b602082108114156113d057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156113ff576113ff6113d6565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008282101561144b5761144b6113d6565b500390565b600081600019048311821515161561146a5761146a6113d6565b500290565b60008261148c57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156114cf57600080fd5b815161132881611270565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561152a5784516001600160a01b031683529383019391830191600101611505565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561155e57600080fd5b825167ffffffffffffffff8082111561157657600080fd5b818501915085601f83011261158a57600080fd5b81518181111561159c5761159c611491565b8060051b604051601f19603f830116810181811085821117156115c1576115c1611491565b6040529182528482019250838101850191888311156115df57600080fd5b938501935b828510156115fd578451845293850193928501926115e4565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561164157835183529284019291840191600101611625565b5090969550505050505056fea2646970667358221220faa9b0a76fef1296c3270fb7a047ca2658b60bf4384b7a4b39c7da79bb67bd8864736f6c634300080b00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000030ca024f987b900000000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063716563c0116100f9578063a9059cbb11610097578063ec76df8d11610071578063ec76df8d146103f8578063f0f442601461041b578063f2fde38b1461042e578063f887ea401461044157600080fd5b8063a9059cbb14610399578063b60996cd146103ac578063dd62ed3e146103bf57600080fd5b80638009480a116100d35780638009480a1461035a5780638da5cb5b1461036d57806395d89b411461037e578063a457c2d71461038657600080fd5b8063716563c0146103115780637497e2961461032457806379cc67901461034757600080fd5b806340c10f191161016657806361d027b31161014057806361d027b3146102a257806370a08231146102cd5780637112e6be146102f6578063715018a61461030957600080fd5b806340c10f191461025a57806342966c681461026f5780635b6612ad1461028257600080fd5b806323b872dd116101a257806323b872dd1461021c578063313ce5671461022f578063395093511461023e5780633e2895151461025157600080fd5b806306fdde03146101c9578063095ea7b3146101e757806318160ddd1461020a575b600080fd5b6101d1610468565b6040516101de919061121b565b60405180910390f35b6101fa6101f5366004611285565b6104fa565b60405190151581526020016101de565b6002545b6040519081526020016101de565b6101fa61022a3660046112b1565b610512565b604051601281526020016101de565b6101fa61024c366004611285565b610536565b61020e600a5481565b61026d610268366004611285565b610575565b005b61026d61027d3660046112f2565b6105b6565b61020e61029036600461130b565b60096020526000908152604090205481565b6006546102b5906001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b61020e6102db36600461130b565b6001600160a01b031660009081526020819052604090205490565b61026d61030436600461132f565b6105c3565b61026d610651565b6101fa61031f36600461130b565b610687565b6101fa61033236600461130b565b60076020526000908152604090205460ff1681565b61026d610355366004611285565b6106b7565b61026d6103683660046112f2565b6106cc565b6005546001600160a01b03166102b5565b6101d1610732565b6101fa610394366004611285565b610741565b6101fa6103a7366004611285565b6107d3565b61026d6103ba36600461132f565b6107e1565b61020e6103cd36600461136d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101fa61040636600461130b565b60086020526000908152604090205460ff1681565b61026d61042936600461130b565b610867565b61026d61043c36600461130b565b6108df565b6102b57f000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff81565b6060600380546104779061139b565b80601f01602080910402602001604051908101604052809291908181526020018280546104a39061139b565b80156104f05780601f106104c5576101008083540402835291602001916104f0565b820191906000526020600020905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b600033610508818585610977565b5060019392505050565b600033610520858285610a9b565b61052b858585610b2d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061050890829086906105709087906113ec565b610977565b6005546001600160a01b031633146105a85760405162461bcd60e51b815260040161059f90611404565b60405180910390fd5b6105b28282610c02565b5050565b6105c03382610ce1565b50565b6005546001600160a01b031633146105ed5760405162461bcd60e51b815260040161059f90611404565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527fddc335d1af5617c2f9dc42c54e179e4bd5fe827624f0793c59f6952ee816a41e91015b60405180910390a15050565b6005546001600160a01b0316331461067b5760405162461bcd60e51b815260040161059f90611404565b6106856000610e2f565b565b600a546001600160a01b0382166000908152600960205260408120549091906106b09042611439565b1092915050565b6106c2823383610a9b565b6105b28282610ce1565b6005546001600160a01b031633146106f65760405162461bcd60e51b815260040161059f90611404565b600a8190556040518181527f3718a233e16f8e6a4eb79dadccbbcf98b07c1f8833ad9e93ab8943eb859ac24b906020015b60405180910390a150565b6060600480546104779061139b565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156107c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161059f565b61052b8286868403610977565b600033610508818585610b2d565b6005546001600160a01b0316331461080b5760405162461bcd60e51b815260040161059f90611404565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527f3ce0aa8a2af14cc4b6400920b10e27620a64aec9a2548ae861e4edb503231e779101610645565b6005546001600160a01b031633146108915760405162461bcd60e51b815260040161059f90611404565b600680546001600160a01b0319166001600160a01b0383169081179091556040519081527fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390602001610727565b6005546001600160a01b031633146109095760405162461bcd60e51b815260040161059f90611404565b6001600160a01b03811661096e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161059f565b6105c081610e2f565b6001600160a01b0383166109d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161059f565b6001600160a01b038216610a3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161059f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b275781811015610b1a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161059f565b610b278484848403610977565b50505050565b6001600160a01b03821660009081526007602052604090205460ff168015610b6e57506001600160a01b03831660009081526008602052604090205460ff16155b8015610b8457506006546001600160a01b031615155b15610bf257610b9283610687565b15610bd6576000612710610ba8836101f4611450565b610bb2919061146f565b9050610bbe8183611439565b9150610bcb843083610e81565b610bd48161104f565b505b6001600160a01b03831660009081526009602052604090204290555b610bfd838383610e81565b505050565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161059f565b8060026000828254610c6a91906113ec565b90915550506001600160a01b03821660009081526020819052604081208054839290610c979084906113ec565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610d415760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161059f565b6001600160a01b03821660009081526020819052604090205481811015610db55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161059f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610de4908490611439565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610ee55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161059f565b6001600160a01b038216610f475760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161059f565b6001600160a01b03831660009081526020819052604090205481811015610fbf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161059f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610ff69084906113ec565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161104291815260200190565b60405180910390a3610b27565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611084576110846114a7565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112691906114bd565b81600181518110611139576111396114a7565b6001600160a01b0392831660209182029290920101526006546040516318cbafe560e01b81527f0f74a6df90f8cfeb293a243a2cd282928753d4a0009524b39594b81a2658318c927f000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff8116926318cbafe5926111c792889260009289929190911690600019906004016114da565b6000604051808303816000875af11580156111e6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261120e919081019061154b565b6040516106459190611609565b600060208083528351808285015260005b818110156112485785810183015185820160400152820161122c565b8181111561125a576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146105c057600080fd5b6000806040838503121561129857600080fd5b82356112a381611270565b946020939093013593505050565b6000806000606084860312156112c657600080fd5b83356112d181611270565b925060208401356112e181611270565b929592945050506040919091013590565b60006020828403121561130457600080fd5b5035919050565b60006020828403121561131d57600080fd5b813561132881611270565b9392505050565b6000806040838503121561134257600080fd5b823561134d81611270565b91506020830135801515811461136257600080fd5b809150509250929050565b6000806040838503121561138057600080fd5b823561138b81611270565b9150602083013561136281611270565b600181811c908216806113af57607f821691505b602082108114156113d057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156113ff576113ff6113d6565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008282101561144b5761144b6113d6565b500390565b600081600019048311821515161561146a5761146a6113d6565b500290565b60008261148c57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156114cf57600080fd5b815161132881611270565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561152a5784516001600160a01b031683529383019391830191600101611505565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561155e57600080fd5b825167ffffffffffffffff8082111561157657600080fd5b818501915085601f83011261158a57600080fd5b81518181111561159c5761159c611491565b8060051b604051601f19603f830116810181811085821117156115c1576115c1611491565b6040529182528482019250838101850191888311156115df57600080fd5b938501935b828510156115fd578451845293850193928501926115e4565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561164157835183529284019291840191600101611625565b5090969550505050505056fea2646970667358221220faa9b0a76fef1296c3270fb7a047ca2658b60bf4384b7a4b39c7da79bb67bd8864736f6c634300080b0033

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

000000000000000000000000000000000000000000000030ca024f987b900000000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff

-----Decoded View---------------
Arg [0] : _initialSupply (uint256): 900000000000000000000
Arg [1] : _router (address): 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000030ca024f987b900000
Arg [1] : 000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff


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.