ETH Price: $3,306.44 (+1.74%)
Gas: 3 Gwei

Token

Generativemasks Girl (GMGIRL)
 

Overview

Max Total Supply

0 GMGIRL

Holders

140

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
suckmyfeet.eth
Balance
1 GMGIRL
0xe56a354b83a748a2aaa6b8fdaa293d9f891bd388
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GenerativemasksGirl

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 14 : GenerativemasksGirl.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.6;

import "./GMsDerivativeBase.sol";

contract GenerativemasksGirl is GMsDerivativeBase {

    constructor(
        string memory baseURI,
        address _derivedFrom
    )
    GMsDerivativeBase(
        "Generativemasks Girl",
        "GMGIRL",
        baseURI,
        address(0x80416304142Fa37929f8A4Eee83eE7D2dAc12D7c),
        _derivedFrom
    )
    {}

}

File 2 of 14 : GMsDerivativeBase.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.6;

import "@openzeppelin/contracts/utils/Strings.sol";
import "../core/GMsPassCore.sol";

/**
 * @title GMsDerivativeBase contract
 * @author wildmouse
 * @notice This contract provides basic functionalities to allow minting using the GMsPassCore
 * @dev This is hardcoded to the minting condition to deploy derivative NFTs only for Generativemasks holders without claim fees.
 *      This SHOULD be derived by another contract and used for mainnet deployments
 */
contract GMsDerivativeBase is GMsPassCore {

    using Strings for uint256;

    address public derivedFrom;
    string private __baseURI;

    /**
     * @notice Construct an GMsDerivativeBase instance
     * @param name Name of the token
     * @param symbol Symbol of the token
     * @param baseURI URL of metadata JSON. Token id will be added for each token id on tokenURL()
     * @param generativemasks Generativemasks address. This argument should hardcoded by derived contract.
     * @param _derivedFrom NFT contract address of the derivation source
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory baseURI,
        address generativemasks,
        address _derivedFrom
    )
    GMsPassCore(
        name,
        symbol,
        IERC721(generativemasks),
        true,
        10000,
        10000,
        0,
        0
    )
    {
        __baseURI = baseURI;
        derivedFrom = _derivedFrom;
    }

    function _baseURI() internal override view virtual returns (string memory) {
        return __baseURI;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        uint256 maskNumber = (tokenId + METADATA_INDEX) % GMS_SUPPLY_AMOUNT;
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, maskNumber.toString())) : "";
    }

    function updateBaseURI(string calldata newBaseURI) external onlyOwner {
        __baseURI = newBaseURI;
    }
}

File 3 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 4 of 14 : GMsPassCore.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title GMsPassCore contract
 * @author wildmouse
 * @notice This contract provides basic functionalities to allow minting using the GMsPass
 * @dev This contract should be used only for testing or testnet deployments
 */
abstract contract GMsPassCore is ERC721, ReentrancyGuard, Ownable {
    uint256 public constant MAX_MULTI_MINT_AMOUNT = 32;
    uint256 public constant GMS_SUPPLY_AMOUNT = 10000;
    uint256 public constant MAX_GMs_TOKEN_ID = 9999;
    uint256 public constant METADATA_INDEX = 3799;

    IERC721 public immutable generativemasks;
    bool public immutable onlyGMsHolders;
    uint16 public immutable reservedAllowance;
    uint16 public reserveMinted;
    uint256 public immutable maxTotalSupply;
    uint256 public immutable priceForGMsHoldersInWei;
    uint256 public immutable priceForOpenMintInWei;
    uint256 public mintedCount;

    /**
     * @notice Construct an GMsPassCore instance
     * @param name Name of the token
     * @param symbol Symbol of the token
     * @param generativemasks_ Address of your GMs instance (only for testing)
     * @param onlyGMsHolders_ True if only GMs tokens holders can mint this token
     * @param maxTotalSupply_ Maximum number of tokens that can ever be minted
     * @param reservedAllowance_ Number of tokens reserved for GMs token holders
     * @param priceForGMsHoldersInWei_ Price GMs token holders need to pay to mint
     * @param priceForOpenMintInWei_ Price open minter need to pay to mint
     */
    constructor(
        string memory name,
        string memory symbol,
        IERC721 generativemasks_,
        bool onlyGMsHolders_,
        uint256 maxTotalSupply_,
        uint16 reservedAllowance_,
        uint256 priceForGMsHoldersInWei_,
        uint256 priceForOpenMintInWei_
    ) ERC721(name, symbol) {
        require(maxTotalSupply_ > 0, "GMsPass:INVALID_SUPPLY");
        require(!onlyGMsHolders_ || (onlyGMsHolders_ && maxTotalSupply_ <= GMS_SUPPLY_AMOUNT), "GMsPass:INVALID_SUPPLY");
        require(maxTotalSupply_ >= reservedAllowance_, "GMsPass:INVALID_ALLOWANCE");
        // If restricted to generativemasks token holders we limit max total supply
        generativemasks = generativemasks_;
        onlyGMsHolders = onlyGMsHolders_;
        maxTotalSupply = maxTotalSupply_;
        reservedAllowance = reservedAllowance_;
        priceForGMsHoldersInWei = priceForGMsHoldersInWei_;
        priceForOpenMintInWei = priceForOpenMintInWei_;
    }

    function getTokenIdFromMaskNumber(uint256 maskNumber) public pure returns (uint256) {
        require(maskNumber <= MAX_GMs_TOKEN_ID, "GMsPass:INVALID_NUMBER");
        return ((maskNumber + GMS_SUPPLY_AMOUNT) - METADATA_INDEX) % GMS_SUPPLY_AMOUNT;
    }

    function getTokenIdListFromMaskNumbers(uint256[] calldata maskNumbers) public pure returns (uint256[] memory) {
        uint256[] memory tokenIdList = new uint256[](maskNumbers.length);

        for (uint256 i = 0; i < maskNumbers.length; i++) {
            require(maskNumbers[i] <= MAX_GMs_TOKEN_ID, "GMsPass:INVALID_NUMBER");
            tokenIdList[i] = getTokenIdFromMaskNumber(maskNumbers[i]);
        }

        return tokenIdList;
    }

    /**
     * @notice Allow a GMs token holder to bulk mint tokens with id of their GMs tokens' id
     * @param maskNumbers numbers to be converted to token ids to be minted
     */
    function multiMintWithGMsMaskNumbers(uint256[] calldata maskNumbers) public payable virtual {
        multiMintWithGMsTokenIds(getTokenIdListFromMaskNumbers(maskNumbers));
    }

    /**
     * @notice Allow a GMs token holder to mint a token with one of their GMs token's id
     * @param maskNumber number to be converted to token id to be minted
     */
    function mintWithGMsMaskNumber(uint256 maskNumber) public payable virtual {
        mintWithGMsTokenId(getTokenIdFromMaskNumber(maskNumber));
    }

    /**
     * @notice Allow a GMs token holder to bulk mint tokens with id of their GMs tokens' id
     * @param tokenIds Ids to be minted
     */
    function multiMintWithGMsTokenIds(uint256[] memory tokenIds) public payable virtual nonReentrant {
        uint256 maxTokensToMint = tokenIds.length;
        require(maxTokensToMint <= MAX_MULTI_MINT_AMOUNT, "GMsPass:TOO_LARGE");
        require(
        // If no reserved allowance we respect total supply contraint
            (reservedAllowance == 0 && mintedCount + maxTokensToMint <= maxTotalSupply) ||
            reserveMinted + maxTokensToMint <= reservedAllowance,
            "GMsPass:MAX_ALLOCATION_REACHED"
        );
        require(msg.value == priceForGMsHoldersInWei * maxTokensToMint, "GMsPass:INVALID_PRICE");
        // To avoid wasting gas we want to check all preconditions beforehand
        for (uint256 i = 0; i < maxTokensToMint; i++) {
            require(tokenIds[i] <= MAX_GMs_TOKEN_ID, "GMsPass:INVALID_ID");
            require(generativemasks.ownerOf(tokenIds[i]) == msg.sender, "GMsPass:INVALID_OWNER");
        }

        // If reserved allowance is active we track mints count
        if (reservedAllowance > 0) {
            reserveMinted += uint16(maxTokensToMint);
        }
        mintedCount += maxTokensToMint;
        for (uint256 i = 0; i < maxTokensToMint; i++) {
            _safeMint(msg.sender, tokenIds[i]);
        }
    }

    /**
     * @notice Allow a GMs token holder to mint a token with one of their GMs token's id
     * @param tokenId Id to be minted
     */
    function mintWithGMsTokenId(uint256 tokenId) public payable virtual nonReentrant {
        require(
        // If no reserved allowance we respect total supply contraint
            (reservedAllowance == 0 && mintedCount < maxTotalSupply) || reserveMinted < reservedAllowance,
            "GMsPass:MAX_ALLOCATION_REACHED"
        );
        require(tokenId <= MAX_GMs_TOKEN_ID, "GMsPass:INVALID_ID");
        require(generativemasks.ownerOf(tokenId) == msg.sender, "GMsPass:INVALID_OWNER");
        require(msg.value == priceForGMsHoldersInWei, "GMsPass:INVALID_PRICE");

        // If reserved allowance is active we track mints count
        if (reservedAllowance > 0) {
            reserveMinted++;
        }
        mintedCount++;
        _safeMint(msg.sender, tokenId);
    }

    /**
     * @notice Allow anyone to mint a token with the supply id if this pass is unrestricted.
     *         GMs token holders can use this function without using the GMs token holders allowance,
     *         this is useful when the allowance is fully utilized.
     * @param tokenId Id to be minted
     */
    function mint(uint256 tokenId) public payable virtual nonReentrant {
        require(!onlyGMsHolders, "GMsPass:OPEN_MINTING_DISABLED");
        require(openMintsAvailable() > 0, "GMsPass:MAX_ALLOCATION_REACHED");
        require(
            (tokenId > MAX_GMs_TOKEN_ID && tokenId <= maxTokenId()) || generativemasks.ownerOf(tokenId) == msg.sender,
            "GMsPass:INVALID_ID"
        );
        require(msg.value == priceForOpenMintInWei, "GMsPass:INVALID_PRICE");
        mintedCount++;
        _safeMint(msg.sender, tokenId);
    }

    /**
     * @notice Calculate the maximum token id that can ever be minted
     * @return Maximum token id
     */
    function maxTokenId() public view returns (uint256) {
        uint256 maxOpenMints = maxTotalSupply - reservedAllowance;
        return MAX_GMs_TOKEN_ID + maxOpenMints;
    }

    /**
     * @notice Calculate the currently available number of reserved tokens for GMs token holders
     * @return Reserved mint available
     */
    function gmsHoldersMintsAvailable() external view returns (uint256) {
        return reservedAllowance - reserveMinted;
    }

    /**
     * @notice Calculate the currently available number of open mints
     * @return Open mint available
     */
    function openMintsAvailable() public view returns (uint256) {
        uint256 maxOpenMints = maxTotalSupply - reservedAllowance;
        uint256 currentOpenMints = mintedCount - reserveMinted;
        return maxOpenMints - currentOpenMints;
    }

    /**
     * @notice Allows owner to withdraw amount
     */
    function withdrawAll() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
}

File 5 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

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

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 7 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 8 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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);
}

File 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_derivedFrom","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":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"},{"inputs":[],"name":"GMS_SUPPLY_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GMs_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MULTI_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"derivedFrom","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generativemasks","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maskNumber","type":"uint256"}],"name":"getTokenIdFromMaskNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"maskNumbers","type":"uint256[]"}],"name":"getTokenIdListFromMaskNumbers","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gmsHoldersMintsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maskNumber","type":"uint256"}],"name":"mintWithGMsMaskNumber","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintWithGMsTokenId","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"maskNumbers","type":"uint256[]"}],"name":"multiMintWithGMsMaskNumbers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"multiMintWithGMsTokenIds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyGMsHolders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMintsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceForGMsHoldersInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceForOpenMintInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveMinted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedAllowance","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040523480156200001257600080fd5b50604051620033c2380380620033c2833981016040819052620000359162000397565b6040518060400160405280601481526020017f47656e657261746976656d61736b73204769726c0000000000000000000000008152506040518060400160405280600681526020016511d351d2549360d21b815250837380416304142fa37929f8a4eee83ee7d2dac12d7c8484848360016127108060008087878160009080519060200190620000c7929190620002d4565b508051620000dd906001906020840190620002d4565b5050600160065550620000f03362000282565b60008411620001465760405162461bcd60e51b815260206004820152601660248201527f474d73506173733a494e56414c49445f535550504c590000000000000000000060448201526064015b60405180910390fd5b8415806200015f57508480156200015f57506127108411155b620001ad5760405162461bcd60e51b815260206004820152601660248201527f474d73506173733a494e56414c49445f535550504c590000000000000000000060448201526064016200013d565b8261ffff16841015620002035760405162461bcd60e51b815260206004820152601960248201527f474d73506173733a494e56414c49445f414c4c4f57414e43450000000000000060448201526064016200013d565b60609590951b6001600160601b03191660805292151560f81b60a05260e09190915260f01b6001600160f01b03191660c0526101005261012052505082516200025490600a906020860190620002d4565b50600980546001600160a01b0319166001600160a01b039290921691909117905550620004db945050505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002e29062000488565b90600052602060002090601f01602090048101928262000306576000855562000351565b82601f106200032157805160ff191683800117855562000351565b8280016001018555821562000351579182015b828111156200035157825182559160200191906001019062000334565b506200035f92915062000363565b5090565b5b808211156200035f576000815560010162000364565b80516001600160a01b03811681146200039257600080fd5b919050565b60008060408385031215620003ab57600080fd5b82516001600160401b0380821115620003c357600080fd5b818501915085601f830112620003d857600080fd5b815181811115620003ed57620003ed620004c5565b604051601f8201601f19908116603f01168101908382118183101715620004185762000418620004c5565b816040528281526020935088848487010111156200043557600080fd5b600091505b828210156200045957848201840151818301850152908301906200043a565b828211156200046b5760008484830101525b95506200047d9150508582016200037a565b925050509250929050565b600181811c908216806200049d57607f821691505b60208210811415620004bf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160f81c60c05160f01c60e0516101005161012051612e02620005c06000396000818161081301526115a001526000818161032701528181610af60152611ac501526000818161048901528181610913015281816111b8015281816112d001526119fd01526000818161040c015281816108e90152818161094501528181610b6801528181611196015281816112ae015281816118f6015281816119d301528181611a3b0152611cd10152600081816107bf01526113d701526000818161054201528181610a24015281816114d80152611bae0152612e026000f3fe6080604052600436106102c65760003560e01c8063715018a611610179578063ab2efdd9116100d6578063d4c8d7bd1161008a578063f1393f8011610064578063f1393f80146107ad578063f2fde38b146107e1578063f82cbbe81461080157600080fd5b8063d4c8d7bd14610731578063e985e9c514610751578063ee078e2e1461079a57600080fd5b8063c87b56dd116100bb578063c87b56dd146106e6578063cf721b1514610706578063d0da31b31461071c57600080fd5b8063ab2efdd9146106a6578063b88d4fde146106c657600080fd5b806391ba317a1161012d57806395d89b411161011257806395d89b411461065e578063a0712d6814610673578063a22cb4651461068657600080fd5b806391ba317a14610629578063931688cb1461063e57600080fd5b80638416b6961161015e5780638416b696146105e1578063853828b6146105f65780638da5cb5b1461060b57600080fd5b8063715018a6146105b95780637f1f95bc146105ce57600080fd5b806323b872dd11610227578063564284b6116101db5780635d929f70116101c05780635d929f70146105645780636352211e1461057957806370a082311461059957600080fd5b8063564284b614610503578063572d88621461053057600080fd5b80633bb002ca1161020c5780633bb002ca146104ab57806342842e0e146104c15780634c81433f146104e157600080fd5b806323b872dd146104575780632ab4d0521461047757600080fd5b80630949c97b1161027e5780630a775efb116102635780630a775efb146103e757806320bc84ce146103fa578063227982291461044157600080fd5b80630949c97b146103b1578063095ea7b3146103c757600080fd5b806303b76a81116102af57806303b76a811461031557806306fdde0314610357578063081812fc1461037957600080fd5b806301ffc9a7146102cb57806302b5c30f14610300575b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612a46565b610835565b60405190151581526020015b60405180910390f35b61031361030e366004612ae0565b610887565b005b34801561032157600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016102f7565b34801561036357600080fd5b5061036c610beb565b6040516102f79190612bd4565b34801561038557600080fd5b50610399610394366004612ae0565b610c7d565b6040516001600160a01b0390911681526020016102f7565b3480156103bd57600080fd5b5061034961271081565b3480156103d357600080fd5b506103136103e23660046128f8565b610d12565b6103136103f5366004612924565b610e28565b34801561040657600080fd5b5061042e7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff90911681526020016102f7565b34801561044d57600080fd5b50610349610ed781565b34801561046357600080fd5b506103136104723660046127c0565b610e39565b34801561048357600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000000081565b3480156104b757600080fd5b5061034961270f81565b3480156104cd57600080fd5b506103136104dc3660046127c0565b610ec0565b3480156104ed57600080fd5b5060075461042e90600160a01b900461ffff1681565b34801561050f57600080fd5b5061052361051e366004612924565b610edb565b6040516102f79190612b90565b34801561053c57600080fd5b506103997f000000000000000000000000000000000000000000000000000000000000000081565b34801561057057600080fd5b50610349602081565b34801561058557600080fd5b50610399610594366004612ae0565b610ff1565b3480156105a557600080fd5b506103496105b4366004612746565b61107c565b3480156105c557600080fd5b50610313611116565b6103136105dc366004612ae0565b61117c565b3480156105ed57600080fd5b5061034961118b565b34801561060257600080fd5b50610313611210565b34801561061757600080fd5b506007546001600160a01b0316610399565b34801561063557600080fd5b506103496112a3565b34801561064a57600080fd5b50610313610659366004612a80565b611308565b34801561066a57600080fd5b5061036c61136e565b610313610681366004612ae0565b61137d565b34801561069257600080fd5b506103136106a13660046128c5565b61160d565b3480156106b257600080fd5b506103496106c1366004612ae0565b6116d2565b3480156106d257600080fd5b506103136106e1366004612801565b61174a565b3480156106f257600080fd5b5061036c610701366004612ae0565b6117d8565b34801561071257600080fd5b5061034960085481565b34801561072857600080fd5b506103496118df565b34801561073d57600080fd5b50600954610399906001600160a01b031681565b34801561075d57600080fd5b506102eb61076c366004612787565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103136107a8366004612999565b611923565b3480156107b957600080fd5b506102eb7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107ed57600080fd5b506103136107fc366004612746565b611d92565b34801561080d57600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b031982166380ac58cd60e01b148061086657506001600160e01b03198216635b5e139f60e01b145b8061088157506301ffc9a760e01b6001600160e01b03198316145b92915050565b600260065414156108df5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260065561ffff7f00000000000000000000000000000000000000000000000000000000000000001615801561093757507f0000000000000000000000000000000000000000000000000000000000000000600854105b80610971575060075461ffff7f00000000000000000000000000000000000000000000000000000000000000008116600160a01b90920416105b6109bd5760405162461bcd60e51b815260206004820152601e60248201527f474d73506173733a4d41585f414c4c4f434154494f4e5f52454143484544000060448201526064016108d6565b61270f811115610a045760405162461bcd60e51b815260206004820152601260248201527111d35cd4185cdcce9253959053125117d25160721b60448201526064016108d6565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e9060240160206040518083038186803b158015610a6657600080fd5b505afa158015610a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9e919061276a565b6001600160a01b031614610af45760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f4f574e4552000000000000000000000060448201526064016108d6565b7f00000000000000000000000000000000000000000000000000000000000000003414610b635760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f5052494345000000000000000000000060448201526064016108d6565b61ffff7f00000000000000000000000000000000000000000000000000000000000000001615610bc45760078054600160a01b900461ffff16906014610ba883612d21565b91906101000a81548161ffff021916908361ffff160217905550505b60088054906000610bd483612d43565b9190505550610be33382611e71565b506001600655565b606060008054610bfa90612ce6565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2690612ce6565b8015610c735780601f10610c4857610100808354040283529160200191610c73565b820191906000526020600020905b815481529060010190602001808311610c5657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610cf65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108d6565b506000908152600460205260409020546001600160a01b031690565b6000610d1d82610ff1565b9050806001600160a01b0316836001600160a01b03161415610d8b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108d6565b336001600160a01b0382161480610da75750610da7813361076c565b610e195760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108d6565b610e238383611e8b565b505050565b610e356107a88383610edb565b5050565b610e433382611ef9565b610eb55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d6565b610e23838383611fec565b610e238383836040518060200160405280600081525061174a565b606060008267ffffffffffffffff811115610ef857610ef8612db4565b604051908082528060200260200182016040528015610f21578160200160208202803683370190505b50905060005b83811015610fe95761270f858583818110610f4457610f44612d9e565b905060200201351115610f995760405162461bcd60e51b815260206004820152601660248201527f474d73506173733a494e56414c49445f4e554d4245520000000000000000000060448201526064016108d6565b610fba858583818110610fae57610fae612d9e565b905060200201356116d2565b828281518110610fcc57610fcc612d9e565b602090810291909101015280610fe181612d43565b915050610f27565b509392505050565b6000818152600260205260408120546001600160a01b0316806108815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108d6565b60006001600160a01b0382166110fa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108d6565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146111705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b61117a60006121a0565b565b61118861030e826116d2565b50565b6000806111dc61ffff7f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000612ca3565b6007546008549192506000916111fd91600160a01b900461ffff1690612ca3565b90506112098183612ca3565b9250505090565b6007546001600160a01b0316331461126a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b6007546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611188573d6000803e3d6000fd5b6000806112f461ffff7f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000612ca3565b90506113028161270f612c35565b91505090565b6007546001600160a01b031633146113625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b610e23600a83836126ad565b606060018054610bfa90612ce6565b600260065414156113d05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108d6565b60026006557f0000000000000000000000000000000000000000000000000000000000000000156114435760405162461bcd60e51b815260206004820152601d60248201527f474d73506173733a4f50454e5f4d494e54494e475f44495341424c454400000060448201526064016108d6565b600061144d61118b565b1161149a5760405162461bcd60e51b815260206004820152601e60248201527f474d73506173733a4d41585f414c4c4f434154494f4e5f52454143484544000060448201526064016108d6565b61270f811180156114b257506114ae6112a3565b8111155b8061155d57506040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636352211e9060240160206040518083038186803b15801561151a57600080fd5b505afa15801561152e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611552919061276a565b6001600160a01b0316145b61159e5760405162461bcd60e51b815260206004820152601260248201527111d35cd4185cdcce9253959053125117d25160721b60448201526064016108d6565b7f00000000000000000000000000000000000000000000000000000000000000003414610bc45760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f5052494345000000000000000000000060448201526064016108d6565b6001600160a01b0382163314156116665760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108d6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600061270f8211156117265760405162461bcd60e51b815260206004820152601660248201527f474d73506173733a494e56414c49445f4e554d4245520000000000000000000060448201526064016108d6565b612710610ed76117368285612c35565b6117409190612ca3565b6108819190612d5e565b6117543383611ef9565b6117c65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d6565b6117d2848484846121f2565b50505050565b6000818152600260205260409020546060906001600160a01b03166118655760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108d6565b600061186f612270565b90506000612710611882610ed786612c35565b61188c9190612d5e565b905060008251116118ac57604051806020016040528060008152506118d7565b816118b68261227f565b6040516020016118c7929190612b25565b6040516020818303038152906040525b949350505050565b60075460009061191a90600160a01b900461ffff167f0000000000000000000000000000000000000000000000000000000000000000612c80565b61ffff16905090565b600260065414156119765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108d6565b6002600655805160208111156119ce5760405162461bcd60e51b815260206004820152601160248201527f474d73506173733a544f4f5f4c4152474500000000000000000000000000000060448201526064016108d6565b61ffff7f000000000000000000000000000000000000000000000000000000000000000016158015611a2d57507f000000000000000000000000000000000000000000000000000000000000000081600854611a2a9190612c35565b11155b80611a73575060075461ffff7f0000000000000000000000000000000000000000000000000000000000000000811691611a70918491600160a01b900416612c35565b11155b611abf5760405162461bcd60e51b815260206004820152601e60248201527f474d73506173733a4d41585f414c4c4f434154494f4e5f52454143484544000060448201526064016108d6565b611ae9817f0000000000000000000000000000000000000000000000000000000000000000612c61565b3414611b375760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f5052494345000000000000000000000060448201526064016108d6565b60005b81811015611ccb5761270f838281518110611b5757611b57612d9e565b60200260200101511115611ba25760405162461bcd60e51b815260206004820152601260248201527111d35cd4185cdcce9253959053125117d25160721b60448201526064016108d6565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e858481518110611bed57611bed612d9e565b60200260200101516040518263ffffffff1660e01b8152600401611c1391815260200190565b60206040518083038186803b158015611c2b57600080fd5b505afa158015611c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c63919061276a565b6001600160a01b031614611cb95760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f4f574e4552000000000000000000000060448201526064016108d6565b80611cc381612d43565b915050611b3a565b5061ffff7f00000000000000000000000000000000000000000000000000000000000000001615611d305780600760148282829054906101000a900461ffff16611d159190612c18565b92506101000a81548161ffff021916908361ffff1602179055505b8060086000828254611d429190612c35565b90915550600090505b81811015611d8857611d7633848381518110611d6957611d69612d9e565b6020026020010151611e71565b80611d8081612d43565b915050611d4b565b5050600160065550565b6007546001600160a01b03163314611dec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b6001600160a01b038116611e685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108d6565b611188816121a0565b610e35828260405180602001604052806000815250612395565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ec082610ff1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611f725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108d6565b6000611f7d83610ff1565b9050806001600160a01b0316846001600160a01b03161480611fb85750836001600160a01b0316611fad84610c7d565b6001600160a01b0316145b806118d757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166118d7565b826001600160a01b0316611fff82610ff1565b6001600160a01b03161461207b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108d6565b6001600160a01b0382166120dd5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108d6565b6120e8600082611e8b565b6001600160a01b0383166000908152600360205260408120805460019290612111908490612ca3565b90915550506001600160a01b038216600090815260036020526040812080546001929061213f908490612c35565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6121fd848484611fec565b61220984848484612413565b6117d25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108d6565b6060600a8054610bfa90612ce6565b6060816122a35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122cd57806122b781612d43565b91506122c69050600a83612c4d565b91506122a7565b60008167ffffffffffffffff8111156122e8576122e8612db4565b6040519080825280601f01601f191660200182016040528015612312576020820181803683370190505b5090505b84156118d757612327600183612ca3565b9150612334600a86612d5e565b61233f906030612c35565b60f81b81838151811061235457612354612d9e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061238e600a86612c4d565b9450612316565b61239f838361256b565b6123ac6000848484612413565b610e235760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108d6565b60006001600160a01b0384163b1561256057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612457903390899088908890600401612b54565b602060405180830381600087803b15801561247157600080fd5b505af19250505080156124a1575060408051601f3d908101601f1916820190925261249e91810190612a63565b60015b612546573d8080156124cf576040519150601f19603f3d011682016040523d82523d6000602084013e6124d4565b606091505b50805161253e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108d6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118d7565b506001949350505050565b6001600160a01b0382166125c15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108d6565b6000818152600260205260409020546001600160a01b0316156126265760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108d6565b6001600160a01b038216600090815260036020526040812080546001929061264f908490612c35565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126b990612ce6565b90600052602060002090601f0160209004810192826126db5760008555612721565b82601f106126f45782800160ff19823516178555612721565b82800160010185558215612721579182015b82811115612721578235825591602001919060010190612706565b5061272d929150612731565b5090565b5b8082111561272d5760008155600101612732565b60006020828403121561275857600080fd5b813561276381612dca565b9392505050565b60006020828403121561277c57600080fd5b815161276381612dca565b6000806040838503121561279a57600080fd5b82356127a581612dca565b915060208301356127b581612dca565b809150509250929050565b6000806000606084860312156127d557600080fd5b83356127e081612dca565b925060208401356127f081612dca565b929592945050506040919091013590565b6000806000806080858703121561281757600080fd5b843561282281612dca565b935060208581013561283381612dca565b935060408601359250606086013567ffffffffffffffff8082111561285757600080fd5b818801915088601f83011261286b57600080fd5b81358181111561287d5761287d612db4565b61288f601f8201601f19168501612be7565b915080825289848285010111156128a557600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156128d857600080fd5b82356128e381612dca565b9150602083013580151581146127b557600080fd5b6000806040838503121561290b57600080fd5b823561291681612dca565b946020939093013593505050565b6000806020838503121561293757600080fd5b823567ffffffffffffffff8082111561294f57600080fd5b818501915085601f83011261296357600080fd5b81358181111561297257600080fd5b8660208260051b850101111561298757600080fd5b60209290920196919550909350505050565b600060208083850312156129ac57600080fd5b823567ffffffffffffffff808211156129c457600080fd5b818501915085601f8301126129d857600080fd5b8135818111156129ea576129ea612db4565b8060051b91506129fb848301612be7565b8181528481019084860184860187018a1015612a1657600080fd5b600095505b83861015612a39578035835260019590950194918601918601612a1b565b5098975050505050505050565b600060208284031215612a5857600080fd5b813561276381612ddf565b600060208284031215612a7557600080fd5b815161276381612ddf565b60008060208385031215612a9357600080fd5b823567ffffffffffffffff80821115612aab57600080fd5b818501915085601f830112612abf57600080fd5b813581811115612ace57600080fd5b86602082850101111561298757600080fd5b600060208284031215612af257600080fd5b5035919050565b60008151808452612b11816020860160208601612cba565b601f01601f19169290920160200192915050565b60008351612b37818460208801612cba565b835190830190612b4b818360208801612cba565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b866080830184612af9565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612bc857835183529284019291840191600101612bac565b50909695505050505050565b6020815260006127636020830184612af9565b604051601f8201601f1916810167ffffffffffffffff81118282101715612c1057612c10612db4565b604052919050565b600061ffff808316818516808303821115612b4b57612b4b612d72565b60008219821115612c4857612c48612d72565b500190565b600082612c5c57612c5c612d88565b500490565b6000816000190483118215151615612c7b57612c7b612d72565b500290565b600061ffff83811690831681811015612c9b57612c9b612d72565b039392505050565b600082821015612cb557612cb5612d72565b500390565b60005b83811015612cd5578181015183820152602001612cbd565b838111156117d25750506000910152565b600181811c90821680612cfa57607f821691505b60208210811415612d1b57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612d3957612d39612d72565b6001019392505050565b6000600019821415612d5757612d57612d72565b5060010190565b600082612d6d57612d6d612d88565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461118857600080fd5b6001600160e01b03198116811461118857600080fdfea164736f6c6343000806000a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d56784332726a4264457365505048747653694877326a5a5a71577636706b324a6447716639394534586242322f00000000000000000000

Deployed Bytecode

0x6080604052600436106102c65760003560e01c8063715018a611610179578063ab2efdd9116100d6578063d4c8d7bd1161008a578063f1393f8011610064578063f1393f80146107ad578063f2fde38b146107e1578063f82cbbe81461080157600080fd5b8063d4c8d7bd14610731578063e985e9c514610751578063ee078e2e1461079a57600080fd5b8063c87b56dd116100bb578063c87b56dd146106e6578063cf721b1514610706578063d0da31b31461071c57600080fd5b8063ab2efdd9146106a6578063b88d4fde146106c657600080fd5b806391ba317a1161012d57806395d89b411161011257806395d89b411461065e578063a0712d6814610673578063a22cb4651461068657600080fd5b806391ba317a14610629578063931688cb1461063e57600080fd5b80638416b6961161015e5780638416b696146105e1578063853828b6146105f65780638da5cb5b1461060b57600080fd5b8063715018a6146105b95780637f1f95bc146105ce57600080fd5b806323b872dd11610227578063564284b6116101db5780635d929f70116101c05780635d929f70146105645780636352211e1461057957806370a082311461059957600080fd5b8063564284b614610503578063572d88621461053057600080fd5b80633bb002ca1161020c5780633bb002ca146104ab57806342842e0e146104c15780634c81433f146104e157600080fd5b806323b872dd146104575780632ab4d0521461047757600080fd5b80630949c97b1161027e5780630a775efb116102635780630a775efb146103e757806320bc84ce146103fa578063227982291461044157600080fd5b80630949c97b146103b1578063095ea7b3146103c757600080fd5b806303b76a81116102af57806303b76a811461031557806306fdde0314610357578063081812fc1461037957600080fd5b806301ffc9a7146102cb57806302b5c30f14610300575b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612a46565b610835565b60405190151581526020015b60405180910390f35b61031361030e366004612ae0565b610887565b005b34801561032157600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016102f7565b34801561036357600080fd5b5061036c610beb565b6040516102f79190612bd4565b34801561038557600080fd5b50610399610394366004612ae0565b610c7d565b6040516001600160a01b0390911681526020016102f7565b3480156103bd57600080fd5b5061034961271081565b3480156103d357600080fd5b506103136103e23660046128f8565b610d12565b6103136103f5366004612924565b610e28565b34801561040657600080fd5b5061042e7f000000000000000000000000000000000000000000000000000000000000271081565b60405161ffff90911681526020016102f7565b34801561044d57600080fd5b50610349610ed781565b34801561046357600080fd5b506103136104723660046127c0565b610e39565b34801561048357600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000271081565b3480156104b757600080fd5b5061034961270f81565b3480156104cd57600080fd5b506103136104dc3660046127c0565b610ec0565b3480156104ed57600080fd5b5060075461042e90600160a01b900461ffff1681565b34801561050f57600080fd5b5061052361051e366004612924565b610edb565b6040516102f79190612b90565b34801561053c57600080fd5b506103997f00000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c81565b34801561057057600080fd5b50610349602081565b34801561058557600080fd5b50610399610594366004612ae0565b610ff1565b3480156105a557600080fd5b506103496105b4366004612746565b61107c565b3480156105c557600080fd5b50610313611116565b6103136105dc366004612ae0565b61117c565b3480156105ed57600080fd5b5061034961118b565b34801561060257600080fd5b50610313611210565b34801561061757600080fd5b506007546001600160a01b0316610399565b34801561063557600080fd5b506103496112a3565b34801561064a57600080fd5b50610313610659366004612a80565b611308565b34801561066a57600080fd5b5061036c61136e565b610313610681366004612ae0565b61137d565b34801561069257600080fd5b506103136106a13660046128c5565b61160d565b3480156106b257600080fd5b506103496106c1366004612ae0565b6116d2565b3480156106d257600080fd5b506103136106e1366004612801565b61174a565b3480156106f257600080fd5b5061036c610701366004612ae0565b6117d8565b34801561071257600080fd5b5061034960085481565b34801561072857600080fd5b506103496118df565b34801561073d57600080fd5b50600954610399906001600160a01b031681565b34801561075d57600080fd5b506102eb61076c366004612787565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103136107a8366004612999565b611923565b3480156107b957600080fd5b506102eb7f000000000000000000000000000000000000000000000000000000000000000181565b3480156107ed57600080fd5b506103136107fc366004612746565b611d92565b34801561080d57600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b031982166380ac58cd60e01b148061086657506001600160e01b03198216635b5e139f60e01b145b8061088157506301ffc9a760e01b6001600160e01b03198316145b92915050565b600260065414156108df5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260065561ffff7f00000000000000000000000000000000000000000000000000000000000027101615801561093757507f0000000000000000000000000000000000000000000000000000000000002710600854105b80610971575060075461ffff7f00000000000000000000000000000000000000000000000000000000000027108116600160a01b90920416105b6109bd5760405162461bcd60e51b815260206004820152601e60248201527f474d73506173733a4d41585f414c4c4f434154494f4e5f52454143484544000060448201526064016108d6565b61270f811115610a045760405162461bcd60e51b815260206004820152601260248201527111d35cd4185cdcce9253959053125117d25160721b60448201526064016108d6565b6040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c1690636352211e9060240160206040518083038186803b158015610a6657600080fd5b505afa158015610a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9e919061276a565b6001600160a01b031614610af45760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f4f574e4552000000000000000000000060448201526064016108d6565b7f00000000000000000000000000000000000000000000000000000000000000003414610b635760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f5052494345000000000000000000000060448201526064016108d6565b61ffff7f00000000000000000000000000000000000000000000000000000000000027101615610bc45760078054600160a01b900461ffff16906014610ba883612d21565b91906101000a81548161ffff021916908361ffff160217905550505b60088054906000610bd483612d43565b9190505550610be33382611e71565b506001600655565b606060008054610bfa90612ce6565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2690612ce6565b8015610c735780601f10610c4857610100808354040283529160200191610c73565b820191906000526020600020905b815481529060010190602001808311610c5657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610cf65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108d6565b506000908152600460205260409020546001600160a01b031690565b6000610d1d82610ff1565b9050806001600160a01b0316836001600160a01b03161415610d8b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108d6565b336001600160a01b0382161480610da75750610da7813361076c565b610e195760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108d6565b610e238383611e8b565b505050565b610e356107a88383610edb565b5050565b610e433382611ef9565b610eb55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d6565b610e23838383611fec565b610e238383836040518060200160405280600081525061174a565b606060008267ffffffffffffffff811115610ef857610ef8612db4565b604051908082528060200260200182016040528015610f21578160200160208202803683370190505b50905060005b83811015610fe95761270f858583818110610f4457610f44612d9e565b905060200201351115610f995760405162461bcd60e51b815260206004820152601660248201527f474d73506173733a494e56414c49445f4e554d4245520000000000000000000060448201526064016108d6565b610fba858583818110610fae57610fae612d9e565b905060200201356116d2565b828281518110610fcc57610fcc612d9e565b602090810291909101015280610fe181612d43565b915050610f27565b509392505050565b6000818152600260205260408120546001600160a01b0316806108815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108d6565b60006001600160a01b0382166110fa5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108d6565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b031633146111705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b61117a60006121a0565b565b61118861030e826116d2565b50565b6000806111dc61ffff7f0000000000000000000000000000000000000000000000000000000000002710167f0000000000000000000000000000000000000000000000000000000000002710612ca3565b6007546008549192506000916111fd91600160a01b900461ffff1690612ca3565b90506112098183612ca3565b9250505090565b6007546001600160a01b0316331461126a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b6007546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611188573d6000803e3d6000fd5b6000806112f461ffff7f0000000000000000000000000000000000000000000000000000000000002710167f0000000000000000000000000000000000000000000000000000000000002710612ca3565b90506113028161270f612c35565b91505090565b6007546001600160a01b031633146113625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b610e23600a83836126ad565b606060018054610bfa90612ce6565b600260065414156113d05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108d6565b60026006557f0000000000000000000000000000000000000000000000000000000000000001156114435760405162461bcd60e51b815260206004820152601d60248201527f474d73506173733a4f50454e5f4d494e54494e475f44495341424c454400000060448201526064016108d6565b600061144d61118b565b1161149a5760405162461bcd60e51b815260206004820152601e60248201527f474d73506173733a4d41585f414c4c4f434154494f4e5f52454143484544000060448201526064016108d6565b61270f811180156114b257506114ae6112a3565b8111155b8061155d57506040516331a9108f60e11b81526004810182905233906001600160a01b037f00000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c1690636352211e9060240160206040518083038186803b15801561151a57600080fd5b505afa15801561152e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611552919061276a565b6001600160a01b0316145b61159e5760405162461bcd60e51b815260206004820152601260248201527111d35cd4185cdcce9253959053125117d25160721b60448201526064016108d6565b7f00000000000000000000000000000000000000000000000000000000000000003414610bc45760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f5052494345000000000000000000000060448201526064016108d6565b6001600160a01b0382163314156116665760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108d6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600061270f8211156117265760405162461bcd60e51b815260206004820152601660248201527f474d73506173733a494e56414c49445f4e554d4245520000000000000000000060448201526064016108d6565b612710610ed76117368285612c35565b6117409190612ca3565b6108819190612d5e565b6117543383611ef9565b6117c65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d6565b6117d2848484846121f2565b50505050565b6000818152600260205260409020546060906001600160a01b03166118655760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016108d6565b600061186f612270565b90506000612710611882610ed786612c35565b61188c9190612d5e565b905060008251116118ac57604051806020016040528060008152506118d7565b816118b68261227f565b6040516020016118c7929190612b25565b6040516020818303038152906040525b949350505050565b60075460009061191a90600160a01b900461ffff167f0000000000000000000000000000000000000000000000000000000000002710612c80565b61ffff16905090565b600260065414156119765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108d6565b6002600655805160208111156119ce5760405162461bcd60e51b815260206004820152601160248201527f474d73506173733a544f4f5f4c4152474500000000000000000000000000000060448201526064016108d6565b61ffff7f000000000000000000000000000000000000000000000000000000000000271016158015611a2d57507f000000000000000000000000000000000000000000000000000000000000271081600854611a2a9190612c35565b11155b80611a73575060075461ffff7f0000000000000000000000000000000000000000000000000000000000002710811691611a70918491600160a01b900416612c35565b11155b611abf5760405162461bcd60e51b815260206004820152601e60248201527f474d73506173733a4d41585f414c4c4f434154494f4e5f52454143484544000060448201526064016108d6565b611ae9817f0000000000000000000000000000000000000000000000000000000000000000612c61565b3414611b375760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f5052494345000000000000000000000060448201526064016108d6565b60005b81811015611ccb5761270f838281518110611b5757611b57612d9e565b60200260200101511115611ba25760405162461bcd60e51b815260206004820152601260248201527111d35cd4185cdcce9253959053125117d25160721b60448201526064016108d6565b336001600160a01b03167f00000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c6001600160a01b0316636352211e858481518110611bed57611bed612d9e565b60200260200101516040518263ffffffff1660e01b8152600401611c1391815260200190565b60206040518083038186803b158015611c2b57600080fd5b505afa158015611c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c63919061276a565b6001600160a01b031614611cb95760405162461bcd60e51b815260206004820152601560248201527f474d73506173733a494e56414c49445f4f574e4552000000000000000000000060448201526064016108d6565b80611cc381612d43565b915050611b3a565b5061ffff7f00000000000000000000000000000000000000000000000000000000000027101615611d305780600760148282829054906101000a900461ffff16611d159190612c18565b92506101000a81548161ffff021916908361ffff1602179055505b8060086000828254611d429190612c35565b90915550600090505b81811015611d8857611d7633848381518110611d6957611d69612d9e565b6020026020010151611e71565b80611d8081612d43565b915050611d4b565b5050600160065550565b6007546001600160a01b03163314611dec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d6565b6001600160a01b038116611e685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108d6565b611188816121a0565b610e35828260405180602001604052806000815250612395565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ec082610ff1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611f725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108d6565b6000611f7d83610ff1565b9050806001600160a01b0316846001600160a01b03161480611fb85750836001600160a01b0316611fad84610c7d565b6001600160a01b0316145b806118d757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166118d7565b826001600160a01b0316611fff82610ff1565b6001600160a01b03161461207b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016108d6565b6001600160a01b0382166120dd5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108d6565b6120e8600082611e8b565b6001600160a01b0383166000908152600360205260408120805460019290612111908490612ca3565b90915550506001600160a01b038216600090815260036020526040812080546001929061213f908490612c35565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6121fd848484611fec565b61220984848484612413565b6117d25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108d6565b6060600a8054610bfa90612ce6565b6060816122a35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122cd57806122b781612d43565b91506122c69050600a83612c4d565b91506122a7565b60008167ffffffffffffffff8111156122e8576122e8612db4565b6040519080825280601f01601f191660200182016040528015612312576020820181803683370190505b5090505b84156118d757612327600183612ca3565b9150612334600a86612d5e565b61233f906030612c35565b60f81b81838151811061235457612354612d9e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061238e600a86612c4d565b9450612316565b61239f838361256b565b6123ac6000848484612413565b610e235760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108d6565b60006001600160a01b0384163b1561256057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612457903390899088908890600401612b54565b602060405180830381600087803b15801561247157600080fd5b505af19250505080156124a1575060408051601f3d908101601f1916820190925261249e91810190612a63565b60015b612546573d8080156124cf576040519150601f19603f3d011682016040523d82523d6000602084013e6124d4565b606091505b50805161253e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108d6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118d7565b506001949350505050565b6001600160a01b0382166125c15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108d6565b6000818152600260205260409020546001600160a01b0316156126265760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108d6565b6001600160a01b038216600090815260036020526040812080546001929061264f908490612c35565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126b990612ce6565b90600052602060002090601f0160209004810192826126db5760008555612721565b82601f106126f45782800160ff19823516178555612721565b82800160010185558215612721579182015b82811115612721578235825591602001919060010190612706565b5061272d929150612731565b5090565b5b8082111561272d5760008155600101612732565b60006020828403121561275857600080fd5b813561276381612dca565b9392505050565b60006020828403121561277c57600080fd5b815161276381612dca565b6000806040838503121561279a57600080fd5b82356127a581612dca565b915060208301356127b581612dca565b809150509250929050565b6000806000606084860312156127d557600080fd5b83356127e081612dca565b925060208401356127f081612dca565b929592945050506040919091013590565b6000806000806080858703121561281757600080fd5b843561282281612dca565b935060208581013561283381612dca565b935060408601359250606086013567ffffffffffffffff8082111561285757600080fd5b818801915088601f83011261286b57600080fd5b81358181111561287d5761287d612db4565b61288f601f8201601f19168501612be7565b915080825289848285010111156128a557600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156128d857600080fd5b82356128e381612dca565b9150602083013580151581146127b557600080fd5b6000806040838503121561290b57600080fd5b823561291681612dca565b946020939093013593505050565b6000806020838503121561293757600080fd5b823567ffffffffffffffff8082111561294f57600080fd5b818501915085601f83011261296357600080fd5b81358181111561297257600080fd5b8660208260051b850101111561298757600080fd5b60209290920196919550909350505050565b600060208083850312156129ac57600080fd5b823567ffffffffffffffff808211156129c457600080fd5b818501915085601f8301126129d857600080fd5b8135818111156129ea576129ea612db4565b8060051b91506129fb848301612be7565b8181528481019084860184860187018a1015612a1657600080fd5b600095505b83861015612a39578035835260019590950194918601918601612a1b565b5098975050505050505050565b600060208284031215612a5857600080fd5b813561276381612ddf565b600060208284031215612a7557600080fd5b815161276381612ddf565b60008060208385031215612a9357600080fd5b823567ffffffffffffffff80821115612aab57600080fd5b818501915085601f830112612abf57600080fd5b813581811115612ace57600080fd5b86602082850101111561298757600080fd5b600060208284031215612af257600080fd5b5035919050565b60008151808452612b11816020860160208601612cba565b601f01601f19169290920160200192915050565b60008351612b37818460208801612cba565b835190830190612b4b818360208801612cba565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b866080830184612af9565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612bc857835183529284019291840191600101612bac565b50909695505050505050565b6020815260006127636020830184612af9565b604051601f8201601f1916810167ffffffffffffffff81118282101715612c1057612c10612db4565b604052919050565b600061ffff808316818516808303821115612b4b57612b4b612d72565b60008219821115612c4857612c48612d72565b500190565b600082612c5c57612c5c612d88565b500490565b6000816000190483118215151615612c7b57612c7b612d72565b500290565b600061ffff83811690831681811015612c9b57612c9b612d72565b039392505050565b600082821015612cb557612cb5612d72565b500390565b60005b83811015612cd5578181015183820152602001612cbd565b838111156117d25750506000910152565b600181811c90821680612cfa57607f821691505b60208210811415612d1b57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612d3957612d39612d72565b6001019392505050565b6000600019821415612d5757612d57612d72565b5060010190565b600082612d6d57612d6d612d88565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461118857600080fd5b6001600160e01b03198116811461118857600080fdfea164736f6c6343000806000a

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d56784332726a4264457365505048747653694877326a5a5a71577636706b324a6447716639394534586242322f00000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmVxC2rjBdEsePPHtvSiHw2jZZqWv6pk2JdGqf99E4XbB2/
Arg [1] : _derivedFrom (address): 0x80416304142Fa37929f8A4Eee83eE7D2dAc12D7c

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000080416304142fa37929f8a4eee83ee7d2dac12d7c
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d56784332726a4264457365505048747653694877326a5a
Arg [4] : 5a71577636706b324a6447716639394534586242322f00000000000000000000


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.