ETH Price: $3,311.43 (-3.16%)
Gas: 15 Gwei

Token

JPEG Cards (JPEGC)
 

Overview

Max Total Supply

1,019 JPEGC

Holders

438

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
banteg.eth
Balance
1 JPEGC
0x0035fc5208ef989c28d47e552e92b0c507d2b318
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Welcome to the home of JPEG Cards on OpenSea. Discover the best items in this collection.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
JPEGC

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : JPEGC.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/// @title JPEG NFT contract
/// @notice 1019 NFTs are available.
/// 50 NFTs are reserved for team members, 19 are honoraries and the rest (950) are for sale.
/// The sale will start at `whitelistStartTimestamp` and will only allow whitelisted users to mint.
/// At `publicStartTimestamp` the sale will open up to the public (if any NFTs are left).
/// @dev The whitelist is implemented using a merkle tree.
contract JPEGC is ERC721Enumerable, Ownable {
    /// @notice Max number of NFTs that can be minted per wallet.
    uint256 public constant MAX_PER_WALLET = 2;
    /// @notice Index of the last NFT reserved for team members (0 - 49).
    uint256 public constant HIGHEST_TEAM = 49;
    /// @notice Index of the last NFT for sale (50 - 999).
    uint256 public constant HIGHEST_PUBLIC = 999;
    /// @notice Max number of mintable NFTs and index of the last honorary NFT (1000 - 1018).
    uint256 public constant MAX_SUPPLY = 1018;

    /// @notice Price of each NFT for whitelisted users (+ gas).
    uint256 public constant MINT_PRICE = .3 ether;

    /// @dev Root of the merkle tree used for the whitelist.
    bytes32 public immutable merkleRoot;

    /// @notice Whitelist sale start timestamp.
    uint256 public whitelistStartTimestamp;
    /// @notice Public sale start timestamp.
    uint256 public publicStartTimestamp;

    /// @dev Index of the next NFT reserved for team members.
    uint256 internal teamPointer = 0;
    /// @dev Index of the next NFT for sale.
    uint256 internal publicPointer = 50;
    /// @dev Index of the next honorary NFT.
    uint256 internal honoraryPointer = 1000;

    /// @dev Base uri of the NFT metadata
    string internal baseUri;

    /// @notice Number of NFTs minted by each address.
    mapping(address => uint256) public mintedAmount;

    constructor(bytes32 root) ERC721("JPEG Cards", "JPEGC") {
        merkleRoot = root;
    }

    /// @notice Used by whitelisted users to mint a maximum of 2 NFTs per address.
    /// NFTs minted using this function range from #50 to #999.
    /// Requires a merkle proof.
    /// @param merkleProof The merkle proof to verify.
    /// @param amount Number of NFTs to mint (max 2).
    function mintWhitelist(bytes32[] calldata merkleProof, uint256 amount)
        external
        payable
    {
        require(isWhitelistOpen(), "SALE_NOT_OPEN");
        
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(merkleProof, merkleRoot, leaf),
            "INVALID_PROOF"
        );

        _mintInternal(msg.sender, amount);
    }
    
    /// @notice Allows the public to mint a maximum of 2 NFTs per address.
    /// NFTs minted using this function range from #50 to #999.
    /// @param amount Number of NFTs to mint (max 2).
    function mint(uint256 amount) external payable {
        require(isPublicOpen(), "SALE_NOT_OPEN");

        _mintInternal(msg.sender, amount);
    }

    /// @notice Used by the owner (DAO) to mint NFTs reserved for team members.
    /// NFTs minted using this function range from #0 to #49.
    /// @param amount Number of NFTs to mint.
    function mintTeam(uint256 amount) external onlyOwner {
        require(amount != 0, "INVALID_AMOUNT");
        uint256 currentPointer = teamPointer;
        uint256 newPointer = currentPointer + amount;
        require(newPointer - 1 <= HIGHEST_TEAM, "TEAM_LIMIT_EXCEEDED");

        teamPointer = newPointer;

        for (uint256 i = 0; i < amount; i++) {
            // No _safeMint because the owner is a gnosis safe
            _mint(msg.sender, currentPointer + i);
        }
    }

    /// @notice Used by the owner (DAO) to mint honorary NFTs.
    /// NFTs minted using this function range from #1000 to #1018.
    /// @param amount Number of NFTs to mint.
    function mintHonorary(uint256 amount) external onlyOwner {
        require(amount != 0, "INVALID_AMOUNT");
        uint256 currentPointer = honoraryPointer;
        uint256 newPointer = currentPointer + amount;
        require(newPointer - 1 <= MAX_SUPPLY, "HONORARY_LIMIT_EXCEEDED");

        honoraryPointer = newPointer;

        for (uint256 i = 0; i < amount; i++) {
            // No _safeMint because the owner is a gnosis safe
            _mint(msg.sender, currentPointer + i);
        }
    }

    /// @dev Function called by `mintWhitelist` and `mint`.
    /// Performs common checks and mints `amount` of NFTs.
    /// @param account The account to mint the NFTs to.
    /// @param amount The amount of NFTs to mint. 
    function _mintInternal(address account, uint256 amount) internal {
        require(amount != 0, "INVALID_AMOUNT");
        uint256 mintedWallet = mintedAmount[account] + amount;
        require(mintedWallet <= MAX_PER_WALLET, "WALLET_LIMIT_EXCEEDED");
        uint256 currentPointer = publicPointer;
        uint256 newPointer = currentPointer + amount;
        require(newPointer - 1 <= HIGHEST_PUBLIC, "SALE_LIMIT_EXCEEDED");
        require(amount * MINT_PRICE == msg.value, "WRONG_ETH_VALUE");

        publicPointer = newPointer;
        mintedAmount[account] = mintedWallet;

        for (uint256 i = 0; i < amount; i++) {
            _safeMint(account, currentPointer + i);
        }
    }

    /// @return `true` if the whitelist sale is open, otherwise `false`.
    function isWhitelistOpen() public view returns (bool) {
        return
            whitelistStartTimestamp > 0 &&
            block.timestamp >= whitelistStartTimestamp &&
            publicPointer <= HIGHEST_PUBLIC;
    }

    /// @return `true` if the public sale is open, otherwise `false`.
    function isPublicOpen() public view returns (bool) {
        return
            publicStartTimestamp > 0 &&
            block.timestamp >= publicStartTimestamp &&
            publicPointer <= HIGHEST_PUBLIC;
    }

    /// @notice Allows the owner to set the sale timestamps (whitelist and public).
    /// @param whitelistTimestamp The start of the whitelist sale (needs to be greater than `block.timestamp`).
    /// @param publicTimestamp The start of the public sale (needs to be greater than `whitelistTimestamp`).
    function setSaleTimestamps(
        uint256 whitelistTimestamp,
        uint256 publicTimestamp
    ) external onlyOwner {
        require(
            publicTimestamp > whitelistTimestamp &&
                whitelistTimestamp > block.timestamp,
            "INVALID_TIMESTAMPS"
        );

        whitelistStartTimestamp = whitelistTimestamp;
        publicStartTimestamp = publicTimestamp;
    }

    /// @notice Used by the owner (DAO) to withdraw the eth raised during the sale.
    function withdrawETH() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    /// @notice Used by the owner (DAO) to reveal the NFTs.
    /// NOTE: This allows the owner to change the metadata this contract is pointing to,
    /// ownership of this contract should be renounced after reveal.
    function setBaseURI(string memory uri) external onlyOwner {
        baseUri = uri;
    }

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

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

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 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _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);

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 6 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"HIGHEST_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HIGHEST_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintHonorary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"publicStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistTimestamp","type":"uint256"},{"internalType":"uint256","name":"publicTimestamp","type":"uint256"}],"name":"setSaleTimestamps","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":"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":[],"name":"whitelistStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526000600d556032600e556103e8600f553480156200002157600080fd5b5060405162004cf238038062004cf28339818101604052810190620000479190620002ab565b6040518060400160405280600a81526020017f4a504547204361726473000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4a504547430000000000000000000000000000000000000000000000000000008152508160009080519060200190620000cb929190620001e4565b508060019080519060200190620000e4929190620001e4565b50505062000107620000fb6200011660201b60201c565b6200011e60201b60201c565b80608081815250505062000360565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f290620002e1565b90600052602060002090601f01602090048101928262000216576000855562000262565b82601f106200023157805160ff191683800117855562000262565b8280016001018555821562000262579182015b828111156200026157825182559160200191906001019062000244565b5b50905062000271919062000275565b5090565b5b808211156200029057600081600090555060010162000276565b5090565b600081519050620002a58162000346565b92915050565b600060208284031215620002be57600080fd5b6000620002ce8482850162000294565b91505092915050565b6000819050919050565b60006002820490506001821680620002fa57607f821691505b6020821081141562000311576200031062000317565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200035181620002d7565b81146200035d57600080fd5b50565b60805161496f6200038360003960008181610be501526114e0015261496f6000f3fe60806040526004361061021a5760003560e01c8063715018a611610123578063a22cb465116100ab578063dcbd5bbb1161006f578063dcbd5bbb146107bb578063e086e5ec146107e4578063e985e9c5146107fb578063f2fde38b14610838578063fbbf8cc3146108615761021a565b8063a22cb465146106e5578063a6d612f91461070e578063b88d4fde1461072a578063c002d23d14610753578063c87b56dd1461077e5761021a565b806394f4504d116100f257806394f4504d1461061d57806395d89b41146106485780639c14a884146106735780639ecfab9b1461069e578063a0712d68146106c95761021a565b8063715018a6146105875780637307b3d91461059e5780638da5cb5b146105c9578063934190da146105f45761021a565b80632f745c59116101a657806342842e0e1161017557806342842e0e1461047e5780634f6ccce7146104a757806355f804b3146104e45780636352211e1461050d57806370a082311461054a5761021a565b80632f745c59146103c257806332cb6b0c146103ff578063342f48aa1461042a5780633e65408a146104535761021a565b80630f2cdd6c116101ed5780630f2cdd6c146102ed57806311c67efc1461031857806318160ddd1461034357806323b872dd1461036e5780632eb4a7ab146103975761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906133e4565b61089e565b6040516102539190613a29565b60405180910390f35b34801561026857600080fd5b50610271610918565b60405161027e9190613a5f565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613477565b6109aa565b6040516102bb91906139c2565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613350565b610a2f565b005b3480156102f957600080fd5b50610302610b47565b60405161030f9190613de1565b60405180910390f35b34801561032457600080fd5b5061032d610b4c565b60405161033a9190613a29565b60405180910390f35b34801561034f57600080fd5b50610358610b76565b6040516103659190613de1565b60405180910390f35b34801561037a57600080fd5b506103956004803603810190610390919061324a565b610b83565b005b3480156103a357600080fd5b506103ac610be3565b6040516103b99190613a44565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190613350565b610c07565b6040516103f69190613de1565b60405180910390f35b34801561040b57600080fd5b50610414610cac565b6040516104219190613de1565b60405180910390f35b34801561043657600080fd5b50610451600480360381019061044c9190613477565b610cb2565b005b34801561045f57600080fd5b50610468610e19565b6040516104759190613de1565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a0919061324a565b610e1f565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613477565b610e3f565b6040516104db9190613de1565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190613436565b610ed6565b005b34801561051957600080fd5b50610534600480360381019061052f9190613477565b610f6c565b60405161054191906139c2565b60405180910390f35b34801561055657600080fd5b50610571600480360381019061056c91906131e5565b61101e565b60405161057e9190613de1565b60405180910390f35b34801561059357600080fd5b5061059c6110d6565b005b3480156105aa57600080fd5b506105b361115e565b6040516105c09190613de1565b60405180910390f35b3480156105d557600080fd5b506105de611164565b6040516105eb91906139c2565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613477565b61118e565b005b34801561062957600080fd5b506106326112f6565b60405161063f9190613a29565b60405180910390f35b34801561065457600080fd5b5061065d611320565b60405161066a9190613a5f565b60405180910390f35b34801561067f57600080fd5b506106886113b2565b6040516106959190613de1565b60405180910390f35b3480156106aa57600080fd5b506106b36113b7565b6040516106c09190613de1565b60405180910390f35b6106e360048036038101906106de9190613477565b6113bd565b005b3480156106f157600080fd5b5061070c60048036038101906107079190613314565b611411565b005b6107286004803603810190610723919061338c565b611427565b005b34801561073657600080fd5b50610751600480360381019061074c9190613299565b611554565b005b34801561075f57600080fd5b506107686115b6565b6040516107759190613de1565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190613477565b6115c2565b6040516107b29190613a5f565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd91906134a0565b611669565b005b3480156107f057600080fd5b506107f9611744565b005b34801561080757600080fd5b50610822600480360381019061081d919061320e565b611809565b60405161082f9190613a29565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906131e5565b61189d565b005b34801561086d57600080fd5b50610888600480360381019061088391906131e5565b611995565b6040516108959190613de1565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109115750610910826119ad565b5b9050919050565b6060600080546109279061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546109539061409b565b80156109a05780601f10610975576101008083540402835291602001916109a0565b820191906000526020600020905b81548152906001019060200180831161098357829003601f168201915b5050505050905090565b60006109b582611a8f565b6109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109eb90613ca1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3a82610f6c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa290613d21565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aca611afb565b73ffffffffffffffffffffffffffffffffffffffff161480610af95750610af881610af3611afb565b611809565b5b610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f90613c21565b60405180910390fd5b610b428383611b03565b505050565b600281565b600080600c54118015610b615750600c544210155b8015610b7157506103e7600e5411155b905090565b6000600880549050905090565b610b94610b8e611afb565b82611bbc565b610bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bca90613d41565b60405180910390fd5b610bde838383611c9a565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610c128361101e565b8210610c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4a90613aa1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103fa81565b610cba611afb565b73ffffffffffffffffffffffffffffffffffffffff16610cd8611164565b73ffffffffffffffffffffffffffffffffffffffff1614610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590613cc1565b60405180910390fd5b6000811415610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990613dc1565b60405180910390fd5b6000600d54905060008282610d879190613ec6565b90506031600182610d989190613fa7565b1115610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090613da1565b60405180910390fd5b80600d8190555060005b83811015610e1357610e00338285610dfb9190613ec6565b611f01565b8080610e0b906140fe565b915050610de3565b50505050565b600c5481565b610e3a83838360405180602001604052806000815250611554565b505050565b6000610e49610b76565b8210610e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8190613d81565b60405180910390fd5b60088281548110610ec4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ede611afb565b73ffffffffffffffffffffffffffffffffffffffff16610efc611164565b73ffffffffffffffffffffffffffffffffffffffff1614610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4990613cc1565b60405180910390fd5b8060109080519060200190610f68929190612fbf565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90613c61565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690613c41565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110de611afb565b73ffffffffffffffffffffffffffffffffffffffff166110fc611164565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990613cc1565b60405180910390fd5b61115c60006120db565b565b6103e781565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611196611afb565b73ffffffffffffffffffffffffffffffffffffffff166111b4611164565b73ffffffffffffffffffffffffffffffffffffffff161461120a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120190613cc1565b60405180910390fd5b600081141561124e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124590613dc1565b60405180910390fd5b6000600f549050600082826112639190613ec6565b90506103fa6001826112759190613fa7565b11156112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad90613b61565b60405180910390fd5b80600f8190555060005b838110156112f0576112dd3382856112d89190613ec6565b611f01565b80806112e8906140fe565b9150506112c0565b50505050565b600080600b5411801561130b5750600b544210155b801561131b57506103e7600e5411155b905090565b60606001805461132f9061409b565b80601f016020809104026020016040519081016040528092919081815260200182805461135b9061409b565b80156113a85780601f1061137d576101008083540402835291602001916113a8565b820191906000526020600020905b81548152906001019060200180831161138b57829003601f168201915b5050505050905090565b603181565b600b5481565b6113c5610b4c565b611404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fb90613a81565b60405180910390fd5b61140e33826121a1565b50565b61142361141c611afb565b83836123bb565b5050565b61142f6112f6565b61146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146590613a81565b60405180910390fd5b6000336040516020016114819190613983565b604051602081830303815290604052805190602001209050611505848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f000000000000000000000000000000000000000000000000000000000000000083612528565b611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90613b81565b60405180910390fd5b61154e33836121a1565b50505050565b61156561155f611afb565b83611bbc565b6115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b90613d41565b60405180910390fd5b6115b08484848461253f565b50505050565b670429d069189e000081565b60606115cd82611a8f565b61160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390613ce1565b60405180910390fd5b600061161661259b565b905060008151116116365760405180602001604052806000815250611661565b806116408461262d565b60405160200161165192919061399e565b6040516020818303038152906040525b915050919050565b611671611afb565b73ffffffffffffffffffffffffffffffffffffffff1661168f611164565b73ffffffffffffffffffffffffffffffffffffffff16146116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90613cc1565b60405180910390fd5b81811180156116f357504282115b611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990613d61565b60405180910390fd5b81600b8190555080600c819055505050565b61174c611afb565b73ffffffffffffffffffffffffffffffffffffffff1661176a611164565b73ffffffffffffffffffffffffffffffffffffffff16146117c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b790613cc1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611806573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118a5611afb565b73ffffffffffffffffffffffffffffffffffffffff166118c3611164565b73ffffffffffffffffffffffffffffffffffffffff1614611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090613cc1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198090613ae1565b60405180910390fd5b611992816120db565b50565b60116020528060005260406000206000915090505481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a7857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a885750611a87826127da565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b7683610f6c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bc782611a8f565b611c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfd90613be1565b60405180910390fd5b6000611c1183610f6c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c8057508373ffffffffffffffffffffffffffffffffffffffff16611c68846109aa565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c915750611c908185611809565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cba82610f6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0790613b01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7790613ba1565b60405180910390fd5b611d8b838383612844565b611d96600082611b03565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611de69190613fa7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3d9190613ec6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611efc838383612958565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6890613c81565b60405180910390fd5b611f7a81611a8f565b15611fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb190613b21565b60405180910390fd5b611fc660008383612844565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120169190613ec6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120d760008383612958565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008114156121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90613dc1565b60405180910390fd5b600081601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122329190613ec6565b90506002811115612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613b41565b60405180910390fd5b6000600e5490506000838261228d9190613ec6565b90506103e760018261229f9190613fa7565b11156122e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d790613c01565b60405180910390fd5b34670429d069189e0000856122f59190613f4d565b14612335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232c90613d01565b60405180910390fd5b80600e8190555082601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b848110156123b3576123a086828561239b9190613ec6565b61295d565b80806123ab906140fe565b915050612383565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242190613bc1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161251b9190613a29565b60405180910390a3505050565b600082612535858461297b565b1490509392505050565b61254a848484611c9a565b61255684848484612a16565b612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90613ac1565b60405180910390fd5b50505050565b6060601080546125aa9061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546125d69061409b565b80156126235780601f106125f857610100808354040283529160200191612623565b820191906000526020600020905b81548152906001019060200180831161260657829003601f168201915b5050505050905090565b60606000821415612675576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127d5565b600082905060005b600082146126a7578080612690906140fe565b915050600a826126a09190613f1c565b915061267d565b60008167ffffffffffffffff8111156126e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561271b5781602001600182028036833780820191505090505b5090505b600085146127ce576001826127349190613fa7565b9150600a85612743919061416b565b603061274f9190613ec6565b60f81b81838151811061278b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127c79190613f1c565b945061271f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61284f838383612bad565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128925761288d81612bb2565b6128d1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128d0576128cf8382612bfb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129145761290f81612d68565b612953565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612952576129518282612eab565b5b5b505050565b505050565b612977828260405180602001604052806000815250612f2a565b5050565b60008082905060005b8451811015612a0b5760008582815181106129c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116129ea576129e38382612f85565b92506129f7565b6129f48184612f85565b92505b508080612a03906140fe565b915050612984565b508091505092915050565b6000612a378473ffffffffffffffffffffffffffffffffffffffff16612f9c565b15612ba0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a60611afb565b8786866040518563ffffffff1660e01b8152600401612a8294939291906139dd565b602060405180830381600087803b158015612a9c57600080fd5b505af1925050508015612acd57506040513d601f19601f82011682018060405250810190612aca919061340d565b60015b612b50573d8060008114612afd576040519150601f19603f3d011682016040523d82523d6000602084013e612b02565b606091505b50600081511415612b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3f90613ac1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ba5565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c088461101e565b612c129190613fa7565b9050600060076000848152602001908152602001600020549050818114612cf7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d7c9190613fa7565b9050600060096000848152602001908152602001600020549050600060088381548110612dd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612e1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e8f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612eb68361101e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b612f348383611f01565b612f416000848484612a16565b612f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7790613ac1565b60405180910390fd5b505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612fcb9061409b565b90600052602060002090601f016020900481019282612fed5760008555613034565b82601f1061300657805160ff1916838001178555613034565b82800160010185558215613034579182015b82811115613033578251825591602001919060010190613018565b5b5090506130419190613045565b5090565b5b8082111561305e576000816000905550600101613046565b5090565b600061307561307084613e21565b613dfc565b90508281526020810184848401111561308d57600080fd5b613098848285614059565b509392505050565b60006130b36130ae84613e52565b613dfc565b9050828152602081018484840111156130cb57600080fd5b6130d6848285614059565b509392505050565b6000813590506130ed816148dd565b92915050565b60008083601f84011261310557600080fd5b8235905067ffffffffffffffff81111561311e57600080fd5b60208301915083602082028301111561313657600080fd5b9250929050565b60008135905061314c816148f4565b92915050565b6000813590506131618161490b565b92915050565b6000815190506131768161490b565b92915050565b600082601f83011261318d57600080fd5b813561319d848260208601613062565b91505092915050565b600082601f8301126131b757600080fd5b81356131c78482602086016130a0565b91505092915050565b6000813590506131df81614922565b92915050565b6000602082840312156131f757600080fd5b6000613205848285016130de565b91505092915050565b6000806040838503121561322157600080fd5b600061322f858286016130de565b9250506020613240858286016130de565b9150509250929050565b60008060006060848603121561325f57600080fd5b600061326d868287016130de565b935050602061327e868287016130de565b925050604061328f868287016131d0565b9150509250925092565b600080600080608085870312156132af57600080fd5b60006132bd878288016130de565b94505060206132ce878288016130de565b93505060406132df878288016131d0565b925050606085013567ffffffffffffffff8111156132fc57600080fd5b6133088782880161317c565b91505092959194509250565b6000806040838503121561332757600080fd5b6000613335858286016130de565b92505060206133468582860161313d565b9150509250929050565b6000806040838503121561336357600080fd5b6000613371858286016130de565b9250506020613382858286016131d0565b9150509250929050565b6000806000604084860312156133a157600080fd5b600084013567ffffffffffffffff8111156133bb57600080fd5b6133c7868287016130f3565b935093505060206133da868287016131d0565b9150509250925092565b6000602082840312156133f657600080fd5b600061340484828501613152565b91505092915050565b60006020828403121561341f57600080fd5b600061342d84828501613167565b91505092915050565b60006020828403121561344857600080fd5b600082013567ffffffffffffffff81111561346257600080fd5b61346e848285016131a6565b91505092915050565b60006020828403121561348957600080fd5b6000613497848285016131d0565b91505092915050565b600080604083850312156134b357600080fd5b60006134c1858286016131d0565b92505060206134d2858286016131d0565b9150509250929050565b6134e581613fdb565b82525050565b6134fc6134f782613fdb565b614147565b82525050565b61350b81613fed565b82525050565b61351a81613ff9565b82525050565b600061352b82613e83565b6135358185613e99565b9350613545818560208601614068565b61354e81614258565b840191505092915050565b600061356482613e8e565b61356e8185613eaa565b935061357e818560208601614068565b61358781614258565b840191505092915050565b600061359d82613e8e565b6135a78185613ebb565b93506135b7818560208601614068565b80840191505092915050565b60006135d0600d83613eaa565b91506135db82614276565b602082019050919050565b60006135f3602b83613eaa565b91506135fe8261429f565b604082019050919050565b6000613616603283613eaa565b9150613621826142ee565b604082019050919050565b6000613639602683613eaa565b91506136448261433d565b604082019050919050565b600061365c602583613eaa565b91506136678261438c565b604082019050919050565b600061367f601c83613eaa565b915061368a826143db565b602082019050919050565b60006136a2601583613eaa565b91506136ad82614404565b602082019050919050565b60006136c5601783613eaa565b91506136d08261442d565b602082019050919050565b60006136e8600d83613eaa565b91506136f382614456565b602082019050919050565b600061370b602483613eaa565b91506137168261447f565b604082019050919050565b600061372e601983613eaa565b9150613739826144ce565b602082019050919050565b6000613751602c83613eaa565b915061375c826144f7565b604082019050919050565b6000613774601383613eaa565b915061377f82614546565b602082019050919050565b6000613797603883613eaa565b91506137a28261456f565b604082019050919050565b60006137ba602a83613eaa565b91506137c5826145be565b604082019050919050565b60006137dd602983613eaa565b91506137e88261460d565b604082019050919050565b6000613800602083613eaa565b915061380b8261465c565b602082019050919050565b6000613823602c83613eaa565b915061382e82614685565b604082019050919050565b6000613846602083613eaa565b9150613851826146d4565b602082019050919050565b6000613869602f83613eaa565b9150613874826146fd565b604082019050919050565b600061388c600f83613eaa565b91506138978261474c565b602082019050919050565b60006138af602183613eaa565b91506138ba82614775565b604082019050919050565b60006138d2603183613eaa565b91506138dd826147c4565b604082019050919050565b60006138f5601283613eaa565b915061390082614813565b602082019050919050565b6000613918602c83613eaa565b91506139238261483c565b604082019050919050565b600061393b601383613eaa565b91506139468261488b565b602082019050919050565b600061395e600e83613eaa565b9150613969826148b4565b602082019050919050565b61397d8161404f565b82525050565b600061398f82846134eb565b60148201915081905092915050565b60006139aa8285613592565b91506139b68284613592565b91508190509392505050565b60006020820190506139d760008301846134dc565b92915050565b60006080820190506139f260008301876134dc565b6139ff60208301866134dc565b613a0c6040830185613974565b8181036060830152613a1e8184613520565b905095945050505050565b6000602082019050613a3e6000830184613502565b92915050565b6000602082019050613a596000830184613511565b92915050565b60006020820190508181036000830152613a798184613559565b905092915050565b60006020820190508181036000830152613a9a816135c3565b9050919050565b60006020820190508181036000830152613aba816135e6565b9050919050565b60006020820190508181036000830152613ada81613609565b9050919050565b60006020820190508181036000830152613afa8161362c565b9050919050565b60006020820190508181036000830152613b1a8161364f565b9050919050565b60006020820190508181036000830152613b3a81613672565b9050919050565b60006020820190508181036000830152613b5a81613695565b9050919050565b60006020820190508181036000830152613b7a816136b8565b9050919050565b60006020820190508181036000830152613b9a816136db565b9050919050565b60006020820190508181036000830152613bba816136fe565b9050919050565b60006020820190508181036000830152613bda81613721565b9050919050565b60006020820190508181036000830152613bfa81613744565b9050919050565b60006020820190508181036000830152613c1a81613767565b9050919050565b60006020820190508181036000830152613c3a8161378a565b9050919050565b60006020820190508181036000830152613c5a816137ad565b9050919050565b60006020820190508181036000830152613c7a816137d0565b9050919050565b60006020820190508181036000830152613c9a816137f3565b9050919050565b60006020820190508181036000830152613cba81613816565b9050919050565b60006020820190508181036000830152613cda81613839565b9050919050565b60006020820190508181036000830152613cfa8161385c565b9050919050565b60006020820190508181036000830152613d1a8161387f565b9050919050565b60006020820190508181036000830152613d3a816138a2565b9050919050565b60006020820190508181036000830152613d5a816138c5565b9050919050565b60006020820190508181036000830152613d7a816138e8565b9050919050565b60006020820190508181036000830152613d9a8161390b565b9050919050565b60006020820190508181036000830152613dba8161392e565b9050919050565b60006020820190508181036000830152613dda81613951565b9050919050565b6000602082019050613df66000830184613974565b92915050565b6000613e06613e17565b9050613e1282826140cd565b919050565b6000604051905090565b600067ffffffffffffffff821115613e3c57613e3b614229565b5b613e4582614258565b9050602081019050919050565b600067ffffffffffffffff821115613e6d57613e6c614229565b5b613e7682614258565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ed18261404f565b9150613edc8361404f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f1157613f1061419c565b5b828201905092915050565b6000613f278261404f565b9150613f328361404f565b925082613f4257613f416141cb565b5b828204905092915050565b6000613f588261404f565b9150613f638361404f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f9c57613f9b61419c565b5b828202905092915050565b6000613fb28261404f565b9150613fbd8361404f565b925082821015613fd057613fcf61419c565b5b828203905092915050565b6000613fe68261402f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561408657808201518184015260208101905061406b565b83811115614095576000848401525b50505050565b600060028204905060018216806140b357607f821691505b602082108114156140c7576140c66141fa565b5b50919050565b6140d682614258565b810181811067ffffffffffffffff821117156140f5576140f4614229565b5b80604052505050565b60006141098261404f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561413c5761413b61419c565b5b600182019050919050565b600061415282614159565b9050919050565b600061416482614269565b9050919050565b60006141768261404f565b91506141818361404f565b925082614191576141906141cb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f53414c455f4e4f545f4f50454e00000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f57414c4c45545f4c494d49545f45584345454445440000000000000000000000600082015250565b7f484f4e4f524152595f4c494d49545f4558434545444544000000000000000000600082015250565b7f494e56414c49445f50524f4f4600000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53414c455f4c494d49545f455843454544454400000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f57524f4e475f4554485f56414c55450000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f494e56414c49445f54494d455354414d50530000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5445414d5f4c494d49545f455843454544454400000000000000000000000000600082015250565b7f494e56414c49445f414d4f554e54000000000000000000000000000000000000600082015250565b6148e681613fdb565b81146148f157600080fd5b50565b6148fd81613fed565b811461490857600080fd5b50565b61491481614003565b811461491f57600080fd5b50565b61492b8161404f565b811461493657600080fd5b5056fea264697066735822122025daf7a10ad42a209942f0e5b2f1f86abe28ec82006a855541f3c3e4473de51f64736f6c6343000804003307b3551fbbe31c226acf05c77804802a9a0c7109cf9624d09c099991762d8df6

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063715018a611610123578063a22cb465116100ab578063dcbd5bbb1161006f578063dcbd5bbb146107bb578063e086e5ec146107e4578063e985e9c5146107fb578063f2fde38b14610838578063fbbf8cc3146108615761021a565b8063a22cb465146106e5578063a6d612f91461070e578063b88d4fde1461072a578063c002d23d14610753578063c87b56dd1461077e5761021a565b806394f4504d116100f257806394f4504d1461061d57806395d89b41146106485780639c14a884146106735780639ecfab9b1461069e578063a0712d68146106c95761021a565b8063715018a6146105875780637307b3d91461059e5780638da5cb5b146105c9578063934190da146105f45761021a565b80632f745c59116101a657806342842e0e1161017557806342842e0e1461047e5780634f6ccce7146104a757806355f804b3146104e45780636352211e1461050d57806370a082311461054a5761021a565b80632f745c59146103c257806332cb6b0c146103ff578063342f48aa1461042a5780633e65408a146104535761021a565b80630f2cdd6c116101ed5780630f2cdd6c146102ed57806311c67efc1461031857806318160ddd1461034357806323b872dd1461036e5780632eb4a7ab146103975761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906133e4565b61089e565b6040516102539190613a29565b60405180910390f35b34801561026857600080fd5b50610271610918565b60405161027e9190613a5f565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613477565b6109aa565b6040516102bb91906139c2565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613350565b610a2f565b005b3480156102f957600080fd5b50610302610b47565b60405161030f9190613de1565b60405180910390f35b34801561032457600080fd5b5061032d610b4c565b60405161033a9190613a29565b60405180910390f35b34801561034f57600080fd5b50610358610b76565b6040516103659190613de1565b60405180910390f35b34801561037a57600080fd5b506103956004803603810190610390919061324a565b610b83565b005b3480156103a357600080fd5b506103ac610be3565b6040516103b99190613a44565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190613350565b610c07565b6040516103f69190613de1565b60405180910390f35b34801561040b57600080fd5b50610414610cac565b6040516104219190613de1565b60405180910390f35b34801561043657600080fd5b50610451600480360381019061044c9190613477565b610cb2565b005b34801561045f57600080fd5b50610468610e19565b6040516104759190613de1565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a0919061324a565b610e1f565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613477565b610e3f565b6040516104db9190613de1565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190613436565b610ed6565b005b34801561051957600080fd5b50610534600480360381019061052f9190613477565b610f6c565b60405161054191906139c2565b60405180910390f35b34801561055657600080fd5b50610571600480360381019061056c91906131e5565b61101e565b60405161057e9190613de1565b60405180910390f35b34801561059357600080fd5b5061059c6110d6565b005b3480156105aa57600080fd5b506105b361115e565b6040516105c09190613de1565b60405180910390f35b3480156105d557600080fd5b506105de611164565b6040516105eb91906139c2565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613477565b61118e565b005b34801561062957600080fd5b506106326112f6565b60405161063f9190613a29565b60405180910390f35b34801561065457600080fd5b5061065d611320565b60405161066a9190613a5f565b60405180910390f35b34801561067f57600080fd5b506106886113b2565b6040516106959190613de1565b60405180910390f35b3480156106aa57600080fd5b506106b36113b7565b6040516106c09190613de1565b60405180910390f35b6106e360048036038101906106de9190613477565b6113bd565b005b3480156106f157600080fd5b5061070c60048036038101906107079190613314565b611411565b005b6107286004803603810190610723919061338c565b611427565b005b34801561073657600080fd5b50610751600480360381019061074c9190613299565b611554565b005b34801561075f57600080fd5b506107686115b6565b6040516107759190613de1565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a09190613477565b6115c2565b6040516107b29190613a5f565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd91906134a0565b611669565b005b3480156107f057600080fd5b506107f9611744565b005b34801561080757600080fd5b50610822600480360381019061081d919061320e565b611809565b60405161082f9190613a29565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906131e5565b61189d565b005b34801561086d57600080fd5b50610888600480360381019061088391906131e5565b611995565b6040516108959190613de1565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109115750610910826119ad565b5b9050919050565b6060600080546109279061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546109539061409b565b80156109a05780601f10610975576101008083540402835291602001916109a0565b820191906000526020600020905b81548152906001019060200180831161098357829003601f168201915b5050505050905090565b60006109b582611a8f565b6109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109eb90613ca1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3a82610f6c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa290613d21565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aca611afb565b73ffffffffffffffffffffffffffffffffffffffff161480610af95750610af881610af3611afb565b611809565b5b610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f90613c21565b60405180910390fd5b610b428383611b03565b505050565b600281565b600080600c54118015610b615750600c544210155b8015610b7157506103e7600e5411155b905090565b6000600880549050905090565b610b94610b8e611afb565b82611bbc565b610bd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bca90613d41565b60405180910390fd5b610bde838383611c9a565b505050565b7f07b3551fbbe31c226acf05c77804802a9a0c7109cf9624d09c099991762d8df681565b6000610c128361101e565b8210610c53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4a90613aa1565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103fa81565b610cba611afb565b73ffffffffffffffffffffffffffffffffffffffff16610cd8611164565b73ffffffffffffffffffffffffffffffffffffffff1614610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590613cc1565b60405180910390fd5b6000811415610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990613dc1565b60405180910390fd5b6000600d54905060008282610d879190613ec6565b90506031600182610d989190613fa7565b1115610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd090613da1565b60405180910390fd5b80600d8190555060005b83811015610e1357610e00338285610dfb9190613ec6565b611f01565b8080610e0b906140fe565b915050610de3565b50505050565b600c5481565b610e3a83838360405180602001604052806000815250611554565b505050565b6000610e49610b76565b8210610e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8190613d81565b60405180910390fd5b60088281548110610ec4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ede611afb565b73ffffffffffffffffffffffffffffffffffffffff16610efc611164565b73ffffffffffffffffffffffffffffffffffffffff1614610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4990613cc1565b60405180910390fd5b8060109080519060200190610f68929190612fbf565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90613c61565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690613c41565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110de611afb565b73ffffffffffffffffffffffffffffffffffffffff166110fc611164565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990613cc1565b60405180910390fd5b61115c60006120db565b565b6103e781565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611196611afb565b73ffffffffffffffffffffffffffffffffffffffff166111b4611164565b73ffffffffffffffffffffffffffffffffffffffff161461120a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120190613cc1565b60405180910390fd5b600081141561124e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124590613dc1565b60405180910390fd5b6000600f549050600082826112639190613ec6565b90506103fa6001826112759190613fa7565b11156112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad90613b61565b60405180910390fd5b80600f8190555060005b838110156112f0576112dd3382856112d89190613ec6565b611f01565b80806112e8906140fe565b9150506112c0565b50505050565b600080600b5411801561130b5750600b544210155b801561131b57506103e7600e5411155b905090565b60606001805461132f9061409b565b80601f016020809104026020016040519081016040528092919081815260200182805461135b9061409b565b80156113a85780601f1061137d576101008083540402835291602001916113a8565b820191906000526020600020905b81548152906001019060200180831161138b57829003601f168201915b5050505050905090565b603181565b600b5481565b6113c5610b4c565b611404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fb90613a81565b60405180910390fd5b61140e33826121a1565b50565b61142361141c611afb565b83836123bb565b5050565b61142f6112f6565b61146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146590613a81565b60405180910390fd5b6000336040516020016114819190613983565b604051602081830303815290604052805190602001209050611505848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f07b3551fbbe31c226acf05c77804802a9a0c7109cf9624d09c099991762d8df683612528565b611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90613b81565b60405180910390fd5b61154e33836121a1565b50505050565b61156561155f611afb565b83611bbc565b6115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b90613d41565b60405180910390fd5b6115b08484848461253f565b50505050565b670429d069189e000081565b60606115cd82611a8f565b61160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390613ce1565b60405180910390fd5b600061161661259b565b905060008151116116365760405180602001604052806000815250611661565b806116408461262d565b60405160200161165192919061399e565b6040516020818303038152906040525b915050919050565b611671611afb565b73ffffffffffffffffffffffffffffffffffffffff1661168f611164565b73ffffffffffffffffffffffffffffffffffffffff16146116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90613cc1565b60405180910390fd5b81811180156116f357504282115b611732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172990613d61565b60405180910390fd5b81600b8190555080600c819055505050565b61174c611afb565b73ffffffffffffffffffffffffffffffffffffffff1661176a611164565b73ffffffffffffffffffffffffffffffffffffffff16146117c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b790613cc1565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611806573d6000803e3d6000fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118a5611afb565b73ffffffffffffffffffffffffffffffffffffffff166118c3611164565b73ffffffffffffffffffffffffffffffffffffffff1614611919576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191090613cc1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611989576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198090613ae1565b60405180910390fd5b611992816120db565b50565b60116020528060005260406000206000915090505481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a7857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a885750611a87826127da565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b7683610f6c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bc782611a8f565b611c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfd90613be1565b60405180910390fd5b6000611c1183610f6c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c8057508373ffffffffffffffffffffffffffffffffffffffff16611c68846109aa565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c915750611c908185611809565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cba82610f6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0790613b01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7790613ba1565b60405180910390fd5b611d8b838383612844565b611d96600082611b03565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611de69190613fa7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3d9190613ec6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611efc838383612958565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6890613c81565b60405180910390fd5b611f7a81611a8f565b15611fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb190613b21565b60405180910390fd5b611fc660008383612844565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120169190613ec6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120d760008383612958565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008114156121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90613dc1565b60405180910390fd5b600081601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122329190613ec6565b90506002811115612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613b41565b60405180910390fd5b6000600e5490506000838261228d9190613ec6565b90506103e760018261229f9190613fa7565b11156122e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d790613c01565b60405180910390fd5b34670429d069189e0000856122f59190613f4d565b14612335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232c90613d01565b60405180910390fd5b80600e8190555082601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b848110156123b3576123a086828561239b9190613ec6565b61295d565b80806123ab906140fe565b915050612383565b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242190613bc1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161251b9190613a29565b60405180910390a3505050565b600082612535858461297b565b1490509392505050565b61254a848484611c9a565b61255684848484612a16565b612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90613ac1565b60405180910390fd5b50505050565b6060601080546125aa9061409b565b80601f01602080910402602001604051908101604052809291908181526020018280546125d69061409b565b80156126235780601f106125f857610100808354040283529160200191612623565b820191906000526020600020905b81548152906001019060200180831161260657829003601f168201915b5050505050905090565b60606000821415612675576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127d5565b600082905060005b600082146126a7578080612690906140fe565b915050600a826126a09190613f1c565b915061267d565b60008167ffffffffffffffff8111156126e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561271b5781602001600182028036833780820191505090505b5090505b600085146127ce576001826127349190613fa7565b9150600a85612743919061416b565b603061274f9190613ec6565b60f81b81838151811061278b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127c79190613f1c565b945061271f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61284f838383612bad565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128925761288d81612bb2565b6128d1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128d0576128cf8382612bfb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129145761290f81612d68565b612953565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612952576129518282612eab565b5b5b505050565b505050565b612977828260405180602001604052806000815250612f2a565b5050565b60008082905060005b8451811015612a0b5760008582815181106129c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116129ea576129e38382612f85565b92506129f7565b6129f48184612f85565b92505b508080612a03906140fe565b915050612984565b508091505092915050565b6000612a378473ffffffffffffffffffffffffffffffffffffffff16612f9c565b15612ba0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a60611afb565b8786866040518563ffffffff1660e01b8152600401612a8294939291906139dd565b602060405180830381600087803b158015612a9c57600080fd5b505af1925050508015612acd57506040513d601f19601f82011682018060405250810190612aca919061340d565b60015b612b50573d8060008114612afd576040519150601f19603f3d011682016040523d82523d6000602084013e612b02565b606091505b50600081511415612b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3f90613ac1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ba5565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c088461101e565b612c129190613fa7565b9050600060076000848152602001908152602001600020549050818114612cf7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d7c9190613fa7565b9050600060096000848152602001908152602001600020549050600060088381548110612dd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612e1a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e8f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612eb68361101e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b612f348383611f01565b612f416000848484612a16565b612f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7790613ac1565b60405180910390fd5b505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612fcb9061409b565b90600052602060002090601f016020900481019282612fed5760008555613034565b82601f1061300657805160ff1916838001178555613034565b82800160010185558215613034579182015b82811115613033578251825591602001919060010190613018565b5b5090506130419190613045565b5090565b5b8082111561305e576000816000905550600101613046565b5090565b600061307561307084613e21565b613dfc565b90508281526020810184848401111561308d57600080fd5b613098848285614059565b509392505050565b60006130b36130ae84613e52565b613dfc565b9050828152602081018484840111156130cb57600080fd5b6130d6848285614059565b509392505050565b6000813590506130ed816148dd565b92915050565b60008083601f84011261310557600080fd5b8235905067ffffffffffffffff81111561311e57600080fd5b60208301915083602082028301111561313657600080fd5b9250929050565b60008135905061314c816148f4565b92915050565b6000813590506131618161490b565b92915050565b6000815190506131768161490b565b92915050565b600082601f83011261318d57600080fd5b813561319d848260208601613062565b91505092915050565b600082601f8301126131b757600080fd5b81356131c78482602086016130a0565b91505092915050565b6000813590506131df81614922565b92915050565b6000602082840312156131f757600080fd5b6000613205848285016130de565b91505092915050565b6000806040838503121561322157600080fd5b600061322f858286016130de565b9250506020613240858286016130de565b9150509250929050565b60008060006060848603121561325f57600080fd5b600061326d868287016130de565b935050602061327e868287016130de565b925050604061328f868287016131d0565b9150509250925092565b600080600080608085870312156132af57600080fd5b60006132bd878288016130de565b94505060206132ce878288016130de565b93505060406132df878288016131d0565b925050606085013567ffffffffffffffff8111156132fc57600080fd5b6133088782880161317c565b91505092959194509250565b6000806040838503121561332757600080fd5b6000613335858286016130de565b92505060206133468582860161313d565b9150509250929050565b6000806040838503121561336357600080fd5b6000613371858286016130de565b9250506020613382858286016131d0565b9150509250929050565b6000806000604084860312156133a157600080fd5b600084013567ffffffffffffffff8111156133bb57600080fd5b6133c7868287016130f3565b935093505060206133da868287016131d0565b9150509250925092565b6000602082840312156133f657600080fd5b600061340484828501613152565b91505092915050565b60006020828403121561341f57600080fd5b600061342d84828501613167565b91505092915050565b60006020828403121561344857600080fd5b600082013567ffffffffffffffff81111561346257600080fd5b61346e848285016131a6565b91505092915050565b60006020828403121561348957600080fd5b6000613497848285016131d0565b91505092915050565b600080604083850312156134b357600080fd5b60006134c1858286016131d0565b92505060206134d2858286016131d0565b9150509250929050565b6134e581613fdb565b82525050565b6134fc6134f782613fdb565b614147565b82525050565b61350b81613fed565b82525050565b61351a81613ff9565b82525050565b600061352b82613e83565b6135358185613e99565b9350613545818560208601614068565b61354e81614258565b840191505092915050565b600061356482613e8e565b61356e8185613eaa565b935061357e818560208601614068565b61358781614258565b840191505092915050565b600061359d82613e8e565b6135a78185613ebb565b93506135b7818560208601614068565b80840191505092915050565b60006135d0600d83613eaa565b91506135db82614276565b602082019050919050565b60006135f3602b83613eaa565b91506135fe8261429f565b604082019050919050565b6000613616603283613eaa565b9150613621826142ee565b604082019050919050565b6000613639602683613eaa565b91506136448261433d565b604082019050919050565b600061365c602583613eaa565b91506136678261438c565b604082019050919050565b600061367f601c83613eaa565b915061368a826143db565b602082019050919050565b60006136a2601583613eaa565b91506136ad82614404565b602082019050919050565b60006136c5601783613eaa565b91506136d08261442d565b602082019050919050565b60006136e8600d83613eaa565b91506136f382614456565b602082019050919050565b600061370b602483613eaa565b91506137168261447f565b604082019050919050565b600061372e601983613eaa565b9150613739826144ce565b602082019050919050565b6000613751602c83613eaa565b915061375c826144f7565b604082019050919050565b6000613774601383613eaa565b915061377f82614546565b602082019050919050565b6000613797603883613eaa565b91506137a28261456f565b604082019050919050565b60006137ba602a83613eaa565b91506137c5826145be565b604082019050919050565b60006137dd602983613eaa565b91506137e88261460d565b604082019050919050565b6000613800602083613eaa565b915061380b8261465c565b602082019050919050565b6000613823602c83613eaa565b915061382e82614685565b604082019050919050565b6000613846602083613eaa565b9150613851826146d4565b602082019050919050565b6000613869602f83613eaa565b9150613874826146fd565b604082019050919050565b600061388c600f83613eaa565b91506138978261474c565b602082019050919050565b60006138af602183613eaa565b91506138ba82614775565b604082019050919050565b60006138d2603183613eaa565b91506138dd826147c4565b604082019050919050565b60006138f5601283613eaa565b915061390082614813565b602082019050919050565b6000613918602c83613eaa565b91506139238261483c565b604082019050919050565b600061393b601383613eaa565b91506139468261488b565b602082019050919050565b600061395e600e83613eaa565b9150613969826148b4565b602082019050919050565b61397d8161404f565b82525050565b600061398f82846134eb565b60148201915081905092915050565b60006139aa8285613592565b91506139b68284613592565b91508190509392505050565b60006020820190506139d760008301846134dc565b92915050565b60006080820190506139f260008301876134dc565b6139ff60208301866134dc565b613a0c6040830185613974565b8181036060830152613a1e8184613520565b905095945050505050565b6000602082019050613a3e6000830184613502565b92915050565b6000602082019050613a596000830184613511565b92915050565b60006020820190508181036000830152613a798184613559565b905092915050565b60006020820190508181036000830152613a9a816135c3565b9050919050565b60006020820190508181036000830152613aba816135e6565b9050919050565b60006020820190508181036000830152613ada81613609565b9050919050565b60006020820190508181036000830152613afa8161362c565b9050919050565b60006020820190508181036000830152613b1a8161364f565b9050919050565b60006020820190508181036000830152613b3a81613672565b9050919050565b60006020820190508181036000830152613b5a81613695565b9050919050565b60006020820190508181036000830152613b7a816136b8565b9050919050565b60006020820190508181036000830152613b9a816136db565b9050919050565b60006020820190508181036000830152613bba816136fe565b9050919050565b60006020820190508181036000830152613bda81613721565b9050919050565b60006020820190508181036000830152613bfa81613744565b9050919050565b60006020820190508181036000830152613c1a81613767565b9050919050565b60006020820190508181036000830152613c3a8161378a565b9050919050565b60006020820190508181036000830152613c5a816137ad565b9050919050565b60006020820190508181036000830152613c7a816137d0565b9050919050565b60006020820190508181036000830152613c9a816137f3565b9050919050565b60006020820190508181036000830152613cba81613816565b9050919050565b60006020820190508181036000830152613cda81613839565b9050919050565b60006020820190508181036000830152613cfa8161385c565b9050919050565b60006020820190508181036000830152613d1a8161387f565b9050919050565b60006020820190508181036000830152613d3a816138a2565b9050919050565b60006020820190508181036000830152613d5a816138c5565b9050919050565b60006020820190508181036000830152613d7a816138e8565b9050919050565b60006020820190508181036000830152613d9a8161390b565b9050919050565b60006020820190508181036000830152613dba8161392e565b9050919050565b60006020820190508181036000830152613dda81613951565b9050919050565b6000602082019050613df66000830184613974565b92915050565b6000613e06613e17565b9050613e1282826140cd565b919050565b6000604051905090565b600067ffffffffffffffff821115613e3c57613e3b614229565b5b613e4582614258565b9050602081019050919050565b600067ffffffffffffffff821115613e6d57613e6c614229565b5b613e7682614258565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ed18261404f565b9150613edc8361404f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f1157613f1061419c565b5b828201905092915050565b6000613f278261404f565b9150613f328361404f565b925082613f4257613f416141cb565b5b828204905092915050565b6000613f588261404f565b9150613f638361404f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f9c57613f9b61419c565b5b828202905092915050565b6000613fb28261404f565b9150613fbd8361404f565b925082821015613fd057613fcf61419c565b5b828203905092915050565b6000613fe68261402f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561408657808201518184015260208101905061406b565b83811115614095576000848401525b50505050565b600060028204905060018216806140b357607f821691505b602082108114156140c7576140c66141fa565b5b50919050565b6140d682614258565b810181811067ffffffffffffffff821117156140f5576140f4614229565b5b80604052505050565b60006141098261404f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561413c5761413b61419c565b5b600182019050919050565b600061415282614159565b9050919050565b600061416482614269565b9050919050565b60006141768261404f565b91506141818361404f565b925082614191576141906141cb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f53414c455f4e4f545f4f50454e00000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f57414c4c45545f4c494d49545f45584345454445440000000000000000000000600082015250565b7f484f4e4f524152595f4c494d49545f4558434545444544000000000000000000600082015250565b7f494e56414c49445f50524f4f4600000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53414c455f4c494d49545f455843454544454400000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f57524f4e475f4554485f56414c55450000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f494e56414c49445f54494d455354414d50530000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5445414d5f4c494d49545f455843454544454400000000000000000000000000600082015250565b7f494e56414c49445f414d4f554e54000000000000000000000000000000000000600082015250565b6148e681613fdb565b81146148f157600080fd5b50565b6148fd81613fed565b811461490857600080fd5b50565b61491481614003565b811461491f57600080fd5b50565b61492b8161404f565b811461493657600080fd5b5056fea264697066735822122025daf7a10ad42a209942f0e5b2f1f86abe28ec82006a855541f3c3e4473de51f64736f6c63430008040033

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

07b3551fbbe31c226acf05c77804802a9a0c7109cf9624d09c099991762d8df6

-----Decoded View---------------
Arg [0] : root (bytes32): 0x07b3551fbbe31c226acf05c77804802a9a0c7109cf9624d09c099991762d8df6

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 07b3551fbbe31c226acf05c77804802a9a0c7109cf9624d09c099991762d8df6


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.