ETH Price: $3,397.14 (+1.47%)

Token

Founders Pass (GCP2)
 

Overview

Max Total Supply

1,014 GCP2

Holders

541

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GCP2
0x48cf51dd57a69266e0b2ea463931dae3820147d4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Next Gen NFT Platform.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GeneticPass

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 4000 runs

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

pragma solidity ^0.8.0;

import "./GeneticChainMetadata.sol";

/**
 * @title Founders/ChainGang/Geneticists Pass
 * GeneticChain - Project #2-4 - Passes
 */
contract GeneticPass is GeneticChainMetadata {

    constructor(
        string memory name,
        string memory symbol,
        uint256 projectId,
        string memory artist,
        string memory description,
        string memory tokenIpfsHash,
        string memory baseUri,
        uint256[3] memory tokenMax,
        uint256 seed,
        address signer,
        address proxyRegistryAddress)
        GeneticChainMetadata(
          name,
          symbol,
          projectId,
          artist,
          description,
          tokenIpfsHash,
          baseUri,
          tokenMax,
          seed,
          signer,
          proxyRegistryAddress)
    {
    }

}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 4 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 5 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 6 of 21 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {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.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) 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) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 7 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 8 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 9 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 10 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 11 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 12 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 13 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 14 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 15 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 16 of 21 : GeneticChain721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
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";

contract OwnableDelegateProxy {}

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

/**
 * @title GeneticChain721
 * GeneticChainBase - ERC721 contract that whitelists a trading address, and has
 *  minting functionality.
 */
abstract contract GeneticChain721 is
    ContextMixin,
    ERC721Enumerable,
    NativeMetaTransaction,
    Ownable
{
    using ECDSA for bytes32;

    // mapping from token id to token hash
    mapping (uint256 => bytes32) private _hash;

    // only allow nonces to be used once
    mapping(string => bool) private _usedNonces;

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

    address _proxyRegistryAddress;
    uint256 private _currentTokenId = 0;
    uint256 private _seed;

    // message signer
    address private _signer;

    // token limits
    uint256 public publicMax;
    uint256 public artistMax;
    uint256 public galleryMax;
    uint256 public tokenMax;
    uint256 public publicMinted = 0;
    uint256 public artistMinted = 0;
    uint256 public galleryMinted = 0;

    // roles
    address artistAddress;
    address midnightAddress;

    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 the artist");
        _;
    }

    modifier isMidnight() {
        require(_msgSender() == midnightAddress, "caller not midnight");
        _;
    }

    constructor(
        string memory name,
        string memory symbol,
        uint256[3] memory tokenMax_,
        uint256 seed,
        address signer,
        address proxyRegistryAddress)
        ERC721(name, symbol)
    {
        publicMax             = tokenMax_[0];
        artistMax             = tokenMax_[1];
        galleryMax            = tokenMax_[2];
        tokenMax              = publicMax + artistMax + galleryMax;
        _seed                 = seed;
        _signer               = signer;
        _proxyRegistryAddress = proxyRegistryAddress;
        _initializeEIP712(name);
    }

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

    /**
     * Set midnight address.
     */
    function setMidnightAddress(address midnight)
        public
        onlyOwner
    {
        midnightAddress = midnight;
    }

    /**
     * Validate hash contains input data.
     */
    function validateHash(bytes32 msgHash, address sender, uint256 allocation, uint256 count, string memory nonce)
        private
        pure
        returns(bool)
    {
          return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32",
            keccak256(abi.encodePacked(sender, allocation, count, nonce)))) == msgHash;
    }

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

    /**
     * @dev Mints a token to an address.
     * @param _to address of the future owner of the token
     */
    function galleryMintTo(address _to)
        external
        onlyOwner
    {
        require(totalSupply() + 1 <= tokenMax, "exceed token supply");
        require(galleryMinted + 1 <= galleryMax, "exceed gallery supply");
        ++galleryMinted;
        _mintTo(_to);
    }

    /**
     * @dev Mints a token to an address.
     * @param _to address of the future owner of the token
     */
    function artistMintTo(address _to)
        external
        isArtist
    {
        require(totalSupply() + 1 <= tokenMax, "exceed token supply");
        require(artistMinted + 1 <= artistMax, "exceed artist supply");
        ++artistMinted;
        _mintTo(_to);
    }

    /**
     * @dev Mints multiple tokens to an address.
     * @param _to address of the future owner of the token
     */
    function galleryBatchMint(address _to, uint256 count)
        external
        onlyOwner
    {
        require(totalSupply() + count <= tokenMax, "exceed token supply");
        require(galleryMinted + count <= galleryMax, "exceed gallery supply");
        galleryMinted += count;
        for (uint256 i = 0; i < count; ++i) {
            _mintTo(_to);
        }
    }

    /**
     * Mint count tokens using securely signed message.
     */
    function secureMint(bytes32 msgHash, bytes memory signature, uint256 allocation, uint256 count, string memory nonce)
        external
    {
        require(!_usedNonces[nonce], "invalid nonce");
        require(totalSupply() < tokenMax, "all tokens minted");
        require(totalSupply() + count <= tokenMax, "exceed token supply");
        require(publicMinted + count <= publicMax, "exceed public supply");
        require(_mints[msg.sender] + count <= allocation, "exceed allocation");
        require(validateSigner(msgHash, signature), "invalid signer");
        require(validateHash(msgHash, msg.sender, allocation, count, nonce), "invalid hash");
        publicMinted += count;
        _mints[msg.sender] += count;
        _usedNonces[nonce] = true;
        for (uint256 i = 0; i < count; ++i) {
            _mintTo(msg.sender);
        }
    }

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

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function _mintTo(address _to)
        internal
    {
        uint256 newTokenId = totalSupply() + 1;
        _safeMint(_to, newTokenId);
        _hash[newTokenId] = _randomHash(_to, newTokenId);
    }

    function baseTokenURI()
        virtual
        public
        view
        returns (string memory);

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

    /**
     * @return randomly generated hash associated with valid a token.
     */
    function tokenHash(uint256 tokenId)
        public
        view
        validTokenId(tokenId)
        returns (bytes32)
    {
        return _hash[tokenId];
    }

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

    /**
     * @dev Pseudo-random number generator.
     */
    function _randomHash(address _to, uint256 tokenId)
        internal
        returns (bytes32)
    {
      bytes32 hash = keccak256(
          abi.encodePacked(
              blockhash(block.number - 1),
              msg.sender,
              _seed,
              tokenId,
              _to));
      _seed = uint256(hash);
      return hash;
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts
     *  to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // 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()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }

}

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

import "./GeneticChain721.sol";

pragma solidity ^0.8.0;

/**
 * @title GeneticChainMetadata
 * Holds all required metadata for genetic chain projects.
 */
abstract contract GeneticChainMetadata is GeneticChain721 {

    struct IpfsAsset {
        string name;
        string hash;
    }

    uint256 public projectId;
    string public artist;
    string public description;
    string public code;
    IpfsAsset[] public libraries;
    IpfsAsset[] public assets;
    string private _tokenIpfsHash;
    string private _baseUri;

    constructor(
        string memory name,
        string memory symbol,
        uint256 projectId_,
        string memory artist_,
        string memory description_,
        string memory tokenIpfsHash_,
        string memory baseUri_,
        uint256[3] memory tokenMax,
        uint256 seed,
        address signer,
        address proxyRegistryAddress)
        GeneticChain721(
          name,
          symbol,
          tokenMax,
          seed,
          signer,
          proxyRegistryAddress)
    {
        projectId      = projectId_;
        artist         = artist_;
        description    = description_;
        _tokenIpfsHash = tokenIpfsHash_;
        _baseUri       = baseUri_;
    }

    function setProjectId(uint256 projectId_)
        public
        onlyOwner
    {
        projectId = projectId_;
    }

    function setArtist(string memory artist_)
        public
        onlyOwner
    {
        artist = artist_;
    }

    function setDescription(string memory description_)
        public
        onlyOwner
    {
        description = description_;
    }

    function setCode(string memory code_)
        public
        onlyOwner
    {
        code = code_;
    }

    function setTokenIpfsHash(string memory hash)
        public
        onlyOwner
    {
        _tokenIpfsHash = hash;
    }

    function addLibrary(string memory name, string memory hash)
        public
        onlyOwner
    {
        IpfsAsset memory lib = IpfsAsset(name, hash);
        libraries.push(lib);
    }

    function removeLibrary(uint256 index)
        public
        onlyOwner
    {
        require(index < libraries.length);
        libraries[index] = libraries[libraries.length-1];
        libraries.pop();
    }

    function getLibraryCount()
        public
        view
        returns (uint256)
    {
        return libraries.length;
    }

    function getLibraries()
        public
        view
        returns (IpfsAsset[] memory)
    {
        IpfsAsset[] memory libs = new IpfsAsset[](libraries.length);
        for (uint256 i = 0; i < libraries.length; ++i) {
          IpfsAsset storage lib = libraries[i];
          libs[i] = lib;
        }
        return libs;
    }

    function addAsset(string memory name, string memory hash)
        public
        onlyOwner
    {
        IpfsAsset memory lib = IpfsAsset(name, hash);
        assets.push(lib);
    }

    function removeAsset(uint256 index)
        public
        onlyOwner
    {
        require(index < assets.length);
        assets[index] = assets[assets.length-1];
        assets.pop();
    }

    function getAssetCount()
        public
        view
        returns (uint256)
    {
        return assets.length;
    }

    function getAssets()
        public
        view
        returns (IpfsAsset[] memory)
    {
        IpfsAsset[] memory asts = new IpfsAsset[](assets.length);
        for (uint256 i = 0; i < assets.length; ++i) {
          IpfsAsset storage ast = assets[i];
          asts[i] = ast;
        }
        return asts;
    }

    function tokenIpfsHash(uint256 /*tokenId*/)
        public
        view
        virtual
        returns (string memory)
    {
        return _tokenIpfsHash;
    }

    function baseTokenURI()
        override
        public
        view
        returns (string memory)
    {
        return string(abi.encodePacked(_baseUri, "/api/project/", Strings.toString(projectId), "/token"));
    }

    function contractURI()
        public
        view
        returns (string memory)
    {
        return string(abi.encodePacked(_baseUri, "/api/project/", Strings.toString(projectId), "/contract"));
    }

}

File 18 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 19 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 20 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 21 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
            );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"string","name":"artist","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"tokenIpfsHash","type":"string"},{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"uint256[3]","name":"tokenMax","type":"uint256[3]"},{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"address","name":"signer","type":"address"},{"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":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"hash","type":"string"}],"name":"addAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"hash","type":"string"}],"name":"addLibrary","outputs":[],"stateMutability":"nonpayable","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":"_to","type":"address"}],"name":"artistMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"assets","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"hash","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","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":[],"name":"code","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"galleryBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"galleryMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"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":"getAssetCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAssets","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"hash","type":"string"}],"internalType":"struct GeneticChainMetadata.IpfsAsset[]","name":"","type":"tuple[]"}],"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":[],"name":"getLibraries","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"hash","type":"string"}],"internalType":"struct GeneticChainMetadata.IpfsAsset[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLibraryCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"libraries","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"hash","type":"string"}],"stateMutability":"view","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":[],"name":"projectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeLibrary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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"},{"internalType":"string","name":"nonce","type":"string"}],"name":"secureMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"artist_","type":"string"}],"name":"setArtist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"artist","type":"address"}],"name":"setArtistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"code_","type":"string"}],"name":"setCode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"description_","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"midnight","type":"address"}],"name":"setMidnightAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId_","type":"uint256"}],"name":"setProjectId","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":"","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":"uint256","name":"","type":"uint256"}],"name":"tokenIpfsHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","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":"","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"}]

6080604052600a805460ff19169055600060128190556019819055601a819055601b553480156200002f57600080fd5b506040516200575f3803806200575f833981016040819052620000529162000581565b8a8a8a8a8a8a8a8a8a8a8a8a8a85858585858581600090805190602001906200007d9291906200036c565b508051620000939060019060208401906200036c565b5050506000620000a8620001eb60201b60201c565b600d80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350835160158190556020850151601681905560408601516017819055916200011e9190620006ff565b6200012a9190620006ff565b6018556013839055601480546001600160a01b038085166001600160a01b03199283161790925560118054928416929091169190911790556200016d8662000207565b505050601e8c9055505088516200018d9150601f9060208b01906200036c565b508651620001a290602090818a01906200036c565b508551620001b89060249060208901906200036c565b508451620001ce9060259060208801906200036c565b505050505050505050505050505050505050505050505062000763565b6000620002026200026b60201b620031271760201c565b905090565b600a5460ff1615620002505760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b6200025b81620002ca565b50600a805460ff19166001179055565b600033301415620002c457600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002c79050565b50335b90565b6040518060800160405280604f815260200162005710604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600b55565b8280546200037a9062000726565b90600052602060002090601f0160209004810192826200039e5760008555620003e9565b82601f10620003b957805160ff1916838001178555620003e9565b82800160010185558215620003e9579182015b82811115620003e9578251825591602001919060010190620003cc565b50620003f7929150620003fb565b5090565b5b80821115620003f75760008155600101620003fc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000453576200045362000412565b604052919050565b600082601f8301126200046d57600080fd5b81516001600160401b0381111562000489576200048962000412565b60206200049f601f8301601f1916820162000428565b8281528582848701011115620004b457600080fd5b60005b83811015620004d4578581018301518282018401528201620004b7565b83811115620004e65760008385840101525b5095945050505050565b600082601f8301126200050257600080fd5b604051606081016001600160401b038111828210171562000527576200052762000412565b6040528060608401858111156200053d57600080fd5b845b81811015620005595780518352602092830192016200053f565b509195945050505050565b80516001600160a01b03811681146200057c57600080fd5b919050565b60008060008060008060008060008060006101a08c8e031215620005a457600080fd5b8b516001600160401b03811115620005bb57600080fd5b620005c98e828f016200045b565b60208e0151909c5090506001600160401b03811115620005e857600080fd5b620005f68e828f016200045b565b60408e015160608f0151919c509a5090506001600160401b038111156200061c57600080fd5b6200062a8e828f016200045b565b60808e015190995090506001600160401b038111156200064957600080fd5b620006578e828f016200045b565b60a08e015190985090506001600160401b038111156200067657600080fd5b620006848e828f016200045b565b60c08e015190975090506001600160401b03811115620006a357600080fd5b620006b18e828f016200045b565b955050620006c38d60e08e01620004f0565b93506101408c01519250620006dc6101608d0162000564565b9150620006ed6101808d0162000564565b90509295989b509295989b9093969950565b600082198211156200072157634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200073b57607f821691505b602082108114156200075d57634e487b7160e01b600052602260045260246000fd5b50919050565b614f9d80620007736000396000f3fe6080604052600436106103ad5760003560e01c806371dedace116101e7578063c87b56dd1161010d578063e985e9c5116100a0578063f2fde38b1161006f578063f2fde38b14610aa1578063f3fef3a314610ac1578063f7ee706814610ae1578063f8f0b80e14610af757600080fd5b8063e985e9c514610a35578063ed329fa814610a55578063ef3c662414610a6b578063f14f58f114610a8157600080fd5b8063d547cfb7116100dc578063d547cfb7146109d5578063e403f1a7146109ea578063e527c6dd14610a0a578063e8a3d48514610a2057600080fd5b8063c87b56dd14610955578063c93ed70a14610975578063ce9246dd14610995578063cf35bdd0146109b557600080fd5b8063a0aead4d11610185578063a4f4f8af11610154578063a4f4f8af146108d1578063a52e4138146108e7578063b1fbe72d14610907578063b88d4fde1461093557600080fd5b8063a0aead4d1461085c578063a22cb46514610871578063a22e4faa14610891578063a3864397146108b157600080fd5b806380a1962f116101c157806380a1962f146107e95780638da5cb5b1461080957806390c3f38f1461082757806395d89b411461084757600080fd5b806371dedace1461079e5780637284e416146107b45780637eb7dcfc146107c957600080fd5b80633763e75b116102d75780634f6ccce71161026a578063638e19b411610239578063638e19b41461073457806367e4ac2c1461075457806370a0823114610769578063715018a61461078957600080fd5b80634f6ccce7146106b457806359b96197146106d45780635a19e315146106f45780636352211e1461071457600080fd5b806342966c68116102a657806342966c681461063f57806343bc16121461065f57806349505af3146106745780634dcc60af1461069457600080fd5b80633763e75b146105d15780633e02bc38146105e75780633fafa1271461060957806342842e0e1461061f57600080fd5b806318160ddd1161034f5780632d0335ab1161031e5780632d0335ab146105485780632f745c591461057e5780633408e4701461059e57806337410dfa146105b157600080fd5b806318160ddd146104df57806320379ee5146104fe57806323b872dd1461051357806324c12bf61461053357600080fd5b8063081812fc1161038b578063081812fc1461042b578063095ea7b3146104635780630c53c51c146104835780630f7e59701461049657600080fd5b806301ffc9a7146103b257806306facce9146103e757806306fdde0314610409575b600080fd5b3480156103be57600080fd5b506103d26103cd366004614589565b610b0c565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b506104076104023660046145bb565b610b68565b005b34801561041557600080fd5b5061041e610ceb565b6040516103de919061463f565b34801561043757600080fd5b5061044b610446366004614652565b610d7d565b6040516001600160a01b0390911681526020016103de565b34801561046f57600080fd5b5061040761047e3660046145bb565b610e23565b61041e61049136600461470e565b610f62565b3480156104a257600080fd5b5061041e6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b3480156104eb57600080fd5b506008545b6040519081526020016103de565b34801561050a57600080fd5b50600b546104f0565b34801561051f57600080fd5b5061040761052e36600461478c565b611168565b34801561053f57600080fd5b5061041e6111f6565b34801561055457600080fd5b506104f06105633660046147cd565b6001600160a01b03166000908152600c602052604090205490565b34801561058a57600080fd5b506104f06105993660046145bb565b611284565b3480156105aa57600080fd5b50466104f0565b3480156105bd57600080fd5b506104076105cc3660046147ea565b61132c565b3480156105dd57600080fd5b506104f0601b5481565b3480156105f357600080fd5b506105fc611427565b6040516103de919061484e565b34801561061557600080fd5b506104f0601e5481565b34801561062b57600080fd5b5061040761063a36600461478c565b611627565b34801561064b57600080fd5b5061040761065a366004614652565b611642565b34801561066b57600080fd5b5061041e6116b8565b34801561068057600080fd5b5061040761068f3660046147cd565b6116c5565b3480156106a057600080fd5b506104076106af3660046148f1565b611818565b3480156106c057600080fd5b506104f06106cf366004614652565b6118a8565b3480156106e057600080fd5b506104076106ef3660046147cd565b61194c565b34801561070057600080fd5b5061041e61070f366004614652565b611a83565b34801561072057600080fd5b5061044b61072f366004614652565b611b17565b34801561074057600080fd5b5061040761074f3660046147ea565b611ba2565b34801561076057600080fd5b506105fc611c7c565b34801561077557600080fd5b506104f06107843660046147cd565b611e76565b34801561079557600080fd5b50610407611f10565b3480156107aa57600080fd5b506104f060175481565b3480156107c057600080fd5b5061041e611fe0565b3480156107d557600080fd5b506104076107e43660046147cd565b611fed565b3480156107f557600080fd5b50610407610804366004614926565b612095565b34801561081557600080fd5b50600d546001600160a01b031661044b565b34801561083357600080fd5b506104076108423660046148f1565b6123c9565b34801561085357600080fd5b5061041e612454565b34801561086857600080fd5b506023546104f0565b34801561087d57600080fd5b5061040761088c3660046149a7565b612463565b34801561089d57600080fd5b506104076108ac3660046147cd565b612565565b3480156108bd57600080fd5b506104f06108cc366004614652565b61260d565b3480156108dd57600080fd5b506104f060195481565b3480156108f357600080fd5b506104076109023660046148f1565b612687565b34801561091357600080fd5b50610927610922366004614652565b612713565b6040516103de9291906149e5565b34801561094157600080fd5b50610407610950366004614a0a565b612857565b34801561096157600080fd5b5061041e610970366004614652565b6128ec565b34801561098157600080fd5b50610407610990366004614652565b612926565b3480156109a157600080fd5b506104076109b0366004614652565b612aa3565b3480156109c157600080fd5b506109276109d0366004614652565b612b21565b3480156109e157600080fd5b5061041e612b31565b3480156109f657600080fd5b50610407610a053660046148f1565b612b65565b348015610a1657600080fd5b506104f060155481565b348015610a2c57600080fd5b5061041e612bf1565b348015610a4157600080fd5b506103d2610a50366004614a76565b612c11565b348015610a6157600080fd5b506104f0601a5481565b348015610a7757600080fd5b506104f060165481565b348015610a8d57600080fd5b50610407610a9c366004614652565b612cfa565b348015610aad57600080fd5b50610407610abc3660046147cd565b612e24565b348015610acd57600080fd5b50610407610adc3660046145bb565b612f82565b348015610aed57600080fd5b506104f060185481565b348015610b0357600080fd5b506022546104f0565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610b625750610b6282613184565b92915050565b610b70613267565b6001600160a01b0316610b8b600d546001600160a01b031690565b6001600160a01b031614610be65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60185481610bf360085490565b610bfd9190614aba565b1115610c4b5760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b60175481601b54610c5c9190614aba565b1115610caa5760405162461bcd60e51b815260206004820152601560248201527f6578636565642067616c6c65727920737570706c7900000000000000000000006044820152606401610bdd565b80601b6000828254610cbc9190614aba565b90915550600090505b81811015610ce657610cd683613276565b610cdf81614ad2565b9050610cc5565b505050565b606060008054610cfa90614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2690614b0b565b8015610d735780601f10610d4857610100808354040283529160200191610d73565b820191906000526020600020905b815481529060010190602001808311610d5657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e075760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bdd565b506000908152600460205260409020546001600160a01b031690565b6000610e2e82611b17565b9050806001600160a01b0316836001600160a01b03161415610eb85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b806001600160a01b0316610eca613267565b6001600160a01b03161480610ee65750610ee681610a50613267565b610f585760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bdd565b610ce683836132b5565b60408051606081810183526001600160a01b0388166000818152600c602090815290859020548452830152918101869052610fa08782878787613330565b6110125760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360448201527f68000000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b6001600160a01b0387166000908152600c6020526040902054611036906001613438565b6001600160a01b0388166000908152600c60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061108690899033908a90614b40565b60405180910390a1600080306001600160a01b0316888a6040516020016110ae929190614b6c565b60408051601f19818403018152908290526110c891614bb6565b6000604051808303816000865af19150503d8060008114611105576040519150601f19603f3d011682016040523d82523d6000602084013e61110a565b606091505b50915091508161115c5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610bdd565b98975050505050505050565b611179611173613267565b8261344b565b6111eb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bdd565b610ce683838361352b565b6021805461120390614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461122f90614b0b565b801561127c5780601f106112515761010080835404028352916020019161127c565b820191906000526020600020905b81548152906001019060200180831161125f57829003601f168201915b505050505081565b600061128f83611e76565b82106113035760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bdd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b611334613267565b6001600160a01b031661134f600d546001600160a01b031690565b6001600160a01b0316146113a55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6040805180820190915282815260208082018390526023805460018101825560009190915282518051849360029093027fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42300192611406928492910190614411565b50602082810151805161141f9260018501920190614411565b505050505050565b60225460609060009067ffffffffffffffff8111156114485761144861466b565b60405190808252806020026020018201604052801561148d57816020015b60408051808201909152606080825260208201528152602001906001900390816114665790505b50905060005b602254811015611621576000602282815481106114b2576114b2614bd2565b90600052602060002090600202019050806040518060400160405290816000820180546114de90614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461150a90614b0b565b80156115575780601f1061152c57610100808354040283529160200191611557565b820191906000526020600020905b81548152906001019060200180831161153a57829003601f168201915b5050505050815260200160018201805461157090614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461159c90614b0b565b80156115e95780601f106115be576101008083540402835291602001916115e9565b820191906000526020600020905b8154815290600101906020018083116115cc57829003601f168201915b50505050508152505083838151811061160457611604614bd2565b6020026020010181905250508061161a90614ad2565b9050611493565b50919050565b610ce683838360405180602001604052806000815250612857565b601d546001600160a01b0316611656613267565b6001600160a01b0316146116ac5760405162461bcd60e51b815260206004820152601360248201527f63616c6c6572206e6f74206d69646e69676874000000000000000000000000006044820152606401610bdd565b6116b581613710565b50565b601f805461120390614b0b565b6116cd613267565b6001600160a01b03166116e8600d546001600160a01b031690565b6001600160a01b03161461173e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b60185460085461174f906001614aba565b111561179d5760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b601754601b546117ae906001614aba565b11156117fc5760405162461bcd60e51b815260206004820152601560248201527f6578636565642067616c6c65727920737570706c7900000000000000000000006044820152606401610bdd565b601b6000815461180b90614ad2565b909155506116b581613276565b611820613267565b6001600160a01b031661183b600d546001600160a01b031690565b6001600160a01b0316146118915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a4906024906020840190614411565b5050565b60006118b360085490565b82106119275760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610bdd565b6008828154811061193a5761193a614bd2565b90600052602060002001549050919050565b601c546001600160a01b0316611960613267565b6001600160a01b0316146119b65760405162461bcd60e51b815260206004820152601560248201527f63616c6c6572206e6f74207468652061727469737400000000000000000000006044820152606401610bdd565b6018546008546119c7906001614aba565b1115611a155760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b601654601a54611a26906001614aba565b1115611a745760405162461bcd60e51b815260206004820152601460248201527f6578636565642061727469737420737570706c790000000000000000000000006044820152606401610bdd565b601a6000815461180b90614ad2565b606060248054611a9290614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611abe90614b0b565b8015611b0b5780601f10611ae057610100808354040283529160200191611b0b565b820191906000526020600020905b815481529060010190602001808311611aee57829003601f168201915b50505050509050919050565b6000818152600260205260408120546001600160a01b031680610b625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610bdd565b611baa613267565b6001600160a01b0316611bc5600d546001600160a01b031690565b6001600160a01b031614611c1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6040805180820190915282815260208082018390526022805460018101825560009190915282518051849360029093027f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e5100192611406928492910190614411565b60235460609060009067ffffffffffffffff811115611c9d57611c9d61466b565b604051908082528060200260200182016040528015611ce257816020015b6040805180820190915260608082526020820152815260200190600190039081611cbb5790505b50905060005b60235481101561162157600060238281548110611d0757611d07614bd2565b9060005260206000209060020201905080604051806040016040529081600082018054611d3390614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5f90614b0b565b8015611dac5780601f10611d8157610100808354040283529160200191611dac565b820191906000526020600020905b815481529060010190602001808311611d8f57829003601f168201915b50505050508152602001600182018054611dc590614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611df190614b0b565b8015611e3e5780601f10611e1357610100808354040283529160200191611e3e565b820191906000526020600020905b815481529060010190602001808311611e2157829003601f168201915b505050505081525050838381518110611e5957611e59614bd2565b60200260200101819052505080611e6f90614ad2565b9050611ce8565b60006001600160a01b038216611ef45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610bdd565b506001600160a01b031660009081526003602052604090205490565b611f18613267565b6001600160a01b0316611f33600d546001600160a01b031690565b6001600160a01b031614611f895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d805473ffffffffffffffffffffffffffffffffffffffff19169055565b6020805461120390614b0b565b611ff5613267565b6001600160a01b0316612010600d546001600160a01b031690565b6001600160a01b0316146120665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b601d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600f816040516120a59190614bb6565b9081526040519081900360200190205460ff16156121055760405162461bcd60e51b815260206004820152600d60248201527f696e76616c6964206e6f6e6365000000000000000000000000000000000000006044820152606401610bdd565b601854600854106121585760405162461bcd60e51b815260206004820152601160248201527f616c6c20746f6b656e73206d696e7465640000000000000000000000000000006044820152606401610bdd565b6018548261216560085490565b61216f9190614aba565b11156121bd5760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b601554826019546121ce9190614aba565b111561221c5760405162461bcd60e51b815260206004820152601460248201527f657863656564207075626c696320737570706c790000000000000000000000006044820152606401610bdd565b336000908152601060205260409020548390612239908490614aba565b11156122875760405162461bcd60e51b815260206004820152601160248201527f65786365656420616c6c6f636174696f6e0000000000000000000000000000006044820152606401610bdd565b61229185856137c4565b6122dd5760405162461bcd60e51b815260206004820152600e60248201527f696e76616c6964207369676e65720000000000000000000000000000000000006044820152606401610bdd565b6122ea85338585856137ee565b6123365760405162461bcd60e51b815260206004820152600c60248201527f696e76616c6964206861736800000000000000000000000000000000000000006044820152606401610bdd565b81601960008282546123489190614aba565b9091555050336000908152601060205260408120805484929061236c908490614aba565b925050819055506001600f826040516123859190614bb6565b908152604051908190036020019020805491151560ff1990921691909117905560005b8281101561141f576123b933613276565b6123c281614ad2565b90506123a8565b6123d1613267565b6001600160a01b03166123ec600d546001600160a01b031690565b6001600160a01b0316146124425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a49060209081840190614411565b606060018054610cfa90614b0b565b61246b613267565b6001600160a01b0316826001600160a01b031614156124cc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bdd565b80600560006124d9613267565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561251d613267565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612559911515815260200190565b60405180910390a35050565b61256d613267565b6001600160a01b0316612588600d546001600160a01b031690565b6001600160a01b0316146125de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b601c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008181526002602052604081205482906001600160a01b03166126735760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e000000000000000000000000000000000000006044820152606401610bdd565b50506000908152600e602052604090205490565b61268f613267565b6001600160a01b03166126aa600d546001600160a01b031690565b6001600160a01b0316146127005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a490601f906020840190614411565b6022818154811061272357600080fd5b906000526020600020906002020160009150905080600001805461274690614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461277290614b0b565b80156127bf5780601f10612794576101008083540402835291602001916127bf565b820191906000526020600020905b8154815290600101906020018083116127a257829003601f168201915b5050505050908060010180546127d490614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461280090614b0b565b801561284d5780601f106128225761010080835404028352916020019161284d565b820191906000526020600020905b81548152906001019060200180831161283057829003601f168201915b5050505050905082565b612868612862613267565b8361344b565b6128da5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bdd565b6128e684848484613873565b50505050565b60606128f6612b31565b6128ff836138fc565b604051602001612910929190614be8565b6040516020818303038152906040529050919050565b61292e613267565b6001600160a01b0316612949600d546001600160a01b031690565b6001600160a01b03161461299f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b60225481106129ad57600080fd5b602280546129bd90600190614c6a565b815481106129cd576129cd614bd2565b9060005260206000209060020201602282815481106129ee576129ee614bd2565b90600052602060002090600202016000820181600001908054612a1090614b0b565b612a1b929190614495565b506001820181600101908054612a3090614b0b565b612a3b929190614495565b509050506022805480612a5057612a50614c81565b6000828152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191600283020190612a8e8282614510565b612a9c600183016000614510565b5050905550565b612aab613267565b6001600160a01b0316612ac6600d546001600160a01b031690565b6001600160a01b031614612b1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b601e55565b6023818154811061272357600080fd5b60606025612b40601e546138fc565b604051602001612b51929190614d31565b604051602081830303815290604052905090565b612b6d613267565b6001600160a01b0316612b88600d546001600160a01b031690565b6001600160a01b031614612bde5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a4906021906020840190614411565b60606025612c00601e546138fc565b604051602001612b51929190614da9565b6011546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015612c7757600080fd5b505afa158015612c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612caf9190614e21565b6001600160a01b03161415612cc8576001915050610b62565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b612d02613267565b6001600160a01b0316612d1d600d546001600160a01b031690565b6001600160a01b031614612d735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6023548110612d8157600080fd5b60238054612d9190600190614c6a565b81548110612da157612da1614bd2565b906000526020600020906002020160238281548110612dc257612dc2614bd2565b90600052602060002090600202016000820181600001908054612de490614b0b565b612def929190614495565b506001820181600101908054612e0490614b0b565b612e0f929190614495565b509050506023805480612a5057612a50614c81565b612e2c613267565b6001600160a01b0316612e47600d546001600160a01b031690565b6001600160a01b031614612e9d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6001600160a01b038116612f195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bdd565b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b612f8a613267565b6001600160a01b0316612fa5600d546001600160a01b031690565b6001600160a01b031614612ffb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6000811161304b5760405162461bcd60e51b815260206004820152600c60248201527f616d6f756e7420656d70747900000000000000000000000000000000000000006044820152606401610bdd565b4781111561309b5760405162461bcd60e51b815260206004820152601660248201527f616d6f756e7420657863656564732062616c616e6365000000000000000000006044820152606401610bdd565b6001600160a01b0382166130f15760405162461bcd60e51b815260206004820152600c60248201527f61646472657373206e756c6c00000000000000000000000000000000000000006044820152606401610bdd565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610ce6573d6000803e3d6000fd5b60003330141561317e57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506131819050565b50335b90565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061321757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b6257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b62565b6000613271613127565b905090565b600061328160085490565b61328c906001614aba565b90506132988282613a2e565b6132a28282613a48565b6000918252600e60205260409091205550565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906132f782611b17565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166133ae5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201527f49474e45520000000000000000000000000000000000000000000000000000006064820152608401610bdd565b60016133c16133bc87613ad4565b613b51565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa15801561340f573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006134448284614aba565b9392505050565b6000818152600260205260408120546001600160a01b03166134d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bdd565b60006134e083611b17565b9050806001600160a01b0316846001600160a01b0316148061351b5750836001600160a01b031661351084610d7d565b6001600160a01b0316145b80612cf25750612cf28185612c11565b826001600160a01b031661353e82611b17565b6001600160a01b0316146135ba5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610bdd565b6001600160a01b0382166136355760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b613640838383613b9c565b61364b6000826132b5565b6001600160a01b0383166000908152600360205260408120805460019290613674908490614c6a565b90915550506001600160a01b03821660009081526003602052604081208054600192906136a2908490614aba565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061371b82611b17565b905061372981600084613b9c565b6137346000836132b5565b6001600160a01b038116600090815260036020526040812080546001929061375d908490614c6a565b9091555050600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6014546000906001600160a01b03166137dd8484613c54565b6001600160a01b0316149392505050565b600085858585856040516020016138089493929190614e3e565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c016040516020818303038152906040528051906020012014905095945050505050565b61387e84848461352b565b61388a84848484613d23565b6128e65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bdd565b60608161393c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613966578061395081614ad2565b915061395f9050600a83614ead565b9150613940565b60008167ffffffffffffffff8111156139815761398161466b565b6040519080825280601f01601f1916602001820160405280156139ab576020820181803683370190505b5090505b8415612cf2576139c0600183614c6a565b91506139cd600a86614ec1565b6139d8906030614aba565b60f81b8183815181106139ed576139ed614bd2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613a27600a86614ead565b94506139af565b6118a4828260405180602001604052806000815250613ebe565b600080613a56600143614c6a565b60135460408051924060208401527fffffffffffffffffffffffffffffffffffffffff00000000000000000000000033606090811b82169285019290925260548401929092526074830186905286901b16609482015260a80160408051808303601f1901815291905280516020909101206013819055949350505050565b6000604051806080016040528060438152602001614f256043913980516020918201208351848301516040808701518051908601209051613b34950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000613b5c600b5490565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101839052606201613b34565b6001600160a01b038316613bf757613bf281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613c1a565b816001600160a01b0316836001600160a01b031614613c1a57613c1a8382613f47565b6001600160a01b038216613c3157610ce681613fe4565b826001600160a01b0316826001600160a01b031614610ce657610ce68282614093565b600080600080845160411415613c7e5750505060208201516040830151606084015160001a613d0d565b845160401415613cc55750505060408201516020830151907f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169060ff1c601b01613d0d565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bdd565b613d19868285856140d7565b9695505050505050565b60006001600160a01b0384163b15613eb357836001600160a01b031663150b7a02613d4c613267565b8786866040518563ffffffff1660e01b8152600401613d6e9493929190614ed5565b602060405180830381600087803b158015613d8857600080fd5b505af1925050508015613db8575060408051601f3d908101601f19168201909252613db591810190614f07565b60015b613e68573d808015613de6576040519150601f19603f3d011682016040523d82523d6000602084013e613deb565b606091505b508051613e605760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bdd565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612cf2565b506001949350505050565b613ec883836142b6565b613ed56000848484613d23565b610ce65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bdd565b60006001613f5484611e76565b613f5e9190614c6a565b600083815260076020526040902054909150808214613fb1576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613ff690600190614c6a565b6000838152600960205260408120546008805493945090928490811061401e5761401e614bd2565b90600052602060002001549050806008838154811061403f5761403f614bd2565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061407757614077614c81565b6001900381819060005260206000200160009055905550505050565b600061409e83611e76565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561416f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b8360ff16601b148061418457508360ff16601c145b6141f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561424a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166142ad5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bdd565b95945050505050565b6001600160a01b03821661430c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bdd565b6000818152600260205260409020546001600160a01b0316156143715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bdd565b61437d60008383613b9c565b6001600160a01b03821660009081526003602052604081208054600192906143a6908490614aba565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461441d90614b0b565b90600052602060002090601f01602090048101928261443f5760008555614485565b82601f1061445857805160ff1916838001178555614485565b82800160010185558215614485579182015b8281111561448557825182559160200191906001019061446a565b50614491929150614546565b5090565b8280546144a190614b0b565b90600052602060002090601f0160209004810192826144c35760008555614485565b82601f106144d45780548555614485565b8280016001018555821561448557600052602060002091601f016020900482015b828111156144855782548255916001019190600101906144f5565b50805461451c90614b0b565b6000825580601f1061452c575050565b601f0160209004906000526020600020908101906116b591905b5b808211156144915760008155600101614547565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116b557600080fd5b60006020828403121561459b57600080fd5b81356134448161455b565b6001600160a01b03811681146116b557600080fd5b600080604083850312156145ce57600080fd5b82356145d9816145a6565b946020939093013593505050565b60005b838110156146025781810151838201526020016145ea565b838111156128e65750506000910152565b6000815180845261462b8160208601602086016145e7565b601f01601f19169290920160200192915050565b6020815260006134446020830184614613565b60006020828403121561466457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261469257600080fd5b813567ffffffffffffffff808211156146ad576146ad61466b565b604051601f8301601f19908116603f011681019082821181831017156146d5576146d561466b565b816040528381528660208588010111156146ee57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a0868803121561472657600080fd5b8535614731816145a6565b9450602086013567ffffffffffffffff81111561474d57600080fd5b61475988828901614681565b9450506040860135925060608601359150608086013560ff8116811461477e57600080fd5b809150509295509295909350565b6000806000606084860312156147a157600080fd5b83356147ac816145a6565b925060208401356147bc816145a6565b929592945050506040919091013590565b6000602082840312156147df57600080fd5b8135613444816145a6565b600080604083850312156147fd57600080fd5b823567ffffffffffffffff8082111561481557600080fd5b61482186838701614681565b9350602085013591508082111561483757600080fd5b5061484485828601614681565b9150509250929050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b838110156148e3577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0898403018552815180518785526148b788860182614613565b91890151858303868b01529190506148cf8183614613565b968901969450505090860190600101614875565b509098975050505050505050565b60006020828403121561490357600080fd5b813567ffffffffffffffff81111561491a57600080fd5b612cf284828501614681565b600080600080600060a0868803121561493e57600080fd5b85359450602086013567ffffffffffffffff8082111561495d57600080fd5b61496989838a01614681565b95506040880135945060608801359350608088013591508082111561498d57600080fd5b5061499a88828901614681565b9150509295509295909350565b600080604083850312156149ba57600080fd5b82356149c5816145a6565b9150602083013580151581146149da57600080fd5b809150509250929050565b6040815260006149f86040830185614613565b82810360208401526142ad8185614613565b60008060008060808587031215614a2057600080fd5b8435614a2b816145a6565b93506020850135614a3b816145a6565b925060408501359150606085013567ffffffffffffffff811115614a5e57600080fd5b614a6a87828801614681565b91505092959194509250565b60008060408385031215614a8957600080fd5b8235614a94816145a6565b915060208301356149da816145a6565b634e487b7160e01b600052601160045260246000fd5b60008219821115614acd57614acd614aa4565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b0457614b04614aa4565b5060010190565b600181811c90821680614b1f57607f821691505b6020821081141561162157634e487b7160e01b600052602260045260246000fd5b60006001600160a01b038086168352808516602084015250606060408301526142ad6060830184614613565b60008351614b7e8184602088016145e7565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b60008251614bc88184602087016145e7565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b60008351614bfa8184602088016145e7565b7f2f000000000000000000000000000000000000000000000000000000000000009083019081528351614c348160018401602088016145e7565b7f2f6d65746100000000000000000000000000000000000000000000000000000060019290910191820152600601949350505050565b600082821015614c7c57614c7c614aa4565b500390565b634e487b7160e01b600052603160045260246000fd5b8054600090600181811c9080831680614cb157607f831692505b6020808410821415614cd357634e487b7160e01b600052602260045260246000fd5b818015614ce75760018114614cf857614d25565b60ff19861689528489019650614d25565b60008881526020902060005b86811015614d1d5781548b820152908501908301614d04565b505084890196505b50505050505092915050565b6000614d3d8285614c97565b7f2f6170692f70726f6a6563742f0000000000000000000000000000000000000081528351614d7381600d8401602088016145e7565b7f2f746f6b656e0000000000000000000000000000000000000000000000000000600d9290910191820152601301949350505050565b6000614db58285614c97565b7f2f6170692f70726f6a6563742f0000000000000000000000000000000000000081528351614deb81600d8401602088016145e7565b7f2f636f6e74726163740000000000000000000000000000000000000000000000600d9290910191820152601601949350505050565b600060208284031215614e3357600080fd5b8151613444816145a6565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b16815283601482015282603482015260008251614e878160548501602087016145e7565b9190910160540195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082614ebc57614ebc614e97565b500490565b600082614ed057614ed0614e97565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613d196080830184614613565b600060208284031215614f1957600080fd5b81516134448161455b56fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212206fdd4eec0b4de64bdd423162e5adfca1b40c6f82ad1735548597f8ba58b203d164736f6c63430008090033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742900000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000019b35d9758cad488ae8f5640afcd94e2147bf3a612ff23e81482e71c7dfeed1d110000000000000000000000005fb545c5a502f92970c2624f6b7615b643122d6d000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000d466f756e6465727320506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044743503200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5061626c6f204f6c69766572610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce54686520466f756e6465727320506173732070726f766964657320686f6c646572732077697468206d656d6265727368697020746f207468652047656e6574696320436861696e20506c6174666f726d2e20205061737365732077696c6c20756e6c6f636b2061636365737320746f207072652d73616c65732c2066726565206d696e74732c206675747572652047432070726f6772616d732c2061732077656c6c2061732061636365737320746f206c697665206576656e7473206174207468652047432067616c6c6572792e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d654168704648553941614759774a394d76547370436e4c504448674c4b5067787a7554424a69365a70614e77000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001768747470733a2f2f67656e65746963636861696e2e696f000000000000000000

Deployed Bytecode

0x6080604052600436106103ad5760003560e01c806371dedace116101e7578063c87b56dd1161010d578063e985e9c5116100a0578063f2fde38b1161006f578063f2fde38b14610aa1578063f3fef3a314610ac1578063f7ee706814610ae1578063f8f0b80e14610af757600080fd5b8063e985e9c514610a35578063ed329fa814610a55578063ef3c662414610a6b578063f14f58f114610a8157600080fd5b8063d547cfb7116100dc578063d547cfb7146109d5578063e403f1a7146109ea578063e527c6dd14610a0a578063e8a3d48514610a2057600080fd5b8063c87b56dd14610955578063c93ed70a14610975578063ce9246dd14610995578063cf35bdd0146109b557600080fd5b8063a0aead4d11610185578063a4f4f8af11610154578063a4f4f8af146108d1578063a52e4138146108e7578063b1fbe72d14610907578063b88d4fde1461093557600080fd5b8063a0aead4d1461085c578063a22cb46514610871578063a22e4faa14610891578063a3864397146108b157600080fd5b806380a1962f116101c157806380a1962f146107e95780638da5cb5b1461080957806390c3f38f1461082757806395d89b411461084757600080fd5b806371dedace1461079e5780637284e416146107b45780637eb7dcfc146107c957600080fd5b80633763e75b116102d75780634f6ccce71161026a578063638e19b411610239578063638e19b41461073457806367e4ac2c1461075457806370a0823114610769578063715018a61461078957600080fd5b80634f6ccce7146106b457806359b96197146106d45780635a19e315146106f45780636352211e1461071457600080fd5b806342966c68116102a657806342966c681461063f57806343bc16121461065f57806349505af3146106745780634dcc60af1461069457600080fd5b80633763e75b146105d15780633e02bc38146105e75780633fafa1271461060957806342842e0e1461061f57600080fd5b806318160ddd1161034f5780632d0335ab1161031e5780632d0335ab146105485780632f745c591461057e5780633408e4701461059e57806337410dfa146105b157600080fd5b806318160ddd146104df57806320379ee5146104fe57806323b872dd1461051357806324c12bf61461053357600080fd5b8063081812fc1161038b578063081812fc1461042b578063095ea7b3146104635780630c53c51c146104835780630f7e59701461049657600080fd5b806301ffc9a7146103b257806306facce9146103e757806306fdde0314610409575b600080fd5b3480156103be57600080fd5b506103d26103cd366004614589565b610b0c565b60405190151581526020015b60405180910390f35b3480156103f357600080fd5b506104076104023660046145bb565b610b68565b005b34801561041557600080fd5b5061041e610ceb565b6040516103de919061463f565b34801561043757600080fd5b5061044b610446366004614652565b610d7d565b6040516001600160a01b0390911681526020016103de565b34801561046f57600080fd5b5061040761047e3660046145bb565b610e23565b61041e61049136600461470e565b610f62565b3480156104a257600080fd5b5061041e6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b3480156104eb57600080fd5b506008545b6040519081526020016103de565b34801561050a57600080fd5b50600b546104f0565b34801561051f57600080fd5b5061040761052e36600461478c565b611168565b34801561053f57600080fd5b5061041e6111f6565b34801561055457600080fd5b506104f06105633660046147cd565b6001600160a01b03166000908152600c602052604090205490565b34801561058a57600080fd5b506104f06105993660046145bb565b611284565b3480156105aa57600080fd5b50466104f0565b3480156105bd57600080fd5b506104076105cc3660046147ea565b61132c565b3480156105dd57600080fd5b506104f0601b5481565b3480156105f357600080fd5b506105fc611427565b6040516103de919061484e565b34801561061557600080fd5b506104f0601e5481565b34801561062b57600080fd5b5061040761063a36600461478c565b611627565b34801561064b57600080fd5b5061040761065a366004614652565b611642565b34801561066b57600080fd5b5061041e6116b8565b34801561068057600080fd5b5061040761068f3660046147cd565b6116c5565b3480156106a057600080fd5b506104076106af3660046148f1565b611818565b3480156106c057600080fd5b506104f06106cf366004614652565b6118a8565b3480156106e057600080fd5b506104076106ef3660046147cd565b61194c565b34801561070057600080fd5b5061041e61070f366004614652565b611a83565b34801561072057600080fd5b5061044b61072f366004614652565b611b17565b34801561074057600080fd5b5061040761074f3660046147ea565b611ba2565b34801561076057600080fd5b506105fc611c7c565b34801561077557600080fd5b506104f06107843660046147cd565b611e76565b34801561079557600080fd5b50610407611f10565b3480156107aa57600080fd5b506104f060175481565b3480156107c057600080fd5b5061041e611fe0565b3480156107d557600080fd5b506104076107e43660046147cd565b611fed565b3480156107f557600080fd5b50610407610804366004614926565b612095565b34801561081557600080fd5b50600d546001600160a01b031661044b565b34801561083357600080fd5b506104076108423660046148f1565b6123c9565b34801561085357600080fd5b5061041e612454565b34801561086857600080fd5b506023546104f0565b34801561087d57600080fd5b5061040761088c3660046149a7565b612463565b34801561089d57600080fd5b506104076108ac3660046147cd565b612565565b3480156108bd57600080fd5b506104f06108cc366004614652565b61260d565b3480156108dd57600080fd5b506104f060195481565b3480156108f357600080fd5b506104076109023660046148f1565b612687565b34801561091357600080fd5b50610927610922366004614652565b612713565b6040516103de9291906149e5565b34801561094157600080fd5b50610407610950366004614a0a565b612857565b34801561096157600080fd5b5061041e610970366004614652565b6128ec565b34801561098157600080fd5b50610407610990366004614652565b612926565b3480156109a157600080fd5b506104076109b0366004614652565b612aa3565b3480156109c157600080fd5b506109276109d0366004614652565b612b21565b3480156109e157600080fd5b5061041e612b31565b3480156109f657600080fd5b50610407610a053660046148f1565b612b65565b348015610a1657600080fd5b506104f060155481565b348015610a2c57600080fd5b5061041e612bf1565b348015610a4157600080fd5b506103d2610a50366004614a76565b612c11565b348015610a6157600080fd5b506104f0601a5481565b348015610a7757600080fd5b506104f060165481565b348015610a8d57600080fd5b50610407610a9c366004614652565b612cfa565b348015610aad57600080fd5b50610407610abc3660046147cd565b612e24565b348015610acd57600080fd5b50610407610adc3660046145bb565b612f82565b348015610aed57600080fd5b506104f060185481565b348015610b0357600080fd5b506022546104f0565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610b625750610b6282613184565b92915050565b610b70613267565b6001600160a01b0316610b8b600d546001600160a01b031690565b6001600160a01b031614610be65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60185481610bf360085490565b610bfd9190614aba565b1115610c4b5760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b60175481601b54610c5c9190614aba565b1115610caa5760405162461bcd60e51b815260206004820152601560248201527f6578636565642067616c6c65727920737570706c7900000000000000000000006044820152606401610bdd565b80601b6000828254610cbc9190614aba565b90915550600090505b81811015610ce657610cd683613276565b610cdf81614ad2565b9050610cc5565b505050565b606060008054610cfa90614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2690614b0b565b8015610d735780601f10610d4857610100808354040283529160200191610d73565b820191906000526020600020905b815481529060010190602001808311610d5657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e075760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bdd565b506000908152600460205260409020546001600160a01b031690565b6000610e2e82611b17565b9050806001600160a01b0316836001600160a01b03161415610eb85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b806001600160a01b0316610eca613267565b6001600160a01b03161480610ee65750610ee681610a50613267565b610f585760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bdd565b610ce683836132b5565b60408051606081810183526001600160a01b0388166000818152600c602090815290859020548452830152918101869052610fa08782878787613330565b6110125760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360448201527f68000000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b6001600160a01b0387166000908152600c6020526040902054611036906001613438565b6001600160a01b0388166000908152600c60205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061108690899033908a90614b40565b60405180910390a1600080306001600160a01b0316888a6040516020016110ae929190614b6c565b60408051601f19818403018152908290526110c891614bb6565b6000604051808303816000865af19150503d8060008114611105576040519150601f19603f3d011682016040523d82523d6000602084013e61110a565b606091505b50915091508161115c5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610bdd565b98975050505050505050565b611179611173613267565b8261344b565b6111eb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bdd565b610ce683838361352b565b6021805461120390614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461122f90614b0b565b801561127c5780601f106112515761010080835404028352916020019161127c565b820191906000526020600020905b81548152906001019060200180831161125f57829003601f168201915b505050505081565b600061128f83611e76565b82106113035760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610bdd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b611334613267565b6001600160a01b031661134f600d546001600160a01b031690565b6001600160a01b0316146113a55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6040805180820190915282815260208082018390526023805460018101825560009190915282518051849360029093027fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42300192611406928492910190614411565b50602082810151805161141f9260018501920190614411565b505050505050565b60225460609060009067ffffffffffffffff8111156114485761144861466b565b60405190808252806020026020018201604052801561148d57816020015b60408051808201909152606080825260208201528152602001906001900390816114665790505b50905060005b602254811015611621576000602282815481106114b2576114b2614bd2565b90600052602060002090600202019050806040518060400160405290816000820180546114de90614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461150a90614b0b565b80156115575780601f1061152c57610100808354040283529160200191611557565b820191906000526020600020905b81548152906001019060200180831161153a57829003601f168201915b5050505050815260200160018201805461157090614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461159c90614b0b565b80156115e95780601f106115be576101008083540402835291602001916115e9565b820191906000526020600020905b8154815290600101906020018083116115cc57829003601f168201915b50505050508152505083838151811061160457611604614bd2565b6020026020010181905250508061161a90614ad2565b9050611493565b50919050565b610ce683838360405180602001604052806000815250612857565b601d546001600160a01b0316611656613267565b6001600160a01b0316146116ac5760405162461bcd60e51b815260206004820152601360248201527f63616c6c6572206e6f74206d69646e69676874000000000000000000000000006044820152606401610bdd565b6116b581613710565b50565b601f805461120390614b0b565b6116cd613267565b6001600160a01b03166116e8600d546001600160a01b031690565b6001600160a01b03161461173e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b60185460085461174f906001614aba565b111561179d5760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b601754601b546117ae906001614aba565b11156117fc5760405162461bcd60e51b815260206004820152601560248201527f6578636565642067616c6c65727920737570706c7900000000000000000000006044820152606401610bdd565b601b6000815461180b90614ad2565b909155506116b581613276565b611820613267565b6001600160a01b031661183b600d546001600160a01b031690565b6001600160a01b0316146118915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a4906024906020840190614411565b5050565b60006118b360085490565b82106119275760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610bdd565b6008828154811061193a5761193a614bd2565b90600052602060002001549050919050565b601c546001600160a01b0316611960613267565b6001600160a01b0316146119b65760405162461bcd60e51b815260206004820152601560248201527f63616c6c6572206e6f74207468652061727469737400000000000000000000006044820152606401610bdd565b6018546008546119c7906001614aba565b1115611a155760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b601654601a54611a26906001614aba565b1115611a745760405162461bcd60e51b815260206004820152601460248201527f6578636565642061727469737420737570706c790000000000000000000000006044820152606401610bdd565b601a6000815461180b90614ad2565b606060248054611a9290614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611abe90614b0b565b8015611b0b5780601f10611ae057610100808354040283529160200191611b0b565b820191906000526020600020905b815481529060010190602001808311611aee57829003601f168201915b50505050509050919050565b6000818152600260205260408120546001600160a01b031680610b625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610bdd565b611baa613267565b6001600160a01b0316611bc5600d546001600160a01b031690565b6001600160a01b031614611c1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6040805180820190915282815260208082018390526022805460018101825560009190915282518051849360029093027f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e5100192611406928492910190614411565b60235460609060009067ffffffffffffffff811115611c9d57611c9d61466b565b604051908082528060200260200182016040528015611ce257816020015b6040805180820190915260608082526020820152815260200190600190039081611cbb5790505b50905060005b60235481101561162157600060238281548110611d0757611d07614bd2565b9060005260206000209060020201905080604051806040016040529081600082018054611d3390614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5f90614b0b565b8015611dac5780601f10611d8157610100808354040283529160200191611dac565b820191906000526020600020905b815481529060010190602001808311611d8f57829003601f168201915b50505050508152602001600182018054611dc590614b0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611df190614b0b565b8015611e3e5780601f10611e1357610100808354040283529160200191611e3e565b820191906000526020600020905b815481529060010190602001808311611e2157829003601f168201915b505050505081525050838381518110611e5957611e59614bd2565b60200260200101819052505080611e6f90614ad2565b9050611ce8565b60006001600160a01b038216611ef45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610bdd565b506001600160a01b031660009081526003602052604090205490565b611f18613267565b6001600160a01b0316611f33600d546001600160a01b031690565b6001600160a01b031614611f895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b600d546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600d805473ffffffffffffffffffffffffffffffffffffffff19169055565b6020805461120390614b0b565b611ff5613267565b6001600160a01b0316612010600d546001600160a01b031690565b6001600160a01b0316146120665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b601d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600f816040516120a59190614bb6565b9081526040519081900360200190205460ff16156121055760405162461bcd60e51b815260206004820152600d60248201527f696e76616c6964206e6f6e6365000000000000000000000000000000000000006044820152606401610bdd565b601854600854106121585760405162461bcd60e51b815260206004820152601160248201527f616c6c20746f6b656e73206d696e7465640000000000000000000000000000006044820152606401610bdd565b6018548261216560085490565b61216f9190614aba565b11156121bd5760405162461bcd60e51b815260206004820152601360248201527f65786365656420746f6b656e20737570706c79000000000000000000000000006044820152606401610bdd565b601554826019546121ce9190614aba565b111561221c5760405162461bcd60e51b815260206004820152601460248201527f657863656564207075626c696320737570706c790000000000000000000000006044820152606401610bdd565b336000908152601060205260409020548390612239908490614aba565b11156122875760405162461bcd60e51b815260206004820152601160248201527f65786365656420616c6c6f636174696f6e0000000000000000000000000000006044820152606401610bdd565b61229185856137c4565b6122dd5760405162461bcd60e51b815260206004820152600e60248201527f696e76616c6964207369676e65720000000000000000000000000000000000006044820152606401610bdd565b6122ea85338585856137ee565b6123365760405162461bcd60e51b815260206004820152600c60248201527f696e76616c6964206861736800000000000000000000000000000000000000006044820152606401610bdd565b81601960008282546123489190614aba565b9091555050336000908152601060205260408120805484929061236c908490614aba565b925050819055506001600f826040516123859190614bb6565b908152604051908190036020019020805491151560ff1990921691909117905560005b8281101561141f576123b933613276565b6123c281614ad2565b90506123a8565b6123d1613267565b6001600160a01b03166123ec600d546001600160a01b031690565b6001600160a01b0316146124425760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a49060209081840190614411565b606060018054610cfa90614b0b565b61246b613267565b6001600160a01b0316826001600160a01b031614156124cc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bdd565b80600560006124d9613267565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561251d613267565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612559911515815260200190565b60405180910390a35050565b61256d613267565b6001600160a01b0316612588600d546001600160a01b031690565b6001600160a01b0316146125de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b601c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008181526002602052604081205482906001600160a01b03166126735760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e000000000000000000000000000000000000006044820152606401610bdd565b50506000908152600e602052604090205490565b61268f613267565b6001600160a01b03166126aa600d546001600160a01b031690565b6001600160a01b0316146127005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a490601f906020840190614411565b6022818154811061272357600080fd5b906000526020600020906002020160009150905080600001805461274690614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461277290614b0b565b80156127bf5780601f10612794576101008083540402835291602001916127bf565b820191906000526020600020905b8154815290600101906020018083116127a257829003601f168201915b5050505050908060010180546127d490614b0b565b80601f016020809104026020016040519081016040528092919081815260200182805461280090614b0b565b801561284d5780601f106128225761010080835404028352916020019161284d565b820191906000526020600020905b81548152906001019060200180831161283057829003601f168201915b5050505050905082565b612868612862613267565b8361344b565b6128da5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610bdd565b6128e684848484613873565b50505050565b60606128f6612b31565b6128ff836138fc565b604051602001612910929190614be8565b6040516020818303038152906040529050919050565b61292e613267565b6001600160a01b0316612949600d546001600160a01b031690565b6001600160a01b03161461299f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b60225481106129ad57600080fd5b602280546129bd90600190614c6a565b815481106129cd576129cd614bd2565b9060005260206000209060020201602282815481106129ee576129ee614bd2565b90600052602060002090600202016000820181600001908054612a1090614b0b565b612a1b929190614495565b506001820181600101908054612a3090614b0b565b612a3b929190614495565b509050506022805480612a5057612a50614c81565b6000828152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90920191600283020190612a8e8282614510565b612a9c600183016000614510565b5050905550565b612aab613267565b6001600160a01b0316612ac6600d546001600160a01b031690565b6001600160a01b031614612b1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b601e55565b6023818154811061272357600080fd5b60606025612b40601e546138fc565b604051602001612b51929190614d31565b604051602081830303815290604052905090565b612b6d613267565b6001600160a01b0316612b88600d546001600160a01b031690565b6001600160a01b031614612bde5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b80516118a4906021906020840190614411565b60606025612c00601e546138fc565b604051602001612b51929190614da9565b6011546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b158015612c7757600080fd5b505afa158015612c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612caf9190614e21565b6001600160a01b03161415612cc8576001915050610b62565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b612d02613267565b6001600160a01b0316612d1d600d546001600160a01b031690565b6001600160a01b031614612d735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6023548110612d8157600080fd5b60238054612d9190600190614c6a565b81548110612da157612da1614bd2565b906000526020600020906002020160238281548110612dc257612dc2614bd2565b90600052602060002090600202016000820181600001908054612de490614b0b565b612def929190614495565b506001820181600101908054612e0490614b0b565b612e0f929190614495565b509050506023805480612a5057612a50614c81565b612e2c613267565b6001600160a01b0316612e47600d546001600160a01b031690565b6001600160a01b031614612e9d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6001600160a01b038116612f195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bdd565b600d546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b612f8a613267565b6001600160a01b0316612fa5600d546001600160a01b031690565b6001600160a01b031614612ffb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdd565b6000811161304b5760405162461bcd60e51b815260206004820152600c60248201527f616d6f756e7420656d70747900000000000000000000000000000000000000006044820152606401610bdd565b4781111561309b5760405162461bcd60e51b815260206004820152601660248201527f616d6f756e7420657863656564732062616c616e6365000000000000000000006044820152606401610bdd565b6001600160a01b0382166130f15760405162461bcd60e51b815260206004820152600c60248201527f61646472657373206e756c6c00000000000000000000000000000000000000006044820152606401610bdd565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610ce6573d6000803e3d6000fd5b60003330141561317e57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506131819050565b50335b90565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061321757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b6257507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b62565b6000613271613127565b905090565b600061328160085490565b61328c906001614aba565b90506132988282613a2e565b6132a28282613a48565b6000918252600e60205260409091205550565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906132f782611b17565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166133ae5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201527f49474e45520000000000000000000000000000000000000000000000000000006064820152608401610bdd565b60016133c16133bc87613ad4565b613b51565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa15801561340f573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006134448284614aba565b9392505050565b6000818152600260205260408120546001600160a01b03166134d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610bdd565b60006134e083611b17565b9050806001600160a01b0316846001600160a01b0316148061351b5750836001600160a01b031661351084610d7d565b6001600160a01b0316145b80612cf25750612cf28185612c11565b826001600160a01b031661353e82611b17565b6001600160a01b0316146135ba5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610bdd565b6001600160a01b0382166136355760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b613640838383613b9c565b61364b6000826132b5565b6001600160a01b0383166000908152600360205260408120805460019290613674908490614c6a565b90915550506001600160a01b03821660009081526003602052604081208054600192906136a2908490614aba565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061371b82611b17565b905061372981600084613b9c565b6137346000836132b5565b6001600160a01b038116600090815260036020526040812080546001929061375d908490614c6a565b9091555050600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6014546000906001600160a01b03166137dd8484613c54565b6001600160a01b0316149392505050565b600085858585856040516020016138089493929190614e3e565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c016040516020818303038152906040528051906020012014905095945050505050565b61387e84848461352b565b61388a84848484613d23565b6128e65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bdd565b60608161393c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613966578061395081614ad2565b915061395f9050600a83614ead565b9150613940565b60008167ffffffffffffffff8111156139815761398161466b565b6040519080825280601f01601f1916602001820160405280156139ab576020820181803683370190505b5090505b8415612cf2576139c0600183614c6a565b91506139cd600a86614ec1565b6139d8906030614aba565b60f81b8183815181106139ed576139ed614bd2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613a27600a86614ead565b94506139af565b6118a4828260405180602001604052806000815250613ebe565b600080613a56600143614c6a565b60135460408051924060208401527fffffffffffffffffffffffffffffffffffffffff00000000000000000000000033606090811b82169285019290925260548401929092526074830186905286901b16609482015260a80160408051808303601f1901815291905280516020909101206013819055949350505050565b6000604051806080016040528060438152602001614f256043913980516020918201208351848301516040808701518051908601209051613b34950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b6000613b5c600b5490565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101839052606201613b34565b6001600160a01b038316613bf757613bf281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613c1a565b816001600160a01b0316836001600160a01b031614613c1a57613c1a8382613f47565b6001600160a01b038216613c3157610ce681613fe4565b826001600160a01b0316826001600160a01b031614610ce657610ce68282614093565b600080600080845160411415613c7e5750505060208201516040830151606084015160001a613d0d565b845160401415613cc55750505060408201516020830151907f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169060ff1c601b01613d0d565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bdd565b613d19868285856140d7565b9695505050505050565b60006001600160a01b0384163b15613eb357836001600160a01b031663150b7a02613d4c613267565b8786866040518563ffffffff1660e01b8152600401613d6e9493929190614ed5565b602060405180830381600087803b158015613d8857600080fd5b505af1925050508015613db8575060408051601f3d908101601f19168201909252613db591810190614f07565b60015b613e68573d808015613de6576040519150601f19603f3d011682016040523d82523d6000602084013e613deb565b606091505b508051613e605760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bdd565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612cf2565b506001949350505050565b613ec883836142b6565b613ed56000848484613d23565b610ce65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bdd565b60006001613f5484611e76565b613f5e9190614c6a565b600083815260076020526040902054909150808214613fb1576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613ff690600190614c6a565b6000838152600960205260408120546008805493945090928490811061401e5761401e614bd2565b90600052602060002001549050806008838154811061403f5761403f614bd2565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061407757614077614c81565b6001900381819060005260206000200160009055905550505050565b600061409e83611e76565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561416f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b8360ff16601b148061418457508360ff16601c145b6141f65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610bdd565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561424a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166142ad5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bdd565b95945050505050565b6001600160a01b03821661430c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bdd565b6000818152600260205260409020546001600160a01b0316156143715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bdd565b61437d60008383613b9c565b6001600160a01b03821660009081526003602052604081208054600192906143a6908490614aba565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461441d90614b0b565b90600052602060002090601f01602090048101928261443f5760008555614485565b82601f1061445857805160ff1916838001178555614485565b82800160010185558215614485579182015b8281111561448557825182559160200191906001019061446a565b50614491929150614546565b5090565b8280546144a190614b0b565b90600052602060002090601f0160209004810192826144c35760008555614485565b82601f106144d45780548555614485565b8280016001018555821561448557600052602060002091601f016020900482015b828111156144855782548255916001019190600101906144f5565b50805461451c90614b0b565b6000825580601f1061452c575050565b601f0160209004906000526020600020908101906116b591905b5b808211156144915760008155600101614547565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116b557600080fd5b60006020828403121561459b57600080fd5b81356134448161455b565b6001600160a01b03811681146116b557600080fd5b600080604083850312156145ce57600080fd5b82356145d9816145a6565b946020939093013593505050565b60005b838110156146025781810151838201526020016145ea565b838111156128e65750506000910152565b6000815180845261462b8160208601602086016145e7565b601f01601f19169290920160200192915050565b6020815260006134446020830184614613565b60006020828403121561466457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261469257600080fd5b813567ffffffffffffffff808211156146ad576146ad61466b565b604051601f8301601f19908116603f011681019082821181831017156146d5576146d561466b565b816040528381528660208588010111156146ee57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a0868803121561472657600080fd5b8535614731816145a6565b9450602086013567ffffffffffffffff81111561474d57600080fd5b61475988828901614681565b9450506040860135925060608601359150608086013560ff8116811461477e57600080fd5b809150509295509295909350565b6000806000606084860312156147a157600080fd5b83356147ac816145a6565b925060208401356147bc816145a6565b929592945050506040919091013590565b6000602082840312156147df57600080fd5b8135613444816145a6565b600080604083850312156147fd57600080fd5b823567ffffffffffffffff8082111561481557600080fd5b61482186838701614681565b9350602085013591508082111561483757600080fd5b5061484485828601614681565b9150509250929050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b838110156148e3577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0898403018552815180518785526148b788860182614613565b91890151858303868b01529190506148cf8183614613565b968901969450505090860190600101614875565b509098975050505050505050565b60006020828403121561490357600080fd5b813567ffffffffffffffff81111561491a57600080fd5b612cf284828501614681565b600080600080600060a0868803121561493e57600080fd5b85359450602086013567ffffffffffffffff8082111561495d57600080fd5b61496989838a01614681565b95506040880135945060608801359350608088013591508082111561498d57600080fd5b5061499a88828901614681565b9150509295509295909350565b600080604083850312156149ba57600080fd5b82356149c5816145a6565b9150602083013580151581146149da57600080fd5b809150509250929050565b6040815260006149f86040830185614613565b82810360208401526142ad8185614613565b60008060008060808587031215614a2057600080fd5b8435614a2b816145a6565b93506020850135614a3b816145a6565b925060408501359150606085013567ffffffffffffffff811115614a5e57600080fd5b614a6a87828801614681565b91505092959194509250565b60008060408385031215614a8957600080fd5b8235614a94816145a6565b915060208301356149da816145a6565b634e487b7160e01b600052601160045260246000fd5b60008219821115614acd57614acd614aa4565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b0457614b04614aa4565b5060010190565b600181811c90821680614b1f57607f821691505b6020821081141561162157634e487b7160e01b600052602260045260246000fd5b60006001600160a01b038086168352808516602084015250606060408301526142ad6060830184614613565b60008351614b7e8184602088016145e7565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b60008251614bc88184602087016145e7565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b60008351614bfa8184602088016145e7565b7f2f000000000000000000000000000000000000000000000000000000000000009083019081528351614c348160018401602088016145e7565b7f2f6d65746100000000000000000000000000000000000000000000000000000060019290910191820152600601949350505050565b600082821015614c7c57614c7c614aa4565b500390565b634e487b7160e01b600052603160045260246000fd5b8054600090600181811c9080831680614cb157607f831692505b6020808410821415614cd357634e487b7160e01b600052602260045260246000fd5b818015614ce75760018114614cf857614d25565b60ff19861689528489019650614d25565b60008881526020902060005b86811015614d1d5781548b820152908501908301614d04565b505084890196505b50505050505092915050565b6000614d3d8285614c97565b7f2f6170692f70726f6a6563742f0000000000000000000000000000000000000081528351614d7381600d8401602088016145e7565b7f2f746f6b656e0000000000000000000000000000000000000000000000000000600d9290910191820152601301949350505050565b6000614db58285614c97565b7f2f6170692f70726f6a6563742f0000000000000000000000000000000000000081528351614deb81600d8401602088016145e7565b7f2f636f6e74726163740000000000000000000000000000000000000000000000600d9290910191820152601601949350505050565b600060208284031215614e3357600080fd5b8151613444816145a6565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b16815283601482015282603482015260008251614e878160548501602087016145e7565b9190910160540195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082614ebc57614ebc614e97565b500490565b600082614ed057614ed0614e97565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613d196080830184614613565b600060208284031215614f1957600080fd5b81516134448161455b56fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212206fdd4eec0b4de64bdd423162e5adfca1b40c6f82ad1735548597f8ba58b203d164736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000019b35d9758cad488ae8f5640afcd94e2147bf3a612ff23e81482e71c7dfeed1d110000000000000000000000005fb545c5a502f92970c2624f6b7615b643122d6d000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000000d466f756e6465727320506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044743503200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5061626c6f204f6c69766572610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ce54686520466f756e6465727320506173732070726f766964657320686f6c646572732077697468206d656d6265727368697020746f207468652047656e6574696320436861696e20506c6174666f726d2e20205061737365732077696c6c20756e6c6f636b2061636365737320746f207072652d73616c65732c2066726565206d696e74732c206675747572652047432070726f6772616d732c2061732077656c6c2061732061636365737320746f206c697665206576656e7473206174207468652047432067616c6c6572792e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d654168704648553941614759774a394d76547370436e4c504448674c4b5067787a7554424a69365a70614e77000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001768747470733a2f2f67656e65746963636861696e2e696f000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Founders Pass
Arg [1] : symbol (string): GCP2
Arg [2] : projectId (uint256): 2
Arg [3] : artist (string): Pablo Olivera
Arg [4] : description (string): The Founders Pass provides holders with membership to the Genetic Chain Platform. Passes will unlock access to pre-sales, free mints, future GC programs, as well as access to live events at the GC gallery.
Arg [5] : tokenIpfsHash (string): QmeAhpFHU9AaGYwJ9MvTspCnLPDHgLKPgxzuTBJi6ZpaNw
Arg [6] : baseUri (string): https://geneticchain.io
Arg [7] : tokenMax (uint256[3]): 2000,5,25
Arg [8] : seed (uint256): 81129361230963259643755383896831286288484576770928566598440838415002985372945
Arg [9] : signer (address): 0x5fb545C5A502F92970c2624F6B7615b643122D6d
Arg [10] : proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
32 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003c0
Arg [7] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [10] : b35d9758cad488ae8f5640afcd94e2147bf3a612ff23e81482e71c7dfeed1d11
Arg [11] : 0000000000000000000000005fb545c5a502f92970c2624f6b7615b643122d6d
Arg [12] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [14] : 466f756e64657273205061737300000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [16] : 4743503200000000000000000000000000000000000000000000000000000000
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [18] : 5061626c6f204f6c697665726100000000000000000000000000000000000000
Arg [19] : 00000000000000000000000000000000000000000000000000000000000000ce
Arg [20] : 54686520466f756e6465727320506173732070726f766964657320686f6c6465
Arg [21] : 72732077697468206d656d6265727368697020746f207468652047656e657469
Arg [22] : 6320436861696e20506c6174666f726d2e20205061737365732077696c6c2075
Arg [23] : 6e6c6f636b2061636365737320746f207072652d73616c65732c206672656520
Arg [24] : 6d696e74732c206675747572652047432070726f6772616d732c206173207765
Arg [25] : 6c6c2061732061636365737320746f206c697665206576656e74732061742074
Arg [26] : 68652047432067616c6c6572792e000000000000000000000000000000000000
Arg [27] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [28] : 516d654168704648553941614759774a394d76547370436e4c504448674c4b50
Arg [29] : 67787a7554424a69365a70614e77000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [31] : 68747470733a2f2f67656e65746963636861696e2e696f000000000000000000


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.