ETH Price: $3,341.15 (-1.02%)

Token

CryptoFace (FACE)
 

Overview

Max Total Supply

4,392 FACE

Holders

1,490

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
amysmith.eth
Balance
1 FACE
0x608acb7B3AEfbA64D85B097FcbB6922197D3a40D
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoFace

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

/*
    By owning this NFT you are agreeing to CryptoFace Terms of Services and Privacy Policy. 
    1. CryptoFace Terms of Services [https://cryptoface.me/terms.pdf]
    2. CryptoFace Privacy Policy [https://cryptoface.me/policy.pdf]
*/

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721A.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

interface Avatars {
    function register(string calldata shapes, string calldata colorsPrimary, string calldata colorsSecondary, string calldata positions) external returns (bytes32 avatarHash);
    function get(bytes32 avatarHash) external view returns (bytes32 shapes, bytes32 colorsPrimary, bytes32 colorsSecondary, bytes32 positions);
}

interface RoyaltyContract {
    function setLastTokenTransferred(uint256 token, address artist) external;
}

interface AlternateURI {
    function getURI(uint256 token) external view returns (string memory);
}

contract CryptoFace is Ownable, ERC721A {

    //Events
    event TokenClaimed(address owner, uint256 tokenId, bytes32 avatarHash, string shapes);
    event IlluminatiTokenUsed(address _contract, uint256 tokenId);
    event GoblinUsed(uint256 token);
    event DaoMinted(uint256 token);
    event PreMint(uint256 token);

    //Enums
    enum ClaimStatus { CLOSED, ALLOWLIST }

    //Mint data
    ClaimStatus public claimStatus = ClaimStatus.CLOSED;

    bool alternateURI = false;
    address alternateAddress;

    uint256 constant MAX_SUPPLY = 10000;

    //Original contract
    Avatars avatars = Avatars(0x5e49Ec3fBD55e7b86A5a5b1a32C73AA44b42B4AF); 

    //Maps
    mapping(uint256 => bytes32) public tokenToAvatar;
    mapping(bytes32 => bool) private usedHash;
    mapping(address => bool) private usedHashPremint;
    mapping(address => mapping(uint256 => bool)) public usedIlluminati;
    mapping(address => bool) private addressMinted;
    mapping(bytes32 => TokenData) public tokenToArtist;
    mapping(address => uint256) public allowlist;

    //Addresses
    address private signer = 0xFD66dd3c6c47bad030f4B93212711A3367E4f44B;
    address private daoWallet;
    address private illuminatiNFT;
    address private the187NFT;
    address private royaltyContract;

    string private URI;

    struct TokenData {
        uint32 tokenId;
        address artist;
    }

    constructor() ERC721A("CryptoFace", "FACE") {}

    function verify(bytes32 hash, bytes memory signature) internal view returns (bool) {
        return ECDSA.recover(hash, signature) == signer;
    }

    /// @notice Checks inputs are valid before minting
    /// @param shapes shapes of the avatar
    /// @param colorsPrimary primary colors of the avatar
    /// @param colorsSecondary secondary colors of the avatar
    /// @param positions positions of the shapes (Not used for this collection)
    function _checkValid(
        string calldata shapes,
        string calldata colorsPrimary,
        string calldata colorsSecondary,
        string calldata positions,
        bytes memory signature
    ) internal {
        bytes32 hash = ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(msg.sender, shapes, colorsPrimary, colorsSecondary, positions)));
        require(!usedHash[hash], "Already used hash");
        require(verify(hash, signature), "Invalid Signature");
        usedHash[hash] = true;
    }

    /// @notice Mint for an avatar for illuminati holders
    /// @param shapes shapes of the avatar
    /// @param colorsPrimary primary colors of the avatar
    /// @param colorsSecondary secondary colors of the avatar
    /// @param positions positions of the shapes (Not used for this collection)
    /// @param tokenId tokenId of the illuminati NFT used for mint
    /// @param isIlluminati true if using Illuminati NFT false if using The187 NFT
    function illuminatiMint(
        string calldata shapes,
        string calldata colorsPrimary,
        string calldata colorsSecondary,
        string calldata positions,
        bytes memory signature,
        uint256 tokenId,
        bool isIlluminati
    ) public {
        if(msg.sender != daoWallet && msg.sender != owner()) {
        require(claimStatus != ClaimStatus.CLOSED, "Illuminati Mint Closed");
        }
        require(_totalMinted() + 1 <= MAX_SUPPLY, "Mint is over");
        require(tx.origin == msg.sender, "No contracts");

        address requiredNFTAddress = isIlluminati ? illuminatiNFT : the187NFT;
        require(msg.sender == IERC721(requiredNFTAddress).ownerOf(tokenId), "Not owner");
        require(!usedIlluminati[requiredNFTAddress][tokenId], "Already used token");
        
        usedIlluminati[requiredNFTAddress][tokenId] = true;

        emit IlluminatiTokenUsed(requiredNFTAddress, tokenId);

        _checkValid(shapes, colorsPrimary, colorsSecondary, positions, signature);

        _mintAvatar(shapes, colorsPrimary, colorsSecondary, positions);
    }

    /// @notice Premint mint for an avatar
    /// @param shapes shapes of the avatar
    /// @param colorsPrimary primary colors of the avatar
    /// @param colorsSecondary secondary colors of the avatar
    /// @param positions positions of the shapes (Not used for this collection)
    function premintMint(
        string calldata shapes,
        string calldata colorsPrimary,
        string calldata colorsSecondary,
        string calldata positions,
        bytes memory signature,
        bytes calldata _voucher
    ) public {
        require(claimStatus != ClaimStatus.CLOSED, "Allowlist closed");
        require(_totalMinted() + 1 <= MAX_SUPPLY, "Mint is over");
        require(tx.origin == msg.sender, "No contracts");
        
        bytes32 hashAllowed = ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(msg.sender)));
        require(verify(hashAllowed, _voucher), "Not on allowlist");

        require(!usedHashPremint[msg.sender],"Already Minted");

        emit PreMint(_totalMinted());

        _checkValid(shapes, colorsPrimary, colorsSecondary, positions, signature);

        usedHashPremint[msg.sender] = true;

        _mintAvatar(shapes, colorsPrimary, colorsSecondary, positions);

    }


    /// @notice allowlist mint for an avatar
    /// @param shapes shapes of the avatar
    /// @param colorsPrimary primary colors of the avatar
    /// @param colorsSecondary secondary colors of the avatar
    /// @param positions positions of the shapes (Not used for this collection)
    function allowlistMint(
        string calldata shapes,
        string calldata colorsPrimary,
        string calldata colorsSecondary,
        string calldata positions,
        bytes memory signature
    ) public {
        require(_totalMinted() + 1 <= MAX_SUPPLY, "Mint is over");

        if(msg.sender != daoWallet && msg.sender != owner()) {
            require(tx.origin == msg.sender, "No contracts");
            require(claimStatus != ClaimStatus.CLOSED, "Allowlist closed");
            require(allowlist[msg.sender] > 0, "Not on allowlist");
            allowlist[msg.sender] -= 1;

            emit GoblinUsed(_totalMinted());
        } else {
            emit DaoMinted(_totalMinted());
        }

        _checkValid(shapes, colorsPrimary, colorsSecondary, positions, signature);

        _mintAvatar(shapes, colorsPrimary, colorsSecondary, positions);
    }

    /// @notice Mints the avatar on the original contract and mints a proof of ownership for it
    /// @param shapes shapes of the avatar
    /// @param colorsPrimary primary colors of the avatar
    /// @param colorsSecondary secondary colors of the avatar
    /// @param positions positions of the shapes (Not used for this collection)
    function _mintAvatar(
        string calldata shapes,
        string calldata colorsPrimary,
        string calldata colorsSecondary,
        string calldata positions
    ) internal {

        bytes32 avatarHash = avatars.register(shapes, colorsPrimary, colorsSecondary, positions);

        uint256 tokenId = _totalMinted();

        tokenToAvatar[tokenId] = avatarHash;

        bytes32 shapesBytes;

        (shapesBytes, , , ) = avatars.get(avatarHash);

        tokenToArtist[shapesBytes] = TokenData({
            artist: msg.sender,
            tokenId: uint32(tokenId)
        });

        _safeMint(msg.sender, 1);

        emit TokenClaimed(msg.sender, tokenId, avatarHash, shapes);
    }

    function getTokenData(string calldata shapes) external view returns (address, uint32) {

        bytes32 shapesBytes = bytes32(bytes(shapes));

        TokenData memory data = tokenToArtist[shapesBytes];

        return (data.artist, data.tokenId);
    }

    function hasPreMinted(address _address) external view returns (bool) {
        return usedHashPremint[_address];
    }

    /// @notice Grabs data from original avatar contract based on ownership of token to hash
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {

        if(alternateURI) return AlternateURI(alternateAddress).getURI(tokenId);

        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        bytes32 avatarHash = tokenToAvatar[tokenId];
        
        bytes32 shapes;

        (shapes, , , ) = avatars.get(avatarHash);

        return string(abi.encodePacked(URI, shapes));
    }

    function setClaimStatus(ClaimStatus status) public onlyOwner {
        claimStatus = status;
    }

    function setAlternateURI(address _contract, bool _state) public onlyOwner {
        alternateURI = _state;
        alternateAddress = _contract;
    }

    function setBaseURI(string memory base) public onlyOwner {
        URI = base;
    }

    function setSigner(address _address) public onlyOwner {
        signer = _address;
    }

    function setDAOWallet(address _address) public onlyOwner {
        daoWallet = _address;
    }

    function setAvatarContract(address _address) public onlyOwner {
        avatars = Avatars(_address);
    }

    function setNFTContracts(address _illuminatiNFT, address _the187NFT) public onlyOwner {
        illuminatiNFT = _illuminatiNFT;
        the187NFT = _the187NFT;
    }

    function setRoyaltyContract(address _address) public onlyOwner {
        royaltyContract = _address;
    }

    function addAllowlist(address[] calldata addresses, uint256 allowedMints) public onlyOwner {
        for(uint i = 0; i < addresses.length; i++)
            allowlist[addresses[i]] += allowedMints;
    }

    function setNewArtistAddress(uint256 token, address newArtist) public {
        require(newArtist != address(0), "Ooops");
        
        bytes32 avatarHash = tokenToAvatar[token];
        (bytes32 shapes, , , ) = avatars.get(avatarHash);
        TokenData storage data = tokenToArtist[shapes];

        require(msg.sender == data.artist, "Not artist");

        data.artist = newArtist;
    }

    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal override {

        if(royaltyContract != address(0) && from != address(0)) {
            bytes32 avatarHash = tokenToAvatar[startTokenId];
    
            (bytes32 shapes, , , ) = avatars.get(avatarHash);

            TokenData memory data = tokenToArtist[shapes];

            //Low level call so no possibility of future reverts on transfers
            (bool t,) = royaltyContract.call(abi.encodeWithSignature("setLastTokenTransferred(uint256,address)", data.tokenId, data.artist));

            if(t) { /* Contract called */ }
        }

        super._afterTokenTransfers(from, to, startTokenId, quantity);
    }

}

File 2 of 9 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

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

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

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

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

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

File 3 of 9 : 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 4 of 9 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// 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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    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 payable 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 {
        _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].value`.
        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 payable 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 payable 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 payable 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.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                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 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // 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 5 of 9 : 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 6 of 9 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// 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();

    /**
     * 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 payable;

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 9 : 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 9 of 9 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":false,"internalType":"uint256","name":"token","type":"uint256"}],"name":"DaoMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"token","type":"uint256"}],"name":"GoblinUsed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_contract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"IlluminatiTokenUsed","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":"token","type":"uint256"}],"name":"PreMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"avatarHash","type":"bytes32"},{"indexed":false,"internalType":"string","name":"shapes","type":"string"}],"name":"TokenClaimed","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":"addresses","type":"address[]"},{"internalType":"uint256","name":"allowedMints","type":"uint256"}],"name":"addAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"shapes","type":"string"},{"internalType":"string","name":"colorsPrimary","type":"string"},{"internalType":"string","name":"colorsSecondary","type":"string"},{"internalType":"string","name":"positions","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"allowlistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimStatus","outputs":[{"internalType":"enum CryptoFace.ClaimStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"shapes","type":"string"}],"name":"getTokenData","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"hasPreMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"shapes","type":"string"},{"internalType":"string","name":"colorsPrimary","type":"string"},{"internalType":"string","name":"colorsSecondary","type":"string"},{"internalType":"string","name":"positions","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"isIlluminati","type":"bool"}],"name":"illuminatiMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"shapes","type":"string"},{"internalType":"string","name":"colorsPrimary","type":"string"},{"internalType":"string","name":"colorsSecondary","type":"string"},{"internalType":"string","name":"positions","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"_voucher","type":"bytes"}],"name":"premintMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setAlternateURI","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":"address","name":"_address","type":"address"}],"name":"setAvatarContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum CryptoFace.ClaimStatus","name":"status","type":"uint8"}],"name":"setClaimStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setDAOWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_illuminatiNFT","type":"address"},{"internalType":"address","name":"_the187NFT","type":"address"}],"name":"setNFTContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"},{"internalType":"address","name":"newArtist","type":"address"}],"name":"setNewArtistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setRoyaltyContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"tokenToArtist","outputs":[{"internalType":"uint32","name":"tokenId","type":"uint32"},{"internalType":"address","name":"artist","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToAvatar","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedIlluminati","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526000600960006101000a81548160ff021916908360018111156200002d576200002c62000398565b5b02179055506000600960016101000a81548160ff021916908315150217905550735e49ec3fbd55e7b86a5a5b1a32c73aa44b42b4af600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073fd66dd3c6c47bad030f4b93212711a3367e4f44b601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200010457600080fd5b506040518060400160405280600a81526020017f43727970746f46616365000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f46414345000000000000000000000000000000000000000000000000000000008152506200019162000185620001e160201b60201c565b620001e960201b60201c565b8160039080519060200190620001a9929190620002b2565b508060049080519060200190620001c2929190620002b2565b50620001d3620002ad60201b60201c565b6001819055505050620003f6565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b828054620002c09062000362565b90600052602060002090601f016020900481019282620002e4576000855562000330565b82601f10620002ff57805160ff191683800117855562000330565b8280016001018555821562000330579182015b828111156200032f57825182559160200191906001019062000312565b5b5090506200033f919062000343565b5090565b5b808211156200035e57600081600090555060010162000344565b5090565b600060028204905060018216806200037b57607f821691505b60208210811415620003925762000391620003c7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615ab780620004066000396000f3fe6080604052600436106102195760003560e01c8063737b745e11610123578063b88d4fde116100ab578063d59a8c461161006f578063d59a8c46146107cc578063d9aa187c146107f5578063e985e9c51461081e578063f2fde38b1461085b578063f94d6d651461088457610219565b8063b88d4fde146106f8578063bba7eb6114610714578063c7bb3fda1461073d578063c87b56dd14610766578063d06c8b60146107a357610219565b8063a22cb465116100f2578063a22cb46514610601578063a7cd52cb1461062a578063aae146c214610667578063ae87fc4b14610690578063b3925c0e146106bb57610219565b8063737b745e146105595780638c19ebc8146105825780638da5cb5b146105ab57806395d89b41146105d657610219565b806346b2b087116101a6578063640924321161017557806364092432146104765780636c18354f1461049f5780636c19e783146104dc57806370a0823114610505578063715018a61461054257610219565b806346b2b087146103a957806355f804b3146103e7578063626b9da0146104105780636352211e1461043957610219565b8063095ea7b3116101ed578063095ea7b3146102ec57806318160ddd1461030857806323b872dd1461033357806327a49a4f1461034f57806342842e0e1461038d57610219565b8062710eba1461021e57806301ffc9a71461024757806306fdde0314610284578063081812fc146102af575b600080fd5b34801561022a57600080fd5b506102456004803603810190610240919061433a565b6108c1565b005b34801561025357600080fd5b5061026e6004803603810190610269919061414e565b610c10565b60405161027b9190614d6b565b60405180910390f35b34801561029057600080fd5b50610299610ca2565b6040516102a69190614e6a565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190614659565b610d34565b6040516102e39190614c64565b60405180910390f35b61030660048036038101906103019190613fed565b610db3565b005b34801561031457600080fd5b5061031d610ef7565b60405161032a91906150ec565b60405180910390f35b61034d60048036038101906103489190613ed7565b610f0e565b005b34801561035b57600080fd5b506103766004803603810190610371919061408d565b611233565b604051610384929190615107565b60405180910390f35b6103a760048036038101906103a29190613ed7565b611287565b005b3480156103b557600080fd5b506103d060048036038101906103cb91906141d5565b6112a7565b6040516103de929190614d42565b60405180910390f35b3480156103f357600080fd5b5061040e600480360381019061040991906145c7565b611370565b005b34801561041c57600080fd5b506104376004803603810190610432919061402d565b611392565b005b34801561044557600080fd5b50610460600480360381019061045b9190614659565b61143e565b60405161046d9190614c64565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190614222565b611450565b005b3480156104ab57600080fd5b506104c660048036038101906104c19190613e3d565b6117aa565b6040516104d39190614d6b565b60405180910390f35b3480156104e857600080fd5b5061050360048036038101906104fe9190613e3d565b611800565b005b34801561051157600080fd5b5061052c60048036038101906105279190613e3d565b61184c565b60405161053991906150ec565b60405180910390f35b34801561054e57600080fd5b50610557611905565b005b34801561056557600080fd5b50610580600480360381019061057b9190614686565b611919565b005b34801561058e57600080fd5b506105a960048036038101906105a49190613e3d565b611b46565b005b3480156105b757600080fd5b506105c0611b92565b6040516105cd9190614c64565b60405180910390f35b3480156105e257600080fd5b506105eb611bbb565b6040516105f89190614e6a565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190613fad565b611c4d565b005b34801561063657600080fd5b50610651600480360381019061064c9190613e3d565b611d58565b60405161065e91906150ec565b60405180910390f35b34801561067357600080fd5b5061068e600480360381019061068991906141a8565b611d70565b005b34801561069c57600080fd5b506106a5611da5565b6040516106b29190614de6565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613fed565b611db8565b6040516106ef9190614d6b565b60405180910390f35b610712600480360381019061070d9190613f2a565b611de7565b005b34801561072057600080fd5b5061073b60048036038101906107369190614487565b611e5a565b005b34801561074957600080fd5b50610764600480360381019061075f9190613e97565b6122e8565b005b34801561077257600080fd5b5061078d60048036038101906107889190614659565b612376565b60405161079a9190614e6a565b60405180910390f35b3480156107af57600080fd5b506107ca60048036038101906107c59190613e3d565b612588565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190613fad565b6125d4565b005b34801561080157600080fd5b5061081c60048036038101906108179190613e3d565b61263b565b005b34801561082a57600080fd5b5061084560048036038101906108409190613e97565b612687565b6040516108529190614d6b565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d9190613e3d565b61271b565b005b34801561089057600080fd5b506108ab60048036038101906108a69190614659565b61279f565b6040516108b89190614d86565b60405180910390f35b600060018111156108d5576108d4615519565b5b600960009054906101000a900460ff1660018111156108f7576108f6615519565b5b1415610938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092f90614eac565b60405180910390fd5b61271060016109456127b7565b61094f9190615225565b1115610990576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109879061502c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f5906150cc565b60405180910390fd5b6000610a2f33604051602001610a149190614b8d565b604051602081830303815290604052805190602001206127ca565b9050610a7f8184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506127fa565b610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab590614f0c565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290614f8c565b60405180910390fd5b7fb912e64aa68e9d755c185023a399b9c53e2cd956ed8f342079e3ca84dd437719610b746127b7565b604051610b8191906150ec565b60405180910390a1610b9a8c8c8c8c8c8c8c8c8c61285e565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610c028c8c8c8c8c8c8c8c612983565b505050505050505050505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c6b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c9b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610cb190615410565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90615410565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050905090565b6000610d3f82612c29565b610d75576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dbe8261143e565b90508073ffffffffffffffffffffffffffffffffffffffff16610ddf612c88565b73ffffffffffffffffffffffffffffffffffffffff1614610e4257610e0b81610e06612c88565b612687565b610e41576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610f01612c90565b6002546001540303905090565b6000610f1982612c95565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f80576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f8c84612d63565b91509150610fa28187610f9d612c88565b612d8a565b610fee57610fb786610fb2612c88565b612687565b610fed576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611055576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110628686866001612dce565b801561106d57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061113b85611117888887612dd4565b7c020000000000000000000000000000000000000000000000000000000017612dfc565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156111c35760006001850190506000600560008381526020019081526020016000205414156111c15760015481146111c0578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461122b8686866001612e27565b505050505050565b60106020528060005260406000206000915090508060000160009054906101000a900463ffffffff16908060000160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b6112a283838360405180602001604052806000815250611de7565b505050565b60008060008484906112b9919061535d565b90506000601060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050806020015181600001519350935050509250929050565b61137861315d565b806017908051906020019061138e929190613a8b565b5050565b61139a61315d565b60005b838390508110156114385781601160008686858181106113c0576113bf615577565b5b90506020020160208101906113d59190613e3d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141e9190615225565b92505081905550808061143090615473565b91505061139d565b50505050565b600061144982612c95565b9050919050565b612710600161145d6127b7565b6114679190615225565b11156114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f9061502c565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156115395750611509611b92565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b1561173f573373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a3906150cc565b60405180910390fd5b600060018111156115c0576115bf615519565b5b600960009054906101000a900460ff1660018111156115e2576115e1615519565b5b1415611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90614eac565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116116a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169c90614f0c565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116f5919061527b565b925050819055507fa95d53198cea2c64bd83a68663951e4e7041bec4549c3589011ef6c76f90973c6117256127b7565b60405161173291906150ec565b60405180910390a161177e565b7f685f73972f7d40d4ed78dfbfc6b975e1292f321567cdb7b60e5a481fb03505636117686127b7565b60405161177591906150ec565b60405180910390a15b61178f89898989898989898961285e565b61179f8989898989898989612983565b505050505050505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61180861315d565b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118b4576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61190d61315d565b61191760006131db565b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611989576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119809061508c565b60405180910390fd5b6000600b60008481526020019081526020016000205490506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0836040518263ffffffff1660e01b81526004016119fe9190614d86565b60806040518083038186803b158015611a1657600080fd5b505afa158015611a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4e91906140e7565b505050905060006010600083815260200190815260200160002090508060000160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af390614fac565b60405180910390fd5b838160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b611b4e61315d565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611bca90615410565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf690615410565b8015611c435780601f10611c1857610100808354040283529160200191611c43565b820191906000526020600020905b815481529060010190602001808311611c2657829003601f168201915b5050505050905090565b8060086000611c5a612c88565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d07612c88565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d4c9190614d6b565b60405180910390a35050565b60116020528060005260406000206000915090505481565b611d7861315d565b80600960006101000a81548160ff02191690836001811115611d9d57611d9c615519565b5b021790555050565b600960009054906101000a900460ff1681565b600e6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611df2848484610f0e565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e5457611e1d8484848461329f565b611e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611eeb5750611ebb611b92565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611f685760006001811115611f0457611f03615519565b5b600960009054906101000a900460ff166001811115611f2657611f25615519565b5b1415611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e9061506c565b60405180910390fd5b5b6127106001611f756127b7565b611f7f9190615225565b1115611fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb79061502c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461202e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612025906150cc565b60405180910390fd5b60008161205d57601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612081565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90508073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016120bc91906150ec565b60206040518083038186803b1580156120d457600080fd5b505afa1580156120e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210c9190613e6a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121709061504c565b60405180910390fd5b600e60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1615612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e90614f4c565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff0219169083151502179055507fcc98dc25e95a85c9bb720f18662d544bc6e3f2504d654f2f2131ea77fe53aaf981846040516122b1929190614ccb565b60405180910390a16122ca8c8c8c8c8c8c8c8c8c61285e565b6122da8c8c8c8c8c8c8c8c612983565b505050505050505050505050565b6122f061315d565b81601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6060600960019054906101000a900460ff161561244457600960029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631aa347dc836040518263ffffffff1660e01b81526004016123e891906150ec565b60006040518083038186803b15801561240057600080fd5b505afa158015612414573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061243d9190614610565b9050612583565b61244d82612c29565b61248c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124839061500c565b60405180910390fd5b6000600b60008481526020019081526020016000205490506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0836040518263ffffffff1660e01b81526004016125019190614d86565b60806040518083038186803b15801561251957600080fd5b505afa15801561252d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255191906140e7565b9091509050508091505060178160405160200161256f929190614c16565b604051602081830303815290604052925050505b919050565b61259061315d565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125dc61315d565b80600960016101000a81548160ff02191690831515021790555081600960026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61264361315d565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61272361315d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278a90614eec565b60405180910390fd5b61279c816131db565b50565b600b6020528060005260406000206000915090505481565b60006127c1612c90565b60015403905090565b6000816040516020016127dd9190614c3e565b604051602081830303815290604052805190602001209050919050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661283f84846133ff565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061289f338b8b8b8b8b8b8b8b60405160200161288499989796959493929190614ba8565b604051602081830303815290604052805190602001206127ca565b9050600c600082815260200190815260200160002060009054906101000a900460ff1615612902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f9906150ac565b60405180910390fd5b61290c81836127fa565b61294b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294290614fcc565b60405180910390fd5b6001600c600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630e24c52c8a8a8a8a8a8a8a8a6040518963ffffffff1660e01b81526004016129ee989796959493929190614e01565b602060405180830381600087803b158015612a0857600080fd5b505af1158015612a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4091906140ba565b90506000612a4c6127b7565b905081600b6000838152602001908152602001600020819055506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0846040518263ffffffff1660e01b8152600401612ac39190614d86565b60806040518083038186803b158015612adb57600080fd5b505afa158015612aef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1391906140e7565b9091509050508091505060405180604001604052808363ffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152506010600083815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050612bdd336001613426565b7f04725fa25852bde9b529eb778d016cd0ca5f3c309aa4e01cacddc285ac0c574f3383858e8e604051612c14959493929190614cf4565b60405180910390a15050505050505050505050565b600081612c34612c90565b11158015612c43575060015482105b8015612c81575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612ca4612c90565b11612d2c57600154811015612d2b5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d29575b6000811415612d1f576005600083600190039350838152602001908152602001600020549050612cf4565b8092505050612d5e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612deb868684613444565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015612eb35750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1561314b576000600b60008481526020019081526020016000205490506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0836040518263ffffffff1660e01b8152600401612f2d9190614d86565b60806040518083038186803b158015612f4557600080fd5b505afa158015612f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f7d91906140e7565b50505090506000601060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506000601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682600001518360200151604051602401613076929190615107565b6040516020818303038152906040527f0f811c9c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516131009190614bff565b6000604051808303816000865af19150503d806000811461313d576040519150601f19603f3d011682016040523d82523d6000602084013e613142565b606091505b50509050505050505b6131578484848461344d565b50505050565b613165613453565b73ffffffffffffffffffffffffffffffffffffffff16613183611b92565b73ffffffffffffffffffffffffffffffffffffffff16146131d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d090614fec565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132c5612c88565b8786866040518563ffffffff1660e01b81526004016132e79493929190614c7f565b602060405180830381600087803b15801561330157600080fd5b505af192505050801561333257506040513d601f19601f8201168201806040525081019061332f919061417b565b60015b6133ac573d8060008114613362576040519150601f19603f3d011682016040523d82523d6000602084013e613367565b606091505b506000815114156133a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600061340e858561345b565b9150915061341b816134de565b819250505092915050565b6134408282604051806020016040528060008152506136b3565b5050565b60009392505050565b50505050565b600033905090565b60008060418351141561349d5760008060006020860151925060408601519150606086015160001a905061349187828585613751565b945094505050506134d7565b6040835114156134ce5760008060208501519150604085015190506134c386838361385e565b9350935050506134d7565b60006002915091505b9250929050565b600060048111156134f2576134f1615519565b5b81600481111561350557613504615519565b5b1415613510576136b0565b6001600481111561352457613523615519565b5b81600481111561353757613536615519565b5b1415613578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356f90614e8c565b60405180910390fd5b6002600481111561358c5761358b615519565b5b81600481111561359f5761359e615519565b5b14156135e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d790614ecc565b60405180910390fd5b600360048111156135f4576135f3615519565b5b81600481111561360757613606615519565b5b1415613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90614f2c565b60405180910390fd5b60048081111561365b5761365a615519565b5b81600481111561366e5761366d615519565b5b14156136af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a690614f6c565b60405180910390fd5b5b50565b6136bd83836138bd565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461374c5760006001549050600083820390505b6136fe600086838060010194508661329f565b613734576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106136eb57816001541461374957600080fd5b50505b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561378c576000600391509150613855565b601b8560ff16141580156137a45750601c8560ff1614155b156137b6576000600491509150613855565b6000600187878787604051600081526020016040526040516137db9493929190614da1565b6020604051602081039080840390855afa1580156137fd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561384c57600060019250925050613855565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6138a19190615225565b90506138af87828885613751565b935093505050935093915050565b6000600154905060008214156138ff576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61390c6000848385612dce565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613983836139746000866000612dd4565b61397d85613a7b565b17612dfc565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a2457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506139e9565b506000821415613a60576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050613a766000848385612e27565b505050565b60006001821460e11b9050919050565b828054613a9790615410565b90600052602060002090601f016020900481019282613ab95760008555613b00565b82601f10613ad257805160ff1916838001178555613b00565b82800160010185558215613b00579182015b82811115613aff578251825591602001919060010190613ae4565b5b509050613b0d9190613b11565b5090565b5b80821115613b2a576000816000905550600101613b12565b5090565b6000613b41613b3c84615155565b615130565b905082815260208101848484011115613b5d57613b5c6155e4565b5b613b688482856153ce565b509392505050565b6000613b83613b7e84615186565b615130565b905082815260208101848484011115613b9f57613b9e6155e4565b5b613baa8482856153ce565b509392505050565b6000613bc5613bc084615186565b615130565b905082815260208101848484011115613be157613be06155e4565b5b613bec8482856153dd565b509392505050565b600081359050613c03816159fe565b92915050565b600081519050613c18816159fe565b92915050565b60008083601f840112613c3457613c336155da565b5b8235905067ffffffffffffffff811115613c5157613c506155d5565b5b602083019150836020820283011115613c6d57613c6c6155df565b5b9250929050565b600081359050613c8381615a15565b92915050565b600081359050613c9881615a2c565b92915050565b600081519050613cad81615a2c565b92915050565b600081359050613cc281615a43565b92915050565b600081519050613cd781615a43565b92915050565b60008083601f840112613cf357613cf26155da565b5b8235905067ffffffffffffffff811115613d1057613d0f6155d5565b5b602083019150836001820283011115613d2c57613d2b6155df565b5b9250929050565b600082601f830112613d4857613d476155da565b5b8135613d58848260208601613b2e565b91505092915050565b600081359050613d7081615a5a565b92915050565b60008083601f840112613d8c57613d8b6155da565b5b8235905067ffffffffffffffff811115613da957613da86155d5565b5b602083019150836001820283011115613dc557613dc46155df565b5b9250929050565b600082601f830112613de157613de06155da565b5b8135613df1848260208601613b70565b91505092915050565b600082601f830112613e0f57613e0e6155da565b5b8151613e1f848260208601613bb2565b91505092915050565b600081359050613e3781615a6a565b92915050565b600060208284031215613e5357613e526155ee565b5b6000613e6184828501613bf4565b91505092915050565b600060208284031215613e8057613e7f6155ee565b5b6000613e8e84828501613c09565b91505092915050565b60008060408385031215613eae57613ead6155ee565b5b6000613ebc85828601613bf4565b9250506020613ecd85828601613bf4565b9150509250929050565b600080600060608486031215613ef057613eef6155ee565b5b6000613efe86828701613bf4565b9350506020613f0f86828701613bf4565b9250506040613f2086828701613e28565b9150509250925092565b60008060008060808587031215613f4457613f436155ee565b5b6000613f5287828801613bf4565b9450506020613f6387828801613bf4565b9350506040613f7487828801613e28565b925050606085013567ffffffffffffffff811115613f9557613f946155e9565b5b613fa187828801613d33565b91505092959194509250565b60008060408385031215613fc457613fc36155ee565b5b6000613fd285828601613bf4565b9250506020613fe385828601613c74565b9150509250929050565b60008060408385031215614004576140036155ee565b5b600061401285828601613bf4565b925050602061402385828601613e28565b9150509250929050565b600080600060408486031215614046576140456155ee565b5b600084013567ffffffffffffffff811115614064576140636155e9565b5b61407086828701613c1e565b9350935050602061408386828701613e28565b9150509250925092565b6000602082840312156140a3576140a26155ee565b5b60006140b184828501613c89565b91505092915050565b6000602082840312156140d0576140cf6155ee565b5b60006140de84828501613c9e565b91505092915050565b60008060008060808587031215614101576141006155ee565b5b600061410f87828801613c9e565b945050602061412087828801613c9e565b935050604061413187828801613c9e565b925050606061414287828801613c9e565b91505092959194509250565b600060208284031215614164576141636155ee565b5b600061417284828501613cb3565b91505092915050565b600060208284031215614191576141906155ee565b5b600061419f84828501613cc8565b91505092915050565b6000602082840312156141be576141bd6155ee565b5b60006141cc84828501613d61565b91505092915050565b600080602083850312156141ec576141eb6155ee565b5b600083013567ffffffffffffffff81111561420a576142096155e9565b5b61421685828601613d76565b92509250509250929050565b600080600080600080600080600060a08a8c031215614244576142436155ee565b5b60008a013567ffffffffffffffff811115614262576142616155e9565b5b61426e8c828d01613d76565b995099505060208a013567ffffffffffffffff811115614291576142906155e9565b5b61429d8c828d01613d76565b975097505060408a013567ffffffffffffffff8111156142c0576142bf6155e9565b5b6142cc8c828d01613d76565b955095505060608a013567ffffffffffffffff8111156142ef576142ee6155e9565b5b6142fb8c828d01613d76565b935093505060808a013567ffffffffffffffff81111561431e5761431d6155e9565b5b61432a8c828d01613d33565b9150509295985092959850929598565b600080600080600080600080600080600060c08c8e03121561435f5761435e6155ee565b5b60008c013567ffffffffffffffff81111561437d5761437c6155e9565b5b6143898e828f01613d76565b9b509b505060208c013567ffffffffffffffff8111156143ac576143ab6155e9565b5b6143b88e828f01613d76565b995099505060408c013567ffffffffffffffff8111156143db576143da6155e9565b5b6143e78e828f01613d76565b975097505060608c013567ffffffffffffffff81111561440a576144096155e9565b5b6144168e828f01613d76565b955095505060808c013567ffffffffffffffff811115614439576144386155e9565b5b6144458e828f01613d33565b93505060a08c013567ffffffffffffffff811115614466576144656155e9565b5b6144728e828f01613cdd565b92509250509295989b509295989b9093969950565b600080600080600080600080600080600060e08c8e0312156144ac576144ab6155ee565b5b60008c013567ffffffffffffffff8111156144ca576144c96155e9565b5b6144d68e828f01613d76565b9b509b505060208c013567ffffffffffffffff8111156144f9576144f86155e9565b5b6145058e828f01613d76565b995099505060408c013567ffffffffffffffff811115614528576145276155e9565b5b6145348e828f01613d76565b975097505060608c013567ffffffffffffffff811115614557576145566155e9565b5b6145638e828f01613d76565b955095505060808c013567ffffffffffffffff811115614586576145856155e9565b5b6145928e828f01613d33565b93505060a06145a38e828f01613e28565b92505060c06145b48e828f01613c74565b9150509295989b509295989b9093969950565b6000602082840312156145dd576145dc6155ee565b5b600082013567ffffffffffffffff8111156145fb576145fa6155e9565b5b61460784828501613dcc565b91505092915050565b600060208284031215614626576146256155ee565b5b600082015167ffffffffffffffff811115614644576146436155e9565b5b61465084828501613dfa565b91505092915050565b60006020828403121561466f5761466e6155ee565b5b600061467d84828501613e28565b91505092915050565b6000806040838503121561469d5761469c6155ee565b5b60006146ab85828601613e28565b92505060206146bc85828601613bf4565b9150509250929050565b6146cf816152af565b82525050565b6146e66146e1826152af565b6154bc565b82525050565b6146f5816152c1565b82525050565b614704816152cd565b82525050565b61471b614716826152cd565b6154ce565b82525050565b600061472c826151d7565b61473681856151ed565b93506147468185602086016153dd565b61474f816155f3565b840191505092915050565b6000614765826151d7565b61476f81856151fe565b935061477f8185602086016153dd565b80840191505092915050565b614794816153bc565b82525050565b60006147a68385615209565b93506147b38385846153ce565b6147bc836155f3565b840190509392505050565b60006147d3838561521a565b93506147e08385846153ce565b82840190509392505050565b60006147f7826151e2565b6148018185615209565b93506148118185602086016153dd565b61481a816155f3565b840191505092915050565b6000815461483281615410565b61483c818661521a565b9450600182166000811461485757600181146148685761489b565b60ff1983168652818601935061489b565b614871856151b7565b60005b8381101561489357815481890152600182019150602081019050614874565b838801955050505b50505092915050565b60006148b1601883615209565b91506148bc8261561e565b602082019050919050565b60006148d4601083615209565b91506148df82615647565b602082019050919050565b60006148f7601f83615209565b915061490282615670565b602082019050919050565b600061491a601c8361521a565b915061492582615699565b601c82019050919050565b600061493d602683615209565b9150614948826156c2565b604082019050919050565b6000614960601083615209565b915061496b82615711565b602082019050919050565b6000614983602283615209565b915061498e8261573a565b604082019050919050565b60006149a6601283615209565b91506149b182615789565b602082019050919050565b60006149c9602283615209565b91506149d4826157b2565b604082019050919050565b60006149ec600e83615209565b91506149f782615801565b602082019050919050565b6000614a0f600a83615209565b9150614a1a8261582a565b602082019050919050565b6000614a32601183615209565b9150614a3d82615853565b602082019050919050565b6000614a55602083615209565b9150614a608261587c565b602082019050919050565b6000614a78602f83615209565b9150614a83826158a5565b604082019050919050565b6000614a9b600c83615209565b9150614aa6826158f4565b602082019050919050565b6000614abe600983615209565b9150614ac98261591d565b602082019050919050565b6000614ae1601683615209565b9150614aec82615946565b602082019050919050565b6000614b04600583615209565b9150614b0f8261596f565b602082019050919050565b6000614b27601183615209565b9150614b3282615998565b602082019050919050565b6000614b4a600c83615209565b9150614b55826159c1565b602082019050919050565b614b6981615336565b82525050565b614b7881615340565b82525050565b614b8781615350565b82525050565b6000614b9982846146d5565b60148201915081905092915050565b6000614bb4828c6146d5565b601482019150614bc5828a8c6147c7565b9150614bd282888a6147c7565b9150614bdf8286886147c7565b9150614bec8284866147c7565b91508190509a9950505050505050505050565b6000614c0b828461475a565b915081905092915050565b6000614c228285614825565b9150614c2e828461470a565b6020820191508190509392505050565b6000614c498261490d565b9150614c55828461470a565b60208201915081905092915050565b6000602082019050614c7960008301846146c6565b92915050565b6000608082019050614c9460008301876146c6565b614ca160208301866146c6565b614cae6040830185614b60565b8181036060830152614cc08184614721565b905095945050505050565b6000604082019050614ce060008301856146c6565b614ced6020830184614b60565b9392505050565b6000608082019050614d0960008301886146c6565b614d166020830187614b60565b614d2360408301866146fb565b8181036060830152614d3681848661479a565b90509695505050505050565b6000604082019050614d5760008301856146c6565b614d646020830184614b6f565b9392505050565b6000602082019050614d8060008301846146ec565b92915050565b6000602082019050614d9b60008301846146fb565b92915050565b6000608082019050614db660008301876146fb565b614dc36020830186614b7e565b614dd060408301856146fb565b614ddd60608301846146fb565b95945050505050565b6000602082019050614dfb600083018461478b565b92915050565b60006080820190508181036000830152614e1c818a8c61479a565b90508181036020830152614e3181888a61479a565b90508181036040830152614e4681868861479a565b90508181036060830152614e5b81848661479a565b90509998505050505050505050565b60006020820190508181036000830152614e8481846147ec565b905092915050565b60006020820190508181036000830152614ea5816148a4565b9050919050565b60006020820190508181036000830152614ec5816148c7565b9050919050565b60006020820190508181036000830152614ee5816148ea565b9050919050565b60006020820190508181036000830152614f0581614930565b9050919050565b60006020820190508181036000830152614f2581614953565b9050919050565b60006020820190508181036000830152614f4581614976565b9050919050565b60006020820190508181036000830152614f6581614999565b9050919050565b60006020820190508181036000830152614f85816149bc565b9050919050565b60006020820190508181036000830152614fa5816149df565b9050919050565b60006020820190508181036000830152614fc581614a02565b9050919050565b60006020820190508181036000830152614fe581614a25565b9050919050565b6000602082019050818103600083015261500581614a48565b9050919050565b6000602082019050818103600083015261502581614a6b565b9050919050565b6000602082019050818103600083015261504581614a8e565b9050919050565b6000602082019050818103600083015261506581614ab1565b9050919050565b6000602082019050818103600083015261508581614ad4565b9050919050565b600060208201905081810360008301526150a581614af7565b9050919050565b600060208201905081810360008301526150c581614b1a565b9050919050565b600060208201905081810360008301526150e581614b3d565b9050919050565b60006020820190506151016000830184614b60565b92915050565b600060408201905061511c6000830185614b6f565b61512960208301846146c6565b9392505050565b600061513a61514b565b90506151468282615442565b919050565b6000604051905090565b600067ffffffffffffffff8211156151705761516f6155a6565b5b615179826155f3565b9050602081019050919050565b600067ffffffffffffffff8211156151a1576151a06155a6565b5b6151aa826155f3565b9050602081019050919050565b60008190508160005260206000209050919050565b600082905092915050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061523082615336565b915061523b83615336565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152705761526f6154ea565b5b828201905092915050565b600061528682615336565b915061529183615336565b9250828210156152a4576152a36154ea565b5b828203905092915050565b60006152ba82615316565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050615311826159ea565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b600061536983836151cc565b8261537481356152cd565b925060208210156153b4576153af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83602003600802615611565b831692505b505092915050565b60006153c782615303565b9050919050565b82818337600083830152505050565b60005b838110156153fb5780820151818401526020810190506153e0565b8381111561540a576000848401525b50505050565b6000600282049050600182168061542857607f821691505b6020821081141561543c5761543b615548565b5b50919050565b61544b826155f3565b810181811067ffffffffffffffff8211171561546a576154696155a6565b5b80604052505050565b600061547e82615336565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154b1576154b06154ea565b5b600182019050919050565b60006154c7826154d8565b9050919050565b6000819050919050565b60006154e382615604565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b600082821b905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f416c6c6f776c69737420636c6f73656400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479207573656420746f6b656e0000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479204d696e746564000000000000000000000000000000000000600082015250565b7f4e6f742061727469737400000000000000000000000000000000000000000000600082015250565b7f496e76616c6964205369676e6174757265000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d696e74206973206f7665720000000000000000000000000000000000000000600082015250565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b7f496c6c756d696e617469204d696e7420436c6f73656400000000000000000000600082015250565b7f4f6f6f7073000000000000000000000000000000000000000000000000000000600082015250565b7f416c726561647920757365642068617368000000000000000000000000000000600082015250565b7f4e6f20636f6e7472616374730000000000000000000000000000000000000000600082015250565b600281106159fb576159fa615519565b5b50565b615a07816152af565b8114615a1257600080fd5b50565b615a1e816152c1565b8114615a2957600080fd5b50565b615a35816152cd565b8114615a4057600080fd5b50565b615a4c816152d7565b8114615a5757600080fd5b50565b60028110615a6757600080fd5b50565b615a7381615336565b8114615a7e57600080fd5b5056fea26469706673582212200cae60a045028125a4c732beeb438d7130fec4f0c0214d499273bea01c96179264736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102195760003560e01c8063737b745e11610123578063b88d4fde116100ab578063d59a8c461161006f578063d59a8c46146107cc578063d9aa187c146107f5578063e985e9c51461081e578063f2fde38b1461085b578063f94d6d651461088457610219565b8063b88d4fde146106f8578063bba7eb6114610714578063c7bb3fda1461073d578063c87b56dd14610766578063d06c8b60146107a357610219565b8063a22cb465116100f2578063a22cb46514610601578063a7cd52cb1461062a578063aae146c214610667578063ae87fc4b14610690578063b3925c0e146106bb57610219565b8063737b745e146105595780638c19ebc8146105825780638da5cb5b146105ab57806395d89b41146105d657610219565b806346b2b087116101a6578063640924321161017557806364092432146104765780636c18354f1461049f5780636c19e783146104dc57806370a0823114610505578063715018a61461054257610219565b806346b2b087146103a957806355f804b3146103e7578063626b9da0146104105780636352211e1461043957610219565b8063095ea7b3116101ed578063095ea7b3146102ec57806318160ddd1461030857806323b872dd1461033357806327a49a4f1461034f57806342842e0e1461038d57610219565b8062710eba1461021e57806301ffc9a71461024757806306fdde0314610284578063081812fc146102af575b600080fd5b34801561022a57600080fd5b506102456004803603810190610240919061433a565b6108c1565b005b34801561025357600080fd5b5061026e6004803603810190610269919061414e565b610c10565b60405161027b9190614d6b565b60405180910390f35b34801561029057600080fd5b50610299610ca2565b6040516102a69190614e6a565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190614659565b610d34565b6040516102e39190614c64565b60405180910390f35b61030660048036038101906103019190613fed565b610db3565b005b34801561031457600080fd5b5061031d610ef7565b60405161032a91906150ec565b60405180910390f35b61034d60048036038101906103489190613ed7565b610f0e565b005b34801561035b57600080fd5b506103766004803603810190610371919061408d565b611233565b604051610384929190615107565b60405180910390f35b6103a760048036038101906103a29190613ed7565b611287565b005b3480156103b557600080fd5b506103d060048036038101906103cb91906141d5565b6112a7565b6040516103de929190614d42565b60405180910390f35b3480156103f357600080fd5b5061040e600480360381019061040991906145c7565b611370565b005b34801561041c57600080fd5b506104376004803603810190610432919061402d565b611392565b005b34801561044557600080fd5b50610460600480360381019061045b9190614659565b61143e565b60405161046d9190614c64565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190614222565b611450565b005b3480156104ab57600080fd5b506104c660048036038101906104c19190613e3d565b6117aa565b6040516104d39190614d6b565b60405180910390f35b3480156104e857600080fd5b5061050360048036038101906104fe9190613e3d565b611800565b005b34801561051157600080fd5b5061052c60048036038101906105279190613e3d565b61184c565b60405161053991906150ec565b60405180910390f35b34801561054e57600080fd5b50610557611905565b005b34801561056557600080fd5b50610580600480360381019061057b9190614686565b611919565b005b34801561058e57600080fd5b506105a960048036038101906105a49190613e3d565b611b46565b005b3480156105b757600080fd5b506105c0611b92565b6040516105cd9190614c64565b60405180910390f35b3480156105e257600080fd5b506105eb611bbb565b6040516105f89190614e6a565b60405180910390f35b34801561060d57600080fd5b5061062860048036038101906106239190613fad565b611c4d565b005b34801561063657600080fd5b50610651600480360381019061064c9190613e3d565b611d58565b60405161065e91906150ec565b60405180910390f35b34801561067357600080fd5b5061068e600480360381019061068991906141a8565b611d70565b005b34801561069c57600080fd5b506106a5611da5565b6040516106b29190614de6565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613fed565b611db8565b6040516106ef9190614d6b565b60405180910390f35b610712600480360381019061070d9190613f2a565b611de7565b005b34801561072057600080fd5b5061073b60048036038101906107369190614487565b611e5a565b005b34801561074957600080fd5b50610764600480360381019061075f9190613e97565b6122e8565b005b34801561077257600080fd5b5061078d60048036038101906107889190614659565b612376565b60405161079a9190614e6a565b60405180910390f35b3480156107af57600080fd5b506107ca60048036038101906107c59190613e3d565b612588565b005b3480156107d857600080fd5b506107f360048036038101906107ee9190613fad565b6125d4565b005b34801561080157600080fd5b5061081c60048036038101906108179190613e3d565b61263b565b005b34801561082a57600080fd5b5061084560048036038101906108409190613e97565b612687565b6040516108529190614d6b565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d9190613e3d565b61271b565b005b34801561089057600080fd5b506108ab60048036038101906108a69190614659565b61279f565b6040516108b89190614d86565b60405180910390f35b600060018111156108d5576108d4615519565b5b600960009054906101000a900460ff1660018111156108f7576108f6615519565b5b1415610938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092f90614eac565b60405180910390fd5b61271060016109456127b7565b61094f9190615225565b1115610990576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109879061502c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f5906150cc565b60405180910390fd5b6000610a2f33604051602001610a149190614b8d565b604051602081830303815290604052805190602001206127ca565b9050610a7f8184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506127fa565b610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab590614f0c565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290614f8c565b60405180910390fd5b7fb912e64aa68e9d755c185023a399b9c53e2cd956ed8f342079e3ca84dd437719610b746127b7565b604051610b8191906150ec565b60405180910390a1610b9a8c8c8c8c8c8c8c8c8c61285e565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610c028c8c8c8c8c8c8c8c612983565b505050505050505050505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c6b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c9b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610cb190615410565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90615410565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050905090565b6000610d3f82612c29565b610d75576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dbe8261143e565b90508073ffffffffffffffffffffffffffffffffffffffff16610ddf612c88565b73ffffffffffffffffffffffffffffffffffffffff1614610e4257610e0b81610e06612c88565b612687565b610e41576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610f01612c90565b6002546001540303905090565b6000610f1982612c95565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f80576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f8c84612d63565b91509150610fa28187610f9d612c88565b612d8a565b610fee57610fb786610fb2612c88565b612687565b610fed576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611055576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110628686866001612dce565b801561106d57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061113b85611117888887612dd4565b7c020000000000000000000000000000000000000000000000000000000017612dfc565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156111c35760006001850190506000600560008381526020019081526020016000205414156111c15760015481146111c0578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461122b8686866001612e27565b505050505050565b60106020528060005260406000206000915090508060000160009054906101000a900463ffffffff16908060000160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b6112a283838360405180602001604052806000815250611de7565b505050565b60008060008484906112b9919061535d565b90506000601060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050806020015181600001519350935050509250929050565b61137861315d565b806017908051906020019061138e929190613a8b565b5050565b61139a61315d565b60005b838390508110156114385781601160008686858181106113c0576113bf615577565b5b90506020020160208101906113d59190613e3d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141e9190615225565b92505081905550808061143090615473565b91505061139d565b50505050565b600061144982612c95565b9050919050565b612710600161145d6127b7565b6114679190615225565b11156114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f9061502c565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156115395750611509611b92565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b1561173f573373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a3906150cc565b60405180910390fd5b600060018111156115c0576115bf615519565b5b600960009054906101000a900460ff1660018111156115e2576115e1615519565b5b1415611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90614eac565b60405180910390fd5b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116116a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169c90614f0c565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116f5919061527b565b925050819055507fa95d53198cea2c64bd83a68663951e4e7041bec4549c3589011ef6c76f90973c6117256127b7565b60405161173291906150ec565b60405180910390a161177e565b7f685f73972f7d40d4ed78dfbfc6b975e1292f321567cdb7b60e5a481fb03505636117686127b7565b60405161177591906150ec565b60405180910390a15b61178f89898989898989898961285e565b61179f8989898989898989612983565b505050505050505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61180861315d565b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118b4576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61190d61315d565b61191760006131db565b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611989576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119809061508c565b60405180910390fd5b6000600b60008481526020019081526020016000205490506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0836040518263ffffffff1660e01b81526004016119fe9190614d86565b60806040518083038186803b158015611a1657600080fd5b505afa158015611a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a4e91906140e7565b505050905060006010600083815260200190815260200160002090508060000160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af390614fac565b60405180910390fd5b838160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b611b4e61315d565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611bca90615410565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf690615410565b8015611c435780601f10611c1857610100808354040283529160200191611c43565b820191906000526020600020905b815481529060010190602001808311611c2657829003601f168201915b5050505050905090565b8060086000611c5a612c88565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d07612c88565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d4c9190614d6b565b60405180910390a35050565b60116020528060005260406000206000915090505481565b611d7861315d565b80600960006101000a81548160ff02191690836001811115611d9d57611d9c615519565b5b021790555050565b600960009054906101000a900460ff1681565b600e6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611df2848484610f0e565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e5457611e1d8484848461329f565b611e53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611eeb5750611ebb611b92565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611f685760006001811115611f0457611f03615519565b5b600960009054906101000a900460ff166001811115611f2657611f25615519565b5b1415611f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5e9061506c565b60405180910390fd5b5b6127106001611f756127b7565b611f7f9190615225565b1115611fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb79061502c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461202e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612025906150cc565b60405180910390fd5b60008161205d57601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612081565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90508073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016120bc91906150ec565b60206040518083038186803b1580156120d457600080fd5b505afa1580156120e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061210c9190613e6a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121709061504c565b60405180910390fd5b600e60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1615612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e90614f4c565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff0219169083151502179055507fcc98dc25e95a85c9bb720f18662d544bc6e3f2504d654f2f2131ea77fe53aaf981846040516122b1929190614ccb565b60405180910390a16122ca8c8c8c8c8c8c8c8c8c61285e565b6122da8c8c8c8c8c8c8c8c612983565b505050505050505050505050565b6122f061315d565b81601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6060600960019054906101000a900460ff161561244457600960029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631aa347dc836040518263ffffffff1660e01b81526004016123e891906150ec565b60006040518083038186803b15801561240057600080fd5b505afa158015612414573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061243d9190614610565b9050612583565b61244d82612c29565b61248c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124839061500c565b60405180910390fd5b6000600b60008481526020019081526020016000205490506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0836040518263ffffffff1660e01b81526004016125019190614d86565b60806040518083038186803b15801561251957600080fd5b505afa15801561252d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255191906140e7565b9091509050508091505060178160405160200161256f929190614c16565b604051602081830303815290604052925050505b919050565b61259061315d565b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125dc61315d565b80600960016101000a81548160ff02191690831515021790555081600960026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61264361315d565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61272361315d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278a90614eec565b60405180910390fd5b61279c816131db565b50565b600b6020528060005260406000206000915090505481565b60006127c1612c90565b60015403905090565b6000816040516020016127dd9190614c3e565b604051602081830303815290604052805190602001209050919050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661283f84846133ff565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061289f338b8b8b8b8b8b8b8b60405160200161288499989796959493929190614ba8565b604051602081830303815290604052805190602001206127ca565b9050600c600082815260200190815260200160002060009054906101000a900460ff1615612902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f9906150ac565b60405180910390fd5b61290c81836127fa565b61294b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294290614fcc565b60405180910390fd5b6001600c600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050505050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630e24c52c8a8a8a8a8a8a8a8a6040518963ffffffff1660e01b81526004016129ee989796959493929190614e01565b602060405180830381600087803b158015612a0857600080fd5b505af1158015612a1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4091906140ba565b90506000612a4c6127b7565b905081600b6000838152602001908152602001600020819055506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0846040518263ffffffff1660e01b8152600401612ac39190614d86565b60806040518083038186803b158015612adb57600080fd5b505afa158015612aef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1391906140e7565b9091509050508091505060405180604001604052808363ffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152506010600083815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550905050612bdd336001613426565b7f04725fa25852bde9b529eb778d016cd0ca5f3c309aa4e01cacddc285ac0c574f3383858e8e604051612c14959493929190614cf4565b60405180910390a15050505050505050505050565b600081612c34612c90565b11158015612c43575060015482105b8015612c81575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612ca4612c90565b11612d2c57600154811015612d2b5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d29575b6000811415612d1f576005600083600190039350838152602001908152602001600020549050612cf4565b8092505050612d5e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612deb868684613444565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b600073ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015612eb35750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1561314b576000600b60008481526020019081526020016000205490506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638eaa6ac0836040518263ffffffff1660e01b8152600401612f2d9190614d86565b60806040518083038186803b158015612f4557600080fd5b505afa158015612f59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f7d91906140e7565b50505090506000601060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152505090506000601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682600001518360200151604051602401613076929190615107565b6040516020818303038152906040527f0f811c9c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516131009190614bff565b6000604051808303816000865af19150503d806000811461313d576040519150601f19603f3d011682016040523d82523d6000602084013e613142565b606091505b50509050505050505b6131578484848461344d565b50505050565b613165613453565b73ffffffffffffffffffffffffffffffffffffffff16613183611b92565b73ffffffffffffffffffffffffffffffffffffffff16146131d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131d090614fec565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132c5612c88565b8786866040518563ffffffff1660e01b81526004016132e79493929190614c7f565b602060405180830381600087803b15801561330157600080fd5b505af192505050801561333257506040513d601f19601f8201168201806040525081019061332f919061417b565b60015b6133ac573d8060008114613362576040519150601f19603f3d011682016040523d82523d6000602084013e613367565b606091505b506000815114156133a4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600061340e858561345b565b9150915061341b816134de565b819250505092915050565b6134408282604051806020016040528060008152506136b3565b5050565b60009392505050565b50505050565b600033905090565b60008060418351141561349d5760008060006020860151925060408601519150606086015160001a905061349187828585613751565b945094505050506134d7565b6040835114156134ce5760008060208501519150604085015190506134c386838361385e565b9350935050506134d7565b60006002915091505b9250929050565b600060048111156134f2576134f1615519565b5b81600481111561350557613504615519565b5b1415613510576136b0565b6001600481111561352457613523615519565b5b81600481111561353757613536615519565b5b1415613578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356f90614e8c565b60405180910390fd5b6002600481111561358c5761358b615519565b5b81600481111561359f5761359e615519565b5b14156135e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d790614ecc565b60405180910390fd5b600360048111156135f4576135f3615519565b5b81600481111561360757613606615519565b5b1415613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90614f2c565b60405180910390fd5b60048081111561365b5761365a615519565b5b81600481111561366e5761366d615519565b5b14156136af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a690614f6c565b60405180910390fd5b5b50565b6136bd83836138bd565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461374c5760006001549050600083820390505b6136fe600086838060010194508661329f565b613734576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106136eb57816001541461374957600080fd5b50505b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561378c576000600391509150613855565b601b8560ff16141580156137a45750601c8560ff1614155b156137b6576000600491509150613855565b6000600187878787604051600081526020016040526040516137db9493929190614da1565b6020604051602081039080840390855afa1580156137fd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561384c57600060019250925050613855565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6138a19190615225565b90506138af87828885613751565b935093505050935093915050565b6000600154905060008214156138ff576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61390c6000848385612dce565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613983836139746000866000612dd4565b61397d85613a7b565b17612dfc565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a2457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506139e9565b506000821415613a60576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050613a766000848385612e27565b505050565b60006001821460e11b9050919050565b828054613a9790615410565b90600052602060002090601f016020900481019282613ab95760008555613b00565b82601f10613ad257805160ff1916838001178555613b00565b82800160010185558215613b00579182015b82811115613aff578251825591602001919060010190613ae4565b5b509050613b0d9190613b11565b5090565b5b80821115613b2a576000816000905550600101613b12565b5090565b6000613b41613b3c84615155565b615130565b905082815260208101848484011115613b5d57613b5c6155e4565b5b613b688482856153ce565b509392505050565b6000613b83613b7e84615186565b615130565b905082815260208101848484011115613b9f57613b9e6155e4565b5b613baa8482856153ce565b509392505050565b6000613bc5613bc084615186565b615130565b905082815260208101848484011115613be157613be06155e4565b5b613bec8482856153dd565b509392505050565b600081359050613c03816159fe565b92915050565b600081519050613c18816159fe565b92915050565b60008083601f840112613c3457613c336155da565b5b8235905067ffffffffffffffff811115613c5157613c506155d5565b5b602083019150836020820283011115613c6d57613c6c6155df565b5b9250929050565b600081359050613c8381615a15565b92915050565b600081359050613c9881615a2c565b92915050565b600081519050613cad81615a2c565b92915050565b600081359050613cc281615a43565b92915050565b600081519050613cd781615a43565b92915050565b60008083601f840112613cf357613cf26155da565b5b8235905067ffffffffffffffff811115613d1057613d0f6155d5565b5b602083019150836001820283011115613d2c57613d2b6155df565b5b9250929050565b600082601f830112613d4857613d476155da565b5b8135613d58848260208601613b2e565b91505092915050565b600081359050613d7081615a5a565b92915050565b60008083601f840112613d8c57613d8b6155da565b5b8235905067ffffffffffffffff811115613da957613da86155d5565b5b602083019150836001820283011115613dc557613dc46155df565b5b9250929050565b600082601f830112613de157613de06155da565b5b8135613df1848260208601613b70565b91505092915050565b600082601f830112613e0f57613e0e6155da565b5b8151613e1f848260208601613bb2565b91505092915050565b600081359050613e3781615a6a565b92915050565b600060208284031215613e5357613e526155ee565b5b6000613e6184828501613bf4565b91505092915050565b600060208284031215613e8057613e7f6155ee565b5b6000613e8e84828501613c09565b91505092915050565b60008060408385031215613eae57613ead6155ee565b5b6000613ebc85828601613bf4565b9250506020613ecd85828601613bf4565b9150509250929050565b600080600060608486031215613ef057613eef6155ee565b5b6000613efe86828701613bf4565b9350506020613f0f86828701613bf4565b9250506040613f2086828701613e28565b9150509250925092565b60008060008060808587031215613f4457613f436155ee565b5b6000613f5287828801613bf4565b9450506020613f6387828801613bf4565b9350506040613f7487828801613e28565b925050606085013567ffffffffffffffff811115613f9557613f946155e9565b5b613fa187828801613d33565b91505092959194509250565b60008060408385031215613fc457613fc36155ee565b5b6000613fd285828601613bf4565b9250506020613fe385828601613c74565b9150509250929050565b60008060408385031215614004576140036155ee565b5b600061401285828601613bf4565b925050602061402385828601613e28565b9150509250929050565b600080600060408486031215614046576140456155ee565b5b600084013567ffffffffffffffff811115614064576140636155e9565b5b61407086828701613c1e565b9350935050602061408386828701613e28565b9150509250925092565b6000602082840312156140a3576140a26155ee565b5b60006140b184828501613c89565b91505092915050565b6000602082840312156140d0576140cf6155ee565b5b60006140de84828501613c9e565b91505092915050565b60008060008060808587031215614101576141006155ee565b5b600061410f87828801613c9e565b945050602061412087828801613c9e565b935050604061413187828801613c9e565b925050606061414287828801613c9e565b91505092959194509250565b600060208284031215614164576141636155ee565b5b600061417284828501613cb3565b91505092915050565b600060208284031215614191576141906155ee565b5b600061419f84828501613cc8565b91505092915050565b6000602082840312156141be576141bd6155ee565b5b60006141cc84828501613d61565b91505092915050565b600080602083850312156141ec576141eb6155ee565b5b600083013567ffffffffffffffff81111561420a576142096155e9565b5b61421685828601613d76565b92509250509250929050565b600080600080600080600080600060a08a8c031215614244576142436155ee565b5b60008a013567ffffffffffffffff811115614262576142616155e9565b5b61426e8c828d01613d76565b995099505060208a013567ffffffffffffffff811115614291576142906155e9565b5b61429d8c828d01613d76565b975097505060408a013567ffffffffffffffff8111156142c0576142bf6155e9565b5b6142cc8c828d01613d76565b955095505060608a013567ffffffffffffffff8111156142ef576142ee6155e9565b5b6142fb8c828d01613d76565b935093505060808a013567ffffffffffffffff81111561431e5761431d6155e9565b5b61432a8c828d01613d33565b9150509295985092959850929598565b600080600080600080600080600080600060c08c8e03121561435f5761435e6155ee565b5b60008c013567ffffffffffffffff81111561437d5761437c6155e9565b5b6143898e828f01613d76565b9b509b505060208c013567ffffffffffffffff8111156143ac576143ab6155e9565b5b6143b88e828f01613d76565b995099505060408c013567ffffffffffffffff8111156143db576143da6155e9565b5b6143e78e828f01613d76565b975097505060608c013567ffffffffffffffff81111561440a576144096155e9565b5b6144168e828f01613d76565b955095505060808c013567ffffffffffffffff811115614439576144386155e9565b5b6144458e828f01613d33565b93505060a08c013567ffffffffffffffff811115614466576144656155e9565b5b6144728e828f01613cdd565b92509250509295989b509295989b9093969950565b600080600080600080600080600080600060e08c8e0312156144ac576144ab6155ee565b5b60008c013567ffffffffffffffff8111156144ca576144c96155e9565b5b6144d68e828f01613d76565b9b509b505060208c013567ffffffffffffffff8111156144f9576144f86155e9565b5b6145058e828f01613d76565b995099505060408c013567ffffffffffffffff811115614528576145276155e9565b5b6145348e828f01613d76565b975097505060608c013567ffffffffffffffff811115614557576145566155e9565b5b6145638e828f01613d76565b955095505060808c013567ffffffffffffffff811115614586576145856155e9565b5b6145928e828f01613d33565b93505060a06145a38e828f01613e28565b92505060c06145b48e828f01613c74565b9150509295989b509295989b9093969950565b6000602082840312156145dd576145dc6155ee565b5b600082013567ffffffffffffffff8111156145fb576145fa6155e9565b5b61460784828501613dcc565b91505092915050565b600060208284031215614626576146256155ee565b5b600082015167ffffffffffffffff811115614644576146436155e9565b5b61465084828501613dfa565b91505092915050565b60006020828403121561466f5761466e6155ee565b5b600061467d84828501613e28565b91505092915050565b6000806040838503121561469d5761469c6155ee565b5b60006146ab85828601613e28565b92505060206146bc85828601613bf4565b9150509250929050565b6146cf816152af565b82525050565b6146e66146e1826152af565b6154bc565b82525050565b6146f5816152c1565b82525050565b614704816152cd565b82525050565b61471b614716826152cd565b6154ce565b82525050565b600061472c826151d7565b61473681856151ed565b93506147468185602086016153dd565b61474f816155f3565b840191505092915050565b6000614765826151d7565b61476f81856151fe565b935061477f8185602086016153dd565b80840191505092915050565b614794816153bc565b82525050565b60006147a68385615209565b93506147b38385846153ce565b6147bc836155f3565b840190509392505050565b60006147d3838561521a565b93506147e08385846153ce565b82840190509392505050565b60006147f7826151e2565b6148018185615209565b93506148118185602086016153dd565b61481a816155f3565b840191505092915050565b6000815461483281615410565b61483c818661521a565b9450600182166000811461485757600181146148685761489b565b60ff1983168652818601935061489b565b614871856151b7565b60005b8381101561489357815481890152600182019150602081019050614874565b838801955050505b50505092915050565b60006148b1601883615209565b91506148bc8261561e565b602082019050919050565b60006148d4601083615209565b91506148df82615647565b602082019050919050565b60006148f7601f83615209565b915061490282615670565b602082019050919050565b600061491a601c8361521a565b915061492582615699565b601c82019050919050565b600061493d602683615209565b9150614948826156c2565b604082019050919050565b6000614960601083615209565b915061496b82615711565b602082019050919050565b6000614983602283615209565b915061498e8261573a565b604082019050919050565b60006149a6601283615209565b91506149b182615789565b602082019050919050565b60006149c9602283615209565b91506149d4826157b2565b604082019050919050565b60006149ec600e83615209565b91506149f782615801565b602082019050919050565b6000614a0f600a83615209565b9150614a1a8261582a565b602082019050919050565b6000614a32601183615209565b9150614a3d82615853565b602082019050919050565b6000614a55602083615209565b9150614a608261587c565b602082019050919050565b6000614a78602f83615209565b9150614a83826158a5565b604082019050919050565b6000614a9b600c83615209565b9150614aa6826158f4565b602082019050919050565b6000614abe600983615209565b9150614ac98261591d565b602082019050919050565b6000614ae1601683615209565b9150614aec82615946565b602082019050919050565b6000614b04600583615209565b9150614b0f8261596f565b602082019050919050565b6000614b27601183615209565b9150614b3282615998565b602082019050919050565b6000614b4a600c83615209565b9150614b55826159c1565b602082019050919050565b614b6981615336565b82525050565b614b7881615340565b82525050565b614b8781615350565b82525050565b6000614b9982846146d5565b60148201915081905092915050565b6000614bb4828c6146d5565b601482019150614bc5828a8c6147c7565b9150614bd282888a6147c7565b9150614bdf8286886147c7565b9150614bec8284866147c7565b91508190509a9950505050505050505050565b6000614c0b828461475a565b915081905092915050565b6000614c228285614825565b9150614c2e828461470a565b6020820191508190509392505050565b6000614c498261490d565b9150614c55828461470a565b60208201915081905092915050565b6000602082019050614c7960008301846146c6565b92915050565b6000608082019050614c9460008301876146c6565b614ca160208301866146c6565b614cae6040830185614b60565b8181036060830152614cc08184614721565b905095945050505050565b6000604082019050614ce060008301856146c6565b614ced6020830184614b60565b9392505050565b6000608082019050614d0960008301886146c6565b614d166020830187614b60565b614d2360408301866146fb565b8181036060830152614d3681848661479a565b90509695505050505050565b6000604082019050614d5760008301856146c6565b614d646020830184614b6f565b9392505050565b6000602082019050614d8060008301846146ec565b92915050565b6000602082019050614d9b60008301846146fb565b92915050565b6000608082019050614db660008301876146fb565b614dc36020830186614b7e565b614dd060408301856146fb565b614ddd60608301846146fb565b95945050505050565b6000602082019050614dfb600083018461478b565b92915050565b60006080820190508181036000830152614e1c818a8c61479a565b90508181036020830152614e3181888a61479a565b90508181036040830152614e4681868861479a565b90508181036060830152614e5b81848661479a565b90509998505050505050505050565b60006020820190508181036000830152614e8481846147ec565b905092915050565b60006020820190508181036000830152614ea5816148a4565b9050919050565b60006020820190508181036000830152614ec5816148c7565b9050919050565b60006020820190508181036000830152614ee5816148ea565b9050919050565b60006020820190508181036000830152614f0581614930565b9050919050565b60006020820190508181036000830152614f2581614953565b9050919050565b60006020820190508181036000830152614f4581614976565b9050919050565b60006020820190508181036000830152614f6581614999565b9050919050565b60006020820190508181036000830152614f85816149bc565b9050919050565b60006020820190508181036000830152614fa5816149df565b9050919050565b60006020820190508181036000830152614fc581614a02565b9050919050565b60006020820190508181036000830152614fe581614a25565b9050919050565b6000602082019050818103600083015261500581614a48565b9050919050565b6000602082019050818103600083015261502581614a6b565b9050919050565b6000602082019050818103600083015261504581614a8e565b9050919050565b6000602082019050818103600083015261506581614ab1565b9050919050565b6000602082019050818103600083015261508581614ad4565b9050919050565b600060208201905081810360008301526150a581614af7565b9050919050565b600060208201905081810360008301526150c581614b1a565b9050919050565b600060208201905081810360008301526150e581614b3d565b9050919050565b60006020820190506151016000830184614b60565b92915050565b600060408201905061511c6000830185614b6f565b61512960208301846146c6565b9392505050565b600061513a61514b565b90506151468282615442565b919050565b6000604051905090565b600067ffffffffffffffff8211156151705761516f6155a6565b5b615179826155f3565b9050602081019050919050565b600067ffffffffffffffff8211156151a1576151a06155a6565b5b6151aa826155f3565b9050602081019050919050565b60008190508160005260206000209050919050565b600082905092915050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061523082615336565b915061523b83615336565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152705761526f6154ea565b5b828201905092915050565b600061528682615336565b915061529183615336565b9250828210156152a4576152a36154ea565b5b828203905092915050565b60006152ba82615316565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050615311826159ea565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b600061536983836151cc565b8261537481356152cd565b925060208210156153b4576153af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83602003600802615611565b831692505b505092915050565b60006153c782615303565b9050919050565b82818337600083830152505050565b60005b838110156153fb5780820151818401526020810190506153e0565b8381111561540a576000848401525b50505050565b6000600282049050600182168061542857607f821691505b6020821081141561543c5761543b615548565b5b50919050565b61544b826155f3565b810181811067ffffffffffffffff8211171561546a576154696155a6565b5b80604052505050565b600061547e82615336565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154b1576154b06154ea565b5b600182019050919050565b60006154c7826154d8565b9050919050565b6000819050919050565b60006154e382615604565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b600082821b905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f416c6c6f776c69737420636c6f73656400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f74206f6e20616c6c6f776c69737400000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479207573656420746f6b656e0000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479204d696e746564000000000000000000000000000000000000600082015250565b7f4e6f742061727469737400000000000000000000000000000000000000000000600082015250565b7f496e76616c6964205369676e6174757265000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d696e74206973206f7665720000000000000000000000000000000000000000600082015250565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b7f496c6c756d696e617469204d696e7420436c6f73656400000000000000000000600082015250565b7f4f6f6f7073000000000000000000000000000000000000000000000000000000600082015250565b7f416c726561647920757365642068617368000000000000000000000000000000600082015250565b7f4e6f20636f6e7472616374730000000000000000000000000000000000000000600082015250565b600281106159fb576159fa615519565b5b50565b615a07816152af565b8114615a1257600080fd5b50565b615a1e816152c1565b8114615a2957600080fd5b50565b615a35816152cd565b8114615a4057600080fd5b50565b615a4c816152d7565b8114615a5757600080fd5b50565b60028110615a6757600080fd5b50565b615a7381615336565b8114615a7e57600080fd5b5056fea26469706673582212200cae60a045028125a4c732beeb438d7130fec4f0c0214d499273bea01c96179264736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.