S Price: $0.491641 (-2.81%)

Token

Meow (MEOW)

Overview

Max Total Supply

76,175,471.9473979252373739 MEOW

Holders

236

Market

Price

$0.00 @ 0.000000 S

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
31,570,852.259471799579891265 MEOW

Value
$0.00
0x75e92dc641ce13f16d7e18fcd1fb86da5e6c198c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
MEOW

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1088888 runs

Other Settings:
paris EvmVersion
File 1 of 12 : MEOW.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./interfaces/IMEOW.sol";

contract MEOW is ERC20, AccessControl, IMEOW {
    /*//////////////////////////////////////////////////////////////
                                CONSTANTS
    //////////////////////////////////////////////////////////////*/

    bytes32 public constant CONTROLLER_ROLE = keccak256("CONTROLLER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    uint256 private constant INITIAL_SUPPLY = 22_000_000 ether;
    uint256 private constant MAX_BPS = 10_000;

    /*//////////////////////////////////////////////////////////////
                                 ERRORS
    //////////////////////////////////////////////////////////////*/

    error TradingAlreadyEnabled();
    error TradingNotEnabled();
    error InvalidNFTAddress();
    error OnlyNFTHoldersCanTrade();
    error WalletLimitReached();
    error InvalidPercentage();
    error InvalidDuration();

    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event TradingEnabled(uint256 timestamp);
    event NFTUpdated(address indexed oldNFT, address indexed newNFT);
    event WhitelistDurationUpdated(uint256 oldDuration, uint256 newDuration);
    event MaxWalletPercentageUpdated(uint256 oldPercentage, uint256 newPercentage);

    /*//////////////////////////////////////////////////////////////
                                 STORAGE
    //////////////////////////////////////////////////////////////*/

    bool public tradingEnabled;
    uint256 public whitelistStartTime;
    uint256 public whitelistDuration = 15 minutes;
    uint256 public maxWalletPercentage = 100;

    IERC721 public immutable nft;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address _treasury, address _nft) ERC20("Meow", "MEOW") {
        if (_treasury == address(0) || _nft == address(0)) revert InvalidNFTAddress();

        _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _grantRole(CONTROLLER_ROLE, _msgSender());
        _grantRole(CONTROLLER_ROLE, _treasury);
        _grantRole(DEFAULT_ADMIN_ROLE, _treasury);
        _grantRole(MINTER_ROLE, _treasury);

        nft = IERC721(_nft);
        _mint(_treasury, INITIAL_SUPPLY);
    }

    function setTradingEnabled() external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (tradingEnabled) revert TradingAlreadyEnabled();

        tradingEnabled = true;
        whitelistStartTime = block.timestamp;

        emit TradingEnabled(block.timestamp);
    }

    function setWhitelistDuration(uint256 _duration) external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (tradingEnabled) revert TradingAlreadyEnabled();
        if (_duration == 0) revert InvalidDuration();

        uint256 oldDuration = whitelistDuration;
        whitelistDuration = _duration;

        emit WhitelistDurationUpdated(oldDuration, _duration);
    }

    function setMaxWalletPercentage(uint256 _percentage) external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (tradingEnabled) revert TradingAlreadyEnabled();
        if (_percentage == 0 || _percentage > MAX_BPS) revert InvalidPercentage();

        uint256 oldPercentage = maxWalletPercentage;
        maxWalletPercentage = _percentage;

        emit MaxWalletPercentageUpdated(oldPercentage, _percentage);
    }

    function mint(address to, uint256 amount) external override onlyRole(MINTER_ROLE) {
        _mint(to, amount);
    }

    function burn(address from, uint256 amount) external override onlyRole(MINTER_ROLE) {
        _burn(from, amount);
    }

    function _update(address from, address to, uint256 value) internal virtual override {
        // Allow the transaction if either address has the CONTROLLER_ROLE,
        // or if either address is the zero address.
        if (hasRole(CONTROLLER_ROLE, from) || hasRole(CONTROLLER_ROLE, to) || from == address(0) || to == address(0)) {
            super._update(from, to, value);
            return;
        }

        if (!tradingEnabled) revert TradingNotEnabled();

        // During the whitelist period, only NFT holders can trade
        if (block.timestamp < whitelistStartTime + whitelistDuration) {
            if (nft.balanceOf(from) == 0 && nft.balanceOf(to) == 0) revert OnlyNFTHoldersCanTrade();

            uint256 maxWalletAmount = (totalSupply() * maxWalletPercentage) / MAX_BPS;
            if (balanceOf(to) + value > maxWalletAmount) revert WalletLimitReached();
        }

        super._update(from, to, value);
    }
}

File 2 of 12 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)

pragma solidity ^0.8.20;

import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}

File 3 of 12 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)

pragma solidity ^0.8.20;

/**
 * @dev External interface of AccessControl declared to support ERC-165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).
     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

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

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

        emit Transfer(from, to, value);
    }

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

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

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

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

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

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

pragma solidity ^0.8.20;

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

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 7 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

File 8 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC-721 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 ERC-721 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 ERC-721
     * 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 address zero.
     *
     * 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 9 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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

File 10 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 11 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * 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[ERC 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 12 of 12 : IMEOW.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IMEOW is IERC20 {
    function mint(address to, uint256 amount) external;

    function burn(address from, uint256 amount) external;
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_nft","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"InvalidDuration","type":"error"},{"inputs":[],"name":"InvalidNFTAddress","type":"error"},{"inputs":[],"name":"InvalidPercentage","type":"error"},{"inputs":[],"name":"OnlyNFTHoldersCanTrade","type":"error"},{"inputs":[],"name":"TradingAlreadyEnabled","type":"error"},{"inputs":[],"name":"TradingNotEnabled","type":"error"},{"inputs":[],"name":"WalletLimitReached","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"MaxWalletPercentageUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldNFT","type":"address"},{"indexed":true,"internalType":"address","name":"newNFT","type":"address"}],"name":"NFTUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TradingEnabled","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDuration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"WhitelistDurationUpdated","type":"event"},{"inputs":[],"name":"CONTROLLER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"setMaxWalletPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTradingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setWhitelistDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a0604090808252346200041657818162002a3580380380916200002482856200044d565b83398101031262000416576200003a8162000471565b906200004a602080920162000471565b835162000057816200041b565b600492838252634d656f7760e01b8183015285519062000077826200041b565b848252634d454f5760e01b8183015282516001600160401b039283821162000401576003928354926001968785811c95168015620003f6575b83861014620003e1578190601f958681116200038b575b508390868311600114620003245760009262000318575b505060001982871b1c191690871b1784555b8151948511620003035787548681811c91168015620002f8575b82821014620002e35783811162000298575b50809285116001146200022a57509383949184926000956200021e575b50501b92600019911b1c19161782555b61038460085560646009556001600160a01b03838116159182801562000213575b62000203576200017a3362000486565b50620001863362000507565b50620001928562000507565b506200019e8562000486565b50620001aa8562000588565b5016608052620001ec5750620001c09062000626565b5161206c908162000969823960805181818161094d01528181611596015281816118b60152611b790152f35b602490600084519163ec442f0560e01b8352820152fd5b85516363cf3fad60e11b81528490fd5b50818116156200016a565b01519350388062000139565b92919084601f1981168960005285600020956000905b898383106200027d575050501062000262575b50505050811b01825562000149565b01519060f884600019921b161c191690553880808062000253565b85870151895590970196948501948893509081019062000240565b88600052816000208480880160051c820192848910620002d9575b0160051c019087905b828110620002cc5750506200011c565b60008155018790620002bc565b92508192620002b3565b602289634e487b7160e01b6000525260246000fd5b90607f16906200010a565b604188634e487b7160e01b6000525260246000fd5b015190503880620000de565b90899350601f1983169188600052856000209260005b878282106200037457505084116200035b575b505050811b018455620000f0565b015160001983891b60f8161c191690553880806200034d565b8385015186558d979095019493840193016200033a565b90915086600052836000208680850160051c820192868610620003d7575b918b91869594930160051c01915b828110620003c7575050620000c7565b600081558594508b9101620003b7565b92508192620003a9565b60228a634e487b7160e01b6000525260246000fd5b94607f1694620000b0565b604187634e487b7160e01b6000525260246000fd5b600080fd5b604081019081106001600160401b038211176200043757604052565b634e487b7160e01b600052604160045260246000fd5b601f909101601f19168101906001600160401b038211908210176200043757604052565b51906001600160a01b03821682036200041657565b6001600160a01b031660008181527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205490919060ff16620005035781805260056020526040822081835260205260408220600160ff198254161790553391600080516020620029d58339815191528180a4600190565b5090565b6001600160a01b0316600081815260008051602062002a158339815191526020526040812054909190600080516020620029f58339815191529060ff16620005835780835260056020526040832082845260205260408320600160ff19825416179055600080516020620029d5833981519152339380a4600190565b505090565b6001600160a01b031660008181527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260408120549091907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69060ff16620005835780835260056020526040832082845260205260408320600160ff19825416179055600080516020620029d5833981519152339380a4600190565b600080805260008051602062002a1583398151915260209081527fc0fc7a166fddea797a07efc402ab6f67a9dad9c475983338773b8873f4036ee354909160409160ff16600080516020620029f583398151915281156200089f575b50801562000896575b801562000884575b620006bc5760ff6006541615620008735760075460085481018091116200085f574210620006cc575b505050620006ca90620008c5565b565b60018060a01b0380608051169383516370a0823160e01b90818152828160248160049a898c8301525afa908115620008555785916200081e575b50159081620007a8575b50620007985760025491600954928381029381850414901517156200078557908391871682525282822054916a1232ae63c59c6bd60000008301809311620007725750612710900410620007655780620006bc565b5163426d5b2360e11b8152fd5b634e487b7160e01b815260118552602490fd5b634e487b7160e01b845260118652602484fd5b50505051637023065d60e11b8152fd5b90508183608051169160248751809481938252878c168b8301525afa90811562000814578491620007dd575b50153862000710565b90508181813d83116200080c575b620007f781836200044d565b8101031262000808575138620007d4565b8380fd5b503d620007eb565b85513d86823e3d90fd5b90508281813d83116200084d575b6200083881836200044d565b810103126200084957513862000706565b8480fd5b503d6200082c565b86513d87823e3d90fd5b634e487b7160e01b82526011600452602482fd5b81516312f1f92360e01b8152600490fd5b506001600160a01b0384161562000693565b5060016200068b565b825250600583528181206001600160a01b038516825283528181205460ff163862000682565b6002546a1232ae63c59c6bd60000009182820180921162000952576002919091556001600160a01b0316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602090846200093c576a1232ae63c59c6bd5ffffff19600254016002555b604051908152a3565b8484528382526040842081815401905562000933565b634e487b7160e01b600052601160045260246000fdfe608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610fce5750816306fdde0314610e84578163092c5b3b14610e2b578163095ea7b314610d2657816318160ddd14610ce957816323b872dd14610b5f578163248a9ca314610b165781632f2ff15d14610ace578163313ce56714610a9457816336568abe14610a0a57816340c10f191461097157816347ccca02146109025781634ada218b146108c0578163599ca3971461088357816370a08231146108225781637a845ece1461076357816391d14854146106f25781639292caaf146106b557816395d89b411461055d5781639dc29fac146104c1578163a217fddf14610488578163a825a99c146103db578163a9059cbb1461038c578163d539139314610333578163d547741f146102d5578163dd62ed3e14610261578163e156afd514610198575063ec3a1d4b1461015957600080fd5b3461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906008549051908152f35b5080fd5b90503461025d57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d576101d06111ce565b6006549060ff821661023657507fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e9239160017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0060209316176006554260075551428152a180f35b82517fd723eaba000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b50503461019457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194578060209261029d6110f0565b6102a5611118565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b9190503461025d57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5761032f913561032a6001610318611118565b93838752600560205286200154611208565b6112da565b5080f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457602090517f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68152f35b50503461019457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906103d46103ca6110f0565b60243590336113ed565b5160018152f35b90503461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d578035906104176111ce565b60ff600654166102365781156104615750907f4f0dea89e00eadc1fa0ebb00fb2160376d0606e857616010109baaaf206b4b3091600854908060085582519182526020820152a180f35b82517f76166401000000000000000000000000000000000000000000000000000000008152fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101945751908152602090f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d576104f96110f0565b9161050261113b565b73ffffffffffffffffffffffffffffffffffffffff83161561052e578361052b602435856117f3565b80f35b908360249251917f96c6fd1e000000000000000000000000000000000000000000000000000000008352820152fd5b83833461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457805191809380549160019083821c928285169485156106ab575b602095868610811461067f5785895290811561063d57506001146105e5575b6105e187876105d7828c038361137d565b519182918261108a565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061062a57505050826105e1946105d7928201019486806105c6565b805486850188015292860192810161060c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168887015250505050151560051b83010192506105d7826105e186806105c6565b6024846022857f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f16936105a7565b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906007549051908152f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d578160209360ff92610731611118565b903582526005865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b90503461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5780359061079f6111ce565b60ff600654166102365781158015610817575b6107f05750907facf7f00117b86cf8e31182592de92fcde677d435d27ce22ae080a4fc73ef95a291600954908060095582519182526020820152a180f35b82517f1f3b85d3000000000000000000000000000000000000000000000000000000008152fd5b5061271082116107b2565b5050346101945760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194578060209273ffffffffffffffffffffffffffffffffffffffff6108746110f0565b16815280845220549051908152f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906009549051908152f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101945760209060ff6006541690519015158152f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d576109a96110f0565b916109b261113b565b73ffffffffffffffffffffffffffffffffffffffff8316156109db578361052b602435856114bc565b908360249251917fec442f05000000000000000000000000000000000000000000000000000000008352820152fd5b83833461019457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457610a42611118565b903373ffffffffffffffffffffffffffffffffffffffff831603610a6c575061032f9192356112da565b8390517f6697b232000000000000000000000000000000000000000000000000000000008152fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020905160128152f35b9190503461025d57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5761032f9135610b116001610318611118565b61122e565b90503461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5781602093600192358152600585522001549051908152f35b90508234610ce65760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610ce657610b996110f0565b610ba1611118565b916044359373ffffffffffffffffffffffffffffffffffffffff8316808352600160205286832033845260205286832054917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8310610c09575b6020886103d48989896113ed565b868310610ca1578115610c72573315610c43575082526001602090815286832033845281529186902090859003905582906103d487610bfb565b602490848951917f94280d62000000000000000000000000000000000000000000000000000000008352820152fd5b602490848951917fe602df05000000000000000000000000000000000000000000000000000000008352820152fd5b87517ffb8f41b2000000000000000000000000000000000000000000000000000000008152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906002549051908152f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d57610d5e6110f0565b602435903315610dfc5773ffffffffffffffffffffffffffffffffffffffff16918215610dcd57508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b602490858551917f94280d62000000000000000000000000000000000000000000000000000000008352820152fd5b602483868651917fe602df05000000000000000000000000000000000000000000000000000000008352820152fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457602090517f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233578152f35b9190503461025d57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d57805191836003549060019082821c928281168015610fc4575b6020958686108214610f985750848852908115610f585750600114610eff575b6105e186866105d7828b038361137d565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610f4557505050826105e1946105d7928201019438610eee565b8054868501880152928601928101610f28565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687860152505050151560051b83010192506105d7826105e138610eee565b8360226024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f1693610ece565b84913461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d57357fffffffff00000000000000000000000000000000000000000000000000000000811680910361025d57602092507f7965db0b000000000000000000000000000000000000000000000000000000008114908115611060575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483611059565b60208082528251818301819052939260005b8581106110dc575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b81810183015184820160400152820161109c565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361111357565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361111357565b3360009081527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260409020547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69060ff16156111975750565b604490604051907fe2517d3f0000000000000000000000000000000000000000000000000000000082523360048301526024820152fd5b3360009081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205460ff16156111975750565b80600052600560205260406000203360005260205260ff60406000205416156111975750565b90600091808352600560205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff604084205416156000146112d5578083526005602052604083208284526020526040832060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b90600091808352600560205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff6040842054166000146112d557808352600560205260408320828452602052604083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176113be57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b919073ffffffffffffffffffffffffffffffffffffffff8084161561144f5781161561141e5761141c92611ab6565b565b60246040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152fd5b9190820180921161148d57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008080527fb28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf9160209081527fc0fc7a166fddea797a07efc402ab6f67a9dad9c475983338773b8873f4036ee354604095949392919060ff167f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c57022335781156117c1575b5080156117b9575b801561179b575b6115705760ff60065416156117725761156960075460085490611480565b421061157d575b505061141c929350611d79565b73ffffffffffffffffffffffffffffffffffffffff90817f0000000000000000000000000000000000000000000000000000000000000000168751907f70a0823100000000000000000000000000000000000000000000000000000000918281528560048201528381602481855afa908115611768579084918791611735575b501592836116ca575b5050506116a15760025491600954928381029381850414901517156116745761271061163f938588948b94891682525204932054611480565b1161164b578380611570565b600484517f84dab646000000000000000000000000000000000000000000000000000000008152fd5b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b600487517fe0460cba000000000000000000000000000000000000000000000000000000008152fd5b9091925060248a51809481938252878a1660048301525afa90811561172b5784916116fa575b5015388281611606565b90508181813d8311611724575b611711818361137d565b810103126117205751386116f0565b8380fd5b503d611707565b88513d86823e3d90fd5b82819392503d8311611761575b61174c818361137d565b8101031261175d57839051386115fd565b8580fd5b503d611742565b8a513d88823e3d90fd5b600486517f12f1f923000000000000000000000000000000000000000000000000000000008152fd5b5073ffffffffffffffffffffffffffffffffffffffff83161561154b565b506001611544565b8352506005815285822073ffffffffffffffffffffffffffffffffffffffff8416835281528582205460ff163861153c565b73ffffffffffffffffffffffffffffffffffffffff80821660008181527fb28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf9160209081526040808320549097969594929391929060ff167f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233578115611a9a575b508015611a92575b8015611a8a575b6118a55760ff6006541615611a615761189e60075460085490611480565b42106118b4575b5050505061141c929350611df4565b7f00000000000000000000000000000000000000000000000000000000000000001687517f70a08231000000000000000000000000000000000000000000000000000000009283825260048201528381602481855afa908115611a57579084918691611a24575b501592836119bf575b505050611996576002549060095491828102928184041490151715611969578661271061195b938588948180525204932054611480565b1161164b57838080806118a5565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b600486517fe0460cba000000000000000000000000000000000000000000000000000000008152fd5b90919250602489518094819382528760048301525afa908115611a1a5783916119ed575b5015388281611924565b90508181813d8311611a13575b611a04818361137d565b8101031261025d5751386119e3565b503d6119fa565b87513d85823e3d90fd5b82819392503d8311611a50575b611a3b818361137d565b81010312611a4c578390513861191b565b8480fd5b503d611a31565b89513d87823e3d90fd5b600488517f12f1f923000000000000000000000000000000000000000000000000000000008152fd5b506001611880565b508115611879565b8552506005835287842084805283528784205460ff1638611871565b73ffffffffffffffffffffffffffffffffffffffff80821660008181527fb28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf91602090815260408083205490989796959492939060ff167f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233578115611d5b575b508015611d53575b8015611d49575b611b675760ff6006541615611d2057611b6060075460085490611480565b4210611b76575b5050505061141c939450611f07565b827f00000000000000000000000000000000000000000000000000000000000000001689517f70a08231000000000000000000000000000000000000000000000000000000009283825260048201528381602481855afa908115611d16579084918791611ce7575b50159283611c80575b505050611c5757600254916009549283810293818504149015171561167457612710611c20938589948c948a1682525204932054611480565b11611c2e5784808080611b67565b600485517f84dab646000000000000000000000000000000000000000000000000000000008152fd5b600488517fe0460cba000000000000000000000000000000000000000000000000000000008152fd5b9091925060248b51809481938252878b1660048301525afa908115611cdd578491611cb0575b5015388281611be7565b90508181813d8311611cd6575b611cc7818361137d565b81010312611720575138611ca6565b503d611cbd565b89513d86823e3d90fd5b82819392503d8311611d0f575b611cfe818361137d565b8101031261175d5783905138611bde565b503d611cf4565b8b513d88823e3d90fd5b600489517f12f1f923000000000000000000000000000000000000000000000000000000008152fd5b5082861615611b42565b508015611b3b565b85525060058252888420868416855282528884205460ff1638611b33565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602073ffffffffffffffffffffffffffffffffffffffff600093611dc086600254611480565b600255169384158414611ddf5780600254036002555b604051908152a3565b84845283825260408420818154019055611dd6565b90919073ffffffffffffffffffffffffffffffffffffffff81169081611e5d57507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602084611e4860009596600254611480565b6002555b8060025403600255604051908152a3565b92600082815280602052604081205494828610611eb05750818160407fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9460009798876020965283865203912055611e4c565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9190911660048201526024810186905260448101839052606490fd5b73ffffffffffffffffffffffffffffffffffffffff80821692909183611f8d57507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91602091611f5986600254611480565b6002555b169384611f75578060025403600255604051908152a3565b84600052600082526040600020818154019055611dd6565b60009084825281602052604082205490868210611fde57509181604087602095887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef98965283875203912055611f5d565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602481019190915260448101869052606490fdfea2646970667358221220aa7ce432f9193fd480f538a3eabf6c14e6c7bb5a40df173adcd8bc3e9b52941864736f6c634300081400332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c570223357b28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf910000000000000000000000000a07a94b7092c1fff46d97675ff9c5a450e72c9d0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace9

Deployed Bytecode

0x608060408181526004918236101561001657600080fd5b600092833560e01c91826301ffc9a714610fce5750816306fdde0314610e84578163092c5b3b14610e2b578163095ea7b314610d2657816318160ddd14610ce957816323b872dd14610b5f578163248a9ca314610b165781632f2ff15d14610ace578163313ce56714610a9457816336568abe14610a0a57816340c10f191461097157816347ccca02146109025781634ada218b146108c0578163599ca3971461088357816370a08231146108225781637a845ece1461076357816391d14854146106f25781639292caaf146106b557816395d89b411461055d5781639dc29fac146104c1578163a217fddf14610488578163a825a99c146103db578163a9059cbb1461038c578163d539139314610333578163d547741f146102d5578163dd62ed3e14610261578163e156afd514610198575063ec3a1d4b1461015957600080fd5b3461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906008549051908152f35b5080fd5b90503461025d57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d576101d06111ce565b6006549060ff821661023657507fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e9239160017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0060209316176006554260075551428152a180f35b82517fd723eaba000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b50503461019457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194578060209261029d6110f0565b6102a5611118565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b9190503461025d57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5761032f913561032a6001610318611118565b93838752600560205286200154611208565b6112da565b5080f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457602090517f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68152f35b50503461019457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906103d46103ca6110f0565b60243590336113ed565b5160018152f35b90503461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d578035906104176111ce565b60ff600654166102365781156104615750907f4f0dea89e00eadc1fa0ebb00fb2160376d0606e857616010109baaaf206b4b3091600854908060085582519182526020820152a180f35b82517f76166401000000000000000000000000000000000000000000000000000000008152fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101945751908152602090f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d576104f96110f0565b9161050261113b565b73ffffffffffffffffffffffffffffffffffffffff83161561052e578361052b602435856117f3565b80f35b908360249251917f96c6fd1e000000000000000000000000000000000000000000000000000000008352820152fd5b83833461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457805191809380549160019083821c928285169485156106ab575b602095868610811461067f5785895290811561063d57506001146105e5575b6105e187876105d7828c038361137d565b519182918261108a565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061062a57505050826105e1946105d7928201019486806105c6565b805486850188015292860192810161060c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168887015250505050151560051b83010192506105d7826105e186806105c6565b6024846022857f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f16936105a7565b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906007549051908152f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d578160209360ff92610731611118565b903582526005865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b90503461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5780359061079f6111ce565b60ff600654166102365781158015610817575b6107f05750907facf7f00117b86cf8e31182592de92fcde677d435d27ce22ae080a4fc73ef95a291600954908060095582519182526020820152a180f35b82517f1f3b85d3000000000000000000000000000000000000000000000000000000008152fd5b5061271082116107b2565b5050346101945760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194578060209273ffffffffffffffffffffffffffffffffffffffff6108746110f0565b16815280845220549051908152f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906009549051908152f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101945760209060ff6006541690519015158152f35b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace9168152f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d576109a96110f0565b916109b261113b565b73ffffffffffffffffffffffffffffffffffffffff8316156109db578361052b602435856114bc565b908360249251917fec442f05000000000000000000000000000000000000000000000000000000008352820152fd5b83833461019457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457610a42611118565b903373ffffffffffffffffffffffffffffffffffffffff831603610a6c575061032f9192356112da565b8390517f6697b232000000000000000000000000000000000000000000000000000000008152fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020905160128152f35b9190503461025d57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5761032f9135610b116001610318611118565b61122e565b90503461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d5781602093600192358152600585522001549051908152f35b90508234610ce65760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610ce657610b996110f0565b610ba1611118565b916044359373ffffffffffffffffffffffffffffffffffffffff8316808352600160205286832033845260205286832054917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8310610c09575b6020886103d48989896113ed565b868310610ca1578115610c72573315610c43575082526001602090815286832033845281529186902090859003905582906103d487610bfb565b602490848951917f94280d62000000000000000000000000000000000000000000000000000000008352820152fd5b602490848951917fe602df05000000000000000000000000000000000000000000000000000000008352820152fd5b87517ffb8f41b2000000000000000000000000000000000000000000000000000000008152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610194576020906002549051908152f35b90503461025d57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d57610d5e6110f0565b602435903315610dfc5773ffffffffffffffffffffffffffffffffffffffff16918215610dcd57508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b602490858551917f94280d62000000000000000000000000000000000000000000000000000000008352820152fd5b602483868651917fe602df05000000000000000000000000000000000000000000000000000000008352820152fd5b50503461019457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261019457602090517f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233578152f35b9190503461025d57827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d57805191836003549060019082821c928281168015610fc4575b6020958686108214610f985750848852908115610f585750600114610eff575b6105e186866105d7828b038361137d565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610f4557505050826105e1946105d7928201019438610eee565b8054868501880152928601928101610f28565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687860152505050151560051b83010192506105d7826105e138610eee565b8360226024927f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b93607f1693610ece565b84913461025d5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025d57357fffffffff00000000000000000000000000000000000000000000000000000000811680910361025d57602092507f7965db0b000000000000000000000000000000000000000000000000000000008114908115611060575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483611059565b60208082528251818301819052939260005b8581106110dc575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006040809697860101520116010190565b81810183015184820160400152820161109c565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361111357565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361111357565b3360009081527f15a28d26fa1bf736cf7edc9922607171ccb09c3c73b808e7772a3013e068a52260205260409020547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a69060ff16156111975750565b604490604051907fe2517d3f0000000000000000000000000000000000000000000000000000000082523360048301526024820152fd5b3360009081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc602052604081205460ff16156111975750565b80600052600560205260406000203360005260205260ff60406000205416156111975750565b90600091808352600560205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff604084205416156000146112d5578083526005602052604083208284526020526040832060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b90600091808352600560205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff6040842054166000146112d557808352600560205260408320828452602052604083207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176113be57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b919073ffffffffffffffffffffffffffffffffffffffff8084161561144f5781161561141e5761141c92611ab6565b565b60246040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152fd5b60246040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152fd5b9190820180921161148d57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008080527fb28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf9160209081527fc0fc7a166fddea797a07efc402ab6f67a9dad9c475983338773b8873f4036ee354604095949392919060ff167f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c57022335781156117c1575b5080156117b9575b801561179b575b6115705760ff60065416156117725761156960075460085490611480565b421061157d575b505061141c929350611d79565b73ffffffffffffffffffffffffffffffffffffffff90817f0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace9168751907f70a0823100000000000000000000000000000000000000000000000000000000918281528560048201528381602481855afa908115611768579084918791611735575b501592836116ca575b5050506116a15760025491600954928381029381850414901517156116745761271061163f938588948b94891682525204932054611480565b1161164b578380611570565b600484517f84dab646000000000000000000000000000000000000000000000000000000008152fd5b6024847f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b600487517fe0460cba000000000000000000000000000000000000000000000000000000008152fd5b9091925060248a51809481938252878a1660048301525afa90811561172b5784916116fa575b5015388281611606565b90508181813d8311611724575b611711818361137d565b810103126117205751386116f0565b8380fd5b503d611707565b88513d86823e3d90fd5b82819392503d8311611761575b61174c818361137d565b8101031261175d57839051386115fd565b8580fd5b503d611742565b8a513d88823e3d90fd5b600486517f12f1f923000000000000000000000000000000000000000000000000000000008152fd5b5073ffffffffffffffffffffffffffffffffffffffff83161561154b565b506001611544565b8352506005815285822073ffffffffffffffffffffffffffffffffffffffff8416835281528582205460ff163861153c565b73ffffffffffffffffffffffffffffffffffffffff80821660008181527fb28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf9160209081526040808320549097969594929391929060ff167f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233578115611a9a575b508015611a92575b8015611a8a575b6118a55760ff6006541615611a615761189e60075460085490611480565b42106118b4575b5050505061141c929350611df4565b7f0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace91687517f70a08231000000000000000000000000000000000000000000000000000000009283825260048201528381602481855afa908115611a57579084918691611a24575b501592836119bf575b505050611996576002549060095491828102928184041490151715611969578661271061195b938588948180525204932054611480565b1161164b57838080806118a5565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b600486517fe0460cba000000000000000000000000000000000000000000000000000000008152fd5b90919250602489518094819382528760048301525afa908115611a1a5783916119ed575b5015388281611924565b90508181813d8311611a13575b611a04818361137d565b8101031261025d5751386119e3565b503d6119fa565b87513d85823e3d90fd5b82819392503d8311611a50575b611a3b818361137d565b81010312611a4c578390513861191b565b8480fd5b503d611a31565b89513d87823e3d90fd5b600488517f12f1f923000000000000000000000000000000000000000000000000000000008152fd5b506001611880565b508115611879565b8552506005835287842084805283528784205460ff1638611871565b73ffffffffffffffffffffffffffffffffffffffff80821660008181527fb28a17c5faa478ed46764e86e35c9c6589d838622baf0b86f8d835c1237edf91602090815260408083205490989796959492939060ff167f7b765e0e932d348852a6f810bfa1ab891e259123f02db8cdcde614c5702233578115611d5b575b508015611d53575b8015611d49575b611b675760ff6006541615611d2057611b6060075460085490611480565b4210611b76575b5050505061141c939450611f07565b827f0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace91689517f70a08231000000000000000000000000000000000000000000000000000000009283825260048201528381602481855afa908115611d16579084918791611ce7575b50159283611c80575b505050611c5757600254916009549283810293818504149015171561167457612710611c20938589948c948a1682525204932054611480565b11611c2e5784808080611b67565b600485517f84dab646000000000000000000000000000000000000000000000000000000008152fd5b600488517fe0460cba000000000000000000000000000000000000000000000000000000008152fd5b9091925060248b51809481938252878b1660048301525afa908115611cdd578491611cb0575b5015388281611be7565b90508181813d8311611cd6575b611cc7818361137d565b81010312611720575138611ca6565b503d611cbd565b89513d86823e3d90fd5b82819392503d8311611d0f575b611cfe818361137d565b8101031261175d5783905138611bde565b503d611cf4565b8b513d88823e3d90fd5b600489517f12f1f923000000000000000000000000000000000000000000000000000000008152fd5b5082861615611b42565b508015611b3b565b85525060058252888420868416855282528884205460ff1638611b33565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602073ffffffffffffffffffffffffffffffffffffffff600093611dc086600254611480565b600255169384158414611ddf5780600254036002555b604051908152a3565b84845283825260408420818154019055611dd6565b90919073ffffffffffffffffffffffffffffffffffffffff81169081611e5d57507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602084611e4860009596600254611480565b6002555b8060025403600255604051908152a3565b92600082815280602052604081205494828610611eb05750818160407fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9460009798876020965283865203912055611e4c565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9190911660048201526024810186905260448101839052606490fd5b73ffffffffffffffffffffffffffffffffffffffff80821692909183611f8d57507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91602091611f5986600254611480565b6002555b169384611f75578060025403600255604051908152a3565b84600052600082526040600020818154019055611dd6565b60009084825281602052604082205490868210611fde57509181604087602095887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef98965283875203912055611f5d565b6040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602481019190915260448101869052606490fdfea2646970667358221220aa7ce432f9193fd480f538a3eabf6c14e6c7bb5a40df173adcd8bc3e9b52941864736f6c63430008140033

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

0000000000000000000000000a07a94b7092c1fff46d97675ff9c5a450e72c9d0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace9

-----Decoded View---------------
Arg [0] : _treasury (address): 0x0a07a94B7092c1FFF46d97675ff9C5a450e72C9d
Arg [1] : _nft (address): 0x6cEbCFEc635424F062161c8ef05e3c9cF9CBAcE9

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000a07a94b7092c1fff46d97675ff9c5a450e72c9d
Arg [1] : 0000000000000000000000006cebcfec635424f062161c8ef05e3c9cf9cbace9


[ 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.