ETH Price: $2,798.57 (+1.00%)

Token

Alien Kids Club (AKC)
 

Overview

Max Total Supply

67 AKC

Holders

37

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 AKC
0x4d6F9f46709c42e3FABCE3FE13980AD5217645F6
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AliensKidsClub

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : AliensKidsClub.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.10;

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

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract AliensKidsClub is Ownable, ERC721Enumerable, ReentrancyGuard {

    //
    // Library
    //

    //To concatenate the URL of an NFT
    using Strings for uint256;

    //
    // Library
    //

    enum EEnvironment {
        PreSale,
        PublicSale,
        Other
    }

    //
    // CONSTANTS
    //

    // Environment names.
    string private constant PRESALE = "PRESALE";
    string private constant PUBLIC_SALE = "PUBLIC_SALE";

    // Number of NFTs in the collection
    uint private constant NUMBER_OF_NFTS = 5555;

    //The extension of the file containing the Metadatas of the NFTs
    string private constant URI_EXTENSION = ".json";

    //
    // Attributes
    //

    // Pre sale date.
    uint private _preSaleDate;

    //URI of the NFTs when revealed.
    string private _revealedURI;

    //URI of the NFTs when not revealed.
    string private _notRevealedURI;
    
    //Are the NFTs revealed yet ?
    bool private _revealed;

    //Merkle tree root.
    bytes32 private _root;

    constructor(
        string memory name,
        string memory symbol,
        uint preSaleDate,
        string memory notRevealedURI,
        bytes32 root,
        string memory revealedURI,
        address[] memory airDrop,
        uint[] memory airDropAmmount
    ) ERC721(name, symbol) {
        uint nbNftAirDrop = 1;

        _preSaleDate = preSaleDate;
        _notRevealedURI = notRevealedURI;
        _root = root;

        updateAll(revealedURI, false);

        transferOwnership(msg.sender);

        sendAirDrop(airDrop, airDropAmmount);
    }

    //
    // Private getters
    //
    function _getEnv() internal view returns (EEnvironment) {
        if (block.timestamp >= getPublicSaleDate()) {
            return EEnvironment.PublicSale;
        }
        
        if (block.timestamp >= getPreSaleDate()) {
            return EEnvironment.PreSale;
        }
        
        return EEnvironment.Other;
    }

    //
    // Public getters
    //

    function getPreSaleDate() public view returns (uint) {
        return _preSaleDate;
    }

    function getPublicSaleDate() public view returns (uint) {
        return getPreSaleDate() + 1 days;
        //return getPreSaleDate() + 2 minutes;
    }

    function getEnv() public view returns (string memory) {
        if (_getEnv() == EEnvironment.PublicSale) {
            return PUBLIC_SALE;
        }

        return PRESALE;
    }

    function getPrice() public view returns (uint) {
        return 15;
    }

    function getMaxMintAllowed() public view returns (uint) {
        if (_getEnv() == EEnvironment.PublicSale) {
            return 5;
        }

        return 3;
    }

    function getNumberOfMintedNFT() public view returns (uint) {
        return totalSupply();
    }

    function getNumberOfAvailableToken() public view returns (uint) {
        return NUMBER_OF_NFTS - getNumberOfMintedNFT();
    }

    //
    // Setters to modify contract.
    //

    function updateAll(string memory revealedURI, bool revealed) public onlyOwner {
        if (bytes(revealedURI).length > 0) {
            setRevealedURI(revealedURI);
        }

        setRevealed(revealed);
    }

    //
    // Internal setters
    //

    function setRevealedURI(string memory revealedURI) internal onlyOwner {
        _revealedURI = revealedURI;
    } 

    function setRevealed(bool revealed) internal onlyOwner {
        _revealed = revealed;
    }

    //
    // Merkle tree's internal check methods
    //

    function _leaf(address account) internal pure returns(bytes32) {
        return keccak256(abi.encodePacked(account));
    }

    function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns(bool) {
        return MerkleProof.verify(proof, _root, leaf);
    }

    function isWhiteListed(address account, bytes32[] calldata proof) internal view returns(bool) {
        return (_root != "") ? _verify(_leaf(account), proof) : true;
    }

    //
    // Sale methods
    //

    function presaleMint(uint256 ammount, bytes32[] calldata proof) external payable nonReentrant {
        uint price = (ammount * getPrice()) * 0.01 ether;
        uint numberOfMintedNFT = getNumberOfMintedNFT();

        require(_getEnv() == EEnvironment.PreSale, "Pre sale has not started yet.");
        require(isWhiteListed(msg.sender, proof), "Not on the whitelist");
        require(getNumberOfAvailableToken() > ammount, "No enought NFT available");
        require(balanceOf(msg.sender) + ammount <= getMaxMintAllowed(), "You have already reach the max mint allowed");
        require(msg.value >= price, "Not enought funds");

        for(uint i = 1; i <= ammount; i++) {
            _safeMint(msg.sender, numberOfMintedNFT + i);
        }
    }

    function saleMint(uint256 ammount) external payable nonReentrant {
        uint price = (ammount * getPrice()) * 0.01 ether;
        uint numberOfMintedNFT = getNumberOfMintedNFT();

        require(_getEnv() == EEnvironment.PublicSale, "Public sale has not started yet.");
        require(getNumberOfAvailableToken() > ammount, "No enought NFT available");
        require(balanceOf(msg.sender) + ammount <= getMaxMintAllowed(), "You have already reach the max mint allowed");
        require(msg.value >= price, "Not enought funds");

        for(uint i = 1; i <= ammount; i++) {
            _safeMint(msg.sender, numberOfMintedNFT + i);
        }
    }

    //
    // Withdraw money from contract
    //

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(owner()).call{value: address(this).balance}("");
        require(success);
    }

    //
    // Air drop
    //

    function sendAirDrop(address[] memory airDrop, uint[] memory airDropAmmount) public onlyOwner {
        uint nbNftAirDrop = 1;
        
        require(airDrop.length < NUMBER_OF_NFTS, "Can't air drop more than maximun NFT available.");
        require(airDrop.length == airDropAmmount.length, "You have to define all air drop ammount");
        
        for (uint i = 0; i < airDrop.length; i++) {
            for (uint ammount = 0; ammount < airDropAmmount[i]; ammount++) {
                _safeMint(airDrop[i], nbNftAirDrop);
                nbNftAirDrop++;
            }
        }
    }

    //
    // Metadatas management for marketplace website such as opensea
    //

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

    function tokenURI(uint nftId) public view override(ERC721) returns (string memory) {
        require(_exists(nftId), "This NFT doesn't exist.");
        if(_revealed == false) {
            return _notRevealedURI;
        }
        
        string memory currentBaseURI = _baseURI();
        return 
            bytes(currentBaseURI).length > 0 
            ? string(abi.encodePacked(currentBaseURI, nftId.toString(), URI_EXTENSION))
            : "";
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 5 of 15 : 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 6 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

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

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
    }

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 14 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 15 of 15 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"preSaleDate","type":"uint256"},{"internalType":"string","name":"notRevealedURI","type":"string"},{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"string","name":"revealedURI","type":"string"},{"internalType":"address[]","name":"airDrop","type":"address[]"},{"internalType":"uint256[]","name":"airDropAmmount","type":"uint256[]"}],"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":[{"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":[],"name":"getEnv","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfAvailableToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfMintedNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPreSaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ammount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","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":"uint256","name":"ammount","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"airDrop","type":"address[]"},{"internalType":"uint256[]","name":"airDropAmmount","type":"uint256[]"}],"name":"sendAirDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"nftId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"revealedURI","type":"string"},{"internalType":"bool","name":"revealed","type":"bool"}],"name":"updateAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b5060405162003eac38038062003eac833981016040819052620000349162000dd3565b87876200004133620000cb565b81516200005690600190602085019062000b37565b5080516200006c90600290602084019062000b37565b50506001600b819055600c88905586519091506200009290600e90602089019062000b37565b506010859055620000a58460006200011b565b620000b0336200018c565b620000bc83836200024c565b5050505050505050506200104a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146200016a5760405162461bcd60e51b8152602060048201819052602482015260008051602062003e8c83398151915260448201526064015b60405180910390fd5b8151156200017d576200017d826200040d565b62000188816200046d565b5050565b6000546001600160a01b03163314620001d75760405162461bcd60e51b8152602060048201819052602482015260008051602062003e8c833981519152604482015260640162000161565b6001600160a01b0381166200023e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000161565b6200024981620000cb565b50565b6000546001600160a01b03163314620002975760405162461bcd60e51b8152602060048201819052602482015260008051602062003e8c833981519152604482015260640162000161565b81516001906115b311620003065760405162461bcd60e51b815260206004820152602f60248201527f43616e2774206169722064726f70206d6f7265207468616e206d6178696d756e60448201526e1027232a1030bb30b4b630b136329760891b606482015260840162000161565b8151835114620003695760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520746f20646566696e6520616c6c206169722064726f7020604482015266185b5b5bdd5b9d60ca1b606482015260840162000161565b60005b8351811015620004075760005b8382815181106200038e576200038e62000eef565b6020026020010151811015620003f157620003cc858381518110620003b757620003b762000eef565b602002602001015184620004cb60201b60201c565b82620003d88162000f1b565b9350508080620003e89062000f1b565b91505062000379565b5080620003fe8162000f1b565b9150506200036c565b50505050565b6000546001600160a01b03163314620004585760405162461bcd60e51b8152602060048201819052602482015260008051602062003e8c833981519152604482015260640162000161565b80516200018890600d90602084019062000b37565b6000546001600160a01b03163314620004b85760405162461bcd60e51b8152602060048201819052602482015260008051602062003e8c833981519152604482015260640162000161565b600f805460ff1916911515919091179055565b62000188828260405180602001604052806000815250620004ed60201b60201c565b620004f9838362000565565b620005086000848484620006bb565b620005605760405162461bcd60e51b8152602060048201526032602482015260008051602062003e6c83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000161565b505050565b6001600160a01b038216620005bd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000161565b6000818152600360205260409020546001600160a01b031615620006245760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000161565b620006326000838362000814565b6001600160a01b03821660009081526004602052604081208054600192906200065d90849062000f39565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620006dc846001600160a01b0316620008f060201b620017a41760201c565b156200080857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200071690339089908890889060040162000f54565b6020604051808303816000875af192505050801562000754575060408051601f3d908101601f19168201909252620007519181019062000faa565b60015b620007ed573d80801562000785576040519150601f19603f3d011682016040523d82523d6000602084013e6200078a565b606091505b508051620007e55760405162461bcd60e51b8152602060048201526032602482015260008051602062003e6c83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000161565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200080c565b5060015b949350505050565b6200082c8383836200056060201b6200081b1760201c565b6001600160a01b0383166200088a576200088481600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b620008b0565b816001600160a01b0316836001600160a01b031614620008b057620008b08382620008f6565b6001600160a01b038216620008ca576200056081620009a3565b826001600160a01b0316826001600160a01b031614620005605762000560828262000a5d565b3b151590565b60006001620009108462000aae60201b62000c191760201c565b6200091c919062000fdd565b60008381526008602052604090205490915080821462000970576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090620009b79060019062000fdd565b6000838152600a602052604081205460098054939450909284908110620009e257620009e262000eef565b90600052602060002001549050806009838154811062000a065762000a0662000eef565b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548062000a415762000a4162000ff7565b6001900381819060005260206000200160009055905550505050565b600062000a758362000aae60201b62000c191760201c565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60006001600160a01b03821662000b1b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000161565b506001600160a01b031660009081526004602052604090205490565b82805462000b45906200100d565b90600052602060002090601f01602090048101928262000b69576000855562000bb4565b82601f1062000b8457805160ff191683800117855562000bb4565b8280016001018555821562000bb4579182015b8281111562000bb457825182559160200191906001019062000b97565b5062000bc292915062000bc6565b5090565b5b8082111562000bc2576000815560010162000bc7565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000c1e5762000c1e62000bdd565b604052919050565b60005b8381101562000c4357818101518382015260200162000c29565b83811115620004075750506000910152565b600082601f83011262000c6757600080fd5b81516001600160401b0381111562000c835762000c8362000bdd565b62000c98601f8201601f191660200162000bf3565b81815284602083860101111562000cae57600080fd5b6200080c82602083016020870162000c26565b60006001600160401b0382111562000cdd5762000cdd62000bdd565b5060051b60200190565b600082601f83011262000cf957600080fd5b8151602062000d1262000d0c8362000cc1565b62000bf3565b82815260059290921b8401810191818101908684111562000d3257600080fd5b8286015b8481101562000d665780516001600160a01b038116811462000d585760008081fd5b835291830191830162000d36565b509695505050505050565b600082601f83011262000d8357600080fd5b8151602062000d9662000d0c8362000cc1565b82815260059290921b8401810191818101908684111562000db657600080fd5b8286015b8481101562000d66578051835291830191830162000dba565b600080600080600080600080610100898b03121562000df157600080fd5b88516001600160401b038082111562000e0957600080fd5b62000e178c838d0162000c55565b995060208b015191508082111562000e2e57600080fd5b62000e3c8c838d0162000c55565b985060408b0151975060608b015191508082111562000e5a57600080fd5b62000e688c838d0162000c55565b965060808b0151955060a08b015191508082111562000e8657600080fd5b62000e948c838d0162000c55565b945060c08b015191508082111562000eab57600080fd5b62000eb98c838d0162000ce7565b935060e08b015191508082111562000ed057600080fd5b5062000edf8b828c0162000d71565b9150509295985092959890939650565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000f325762000f3262000f05565b5060010190565b6000821982111562000f4f5762000f4f62000f05565b500190565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000f938160a085016020870162000c26565b601f01601f19169190910160a00195945050505050565b60006020828403121562000fbd57600080fd5b81516001600160e01b03198116811462000fd657600080fd5b9392505050565b60008282101562000ff25762000ff262000f05565b500390565b634e487b7160e01b600052603160045260246000fd5b600181811c908216806200102257607f821691505b602082108114156200104457634e487b7160e01b600052602260045260246000fd5b50919050565b612e12806200105a6000396000f3fe6080604052600436106101d85760003560e01c8063715018a611610102578063c258ef6011610095578063e985e9c511610064578063e985e9c5146104eb578063e98abde014610534578063ec38ba3414610549578063f2fde38b1461055e57600080fd5b8063c258ef6014610483578063c87b56dd146104a3578063dfbf3956146104c3578063e3e1e8ef146104d857600080fd5b806395d89b41116100d157806395d89b411461041a57806398d5fdca1461042f578063a22cb46514610443578063b88d4fde1461046357600080fd5b8063715018a6146103bf578063791098af146103d45780638ca887ca146103e95780638da5cb5b146103fc57600080fd5b80633ccfd60b1161017a578063612e58f611610149578063612e58f61461034a5780636352211e1461036a57806364505d6b1461038a57806370a082311461039f57600080fd5b80633ccfd60b146102ed57806342842e0e146102f55780634f6ccce7146103155780634f75fd6f1461033557600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102ad5780632f745c59146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612719565b61057e565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105c2565b604051610209919061278e565b34801561024057600080fd5b5061025461024f3660046127a1565b610654565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c6102873660046127d6565b6106ee565b005b34801561029a57600080fd5b506009545b604051908152602001610209565b3480156102b957600080fd5b5061028c6102c8366004612800565b610820565b3480156102d957600080fd5b5061029f6102e83660046127d6565b6108a7565b61028c61094f565b34801561030157600080fd5b5061028c610310366004612800565b610a0c565b34801561032157600080fd5b5061029f6103303660046127a1565b610a27565b34801561034157600080fd5b5061029f610acb565b34801561035657600080fd5b5061028c6103653660046128eb565b610afa565b34801561037657600080fd5b506102546103853660046127a1565b610b71565b34801561039657600080fd5b5061029f610bfc565b3480156103ab57600080fd5b5061029f6103ba36600461294d565b610c19565b3480156103cb57600080fd5b5061028c610cb3565b3480156103e057600080fd5b5061029f610d19565b61028c6103f73660046127a1565b610d2f565b34801561040857600080fd5b506000546001600160a01b0316610254565b34801561042657600080fd5b50610227610f79565b34801561043b57600080fd5b50600f61029f565b34801561044f57600080fd5b5061028c61045e366004612968565b610f88565b34801561046f57600080fd5b5061028c61047e366004612992565b610f93565b34801561048f57600080fd5b5061028c61049e366004612a9d565b611021565b3480156104af57600080fd5b506102276104be3660046127a1565b6111f3565b3480156104cf57600080fd5b5061029f611389565b61028c6104e6366004612b5d565b611394565b3480156104f757600080fd5b506101fd610506366004612bdc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561054057600080fd5b50600c5461029f565b34801561055557600080fd5b50610227611632565b34801561056a57600080fd5b5061028c61057936600461294d565b6116c5565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806105bc57506105bc826117aa565b92915050565b6060600180546105d190612c06565b80601f01602080910402602001604051908101604052809291908181526020018280546105fd90612c06565b801561064a5780601f1061061f5761010080835404028352916020019161064a565b820191906000526020600020905b81548152906001019060200180831161062d57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166106d25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006106f982610b71565b9050806001600160a01b0316836001600160a01b031614156107835760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106c9565b336001600160a01b038216148061079f575061079f8133610506565b6108115760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106c9565b61081b8383611845565b505050565b61082a33826118c0565b61089c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106c9565b61081b8383836119b7565b60006108b283610c19565b82106109265760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016106c9565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b031633146109a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b600080546040516001600160a01b039091169047908381818185875af1925050503d80600081146109f6576040519150601f19603f3d011682016040523d82523d6000602084013e6109fb565b606091505b5050905080610a0957600080fd5b50565b61081b83838360405180602001604052806000815250610f93565b6000610a3260095490565b8210610aa65760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016106c9565b60098281548110610ab957610ab9612c41565b90600052602060002001549050919050565b60006001610ad7611b9c565b6002811115610ae857610ae8612c57565b1415610af45750600590565b50600390565b6000546001600160a01b03163314610b545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b815115610b6457610b6482611bc7565b610b6d81611c34565b5050565b6000818152600360205260408120546001600160a01b0316806105bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106c9565b6000610c07600c5490565b610c149062015180612c83565b905090565b60006001600160a01b038216610c975760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106c9565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610d0d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b610d176000611ca1565b565b6000610d23611389565b610c14906115b3612c9b565b6002600b541415610d825760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b6002600b556000610d94600f83612cb2565b610da590662386f26fc10000612cb2565b90506000610db1611389565b90506001610dbd611b9c565b6002811115610dce57610dce612c57565b14610e1b5760405162461bcd60e51b815260206004820181905260248201527f5075626c69632073616c6520686173206e6f742073746172746564207965742e60448201526064016106c9565b82610e24610d19565b11610e715760405162461bcd60e51b815260206004820152601860248201527f4e6f20656e6f75676874204e465420617661696c61626c65000000000000000060448201526064016106c9565b610e79610acb565b83610e8333610c19565b610e8d9190612c83565b1115610eef5760405162461bcd60e51b815260206004820152602b60248201527f596f75206861766520616c726561647920726561636820746865206d6178206d60448201526a1a5b9d08185b1b1bddd95960aa1b60648201526084016106c9565b81341015610f3f5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742066756e647300000000000000000000000000000060448201526064016106c9565b60015b838111610f6e57610f5c33610f578385612c83565b611cfe565b80610f6681612cd1565b915050610f42565b50506001600b555050565b6060600280546105d190612c06565b610b6d338383611d18565b610f9d33836118c0565b61100f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106c9565b61101b84848484611de7565b50505050565b6000546001600160a01b0316331461107b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b81516001906115b3116110f65760405162461bcd60e51b815260206004820152602f60248201527f43616e2774206169722064726f70206d6f7265207468616e206d6178696d756e60448201527f204e465420617661696c61626c652e000000000000000000000000000000000060648201526084016106c9565b815183511461116d5760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520746f20646566696e6520616c6c206169722064726f702060448201527f616d6d6f756e740000000000000000000000000000000000000000000000000060648201526084016106c9565b60005b835181101561101b5760005b83828151811061118e5761118e612c41565b60200260200101518110156111e0576111c08583815181106111b2576111b2612c41565b602002602001015184611cfe565b826111ca81612cd1565b93505080806111d890612cd1565b91505061117c565b50806111eb81612cd1565b915050611170565b6000818152600360205260409020546060906001600160a01b031661125a5760405162461bcd60e51b815260206004820152601760248201527f54686973204e465420646f65736e27742065786973742e00000000000000000060448201526064016106c9565b600f5460ff166112f657600e805461127190612c06565b80601f016020809104026020016040519081016040528092919081815260200182805461129d90612c06565b80156112ea5780601f106112bf576101008083540402835291602001916112ea565b820191906000526020600020905b8154815290600101906020018083116112cd57829003601f168201915b50505050509050919050565b6000611300611e65565b905060008151116113205760405180602001604052806000815250611382565b8061132a84611e74565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161137293929190612cec565b6040516020818303038152906040525b9392505050565b6000610c1460095490565b6002600b5414156113e75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b6002600b5560006113f9600f85612cb2565b61140a90662386f26fc10000612cb2565b90506000611416611389565b90506000611422611b9c565b600281111561143357611433612c57565b146114805760405162461bcd60e51b815260206004820152601d60248201527f5072652073616c6520686173206e6f742073746172746564207965742e00000060448201526064016106c9565b61148b338585611fa6565b6114d75760405162461bcd60e51b815260206004820152601460248201527f4e6f74206f6e207468652077686974656c69737400000000000000000000000060448201526064016106c9565b846114e0610d19565b1161152d5760405162461bcd60e51b815260206004820152601860248201527f4e6f20656e6f75676874204e465420617661696c61626c65000000000000000060448201526064016106c9565b611535610acb565b8561153f33610c19565b6115499190612c83565b11156115ab5760405162461bcd60e51b815260206004820152602b60248201527f596f75206861766520616c726561647920726561636820746865206d6178206d60448201526a1a5b9d08185b1b1bddd95960aa1b60648201526084016106c9565b813410156115fb5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742066756e647300000000000000000000000000000060448201526064016106c9565b60015b8581116116255761161333610f578385612c83565b8061161d81612cd1565b9150506115fe565b50506001600b5550505050565b6060600161163e611b9c565b600281111561164f5761164f612c57565b141561168d575060408051808201909152600b81527f5055424c49435f53414c45000000000000000000000000000000000000000000602082015290565b5060408051808201909152600781527f50524553414c4500000000000000000000000000000000000000000000000000602082015290565b6000546001600160a01b0316331461171f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b6001600160a01b03811661179b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106c9565b610a0981611ca1565b3b151590565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061180d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105bc57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146105bc565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061188782610b71565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166119395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c9565b600061194483610b71565b9050806001600160a01b0316846001600160a01b0316148061197f5750836001600160a01b031661197484610654565b6001600160a01b0316145b806119af57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119ca82610b71565b6001600160a01b031614611a465760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106c9565b6001600160a01b038216611ac15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106c9565b611acc83838361202f565b611ad7600082611845565b6001600160a01b0383166000908152600460205260408120805460019290611b00908490612c9b565b90915550506001600160a01b0382166000908152600460205260408120805460019290611b2e908490612c83565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611ba6610bfc565b4210611bb25750600190565b600c544210611bc15750600090565b50600290565b6000546001600160a01b03163314611c215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b8051610b6d90600d90602084019061266a565b6000546001600160a01b03163314611c8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b600f805460ff1916911515919091179055565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610b6d8282604051806020016040528060008152506120e7565b816001600160a01b0316836001600160a01b03161415611d7a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c9565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611df28484846119b7565b611dfe84848484612165565b61101b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106c9565b6060600d80546105d190612c06565b606081611eb457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611ede5780611ec881612cd1565b9150611ed79050600a83612d45565b9150611eb8565b60008167ffffffffffffffff811115611ef957611ef961283c565b6040519080825280601f01601f191660200182016040528015611f23576020820181803683370190505b5090505b84156119af57611f38600183612c9b565b9150611f45600a86612d59565b611f50906030612c83565b60f81b818381518110611f6557611f65612c41565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f9f600a86612d45565b9450611f27565b600060105460001415611fba5760016119af565b60408051606086901b6bffffffffffffffffffffffff191660208083019190915282516014818403018152603490920190925280519101206119af908484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122ae92505050565b6001600160a01b03831661208a5761208581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6120ad565b816001600160a01b0316836001600160a01b0316146120ad576120ad83826122bd565b6001600160a01b0382166120c45761081b8161235a565b826001600160a01b0316826001600160a01b03161461081b5761081b8282612409565b6120f1838361244d565b6120fe6000848484612165565b61081b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106c9565b60006001600160a01b0384163b156122a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121a9903390899088908890600401612d6d565b6020604051808303816000875af19250505080156121e4575060408051601f3d908101601f191682019092526121e191810190612da9565b60015b612289573d808015612212576040519150601f19603f3d011682016040523d82523d6000602084013e612217565b606091505b5080516122815760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106c9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119af565b506001949350505050565b600061138282601054856125a8565b600060016122ca84610c19565b6122d49190612c9b565b600083815260086020526040902054909150808214612327576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061236c90600190612c9b565b6000838152600a60205260408120546009805493945090928490811061239457612394612c41565b9060005260206000200154905080600983815481106123b5576123b5612c41565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123ed576123ed612dc6565b6001900381819060005260206000200160009055905550505050565b600061241483610c19565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166124a35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c9565b6000818152600360205260409020546001600160a01b0316156125085760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c9565b6125146000838361202f565b6001600160a01b038216600090815260046020526040812080546001929061253d908490612c83565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000826125b585846125be565b14949350505050565b600081815b84518110156126625760008582815181106125e0576125e0612c41565b6020026020010151905080831161262257604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061264f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061265a81612cd1565b9150506125c3565b509392505050565b82805461267690612c06565b90600052602060002090601f01602090048101928261269857600085556126de565b82601f106126b157805160ff19168380011785556126de565b828001600101855582156126de579182015b828111156126de5782518255916020019190600101906126c3565b506126ea9291506126ee565b5090565b5b808211156126ea57600081556001016126ef565b6001600160e01b031981168114610a0957600080fd5b60006020828403121561272b57600080fd5b813561138281612703565b60005b83811015612751578181015183820152602001612739565b8381111561101b5750506000910152565b6000815180845261277a816020860160208601612736565b601f01601f19169290920160200192915050565b6020815260006113826020830184612762565b6000602082840312156127b357600080fd5b5035919050565b80356001600160a01b03811681146127d157600080fd5b919050565b600080604083850312156127e957600080fd5b6127f2836127ba565b946020939093013593505050565b60008060006060848603121561281557600080fd5b61281e846127ba565b925061282c602085016127ba565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561287b5761287b61283c565b604052919050565b600067ffffffffffffffff83111561289d5761289d61283c565b6128b0601f8401601f1916602001612852565b90508281528383830111156128c457600080fd5b828260208301376000602084830101529392505050565b803580151581146127d157600080fd5b600080604083850312156128fe57600080fd5b823567ffffffffffffffff81111561291557600080fd5b8301601f8101851361292657600080fd5b61293585823560208401612883565b925050612944602084016128db565b90509250929050565b60006020828403121561295f57600080fd5b611382826127ba565b6000806040838503121561297b57600080fd5b612984836127ba565b9150612944602084016128db565b600080600080608085870312156129a857600080fd5b6129b1856127ba565b93506129bf602086016127ba565b925060408501359150606085013567ffffffffffffffff8111156129e257600080fd5b8501601f810187136129f357600080fd5b612a0287823560208401612883565b91505092959194509250565b600067ffffffffffffffff821115612a2857612a2861283c565b5060051b60200190565b600082601f830112612a4357600080fd5b81356020612a58612a5383612a0e565b612852565b82815260059290921b84018101918181019086841115612a7757600080fd5b8286015b84811015612a925780358352918301918301612a7b565b509695505050505050565b60008060408385031215612ab057600080fd5b823567ffffffffffffffff80821115612ac857600080fd5b818501915085601f830112612adc57600080fd5b81356020612aec612a5383612a0e565b82815260059290921b84018101918181019089841115612b0b57600080fd5b948201945b83861015612b3057612b21866127ba565b82529482019490820190612b10565b96505086013592505080821115612b4657600080fd5b50612b5385828601612a32565b9150509250929050565b600080600060408486031215612b7257600080fd5b83359250602084013567ffffffffffffffff80821115612b9157600080fd5b818601915086601f830112612ba557600080fd5b813581811115612bb457600080fd5b8760208260051b8501011115612bc957600080fd5b6020830194508093505050509250925092565b60008060408385031215612bef57600080fd5b612bf8836127ba565b9150612944602084016127ba565b600181811c90821680612c1a57607f821691505b60208210811415612c3b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612c9657612c96612c6d565b500190565b600082821015612cad57612cad612c6d565b500390565b6000816000190483118215151615612ccc57612ccc612c6d565b500290565b6000600019821415612ce557612ce5612c6d565b5060010190565b60008451612cfe818460208901612736565b845190830190612d12818360208901612736565b8451910190612d25818360208801612736565b0195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082612d5457612d54612d2f565b500490565b600082612d6857612d68612d2f565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612d9f6080830184612762565b9695505050505050565b600060208284031215612dbb57600080fd5b815161138281612703565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220a7c05934128ffdb2232b0fe1fe7e6d6f9f8306b1af5889e8a1e7f14295fb330a64736f6c634300080a00334552433732313a207472616e7366657220746f206e6f6e2045524337323152654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000062050c500000000000000000000000000000000000000000000000000000000000000180b9de039367b0aa19a0003a5d6ee776617894843bcc2deee86cf3378ce0233ba3000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000000f416c69656e204b69647320436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003414b4300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f516d62764a44557a4e74655966475a4d38756e684d43506e534747703336477448323961506d71614c72726e4a442f756e72657665616c2e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000006f9cfacca63145c906fae462433aa1d1f147eec9000000000000000000000000d47f5b1a1324aa32bda3e58a65e5c858cef74be3000000000000000000000000bf4a1bc3b6925ace9531726932e1eb95636d86c400000000000000000000000022b14dc7f0ceea32e9968395017f65dc722b2367000000000000000000000000ecd10bad7e750f6b6a198ec0476746538bf3272e000000000000000000000000783dbc5b46123e7fcfcfb50de226126e1c7fdd3700000000000000000000000058f9339a3987e235ec1f83d23e6132af352ec017000000000000000000000000a563ccad333571ac69f9a92cb1163f8237282a34000000000000000000000000f515181126624fb9263298f74bda4ccdfe4d5b6b0000000000000000000000003d4b544c74f655fdc3513134dd8e0389248229bd00000000000000000000000096a8db654245310baef4129f331b6bfc909ecb890000000000000000000000000038e5fc56cd10c3a5f4d27f321fe9d7ccb8a052000000000000000000000000bba63c658fa2ab1717e4350cacfcd9044d0bbda5000000000000000000000000f3ef688ca9f0d6588c59fc517c79682c7ca403f1000000000000000000000000bba63c658fa2ab1717e4350cacfcd9044d0bbda500000000000000000000000052d2b40e4fe912a638cd12a8de68720fc693c791000000000000000000000000d1d098324c5b5bc33716db941b2ac73fef427bb000000000000000000000000026eec48c404367f81b9e8ebb4e44ee092c1fe0020000000000000000000000009aec6168f6830cbde27c2d09d27f3b0ae13686150000000000000000000000006f66f8a781d0fe6e136ea914c4c87ceced20e801000000000000000000000000eff1de762f12f1fbfa547b8e14ee4da03633a3cc00000000000000000000000012f3ab830cdd9db348a06a8eda0619a9c2ec10b80000000000000000000000007c847bb2739d666d336153a3d61fad1c4dad5d8600000000000000000000000049303ffe383ebab6cafd2175e2efcdb753ba6ecf000000000000000000000000036863a5a05c5a7ebd2553824cb040aaa2a6d687000000000000000000000000747f410e3c72deefb75c4b0d347c0dd08fcc86920000000000000000000000004d6f9f46709c42e3fabce3fe13980ad5217645f6000000000000000000000000460222699cfa613a582de2580fbb4b8d4ec87894000000000000000000000000ef1ee055b38485a45176dace2d119f17161b8a2b00000000000000000000000033e0cc3289162a9e16b0b4117b8923d2c1923fe100000000000000000000000094358a5a825c531d6058ad9dce39a417eaed97b6000000000000000000000000321da1030cdd83a324bb1bc8e1ed7f45140498370000000000000000000000006d41252372f7cb851833e751f2a1ae86a7ff4ee5000000000000000000000000f2b7c65286133d9bff18e8cdb2ccc27082c1a3ef000000000000000000000000387837cd8987a038565b26de491339d17a668745000000000000000000000000817591156049d00cc8ea07e21738826c035b874f00000000000000000000000034a498fb84f9406d5a6d5e28c5910ea4ab91840400000000000000000000000038194efc245e30882a8df933f327fbb5a2dedf8b0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002

Deployed Bytecode

0x6080604052600436106101d85760003560e01c8063715018a611610102578063c258ef6011610095578063e985e9c511610064578063e985e9c5146104eb578063e98abde014610534578063ec38ba3414610549578063f2fde38b1461055e57600080fd5b8063c258ef6014610483578063c87b56dd146104a3578063dfbf3956146104c3578063e3e1e8ef146104d857600080fd5b806395d89b41116100d157806395d89b411461041a57806398d5fdca1461042f578063a22cb46514610443578063b88d4fde1461046357600080fd5b8063715018a6146103bf578063791098af146103d45780638ca887ca146103e95780638da5cb5b146103fc57600080fd5b80633ccfd60b1161017a578063612e58f611610149578063612e58f61461034a5780636352211e1461036a57806364505d6b1461038a57806370a082311461039f57600080fd5b80633ccfd60b146102ed57806342842e0e146102f55780634f6ccce7146103155780634f75fd6f1461033557600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102ad5780632f745c59146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612719565b61057e565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105c2565b604051610209919061278e565b34801561024057600080fd5b5061025461024f3660046127a1565b610654565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c6102873660046127d6565b6106ee565b005b34801561029a57600080fd5b506009545b604051908152602001610209565b3480156102b957600080fd5b5061028c6102c8366004612800565b610820565b3480156102d957600080fd5b5061029f6102e83660046127d6565b6108a7565b61028c61094f565b34801561030157600080fd5b5061028c610310366004612800565b610a0c565b34801561032157600080fd5b5061029f6103303660046127a1565b610a27565b34801561034157600080fd5b5061029f610acb565b34801561035657600080fd5b5061028c6103653660046128eb565b610afa565b34801561037657600080fd5b506102546103853660046127a1565b610b71565b34801561039657600080fd5b5061029f610bfc565b3480156103ab57600080fd5b5061029f6103ba36600461294d565b610c19565b3480156103cb57600080fd5b5061028c610cb3565b3480156103e057600080fd5b5061029f610d19565b61028c6103f73660046127a1565b610d2f565b34801561040857600080fd5b506000546001600160a01b0316610254565b34801561042657600080fd5b50610227610f79565b34801561043b57600080fd5b50600f61029f565b34801561044f57600080fd5b5061028c61045e366004612968565b610f88565b34801561046f57600080fd5b5061028c61047e366004612992565b610f93565b34801561048f57600080fd5b5061028c61049e366004612a9d565b611021565b3480156104af57600080fd5b506102276104be3660046127a1565b6111f3565b3480156104cf57600080fd5b5061029f611389565b61028c6104e6366004612b5d565b611394565b3480156104f757600080fd5b506101fd610506366004612bdc565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561054057600080fd5b50600c5461029f565b34801561055557600080fd5b50610227611632565b34801561056a57600080fd5b5061028c61057936600461294d565b6116c5565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806105bc57506105bc826117aa565b92915050565b6060600180546105d190612c06565b80601f01602080910402602001604051908101604052809291908181526020018280546105fd90612c06565b801561064a5780601f1061061f5761010080835404028352916020019161064a565b820191906000526020600020905b81548152906001019060200180831161062d57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166106d25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006106f982610b71565b9050806001600160a01b0316836001600160a01b031614156107835760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106c9565b336001600160a01b038216148061079f575061079f8133610506565b6108115760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106c9565b61081b8383611845565b505050565b61082a33826118c0565b61089c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106c9565b61081b8383836119b7565b60006108b283610c19565b82106109265760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016106c9565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b031633146109a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b600080546040516001600160a01b039091169047908381818185875af1925050503d80600081146109f6576040519150601f19603f3d011682016040523d82523d6000602084013e6109fb565b606091505b5050905080610a0957600080fd5b50565b61081b83838360405180602001604052806000815250610f93565b6000610a3260095490565b8210610aa65760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016106c9565b60098281548110610ab957610ab9612c41565b90600052602060002001549050919050565b60006001610ad7611b9c565b6002811115610ae857610ae8612c57565b1415610af45750600590565b50600390565b6000546001600160a01b03163314610b545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b815115610b6457610b6482611bc7565b610b6d81611c34565b5050565b6000818152600360205260408120546001600160a01b0316806105bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106c9565b6000610c07600c5490565b610c149062015180612c83565b905090565b60006001600160a01b038216610c975760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106c9565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610d0d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b610d176000611ca1565b565b6000610d23611389565b610c14906115b3612c9b565b6002600b541415610d825760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b6002600b556000610d94600f83612cb2565b610da590662386f26fc10000612cb2565b90506000610db1611389565b90506001610dbd611b9c565b6002811115610dce57610dce612c57565b14610e1b5760405162461bcd60e51b815260206004820181905260248201527f5075626c69632073616c6520686173206e6f742073746172746564207965742e60448201526064016106c9565b82610e24610d19565b11610e715760405162461bcd60e51b815260206004820152601860248201527f4e6f20656e6f75676874204e465420617661696c61626c65000000000000000060448201526064016106c9565b610e79610acb565b83610e8333610c19565b610e8d9190612c83565b1115610eef5760405162461bcd60e51b815260206004820152602b60248201527f596f75206861766520616c726561647920726561636820746865206d6178206d60448201526a1a5b9d08185b1b1bddd95960aa1b60648201526084016106c9565b81341015610f3f5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742066756e647300000000000000000000000000000060448201526064016106c9565b60015b838111610f6e57610f5c33610f578385612c83565b611cfe565b80610f6681612cd1565b915050610f42565b50506001600b555050565b6060600280546105d190612c06565b610b6d338383611d18565b610f9d33836118c0565b61100f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106c9565b61101b84848484611de7565b50505050565b6000546001600160a01b0316331461107b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b81516001906115b3116110f65760405162461bcd60e51b815260206004820152602f60248201527f43616e2774206169722064726f70206d6f7265207468616e206d6178696d756e60448201527f204e465420617661696c61626c652e000000000000000000000000000000000060648201526084016106c9565b815183511461116d5760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520746f20646566696e6520616c6c206169722064726f702060448201527f616d6d6f756e740000000000000000000000000000000000000000000000000060648201526084016106c9565b60005b835181101561101b5760005b83828151811061118e5761118e612c41565b60200260200101518110156111e0576111c08583815181106111b2576111b2612c41565b602002602001015184611cfe565b826111ca81612cd1565b93505080806111d890612cd1565b91505061117c565b50806111eb81612cd1565b915050611170565b6000818152600360205260409020546060906001600160a01b031661125a5760405162461bcd60e51b815260206004820152601760248201527f54686973204e465420646f65736e27742065786973742e00000000000000000060448201526064016106c9565b600f5460ff166112f657600e805461127190612c06565b80601f016020809104026020016040519081016040528092919081815260200182805461129d90612c06565b80156112ea5780601f106112bf576101008083540402835291602001916112ea565b820191906000526020600020905b8154815290600101906020018083116112cd57829003601f168201915b50505050509050919050565b6000611300611e65565b905060008151116113205760405180602001604052806000815250611382565b8061132a84611e74565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161137293929190612cec565b6040516020818303038152906040525b9392505050565b6000610c1460095490565b6002600b5414156113e75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106c9565b6002600b5560006113f9600f85612cb2565b61140a90662386f26fc10000612cb2565b90506000611416611389565b90506000611422611b9c565b600281111561143357611433612c57565b146114805760405162461bcd60e51b815260206004820152601d60248201527f5072652073616c6520686173206e6f742073746172746564207965742e00000060448201526064016106c9565b61148b338585611fa6565b6114d75760405162461bcd60e51b815260206004820152601460248201527f4e6f74206f6e207468652077686974656c69737400000000000000000000000060448201526064016106c9565b846114e0610d19565b1161152d5760405162461bcd60e51b815260206004820152601860248201527f4e6f20656e6f75676874204e465420617661696c61626c65000000000000000060448201526064016106c9565b611535610acb565b8561153f33610c19565b6115499190612c83565b11156115ab5760405162461bcd60e51b815260206004820152602b60248201527f596f75206861766520616c726561647920726561636820746865206d6178206d60448201526a1a5b9d08185b1b1bddd95960aa1b60648201526084016106c9565b813410156115fb5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742066756e647300000000000000000000000000000060448201526064016106c9565b60015b8581116116255761161333610f578385612c83565b8061161d81612cd1565b9150506115fe565b50506001600b5550505050565b6060600161163e611b9c565b600281111561164f5761164f612c57565b141561168d575060408051808201909152600b81527f5055424c49435f53414c45000000000000000000000000000000000000000000602082015290565b5060408051808201909152600781527f50524553414c4500000000000000000000000000000000000000000000000000602082015290565b6000546001600160a01b0316331461171f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b6001600160a01b03811661179b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106c9565b610a0981611ca1565b3b151590565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061180d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105bc57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146105bc565b6000818152600560205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061188782610b71565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166119395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c9565b600061194483610b71565b9050806001600160a01b0316846001600160a01b0316148061197f5750836001600160a01b031661197484610654565b6001600160a01b0316145b806119af57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119ca82610b71565b6001600160a01b031614611a465760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106c9565b6001600160a01b038216611ac15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106c9565b611acc83838361202f565b611ad7600082611845565b6001600160a01b0383166000908152600460205260408120805460019290611b00908490612c9b565b90915550506001600160a01b0382166000908152600460205260408120805460019290611b2e908490612c83565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611ba6610bfc565b4210611bb25750600190565b600c544210611bc15750600090565b50600290565b6000546001600160a01b03163314611c215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b8051610b6d90600d90602084019061266a565b6000546001600160a01b03163314611c8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c9565b600f805460ff1916911515919091179055565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610b6d8282604051806020016040528060008152506120e7565b816001600160a01b0316836001600160a01b03161415611d7a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c9565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611df28484846119b7565b611dfe84848484612165565b61101b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106c9565b6060600d80546105d190612c06565b606081611eb457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611ede5780611ec881612cd1565b9150611ed79050600a83612d45565b9150611eb8565b60008167ffffffffffffffff811115611ef957611ef961283c565b6040519080825280601f01601f191660200182016040528015611f23576020820181803683370190505b5090505b84156119af57611f38600183612c9b565b9150611f45600a86612d59565b611f50906030612c83565b60f81b818381518110611f6557611f65612c41565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f9f600a86612d45565b9450611f27565b600060105460001415611fba5760016119af565b60408051606086901b6bffffffffffffffffffffffff191660208083019190915282516014818403018152603490920190925280519101206119af908484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506122ae92505050565b6001600160a01b03831661208a5761208581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6120ad565b816001600160a01b0316836001600160a01b0316146120ad576120ad83826122bd565b6001600160a01b0382166120c45761081b8161235a565b826001600160a01b0316826001600160a01b03161461081b5761081b8282612409565b6120f1838361244d565b6120fe6000848484612165565b61081b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106c9565b60006001600160a01b0384163b156122a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121a9903390899088908890600401612d6d565b6020604051808303816000875af19250505080156121e4575060408051601f3d908101601f191682019092526121e191810190612da9565b60015b612289573d808015612212576040519150601f19603f3d011682016040523d82523d6000602084013e612217565b606091505b5080516122815760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106c9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119af565b506001949350505050565b600061138282601054856125a8565b600060016122ca84610c19565b6122d49190612c9b565b600083815260086020526040902054909150808214612327576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061236c90600190612c9b565b6000838152600a60205260408120546009805493945090928490811061239457612394612c41565b9060005260206000200154905080600983815481106123b5576123b5612c41565b6000918252602080832090910192909255828152600a909152604080822084905585825281205560098054806123ed576123ed612dc6565b6001900381819060005260206000200160009055905550505050565b600061241483610c19565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166124a35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c9565b6000818152600360205260409020546001600160a01b0316156125085760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c9565b6125146000838361202f565b6001600160a01b038216600090815260046020526040812080546001929061253d908490612c83565b9091555050600081815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000826125b585846125be565b14949350505050565b600081815b84518110156126625760008582815181106125e0576125e0612c41565b6020026020010151905080831161262257604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061264f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061265a81612cd1565b9150506125c3565b509392505050565b82805461267690612c06565b90600052602060002090601f01602090048101928261269857600085556126de565b82601f106126b157805160ff19168380011785556126de565b828001600101855582156126de579182015b828111156126de5782518255916020019190600101906126c3565b506126ea9291506126ee565b5090565b5b808211156126ea57600081556001016126ef565b6001600160e01b031981168114610a0957600080fd5b60006020828403121561272b57600080fd5b813561138281612703565b60005b83811015612751578181015183820152602001612739565b8381111561101b5750506000910152565b6000815180845261277a816020860160208601612736565b601f01601f19169290920160200192915050565b6020815260006113826020830184612762565b6000602082840312156127b357600080fd5b5035919050565b80356001600160a01b03811681146127d157600080fd5b919050565b600080604083850312156127e957600080fd5b6127f2836127ba565b946020939093013593505050565b60008060006060848603121561281557600080fd5b61281e846127ba565b925061282c602085016127ba565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561287b5761287b61283c565b604052919050565b600067ffffffffffffffff83111561289d5761289d61283c565b6128b0601f8401601f1916602001612852565b90508281528383830111156128c457600080fd5b828260208301376000602084830101529392505050565b803580151581146127d157600080fd5b600080604083850312156128fe57600080fd5b823567ffffffffffffffff81111561291557600080fd5b8301601f8101851361292657600080fd5b61293585823560208401612883565b925050612944602084016128db565b90509250929050565b60006020828403121561295f57600080fd5b611382826127ba565b6000806040838503121561297b57600080fd5b612984836127ba565b9150612944602084016128db565b600080600080608085870312156129a857600080fd5b6129b1856127ba565b93506129bf602086016127ba565b925060408501359150606085013567ffffffffffffffff8111156129e257600080fd5b8501601f810187136129f357600080fd5b612a0287823560208401612883565b91505092959194509250565b600067ffffffffffffffff821115612a2857612a2861283c565b5060051b60200190565b600082601f830112612a4357600080fd5b81356020612a58612a5383612a0e565b612852565b82815260059290921b84018101918181019086841115612a7757600080fd5b8286015b84811015612a925780358352918301918301612a7b565b509695505050505050565b60008060408385031215612ab057600080fd5b823567ffffffffffffffff80821115612ac857600080fd5b818501915085601f830112612adc57600080fd5b81356020612aec612a5383612a0e565b82815260059290921b84018101918181019089841115612b0b57600080fd5b948201945b83861015612b3057612b21866127ba565b82529482019490820190612b10565b96505086013592505080821115612b4657600080fd5b50612b5385828601612a32565b9150509250929050565b600080600060408486031215612b7257600080fd5b83359250602084013567ffffffffffffffff80821115612b9157600080fd5b818601915086601f830112612ba557600080fd5b813581811115612bb457600080fd5b8760208260051b8501011115612bc957600080fd5b6020830194508093505050509250925092565b60008060408385031215612bef57600080fd5b612bf8836127ba565b9150612944602084016127ba565b600181811c90821680612c1a57607f821691505b60208210811415612c3b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612c9657612c96612c6d565b500190565b600082821015612cad57612cad612c6d565b500390565b6000816000190483118215151615612ccc57612ccc612c6d565b500290565b6000600019821415612ce557612ce5612c6d565b5060010190565b60008451612cfe818460208901612736565b845190830190612d12818360208901612736565b8451910190612d25818360208801612736565b0195945050505050565b634e487b7160e01b600052601260045260246000fd5b600082612d5457612d54612d2f565b500490565b600082612d6857612d68612d2f565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612d9f6080830184612762565b9695505050505050565b600060208284031215612dbb57600080fd5b815161138281612703565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220a7c05934128ffdb2232b0fe1fe7e6d6f9f8306b1af5889e8a1e7f14295fb330a64736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000062050c500000000000000000000000000000000000000000000000000000000000000180b9de039367b0aa19a0003a5d6ee776617894843bcc2deee86cf3378ce0233ba3000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000000f416c69656e204b69647320436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003414b4300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f516d62764a44557a4e74655966475a4d38756e684d43506e534747703336477448323961506d71614c72726e4a442f756e72657665616c2e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000006f9cfacca63145c906fae462433aa1d1f147eec9000000000000000000000000d47f5b1a1324aa32bda3e58a65e5c858cef74be3000000000000000000000000bf4a1bc3b6925ace9531726932e1eb95636d86c400000000000000000000000022b14dc7f0ceea32e9968395017f65dc722b2367000000000000000000000000ecd10bad7e750f6b6a198ec0476746538bf3272e000000000000000000000000783dbc5b46123e7fcfcfb50de226126e1c7fdd3700000000000000000000000058f9339a3987e235ec1f83d23e6132af352ec017000000000000000000000000a563ccad333571ac69f9a92cb1163f8237282a34000000000000000000000000f515181126624fb9263298f74bda4ccdfe4d5b6b0000000000000000000000003d4b544c74f655fdc3513134dd8e0389248229bd00000000000000000000000096a8db654245310baef4129f331b6bfc909ecb890000000000000000000000000038e5fc56cd10c3a5f4d27f321fe9d7ccb8a052000000000000000000000000bba63c658fa2ab1717e4350cacfcd9044d0bbda5000000000000000000000000f3ef688ca9f0d6588c59fc517c79682c7ca403f1000000000000000000000000bba63c658fa2ab1717e4350cacfcd9044d0bbda500000000000000000000000052d2b40e4fe912a638cd12a8de68720fc693c791000000000000000000000000d1d098324c5b5bc33716db941b2ac73fef427bb000000000000000000000000026eec48c404367f81b9e8ebb4e44ee092c1fe0020000000000000000000000009aec6168f6830cbde27c2d09d27f3b0ae13686150000000000000000000000006f66f8a781d0fe6e136ea914c4c87ceced20e801000000000000000000000000eff1de762f12f1fbfa547b8e14ee4da03633a3cc00000000000000000000000012f3ab830cdd9db348a06a8eda0619a9c2ec10b80000000000000000000000007c847bb2739d666d336153a3d61fad1c4dad5d8600000000000000000000000049303ffe383ebab6cafd2175e2efcdb753ba6ecf000000000000000000000000036863a5a05c5a7ebd2553824cb040aaa2a6d687000000000000000000000000747f410e3c72deefb75c4b0d347c0dd08fcc86920000000000000000000000004d6f9f46709c42e3fabce3fe13980ad5217645f6000000000000000000000000460222699cfa613a582de2580fbb4b8d4ec87894000000000000000000000000ef1ee055b38485a45176dace2d119f17161b8a2b00000000000000000000000033e0cc3289162a9e16b0b4117b8923d2c1923fe100000000000000000000000094358a5a825c531d6058ad9dce39a417eaed97b6000000000000000000000000321da1030cdd83a324bb1bc8e1ed7f45140498370000000000000000000000006d41252372f7cb851833e751f2a1ae86a7ff4ee5000000000000000000000000f2b7c65286133d9bff18e8cdb2ccc27082c1a3ef000000000000000000000000387837cd8987a038565b26de491339d17a668745000000000000000000000000817591156049d00cc8ea07e21738826c035b874f00000000000000000000000034a498fb84f9406d5a6d5e28c5910ea4ab91840400000000000000000000000038194efc245e30882a8df933f327fbb5a2dedf8b0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002

-----Decoded View---------------
Arg [0] : name (string): Alien Kids Club
Arg [1] : symbol (string): AKC
Arg [2] : preSaleDate (uint256): 1644498000
Arg [3] : notRevealedURI (string): ipfs://QmbvJDUzNteYfGZM8unhMCPnSGGp36GtH29aPmqaLrrnJD/unreveal.json
Arg [4] : root (bytes32): 0xb9de039367b0aa19a0003a5d6ee776617894843bcc2deee86cf3378ce0233ba3
Arg [5] : revealedURI (string):
Arg [6] : airDrop (address[]): 0x6f9cFAccA63145c906fAE462433Aa1d1F147eec9,0xd47f5b1A1324Aa32Bda3e58A65e5C858CEF74bE3,0xbf4A1BC3B6925AcE9531726932e1Eb95636d86c4,0x22B14Dc7F0CEEA32E9968395017F65dc722B2367,0xECd10BaD7e750f6b6a198EC0476746538bF3272e,0x783Dbc5b46123E7fcfcFb50de226126e1C7Fdd37,0x58F9339a3987e235ec1f83d23E6132Af352ec017,0xa563cCad333571aC69f9a92CB1163f8237282a34,0xF515181126624fb9263298f74bDA4cCdfe4D5b6B,0x3d4B544c74f655fDC3513134dD8E0389248229bd,0x96A8Db654245310baef4129f331b6BFC909ecB89,0x0038E5fC56Cd10C3a5f4D27F321FE9D7CcB8A052,0xBbA63c658Fa2Ab1717E4350CacFcD9044D0BbDa5,0xf3eF688cA9F0d6588c59fc517C79682c7cA403f1,0xBbA63c658Fa2Ab1717E4350CacFcD9044D0BbDa5,0x52D2B40e4Fe912a638cd12A8de68720Fc693c791,0xd1D098324c5b5BC33716dB941B2Ac73fef427BB0,0x26eeC48C404367f81B9e8eBB4E44ee092c1FE002,0x9aec6168F6830cBdE27c2D09D27F3b0aE1368615,0x6F66F8A781d0FE6e136Ea914C4c87cECeD20e801,0xEfF1DE762f12f1FBFA547b8E14EE4Da03633a3cC,0x12F3Ab830cdd9Db348A06a8eDa0619A9c2EC10b8,0x7C847bB2739D666d336153A3d61faD1C4Dad5d86,0x49303Ffe383EBAB6CaFD2175E2EfcdB753BA6eCf,0x036863A5A05c5A7EbD2553824Cb040aAa2a6D687,0x747F410e3c72DEefB75c4B0D347C0Dd08fcC8692,0x4d6F9f46709c42e3FABCE3FE13980AD5217645F6,0x460222699cfA613A582DE2580Fbb4b8d4Ec87894,0xEf1Ee055B38485A45176daCE2d119f17161B8A2b,0x33E0cc3289162A9e16b0b4117B8923d2C1923FE1,0x94358A5A825C531d6058Ad9DCE39a417EaEd97B6,0x321DA1030cdD83a324bb1bc8e1eD7F4514049837,0x6D41252372f7Cb851833E751F2a1AE86A7ff4eE5,0xf2B7C65286133D9BfF18e8CdB2CCc27082C1a3eF,0x387837CD8987a038565B26De491339d17a668745,0x817591156049d00Cc8eA07e21738826c035b874F,0x34A498fb84f9406D5a6d5e28C5910Ea4AB918404,0x38194EfC245E30882a8Df933f327fBB5a2DeDF8b
Arg [7] : airDropAmmount (uint256[]): 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,9,2,2

-----Encoded View---------------
95 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000062050c50
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : b9de039367b0aa19a0003a5d6ee776617894843bcc2deee86cf3378ce0233ba3
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000700
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [9] : 416c69656e204b69647320436c75620000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 414b430000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [13] : 697066733a2f2f516d62764a44557a4e74655966475a4d38756e684d43506e53
Arg [14] : 4747703336477448323961506d71614c72726e4a442f756e72657665616c2e6a
Arg [15] : 736f6e0000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [18] : 0000000000000000000000006f9cfacca63145c906fae462433aa1d1f147eec9
Arg [19] : 000000000000000000000000d47f5b1a1324aa32bda3e58a65e5c858cef74be3
Arg [20] : 000000000000000000000000bf4a1bc3b6925ace9531726932e1eb95636d86c4
Arg [21] : 00000000000000000000000022b14dc7f0ceea32e9968395017f65dc722b2367
Arg [22] : 000000000000000000000000ecd10bad7e750f6b6a198ec0476746538bf3272e
Arg [23] : 000000000000000000000000783dbc5b46123e7fcfcfb50de226126e1c7fdd37
Arg [24] : 00000000000000000000000058f9339a3987e235ec1f83d23e6132af352ec017
Arg [25] : 000000000000000000000000a563ccad333571ac69f9a92cb1163f8237282a34
Arg [26] : 000000000000000000000000f515181126624fb9263298f74bda4ccdfe4d5b6b
Arg [27] : 0000000000000000000000003d4b544c74f655fdc3513134dd8e0389248229bd
Arg [28] : 00000000000000000000000096a8db654245310baef4129f331b6bfc909ecb89
Arg [29] : 0000000000000000000000000038e5fc56cd10c3a5f4d27f321fe9d7ccb8a052
Arg [30] : 000000000000000000000000bba63c658fa2ab1717e4350cacfcd9044d0bbda5
Arg [31] : 000000000000000000000000f3ef688ca9f0d6588c59fc517c79682c7ca403f1
Arg [32] : 000000000000000000000000bba63c658fa2ab1717e4350cacfcd9044d0bbda5
Arg [33] : 00000000000000000000000052d2b40e4fe912a638cd12a8de68720fc693c791
Arg [34] : 000000000000000000000000d1d098324c5b5bc33716db941b2ac73fef427bb0
Arg [35] : 00000000000000000000000026eec48c404367f81b9e8ebb4e44ee092c1fe002
Arg [36] : 0000000000000000000000009aec6168f6830cbde27c2d09d27f3b0ae1368615
Arg [37] : 0000000000000000000000006f66f8a781d0fe6e136ea914c4c87ceced20e801
Arg [38] : 000000000000000000000000eff1de762f12f1fbfa547b8e14ee4da03633a3cc
Arg [39] : 00000000000000000000000012f3ab830cdd9db348a06a8eda0619a9c2ec10b8
Arg [40] : 0000000000000000000000007c847bb2739d666d336153a3d61fad1c4dad5d86
Arg [41] : 00000000000000000000000049303ffe383ebab6cafd2175e2efcdb753ba6ecf
Arg [42] : 000000000000000000000000036863a5a05c5a7ebd2553824cb040aaa2a6d687
Arg [43] : 000000000000000000000000747f410e3c72deefb75c4b0d347c0dd08fcc8692
Arg [44] : 0000000000000000000000004d6f9f46709c42e3fabce3fe13980ad5217645f6
Arg [45] : 000000000000000000000000460222699cfa613a582de2580fbb4b8d4ec87894
Arg [46] : 000000000000000000000000ef1ee055b38485a45176dace2d119f17161b8a2b
Arg [47] : 00000000000000000000000033e0cc3289162a9e16b0b4117b8923d2c1923fe1
Arg [48] : 00000000000000000000000094358a5a825c531d6058ad9dce39a417eaed97b6
Arg [49] : 000000000000000000000000321da1030cdd83a324bb1bc8e1ed7f4514049837
Arg [50] : 0000000000000000000000006d41252372f7cb851833e751f2a1ae86a7ff4ee5
Arg [51] : 000000000000000000000000f2b7c65286133d9bff18e8cdb2ccc27082c1a3ef
Arg [52] : 000000000000000000000000387837cd8987a038565b26de491339d17a668745
Arg [53] : 000000000000000000000000817591156049d00cc8ea07e21738826c035b874f
Arg [54] : 00000000000000000000000034a498fb84f9406d5a6d5e28c5910ea4ab918404
Arg [55] : 00000000000000000000000038194efc245e30882a8df933f327fbb5a2dedf8b
Arg [56] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [57] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [58] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [59] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [60] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [61] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [62] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [63] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [64] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [65] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [66] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [67] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [68] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [69] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [70] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [71] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [72] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [73] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [74] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [75] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [76] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [77] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [78] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [79] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [80] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [81] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [82] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [83] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [84] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [85] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [86] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [87] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [88] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [89] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [90] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [91] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [92] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [93] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [94] : 0000000000000000000000000000000000000000000000000000000000000002


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.