ETH Price: $2,575.05 (-2.37%)

Token

Year of the Dragon (DRGN)
 

Overview

Max Total Supply

10,000,000,000 DRGN

Holders

37

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
105,717,191.709906232831318809 DRGN

Value
$0.00
0xd1Ef1Ce3d9bc21dEBeF59EC1781016D6eCB4F459
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ModelERC20

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 8 : ModelERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

/*
 *    ██████╗ ███████╗ ██████╗ ███████╗███╗   ██╗
 *    ██╔══██╗██╔════╝██╔════╝ ██╔════╝████╗  ██║
 *    ██║  ██║█████╗  ██║  ███╗█████╗  ██╔██╗ ██║
 *    ██║  ██║██╔══╝  ██║   ██║██╔══╝  ██║╚██╗██║
 *    ██████╔╝███████╗╚██████╔╝███████╗██║ ╚████║
 *    ╚═════╝ ╚══════╝ ╚═════╝ ╚══════╝╚═╝  ╚═══╝
 *
 */

/****** SOCIALS ******/
/* TELEGRAM: https://t.me/YearOfTheDragonnnETH */
/* X       : {{X}} */
/* WEBSITE : {{WEBSITE}} */

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function factory() external pure returns (address);

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

    function WETH() external pure returns (address);

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

interface IUniswapV2Pair {
    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
}

contract ModelERC20 is Initializable, ERC20, Ownable {
    error aboveMaxTokenAmountPertransaction(uint256 amount, uint256 maxAmount);
    error aboveMaxTokenAmountPerWallet(uint256 amount, uint256 maxAmount);
    error belowMinTokenAmountPertransaction(uint256 amount, uint256 minAmount);
    error belowMinTokenAmountPerWallet(uint256 amount, uint256 minAmount);
    error tradeNotEnabled();
    error restricted(address account);
    error swapThresholdOutOfRange(
        uint256 threshold,
        uint256 minThreshold,
        uint256 maxThreshold
    );
    error feesTooHigh(uint16 fees, uint16 maxFees);
    bytes32 public constant DEGEN_ID =
        0x9968632e2928fd052421703e84b47b9e768f7ea980da4f3c123443893bec7666;

    uint16 public constant PERCENT_BASE = 10000;
    uint16 public constant MAX_FEE = 2500;
    uint16 public buyFees;
    uint16 public sellFees;
    uint16 private placeholder1;
    bool public tradeEnabled;
    bool public swapping;
    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    uint96 private placeholder2;
    uint256 public swapThreshold;
    uint256 public maxTokenAmountPertransaction;
    uint256 public maxTokenAmountPerWallet;

    mapping(address => bool) public isUnrestricted;

    receive() external payable {}

    constructor(
        string memory _name,
        string memory _symbol
    ) ERC20(_name, _symbol) Ownable(msg.sender) {}

    function initialize(
        uint256 _totalSupply,
        uint256 _supplyToLiquidity,
        address _routerAddress,
        uint16 _buyFees,
        uint16 _sellFees,
        bool _renounce,
        bool _tradeEnabled
    ) public payable initializer onlyOwner {
        if (_renounce) {
            tradeEnabled = true;
            renounceOwnership();
        } else {
            transferOwnership(tx.origin);
        }

        uniswapV2Router = IUniswapV2Router02(_routerAddress);

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
                address(this),
                uniswapV2Router.WETH()
            );

        if (_supplyToLiquidity > 0) {
            _mint(address(this), _supplyToLiquidity);
            uniswapV2Router.addLiquidityETH{value: msg.value}(
                address(this),
                _supplyToLiquidity,
                0,
                0,
                tx.origin,
                block.timestamp
            );
        }

        _mint(tx.origin, _totalSupply - _supplyToLiquidity);

        if (!_renounce) {
            if (_buyFees > MAX_FEE || _sellFees > MAX_FEE) {
                revert feesTooHigh(
                    _sellFees > _buyFees ? _sellFees : _buyFees,
                    MAX_FEE
                );
            }

            buyFees = _buyFees;
            sellFees = _sellFees;

            isUnrestricted[address(this)] = true;
            isUnrestricted[tx.origin] = true;
            tradeEnabled = _tradeEnabled;
            swapThreshold = totalSupply() / 1000;
            maxTokenAmountPertransaction = totalSupply() / 50;
            maxTokenAmountPerWallet = totalSupply() / 50;
        }
    }

    function setIsUnrestricted(
        address account,
        bool isUnrestricted_
    ) external onlyOwner {
        if (account == address(this) || account == address(uniswapV2Pair)) {
            revert restricted(account);
        }

        isUnrestricted[account] = isUnrestricted_;
    }

    function setbuyFees(uint16 _buyFees) external onlyOwner {
        if (_buyFees > MAX_FEE) {
            revert feesTooHigh(_buyFees, MAX_FEE);
        }
        buyFees = _buyFees;
    }

    function setsellFees(uint16 _sellFees) external onlyOwner {
        if (_sellFees > MAX_FEE) {
            revert feesTooHigh(_sellFees, MAX_FEE);
        }
        sellFees = _sellFees;
    }

    function setSwapThreshold(uint256 _swapThreshold) external onlyOwner {
        if (
            _swapThreshold < totalSupply() / 100000 ||
            _swapThreshold > totalSupply() / 100
        ) {
            revert swapThresholdOutOfRange(
                _swapThreshold,
                totalSupply() / 100000,
                totalSupply() / 100
            );
        }

        swapThreshold = _swapThreshold;
    }

    function setMaxTokenAmountPertransaction(
        uint256 _maxTokenAmountPertransaction
    ) external onlyOwner {
        if (_maxTokenAmountPertransaction < totalSupply() / 1000) {
            revert belowMinTokenAmountPertransaction(
                _maxTokenAmountPertransaction,
                totalSupply() / 1000
            );
        }
        maxTokenAmountPertransaction = _maxTokenAmountPertransaction;
    }

    function setMaxTokenAmountPerWallet(
        uint256 _maxTokenAmountPerWallet
    ) external onlyOwner {
        if (_maxTokenAmountPerWallet < totalSupply() / 1000) {
            revert belowMinTokenAmountPerWallet(
                _maxTokenAmountPerWallet,
                totalSupply() / 1000
            );
        }
        maxTokenAmountPerWallet = _maxTokenAmountPerWallet;
    }

    function enableTrade() external onlyOwner {
        tradeEnabled = true;
    }

    function transferOwnership(address newOwner) public override onlyOwner {
        if (newOwner == uniswapV2Pair) revert restricted(newOwner);
        _transferOwnership(newOwner);
        isUnrestricted[newOwner] = true;
    }

    function _update(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (_isUnrestricted(from, to) || owner() == address(0)) {
            super._update(from, to, amount);
            return;
        }

        if (!tradeEnabled) revert tradeNotEnabled();

        bool buying = from == uniswapV2Pair && to != address(uniswapV2Router);
        bool selling = from != address(uniswapV2Router) && to == uniswapV2Pair;

        if (
            (!buying && !selling) ||
            ((buying && buyFees == 0) || (selling && sellFees == 0))
        ) {
            _checkTransferAmounts(to, amount);
            super._update(from, to, amount);
            return;
        }

        if (
            msg.sender != uniswapV2Pair &&
            !swapping &&
            balanceOf(address(this)) >= swapThreshold
        ) _distributeFees();

        uint16 fees = buying ? buyFees : selling ? sellFees : 0;

        uint256 totalFees = (amount * fees) / PERCENT_BASE;

        uint256 amountAfterFees = amount - totalFees;
        _checkTransferAmounts(to, amountAfterFees);

        if (totalFees > 0) super._update(from, address(this), totalFees);
        super._update(from, to, amountAfterFees);
    }

    function _checkTransferAmounts(address to, uint256 amount) internal view {
        if (amount > maxTokenAmountPertransaction) {
            revert aboveMaxTokenAmountPertransaction(
                amount,
                maxTokenAmountPertransaction
            );
        }
        if (to == uniswapV2Pair) return;

        if (balanceOf(to) + amount > maxTokenAmountPerWallet) {
            revert aboveMaxTokenAmountPerWallet(
                amount,
                maxTokenAmountPerWallet
            );
        }
    }

    function _isUnrestricted(
        address from,
        address to
    ) internal view returns (bool) {
        return
            tx.origin == owner() ||
            isUnrestricted[msg.sender] ||
            isUnrestricted[from] ||
            isUnrestricted[to] ||
            swapping;
    }

    function calculateAmountOutEth(
        uint256 amount
    ) public view returns (uint256) {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        try uniswapV2Router.getAmountsOut(amount, path) returns (
            uint256[] memory amountsOut
        ) {
            return amountsOut[1];
        } catch {
            return 0;
        }
    }

    function _swapBalanceToETHAndSend(uint256 amountOut) private {
        swapping = true;
        uint256 amountIn = balanceOf(address(this));
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        uint256 amountOutMin = (amountOut * 95) / 100;
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountIn,
            amountOutMin,
            path,
            address(this),
            block.timestamp
        );

        (bool success, ) = payable(owner()).call{value: address(this).balance}(
            ""
        );
        require(success, "Failed to send Ether");

        swapping = false;
    }

    function _distributeFees() private {
        uint256 amountOutEth = calculateAmountOutEth(balanceOf(address(this)));
        _swapBalanceToETHAndSend(amountOutEth);
    }

    function withdraw() external onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success, "Failed to send Ether");
    }

    function withdrawToken(address token) external onlyOwner {
        uint256 balance = IERC20(token).balanceOf(address(this));
        IERC20(token).transfer(msg.sender, balance);
    }
}

File 2 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

File 3 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 4 of 8 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.20;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Storage of the initializable contract.
     *
     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
     * when using with upgradeable contracts.
     *
     * @custom:storage-location erc7201:openzeppelin.storage.Initializable
     */
    struct InitializableStorage {
        /**
         * @dev Indicates that the contract has been initialized.
         */
        uint64 _initialized;
        /**
         * @dev Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;

    /**
     * @dev The contract is already initialized.
     */
    error InvalidInitialization();

    /**
     * @dev The contract is not initializing.
     */
    error NotInitializing();

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint64 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any
     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
     * production.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        // Cache values to avoid duplicated sloads
        bool isTopLevelCall = !$._initializing;
        uint64 initialized = $._initialized;

        // Allowed calls:
        // - initialSetup: the contract is not in the initializing state and no previous version was
        //                 initialized
        // - construction: the contract is initialized at version 1 (no reininitialization) and the
        //                 current contract is just being deployed
        bool initialSetup = initialized == 0 && isTopLevelCall;
        bool construction = initialized == 1 && address(this).code.length == 0;

        if (!initialSetup && !construction) {
            revert InvalidInitialization();
        }
        $._initialized = 1;
        if (isTopLevelCall) {
            $._initializing = true;
        }
        _;
        if (isTopLevelCall) {
            $._initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint64 version) {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing || $._initialized >= version) {
            revert InvalidInitialization();
        }
        $._initialized = version;
        $._initializing = true;
        _;
        $._initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        _checkInitializing();
        _;
    }

    /**
     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
     */
    function _checkInitializing() internal view virtual {
        if (!_isInitializing()) {
            revert NotInitializing();
        }
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing) {
            revert InvalidInitialization();
        }
        if ($._initialized != type(uint64).max) {
            $._initialized = type(uint64).max;
            emit Initialized(type(uint64).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint64) {
        return _getInitializableStorage()._initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _getInitializableStorage()._initializing;
    }

    /**
     * @dev Returns a pointer to the storage namespace.
     */
    // solhint-disable-next-line var-name-mixedcase
    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
        assembly {
            $.slot := INITIALIZABLE_STORAGE
        }
    }
}

File 5 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 6 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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

File 8 of 8 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"aboveMaxTokenAmountPerWallet","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"aboveMaxTokenAmountPertransaction","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"belowMinTokenAmountPerWallet","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"belowMinTokenAmountPertransaction","type":"error"},{"inputs":[{"internalType":"uint16","name":"fees","type":"uint16"},{"internalType":"uint16","name":"maxFees","type":"uint16"}],"name":"feesTooHigh","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"restricted","type":"error"},{"inputs":[{"internalType":"uint256","name":"threshold","type":"uint256"},{"internalType":"uint256","name":"minThreshold","type":"uint256"},{"internalType":"uint256","name":"maxThreshold","type":"uint256"}],"name":"swapThresholdOutOfRange","type":"error"},{"inputs":[],"name":"tradeNotEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEGEN_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENT_BASE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":"buyFees","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateAmountOutEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_supplyToLiquidity","type":"uint256"},{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"uint16","name":"_buyFees","type":"uint16"},{"internalType":"uint16","name":"_sellFees","type":"uint16"},{"internalType":"bool","name":"_renounce","type":"bool"},{"internalType":"bool","name":"_tradeEnabled","type":"bool"}],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isUnrestricted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPertransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isUnrestricted_","type":"bool"}],"name":"setIsUnrestricted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokenAmountPerWallet","type":"uint256"}],"name":"setMaxTokenAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokenAmountPertransaction","type":"uint256"}],"name":"setMaxTokenAmountPertransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapThreshold","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_buyFees","type":"uint16"}],"name":"setbuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellFees","type":"uint16"}],"name":"setsellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620024f8380380620024f88339810160408190526200003491620001b1565b3382826003620000458382620002aa565b506004620000548282620002aa565b5050506001600160a01b0381166200008657604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b62000091816200009a565b50505062000376565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200011457600080fd5b81516001600160401b0380821115620001315762000131620000ec565b604051601f8301601f19908116603f011681019082821181831017156200015c576200015c620000ec565b816040528381526020925086838588010111156200017957600080fd5b600091505b838210156200019d57858201830151818301840152908201906200017e565b600093810190920192909252949350505050565b60008060408385031215620001c557600080fd5b82516001600160401b0380821115620001dd57600080fd5b620001eb8683870162000102565b935060208501519150808211156200020257600080fd5b50620002118582860162000102565b9150509250929050565b600181811c908216806200023057607f821691505b6020821081036200025157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002a557600081815260208120601f850160051c81016020861015620002805750805b601f850160051c820191505b81811015620002a1578281556001016200028c565b5050505b505050565b81516001600160401b03811115620002c657620002c6620000ec565b620002de81620002d784546200021b565b8462000257565b602080601f831160018114620003165760008415620002fd5750858301515b600019600386901b1c1916600185901b178555620002a1565b600085815260208120601f198616915b82811015620003475788860151825594840194600190910190840162000326565b5085821015620003665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61217280620003866000396000f3fe6080604052600436106102125760003560e01c8063715018a611610118578063be210af1116100a0578063e0f3ccf51161006f578063e0f3ccf514610640578063e34d3dd814610662578063e4748b9e14610682578063f2fde38b146106a4578063f8de3f3d146106c457600080fd5b8063be210af114610599578063d621e813146105b9578063da33c270146105da578063dd62ed3e146105fa57600080fd5b806395d89b41116100e757806395d89b41146104fe5780639d0014b114610513578063a9059cbb14610533578063aed3077714610553578063bc063e1a1461058357600080fd5b8063715018a614610482578063805d835d1461049757806389476069146104c05780638da5cb5b146104e057600080fd5b8063313ce5671161019b57806349bd5a5e1161016a57806349bd5a5e146103d657806360024291146103f6578063671b106c14610416578063685fbc6b1461043657806370a082311461044c57600080fd5b8063313ce567146103515780633b6fa9ba1461036d5780633ccfd60b146103a1578063451d1cc1146103b657600080fd5b80630e9e9e29116101e25780630e9e9e29146102b05780631694505e146102c35780631732cded146102fb57806318160ddd1461031c57806323b872dd1461033157600080fd5b806299d3861461021e5780630445b6671461023557806306fdde031461025e578063095ea7b31461028057600080fd5b3661021957005b600080fd5b34801561022a57600080fd5b506102336106da565b005b34801561024157600080fd5b5061024b60085481565b6040519081526020015b60405180910390f35b34801561026a57600080fd5b506102736106f7565b6040516102559190611c5a565b34801561028c57600080fd5b506102a061029b366004611cbd565b610789565b6040519015158152602001610255565b6102336102be366004611d0e565b6107a3565b3480156102cf57600080fd5b506006546102e3906001600160a01b031681565b6040516001600160a01b039091168152602001610255565b34801561030757600080fd5b506005546102a090600160d81b900460ff1681565b34801561032857600080fd5b5060025461024b565b34801561033d57600080fd5b506102a061034c366004611d8e565b610c83565b34801561035d57600080fd5b5060405160128152602001610255565b34801561037957600080fd5b5061024b7f9968632e2928fd052421703e84b47b9e768f7ea980da4f3c123443893bec766681565b3480156103ad57600080fd5b50610233610ca7565b3480156103c257600080fd5b506102336103d1366004611dcf565b610d41565b3480156103e257600080fd5b506007546102e3906001600160a01b031681565b34801561040257600080fd5b50610233610411366004611dcf565b610da4565b34801561042257600080fd5b50610233610431366004611de8565b610e07565b34801561044257600080fd5b5061024b600a5481565b34801561045857600080fd5b5061024b610467366004611e03565b6001600160a01b031660009081526020819052604090205490565b34801561048e57600080fd5b50610233610e66565b3480156104a357600080fd5b506104ad61271081565b60405161ffff9091168152602001610255565b3480156104cc57600080fd5b506102336104db366004611e03565b610e7a565b3480156104ec57600080fd5b506005546001600160a01b03166102e3565b34801561050a57600080fd5b50610273610f66565b34801561051f57600080fd5b5061023361052e366004611dcf565b610f75565b34801561053f57600080fd5b506102a061054e366004611cbd565b611015565b34801561055f57600080fd5b506102a061056e366004611e03565b600b6020526000908152604090205460ff1681565b34801561058f57600080fd5b506104ad6109c481565b3480156105a557600080fd5b506102336105b4366004611e20565b611023565b3480156105c557600080fd5b506005546102a090600160d01b900460ff1681565b3480156105e657600080fd5b506102336105f5366004611de8565b6110a3565b34801561060657600080fd5b5061024b610615366004611e59565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561064c57600080fd5b506005546104ad90600160b01b900461ffff1681565b34801561066e57600080fd5b5061024b61067d366004611dcf565b611102565b34801561068e57600080fd5b506005546104ad90600160a01b900461ffff1681565b3480156106b057600080fd5b506102336106bf366004611e03565b61127f565b3480156106d057600080fd5b5061024b60095481565b6106e26112ee565b6005805460ff60d01b1916600160d01b179055565b60606003805461070690611e87565b80601f016020809104026020016040519081016040528092919081815260200182805461073290611e87565b801561077f5780601f106107545761010080835404028352916020019161077f565b820191906000526020600020905b81548152906001019060200180831161076257829003601f168201915b5050505050905090565b60003361079781858561131b565b60019150505b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156107e95750825b905060008267ffffffffffffffff1660011480156108065750303b155b905081158015610814575080155b156108325760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561085c57845460ff60401b1916600160401b1785555b6108646112ee565b861561088a576005805460ff60d01b1916600160d01b179055610885610e66565b610893565b6108933261127f565b600680546001600160a01b0319166001600160a01b038c169081179091556108bf90309060001961131b565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610912573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109369190611ebb565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610998573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bc9190611ebb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2d9190611ebb565b600780546001600160a01b0319166001600160a01b03929092169190911790558a15610af257610a5d308c611328565b60065460405163f305d71960e01b8152306004820152602481018d905260006044820181905260648201523260848201524260a48201526001600160a01b039091169063f305d71990349060c40160606040518083038185885af1158015610ac9573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610aee9190611ed8565b5050505b610b0532610b008d8f611f1c565b611328565b86610c2f576109c461ffff8a161180610b2357506109c461ffff8916115b15610b6c578861ffff168861ffff1611610b3d5788610b3f565b875b6040516399bfb80f60e01b815261ffff90911660048201526109c460248201526044015b60405180910390fd5b6005805463ffffffff60a01b1916600160a01b61ffff8c81169190910261ffff60b01b191691909117600160b01b918b1691909102178155306000908152600b6020526040808220805460ff1990811660019081179092553284529190922080549091169091179055805460ff60d01b1916600160d01b881515021790556002546103e890610bfb9190611f2f565b6008556032610c0960025490565b610c139190611f2f565b6009556032610c2160025490565b610c2b9190611f2f565b600a555b8315610c7557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b600033610c91858285611362565b610c9c8585856113e0565b506001949350505050565b610caf6112ee565b604051600090339047908381818185875af1925050503d8060008114610cf1576040519150601f19603f3d011682016040523d82523d6000602084013e610cf6565b606091505b5050905080610d3e5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610b63565b50565b610d496112ee565b6103e8610d5560025490565b610d5f9190611f2f565b811015610d9f57806103e8610d7360025490565b610d7d9190611f2f565b6040516388a684d160e01b815260048101929092526024820152604401610b63565b600a55565b610dac6112ee565b6103e8610db860025490565b610dc29190611f2f565b811015610e0257806103e8610dd660025490565b610de09190611f2f565b60405163296ae4fd60e21b815260048101929092526024820152604401610b63565b600955565b610e0f6112ee565b6109c461ffff82161115610e44576040516399bfb80f60e01b815261ffff821660048201526109c46024820152604401610b63565b6005805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610e6e6112ee565b610e78600061143f565b565b610e826112ee565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ec9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eed9190611f51565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f619190611f6a565b505050565b60606004805461070690611e87565b610f7d6112ee565b620186a0610f8a60025490565b610f949190611f2f565b811080610fb457506064610fa760025490565b610fb19190611f2f565b81115b156110105780620186a0610fc760025490565b610fd19190611f2f565b6064610fdc60025490565b610fe69190611f2f565b60405163dd362b7160e01b8152600481019390935260248301919091526044820152606401610b63565b600855565b6000336107978185856113e0565b61102b6112ee565b6001600160a01b03821630148061104f57506007546001600160a01b038381169116145b156110785760405163363675af60e21b81526001600160a01b0383166004820152602401610b63565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6110ab6112ee565b6109c461ffff821611156110e0576040516399bfb80f60e01b815261ffff821660048201526109c46024820152604401610b63565b6005805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061113b5761113b611f9d565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b89190611ebb565b816001815181106111cb576111cb611f9d565b6001600160a01b03928316602091820292909201015260065460405163d06ca61f60e01b815291169063d06ca61f9061120a9086908590600401611ff7565b600060405180830381865afa92505050801561124857506040513d6000823e601f3d908101601f191682016040526112459190810190612018565b60015b6112555750600092915050565b8060018151811061126857611268611f9d565b602002602001015192505050919050565b50919050565b6112876112ee565b6007546001600160a01b03908116908216036112c15760405163363675af60e21b81526001600160a01b0382166004820152602401610b63565b6112ca8161143f565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b6005546001600160a01b03163314610e785760405163118cdaa760e01b8152336004820152602401610b63565b610f618383836001611491565b6001600160a01b0382166113525760405163ec442f0560e01b815260006004820152602401610b63565b61135e60008383611566565b5050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113da57818110156113cb57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b63565b6113da84848484036000611491565b50505050565b6001600160a01b03831661140a57604051634b637e8f60e11b815260006004820152602401610b63565b6001600160a01b0382166114345760405163ec442f0560e01b815260006004820152602401610b63565b610f61838383611566565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166114bb5760405163e602df0560e01b815260006004820152602401610b63565b6001600160a01b0383166114e557604051634a1406b160e11b815260006004820152602401610b63565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156113da57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161155891815260200190565b60405180910390a350505050565b611570838361177c565b806115955750600061158a6005546001600160a01b031690565b6001600160a01b0316145b156115a557610f6183838361181f565b600554600160d01b900460ff166115cf57604051631393b97560e11b815260040160405180910390fd5b6007546000906001600160a01b0385811691161480156115fd57506006546001600160a01b03848116911614155b6006549091506000906001600160a01b0386811691161480159061162e57506007546001600160a01b038581169116145b90508115801561163c575080155b80611678575081801561165a5750600554600160a01b900461ffff16155b8061167857508080156116785750600554600160b01b900461ffff16155b15611699576116878484611949565b61169285858561181f565b5050505050565b6007546001600160a01b031633148015906116be5750600554600160d81b900460ff16155b80156116db57506008543060009081526020819052604090205410155b156116e8576116e86119ee565b60008261170e57816116fb57600061171d565b600554600160b01b900461ffff1661171d565b600554600160a01b900461ffff165b9050600061271061173261ffff8416876120d6565b61173c9190611f2f565b9050600061174a8287611f1c565b90506117568782611949565b81156117675761176788308461181f565b61177288888361181f565b5050505050505050565b60006117906005546001600160a01b031690565b6001600160a01b0316326001600160a01b031614806117be5750336000908152600b602052604090205460ff165b806117e157506001600160a01b0383166000908152600b602052604090205460ff165b8061180457506001600160a01b0382166000908152600b602052604090205460ff165b806118185750600554600160d81b900460ff165b9392505050565b6001600160a01b03831661184a57806002600082825461183f91906120ed565b909155506118bc9050565b6001600160a01b0383166000908152602081905260409020548181101561189d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b63565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166118d8576002805482900390556118f7565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161193c91815260200190565b60405180910390a3505050565b60095481111561197a576009546040516383eb341760e01b8152610b63918391600401918252602082015260400190565b6007546001600160a01b0390811690831603611994575050565b600a54816119b7846001600160a01b031660009081526020819052604090205490565b6119c191906120ed565b111561135e57600a54604051637dcbf74d60e11b8152610b63918391600401918252602082015260400190565b30600090815260208190526040812054611a0790611102565b9050610d3e8160058054600160d81b60ff60d81b199091161790553060009081526020819052604081205460408051600280825260608201909252919250600091908160200160208202803683370190505090503081600081518110611a6f57611a6f611f9d565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec9190611ebb565b81600181518110611aff57611aff611f9d565b6001600160a01b039092166020928302919091019091015260006064611b2685605f6120d6565b611b309190611f2f565b60065460405163791ac94760e01b81529192506001600160a01b03169063791ac94790611b699086908590879030904290600401612100565b600060405180830381600087803b158015611b8357600080fd5b505af1158015611b97573d6000803e3d6000fd5b505050506000611baf6005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611bf9576040519150601f19603f3d011682016040523d82523d6000602084013e611bfe565b606091505b5050905080611c465760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610b63565b50506005805460ff60d81b19169055505050565b600060208083528351808285015260005b81811015611c8757858101830151858201604001528201611c6b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d3e57600080fd5b60008060408385031215611cd057600080fd5b8235611cdb81611ca8565b946020939093013593505050565b803561ffff81168114611cfb57600080fd5b919050565b8015158114610d3e57600080fd5b600080600080600080600060e0888a031215611d2957600080fd5b87359650602088013595506040880135611d4281611ca8565b9450611d5060608901611ce9565b9350611d5e60808901611ce9565b925060a0880135611d6e81611d00565b915060c0880135611d7e81611d00565b8091505092959891949750929550565b600080600060608486031215611da357600080fd5b8335611dae81611ca8565b92506020840135611dbe81611ca8565b929592945050506040919091013590565b600060208284031215611de157600080fd5b5035919050565b600060208284031215611dfa57600080fd5b61181882611ce9565b600060208284031215611e1557600080fd5b813561181881611ca8565b60008060408385031215611e3357600080fd5b8235611e3e81611ca8565b91506020830135611e4e81611d00565b809150509250929050565b60008060408385031215611e6c57600080fd5b8235611e7781611ca8565b91506020830135611e4e81611ca8565b600181811c90821680611e9b57607f821691505b60208210810361127957634e487b7160e01b600052602260045260246000fd5b600060208284031215611ecd57600080fd5b815161181881611ca8565b600080600060608486031215611eed57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561079d5761079d611f06565b600082611f4c57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611f6357600080fd5b5051919050565b600060208284031215611f7c57600080fd5b815161181881611d00565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015611fec5781516001600160a01b031687529582019590820190600101611fc7565b509495945050505050565b8281526040602082015260006120106040830184611fb3565b949350505050565b6000602080838503121561202b57600080fd5b825167ffffffffffffffff8082111561204357600080fd5b818501915085601f83011261205757600080fd5b81518181111561206957612069611f87565b8060051b604051601f19603f8301168101818110858211171561208e5761208e611f87565b6040529182528482019250838101850191888311156120ac57600080fd5b938501935b828510156120ca578451845293850193928501926120b1565b98975050505050505050565b808202811582820484141761079d5761079d611f06565b8082018082111561079d5761079d611f06565b85815284602082015260a06040820152600061211f60a0830186611fb3565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122005649642176ded23c9d63d64da271da1e4bf3fad94652ead00faf48ee61cbe6264736f6c6343000815003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001259656172206f662074686520447261676f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044452474e00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102125760003560e01c8063715018a611610118578063be210af1116100a0578063e0f3ccf51161006f578063e0f3ccf514610640578063e34d3dd814610662578063e4748b9e14610682578063f2fde38b146106a4578063f8de3f3d146106c457600080fd5b8063be210af114610599578063d621e813146105b9578063da33c270146105da578063dd62ed3e146105fa57600080fd5b806395d89b41116100e757806395d89b41146104fe5780639d0014b114610513578063a9059cbb14610533578063aed3077714610553578063bc063e1a1461058357600080fd5b8063715018a614610482578063805d835d1461049757806389476069146104c05780638da5cb5b146104e057600080fd5b8063313ce5671161019b57806349bd5a5e1161016a57806349bd5a5e146103d657806360024291146103f6578063671b106c14610416578063685fbc6b1461043657806370a082311461044c57600080fd5b8063313ce567146103515780633b6fa9ba1461036d5780633ccfd60b146103a1578063451d1cc1146103b657600080fd5b80630e9e9e29116101e25780630e9e9e29146102b05780631694505e146102c35780631732cded146102fb57806318160ddd1461031c57806323b872dd1461033157600080fd5b806299d3861461021e5780630445b6671461023557806306fdde031461025e578063095ea7b31461028057600080fd5b3661021957005b600080fd5b34801561022a57600080fd5b506102336106da565b005b34801561024157600080fd5b5061024b60085481565b6040519081526020015b60405180910390f35b34801561026a57600080fd5b506102736106f7565b6040516102559190611c5a565b34801561028c57600080fd5b506102a061029b366004611cbd565b610789565b6040519015158152602001610255565b6102336102be366004611d0e565b6107a3565b3480156102cf57600080fd5b506006546102e3906001600160a01b031681565b6040516001600160a01b039091168152602001610255565b34801561030757600080fd5b506005546102a090600160d81b900460ff1681565b34801561032857600080fd5b5060025461024b565b34801561033d57600080fd5b506102a061034c366004611d8e565b610c83565b34801561035d57600080fd5b5060405160128152602001610255565b34801561037957600080fd5b5061024b7f9968632e2928fd052421703e84b47b9e768f7ea980da4f3c123443893bec766681565b3480156103ad57600080fd5b50610233610ca7565b3480156103c257600080fd5b506102336103d1366004611dcf565b610d41565b3480156103e257600080fd5b506007546102e3906001600160a01b031681565b34801561040257600080fd5b50610233610411366004611dcf565b610da4565b34801561042257600080fd5b50610233610431366004611de8565b610e07565b34801561044257600080fd5b5061024b600a5481565b34801561045857600080fd5b5061024b610467366004611e03565b6001600160a01b031660009081526020819052604090205490565b34801561048e57600080fd5b50610233610e66565b3480156104a357600080fd5b506104ad61271081565b60405161ffff9091168152602001610255565b3480156104cc57600080fd5b506102336104db366004611e03565b610e7a565b3480156104ec57600080fd5b506005546001600160a01b03166102e3565b34801561050a57600080fd5b50610273610f66565b34801561051f57600080fd5b5061023361052e366004611dcf565b610f75565b34801561053f57600080fd5b506102a061054e366004611cbd565b611015565b34801561055f57600080fd5b506102a061056e366004611e03565b600b6020526000908152604090205460ff1681565b34801561058f57600080fd5b506104ad6109c481565b3480156105a557600080fd5b506102336105b4366004611e20565b611023565b3480156105c557600080fd5b506005546102a090600160d01b900460ff1681565b3480156105e657600080fd5b506102336105f5366004611de8565b6110a3565b34801561060657600080fd5b5061024b610615366004611e59565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561064c57600080fd5b506005546104ad90600160b01b900461ffff1681565b34801561066e57600080fd5b5061024b61067d366004611dcf565b611102565b34801561068e57600080fd5b506005546104ad90600160a01b900461ffff1681565b3480156106b057600080fd5b506102336106bf366004611e03565b61127f565b3480156106d057600080fd5b5061024b60095481565b6106e26112ee565b6005805460ff60d01b1916600160d01b179055565b60606003805461070690611e87565b80601f016020809104026020016040519081016040528092919081815260200182805461073290611e87565b801561077f5780601f106107545761010080835404028352916020019161077f565b820191906000526020600020905b81548152906001019060200180831161076257829003601f168201915b5050505050905090565b60003361079781858561131b565b60019150505b92915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156107e95750825b905060008267ffffffffffffffff1660011480156108065750303b155b905081158015610814575080155b156108325760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561085c57845460ff60401b1916600160401b1785555b6108646112ee565b861561088a576005805460ff60d01b1916600160d01b179055610885610e66565b610893565b6108933261127f565b600680546001600160a01b0319166001600160a01b038c169081179091556108bf90309060001961131b565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610912573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109369190611ebb565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610998573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bc9190611ebb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610a09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2d9190611ebb565b600780546001600160a01b0319166001600160a01b03929092169190911790558a15610af257610a5d308c611328565b60065460405163f305d71960e01b8152306004820152602481018d905260006044820181905260648201523260848201524260a48201526001600160a01b039091169063f305d71990349060c40160606040518083038185885af1158015610ac9573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610aee9190611ed8565b5050505b610b0532610b008d8f611f1c565b611328565b86610c2f576109c461ffff8a161180610b2357506109c461ffff8916115b15610b6c578861ffff168861ffff1611610b3d5788610b3f565b875b6040516399bfb80f60e01b815261ffff90911660048201526109c460248201526044015b60405180910390fd5b6005805463ffffffff60a01b1916600160a01b61ffff8c81169190910261ffff60b01b191691909117600160b01b918b1691909102178155306000908152600b6020526040808220805460ff1990811660019081179092553284529190922080549091169091179055805460ff60d01b1916600160d01b881515021790556002546103e890610bfb9190611f2f565b6008556032610c0960025490565b610c139190611f2f565b6009556032610c2160025490565b610c2b9190611f2f565b600a555b8315610c7557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b600033610c91858285611362565b610c9c8585856113e0565b506001949350505050565b610caf6112ee565b604051600090339047908381818185875af1925050503d8060008114610cf1576040519150601f19603f3d011682016040523d82523d6000602084013e610cf6565b606091505b5050905080610d3e5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610b63565b50565b610d496112ee565b6103e8610d5560025490565b610d5f9190611f2f565b811015610d9f57806103e8610d7360025490565b610d7d9190611f2f565b6040516388a684d160e01b815260048101929092526024820152604401610b63565b600a55565b610dac6112ee565b6103e8610db860025490565b610dc29190611f2f565b811015610e0257806103e8610dd660025490565b610de09190611f2f565b60405163296ae4fd60e21b815260048101929092526024820152604401610b63565b600955565b610e0f6112ee565b6109c461ffff82161115610e44576040516399bfb80f60e01b815261ffff821660048201526109c46024820152604401610b63565b6005805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610e6e6112ee565b610e78600061143f565b565b610e826112ee565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ec9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eed9190611f51565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f619190611f6a565b505050565b60606004805461070690611e87565b610f7d6112ee565b620186a0610f8a60025490565b610f949190611f2f565b811080610fb457506064610fa760025490565b610fb19190611f2f565b81115b156110105780620186a0610fc760025490565b610fd19190611f2f565b6064610fdc60025490565b610fe69190611f2f565b60405163dd362b7160e01b8152600481019390935260248301919091526044820152606401610b63565b600855565b6000336107978185856113e0565b61102b6112ee565b6001600160a01b03821630148061104f57506007546001600160a01b038381169116145b156110785760405163363675af60e21b81526001600160a01b0383166004820152602401610b63565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6110ab6112ee565b6109c461ffff821611156110e0576040516399bfb80f60e01b815261ffff821660048201526109c46024820152604401610b63565b6005805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60408051600280825260608201835260009283929190602083019080368337019050509050308160008151811061113b5761113b611f9d565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611194573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b89190611ebb565b816001815181106111cb576111cb611f9d565b6001600160a01b03928316602091820292909201015260065460405163d06ca61f60e01b815291169063d06ca61f9061120a9086908590600401611ff7565b600060405180830381865afa92505050801561124857506040513d6000823e601f3d908101601f191682016040526112459190810190612018565b60015b6112555750600092915050565b8060018151811061126857611268611f9d565b602002602001015192505050919050565b50919050565b6112876112ee565b6007546001600160a01b03908116908216036112c15760405163363675af60e21b81526001600160a01b0382166004820152602401610b63565b6112ca8161143f565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b6005546001600160a01b03163314610e785760405163118cdaa760e01b8152336004820152602401610b63565b610f618383836001611491565b6001600160a01b0382166113525760405163ec442f0560e01b815260006004820152602401610b63565b61135e60008383611566565b5050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113da57818110156113cb57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b63565b6113da84848484036000611491565b50505050565b6001600160a01b03831661140a57604051634b637e8f60e11b815260006004820152602401610b63565b6001600160a01b0382166114345760405163ec442f0560e01b815260006004820152602401610b63565b610f61838383611566565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166114bb5760405163e602df0560e01b815260006004820152602401610b63565b6001600160a01b0383166114e557604051634a1406b160e11b815260006004820152602401610b63565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156113da57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161155891815260200190565b60405180910390a350505050565b611570838361177c565b806115955750600061158a6005546001600160a01b031690565b6001600160a01b0316145b156115a557610f6183838361181f565b600554600160d01b900460ff166115cf57604051631393b97560e11b815260040160405180910390fd5b6007546000906001600160a01b0385811691161480156115fd57506006546001600160a01b03848116911614155b6006549091506000906001600160a01b0386811691161480159061162e57506007546001600160a01b038581169116145b90508115801561163c575080155b80611678575081801561165a5750600554600160a01b900461ffff16155b8061167857508080156116785750600554600160b01b900461ffff16155b15611699576116878484611949565b61169285858561181f565b5050505050565b6007546001600160a01b031633148015906116be5750600554600160d81b900460ff16155b80156116db57506008543060009081526020819052604090205410155b156116e8576116e86119ee565b60008261170e57816116fb57600061171d565b600554600160b01b900461ffff1661171d565b600554600160a01b900461ffff165b9050600061271061173261ffff8416876120d6565b61173c9190611f2f565b9050600061174a8287611f1c565b90506117568782611949565b81156117675761176788308461181f565b61177288888361181f565b5050505050505050565b60006117906005546001600160a01b031690565b6001600160a01b0316326001600160a01b031614806117be5750336000908152600b602052604090205460ff165b806117e157506001600160a01b0383166000908152600b602052604090205460ff165b8061180457506001600160a01b0382166000908152600b602052604090205460ff165b806118185750600554600160d81b900460ff165b9392505050565b6001600160a01b03831661184a57806002600082825461183f91906120ed565b909155506118bc9050565b6001600160a01b0383166000908152602081905260409020548181101561189d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b63565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166118d8576002805482900390556118f7565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161193c91815260200190565b60405180910390a3505050565b60095481111561197a576009546040516383eb341760e01b8152610b63918391600401918252602082015260400190565b6007546001600160a01b0390811690831603611994575050565b600a54816119b7846001600160a01b031660009081526020819052604090205490565b6119c191906120ed565b111561135e57600a54604051637dcbf74d60e11b8152610b63918391600401918252602082015260400190565b30600090815260208190526040812054611a0790611102565b9050610d3e8160058054600160d81b60ff60d81b199091161790553060009081526020819052604081205460408051600280825260608201909252919250600091908160200160208202803683370190505090503081600081518110611a6f57611a6f611f9d565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ac8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aec9190611ebb565b81600181518110611aff57611aff611f9d565b6001600160a01b039092166020928302919091019091015260006064611b2685605f6120d6565b611b309190611f2f565b60065460405163791ac94760e01b81529192506001600160a01b03169063791ac94790611b699086908590879030904290600401612100565b600060405180830381600087803b158015611b8357600080fd5b505af1158015611b97573d6000803e3d6000fd5b505050506000611baf6005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611bf9576040519150601f19603f3d011682016040523d82523d6000602084013e611bfe565b606091505b5050905080611c465760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610b63565b50506005805460ff60d81b19169055505050565b600060208083528351808285015260005b81811015611c8757858101830151858201604001528201611c6b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d3e57600080fd5b60008060408385031215611cd057600080fd5b8235611cdb81611ca8565b946020939093013593505050565b803561ffff81168114611cfb57600080fd5b919050565b8015158114610d3e57600080fd5b600080600080600080600060e0888a031215611d2957600080fd5b87359650602088013595506040880135611d4281611ca8565b9450611d5060608901611ce9565b9350611d5e60808901611ce9565b925060a0880135611d6e81611d00565b915060c0880135611d7e81611d00565b8091505092959891949750929550565b600080600060608486031215611da357600080fd5b8335611dae81611ca8565b92506020840135611dbe81611ca8565b929592945050506040919091013590565b600060208284031215611de157600080fd5b5035919050565b600060208284031215611dfa57600080fd5b61181882611ce9565b600060208284031215611e1557600080fd5b813561181881611ca8565b60008060408385031215611e3357600080fd5b8235611e3e81611ca8565b91506020830135611e4e81611d00565b809150509250929050565b60008060408385031215611e6c57600080fd5b8235611e7781611ca8565b91506020830135611e4e81611ca8565b600181811c90821680611e9b57607f821691505b60208210810361127957634e487b7160e01b600052602260045260246000fd5b600060208284031215611ecd57600080fd5b815161181881611ca8565b600080600060608486031215611eed57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561079d5761079d611f06565b600082611f4c57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611f6357600080fd5b5051919050565b600060208284031215611f7c57600080fd5b815161181881611d00565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015611fec5781516001600160a01b031687529582019590820190600101611fc7565b509495945050505050565b8281526040602082015260006120106040830184611fb3565b949350505050565b6000602080838503121561202b57600080fd5b825167ffffffffffffffff8082111561204357600080fd5b818501915085601f83011261205757600080fd5b81518181111561206957612069611f87565b8060051b604051601f19603f8301168101818110858211171561208e5761208e611f87565b6040529182528482019250838101850191888311156120ac57600080fd5b938501935b828510156120ca578451845293850193928501926120b1565b98975050505050505050565b808202811582820484141761079d5761079d611f06565b8082018082111561079d5761079d611f06565b85815284602082015260a06040820152600061211f60a0830186611fb3565b6001600160a01b039490941660608301525060800152939250505056fea264697066735822122005649642176ded23c9d63d64da271da1e4bf3fad94652ead00faf48ee61cbe6264736f6c63430008150033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001259656172206f662074686520447261676f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044452474e00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Year of the Dragon
Arg [1] : _symbol (string): DRGN

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 59656172206f662074686520447261676f6e0000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4452474e00000000000000000000000000000000000000000000000000000000


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.