ETH Price: $3,310.63 (-1.86%)
Gas: 2 Gwei

Token

EntelechyNfg (ENFG)
 

Overview

Max Total Supply

469 ENFG

Holders

312

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ENFG
0xde751313e2c79e9d41ba4399f7f32eca1afb1aa5
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:
EntelechyNfg

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.10;

import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./chainlink/AggregatorV3Interface.sol";

import "./ERC2981.sol";
import "./MintpassValidator.sol";
import "./LibMintpass.sol";

/**
 * @dev www.the-nfg.com
 *   _   _ _____ ____ 
 * | \ | |  ___/ ___|
 * |  \| | |_ | |  _ 
 * | |\  |  _|| |_| |
 * |_| \_|_|   \____|
 *                   
 * www.the-nfg.com
 */


contract EntelechyNfg is MintpassValidator, ERC721A, ERC2981, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    AggregatorV3Interface internal priceFeed;

    // Token Limit and Mint Limits
    uint256 public TOKEN_LIMIT = 1500;
    uint256 public freeMintsPerWallet = 1;
    uint256 public allowlistMintsPerWallet = 1;
    uint256 public publicMintsPerWallet = 10;
    mapping(address => uint256) public freeMintAmountByWallet;
    mapping(address => uint256) public allowlistMintAmountByWallet;
    mapping(address => uint256) public publicMintAmountByWallet;

    // Sale Stages Enabled / Disabled
    bool public allowlistMintEnabled = true;
    bool public publicMintEnabled = true;
    bool public freeMintEnabled = true;

    // Limits
    uint256 public RESERVED_ALLOWLIST_TOKEN_LIMIT = 300;
    uint256 public AVAILABLE_FREE_MINT_LIMIT = 150;

    // Minted Amounts
    uint256 public allowlistMinted = 0;
    uint256 public freeMinted = 0;

    // Mint Price
    int256 public mintUSDPrice = 5000000000; // = 50 USD

    string public _baseTokenURI;

    /**
     * @dev ERC721A Constructor
     */
    constructor(string memory name, string memory symbol)
        ERC721A(name, symbol)
    {
        _setDefaultRoyalty(msg.sender, 2000);
        priceFeed = AggregatorV3Interface(
            0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
        ); // Chainlink ETH/USD
        SIGNER_WALLET = 0x723804Db666346463554D43f7e6af1847d313221;
    }

    /**
     * @dev Withrawal all Funds sent to the contract to Owner
     *
     * Requirements:
     * - `msg.sender` needs to be Owner and payable
     */
    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    /**
     * @dev Overwrite Token ID Start to skip Token with ID 0
     *
     */
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /**
     * @dev Public Mint Function.
     *
     * @param minter amount of tokens to be minted
     *
     * Requirements:
     * - `minter` user that should receive the token
     * - `quantity` user that should receive the token
     */
    function mint(address minter, uint256 quantity) public payable {
        require(
            publicMintEnabled == true,
            "EntelechyNfg: Public Minting is not Enabled"
        );

        require(
            msg.value >= (mintPrice() * quantity * 199) / 200, // 0.5% treshold due to conversion rate swings
            "EntelechyNfg: Insufficient Amount"
        );

        require(
            (TOKEN_LIMIT - RESERVED_ALLOWLIST_TOKEN_LIMIT + allowlistMinted) >= _nextTokenId(),
            "EntelechyNfg: Token Limit reached"
        );

        require(
            publicMintAmountByWallet[minter] + quantity <=
                publicMintsPerWallet,
            "EntelechyNfg: Maximum Amount per Wallet reached"
        );
        _mint(minter, quantity);
        publicMintAmountByWallet[minter] =
            publicMintAmountByWallet[minter] +
            quantity;
    }

    /**
     * @dev Public Mint Function.
     *
     * @param minter amount of tokens to be minted
     *
     * Requirements:
     * - `minter` user that should receive the token
     * - `quantity` user that should receive the token
     */
    function freeMint(address minter) public payable {
        require(
            freeMintEnabled == true,
            "EntelechyNfg: Free Minting is not Enabled"
        );

        require(
            TOKEN_LIMIT >= _nextTokenId(),
            "EntelechyNfg: Token Limit reached"
        );

        require(
            freeMintAmountByWallet[minter] + 1 <= freeMintsPerWallet,
            "EntelechyNfg: Maximum Amount per Wallet reached"
        );

        require(
            AVAILABLE_FREE_MINT_LIMIT >= freeMinted,
            "EntelechyNfg: No Free Mints left"
        );

        _mint(minter, 1);
        freeMinted = freeMinted + 1;

        // autoclose free minting on limit
        if (freeMinted >= AVAILABLE_FREE_MINT_LIMIT) {
            freeMintEnabled = false;
        }

        freeMintAmountByWallet[minter] = freeMintAmountByWallet[minter] + 1;

        // It's a free mint so send back any paid money, this is on purpose since some payment providers require sending us ether to work
        if (msg.value > 0) {
            require(payable(minter).send(msg.value));
        }
    }

    /**
     * @dev Function to mint Tokens during Allowlist Sale. This function is
     * should only be called on minting app to ensure signature validity.
     *
     * @param quantity amount of tokens to be minted
     * @param mintpass issued by the minting app
     * @param mintpassSignature issued by minting app and signed by SIGNER_WALLET
     *
     * Requirements:
     * - `quantity` can't be higher than {mintLimitPerWallet}
     * - `mintpass` needs to match the signature contents
     * - `mintpassSignature` needs to be obtained from minting app and
     *    signed by SIGNER_WALLET
     */
    function allowlistMint(
        uint256 quantity,
        LibMintpass.Mintpass memory mintpass,
        bytes memory mintpassSignature
    ) public payable {
        require(
            allowlistMintEnabled == true,
            "EntelechyNfg: Allowlist Minting is not Enabled"
        );

        require(
            msg.value >= (mintPrice() * quantity * 199) / 200, // 0.5% treshold due to conversion rate swings
            "EntelechyNfg: Insufficient Amount"
        );

        require(
            TOKEN_LIMIT >= _nextTokenId(),
            "EntelechyNfg: All Tokens minted"
        );

        require(
            allowlistMintAmountByWallet[mintpass.wallet] + quantity <=
                allowlistMintsPerWallet,
            "EntelechyNfg: Maximum Amount per Wallet reached"
        );

        require(
            RESERVED_ALLOWLIST_TOKEN_LIMIT >= allowlistMinted,
            "EntelechyNfg: No Allowlist Mints left"
        );

        validateMintpass(mintpass, mintpassSignature);
        _mint(mintpass.wallet, quantity);
        allowlistMinted = allowlistMinted + quantity;

        // autoclose allowlist minting on limit
        if (allowlistMinted >= RESERVED_ALLOWLIST_TOKEN_LIMIT) {
            allowlistMintEnabled = false;
        }

        allowlistMintAmountByWallet[mintpass.wallet] =
            allowlistMintAmountByWallet[mintpass.wallet] +
            1;
    }

    function mintPrice() public view returns (uint256) {
        return convertFiatToEth(mintUSDPrice);
    }

    /**
     * Returns the latest price
     */
    function convertFiatToEth(int256 fiatPrice)
        internal
        view
        returns (uint256)
    {
        (
            ,
            /*uint80 roundID*/
            int256 price, /*uint startedAt*/ /*uint timeStamp*/ /*uint80 answeredInRound*/
            ,
            ,

        ) = priceFeed.latestRoundData();
        return
            uint256(
                (((fiatPrice * 1000000000) / price) * 1000000000) * (1 wei)
            );
    }

    /**
     * @dev Function to be called by contract owner to enable / disable
     * different mint stages
     *
     * @param _freeMintEnabled true/false
     * @param _allowlistMintEnabled true/false
     * @param _publicMintEnabled true/false
     */
    function setMintingEnabled(
        bool _freeMintEnabled,
        bool _allowlistMintEnabled,
        bool _publicMintEnabled
    ) public virtual onlyOwner {
        freeMintEnabled = _freeMintEnabled;
        allowlistMintEnabled = _allowlistMintEnabled;
        publicMintEnabled = _publicMintEnabled;
    }

    /**
     * @dev Function to be called by contract owner to change mint Limits
     *
     * @param _freeMintsPerWallet 1
     * @param _allowlistMintsPerWallet 1
     * @param _publicMintsPerWallet 10
     */
    function setMintingLimits(
        uint256 _freeMintsPerWallet,
        uint256 _allowlistMintsPerWallet,
        uint256 _publicMintsPerWallet
    ) public virtual onlyOwner {
        freeMintsPerWallet = _freeMintsPerWallet;
        allowlistMintsPerWallet = _allowlistMintsPerWallet;
        publicMintsPerWallet = _publicMintsPerWallet;
    }

    /**
     * @dev Function to change the mint usd price
     * different mint stages
     *
     * @param _mintUSDPrice int256 = 5000000000; // = 50 USD
     */
    function setMintUSDPrice(int256 _mintUSDPrice) public virtual onlyOwner {
        mintUSDPrice = _mintUSDPrice;
    }

    /**
     * @dev Function to change the signer Wallet
     *
     * @param _signerWallet address
     */
    function setSignerWallet(address _signerWallet) public virtual onlyOwner {
        SIGNER_WALLET = _signerWallet;
    }

    /**
     * @dev Helper to replace _baseURI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        if (bytes(_baseTokenURI).length > 0) {
            return _baseTokenURI;
        }
        return
            string(
                abi.encodePacked(
                    "https://meta.bowline.app/",
                    Strings.toHexString(uint256(uint160(address(this))), 20),
                    "/"
                )
            );
    }

    /**
     * @dev Can be called by owner to change base URI. This is recommend to be used
     * after tokens are revealed to freeze metadata on IPFS or similar.
     *
     * @param permanentBaseURI URI to be prefixed before tokenId
     */
    function setBaseURI(string memory permanentBaseURI)
        public
        virtual
        onlyOwner
    {
        _baseTokenURI = permanentBaseURI;
    }

    /**
     * @dev Can be called to reduce the maximum Token supply.
     *
     * @param tokenLimit new token limit
     */
    function reduceTokenLimit(uint256 tokenLimit) public virtual onlyOwner {
        require(
            TOKEN_LIMIT > tokenLimit,
            "EntelechyNfg: New Limit must be below current Limit."
        );
        require(
            tokenLimit >= _nextTokenId(),
            "EntelechyNfg: New Limit must be higher than current Token Supply"
        );
        TOKEN_LIMIT = tokenLimit;
    }

    /**
     * @dev Can be called to reduce the maximum Token supply.
     *
     * @param tokenLimit new token limit
     */
    function releaseAllowlistSpots(uint256 tokenLimit) public virtual onlyOwner {
        require(
            RESERVED_ALLOWLIST_TOKEN_LIMIT > tokenLimit,
            "EntelechyNfg: New Limit must be below current Limit."
        );
        require(
            tokenLimit >= allowlistMinted,
            "EntelechyNfg: New Limit must be higher already minted spots"
        );
        RESERVED_ALLOWLIST_TOKEN_LIMIT = tokenLimit;
        // autoclose allowlist minting on limit
        if (allowlistMinted >= RESERVED_ALLOWLIST_TOKEN_LIMIT) {
            allowlistMintEnabled = false;
        }
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        public
        virtual
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, ERC2981)
        returns (bool)
    {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }
}

/** created with bowline.app **/

File 2 of 17 : AggregatorV3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface AggregatorV3Interface {
  function decimals() external view returns (uint8);

  function description() external view returns (string memory);

  function version() external view returns (uint256);

  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
}

File 3 of 17 : MintpassValidator.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

import "./LibMintpass.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";

/**
 * @dev EIP712 based contract module which validates a Mintpass Issued by
 * Bowline. The signer is {SIGNER_WALLET} and checks for integrity of
 * minterCategory, amount and Address. {mintpass} is struct defined in
 * LibMintpass.
 *
 */
abstract contract MintpassValidator is EIP712 {
    constructor() EIP712("EntelechyNfg", "1") {}

    // Wallet that signs our mintpasses
    address public SIGNER_WALLET;

    /**
     * @dev Validates if {mintpass} was signed by {SIGNER_WALLET} and created {signature}.
     *
     * @param mintpass Struct with mintpass properties
     * @param signature Signature to decode and compare
     */
    function validateMintpass(LibMintpass.Mintpass memory mintpass, bytes memory signature)
        internal
        view
    {
        bytes32 mintpassHash = LibMintpass.mintpassHash(mintpass);
        bytes32 digest = _hashTypedDataV4(mintpassHash);
        address signer = ECDSA.recover(digest, signature);

        require(
            signer == SIGNER_WALLET,
            "MintpassValidator: Mintpass signature verification error"
        );
    }
}

File 4 of 17 : LibMintpass.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

/**
 * @dev Mintpass Struct definition used to validate EIP712.
 *
 * {minterAddress} is the mintpass owner (It's reommenced to
 * check if it matches msg.sender in your call function)
 * {minterCategory} determines what type of minter is calling:
 * (1, default) AllowList
 */
library LibMintpass {
    bytes32 private constant MINTPASS_TYPE =
        keccak256(
            "Mintpass(address wallet,uint256 tier)"
        );

    struct Mintpass {
        address wallet;
        uint256 tier;
    }

    function mintpassHash(Mintpass memory mintpass) internal pure returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    MINTPASS_TYPE,
                    mintpass.wallet,
                    mintpass.tier
                )
            );
    }
}

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // 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`.
                )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

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

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

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

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

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

File 7 of 17 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 8 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 17 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 11 of 17 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 12 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 13 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 15 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 16 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 17 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"AVAILABLE_FREE_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_ALLOWLIST_TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"tier","type":"uint256"}],"internalType":"struct LibMintpass.Mintpass","name":"mintpass","type":"tuple"},{"internalType":"bytes","name":"mintpassSignature","type":"bytes"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistMintAmountByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintAmountByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintUSDPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"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":"address","name":"","type":"address"}],"name":"publicMintAmountByWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenLimit","type":"uint256"}],"name":"reduceTokenLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenLimit","type":"uint256"}],"name":"releaseAllowlistSpots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"permanentBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"_mintUSDPrice","type":"int256"}],"name":"setMintUSDPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_freeMintEnabled","type":"bool"},{"internalType":"bool","name":"_allowlistMintEnabled","type":"bool"},{"internalType":"bool","name":"_publicMintEnabled","type":"bool"}],"name":"setMintingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMintsPerWallet","type":"uint256"},{"internalType":"uint256","name":"_allowlistMintsPerWallet","type":"uint256"},{"internalType":"uint256","name":"_publicMintsPerWallet","type":"uint256"}],"name":"setMintingLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerWallet","type":"address"}],"name":"setSignerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040526105dc600d556001600e556001600f55600a6010556001601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff0219169083151502179055506001601460026101000a81548160ff02191690831515021790555061012c60155560966016556000601755600060185564012a05f2006019553480156200009657600080fd5b506040516200668d3803806200668d8339818101604052810190620000bc919062000819565b81816040518060400160405280600c81526020017f456e74656c656368794e666700000000000000000000000000000000000000008152506040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a08181525050620001938184846200030b60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505080610120818152505050505050508160039080519060200190620001f4929190620005cc565b5080600490805190602001906200020d929190620005cc565b506200021e6200034760201b60201c565b6001819055505050620002466200023a6200035060201b60201c565b6200035860201b60201c565b6200025a336107d06200041e60201b60201c565b735f4ec3df9cbd43714fe2740f5e3616155c5b8419600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073723804db666346463554d43f7e6af1847d3132216000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000af6565b600083838346306040516020016200032895949392919062000919565b6040516020818303038152906040528051906020012090509392505050565b60006001905090565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200042e620005c260201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200048f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048690620009fd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000502576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004f99062000a6f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b828054620005da9062000ac0565b90600052602060002090601f016020900481019282620005fe57600085556200064a565b82601f106200061957805160ff19168380011785556200064a565b828001600101855582156200064a579182015b82811115620006495782518255916020019190600101906200062c565b5b5090506200065991906200065d565b5090565b5b80821115620006785760008160009055506001016200065e565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006e5826200069a565b810181811067ffffffffffffffff82111715620007075762000706620006ab565b5b80604052505050565b60006200071c6200067c565b90506200072a8282620006da565b919050565b600067ffffffffffffffff8211156200074d576200074c620006ab565b5b62000758826200069a565b9050602081019050919050565b60005b838110156200078557808201518184015260208101905062000768565b8381111562000795576000848401525b50505050565b6000620007b2620007ac846200072f565b62000710565b905082815260208101848484011115620007d157620007d062000695565b5b620007de84828562000765565b509392505050565b600082601f830112620007fe57620007fd62000690565b5b8151620008108482602086016200079b565b91505092915050565b6000806040838503121562000833576200083262000686565b5b600083015167ffffffffffffffff8111156200085457620008536200068b565b5b6200086285828601620007e6565b925050602083015167ffffffffffffffff8111156200088657620008856200068b565b5b6200089485828601620007e6565b9150509250929050565b6000819050919050565b620008b3816200089e565b82525050565b6000819050919050565b620008ce81620008b9565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200090182620008d4565b9050919050565b6200091381620008f4565b82525050565b600060a082019050620009306000830188620008a8565b6200093f6020830187620008a8565b6200094e6040830186620008a8565b6200095d6060830185620008c3565b6200096c608083018462000908565b9695505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000620009e5602a8362000976565b9150620009f28262000987565b604082019050919050565b6000602082019050818103600083015262000a1881620009d6565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000a5760198362000976565b915062000a648262000a1f565b602082019050919050565b6000602082019050818103600083015262000a8a8162000a48565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000ad957607f821691505b6020821081141562000af05762000aef62000a91565b5b50919050565b60805160a05160c05160e0516101005161012051615b4762000b46600039600061385b0152600061389d0152600061387c015260006137b101526000613807015260006138300152615b476000f3fe6080604052600436106102935760003560e01c80635b2ba2ac1161015a57806395d89b41116100c1578063d10a1a2b1161007a578063d10a1a2b146109d9578063d2039bf314610a04578063e985e9c514610a2d578063f2fde38b14610a6a578063f686c16f14610a93578063fa07ce1d14610ad057610293565b806395d89b41146108cb578063a22cb465146108f6578063a322176c1461091f578063b88d4fde14610948578063c87b56dd14610971578063cfc86f7b146109ae57610293565b806370a082311161011357806370a08231146107bb578063715018a6146107f8578063740b72bc1461080f57806378e01fa11461084c57806379de186a146108755780638da5cb5b146108a057610293565b80635b2ba2ac146106a757806362ad68aa146106d25780636352211e146106fd5780636817c76c1461073a5780636bfb7d24146107655780636e9ac4b11461079057610293565b806323b872dd116101fe57806340c10f19116101b757806340c10f19146105c957806342842e0e146105e55780634322d8c31461060e5780634ee7b7f51461063957806355f804b31461065557806359a5caba1461067e57610293565b806323b872dd146104b857806329dd09fc146104e15780632a55205a1461051e5780633238c9671461055c57806332d6f032146105875780633ccfd60b146105b257610293565b8063095ea7b311610250578063095ea7b3146103bc5780630f4161aa146103e5578063126505f21461041057806318160ddd146104395780631c1f916414610464578063209db7331461048d57610293565b806301ffc9a714610298578063031bd4c4146102d557806304634d8d1461030057806305222e451461032957806306fdde0314610354578063081812fc1461037f575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613df6565b610aec565b6040516102cc9190613e3e565b60405180910390f35b3480156102e157600080fd5b506102ea610b0e565b6040516102f79190613e72565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613f2f565b610b14565b005b34801561033557600080fd5b5061033e610b9e565b60405161034b9190613e72565b60405180910390f35b34801561036057600080fd5b50610369610ba4565b6040516103769190614008565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190614056565b610c36565b6040516103b39190614092565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de91906140ad565b610cb5565b005b3480156103f157600080fd5b506103fa610df9565b6040516104079190613e3e565b60405180910390f35b34801561041c57600080fd5b5061043760048036038101906104329190614056565b610e0c565b005b34801561044557600080fd5b5061044e610f20565b60405161045b9190613e72565b60405180910390f35b34801561047057600080fd5b5061048b60048036038101906104869190614119565b610f37565b005b34801561049957600080fd5b506104a2611006565b6040516104af9190613e72565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da919061416c565b61100c565b005b3480156104ed57600080fd5b50610508600480360381019061050391906141bf565b611331565b6040516105159190613e72565b60405180910390f35b34801561052a57600080fd5b50610545600480360381019061054091906141ec565b611349565b60405161055392919061422c565b60405180910390f35b34801561056857600080fd5b50610571611534565b60405161057e9190613e72565b60405180910390f35b34801561059357600080fd5b5061059c61153a565b6040516105a99190613e72565b60405180910390f35b3480156105be57600080fd5b506105c7611540565b005b6105e360048036038101906105de91906140ad565b6115fc565b005b3480156105f157600080fd5b5061060c6004803603810190610607919061416c565b611850565b005b34801561061a57600080fd5b50610623611870565b604051610630919061426e565b60405180910390f35b610653600480360381019061064e9190614413565b611876565b005b34801561066157600080fd5b5061067c60048036038101906106779190614523565b611b4e565b005b34801561068a57600080fd5b506106a560048036038101906106a0919061456c565b611be4565b005b3480156106b357600080fd5b506106bc611c7a565b6040516106c99190614092565b60405180910390f35b3480156106de57600080fd5b506106e7611c9e565b6040516106f49190613e3e565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190614056565b611cb1565b6040516107319190614092565b60405180910390f35b34801561074657600080fd5b5061074f611cc3565b60405161075c9190613e72565b60405180910390f35b34801561077157600080fd5b5061077a611cd5565b6040516107879190613e72565b60405180910390f35b34801561079c57600080fd5b506107a5611cdb565b6040516107b29190613e72565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd91906141bf565b611ce1565b6040516107ef9190613e72565b60405180910390f35b34801561080457600080fd5b5061080d611d9a565b005b34801561081b57600080fd5b50610836600480360381019061083191906141bf565b611e22565b6040516108439190613e72565b60405180910390f35b34801561085857600080fd5b50610873600480360381019061086e9190614056565b611e3a565b005b34801561088157600080fd5b5061088a611f70565b6040516108979190613e3e565b60405180910390f35b3480156108ac57600080fd5b506108b5611f83565b6040516108c29190614092565b60405180910390f35b3480156108d757600080fd5b506108e0611fad565b6040516108ed9190614008565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906145bf565b61203f565b005b34801561092b57600080fd5b506109466004803603810190610941919061462b565b6121b7565b005b34801561095457600080fd5b5061096f600480360381019061096a9190614658565b61223d565b005b34801561097d57600080fd5b5061099860048036038101906109939190614056565b6122b0565b6040516109a59190614008565b60405180910390f35b3480156109ba57600080fd5b506109c361234f565b6040516109d09190614008565b60405180910390f35b3480156109e557600080fd5b506109ee6123dd565b6040516109fb9190613e72565b60405180910390f35b348015610a1057600080fd5b50610a2b6004803603810190610a2691906141bf565b6123e3565b005b348015610a3957600080fd5b50610a546004803603810190610a4f91906146db565b6124a2565b604051610a619190613e3e565b60405180910390f35b348015610a7657600080fd5b50610a916004803603810190610a8c91906141bf565b612536565b005b348015610a9f57600080fd5b50610aba6004803603810190610ab591906141bf565b61262e565b604051610ac79190613e72565b60405180910390f35b610aea6004803603810190610ae591906141bf565b612646565b005b6000610af7826128e0565b80610b075750610b0682612972565b5b9050919050565b600d5481565b610b1c6129ec565b73ffffffffffffffffffffffffffffffffffffffff16610b3a611f83565b73ffffffffffffffffffffffffffffffffffffffff1614610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790614767565b60405180910390fd5b610b9a82826129f4565b5050565b60155481565b606060038054610bb3906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdf906147b6565b8015610c2c5780601f10610c0157610100808354040283529160200191610c2c565b820191906000526020600020905b815481529060010190602001808311610c0f57829003601f168201915b5050505050905090565b6000610c4182612b8a565b610c77576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc082611cb1565b90508073ffffffffffffffffffffffffffffffffffffffff16610ce1612be9565b73ffffffffffffffffffffffffffffffffffffffff1614610d4457610d0d81610d08612be9565b6124a2565b610d43576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601460019054906101000a900460ff1681565b610e146129ec565b73ffffffffffffffffffffffffffffffffffffffff16610e32611f83565b73ffffffffffffffffffffffffffffffffffffffff1614610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f90614767565b60405180910390fd5b80600d5411610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec39061485a565b60405180910390fd5b610ed4612bf1565b811015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d906148ec565b60405180910390fd5b80600d8190555050565b6000610f2a612bfb565b6002546001540303905090565b610f3f6129ec565b73ffffffffffffffffffffffffffffffffffffffff16610f5d611f83565b73ffffffffffffffffffffffffffffffffffffffff1614610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90614767565b60405180910390fd5b82601460026101000a81548160ff02191690831515021790555081601460006101000a81548160ff02191690831515021790555080601460016101000a81548160ff021916908315150217905550505050565b600f5481565b600061101782612c04565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461107e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061108a84612cd2565b915091506110a0818761109b612be9565b612cf9565b6110ec576110b5866110b0612be9565b6124a2565b6110eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611153576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111608686866001612d3d565b801561116b57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061123985611215888887612d43565b7c020000000000000000000000000000000000000000000000000000000017612d6b565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112c15760006001850190506000600560008381526020019081526020016000205414156112bf5760015481146112be578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113298686866001612d96565b505050505050565b60126020528060005260406000206000915090505481565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156114df5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006114e9612d9c565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611515919061493b565b61151f91906149c4565b90508160000151819350935050509250929050565b60165481565b60175481565b6115486129ec565b73ffffffffffffffffffffffffffffffffffffffff16611566611f83565b73ffffffffffffffffffffffffffffffffffffffff16146115bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b390614767565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506115fa57600080fd5b565b60011515601460019054906101000a900460ff16151514611652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164990614a67565b60405180910390fd5b60c860c78261165f611cc3565b611669919061493b565b611673919061493b565b61167d91906149c4565b3410156116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b690614af9565b60405180910390fd5b6116c7612bf1565b601754601554600d546116da9190614b19565b6116e49190614b4d565b1015611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c90614c15565b60405180910390fd5b60105481601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117739190614b4d565b11156117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90614ca7565b60405180910390fd5b6117be8282612da6565b80601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118099190614b4d565b601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61186b8383836040518060200160405280600081525061223d565b505050565b60195481565b60011515601460009054906101000a900460ff161515146118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c390614d39565b60405180910390fd5b60c860c7846118d9611cc3565b6118e3919061493b565b6118ed919061493b565b6118f791906149c4565b341015611939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193090614af9565b60405180910390fd5b611941612bf1565b600d541015611985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197c90614da5565b60405180910390fd5b600f548360126000856000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119d79190614b4d565b1115611a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0f90614ca7565b60405180910390fd5b6017546015541015611a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5690614e37565b60405180910390fd5b611a698282612f64565b611a77826000015184612da6565b82601754611a859190614b4d565b60178190555060155460175410611ab2576000601460006101000a81548160ff0219169083151502179055505b600160126000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b029190614b4d565b60126000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b611b566129ec565b73ffffffffffffffffffffffffffffffffffffffff16611b74611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc190614767565b60405180910390fd5b80601a9080519060200190611be0929190613ce7565b5050565b611bec6129ec565b73ffffffffffffffffffffffffffffffffffffffff16611c0a611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614767565b60405180910390fd5b82600e8190555081600f8190555080601081905550505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601460029054906101000a900460ff1681565b6000611cbc82612c04565b9050919050565b6000611cd0601954613021565b905090565b60105481565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d49576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611da26129ec565b73ffffffffffffffffffffffffffffffffffffffff16611dc0611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0d90614767565b60405180910390fd5b611e2060006130f9565b565b60116020528060005260406000206000915090505481565b611e426129ec565b73ffffffffffffffffffffffffffffffffffffffff16611e60611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead90614767565b60405180910390fd5b8060155411611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef19061485a565b60405180910390fd5b601754811015611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690614ec9565b60405180910390fd5b8060158190555060155460175410611f6d576000601460006101000a81548160ff0219169083151502179055505b50565b601460009054906101000a900460ff1681565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611fbc906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611fe8906147b6565b80156120355780601f1061200a57610100808354040283529160200191612035565b820191906000526020600020905b81548152906001019060200180831161201857829003601f168201915b5050505050905090565b612047612be9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120ac576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006120b9612be9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612166612be9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121ab9190613e3e565b60405180910390a35050565b6121bf6129ec565b73ffffffffffffffffffffffffffffffffffffffff166121dd611f83565b73ffffffffffffffffffffffffffffffffffffffff1614612233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222a90614767565b60405180910390fd5b8060198190555050565b61224884848461100c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122aa57612273848484846131bf565b6122a9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606122bb82612b8a565b6122f1576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122fb613310565b905060008151141561231c5760405180602001604052806000815250612347565b8061232684613401565b604051602001612337929190614f25565b6040516020818303038152906040525b915050919050565b601a805461235c906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054612388906147b6565b80156123d55780601f106123aa576101008083540402835291602001916123d5565b820191906000526020600020905b8154815290600101906020018083116123b857829003601f168201915b505050505081565b60185481565b6123eb6129ec565b73ffffffffffffffffffffffffffffffffffffffff16612409611f83565b73ffffffffffffffffffffffffffffffffffffffff161461245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690614767565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61253e6129ec565b73ffffffffffffffffffffffffffffffffffffffff1661255c611f83565b73ffffffffffffffffffffffffffffffffffffffff16146125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990614767565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261990614fbb565b60405180910390fd5b61262b816130f9565b50565b60136020528060005260406000206000915090505481565b60011515601460029054906101000a900460ff1615151461269c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126939061504d565b60405180910390fd5b6126a4612bf1565b600d5410156126e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126df90614c15565b60405180910390fd5b600e546001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127379190614b4d565b1115612778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276f90614ca7565b60405180910390fd5b60185460165410156127bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b6906150b9565b60405180910390fd5b6127ca816001612da6565b60016018546127d99190614b4d565b60188190555060165460185410612806576000601460026101000a81548160ff0219169083151502179055505b6001601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128529190614b4d565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003411156128dd578073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050506128dc57600080fd5b5b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061293b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061296b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129e557506129e482613451565b5b9050919050565b600033905090565b6129fc612d9c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a519061514b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac1906151b7565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612b95612bfb565b11158015612ba4575060015482105b8015612be2575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b6000600154905090565b60006001905090565b60008082905080612c13612bfb565b11612c9b57600154811015612c9a5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612c98575b6000811415612c8e576005600083600190039350838152602001908152602001600020549050612c63565b8092505050612ccd565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612d5a8686846134bb565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b600060015490506000821415612de8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612df56000848385612d3d565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e6c83612e5d6000866000612d43565b612e66856134c4565b17612d6b565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612f0d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612ed2565b506000821415612f49576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050612f5f6000848385612d96565b505050565b6000612f6f836134d4565b90506000612f7c82613530565b90506000612f8a828561354a565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461301a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301190615249565b60405180910390fd5b5050505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015613091573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b591906152d5565b5050509150506001633b9aca0082633b9aca00866130d39190615350565b6130dd9190615467565b6130e79190615350565b6130f19190615350565b915050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131e5612be9565b8786866040518563ffffffff1660e01b81526004016132079493929190615526565b6020604051808303816000875af192505050801561324357506040513d601f19601f820116820180604052508101906132409190615587565b60015b6132bd573d8060008114613273576040519150601f19603f3d011682016040523d82523d6000602084013e613278565b606091505b506000815114156132b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000601a8054613321906147b6565b905011156133bb57601a8054613336906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054613362906147b6565b80156133af5780601f10613384576101008083540402835291602001916133af565b820191906000526020600020905b81548152906001019060200180831161339257829003601f168201915b505050505090506133fe565b6133dc3073ffffffffffffffffffffffffffffffffffffffff166014613571565b6040516020016133ec919061564c565b60405160208183030381529060405290505b90565b606060806040510190508060405280825b60011561343d57600183039250600a81066030018353600a81049050806134385761343d565b613412565b508181036020830392508083525050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60006001821460e11b9050919050565b60007f981d5b43c373d93722e3bc49845c5e666a67bf8faef06370b7808b92ec8087fa8260000151836020015160405160200161351393929190615692565b604051602081830303815290604052805190602001209050919050565b600061354361353d6137ad565b836138c7565b9050919050565b600080600061355985856138fa565b915091506135668161397d565b819250505092915050565b606060006002836002613584919061493b565b61358e9190614b4d565b67ffffffffffffffff8111156135a7576135a661428e565b5b6040519080825280601f01601f1916602001820160405280156135d95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613611576136106156c9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613675576136746156c9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026136b5919061493b565b6136bf9190614b4d565b90505b600181111561375f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613701576137006156c9565b5b1a60f81b828281518110613718576137176156c9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613758906156f8565b90506136c2565b50600084146137a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379a9061576e565b60405180910390fd5b8091505092915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561382957507f000000000000000000000000000000000000000000000000000000000000000046145b15613856577f000000000000000000000000000000000000000000000000000000000000000090506138c4565b6138c17f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613b52565b90505b90565b600082826040516020016138dc9291906157fb565b60405160208183030381529060405280519060200120905092915050565b60008060418351141561393c5760008060006020860151925060408601519150606086015160001a905061393087828585613b8c565b94509450505050613976565b60408351141561396d576000806020850151915060408501519050613962868383613c99565b935093505050613976565b60006002915091505b9250929050565b6000600481111561399157613990615832565b5b8160048111156139a4576139a3615832565b5b14156139af57613b4f565b600160048111156139c3576139c2615832565b5b8160048111156139d6576139d5615832565b5b1415613a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0e906158ad565b60405180910390fd5b60026004811115613a2b57613a2a615832565b5b816004811115613a3e57613a3d615832565b5b1415613a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7690615919565b60405180910390fd5b60036004811115613a9357613a92615832565b5b816004811115613aa657613aa5615832565b5b1415613ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ade906159ab565b60405180910390fd5b600480811115613afa57613af9615832565b5b816004811115613b0d57613b0c615832565b5b1415613b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b4590615a3d565b60405180910390fd5b5b50565b60008383834630604051602001613b6d959493929190615a5d565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613bc7576000600391509150613c90565b601b8560ff1614158015613bdf5750601c8560ff1614155b15613bf1576000600491509150613c90565b600060018787878760405160008152602001604052604051613c169493929190615acc565b6020604051602081039080840390855afa158015613c38573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613c8757600060019250925050613c90565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613cd987828885613b8c565b935093505050935093915050565b828054613cf3906147b6565b90600052602060002090601f016020900481019282613d155760008555613d5c565b82601f10613d2e57805160ff1916838001178555613d5c565b82800160010185558215613d5c579182015b82811115613d5b578251825591602001919060010190613d40565b5b509050613d699190613d6d565b5090565b5b80821115613d86576000816000905550600101613d6e565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613dd381613d9e565b8114613dde57600080fd5b50565b600081359050613df081613dca565b92915050565b600060208284031215613e0c57613e0b613d94565b5b6000613e1a84828501613de1565b91505092915050565b60008115159050919050565b613e3881613e23565b82525050565b6000602082019050613e536000830184613e2f565b92915050565b6000819050919050565b613e6c81613e59565b82525050565b6000602082019050613e876000830184613e63565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613eb882613e8d565b9050919050565b613ec881613ead565b8114613ed357600080fd5b50565b600081359050613ee581613ebf565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613f0c81613eeb565b8114613f1757600080fd5b50565b600081359050613f2981613f03565b92915050565b60008060408385031215613f4657613f45613d94565b5b6000613f5485828601613ed6565b9250506020613f6585828601613f1a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fa9578082015181840152602081019050613f8e565b83811115613fb8576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fda82613f6f565b613fe48185613f7a565b9350613ff4818560208601613f8b565b613ffd81613fbe565b840191505092915050565b600060208201905081810360008301526140228184613fcf565b905092915050565b61403381613e59565b811461403e57600080fd5b50565b6000813590506140508161402a565b92915050565b60006020828403121561406c5761406b613d94565b5b600061407a84828501614041565b91505092915050565b61408c81613ead565b82525050565b60006020820190506140a76000830184614083565b92915050565b600080604083850312156140c4576140c3613d94565b5b60006140d285828601613ed6565b92505060206140e385828601614041565b9150509250929050565b6140f681613e23565b811461410157600080fd5b50565b600081359050614113816140ed565b92915050565b60008060006060848603121561413257614131613d94565b5b600061414086828701614104565b935050602061415186828701614104565b925050604061416286828701614104565b9150509250925092565b60008060006060848603121561418557614184613d94565b5b600061419386828701613ed6565b93505060206141a486828701613ed6565b92505060406141b586828701614041565b9150509250925092565b6000602082840312156141d5576141d4613d94565b5b60006141e384828501613ed6565b91505092915050565b6000806040838503121561420357614202613d94565b5b600061421185828601614041565b925050602061422285828601614041565b9150509250929050565b60006040820190506142416000830185614083565b61424e6020830184613e63565b9392505050565b6000819050919050565b61426881614255565b82525050565b6000602082019050614283600083018461425f565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142c682613fbe565b810181811067ffffffffffffffff821117156142e5576142e461428e565b5b80604052505050565b60006142f8613d8a565b905061430482826142bd565b919050565b60006040828403121561431f5761431e614289565b5b61432960406142ee565b9050600061433984828501613ed6565b600083015250602061434d84828501614041565b60208301525092915050565b600080fd5b600080fd5b600067ffffffffffffffff82111561437e5761437d61428e565b5b61438782613fbe565b9050602081019050919050565b82818337600083830152505050565b60006143b66143b184614363565b6142ee565b9050828152602081018484840111156143d2576143d161435e565b5b6143dd848285614394565b509392505050565b600082601f8301126143fa576143f9614359565b5b813561440a8482602086016143a3565b91505092915050565b60008060006080848603121561442c5761442b613d94565b5b600061443a86828701614041565b935050602061444b86828701614309565b925050606084013567ffffffffffffffff81111561446c5761446b613d99565b5b614478868287016143e5565b9150509250925092565b600067ffffffffffffffff82111561449d5761449c61428e565b5b6144a682613fbe565b9050602081019050919050565b60006144c66144c184614482565b6142ee565b9050828152602081018484840111156144e2576144e161435e565b5b6144ed848285614394565b509392505050565b600082601f83011261450a57614509614359565b5b813561451a8482602086016144b3565b91505092915050565b60006020828403121561453957614538613d94565b5b600082013567ffffffffffffffff81111561455757614556613d99565b5b614563848285016144f5565b91505092915050565b60008060006060848603121561458557614584613d94565b5b600061459386828701614041565b93505060206145a486828701614041565b92505060406145b586828701614041565b9150509250925092565b600080604083850312156145d6576145d5613d94565b5b60006145e485828601613ed6565b92505060206145f585828601614104565b9150509250929050565b61460881614255565b811461461357600080fd5b50565b600081359050614625816145ff565b92915050565b60006020828403121561464157614640613d94565b5b600061464f84828501614616565b91505092915050565b6000806000806080858703121561467257614671613d94565b5b600061468087828801613ed6565b945050602061469187828801613ed6565b93505060406146a287828801614041565b925050606085013567ffffffffffffffff8111156146c3576146c2613d99565b5b6146cf878288016143e5565b91505092959194509250565b600080604083850312156146f2576146f1613d94565b5b600061470085828601613ed6565b925050602061471185828601613ed6565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614751602083613f7a565b915061475c8261471b565b602082019050919050565b6000602082019050818103600083015261478081614744565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147ce57607f821691505b602082108114156147e2576147e1614787565b5b50919050565b7f456e74656c656368794e66673a204e6577204c696d6974206d7573742062652060008201527f62656c6f772063757272656e74204c696d69742e000000000000000000000000602082015250565b6000614844603483613f7a565b915061484f826147e8565b604082019050919050565b6000602082019050818103600083015261487381614837565b9050919050565b7f456e74656c656368794e66673a204e6577204c696d6974206d7573742062652060008201527f686967686572207468616e2063757272656e7420546f6b656e20537570706c79602082015250565b60006148d6604083613f7a565b91506148e18261487a565b604082019050919050565b60006020820190508181036000830152614905816148c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061494682613e59565b915061495183613e59565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561498a5761498961490c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149cf82613e59565b91506149da83613e59565b9250826149ea576149e9614995565b5b828204905092915050565b7f456e74656c656368794e66673a205075626c6963204d696e74696e672069732060008201527f6e6f7420456e61626c6564000000000000000000000000000000000000000000602082015250565b6000614a51602b83613f7a565b9150614a5c826149f5565b604082019050919050565b60006020820190508181036000830152614a8081614a44565b9050919050565b7f456e74656c656368794e66673a20496e73756666696369656e7420416d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ae3602183613f7a565b9150614aee82614a87565b604082019050919050565b60006020820190508181036000830152614b1281614ad6565b9050919050565b6000614b2482613e59565b9150614b2f83613e59565b925082821015614b4257614b4161490c565b5b828203905092915050565b6000614b5882613e59565b9150614b6383613e59565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b9857614b9761490c565b5b828201905092915050565b7f456e74656c656368794e66673a20546f6b656e204c696d69742072656163686560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bff602183613f7a565b9150614c0a82614ba3565b604082019050919050565b60006020820190508181036000830152614c2e81614bf2565b9050919050565b7f456e74656c656368794e66673a204d6178696d756d20416d6f756e742070657260008201527f2057616c6c657420726561636865640000000000000000000000000000000000602082015250565b6000614c91602f83613f7a565b9150614c9c82614c35565b604082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b7f456e74656c656368794e66673a20416c6c6f776c697374204d696e74696e672060008201527f6973206e6f7420456e61626c6564000000000000000000000000000000000000602082015250565b6000614d23602e83613f7a565b9150614d2e82614cc7565b604082019050919050565b60006020820190508181036000830152614d5281614d16565b9050919050565b7f456e74656c656368794e66673a20416c6c20546f6b656e73206d696e74656400600082015250565b6000614d8f601f83613f7a565b9150614d9a82614d59565b602082019050919050565b60006020820190508181036000830152614dbe81614d82565b9050919050565b7f456e74656c656368794e66673a204e6f20416c6c6f776c697374204d696e747360008201527f206c656674000000000000000000000000000000000000000000000000000000602082015250565b6000614e21602583613f7a565b9150614e2c82614dc5565b604082019050919050565b60006020820190508181036000830152614e5081614e14565b9050919050565b7f456e74656c656368794e66673a204e6577204c696d6974206d7573742062652060008201527f68696768657220616c7265616479206d696e7465642073706f74730000000000602082015250565b6000614eb3603b83613f7a565b9150614ebe82614e57565b604082019050919050565b60006020820190508181036000830152614ee281614ea6565b9050919050565b600081905092915050565b6000614eff82613f6f565b614f098185614ee9565b9350614f19818560208601613f8b565b80840191505092915050565b6000614f318285614ef4565b9150614f3d8284614ef4565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fa5602683613f7a565b9150614fb082614f49565b604082019050919050565b60006020820190508181036000830152614fd481614f98565b9050919050565b7f456e74656c656368794e66673a2046726565204d696e74696e67206973206e6f60008201527f7420456e61626c65640000000000000000000000000000000000000000000000602082015250565b6000615037602983613f7a565b915061504282614fdb565b604082019050919050565b600060208201905081810360008301526150668161502a565b9050919050565b7f456e74656c656368794e66673a204e6f2046726565204d696e7473206c656674600082015250565b60006150a3602083613f7a565b91506150ae8261506d565b602082019050919050565b600060208201905081810360008301526150d281615096565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615135602a83613f7a565b9150615140826150d9565b604082019050919050565b6000602082019050818103600083015261516481615128565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006151a1601983613f7a565b91506151ac8261516b565b602082019050919050565b600060208201905081810360008301526151d081615194565b9050919050565b7f4d696e747061737356616c696461746f723a204d696e7470617373207369676e60008201527f617475726520766572696669636174696f6e206572726f720000000000000000602082015250565b6000615233603883613f7a565b915061523e826151d7565b604082019050919050565b6000602082019050818103600083015261526281615226565b9050919050565b600069ffffffffffffffffffff82169050919050565b61528881615269565b811461529357600080fd5b50565b6000815190506152a58161527f565b92915050565b6000815190506152ba816145ff565b92915050565b6000815190506152cf8161402a565b92915050565b600080600080600060a086880312156152f1576152f0613d94565b5b60006152ff88828901615296565b9550506020615310888289016152ab565b9450506040615321888289016152c0565b9350506060615332888289016152c0565b925050608061534388828901615296565b9150509295509295909350565b600061535b82614255565b915061536683614255565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821160008413600084131616156153a5576153a461490c565b5b817f800000000000000000000000000000000000000000000000000000000000000005831260008412600084131616156153e2576153e161490c565b5b827f8000000000000000000000000000000000000000000000000000000000000000058212600084136000841216161561541f5761541e61490c565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff058212600084126000841216161561545c5761545b61490c565b5b828202905092915050565b600061547282614255565b915061547d83614255565b92508261548d5761548c614995565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156154c6576154c561490c565b5b828205905092915050565b600081519050919050565b600082825260208201905092915050565b60006154f8826154d1565b61550281856154dc565b9350615512818560208601613f8b565b61551b81613fbe565b840191505092915050565b600060808201905061553b6000830187614083565b6155486020830186614083565b6155556040830185613e63565b818103606083015261556781846154ed565b905095945050505050565b60008151905061558181613dca565b92915050565b60006020828403121561559d5761559c613d94565b5b60006155ab84828501615572565b91505092915050565b7f68747470733a2f2f6d6574612e626f776c696e652e6170702f00000000000000600082015250565b60006155ea601983614ee9565b91506155f5826155b4565b601982019050919050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615636600183614ee9565b915061564182615600565b600182019050919050565b6000615657826155dd565b91506156638284614ef4565b915061566e82615629565b915081905092915050565b6000819050919050565b61568c81615679565b82525050565b60006060820190506156a76000830186615683565b6156b46020830185614083565b6156c16040830184613e63565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061570382613e59565b915060008214156157175761571661490c565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615758602083613f7a565b915061576382615722565b602082019050919050565b600060208201905081810360008301526157878161574b565b9050919050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006157c4600283614ee9565b91506157cf8261578e565b600282019050919050565b6000819050919050565b6157f56157f082615679565b6157da565b82525050565b6000615806826157b7565b915061581282856157e4565b60208201915061582282846157e4565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615897601883613f7a565b91506158a282615861565b602082019050919050565b600060208201905081810360008301526158c68161588a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615903601f83613f7a565b915061590e826158cd565b602082019050919050565b60006020820190508181036000830152615932816158f6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615995602283613f7a565b91506159a082615939565b604082019050919050565b600060208201905081810360008301526159c481615988565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a27602283613f7a565b9150615a32826159cb565b604082019050919050565b60006020820190508181036000830152615a5681615a1a565b9050919050565b600060a082019050615a726000830188615683565b615a7f6020830187615683565b615a8c6040830186615683565b615a996060830185613e63565b615aa66080830184614083565b9695505050505050565b600060ff82169050919050565b615ac681615ab0565b82525050565b6000608082019050615ae16000830187615683565b615aee6020830186615abd565b615afb6040830185615683565b615b086060830184615683565b9594505050505056fea26469706673582212200d665d2abef33985cd04af9cd61c118bf21fe92075f90a09ce77f4160d0a74fe64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c456e74656c656368794e666700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004454e464700000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102935760003560e01c80635b2ba2ac1161015a57806395d89b41116100c1578063d10a1a2b1161007a578063d10a1a2b146109d9578063d2039bf314610a04578063e985e9c514610a2d578063f2fde38b14610a6a578063f686c16f14610a93578063fa07ce1d14610ad057610293565b806395d89b41146108cb578063a22cb465146108f6578063a322176c1461091f578063b88d4fde14610948578063c87b56dd14610971578063cfc86f7b146109ae57610293565b806370a082311161011357806370a08231146107bb578063715018a6146107f8578063740b72bc1461080f57806378e01fa11461084c57806379de186a146108755780638da5cb5b146108a057610293565b80635b2ba2ac146106a757806362ad68aa146106d25780636352211e146106fd5780636817c76c1461073a5780636bfb7d24146107655780636e9ac4b11461079057610293565b806323b872dd116101fe57806340c10f19116101b757806340c10f19146105c957806342842e0e146105e55780634322d8c31461060e5780634ee7b7f51461063957806355f804b31461065557806359a5caba1461067e57610293565b806323b872dd146104b857806329dd09fc146104e15780632a55205a1461051e5780633238c9671461055c57806332d6f032146105875780633ccfd60b146105b257610293565b8063095ea7b311610250578063095ea7b3146103bc5780630f4161aa146103e5578063126505f21461041057806318160ddd146104395780631c1f916414610464578063209db7331461048d57610293565b806301ffc9a714610298578063031bd4c4146102d557806304634d8d1461030057806305222e451461032957806306fdde0314610354578063081812fc1461037f575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613df6565b610aec565b6040516102cc9190613e3e565b60405180910390f35b3480156102e157600080fd5b506102ea610b0e565b6040516102f79190613e72565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613f2f565b610b14565b005b34801561033557600080fd5b5061033e610b9e565b60405161034b9190613e72565b60405180910390f35b34801561036057600080fd5b50610369610ba4565b6040516103769190614008565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190614056565b610c36565b6040516103b39190614092565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de91906140ad565b610cb5565b005b3480156103f157600080fd5b506103fa610df9565b6040516104079190613e3e565b60405180910390f35b34801561041c57600080fd5b5061043760048036038101906104329190614056565b610e0c565b005b34801561044557600080fd5b5061044e610f20565b60405161045b9190613e72565b60405180910390f35b34801561047057600080fd5b5061048b60048036038101906104869190614119565b610f37565b005b34801561049957600080fd5b506104a2611006565b6040516104af9190613e72565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da919061416c565b61100c565b005b3480156104ed57600080fd5b50610508600480360381019061050391906141bf565b611331565b6040516105159190613e72565b60405180910390f35b34801561052a57600080fd5b50610545600480360381019061054091906141ec565b611349565b60405161055392919061422c565b60405180910390f35b34801561056857600080fd5b50610571611534565b60405161057e9190613e72565b60405180910390f35b34801561059357600080fd5b5061059c61153a565b6040516105a99190613e72565b60405180910390f35b3480156105be57600080fd5b506105c7611540565b005b6105e360048036038101906105de91906140ad565b6115fc565b005b3480156105f157600080fd5b5061060c6004803603810190610607919061416c565b611850565b005b34801561061a57600080fd5b50610623611870565b604051610630919061426e565b60405180910390f35b610653600480360381019061064e9190614413565b611876565b005b34801561066157600080fd5b5061067c60048036038101906106779190614523565b611b4e565b005b34801561068a57600080fd5b506106a560048036038101906106a0919061456c565b611be4565b005b3480156106b357600080fd5b506106bc611c7a565b6040516106c99190614092565b60405180910390f35b3480156106de57600080fd5b506106e7611c9e565b6040516106f49190613e3e565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190614056565b611cb1565b6040516107319190614092565b60405180910390f35b34801561074657600080fd5b5061074f611cc3565b60405161075c9190613e72565b60405180910390f35b34801561077157600080fd5b5061077a611cd5565b6040516107879190613e72565b60405180910390f35b34801561079c57600080fd5b506107a5611cdb565b6040516107b29190613e72565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd91906141bf565b611ce1565b6040516107ef9190613e72565b60405180910390f35b34801561080457600080fd5b5061080d611d9a565b005b34801561081b57600080fd5b50610836600480360381019061083191906141bf565b611e22565b6040516108439190613e72565b60405180910390f35b34801561085857600080fd5b50610873600480360381019061086e9190614056565b611e3a565b005b34801561088157600080fd5b5061088a611f70565b6040516108979190613e3e565b60405180910390f35b3480156108ac57600080fd5b506108b5611f83565b6040516108c29190614092565b60405180910390f35b3480156108d757600080fd5b506108e0611fad565b6040516108ed9190614008565b60405180910390f35b34801561090257600080fd5b5061091d600480360381019061091891906145bf565b61203f565b005b34801561092b57600080fd5b506109466004803603810190610941919061462b565b6121b7565b005b34801561095457600080fd5b5061096f600480360381019061096a9190614658565b61223d565b005b34801561097d57600080fd5b5061099860048036038101906109939190614056565b6122b0565b6040516109a59190614008565b60405180910390f35b3480156109ba57600080fd5b506109c361234f565b6040516109d09190614008565b60405180910390f35b3480156109e557600080fd5b506109ee6123dd565b6040516109fb9190613e72565b60405180910390f35b348015610a1057600080fd5b50610a2b6004803603810190610a2691906141bf565b6123e3565b005b348015610a3957600080fd5b50610a546004803603810190610a4f91906146db565b6124a2565b604051610a619190613e3e565b60405180910390f35b348015610a7657600080fd5b50610a916004803603810190610a8c91906141bf565b612536565b005b348015610a9f57600080fd5b50610aba6004803603810190610ab591906141bf565b61262e565b604051610ac79190613e72565b60405180910390f35b610aea6004803603810190610ae591906141bf565b612646565b005b6000610af7826128e0565b80610b075750610b0682612972565b5b9050919050565b600d5481565b610b1c6129ec565b73ffffffffffffffffffffffffffffffffffffffff16610b3a611f83565b73ffffffffffffffffffffffffffffffffffffffff1614610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790614767565b60405180910390fd5b610b9a82826129f4565b5050565b60155481565b606060038054610bb3906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdf906147b6565b8015610c2c5780601f10610c0157610100808354040283529160200191610c2c565b820191906000526020600020905b815481529060010190602001808311610c0f57829003601f168201915b5050505050905090565b6000610c4182612b8a565b610c77576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cc082611cb1565b90508073ffffffffffffffffffffffffffffffffffffffff16610ce1612be9565b73ffffffffffffffffffffffffffffffffffffffff1614610d4457610d0d81610d08612be9565b6124a2565b610d43576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601460019054906101000a900460ff1681565b610e146129ec565b73ffffffffffffffffffffffffffffffffffffffff16610e32611f83565b73ffffffffffffffffffffffffffffffffffffffff1614610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f90614767565b60405180910390fd5b80600d5411610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec39061485a565b60405180910390fd5b610ed4612bf1565b811015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d906148ec565b60405180910390fd5b80600d8190555050565b6000610f2a612bfb565b6002546001540303905090565b610f3f6129ec565b73ffffffffffffffffffffffffffffffffffffffff16610f5d611f83565b73ffffffffffffffffffffffffffffffffffffffff1614610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90614767565b60405180910390fd5b82601460026101000a81548160ff02191690831515021790555081601460006101000a81548160ff02191690831515021790555080601460016101000a81548160ff021916908315150217905550505050565b600f5481565b600061101782612c04565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461107e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061108a84612cd2565b915091506110a0818761109b612be9565b612cf9565b6110ec576110b5866110b0612be9565b6124a2565b6110eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611153576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111608686866001612d3d565b801561116b57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061123985611215888887612d43565b7c020000000000000000000000000000000000000000000000000000000017612d6b565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112c15760006001850190506000600560008381526020019081526020016000205414156112bf5760015481146112be578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46113298686866001612d96565b505050505050565b60126020528060005260406000206000915090505481565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156114df5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006114e9612d9c565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611515919061493b565b61151f91906149c4565b90508160000151819350935050509250929050565b60165481565b60175481565b6115486129ec565b73ffffffffffffffffffffffffffffffffffffffff16611566611f83565b73ffffffffffffffffffffffffffffffffffffffff16146115bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b390614767565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506115fa57600080fd5b565b60011515601460019054906101000a900460ff16151514611652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164990614a67565b60405180910390fd5b60c860c78261165f611cc3565b611669919061493b565b611673919061493b565b61167d91906149c4565b3410156116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b690614af9565b60405180910390fd5b6116c7612bf1565b601754601554600d546116da9190614b19565b6116e49190614b4d565b1015611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c90614c15565b60405180910390fd5b60105481601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117739190614b4d565b11156117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90614ca7565b60405180910390fd5b6117be8282612da6565b80601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118099190614b4d565b601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61186b8383836040518060200160405280600081525061223d565b505050565b60195481565b60011515601460009054906101000a900460ff161515146118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c390614d39565b60405180910390fd5b60c860c7846118d9611cc3565b6118e3919061493b565b6118ed919061493b565b6118f791906149c4565b341015611939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193090614af9565b60405180910390fd5b611941612bf1565b600d541015611985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197c90614da5565b60405180910390fd5b600f548360126000856000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119d79190614b4d565b1115611a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0f90614ca7565b60405180910390fd5b6017546015541015611a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5690614e37565b60405180910390fd5b611a698282612f64565b611a77826000015184612da6565b82601754611a859190614b4d565b60178190555060155460175410611ab2576000601460006101000a81548160ff0219169083151502179055505b600160126000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b029190614b4d565b60126000846000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b611b566129ec565b73ffffffffffffffffffffffffffffffffffffffff16611b74611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc190614767565b60405180910390fd5b80601a9080519060200190611be0929190613ce7565b5050565b611bec6129ec565b73ffffffffffffffffffffffffffffffffffffffff16611c0a611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614767565b60405180910390fd5b82600e8190555081600f8190555080601081905550505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601460029054906101000a900460ff1681565b6000611cbc82612c04565b9050919050565b6000611cd0601954613021565b905090565b60105481565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d49576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611da26129ec565b73ffffffffffffffffffffffffffffffffffffffff16611dc0611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0d90614767565b60405180910390fd5b611e2060006130f9565b565b60116020528060005260406000206000915090505481565b611e426129ec565b73ffffffffffffffffffffffffffffffffffffffff16611e60611f83565b73ffffffffffffffffffffffffffffffffffffffff1614611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead90614767565b60405180910390fd5b8060155411611efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef19061485a565b60405180910390fd5b601754811015611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690614ec9565b60405180910390fd5b8060158190555060155460175410611f6d576000601460006101000a81548160ff0219169083151502179055505b50565b601460009054906101000a900460ff1681565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611fbc906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054611fe8906147b6565b80156120355780601f1061200a57610100808354040283529160200191612035565b820191906000526020600020905b81548152906001019060200180831161201857829003601f168201915b5050505050905090565b612047612be9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120ac576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006120b9612be9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612166612be9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121ab9190613e3e565b60405180910390a35050565b6121bf6129ec565b73ffffffffffffffffffffffffffffffffffffffff166121dd611f83565b73ffffffffffffffffffffffffffffffffffffffff1614612233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222a90614767565b60405180910390fd5b8060198190555050565b61224884848461100c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122aa57612273848484846131bf565b6122a9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606122bb82612b8a565b6122f1576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006122fb613310565b905060008151141561231c5760405180602001604052806000815250612347565b8061232684613401565b604051602001612337929190614f25565b6040516020818303038152906040525b915050919050565b601a805461235c906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054612388906147b6565b80156123d55780601f106123aa576101008083540402835291602001916123d5565b820191906000526020600020905b8154815290600101906020018083116123b857829003601f168201915b505050505081565b60185481565b6123eb6129ec565b73ffffffffffffffffffffffffffffffffffffffff16612409611f83565b73ffffffffffffffffffffffffffffffffffffffff161461245f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245690614767565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61253e6129ec565b73ffffffffffffffffffffffffffffffffffffffff1661255c611f83565b73ffffffffffffffffffffffffffffffffffffffff16146125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990614767565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261990614fbb565b60405180910390fd5b61262b816130f9565b50565b60136020528060005260406000206000915090505481565b60011515601460029054906101000a900460ff1615151461269c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126939061504d565b60405180910390fd5b6126a4612bf1565b600d5410156126e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126df90614c15565b60405180910390fd5b600e546001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127379190614b4d565b1115612778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276f90614ca7565b60405180910390fd5b60185460165410156127bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b6906150b9565b60405180910390fd5b6127ca816001612da6565b60016018546127d99190614b4d565b60188190555060165460185410612806576000601460026101000a81548160ff0219169083151502179055505b6001601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128529190614b4d565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060003411156128dd578073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050506128dc57600080fd5b5b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061293b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061296b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129e557506129e482613451565b5b9050919050565b600033905090565b6129fc612d9c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a519061514b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac1906151b7565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612b95612bfb565b11158015612ba4575060015482105b8015612be2575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b6000600154905090565b60006001905090565b60008082905080612c13612bfb565b11612c9b57600154811015612c9a5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612c98575b6000811415612c8e576005600083600190039350838152602001908152602001600020549050612c63565b8092505050612ccd565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612d5a8686846134bb565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b600060015490506000821415612de8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612df56000848385612d3d565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612e6c83612e5d6000866000612d43565b612e66856134c4565b17612d6b565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612f0d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612ed2565b506000821415612f49576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050612f5f6000848385612d96565b505050565b6000612f6f836134d4565b90506000612f7c82613530565b90506000612f8a828561354a565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461301a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301190615249565b60405180910390fd5b5050505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015613091573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b591906152d5565b5050509150506001633b9aca0082633b9aca00866130d39190615350565b6130dd9190615467565b6130e79190615350565b6130f19190615350565b915050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131e5612be9565b8786866040518563ffffffff1660e01b81526004016132079493929190615526565b6020604051808303816000875af192505050801561324357506040513d601f19601f820116820180604052508101906132409190615587565b60015b6132bd573d8060008114613273576040519150601f19603f3d011682016040523d82523d6000602084013e613278565b606091505b506000815114156132b5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000601a8054613321906147b6565b905011156133bb57601a8054613336906147b6565b80601f0160208091040260200160405190810160405280929190818152602001828054613362906147b6565b80156133af5780601f10613384576101008083540402835291602001916133af565b820191906000526020600020905b81548152906001019060200180831161339257829003601f168201915b505050505090506133fe565b6133dc3073ffffffffffffffffffffffffffffffffffffffff166014613571565b6040516020016133ec919061564c565b60405160208183030381529060405290505b90565b606060806040510190508060405280825b60011561343d57600183039250600a81066030018353600a81049050806134385761343d565b613412565b508181036020830392508083525050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60009392505050565b60006001821460e11b9050919050565b60007f981d5b43c373d93722e3bc49845c5e666a67bf8faef06370b7808b92ec8087fa8260000151836020015160405160200161351393929190615692565b604051602081830303815290604052805190602001209050919050565b600061354361353d6137ad565b836138c7565b9050919050565b600080600061355985856138fa565b915091506135668161397d565b819250505092915050565b606060006002836002613584919061493b565b61358e9190614b4d565b67ffffffffffffffff8111156135a7576135a661428e565b5b6040519080825280601f01601f1916602001820160405280156135d95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613611576136106156c9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613675576136746156c9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026136b5919061493b565b6136bf9190614b4d565b90505b600181111561375f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613701576137006156c9565b5b1a60f81b828281518110613718576137176156c9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613758906156f8565b90506136c2565b50600084146137a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379a9061576e565b60405180910390fd5b8091505092915050565b60007f0000000000000000000000009c6cbbd1cc719b6f0117e7508049a2efd7d6309573ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614801561382957507f000000000000000000000000000000000000000000000000000000000000000146145b15613856577f9a0c49f0649eb6100763e400bb218f3dca7c905f1beb9f3928ce6d2389e0c2a890506138c4565b6138c17f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f0e9a185b8cb0aa2179f5e7b819401feff2b51baa4eb2cb12e3d5394023cbb7b17fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613b52565b90505b90565b600082826040516020016138dc9291906157fb565b60405160208183030381529060405280519060200120905092915050565b60008060418351141561393c5760008060006020860151925060408601519150606086015160001a905061393087828585613b8c565b94509450505050613976565b60408351141561396d576000806020850151915060408501519050613962868383613c99565b935093505050613976565b60006002915091505b9250929050565b6000600481111561399157613990615832565b5b8160048111156139a4576139a3615832565b5b14156139af57613b4f565b600160048111156139c3576139c2615832565b5b8160048111156139d6576139d5615832565b5b1415613a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0e906158ad565b60405180910390fd5b60026004811115613a2b57613a2a615832565b5b816004811115613a3e57613a3d615832565b5b1415613a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7690615919565b60405180910390fd5b60036004811115613a9357613a92615832565b5b816004811115613aa657613aa5615832565b5b1415613ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ade906159ab565b60405180910390fd5b600480811115613afa57613af9615832565b5b816004811115613b0d57613b0c615832565b5b1415613b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b4590615a3d565b60405180910390fd5b5b50565b60008383834630604051602001613b6d959493929190615a5d565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613bc7576000600391509150613c90565b601b8560ff1614158015613bdf5750601c8560ff1614155b15613bf1576000600491509150613c90565b600060018787878760405160008152602001604052604051613c169493929190615acc565b6020604051602081039080840390855afa158015613c38573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613c8757600060019250925050613c90565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613cd987828885613b8c565b935093505050935093915050565b828054613cf3906147b6565b90600052602060002090601f016020900481019282613d155760008555613d5c565b82601f10613d2e57805160ff1916838001178555613d5c565b82800160010185558215613d5c579182015b82811115613d5b578251825591602001919060010190613d40565b5b509050613d699190613d6d565b5090565b5b80821115613d86576000816000905550600101613d6e565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613dd381613d9e565b8114613dde57600080fd5b50565b600081359050613df081613dca565b92915050565b600060208284031215613e0c57613e0b613d94565b5b6000613e1a84828501613de1565b91505092915050565b60008115159050919050565b613e3881613e23565b82525050565b6000602082019050613e536000830184613e2f565b92915050565b6000819050919050565b613e6c81613e59565b82525050565b6000602082019050613e876000830184613e63565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613eb882613e8d565b9050919050565b613ec881613ead565b8114613ed357600080fd5b50565b600081359050613ee581613ebf565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613f0c81613eeb565b8114613f1757600080fd5b50565b600081359050613f2981613f03565b92915050565b60008060408385031215613f4657613f45613d94565b5b6000613f5485828601613ed6565b9250506020613f6585828601613f1a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fa9578082015181840152602081019050613f8e565b83811115613fb8576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fda82613f6f565b613fe48185613f7a565b9350613ff4818560208601613f8b565b613ffd81613fbe565b840191505092915050565b600060208201905081810360008301526140228184613fcf565b905092915050565b61403381613e59565b811461403e57600080fd5b50565b6000813590506140508161402a565b92915050565b60006020828403121561406c5761406b613d94565b5b600061407a84828501614041565b91505092915050565b61408c81613ead565b82525050565b60006020820190506140a76000830184614083565b92915050565b600080604083850312156140c4576140c3613d94565b5b60006140d285828601613ed6565b92505060206140e385828601614041565b9150509250929050565b6140f681613e23565b811461410157600080fd5b50565b600081359050614113816140ed565b92915050565b60008060006060848603121561413257614131613d94565b5b600061414086828701614104565b935050602061415186828701614104565b925050604061416286828701614104565b9150509250925092565b60008060006060848603121561418557614184613d94565b5b600061419386828701613ed6565b93505060206141a486828701613ed6565b92505060406141b586828701614041565b9150509250925092565b6000602082840312156141d5576141d4613d94565b5b60006141e384828501613ed6565b91505092915050565b6000806040838503121561420357614202613d94565b5b600061421185828601614041565b925050602061422285828601614041565b9150509250929050565b60006040820190506142416000830185614083565b61424e6020830184613e63565b9392505050565b6000819050919050565b61426881614255565b82525050565b6000602082019050614283600083018461425f565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142c682613fbe565b810181811067ffffffffffffffff821117156142e5576142e461428e565b5b80604052505050565b60006142f8613d8a565b905061430482826142bd565b919050565b60006040828403121561431f5761431e614289565b5b61432960406142ee565b9050600061433984828501613ed6565b600083015250602061434d84828501614041565b60208301525092915050565b600080fd5b600080fd5b600067ffffffffffffffff82111561437e5761437d61428e565b5b61438782613fbe565b9050602081019050919050565b82818337600083830152505050565b60006143b66143b184614363565b6142ee565b9050828152602081018484840111156143d2576143d161435e565b5b6143dd848285614394565b509392505050565b600082601f8301126143fa576143f9614359565b5b813561440a8482602086016143a3565b91505092915050565b60008060006080848603121561442c5761442b613d94565b5b600061443a86828701614041565b935050602061444b86828701614309565b925050606084013567ffffffffffffffff81111561446c5761446b613d99565b5b614478868287016143e5565b9150509250925092565b600067ffffffffffffffff82111561449d5761449c61428e565b5b6144a682613fbe565b9050602081019050919050565b60006144c66144c184614482565b6142ee565b9050828152602081018484840111156144e2576144e161435e565b5b6144ed848285614394565b509392505050565b600082601f83011261450a57614509614359565b5b813561451a8482602086016144b3565b91505092915050565b60006020828403121561453957614538613d94565b5b600082013567ffffffffffffffff81111561455757614556613d99565b5b614563848285016144f5565b91505092915050565b60008060006060848603121561458557614584613d94565b5b600061459386828701614041565b93505060206145a486828701614041565b92505060406145b586828701614041565b9150509250925092565b600080604083850312156145d6576145d5613d94565b5b60006145e485828601613ed6565b92505060206145f585828601614104565b9150509250929050565b61460881614255565b811461461357600080fd5b50565b600081359050614625816145ff565b92915050565b60006020828403121561464157614640613d94565b5b600061464f84828501614616565b91505092915050565b6000806000806080858703121561467257614671613d94565b5b600061468087828801613ed6565b945050602061469187828801613ed6565b93505060406146a287828801614041565b925050606085013567ffffffffffffffff8111156146c3576146c2613d99565b5b6146cf878288016143e5565b91505092959194509250565b600080604083850312156146f2576146f1613d94565b5b600061470085828601613ed6565b925050602061471185828601613ed6565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614751602083613f7a565b915061475c8261471b565b602082019050919050565b6000602082019050818103600083015261478081614744565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806147ce57607f821691505b602082108114156147e2576147e1614787565b5b50919050565b7f456e74656c656368794e66673a204e6577204c696d6974206d7573742062652060008201527f62656c6f772063757272656e74204c696d69742e000000000000000000000000602082015250565b6000614844603483613f7a565b915061484f826147e8565b604082019050919050565b6000602082019050818103600083015261487381614837565b9050919050565b7f456e74656c656368794e66673a204e6577204c696d6974206d7573742062652060008201527f686967686572207468616e2063757272656e7420546f6b656e20537570706c79602082015250565b60006148d6604083613f7a565b91506148e18261487a565b604082019050919050565b60006020820190508181036000830152614905816148c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061494682613e59565b915061495183613e59565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561498a5761498961490c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149cf82613e59565b91506149da83613e59565b9250826149ea576149e9614995565b5b828204905092915050565b7f456e74656c656368794e66673a205075626c6963204d696e74696e672069732060008201527f6e6f7420456e61626c6564000000000000000000000000000000000000000000602082015250565b6000614a51602b83613f7a565b9150614a5c826149f5565b604082019050919050565b60006020820190508181036000830152614a8081614a44565b9050919050565b7f456e74656c656368794e66673a20496e73756666696369656e7420416d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ae3602183613f7a565b9150614aee82614a87565b604082019050919050565b60006020820190508181036000830152614b1281614ad6565b9050919050565b6000614b2482613e59565b9150614b2f83613e59565b925082821015614b4257614b4161490c565b5b828203905092915050565b6000614b5882613e59565b9150614b6383613e59565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b9857614b9761490c565b5b828201905092915050565b7f456e74656c656368794e66673a20546f6b656e204c696d69742072656163686560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bff602183613f7a565b9150614c0a82614ba3565b604082019050919050565b60006020820190508181036000830152614c2e81614bf2565b9050919050565b7f456e74656c656368794e66673a204d6178696d756d20416d6f756e742070657260008201527f2057616c6c657420726561636865640000000000000000000000000000000000602082015250565b6000614c91602f83613f7a565b9150614c9c82614c35565b604082019050919050565b60006020820190508181036000830152614cc081614c84565b9050919050565b7f456e74656c656368794e66673a20416c6c6f776c697374204d696e74696e672060008201527f6973206e6f7420456e61626c6564000000000000000000000000000000000000602082015250565b6000614d23602e83613f7a565b9150614d2e82614cc7565b604082019050919050565b60006020820190508181036000830152614d5281614d16565b9050919050565b7f456e74656c656368794e66673a20416c6c20546f6b656e73206d696e74656400600082015250565b6000614d8f601f83613f7a565b9150614d9a82614d59565b602082019050919050565b60006020820190508181036000830152614dbe81614d82565b9050919050565b7f456e74656c656368794e66673a204e6f20416c6c6f776c697374204d696e747360008201527f206c656674000000000000000000000000000000000000000000000000000000602082015250565b6000614e21602583613f7a565b9150614e2c82614dc5565b604082019050919050565b60006020820190508181036000830152614e5081614e14565b9050919050565b7f456e74656c656368794e66673a204e6577204c696d6974206d7573742062652060008201527f68696768657220616c7265616479206d696e7465642073706f74730000000000602082015250565b6000614eb3603b83613f7a565b9150614ebe82614e57565b604082019050919050565b60006020820190508181036000830152614ee281614ea6565b9050919050565b600081905092915050565b6000614eff82613f6f565b614f098185614ee9565b9350614f19818560208601613f8b565b80840191505092915050565b6000614f318285614ef4565b9150614f3d8284614ef4565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fa5602683613f7a565b9150614fb082614f49565b604082019050919050565b60006020820190508181036000830152614fd481614f98565b9050919050565b7f456e74656c656368794e66673a2046726565204d696e74696e67206973206e6f60008201527f7420456e61626c65640000000000000000000000000000000000000000000000602082015250565b6000615037602983613f7a565b915061504282614fdb565b604082019050919050565b600060208201905081810360008301526150668161502a565b9050919050565b7f456e74656c656368794e66673a204e6f2046726565204d696e7473206c656674600082015250565b60006150a3602083613f7a565b91506150ae8261506d565b602082019050919050565b600060208201905081810360008301526150d281615096565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615135602a83613f7a565b9150615140826150d9565b604082019050919050565b6000602082019050818103600083015261516481615128565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006151a1601983613f7a565b91506151ac8261516b565b602082019050919050565b600060208201905081810360008301526151d081615194565b9050919050565b7f4d696e747061737356616c696461746f723a204d696e7470617373207369676e60008201527f617475726520766572696669636174696f6e206572726f720000000000000000602082015250565b6000615233603883613f7a565b915061523e826151d7565b604082019050919050565b6000602082019050818103600083015261526281615226565b9050919050565b600069ffffffffffffffffffff82169050919050565b61528881615269565b811461529357600080fd5b50565b6000815190506152a58161527f565b92915050565b6000815190506152ba816145ff565b92915050565b6000815190506152cf8161402a565b92915050565b600080600080600060a086880312156152f1576152f0613d94565b5b60006152ff88828901615296565b9550506020615310888289016152ab565b9450506040615321888289016152c0565b9350506060615332888289016152c0565b925050608061534388828901615296565b9150509295509295909350565b600061535b82614255565b915061536683614255565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821160008413600084131616156153a5576153a461490c565b5b817f800000000000000000000000000000000000000000000000000000000000000005831260008412600084131616156153e2576153e161490c565b5b827f8000000000000000000000000000000000000000000000000000000000000000058212600084136000841216161561541f5761541e61490c565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff058212600084126000841216161561545c5761545b61490c565b5b828202905092915050565b600061547282614255565b915061547d83614255565b92508261548d5761548c614995565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156154c6576154c561490c565b5b828205905092915050565b600081519050919050565b600082825260208201905092915050565b60006154f8826154d1565b61550281856154dc565b9350615512818560208601613f8b565b61551b81613fbe565b840191505092915050565b600060808201905061553b6000830187614083565b6155486020830186614083565b6155556040830185613e63565b818103606083015261556781846154ed565b905095945050505050565b60008151905061558181613dca565b92915050565b60006020828403121561559d5761559c613d94565b5b60006155ab84828501615572565b91505092915050565b7f68747470733a2f2f6d6574612e626f776c696e652e6170702f00000000000000600082015250565b60006155ea601983614ee9565b91506155f5826155b4565b601982019050919050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615636600183614ee9565b915061564182615600565b600182019050919050565b6000615657826155dd565b91506156638284614ef4565b915061566e82615629565b915081905092915050565b6000819050919050565b61568c81615679565b82525050565b60006060820190506156a76000830186615683565b6156b46020830185614083565b6156c16040830184613e63565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061570382613e59565b915060008214156157175761571661490c565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615758602083613f7a565b915061576382615722565b602082019050919050565b600060208201905081810360008301526157878161574b565b9050919050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006157c4600283614ee9565b91506157cf8261578e565b600282019050919050565b6000819050919050565b6157f56157f082615679565b6157da565b82525050565b6000615806826157b7565b915061581282856157e4565b60208201915061582282846157e4565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615897601883613f7a565b91506158a282615861565b602082019050919050565b600060208201905081810360008301526158c68161588a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615903601f83613f7a565b915061590e826158cd565b602082019050919050565b60006020820190508181036000830152615932816158f6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615995602283613f7a565b91506159a082615939565b604082019050919050565b600060208201905081810360008301526159c481615988565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a27602283613f7a565b9150615a32826159cb565b604082019050919050565b60006020820190508181036000830152615a5681615a1a565b9050919050565b600060a082019050615a726000830188615683565b615a7f6020830187615683565b615a8c6040830186615683565b615a996060830185613e63565b615aa66080830184614083565b9695505050505050565b600060ff82169050919050565b615ac681615ab0565b82525050565b6000608082019050615ae16000830187615683565b615aee6020830186615abd565b615afb6040830185615683565b615b086060830184615683565b9594505050505056fea26469706673582212200d665d2abef33985cd04af9cd61c118bf21fe92075f90a09ce77f4160d0a74fe64736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c456e74656c656368794e666700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004454e464700000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): EntelechyNfg
Arg [1] : symbol (string): ENFG

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 456e74656c656368794e66670000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 454e464700000000000000000000000000000000000000000000000000000000


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.