ETH Price: $3,422.41 (-1.72%)
Gas: 5 Gwei

Token

MetaCookies (MC)
 

Overview

Max Total Supply

43 MC

Holders

20

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
1996917.eth
Balance
1 MC
0x1f5a68f74059058C2f8E6B974930C2BAEd884abE
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:
MetaCookies

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-30
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/access/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File contracts/ERC721-upgradeable/IERC721AUpgradeable.sol

// ERC721A Contracts v4.2.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721AUpgradeable {
    /**
     * The quantity of tokens by transaction or wallet exceeds the maximum batch size.
     */
    error ExceedsMaximumBatchSize();

    /**
     * The maximum number of tokens by transaction or wallet cannot be zero.
     */
    error MaximumBatchSizeZero();

    /**
     * The total quantity of the collection cannot be zero.
     */
    error CollectionSizeZero();

    /**
     * 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 uninitialized 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 contracts/ERC721-upgradeable/ERC721AStorage.sol


pragma solidity ^0.8.0;

library ERC721AStorage {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    struct Layout {
        // =============================================================
        //                            STORAGE
        // =============================================================

        // The next token ID to be minted.
        uint256 _currentIndex;
        // The number of tokens burned.
        uint256 _burnCounter;
        // Token name
        string _name;
        // Token symbol
        string _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) _packedOwnerships;
        // Mapping owner address to address data.
        //
        // Bits Layout:
        // - [0..63]    `balance`
        // - [64..127]  `numberMinted`
        // - [128..191] `numberBurned`
        // - [192..255] `aux`
        mapping(address => uint256) _packedAddressData;
        // Mapping from token ID to approved address.
        mapping(uint256 => ERC721AStorage.TokenApprovalRef) _tokenApprovals;
        // Mapping from owner to operator approvals
        mapping(address => mapping(address => bool)) _operatorApprovals;
        // Maximum number of mints allowed by transaction or wallet in presale
        uint256 _maxBatchSizePreSale;
        // Maximum number of mints allowed by transaction or wallet in publicSale
        uint256 _maxBatchSizePublicSale;
        // Maximum number of nfts that can be minted
        uint256 _collectionSize;
        // Maximum number of ntfs that can be minted in presale.
        uint256 _amountForPreSale;
        // Maximum number of ntfs that can be minted in public sale.
        uint256 _amountForPublicSale;
        // Maximum number of ntfs that can be minted in free.
        uint256 _amountForFreeSale;
        // Price by nft in public sale.
        uint256 _pricePublicSale;
        // Price by nft in presale.
        uint256 _pricePreSale;
        // Items sold in presale
        uint256 _preSaleCurrentIndex;
        // Items sold in  public sale
        uint256 _publicSaleCurrentIndex;
        uint256 _freeSaleCurrentIndex;
        // Determine if public sale is active
        bool _publicSaleActive;
        // Determine if pre-sale is active
        bool _preSaleActive;
        // false if base uri is hidden
        bool _reveled;
        // Save base URI
        string _baseUri;
        // Save hidden base URI
        string _hiddenBaseUri;

        // Sabe sufix base uri
        string _uriSuffix;
        mapping(address => uint) _tokensBoughtPreSale;
        mapping(address => uint) _tokensBoughtPublicSale;
    }

    bytes32 internal constant STORAGE_SLOT =
        keccak256("ERC721A.contracts.storage.ERC721A");

    function layout() internal pure returns (Layout storage l) {
        bytes32 slot = STORAGE_SLOT;
        assembly {
            l.slot := slot
        }
    }
}


// File contracts/ERC721-upgradeable/ERC721A__InitializableStorage.sol


pragma solidity ^0.8.0;

/**
 * @dev This is a base storage for the  initialization function for upgradeable diamond facet contracts
 **/

library ERC721A__InitializableStorage {
    struct Layout {
        /*
         * Indicates that the contract has been initialized.
         */
        bool _initialized;
        /*
         * Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    bytes32 internal constant STORAGE_SLOT = keccak256('ERC721A.contracts.storage.initializable.facet');

    function layout() internal pure returns (Layout storage l) {
        bytes32 slot = STORAGE_SLOT;
        assembly {
            l.slot := slot
        }
    }
}


// File contracts/ERC721-upgradeable/ERC721A__Initializable.sol

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable diamond facet contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */

abstract contract ERC721A__Initializable {
    using ERC721A__InitializableStorage for ERC721A__InitializableStorage.Layout;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializerERC721A() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(
            ERC721A__InitializableStorage.layout()._initializing
                ? _isConstructor()
                : !ERC721A__InitializableStorage.layout()._initialized,
            'ERC721A__Initializable: contract is already initialized'
        );

        bool isTopLevelCall = !ERC721A__InitializableStorage.layout()._initializing;
        if (isTopLevelCall) {
            ERC721A__InitializableStorage.layout()._initializing = true;
            ERC721A__InitializableStorage.layout()._initialized = true;
        }

        _;

        if (isTopLevelCall) {
            ERC721A__InitializableStorage.layout()._initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializingERC721A() {
        require(
            ERC721A__InitializableStorage.layout()._initializing,
            'ERC721A__Initializable: contract is not initializing'
        );
        _;
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        // extcodesize checks the size of the code stored in an address, and
        // address returns the current address. Since the code is still not
        // deployed when running a constructor, any checks on its code size will
        // yield zero, making it an effective way to detect if a contract is
        // under construction or not.
        address self = address(this);
        uint256 cs;
        assembly {
            cs := extcodesize(self)
        }
        return cs == 0;
    }
}


// File contracts/ERC721-upgradeable/ERC721AUpgradeable.sol

// ERC721A Contracts v4.2.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721ReceiverUpgradeable {
    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 ERC721AUpgradeable is ERC721A__Initializable, IERC721AUpgradeable {
    using ERC721AStorage for ERC721AStorage.Layout;

    // =============================================================
    //                           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;

    // mapping that saves users have already recived token sales distribution
    mapping(address => bool) private _receiveDistribution;

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

    function __ERC721A_init(
        string memory name_,
        string memory symbol_,
        uint256 pricePublicSale_,
        uint256 pricePreSale_,
        uint256 amountForPreSale_,
        uint256 amountForPublicSale_,
        uint256 amountForFreeSale_,
        uint256 maxBatchSizePublicSale_,
        uint256 maxBatchSizePreSale_
    ) internal onlyInitializingERC721A {
        __ERC721A_init_unchained(
            name_,
            symbol_,
            pricePublicSale_,
            pricePreSale_,
            amountForPreSale_,
            amountForPublicSale_,
            amountForFreeSale_,
            maxBatchSizePublicSale_,
            maxBatchSizePreSale_
        );
    }

    function __ERC721A_init_unchained(
        string memory name_,
        string memory symbol_,
        uint256 pricePublicSale_,
        uint256 pricePreSale_,
        uint256 amountForPreSale_,
        uint256 amountForPublicSale_,
        uint256 amountForFreeSale_,
        uint256 maxBatchSizePublicSale_,
        uint256 maxBatchSizePreSale_
    ) internal onlyInitializingERC721A {
        ERC721AStorage.layout()._name = name_;
        ERC721AStorage.layout()._symbol = symbol_;
        ERC721AStorage.layout()._pricePublicSale = pricePublicSale_;
        ERC721AStorage.layout()._pricePreSale = pricePreSale_;
        ERC721AStorage.layout()._amountForPublicSale = amountForPublicSale_;
        ERC721AStorage.layout()._amountForFreeSale = amountForFreeSale_;
        ERC721AStorage.layout()._amountForPreSale = amountForPreSale_;
        ERC721AStorage.layout()._maxBatchSizePreSale = maxBatchSizePreSale_;
        ERC721AStorage
            .layout()
            ._maxBatchSizePublicSale = maxBatchSizePublicSale_;
        ERC721AStorage.layout()._currentIndex = _startTokenId();
        ERC721AStorage.layout()._preSaleCurrentIndex = _startTokenId();
        ERC721AStorage.layout()._publicSaleCurrentIndex = _startTokenId();
        ERC721AStorage.layout()._freeSaleCurrentIndex = _startTokenId();
        ERC721AStorage
            .layout()
            ._baseUri = "https://ipfs.io/ipfs/QmPKWxB5fhj4XS3P3joV9EFCL8CybrKpLFaQE8n7R7vwqY/";
        ERC721AStorage
            .layout()
            ._hiddenBaseUri = "https://ipfs.io/ipfs/hidden_url";
    }

    // =============================================================
    //                   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 1;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return ERC721AStorage.layout()._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
                ERC721AStorage.layout()._currentIndex -
                ERC721AStorage.layout()._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 ERC721AStorage.layout()._currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return ERC721AStorage.layout()._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
            ERC721AStorage.layout()._packedAddressData[owner] &
            _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return
            (ERC721AStorage.layout()._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
            (ERC721AStorage.layout()._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(
                ERC721AStorage.layout()._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 = ERC721AStorage.layout()._packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed =
            (packed & _BITMASK_AUX_COMPLEMENT) |
            (auxCasted << _BITPOS_AUX);
        ERC721AStorage.layout()._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 ERC721AStorage.layout()._name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return ERC721AStorage.layout()._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();
        string memory uriSuffix = ERC721AStorage.layout()._uriSuffix;
        if (!ERC721AStorage.layout()._reveled) {
            return ERC721AStorage.layout()._hiddenBaseUri;
        }
        return
            bytes(baseURI).length != 0
                ? string(
                    abi.encodePacked(baseURI, _toString(tokenId), uriSuffix)
                )
                : "";
    }

    /**
     * @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 ERC721AStorage.layout()._baseUri;
    }

    // =============================================================
    //                     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(
                ERC721AStorage.layout()._packedOwnerships[index]
            );
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (ERC721AStorage.layout()._packedOwnerships[index] == 0) {
            ERC721AStorage.layout()._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 < ERC721AStorage.layout()._currentIndex) {
                    uint256 packed = ERC721AStorage.layout()._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 = ERC721AStorage.layout()._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();
            }

        ERC721AStorage.layout()._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 ERC721AStorage.layout()._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();

        ERC721AStorage.layout()._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 ERC721AStorage.layout()._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 < ERC721AStorage.layout()._currentIndex && // If within bounds,
            ERC721AStorage.layout()._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)
    {
        ERC721AStorage.TokenApprovalRef storage tokenApproval = ERC721AStorage
            .layout()
            ._tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            ERC721AStorage.layout()._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 (
                    ERC721AStorage.layout()._packedOwnerships[nextTokenId] == 0
                ) {
                    // If the next slot is within bounds.
                    if (nextTokenId != ERC721AStorage.layout()._currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        ERC721AStorage.layout()._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__IERC721ReceiverUpgradeable(to).onERC721Received(
                _msgSenderERC721A(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return
                retval ==
                ERC721A__IERC721ReceiverUpgradeable(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 = ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._packedOwnerships[
                startTokenId
            ] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) |
                    _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

            ERC721AStorage.layout()._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 = ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._packedOwnerships[
                startTokenId
            ] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) |
                    _nextExtraData(address(0), to, 0)
            );

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

            ERC721AStorage.layout()._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 = ERC721AStorage.layout()._currentIndex;
                uint256 index = end - quantity;
                do {
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            index++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (ERC721AStorage.layout()._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;`.
            ERC721AStorage.layout()._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`.
            ERC721AStorage.layout()._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 (
                    ERC721AStorage.layout()._packedOwnerships[nextTokenId] == 0
                ) {
                    // If the next slot is within bounds.
                    if (nextTokenId != ERC721AStorage.layout()._currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        ERC721AStorage.layout()._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 {
            ERC721AStorage.layout()._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 = ERC721AStorage.layout()._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);
        ERC721AStorage.layout()._packedOwnerships[index] = packed;
    }

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

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

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

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

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

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

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

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

    function _getTokensOfAddress(address address_)
        internal
        view
        returns (string[] memory)
    {
        uint256 currentIndex = ERC721AStorage.layout()._currentIndex;
        uint256 balanceAddress = balanceOf(address_);

        string[] memory tokensOwned = new string[](balanceAddress);
        uint256 counter;
        for (uint256 i = _startTokenId(); i < currentIndex; i++) {
            if (ownerOf(i) == address_) {
                tokensOwned[counter] = tokenURI(i);
                unchecked {
                    counter += 1;
                }
            }
        }
        return tokensOwned;
    }
}


// File contracts/MetaCookies.sol


pragma solidity ^0.8.4;


/** @author NFT Constructer Team **/
/** @title MetaCookies */
contract MetaCookies is ERC721AUpgradeable, OwnableUpgradeable {
    /**
     * @dev Initialize upgradeable storage (constructor).
     * @custom:restriction This function only can be executed one time.
     */
    function initialize() public initializerERC721A initializer {
        __ERC721A_init({
            name_: "MetaCookies",
            symbol_: "MC",
            pricePublicSale_: 0.015 ether,
            pricePreSale_: 0,
            amountForPreSale_: 0,
            amountForPublicSale_: 3183,
            amountForFreeSale_: 150,
            maxBatchSizePublicSale_: 10,
            maxBatchSizePreSale_: 0
        });
        __Ownable_init();
    }

    /**
     * @dev Mint NFT taking as reference presale values
     * @param quantity Quantity of nfts to mint in transaction
     * @custom:restriction Quantity must be less or equals to maxBatchSize
     */
    function preSaleMint(uint256 quantity) external payable {
        require(
            ERC721AStorage.layout()._preSaleActive,
            "Presale is not active"
        );
        require(
            ERC721AStorage.layout()._amountForPreSale >=
                (ERC721AStorage.layout()._preSaleCurrentIndex + quantity),
            "Transfer exceeds total supply."
        );
        require(
            ERC721AStorage.layout()._tokensBoughtPreSale[msg.sender] +
                quantity <=
                ERC721AStorage.layout()._maxBatchSizePreSale,
            "Transfer exceeds max amount."
        );
        uint256 amount = quantity * ERC721AStorage.layout()._pricePreSale;
        require(msg.value == amount, "Price not covered.");
        _mint(msg.sender, quantity);

        unchecked {
            ERC721AStorage.layout()._preSaleCurrentIndex += quantity;
            ERC721AStorage.layout()._tokensBoughtPreSale[
                msg.sender
            ] += quantity;
        }
    }

    /**
     * @dev Mint NFT taking as reference public sale values
     * @param quantity Quantity of nfts to mint in transaction
     * @custom:restriction Quantity must be less or equals to maxBatchSize
     */
    function publicSaleMint(uint256 quantity) external payable {
        require(
            ERC721AStorage.layout()._publicSaleActive,
            "Public sale is not active"
        );
        require(
            ERC721AStorage.layout()._amountForPublicSale >=
                (ERC721AStorage.layout()._publicSaleCurrentIndex + quantity),
            "Transfer exceeds total supply."
        );
        require(
            ERC721AStorage.layout()._tokensBoughtPublicSale[msg.sender] +
                quantity <=
                ERC721AStorage.layout()._maxBatchSizePublicSale,
            "Transfer exceeds max amount."
        );
        require(
            maxSupply() >= (totalSupply() + quantity),
            "Quantity of tokens exceeds max supply"
        );
        uint256 amount = quantity * ERC721AStorage.layout()._pricePublicSale;
        require(msg.value == amount, "Price not covered.");
        _mint(msg.sender, quantity);

        unchecked {
            ERC721AStorage.layout()._publicSaleCurrentIndex += quantity;
            ERC721AStorage.layout()._tokensBoughtPublicSale[
                msg.sender
            ] += quantity;
        }
    }
 

    /**
     * @dev Mint NFT taking as reference public sale values
     * @param quantity Quantity of nfts to mint in transaction
     * @custom:restriction Quantity must be less or equals to maxBatchSize
     */
    function ownerMint(uint256 quantity) external onlyOwner {
        require(
            ERC721AStorage.layout()._amountForFreeSale >=
                (ERC721AStorage.layout()._freeSaleCurrentIndex + quantity),
            "Transfer exceeds total supply."
        );
        _mint(msg.sender, quantity);

        unchecked {
            ERC721AStorage.layout()._freeSaleCurrentIndex += quantity;
        }
    }

    /**
     * @dev active or deactivate public sale.
     * @param status Use true to activate or false to deactivate.
     * @custom:restriction Only owner can execute this function
     */
    function activePublicSale(bool status) external onlyOwner {
        ERC721AStorage.layout()._publicSaleActive = status;
    }

    /**
     * @dev active or deactivate pre-sale.
     * @param status Use true to activate or false to deactivate.
     * @custom:restriction Only owner can execute this function
     */
    function activePreSale(bool status) external onlyOwner {
        ERC721AStorage.layout()._preSaleActive = status;
    }

    /**
     * @dev Set base URI.
     * @param baseURI_ A string used as base to generate nfts.
     * @custom:restriction Only owner can execute this function
     */
    function setBaseURI(string memory baseURI_) external onlyOwner {
        ERC721AStorage.layout()._baseUri = baseURI_;
    }

    /**
     * @dev Set hidden base URI.
     * @param baseURI_ A string used as url when base url is hidden to generate nfts.
     * @custom:restriction Only owner can execute this function
     */
    function setHiddenBaseURI(string memory baseURI_) external onlyOwner {
        ERC721AStorage.layout()._hiddenBaseUri = baseURI_;
    }

    /**
     * @dev Change quantity of tokens for public sale.
     * @param quantity Quantity of tokens for public sale.
     * @custom:restriction Only owner can execute this function
     */
    function setPublicSaleQuantity(uint256 quantity) external onlyOwner {
        require(quantity >= 0, "Quantity must be greater than 0");
        ERC721AStorage.layout()._amountForPublicSale = quantity;
    }

    /**
     * @dev Change quantity of tokens for pre sale.
     * @param quantity Quantity of tokens for pre sale.
     * @custom:restriction Only owner can execute this function
     */
    function setPreSaleQuantity(uint256 quantity) external onlyOwner {
        require(quantity >= 0, "Quantity must be greater than 0");
        ERC721AStorage.layout()._amountForPreSale = quantity;
    }

    /**
     * @dev Change quantity of tokens for free sale.
     * @param quantity Quantity of tokens for free sale.
     * @custom:restriction Only owner can execute this function
     */
    function setFreeSaleQuantity(uint256 quantity) external onlyOwner {
        require(quantity >= 0, "Quantity must be greater than 0");
        ERC721AStorage.layout()._amountForFreeSale = quantity;
    }

    /**
     * @dev Change price for tokens of public sale.
     * @param price Price for tokens of public sale.
     * @custom:restriction Only owner can execute this function
     */
    function setPublicSalePrice(uint256 price) external onlyOwner {
        require(price >= 0, "Price must be greater than 0");
        ERC721AStorage.layout()._pricePublicSale = price;
    }

    /**
     * @dev Change price for tokens of pre sale.
     * @param price Price for tokens of pre sale.
     * @custom:restriction Only owner can execute this function
     */
    function setPreSalePrice(uint256 price) external onlyOwner {
        require(price >= 0, "Price must be greater than 0");
        ERC721AStorage.layout()._pricePreSale = price;
    }

    /**
     * @dev Change limit per wallet for tokens of pre sale.
     * @param limit quantity of tokens allowed per wallet in pre sale.
     * @custom:restriction Only owner can execute this function
     */
    function setPreSaleLimit(uint256 limit) external onlyOwner {
        require(limit > 0, "Limit must be greater than 0");
        ERC721AStorage.layout()._maxBatchSizePreSale = limit;
    }

    /**
     * @dev Change limit per wallet for tokens of public sale.
     * @param limit quantity of tokens allowed per wallet in public sale.
     * @custom:restriction Only owner can execute this function
     */
    function setPublicSaleLimit(uint256 limit) external onlyOwner {
        require(limit > 0, "Limit must be greater than 0");
        ERC721AStorage.layout()._maxBatchSizePublicSale = limit;
    }

    /**
     * @dev Get all the balance of the contract (profits).
     * @custom:restriction Only owner can execute this function
     */
    function getProfits() external onlyOwner {
        (bool sent, ) = payable(msg.sender).call{value: address(this).balance}(
            ""
        );
        require(sent, "Failed to send Ether");
    }

    /**
     * @dev Hidde or show baseURI.
     * @param status Use true to show or false to hidde.
     * @custom:restriction Only owner can execute this function
     */
    function revelBaseURI(bool status) external onlyOwner {
        ERC721AStorage.layout()._reveled = status;
    }

    function getTokensOfAddress(address address_)
        external
        view
        returns (string[] memory)
    {
        return _getTokensOfAddress(address_);
    }

    function preSalePrice() external view returns (uint256) {
        return ERC721AStorage.layout()._pricePreSale;
    }

    function publicSalePrice() external view returns (uint256) {
        return ERC721AStorage.layout()._pricePublicSale;
    }

    function amountForPublicSale() external view returns (uint256) {
        return ERC721AStorage.layout()._amountForPublicSale;
    }

    function amountForPreSale() external view returns (uint256) {
        return ERC721AStorage.layout()._amountForPreSale;
    }

    function uriSuffix() external view returns (string memory) {
        return ERC721AStorage.layout()._uriSuffix;
    }

    function setUriSuffix(string memory uriSuffix_)
        external
        onlyOwner
        returns (string memory)
    {
        return ERC721AStorage.layout()._uriSuffix = uriSuffix_;
    }

    function baseURI() external view returns (string memory) {
        return ERC721AStorage.layout()._baseUri;
    }

    // Change function to get max supply
    function maxSupply() public view returns (uint256) {
        return (ERC721AStorage.layout()._amountForPublicSale +
            ERC721AStorage.layout()._amountForFreeSale);
    }

    function airdrop(address[] memory _addresses, uint256 _amountPerWallet)
        external
        onlyOwner
    {
        uint256 amountTokens = (totalSupply() +
            (_addresses.length * _amountPerWallet));
        require(
            amountTokens <= maxSupply(),
            "ERC721A: Amount of tokens exceeds max supply."
        );
        for (uint256 i; i < _addresses.length; i++) {
            _mint(_addresses[i], _amountPerWallet);
        }
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CollectionSizeZero","type":"error"},{"inputs":[],"name":"ExceedsMaximumBatchSize","type":"error"},{"inputs":[],"name":"MaximumBatchSizeZero","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"activePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"activePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256","name":"_amountPerWallet","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountForPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForPublicSale","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getProfits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"getTokensOfAddress","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"revelBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setFreeSaleQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setHiddenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setPreSaleLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setPreSaleQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setPublicSaleLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setPublicSaleQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uriSuffix_","type":"string"}],"name":"setUriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50612ab4806100206000396000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb01146106ee578063e757c17d14610703578063e985e9c514610718578063eaa6055114610738578063f19e75d414610758578063f2fde38b1461077857600080fd5b8063a22cb4651461065b578063b3ab66b01461067b578063b88d4fde1461068e578063c204642c146106ae578063c87b56dd146106ce57600080fd5b80638129fc1c116101085780638129fc1c146105c95780638da5cb5b146105de57806395d89b41146105fc57806396b1fea1146106115780639b6860c8146106315780639dc74e631461064657600080fd5b806370a0823114610541578063715018a6146105615780637835c63514610576578063791a2519146105895780637d7eee42146105a957600080fd5b806337f83037116101dd5780635503a0e8116101a15780635503a0e81461049757806355f804b3146104ac57806358a64492146104cc5780636352211e146104ec5780636c0360eb1461050c5780636c9803f61461052157600080fd5b806337f830371461040d57806339d82c59146104225780633ad152581461044257806342842e0e146104575780634b6a20eb1461047757600080fd5b806314de39191161022f57806314de39191461033d57806316ba10e01461036a57806318160ddd1461038a57806320ac6850146103ad57806323b872dd146103cd5780632d29b9a9146103ed57600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb5780630b1f703c1461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612645565b610798565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107ea565b60405161029891906127ef565b3480156102cf57600080fd5b506102e36102de3660046126c8565b610885565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061031b610316366004612546565b6108d2565b005b34801561032957600080fd5b5061031b6103383660046126c8565b610980565b34801561034957600080fd5b5061035d610358366004612416565b6109ed565b604051610298919061278d565b34801561037657600080fd5b506102b661038536600461267f565b6109f8565b34801561039657600080fd5b5061039f610ab2565b604051908152602001610298565b3480156103b957600080fd5b5061031b6103c836600461267f565b610ad2565b3480156103d957600080fd5b5061031b6103e8366004612464565b610afd565b3480156103f957600080fd5b5061031b6104083660046126c8565b610cec565b34801561041957600080fd5b5061039f610d04565b34801561042e57600080fd5b5061031b61043d3660046126c8565b610d17565b34801561044e57600080fd5b5061031b610d7f565b34801561046357600080fd5b5061031b610472366004612464565b610e19565b34801561048357600080fd5b5061031b6104923660046126c8565b610e39565b3480156104a357600080fd5b506102b6610e51565b3480156104b857600080fd5b5061031b6104c736600461267f565b610e69565b3480156104d857600080fd5b5061031b6104e73660046126c8565b610e90565b3480156104f857600080fd5b506102e36105073660046126c8565b610ea8565b34801561051857600080fd5b506102b6610eb3565b34801561052d57600080fd5b5061031b61053c36600461262a565b610ecb565b34801561054d57600080fd5b5061039f61055c366004612416565b610ef8565b34801561056d57600080fd5b5061031b610f61565b61031b6105843660046126c8565b610f75565b34801561059557600080fd5b5061031b6105a43660046126c8565b611131565b3480156105b557600080fd5b5061031b6105c43660046126c8565b611149565b3480156105d557600080fd5b5061031b611161565b3480156105ea57600080fd5b506034546001600160a01b03166102e3565b34801561060857600080fd5b506102b66113cd565b34801561061d57600080fd5b5061031b61062c36600461262a565b6113e5565b34801561063d57600080fd5b5061039f61140b565b34801561065257600080fd5b5061039f61141e565b34801561066757600080fd5b5061031b61067636600461251c565b611431565b61031b6106893660046126c8565b6114d8565b34801561069a57600080fd5b5061031b6106a93660046124a0565b61170e565b3480156106ba57600080fd5b5061031b6106c9366004612570565b611758565b3480156106da57600080fd5b506102b66106e93660046126c8565b611831565b3480156106fa57600080fd5b5061039f611a03565b34801561070f57600080fd5b5061039f611a2c565b34801561072457600080fd5b5061028c610733366004612431565b611a3f565b34801561074457600080fd5b5061031b61075336600461262a565b611a7c565b34801561076457600080fd5b5061031b6107733660046126c8565b611aab565b34801561078457600080fd5b5061031b610793366004612416565b611b14565b60006301ffc9a760e01b6001600160e01b0319831614806107c957506380ac58cd60e01b6001600160e01b03198316145b806107e45750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606107f4611b8a565b60020180546108029061296c565b80601f016020809104026020016040519081016040528092919081815260200182805461082e9061296c565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b600061089082611bae565b6108ad576040516333d1c03960e21b815260040160405180910390fd5b6108b5611b8a565b60009283526006016020525060409020546001600160a01b031690565b60006108dd82610ea8565b9050336001600160a01b03821614610916576108f98133611a3f565b610916576040516367d9dca160e11b815260040160405180910390fd5b8261091f611b8a565b6000848152600691909101602052604080822080546001600160a01b0319166001600160a01b0394851617905551849286811692908516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a4505050565b610988611bf7565b600081116109dd5760405162461bcd60e51b815260206004820152601c60248201527f4c696d6974206d7573742062652067726561746572207468616e20300000000060448201526064015b60405180910390fd5b806109e6611b8a565b6008015550565b60606107e482611c51565b6060610a02611bf7565b81610a0b611b8a565b6016019080519060200190610a219291906122fe565b8054610a2c9061296c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a589061296c565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b505050505090505b919050565b60006001610abe611b8a565b60010154610aca611b8a565b540303919050565b610ada611bf7565b80610ae3611b8a565b6015019080519060200190610af99291906122fe565b5050565b6000610b0882611d37565b9050836001600160a01b0316816001600160a01b031614610b3b5760405162a1148160e81b815260040160405180910390fd5b600080610b4784611dcd565b91509150610b6c8187610b573390565b6001600160a01b039081169116811491141790565b610b9757610b7a8633611a3f565b610b9757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610bbe57604051633a954ecd60e21b815260040160405180910390fd5b8015610bc957600082555b610bd1611b8a565b6001600160a01b0387166000908152600591909101602052604090208054600019019055610bfd611b8a565b6001600160a01b03861660008181526005929092016020526040909120805460010190554260a01b17600160e11b17610c34611b8a565b60008681526004919091016020526040902055600160e11b8316610ca35760018401610c5e611b8a565b60008281526004919091016020526040902054610ca157610c7d611b8a565b548114610ca15783610c8d611b8a565b600083815260049190910160205260409020555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610cf4611bf7565b80610cfd611b8a565b600d015550565b6000610d0e611b8a565b600b0154905090565b610d1f611bf7565b60008111610d6f5760405162461bcd60e51b815260206004820152601c60248201527f4c696d6974206d7573742062652067726561746572207468616e20300000000060448201526064016109d4565b80610d78611b8a565b6009015550565b610d87611bf7565b604051600090339047908381818185875af1925050503d8060008114610dc9576040519150601f19603f3d011682016040523d82523d6000602084013e610dce565b606091505b5050905080610e165760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016109d4565b50565b610e348383836040518060200160405280600081525061170e565b505050565b610e41611bf7565b80610e4a611b8a565b600c015550565b6060610e5b611b8a565b60160180546108029061296c565b610e71611bf7565b80610e7a611b8a565b6014019080519060200190610af99291906122fe565b610e98611bf7565b80610ea1611b8a565b600b015550565b60006107e482611d37565b6060610ebd611b8a565b60140180546108029061296c565b610ed3611bf7565b80610edc611b8a565b60130180549115156101000261ff001990921691909117905550565b60006001600160a01b038216610f21576040516323d3ad8160e21b815260040160405180910390fd5b67ffffffffffffffff610f32611b8a565b6005016000846001600160a01b03166001600160a01b0316815260200190815260200160002054169050919050565b610f69611bf7565b610f736000611df5565b565b610f7d611b8a565b60130154610100900460ff16610fcd5760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016109d4565b80610fd6611b8a565b60100154610fe49190612909565b610fec611b8a565b600b0154101561100e5760405162461bcd60e51b81526004016109d490612856565b611016611b8a565b6008015481611023611b8a565b33600090815260179190910160205260409020546110419190612909565b111561108f5760405162461bcd60e51b815260206004820152601c60248201527f5472616e736665722065786365656473206d617820616d6f756e742e0000000060448201526064016109d4565b6000611099611b8a565b600f01546110a79083612921565b90508034146110ed5760405162461bcd60e51b8152602060048201526012602482015271283934b1b2903737ba1031b7bb32b932b21760711b60448201526064016109d4565b6110f73383611e47565b81611100611b8a565b6010018054909101905581611113611b8a565b33600090815260179190910160205260409020805490910190555050565b611139611bf7565b80611142611b8a565b600e015550565b611151611bf7565b8061115a611b8a565b600f015550565b600080516020612a5f83398151915254610100900460ff1661119657600080516020612a5f8339815191525460ff161561119a565b303b155b61120c5760405162461bcd60e51b815260206004820152603760248201527f455243373231415f5f496e697469616c697a61626c653a20636f6e747261637460448201527f20697320616c726561647920696e697469616c697a656400000000000000000060648201526084016109d4565b600080516020612a5f83398151915254610100900460ff1615801561124857600080516020612a5f833981519152805461ffff19166101011790555b600154610100900460ff161580801561126557506001805460ff16105b8061127e5750303b15801561127e57506001805460ff16145b6112e15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016109d4565b6001805460ff1916811790558015611303576001805461ff0019166101001790555b61135e6040518060400160405280600b81526020016a4d657461436f6f6b69657360a81b815250604051806040016040528060028152602001614d4360f01b81525066354a6ba7a18000600080610c6f6096600a6000611f7b565b611366611fcb565b80156113ab576001805461ff00191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b508015610e165750600080516020612a5f833981519152805461ff0019169055565b60606113d7611b8a565b60030180546108029061296c565b6113ed611bf7565b806113f6611b8a565b601301805460ff191691151591909117905550565b6000611415611b8a565b600e0154905090565b6000611428611b8a565b600c0154905090565b6001600160a01b03821633141561145b5760405163b06307db60e01b815260040160405180910390fd5b80611464611b8a565b336000818152600792909201602090815260408084206001600160a01b03881680865290835293819020805460ff19169515159590951790945592518415158152919290917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114e0611b8a565b6013015460ff166115335760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109d4565b8061153c611b8a565b6011015461154a9190612909565b611552611b8a565b600c015410156115745760405162461bcd60e51b81526004016109d490612856565b61157c611b8a565b6009015481611589611b8a565b33600090815260189190910160205260409020546115a79190612909565b11156115f55760405162461bcd60e51b815260206004820152601c60248201527f5472616e736665722065786365656473206d617820616d6f756e742e0000000060448201526064016109d4565b806115fe610ab2565b6116089190612909565b611610611a03565b101561166c5760405162461bcd60e51b815260206004820152602560248201527f5175616e74697479206f6620746f6b656e732065786365656473206d617820736044820152647570706c7960d81b60648201526084016109d4565b6000611676611b8a565b600e01546116849083612921565b90508034146116ca5760405162461bcd60e51b8152602060048201526012602482015271283934b1b2903737ba1031b7bb32b932b21760711b60448201526064016109d4565b6116d43383611e47565b816116dd611b8a565b60110180549091019055816116f0611b8a565b33600090815260189190910160205260409020805490910190555050565b611719848484610afd565b6001600160a01b0383163b156117525761173584848484611ffa565b611752576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611760611bf7565b600081835161176f9190612921565b611777610ab2565b6117819190612909565b905061178b611a03565b8111156117f05760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20416d6f756e74206f6620746f6b656e732065786365656460448201526c399036b0bc1039bab838363c9760991b60648201526084016109d4565b60005b83518110156117525761181f848281518110611811576118116129d8565b602002602001015184611e47565b80611829816129a7565b9150506117f3565b606061183c82611bae565b61185957604051630a14c4b560e41b815260040160405180910390fd5b6000611863610eb3565b9050600061186f611b8a565b601601805461187d9061296c565b80601f01602080910402602001604051908101604052809291908181526020018280546118a99061296c565b80156118f65780601f106118cb576101008083540402835291602001916118f6565b820191906000526020600020905b8154815290600101906020018083116118d957829003601f168201915b50505050509050611905611b8a565b6013015462010000900460ff166119b35761191e611b8a565b601501805461192c9061296c565b80601f01602080910402602001604051908101604052809291908181526020018280546119589061296c565b80156119a55780601f1061197a576101008083540402835291602001916119a5565b820191906000526020600020905b81548152906001019060200180831161198857829003601f168201915b505050505092505050919050565b81516119ce57604051806020016040528060008152506119fb565b816119d8856120f1565b826040516020016119eb9392919061270d565b6040516020818303038152906040525b949350505050565b6000611a0d611b8a565b600d0154611a19611b8a565b600c0154611a279190612909565b905090565b6000611a36611b8a565b600f0154905090565b6000611a49611b8a565b6001600160a01b039384166000908152600791909101602090815260408083209490951682529290925250205460ff1690565b611a84611bf7565b80611a8d611b8a565b6013018054911515620100000262ff00001990921691909117905550565b611ab3611bf7565b80611abc611b8a565b60120154611aca9190612909565b611ad2611b8a565b600d01541015611af45760405162461bcd60e51b81526004016109d490612856565b611afe3382611e47565b80611b07611b8a565b6012018054909101905550565b611b1c611bf7565b6001600160a01b038116611b815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d4565b610e1681611df5565b7f2569078dfb4b0305704d3008e7403993ae9601b85f7ae5e742de3de8f8011c4090565b600081600111158015611bc85750611bc4611b8a565b5482105b80156107e45750600160e01b611bdc611b8a565b60008481526004919091016020526040902054161592915050565b6034546001600160a01b03163314610f735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d4565b60606000611c5d611b8a565b5490506000611c6b84610ef8565b905060008167ffffffffffffffff811115611c8857611c886129ee565b604051908082528060200260200182016040528015611cbb57816020015b6060815260200190600190039081611ca65790505b509050600060015b84811015611d2c57866001600160a01b0316611cde82610ea8565b6001600160a01b03161415611d1a57611cf681611831565b838381518110611d0857611d086129d8565b60200260200101819052506001820191505b80611d24816129a7565b915050611cc3565b509095945050505050565b60008180600111611db457611d4a611b8a565b54811015611db4576000611d5c611b8a565b600083815260049190910160205260409020549050600160e01b8116611db2575b80611dab57611d8a611b8a565b60001990920160008181526004939093016020526040909220549050611d7d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000806000611dda611b8a565b60009485526006016020525050604090912080549092909150565b603480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611e51611b8a565b54905081611e725760405163b562e8dd60e01b815260040160405180910390fd5b680100000000000000018202611e86611b8a565b6001600160a01b038516600081815260059290920160205260409091208054929092019091554260a01b6001841460e11b1717611ec1611b8a565b600083815260049190910160205260408120919091556001600160a01b0384169083830190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f4b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f13565b5081611f6957604051622e076360e81b815260040160405180910390fd5b80611f72611b8a565b5550610e349050565b600080516020612a5f83398151915254610100900460ff16611faf5760405162461bcd60e51b81526004016109d490612802565b611fc0898989898989898989612133565b505050505050505050565b600154610100900460ff16611ff25760405162461bcd60e51b81526004016109d49061288d565b610f736122ce565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061202f903390899088908890600401612750565b602060405180830381600087803b15801561204957600080fd5b505af1925050508015612079575060408051601f3d908101601f1916820190925261207691810190612662565b60015b6120d4573d8080156120a7576040519150601f19603f3d011682016040523d82523d6000602084013e6120ac565b606091505b5080516120cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080019081905280825b600183039250600a81066030018353600a90048061211c57612121565b6120ff565b50819003601f19909101908152919050565b600080516020612a5f83398151915254610100900460ff166121675760405162461bcd60e51b81526004016109d490612802565b88612170611b8a565b60020190805190602001906121869291906122fe565b5087612190611b8a565b60030190805190602001906121a69291906122fe565b50866121b0611b8a565b600e0155856121bd611b8a565b600f0155836121ca611b8a565b600c0155826121d7611b8a565b600d0155846121e4611b8a565b600b0155806121f1611b8a565b60080155816121fe611b8a565b60090155600161220c611b8a565b556001612217611b8a565b601001556001612225611b8a565b601101556001612233611b8a565b6012015560408051608081019091526044808252612a1b6020830139612257611b8a565b601401908051906020019061226d9291906122fe565b506040518060400160405280601f81526020017f68747470733a2f2f697066732e696f2f697066732f68696464656e5f75726c008152506122ac611b8a565b60150190805190602001906122c29291906122fe565b50505050505050505050565b600154610100900460ff166122f55760405162461bcd60e51b81526004016109d49061288d565b610f7333611df5565b82805461230a9061296c565b90600052602060002090601f01602090048101928261232c5760008555612372565b82601f1061234557805160ff1916838001178555612372565b82800160010185558215612372579182015b82811115612372578251825591602001919060010190612357565b5061237e929150612382565b5090565b5b8082111561237e5760008155600101612383565b600067ffffffffffffffff8311156123b1576123b16129ee565b6123c4601f8401601f19166020016128d8565b90508281528383830111156123d857600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610aad57600080fd5b80358015158114610aad57600080fd5b60006020828403121561242857600080fd5b611dab826123ef565b6000806040838503121561244457600080fd5b61244d836123ef565b915061245b602084016123ef565b90509250929050565b60008060006060848603121561247957600080fd5b612482846123ef565b9250612490602085016123ef565b9150604084013590509250925092565b600080600080608085870312156124b657600080fd5b6124bf856123ef565b93506124cd602086016123ef565b925060408501359150606085013567ffffffffffffffff8111156124f057600080fd5b8501601f8101871361250157600080fd5b61251087823560208401612397565b91505092959194509250565b6000806040838503121561252f57600080fd5b612538836123ef565b915061245b60208401612406565b6000806040838503121561255957600080fd5b612562836123ef565b946020939093013593505050565b6000806040838503121561258357600080fd5b823567ffffffffffffffff8082111561259b57600080fd5b818501915085601f8301126125af57600080fd5b81356020828211156125c3576125c36129ee565b8160051b92506125d48184016128d8565b8281528181019085830185870184018b10156125ef57600080fd5b600096505b8487101561261957612605816123ef565b8352600196909601959183019183016125f4565b509997909101359750505050505050565b60006020828403121561263c57600080fd5b611dab82612406565b60006020828403121561265757600080fd5b8135611dab81612a04565b60006020828403121561267457600080fd5b8151611dab81612a04565b60006020828403121561269157600080fd5b813567ffffffffffffffff8111156126a857600080fd5b8201601f810184136126b957600080fd5b6119fb84823560208401612397565b6000602082840312156126da57600080fd5b5035919050565b600081518084526126f9816020860160208601612940565b601f01601f19169290920160200192915050565b6000845161271f818460208901612940565b845190830190612733818360208901612940565b8451910190612746818360208801612940565b0195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612783908301846126e1565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156127e257603f198886030184526127d08583516126e1565b945092850192908501906001016127b4565b5092979650505050505050565b602081526000611dab60208301846126e1565b60208082526034908201527f455243373231415f5f496e697469616c697a61626c653a20636f6e7472616374604082015273206973206e6f7420696e697469616c697a696e6760601b606082015260800190565b6020808252601e908201527f5472616e73666572206578636565647320746f74616c20737570706c792e0000604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612901576129016129ee565b604052919050565b6000821982111561291c5761291c6129c2565b500190565b600081600019048311821515161561293b5761293b6129c2565b500290565b60005b8381101561295b578181015183820152602001612943565b838111156117525750506000910152565b600181811c9082168061298057607f821691505b602082108114156129a157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129bb576129bb6129c2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e1657600080fdfe68747470733a2f2f697066732e696f2f697066732f516d504b5778423566686a3458533350336a6f56394546434c38437962724b704c46615145386e375237767771592fee151c8401928dc223602bb187aff91b9a56c7cae5476ef1b3287b085a16c85fa264697066735822122050ac2aabc0fee350d893a29d0b48b271da2d3928bc8f38ad340164017d801dde64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a0823111610144578063a22cb465116100b6578063d5abeb011161007a578063d5abeb01146106ee578063e757c17d14610703578063e985e9c514610718578063eaa6055114610738578063f19e75d414610758578063f2fde38b1461077857600080fd5b8063a22cb4651461065b578063b3ab66b01461067b578063b88d4fde1461068e578063c204642c146106ae578063c87b56dd146106ce57600080fd5b80638129fc1c116101085780638129fc1c146105c95780638da5cb5b146105de57806395d89b41146105fc57806396b1fea1146106115780639b6860c8146106315780639dc74e631461064657600080fd5b806370a0823114610541578063715018a6146105615780637835c63514610576578063791a2519146105895780637d7eee42146105a957600080fd5b806337f83037116101dd5780635503a0e8116101a15780635503a0e81461049757806355f804b3146104ac57806358a64492146104cc5780636352211e146104ec5780636c0360eb1461050c5780636c9803f61461052157600080fd5b806337f830371461040d57806339d82c59146104225780633ad152581461044257806342842e0e146104575780634b6a20eb1461047757600080fd5b806314de39191161022f57806314de39191461033d57806316ba10e01461036a57806318160ddd1461038a57806320ac6850146103ad57806323b872dd146103cd5780632d29b9a9146103ed57600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb5780630b1f703c1461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612645565b610798565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b66107ea565b60405161029891906127ef565b3480156102cf57600080fd5b506102e36102de3660046126c8565b610885565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061031b610316366004612546565b6108d2565b005b34801561032957600080fd5b5061031b6103383660046126c8565b610980565b34801561034957600080fd5b5061035d610358366004612416565b6109ed565b604051610298919061278d565b34801561037657600080fd5b506102b661038536600461267f565b6109f8565b34801561039657600080fd5b5061039f610ab2565b604051908152602001610298565b3480156103b957600080fd5b5061031b6103c836600461267f565b610ad2565b3480156103d957600080fd5b5061031b6103e8366004612464565b610afd565b3480156103f957600080fd5b5061031b6104083660046126c8565b610cec565b34801561041957600080fd5b5061039f610d04565b34801561042e57600080fd5b5061031b61043d3660046126c8565b610d17565b34801561044e57600080fd5b5061031b610d7f565b34801561046357600080fd5b5061031b610472366004612464565b610e19565b34801561048357600080fd5b5061031b6104923660046126c8565b610e39565b3480156104a357600080fd5b506102b6610e51565b3480156104b857600080fd5b5061031b6104c736600461267f565b610e69565b3480156104d857600080fd5b5061031b6104e73660046126c8565b610e90565b3480156104f857600080fd5b506102e36105073660046126c8565b610ea8565b34801561051857600080fd5b506102b6610eb3565b34801561052d57600080fd5b5061031b61053c36600461262a565b610ecb565b34801561054d57600080fd5b5061039f61055c366004612416565b610ef8565b34801561056d57600080fd5b5061031b610f61565b61031b6105843660046126c8565b610f75565b34801561059557600080fd5b5061031b6105a43660046126c8565b611131565b3480156105b557600080fd5b5061031b6105c43660046126c8565b611149565b3480156105d557600080fd5b5061031b611161565b3480156105ea57600080fd5b506034546001600160a01b03166102e3565b34801561060857600080fd5b506102b66113cd565b34801561061d57600080fd5b5061031b61062c36600461262a565b6113e5565b34801561063d57600080fd5b5061039f61140b565b34801561065257600080fd5b5061039f61141e565b34801561066757600080fd5b5061031b61067636600461251c565b611431565b61031b6106893660046126c8565b6114d8565b34801561069a57600080fd5b5061031b6106a93660046124a0565b61170e565b3480156106ba57600080fd5b5061031b6106c9366004612570565b611758565b3480156106da57600080fd5b506102b66106e93660046126c8565b611831565b3480156106fa57600080fd5b5061039f611a03565b34801561070f57600080fd5b5061039f611a2c565b34801561072457600080fd5b5061028c610733366004612431565b611a3f565b34801561074457600080fd5b5061031b61075336600461262a565b611a7c565b34801561076457600080fd5b5061031b6107733660046126c8565b611aab565b34801561078457600080fd5b5061031b610793366004612416565b611b14565b60006301ffc9a760e01b6001600160e01b0319831614806107c957506380ac58cd60e01b6001600160e01b03198316145b806107e45750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606107f4611b8a565b60020180546108029061296c565b80601f016020809104026020016040519081016040528092919081815260200182805461082e9061296c565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b600061089082611bae565b6108ad576040516333d1c03960e21b815260040160405180910390fd5b6108b5611b8a565b60009283526006016020525060409020546001600160a01b031690565b60006108dd82610ea8565b9050336001600160a01b03821614610916576108f98133611a3f565b610916576040516367d9dca160e11b815260040160405180910390fd5b8261091f611b8a565b6000848152600691909101602052604080822080546001600160a01b0319166001600160a01b0394851617905551849286811692908516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259190a4505050565b610988611bf7565b600081116109dd5760405162461bcd60e51b815260206004820152601c60248201527f4c696d6974206d7573742062652067726561746572207468616e20300000000060448201526064015b60405180910390fd5b806109e6611b8a565b6008015550565b60606107e482611c51565b6060610a02611bf7565b81610a0b611b8a565b6016019080519060200190610a219291906122fe565b8054610a2c9061296c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a589061296c565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b505050505090505b919050565b60006001610abe611b8a565b60010154610aca611b8a565b540303919050565b610ada611bf7565b80610ae3611b8a565b6015019080519060200190610af99291906122fe565b5050565b6000610b0882611d37565b9050836001600160a01b0316816001600160a01b031614610b3b5760405162a1148160e81b815260040160405180910390fd5b600080610b4784611dcd565b91509150610b6c8187610b573390565b6001600160a01b039081169116811491141790565b610b9757610b7a8633611a3f565b610b9757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610bbe57604051633a954ecd60e21b815260040160405180910390fd5b8015610bc957600082555b610bd1611b8a565b6001600160a01b0387166000908152600591909101602052604090208054600019019055610bfd611b8a565b6001600160a01b03861660008181526005929092016020526040909120805460010190554260a01b17600160e11b17610c34611b8a565b60008681526004919091016020526040902055600160e11b8316610ca35760018401610c5e611b8a565b60008281526004919091016020526040902054610ca157610c7d611b8a565b548114610ca15783610c8d611b8a565b600083815260049190910160205260409020555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610cf4611bf7565b80610cfd611b8a565b600d015550565b6000610d0e611b8a565b600b0154905090565b610d1f611bf7565b60008111610d6f5760405162461bcd60e51b815260206004820152601c60248201527f4c696d6974206d7573742062652067726561746572207468616e20300000000060448201526064016109d4565b80610d78611b8a565b6009015550565b610d87611bf7565b604051600090339047908381818185875af1925050503d8060008114610dc9576040519150601f19603f3d011682016040523d82523d6000602084013e610dce565b606091505b5050905080610e165760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016109d4565b50565b610e348383836040518060200160405280600081525061170e565b505050565b610e41611bf7565b80610e4a611b8a565b600c015550565b6060610e5b611b8a565b60160180546108029061296c565b610e71611bf7565b80610e7a611b8a565b6014019080519060200190610af99291906122fe565b610e98611bf7565b80610ea1611b8a565b600b015550565b60006107e482611d37565b6060610ebd611b8a565b60140180546108029061296c565b610ed3611bf7565b80610edc611b8a565b60130180549115156101000261ff001990921691909117905550565b60006001600160a01b038216610f21576040516323d3ad8160e21b815260040160405180910390fd5b67ffffffffffffffff610f32611b8a565b6005016000846001600160a01b03166001600160a01b0316815260200190815260200160002054169050919050565b610f69611bf7565b610f736000611df5565b565b610f7d611b8a565b60130154610100900460ff16610fcd5760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064016109d4565b80610fd6611b8a565b60100154610fe49190612909565b610fec611b8a565b600b0154101561100e5760405162461bcd60e51b81526004016109d490612856565b611016611b8a565b6008015481611023611b8a565b33600090815260179190910160205260409020546110419190612909565b111561108f5760405162461bcd60e51b815260206004820152601c60248201527f5472616e736665722065786365656473206d617820616d6f756e742e0000000060448201526064016109d4565b6000611099611b8a565b600f01546110a79083612921565b90508034146110ed5760405162461bcd60e51b8152602060048201526012602482015271283934b1b2903737ba1031b7bb32b932b21760711b60448201526064016109d4565b6110f73383611e47565b81611100611b8a565b6010018054909101905581611113611b8a565b33600090815260179190910160205260409020805490910190555050565b611139611bf7565b80611142611b8a565b600e015550565b611151611bf7565b8061115a611b8a565b600f015550565b600080516020612a5f83398151915254610100900460ff1661119657600080516020612a5f8339815191525460ff161561119a565b303b155b61120c5760405162461bcd60e51b815260206004820152603760248201527f455243373231415f5f496e697469616c697a61626c653a20636f6e747261637460448201527f20697320616c726561647920696e697469616c697a656400000000000000000060648201526084016109d4565b600080516020612a5f83398151915254610100900460ff1615801561124857600080516020612a5f833981519152805461ffff19166101011790555b600154610100900460ff161580801561126557506001805460ff16105b8061127e5750303b15801561127e57506001805460ff16145b6112e15760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016109d4565b6001805460ff1916811790558015611303576001805461ff0019166101001790555b61135e6040518060400160405280600b81526020016a4d657461436f6f6b69657360a81b815250604051806040016040528060028152602001614d4360f01b81525066354a6ba7a18000600080610c6f6096600a6000611f7b565b611366611fcb565b80156113ab576001805461ff00191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b508015610e165750600080516020612a5f833981519152805461ff0019169055565b60606113d7611b8a565b60030180546108029061296c565b6113ed611bf7565b806113f6611b8a565b601301805460ff191691151591909117905550565b6000611415611b8a565b600e0154905090565b6000611428611b8a565b600c0154905090565b6001600160a01b03821633141561145b5760405163b06307db60e01b815260040160405180910390fd5b80611464611b8a565b336000818152600792909201602090815260408084206001600160a01b03881680865290835293819020805460ff19169515159590951790945592518415158152919290917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114e0611b8a565b6013015460ff166115335760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109d4565b8061153c611b8a565b6011015461154a9190612909565b611552611b8a565b600c015410156115745760405162461bcd60e51b81526004016109d490612856565b61157c611b8a565b6009015481611589611b8a565b33600090815260189190910160205260409020546115a79190612909565b11156115f55760405162461bcd60e51b815260206004820152601c60248201527f5472616e736665722065786365656473206d617820616d6f756e742e0000000060448201526064016109d4565b806115fe610ab2565b6116089190612909565b611610611a03565b101561166c5760405162461bcd60e51b815260206004820152602560248201527f5175616e74697479206f6620746f6b656e732065786365656473206d617820736044820152647570706c7960d81b60648201526084016109d4565b6000611676611b8a565b600e01546116849083612921565b90508034146116ca5760405162461bcd60e51b8152602060048201526012602482015271283934b1b2903737ba1031b7bb32b932b21760711b60448201526064016109d4565b6116d43383611e47565b816116dd611b8a565b60110180549091019055816116f0611b8a565b33600090815260189190910160205260409020805490910190555050565b611719848484610afd565b6001600160a01b0383163b156117525761173584848484611ffa565b611752576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611760611bf7565b600081835161176f9190612921565b611777610ab2565b6117819190612909565b905061178b611a03565b8111156117f05760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20416d6f756e74206f6620746f6b656e732065786365656460448201526c399036b0bc1039bab838363c9760991b60648201526084016109d4565b60005b83518110156117525761181f848281518110611811576118116129d8565b602002602001015184611e47565b80611829816129a7565b9150506117f3565b606061183c82611bae565b61185957604051630a14c4b560e41b815260040160405180910390fd5b6000611863610eb3565b9050600061186f611b8a565b601601805461187d9061296c565b80601f01602080910402602001604051908101604052809291908181526020018280546118a99061296c565b80156118f65780601f106118cb576101008083540402835291602001916118f6565b820191906000526020600020905b8154815290600101906020018083116118d957829003601f168201915b50505050509050611905611b8a565b6013015462010000900460ff166119b35761191e611b8a565b601501805461192c9061296c565b80601f01602080910402602001604051908101604052809291908181526020018280546119589061296c565b80156119a55780601f1061197a576101008083540402835291602001916119a5565b820191906000526020600020905b81548152906001019060200180831161198857829003601f168201915b505050505092505050919050565b81516119ce57604051806020016040528060008152506119fb565b816119d8856120f1565b826040516020016119eb9392919061270d565b6040516020818303038152906040525b949350505050565b6000611a0d611b8a565b600d0154611a19611b8a565b600c0154611a279190612909565b905090565b6000611a36611b8a565b600f0154905090565b6000611a49611b8a565b6001600160a01b039384166000908152600791909101602090815260408083209490951682529290925250205460ff1690565b611a84611bf7565b80611a8d611b8a565b6013018054911515620100000262ff00001990921691909117905550565b611ab3611bf7565b80611abc611b8a565b60120154611aca9190612909565b611ad2611b8a565b600d01541015611af45760405162461bcd60e51b81526004016109d490612856565b611afe3382611e47565b80611b07611b8a565b6012018054909101905550565b611b1c611bf7565b6001600160a01b038116611b815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d4565b610e1681611df5565b7f2569078dfb4b0305704d3008e7403993ae9601b85f7ae5e742de3de8f8011c4090565b600081600111158015611bc85750611bc4611b8a565b5482105b80156107e45750600160e01b611bdc611b8a565b60008481526004919091016020526040902054161592915050565b6034546001600160a01b03163314610f735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d4565b60606000611c5d611b8a565b5490506000611c6b84610ef8565b905060008167ffffffffffffffff811115611c8857611c886129ee565b604051908082528060200260200182016040528015611cbb57816020015b6060815260200190600190039081611ca65790505b509050600060015b84811015611d2c57866001600160a01b0316611cde82610ea8565b6001600160a01b03161415611d1a57611cf681611831565b838381518110611d0857611d086129d8565b60200260200101819052506001820191505b80611d24816129a7565b915050611cc3565b509095945050505050565b60008180600111611db457611d4a611b8a565b54811015611db4576000611d5c611b8a565b600083815260049190910160205260409020549050600160e01b8116611db2575b80611dab57611d8a611b8a565b60001990920160008181526004939093016020526040909220549050611d7d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000806000611dda611b8a565b60009485526006016020525050604090912080549092909150565b603480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611e51611b8a565b54905081611e725760405163b562e8dd60e01b815260040160405180910390fd5b680100000000000000018202611e86611b8a565b6001600160a01b038516600081815260059290920160205260409091208054929092019091554260a01b6001841460e11b1717611ec1611b8a565b600083815260049190910160205260408120919091556001600160a01b0384169083830190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611f4b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f13565b5081611f6957604051622e076360e81b815260040160405180910390fd5b80611f72611b8a565b5550610e349050565b600080516020612a5f83398151915254610100900460ff16611faf5760405162461bcd60e51b81526004016109d490612802565b611fc0898989898989898989612133565b505050505050505050565b600154610100900460ff16611ff25760405162461bcd60e51b81526004016109d49061288d565b610f736122ce565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061202f903390899088908890600401612750565b602060405180830381600087803b15801561204957600080fd5b505af1925050508015612079575060408051601f3d908101601f1916820190925261207691810190612662565b60015b6120d4573d8080156120a7576040519150601f19603f3d011682016040523d82523d6000602084013e6120ac565b606091505b5080516120cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080019081905280825b600183039250600a81066030018353600a90048061211c57612121565b6120ff565b50819003601f19909101908152919050565b600080516020612a5f83398151915254610100900460ff166121675760405162461bcd60e51b81526004016109d490612802565b88612170611b8a565b60020190805190602001906121869291906122fe565b5087612190611b8a565b60030190805190602001906121a69291906122fe565b50866121b0611b8a565b600e0155856121bd611b8a565b600f0155836121ca611b8a565b600c0155826121d7611b8a565b600d0155846121e4611b8a565b600b0155806121f1611b8a565b60080155816121fe611b8a565b60090155600161220c611b8a565b556001612217611b8a565b601001556001612225611b8a565b601101556001612233611b8a565b6012015560408051608081019091526044808252612a1b6020830139612257611b8a565b601401908051906020019061226d9291906122fe565b506040518060400160405280601f81526020017f68747470733a2f2f697066732e696f2f697066732f68696464656e5f75726c008152506122ac611b8a565b60150190805190602001906122c29291906122fe565b50505050505050505050565b600154610100900460ff166122f55760405162461bcd60e51b81526004016109d49061288d565b610f7333611df5565b82805461230a9061296c565b90600052602060002090601f01602090048101928261232c5760008555612372565b82601f1061234557805160ff1916838001178555612372565b82800160010185558215612372579182015b82811115612372578251825591602001919060010190612357565b5061237e929150612382565b5090565b5b8082111561237e5760008155600101612383565b600067ffffffffffffffff8311156123b1576123b16129ee565b6123c4601f8401601f19166020016128d8565b90508281528383830111156123d857600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610aad57600080fd5b80358015158114610aad57600080fd5b60006020828403121561242857600080fd5b611dab826123ef565b6000806040838503121561244457600080fd5b61244d836123ef565b915061245b602084016123ef565b90509250929050565b60008060006060848603121561247957600080fd5b612482846123ef565b9250612490602085016123ef565b9150604084013590509250925092565b600080600080608085870312156124b657600080fd5b6124bf856123ef565b93506124cd602086016123ef565b925060408501359150606085013567ffffffffffffffff8111156124f057600080fd5b8501601f8101871361250157600080fd5b61251087823560208401612397565b91505092959194509250565b6000806040838503121561252f57600080fd5b612538836123ef565b915061245b60208401612406565b6000806040838503121561255957600080fd5b612562836123ef565b946020939093013593505050565b6000806040838503121561258357600080fd5b823567ffffffffffffffff8082111561259b57600080fd5b818501915085601f8301126125af57600080fd5b81356020828211156125c3576125c36129ee565b8160051b92506125d48184016128d8565b8281528181019085830185870184018b10156125ef57600080fd5b600096505b8487101561261957612605816123ef565b8352600196909601959183019183016125f4565b509997909101359750505050505050565b60006020828403121561263c57600080fd5b611dab82612406565b60006020828403121561265757600080fd5b8135611dab81612a04565b60006020828403121561267457600080fd5b8151611dab81612a04565b60006020828403121561269157600080fd5b813567ffffffffffffffff8111156126a857600080fd5b8201601f810184136126b957600080fd5b6119fb84823560208401612397565b6000602082840312156126da57600080fd5b5035919050565b600081518084526126f9816020860160208601612940565b601f01601f19169290920160200192915050565b6000845161271f818460208901612940565b845190830190612733818360208901612940565b8451910190612746818360208801612940565b0195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612783908301846126e1565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156127e257603f198886030184526127d08583516126e1565b945092850192908501906001016127b4565b5092979650505050505050565b602081526000611dab60208301846126e1565b60208082526034908201527f455243373231415f5f496e697469616c697a61626c653a20636f6e7472616374604082015273206973206e6f7420696e697469616c697a696e6760601b606082015260800190565b6020808252601e908201527f5472616e73666572206578636565647320746f74616c20737570706c792e0000604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612901576129016129ee565b604052919050565b6000821982111561291c5761291c6129c2565b500190565b600081600019048311821515161561293b5761293b6129c2565b500290565b60005b8381101561295b578181015183820152602001612943565b838111156117525750506000910152565b600181811c9082168061298057607f821691505b602082108114156129a157634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129bb576129bb6129c2565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e1657600080fdfe68747470733a2f2f697066732e696f2f697066732f516d504b5778423566686a3458533350336a6f56394546434c38437962724b704c46615145386e375237767771592fee151c8401928dc223602bb187aff91b9a56c7cae5476ef1b3287b085a16c85fa264697066735822122050ac2aabc0fee350d893a29d0b48b271da2d3928bc8f38ad340164017d801dde64736f6c63430008070033

Deployed Bytecode Sourcemap

82800:10707:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46138:689;;;;;;;;;;-1:-1:-1;46138:689:0;;;;;:::i;:::-;;:::i;:::-;;;7927:14:1;;7920:22;7902:41;;7890:2;7875:18;46138:689:0;;;;;;;;47090:124;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54655:292::-;;;;;;;;;;-1:-1:-1;54655:292:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6418:32:1;;;6400:51;;6388:2;6373:18;54655:292:0;6254:203:1;54072:424:0;;;;;;;;;;-1:-1:-1;54072:424:0;;;;;:::i;:::-;;:::i;:::-;;90341:191;;;;;;;;;;-1:-1:-1;90341:191:0;;;;;:::i;:::-;;:::i;91623:173::-;;;;;;;;;;-1:-1:-1;91623:173:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;92467:196::-;;;;;;;;;;-1:-1:-1;92467:196:0;;;;;:::i;:::-;;:::i;42293:422::-;;;;;;;;;;;;;:::i;:::-;;;14973:25:1;;;14961:2;14946:18;42293:422:0;14827:177:1;87983:137:0;;;;;;;;;;-1:-1:-1;87983:137:0;;;;;:::i;:::-;;:::i;58743:3275::-;;;;;;;;;;-1:-1:-1;58743:3275:0;;;;;:::i;:::-;;:::i;89145:206::-;;;;;;;;;;-1:-1:-1;89145:206:0;;;;;:::i;:::-;;:::i;92205:127::-;;;;;;;;;;;;;:::i;90762:197::-;;;;;;;;;;-1:-1:-1;90762:197:0;;;;;:::i;:::-;;:::i;91110:206::-;;;;;;;;;;;;;:::i;62114:185::-;;;;;;;;;;-1:-1:-1;62114:185:0;;;;;:::i;:::-;;:::i;88327:210::-;;;;;;;;;;-1:-1:-1;88327:210:0;;;;;:::i;:::-;;:::i;92340:119::-;;;;;;;;;;;;;:::i;87646:125::-;;;;;;;;;;-1:-1:-1;87646:125:0;;;;;:::i;:::-;;:::i;88738:204::-;;;;;;;;;;-1:-1:-1;88738:204:0;;;;;:::i;:::-;;:::i;48899:202::-;;;;;;;;;;-1:-1:-1;48899:202:0;;;;;:::i;:::-;;:::i;92671:115::-;;;;;;;;;;;;;:::i;87343:121::-;;;;;;;;;;-1:-1:-1;87343:121:0;;;;;:::i;:::-;;:::i;43624:333::-;;;;;;;;;;-1:-1:-1;43624:333:0;;;;;:::i;:::-;;:::i;16804:103::-;;;;;;;;;;;;;:::i;83708:1027::-;;;;;;:::i;:::-;;:::i;89549:191::-;;;;;;;;;;-1:-1:-1;89549:191:0;;;;;:::i;:::-;;:::i;89932:185::-;;;;;;;;;;-1:-1:-1;89932:185:0;;;;;:::i;:::-;;:::i;83020:465::-;;;;;;;;;;;;;:::i;16156:87::-;;;;;;;;;;-1:-1:-1;16229:6:0;;-1:-1:-1;;;;;16229:6:0;16156:87;;47290:128;;;;;;;;;;;;;:::i;87014:127::-;;;;;;;;;;-1:-1:-1;87014:127:0;;;;;:::i;:::-;;:::i;91931:125::-;;;;;;;;;;;;;:::i;92064:133::-;;;;;;;;;;;;;:::i;55287:396::-;;;;;;;;;;-1:-1:-1;55287:396:0;;;;;:::i;:::-;;:::i;84962:1197::-;;;;;;:::i;:::-;;:::i;62897:399::-;;;;;;;;;;-1:-1:-1;62897:399:0;;;;;:::i;:::-;;:::i;93025:477::-;;;;;;;;;;-1:-1:-1;93025:477:0;;;;;:::i;:::-;;:::i;47524:656::-;;;;;;;;;;-1:-1:-1;47524:656:0;;;;;:::i;:::-;;:::i;92836:181::-;;;;;;;;;;;;;:::i;91804:119::-;;;;;;;;;;;;;:::i;55840:238::-;;;;;;;;;;-1:-1:-1;55840:238:0;;;;;:::i;:::-;;:::i;91501:114::-;;;;;;;;;;-1:-1:-1;91501:114:0;;;;;:::i;:::-;;:::i;86389:420::-;;;;;;;;;;-1:-1:-1;86389:420:0;;;;;:::i;:::-;;:::i;17062:201::-;;;;;;;;;;-1:-1:-1;17062:201:0;;;;;:::i;:::-;;:::i;46138:689::-;46268:4;-1:-1:-1;;;;;;;;;46597:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;46674:25:0;;;46597:102;:179;;;-1:-1:-1;;;;;;;;;;46751:25:0;;;46597:179;46577:199;46138:689;-1:-1:-1;;46138:689:0:o;47090:124::-;47144:13;47177:23;:21;:23::i;:::-;:29;;47170:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47090:124;:::o;54655:292::-;54776:7;54806:16;54814:7;54806;:16::i;:::-;54801:64;;54831:34;;-1:-1:-1;;;54831:34:0;;;;;;;;;;;54801:64;54885:23;:21;:23::i;:::-;:48;;;;:39;;:48;;-1:-1:-1;54885:48:0;;;:54;-1:-1:-1;;;;;54885:54:0;;54655:292::o;54072:424::-;54153:13;54169:16;54177:7;54169;:16::i;:::-;54153:32;-1:-1:-1;80256:10:0;-1:-1:-1;;;;;54202:28:0;;;54198:175;;54250:44;54267:5;80256:10;55840:238;:::i;54250:44::-;54245:128;;54322:35;;-1:-1:-1;;;54322:35:0;;;;;;;;;;;54245:128;54442:2;54385:23;:21;:23::i;:::-;:48;;;;:39;;;;;:48;;;;;;:59;;-1:-1:-1;;;;;;54385:59:0;-1:-1:-1;;;;;54385:59:0;;;;;;54460:28;54385:48;;54460:28;;;;;;;;;;54385:48;54460:28;54142:354;54072:424;;:::o;90341:191::-;16042:13;:11;:13::i;:::-;90427:1:::1;90419:5;:9;90411:50;;;::::0;-1:-1:-1;;;90411:50:0;;10532:2:1;90411:50:0::1;::::0;::::1;10514:21:1::0;10571:2;10551:18;;;10544:30;10610;10590:18;;;10583:58;10658:18;;90411:50:0::1;;;;;;;;;90519:5;90472:23;:21;:23::i;:::-;:44;;:52:::0;-1:-1:-1;90341:191:0:o;91623:173::-;91719:15;91759:29;91779:8;91759:19;:29::i;92467:196::-;92570:13;16042;:11;:13::i;:::-;92645:10:::1;92608:23;:21;:23::i;:::-;:34;;:47;;;;;;;;;;;;:::i;:::-;92601:54;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16066:1;92467:196:::0;;;:::o;42293:422::-;42354:7;41868:1;42625:23;:21;:23::i;:::-;:36;;;42568:23;:21;:23::i;:::-;:37;:93;:128;;42293:422;-1:-1:-1;42293:422:0:o;87983:137::-;16042:13;:11;:13::i;:::-;88104:8:::1;88063:23;:21;:23::i;:::-;:38;;:49;;;;;;;;;;;;:::i;:::-;;87983:137:::0;:::o;58743:3275::-;58877:27;58907;58926:7;58907:18;:27::i;:::-;58877:57;;58992:4;-1:-1:-1;;;;;58951:45:0;58967:19;-1:-1:-1;;;;;58951:45:0;;58947:99;;59018:28;;-1:-1:-1;;;59018:28:0;;;;;;;;;;;58947:99;59074:27;59116:23;59153:35;59180:7;59153:26;:35::i;:::-;59059:129;;;;59302:134;59345:15;59379:4;59402:19;80256:10;;80169:105;59402:19;-1:-1:-1;;;;;57264:32:0;;;57108:28;;57393:20;;57415:30;;57390:56;;56805:659;59302:134;59283:287;;59466:43;59483:4;80256:10;55840:238;:::i;59466:43::-;59461:109;;59535:35;;-1:-1:-1;;;59535:35:0;;;;;;;;;;;59461:109;-1:-1:-1;;;;;59587:16:0;;59583:52;;59612:23;;-1:-1:-1;;;59612:23:0;;;;;;;;;;;59583:52;59784:15;59781:160;;;59924:1;59903:19;59896:30;59781:160;60321:23;:21;:23::i;:::-;-1:-1:-1;;;;;60321:48:0;;;;;;:42;;;;;:48;;;;;60319:50;;-1:-1:-1;;60319:50:0;;;60414:23;:21;:23::i;:::-;-1:-1:-1;;;;;60414:46:0;;;;;;:42;;;;;:46;;;;;;60412:48;;;;;;52884:11;52859:23;52855:41;52807:112;-1:-1:-1;;;52807:112:0;60731:23;:21;:23::i;:::-;:82;;;;:41;;;;;:82;;;;;:252;-1:-1:-1;;;61103:47:0;;61099:803;;61208:1;61198:11;;61353:23;:21;:23::i;:::-;:54;;;;:41;;;;;:54;;;;;;61327:560;;61533:23;:21;:23::i;:::-;:37;61518:52;;61514:354;;61825:19;61704:23;:21;:23::i;:::-;:118;;;;:41;;;;;:118;;;;;:140;61514:354;61157:745;61099:803;61949:7;61945:2;-1:-1:-1;;;;;61930:27:0;61939:4;-1:-1:-1;;;;;61930:27:0;;;;;;;;;;;58866:3152;;;58743:3275;;;:::o;89145:206::-;16042:13;:11;:13::i;:::-;89335:8:::1;89290:23;:21;:23::i;:::-;:42;;:53:::0;-1:-1:-1;89145:206:0:o;92205:127::-;92256:7;92283:23;:21;:23::i;:::-;:41;;;92276:48;;92205:127;:::o;90762:197::-;16042:13;:11;:13::i;:::-;90851:1:::1;90843:5;:9;90835:50;;;::::0;-1:-1:-1;;;90835:50:0;;10532:2:1;90835:50:0::1;::::0;::::1;10514:21:1::0;10571:2;10551:18;;;10544:30;10610;10590:18;;;10583:58;10658:18;;90835:50:0::1;10330:352:1::0;90835:50:0::1;90946:5;90896:23;:21;:23::i;:::-;:47;;:55:::0;-1:-1:-1;90762:197:0:o;91110:206::-;16042:13;:11;:13::i;:::-;91178:82:::1;::::0;91163:9:::1;::::0;91186:10:::1;::::0;91210:21:::1;::::0;91163:9;91178:82;91163:9;91178:82;91210:21;91186:10;91178:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91162:98;;;91279:4;91271:37;;;::::0;-1:-1:-1;;;91271:37:0;;10889:2:1;91271:37:0::1;::::0;::::1;10871:21:1::0;10928:2;10908:18;;;10901:30;-1:-1:-1;;;10947:18:1;;;10940:50;11007:18;;91271:37:0::1;10687:344:1::0;91271:37:0::1;91151:165;91110:206::o:0;62114:185::-;62252:39;62269:4;62275:2;62279:7;62252:39;;;;;;;;;;;;:16;:39::i;:::-;62114:185;;;:::o;88327:210::-;16042:13;:11;:13::i;:::-;88521:8:::1;88474:23;:21;:23::i;:::-;:44;;:55:::0;-1:-1:-1;88327:210:0:o;92340:119::-;92384:13;92417:23;:21;:23::i;:::-;:34;;92410:41;;;;;:::i;87646:125::-;16042:13;:11;:13::i;:::-;87755:8:::1;87720:23;:21;:23::i;:::-;:32;;:43;;;;;;;;;;;;:::i;88738:204::-:0;16042:13;:11;:13::i;:::-;88926:8:::1;88882:23;:21;:23::i;:::-;:41;;:52:::0;-1:-1:-1;88738:204:0:o;48899:202::-;49016:7;49064:27;49083:7;49064:18;:27::i;92671:115::-;92713:13;92746:23;:21;:23::i;:::-;:32;;92739:39;;;;;:::i;87343:121::-;16042:13;:11;:13::i;:::-;87450:6:::1;87409:23;:21;:23::i;:::-;:38;;:47:::0;;;::::1;;;;-1:-1:-1::0;;87409:47:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;87343:121:0:o;43624:333::-;43741:7;-1:-1:-1;;;;;43770:19:0;;43766:60;;43798:28;;-1:-1:-1;;;43798:28:0;;;;;;;;;;;43766:60;36713:13;43857:23;:21;:23::i;:::-;:42;;:49;43900:5;-1:-1:-1;;;;;43857:49:0;-1:-1:-1;;;;;43857:49:0;;;;;;;;;;;;;:92;43837:112;;43624:333;;;:::o;16804:103::-;16042:13;:11;:13::i;:::-;16869:30:::1;16896:1;16869:18;:30::i;:::-;16804:103::o:0;83708:1027::-;83797:23;:21;:23::i;:::-;:38;;;;;;;;83775:109;;;;-1:-1:-1;;;83775:109:0;;13553:2:1;83775:109:0;;;13535:21:1;13592:2;13572:18;;;13565:30;-1:-1:-1;;;13611:18:1;;;13604:51;13672:18;;83775:109:0;13351:345:1;83775:109:0;84027:8;83980:23;:21;:23::i;:::-;:44;;;:55;;;;:::i;:::-;83917:23;:21;:23::i;:::-;:41;;;:119;;83895:199;;;;-1:-1:-1;;;83895:199:0;;;;;;;:::i;:::-;84232:23;:21;:23::i;:::-;:44;;;84203:8;84127:23;:21;:23::i;:::-;84172:10;84127:56;;;;:44;;;;;:56;;;;;;:84;;;;:::i;:::-;:149;;84105:227;;;;-1:-1:-1;;;84105:227:0;;14672:2:1;84105:227:0;;;14654:21:1;14711:2;14691:18;;;14684:30;14750;14730:18;;;14723:58;14798:18;;84105:227:0;14470:352:1;84105:227:0;84343:14;84371:23;:21;:23::i;:::-;:37;;;84360:48;;:8;:48;:::i;:::-;84343:65;;84440:6;84427:9;:19;84419:50;;;;-1:-1:-1;;;84419:50:0;;11652:2:1;84419:50:0;;;11634:21:1;11691:2;11671:18;;;11664:30;-1:-1:-1;;;11710:18:1;;;11703:48;11768:18;;84419:50:0;11450:342:1;84419:50:0;84480:27;84486:10;84498:8;84480:5;:27::i;:::-;84593:8;84545:23;:21;:23::i;:::-;:44;;:56;;;;;;;84708:8;84616:23;:21;:23::i;:::-;84679:10;84616:88;;;;:44;;;;;:88;;;;;:100;;;;;;;-1:-1:-1;;83708:1027:0:o;89549:191::-;16042:13;:11;:13::i;:::-;89727:5:::1;89684:23;:21;:23::i;:::-;:40;;:48:::0;-1:-1:-1;89549:191:0:o;89932:185::-;16042:13;:11;:13::i;:::-;90104:5:::1;90064:23;:21;:23::i;:::-;:37;;:45:::0;-1:-1:-1;89932:185:0:o;83020:465::-;-1:-1:-1;;;;;;;;;;;33592:52:0;;;;;;:160;;-1:-1:-1;;;;;;;;;;;33701:51:0;;;33700:52;33592:160;;;35203:4;35270:17;35315:7;33664:16;33570:265;;;;-1:-1:-1;;;33570:265:0;;12768:2:1;33570:265:0;;;12750:21:1;12807:2;12787:18;;;12780:30;12846:34;12826:18;;;12819:62;12917:25;12897:18;;;12890:53;12960:19;;33570:265:0;12566:419:1;33570:265:0;-1:-1:-1;;;;;;;;;;;33871:52:0;;;;;;33870:53;33934:179;;;;-1:-1:-1;;;;;;;;;;;33969:59:0;;-1:-1:-1;;34043:58:0;;;;;33934:179;10712:13:::1;::::0;::::1;::::0;::::1;;;10711:14;::::0;10759:34;::::1;;;-1:-1:-1::0;10792:1:0::1;10777:12:::0;;::::1;;:16;10759:34;10758:108;;;-1:-1:-1::0;10838:4:0::1;1447:19:::0;:23;;;10799:66:::1;;-1:-1:-1::0;10848:12:0::1;::::0;;::::1;;:17;10799:66;10736:204;;;::::0;-1:-1:-1;;;10736:204:0;;12353:2:1;10736:204:0::1;::::0;::::1;12335:21:1::0;12392:2;12372:18;;;12365:30;12431:34;12411:18;;;12404:62;-1:-1:-1;;;12482:18:1;;;12475:44;12536:19;;10736:204:0::1;12151:410:1::0;10736:204:0::1;10966:1;10951:16:::0;;-1:-1:-1;;10951:16:0::1;::::0;::::1;::::0;;10978:67;::::1;;;11029:4;11013:20:::0;;-1:-1:-1;;11013:20:0::1;;;::::0;;10978:67:::1;83091:359:::2;;;;;;;;;;;;;;-1:-1:-1::0;;;83091:359:0::2;;::::0;::::2;;;;;;;;;;;;;-1:-1:-1::0;;;83091:359:0::2;;::::0;83202:11:::2;83243:1;83278::::0;83316:4:::2;83355:3;83398:2;83437:1;83091:14;:359::i;:::-;83461:16;:14;:16::i;:::-;11071:14:::1;11067:102;;;11102:13;:21:::0;;-1:-1:-1;;11102:21:0::1;::::0;;11143:14:::1;::::0;8106:36:1;;;11143:14:0::1;::::0;8094:2:1;8079:18;11143:14:0::1;;;;;;;11067:102;10678:498;34143:14:::0;34139:107;;;-1:-1:-1;;;;;;;;;;;;34174:60:0;;-1:-1:-1;;34174:60:0;;;83020:465::o;47290:128::-;47346:13;47379:23;:21;:23::i;:::-;:31;;47372:38;;;;;:::i;87014:127::-;16042:13;:11;:13::i;:::-;87127:6:::1;87083:23;:21;:23::i;:::-;:41;;:50:::0;;-1:-1:-1;;87083:50:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;87014:127:0:o;91931:125::-;91981:7;92008:23;:21;:23::i;:::-;:40;;;92001:47;;91931:125;:::o;92064:133::-;92118:7;92145:23;:21;:23::i;:::-;:44;;;92138:51;;92064:133;:::o;55287:396::-;-1:-1:-1;;;;;55418:31:0;;80256:10;55418:31;55414:61;;;55458:17;;-1:-1:-1;;;55458:17:0;;;;;;;;;;;55414:61;55596:8;55488:23;:21;:23::i;:::-;80256:10;55488:63;;;;:42;;;;;:63;;;;;;;;-1:-1:-1;;;;;55488:105:0;;;;;;;;;;;;:116;;-1:-1:-1;;55488:116:0;;;;;;;;;;;55620:55;;7927:14:1;;7920:22;7902:41;;55488:105:0;;80256:10;;55620:55;;7875:18:1;55620:55:0;;;;;;;55287:396;;:::o;84962:1197::-;85054:23;:21;:23::i;:::-;:41;;;;;85032:116;;;;-1:-1:-1;;;85032:116:0;;11999:2:1;85032:116:0;;;11981:21:1;12038:2;12018:18;;;12011:30;12077:27;12057:18;;;12050:55;12122:18;;85032:116:0;11797:349:1;85032:116:0;85297:8;85247:23;:21;:23::i;:::-;:47;;;:58;;;;:::i;:::-;85181:23;:21;:23::i;:::-;:44;;;:125;;85159:205;;;;-1:-1:-1;;;85159:205:0;;;;;;;:::i;:::-;85505:23;:21;:23::i;:::-;:47;;;85476:8;85397:23;:21;:23::i;:::-;85445:10;85397:59;;;;:47;;;;;:59;;;;;;:87;;;;:::i;:::-;:155;;85375:233;;;;-1:-1:-1;;;85375:233:0;;14672:2:1;85375:233:0;;;14654:21:1;14711:2;14691:18;;;14684:30;14750;14730:18;;;14723:58;14798:18;;85375:233:0;14470:352:1;85375:233:0;85673:8;85657:13;:11;:13::i;:::-;:24;;;;:::i;:::-;85641:11;:9;:11::i;:::-;:41;;85619:128;;;;-1:-1:-1;;;85619:128:0;;10126:2:1;85619:128:0;;;10108:21:1;10165:2;10145:18;;;10138:30;10204:34;10184:18;;;10177:62;-1:-1:-1;;;10255:18:1;;;10248:35;10300:19;;85619:128:0;9924:401:1;85619:128:0;85758:14;85786:23;:21;:23::i;:::-;:40;;;85775:51;;:8;:51;:::i;:::-;85758:68;;85858:6;85845:9;:19;85837:50;;;;-1:-1:-1;;;85837:50:0;;11652:2:1;85837:50:0;;;11634:21:1;11691:2;11671:18;;;11664:30;-1:-1:-1;;;11710:18:1;;;11703:48;11768:18;;85837:50:0;11450:342:1;85837:50:0;85898:27;85904:10;85916:8;85898:5;:27::i;:::-;86014:8;85963:23;:21;:23::i;:::-;:47;;:59;;;;;;;86132:8;86037:23;:21;:23::i;:::-;86103:10;86037:91;;;;:47;;;;;:91;;;;;:103;;;;;;;-1:-1:-1;;84962:1197:0:o;62897:399::-;63064:31;63077:4;63083:2;63087:7;63064:12;:31::i;:::-;-1:-1:-1;;;;;63110:14:0;;;:19;63106:183;;63149:56;63180:4;63186:2;63190:7;63199:5;63149:30;:56::i;:::-;63144:145;;63233:40;;-1:-1:-1;;;63233:40:0;;;;;;;;;;;63144:145;62897:399;;;;:::o;93025:477::-;16042:13;:11;:13::i;:::-;93150:20:::1;93224:16;93204:10;:17;:36;;;;:::i;:::-;93174:13;:11;:13::i;:::-;:67;;;;:::i;:::-;93150:92;;93291:11;:9;:11::i;:::-;93275:12;:27;;93253:122;;;::::0;-1:-1:-1;;;93253:122:0;;11238:2:1;93253:122:0::1;::::0;::::1;11220:21:1::0;11277:2;11257:18;;;11250:30;11316:34;11296:18;;;11289:62;-1:-1:-1;;;11367:18:1;;;11360:43;11420:19;;93253:122:0::1;11036:409:1::0;93253:122:0::1;93391:9;93386:109;93406:10;:17;93402:1;:21;93386:109;;;93445:38;93451:10;93462:1;93451:13;;;;;;;;:::i;:::-;;;;;;;93466:16;93445:5;:38::i;:::-;93425:3:::0;::::1;::::0;::::1;:::i;:::-;;;;93386:109;;47524:656:::0;47642:13;47678:16;47686:7;47678;:16::i;:::-;47673:59;;47703:29;;-1:-1:-1;;;47703:29:0;;;;;;;;;;;47673:59;47743:21;47767:10;:8;:10::i;:::-;47743:34;;47788:23;47814;:21;:23::i;:::-;:34;;47788:60;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47864:23;:21;:23::i;:::-;:32;;;;;;;;47859:111;;47920:23;:21;:23::i;:::-;:38;;47913:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47524:656;;;:::o;47859:111::-;48000:21;;:172;;;;;;;;;;;;;;;;;48092:7;48101:18;48111:7;48101:9;:18::i;:::-;48121:9;48075:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48000:172;47980:192;47524:656;-1:-1:-1;;;;47524:656:0:o;92836:181::-;92878:7;92966:23;:21;:23::i;:::-;:42;;;92906:23;:21;:23::i;:::-;:44;;;:102;;;;:::i;:::-;92898:111;;92836:181;:::o;91804:119::-;91851:7;91878:23;:21;:23::i;:::-;:37;;;91871:44;;91804:119;:::o;55840:238::-;55982:4;56011:23;:21;:23::i;:::-;-1:-1:-1;;;;;56011:49:0;;;;;;;:42;;;;;:49;;;;;;;;:59;;;;;;;;;;-1:-1:-1;56011:59:0;;;;;55840:238::o;91501:114::-;16042:13;:11;:13::i;:::-;91601:6:::1;91566:23;:21;:23::i;:::-;:32;;:41:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;91566:41:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;91501:114:0:o;86389:420::-;16042:13;:11;:13::i;:::-;86590:8:::1;86542:23;:21;:23::i;:::-;:45;;;:56;;;;:::i;:::-;86478:23;:21;:23::i;:::-;:42;;;:121;;86456:201;;;;-1:-1:-1::0;;;86456:201:0::1;;;;;;;:::i;:::-;86668:27;86674:10;86686:8;86668:5;:27::i;:::-;86782:8;86733:23;:21;:23::i;:::-;:45;;:57:::0;;;;::::1;::::0;;-1:-1:-1;86389:420:0:o;17062:201::-;16042:13;:11;:13::i;:::-;-1:-1:-1;;;;;17151:22:0;::::1;17143:73;;;::::0;-1:-1:-1;;;17143:73:0;;9360:2:1;17143:73:0::1;::::0;::::1;9342:21:1::0;9399:2;9379:18;;;9372:30;9438:34;9418:18;;;9411:62;-1:-1:-1;;;9489:18:1;;;9482:36;9535:19;;17143:73:0::1;9158:402:1::0;17143:73:0::1;17227:28;17246:8;17227:18;:28::i;30958:164::-:0;30903:46;;30958:164::o;56336:360::-;56401:4;56457:7;41868:1;56438:26;;:90;;;;;56491:23;:21;:23::i;:::-;:37;56481:47;;56438:90;:231;;;;;-1:-1:-1;;;56566:23:0;:21;:23::i;:::-;:50;;;;:41;;;;;:50;;;;;;:85;:103;56418:251;56336:360;-1:-1:-1;;56336:360:0:o;16321:132::-;16229:6;;-1:-1:-1;;;;;16229:6:0;80256:10;16385:23;16377:68;;;;-1:-1:-1;;;16377:68:0;;13192:2:1;16377:68:0;;;13174:21:1;;;13211:18;;;13204:30;13270:34;13250:18;;;13243:62;13322:18;;16377:68:0;12990:356:1;82006:652:0;82103:15;82136:20;82159:23;:21;:23::i;:::-;:37;;-1:-1:-1;82159:37:0;82232:19;82242:8;82232:9;:19::i;:::-;82207:44;;82264:27;82307:14;82294:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82264:58:0;-1:-1:-1;82333:15:0;41868:1;82359:263;82397:12;82393:1;:16;82359:263;;;82449:8;-1:-1:-1;;;;;82435:22:0;:10;82443:1;82435:7;:10::i;:::-;-1:-1:-1;;;;;82435:22:0;;82431:180;;;82501:11;82510:1;82501:8;:11::i;:::-;82478;82490:7;82478:20;;;;;;;;:::i;:::-;;;;;;:34;;;;82575:1;82564:12;;;;82431:180;82411:3;;;;:::i;:::-;;;;82359:263;;;-1:-1:-1;82639:11:0;;82006:652;-1:-1:-1;;;;;82006:652:0:o;50335:1491::-;50429:7;50469;;41868:1;50518:23;50514:1245;;50571:23;:21;:23::i;:::-;:37;50564:44;;50560:1199;;;50633:14;50650:23;:21;:23::i;:::-;:95;;;;:41;;;;;:95;;;;;;;-1:-1:-1;;;;50811:24:0;;50807:933;;51476:201;51483:11;51476:201;;51536:23;:21;:23::i;:::-;-1:-1:-1;;51612:6:0;;;51536:113;;;;:41;;;;;:113;;;;;;;;-1:-1:-1;51476:201:0;;;51710:6;50335:1491;-1:-1:-1;;;50335:1491:0:o;50807:933::-;50610:1149;50560:1199;51787:31;;-1:-1:-1;;;51787:31:0;;;;;;;;;;;57577:546;57679:27;57708:23;57749:53;57805:37;:35;:37::i;:::-;:76;;;;:67;;:76;;-1:-1:-1;;57805:76:0;;;;58079:26;;57805:76;;58079:26;;-1:-1:-1;57577:546:0:o;17423:191::-;17516:6;;;-1:-1:-1;;;;;17533:17:0;;;-1:-1:-1;;;;;;17533:17:0;;;;;;;17566:40;;17516:6;;;17533:17;17516:6;;17566:40;;17497:16;;17566:40;17486:128;17423:191;:::o;66739:2637::-;66812:20;66835:23;:21;:23::i;:::-;:37;;-1:-1:-1;66887:13:0;66883:44;;66909:18;;-1:-1:-1;;;66909:18:0;;;;;;;;;;;66883:44;67511:32;67482:62;;67415:23;:21;:23::i;:::-;-1:-1:-1;;;;;67415:46:0;;;;;;:42;;;;;:46;;;;;;:129;;;;;;;;;52884:11;52859:23;52855:41;-1:-1:-1;53361:15:0;;53335:24;53331:46;52852:52;52807:112;67787:23;:21;:23::i;:::-;:87;;;;:41;;;;;:87;;;;;:250;;;;-1:-1:-1;;;;;68361:25:0;;;68099:23;;;;67847:12;;68361:25;;68598;67787:87;;68451:335;68866:1;68852:12;68848:20;68806:346;68907:3;68898:7;68895:16;68806:346;;69125:7;69115:8;69112:1;69085:25;69082:1;69079;69074:59;68960:1;68947:15;68806:346;;;-1:-1:-1;69185:13:0;69181:45;;69207:19;;-1:-1:-1;;;69207:19:0;;;;;;;;;;;69181:45;69283:3;69243:23;:21;:23::i;:::-;:43;-1:-1:-1;69308:60:0;;-1:-1:-1;62897:399:0;39129:714;-1:-1:-1;;;;;;;;;;;34516:52:0;;;;;;34494:154;;;;-1:-1:-1;;;34494:154:0;;;;;;;:::i;:::-;39526:309:::1;39565:5;39585:7;39607:16;39638:13;39666:17;39698:20;39733:18;39766:23;39804:20;39526:24;:309::i;:::-;39129:714:::0;;;;;;;;;:::o;15699:97::-;12530:13;;;;;;;12522:69;;;;-1:-1:-1;;;12522:69:0;;;;;;;:::i;:::-;15762:26:::1;:24;:26::i;65380:897::-:0;65577:182;;-1:-1:-1;;;65577:182:0;;65543:4;;-1:-1:-1;;;;;65577:56:0;;;;;:182;;80256:10;;65690:4;;65713:7;;65739:5;;65577:182;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65577:182:0;;;;;;;;-1:-1:-1;;65577:182:0;;;;;;;;;;;;:::i;:::-;;;65560:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66028:13:0;;66024:235;;66074:40;;-1:-1:-1;;;66074:40:0;;;;;;;;;;;66024:235;66217:6;66211:13;66202:6;66198:2;66194:15;66187:38;65560:710;-1:-1:-1;;;;;;65832:136:0;-1:-1:-1;;;65832:136:0;;-1:-1:-1;65380:897:0;;;;;;:::o;80376:1622::-;80900:4;80894:11;;80907:4;80890:22;80986:17;;;;80890:22;81344:5;81326:428;81392:1;81387:3;81383:11;81376:18;;81563:2;81557:4;81553:13;81549:2;81545:22;81540:3;81532:36;81657:2;81647:13;;;81714:25;;81732:5;;81714:25;81326:428;;;-1:-1:-1;81784:13:0;;;-1:-1:-1;;81899:14:0;;;81961:19;;;81899:14;80376:1622;-1:-1:-1;80376:1622:0:o;39851:1598::-;-1:-1:-1;;;;;;;;;;;34516:52:0;;;;;;34494:154;;;;-1:-1:-1;;;34494:154:0;;;;;;;:::i;:::-;40290:5:::1;40258:23;:21;:23::i;:::-;:29;;:37;;;;;;;;;;;;:::i;:::-;;40340:7;40306:23;:21;:23::i;:::-;:31;;:41;;;;;;;;;;;;:::i;:::-;;40401:16;40358:23;:21;:23::i;:::-;:40;;:59:::0;40468:13;40428:23:::1;:21;:23::i;:::-;:37;;:53:::0;40539:20;40492:23:::1;:21;:23::i;:::-;:44;;:67:::0;40615:18;40570:23:::1;:21;:23::i;:::-;:42;;:63:::0;40688:17;40644:23:::1;:21;:23::i;:::-;:41;;:61:::0;40763:20;40716:23:::1;:21;:23::i;:::-;:44;;:67:::0;40872:23;40794:37:::1;:35;:37::i;:::-;:75;;:101:::0;41868:1;40906:23:::1;:21;:23::i;:::-;:55:::0;41868:1;40972:23:::1;:21;:23::i;:::-;:44;;:62:::0;41868:1;41045:23:::1;:21;:23::i;:::-;:47;;:65:::0;41868:1;41121:23:::1;:21;:23::i;:::-;:45;;:63:::0;41195:133:::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;::::1;;:37;:35;:37::i;:::-;:60;;:133;;;;;;;;;;;;:::i;:::-;;41339:102;;;;;;;;;;;;;;;;::::0;:37:::1;:35;:37::i;:::-;:66;;:102;;;;;;;;;;;;:::i;:::-;;39851:1598:::0;;;;;;;;;:::o;15804:113::-;12530:13;;;;;;;12522:69;;;;-1:-1:-1;;;12522:69:0;;;;;;;:::i;:::-;15877:32:::1;80256:10:::0;15877:18:::1;:32::i;-1:-1:-1:-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;603:160;668:20;;724:13;;717:21;707:32;;697:60;;753:1;750;743:12;768:186;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;919:29;938:9;919:29;:::i;959:260::-;1027:6;1035;1088:2;1076:9;1067:7;1063:23;1059:32;1056:52;;;1104:1;1101;1094:12;1056:52;1127:29;1146:9;1127:29;:::i;:::-;1117:39;;1175:38;1209:2;1198:9;1194:18;1175:38;:::i;:::-;1165:48;;959:260;;;;;:::o;1224:328::-;1301:6;1309;1317;1370:2;1358:9;1349:7;1345:23;1341:32;1338:52;;;1386:1;1383;1376:12;1338:52;1409:29;1428:9;1409:29;:::i;:::-;1399:39;;1457:38;1491:2;1480:9;1476:18;1457:38;:::i;:::-;1447:48;;1542:2;1531:9;1527:18;1514:32;1504:42;;1224:328;;;;;:::o;1557:666::-;1652:6;1660;1668;1676;1729:3;1717:9;1708:7;1704:23;1700:33;1697:53;;;1746:1;1743;1736:12;1697:53;1769:29;1788:9;1769:29;:::i;:::-;1759:39;;1817:38;1851:2;1840:9;1836:18;1817:38;:::i;:::-;1807:48;;1902:2;1891:9;1887:18;1874:32;1864:42;;1957:2;1946:9;1942:18;1929:32;1984:18;1976:6;1973:30;1970:50;;;2016:1;2013;2006:12;1970:50;2039:22;;2092:4;2084:13;;2080:27;-1:-1:-1;2070:55:1;;2121:1;2118;2111:12;2070:55;2144:73;2209:7;2204:2;2191:16;2186:2;2182;2178:11;2144:73;:::i;:::-;2134:83;;;1557:666;;;;;;;:::o;2228:254::-;2293:6;2301;2354:2;2342:9;2333:7;2329:23;2325:32;2322:52;;;2370:1;2367;2360:12;2322:52;2393:29;2412:9;2393:29;:::i;:::-;2383:39;;2441:35;2472:2;2461:9;2457:18;2441:35;:::i;2487:254::-;2555:6;2563;2616:2;2604:9;2595:7;2591:23;2587:32;2584:52;;;2632:1;2629;2622:12;2584:52;2655:29;2674:9;2655:29;:::i;:::-;2645:39;2731:2;2716:18;;;;2703:32;;-1:-1:-1;;;2487:254:1:o;2746:1033::-;2839:6;2847;2900:2;2888:9;2879:7;2875:23;2871:32;2868:52;;;2916:1;2913;2906:12;2868:52;2956:9;2943:23;2985:18;3026:2;3018:6;3015:14;3012:34;;;3042:1;3039;3032:12;3012:34;3080:6;3069:9;3065:22;3055:32;;3125:7;3118:4;3114:2;3110:13;3106:27;3096:55;;3147:1;3144;3137:12;3096:55;3183:2;3170:16;3205:4;3228:2;3224;3221:10;3218:36;;;3234:18;;:::i;:::-;3280:2;3277:1;3273:10;3263:20;;3303:28;3327:2;3323;3319:11;3303:28;:::i;:::-;3365:15;;;3396:12;;;;3428:11;;;3458;;;3454:20;;3451:33;-1:-1:-1;3448:53:1;;;3497:1;3494;3487:12;3448:53;3519:1;3510:10;;3529:169;3543:2;3540:1;3537:9;3529:169;;;3600:23;3619:3;3600:23;:::i;:::-;3588:36;;3561:1;3554:9;;;;;3644:12;;;;3676;;3529:169;;;-1:-1:-1;3717:5:1;3754:18;;;;3741:32;;-1:-1:-1;;;;;;;2746:1033:1:o;3784:180::-;3840:6;3893:2;3881:9;3872:7;3868:23;3864:32;3861:52;;;3909:1;3906;3899:12;3861:52;3932:26;3948:9;3932:26;:::i;3969:245::-;4027:6;4080:2;4068:9;4059:7;4055:23;4051:32;4048:52;;;4096:1;4093;4086:12;4048:52;4135:9;4122:23;4154:30;4178:5;4154:30;:::i;4219:249::-;4288:6;4341:2;4329:9;4320:7;4316:23;4312:32;4309:52;;;4357:1;4354;4347:12;4309:52;4389:9;4383:16;4408:30;4432:5;4408:30;:::i;4473:450::-;4542:6;4595:2;4583:9;4574:7;4570:23;4566:32;4563:52;;;4611:1;4608;4601:12;4563:52;4651:9;4638:23;4684:18;4676:6;4673:30;4670:50;;;4716:1;4713;4706:12;4670:50;4739:22;;4792:4;4784:13;;4780:27;-1:-1:-1;4770:55:1;;4821:1;4818;4811:12;4770:55;4844:73;4909:7;4904:2;4891:16;4886:2;4882;4878:11;4844:73;:::i;4928:180::-;4987:6;5040:2;5028:9;5019:7;5015:23;5011:32;5008:52;;;5056:1;5053;5046:12;5008:52;-1:-1:-1;5079:23:1;;4928:180;-1:-1:-1;4928:180:1:o;5113:257::-;5154:3;5192:5;5186:12;5219:6;5214:3;5207:19;5235:63;5291:6;5284:4;5279:3;5275:14;5268:4;5261:5;5257:16;5235:63;:::i;:::-;5352:2;5331:15;-1:-1:-1;;5327:29:1;5318:39;;;;5359:4;5314:50;;5113:257;-1:-1:-1;;5113:257:1:o;5375:664::-;5602:3;5640:6;5634:13;5656:53;5702:6;5697:3;5690:4;5682:6;5678:17;5656:53;:::i;:::-;5772:13;;5731:16;;;;5794:57;5772:13;5731:16;5828:4;5816:17;;5794:57;:::i;:::-;5918:13;;5873:20;;;5940:57;5918:13;5873:20;5974:4;5962:17;;5940:57;:::i;:::-;6013:20;;5375:664;-1:-1:-1;;;;;5375:664:1:o;6462:488::-;-1:-1:-1;;;;;6731:15:1;;;6713:34;;6783:15;;6778:2;6763:18;;6756:43;6830:2;6815:18;;6808:34;;;6878:3;6873:2;6858:18;;6851:31;;;6656:4;;6899:45;;6924:19;;6916:6;6899:45;:::i;:::-;6891:53;6462:488;-1:-1:-1;;;;;;6462:488:1:o;6955:802::-;7117:4;7146:2;7186;7175:9;7171:18;7216:2;7205:9;7198:21;7239:6;7274;7268:13;7305:6;7297;7290:22;7343:2;7332:9;7328:18;7321:25;;7405:2;7395:6;7392:1;7388:14;7377:9;7373:30;7369:39;7355:53;;7443:2;7435:6;7431:15;7464:1;7474:254;7488:6;7485:1;7482:13;7474:254;;;7581:2;7577:7;7565:9;7557:6;7553:22;7549:36;7544:3;7537:49;7609:39;7641:6;7632;7626:13;7609:39;:::i;:::-;7599:49;-1:-1:-1;7706:12:1;;;;7671:15;;;;7510:1;7503:9;7474:254;;;-1:-1:-1;7745:6:1;;6955:802;-1:-1:-1;;;;;;;6955:802:1:o;8153:219::-;8302:2;8291:9;8284:21;8265:4;8322:44;8362:2;8351:9;8347:18;8339:6;8322:44;:::i;8737:416::-;8939:2;8921:21;;;8978:2;8958:18;;;8951:30;9017:34;9012:2;8997:18;;8990:62;-1:-1:-1;;;9083:2:1;9068:18;;9061:50;9143:3;9128:19;;8737:416::o;9565:354::-;9767:2;9749:21;;;9806:2;9786:18;;;9779:30;9845:32;9840:2;9825:18;;9818:60;9910:2;9895:18;;9565:354::o;13701:407::-;13903:2;13885:21;;;13942:2;13922:18;;;13915:30;13981:34;13976:2;13961:18;;13954:62;-1:-1:-1;;;14047:2:1;14032:18;;14025:41;14098:3;14083:19;;13701:407::o;15009:275::-;15080:2;15074:9;15145:2;15126:13;;-1:-1:-1;;15122:27:1;15110:40;;15180:18;15165:34;;15201:22;;;15162:62;15159:88;;;15227:18;;:::i;:::-;15263:2;15256:22;15009:275;;-1:-1:-1;15009:275:1:o;15289:128::-;15329:3;15360:1;15356:6;15353:1;15350:13;15347:39;;;15366:18;;:::i;:::-;-1:-1:-1;15402:9:1;;15289:128::o;15422:168::-;15462:7;15528:1;15524;15520:6;15516:14;15513:1;15510:21;15505:1;15498:9;15491:17;15487:45;15484:71;;;15535:18;;:::i;:::-;-1:-1:-1;15575:9:1;;15422:168::o;15595:258::-;15667:1;15677:113;15691:6;15688:1;15685:13;15677:113;;;15767:11;;;15761:18;15748:11;;;15741:39;15713:2;15706:10;15677:113;;;15808:6;15805:1;15802:13;15799:48;;;-1:-1:-1;;15843:1:1;15825:16;;15818:27;15595:258::o;15858:380::-;15937:1;15933:12;;;;15980;;;16001:61;;16055:4;16047:6;16043:17;16033:27;;16001:61;16108:2;16100:6;16097:14;16077:18;16074:38;16071:161;;;16154:10;16149:3;16145:20;16142:1;16135:31;16189:4;16186:1;16179:15;16217:4;16214:1;16207:15;16071:161;;15858:380;;;:::o;16243:135::-;16282:3;-1:-1:-1;;16303:17:1;;16300:43;;;16323:18;;:::i;:::-;-1:-1:-1;16370:1:1;16359:13;;16243:135::o;16383:127::-;16444:10;16439:3;16435:20;16432:1;16425:31;16475:4;16472:1;16465:15;16499:4;16496:1;16489:15;16515:127;16576:10;16571:3;16567:20;16564:1;16557:31;16607:4;16604:1;16597:15;16631:4;16628:1;16621:15;16647:127;16708:10;16703:3;16699:20;16696:1;16689:31;16739:4;16736:1;16729:15;16763:4;16760:1;16753:15;16779:131;-1:-1:-1;;;;;;16853:32:1;;16843:43;;16833:71;;16900:1;16897;16890:12

Swarm Source

ipfs://50ac2aabc0fee350d893a29d0b48b271da2d3928bc8f38ad340164017d801dde
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.