ETH Price: $3,487.55 (+2.32%)

Token

NStandardPassport (NSP)
 

Overview

Max Total Supply

277 NSP

Holders

277

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 NSP
0xf0a1b397ddc47522fb69b466db9d1922f8148a02
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x4CC8DAE9...b850EC3Af
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
NPassport

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 15 : n-passport.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract NPassport is AccessControl, ERC721, Ownable, Pausable {
    bytes32 public constant ADMIN = "ADMIN";
    uint256 public subscribeTermSec = 180 days;

    address public withdrawAddress;
    string public baseURI;
    string public baseExtension;
    bytes32 merkleRoot;
    uint256 public totalSupply = 0;

    // Plan
    uint8 public planNoForPublic;
    uint8 public planNoForAllowlist;
    mapping(uint8 => uint256) public planCosts;

    // PassportInfo
    struct PassportInfo {
        uint256 tokenId;
        uint8 planNo;
        uint256 expiredTimestamp;
    }
    mapping(address => PassportInfo) passportInfoByAddress;

    // Constructor
    constructor(string memory _name, string memory _symbol, address _withdrawAddress) ERC721(_name, _symbol) {
        grantRole(ADMIN, msg.sender);
        withdrawAddress = _withdrawAddress;
    }

    // Event
    event Subscribe(uint256 _tokenId, address _owner, uint8 _planNo, uint256 _value);

    // Modifier
    modifier existsPlan(uint8 planNo) {
        require(planCosts[planNo] > 0, 'Sale Plan Does Not Exist');
        _;
    }
    modifier enoughEth(uint8 planNo) {
        require(msg.value >= planCosts[planNo] , 'Not Enough Eth');
        _;
    }
    modifier doNotHave() {
        require(balanceOf(msg.sender) == 0, 'Already Minted');
        _;
    }
    modifier isTokenOwner(uint256 tokenId) {
        require(ownerOf(tokenId) == msg.sender, "You Are Not Token Owner");
        _;
    }
    modifier isValidProof(bytes32[] calldata merkleProof) {
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verifyCalldata(merkleProof, merkleRoot, node), "Invalid proof");
        _;
    }
    modifier existsPassportInfo(address owner) {
        require(passportInfoByAddress[owner].tokenId > 0, "Passport Info Does Not Exist");
        _;
    }

    // AccessControl
    function grantRole(bytes32 role, address account) public override onlyOwner {
        _grantRole(role, account);
    }
    function revokeRole(bytes32 role, address account) public override onlyOwner {
        _revokeRole(role, account);
    }

    // Pausable
    function pause() external onlyRole(ADMIN) {
        _pause();
    }
    function unpause() external onlyRole(ADMIN) {
        _unpause();
    }

    // Getter
    function getMintCostForPublic() public view returns(uint256) {
        return planCosts[planNoForPublic];
    }
    function getMintCostForAllowlist() public view returns(uint256) {
        return planCosts[planNoForAllowlist];
    }
    function getMintCostForSubscribe(address owner) public view returns(uint256) {
        return planCosts[passportInfoByAddress[owner].planNo];
    }
    function getPassportInfo(address owner) view public returns(PassportInfo memory) {
        return passportInfoByAddress[owner];
    }
    function passportIsValid(address owner) view public returns(bool) {
        return passportInfoByAddress[owner].expiredTimestamp >= block.timestamp;
    }

    // Setter
    function setWithdrawAddress(address _value) public onlyRole(ADMIN) {
        withdrawAddress = _value;
    }
    function setPlanNoForPublic(uint8 _value) public onlyRole(ADMIN) {
        planNoForPublic = _value;
    }
    function setPlanNoForAllowlist(uint8 _value) public onlyRole(ADMIN) {
        planNoForAllowlist = _value;
    }
    function setMintCost(uint8 _planNo, uint256 _cost) public onlyRole(ADMIN) {
        planCosts[_planNo] = _cost;
    }
    function setMerkleRoot(bytes32 _value) public onlyRole(ADMIN) {
        merkleRoot = _value;
    }
    function setSubscribeTermSec(uint256 _value) external onlyRole(ADMIN) {
        subscribeTermSec = _value;
    }
    function setBaseURI(string memory _value) external onlyRole(ADMIN) {
        baseURI = _value;
    }
    function setBaseExtension(string memory _value) external onlyRole(ADMIN) {
        baseExtension = _value;
    }
    function resetBaseExtension() external onlyRole(ADMIN) {
        baseExtension = "";
    }
    function resetExpiredTimestamp(address owner) external onlyRole(ADMIN)
        existsPassportInfo(owner)
    {
        passportInfoByAddress[owner].expiredTimestamp = block.timestamp - 1;
    }

    // Mint
    function mint() external payable
        whenNotPaused
        doNotHave()
        enoughEth(planNoForPublic)
    {
        _mintCommon(msg.sender, planNoForPublic);
    }
    function allowlistMint(bytes32[] calldata merkleProof) external payable
        whenNotPaused
        doNotHave()
        enoughEth(planNoForAllowlist)
        isValidProof(merkleProof)
    {
        _mintCommon(msg.sender, planNoForAllowlist);
    }
    function airdrop(address[] calldata addresses, uint8 planNo) external onlyRole(ADMIN) {
        for (uint256 i = 0; i < addresses.length; i++) {
            if (balanceOf(addresses[i]) == 0) {
                _mintCommon(addresses[i], planNo);
            }
        }
    }
    function _mintCommon(address mintTo, uint8 planNo) private
        existsPlan(planNo)
    {
        uint256 tokenId = totalSupply + 1;
        _safeMint(mintTo, tokenId);
        totalSupply++;
        passportInfoByAddress[mintTo] = PassportInfo(
            tokenId,
            planNo,
            block.timestamp + subscribeTermSec
        );
    }

    // Subscribe
    function subscribe() external payable
        existsPassportInfo(msg.sender)
    {
        if (passportInfoByAddress[msg.sender].expiredTimestamp > block.timestamp) {
            require(msg.value >= planCosts[passportInfoByAddress[msg.sender].planNo] , 'Not Enough Eth');
            passportInfoByAddress[msg.sender].expiredTimestamp += subscribeTermSec;
        } else {
            require(msg.value >= planCosts[planNoForPublic] , 'Not Enough Eth');
            passportInfoByAddress[msg.sender].expiredTimestamp = block.timestamp + subscribeTermSec;
            passportInfoByAddress[msg.sender].planNo = planNoForPublic;
        }
        emit Subscribe(passportInfoByAddress[msg.sender].tokenId, msg.sender, passportInfoByAddress[msg.sender].planNo, msg.value);
    }

    // ERC721
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        return string(abi.encodePacked(baseURI, Strings.toString(tokenId), baseExtension));
    }
    function exists(uint256 tokenId) public view virtual returns (bool) {
        return _exists(tokenId);
    }
    function withdraw() public payable onlyRole(ADMIN) {
        (bool os, ) = payable(withdrawAddress).call{value: address(this).balance}("");
        require(os);
    }

    // SBT
    function setApprovalForAll(address, bool) public virtual override {
        revert("This token is SBT.");
    }
    function approve(address, uint256) public virtual override {
        revert("This token is SBT.");
    }
    function _beforeTokenTransfer(address from, address to, uint256) internal virtual override {
        require(from == address(0) || to == address(0), "This token is SBT");
    }

    // interface
    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC721) returns (bool) {
        return
            ERC721.supportsInterface(interfaceId) ||
            AccessControl.supportsInterface(interfaceId);
    }
}

File 2 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../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:
 *
 * ```
 * 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}:
 *
 * ```
 * 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.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    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 override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @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 override 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 override 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 override 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 `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @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 Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 7 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 8 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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.
     *
     * _Available since v3.1._
     */
    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, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    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 `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

pragma solidity ^0.8.0;

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

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

File 10 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 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);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 14 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint8","name":"_planNo","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Subscribe","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN","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":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"planNo","type":"uint8"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintCostForAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintCostForPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getMintCostForSubscribe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getPassportInfo","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"planNo","type":"uint8"},{"internalType":"uint256","name":"expiredTimestamp","type":"uint256"}],"internalType":"struct NPassport.PassportInfo","name":"","type":"tuple"}],"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"passportIsValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"planCosts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"planNoForAllowlist","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"planNoForPublic","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"resetExpiredTimestamp","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_value","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_planNo","type":"uint8"},{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_value","type":"uint8"}],"name":"setPlanNoForAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_value","type":"uint8"}],"name":"setPlanNoForPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setSubscribeTermSec","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_value","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"subscribe","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"subscribeTermSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6040608081523462000411576200327f90813803806200001f8162000416565b9384398201606083820312620004115782516001600160401b039290838111620004115782620000519186016200043c565b906020928386015185811162000411578291620000709188016200043c565b9501516001600160a01b03958682169591869003620004115783519382851162000326576001948554918683811c9316801562000406575b8884101462000305578190601f93848111620003b0575b50889084831160011462000348576000926200033c575b5050600019600383901b1c191690861b1785555b81519283116200032657600254918583811c931680156200031b575b8784101462000305578282859411620002ac575b5086918311600114620002425760009262000236575b5050600019600383901b1c191690831b176002555b600754815195339082167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600089a36001600160a81b0319163360ff60a01b1981169190911760075562ed4e006008556000600d8190556420a226a4a760d91b8082528186528382209282529185528290205490939060ff1615620001e4575b600980546001600160a01b03191686179055612dbf8681620004c08239f35b8360005260008152816000209033600052526000209060ff19825416179055339033907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d600086a438808080620001c5565b01519050388062000130565b90859350601f198316916002600052876000209260005b898282106200029557505084116200027b575b505050811b0160025562000145565b015160001960f88460031b161c191690553880806200026c565b838501518655899790950194938401930162000259565b909192506002600052866000208380860160051c820192898710620002fb575b91869589929594930160051c01915b828110620002eb5750506200011a565b60008155869550889101620002db565b92508192620002cc565b634e487b7160e01b600052602260045260246000fd5b92607f169262000106565b634e487b7160e01b600052604160045260246000fd5b015190503880620000d6565b90889350601f19831691846000528a6000209260005b8c8282106200039957505084116200037f575b505050811b018555620000ea565b015160001960f88460031b161c1916905538808062000371565b8385015186558c979095019493840193016200035e565b90915087600052886000208480850160051c8201928b8610620003fc575b918a91869594930160051c01915b828110620003ec575050620000bf565b600081558594508a9101620003dc565b92508192620003ce565b92607f1692620000a8565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200032657604052565b81601f8201121562000411578051906001600160401b038211620003265760209062000471601f8401601f1916830162000416565b93838552828483010111620004115782906000905b83838310620004a6575050116200049c57505090565b6000918301015290565b819350828193920101518282880101520183916200048656fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a714611da15750806306fdde0314611cfe578063081812fc14611ce0578063093d381614611c78578063095ea7b314611c1957806311fecb4e1461193e5780631249c58b146118ca5780631341adc0146118965780631581b6001461186f578063174a37281461184b57806318160ddd1461182d57806323acdd68146117fe57806323b872dd146117da578063248a9ca3146117ab5780632a0acc6a146117885780632c65cd54146117525780632f2ff15d146116ae57806336568abe1461160e5780633ab1a494146115cc5780633ccfd60b146115915780633d2493bf146115705780633f4ba83a146114cd57806342842e0e1461149a578063469c02251461144c5780634f558e791461140d578063537924ef146110c45780635468166f1461103657806355f804b314610eef578063560b789114610eaf5780635c975abb14610e895780635f1b1b8614610e105780636352211e14610de15780636c0360eb14610d3b57806370a0823114610d10578063715018a614610cb057806372aba23414610c7e5780637cb6475914610c5d5780638456cb5914610bec5780638da5cb5b14610bc55780638f449a0514610a8c57806391d1485414610a3e57806395d89b4114610998578063a217fddf1461097c578063a22cb46514610912578063a4ca6802146108d5578063b88d4fde1461084f578063c4be715314610813578063c668286214610731578063c87b56dd1461058c578063d547741f14610560578063d6dc6f5514610542578063da3ef23f146103d9578063e985e9c514610382578063ecc70697146103615763f2fde38b1461027c57600080fd5b3461035c57602036600319011261035c57610295611e7f565b61029d6120da565b6001600160a01b038091169081156102f15760009160075491816001600160a01b031984161760075560405192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08484a3f35b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608490fd5b600080fd5b3461035c57602036600319011261035c5761037a6127c9565b600435600855005b3461035c57604036600319011261035c5761039b611e7f565b6103a3611e95565b906001600160a01b03809116600052600660205260406000209116600052602052602060ff604060002054166040519015158152f35b3461035c576103e736611fea565b6103ef6127c9565b805167ffffffffffffffff811161052c5761040b600b54612029565b601f81116104d2575b50602080601f831160011461045157508192600092610446575b50508160011b916000199060031b1c191617600b555b005b01519050828061042e565b90601f19831693600b6000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9926000905b8682106104ba57505083600195106104a1575b505050811b01600b55005b015160001960f88460031b161c19169055828080610496565b80600185968294968601518155019501930190610483565b61051c90600b6000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9601f840160051c81019160208510610522575b601f0160051c0190612b84565b82610414565b909150819061050f565b634e487b7160e01b600052604160045260246000fd5b3461035c57600036600319011261035c576020600854604051908152f35b3461035c57604036600319011261035c5761044461057c611e95565b6105846120da565b600435612063565b3461035c5760208060031936011261035c576105a9600435612cb2565b906040519182826000600a54936105bf85612029565b6001958487821691826000146107125750506001146106b4575b5080826105ea925194859201611e25565b01600090600b54936105fb85612029565b94818116908115610698575060011461063c575b5050610624925003601f198101845283611f75565b610638604051928284938452830190611e5a565b0390f35b939150600b6000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9936000905b8684831061068257505050610624935001858061060f565b865483850152958101958895509091019061066a565b9150506106249491925060ff191682528015150201858061060f565b909150600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8856000915b8383106106f95750505083018201906105ea6105d9565b80548a84018701528996508895909201918791016106e2565b60ff191687820152821515909202860190910192506105ea90506105d9565b3461035c57600036600319011261035c576040516000600b5461075381612029565b808452906001908181169081156107ec5750600114610791575b6106388461077d81860382611f75565b604051918291602083526020830190611e5a565b600b600090815292507f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db95b8284106107d457505050810160200161077d8261076d565b805460208587018101919091529093019281016107bc565b60ff191660208087019190915292151560051b8501909201925061077d915083905061076d565b3461035c57604036600319011261035c5760ff61082e611edc565b6108366127c9565b16600052600f6020526024356040600020556000604051f35b3461035c57608036600319011261035c57610868611e7f565b610870611e95565b906064359060443567ffffffffffffffff831161035c573660238401121561035c57610444936108ad6108d0943690602481600401359101611fb3565b926108c06108bb8433612355565b61226d565b6108cb8383836123cf565b612768565b6122df565b3461035c57602036600319011261035c576108ee611edc565b6108f66127c9565b61ff00600e549160081b169061ff00191617600e556000604051f35b3461035c57604036600319011261035c5761092b611e7f565b506024358015150361035c5760405162461bcd60e51b815260206004820152601260248201527f5468697320746f6b656e206973205342542e00000000000000000000000000006044820152606490fd5b3461035c57600036600319011261035c57602060405160008152f35b3461035c57600036600319011261035c5760405160006002546109ba81612029565b808452906001908181169081156107ec57506001146109e3576106388461077d81860382611f75565b6002600090815292507f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b828410610a2657505050810160200161077d8261076d565b80546020858701810191909152909301928101610a0e565b3461035c57604036600319011261035c57610a57611e95565b60043560005260006020526001600160a01b0360406000209116600052602052602060ff604060002054166040519015158152f35b600036600319011261035c57336000527ff8003d821d733a08b1886da1bfe920806afecc2a49f051a88b3dbb79d59c557f60806010602090808252610ad76040600020541515612b9b565b336000528082526002604060002001544210600014610b6e573360005280825260ff60016040600020015416600052600f8252610b1b604060002054341015612c33565b60085433600052818352610b3860026040600020019182546123c3565b90555b3360005281526040600020549060ff600160406000200154169060405192835233908301526040820152346060820152a1005b60ff600e5416600052600f8252610b8c604060002054341015612c33565b610b98600854426123c3565b3360005281835260026040600020015560ff600e541660016040600020019060ff19825416179055610b3b565b3461035c57600036600319011261035c5760206001600160a01b0360075416604051908152f35b3461035c57600036600319011261035c57610c056127c9565b610c0d612b09565b7401000000000000000000000000000000000000000060ff60a01b1960075416176007557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461035c57602036600319011261035c57610c766127c9565b600435600c55005b3461035c57600036600319011261035c5760ff600e5460081c16600052600f6020526020604060002054604051908152f35b3461035c57600036600319011261035c57610cc96120da565b60006007546001600160a01b03198116600755816001600160a01b0360405192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b3461035c57602036600319011261035c576020610d33610d2e611e7f565b612132565b604051908152f35b3461035c57600036600319011261035c576040516000600a54610d5d81612029565b808452906001908181169081156107ec5750600114610d86576106388461077d81860382611f75565b600a600090815292507fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a85b828410610dc957505050810160200161077d8261076d565b80546020858701810191909152909301928101610db1565b3461035c57602036600319011261035c576020610dff600435612209565b6001600160a01b0360405191168152f35b3461035c57600036600319011261035c57610e296127c9565b610e34600b54612029565b601f8111610e44575b6000600b55005b601f7f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9910160051c8101905b818110610e7d5750610e3d565b60008155600101610e70565b3461035c57600036600319011261035c57602060ff60075460a01c166040519015158152f35b3461035c57602036600319011261035c576001600160a01b03610ed0611e7f565b1660005260106020526020600260406000200154604051904211158152f35b3461035c57610efd36611fea565b610f056127c9565b805167ffffffffffffffff811161052c57610f21600a54612029565b601f8111610fe7575b50602080601f8311600114610f6657508192600092610f5b575b50508160011b916000199060031b1c191617600a55005b015190508280610f44565b90601f19831693600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8926000905b868210610fcf5750508360019510610fb6575b505050811b01600a55005b015160001960f88460031b161c19169055828080610fab565b80600185968294968601518155019501930190610f98565b61103090600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8601f840160051c8101916020851061052257601f0160051c0190612b84565b82610f2a565b3461035c57602036600319011261035c576001600160a01b03611057611e7f565b60006040805161106681611f21565b82815282602082015201521660005260106020526060604060002060405161108d81611f21565b60ff825492838352604060028360018401541692602086019384520154930192835260405193845251166020830152516040820152f35b60208060031936011261035c5760043567ffffffffffffffff811161035c576110f1903690600401611eab565b6110fc929192612b09565b61110e61110833612132565b15612be7565b60ff600e5460081c169283600052600f8352611131604060002054341015612c33565b604051838101903360601b82526014815261114b81611f59565b51902091600c5492916000915b8083106113c757505050036113835781600052600f81526040600020541561133f57600d5460011991908281116112a157600101926040519261119a84611f3d565b6000845233156112fc576111c48560005260036020526001600160a01b0360406000205416151590565b6112b757336000526004835260406000209081549081116112a15760029461123d9260016108d09301905586600052600385526040600020336001600160a01b0319825416179055863360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4863361261b565b611248600d54612c7f565b600d556010611259600854426123c3565b926040519561126787611f21565b865280860192835260408601938452336000525260406000209351845560ff6001850191511660ff19825416179055519101556000604051f35b634e487b7160e01b600052601160045260246000fd5b60405162461bcd60e51b815260048101849052601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b6064836040519062461bcd60e51b825280600483015260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b6064906040519062461bcd60e51b82526004820152601860248201527f53616c6520506c616e20446f6573204e6f7420457869737400000000000000006044820152fd5b6064906040519062461bcd60e51b82526004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152fd5b9091926113d5848385612c8e565b3590818110156113fa5760005285526113f360406000205b93612c7f565b9190611158565b9060005285526113f360406000206113ed565b3461035c57602036600319011261035c57602061144260043560005260036020526001600160a01b0360406000205416151590565b6040519015158152f35b3461035c57602036600319011261035c576001600160a01b0361146d611e7f565b16600052601060205260ff60016040600020015416600052600f6020526020604060002054604051908152f35b3461035c576104446108d06114ae36611eec565b90604051926114bc84611f3d565b600084526108c06108bb8433612355565b3461035c57600036600319011261035c576114e66127c9565b60075460ff8160a01c161561152b5760ff60a01b19166007557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b60405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606490fd5b3461035c57600036600319011261035c57602060ff600e5416604051908152f35b600036600319011261035c576115a56127c9565b600080806001600160a01b036009541647604051915af16115c46125eb565b501561035c57005b3461035c57602036600319011261035c576001600160a01b036115ed611e7f565b6115f56127c9565b166001600160a01b031960095416176009556000604051f35b3461035c57604036600319011261035c57611627611e95565b336001600160a01b038216036116435761044490600435612063565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608490fd5b3461035c57604036600319011261035c576004356116ca611e95565b6116d26120da565b8160005260006020526001600160a01b0360406000209116908160005260205260ff604060002054161561170257005b8160005260006020526040600020816000526020526040600020600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d6000604051a4005b3461035c57602036600319011261035c5760ff61176d611edc565b6117756127c9565b1660ff19600e541617600e556000604051f35b3461035c57600036600319011261035c5760206040516420a226a4a760d91b8152f35b3461035c57602036600319011261035c5760043560005260006020526020600160406000200154604051908152f35b3461035c576104446117eb36611eec565b916117f96108bb8433612355565b6123cf565b3461035c57600036600319011261035c5760ff600e5416600052600f6020526020604060002054604051908152f35b3461035c57600036600319011261035c576020600d54604051908152f35b3461035c57600036600319011261035c57602060ff600e5460081c16604051908152f35b3461035c57600036600319011261035c5760206001600160a01b0360095416604051908152f35b3461035c57602036600319011261035c5760ff6118b1611edc565b16600052600f6020526020604060002054604051908152f35b600036600319011261035c576118de612b09565b6118ea61110833612132565b60ff600e5416806000526020600f815261190b604060002054341015612c33565b81600052600f81526040600020541561133f57600d5460011991908281116112a157600101926040519261119a84611f3d565b3461035c57604036600319011261035c5760043567ffffffffffffffff811161035c5761196f903690600401611eab565b906024359160ff8316830361035c576119866127c9565b60005b81811061199257005b6119a8610d2e6119a3838587612c8e565b612c9e565b156119bc575b6119b790612c7f565b611989565b6119ca6119a3828486612c8e565b9060ff8516600052600f60205260406000205415611bd457600d5460011981116112a1576040516119fa81611f3d565b600081526001600160a01b03841615611b9057611a306001830160005260036020526001600160a01b0360406000205416151590565b611b4b576001600160a01b038416600052600460205260406000209384549460011986116112a1576108d0600293611ad59260016119b79901905560018601600052600360205260406000206001600160a01b0385166001600160a01b0319825416179055600186016001600160a01b03851660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4600186018461261b565b611ae0600d54612c7f565b600d55611aef600854426123c3565b90600160405194611aff86611f21565b0184526001600160a01b03602085019160ff8b1683526040860193845216600052601060205260406000209351845560ff6001850191511660ff198254161790555191015590506119ae565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405162461bcd60e51b815260206004820152601860248201527f53616c6520506c616e20446f6573204e6f7420457869737400000000000000006044820152606490fd5b3461035c57604036600319011261035c57611c32611e7f565b5060405162461bcd60e51b815260206004820152601260248201527f5468697320746f6b656e206973205342542e00000000000000000000000000006044820152606490fd5b3461035c57602036600319011261035c576001600160a01b03611c99611e7f565b611ca16127c9565b16806000526010602052611cbb6040600020541515612b9b565b600142106112a157600052601060205260001942016002604060002001556000604051f35b3461035c57602036600319011261035c576020610dff60043561222b565b3461035c57600036600319011261035c5760405160006001805490611d2282612029565b808552918181169081156107ec5750600114611d48576106388461077d81860382611f75565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410611d8957505050810160200161077d8261076d565b80546020858701810191909152909301928101611d71565b3461035c57602036600319011261035c57600435906001600160e01b0319821680830361035c576020926380ac58cd60e01b8214918215611e14575b508115611e03575b8115611df3575b5015158152f35b611dfd9150612d86565b83611dec565b9050611e0e81612d86565b90611de5565b635b5e139f60e01b14915084611ddd565b918091926000905b828210611e45575011611e3e575050565b6000910152565b91508060209183015181860152018291611e2d565b90602091611e7381518092818552858086019101611e25565b601f01601f1916010190565b600435906001600160a01b038216820361035c57565b602435906001600160a01b038216820361035c57565b9181601f8401121561035c5782359167ffffffffffffffff831161035c576020808501948460051b01011161035c57565b6004359060ff8216820361035c57565b606090600319011261035c576001600160a01b0390600435828116810361035c5791602435908116810361035c579060443590565b6060810190811067ffffffffffffffff82111761052c57604052565b6020810190811067ffffffffffffffff82111761052c57604052565b6040810190811067ffffffffffffffff82111761052c57604052565b90601f8019910116810190811067ffffffffffffffff82111761052c57604052565b67ffffffffffffffff811161052c57601f01601f191660200190565b929192611fbf82611f97565b91611fcd6040519384611f75565b82948184528183011161035c578281602093846000960137010152565b602060031982011261035c576004359067ffffffffffffffff821161035c578060238301121561035c5781602461202693600401359101611fb3565b90565b90600182811c92168015612059575b602083101461204357565b634e487b7160e01b600052602260045260246000fd5b91607f1691612038565b90600091808352826020526001600160a01b036040842092169182845260205260ff60408420541661209457505050565b80835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b3393604051a4565b6001600160a01b036007541633036120ee57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b0316801561215257600052600460205260406000205490565b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608490fd5b156121c457565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b60005260036020526001600160a01b03604060002054166120268115156121bd565b61225361224e8260005260036020526001600160a01b0360406000205416151590565b6121bd565b60005260056020526001600160a01b036040600020541690565b1561227457565b60405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608490fd5b156122e657565b60405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b0390fd5b906001600160a01b03808061236984612209565b1693169183831493841561239c575b508315612386575b50505090565b6123929192935061222b565b1614388080612380565b909350600052600660205260406000208260005260205260ff604060002054169238612378565b811981116112a1570190565b6123d883612209565b916001600160a01b039283809316928391160361258057821691821561252f5781158015612527575b156124e257600090848252600560205260408220906001600160a01b03199182815416905561242f86612209565b16908583604051937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258286a48383526004602052604083208054600181106124ce57600019019055848352600460205260408320805460011981116124ce5760010190558583526003602052604083208054909116851790557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4565b634e487b7160e01b85526011600452602485fd5b60405162461bcd60e51b815260206004820152601160248201527f5468697320746f6b656e206973205342540000000000000000000000000000006044820152606490fd5b506000612401565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608490fd5b3d15612616573d906125fc82611f97565b9161260a6040519384611f75565b82523d6000602084013e565b606090565b9091600091803b1561275f5761266e6020916001600160a01b039385604051958680958194630a85bd0160e11b9b8c84523360048501528560248501526044840152608060648401526084830190611e5a565b0393165af190829082612710575b50506127025761268a6125eb565b805190816126fd5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b602001fd5b6001600160e01b0319161490565b909192506020813d8211612757575b8161272c60209383611f75565b810103126127535751906001600160e01b031982168203612750575090388061267c565b80fd5b5080fd5b3d915061271f565b50505050600190565b91926000929190813b156127bf5760209161266e9185604051958680958194630a85bd0160e11b9b8c84523360048501526001600160a01b0380951660248501526044840152608060648401526084830190611e5a565b5050505050600190565b3360009081527fff164f808567eb9100129b1d5aead1611f532533c7a4cedced7e7f0a6271f531602090815260408083205490926420a226a4a760d91b9160ff16156128155750505050565b3384519261282284611f21565b602a84528484019086368337845115612af55760308253845192600193841015612ae1576078602187015360295b848111612a775750612a35578651926080840184811067ffffffffffffffff821117612a2157885260428452868401946060368737845115612a0d57603086538451821015612a0d5790607860218601536041915b81831161299f5750505061295d57612351938693612941936129326048946128fd9a519a8b957f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c8801525180926037880190611e25565b8401917f206973206d697373696e6720726f6c6520000000000000000000000000000000603784015251809386840190611e25565b01036028810187520185611f75565b5192839262461bcd60e51b845260048401526024830190611e5a565b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156129f9576f181899199a1a9b1b9c1cb0b131b232b360811b901a6129cf8588612b5d565b5360041c9280156129e5576000190191906128a5565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b86526041600452602486fd5b60648688519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f81166010811015612acd576f181899199a1a9b1b9c1cb0b131b232b360811b901a612aa58389612b5d565b5360041c908015612ab95760001901612850565b634e487b7160e01b86526011600452602486fd5b634e487b7160e01b87526032600452602487fd5b634e487b7160e01b85526032600452602485fd5b634e487b7160e01b84526032600452602484fd5b60ff60075460a01c16612b1857565b60405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606490fd5b908151811015612b6e570160200190565b634e487b7160e01b600052603260045260246000fd5b818110612b8f575050565b60008155600101612b84565b15612ba257565b60405162461bcd60e51b815260206004820152601c60248201527f50617373706f727420496e666f20446f6573204e6f74204578697374000000006044820152606490fd5b15612bee57565b60405162461bcd60e51b815260206004820152600e60248201527f416c7265616479204d696e7465640000000000000000000000000000000000006044820152606490fd5b15612c3a57565b60405162461bcd60e51b815260206004820152600e60248201527f4e6f7420456e6f756768204574680000000000000000000000000000000000006044820152606490fd5b60001981146112a15760010190565b9190811015612b6e5760051b0190565b356001600160a01b038116810361035c5790565b8015612d685780816000925b612d545750612ccc82611f97565b91612cda6040519384611f75565b80835281601f19612cea83611f97565b013660208601375b612cfb57505090565b600181106112a1576000190190600a906030828206801982116112a1570160f81b7fff000000000000000000000000000000000000000000000000000000000000001660001a612d4b8486612b5d565b53049081612cf2565b91612d60600a91612c7f565b920480612cbe565b50604051612d7581611f59565b60018152600360fc1b602082015290565b63ffffffff60e01b16637965db0b60e01b8114908115612da4575090565b6301ffc9a760e01b1491905056fea164736f6c634300080f000a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000078c3fe26a5df8347c1b1225aa5f85058f3da8a1900000000000000000000000000000000000000000000000000000000000000104e5072656d69756d50617373706f72740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034e50500000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a714611da15750806306fdde0314611cfe578063081812fc14611ce0578063093d381614611c78578063095ea7b314611c1957806311fecb4e1461193e5780631249c58b146118ca5780631341adc0146118965780631581b6001461186f578063174a37281461184b57806318160ddd1461182d57806323acdd68146117fe57806323b872dd146117da578063248a9ca3146117ab5780632a0acc6a146117885780632c65cd54146117525780632f2ff15d146116ae57806336568abe1461160e5780633ab1a494146115cc5780633ccfd60b146115915780633d2493bf146115705780633f4ba83a146114cd57806342842e0e1461149a578063469c02251461144c5780634f558e791461140d578063537924ef146110c45780635468166f1461103657806355f804b314610eef578063560b789114610eaf5780635c975abb14610e895780635f1b1b8614610e105780636352211e14610de15780636c0360eb14610d3b57806370a0823114610d10578063715018a614610cb057806372aba23414610c7e5780637cb6475914610c5d5780638456cb5914610bec5780638da5cb5b14610bc55780638f449a0514610a8c57806391d1485414610a3e57806395d89b4114610998578063a217fddf1461097c578063a22cb46514610912578063a4ca6802146108d5578063b88d4fde1461084f578063c4be715314610813578063c668286214610731578063c87b56dd1461058c578063d547741f14610560578063d6dc6f5514610542578063da3ef23f146103d9578063e985e9c514610382578063ecc70697146103615763f2fde38b1461027c57600080fd5b3461035c57602036600319011261035c57610295611e7f565b61029d6120da565b6001600160a01b038091169081156102f15760009160075491816001600160a01b031984161760075560405192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08484a3f35b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608490fd5b600080fd5b3461035c57602036600319011261035c5761037a6127c9565b600435600855005b3461035c57604036600319011261035c5761039b611e7f565b6103a3611e95565b906001600160a01b03809116600052600660205260406000209116600052602052602060ff604060002054166040519015158152f35b3461035c576103e736611fea565b6103ef6127c9565b805167ffffffffffffffff811161052c5761040b600b54612029565b601f81116104d2575b50602080601f831160011461045157508192600092610446575b50508160011b916000199060031b1c191617600b555b005b01519050828061042e565b90601f19831693600b6000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9926000905b8682106104ba57505083600195106104a1575b505050811b01600b55005b015160001960f88460031b161c19169055828080610496565b80600185968294968601518155019501930190610483565b61051c90600b6000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9601f840160051c81019160208510610522575b601f0160051c0190612b84565b82610414565b909150819061050f565b634e487b7160e01b600052604160045260246000fd5b3461035c57600036600319011261035c576020600854604051908152f35b3461035c57604036600319011261035c5761044461057c611e95565b6105846120da565b600435612063565b3461035c5760208060031936011261035c576105a9600435612cb2565b906040519182826000600a54936105bf85612029565b6001958487821691826000146107125750506001146106b4575b5080826105ea925194859201611e25565b01600090600b54936105fb85612029565b94818116908115610698575060011461063c575b5050610624925003601f198101845283611f75565b610638604051928284938452830190611e5a565b0390f35b939150600b6000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9936000905b8684831061068257505050610624935001858061060f565b865483850152958101958895509091019061066a565b9150506106249491925060ff191682528015150201858061060f565b909150600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8856000915b8383106106f95750505083018201906105ea6105d9565b80548a84018701528996508895909201918791016106e2565b60ff191687820152821515909202860190910192506105ea90506105d9565b3461035c57600036600319011261035c576040516000600b5461075381612029565b808452906001908181169081156107ec5750600114610791575b6106388461077d81860382611f75565b604051918291602083526020830190611e5a565b600b600090815292507f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db95b8284106107d457505050810160200161077d8261076d565b805460208587018101919091529093019281016107bc565b60ff191660208087019190915292151560051b8501909201925061077d915083905061076d565b3461035c57604036600319011261035c5760ff61082e611edc565b6108366127c9565b16600052600f6020526024356040600020556000604051f35b3461035c57608036600319011261035c57610868611e7f565b610870611e95565b906064359060443567ffffffffffffffff831161035c573660238401121561035c57610444936108ad6108d0943690602481600401359101611fb3565b926108c06108bb8433612355565b61226d565b6108cb8383836123cf565b612768565b6122df565b3461035c57602036600319011261035c576108ee611edc565b6108f66127c9565b61ff00600e549160081b169061ff00191617600e556000604051f35b3461035c57604036600319011261035c5761092b611e7f565b506024358015150361035c5760405162461bcd60e51b815260206004820152601260248201527f5468697320746f6b656e206973205342542e00000000000000000000000000006044820152606490fd5b3461035c57600036600319011261035c57602060405160008152f35b3461035c57600036600319011261035c5760405160006002546109ba81612029565b808452906001908181169081156107ec57506001146109e3576106388461077d81860382611f75565b6002600090815292507f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b828410610a2657505050810160200161077d8261076d565b80546020858701810191909152909301928101610a0e565b3461035c57604036600319011261035c57610a57611e95565b60043560005260006020526001600160a01b0360406000209116600052602052602060ff604060002054166040519015158152f35b600036600319011261035c57336000527ff8003d821d733a08b1886da1bfe920806afecc2a49f051a88b3dbb79d59c557f60806010602090808252610ad76040600020541515612b9b565b336000528082526002604060002001544210600014610b6e573360005280825260ff60016040600020015416600052600f8252610b1b604060002054341015612c33565b60085433600052818352610b3860026040600020019182546123c3565b90555b3360005281526040600020549060ff600160406000200154169060405192835233908301526040820152346060820152a1005b60ff600e5416600052600f8252610b8c604060002054341015612c33565b610b98600854426123c3565b3360005281835260026040600020015560ff600e541660016040600020019060ff19825416179055610b3b565b3461035c57600036600319011261035c5760206001600160a01b0360075416604051908152f35b3461035c57600036600319011261035c57610c056127c9565b610c0d612b09565b7401000000000000000000000000000000000000000060ff60a01b1960075416176007557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b3461035c57602036600319011261035c57610c766127c9565b600435600c55005b3461035c57600036600319011261035c5760ff600e5460081c16600052600f6020526020604060002054604051908152f35b3461035c57600036600319011261035c57610cc96120da565b60006007546001600160a01b03198116600755816001600160a01b0360405192167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b3461035c57602036600319011261035c576020610d33610d2e611e7f565b612132565b604051908152f35b3461035c57600036600319011261035c576040516000600a54610d5d81612029565b808452906001908181169081156107ec5750600114610d86576106388461077d81860382611f75565b600a600090815292507fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a85b828410610dc957505050810160200161077d8261076d565b80546020858701810191909152909301928101610db1565b3461035c57602036600319011261035c576020610dff600435612209565b6001600160a01b0360405191168152f35b3461035c57600036600319011261035c57610e296127c9565b610e34600b54612029565b601f8111610e44575b6000600b55005b601f7f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9910160051c8101905b818110610e7d5750610e3d565b60008155600101610e70565b3461035c57600036600319011261035c57602060ff60075460a01c166040519015158152f35b3461035c57602036600319011261035c576001600160a01b03610ed0611e7f565b1660005260106020526020600260406000200154604051904211158152f35b3461035c57610efd36611fea565b610f056127c9565b805167ffffffffffffffff811161052c57610f21600a54612029565b601f8111610fe7575b50602080601f8311600114610f6657508192600092610f5b575b50508160011b916000199060031b1c191617600a55005b015190508280610f44565b90601f19831693600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8926000905b868210610fcf5750508360019510610fb6575b505050811b01600a55005b015160001960f88460031b161c19169055828080610fab565b80600185968294968601518155019501930190610f98565b61103090600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8601f840160051c8101916020851061052257601f0160051c0190612b84565b82610f2a565b3461035c57602036600319011261035c576001600160a01b03611057611e7f565b60006040805161106681611f21565b82815282602082015201521660005260106020526060604060002060405161108d81611f21565b60ff825492838352604060028360018401541692602086019384520154930192835260405193845251166020830152516040820152f35b60208060031936011261035c5760043567ffffffffffffffff811161035c576110f1903690600401611eab565b6110fc929192612b09565b61110e61110833612132565b15612be7565b60ff600e5460081c169283600052600f8352611131604060002054341015612c33565b604051838101903360601b82526014815261114b81611f59565b51902091600c5492916000915b8083106113c757505050036113835781600052600f81526040600020541561133f57600d5460011991908281116112a157600101926040519261119a84611f3d565b6000845233156112fc576111c48560005260036020526001600160a01b0360406000205416151590565b6112b757336000526004835260406000209081549081116112a15760029461123d9260016108d09301905586600052600385526040600020336001600160a01b0319825416179055863360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4863361261b565b611248600d54612c7f565b600d556010611259600854426123c3565b926040519561126787611f21565b865280860192835260408601938452336000525260406000209351845560ff6001850191511660ff19825416179055519101556000604051f35b634e487b7160e01b600052601160045260246000fd5b60405162461bcd60e51b815260048101849052601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b6064836040519062461bcd60e51b825280600483015260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b6064906040519062461bcd60e51b82526004820152601860248201527f53616c6520506c616e20446f6573204e6f7420457869737400000000000000006044820152fd5b6064906040519062461bcd60e51b82526004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152fd5b9091926113d5848385612c8e565b3590818110156113fa5760005285526113f360406000205b93612c7f565b9190611158565b9060005285526113f360406000206113ed565b3461035c57602036600319011261035c57602061144260043560005260036020526001600160a01b0360406000205416151590565b6040519015158152f35b3461035c57602036600319011261035c576001600160a01b0361146d611e7f565b16600052601060205260ff60016040600020015416600052600f6020526020604060002054604051908152f35b3461035c576104446108d06114ae36611eec565b90604051926114bc84611f3d565b600084526108c06108bb8433612355565b3461035c57600036600319011261035c576114e66127c9565b60075460ff8160a01c161561152b5760ff60a01b19166007557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b60405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606490fd5b3461035c57600036600319011261035c57602060ff600e5416604051908152f35b600036600319011261035c576115a56127c9565b600080806001600160a01b036009541647604051915af16115c46125eb565b501561035c57005b3461035c57602036600319011261035c576001600160a01b036115ed611e7f565b6115f56127c9565b166001600160a01b031960095416176009556000604051f35b3461035c57604036600319011261035c57611627611e95565b336001600160a01b038216036116435761044490600435612063565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608490fd5b3461035c57604036600319011261035c576004356116ca611e95565b6116d26120da565b8160005260006020526001600160a01b0360406000209116908160005260205260ff604060002054161561170257005b8160005260006020526040600020816000526020526040600020600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d6000604051a4005b3461035c57602036600319011261035c5760ff61176d611edc565b6117756127c9565b1660ff19600e541617600e556000604051f35b3461035c57600036600319011261035c5760206040516420a226a4a760d91b8152f35b3461035c57602036600319011261035c5760043560005260006020526020600160406000200154604051908152f35b3461035c576104446117eb36611eec565b916117f96108bb8433612355565b6123cf565b3461035c57600036600319011261035c5760ff600e5416600052600f6020526020604060002054604051908152f35b3461035c57600036600319011261035c576020600d54604051908152f35b3461035c57600036600319011261035c57602060ff600e5460081c16604051908152f35b3461035c57600036600319011261035c5760206001600160a01b0360095416604051908152f35b3461035c57602036600319011261035c5760ff6118b1611edc565b16600052600f6020526020604060002054604051908152f35b600036600319011261035c576118de612b09565b6118ea61110833612132565b60ff600e5416806000526020600f815261190b604060002054341015612c33565b81600052600f81526040600020541561133f57600d5460011991908281116112a157600101926040519261119a84611f3d565b3461035c57604036600319011261035c5760043567ffffffffffffffff811161035c5761196f903690600401611eab565b906024359160ff8316830361035c576119866127c9565b60005b81811061199257005b6119a8610d2e6119a3838587612c8e565b612c9e565b156119bc575b6119b790612c7f565b611989565b6119ca6119a3828486612c8e565b9060ff8516600052600f60205260406000205415611bd457600d5460011981116112a1576040516119fa81611f3d565b600081526001600160a01b03841615611b9057611a306001830160005260036020526001600160a01b0360406000205416151590565b611b4b576001600160a01b038416600052600460205260406000209384549460011986116112a1576108d0600293611ad59260016119b79901905560018601600052600360205260406000206001600160a01b0385166001600160a01b0319825416179055600186016001600160a01b03851660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4600186018461261b565b611ae0600d54612c7f565b600d55611aef600854426123c3565b90600160405194611aff86611f21565b0184526001600160a01b03602085019160ff8b1683526040860193845216600052601060205260406000209351845560ff6001850191511660ff198254161790555191015590506119ae565b60405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b60405162461bcd60e51b815260206004820152601860248201527f53616c6520506c616e20446f6573204e6f7420457869737400000000000000006044820152606490fd5b3461035c57604036600319011261035c57611c32611e7f565b5060405162461bcd60e51b815260206004820152601260248201527f5468697320746f6b656e206973205342542e00000000000000000000000000006044820152606490fd5b3461035c57602036600319011261035c576001600160a01b03611c99611e7f565b611ca16127c9565b16806000526010602052611cbb6040600020541515612b9b565b600142106112a157600052601060205260001942016002604060002001556000604051f35b3461035c57602036600319011261035c576020610dff60043561222b565b3461035c57600036600319011261035c5760405160006001805490611d2282612029565b808552918181169081156107ec5750600114611d48576106388461077d81860382611f75565b600081815292507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410611d8957505050810160200161077d8261076d565b80546020858701810191909152909301928101611d71565b3461035c57602036600319011261035c57600435906001600160e01b0319821680830361035c576020926380ac58cd60e01b8214918215611e14575b508115611e03575b8115611df3575b5015158152f35b611dfd9150612d86565b83611dec565b9050611e0e81612d86565b90611de5565b635b5e139f60e01b14915084611ddd565b918091926000905b828210611e45575011611e3e575050565b6000910152565b91508060209183015181860152018291611e2d565b90602091611e7381518092818552858086019101611e25565b601f01601f1916010190565b600435906001600160a01b038216820361035c57565b602435906001600160a01b038216820361035c57565b9181601f8401121561035c5782359167ffffffffffffffff831161035c576020808501948460051b01011161035c57565b6004359060ff8216820361035c57565b606090600319011261035c576001600160a01b0390600435828116810361035c5791602435908116810361035c579060443590565b6060810190811067ffffffffffffffff82111761052c57604052565b6020810190811067ffffffffffffffff82111761052c57604052565b6040810190811067ffffffffffffffff82111761052c57604052565b90601f8019910116810190811067ffffffffffffffff82111761052c57604052565b67ffffffffffffffff811161052c57601f01601f191660200190565b929192611fbf82611f97565b91611fcd6040519384611f75565b82948184528183011161035c578281602093846000960137010152565b602060031982011261035c576004359067ffffffffffffffff821161035c578060238301121561035c5781602461202693600401359101611fb3565b90565b90600182811c92168015612059575b602083101461204357565b634e487b7160e01b600052602260045260246000fd5b91607f1691612038565b90600091808352826020526001600160a01b036040842092169182845260205260ff60408420541661209457505050565b80835282602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b3393604051a4565b6001600160a01b036007541633036120ee57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b0316801561215257600052600460205260406000205490565b60405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608490fd5b156121c457565b60405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606490fd5b60005260036020526001600160a01b03604060002054166120268115156121bd565b61225361224e8260005260036020526001600160a01b0360406000205416151590565b6121bd565b60005260056020526001600160a01b036040600020541690565b1561227457565b60405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608490fd5b156122e657565b60405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b0390fd5b906001600160a01b03808061236984612209565b1693169183831493841561239c575b508315612386575b50505090565b6123929192935061222b565b1614388080612380565b909350600052600660205260406000208260005260205260ff604060002054169238612378565b811981116112a1570190565b6123d883612209565b916001600160a01b039283809316928391160361258057821691821561252f5781158015612527575b156124e257600090848252600560205260408220906001600160a01b03199182815416905561242f86612209565b16908583604051937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258286a48383526004602052604083208054600181106124ce57600019019055848352600460205260408320805460011981116124ce5760010190558583526003602052604083208054909116851790557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4565b634e487b7160e01b85526011600452602485fd5b60405162461bcd60e51b815260206004820152601160248201527f5468697320746f6b656e206973205342540000000000000000000000000000006044820152606490fd5b506000612401565b60405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608490fd5b3d15612616573d906125fc82611f97565b9161260a6040519384611f75565b82523d6000602084013e565b606090565b9091600091803b1561275f5761266e6020916001600160a01b039385604051958680958194630a85bd0160e11b9b8c84523360048501528560248501526044840152608060648401526084830190611e5a565b0393165af190829082612710575b50506127025761268a6125eb565b805190816126fd5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b602001fd5b6001600160e01b0319161490565b909192506020813d8211612757575b8161272c60209383611f75565b810103126127535751906001600160e01b031982168203612750575090388061267c565b80fd5b5080fd5b3d915061271f565b50505050600190565b91926000929190813b156127bf5760209161266e9185604051958680958194630a85bd0160e11b9b8c84523360048501526001600160a01b0380951660248501526044840152608060648401526084830190611e5a565b5050505050600190565b3360009081527fff164f808567eb9100129b1d5aead1611f532533c7a4cedced7e7f0a6271f531602090815260408083205490926420a226a4a760d91b9160ff16156128155750505050565b3384519261282284611f21565b602a84528484019086368337845115612af55760308253845192600193841015612ae1576078602187015360295b848111612a775750612a35578651926080840184811067ffffffffffffffff821117612a2157885260428452868401946060368737845115612a0d57603086538451821015612a0d5790607860218601536041915b81831161299f5750505061295d57612351938693612941936129326048946128fd9a519a8b957f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c8801525180926037880190611e25565b8401917f206973206d697373696e6720726f6c6520000000000000000000000000000000603784015251809386840190611e25565b01036028810187520185611f75565b5192839262461bcd60e51b845260048401526024830190611e5a565b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156129f9576f181899199a1a9b1b9c1cb0b131b232b360811b901a6129cf8588612b5d565b5360041c9280156129e5576000190191906128a5565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b86526041600452602486fd5b60648688519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f81166010811015612acd576f181899199a1a9b1b9c1cb0b131b232b360811b901a612aa58389612b5d565b5360041c908015612ab95760001901612850565b634e487b7160e01b86526011600452602486fd5b634e487b7160e01b87526032600452602487fd5b634e487b7160e01b85526032600452602485fd5b634e487b7160e01b84526032600452602484fd5b60ff60075460a01c16612b1857565b60405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606490fd5b908151811015612b6e570160200190565b634e487b7160e01b600052603260045260246000fd5b818110612b8f575050565b60008155600101612b84565b15612ba257565b60405162461bcd60e51b815260206004820152601c60248201527f50617373706f727420496e666f20446f6573204e6f74204578697374000000006044820152606490fd5b15612bee57565b60405162461bcd60e51b815260206004820152600e60248201527f416c7265616479204d696e7465640000000000000000000000000000000000006044820152606490fd5b15612c3a57565b60405162461bcd60e51b815260206004820152600e60248201527f4e6f7420456e6f756768204574680000000000000000000000000000000000006044820152606490fd5b60001981146112a15760010190565b9190811015612b6e5760051b0190565b356001600160a01b038116810361035c5790565b8015612d685780816000925b612d545750612ccc82611f97565b91612cda6040519384611f75565b80835281601f19612cea83611f97565b013660208601375b612cfb57505090565b600181106112a1576000190190600a906030828206801982116112a1570160f81b7fff000000000000000000000000000000000000000000000000000000000000001660001a612d4b8486612b5d565b53049081612cf2565b91612d60600a91612c7f565b920480612cbe565b50604051612d7581611f59565b60018152600360fc1b602082015290565b63ffffffff60e01b16637965db0b60e01b8114908115612da4575090565b6301ffc9a760e01b1491905056fea164736f6c634300080f000a

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.