ETH Price: $2,860.93 (+7.79%)
 

Overview

TokenID

678

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Hedz is a new collection of 1,000 NFTs from the illustrious creator of Pepe the frog, Matt Furie. Each Hedz is a hand-drawn, 1/1 work of love with a unique name.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Hedz

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

/// @title: Hedz
/// @notice: https://www.hedz.fun
/// @author ediv <https://github.com/ed-iv>

//////////////////////////////////////////////////
//    __    __  ________  _______   ________    //
//   /  |  /  |/        |/       \ /        |   //
//   $$ |  $$ |$$$$$$$$/ $$$$$$$  |$$$$$$$$/    //
//   $$ |__$$ |$$ |__    $$ |  $$ |    /$$/     //
//   $$    $$ |$$    |   $$ |  $$ |   /$$/      //
//   $$$$$$$$ |$$$$$/    $$ |  $$ |  /$$/       // 
//   $$ |  $$ |$$ |_____ $$ |__$$ | /$$/____    //
//   $$ |  $$ |$$       |$$    $$/ /$$      |   //
//   $$/   $$/ $$$$$$$$/ $$$$$$$/  $$$$$$$$/    //
//                                              //
//////////////////////////////////////////////////
//        Matt Furie x Chain/Saw 2022           //
//////////////////////////////////////////////////
                                        
import "./Revelator.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "erc721a/contracts/ERC721A.sol";

enum MintPhase {
    Paused,
    Collectors,
    Community,
    Public
}

error AlreadyClaimed();
error AlreadyRevealed();
error IncorrectMintPhase();
error IncorrectMintPrice();
error InvalidMintPhase();
error InvalidProof();
error MerkleRootNotSet();
error MetadataFrozen();
error OutOfHedz();
error TooManyHedz();

contract Hedz is ERC721A, Ownable, Revelator {
    using BitMaps for BitMaps.BitMap;
    using Strings for uint256;
    
    uint256 constant HEDZ_SUPPLY = 1000;
    uint256 constant MINT_PRICE = 0.666 ether;
    uint256 constant PUB_MINT_LIMIT = 3;
    bool public metadataFrozen = false;
    MintPhase public mintPhase = MintPhase.Paused;
    string baseTokenURI;
    mapping(MintPhase => bytes32) public merkleRoots;    
    mapping(bytes32 => BitMaps.BitMap) private _claimed;

    constructor(
        string memory _baseTokenURI,
        address _vrfCoordinator,
        bytes32 _keyHash,
        uint64 _subscriptionId,            
        bytes32 _merkleRoot
    ) ERC721A("Hedz", "HEDZ") Revelator(_vrfCoordinator, _keyHash, _subscriptionId) {
        baseTokenURI = _baseTokenURI;
        merkleRoots[MintPhase.Collectors] = _merkleRoot;
    }

    modifier whileSuppliesLast(uint256 amount) {
        if (_totalMinted() + amount > HEDZ_SUPPLY) revert OutOfHedz();
        if (msg.value != amount * MINT_PRICE) revert IncorrectMintPrice();
        _;
    }

    /// @notice Allows whitelisted minters to mint up to amountAllocated during various phases of mint.
    function preMint(
        uint256 index, 
        bytes32[] calldata proof, 
        uint256 amountAllocated, 
        uint256 amountRequested
    ) external payable whileSuppliesLast(amountRequested) {        
        if (mintPhase != MintPhase.Collectors && mintPhase != MintPhase.Community) revert IncorrectMintPhase();
        bytes32 merkleRoot = merkleRoots[mintPhase];
        if (_claimed[merkleRoot].get(index)) revert AlreadyClaimed();

        bytes32 node = keccak256(abi.encodePacked(msg.sender, index, amountAllocated));        
        if (!MerkleProof.verify(proof, merkleRoot, node)) revert InvalidProof();
        if (amountRequested > amountAllocated) revert TooManyHedz();
            
        _claimed[merkleRoot].set(index);
        _safeMint(msg.sender, amountRequested);
    }

    /// @notice Mint some Hedz. Limited to 3 per transaction while supplies last.
    function mint(uint256 amount) external payable whileSuppliesLast(amount) {        
        if (mintPhase != MintPhase.Public) revert IncorrectMintPhase();
        if (amount > PUB_MINT_LIMIT) revert TooManyHedz();        
        _safeMint(msg.sender, amount);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
        if (revealed) {
            uint256 metaIndex = 1 + ((tokenId + metaOffset) % 1000);            
            return string(abi.encodePacked(baseTokenURI, "/", metaIndex.toString(),".json"));
        }
        return string(abi.encodePacked(baseTokenURI, "/placeholder.json"));
    }

    /// @notice Check whether address with specified index has already minted during _mintPhase
    function isClaimed(MintPhase _mintPhase, uint256 index) external view returns (bool) {
        bytes32 merkleRoot = merkleRoots[_mintPhase];
        return _claimed[merkleRoot].get(index);
    }

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

    // Owner stuff:

    function setBaseTokenURI(string calldata _baseTokenURI) external onlyOwner {
        if (metadataFrozen) revert MetadataFrozen();
        baseTokenURI = _baseTokenURI;
    }

    /// @notice Irrevocably freeze metadata. 
    function freezeMetadata() external onlyOwner {
        metadataFrozen = true;
    }

    /// @notice Set merkle root for specified mint phase.
    function setMerkleRoot(MintPhase _mintPhase, bytes32 merkleRoot) external onlyOwner {
        if (_mintPhase != MintPhase.Collectors && _mintPhase != MintPhase.Community)
            revert InvalidMintPhase();
        merkleRoots[_mintPhase] = merkleRoot;
    }

    /// @notice Change the current mint phase.
    /// @dev Switching to a whitelisted mint phase requires that a valid (non-zero) merkle root is set .
    function setMintPhase(MintPhase _mintPhase) external onlyOwner {
        if (_mintPhase == MintPhase.Collectors && merkleRoots[MintPhase.Collectors] == 0x0)
            revert MerkleRootNotSet();
        if (_mintPhase == MintPhase.Community && merkleRoots[MintPhase.Community] == 0x0)
            revert MerkleRootNotSet();
        mintPhase = _mintPhase;
    }

    /// @notice Randomize and reveal Hedz. Any unmited Hedz will be minted to contract owner.
    function reveal() external onlyOwner {
        if (revealed) revert AlreadyRevealed();
        uint256 leftOvers = HEDZ_SUPPLY - _totalMinted();
        if (leftOvers > 0) _safeMint(owner(), leftOvers);
        _reveal();
    }

    /// @notice Manually toggle reveal status. For use in case of fuck-ups w/ random reveal or metadata.
    function toggleReveal() external onlyOwner {
        revealed = !revealed;
    }

    /// @notice Adjust ChainLink Coordinator parameters.
    function setCoordinatorConfig(
        address _vrfCoordinator, 
        bytes32 _keyHash,
        uint64 _subscriptionId,        
        uint32 _gasCallbackLimit
    ) external onlyOwner {
        _setCoordinatorConfig(_vrfCoordinator, _keyHash, _subscriptionId, _gasCallbackLimit);
    }

    /// @notice Get that Hedz money.
    function withdraw() public onlyOwner {
	    (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
		require(success);
	}

    // Overrides:

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
}

File 2 of 14 : Revelator.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";

contract Revelator is VRFConsumerBaseV2 {
    
    event RequestedRandomness(uint256 requestId, address invoker);
    
    VRFCoordinatorV2Interface private vrfCoordinator;
    bytes32 internal keyHash;
    uint64 internal subscriptionId;
    uint16 internal requestConfirmations = 3;
    uint32 internal callbackGasLimit;
    uint32 internal numWords =  1;    
    uint256 public metaOffset;
    bool public revealed;

    constructor(
        address _vrfCoordinator, 
        bytes32 _keyHash, 
        uint64 _subscriptionId
    ) VRFConsumerBaseV2(_vrfCoordinator) {
        _setCoordinatorConfig(_vrfCoordinator, _keyHash, _subscriptionId, 200000);
    }

    function _reveal() internal {
        uint256 requestId = vrfCoordinator.requestRandomWords(
            keyHash,
            subscriptionId,
            requestConfirmations,
            callbackGasLimit,
            numWords
        );
        emit RequestedRandomness(requestId, msg.sender);
    }

    function _setCoordinatorConfig(
        address _vrfCoordinator, 
        bytes32 _keyHash,
        uint64 _subscriptionId,        
        uint32 _gasCallbackLimit
    ) internal {
        vrfCoordinator = VRFCoordinatorV2Interface(_vrfCoordinator);        
        keyHash = _keyHash;
        subscriptionId = _subscriptionId;            
        callbackGasLimit = _gasCallbackLimit;
    }

    function fulfillRandomWords(
        uint256 requestId, 
        uint256[] memory randomWords
    ) internal override {        
        metaOffset = randomWords[0] % 1000;
        revealed = true;
    }
}

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 4 of 14 : 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 5 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * 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;

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

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

File 6 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 8 of 14 : BitMaps.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/BitMaps.sol)
pragma solidity ^0.8.0;

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */
library BitMaps {
    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }
}

File 9 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 10 of 14 : VRFConsumerBaseV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

File 11 of 14 : VRFCoordinatorV2Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

File 14 of 14 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"},{"internalType":"uint64","name":"_subscriptionId","type":"uint64"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"AlreadyRevealed","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"IncorrectMintPhase","type":"error"},{"inputs":[],"name":"IncorrectMintPrice","type":"error"},{"inputs":[],"name":"InvalidMintPhase","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"MerkleRootNotSet","type":"error"},{"inputs":[],"name":"MetadataFrozen","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"inputs":[],"name":"OutOfHedz","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TooManyHedz","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":false,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"address","name":"invoker","type":"address"}],"name":"RequestedRandomness","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":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum MintPhase","name":"_mintPhase","type":"uint8"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum MintPhase","name":"","type":"uint8"}],"name":"merkleRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metaOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPhase","outputs":[{"internalType":"enum MintPhase","name":"","type":"uint8"}],"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":"index","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amountAllocated","type":"uint256"},{"internalType":"uint256","name":"amountRequested","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"},{"internalType":"uint64","name":"_subscriptionId","type":"uint64"},{"internalType":"uint32","name":"_gasCallbackLimit","type":"uint32"}],"name":"setCoordinatorConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum MintPhase","name":"_mintPhase","type":"uint8"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum MintPhase","name":"_mintPhase","type":"uint8"}],"name":"setMintPhase","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":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526003600b60086101000a81548161ffff021916908361ffff1602179055506001600b600e6101000a81548163ffffffff021916908363ffffffff1602179055506000600d60016101000a81548160ff0219169083151502179055506000600d60026101000a81548160ff021916908360038111156200008857620000876200046f565b5b02179055503480156200009a57600080fd5b5060405162004651380380620046518339818101604052810190620000c0919062000720565b838383826040518060400160405280600481526020017f4865647a000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4845445a00000000000000000000000000000000000000000000000000000000815250816002908051906020019062000148929190620003bf565b50806003908051906020019062000161929190620003bf565b50620001726200025060201b60201c565b60008190555050506200019a6200018e6200025960201b60201c565b6200026160201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050620001e683838362030d406200032760201b60201c565b50505084600e908051906020019062000201929190620003bf565b5080600f6000600160038111156200021e576200021d6200046f565b5b60038111156200023357620002326200046f565b5b81526020019081526020016000208190555050505050506200082c565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b83600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a8190555081600b60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600b600a6101000a81548163ffffffff021916908363ffffffff16021790555050505050565b828054620003cd90620007f6565b90600052602060002090601f016020900481019282620003f157600085556200043d565b82601f106200040c57805160ff19168380011785556200043d565b828001600101855582156200043d579182015b828111156200043c5782518255916020019190600101906200041f565b5b5090506200044c919062000450565b5090565b5b808211156200046b57600081600090555060010162000451565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200050782620004bc565b810181811067ffffffffffffffff82111715620005295762000528620004cd565b5b80604052505050565b60006200053e6200049e565b90506200054c8282620004fc565b919050565b600067ffffffffffffffff8211156200056f576200056e620004cd565b5b6200057a82620004bc565b9050602081019050919050565b60005b83811015620005a75780820151818401526020810190506200058a565b83811115620005b7576000848401525b50505050565b6000620005d4620005ce8462000551565b62000532565b905082815260208101848484011115620005f357620005f2620004b7565b5b6200060084828562000587565b509392505050565b600082601f83011262000620576200061f620004b2565b5b815162000632848260208601620005bd565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000668826200063b565b9050919050565b6200067a816200065b565b81146200068657600080fd5b50565b6000815190506200069a816200066f565b92915050565b6000819050919050565b620006b581620006a0565b8114620006c157600080fd5b50565b600081519050620006d581620006aa565b92915050565b600067ffffffffffffffff82169050919050565b620006fa81620006db565b81146200070657600080fd5b50565b6000815190506200071a81620006ef565b92915050565b600080600080600060a086880312156200073f576200073e620004a8565b5b600086015167ffffffffffffffff81111562000760576200075f620004ad565b5b6200076e8882890162000608565b9550506020620007818882890162000689565b94505060406200079488828901620006c4565b9350506060620007a78882890162000709565b9250506080620007ba88828901620006c4565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200080f57607f821691505b60208210811415620008265762000825620007c7565b5b50919050565b608051613e026200084f60003960008181610b2a0152610b7e0152613e026000f3fe6080604052600436106101f95760003560e01c806354d77e0e1161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd146106c7578063d111515d14610704578063e985e9c51461071b578063f2fde38b14610758578063fb3cc6c214610781576101f9565b8063a0712d6814610642578063a22cb4651461065e578063a475b5dd14610687578063b88d4fde1461069e576101f9565b8063715018a6116100dc578063715018a6146105ac5780637a231d6b146105c35780638da5cb5b146105ec57806395d89b4114610617576101f9565b806354d77e0e146104f25780635b8ad4291461051b5780636352211e1461053257806370a082311461056f576101f9565b806323b872dd1161019057806333731c991161015f57806333731c991461042e5780633ccfd60b1461044a57806341e5fb401461046157806342842e0e1461049e57806351830227146104c7576101f9565b806323b872dd146103885780632915d9af146103b157806330176e13146103dc57806331c07bbf14610405576101f9565b806317881cbf116101cc57806317881cbf146102cc57806318160ddd146102f75780631e7517a6146103225780631fe543e31461035f576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612aa8565b6107ac565b6040516102329190612af0565b60405180910390f35b34801561024757600080fd5b5061025061083e565b60405161025d9190612ba4565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612bfc565b6108d0565b60405161029a9190612c6a565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612cb1565b61094f565b005b3480156102d857600080fd5b506102e1610a93565b6040516102ee9190612d68565b60405180910390f35b34801561030357600080fd5b5061030c610aa6565b6040516103199190612d92565b60405180910390f35b34801561032e57600080fd5b5061034960048036038101906103449190612dd2565b610abd565b6040516103569190612af0565b60405180910390f35b34801561036b57600080fd5b5061038660048036038101906103819190612f5a565b610b28565b005b34801561039457600080fd5b506103af60048036038101906103aa9190612fb6565b610be8565b005b3480156103bd57600080fd5b506103c6610f0d565b6040516103d39190612d92565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe9190613064565b610f13565b005b34801561041157600080fd5b5061042c600480360381019061042791906130b1565b610f78565b005b61044860048036038101906104439190613134565b6110f7565b005b34801561045657600080fd5b5061045f61140c565b005b34801561046d57600080fd5b50610488600480360381019061048391906130b1565b61148d565b60405161049591906131d5565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190612fb6565b6114a5565b005b3480156104d357600080fd5b506104dc6114c5565b6040516104e99190612af0565b60405180910390f35b3480156104fe57600080fd5b506105196004803603810190610514919061321c565b6114d8565b005b34801561052757600080fd5b506105306115b1565b005b34801561053e57600080fd5b5061055960048036038101906105549190612bfc565b6115e5565b6040516105669190612c6a565b60405180910390f35b34801561057b57600080fd5b506105966004803603810190610591919061325c565b6115f7565b6040516105a39190612d92565b60405180910390f35b3480156105b857600080fd5b506105c16116b0565b005b3480156105cf57600080fd5b506105ea60048036038101906105e59190613305565b6116c4565b005b3480156105f857600080fd5b506106016116de565b60405161060e9190612c6a565b60405180910390f35b34801561062357600080fd5b5061062c611708565b6040516106399190612ba4565b60405180910390f35b61065c60048036038101906106579190612bfc565b61179a565b005b34801561066a57600080fd5b5061068560048036038101906106809190613398565b6118ea565b005b34801561069357600080fd5b5061069c611a62565b005b3480156106aa57600080fd5b506106c560048036038101906106c0919061348d565b611af0565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190612bfc565b611b63565b6040516106fb9190612ba4565b60405180910390f35b34801561071057600080fd5b50610719611c40565b005b34801561072757600080fd5b50610742600480360381019061073d9190613510565b611c65565b60405161074f9190612af0565b60405180910390f35b34801561076457600080fd5b5061077f600480360381019061077a919061325c565b611cf9565b005b34801561078d57600080fd5b50610796611d7d565b6040516107a39190612af0565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108375750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461084d9061357f565b80601f01602080910402602001604051908101604052809291908181526020018280546108799061357f565b80156108c65780601f1061089b576101008083540402835291602001916108c6565b820191906000526020600020905b8154815290600101906020018083116108a957829003601f168201915b5050505050905090565b60006108db82611d90565b610911576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095a826115e5565b90508073ffffffffffffffffffffffffffffffffffffffff1661097b611def565b73ffffffffffffffffffffffffffffffffffffffff16146109de576109a7816109a2611def565b611c65565b6109dd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d60029054906101000a900460ff1681565b6000610ab0611df7565b6001546000540303905090565b600080600f6000856003811115610ad757610ad6612cf1565b5b6003811115610ae957610ae8612cf1565b5b8152602001908152602001600020549050610b1f8360106000848152602001908152602001600020611e0090919063ffffffff16565b91505092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bda57337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610bd19291906135b1565b60405180910390fd5b610be48282611e3c565b5050565b6000610bf382611e8a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c6684611f58565b91509150610c7c8187610c77611def565b611f7f565b610cc857610c9186610c8c611def565b611c65565b610cc7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d2f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d3c8686866001611fc3565b8015610d4757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e1585610df1888887611fc9565b7c020000000000000000000000000000000000000000000000000000000017611ff1565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e9d576000600185019050600060046000838152602001908152602001600020541415610e9b576000548114610e9a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f05868686600161201c565b505050505050565b600c5481565b610f1b612022565b600d60019054906101000a900460ff1615610f62576040517feef043fe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181600e9190610f73929190612999565b505050565b610f80612022565b60016003811115610f9457610f93612cf1565b5b816003811115610fa757610fa6612cf1565b5b148015610fee57506000801b600f600060016003811115610fcb57610fca612cf1565b5b6003811115610fdd57610fdc612cf1565b5b815260200190815260200160002054145b15611025576040517f9f8a28f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600381111561103957611038612cf1565b5b81600381111561104c5761104b612cf1565b5b14801561109357506000801b600f6000600260038111156110705761106f612cf1565b5b600381111561108257611081612cf1565b5b815260200190815260200160002054145b156110ca576040517f9f8a28f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60026101000a81548160ff021916908360038111156110ef576110ee612cf1565b5b021790555050565b806103e8816111046120a0565b61110e9190613609565b1115611146576040517fb0dbf80100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67093e1b78ac6900008161115a919061365f565b3414611192576040517fdc14ea7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160038111156111a6576111a5612cf1565b5b600d60029054906101000a900460ff1660038111156111c8576111c7612cf1565b5b1415801561120a5750600260038111156111e5576111e4612cf1565b5b600d60029054906101000a900460ff16600381111561120757611206612cf1565b5b14155b15611241576040517fd9ffea4000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600f6000600d60029054906101000a900460ff16600381111561126957611268612cf1565b5b600381111561127b5761127a612cf1565b5b81526020019081526020016000205490506112b18760106000848152602001908152602001600020611e0090919063ffffffff16565b156112e8576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003388866040516020016112ff93929190613722565b604051602081830303815290604052805190602001209050611363878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083836120b3565b611399576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b848411156113d3576040517ff969c58a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113f888601060008581526020019081526020016000206120ca90919063ffffffff16565b6114023385612108565b5050505050505050565b611414612022565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161143a90613790565b60006040518083038185875af1925050503d8060008114611477576040519150601f19603f3d011682016040523d82523d6000602084013e61147c565b606091505b505090508061148a57600080fd5b50565b600f6020528060005260406000206000915090505481565b6114c083838360405180602001604052806000815250611af0565b505050565b600d60009054906101000a900460ff1681565b6114e0612022565b600160038111156114f4576114f3612cf1565b5b82600381111561150757611506612cf1565b5b1415801561153a57506002600381111561152457611523612cf1565b5b82600381111561153757611536612cf1565b5b14155b15611571576040517f7f0efd8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f600084600381111561158957611588612cf1565b5b600381111561159b5761159a612cf1565b5b8152602001908152602001600020819055505050565b6115b9612022565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b60006115f082611e8a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116b8612022565b6116c26000612126565b565b6116cc612022565b6116d8848484846121ec565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117179061357f565b80601f01602080910402602001604051908101604052809291908181526020018280546117439061357f565b80156117905780601f1061176557610100808354040283529160200191611790565b820191906000526020600020905b81548152906001019060200180831161177357829003601f168201915b5050505050905090565b806103e8816117a76120a0565b6117b19190613609565b11156117e9576040517fb0dbf80100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67093e1b78ac690000816117fd919061365f565b3414611835576040517fdc14ea7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038081111561184857611847612cf1565b5b600d60029054906101000a900460ff16600381111561186a57611869612cf1565b5b146118a1576040517fd9ffea4000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038211156118dc576040517ff969c58a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118e63383612108565b5050565b6118f2611def565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611957576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611964611def565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a11611def565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a569190612af0565b60405180910390a35050565b611a6a612022565b600d60009054906101000a900460ff1615611ab1576040517fa89ac15100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611abb6120a0565b6103e8611ac891906137a5565b90506000811115611ae557611ae4611ade6116de565b82612108565b5b611aed612284565b50565b611afb848484610be8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611b5d57611b26848484846123c5565b611b5c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611b6e82611d90565b611ba4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900460ff1615611c175760006103e8600c5484611bcc9190613609565b611bd69190613808565b6001611be29190613609565b9050600e611bef82612525565b604051602001611c009291906139a1565b604051602081830303815290604052915050611c3b565b600e604051602001611c299190613a27565b60405160208183030381529060405290505b919050565b611c48612022565b6001600d60016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d01612022565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890613abb565b60405180910390fd5b611d7a81612126565b50565b600d60019054906101000a900460ff1681565b600081611d9b611df7565b11158015611daa575060005482105b8015611de8575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b6103e881600081518110611e5357611e52613adb565b5b6020026020010151611e659190613808565b600c819055506001600d60006101000a81548160ff0219169083151502179055505050565b60008082905080611e99611df7565b11611f2157600054811015611f205760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611f1e575b6000811415611f14576004600083600190039350838152602001908152602001600020549050611ee9565b8092505050611f53565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fe0868684612686565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61202a61268f565b73ffffffffffffffffffffffffffffffffffffffff166120486116de565b73ffffffffffffffffffffffffffffffffffffffff161461209e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209590613b56565b60405180910390fd5b565b60006120aa611df7565b60005403905090565b6000826120c08584612697565b1490509392505050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6121228282604051806020016040528060008152506126ed565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b83600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a8190555081600b60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600b600a6101000a81548163ffffffff021916908363ffffffff16021790555050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600a54600b60009054906101000a900467ffffffffffffffff16600b60089054906101000a900461ffff16600b600a9054906101000a900463ffffffff16600b600e9054906101000a900463ffffffff166040518663ffffffff1660e01b8152600401612335959493929190613bb1565b602060405180830381600087803b15801561234f57600080fd5b505af1158015612363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123879190613c19565b90507fc58253eaf3bd93e07389f6ac3239d2b7eb5be12e5b6b7129eb582ca152a31afd81336040516123ba929190613c46565b60405180910390a150565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123eb611def565b8786866040518563ffffffff1660e01b815260040161240d9493929190613cc4565b602060405180830381600087803b15801561242757600080fd5b505af192505050801561245857506040513d601f19601f820116820180604052508101906124559190613d25565b60015b6124d2573d8060008114612488576040519150601f19603f3d011682016040523d82523d6000602084013e61248d565b606091505b506000815114156124ca576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561256d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612681565b600082905060005b6000821461259f57808061258890613d52565b915050600a826125989190613d9b565b9150612575565b60008167ffffffffffffffff8111156125bb576125ba612e17565b5b6040519080825280601f01601f1916602001820160405280156125ed5781602001600182028036833780820191505090505b5090505b6000851461267a5760018261260691906137a5565b9150600a856126159190613808565b60306126219190613609565b60f81b81838151811061263757612636613adb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126739190613d9b565b94506125f1565b8093505050505b919050565b60009392505050565b600033905090565b60008082905060005b84518110156126e2576126cd828683815181106126c0576126bf613adb565b5b602002602001015161278a565b915080806126da90613d52565b9150506126a0565b508091505092915050565b6126f783836127b5565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461278557600080549050600083820390505b61273760008683806001019450866123c5565b61276d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061272457816000541461278257600080fd5b50505b505050565b60008183106127a25761279d8284612972565b6127ad565b6127ac8383612972565b5b905092915050565b60008054905060008214156127f6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128036000848385611fc3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061287a8361286b6000866000611fc9565b61287485612989565b17611ff1565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461291b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506128e0565b506000821415612957576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061296d600084838561201c565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b8280546129a59061357f565b90600052602060002090601f0160209004810192826129c75760008555612a0e565b82601f106129e057803560ff1916838001178555612a0e565b82800160010185558215612a0e579182015b82811115612a0d5782358255916020019190600101906129f2565b5b509050612a1b9190612a1f565b5090565b5b80821115612a38576000816000905550600101612a20565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a8581612a50565b8114612a9057600080fd5b50565b600081359050612aa281612a7c565b92915050565b600060208284031215612abe57612abd612a46565b5b6000612acc84828501612a93565b91505092915050565b60008115159050919050565b612aea81612ad5565b82525050565b6000602082019050612b056000830184612ae1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b45578082015181840152602081019050612b2a565b83811115612b54576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b7682612b0b565b612b808185612b16565b9350612b90818560208601612b27565b612b9981612b5a565b840191505092915050565b60006020820190508181036000830152612bbe8184612b6b565b905092915050565b6000819050919050565b612bd981612bc6565b8114612be457600080fd5b50565b600081359050612bf681612bd0565b92915050565b600060208284031215612c1257612c11612a46565b5b6000612c2084828501612be7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c5482612c29565b9050919050565b612c6481612c49565b82525050565b6000602082019050612c7f6000830184612c5b565b92915050565b612c8e81612c49565b8114612c9957600080fd5b50565b600081359050612cab81612c85565b92915050565b60008060408385031215612cc857612cc7612a46565b5b6000612cd685828601612c9c565b9250506020612ce785828601612be7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110612d3157612d30612cf1565b5b50565b6000819050612d4282612d20565b919050565b6000612d5282612d34565b9050919050565b612d6281612d47565b82525050565b6000602082019050612d7d6000830184612d59565b92915050565b612d8c81612bc6565b82525050565b6000602082019050612da76000830184612d83565b92915050565b60048110612dba57600080fd5b50565b600081359050612dcc81612dad565b92915050565b60008060408385031215612de957612de8612a46565b5b6000612df785828601612dbd565b9250506020612e0885828601612be7565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e4f82612b5a565b810181811067ffffffffffffffff82111715612e6e57612e6d612e17565b5b80604052505050565b6000612e81612a3c565b9050612e8d8282612e46565b919050565b600067ffffffffffffffff821115612ead57612eac612e17565b5b602082029050602081019050919050565b600080fd5b6000612ed6612ed184612e92565b612e77565b90508083825260208201905060208402830185811115612ef957612ef8612ebe565b5b835b81811015612f225780612f0e8882612be7565b845260208401935050602081019050612efb565b5050509392505050565b600082601f830112612f4157612f40612e12565b5b8135612f51848260208601612ec3565b91505092915050565b60008060408385031215612f7157612f70612a46565b5b6000612f7f85828601612be7565b925050602083013567ffffffffffffffff811115612fa057612f9f612a4b565b5b612fac85828601612f2c565b9150509250929050565b600080600060608486031215612fcf57612fce612a46565b5b6000612fdd86828701612c9c565b9350506020612fee86828701612c9c565b9250506040612fff86828701612be7565b9150509250925092565b600080fd5b60008083601f84011261302457613023612e12565b5b8235905067ffffffffffffffff81111561304157613040613009565b5b60208301915083600182028301111561305d5761305c612ebe565b5b9250929050565b6000806020838503121561307b5761307a612a46565b5b600083013567ffffffffffffffff81111561309957613098612a4b565b5b6130a58582860161300e565b92509250509250929050565b6000602082840312156130c7576130c6612a46565b5b60006130d584828501612dbd565b91505092915050565b60008083601f8401126130f4576130f3612e12565b5b8235905067ffffffffffffffff81111561311157613110613009565b5b60208301915083602082028301111561312d5761312c612ebe565b5b9250929050565b6000806000806000608086880312156131505761314f612a46565b5b600061315e88828901612be7565b955050602086013567ffffffffffffffff81111561317f5761317e612a4b565b5b61318b888289016130de565b9450945050604061319e88828901612be7565b92505060606131af88828901612be7565b9150509295509295909350565b6000819050919050565b6131cf816131bc565b82525050565b60006020820190506131ea60008301846131c6565b92915050565b6131f9816131bc565b811461320457600080fd5b50565b600081359050613216816131f0565b92915050565b6000806040838503121561323357613232612a46565b5b600061324185828601612dbd565b925050602061325285828601613207565b9150509250929050565b60006020828403121561327257613271612a46565b5b600061328084828501612c9c565b91505092915050565b600067ffffffffffffffff82169050919050565b6132a681613289565b81146132b157600080fd5b50565b6000813590506132c38161329d565b92915050565b600063ffffffff82169050919050565b6132e2816132c9565b81146132ed57600080fd5b50565b6000813590506132ff816132d9565b92915050565b6000806000806080858703121561331f5761331e612a46565b5b600061332d87828801612c9c565b945050602061333e87828801613207565b935050604061334f878288016132b4565b9250506060613360878288016132f0565b91505092959194509250565b61337581612ad5565b811461338057600080fd5b50565b6000813590506133928161336c565b92915050565b600080604083850312156133af576133ae612a46565b5b60006133bd85828601612c9c565b92505060206133ce85828601613383565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156133f8576133f7612e17565b5b61340182612b5a565b9050602081019050919050565b82818337600083830152505050565b600061343061342b846133dd565b612e77565b90508281526020810184848401111561344c5761344b6133d8565b5b61345784828561340e565b509392505050565b600082601f83011261347457613473612e12565b5b813561348484826020860161341d565b91505092915050565b600080600080608085870312156134a7576134a6612a46565b5b60006134b587828801612c9c565b94505060206134c687828801612c9c565b93505060406134d787828801612be7565b925050606085013567ffffffffffffffff8111156134f8576134f7612a4b565b5b6135048782880161345f565b91505092959194509250565b6000806040838503121561352757613526612a46565b5b600061353585828601612c9c565b925050602061354685828601612c9c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061359757607f821691505b602082108114156135ab576135aa613550565b5b50919050565b60006040820190506135c66000830185612c5b565b6135d36020830184612c5b565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061361482612bc6565b915061361f83612bc6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613654576136536135da565b5b828201905092915050565b600061366a82612bc6565b915061367583612bc6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136ae576136ad6135da565b5b828202905092915050565b60008160601b9050919050565b60006136d1826136b9565b9050919050565b60006136e3826136c6565b9050919050565b6136fb6136f682612c49565b6136d8565b82525050565b6000819050919050565b61371c61371782612bc6565b613701565b82525050565b600061372e82866136ea565b60148201915061373e828561370b565b60208201915061374e828461370b565b602082019150819050949350505050565b600081905092915050565b50565b600061377a60008361375f565b91506137858261376a565b600082019050919050565b600061379b8261376d565b9150819050919050565b60006137b082612bc6565b91506137bb83612bc6565b9250828210156137ce576137cd6135da565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061381382612bc6565b915061381e83612bc6565b92508261382e5761382d6137d9565b5b828206905092915050565b600081905092915050565b60008190508160005260206000209050919050565b600081546138668161357f565b6138708186613839565b9450600182166000811461388b576001811461389c576138cf565b60ff198316865281860193506138cf565b6138a585613844565b60005b838110156138c7578154818901526001820191506020810190506138a8565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061390e600183613839565b9150613919826138d8565b600182019050919050565b600061392f82612b0b565b6139398185613839565b9350613949818560208601612b27565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061398b600583613839565b915061399682613955565b600582019050919050565b60006139ad8285613859565b91506139b882613901565b91506139c48284613924565b91506139cf8261397e565b91508190509392505050565b7f2f706c616365686f6c6465722e6a736f6e000000000000000000000000000000600082015250565b6000613a11601183613839565b9150613a1c826139db565b601182019050919050565b6000613a338284613859565b9150613a3e82613a04565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613aa5602683612b16565b9150613ab082613a49565b604082019050919050565b60006020820190508181036000830152613ad481613a98565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b40602083612b16565b9150613b4b82613b0a565b602082019050919050565b60006020820190508181036000830152613b6f81613b33565b9050919050565b613b7f81613289565b82525050565b600061ffff82169050919050565b613b9c81613b85565b82525050565b613bab816132c9565b82525050565b600060a082019050613bc660008301886131c6565b613bd36020830187613b76565b613be06040830186613b93565b613bed6060830185613ba2565b613bfa6080830184613ba2565b9695505050505050565b600081519050613c1381612bd0565b92915050565b600060208284031215613c2f57613c2e612a46565b5b6000613c3d84828501613c04565b91505092915050565b6000604082019050613c5b6000830185612d83565b613c686020830184612c5b565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613c9682613c6f565b613ca08185613c7a565b9350613cb0818560208601612b27565b613cb981612b5a565b840191505092915050565b6000608082019050613cd96000830187612c5b565b613ce66020830186612c5b565b613cf36040830185612d83565b8181036060830152613d058184613c8b565b905095945050505050565b600081519050613d1f81612a7c565b92915050565b600060208284031215613d3b57613d3a612a46565b5b6000613d4984828501613d10565b91505092915050565b6000613d5d82612bc6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9057613d8f6135da565b5b600182019050919050565b6000613da682612bc6565b9150613db183612bc6565b925082613dc157613dc06137d9565b5b82820490509291505056fea26469706673582212203e947f4490fd5cb1f9ec5d3d3a8e154d0c4332fb73fdaaf0ad0c2010d85b833364736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699098af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef0000000000000000000000000000000000000000000000000000000000000183d9de683d00f45763ef89161f07137427c177675198a1ab1742435efe64d6f675000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d515132417970707a687347776f6931355a62787355566853467643443955677035786a4e72476343684854760000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806354d77e0e1161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd146106c7578063d111515d14610704578063e985e9c51461071b578063f2fde38b14610758578063fb3cc6c214610781576101f9565b8063a0712d6814610642578063a22cb4651461065e578063a475b5dd14610687578063b88d4fde1461069e576101f9565b8063715018a6116100dc578063715018a6146105ac5780637a231d6b146105c35780638da5cb5b146105ec57806395d89b4114610617576101f9565b806354d77e0e146104f25780635b8ad4291461051b5780636352211e1461053257806370a082311461056f576101f9565b806323b872dd1161019057806333731c991161015f57806333731c991461042e5780633ccfd60b1461044a57806341e5fb401461046157806342842e0e1461049e57806351830227146104c7576101f9565b806323b872dd146103885780632915d9af146103b157806330176e13146103dc57806331c07bbf14610405576101f9565b806317881cbf116101cc57806317881cbf146102cc57806318160ddd146102f75780631e7517a6146103225780631fe543e31461035f576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612aa8565b6107ac565b6040516102329190612af0565b60405180910390f35b34801561024757600080fd5b5061025061083e565b60405161025d9190612ba4565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612bfc565b6108d0565b60405161029a9190612c6a565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612cb1565b61094f565b005b3480156102d857600080fd5b506102e1610a93565b6040516102ee9190612d68565b60405180910390f35b34801561030357600080fd5b5061030c610aa6565b6040516103199190612d92565b60405180910390f35b34801561032e57600080fd5b5061034960048036038101906103449190612dd2565b610abd565b6040516103569190612af0565b60405180910390f35b34801561036b57600080fd5b5061038660048036038101906103819190612f5a565b610b28565b005b34801561039457600080fd5b506103af60048036038101906103aa9190612fb6565b610be8565b005b3480156103bd57600080fd5b506103c6610f0d565b6040516103d39190612d92565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe9190613064565b610f13565b005b34801561041157600080fd5b5061042c600480360381019061042791906130b1565b610f78565b005b61044860048036038101906104439190613134565b6110f7565b005b34801561045657600080fd5b5061045f61140c565b005b34801561046d57600080fd5b50610488600480360381019061048391906130b1565b61148d565b60405161049591906131d5565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190612fb6565b6114a5565b005b3480156104d357600080fd5b506104dc6114c5565b6040516104e99190612af0565b60405180910390f35b3480156104fe57600080fd5b506105196004803603810190610514919061321c565b6114d8565b005b34801561052757600080fd5b506105306115b1565b005b34801561053e57600080fd5b5061055960048036038101906105549190612bfc565b6115e5565b6040516105669190612c6a565b60405180910390f35b34801561057b57600080fd5b506105966004803603810190610591919061325c565b6115f7565b6040516105a39190612d92565b60405180910390f35b3480156105b857600080fd5b506105c16116b0565b005b3480156105cf57600080fd5b506105ea60048036038101906105e59190613305565b6116c4565b005b3480156105f857600080fd5b506106016116de565b60405161060e9190612c6a565b60405180910390f35b34801561062357600080fd5b5061062c611708565b6040516106399190612ba4565b60405180910390f35b61065c60048036038101906106579190612bfc565b61179a565b005b34801561066a57600080fd5b5061068560048036038101906106809190613398565b6118ea565b005b34801561069357600080fd5b5061069c611a62565b005b3480156106aa57600080fd5b506106c560048036038101906106c0919061348d565b611af0565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190612bfc565b611b63565b6040516106fb9190612ba4565b60405180910390f35b34801561071057600080fd5b50610719611c40565b005b34801561072757600080fd5b50610742600480360381019061073d9190613510565b611c65565b60405161074f9190612af0565b60405180910390f35b34801561076457600080fd5b5061077f600480360381019061077a919061325c565b611cf9565b005b34801561078d57600080fd5b50610796611d7d565b6040516107a39190612af0565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108375750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461084d9061357f565b80601f01602080910402602001604051908101604052809291908181526020018280546108799061357f565b80156108c65780601f1061089b576101008083540402835291602001916108c6565b820191906000526020600020905b8154815290600101906020018083116108a957829003601f168201915b5050505050905090565b60006108db82611d90565b610911576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095a826115e5565b90508073ffffffffffffffffffffffffffffffffffffffff1661097b611def565b73ffffffffffffffffffffffffffffffffffffffff16146109de576109a7816109a2611def565b611c65565b6109dd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d60029054906101000a900460ff1681565b6000610ab0611df7565b6001546000540303905090565b600080600f6000856003811115610ad757610ad6612cf1565b5b6003811115610ae957610ae8612cf1565b5b8152602001908152602001600020549050610b1f8360106000848152602001908152602001600020611e0090919063ffffffff16565b91505092915050565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bda57337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610bd19291906135b1565b60405180910390fd5b610be48282611e3c565b5050565b6000610bf382611e8a565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c6684611f58565b91509150610c7c8187610c77611def565b611f7f565b610cc857610c9186610c8c611def565b611c65565b610cc7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d2f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d3c8686866001611fc3565b8015610d4757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e1585610df1888887611fc9565b7c020000000000000000000000000000000000000000000000000000000017611ff1565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e9d576000600185019050600060046000838152602001908152602001600020541415610e9b576000548114610e9a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f05868686600161201c565b505050505050565b600c5481565b610f1b612022565b600d60019054906101000a900460ff1615610f62576040517feef043fe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181600e9190610f73929190612999565b505050565b610f80612022565b60016003811115610f9457610f93612cf1565b5b816003811115610fa757610fa6612cf1565b5b148015610fee57506000801b600f600060016003811115610fcb57610fca612cf1565b5b6003811115610fdd57610fdc612cf1565b5b815260200190815260200160002054145b15611025576040517f9f8a28f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600381111561103957611038612cf1565b5b81600381111561104c5761104b612cf1565b5b14801561109357506000801b600f6000600260038111156110705761106f612cf1565b5b600381111561108257611081612cf1565b5b815260200190815260200160002054145b156110ca576040517f9f8a28f200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60026101000a81548160ff021916908360038111156110ef576110ee612cf1565b5b021790555050565b806103e8816111046120a0565b61110e9190613609565b1115611146576040517fb0dbf80100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67093e1b78ac6900008161115a919061365f565b3414611192576040517fdc14ea7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160038111156111a6576111a5612cf1565b5b600d60029054906101000a900460ff1660038111156111c8576111c7612cf1565b5b1415801561120a5750600260038111156111e5576111e4612cf1565b5b600d60029054906101000a900460ff16600381111561120757611206612cf1565b5b14155b15611241576040517fd9ffea4000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600f6000600d60029054906101000a900460ff16600381111561126957611268612cf1565b5b600381111561127b5761127a612cf1565b5b81526020019081526020016000205490506112b18760106000848152602001908152602001600020611e0090919063ffffffff16565b156112e8576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60003388866040516020016112ff93929190613722565b604051602081830303815290604052805190602001209050611363878780806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083836120b3565b611399576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b848411156113d3576040517ff969c58a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113f888601060008581526020019081526020016000206120ca90919063ffffffff16565b6114023385612108565b5050505050505050565b611414612022565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161143a90613790565b60006040518083038185875af1925050503d8060008114611477576040519150601f19603f3d011682016040523d82523d6000602084013e61147c565b606091505b505090508061148a57600080fd5b50565b600f6020528060005260406000206000915090505481565b6114c083838360405180602001604052806000815250611af0565b505050565b600d60009054906101000a900460ff1681565b6114e0612022565b600160038111156114f4576114f3612cf1565b5b82600381111561150757611506612cf1565b5b1415801561153a57506002600381111561152457611523612cf1565b5b82600381111561153757611536612cf1565b5b14155b15611571576040517f7f0efd8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600f600084600381111561158957611588612cf1565b5b600381111561159b5761159a612cf1565b5b8152602001908152602001600020819055505050565b6115b9612022565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b60006115f082611e8a565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116b8612022565b6116c26000612126565b565b6116cc612022565b6116d8848484846121ec565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117179061357f565b80601f01602080910402602001604051908101604052809291908181526020018280546117439061357f565b80156117905780601f1061176557610100808354040283529160200191611790565b820191906000526020600020905b81548152906001019060200180831161177357829003601f168201915b5050505050905090565b806103e8816117a76120a0565b6117b19190613609565b11156117e9576040517fb0dbf80100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67093e1b78ac690000816117fd919061365f565b3414611835576040517fdc14ea7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038081111561184857611847612cf1565b5b600d60029054906101000a900460ff16600381111561186a57611869612cf1565b5b146118a1576040517fd9ffea4000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038211156118dc576040517ff969c58a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118e63383612108565b5050565b6118f2611def565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611957576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611964611def565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a11611def565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a569190612af0565b60405180910390a35050565b611a6a612022565b600d60009054906101000a900460ff1615611ab1576040517fa89ac15100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611abb6120a0565b6103e8611ac891906137a5565b90506000811115611ae557611ae4611ade6116de565b82612108565b5b611aed612284565b50565b611afb848484610be8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611b5d57611b26848484846123c5565b611b5c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611b6e82611d90565b611ba4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900460ff1615611c175760006103e8600c5484611bcc9190613609565b611bd69190613808565b6001611be29190613609565b9050600e611bef82612525565b604051602001611c009291906139a1565b604051602081830303815290604052915050611c3b565b600e604051602001611c299190613a27565b60405160208183030381529060405290505b919050565b611c48612022565b6001600d60016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d01612022565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890613abb565b60405180910390fd5b611d7a81612126565b50565b600d60019054906101000a900460ff1681565b600081611d9b611df7565b11158015611daa575060005482105b8015611de8575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b6103e881600081518110611e5357611e52613adb565b5b6020026020010151611e659190613808565b600c819055506001600d60006101000a81548160ff0219169083151502179055505050565b60008082905080611e99611df7565b11611f2157600054811015611f205760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611f1e575b6000811415611f14576004600083600190039350838152602001908152602001600020549050611ee9565b8092505050611f53565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611fe0868684612686565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61202a61268f565b73ffffffffffffffffffffffffffffffffffffffff166120486116de565b73ffffffffffffffffffffffffffffffffffffffff161461209e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209590613b56565b60405180910390fd5b565b60006120aa611df7565b60005403905090565b6000826120c08584612697565b1490509392505050565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6121228282604051806020016040528060008152506126ed565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b83600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a8190555081600b60006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600b600a6101000a81548163ffffffff021916908363ffffffff16021790555050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600a54600b60009054906101000a900467ffffffffffffffff16600b60089054906101000a900461ffff16600b600a9054906101000a900463ffffffff16600b600e9054906101000a900463ffffffff166040518663ffffffff1660e01b8152600401612335959493929190613bb1565b602060405180830381600087803b15801561234f57600080fd5b505af1158015612363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123879190613c19565b90507fc58253eaf3bd93e07389f6ac3239d2b7eb5be12e5b6b7129eb582ca152a31afd81336040516123ba929190613c46565b60405180910390a150565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123eb611def565b8786866040518563ffffffff1660e01b815260040161240d9493929190613cc4565b602060405180830381600087803b15801561242757600080fd5b505af192505050801561245857506040513d601f19601f820116820180604052508101906124559190613d25565b60015b6124d2573d8060008114612488576040519150601f19603f3d011682016040523d82523d6000602084013e61248d565b606091505b506000815114156124ca576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561256d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612681565b600082905060005b6000821461259f57808061258890613d52565b915050600a826125989190613d9b565b9150612575565b60008167ffffffffffffffff8111156125bb576125ba612e17565b5b6040519080825280601f01601f1916602001820160405280156125ed5781602001600182028036833780820191505090505b5090505b6000851461267a5760018261260691906137a5565b9150600a856126159190613808565b60306126219190613609565b60f81b81838151811061263757612636613adb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126739190613d9b565b94506125f1565b8093505050505b919050565b60009392505050565b600033905090565b60008082905060005b84518110156126e2576126cd828683815181106126c0576126bf613adb565b5b602002602001015161278a565b915080806126da90613d52565b9150506126a0565b508091505092915050565b6126f783836127b5565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461278557600080549050600083820390505b61273760008683806001019450866123c5565b61276d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061272457816000541461278257600080fd5b50505b505050565b60008183106127a25761279d8284612972565b6127ad565b6127ac8383612972565b5b905092915050565b60008054905060008214156127f6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128036000848385611fc3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061287a8361286b6000866000611fc9565b61287485612989565b17611ff1565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461291b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506128e0565b506000821415612957576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061296d600084838561201c565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b8280546129a59061357f565b90600052602060002090601f0160209004810192826129c75760008555612a0e565b82601f106129e057803560ff1916838001178555612a0e565b82800160010185558215612a0e579182015b82811115612a0d5782358255916020019190600101906129f2565b5b509050612a1b9190612a1f565b5090565b5b80821115612a38576000816000905550600101612a20565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a8581612a50565b8114612a9057600080fd5b50565b600081359050612aa281612a7c565b92915050565b600060208284031215612abe57612abd612a46565b5b6000612acc84828501612a93565b91505092915050565b60008115159050919050565b612aea81612ad5565b82525050565b6000602082019050612b056000830184612ae1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b45578082015181840152602081019050612b2a565b83811115612b54576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b7682612b0b565b612b808185612b16565b9350612b90818560208601612b27565b612b9981612b5a565b840191505092915050565b60006020820190508181036000830152612bbe8184612b6b565b905092915050565b6000819050919050565b612bd981612bc6565b8114612be457600080fd5b50565b600081359050612bf681612bd0565b92915050565b600060208284031215612c1257612c11612a46565b5b6000612c2084828501612be7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c5482612c29565b9050919050565b612c6481612c49565b82525050565b6000602082019050612c7f6000830184612c5b565b92915050565b612c8e81612c49565b8114612c9957600080fd5b50565b600081359050612cab81612c85565b92915050565b60008060408385031215612cc857612cc7612a46565b5b6000612cd685828601612c9c565b9250506020612ce785828601612be7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110612d3157612d30612cf1565b5b50565b6000819050612d4282612d20565b919050565b6000612d5282612d34565b9050919050565b612d6281612d47565b82525050565b6000602082019050612d7d6000830184612d59565b92915050565b612d8c81612bc6565b82525050565b6000602082019050612da76000830184612d83565b92915050565b60048110612dba57600080fd5b50565b600081359050612dcc81612dad565b92915050565b60008060408385031215612de957612de8612a46565b5b6000612df785828601612dbd565b9250506020612e0885828601612be7565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612e4f82612b5a565b810181811067ffffffffffffffff82111715612e6e57612e6d612e17565b5b80604052505050565b6000612e81612a3c565b9050612e8d8282612e46565b919050565b600067ffffffffffffffff821115612ead57612eac612e17565b5b602082029050602081019050919050565b600080fd5b6000612ed6612ed184612e92565b612e77565b90508083825260208201905060208402830185811115612ef957612ef8612ebe565b5b835b81811015612f225780612f0e8882612be7565b845260208401935050602081019050612efb565b5050509392505050565b600082601f830112612f4157612f40612e12565b5b8135612f51848260208601612ec3565b91505092915050565b60008060408385031215612f7157612f70612a46565b5b6000612f7f85828601612be7565b925050602083013567ffffffffffffffff811115612fa057612f9f612a4b565b5b612fac85828601612f2c565b9150509250929050565b600080600060608486031215612fcf57612fce612a46565b5b6000612fdd86828701612c9c565b9350506020612fee86828701612c9c565b9250506040612fff86828701612be7565b9150509250925092565b600080fd5b60008083601f84011261302457613023612e12565b5b8235905067ffffffffffffffff81111561304157613040613009565b5b60208301915083600182028301111561305d5761305c612ebe565b5b9250929050565b6000806020838503121561307b5761307a612a46565b5b600083013567ffffffffffffffff81111561309957613098612a4b565b5b6130a58582860161300e565b92509250509250929050565b6000602082840312156130c7576130c6612a46565b5b60006130d584828501612dbd565b91505092915050565b60008083601f8401126130f4576130f3612e12565b5b8235905067ffffffffffffffff81111561311157613110613009565b5b60208301915083602082028301111561312d5761312c612ebe565b5b9250929050565b6000806000806000608086880312156131505761314f612a46565b5b600061315e88828901612be7565b955050602086013567ffffffffffffffff81111561317f5761317e612a4b565b5b61318b888289016130de565b9450945050604061319e88828901612be7565b92505060606131af88828901612be7565b9150509295509295909350565b6000819050919050565b6131cf816131bc565b82525050565b60006020820190506131ea60008301846131c6565b92915050565b6131f9816131bc565b811461320457600080fd5b50565b600081359050613216816131f0565b92915050565b6000806040838503121561323357613232612a46565b5b600061324185828601612dbd565b925050602061325285828601613207565b9150509250929050565b60006020828403121561327257613271612a46565b5b600061328084828501612c9c565b91505092915050565b600067ffffffffffffffff82169050919050565b6132a681613289565b81146132b157600080fd5b50565b6000813590506132c38161329d565b92915050565b600063ffffffff82169050919050565b6132e2816132c9565b81146132ed57600080fd5b50565b6000813590506132ff816132d9565b92915050565b6000806000806080858703121561331f5761331e612a46565b5b600061332d87828801612c9c565b945050602061333e87828801613207565b935050604061334f878288016132b4565b9250506060613360878288016132f0565b91505092959194509250565b61337581612ad5565b811461338057600080fd5b50565b6000813590506133928161336c565b92915050565b600080604083850312156133af576133ae612a46565b5b60006133bd85828601612c9c565b92505060206133ce85828601613383565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156133f8576133f7612e17565b5b61340182612b5a565b9050602081019050919050565b82818337600083830152505050565b600061343061342b846133dd565b612e77565b90508281526020810184848401111561344c5761344b6133d8565b5b61345784828561340e565b509392505050565b600082601f83011261347457613473612e12565b5b813561348484826020860161341d565b91505092915050565b600080600080608085870312156134a7576134a6612a46565b5b60006134b587828801612c9c565b94505060206134c687828801612c9c565b93505060406134d787828801612be7565b925050606085013567ffffffffffffffff8111156134f8576134f7612a4b565b5b6135048782880161345f565b91505092959194509250565b6000806040838503121561352757613526612a46565b5b600061353585828601612c9c565b925050602061354685828601612c9c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061359757607f821691505b602082108114156135ab576135aa613550565b5b50919050565b60006040820190506135c66000830185612c5b565b6135d36020830184612c5b565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061361482612bc6565b915061361f83612bc6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613654576136536135da565b5b828201905092915050565b600061366a82612bc6565b915061367583612bc6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136ae576136ad6135da565b5b828202905092915050565b60008160601b9050919050565b60006136d1826136b9565b9050919050565b60006136e3826136c6565b9050919050565b6136fb6136f682612c49565b6136d8565b82525050565b6000819050919050565b61371c61371782612bc6565b613701565b82525050565b600061372e82866136ea565b60148201915061373e828561370b565b60208201915061374e828461370b565b602082019150819050949350505050565b600081905092915050565b50565b600061377a60008361375f565b91506137858261376a565b600082019050919050565b600061379b8261376d565b9150819050919050565b60006137b082612bc6565b91506137bb83612bc6565b9250828210156137ce576137cd6135da565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061381382612bc6565b915061381e83612bc6565b92508261382e5761382d6137d9565b5b828206905092915050565b600081905092915050565b60008190508160005260206000209050919050565b600081546138668161357f565b6138708186613839565b9450600182166000811461388b576001811461389c576138cf565b60ff198316865281860193506138cf565b6138a585613844565b60005b838110156138c7578154818901526001820191506020810190506138a8565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061390e600183613839565b9150613919826138d8565b600182019050919050565b600061392f82612b0b565b6139398185613839565b9350613949818560208601612b27565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061398b600583613839565b915061399682613955565b600582019050919050565b60006139ad8285613859565b91506139b882613901565b91506139c48284613924565b91506139cf8261397e565b91508190509392505050565b7f2f706c616365686f6c6465722e6a736f6e000000000000000000000000000000600082015250565b6000613a11601183613839565b9150613a1c826139db565b601182019050919050565b6000613a338284613859565b9150613a3e82613a04565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613aa5602683612b16565b9150613ab082613a49565b604082019050919050565b60006020820190508181036000830152613ad481613a98565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b40602083612b16565b9150613b4b82613b0a565b602082019050919050565b60006020820190508181036000830152613b6f81613b33565b9050919050565b613b7f81613289565b82525050565b600061ffff82169050919050565b613b9c81613b85565b82525050565b613bab816132c9565b82525050565b600060a082019050613bc660008301886131c6565b613bd36020830187613b76565b613be06040830186613b93565b613bed6060830185613ba2565b613bfa6080830184613ba2565b9695505050505050565b600081519050613c1381612bd0565b92915050565b600060208284031215613c2f57613c2e612a46565b5b6000613c3d84828501613c04565b91505092915050565b6000604082019050613c5b6000830185612d83565b613c686020830184612c5b565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000613c9682613c6f565b613ca08185613c7a565b9350613cb0818560208601612b27565b613cb981612b5a565b840191505092915050565b6000608082019050613cd96000830187612c5b565b613ce66020830186612c5b565b613cf36040830185612d83565b8181036060830152613d058184613c8b565b905095945050505050565b600081519050613d1f81612a7c565b92915050565b600060208284031215613d3b57613d3a612a46565b5b6000613d4984828501613d10565b91505092915050565b6000613d5d82612bc6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d9057613d8f6135da565b5b600182019050919050565b6000613da682612bc6565b9150613db183612bc6565b925082613dc157613dc06137d9565b5b82820490509291505056fea26469706673582212203e947f4490fd5cb1f9ec5d3d3a8e154d0c4332fb73fdaaf0ad0c2010d85b833364736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699098af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef0000000000000000000000000000000000000000000000000000000000000183d9de683d00f45763ef89161f07137427c177675198a1ab1742435efe64d6f675000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d515132417970707a687347776f6931355a62787355566853467643443955677035786a4e72476343684854760000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): https://ipfs.io/ipfs/QmQQ2AyppzhsGwoi15ZbxsUVhSFvCD9Ugp5xjNrGcChHTv
Arg [1] : _vrfCoordinator (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [2] : _keyHash (bytes32): 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
Arg [3] : _subscriptionId (uint64): 387
Arg [4] : _merkleRoot (bytes32): 0xd9de683d00f45763ef89161f07137427c177675198a1ab1742435efe64d6f675

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [2] : 8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000183
Arg [4] : d9de683d00f45763ef89161f07137427c177675198a1ab1742435efe64d6f675
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [6] : 68747470733a2f2f697066732e696f2f697066732f516d515132417970707a68
Arg [7] : 7347776f6931355a62787355566853467643443955677035786a4e7247634368
Arg [8] : 4854760000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.