ETH Price: $3,940.33 (+0.06%)

Token

Crusties (CRUSTIES)
 

Overview

Max Total Supply

3,878 CRUSTIES

Holders

1,405

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
4 CRUSTIES
0xfbd6aa5500a3ccd2a8311c8f2b1827ed314481d7
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:
Crusties

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 50 runs

Other Settings:
default evmVersion
File 1 of 21 : Crusties.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

//-----------------------------------------------------------------------------
// geneticchain.io - NextGen Generative NFT Platform
//-----------------------------------------------------------------------------
 /*\_____________________________________________________________   .¿yy¿.   __
 MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM```````/MMM\\\\\  \\$$$$$$S/  .
 MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM``   `/  yyyy    ` _____J$$$^^^^/%#//
 MMMMMMMMMMMMMMMMMMMYYYMMM````      `\/  .¿yü  /  $ùpüüü%%% | ``|//|` __
 MMMMMYYYYMMMMMMM/`     `| ___.¿yüy¿.  .d$$$$  /  $$$$SSSSM |   | ||  MMNNNNNNM
 M/``      ``\/`  .¿ù%%/.  |.d$$$$$$$b.$$$*°^  /  o$$$  __  |   | ||  MMMMMMMMM
 M   .¿yy¿.     .dX$$$$$$7.|$$$$"^"$$$$$$o`  /MM  o$$$  MM  |   | ||  MMYYYYYYM
   \\$$$$$$S/  .S$$o"^"4$$$$$$$` _ `SSSSS\        ____  MM  |___|_||  MM  ____
  J$$$^^^^/%#//oSSS`    YSSSSSS  /  pyyyüüü%%%XXXÙ$$$$  MM  pyyyyyyy, `` ,$$$o
 .$$$` ___     pyyyyyyyyyyyy//+  /  $$$$$$SSSSSSSÙM$$$. `` .S&&T$T$$$byyd$$$$\
 \$$7  ``     //o$$SSXMMSSSS  |  /  $$/&&X  _  ___ %$$$byyd$$$X\$`/S$$$$$$$S\
 o$$l   .\\YS$$X>$X  _  ___|  |  /  $$/%$$b.,.d$$$\`7$$$$$$$$7`.$   `"***"`  __
 o$$l  __  7$$$X>$$b.,.d$$$\  |  /  $$.`7$$$$$$$$%`  `*+SX+*|_\\$  /.     ..\MM
 o$$L  MM  !$$$$\$$$$$$$$$%|__|  /  $$// `*+XX*\'`  `____           ` `/MMMMMMM
 /$$X, `` ,S$$$$\ `*+XX*\'`____  /  %SXX .      .,   NERV   ___.¿yüy¿.   /MMMMM
  7$$$byyd$$$>$X\  .,,_    $$$$  `    ___ .y%%ü¿.  _______  $.d$$$$$$$S.  `MMMM
  `/S$$$$$$$\\$J`.\\$$$ :  $\`.¿yüy¿. `\\  $$$$$$S.//XXSSo  $$$$$"^"$$$$.  /MMM
 y   `"**"`"Xo$7J$$$$$\    $.d$$$$$$$b.    ^``/$$$$.`$$$$o  $$$$\ _ 'SSSo  /MMM
 M/.__   .,\Y$$$\\$$O` _/  $d$$$*°\ pyyyüüü%%%W $$$o.$$$$/  S$$$. `  S$To   MMM
 MMMM`  \$P*$$X+ b$$l  MM  $$$$` _  $$$$$$SSSSM $$$X.$T&&X  o$$$. `  S$To   MMM
 MMMX`  $<.\X\` -X$$l  MM  $$$$  /  $$/&&X      X$$$/$/X$$dyS$$>. `  S$X%/  `MM
 MMMM/   `"`  . -$$$l  MM  yyyy  /  $$/%$$b.__.d$$$$/$.'7$$$$$$$. `  %SXXX.  MM
 MMMMM//   ./M  .<$$S, `` ,S$$>  /  $$.`7$$$$$$$$$$$/S//_'*+%%XX\ `._       /MM
 MMMMMMMMMMMMM\  /$$$$byyd$$$$\  /  $$// `*+XX+*XXXX      ,.      .\MMMMMMMMMMM
 GENETIC/MMMMM\.  /$$$$$$$$$$\|  /  %SXX  ,_  .      .\MMMMMMMMMMMMMMMMMMMMMMMM
 CHAIN/MMMMMMMM/__  `*+YY+*`_\|  /_______//MMMMMMMMMMMMMMMMMMMMMMMMMMM/-/-/-\*/
//-----------------------------------------------------------------------------
// Genetic Chain: Crusties
//-----------------------------------------------------------------------------
// Author: papaver (@tronicdreams)
//-----------------------------------------------------------------------------

import "./GeneticChain721.sol";

//------------------------------------------------------------------------------
// GeneticChainMetadata
//------------------------------------------------------------------------------

/**
 * @title Crusties
 * GeneticChain - Project #14 - Crusties
 */
contract Crusties is GeneticChain721
{

    //-------------------------------------------------------------------------
    // fields
    //-------------------------------------------------------------------------

    // token info
    string private _baseUri;
    string private _tokenIpfsHash;

    // contract info
    string public _contractUri;

    // token data
    uint256 private immutable _seed;

    //-------------------------------------------------------------------------
    // ctor
    //-------------------------------------------------------------------------

    constructor(
        string memory baseUri_,
        string memory ipfsHash_,
        string memory contractUri_,
        uint256[3] memory tokenMax_,
        uint256 seed,
        address proxyRegistryAddress)
        GeneticChain721(
          tokenMax_,
          proxyRegistryAddress)
    {
        _baseUri       = baseUri_;
        _tokenIpfsHash = ipfsHash_;
        _contractUri   = contractUri_;
        _seed          = seed;
    }

    //-------------------------------------------------------------------------
    // accessors
    //-------------------------------------------------------------------------

    function setTokenIpfsHash(string memory hash)
        public
        onlyOwner
    {
        if (bytes(hash).length == 0) {
            delete _tokenIpfsHash;
        } else {
            _tokenIpfsHash = hash;
        }
    }

    //-------------------------------------------------------------------------

    function setBaseTokenURI(string memory baseUri)
        public
        onlyOwner
    {
        _baseUri = baseUri;
    }

    //-------------------------------------------------------------------------
    // ERC721Metadata
    //-------------------------------------------------------------------------

    function baseTokenURI()
        public
        view
        returns (string memory)
    {
        return _baseUri;
    }

    //-------------------------------------------------------------------------

    /**
     * @dev Returns uri of a token.  Not guarenteed token exists.
     */
    function tokenURI(uint256 tokenId)
        override
        public
        view
        returns (string memory)
    {
        return bytes(_tokenIpfsHash).length == 0
            ? string(abi.encodePacked(
                baseTokenURI(), "/", Strings.toString(tokenId)))
            : string(abi.encodePacked(
                baseTokenURI(),
                    "/", _tokenIpfsHash,
                    "/", Strings.toString(tokenId)));
    }

    //-------------------------------------------------------------------------
    // contractUri
    //-------------------------------------------------------------------------

    function setContractURI(string memory contractUri)
        external
        onlyOwner
    {
        _contractUri = contractUri;
    }

    //-------------------------------------------------------------------------

    function contractURI()
        public
        view
        returns (string memory)
    {
        return _contractUri;
    }

    //-------------------------------------------------------------------------
    // generative
    //-------------------------------------------------------------------------

    /**
     * @dev Low-Gas alternative to storing the hash on the chain.
     * @return generated hash associated with valid a token.
     */
    function tokenHash(uint256 tokenId)
        public
        view
        validTokenId(tokenId)
        returns (bytes32)
    {
      return keccak256(
          abi.encodePacked(
              _seed,
              tokenId,
              tokenId - 1,
              keccak256(abi.encodePacked(tokenId, tokenId - 1)),
              address(this)));
    }

}

File 2 of 21 : 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 21 : 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 4 of 21 : 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 5 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 6 of 21 : 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 7 of 21 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 21 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 9 of 21 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 10 of 21 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 11 of 21 : 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 12 of 21 : 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);
}

File 13 of 21 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 14 of 21 : GeneticChain721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

//------------------------------------------------------------------------------
// geneticchain.io - NextGen Generative NFT Platform
//------------------------------------------------------------------------------
//________________________________________________________________   .¿yy¿.   __
//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM```````/MMM\\\\\  \\$$$$$$S/  .
//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM``   `/  yyyy    ` _____J$$$*^^*/%#//
//MMMMMMMMMMMMMMMMMMMYYYMMM````      `\/  .¿yü  /  $ùpüüü%%% | ``|//|` __
//MMMMMYYYYMMMMMMM/`     `| ___.¿yüy¿.  .d$$$$  /  $$$$SSSSM |   | ||  MMNNNNNNM
//M/``      ``\/`  .¿ù%%/.  |.d$$$$$$$b.$$$*°^  /  o$$$  __  |   | ||  MMMMMMMMM
//M   .¿yy¿.     .dX$$$$$$7.|$$$$"^"$$$$$$o`  /MM  o$$$  MM  |   | ||  MMYYYYYYM
//  \\$$$$$$S/  .S$$o"^"4$$$$$$$` _ `SSSSS\        ____  MM  |___|_||  MM  ____
// J$$$*^^*/%#//oSSS`    YSSSSSS  /  pyyyüüü%%%XXXÙ$$$$  MM  pyyyyyyy, `` ,$$$o
//.$$$` ___     pyyyyyyyyyyyy//+  /  $$$$$$SSSSSSSÙM$$$. `` .S&&T$T$$$byyd$$$$\
//\$$7  ``     //o$$SSXMMSSSS  |  /  $$/&&X  _  ___ %$$$byyd$$$X\$`/S$$$$$$$S\
//o$$l   .\\YS$$X>$X  _  ___|  |  /  $$/%$$b.,.d$$$\`7$$$$$$$$7`.$   `"***"`  __
//o$$l  __  7$$$X>$$b.,.d$$$\  |  /  $$.`7$$$$$$$$%`  `*+SX+*|_\\$  /.     ..\MM
//o$$L  MM  !$$$$\$$$$$$$$$%|__|  /  $$// `*+XX*\'`  `____           ` `/MMMMMMM
///$$X, `` ,S$$$$\ `*+XX*\'`____  /  %SXX .      .,   NERV   ___.¿yüy¿.   /MMMMM
// 7$$$byyd$$$>$X\  .,,_    $$$$  `    ___ .y%%ü¿.  _______  $.d$$$$$$$S.  `MMMM
// `/S$$$$$$$\\$J`.\\$$$ :  $\`.¿yüy¿. `\\  $$$$$$S.//XXSSo  $$$$$"^"$$$$.  /MMM
//y   `"**"`"Xo$7J$$$$$\    $.d$$$$$$$b.    ^``/$$$$.`$$$$o  $$$$\ _ 'SSSo  /MMM
//M/.__   .,\Y$$$\\$$O` _/  $d$$$*°\ pyyyüüü%%%W $$$o.$$$$/  S$$$. `  S$To   MMM
//MMMM`  \$P*$$X+ b$$l  MM  $$$$` _  $$$$$$SSSSM $$$X.$T&&X  o$$$. `  S$To   MMM
//MMMX`  $<.\X\` -X$$l  MM  $$$$  /  $$/&&X      X$$$/$/X$$dyS$$>. `  S$X%/  `MM
//MMMM/   `"`  . -$$$l  MM  yyyy  /  $$/%$$b.__.d$$$$/$.'7$$$$$$$. `  %SXXX.  MM
//MMMMM//   ./M  .<$$S, `` ,S$$>  /  $$.`7$$$$$$$$$$$/S//_'*+%%XX\ `._       /MM
//MMMMMMMMMMMMM\  /$$$$byyd$$$$\  /  $$// `*+XX+*XXXX      ,.      .\MMMMMMMMMMM
//GENETIC/MMMMM\.  /$$$$$$$$$$\|  /  %SXX  ,_  .      .\MMMMMMMMMMMMMMMMMMMMMMMM
//CHAIN/MMMMMMMM/__  `*+YY+*`_\|  /_______//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
//------------------------------------------------------------------------------
// Genetic Chain: GeneticChain721
//------------------------------------------------------------------------------
// Author: papaver (@tronicdreams)
//------------------------------------------------------------------------------

import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/utils/cryptography/ECDSA.sol";
import "openzeppelin-solidity/contracts/utils/Strings.sol";

import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";
import "./geneticchain/ERC721Sequential.sol";
import "./geneticchain/ERC721SeqEnumerable.sol";
import "./libraries/State.sol";

//------------------------------------------------------------------------------
// helper contracts
//------------------------------------------------------------------------------

contract OwnableDelegateProxy {}

//------------------------------------------------------------------------------

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

//------------------------------------------------------------------------------
// GeneticChain721
//------------------------------------------------------------------------------

/**
 * @title GeneticChain721
 *
 * ERC721 contract with various features:
 *  - low-gas implmentation
 *  - off-chain whitelist verify (secure minting)
 *  - dynamic token allocation
 *  - artist allocation
 *  - gallery allocation
 *  - low-gas generative token hash
 *  - protected controlled burns
 *  - opensea proxy setup
 *  - simple funds withdrawl
 *  - approval locking disabling secondary marketplace listings
 */
abstract contract GeneticChain721 is
    ContextMixin,
    ERC721SeqEnumerable,
    NativeMetaTransaction,
    Ownable
{
    using ECDSA for bytes32;
    using State for State.Data;

    //-------------------------------------------------------------------------
    // fields
    //-------------------------------------------------------------------------

    // erc721 metadata
    string constant private __name   = "Crusties";
    string constant private __symbol = "CRUSTIES";

    // metadata
    uint256 constant public projectId  = 14;
    string constant public artist      = "Samuele Giordano";
    string constant public description = "Friendly crustaceans taking over the open sea.";

    // mint price
    uint256 constant public publicPrice = .05 ether;

    // allocations
    uint256 constant public maxPublic = 5;

    // verification address
    address constant private _wlSigner    = 0xF9021628355D6c995AD4131C9627A0a085CA0c38;
    address constant private _claimSigner = 0xF51f16A65936d352B5380486d31Cf44cC11DFbf1;

    // token limits
    uint256 public immutable publicMax;
    uint256 public immutable artistMax;
    uint256 public immutable galleryMax;

    // opensea proxy
    address private immutable _proxyRegistryAddress;

    // contract state
    State.Data private _state;

    // roles
    mapping (address => bool) private _burnerAddress;
    address private _artistAddress = 0x00f630965f882298219edBB1B96e0409EC6C8698;

    // track mint count per address
    mapping (address => uint256) private _mints;

    //-------------------------------------------------------------------------
    // modifiers
    //-------------------------------------------------------------------------

    modifier validTokenId(uint256 tokenId) {
        require(_exists(tokenId), "invalid token");
        _;
    }

    //-------------------------------------------------------------------------

    modifier approvedOrOwner(address operator, uint256 tokenId) {
        require(_isApprovedOrOwner(operator, tokenId));
        _;
    }

    //-------------------------------------------------------------------------

    modifier isArtist() {
        require(_msgSender() == _artistAddress, "caller not artist");
        _;
    }

    //-------------------------------------------------------------------------

    modifier isBurner() {
        require(_burnerAddress[_msgSender()], "caller not burner");
        _;
    }

    //-------------------------------------------------------------------------

    modifier notLocked() {
        require(_state._locked == 0, "contract is locked");
        _;
    }

    //-------------------------------------------------------------------------

    modifier approvalsEnabled() {
        require(_state._approvals == 1, "approvals disabled");
        _;
    }

    //-------------------------------------------------------------------------
    // ctor
    //-------------------------------------------------------------------------

    constructor(
        uint256[3] memory tokenMax_,
        address proxyRegistryAddress)
        ERC721Sequential(__name, __symbol)
    {
        publicMax             = tokenMax_[0];
        artistMax             = tokenMax_[1];
        galleryMax            = tokenMax_[2];
        _proxyRegistryAddress = proxyRegistryAddress;
        _initializeEIP712(__name);

        // start tokens at 1 index
        _owners.push();
    }

    //-------------------------------------------------------------------------
    // accessors
    //-------------------------------------------------------------------------

    /**
     * Check if public minting is live.
     */
    function publicLive()
        public
        view
        returns (bool)
    {
        return _state._live == 1;
    }

    //-------------------------------------------------------------------------

    /**
     * Check if contract is locked.
     */
    function isLocked()
        public
        view
        returns (bool)
    {
        return _state._locked == 1;
    }

    //-------------------------------------------------------------------------

    /**
     * Check if contract is allowing approvals.
     */
    function approvalsDisabled()
        public
        view
        returns (bool)
    {
        return _state._approvals == 0;
    }

    //-------------------------------------------------------------------------

    /**
     * Get total gallery has minted.
     */
    function galleryMinted()
        public
        view
        returns (uint256)
    {
        return _state._gallery;
    }

    //-------------------------------------------------------------------------

    /**
     * Get total artist has minted.
     */
    function artistMinted()
        public
        view
        returns (uint256)
    {
        return _state._artist;
    }

    //-------------------------------------------------------------------------

    /**
     * Get total public has minted.
     */
    function publicMinted()
        public
        view
        returns (uint256)
    {
        return _state._public;
    }

    //-------------------------------------------------------------------------

    /**
     * Set artist address.
     */
    function setArtistAddress(address artistAddress)
        public
        onlyOwner
    {
        _artistAddress = artistAddress;
    }

    //-------------------------------------------------------------------------

    /**
     * Authorize artist address.
     */
    function registerBurnerAddress(address burner)
        public onlyOwner
    {
        require(!_burnerAddress[burner], "address already registered");
        _burnerAddress[burner] = true;
    }

    //-------------------------------------------------------------------------

    /**
     * Remove burner address.
     */
    function revokeBurnerAddress(address burner)
        public onlyOwner
    {
        require(_burnerAddress[burner], "address not registered");
        delete _burnerAddress[burner];
    }

    //-------------------------------------------------------------------------
    // admin
    //-------------------------------------------------------------------------

    /**
     * Lock contract.  Disable public/member minting.
     */
    function lockContract()
        public
        onlyOwner
    {
        _state.setLocked(1);
    }

    //-------------------------------------------------------------------------

    /**
     * Enable public minting.
     */
    function enablePublicMint()
        public
        onlyOwner
    {
        _state.setLive(1);
    }

    //-------------------------------------------------------------------------

    /**
     * Enable approvals.
     */
    function enableApprovals()
        public
        onlyOwner
    {
        _state.setAllowApprovals(1);
    }

    //-------------------------------------------------------------------------
    // security
    //-------------------------------------------------------------------------

    /**
     * Validate hash contains input data.
     */
    function validateHash(bytes32 msgHash, address sender,
            uint256 allocation, uint256 count)
        private
        pure
        returns(bool)
    {
        return ECDSA.toEthSignedMessageHash(
            keccak256(abi.encodePacked(sender, allocation, count))) == msgHash;
    }

    //-------------------------------------------------------------------------

    /**
     * Validate message was signed by signer.
     */
    function validateSigner(bytes32 msgHash, bytes memory signature,
            address signer)
        private
        pure
        returns(bool)
    {
        return msgHash.recover(signature) == signer;
    }

    //-------------------------------------------------------------------------
    // minting
    //-------------------------------------------------------------------------

    /**
     * Allow anyone to mint tokens for the right price.
     */
    function mint(uint256 count)
        payable
        public
        notLocked
    {
        require(_state._live == 1, "public mint not live");
        require(count <= maxPublic, "exceed allocation");
        require(publicPrice * count == msg.value, "insufficient funds");
        require(_state._public + count <= publicMax, "exceed public supply");
        _state.addPublic(count);
        for (uint256 i = 0; i < count; ++i) {
            _safeMint(msg.sender);
        }
    }

    //-------------------------------------------------------------------------

    /**
     * Mint count tokens using securely signed message.
     */
    function secureMint(bytes32 msgHash, bytes calldata signature,
            uint256 allocation, uint256 count)
        payable
        external
        notLocked
    {
        require(publicPrice * count == msg.value, "insufficient funds");
        require(_state._public + count <= publicMax, "exceed public supply");
        require(_mints[msg.sender] + count <= allocation, "exceed allocation");
        require(validateSigner(msgHash, signature, _wlSigner), "invalid signer");
        require(validateHash(msgHash, msg.sender, allocation, count), "invalid hash");
        _state.addPublic(count);
        unchecked {
            _mints[msg.sender] += count;
        }
        for (uint256 i = 0; i < count; ++i) {
            _safeMint(msg.sender);
        }
    }

    //-------------------------------------------------------------------------

    /**
     * Allow spiral holders to claim.
     */
    function claim(bytes32 msgHash, bytes calldata signature,
            uint256 allocation, uint256 count)
        external
        notLocked
    {
        require(_state._public + count <= publicMax, "exceed public supply");
        require(_mints[msg.sender] + count <= allocation, "exceed allocation");
        require(validateSigner(msgHash, signature, _claimSigner), "invalid signer");
        require(validateHash(msgHash, msg.sender, allocation, count), "invalid hash");
        _state.addPublic(count);
        unchecked {
            _mints[msg.sender] += count;
        }
        for (uint256 i = 0; i < count; ++i) {
            _safeMint(msg.sender);
        }
    }

    //-------------------------------------------------------------------------

    /**
     * @dev Mint token to given addresses.
     * @param wallets addresses to mint tokens to
     */
    function airdrop(address[] calldata wallets)
        public
        onlyOwner
    {
        uint256 count = wallets.length;
        require(_state._public + count <= publicMax, "exceed public supply");
        _state.addPublic(count);
        for (uint256 i = 0; i < count; ++i) {
            _safeMint(wallets[i]);
        }
    }

    //-------------------------------------------------------------------------

    /**
     * @dev Mints a token to an address.
     * @param wallet address of the future owner of the token
     */
    function galleryMintTo(address wallet, uint256 count)
        public
        onlyOwner
    {
        require(_state._gallery + count <= galleryMax, "exceed gallery supply");
        _state.addGallery(count);
        for (uint256 i = 0; i < count; ++i) {
            _safeMint(wallet);
        }
    }

    //-------------------------------------------------------------------------

    /**
     * @dev Mints a token to an address.
     * @param wallet address of the future owner of the token
     */
    function artistMintTo(address wallet, uint256 count)
        public
        isArtist
    {
        require(_state._artist + count <= artistMax, "exceed artist supply");
        _state.addArtist(count);
        for (uint256 i = 0; i < count; ++i) {
            _safeMint(wallet);
        }
    }

    //-------------------------------------------------------------------------

    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     */
    function burn(uint256 tokenId)
        public
        isBurner
    {
        _burn(tokenId);
    }

    //-------------------------------------------------------------------------
    // money
    //-------------------------------------------------------------------------

    /**
     * Pull money out of this contract.
     */
    function withdraw(address to, uint256 amount)
        public
        onlyOwner
    {
        require(amount > 0, "amount empty");
        require(amount <= address(this).balance, "amount exceeds balance");
        require(to != address(0), "address null");
        payable(to).transfer(amount);
    }

    //-------------------------------------------------------------------------
    // approval
    //-------------------------------------------------------------------------

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId)
        override(ERC721Sequential, IERC721)
        public
        approvalsEnabled
    {
         super.approve(to, tokenId);
    }

    //-------------------------------------------------------------------------

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        override(ERC721Sequential, IERC721)
        public
        approvalsEnabled
    {
        super.setApprovalForAll(operator, approved);
    }

    //-------------------------------------------------------------------------

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts
     *  to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override(ERC721Sequential, IERC721)
        public
        view
        returns (bool)
    {
        if (approvalsDisabled()) {
            return false;
        }

        // whitelist OpenSea proxy contract for easy trading
        ProxyRegistry proxyRegistry = ProxyRegistry(_proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    //-------------------------------------------------------------------------

    /**
     * This is used instead of msg.sender as transactions won't be sent by
     *  the original token owner, but by OpenSea.
     */
    function _msgSender()
        override
        internal
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }

}

File 15 of 21 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 16 of 21 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 17 of 21 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

File 18 of 21 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {SafeMath} from  "openzeppelin-solidity/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 19 of 21 : ERC721SeqEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

//------------------------------------------------------------------------------
// geneticchain.io - NextGen Generative NFT Platform
//------------------------------------------------------------------------------
//    _______                   __   __        ______ __          __
//   |     __|-----.-----.-----|  |_|__|----. |      |  |--.---.-|__|-----.
//   |    |  |  -__|     |  -__|   _|  |  __| |   ---|     |  _  |  |     |
//   |_______|_____|__|__|_____|____|__|____| |______|__|__|___._|__|__|__|
//
//------------------------------------------------------------------------------
// Genetic Chain: ERC721SeqEnumerable
//------------------------------------------------------------------------------
// Author: papaver (@tronicdreams)
//------------------------------------------------------------------------------

import "openzeppelin-solidity/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "./ERC721Sequential.sol";

/**
 * @dev This is a no storage implemntation of the optional extension {ERC721}
 * defined in the EIP that adds enumerability of all the token ids in the
 * contract as well as all token ids owned by each account. These functions
 * are mainly for convienence and should NEVER be called from inside a
 * contract on the chain.
 */
abstract contract ERC721SeqEnumerable is ERC721Sequential, IERC721Enumerable {

    address constant zero = address(0);

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(
        address owner,
        uint256 index
    ) public view virtual override returns (uint256 tokenId) {
        uint256 length = _owners.length;

        unchecked {
            for (; tokenId < length; ++tokenId) {
                if (_owners[tokenId] == owner) {
                    if (index-- == 0) {
                        break;
                    }
                }
            }
        }

        require(tokenId < length, "ERC721Enumerable: owner index out of bounds");
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256 supply) {
        unchecked {
            uint256 length = _owners.length;
            for (uint256 tokenId = 0; tokenId < length; ++tokenId) {
                if (_owners[tokenId] != zero) {
                    ++supply;
                }
            }
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(
        uint256 index
    ) public view virtual override returns (uint256 tokenId) {
        uint256 length = _owners.length;

        unchecked {
            for (; tokenId < length; ++tokenId) {
                if (_owners[tokenId] != zero) {
                    if (index-- == 0) {
                        break;
                    }
                }
            }
        }

        require(tokenId < length, "ERC721Enumerable: global index out of bounds");
    }

    /**
     * @dev Get all tokens owned by owner.
     */
    function ownerTokens(
        address owner
    ) public view returns (uint256[] memory) {
        uint256 tokenCount = ERC721Sequential.balanceOf(owner);
        require(tokenCount != 0, "ERC721Enumerable: owner owns no tokens");

        uint256 length = _owners.length;
        uint256[] memory tokenIds = new uint256[](tokenCount);
        unchecked {
            uint256 i = 0;
            for (uint256 tokenId = 0; tokenId < length; ++tokenId) {
                if (_owners[tokenId] == owner) {
                    tokenIds[i++] = tokenId;
                }
            }
        }

        return tokenIds;
    }

}

File 20 of 21 : ERC721Sequential.sol
// SPDX-License-Identifier: MIT
// Forked from: OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

//------------------------------------------------------------------------------
// geneticchain.io - NextGen Generative NFT Platform
//------------------------------------------------------------------------------
//    _______                   __   __        ______ __          __
//   |     __|-----.-----.-----|  |_|__|----. |      |  |--.---.-|__|-----.
//   |    |  |  -__|     |  -__|   _|  |  __| |   ---|     |  _  |  |     |
//   |_______|_____|__|__|_____|____|__|____| |______|__|__|___._|__|__|__|
//
//------------------------------------------------------------------------------
// Genetic Chain: ERC721Sequential
//------------------------------------------------------------------------------
// Author: papaver (@tronicdreams)
//------------------------------------------------------------------------------

import "openzeppelin-solidity/contracts/token/ERC721/IERC721.sol";
import "openzeppelin-solidity/contracts/token/ERC721/IERC721Receiver.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "openzeppelin-solidity/contracts/utils/Address.sol";
import "openzeppelin-solidity/contracts/utils/Context.sol";
import "openzeppelin-solidity/contracts/utils/Strings.sol";
import "openzeppelin-solidity/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721
 *  [ERC721] Non-Fungible Token Standard
 *
 *  This implmentation of ERC721 assumes sequencial token creation to provide
 *  efficient minting.  Storage for balance are no longer required reducing
 *  gas significantly.  This comes at the price of calculating the balance by
 *  iterating through the entire array.  The balanceOf function should NOT
 *  be used inside a contract.  Gas usage will explode as the size of tokens
 *  increase.  A convenience function is provided which returns the entire
 *  list of owners whose index maps tokenIds to thier owners.  Zero addresses
 *  indicate burned tokens.
 *
 */
contract ERC721Sequential 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
    address[] _owners;

    // 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 balance) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        unchecked {
            uint256 length = _owners.length;
            for (uint256 i = 0; i < length; ++i) {
                if (_owners[i] == owner) {
                    ++balance;
                }
            }
        }

    }

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

    /**
     * @dev Returns entire list of owner enumerated by thier tokenIds.  Burned tokens
     * will have a zero address.
     */
    function owners() public view returns (address[] memory) {
        address[] memory owners_ = _owners;
        return owners_;
    }

    /**
     * @dev Return largest tokenId minted.
     */
    function maxTokenId() public view returns (uint256) {
        return _owners.length - 1;
    }

    /**
     * @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 = ERC721Sequential.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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 tokenId < _owners.length && _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 = ERC721Sequential.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) internal virtual returns (uint256 tokenId) {
        tokenId = _safeMint(to, "");
    }

    /**
     * @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,
        bytes memory _data
    ) internal virtual returns (uint256 tokenId) {
        tokenId = _mint(to);
        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) internal virtual returns (uint256 tokenId) {
        require(to != address(0), "ERC721: mint to the zero address");
        tokenId = _owners.length;

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

        _owners.push(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 = ERC721Sequential.ownerOf(tokenId);

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

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

        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(ERC721Sequential.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);

        _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(ERC721Sequential.ownerOf(tokenId), to, tokenId);
    }

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

    /**
     * @dev 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 21 of 21 : State.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

//------------------------------------------------------------------------------
// geneticchain.io - NextGen Generative NFT Platform
//------------------------------------------------------------------------------
//    _______                   __   __        ______ __          __
//   |     __|-----.-----.-----|  |_|__|----. |      |  |--.---.-|__|-----.
//   |    |  |  -__|     |  -__|   _|  |  __| |   ---|     |  _  |  |     |
//   |_______|_____|__|__|_____|____|__|____| |______|__|__|___._|__|__|__|
//
//------------------------------------------------------------------------------
// Genetic Chain: library/State
//------------------------------------------------------------------------------
// Author: papaver (@tronicdreams)
//------------------------------------------------------------------------------

/**
 * @dev Handle contract state efficiently as possbile.
 */
library State {

    //-------------------------------------------------------------------------
    // fields
    //-------------------------------------------------------------------------

    struct Data {
        uint16  _gallery;
        uint16  _artist;
        uint16  _public;
        uint16  _live;
        uint16  _locked;
        uint16  _approvals;
        uint160 _unused;
    }

    //-------------------------------------------------------------------------
    // methods
    //-------------------------------------------------------------------------

    function addGallery(Data storage data, uint256 count)
        internal
     {
        unchecked {
            data._gallery += uint16(count);
        }
    }

    //-------------------------------------------------------------------------

    function addArtist(Data storage data, uint256 count)
        internal
     {
        unchecked {
            data._artist += uint16(count);
        }
    }

    //-------------------------------------------------------------------------

    function addPublic(Data storage data, uint256 count)
        internal
     {
        unchecked {
            data._public += uint16(count);
        }
    }

    //-------------------------------------------------------------------------

    function setLive(Data storage data, uint256 enable)
        internal
     {
        data._live = uint16(enable);
    }

    //-------------------------------------------------------------------------

    function setLocked(Data storage data, uint256 enable)
        internal
    {
        data._locked = uint16(enable);
    }

    //-------------------------------------------------------------------------

    function setAllowApprovals(Data storage data, uint256 enable)
        internal
    {
        data._approvals = uint16(enable);
    }

    //-------------------------------------------------------------------------

    function set(Data storage data, uint256 _gallery, uint256 _artist, uint256 _public)
        internal
    {
        data._gallery = uint16(_gallery);
        data._artist  = uint16(_artist);
        data._public  = uint16(_public);
    }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseUri_","type":"string"},{"internalType":"string","name":"ipfsHash_","type":"string"},{"internalType":"string","name":"contractUri_","type":"string"},{"internalType":"uint256[3]","name":"tokenMax_","type":"uint256[3]"},{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"address","name":"proxyRegistryAddress","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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approvalsDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"artist","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"artistMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"artistMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"msgHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"allocation","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"galleryMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"galleryMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"galleryMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","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":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ownerTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"burner","type":"address"}],"name":"registerBurnerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"burner","type":"address"}],"name":"revokeBurnerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"msgHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"allocation","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"secureMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"artistAddress","type":"address"}],"name":"setArtistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractUri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"hash","type":"string"}],"name":"setTokenIpfsHash","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040526005805460ff19169055600b80546001600160a01b03191672f630965f882298219edbb1b96e0409ec6c86981790553480156200004157600080fd5b506040516200476d3803806200476d833981016040819052620000649162000533565b828160405180604001604052806008815260200167437275737469657360c01b81525060405180604001604052806008815260200167435255535449455360c01b8152508160009080519060200190620000c092919062000367565b508051620000d690600190602084019062000367565b5050506000620000eb620001e760201b60201c565b600880546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350815160805260208083015160a05260408084015160c0526001600160a01b03831660e05280518082019091526008815267437275737469657360c01b91810191909152620001879062000203565b50506002805460010181556000528551620001aa90600d90602089019062000367565b508451620001c090600e90602088019062000367565b508351620001d690600f90602087019062000367565b505061010052506200066d92505050565b6000620001fe6200026760201b620026521760201c565b905090565b60055460ff16156200024c5760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b6200025781620002c5565b506005805460ff19166001179055565b6000303303620002bf57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002c29050565b50335b90565b6040518060800160405280604f81526020016200471e604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600655565b828054620003759062000631565b90600052602060002090601f016020900481019282620003995760008555620003e4565b82601f10620003b457805160ff1916838001178555620003e4565b82800160010185558215620003e4579182015b82811115620003e4578251825591602001919060010190620003c7565b50620003f2929150620003f6565b5090565b5b80821115620003f25760008155600101620003f7565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b03811182821017156200044857620004486200040d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200047957620004796200040d565b604052919050565b600082601f8301126200049357600080fd5b81516001600160401b03811115620004af57620004af6200040d565b6020620004c5601f8301601f191682016200044e565b8281528582848701011115620004da57600080fd5b60005b83811015620004fa578581018301518282018401528201620004dd565b838111156200050c5760008385840101525b5095945050505050565b80516001600160a01b03811681146200052e57600080fd5b919050565b60008060008060008061010087890312156200054e57600080fd5b86516001600160401b03808211156200056657600080fd5b620005748a838b0162000481565b97506020915081890151818111156200058c57600080fd5b6200059a8b828c0162000481565b975050604089015181811115620005b057600080fd5b620005be8b828c0162000481565b9650505088607f890112620005d257600080fd5b620005dc62000423565b8060c08a018b811115620005ef57600080fd5b60608b015b818110156200060d5780518452928401928401620005f4565b505190955093506200062591505060e0880162000516565b90509295509295509295565b600181811c908216806200064657607f821691505b6020821081036200066757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051614042620006dc6000396000611c28015260006123410152600081816106cb01526111ca015260008181610a4f0152610e830152600081816109c7015281816113740152818161186201528181611ac2015261210c01526140426000f3fe60806040526004361061030d5760003560e01c8063753868e311610197578063b88d4fde116100ed578063d9ce2f6d11610090578063d9ce2f6d146109a0578063e527c6dd146109b5578063e8a3d485146109e9578063e985e9c5146109fe578063ed329fa814610a1e578063ef3c662414610a3d578063f2fde38b14610a71578063f3fef3a314610a9157600080fd5b8063b88d4fde146108c1578063ba8bce55146108e1578063bba7723e14610901578063c87b56dd1461092e578063d02bbb991461094e578063d547cfb714610963578063d62f3b1c14610978578063d81bc6631461098d57600080fd5b8063753868e3146107225780637dc42975146107375780638da5cb5b1461074c57806391ba317a14610761578063938e3d7b1461077657806395d89b4114610796578063a0712d68146107ab578063a22cb465146107be578063a22e4faa146107de578063a3864397146107fe578063a4e2d6341461081e578063a4f4f8af14610841578063a945bf8014610861578063affe39c11461087c578063b7f751d81461089e57600080fd5b806338ac0273116102675780634dcc60af1161020a5780634dcc60af146106245780634f6ccce7146106445780636352211e1461066457806370a0823114610684578063715018a6146106a457806371dedace146106b95780637284e416146106ed578063729ad39e1461070257600080fd5b806338ac0273146105125780633fafa1271461053357806342842e0e1461054857806342966c681461056857806343bc16121461058857806344be774f146105c45780634b457935146105e45780634c1ec8f91461060457600080fd5b806301ffc9a71461031257806306fdde0314610347578063081812fc14610369578063095ea7b3146103965780630c53c51c146103b85780630f7e5970146103cb57806314d7d517146103f857806318160ddd1461041857806320379ee51461043b57806323b872dd146104505780632d0335ab146104705780632f745c59146104a657806330176e13146104c65780633408e470146104e65780633763e75b146104f9575b600080fd5b34801561031e57600080fd5b5061033261032d36600461353c565b610ab1565b60405190151581526020015b60405180910390f35b34801561035357600080fd5b5061035c610adc565b60405161033e91906135b1565b34801561037557600080fd5b506103896103843660046135c4565b610b6e565b60405161033e91906135dd565b3480156103a257600080fd5b506103b66103b1366004613606565b610bfb565b005b61035c6103c63660046136dd565b610c36565b3480156103d757600080fd5b5061035c604051806040016040528060018152602001603160f81b81525081565b34801561040457600080fd5b506103b6610413366004613606565b610e20565b34801561042457600080fd5b5061042d610f49565b60405190815260200161033e565b34801561044757600080fd5b5060065461042d565b34801561045c57600080fd5b506103b661046b36600461375a565b610fa5565b34801561047c57600080fd5b5061042d61048b36600461379b565b6001600160a01b031660009081526007602052604090205490565b3480156104b257600080fd5b5061042d6104c1366004613606565b610fdd565b3480156104d257600080fd5b506103b66104e13660046137b8565b6110a4565b3480156104f257600080fd5b504661042d565b34801561050557600080fd5b5060095461ffff1661042d565b34801561051e57600080fd5b50600954600160501b900461ffff1615610332565b34801561053f57600080fd5b5061042d600e81565b34801561055457600080fd5b506103b661056336600461375a565b6110f6565b34801561057457600080fd5b506103b66105833660046135c4565b611111565b34801561059457600080fd5b5061035c6040518060400160405280601081526020016f53616d75656c652047696f7264616e6f60801b81525081565b3480156105d057600080fd5b506103b66105df366004613606565b611186565b3480156105f057600080fd5b506103b66105ff36600461379b565b61127b565b34801561061057600080fd5b506103b661061f366004613800565b611344565b34801561063057600080fd5b506103b661063f3660046137b8565b6114e8565b34801561065057600080fd5b5061042d61065f3660046135c4565b61154f565b34801561067057600080fd5b5061038961067f3660046135c4565b611617565b34801561069057600080fd5b5061042d61069f36600461379b565b6116b1565b3480156106b057600080fd5b506103b6611777565b3480156106c557600080fd5b5061042d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106f957600080fd5b5061035c611800565b34801561070e57600080fd5b506103b661071d36600461388a565b61181c565b34801561072e57600080fd5b506103b6611912565b34801561074357600080fd5b5061042d600581565b34801561075857600080fd5b50610389611967565b34801561076d57600080fd5b5061042d611976565b34801561078257600080fd5b506103b66107913660046137b8565b61198d565b3480156107a257600080fd5b5061035c6119df565b6103b66107b93660046135c4565b6119ee565b3480156107ca57600080fd5b506103b66107d93660046138fe565b611b46565b3480156107ea57600080fd5b506103b66107f936600461379b565b611b7d565b34801561080a57600080fd5b5061042d6108193660046135c4565b611bde565b34801561082a57600080fd5b50600954600160401b900461ffff16600114610332565b34801561084d57600080fd5b50600954600160201b900461ffff1661042d565b34801561086d57600080fd5b5061042d66b1a2bc2ec5000081565b34801561088857600080fd5b50610891611cdb565b60405161033e919061393c565b3480156108aa57600080fd5b50600954600160301b900461ffff16600114610332565b3480156108cd57600080fd5b506103b66108dc366004613989565b611d41565b3480156108ed57600080fd5b506103b66108fc36600461379b565b611d7a565b34801561090d57600080fd5b5061092161091c36600461379b565b611e3b565b60405161033e91906139f4565b34801561093a57600080fd5b5061035c6109493660046135c4565b611f6e565b34801561095a57600080fd5b506103b6611ff4565b34801561096f57600080fd5b5061035c612049565b34801561098457600080fd5b506103b6612058565b6103b661099b366004613800565b6120ad565b3480156109ac57600080fd5b5061035c612278565b3480156109c157600080fd5b5061042d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109f557600080fd5b5061035c612306565b348015610a0a57600080fd5b50610332610a19366004613a2c565b612315565b348015610a2a57600080fd5b5060095462010000900461ffff1661042d565b348015610a4957600080fd5b5061042d7f000000000000000000000000000000000000000000000000000000000000000081565b348015610a7d57600080fd5b506103b6610a8c36600461379b565b612410565b348015610a9d57600080fd5b506103b6610aac366004613606565b612510565b60006001600160e01b0319821663780e9d6360e01b1480610ad65750610ad6826126ae565b92915050565b606060008054610aeb90613a5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1790613a5a565b8015610b645780601f10610b3957610100808354040283529160200191610b64565b820191906000526020600020905b815481529060010190602001808311610b4757829003601f168201915b5050505050905090565b6000610b79826126fe565b610bdf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600954600160501b900461ffff16600114610c285760405162461bcd60e51b8152600401610bd690613a8e565b610c328282612748565b5050565b60408051606081810183526001600160a01b03881660008181526007602090815290859020548452830152918101869052610c748782878787612865565b610cca5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610bd6565b6001600160a01b038716600090815260076020526040902054610cee906001612955565b6001600160a01b0388166000908152600760205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610d3e90899033908a90613aba565b60405180910390a1600080306001600160a01b0316888a604051602001610d66929190613b02565b60408051601f1981840301815290829052610d8091613b34565b6000604051808303816000865af19150503d8060008114610dbd576040519150601f19603f3d011682016040523d82523d6000602084013e610dc2565b606091505b509150915081610e145760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610bd6565b98975050505050505050565b600b546001600160a01b0316610e34612968565b6001600160a01b031614610e7e5760405162461bcd60e51b815260206004820152601160248201527018d85b1b195c881b9bdd08185c9d1a5cdd607a1b6044820152606401610bd6565b6009547f000000000000000000000000000000000000000000000000000000000000000090610eb890839062010000900461ffff16613b66565b1115610efd5760405162461bcd60e51b81526020600482015260146024820152736578636565642061727469737420737570706c7960601b6044820152606401610bd6565b6009805461ffff62010000808304821685019091160263ffff00001990911617905560005b81811015610f4457610f3383612972565b50610f3d81613b7e565b9050610f22565b505050565b600254600090815b81811015610fa05760006001600160a01b031660028281548110610f7757610f77613b97565b6000918252602090912001546001600160a01b031614610f98578260010192505b600101610f51565b505090565b610fb6610fb0612968565b8261298d565b610fd25760405162461bcd60e51b8152600401610bd690613bad565b610f44838383612a4f565b6002546000905b8082101561103a57836001600160a01b03166002838154811061100957611009613b97565b6000918252602090912001546001600160a01b03160361102f576000198301921561103a575b816001019150610fe4565b80821061109d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610bd6565b5092915050565b6110ac612968565b6001600160a01b03166110bd611967565b6001600160a01b0316146110e35760405162461bcd60e51b8152600401610bd690613bfe565b8051610c3290600d906020840190613457565b610f4483838360405180602001604052806000815250611d41565b600a600061111d612968565b6001600160a01b0316815260208101919091526040016000205460ff1661117a5760405162461bcd60e51b815260206004820152601160248201527031b0b63632b9103737ba10313ab93732b960791b6044820152606401610bd6565b61118381612b93565b50565b61118e612968565b6001600160a01b031661119f611967565b6001600160a01b0316146111c55760405162461bcd60e51b8152600401610bd690613bfe565b6009547f0000000000000000000000000000000000000000000000000000000000000000906111f990839061ffff16613b66565b111561123f5760405162461bcd60e51b81526020600482015260156024820152746578636565642067616c6c65727920737570706c7960581b6044820152606401610bd6565b6009805461ffff80821684011661ffff1990911617905560005b81811015610f445761126a83612972565b5061127481613b7e565b9050611259565b611283612968565b6001600160a01b0316611294611967565b6001600160a01b0316146112ba5760405162461bcd60e51b8152600401610bd690613bfe565b6001600160a01b0381166000908152600a602052604090205460ff16156113205760405162461bcd60e51b815260206004820152601a6024820152791859191c995cdcc8185b1c9958591e481c9959da5cdd195c995960321b6044820152606401610bd6565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b600954600160401b900461ffff161561136f5760405162461bcd60e51b8152600401610bd690613c33565b6009547f0000000000000000000000000000000000000000000000000000000000000000906113aa908390600160201b900461ffff16613b66565b11156113c85760405162461bcd60e51b8152600401610bd690613c5f565b336000908152600c602052604090205482906113e5908390613b66565b11156114035760405162461bcd60e51b8152600401610bd690613c8d565b6114598585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525073f51f16a65936d352b5380486d31cf44cc11dfbf19250612bfe915050565b6114755760405162461bcd60e51b8152600401610bd690613cb8565b61148185338484612c26565b61149d5760405162461bcd60e51b8152600401610bd690613ce0565b6114a8600982612c7c565b336000908152600c602052604081208054830190555b818110156114e0576114cf33612972565b506114d981613b7e565b90506114be565b505050505050565b6114f0612968565b6001600160a01b0316611501611967565b6001600160a01b0316146115275760405162461bcd60e51b8152600401610bd690613bfe565b805160000361153c57611183600e60006134db565b8051610c3290600e906020840190613457565b6002546000905b808210156115ad5760006001600160a01b03166002838154811061157c5761157c613b97565b6000918252602090912001546001600160a01b0316146115a257600019830192156115ad575b816001019150611556565b8082106116115760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610bd6565b50919050565b6000611622826126fe565b6116805760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bd6565b60006002838154811061169557611695613b97565b6000918252602090912001546001600160a01b03169392505050565b60006001600160a01b03821661171c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bd6565b60025460005b8181101561177057836001600160a01b03166002828154811061174757611747613b97565b6000918252602090912001546001600160a01b031603611768578260010192505b600101611722565b5050919050565b61177f612968565b6001600160a01b0316611790611967565b6001600160a01b0316146117b65760405162461bcd60e51b8152600401610bd690613bfe565b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6040518060600160405280602e8152602001613fbf602e913981565b611824612968565b6001600160a01b0316611835611967565b6001600160a01b03161461185b5760405162461bcd60e51b8152600401610bd690613bfe565b60095481907f000000000000000000000000000000000000000000000000000000000000000090611898908390600160201b900461ffff16613b66565b11156118b65760405162461bcd60e51b8152600401610bd690613c5f565b6118c1600982612c7c565b60005b8181101561190c576118fb8484838181106118e1576118e1613b97565b90506020020160208101906118f6919061379b565b612972565b5061190581613b7e565b90506118c4565b50505050565b61191a612968565b6001600160a01b031661192b611967565b6001600160a01b0316146119515760405162461bcd60e51b8152600401610bd690613bfe565b6009805461ffff60401b1916600160401b179055565b6008546001600160a01b031690565b60025460009061198890600190613d06565b905090565b611995612968565b6001600160a01b03166119a6611967565b6001600160a01b0316146119cc5760405162461bcd60e51b8152600401610bd690613bfe565b8051610c3290600f906020840190613457565b606060018054610aeb90613a5a565b600954600160401b900461ffff1615611a195760405162461bcd60e51b8152600401610bd690613c33565b600954600160301b900461ffff16600114611a6d5760405162461bcd60e51b81526020600482015260146024820152737075626c6963206d696e74206e6f74206c69766560601b6044820152606401610bd6565b6005811115611a8e5760405162461bcd60e51b8152600401610bd690613c8d565b34611aa08266b1a2bc2ec50000613d1d565b14611abd5760405162461bcd60e51b8152600401610bd690613d3c565b6009547f000000000000000000000000000000000000000000000000000000000000000090611af8908390600160201b900461ffff16613b66565b1115611b165760405162461bcd60e51b8152600401610bd690613c5f565b611b21600982612c7c565b60005b81811015610c3257611b3533612972565b50611b3f81613b7e565b9050611b24565b600954600160501b900461ffff16600114611b735760405162461bcd60e51b8152600401610bd690613a8e565b610c328282612ca2565b611b85612968565b6001600160a01b0316611b96611967565b6001600160a01b031614611bbc5760405162461bcd60e51b8152600401610bd690613bfe565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600081611bea816126fe565b611c265760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b2103a37b5b2b760991b6044820152606401610bd6565b7f000000000000000000000000000000000000000000000000000000000000000083611c53600182613d06565b85611c5f600182613d06565b60408051602081019390935282015260600160408051808303601f1901815282825280516020918201209083019590955281019290925260608083019190915260808201929092523090911b6001600160601b03191660a082015260b40160405160208183030381529060405280519060200120915050919050565b606060006002805480602002602001604051908101604052809291908181526020018280548015611d3557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d17575b50939695505050505050565b611d52611d4c612968565b8361298d565b611d6e5760405162461bcd60e51b8152600401610bd690613bad565b61190c84848484612cb4565b611d82612968565b6001600160a01b0316611d93611967565b6001600160a01b031614611db95760405162461bcd60e51b8152600401610bd690613bfe565b6001600160a01b0381166000908152600a602052604090205460ff16611e1a5760405162461bcd60e51b81526020600482015260166024820152751859191c995cdcc81b9bdd081c9959da5cdd195c995960521b6044820152606401610bd6565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b60606000611e48836116b1565b905080600003611ea95760405162461bcd60e51b815260206004820152602660248201527f455243373231456e756d657261626c653a206f776e6572206f776e73206e6f20604482015265746f6b656e7360d01b6064820152608401610bd6565b6002546000826001600160401b03811115611ec657611ec6613632565b604051908082528060200260200182016040528015611eef578160200160208202803683370190505b5090506000805b83811015611f6357866001600160a01b031660028281548110611f1b57611f1b613b97565b6000918252602090912001546001600160a01b031603611f5b5780838380600101945081518110611f4e57611f4e613b97565b6020026020010181815250505b600101611ef6565b509095945050505050565b6060600e8054611f7d90613a5a565b159050611fbd57611f8c612049565b600e611f9784612ce7565b604051602001611fa993929190613d68565b604051602081830303815290604052610ad6565b611fc5612049565b611fce83612ce7565b604051602001611fdf929190613e42565b60405160208183030381529060405292915050565b611ffc612968565b6001600160a01b031661200d611967565b6001600160a01b0316146120335760405162461bcd60e51b8152600401610bd690613bfe565b6009805461ffff60501b1916600160501b179055565b6060600d8054610aeb90613a5a565b612060612968565b6001600160a01b0316612071611967565b6001600160a01b0316146120975760405162461bcd60e51b8152600401610bd690613bfe565b6009805461ffff60301b1916600160301b179055565b600954600160401b900461ffff16156120d85760405162461bcd60e51b8152600401610bd690613c33565b346120ea8266b1a2bc2ec50000613d1d565b146121075760405162461bcd60e51b8152600401610bd690613d3c565b6009547f000000000000000000000000000000000000000000000000000000000000000090612142908390600160201b900461ffff16613b66565b11156121605760405162461bcd60e51b8152600401610bd690613c5f565b336000908152600c6020526040902054829061217d908390613b66565b111561219b5760405162461bcd60e51b8152600401610bd690613c8d565b6121f18585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525073f9021628355d6c995ad4131c9627a0a085ca0c389250612bfe915050565b61220d5760405162461bcd60e51b8152600401610bd690613cb8565b61221985338484612c26565b6122355760405162461bcd60e51b8152600401610bd690613ce0565b612240600982612c7c565b336000908152600c602052604081208054830190555b818110156114e05761226733612972565b5061227181613b7e565b9050612256565b600f805461228590613a5a565b80601f01602080910402602001604051908101604052809291908181526020018280546122b190613a5a565b80156122fe5780601f106122d3576101008083540402835291602001916122fe565b820191906000526020600020905b8154815290600101906020018083116122e157829003601f168201915b505050505081565b6060600f8054610aeb90613a5a565b600954600090600160501b900461ffff1661233257506000610ad6565b60405163c455279160e01b81527f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b03808516919083169063c4552791906123859088906004016135dd565b602060405180830381865afa1580156123a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c69190613e7e565b6001600160a01b0316036123de576001915050610ad6565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b612418612968565b6001600160a01b0316612429611967565b6001600160a01b03161461244f5760405162461bcd60e51b8152600401610bd690613bfe565b6001600160a01b0381166124b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bd6565b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b612518612968565b6001600160a01b0316612529611967565b6001600160a01b03161461254f5760405162461bcd60e51b8152600401610bd690613bfe565b6000811161258e5760405162461bcd60e51b815260206004820152600c60248201526b616d6f756e7420656d70747960a01b6044820152606401610bd6565b478111156125d75760405162461bcd60e51b8152602060048201526016602482015275616d6f756e7420657863656564732062616c616e636560501b6044820152606401610bd6565b6001600160a01b03821661261c5760405162461bcd60e51b815260206004820152600c60248201526b1859191c995cdcc81b9d5b1b60a21b6044820152606401610bd6565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610f44573d6000803e3d6000fd5b60003033036126a857600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506126ab9050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b14806126df57506001600160e01b03198216635b5e139f60e01b145b80610ad657506301ffc9a760e01b6001600160e01b0319831614610ad6565b60025460009082108015610ad6575060006001600160a01b03166002838154811061272b5761272b613b97565b6000918252602090912001546001600160a01b0316141592915050565b600061275382611617565b9050806001600160a01b0316836001600160a01b0316036127c05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bd6565b806001600160a01b03166127d2612968565b6001600160a01b031614806127ee57506127ee81610a19612968565b61285b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610bd6565b610f448383612de7565b60006001600160a01b0386166128cb5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610bd6565b60016128de6128d987612e55565b612ed2565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa15801561292c573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006129618284613b66565b9392505050565b6000611988612652565b6000610ad68260405180602001604052806000815250612f02565b6000612998826126fe565b6129f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bd6565b6000612a0483611617565b9050806001600160a01b0316846001600160a01b03161480612a3f5750836001600160a01b0316612a3484610b6e565b6001600160a01b0316145b8061240857506124088185612315565b826001600160a01b0316612a6282611617565b6001600160a01b031614612aca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bd6565b6001600160a01b038216612b2c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bd6565b612b37600082612de7565b8160028281548110612b4b57612b4b613b97565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405183928581169290871691600080516020613fed8339815191529190a4505050565b6000612b9e82611617565b9050612bab600083612de7565b60028281548110612bbe57612bbe613b97565b6000918252602082200180546001600160a01b03191690556040518391906001600160a01b03841690600080516020613fed833981519152908390a45050565b60006001600160a01b038216612c148585612f38565b6001600160a01b031614949350505050565b6040516001600160601b0319606085901b16602082015260348101839052605481018290526000908590612c729060740160405160208183030381529060405280519060200120612fec565b1495945050505050565b815461ffff600160201b80830482169093011690910265ffff0000000019909116179055565b610c32612cad612968565b8383613027565b612cbf848484612a4f565b612ccb848484846130f1565b61190c5760405162461bcd60e51b8152600401610bd690613e9b565b606081600003612d0e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d385780612d2281613b7e565b9150612d319050600a83613f03565b9150612d12565b6000816001600160401b03811115612d5257612d52613632565b6040519080825280601f01601f191660200182016040528015612d7c576020820181803683370190505b5090505b841561240857612d91600183613d06565b9150612d9e600a86613f17565b612da9906030613b66565b60f81b818381518110612dbe57612dbe613b97565b60200101906001600160f81b031916908160001a905350612de0600a86613f03565b9450612d80565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612e1c82611617565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000604051806080016040528060438152602001613f7c6043913980516020918201208351848301516040808701518051908601209051612eb5950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000612edd60065490565b60405161190160f01b6020820152602281019190915260428101839052606201612eb5565b6000612f0d836131f6565b9050612f1c60008483856130f1565b610ad65760405162461bcd60e51b8152600401610bd690613e9b565b6000806000808451604103612f615750505060208201516040830151606084015160001a612fd6565b8451604003612f8e5750505060408201516020830151906001600160ff1b0381169060ff1c601b01612fd6565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bd6565b612fe2868285856132bd565b9695505050505050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612eb5565b816001600160a01b0316836001600160a01b0316036130845760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610bd6565b6001600160a01b03838116600081815260046020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006001600160a01b0384163b156131ee57836001600160a01b031663150b7a0261311a612968565b8786866040518563ffffffff1660e01b815260040161313c9493929190613f2b565b6020604051808303816000875af1925050508015613177575060408051601f3d908101601f1916820190925261317491810190613f5e565b60015b6131d4573d8080156131a5576040519150601f19603f3d011682016040523d82523d6000602084013e6131aa565b606091505b5080516000036131cc5760405162461bcd60e51b8152600401610bd690613e9b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612408565b506001612408565b60006001600160a01b03821661324e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bd6565b506002546002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b038516908117909155604051839290600080516020613fed833981519152908290a4919050565b60006fa2a8918ca85bafe22016d0b997e4df60600160ff1b038211156133305760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bd6565b8360ff16601b148061334557508360ff16601c145b61339c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bd6565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa1580156133f0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661344e5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610bd6565b95945050505050565b82805461346390613a5a565b90600052602060002090601f01602090048101928261348557600085556134cb565b82601f1061349e57805160ff19168380011785556134cb565b828001600101855582156134cb579182015b828111156134cb5782518255916020019190600101906134b0565b506134d7929150613511565b5090565b5080546134e790613a5a565b6000825580601f106134f7575050565b601f01602090049060005260206000209081019061118391905b5b808211156134d75760008155600101613512565b6001600160e01b03198116811461118357600080fd5b60006020828403121561354e57600080fd5b813561296181613526565b60005b8381101561357457818101518382015260200161355c565b8381111561190c5750506000910152565b6000815180845261359d816020860160208601613559565b601f01601f19169290920160200192915050565b6020815260006129616020830184613585565b6000602082840312156135d657600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b038116811461118357600080fd5b6000806040838503121561361957600080fd5b8235613624816135f1565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561366257613662613632565b604051601f8501601f19908116603f0116810190828211818310171561368a5761368a613632565b816040528093508581528686860111156136a357600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126136ce57600080fd5b61296183833560208501613648565b600080600080600060a086880312156136f557600080fd5b8535613700816135f1565b945060208601356001600160401b0381111561371b57600080fd5b613727888289016136bd565b9450506040860135925060608601359150608086013560ff8116811461374c57600080fd5b809150509295509295909350565b60008060006060848603121561376f57600080fd5b833561377a816135f1565b9250602084013561378a816135f1565b929592945050506040919091013590565b6000602082840312156137ad57600080fd5b8135612961816135f1565b6000602082840312156137ca57600080fd5b81356001600160401b038111156137e057600080fd5b8201601f810184136137f157600080fd5b61240884823560208401613648565b60008060008060006080868803121561381857600080fd5b8535945060208601356001600160401b038082111561383657600080fd5b818801915088601f83011261384a57600080fd5b81358181111561385957600080fd5b89602082850101111561386b57600080fd5b9699602092909201985095966040810135965060600135945092505050565b6000806020838503121561389d57600080fd5b82356001600160401b03808211156138b457600080fd5b818501915085601f8301126138c857600080fd5b8135818111156138d757600080fd5b8660208260051b85010111156138ec57600080fd5b60209290920196919550909350505050565b6000806040838503121561391157600080fd5b823561391c816135f1565b91506020830135801515811461393157600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561397d5783516001600160a01b031683529284019291840191600101613958565b50909695505050505050565b6000806000806080858703121561399f57600080fd5b84356139aa816135f1565b935060208501356139ba816135f1565b92506040850135915060608501356001600160401b038111156139dc57600080fd5b6139e8878288016136bd565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b8181101561397d57835183529284019291840191600101613a10565b60008060408385031215613a3f57600080fd5b8235613a4a816135f1565b91506020830135613931816135f1565b600181811c90821680613a6e57607f821691505b60208210810361161157634e487b7160e01b600052602260045260246000fd5b602080825260129082015271185c1c1c9bdd985b1cc8191a5cd8589b195960721b604082015260600190565b6001600160a01b0384811682528316602082015260606040820181905260009061344e90830184613585565b60008151613af8818560208601613559565b9290920192915050565b60008351613b14818460208801613559565b60609390931b6001600160601b0319169190920190815260140192915050565b60008251613b46818460208701613559565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613b7957613b79613b50565b500190565b600060018201613b9057613b90613b50565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527118dbdb9d1c9858dd081a5cc81b1bd8dad95960721b604082015260600190565b602080825260149082015273657863656564207075626c696320737570706c7960601b604082015260600190565b60208082526011908201527032bc31b2b2b21030b63637b1b0ba34b7b760791b604082015260600190565b6020808252600e908201526d34b73b30b634b21039b4b3b732b960911b604082015260600190565b6020808252600c908201526b0d2dcecc2d8d2c840d0c2e6d60a31b604082015260600190565b600082821015613d1857613d18613b50565b500390565b6000816000190483118215151615613d3757613d37613b50565b500290565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b600084516020613d7b8285838a01613559565b602f60f81b918401918252855460019060009080831c81841680613da057607f821691505b8582108103613dbd57634e487b7160e01b84526022600452602484fd5b808015613dd15760018114613de657613e17565b60ff1984168887015282880186019450613e17565b60008c81526020902060005b84811015613e0d5781548a8201890152908701908801613df2565b5050858389010194505b50505050613e35613e2f82602f60f81b815260010190565b88613ae6565b9998505050505050505050565b60008351613e54818460208801613559565b602f60f81b9083019081528351613e72816001840160208801613559565b01600101949350505050565b600060208284031215613e9057600080fd5b8151612961816135f1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082613f1257613f12613eed565b500490565b600082613f2657613f26613eed565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fe290830184613585565b600060208284031215613f7057600080fd5b81516129618161352656fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529467269656e646c79206372757374616365616e732074616b696e67206f76657220746865206f70656e207365612eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e22f5c49d7fba95e9bb6e2678b43c51e0abb7aa8e56241f9b3a55482a462c45d64736f6c634300080d0033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c74290000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000001edc00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000050731c04fdcaf476af4cbce622c337a2f54ee7acd8fb7406686019d787d8840227000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000006697066733a2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d5633386469536e3734724838664c324a6f7a69656b4b76315956534c733965626e47417373435369797761610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d57486f4767486a6f6470726a784d4564374b4b5345726b584b32506f6f683447706a6836613975786a37504c0000000000000000000000

Deployed Bytecode

0x60806040526004361061030d5760003560e01c8063753868e311610197578063b88d4fde116100ed578063d9ce2f6d11610090578063d9ce2f6d146109a0578063e527c6dd146109b5578063e8a3d485146109e9578063e985e9c5146109fe578063ed329fa814610a1e578063ef3c662414610a3d578063f2fde38b14610a71578063f3fef3a314610a9157600080fd5b8063b88d4fde146108c1578063ba8bce55146108e1578063bba7723e14610901578063c87b56dd1461092e578063d02bbb991461094e578063d547cfb714610963578063d62f3b1c14610978578063d81bc6631461098d57600080fd5b8063753868e3146107225780637dc42975146107375780638da5cb5b1461074c57806391ba317a14610761578063938e3d7b1461077657806395d89b4114610796578063a0712d68146107ab578063a22cb465146107be578063a22e4faa146107de578063a3864397146107fe578063a4e2d6341461081e578063a4f4f8af14610841578063a945bf8014610861578063affe39c11461087c578063b7f751d81461089e57600080fd5b806338ac0273116102675780634dcc60af1161020a5780634dcc60af146106245780634f6ccce7146106445780636352211e1461066457806370a0823114610684578063715018a6146106a457806371dedace146106b95780637284e416146106ed578063729ad39e1461070257600080fd5b806338ac0273146105125780633fafa1271461053357806342842e0e1461054857806342966c681461056857806343bc16121461058857806344be774f146105c45780634b457935146105e45780634c1ec8f91461060457600080fd5b806301ffc9a71461031257806306fdde0314610347578063081812fc14610369578063095ea7b3146103965780630c53c51c146103b85780630f7e5970146103cb57806314d7d517146103f857806318160ddd1461041857806320379ee51461043b57806323b872dd146104505780632d0335ab146104705780632f745c59146104a657806330176e13146104c65780633408e470146104e65780633763e75b146104f9575b600080fd5b34801561031e57600080fd5b5061033261032d36600461353c565b610ab1565b60405190151581526020015b60405180910390f35b34801561035357600080fd5b5061035c610adc565b60405161033e91906135b1565b34801561037557600080fd5b506103896103843660046135c4565b610b6e565b60405161033e91906135dd565b3480156103a257600080fd5b506103b66103b1366004613606565b610bfb565b005b61035c6103c63660046136dd565b610c36565b3480156103d757600080fd5b5061035c604051806040016040528060018152602001603160f81b81525081565b34801561040457600080fd5b506103b6610413366004613606565b610e20565b34801561042457600080fd5b5061042d610f49565b60405190815260200161033e565b34801561044757600080fd5b5060065461042d565b34801561045c57600080fd5b506103b661046b36600461375a565b610fa5565b34801561047c57600080fd5b5061042d61048b36600461379b565b6001600160a01b031660009081526007602052604090205490565b3480156104b257600080fd5b5061042d6104c1366004613606565b610fdd565b3480156104d257600080fd5b506103b66104e13660046137b8565b6110a4565b3480156104f257600080fd5b504661042d565b34801561050557600080fd5b5060095461ffff1661042d565b34801561051e57600080fd5b50600954600160501b900461ffff1615610332565b34801561053f57600080fd5b5061042d600e81565b34801561055457600080fd5b506103b661056336600461375a565b6110f6565b34801561057457600080fd5b506103b66105833660046135c4565b611111565b34801561059457600080fd5b5061035c6040518060400160405280601081526020016f53616d75656c652047696f7264616e6f60801b81525081565b3480156105d057600080fd5b506103b66105df366004613606565b611186565b3480156105f057600080fd5b506103b66105ff36600461379b565b61127b565b34801561061057600080fd5b506103b661061f366004613800565b611344565b34801561063057600080fd5b506103b661063f3660046137b8565b6114e8565b34801561065057600080fd5b5061042d61065f3660046135c4565b61154f565b34801561067057600080fd5b5061038961067f3660046135c4565b611617565b34801561069057600080fd5b5061042d61069f36600461379b565b6116b1565b3480156106b057600080fd5b506103b6611777565b3480156106c557600080fd5b5061042d7f000000000000000000000000000000000000000000000000000000000000005081565b3480156106f957600080fd5b5061035c611800565b34801561070e57600080fd5b506103b661071d36600461388a565b61181c565b34801561072e57600080fd5b506103b6611912565b34801561074357600080fd5b5061042d600581565b34801561075857600080fd5b50610389611967565b34801561076d57600080fd5b5061042d611976565b34801561078257600080fd5b506103b66107913660046137b8565b61198d565b3480156107a257600080fd5b5061035c6119df565b6103b66107b93660046135c4565b6119ee565b3480156107ca57600080fd5b506103b66107d93660046138fe565b611b46565b3480156107ea57600080fd5b506103b66107f936600461379b565b611b7d565b34801561080a57600080fd5b5061042d6108193660046135c4565b611bde565b34801561082a57600080fd5b50600954600160401b900461ffff16600114610332565b34801561084d57600080fd5b50600954600160201b900461ffff1661042d565b34801561086d57600080fd5b5061042d66b1a2bc2ec5000081565b34801561088857600080fd5b50610891611cdb565b60405161033e919061393c565b3480156108aa57600080fd5b50600954600160301b900461ffff16600114610332565b3480156108cd57600080fd5b506103b66108dc366004613989565b611d41565b3480156108ed57600080fd5b506103b66108fc36600461379b565b611d7a565b34801561090d57600080fd5b5061092161091c36600461379b565b611e3b565b60405161033e91906139f4565b34801561093a57600080fd5b5061035c6109493660046135c4565b611f6e565b34801561095a57600080fd5b506103b6611ff4565b34801561096f57600080fd5b5061035c612049565b34801561098457600080fd5b506103b6612058565b6103b661099b366004613800565b6120ad565b3480156109ac57600080fd5b5061035c612278565b3480156109c157600080fd5b5061042d7f0000000000000000000000000000000000000000000000000000000000001edc81565b3480156109f557600080fd5b5061035c612306565b348015610a0a57600080fd5b50610332610a19366004613a2c565b612315565b348015610a2a57600080fd5b5060095462010000900461ffff1661042d565b348015610a4957600080fd5b5061042d7f000000000000000000000000000000000000000000000000000000000000001481565b348015610a7d57600080fd5b506103b6610a8c36600461379b565b612410565b348015610a9d57600080fd5b506103b6610aac366004613606565b612510565b60006001600160e01b0319821663780e9d6360e01b1480610ad65750610ad6826126ae565b92915050565b606060008054610aeb90613a5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1790613a5a565b8015610b645780601f10610b3957610100808354040283529160200191610b64565b820191906000526020600020905b815481529060010190602001808311610b4757829003601f168201915b5050505050905090565b6000610b79826126fe565b610bdf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b600954600160501b900461ffff16600114610c285760405162461bcd60e51b8152600401610bd690613a8e565b610c328282612748565b5050565b60408051606081810183526001600160a01b03881660008181526007602090815290859020548452830152918101869052610c748782878787612865565b610cca5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610bd6565b6001600160a01b038716600090815260076020526040902054610cee906001612955565b6001600160a01b0388166000908152600760205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610d3e90899033908a90613aba565b60405180910390a1600080306001600160a01b0316888a604051602001610d66929190613b02565b60408051601f1981840301815290829052610d8091613b34565b6000604051808303816000865af19150503d8060008114610dbd576040519150601f19603f3d011682016040523d82523d6000602084013e610dc2565b606091505b509150915081610e145760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610bd6565b98975050505050505050565b600b546001600160a01b0316610e34612968565b6001600160a01b031614610e7e5760405162461bcd60e51b815260206004820152601160248201527018d85b1b195c881b9bdd08185c9d1a5cdd607a1b6044820152606401610bd6565b6009547f000000000000000000000000000000000000000000000000000000000000001490610eb890839062010000900461ffff16613b66565b1115610efd5760405162461bcd60e51b81526020600482015260146024820152736578636565642061727469737420737570706c7960601b6044820152606401610bd6565b6009805461ffff62010000808304821685019091160263ffff00001990911617905560005b81811015610f4457610f3383612972565b50610f3d81613b7e565b9050610f22565b505050565b600254600090815b81811015610fa05760006001600160a01b031660028281548110610f7757610f77613b97565b6000918252602090912001546001600160a01b031614610f98578260010192505b600101610f51565b505090565b610fb6610fb0612968565b8261298d565b610fd25760405162461bcd60e51b8152600401610bd690613bad565b610f44838383612a4f565b6002546000905b8082101561103a57836001600160a01b03166002838154811061100957611009613b97565b6000918252602090912001546001600160a01b03160361102f576000198301921561103a575b816001019150610fe4565b80821061109d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610bd6565b5092915050565b6110ac612968565b6001600160a01b03166110bd611967565b6001600160a01b0316146110e35760405162461bcd60e51b8152600401610bd690613bfe565b8051610c3290600d906020840190613457565b610f4483838360405180602001604052806000815250611d41565b600a600061111d612968565b6001600160a01b0316815260208101919091526040016000205460ff1661117a5760405162461bcd60e51b815260206004820152601160248201527031b0b63632b9103737ba10313ab93732b960791b6044820152606401610bd6565b61118381612b93565b50565b61118e612968565b6001600160a01b031661119f611967565b6001600160a01b0316146111c55760405162461bcd60e51b8152600401610bd690613bfe565b6009547f0000000000000000000000000000000000000000000000000000000000000050906111f990839061ffff16613b66565b111561123f5760405162461bcd60e51b81526020600482015260156024820152746578636565642067616c6c65727920737570706c7960581b6044820152606401610bd6565b6009805461ffff80821684011661ffff1990911617905560005b81811015610f445761126a83612972565b5061127481613b7e565b9050611259565b611283612968565b6001600160a01b0316611294611967565b6001600160a01b0316146112ba5760405162461bcd60e51b8152600401610bd690613bfe565b6001600160a01b0381166000908152600a602052604090205460ff16156113205760405162461bcd60e51b815260206004820152601a6024820152791859191c995cdcc8185b1c9958591e481c9959da5cdd195c995960321b6044820152606401610bd6565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b600954600160401b900461ffff161561136f5760405162461bcd60e51b8152600401610bd690613c33565b6009547f0000000000000000000000000000000000000000000000000000000000001edc906113aa908390600160201b900461ffff16613b66565b11156113c85760405162461bcd60e51b8152600401610bd690613c5f565b336000908152600c602052604090205482906113e5908390613b66565b11156114035760405162461bcd60e51b8152600401610bd690613c8d565b6114598585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525073f51f16a65936d352b5380486d31cf44cc11dfbf19250612bfe915050565b6114755760405162461bcd60e51b8152600401610bd690613cb8565b61148185338484612c26565b61149d5760405162461bcd60e51b8152600401610bd690613ce0565b6114a8600982612c7c565b336000908152600c602052604081208054830190555b818110156114e0576114cf33612972565b506114d981613b7e565b90506114be565b505050505050565b6114f0612968565b6001600160a01b0316611501611967565b6001600160a01b0316146115275760405162461bcd60e51b8152600401610bd690613bfe565b805160000361153c57611183600e60006134db565b8051610c3290600e906020840190613457565b6002546000905b808210156115ad5760006001600160a01b03166002838154811061157c5761157c613b97565b6000918252602090912001546001600160a01b0316146115a257600019830192156115ad575b816001019150611556565b8082106116115760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610bd6565b50919050565b6000611622826126fe565b6116805760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bd6565b60006002838154811061169557611695613b97565b6000918252602090912001546001600160a01b03169392505050565b60006001600160a01b03821661171c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bd6565b60025460005b8181101561177057836001600160a01b03166002828154811061174757611747613b97565b6000918252602090912001546001600160a01b031603611768578260010192505b600101611722565b5050919050565b61177f612968565b6001600160a01b0316611790611967565b6001600160a01b0316146117b65760405162461bcd60e51b8152600401610bd690613bfe565b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6040518060600160405280602e8152602001613fbf602e913981565b611824612968565b6001600160a01b0316611835611967565b6001600160a01b03161461185b5760405162461bcd60e51b8152600401610bd690613bfe565b60095481907f0000000000000000000000000000000000000000000000000000000000001edc90611898908390600160201b900461ffff16613b66565b11156118b65760405162461bcd60e51b8152600401610bd690613c5f565b6118c1600982612c7c565b60005b8181101561190c576118fb8484838181106118e1576118e1613b97565b90506020020160208101906118f6919061379b565b612972565b5061190581613b7e565b90506118c4565b50505050565b61191a612968565b6001600160a01b031661192b611967565b6001600160a01b0316146119515760405162461bcd60e51b8152600401610bd690613bfe565b6009805461ffff60401b1916600160401b179055565b6008546001600160a01b031690565b60025460009061198890600190613d06565b905090565b611995612968565b6001600160a01b03166119a6611967565b6001600160a01b0316146119cc5760405162461bcd60e51b8152600401610bd690613bfe565b8051610c3290600f906020840190613457565b606060018054610aeb90613a5a565b600954600160401b900461ffff1615611a195760405162461bcd60e51b8152600401610bd690613c33565b600954600160301b900461ffff16600114611a6d5760405162461bcd60e51b81526020600482015260146024820152737075626c6963206d696e74206e6f74206c69766560601b6044820152606401610bd6565b6005811115611a8e5760405162461bcd60e51b8152600401610bd690613c8d565b34611aa08266b1a2bc2ec50000613d1d565b14611abd5760405162461bcd60e51b8152600401610bd690613d3c565b6009547f0000000000000000000000000000000000000000000000000000000000001edc90611af8908390600160201b900461ffff16613b66565b1115611b165760405162461bcd60e51b8152600401610bd690613c5f565b611b21600982612c7c565b60005b81811015610c3257611b3533612972565b50611b3f81613b7e565b9050611b24565b600954600160501b900461ffff16600114611b735760405162461bcd60e51b8152600401610bd690613a8e565b610c328282612ca2565b611b85612968565b6001600160a01b0316611b96611967565b6001600160a01b031614611bbc5760405162461bcd60e51b8152600401610bd690613bfe565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600081611bea816126fe565b611c265760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b2103a37b5b2b760991b6044820152606401610bd6565b7f731c04fdcaf476af4cbce622c337a2f54ee7acd8fb7406686019d787d884022783611c53600182613d06565b85611c5f600182613d06565b60408051602081019390935282015260600160408051808303601f1901815282825280516020918201209083019590955281019290925260608083019190915260808201929092523090911b6001600160601b03191660a082015260b40160405160208183030381529060405280519060200120915050919050565b606060006002805480602002602001604051908101604052809291908181526020018280548015611d3557602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d17575b50939695505050505050565b611d52611d4c612968565b8361298d565b611d6e5760405162461bcd60e51b8152600401610bd690613bad565b61190c84848484612cb4565b611d82612968565b6001600160a01b0316611d93611967565b6001600160a01b031614611db95760405162461bcd60e51b8152600401610bd690613bfe565b6001600160a01b0381166000908152600a602052604090205460ff16611e1a5760405162461bcd60e51b81526020600482015260166024820152751859191c995cdcc81b9bdd081c9959da5cdd195c995960521b6044820152606401610bd6565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b60606000611e48836116b1565b905080600003611ea95760405162461bcd60e51b815260206004820152602660248201527f455243373231456e756d657261626c653a206f776e6572206f776e73206e6f20604482015265746f6b656e7360d01b6064820152608401610bd6565b6002546000826001600160401b03811115611ec657611ec6613632565b604051908082528060200260200182016040528015611eef578160200160208202803683370190505b5090506000805b83811015611f6357866001600160a01b031660028281548110611f1b57611f1b613b97565b6000918252602090912001546001600160a01b031603611f5b5780838380600101945081518110611f4e57611f4e613b97565b6020026020010181815250505b600101611ef6565b509095945050505050565b6060600e8054611f7d90613a5a565b159050611fbd57611f8c612049565b600e611f9784612ce7565b604051602001611fa993929190613d68565b604051602081830303815290604052610ad6565b611fc5612049565b611fce83612ce7565b604051602001611fdf929190613e42565b60405160208183030381529060405292915050565b611ffc612968565b6001600160a01b031661200d611967565b6001600160a01b0316146120335760405162461bcd60e51b8152600401610bd690613bfe565b6009805461ffff60501b1916600160501b179055565b6060600d8054610aeb90613a5a565b612060612968565b6001600160a01b0316612071611967565b6001600160a01b0316146120975760405162461bcd60e51b8152600401610bd690613bfe565b6009805461ffff60301b1916600160301b179055565b600954600160401b900461ffff16156120d85760405162461bcd60e51b8152600401610bd690613c33565b346120ea8266b1a2bc2ec50000613d1d565b146121075760405162461bcd60e51b8152600401610bd690613d3c565b6009547f0000000000000000000000000000000000000000000000000000000000001edc90612142908390600160201b900461ffff16613b66565b11156121605760405162461bcd60e51b8152600401610bd690613c5f565b336000908152600c6020526040902054829061217d908390613b66565b111561219b5760405162461bcd60e51b8152600401610bd690613c8d565b6121f18585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525073f9021628355d6c995ad4131c9627a0a085ca0c389250612bfe915050565b61220d5760405162461bcd60e51b8152600401610bd690613cb8565b61221985338484612c26565b6122355760405162461bcd60e51b8152600401610bd690613ce0565b612240600982612c7c565b336000908152600c602052604081208054830190555b818110156114e05761226733612972565b5061227181613b7e565b9050612256565b600f805461228590613a5a565b80601f01602080910402602001604051908101604052809291908181526020018280546122b190613a5a565b80156122fe5780601f106122d3576101008083540402835291602001916122fe565b820191906000526020600020905b8154815290600101906020018083116122e157829003601f168201915b505050505081565b6060600f8054610aeb90613a5a565b600954600090600160501b900461ffff1661233257506000610ad6565b60405163c455279160e01b81527f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1906001600160a01b03808516919083169063c4552791906123859088906004016135dd565b602060405180830381865afa1580156123a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c69190613e7e565b6001600160a01b0316036123de576001915050610ad6565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b612418612968565b6001600160a01b0316612429611967565b6001600160a01b03161461244f5760405162461bcd60e51b8152600401610bd690613bfe565b6001600160a01b0381166124b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bd6565b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b612518612968565b6001600160a01b0316612529611967565b6001600160a01b03161461254f5760405162461bcd60e51b8152600401610bd690613bfe565b6000811161258e5760405162461bcd60e51b815260206004820152600c60248201526b616d6f756e7420656d70747960a01b6044820152606401610bd6565b478111156125d75760405162461bcd60e51b8152602060048201526016602482015275616d6f756e7420657863656564732062616c616e636560501b6044820152606401610bd6565b6001600160a01b03821661261c5760405162461bcd60e51b815260206004820152600c60248201526b1859191c995cdcc81b9d5b1b60a21b6044820152606401610bd6565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610f44573d6000803e3d6000fd5b60003033036126a857600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506126ab9050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b14806126df57506001600160e01b03198216635b5e139f60e01b145b80610ad657506301ffc9a760e01b6001600160e01b0319831614610ad6565b60025460009082108015610ad6575060006001600160a01b03166002838154811061272b5761272b613b97565b6000918252602090912001546001600160a01b0316141592915050565b600061275382611617565b9050806001600160a01b0316836001600160a01b0316036127c05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bd6565b806001600160a01b03166127d2612968565b6001600160a01b031614806127ee57506127ee81610a19612968565b61285b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610bd6565b610f448383612de7565b60006001600160a01b0386166128cb5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610bd6565b60016128de6128d987612e55565b612ed2565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa15801561292c573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006129618284613b66565b9392505050565b6000611988612652565b6000610ad68260405180602001604052806000815250612f02565b6000612998826126fe565b6129f95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bd6565b6000612a0483611617565b9050806001600160a01b0316846001600160a01b03161480612a3f5750836001600160a01b0316612a3484610b6e565b6001600160a01b0316145b8061240857506124088185612315565b826001600160a01b0316612a6282611617565b6001600160a01b031614612aca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bd6565b6001600160a01b038216612b2c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bd6565b612b37600082612de7565b8160028281548110612b4b57612b4b613b97565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405183928581169290871691600080516020613fed8339815191529190a4505050565b6000612b9e82611617565b9050612bab600083612de7565b60028281548110612bbe57612bbe613b97565b6000918252602082200180546001600160a01b03191690556040518391906001600160a01b03841690600080516020613fed833981519152908390a45050565b60006001600160a01b038216612c148585612f38565b6001600160a01b031614949350505050565b6040516001600160601b0319606085901b16602082015260348101839052605481018290526000908590612c729060740160405160208183030381529060405280519060200120612fec565b1495945050505050565b815461ffff600160201b80830482169093011690910265ffff0000000019909116179055565b610c32612cad612968565b8383613027565b612cbf848484612a4f565b612ccb848484846130f1565b61190c5760405162461bcd60e51b8152600401610bd690613e9b565b606081600003612d0e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d385780612d2281613b7e565b9150612d319050600a83613f03565b9150612d12565b6000816001600160401b03811115612d5257612d52613632565b6040519080825280601f01601f191660200182016040528015612d7c576020820181803683370190505b5090505b841561240857612d91600183613d06565b9150612d9e600a86613f17565b612da9906030613b66565b60f81b818381518110612dbe57612dbe613b97565b60200101906001600160f81b031916908160001a905350612de0600a86613f03565b9450612d80565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612e1c82611617565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000604051806080016040528060438152602001613f7c6043913980516020918201208351848301516040808701518051908601209051612eb5950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000612edd60065490565b60405161190160f01b6020820152602281019190915260428101839052606201612eb5565b6000612f0d836131f6565b9050612f1c60008483856130f1565b610ad65760405162461bcd60e51b8152600401610bd690613e9b565b6000806000808451604103612f615750505060208201516040830151606084015160001a612fd6565b8451604003612f8e5750505060408201516020830151906001600160ff1b0381169060ff1c601b01612fd6565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bd6565b612fe2868285856132bd565b9695505050505050565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01612eb5565b816001600160a01b0316836001600160a01b0316036130845760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610bd6565b6001600160a01b03838116600081815260046020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006001600160a01b0384163b156131ee57836001600160a01b031663150b7a0261311a612968565b8786866040518563ffffffff1660e01b815260040161313c9493929190613f2b565b6020604051808303816000875af1925050508015613177575060408051601f3d908101601f1916820190925261317491810190613f5e565b60015b6131d4573d8080156131a5576040519150601f19603f3d011682016040523d82523d6000602084013e6131aa565b606091505b5080516000036131cc5760405162461bcd60e51b8152600401610bd690613e9b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612408565b506001612408565b60006001600160a01b03821661324e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bd6565b506002546002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b038516908117909155604051839290600080516020613fed833981519152908290a4919050565b60006fa2a8918ca85bafe22016d0b997e4df60600160ff1b038211156133305760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bd6565b8360ff16601b148061334557508360ff16601c145b61339c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bd6565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa1580156133f0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661344e5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610bd6565b95945050505050565b82805461346390613a5a565b90600052602060002090601f01602090048101928261348557600085556134cb565b82601f1061349e57805160ff19168380011785556134cb565b828001600101855582156134cb579182015b828111156134cb5782518255916020019190600101906134b0565b506134d7929150613511565b5090565b5080546134e790613a5a565b6000825580601f106134f7575050565b601f01602090049060005260206000209081019061118391905b5b808211156134d75760008155600101613512565b6001600160e01b03198116811461118357600080fd5b60006020828403121561354e57600080fd5b813561296181613526565b60005b8381101561357457818101518382015260200161355c565b8381111561190c5750506000910152565b6000815180845261359d816020860160208601613559565b601f01601f19169290920160200192915050565b6020815260006129616020830184613585565b6000602082840312156135d657600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b038116811461118357600080fd5b6000806040838503121561361957600080fd5b8235613624816135f1565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561366257613662613632565b604051601f8501601f19908116603f0116810190828211818310171561368a5761368a613632565b816040528093508581528686860111156136a357600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126136ce57600080fd5b61296183833560208501613648565b600080600080600060a086880312156136f557600080fd5b8535613700816135f1565b945060208601356001600160401b0381111561371b57600080fd5b613727888289016136bd565b9450506040860135925060608601359150608086013560ff8116811461374c57600080fd5b809150509295509295909350565b60008060006060848603121561376f57600080fd5b833561377a816135f1565b9250602084013561378a816135f1565b929592945050506040919091013590565b6000602082840312156137ad57600080fd5b8135612961816135f1565b6000602082840312156137ca57600080fd5b81356001600160401b038111156137e057600080fd5b8201601f810184136137f157600080fd5b61240884823560208401613648565b60008060008060006080868803121561381857600080fd5b8535945060208601356001600160401b038082111561383657600080fd5b818801915088601f83011261384a57600080fd5b81358181111561385957600080fd5b89602082850101111561386b57600080fd5b9699602092909201985095966040810135965060600135945092505050565b6000806020838503121561389d57600080fd5b82356001600160401b03808211156138b457600080fd5b818501915085601f8301126138c857600080fd5b8135818111156138d757600080fd5b8660208260051b85010111156138ec57600080fd5b60209290920196919550909350505050565b6000806040838503121561391157600080fd5b823561391c816135f1565b91506020830135801515811461393157600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561397d5783516001600160a01b031683529284019291840191600101613958565b50909695505050505050565b6000806000806080858703121561399f57600080fd5b84356139aa816135f1565b935060208501356139ba816135f1565b92506040850135915060608501356001600160401b038111156139dc57600080fd5b6139e8878288016136bd565b91505092959194509250565b6020808252825182820181905260009190848201906040850190845b8181101561397d57835183529284019291840191600101613a10565b60008060408385031215613a3f57600080fd5b8235613a4a816135f1565b91506020830135613931816135f1565b600181811c90821680613a6e57607f821691505b60208210810361161157634e487b7160e01b600052602260045260246000fd5b602080825260129082015271185c1c1c9bdd985b1cc8191a5cd8589b195960721b604082015260600190565b6001600160a01b0384811682528316602082015260606040820181905260009061344e90830184613585565b60008151613af8818560208601613559565b9290920192915050565b60008351613b14818460208801613559565b60609390931b6001600160601b0319169190920190815260140192915050565b60008251613b46818460208701613559565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613b7957613b79613b50565b500190565b600060018201613b9057613b90613b50565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527118dbdb9d1c9858dd081a5cc81b1bd8dad95960721b604082015260600190565b602080825260149082015273657863656564207075626c696320737570706c7960601b604082015260600190565b60208082526011908201527032bc31b2b2b21030b63637b1b0ba34b7b760791b604082015260600190565b6020808252600e908201526d34b73b30b634b21039b4b3b732b960911b604082015260600190565b6020808252600c908201526b0d2dcecc2d8d2c840d0c2e6d60a31b604082015260600190565b600082821015613d1857613d18613b50565b500390565b6000816000190483118215151615613d3757613d37613b50565b500290565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b600084516020613d7b8285838a01613559565b602f60f81b918401918252855460019060009080831c81841680613da057607f821691505b8582108103613dbd57634e487b7160e01b84526022600452602484fd5b808015613dd15760018114613de657613e17565b60ff1984168887015282880186019450613e17565b60008c81526020902060005b84811015613e0d5781548a8201890152908701908801613df2565b5050858389010194505b50505050613e35613e2f82602f60f81b815260010190565b88613ae6565b9998505050505050505050565b60008351613e54818460208801613559565b602f60f81b9083019081528351613e72816001840160208801613559565b01600101949350505050565b600060208284031215613e9057600080fd5b8151612961816135f1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082613f1257613f12613eed565b500490565b600082613f2657613f26613eed565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612fe290830184613585565b600060208284031215613f7057600080fd5b81516129618161352656fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529467269656e646c79206372757374616365616e732074616b696e67206f76657220746865206f70656e207365612eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e22f5c49d7fba95e9bb6e2678b43c51e0abb7aa8e56241f9b3a55482a462c45d64736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000001edc00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000050731c04fdcaf476af4cbce622c337a2f54ee7acd8fb7406686019d787d8840227000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000006697066733a2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d5633386469536e3734724838664c324a6f7a69656b4b76315956534c733965626e47417373435369797761610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d57486f4767486a6f6470726a784d4564374b4b5345726b584b32506f6f683447706a6836613975786a37504c0000000000000000000000

-----Decoded View---------------
Arg [0] : baseUri_ (string): ipfs:/
Arg [1] : ipfsHash_ (string): QmV38diSn74rH8fL2JoziekKv1YVSLs9ebnGAssCSiywaa
Arg [2] : contractUri_ (string): ipfs://QmWHoGgHjodprjxMEd7KKSErkXK2Pooh4Gpjh6a9uxj7PL
Arg [3] : tokenMax_ (uint256[3]): 7900,20,80
Arg [4] : seed (uint256): 52065483754114972789636407581063181979125071792284899125935330296488492532263
Arg [5] : proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001edc
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [6] : 731c04fdcaf476af4cbce622c337a2f54ee7acd8fb7406686019d787d8840227
Arg [7] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 697066733a2f0000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [11] : 516d5633386469536e3734724838664c324a6f7a69656b4b76315956534c7339
Arg [12] : 65626e4741737343536979776161000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [14] : 697066733a2f2f516d57486f4767486a6f6470726a784d4564374b4b5345726b
Arg [15] : 584b32506f6f683447706a6836613975786a37504c0000000000000000000000


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.