ETH Price: $3,105.44 (+1.20%)
Gas: 5 Gwei

Token

Moon Labs (MLAB)
 

Overview

Max Total Supply

100,000,000 MLAB

Holders

125

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.000000001 MLAB

Value
$0.00
0x0a1238bc51e6d9d088b61be74d27c247bce9fa9b
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:
MoonLabs

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 3500 runs

Other Settings:
default evmVersion
File 1 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 12 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 4 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 6 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 7 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 9 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 10 of 12 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

File 11 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 12 of 12 : MoonLabs.sol
// SPDX-License-Identifier: MIT

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

pragma solidity 0.8.17;

import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract MoonLabs is ERC20, Ownable {
    /*|| === STATE VARIABLES === ||*/
    uint public launchDate;
    address public immutable uniswapV2Pair;
    IUniswapV2Router02 public immutable uniswapV2Router;
    IERC721 public immutable nftContract;
    bool private inSwapAndLiquify;
    bool public launched;
    BuyTax public buyTax;
    SellTax public sellTax;

    address payable public treasuryWallet;
    address payable public teamWallet;
    address payable public liqWallet;

    uint public nftBalance;
    uint public nftPayout = 0.001 ether;
    uint8 maxNftDistribution = 10;
    uint16 public nftIndex = 1;

    string private constant NAME = "Moon Labs";
    string private constant SYMBOL = "MLAB";
    uint8 private constant DECIMALS = 9;
    uint private constant SUPPLY = 100000000;

    uint public swapThreshold = 200000 * 10 ** DECIMALS;
    bool public taxSwap = true;

    /*|| === STRUCTS === ||*/
    struct BuyTax {
        uint8 liquidityTax;
        uint8 treasuryTax;
        uint8 teamTax;
        uint8 burnTax;
        uint8 nftTax;
        uint8 totalTax;
    }

    struct SellTax {
        uint8 liquidityTax;
        uint8 treasuryTax;
        uint8 teamTax;
        uint8 burnTax;
        uint8 nftTax;
        uint8 totalTax;
    }

    /*|| === MAPPINGS === ||*/
    mapping(address => bool) public excludedFromFee;

    /*|| === CONSTRUCTOR === ||*/
    constructor(
        address payable _treasuryWallet,
        address payable _teamWallet,
        address payable _liqWallet,
        address nftAddress
    ) ERC20(NAME, SYMBOL) {
        _mint(msg.sender, (SUPPLY * 10 ** DECIMALS)); /// Mint and send all tokens to deployer
        treasuryWallet = _treasuryWallet;
        teamWallet = _teamWallet;
        liqWallet = _liqWallet;

        nftContract = IERC721(nftAddress);

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH()); /// Create uniswap pair

        uniswapV2Router = _uniswapV2Router;

        excludedFromFee[address(uniswapV2Router)] = true;
        excludedFromFee[msg.sender] = true;
        excludedFromFee[treasuryWallet] = true;
        excludedFromFee[teamWallet] = true;
        excludedFromFee[liqWallet] = true;

        buyTax = BuyTax(10, 10, 10, 10, 20, 60);
        sellTax = SellTax(10, 10, 10, 10, 20, 60);
    }

    /*|| === EVENT EMITTERS === ||*/
    event DistributeNftPayout(address[] to, uint16[] index, uint payout);

    /*|| === MODIFIERS === ||*/
    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    /*|| === RECIEVE FUNCTION === ||*/
    receive() external payable {}

    /*|| === EXTERNAL FUNCTIONS === ||*/

    /**
     * @notice Enables initial trading and logs time of activation. Once trading is started it cannot be stopped.
     */
    function launch() external onlyOwner {
        require(!launched, "MLAB: token already launched");
        launched = true;
        launchDate = block.timestamp;
    }

    function setNftPayout(uint _nftPayout) external onlyOwner {
        nftPayout = _nftPayout;
    }

    function setMaxNftDistribution(
        uint8 _maxNftDistribution
    ) external onlyOwner {
        require(_maxNftDistribution <= 20, "MLAB: max distribution");
        maxNftDistribution = _maxNftDistribution;
    }

    function setTreasuryWallet(
        address payable _treasuryWallet
    ) external onlyOwner {
        require(
            _treasuryWallet != address(0),
            "MLAB: address cannot be 0 address"
        );
        treasuryWallet = _treasuryWallet;
    }

    function setTeamWallet(address payable _teamWallet) external onlyOwner {
        require(_teamWallet != address(0), "MLAB: address cannot be 0 address");
        teamWallet = _teamWallet;
    }

    function setLiqWallet(address payable _liqWallet) external onlyOwner {
        require(_liqWallet != address(0), "MLAB: address cannot be 0 address");
        liqWallet = _liqWallet;
    }

    function addToWhitelist(address _address) external onlyOwner {
        require(_address != address(0), "MLAB: address cannot be 0 address");
        excludedFromFee[_address] = true;
    }

    function removeFromWhitelist(address _address) external onlyOwner {
        require(_address != address(0), "MLAB: address cannot be 0 address");
        excludedFromFee[_address] = false;
    }

    function setTaxSwap(bool _taxSwap) external onlyOwner {
        taxSwap = _taxSwap;
    }

    function setBuyTax(
        uint8 liquidityTax,
        uint8 treasuryTax,
        uint8 teamTax,
        uint8 burnTax
    ) external onlyOwner {
        uint8 totalTax = liquidityTax + treasuryTax + teamTax + burnTax + 2;
        require(totalTax <= 10, "MLAB: sell tax must not be greater than 10");
        buyTax = BuyTax(
            liquidityTax * 10,
            treasuryTax * 10,
            teamTax * 10,
            burnTax * 10,
            2 * 10,
            totalTax * 10
        );
    }

    function setSellTax(
        uint8 liquidityTax,
        uint8 treasuryTax,
        uint8 teamTax,
        uint8 burnTax
    ) external onlyOwner {
        uint8 totalTax = liquidityTax + treasuryTax + teamTax + burnTax + 2;
        require(totalTax <= 10, "MLAB: buy tax must not be greater than 10");
        sellTax = SellTax(
            liquidityTax * 10,
            treasuryTax * 10,
            teamTax * 10,
            burnTax * 10,
            2 * 10,
            totalTax * 10
        );
    }

    function setTokensToSellForTax(uint _swapThreshold) external onlyOwner {
        require(
            _swapThreshold <= 500000 * 10 ** DECIMALS,
            "MLAB: max swap amount"
        );
        swapThreshold = _swapThreshold;
    }

    function claimETH() external onlyOwner {
        require(
            nftBalance < address(this).balance,
            "MLAB: insignificant eth balance"
        );
        (bool sent, ) = payable(msg.sender).call{
            value: address(this).balance - nftBalance
        }("");
    }

    /*|| === INTERNAL FUNCTIONS === ||*/
    function _transfer(
        address from,
        address to,
        uint amount
    ) internal override {
        require(from != address(0), "MLAB: transfer from the zero address");
        require(to != address(0), "MLAB: transfer to the zero address");
        require(
            balanceOf(from) >= amount,
            "MLAB: transfer amount exceeds balance"
        );

        /// If buy or sell
        if (
            (from == uniswapV2Pair || to == uniswapV2Pair) && !inSwapAndLiquify
        ) {
            /// On sell and if tax swap enabled
            if (to == uniswapV2Pair && taxSwap) {
                /// If the contract balance reaches sell threshold
                if (balanceOf(address(this)) >= swapThreshold) {
                    /// Perform tax swap
                    _swapAndDistribute();
                }
            }

            uint16[] memory indexArray = new uint16[](maxNftDistribution);
            address[] memory addressArray = new address[](maxNftDistribution);

            bool rewardsSent = false;

            for (uint i = 0; i < maxNftDistribution; i++) {
                /// Check if nft threshold is met
                if (nftBalance > nftPayout) {
                    if (nftIndex < 500) {
                        nftIndex++;
                    } else {
                        nftIndex = 1;
                    }
                    address nftOwner = nftContract.ownerOf(nftIndex);
                    /// Check if not contract address
                    if (!(nftOwner.code.length > 0)) {
                        /// Send eth to index holder
                        (bool sent, ) = payable(nftOwner).call{
                            value: nftPayout
                        }("");
                        /// Check if eth sent
                        if (sent) {
                            if (!rewardsSent) rewardsSent = true;
                            /// Subtract amount sent from pool of nft rewards
                            nftBalance -= nftPayout;
                            /// Push nft index to array
                            indexArray[i] = nftIndex;
                            /// Push nft payout address to array
                            addressArray[i] = nftOwner;
                        }
                    }
                } else {
                    /// Break from loop
                    break;
                }
            }

            /// Emit event if nft payout
            if (rewardsSent)
                emit DistributeNftPayout(addressArray, indexArray, nftPayout);

            uint transferAmount = amount;
            if (!(excludedFromFee[from] || excludedFromFee[to])) {
                require(launched, "MLAB: token not launched");
                uint fees = 0;

                /// On sell
                if (to == uniswapV2Pair) {
                    fees = sellTax.totalTax;

                    /// On buy
                } else if (from == uniswapV2Pair) {
                    fees = buyTax.totalTax;
                }
                uint tokenFees = (amount * fees) / 1000;
                transferAmount -= tokenFees;
                super._transfer(from, address(this), tokenFees);
            }
            super._transfer(from, to, transferAmount);
        } else {
            super._transfer(from, to, amount);
        }
    }

    /*|| === PRIVATE FUNCTIONS === ||*/

    function _swapTokens(uint tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function _swapAndDistribute() private lockTheSwap {
        uint8 totalTokenTax = buyTax.totalTax + sellTax.totalTax;
        uint8 burnTax = buyTax.burnTax + sellTax.burnTax;
        uint8 liquidityTax = buyTax.liquidityTax + sellTax.liquidityTax;

        uint burnTokenCut = 0;

        /// If burns are enabled
        if (buyTax.burnTax != 0 || sellTax.burnTax != 0) {
            burnTokenCut = (swapThreshold * burnTax) / totalTokenTax;
            /// Send tokens to dead address
            super._transfer(address(this), address(0xdead), burnTokenCut);
        }

        /// Tokens to add to liquidity
        uint addToLiquidityHalf = ((swapThreshold * liquidityTax) /
            totalTokenTax) / 2;

        _swapTokens(swapThreshold - addToLiquidityHalf - burnTokenCut);

        uint ethBalance = address(this).balance - nftBalance;

        uint totalSellFee = (totalTokenTax - (liquidityTax / 2) - burnTax);

        /// Distribute to team and treasury
        if (buyTax.treasuryTax + sellTax.treasuryTax > 0) {
            (treasuryWallet).call{
                value: (ethBalance *
                    (buyTax.treasuryTax + sellTax.treasuryTax)) / totalSellFee
            }("");
        }

        if (buyTax.teamTax + sellTax.teamTax > 0) {
            (teamWallet).call{
                value: (ethBalance * (buyTax.teamTax + sellTax.teamTax)) /
                    totalSellFee
            }("");
        }

        /// Add ETH to nft balance
        nftBalance +=
            (ethBalance * (buyTax.nftTax + sellTax.nftTax)) /
            totalSellFee;

        /// Add tokens to liquidity
        if (addToLiquidityHalf > 0) {
            _addLiquidity(
                (addToLiquidityHalf),
                ((ethBalance * liquidityTax) / totalSellFee) / 2
            );
        }
    }

    function _addLiquidity(
        uint tokenAmount,
        uint ethAmount
    ) private lockTheSwap {
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0,
            0,
            liqWallet,
            block.timestamp
        );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_treasuryWallet","type":"address"},{"internalType":"address payable","name":"_teamWallet","type":"address"},{"internalType":"address payable","name":"_liqWallet","type":"address"},{"internalType":"address","name":"nftAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"to","type":"address[]"},{"indexed":false,"internalType":"uint16[]","name":"index","type":"uint16[]"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"}],"name":"DistributeNftPayout","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":[{"internalType":"address","name":"_address","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint8","name":"liquidityTax","type":"uint8"},{"internalType":"uint8","name":"treasuryTax","type":"uint8"},{"internalType":"uint8","name":"teamTax","type":"uint8"},{"internalType":"uint8","name":"burnTax","type":"uint8"},{"internalType":"uint8","name":"nftTax","type":"uint8"},{"internalType":"uint8","name":"totalTax","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liqWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftIndex","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint8","name":"liquidityTax","type":"uint8"},{"internalType":"uint8","name":"treasuryTax","type":"uint8"},{"internalType":"uint8","name":"teamTax","type":"uint8"},{"internalType":"uint8","name":"burnTax","type":"uint8"},{"internalType":"uint8","name":"nftTax","type":"uint8"},{"internalType":"uint8","name":"totalTax","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"liquidityTax","type":"uint8"},{"internalType":"uint8","name":"treasuryTax","type":"uint8"},{"internalType":"uint8","name":"teamTax","type":"uint8"},{"internalType":"uint8","name":"burnTax","type":"uint8"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_liqWallet","type":"address"}],"name":"setLiqWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxNftDistribution","type":"uint8"}],"name":"setMaxNftDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftPayout","type":"uint256"}],"name":"setNftPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"liquidityTax","type":"uint8"},{"internalType":"uint8","name":"treasuryTax","type":"uint8"},{"internalType":"uint8","name":"teamTax","type":"uint8"},{"internalType":"uint8","name":"burnTax","type":"uint8"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_taxSwap","type":"bool"}],"name":"setTaxSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_teamWallet","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapThreshold","type":"uint256"}],"name":"setTokensToSellForTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasuryWallet","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]

60e060405266038d7ea4c68000600e55600f805462ffffff191661010a1790556200002d6009600a62000604565b6200003c9062030d406200061c565b6010556011805460ff191660011790553480156200005957600080fd5b5060405162003622380380620036228339810160408190526200007c916200064f565b604051806040016040528060098152602001684d6f6f6e204c61627360b81b8152506040518060400160405280600481526020016326a620a160e11b8152508160039081620000cc91906200075b565b506004620000db82826200075b565b505050620000f8620000f2620003ce60201b60201c565b620003d2565b62000121336200010b6009600a62000604565b6200011b906305f5e1006200061c565b62000424565b600a80546001600160a01b038087166001600160a01b031992831617909255600b8054868416908316179055600c80548584169216919091179055811660c0526040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91829163c45a0155916004808201926020929091908290030181865afa158015620001b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001db919062000827565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000229573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024f919062000827565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c3919062000827565b6001600160a01b03908116608090815291811660a08181526000918252601260209081526040808420805460ff1990811660019081179092553386528286208054821683179055600a8054881687528387208054831684179055600b54881687528387208054831684179055600c54909716865294829020805490951617909355825160c0808201855285825281830186905281850186905260608281018790526014838901819052603c93860184905260088054653c140a0a0a0a65ffffffffffff19918216811790925588519485018952898552958401899052968301889052908201969096529586019490945293019190915260098054909216179055506200085d92505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200047f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b806002600082825462000493919062000847565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620005465781600019048211156200052a576200052a620004ef565b808516156200053857918102915b93841c93908002906200050a565b509250929050565b6000826200055f57506001620005fe565b816200056e57506000620005fe565b81600181146200058757600281146200059257620005b2565b6001915050620005fe565b60ff841115620005a657620005a6620004ef565b50506001821b620005fe565b5060208310610133831016604e8410600b8410161715620005d7575081810a620005fe565b620005e3838362000505565b8060001904821115620005fa57620005fa620004ef565b0290505b92915050565b60006200061560ff8416836200054e565b9392505050565b8082028115828204841417620005fe57620005fe620004ef565b6001600160a01b03811681146200064c57600080fd5b50565b600080600080608085870312156200066657600080fd5b8451620006738162000636565b6020860151909450620006868162000636565b6040860151909350620006998162000636565b6060860151909250620006ac8162000636565b939692955090935050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006e257607f821691505b6020821081036200070357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004ea57600081815260208120601f850160051c81016020861015620007325750805b601f850160051c820191505b8181101562000753578281556001016200073e565b505050505050565b81516001600160401b03811115620007775762000777620006b7565b6200078f81620007888454620006cd565b8462000709565b602080601f831160018114620007c75760008415620007ae5750858301515b600019600386901b1c1916600185901b17855562000753565b600085815260208120601f198616915b82811015620007f857888601518255948401946001909101908401620007d7565b5085821015620008175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200083a57600080fd5b8151620006158162000636565b80820180821115620005fe57620005fe620004ef565b60805160a05160c051612d48620008da600039600081816108720152611b280152600081816103e6015281816124ae01528181612567015281816125bc0152818161264d01526126ce015260008181610503015281816118cc015281816119070152818161195101528181611da00152611dee0152612d486000f3fe6080604052600436106102e05760003560e01c80636727299911610184578063a457c2d7116100d6578063d56d229d1161008a578063ee48989711610064578063ee489897146108fa578063f2fde38b1461091a578063f8eeed621461093a57600080fd5b8063d56d229d14610860578063dd62ed3e14610894578063e43252d7146108da57600080fd5b8063a9059cbb116100bb578063a9059cbb146107d3578063ada5bf0e146107f3578063cc1776d31461081357600080fd5b8063a457c2d714610793578063a8602fea146107b357600080fd5b806389de38c41161013857806395d89b411161011257806395d89b411461073e57806398e5b8cf146107535780639a59c1481461077357600080fd5b806389de38c4146106cd5780638ab1d681146107005780638da5cb5b1461072057600080fd5b8063715018a611610169578063715018a6146106695780638091f3bf1461067e57806385ecafd71461069d57600080fd5b8063672729991461061e57806370a082311461063357600080fd5b806323b872dd1161023d57806349bd5a5e116101f15780634f7041a5116101cb5780634f7041a51461055f5780635301fa6f146105e857806359927044146105fe57600080fd5b806349bd5a5e146104f15780634cdc8da4146105255780634ec39ba91461053f57600080fd5b8063395093511161022257806339509351146104915780633c53c7e8146104b15780634626402b146104d157600080fd5b806323b872dd14610455578063313ce5671461047557600080fd5b80630bb0344e116102945780631694505e116102795780631694505e146103d457806318160ddd146104205780631d4a44171461043557600080fd5b80630bb0344e1461039e5780631525ff7d146103b457600080fd5b806306fdde03116102c557806306fdde031461032c578063095ea7b31461034e5780630b01aa511461037e57600080fd5b806301339c21146102ec5780630445b6671461030357600080fd5b366102e757005b600080fd5b3480156102f857600080fd5b50610301610950565b005b34801561030f57600080fd5b5061031960105481565b6040519081526020015b60405180910390f35b34801561033857600080fd5b506103416109e7565b6040516103239190612750565b34801561035a57600080fd5b5061036e6103693660046127d1565b610a79565b6040519015158152602001610323565b34801561038a57600080fd5b506103016103993660046127fd565b610a93565b3480156103aa57600080fd5b50610319600e5481565b3480156103c057600080fd5b506103016103cf3660046127fd565b610b35565b3480156103e057600080fd5b506104087f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610323565b34801561042c57600080fd5b50600254610319565b34801561044157600080fd5b50610301610450366004612821565b610bd7565b34801561046157600080fd5b5061036e61047036600461283a565b610c4c565b34801561048157600080fd5b5060405160098152602001610323565b34801561049d57600080fd5b5061036e6104ac3660046127d1565b610c70565b3480156104bd57600080fd5b506103016104cc366004612891565b610caf565b3480156104dd57600080fd5b50600a54610408906001600160a01b031681565b3480156104fd57600080fd5b506104087f000000000000000000000000000000000000000000000000000000000000000081565b34801561053157600080fd5b5060115461036e9060ff1681565b34801561054b57600080fd5b50600c54610408906001600160a01b031681565b34801561056b57600080fd5b506008546105ac9060ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000090041686565b6040805160ff978816815295871660208701529386169385019390935290841660608401528316608083015290911660a082015260c001610323565b3480156105f457600080fd5b50610319600d5481565b34801561060a57600080fd5b50600b54610408906001600160a01b031681565b34801561062a57600080fd5b50610301610ea1565b34801561063f57600080fd5b5061031961064e3660046127fd565b6001600160a01b031660009081526020819052604090205490565b34801561067557600080fd5b50610301610f53565b34801561068a57600080fd5b5060075461036e90610100900460ff1681565b3480156106a957600080fd5b5061036e6106b83660046127fd565b60126020526000908152604090205460ff1681565b3480156106d957600080fd5b50600f546106ed90610100900461ffff1681565b60405161ffff9091168152602001610323565b34801561070c57600080fd5b5061030161071b3660046127fd565b610f67565b34801561072c57600080fd5b506005546001600160a01b0316610408565b34801561074a57600080fd5b50610341610ff0565b34801561075f57600080fd5b5061030161076e366004612891565b610fff565b34801561077f57600080fd5b5061030161078e3660046128e5565b6111f1565b34801561079f57600080fd5b5061036e6107ae3660046127d1565b61120c565b3480156107bf57600080fd5b506103016107ce3660046127fd565b6112b6565b3480156107df57600080fd5b5061036e6107ee3660046127d1565b611358565b3480156107ff57600080fd5b5061030161080e366004612907565b611366565b34801561081f57600080fd5b506009546105ac9060ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000090041686565b34801561086c57600080fd5b506104087f000000000000000000000000000000000000000000000000000000000000000081565b3480156108a057600080fd5b506103196108af366004612922565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108e657600080fd5b506103016108f53660046127fd565b6113d8565b34801561090657600080fd5b50610301610915366004612821565b611464565b34801561092657600080fd5b506103016109353660046127fd565b611471565b34801561094657600080fd5b5061031960065481565b610958611501565b600754610100900460ff16156109b55760405162461bcd60e51b815260206004820152601c60248201527f4d4c41423a20746f6b656e20616c7265616479206c61756e636865640000000060448201526064015b60405180910390fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905542600655565b6060600380546109f69061295b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a229061295b565b8015610a6f5780601f10610a4457610100808354040283529160200191610a6f565b820191906000526020600020905b815481529060010190602001808311610a5257829003601f168201915b5050505050905090565b600033610a8781858561155b565b60019150505b92915050565b610a9b611501565b6001600160a01b038116610afb5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b610b3d611501565b6001600160a01b038116610b9d5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b610bdf611501565b610beb6009600a612a8f565b610bf8906207a120612a9e565b811115610c475760405162461bcd60e51b815260206004820152601560248201527f4d4c41423a206d6178207377617020616d6f756e74000000000000000000000060448201526064016109ac565b601055565b600033610c5a8582856116b3565b610c6585858561173f565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a879082908690610caa908790612ab5565b61155b565b610cb7611501565b60008183610cc58688612ac8565b610ccf9190612ac8565b610cd99190612ac8565b610ce4906002612ac8565b9050600a8160ff161115610d605760405162461bcd60e51b815260206004820152602960248201527f4d4c41423a2062757920746178206d757374206e6f742062652067726561746560448201527f72207468616e203130000000000000000000000000000000000000000000000060648201526084016109ac565b6040518060c0016040528086600a610d789190612ae1565b60ff168152602001610d8b86600a612ae1565b60ff168152602001610d9e85600a612ae1565b60ff168152602001610db184600a612ae1565b60ff16815260146020820152604001610dcb83600a612ae1565b60ff908116909152815160098054602085015160408601516060870151608088015160a09098015195871661ffff1990941693909317610100928716929092029190911763ffff00001916620100009186169190910263ff000000191617630100000091851691909102177fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffffffff16640100000000948416949094027fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff16939093176501000000000091909216021790555050505050565b610ea9611501565b47600d5410610efa5760405162461bcd60e51b815260206004820152601f60248201527f4d4c41423a20696e7369676e69666963616e74206574682062616c616e63650060448201526064016109ac565b600d546000903390610f0c9047612b04565b604051600081818185875af1925050503d8060008114610f48576040519150601f19603f3d011682016040523d82523d6000602084013e610f4d565b606091505b50505050565b610f5b611501565b610f656000611e8f565b565b610f6f611501565b6001600160a01b038116610fcf5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b6001600160a01b03166000908152601260205260409020805460ff19169055565b6060600480546109f69061295b565b611007611501565b600081836110158688612ac8565b61101f9190612ac8565b6110299190612ac8565b611034906002612ac8565b9050600a8160ff1611156110b05760405162461bcd60e51b815260206004820152602a60248201527f4d4c41423a2073656c6c20746178206d757374206e6f7420626520677265617460448201527f6572207468616e2031300000000000000000000000000000000000000000000060648201526084016109ac565b6040518060c0016040528086600a6110c89190612ae1565b60ff1681526020016110db86600a612ae1565b60ff1681526020016110ee85600a612ae1565b60ff16815260200161110184600a612ae1565b60ff1681526014602082015260400161111b83600a612ae1565b60ff908116909152815160088054602085015160408601516060870151608088015160a09098015195871661ffff1990941693909317610100928716929092029190911763ffff00001916620100009186169190910263ff000000191617630100000091851691909102177fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffffffff16640100000000948416949094027fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff16939093176501000000000091909216021790555050505050565b6111f9611501565b6011805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156112a95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109ac565b610c65828686840361155b565b6112be611501565b6001600160a01b03811661131e5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600033610a8781858561173f565b61136e611501565b60148160ff1611156113c25760405162461bcd60e51b815260206004820152601660248201527f4d4c41423a206d617820646973747269627574696f6e0000000000000000000060448201526064016109ac565b600f805460ff191660ff92909216919091179055565b6113e0611501565b6001600160a01b0381166114405760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b61146c611501565b600e55565b611479611501565b6001600160a01b0381166114f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109ac565b6114fe81611e8f565b50565b6005546001600160a01b03163314610f655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109ac565b6001600160a01b0383166115d65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0382166116525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f4d57818110156117325760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109ac565b610f4d848484840361155b565b6001600160a01b0383166117ba5760405162461bcd60e51b8152602060048201526024808201527f4d4c41423a207472616e736665722066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0382166118365760405162461bcd60e51b815260206004820152602260248201527f4d4c41423a207472616e7366657220746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b80611856846001600160a01b031660009081526020819052604090205490565b10156118ca5760405162461bcd60e51b815260206004820152602560248201527f4d4c41423a207472616e7366657220616d6f756e74206578636565647320626160448201527f6c616e636500000000000000000000000000000000000000000000000000000060648201526084016109ac565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316148061193b57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b801561194a575060075460ff16155b15611e7f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148015611992575060115460ff165b156119b75760105430600090815260208190526040902054106119b7576119b7611ef9565b600f5460009060ff1667ffffffffffffffff8111156119d8576119d8612b17565b604051908082528060200260200182016040528015611a01578160200160208202803683370190505b50600f5490915060009060ff1667ffffffffffffffff811115611a2657611a26612b17565b604051908082528060200260200182016040528015611a4f578160200160208202803683370190505b5090506000805b600f5460ff16811015611cbb57600e54600d541115611ca457600f546101f461010090910461ffff161015611abe57600f8054610100900461ffff16906001611a9e83612b2d565b91906101000a81548161ffff021916908361ffff16021790555050611aeb565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff166101001790555b600f546040517f6352211e00000000000000000000000000000000000000000000000000000000815261010090910461ffff1660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636352211e90602401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190612b4e565b90506000816001600160a01b03163b11611c9e57600e546040516000916001600160a01b038416918381818185875af1925050503d8060008114611bfb576040519150601f19603f3d011682016040523d82523d6000602084013e611c00565b606091505b505090508015611c9c5783611c1457600193505b600e54600d6000828254611c289190612b04565b92505081905550600f60019054906101000a900461ffff16868481518110611c5257611c52612b6b565b602002602001019061ffff16908161ffff168152505081858481518110611c7b57611c7b612b6b565b60200260200101906001600160a01b031690816001600160a01b0316815250505b505b50611ca9565b611cbb565b80611cb381612b81565b915050611a56565b508015611d00577fb4a15e52fcc3ae2a479f9a5471d0a8646163b7ad1443ac05b278a4c832d95d748284600e54604051611cf793929190612bdf565b60405180910390a15b6001600160a01b038616600090815260126020526040902054849060ff1680611d4157506001600160a01b03861660009081526012602052604090205460ff165b611e6b57600754610100900460ff16611d9c5760405162461bcd60e51b815260206004820152601860248201527f4d4c41423a20746f6b656e206e6f74206c61756e63686564000000000000000060448201526064016109ac565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316876001600160a01b031603611dec575060095465010000000000900460ff16611e36565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316886001600160a01b031603611e36575060085465010000000000900460ff165b60006103e8611e458389612a9e565b611e4f9190612c59565b9050611e5b8184612b04565b9250611e6889308361225d565b50505b611e7687878361225d565b50505050505050565b611e8a83838361225d565b505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007805460ff19166001179055600954600854600091611f2d91650100000000009182900460ff9081169290910416612ac8565b600954600854919250600091611f559160ff6301000000918290048116929190910416612ac8565b600954600854919250600091611f719160ff9081169116612ac8565b6008549091506000906301000000900460ff16151580611f9c57506009546301000000900460ff1615155b15611fcf578360ff168360ff16601054611fb69190612a9e565b611fc09190612c59565b9050611fcf3061dead8361225d565b600060028560ff168460ff16601054611fe89190612a9e565b611ff29190612c59565b611ffc9190612c59565b905061201f82826010546120109190612b04565b61201a9190612b04565b61244a565b6000600d544761202f9190612b04565b905060008561203f600287612c6d565b6120499089612c8f565b6120539190612c8f565b60095460085460ff928316935060009261207892610100908190048216920416612ac8565b60ff16111561210d57600a546009546008546001600160a01b039092169183916120b19160ff6101009283900481169290910416612ac8565b6120be9060ff1685612a9e565b6120c89190612c59565b604051600081818185875af1925050503d8060008114612104576040519150601f19603f3d011682016040523d82523d6000602084013e612109565b606091505b5050505b6009546008546000916121309160ff620100009283900481169290910416612ac8565b60ff1611156121c657600b546009546008546001600160a01b0390921691839161216a9160ff620100009283900481169290910416612ac8565b6121779060ff1685612a9e565b6121819190612c59565b604051600081818185875af1925050503d80600081146121bd576040519150601f19603f3d011682016040523d82523d6000602084013e6121c2565b606091505b5050505b60095460085482916121ea9160ff6401000000009283900481169290910416612ac8565b6121f79060ff1684612a9e565b6122019190612c59565b600d60008282546122129190612ab5565b9091555050821561224a5761224a8360028361223160ff8a1687612a9e565b61223b9190612c59565b6122459190612c59565b61263a565b50506007805460ff191690555050505050565b6001600160a01b0383166122d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0382166123555760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b038316600090815260208190526040902054818110156123e45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f4d565b6007805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061248c5761248c612b6b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561250a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252e9190612b4e565b8160018151811061254157612541612b6b565b60200260200101906001600160a01b031690816001600160a01b03168152505061258c307f00000000000000000000000000000000000000000000000000000000000000008461155b565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906125fa908590600090869030904290600401612ca8565b600060405180830381600087803b15801561261457600080fd5b505af1158015612628573d6000803e3d6000fd5b50506007805460ff1916905550505050565b6007805460ff19166001179055612672307f00000000000000000000000000000000000000000000000000000000000000008461155b565b600c546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af115801561271a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061273f9190612ce4565b50506007805460ff19169055505050565b600060208083528351808285015260005b8181101561277d57858101830151858201604001528201612761565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b03811681146114fe57600080fd5b600080604083850312156127e457600080fd5b82356127ef816127bc565b946020939093013593505050565b60006020828403121561280f57600080fd5b813561281a816127bc565b9392505050565b60006020828403121561283357600080fd5b5035919050565b60008060006060848603121561284f57600080fd5b833561285a816127bc565b9250602084013561286a816127bc565b929592945050506040919091013590565b803560ff8116811461288c57600080fd5b919050565b600080600080608085870312156128a757600080fd5b6128b08561287b565b93506128be6020860161287b565b92506128cc6040860161287b565b91506128da6060860161287b565b905092959194509250565b6000602082840312156128f757600080fd5b8135801515811461281a57600080fd5b60006020828403121561291957600080fd5b61281a8261287b565b6000806040838503121561293557600080fd5b8235612940816127bc565b91506020830135612950816127bc565b809150509250929050565b600181811c9082168061296f57607f821691505b60208210810361298f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156129e65781600019048211156129cc576129cc612995565b808516156129d957918102915b93841c93908002906129b0565b509250929050565b6000826129fd57506001610a8d565b81612a0a57506000610a8d565b8160018114612a205760028114612a2a57612a46565b6001915050610a8d565b60ff841115612a3b57612a3b612995565b50506001821b610a8d565b5060208310610133831016604e8410600b8410161715612a69575081810a610a8d565b612a7383836129ab565b8060001904821115612a8757612a87612995565b029392505050565b600061281a60ff8416836129ee565b8082028115828204841417610a8d57610a8d612995565b80820180821115610a8d57610a8d612995565b60ff8181168382160190811115610a8d57610a8d612995565b60ff8181168382160290811690818114612afd57612afd612995565b5092915050565b81810381811115610a8d57610a8d612995565b634e487b7160e01b600052604160045260246000fd5b600061ffff808316818103612b4457612b44612995565b6001019392505050565b600060208284031215612b6057600080fd5b815161281a816127bc565b634e487b7160e01b600052603260045260246000fd5b60006000198203612b9457612b94612995565b5060010190565b600081518084526020808501945080840160005b83811015612bd45781516001600160a01b031687529582019590820190600101612baf565b509495945050505050565b606081526000612bf26060830186612b9b565b82810360208481019190915285518083528682019282019060005b81811015612c2d57845161ffff1683529383019391830191600101612c0d565b5050809350505050826040830152949350505050565b634e487b7160e01b600052601260045260246000fd5b600082612c6857612c68612c43565b500490565b600060ff831680612c8057612c80612c43565b8060ff84160491505092915050565b60ff8281168282160390811115610a8d57610a8d612995565b85815284602082015260a060408201526000612cc760a0830186612b9b565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215612cf957600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212207052147ea95a2e1d1320b4d32c37bc19d99cd879fdb6514a0bd1fb7a5a9e6d2364736f6c63430008110033000000000000000000000000476655221ef077a12e9be0c8da17322c2728ac5b000000000000000000000000d91c4fee7f99a4d25fc57a16177de3e2642a6df0000000000000000000000000454330fe8ee8857df46ed124cf00eb26159a3dbb000000000000000000000000e6fbd188ffc0604e7aa3290c303c9dc11ec98d53

Deployed Bytecode

0x6080604052600436106102e05760003560e01c80636727299911610184578063a457c2d7116100d6578063d56d229d1161008a578063ee48989711610064578063ee489897146108fa578063f2fde38b1461091a578063f8eeed621461093a57600080fd5b8063d56d229d14610860578063dd62ed3e14610894578063e43252d7146108da57600080fd5b8063a9059cbb116100bb578063a9059cbb146107d3578063ada5bf0e146107f3578063cc1776d31461081357600080fd5b8063a457c2d714610793578063a8602fea146107b357600080fd5b806389de38c41161013857806395d89b411161011257806395d89b411461073e57806398e5b8cf146107535780639a59c1481461077357600080fd5b806389de38c4146106cd5780638ab1d681146107005780638da5cb5b1461072057600080fd5b8063715018a611610169578063715018a6146106695780638091f3bf1461067e57806385ecafd71461069d57600080fd5b8063672729991461061e57806370a082311461063357600080fd5b806323b872dd1161023d57806349bd5a5e116101f15780634f7041a5116101cb5780634f7041a51461055f5780635301fa6f146105e857806359927044146105fe57600080fd5b806349bd5a5e146104f15780634cdc8da4146105255780634ec39ba91461053f57600080fd5b8063395093511161022257806339509351146104915780633c53c7e8146104b15780634626402b146104d157600080fd5b806323b872dd14610455578063313ce5671461047557600080fd5b80630bb0344e116102945780631694505e116102795780631694505e146103d457806318160ddd146104205780631d4a44171461043557600080fd5b80630bb0344e1461039e5780631525ff7d146103b457600080fd5b806306fdde03116102c557806306fdde031461032c578063095ea7b31461034e5780630b01aa511461037e57600080fd5b806301339c21146102ec5780630445b6671461030357600080fd5b366102e757005b600080fd5b3480156102f857600080fd5b50610301610950565b005b34801561030f57600080fd5b5061031960105481565b6040519081526020015b60405180910390f35b34801561033857600080fd5b506103416109e7565b6040516103239190612750565b34801561035a57600080fd5b5061036e6103693660046127d1565b610a79565b6040519015158152602001610323565b34801561038a57600080fd5b506103016103993660046127fd565b610a93565b3480156103aa57600080fd5b50610319600e5481565b3480156103c057600080fd5b506103016103cf3660046127fd565b610b35565b3480156103e057600080fd5b506104087f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610323565b34801561042c57600080fd5b50600254610319565b34801561044157600080fd5b50610301610450366004612821565b610bd7565b34801561046157600080fd5b5061036e61047036600461283a565b610c4c565b34801561048157600080fd5b5060405160098152602001610323565b34801561049d57600080fd5b5061036e6104ac3660046127d1565b610c70565b3480156104bd57600080fd5b506103016104cc366004612891565b610caf565b3480156104dd57600080fd5b50600a54610408906001600160a01b031681565b3480156104fd57600080fd5b506104087f00000000000000000000000026412e8a6211afdbcaca8d1b932ac3050dbf419481565b34801561053157600080fd5b5060115461036e9060ff1681565b34801561054b57600080fd5b50600c54610408906001600160a01b031681565b34801561056b57600080fd5b506008546105ac9060ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000090041686565b6040805160ff978816815295871660208701529386169385019390935290841660608401528316608083015290911660a082015260c001610323565b3480156105f457600080fd5b50610319600d5481565b34801561060a57600080fd5b50600b54610408906001600160a01b031681565b34801561062a57600080fd5b50610301610ea1565b34801561063f57600080fd5b5061031961064e3660046127fd565b6001600160a01b031660009081526020819052604090205490565b34801561067557600080fd5b50610301610f53565b34801561068a57600080fd5b5060075461036e90610100900460ff1681565b3480156106a957600080fd5b5061036e6106b83660046127fd565b60126020526000908152604090205460ff1681565b3480156106d957600080fd5b50600f546106ed90610100900461ffff1681565b60405161ffff9091168152602001610323565b34801561070c57600080fd5b5061030161071b3660046127fd565b610f67565b34801561072c57600080fd5b506005546001600160a01b0316610408565b34801561074a57600080fd5b50610341610ff0565b34801561075f57600080fd5b5061030161076e366004612891565b610fff565b34801561077f57600080fd5b5061030161078e3660046128e5565b6111f1565b34801561079f57600080fd5b5061036e6107ae3660046127d1565b61120c565b3480156107bf57600080fd5b506103016107ce3660046127fd565b6112b6565b3480156107df57600080fd5b5061036e6107ee3660046127d1565b611358565b3480156107ff57600080fd5b5061030161080e366004612907565b611366565b34801561081f57600080fd5b506009546105ac9060ff8082169161010081048216916201000082048116916301000000810482169164010000000082048116916501000000000090041686565b34801561086c57600080fd5b506104087f000000000000000000000000e6fbd188ffc0604e7aa3290c303c9dc11ec98d5381565b3480156108a057600080fd5b506103196108af366004612922565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108e657600080fd5b506103016108f53660046127fd565b6113d8565b34801561090657600080fd5b50610301610915366004612821565b611464565b34801561092657600080fd5b506103016109353660046127fd565b611471565b34801561094657600080fd5b5061031960065481565b610958611501565b600754610100900460ff16156109b55760405162461bcd60e51b815260206004820152601c60248201527f4d4c41423a20746f6b656e20616c7265616479206c61756e636865640000000060448201526064015b60405180910390fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905542600655565b6060600380546109f69061295b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a229061295b565b8015610a6f5780601f10610a4457610100808354040283529160200191610a6f565b820191906000526020600020905b815481529060010190602001808311610a5257829003601f168201915b5050505050905090565b600033610a8781858561155b565b60019150505b92915050565b610a9b611501565b6001600160a01b038116610afb5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b610b3d611501565b6001600160a01b038116610b9d5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b610bdf611501565b610beb6009600a612a8f565b610bf8906207a120612a9e565b811115610c475760405162461bcd60e51b815260206004820152601560248201527f4d4c41423a206d6178207377617020616d6f756e74000000000000000000000060448201526064016109ac565b601055565b600033610c5a8582856116b3565b610c6585858561173f565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610a879082908690610caa908790612ab5565b61155b565b610cb7611501565b60008183610cc58688612ac8565b610ccf9190612ac8565b610cd99190612ac8565b610ce4906002612ac8565b9050600a8160ff161115610d605760405162461bcd60e51b815260206004820152602960248201527f4d4c41423a2062757920746178206d757374206e6f742062652067726561746560448201527f72207468616e203130000000000000000000000000000000000000000000000060648201526084016109ac565b6040518060c0016040528086600a610d789190612ae1565b60ff168152602001610d8b86600a612ae1565b60ff168152602001610d9e85600a612ae1565b60ff168152602001610db184600a612ae1565b60ff16815260146020820152604001610dcb83600a612ae1565b60ff908116909152815160098054602085015160408601516060870151608088015160a09098015195871661ffff1990941693909317610100928716929092029190911763ffff00001916620100009186169190910263ff000000191617630100000091851691909102177fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffffffff16640100000000948416949094027fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff16939093176501000000000091909216021790555050505050565b610ea9611501565b47600d5410610efa5760405162461bcd60e51b815260206004820152601f60248201527f4d4c41423a20696e7369676e69666963616e74206574682062616c616e63650060448201526064016109ac565b600d546000903390610f0c9047612b04565b604051600081818185875af1925050503d8060008114610f48576040519150601f19603f3d011682016040523d82523d6000602084013e610f4d565b606091505b50505050565b610f5b611501565b610f656000611e8f565b565b610f6f611501565b6001600160a01b038116610fcf5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b6001600160a01b03166000908152601260205260409020805460ff19169055565b6060600480546109f69061295b565b611007611501565b600081836110158688612ac8565b61101f9190612ac8565b6110299190612ac8565b611034906002612ac8565b9050600a8160ff1611156110b05760405162461bcd60e51b815260206004820152602a60248201527f4d4c41423a2073656c6c20746178206d757374206e6f7420626520677265617460448201527f6572207468616e2031300000000000000000000000000000000000000000000060648201526084016109ac565b6040518060c0016040528086600a6110c89190612ae1565b60ff1681526020016110db86600a612ae1565b60ff1681526020016110ee85600a612ae1565b60ff16815260200161110184600a612ae1565b60ff1681526014602082015260400161111b83600a612ae1565b60ff908116909152815160088054602085015160408601516060870151608088015160a09098015195871661ffff1990941693909317610100928716929092029190911763ffff00001916620100009186169190910263ff000000191617630100000091851691909102177fffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffffffff16640100000000948416949094027fffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffff16939093176501000000000091909216021790555050505050565b6111f9611501565b6011805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156112a95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109ac565b610c65828686840361155b565b6112be611501565b6001600160a01b03811661131e5760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600033610a8781858561173f565b61136e611501565b60148160ff1611156113c25760405162461bcd60e51b815260206004820152601660248201527f4d4c41423a206d617820646973747269627574696f6e0000000000000000000060448201526064016109ac565b600f805460ff191660ff92909216919091179055565b6113e0611501565b6001600160a01b0381166114405760405162461bcd60e51b815260206004820152602160248201527f4d4c41423a20616464726573732063616e6e6f742062652030206164647265736044820152607360f81b60648201526084016109ac565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b61146c611501565b600e55565b611479611501565b6001600160a01b0381166114f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109ac565b6114fe81611e8f565b50565b6005546001600160a01b03163314610f655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109ac565b6001600160a01b0383166115d65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0382166116525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610f4d57818110156117325760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109ac565b610f4d848484840361155b565b6001600160a01b0383166117ba5760405162461bcd60e51b8152602060048201526024808201527f4d4c41423a207472616e736665722066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0382166118365760405162461bcd60e51b815260206004820152602260248201527f4d4c41423a207472616e7366657220746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b80611856846001600160a01b031660009081526020819052604090205490565b10156118ca5760405162461bcd60e51b815260206004820152602560248201527f4d4c41423a207472616e7366657220616d6f756e74206578636565647320626160448201527f6c616e636500000000000000000000000000000000000000000000000000000060648201526084016109ac565b7f00000000000000000000000026412e8a6211afdbcaca8d1b932ac3050dbf41946001600160a01b0316836001600160a01b0316148061193b57507f00000000000000000000000026412e8a6211afdbcaca8d1b932ac3050dbf41946001600160a01b0316826001600160a01b0316145b801561194a575060075460ff16155b15611e7f577f00000000000000000000000026412e8a6211afdbcaca8d1b932ac3050dbf41946001600160a01b0316826001600160a01b0316148015611992575060115460ff165b156119b75760105430600090815260208190526040902054106119b7576119b7611ef9565b600f5460009060ff1667ffffffffffffffff8111156119d8576119d8612b17565b604051908082528060200260200182016040528015611a01578160200160208202803683370190505b50600f5490915060009060ff1667ffffffffffffffff811115611a2657611a26612b17565b604051908082528060200260200182016040528015611a4f578160200160208202803683370190505b5090506000805b600f5460ff16811015611cbb57600e54600d541115611ca457600f546101f461010090910461ffff161015611abe57600f8054610100900461ffff16906001611a9e83612b2d565b91906101000a81548161ffff021916908361ffff16021790555050611aeb565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff166101001790555b600f546040517f6352211e00000000000000000000000000000000000000000000000000000000815261010090910461ffff1660048201526000907f000000000000000000000000e6fbd188ffc0604e7aa3290c303c9dc11ec98d536001600160a01b031690636352211e90602401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190612b4e565b90506000816001600160a01b03163b11611c9e57600e546040516000916001600160a01b038416918381818185875af1925050503d8060008114611bfb576040519150601f19603f3d011682016040523d82523d6000602084013e611c00565b606091505b505090508015611c9c5783611c1457600193505b600e54600d6000828254611c289190612b04565b92505081905550600f60019054906101000a900461ffff16868481518110611c5257611c52612b6b565b602002602001019061ffff16908161ffff168152505081858481518110611c7b57611c7b612b6b565b60200260200101906001600160a01b031690816001600160a01b0316815250505b505b50611ca9565b611cbb565b80611cb381612b81565b915050611a56565b508015611d00577fb4a15e52fcc3ae2a479f9a5471d0a8646163b7ad1443ac05b278a4c832d95d748284600e54604051611cf793929190612bdf565b60405180910390a15b6001600160a01b038616600090815260126020526040902054849060ff1680611d4157506001600160a01b03861660009081526012602052604090205460ff165b611e6b57600754610100900460ff16611d9c5760405162461bcd60e51b815260206004820152601860248201527f4d4c41423a20746f6b656e206e6f74206c61756e63686564000000000000000060448201526064016109ac565b60007f00000000000000000000000026412e8a6211afdbcaca8d1b932ac3050dbf41946001600160a01b0316876001600160a01b031603611dec575060095465010000000000900460ff16611e36565b7f00000000000000000000000026412e8a6211afdbcaca8d1b932ac3050dbf41946001600160a01b0316886001600160a01b031603611e36575060085465010000000000900460ff165b60006103e8611e458389612a9e565b611e4f9190612c59565b9050611e5b8184612b04565b9250611e6889308361225d565b50505b611e7687878361225d565b50505050505050565b611e8a83838361225d565b505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007805460ff19166001179055600954600854600091611f2d91650100000000009182900460ff9081169290910416612ac8565b600954600854919250600091611f559160ff6301000000918290048116929190910416612ac8565b600954600854919250600091611f719160ff9081169116612ac8565b6008549091506000906301000000900460ff16151580611f9c57506009546301000000900460ff1615155b15611fcf578360ff168360ff16601054611fb69190612a9e565b611fc09190612c59565b9050611fcf3061dead8361225d565b600060028560ff168460ff16601054611fe89190612a9e565b611ff29190612c59565b611ffc9190612c59565b905061201f82826010546120109190612b04565b61201a9190612b04565b61244a565b6000600d544761202f9190612b04565b905060008561203f600287612c6d565b6120499089612c8f565b6120539190612c8f565b60095460085460ff928316935060009261207892610100908190048216920416612ac8565b60ff16111561210d57600a546009546008546001600160a01b039092169183916120b19160ff6101009283900481169290910416612ac8565b6120be9060ff1685612a9e565b6120c89190612c59565b604051600081818185875af1925050503d8060008114612104576040519150601f19603f3d011682016040523d82523d6000602084013e612109565b606091505b5050505b6009546008546000916121309160ff620100009283900481169290910416612ac8565b60ff1611156121c657600b546009546008546001600160a01b0390921691839161216a9160ff620100009283900481169290910416612ac8565b6121779060ff1685612a9e565b6121819190612c59565b604051600081818185875af1925050503d80600081146121bd576040519150601f19603f3d011682016040523d82523d6000602084013e6121c2565b606091505b5050505b60095460085482916121ea9160ff6401000000009283900481169290910416612ac8565b6121f79060ff1684612a9e565b6122019190612c59565b600d60008282546122129190612ab5565b9091555050821561224a5761224a8360028361223160ff8a1687612a9e565b61223b9190612c59565b6122459190612c59565b61263a565b50506007805460ff191690555050505050565b6001600160a01b0383166122d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b0382166123555760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b038316600090815260208190526040902054818110156123e45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109ac565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f4d565b6007805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061248c5761248c612b6b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561250a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252e9190612b4e565b8160018151811061254157612541612b6b565b60200260200101906001600160a01b031690816001600160a01b03168152505061258c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461155b565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906125fa908590600090869030904290600401612ca8565b600060405180830381600087803b15801561261457600080fd5b505af1158015612628573d6000803e3d6000fd5b50506007805460ff1916905550505050565b6007805460ff19166001179055612672307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461155b565b600c546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af115801561271a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061273f9190612ce4565b50506007805460ff19169055505050565b600060208083528351808285015260005b8181101561277d57858101830151858201604001528201612761565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b03811681146114fe57600080fd5b600080604083850312156127e457600080fd5b82356127ef816127bc565b946020939093013593505050565b60006020828403121561280f57600080fd5b813561281a816127bc565b9392505050565b60006020828403121561283357600080fd5b5035919050565b60008060006060848603121561284f57600080fd5b833561285a816127bc565b9250602084013561286a816127bc565b929592945050506040919091013590565b803560ff8116811461288c57600080fd5b919050565b600080600080608085870312156128a757600080fd5b6128b08561287b565b93506128be6020860161287b565b92506128cc6040860161287b565b91506128da6060860161287b565b905092959194509250565b6000602082840312156128f757600080fd5b8135801515811461281a57600080fd5b60006020828403121561291957600080fd5b61281a8261287b565b6000806040838503121561293557600080fd5b8235612940816127bc565b91506020830135612950816127bc565b809150509250929050565b600181811c9082168061296f57607f821691505b60208210810361298f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156129e65781600019048211156129cc576129cc612995565b808516156129d957918102915b93841c93908002906129b0565b509250929050565b6000826129fd57506001610a8d565b81612a0a57506000610a8d565b8160018114612a205760028114612a2a57612a46565b6001915050610a8d565b60ff841115612a3b57612a3b612995565b50506001821b610a8d565b5060208310610133831016604e8410600b8410161715612a69575081810a610a8d565b612a7383836129ab565b8060001904821115612a8757612a87612995565b029392505050565b600061281a60ff8416836129ee565b8082028115828204841417610a8d57610a8d612995565b80820180821115610a8d57610a8d612995565b60ff8181168382160190811115610a8d57610a8d612995565b60ff8181168382160290811690818114612afd57612afd612995565b5092915050565b81810381811115610a8d57610a8d612995565b634e487b7160e01b600052604160045260246000fd5b600061ffff808316818103612b4457612b44612995565b6001019392505050565b600060208284031215612b6057600080fd5b815161281a816127bc565b634e487b7160e01b600052603260045260246000fd5b60006000198203612b9457612b94612995565b5060010190565b600081518084526020808501945080840160005b83811015612bd45781516001600160a01b031687529582019590820190600101612baf565b509495945050505050565b606081526000612bf26060830186612b9b565b82810360208481019190915285518083528682019282019060005b81811015612c2d57845161ffff1683529383019391830191600101612c0d565b5050809350505050826040830152949350505050565b634e487b7160e01b600052601260045260246000fd5b600082612c6857612c68612c43565b500490565b600060ff831680612c8057612c80612c43565b8060ff84160491505092915050565b60ff8281168282160390811115610a8d57610a8d612995565b85815284602082015260a060408201526000612cc760a0830186612b9b565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215612cf957600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212207052147ea95a2e1d1320b4d32c37bc19d99cd879fdb6514a0bd1fb7a5a9e6d2364736f6c63430008110033

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

000000000000000000000000476655221ef077a12e9be0c8da17322c2728ac5b000000000000000000000000d91c4fee7f99a4d25fc57a16177de3e2642a6df0000000000000000000000000454330fe8ee8857df46ed124cf00eb26159a3dbb000000000000000000000000e6fbd188ffc0604e7aa3290c303c9dc11ec98d53

-----Decoded View---------------
Arg [0] : _treasuryWallet (address): 0x476655221EF077a12E9BE0c8DA17322C2728aC5B
Arg [1] : _teamWallet (address): 0xD91C4Fee7f99A4d25fc57a16177DE3E2642A6df0
Arg [2] : _liqWallet (address): 0x454330FE8eE8857DF46ed124Cf00eB26159a3dbb
Arg [3] : nftAddress (address): 0xE6FBD188fFc0604E7Aa3290C303C9Dc11ec98D53

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000476655221ef077a12e9be0c8da17322c2728ac5b
Arg [1] : 000000000000000000000000d91c4fee7f99a4d25fc57a16177de3e2642a6df0
Arg [2] : 000000000000000000000000454330fe8ee8857df46ed124cf00eb26159a3dbb
Arg [3] : 000000000000000000000000e6fbd188ffc0604e7aa3290c303c9dc11ec98d53


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.