ETH Price: $3,094.28 (-1.27%)

Whale Lounge (WLP)
 

Overview

TokenID

914

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

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:
WhaleLounge

Compiler Version
v0.8.15+commit.e14f2714

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-05
*/

//
// __          ___           _        _                                  
// \ \        / / |         | |      | |                                 
//  \ \  /\  / /| |__   __ _| | ___  | |     ___  _   _ _ __   __ _  ___ 
//   \ \/  \/ / | '_ \ / _` | |/ _ \ | |    / _ \| | | | '_ \ / _` |/ _ \
//    \  /\  /  | | | | (_| | |  __/ | |___| (_) | |_| | | | | (_| |  __/
//     \/  \/   |_| |_|\__,_|_|\___| |______\___/ \__,_|_| |_|\__, |\___|
//                                                             __/ |     
//                                                            |___/      
//

/*
 * @creator Whale Lounge NFT
 * @author burakcbdn twitter.com/burakcbdn
 */

// SPDX-License-Identifier: MIT


// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// 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 Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/whale.sol

pragma solidity >=0.8.9 <0.9.0;






contract WhaleLounge is  Ownable, ReentrancyGuard , ERC721A {
    using Strings for uint256;
    uint256 public maxSupply = 1000;
    string private BASE_URI = "https://meta.whalelounge.xyz/";
    uint256 public MAX_MINT_AMOUNT_PER_TX = 1;
    bool public IS_SALE_ACTIVE = false;
    bool public IS_WHITESALE_ACTIVE = false;

    uint256 public cost = 0;
    uint256 public wl_cost = 0;   
   
    bytes32 public merkleRoot;

    constructor() ERC721A("Whale Lounge", "WLP") {}

 
    /** GETTERS **/

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

    /** SETTERS **/

    function setBaseURI(string memory customBaseURI_) external onlyOwner {
        BASE_URI = customBaseURI_;
    }
    
    function setMaxMintPerTx(uint256 maxMintPerTx) external onlyOwner {
        MAX_MINT_AMOUNT_PER_TX = maxMintPerTx;
    }

    function setMaxSupply(uint256 newMaxSupply) external onlyOwner {
        require(newMaxSupply >= totalSupply(), "Invalid new max supply");
        maxSupply = newMaxSupply;
    }

    function setSaleActive(bool saleIsActive) external onlyOwner {
        IS_SALE_ACTIVE = saleIsActive;
    }

    function setWhiteSaleActive(bool WhitesaleIsActive) external onlyOwner {
        IS_WHITESALE_ACTIVE = WhitesaleIsActive;
    }

    function setMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner {
        merkleRoot = _newMerkleRoot;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        cost = newPrice;
    }

    function setWLPrice(uint256 newWLPrice) external onlyOwner {
        wl_cost = newWLPrice;
    }

    /** MINT **/
    modifier mintCompliance(uint256 _mintAmount) {
        require(
            _mintAmount > 0 && _mintAmount <= MAX_MINT_AMOUNT_PER_TX,
            "Invalid mint amount!"
        );
        require(
            totalSupply() + _mintAmount <= maxSupply,
            "Max supply exceeded!"
        );
        _;
    }

    function mint(uint256 _mintAmount, bytes32[] calldata _merkleProof)
        public
        payable
        mintCompliance(_mintAmount)
    {
        require(IS_SALE_ACTIVE, "Sale is not active!");
        if (IS_WHITESALE_ACTIVE == true) {

            bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
            require(
                MerkleProof.verify(_merkleProof, merkleRoot, leaf),
                "Invalid proof!"
            );

            uint256 price = wl_cost * _mintAmount;
            require(msg.value >= price, "Insufficient funds!");

            _safeMint(msg.sender, _mintAmount);  
        } else {

            uint256 price = cost * _mintAmount;
            require(msg.value >= price, "Insufficient funds!");

            _safeMint(msg.sender, _mintAmount);
        }
    }

    function ownerMint(address _to, uint256 _mintAmount)
        public
        mintCompliance(_mintAmount)
        onlyOwner
    {
        _safeMint(_to, _mintAmount);
    }


    function withdraw() public onlyOwner nonReentrant {
        uint256 balance = address(this).balance;

        (bool c1, ) = payable(0x3e8C9A71431BBcB4e4203D5ab9Aa78A0D0394478).call{value: balance * 30 / 100}('');
        require(c1);
        (bool c2, ) = payable(0x382DE335821632A7882e7fD9867107B1D59334AD).call{value: balance * 30 / 100}('');
        require(c2);
        (bool c3, ) = payable(0x191A0b21B74e036e95Bda7690155789B9C75A547).call{value: balance * 30 / 100}('');
        require(c3);
        (bool c4, ) = payable(0xAB23379b7B4606Ea0Da596592c2ef2a5b09a9fC5).call{value: balance * 8 / 100}('');
        require(c4);
        (bool c5, ) = payable(0x14aB3F3a1dB48963D6d8Bff9803596c5c3394212).call{value: balance * 2 / 100}('');
        require(c5);

    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"IS_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IS_WHITESALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_AMOUNT_PER_TX","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"customBaseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleIsActive","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newWLPrice","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"WhitesaleIsActive","type":"bool"}],"name":"setWhiteSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wl_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6103e8600a5560c0604052601d60809081527f68747470733a2f2f6d6574612e7768616c656c6f756e67652e78797a2f00000060a052600b90620000449082620001f0565b506001600c55600d805461ffff191690556000600e819055600f553480156200006c57600080fd5b506040518060400160405280600c81526020016b5768616c65204c6f756e676560a01b815250604051806040016040528060038152602001620574c560ec1b815250620000c8620000c2620000f760201b60201c565b620000fb565b600180556004620000da8382620001f0565b506005620000e98282620001f0565b5050600060025550620002bc565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017657607f821691505b6020821081036200019757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001eb57600081815260208120601f850160051c81016020861015620001c65750805b601f850160051c820191505b81811015620001e757828155600101620001d2565b5050505b505050565b81516001600160401b038111156200020c576200020c6200014b565b62000224816200021d845462000161565b846200019d565b602080601f8311600181146200025c5760008415620002435750858301515b600019600386901b1c1916600185901b178555620001e7565b600085815260208120601f198616915b828110156200028d578886015182559484019460019091019084016200026c565b5085821015620002ac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e2780620002cc6000396000f3fe6080604052600436106102045760003560e01c806370a0823111610118578063b88d4fde116100a0578063ce7556161161006f578063ce755616146105a2578063d5abeb01146105c2578063e985e9c5146105d8578063f2fde38b14610621578063f6a5b8e61461064157600080fd5b8063b88d4fde14610530578063ba41b0c614610550578063bd54c81814610563578063c87b56dd1461058257600080fd5b8063841718a6116100e7578063841718a61461049d5780638da5cb5b146104bd57806391b7f5ed146104db57806395d89b41146104fb578063a22cb4651461051057600080fd5b806370a082311461042e578063715018a61461044e57806376d02b71146104635780637cb647591461047d57600080fd5b806323b872dd1161019b578063484b973c1161016a578063484b973c1461038e57806355f804b3146103ae578063616cdb1e146103ce5780636352211e146103ee5780636f8b44b01461040e57600080fd5b806323b872dd146103235780632eb4a7ab146103435780633ccfd60b1461035957806342842e0e1461036e57600080fd5b806309ad85dc116101d757806309ad85dc146102ba57806309ef6527146102de57806313faede6146102f457806318160ddd1461030a57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b506102296102243660046117f4565b610661565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106b3565b6040516102359190611869565b34801561026c57600080fd5b5061028061027b36600461187c565b610745565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b33660046118b1565b610789565b005b3480156102c657600080fd5b506102d0600f5481565b604051908152602001610235565b3480156102ea57600080fd5b506102d0600c5481565b34801561030057600080fd5b506102d0600e5481565b34801561031657600080fd5b50600354600254036102d0565b34801561032f57600080fd5b506102b861033e3660046118db565b610829565b34801561034f57600080fd5b506102d060105481565b34801561036557600080fd5b506102b86109c2565b34801561037a57600080fd5b506102b86103893660046118db565b610ca4565b34801561039a57600080fd5b506102b86103a93660046118b1565b610cc4565b3480156103ba57600080fd5b506102b86103c93660046119a3565b610d8c565b3480156103da57600080fd5b506102b86103e936600461187c565b610da4565b3480156103fa57600080fd5b5061028061040936600461187c565b610db1565b34801561041a57600080fd5b506102b861042936600461187c565b610dbc565b34801561043a57600080fd5b506102d06104493660046119ec565b610e18565b34801561045a57600080fd5b506102b8610e67565b34801561046f57600080fd5b50600d546102299060ff1681565b34801561048957600080fd5b506102b861049836600461187c565b610e7b565b3480156104a957600080fd5b506102b86104b8366004611a17565b610e88565b3480156104c957600080fd5b506000546001600160a01b0316610280565b3480156104e757600080fd5b506102b86104f636600461187c565b610ea3565b34801561050757600080fd5b50610253610eb0565b34801561051c57600080fd5b506102b861052b366004611a32565b610ebf565b34801561053c57600080fd5b506102b861054b366004611a65565b610f54565b6102b861055e366004611ae1565b610f9e565b34801561056f57600080fd5b50600d5461022990610100900460ff1681565b34801561058e57600080fd5b5061025361059d36600461187c565b611239565b3480156105ae57600080fd5b506102b86105bd366004611a17565b6112bd565b3480156105ce57600080fd5b506102d0600a5481565b3480156105e457600080fd5b506102296105f3366004611b60565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561062d57600080fd5b506102b861063c3660046119ec565b6112df565b34801561064d57600080fd5b506102b861065c36600461187c565b611358565b60006301ffc9a760e01b6001600160e01b03198316148061069257506380ac58cd60e01b6001600160e01b03198316145b806106ad5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600480546106c290611b8a565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90611b8a565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b5050505050905090565b600061075082611365565b61076d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061079482610db1565b9050336001600160a01b038216146107cd576107b081336105f3565b6107cd576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108348261138d565b9050836001600160a01b0316816001600160a01b0316146108675760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b038816909114176108b45761089786336105f3565b6108b457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108db57604051633a954ecd60e21b815260040160405180910390fd5b80156108e657600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040812091909155600160e11b84169003610978576001840160008181526006602052604081205490036109765760025481146109765760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109ca6113f4565b600260015403610a215760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155476000733e8c9a71431bbcb4e4203d5ab9aa78a0d03944786064610a4b84601e611bda565b610a559190611bf9565b604051600081818185875af1925050503d8060008114610a91576040519150601f19603f3d011682016040523d82523d6000602084013e610a96565b606091505b5050905080610aa457600080fd5b600073382de335821632a7882e7fd9867107b1d59334ad6064610ac885601e611bda565b610ad29190611bf9565b604051600081818185875af1925050503d8060008114610b0e576040519150601f19603f3d011682016040523d82523d6000602084013e610b13565b606091505b5050905080610b2157600080fd5b600073191a0b21b74e036e95bda7690155789b9c75a5476064610b4586601e611bda565b610b4f9190611bf9565b604051600081818185875af1925050503d8060008114610b8b576040519150601f19603f3d011682016040523d82523d6000602084013e610b90565b606091505b5050905080610b9e57600080fd5b600073ab23379b7b4606ea0da596592c2ef2a5b09a9fc56064610bc2876008611bda565b610bcc9190611bf9565b604051600081818185875af1925050503d8060008114610c08576040519150601f19603f3d011682016040523d82523d6000602084013e610c0d565b606091505b5050905080610c1b57600080fd5b60007314ab3f3a1db48963d6d8bff9803596c5c33942126064610c3f886002611bda565b610c499190611bf9565b604051600081818185875af1925050503d8060008114610c85576040519150601f19603f3d011682016040523d82523d6000602084013e610c8a565b606091505b5050905080610c9857600080fd5b50506001805550505050565b610cbf83838360405180602001604052806000815250610f54565b505050565b80600081118015610cd75750600c548111155b610d1a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a18565b600a5481610d2b6003546002540390565b610d359190611c1b565b1115610d7a5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a18565b610d826113f4565b610cbf838361144e565b610d946113f4565b600b610da08282611c79565b5050565b610dac6113f4565b600c55565b60006106ad8261138d565b610dc46113f4565b60035460025403811015610e135760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964206e6577206d617820737570706c7960501b6044820152606401610a18565b600a55565b60006001600160a01b038216610e41576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b610e6f6113f4565b610e796000611468565b565b610e836113f4565b601055565b610e906113f4565b600d805460ff1916911515919091179055565b610eab6113f4565b600e55565b6060600580546106c290611b8a565b336001600160a01b03831603610ee85760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f5f848484610829565b6001600160a01b0383163b15610f9857610f7b848484846114b8565b610f98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b82600081118015610fb15750600c548111155b610ff45760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a18565b600a54816110056003546002540390565b61100f9190611c1b565b11156110545760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a18565b600d5460ff1661109c5760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610a18565b600d54610100900460ff1615156001036111d0576040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061112a8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060105491508490506115a4565b6111675760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610a18565b600085600f546111779190611bda565b9050803410156111bf5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a18565b6111c9338761144e565b5050610f98565b600084600e546111e09190611bda565b9050803410156112285760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a18565b611232338661144e565b5050505050565b606061124482611365565b61126157604051630a14c4b560e41b815260040160405180910390fd5b600061126b6115ba565b9050805160000361128b57604051806020016040528060008152506112b6565b80611295846115c9565b6040516020016112a6929190611d39565b6040516020818303038152906040525b9392505050565b6112c56113f4565b600d80549115156101000261ff0019909216919091179055565b6112e76113f4565b6001600160a01b03811661134c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a18565b61135581611468565b50565b6113606113f4565b600f55565b6000600254821080156106ad575050600090815260066020526040902054600160e01b161590565b6000816002548110156113db5760008181526006602052604081205490600160e01b821690036113d9575b806000036112b65750600019016000818152600660205260409020546113b8565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610e795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a18565b610da0828260405180602001604052806000815250611601565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114ed903390899088908890600401611d68565b6020604051808303816000875af1925050508015611528575060408051601f3d908101601f1916820190925261152591810190611da5565b60015b611586573d808015611556576040519150601f19603f3d011682016040523d82523d6000602084013e61155b565b606091505b50805160000361157e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000826115b18584611667565b14949350505050565b6060600b80546106c290611b8a565b604080516080019081905280825b600183039250600a81066030018353600a9004806115d75750819003601f19909101908152919050565b61160b83836116b4565b6001600160a01b0383163b15610cbf576002548281035b61163560008683806001019450866114b8565b611652576040516368d2bf6b60e11b815260040160405180910390fd5b81811061162257816002541461123257600080fd5b600081815b84518110156116ac576116988286838151811061168b5761168b611dc2565b60200260200101516117b2565b9150806116a481611dd8565b91505061166c565b509392505050565b60025460008290036116d95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526007602090815260408083208054680100000000000000018802019055848352600690915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461178857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611750565b50816000036117a957604051622e076360e81b815260040160405180910390fd5b60025550505050565b60008183106117ce5760008281526020849052604090206112b6565b5060009182526020526040902090565b6001600160e01b03198116811461135557600080fd5b60006020828403121561180657600080fd5b81356112b6816117de565b60005b8381101561182c578181015183820152602001611814565b83811115610f985750506000910152565b60008151808452611855816020860160208601611811565b601f01601f19169290920160200192915050565b6020815260006112b6602083018461183d565b60006020828403121561188e57600080fd5b5035919050565b80356001600160a01b03811681146118ac57600080fd5b919050565b600080604083850312156118c457600080fd5b6118cd83611895565b946020939093013593505050565b6000806000606084860312156118f057600080fd5b6118f984611895565b925061190760208501611895565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561194857611948611917565b604051601f8501601f19908116603f0116810190828211818310171561197057611970611917565b8160405280935085815286868601111561198957600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119b557600080fd5b813567ffffffffffffffff8111156119cc57600080fd5b8201601f810184136119dd57600080fd5b61159c8482356020840161192d565b6000602082840312156119fe57600080fd5b6112b682611895565b803580151581146118ac57600080fd5b600060208284031215611a2957600080fd5b6112b682611a07565b60008060408385031215611a4557600080fd5b611a4e83611895565b9150611a5c60208401611a07565b90509250929050565b60008060008060808587031215611a7b57600080fd5b611a8485611895565b9350611a9260208601611895565b925060408501359150606085013567ffffffffffffffff811115611ab557600080fd5b8501601f81018713611ac657600080fd5b611ad58782356020840161192d565b91505092959194509250565b600080600060408486031215611af657600080fd5b83359250602084013567ffffffffffffffff80821115611b1557600080fd5b818601915086601f830112611b2957600080fd5b813581811115611b3857600080fd5b8760208260051b8501011115611b4d57600080fd5b6020830194508093505050509250925092565b60008060408385031215611b7357600080fd5b611b7c83611895565b9150611a5c60208401611895565b600181811c90821680611b9e57607f821691505b602082108103611bbe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611bf457611bf4611bc4565b500290565b600082611c1657634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611c2e57611c2e611bc4565b500190565b601f821115610cbf57600081815260208120601f850160051c81016020861015611c5a5750805b601f850160051c820191505b818110156109ba57828155600101611c66565b815167ffffffffffffffff811115611c9357611c93611917565b611ca781611ca18454611b8a565b84611c33565b602080601f831160018114611cdc5760008415611cc45750858301515b600019600386901b1c1916600185901b1785556109ba565b600085815260208120601f198616915b82811015611d0b57888601518255948401946001909101908401611cec565b5085821015611d295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611d4b818460208801611811565b835190830190611d5f818360208801611811565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d9b9083018461183d565b9695505050505050565b600060208284031215611db757600080fd5b81516112b6816117de565b634e487b7160e01b600052603260045260246000fd5b600060018201611dea57611dea611bc4565b506001019056fea2646970667358221220a4a2edd93d5c09e8657a4dceecebc54d4857a576275b849428e6f284ca5dfcc364736f6c634300080f0033

Deployed Bytecode

0x6080604052600436106102045760003560e01c806370a0823111610118578063b88d4fde116100a0578063ce7556161161006f578063ce755616146105a2578063d5abeb01146105c2578063e985e9c5146105d8578063f2fde38b14610621578063f6a5b8e61461064157600080fd5b8063b88d4fde14610530578063ba41b0c614610550578063bd54c81814610563578063c87b56dd1461058257600080fd5b8063841718a6116100e7578063841718a61461049d5780638da5cb5b146104bd57806391b7f5ed146104db57806395d89b41146104fb578063a22cb4651461051057600080fd5b806370a082311461042e578063715018a61461044e57806376d02b71146104635780637cb647591461047d57600080fd5b806323b872dd1161019b578063484b973c1161016a578063484b973c1461038e57806355f804b3146103ae578063616cdb1e146103ce5780636352211e146103ee5780636f8b44b01461040e57600080fd5b806323b872dd146103235780632eb4a7ab146103435780633ccfd60b1461035957806342842e0e1461036e57600080fd5b806309ad85dc116101d757806309ad85dc146102ba57806309ef6527146102de57806313faede6146102f457806318160ddd1461030a57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b506102296102243660046117f4565b610661565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106b3565b6040516102359190611869565b34801561026c57600080fd5b5061028061027b36600461187c565b610745565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b33660046118b1565b610789565b005b3480156102c657600080fd5b506102d0600f5481565b604051908152602001610235565b3480156102ea57600080fd5b506102d0600c5481565b34801561030057600080fd5b506102d0600e5481565b34801561031657600080fd5b50600354600254036102d0565b34801561032f57600080fd5b506102b861033e3660046118db565b610829565b34801561034f57600080fd5b506102d060105481565b34801561036557600080fd5b506102b86109c2565b34801561037a57600080fd5b506102b86103893660046118db565b610ca4565b34801561039a57600080fd5b506102b86103a93660046118b1565b610cc4565b3480156103ba57600080fd5b506102b86103c93660046119a3565b610d8c565b3480156103da57600080fd5b506102b86103e936600461187c565b610da4565b3480156103fa57600080fd5b5061028061040936600461187c565b610db1565b34801561041a57600080fd5b506102b861042936600461187c565b610dbc565b34801561043a57600080fd5b506102d06104493660046119ec565b610e18565b34801561045a57600080fd5b506102b8610e67565b34801561046f57600080fd5b50600d546102299060ff1681565b34801561048957600080fd5b506102b861049836600461187c565b610e7b565b3480156104a957600080fd5b506102b86104b8366004611a17565b610e88565b3480156104c957600080fd5b506000546001600160a01b0316610280565b3480156104e757600080fd5b506102b86104f636600461187c565b610ea3565b34801561050757600080fd5b50610253610eb0565b34801561051c57600080fd5b506102b861052b366004611a32565b610ebf565b34801561053c57600080fd5b506102b861054b366004611a65565b610f54565b6102b861055e366004611ae1565b610f9e565b34801561056f57600080fd5b50600d5461022990610100900460ff1681565b34801561058e57600080fd5b5061025361059d36600461187c565b611239565b3480156105ae57600080fd5b506102b86105bd366004611a17565b6112bd565b3480156105ce57600080fd5b506102d0600a5481565b3480156105e457600080fd5b506102296105f3366004611b60565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561062d57600080fd5b506102b861063c3660046119ec565b6112df565b34801561064d57600080fd5b506102b861065c36600461187c565b611358565b60006301ffc9a760e01b6001600160e01b03198316148061069257506380ac58cd60e01b6001600160e01b03198316145b806106ad5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600480546106c290611b8a565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90611b8a565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b5050505050905090565b600061075082611365565b61076d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061079482610db1565b9050336001600160a01b038216146107cd576107b081336105f3565b6107cd576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108348261138d565b9050836001600160a01b0316816001600160a01b0316146108675760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b038816909114176108b45761089786336105f3565b6108b457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108db57604051633a954ecd60e21b815260040160405180910390fd5b80156108e657600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040812091909155600160e11b84169003610978576001840160008181526006602052604081205490036109765760025481146109765760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109ca6113f4565b600260015403610a215760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155476000733e8c9a71431bbcb4e4203d5ab9aa78a0d03944786064610a4b84601e611bda565b610a559190611bf9565b604051600081818185875af1925050503d8060008114610a91576040519150601f19603f3d011682016040523d82523d6000602084013e610a96565b606091505b5050905080610aa457600080fd5b600073382de335821632a7882e7fd9867107b1d59334ad6064610ac885601e611bda565b610ad29190611bf9565b604051600081818185875af1925050503d8060008114610b0e576040519150601f19603f3d011682016040523d82523d6000602084013e610b13565b606091505b5050905080610b2157600080fd5b600073191a0b21b74e036e95bda7690155789b9c75a5476064610b4586601e611bda565b610b4f9190611bf9565b604051600081818185875af1925050503d8060008114610b8b576040519150601f19603f3d011682016040523d82523d6000602084013e610b90565b606091505b5050905080610b9e57600080fd5b600073ab23379b7b4606ea0da596592c2ef2a5b09a9fc56064610bc2876008611bda565b610bcc9190611bf9565b604051600081818185875af1925050503d8060008114610c08576040519150601f19603f3d011682016040523d82523d6000602084013e610c0d565b606091505b5050905080610c1b57600080fd5b60007314ab3f3a1db48963d6d8bff9803596c5c33942126064610c3f886002611bda565b610c499190611bf9565b604051600081818185875af1925050503d8060008114610c85576040519150601f19603f3d011682016040523d82523d6000602084013e610c8a565b606091505b5050905080610c9857600080fd5b50506001805550505050565b610cbf83838360405180602001604052806000815250610f54565b505050565b80600081118015610cd75750600c548111155b610d1a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a18565b600a5481610d2b6003546002540390565b610d359190611c1b565b1115610d7a5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a18565b610d826113f4565b610cbf838361144e565b610d946113f4565b600b610da08282611c79565b5050565b610dac6113f4565b600c55565b60006106ad8261138d565b610dc46113f4565b60035460025403811015610e135760405162461bcd60e51b8152602060048201526016602482015275496e76616c6964206e6577206d617820737570706c7960501b6044820152606401610a18565b600a55565b60006001600160a01b038216610e41576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b610e6f6113f4565b610e796000611468565b565b610e836113f4565b601055565b610e906113f4565b600d805460ff1916911515919091179055565b610eab6113f4565b600e55565b6060600580546106c290611b8a565b336001600160a01b03831603610ee85760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f5f848484610829565b6001600160a01b0383163b15610f9857610f7b848484846114b8565b610f98576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b82600081118015610fb15750600c548111155b610ff45760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610a18565b600a54816110056003546002540390565b61100f9190611c1b565b11156110545760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a18565b600d5460ff1661109c5760405162461bcd60e51b815260206004820152601360248201527253616c65206973206e6f74206163746976652160681b6044820152606401610a18565b600d54610100900460ff1615156001036111d0576040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061112a8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060105491508490506115a4565b6111675760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610a18565b600085600f546111779190611bda565b9050803410156111bf5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a18565b6111c9338761144e565b5050610f98565b600084600e546111e09190611bda565b9050803410156112285760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a18565b611232338661144e565b5050505050565b606061124482611365565b61126157604051630a14c4b560e41b815260040160405180910390fd5b600061126b6115ba565b9050805160000361128b57604051806020016040528060008152506112b6565b80611295846115c9565b6040516020016112a6929190611d39565b6040516020818303038152906040525b9392505050565b6112c56113f4565b600d80549115156101000261ff0019909216919091179055565b6112e76113f4565b6001600160a01b03811661134c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a18565b61135581611468565b50565b6113606113f4565b600f55565b6000600254821080156106ad575050600090815260066020526040902054600160e01b161590565b6000816002548110156113db5760008181526006602052604081205490600160e01b821690036113d9575b806000036112b65750600019016000818152600660205260409020546113b8565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610e795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a18565b610da0828260405180602001604052806000815250611601565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114ed903390899088908890600401611d68565b6020604051808303816000875af1925050508015611528575060408051601f3d908101601f1916820190925261152591810190611da5565b60015b611586573d808015611556576040519150601f19603f3d011682016040523d82523d6000602084013e61155b565b606091505b50805160000361157e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000826115b18584611667565b14949350505050565b6060600b80546106c290611b8a565b604080516080019081905280825b600183039250600a81066030018353600a9004806115d75750819003601f19909101908152919050565b61160b83836116b4565b6001600160a01b0383163b15610cbf576002548281035b61163560008683806001019450866114b8565b611652576040516368d2bf6b60e11b815260040160405180910390fd5b81811061162257816002541461123257600080fd5b600081815b84518110156116ac576116988286838151811061168b5761168b611dc2565b60200260200101516117b2565b9150806116a481611dd8565b91505061166c565b509392505050565b60025460008290036116d95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526007602090815260408083208054680100000000000000018802019055848352600690915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461178857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611750565b50816000036117a957604051622e076360e81b815260040160405180910390fd5b60025550505050565b60008183106117ce5760008281526020849052604090206112b6565b5060009182526020526040902090565b6001600160e01b03198116811461135557600080fd5b60006020828403121561180657600080fd5b81356112b6816117de565b60005b8381101561182c578181015183820152602001611814565b83811115610f985750506000910152565b60008151808452611855816020860160208601611811565b601f01601f19169290920160200192915050565b6020815260006112b6602083018461183d565b60006020828403121561188e57600080fd5b5035919050565b80356001600160a01b03811681146118ac57600080fd5b919050565b600080604083850312156118c457600080fd5b6118cd83611895565b946020939093013593505050565b6000806000606084860312156118f057600080fd5b6118f984611895565b925061190760208501611895565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561194857611948611917565b604051601f8501601f19908116603f0116810190828211818310171561197057611970611917565b8160405280935085815286868601111561198957600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119b557600080fd5b813567ffffffffffffffff8111156119cc57600080fd5b8201601f810184136119dd57600080fd5b61159c8482356020840161192d565b6000602082840312156119fe57600080fd5b6112b682611895565b803580151581146118ac57600080fd5b600060208284031215611a2957600080fd5b6112b682611a07565b60008060408385031215611a4557600080fd5b611a4e83611895565b9150611a5c60208401611a07565b90509250929050565b60008060008060808587031215611a7b57600080fd5b611a8485611895565b9350611a9260208601611895565b925060408501359150606085013567ffffffffffffffff811115611ab557600080fd5b8501601f81018713611ac657600080fd5b611ad58782356020840161192d565b91505092959194509250565b600080600060408486031215611af657600080fd5b83359250602084013567ffffffffffffffff80821115611b1557600080fd5b818601915086601f830112611b2957600080fd5b813581811115611b3857600080fd5b8760208260051b8501011115611b4d57600080fd5b6020830194508093505050509250925092565b60008060408385031215611b7357600080fd5b611b7c83611895565b9150611a5c60208401611895565b600181811c90821680611b9e57607f821691505b602082108103611bbe57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611bf457611bf4611bc4565b500290565b600082611c1657634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611c2e57611c2e611bc4565b500190565b601f821115610cbf57600081815260208120601f850160051c81016020861015611c5a5750805b601f850160051c820191505b818110156109ba57828155600101611c66565b815167ffffffffffffffff811115611c9357611c93611917565b611ca781611ca18454611b8a565b84611c33565b602080601f831160018114611cdc5760008415611cc45750858301515b600019600386901b1c1916600185901b1785556109ba565b600085815260208120601f198616915b82811015611d0b57888601518255948401946001909101908401611cec565b5085821015611d295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611d4b818460208801611811565b835190830190611d5f818360208801611811565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d9b9083018461183d565b9695505050505050565b600060208284031215611db757600080fd5b81516112b6816117de565b634e487b7160e01b600052603260045260246000fd5b600060018201611dea57611dea611bc4565b506001019056fea2646970667358221220a4a2edd93d5c09e8657a4dceecebc54d4857a576275b849428e6f284ca5dfcc364736f6c634300080f0033

Deployed Bytecode Sourcemap

69209:3845:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30389:639;;;;;;;;;;-1:-1:-1;30389:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;30389:639:0;;;;;;;;31291:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37774:218::-;;;;;;;;;;-1:-1:-1;37774:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;37774:218:0;1528:203:1;37215:400:0;;;;;;;;;;-1:-1:-1;37215:400:0;;;;;:::i;:::-;;:::i;:::-;;69577:26;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;69577:26:0;2173:177:1;69410:41:0;;;;;;;;;;;;;;;;69547:23;;;;;;;;;;;;;;;;27042:323;;;;;;;;;;-1:-1:-1;27316:12:0;;27300:13;;:28;27042:323;;41481:2817;;;;;;;;;;-1:-1:-1;41481:2817:0;;;;;:::i;:::-;;:::i;69618:25::-;;;;;;;;;;;;;;;;72269:780;;;;;;;;;;;;;:::i;44394:185::-;;;;;;;;;;-1:-1:-1;44394:185:0;;;;;:::i;:::-;;:::i;72083:176::-;;;;;;;;;;-1:-1:-1;72083:176:0;;;;;:::i;:::-;;:::i;69873:113::-;;;;;;;;;;-1:-1:-1;69873:113:0;;;;;:::i;:::-;;:::i;69998:122::-;;;;;;;;;;-1:-1:-1;69998:122:0;;;;;:::i;:::-;;:::i;32684:152::-;;;;;;;;;;-1:-1:-1;32684:152:0;;;;;:::i;:::-;;:::i;70128:181::-;;;;;;;;;;-1:-1:-1;70128:181:0;;;;;:::i;:::-;;:::i;28226:233::-;;;;;;;;;;-1:-1:-1;28226:233:0;;;;;:::i;:::-;;:::i;65556:103::-;;;;;;;;;;;;;:::i;69458:34::-;;;;;;;;;;-1:-1:-1;69458:34:0;;;;;;;;70571:112;;;;;;;;;;-1:-1:-1;70571:112:0;;;;;:::i;:::-;;:::i;70317:109::-;;;;;;;;;;-1:-1:-1;70317:109:0;;;;;:::i;:::-;;:::i;64908:87::-;;;;;;;;;;-1:-1:-1;64954:7:0;64981:6;-1:-1:-1;;;;;64981:6:0;64908:87;;70691:89;;;;;;;;;;-1:-1:-1;70691:89:0;;;;;:::i;:::-;;:::i;31467:104::-;;;;;;;;;;;;;:::i;38332:308::-;;;;;;;;;;-1:-1:-1;38332:308:0;;;;;:::i;:::-;;:::i;45177:399::-;;;;;;;;;;-1:-1:-1;45177:399:0;;;;;:::i;:::-;;:::i;71243:832::-;;;;;;:::i;:::-;;:::i;69499:39::-;;;;;;;;;;-1:-1:-1;69499:39:0;;;;;;;;;;;31677:318;;;;;;;;;;-1:-1:-1;31677:318:0;;;;;:::i;:::-;;:::i;70434:129::-;;;;;;;;;;-1:-1:-1;70434:129:0;;;;;:::i;:::-;;:::i;69308:31::-;;;;;;;;;;;;;;;;38797:164;;;;;;;;;;-1:-1:-1;38797:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;38918:25:0;;;38894:4;38918:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38797:164;65814:201;;;;;;;;;;-1:-1:-1;65814:201:0;;;;;:::i;:::-;;:::i;70788:98::-;;;;;;;;;;-1:-1:-1;70788:98:0;;;;;:::i;:::-;;:::i;30389:639::-;30474:4;-1:-1:-1;;;;;;;;;30798:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;30875:25:0;;;30798:102;:179;;;-1:-1:-1;;;;;;;;;;30952:25:0;;;30798:179;30778:199;30389:639;-1:-1:-1;;30389:639:0:o;31291:100::-;31345:13;31378:5;31371:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31291:100;:::o;37774:218::-;37850:7;37875:16;37883:7;37875;:16::i;:::-;37870:64;;37900:34;;-1:-1:-1;;;37900:34:0;;;;;;;;;;;37870:64;-1:-1:-1;37954:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;37954:30:0;;37774:218::o;37215:400::-;37296:13;37312:16;37320:7;37312;:16::i;:::-;37296:32;-1:-1:-1;61072:10:0;-1:-1:-1;;;;;37345:28:0;;;37341:175;;37393:44;37410:5;61072:10;38797:164;:::i;37393:44::-;37388:128;;37465:35;;-1:-1:-1;;;37465:35:0;;;;;;;;;;;37388:128;37528:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;37528:35:0;-1:-1:-1;;;;;37528:35:0;;;;;;;;;37579:28;;37528:24;;37579:28;;;;;;;37285:330;37215:400;;:::o;41481:2817::-;41615:27;41645;41664:7;41645:18;:27::i;:::-;41615:57;;41730:4;-1:-1:-1;;;;;41689:45:0;41705:19;-1:-1:-1;;;;;41689:45:0;;41685:86;;41743:28;;-1:-1:-1;;;41743:28:0;;;;;;;;;;;41685:86;41785:27;40595:24;;;:15;:24;;;;;40817:26;;61072:10;40220:30;;;-1:-1:-1;;;;;39913:28:0;;40198:20;;;40195:56;41971:180;;42064:43;42081:4;61072:10;38797:164;:::i;42064:43::-;42059:92;;42116:35;;-1:-1:-1;;;42116:35:0;;;;;;;;;;;42059:92;-1:-1:-1;;;;;42168:16:0;;42164:52;;42193:23;;-1:-1:-1;;;42193:23:0;;;;;;;;;;;42164:52;42365:15;42362:160;;;42505:1;42484:19;42477:30;42362:160;-1:-1:-1;;;;;42902:24:0;;;;;;;:18;:24;;;;;;42900:26;;-1:-1:-1;;42900:26:0;;;42971:22;;;;;;;;;42969:24;;-1:-1:-1;42969:24:0;;;36073:11;36048:23;36044:41;36031:63;-1:-1:-1;;;36031:63:0;43264:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;43559:47:0;;:52;;43555:627;;43664:1;43654:11;;43632:19;43787:30;;;:17;:30;;;;;;:35;;43783:384;;43925:13;;43910:11;:28;43906:242;;44072:30;;;;:17;:30;;;;;:52;;;43906:242;43613:569;43555:627;44229:7;44225:2;-1:-1:-1;;;;;44210:27:0;44219:4;-1:-1:-1;;;;;44210:27:0;;;;;;;;;;;44248:42;41604:2694;;;41481:2817;;;:::o;72269:780::-;64794:13;:11;:13::i;:::-;68185:1:::1;68783:7;;:19:::0;68775:63:::1;;;::::0;-1:-1:-1;;;68775:63:0;;7292:2:1;68775:63:0::1;::::0;::::1;7274:21:1::0;7331:2;7311:18;;;7304:30;7370:33;7350:18;;;7343:61;7421:18;;68775:63:0::1;;;;;;;;;68185:1;68916:7;:18:::0;72348:21:::2;72330:15;72404:42;72475:3;72460:12;72348:21:::0;72470:2:::2;72460:12;:::i;:::-;:18;;;;:::i;:::-;72396:87;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72382:101;;;72502:2;72494:11;;;::::0;::::2;;72517:7;72538:42;72609:3;72594:12;:7:::0;72604:2:::2;72594:12;:::i;:::-;:18;;;;:::i;:::-;72530:87;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72516:101;;;72636:2;72628:11;;;::::0;::::2;;72651:7;72672:42;72743:3;72728:12;:7:::0;72738:2:::2;72728:12;:::i;:::-;:18;;;;:::i;:::-;72664:87;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72650:101;;;72770:2;72762:11;;;::::0;::::2;;72785:7;72806:42;72876:3;72862:11;:7:::0;72872:1:::2;72862:11;:::i;:::-;:17;;;;:::i;:::-;72798:86;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72784:100;;;72903:2;72895:11;;;::::0;::::2;;72918:7;72939:42;73009:3;72995:11;:7:::0;73005:1:::2;72995:11;:::i;:::-;:17;;;;:::i;:::-;72931:86;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72917:100;;;73036:2;73028:11;;;::::0;::::2;;-1:-1:-1::0;;68141:1:0::1;69095:22:::0;;-1:-1:-1;;;;72269:780:0:o;44394:185::-;44532:39;44549:4;44555:2;44559:7;44532:39;;;;;;;;;;;;:16;:39::i;:::-;44394:185;;;:::o;72083:176::-;72176:11;71004:1;70990:11;:15;:56;;;;;71024:22;;71009:11;:37;;70990:56;70968:126;;;;-1:-1:-1;;;70968:126:0;;8389:2:1;70968:126:0;;;8371:21:1;8428:2;8408:18;;;8401:30;-1:-1:-1;;;8447:18:1;;;8440:50;8507:18;;70968:126:0;8187:344:1;70968:126:0;71158:9;;71143:11;71127:13;27316:12;;27300:13;;:28;;27042:323;71127:13;:27;;;;:::i;:::-;:40;;71105:110;;;;-1:-1:-1;;;71105:110:0;;8871:2:1;71105:110:0;;;8853:21:1;8910:2;8890:18;;;8883:30;-1:-1:-1;;;8929:18:1;;;8922:50;8989:18;;71105:110:0;8669:344:1;71105:110:0;64794:13:::1;:11;:13::i;:::-;72224:27:::2;72234:3;72239:11;72224:9;:27::i;69873:113::-:0;64794:13;:11;:13::i;:::-;69953:8:::1;:25;69964:14:::0;69953:8;:25:::1;:::i;:::-;;69873:113:::0;:::o;69998:122::-;64794:13;:11;:13::i;:::-;70075:22:::1;:37:::0;69998:122::o;32684:152::-;32756:7;32799:27;32818:7;32799:18;:27::i;70128:181::-;64794:13;:11;:13::i;:::-;27316:12;;27300:13;;:28;70210:12:::1;:29;;70202:64;;;::::0;-1:-1:-1;;;70202:64:0;;11424:2:1;70202:64:0::1;::::0;::::1;11406:21:1::0;11463:2;11443:18;;;11436:30;-1:-1:-1;;;11482:18:1;;;11475:52;11544:18;;70202:64:0::1;11222:346:1::0;70202:64:0::1;70277:9;:24:::0;70128:181::o;28226:233::-;28298:7;-1:-1:-1;;;;;28322:19:0;;28318:60;;28350:28;;-1:-1:-1;;;28350:28:0;;;;;;;;;;;28318:60;-1:-1:-1;;;;;;28396:25:0;;;;;:18;:25;;;;;;22385:13;28396:55;;28226:233::o;65556:103::-;64794:13;:11;:13::i;:::-;65621:30:::1;65648:1;65621:18;:30::i;:::-;65556:103::o:0;70571:112::-;64794:13;:11;:13::i;:::-;70648:10:::1;:27:::0;70571:112::o;70317:109::-;64794:13;:11;:13::i;:::-;70389:14:::1;:29:::0;;-1:-1:-1;;70389:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70317:109::o;70691:89::-;64794:13;:11;:13::i;:::-;70757:4:::1;:15:::0;70691:89::o;31467:104::-;31523:13;31556:7;31549:14;;;;;:::i;38332:308::-;61072:10;-1:-1:-1;;;;;38431:31:0;;;38427:61;;38471:17;;-1:-1:-1;;;38471:17:0;;;;;;;;;;;38427:61;61072:10;38501:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;38501:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;38501:60:0;;;;;;;;;;38577:55;;540:41:1;;;38501:49:0;;61072:10;38577:55;;513:18:1;38577:55:0;;;;;;;38332:308;;:::o;45177:399::-;45344:31;45357:4;45363:2;45367:7;45344:12;:31::i;:::-;-1:-1:-1;;;;;45390:14:0;;;:19;45386:183;;45429:56;45460:4;45466:2;45470:7;45479:5;45429:30;:56::i;:::-;45424:145;;45513:40;;-1:-1:-1;;;45513:40:0;;;;;;;;;;;45424:145;45177:399;;;;:::o;71243:832::-;71368:11;71004:1;70990:11;:15;:56;;;;;71024:22;;71009:11;:37;;70990:56;70968:126;;;;-1:-1:-1;;;70968:126:0;;8389:2:1;70968:126:0;;;8371:21:1;8428:2;8408:18;;;8401:30;-1:-1:-1;;;8447:18:1;;;8440:50;8507:18;;70968:126:0;8187:344:1;70968:126:0;71158:9;;71143:11;71127:13;27316:12;;27300:13;;:28;;27042:323;71127:13;:27;;;;:::i;:::-;:40;;71105:110;;;;-1:-1:-1;;;71105:110:0;;8871:2:1;71105:110:0;;;8853:21:1;8910:2;8890:18;;;8883:30;-1:-1:-1;;;8929:18:1;;;8922:50;8989:18;;71105:110:0;8669:344:1;71105:110:0;71405:14:::1;::::0;::::1;;71397:46;;;::::0;-1:-1:-1;;;71397:46:0;;11775:2:1;71397:46:0::1;::::0;::::1;11757:21:1::0;11814:2;11794:18;;;11787:30;-1:-1:-1;;;11833:18:1;;;11826:49;11892:18;;71397:46:0::1;11573:343:1::0;71397:46:0::1;71458:19;::::0;::::1;::::0;::::1;;;:27;;:19;:27:::0;71454:614:::1;;71529:28;::::0;-1:-1:-1;;71546:10:0::1;12070:2:1::0;12066:15;12062:53;71529:28:0::1;::::0;::::1;12050:66:1::0;71504:12:0::1;::::0;12132::1;;71529:28:0::1;;;;;;;;;;;;71519:39;;;;;;71504:54;;71599:50;71618:12;;71599:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;71632:10:0::1;::::0;;-1:-1:-1;71644:4:0;;-1:-1:-1;71599:18:0::1;:50::i;:::-;71573:126;;;::::0;-1:-1:-1;;;71573:126:0;;12357:2:1;71573:126:0::1;::::0;::::1;12339:21:1::0;12396:2;12376:18;;;12369:30;-1:-1:-1;;;12415:18:1;;;12408:44;12469:18;;71573:126:0::1;12155:338:1::0;71573:126:0::1;71716:13;71742:11;71732:7;;:21;;;;:::i;:::-;71716:37;;71789:5;71776:9;:18;;71768:50;;;::::0;-1:-1:-1;;;71768:50:0;;12700:2:1;71768:50:0::1;::::0;::::1;12682:21:1::0;12739:2;12719:18;;;12712:30;-1:-1:-1;;;12758:18:1;;;12751:49;12817:18;;71768:50:0::1;12498:343:1::0;71768:50:0::1;71835:34;71845:10;71857:11;71835:9;:34::i;:::-;71487:396;;71454:614;;;71906:13;71929:11;71922:4;;:18;;;;:::i;:::-;71906:34;;71976:5;71963:9;:18;;71955:50;;;::::0;-1:-1:-1;;;71955:50:0;;12700:2:1;71955:50:0::1;::::0;::::1;12682:21:1::0;12739:2;12719:18;;;12712:30;-1:-1:-1;;;12758:18:1;;;12751:49;12817:18;;71955:50:0::1;12498:343:1::0;71955:50:0::1;72022:34;72032:10;72044:11;72022:9;:34::i;:::-;71889:179;71243:832:::0;;;;:::o;31677:318::-;31750:13;31781:16;31789:7;31781;:16::i;:::-;31776:59;;31806:29;;-1:-1:-1;;;31806:29:0;;;;;;;;;;;31776:59;31848:21;31872:10;:8;:10::i;:::-;31848:34;;31906:7;31900:21;31925:1;31900:26;:87;;;;;;;;;;;;;;;;;31953:7;31962:18;31972:7;31962:9;:18::i;:::-;31936:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;31900:87;31893:94;31677:318;-1:-1:-1;;;31677:318:0:o;70434:129::-;64794:13;:11;:13::i;:::-;70516:19:::1;:39:::0;;;::::1;;;;-1:-1:-1::0;;70516:39:0;;::::1;::::0;;;::::1;::::0;;70434:129::o;65814:201::-;64794:13;:11;:13::i;:::-;-1:-1:-1;;;;;65903:22:0;::::1;65895:73;;;::::0;-1:-1:-1;;;65895:73:0;;13523:2:1;65895:73:0::1;::::0;::::1;13505:21:1::0;13562:2;13542:18;;;13535:30;13601:34;13581:18;;;13574:62;-1:-1:-1;;;13652:18:1;;;13645:36;13698:19;;65895:73:0::1;13321:402:1::0;65895:73:0::1;65979:28;65998:8;65979:18;:28::i;:::-;65814:201:::0;:::o;70788:98::-;64794:13;:11;:13::i;:::-;70858:7:::1;:20:::0;70788:98::o;39219:282::-;39284:4;39374:13;;39364:7;:23;39321:153;;;;-1:-1:-1;;39425:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;39425:44:0;:49;;39219:282::o;33839:1275::-;33906:7;33941;34043:13;;34036:4;:20;34032:1015;;;34081:14;34098:23;;;:17;:23;;;;;;;-1:-1:-1;;;34187:24:0;;:29;;34183:845;;34852:113;34859:6;34869:1;34859:11;34852:113;;-1:-1:-1;;;34930:6:0;34912:25;;;;:17;:25;;;;;;34852:113;;34183:845;34058:989;34032:1015;35075:31;;-1:-1:-1;;;35075:31:0;;;;;;;;;;;65073:132;64954:7;64981:6;-1:-1:-1;;;;;64981:6:0;61072:10;65137:23;65129:68;;;;-1:-1:-1;;;65129:68:0;;13930:2:1;65129:68:0;;;13912:21:1;;;13949:18;;;13942:30;14008:34;13988:18;;;13981:62;14060:18;;65129:68:0;13728:356:1;54817:112:0;54894:27;54904:2;54908:8;54894:27;;;;;;;;;;;;:9;:27::i;66175:191::-;66249:16;66268:6;;-1:-1:-1;;;;;66285:17:0;;;-1:-1:-1;;;;;;66285:17:0;;;;;;66318:40;;66268:6;;;;;;;66318:40;;66249:16;66318:40;66238:128;66175:191;:::o;47660:716::-;47844:88;;-1:-1:-1;;;47844:88:0;;47823:4;;-1:-1:-1;;;;;47844:45:0;;;;;:88;;61072:10;;47911:4;;47917:7;;47926:5;;47844:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47844:88:0;;;;;;;;-1:-1:-1;;47844:88:0;;;;;;;;;;;;:::i;:::-;;;47840:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48127:6;:13;48144:1;48127:18;48123:235;;48173:40;;-1:-1:-1;;;48173:40:0;;;;;;;;;;;48123:235;48316:6;48310:13;48301:6;48297:2;48293:15;48286:38;47840:529;-1:-1:-1;;;;;;48003:64:0;-1:-1:-1;;;48003:64:0;;-1:-1:-1;47840:529:0;47660:716;;;;;;:::o;4448:190::-;4573:4;4626;4597:25;4610:5;4617:4;4597:12;:25::i;:::-;:33;;4448:190;-1:-1:-1;;;;4448:190:0:o;69733:109::-;69793:13;69826:8;69819:15;;;;;:::i;61192:1581::-;61675:4;61669:11;;61682:4;61665:22;61761:17;;;;61665:22;62119:5;62101:428;62167:1;62162:3;62158:11;62151:18;;62338:2;62332:4;62328:13;62324:2;62320:22;62315:3;62307:36;62432:2;62422:13;;62489:25;62101:428;62489:25;-1:-1:-1;62559:13:0;;;-1:-1:-1;;62674:14:0;;;62736:19;;;62674:14;61192:1581;-1:-1:-1;61192:1581:0:o;54044:689::-;54175:19;54181:2;54185:8;54175:5;:19::i;:::-;-1:-1:-1;;;;;54236:14:0;;;:19;54232:483;;54290:13;;54338:14;;;54371:233;54402:62;54441:1;54445:2;54449:7;;;;;;54458:5;54402:30;:62::i;:::-;54397:167;;54500:40;;-1:-1:-1;;;54500:40:0;;;;;;;;;;;54397:167;54599:3;54591:5;:11;54371:233;;54686:3;54669:13;;:20;54665:34;;54691:8;;;5315:296;5398:7;5441:4;5398:7;5456:118;5480:5;:12;5476:1;:16;5456:118;;;5529:33;5539:12;5553:5;5559:1;5553:8;;;;;;;;:::i;:::-;;;;;;;5529:9;:33::i;:::-;5514:48;-1:-1:-1;5494:3:0;;;;:::i;:::-;;;;5456:118;;;-1:-1:-1;5591:12:0;5315:296;-1:-1:-1;;;5315:296:0:o;48838:2454::-;48934:13;;48911:20;48962:13;;;48958:44;;48984:18;;-1:-1:-1;;;48984:18:0;;;;;;;;;;;48958:44;-1:-1:-1;;;;;49490:22:0;;;;;;:18;:22;;;;22523:2;49490:22;;;:71;;49528:32;49516:45;;49490:71;;;49804:31;;;:17;:31;;;;;-1:-1:-1;36504:15:0;;36478:24;36474:46;36073:11;36048:23;36044:41;36041:52;36031:63;;49804:173;;50039:23;;;;49804:31;;49490:22;;50538:25;49490:22;;50391:335;50806:1;50792:12;50788:20;50746:346;50847:3;50838:7;50835:16;50746:346;;51065:7;51055:8;51052:1;51025:25;51022:1;51019;51014:59;50900:1;50887:15;50746:346;;;50750:77;51125:8;51137:1;51125:13;51121:45;;51147:19;;-1:-1:-1;;;51147:19:0;;;;;;;;;;;51121:45;51183:13;:19;-1:-1:-1;44394:185:0;;;:::o;11522:149::-;11585:7;11616:1;11612;:5;:51;;11747:13;11841:15;;;11877:4;11870:15;;;11924:4;11908:21;;11612:51;;;-1:-1:-1;11747:13:0;11841:15;;;11877:4;11870:15;11924:4;11908:21;;;11522:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2870:127::-;2931:10;2926:3;2922:20;2919:1;2912:31;2962:4;2959:1;2952:15;2986:4;2983:1;2976:15;3002:632;3067:5;3097:18;3138:2;3130:6;3127:14;3124:40;;;3144:18;;:::i;:::-;3219:2;3213:9;3187:2;3273:15;;-1:-1:-1;;3269:24:1;;;3295:2;3265:33;3261:42;3249:55;;;3319:18;;;3339:22;;;3316:46;3313:72;;;3365:18;;:::i;:::-;3405:10;3401:2;3394:22;3434:6;3425:15;;3464:6;3456;3449:22;3504:3;3495:6;3490:3;3486:16;3483:25;3480:45;;;3521:1;3518;3511:12;3480:45;3571:6;3566:3;3559:4;3551:6;3547:17;3534:44;3626:1;3619:4;3610:6;3602;3598:19;3594:30;3587:41;;;;3002:632;;;;;:::o;3639:451::-;3708:6;3761:2;3749:9;3740:7;3736:23;3732:32;3729:52;;;3777:1;3774;3767:12;3729:52;3817:9;3804:23;3850:18;3842:6;3839:30;3836:50;;;3882:1;3879;3872:12;3836:50;3905:22;;3958:4;3950:13;;3946:27;-1:-1:-1;3936:55:1;;3987:1;3984;3977:12;3936:55;4010:74;4076:7;4071:2;4058:16;4053:2;4049;4045:11;4010:74;:::i;4095:186::-;4154:6;4207:2;4195:9;4186:7;4182:23;4178:32;4175:52;;;4223:1;4220;4213:12;4175:52;4246:29;4265:9;4246:29;:::i;4471:160::-;4536:20;;4592:13;;4585:21;4575:32;;4565:60;;4621:1;4618;4611:12;4636:180;4692:6;4745:2;4733:9;4724:7;4720:23;4716:32;4713:52;;;4761:1;4758;4751:12;4713:52;4784:26;4800:9;4784:26;:::i;4821:254::-;4886:6;4894;4947:2;4935:9;4926:7;4922:23;4918:32;4915:52;;;4963:1;4960;4953:12;4915:52;4986:29;5005:9;4986:29;:::i;:::-;4976:39;;5034:35;5065:2;5054:9;5050:18;5034:35;:::i;:::-;5024:45;;4821:254;;;;;:::o;5080:667::-;5175:6;5183;5191;5199;5252:3;5240:9;5231:7;5227:23;5223:33;5220:53;;;5269:1;5266;5259:12;5220:53;5292:29;5311:9;5292:29;:::i;:::-;5282:39;;5340:38;5374:2;5363:9;5359:18;5340:38;:::i;:::-;5330:48;;5425:2;5414:9;5410:18;5397:32;5387:42;;5480:2;5469:9;5465:18;5452:32;5507:18;5499:6;5496:30;5493:50;;;5539:1;5536;5529:12;5493:50;5562:22;;5615:4;5607:13;;5603:27;-1:-1:-1;5593:55:1;;5644:1;5641;5634:12;5593:55;5667:74;5733:7;5728:2;5715:16;5710:2;5706;5702:11;5667:74;:::i;:::-;5657:84;;;5080:667;;;;;;;:::o;5752:683::-;5847:6;5855;5863;5916:2;5904:9;5895:7;5891:23;5887:32;5884:52;;;5932:1;5929;5922:12;5884:52;5968:9;5955:23;5945:33;;6029:2;6018:9;6014:18;6001:32;6052:18;6093:2;6085:6;6082:14;6079:34;;;6109:1;6106;6099:12;6079:34;6147:6;6136:9;6132:22;6122:32;;6192:7;6185:4;6181:2;6177:13;6173:27;6163:55;;6214:1;6211;6204:12;6163:55;6254:2;6241:16;6280:2;6272:6;6269:14;6266:34;;;6296:1;6293;6286:12;6266:34;6349:7;6344:2;6334:6;6331:1;6327:14;6323:2;6319:23;6315:32;6312:45;6309:65;;;6370:1;6367;6360:12;6309:65;6401:2;6397;6393:11;6383:21;;6423:6;6413:16;;;;;5752:683;;;;;:::o;6440:260::-;6508:6;6516;6569:2;6557:9;6548:7;6544:23;6540:32;6537:52;;;6585:1;6582;6575:12;6537:52;6608:29;6627:9;6608:29;:::i;:::-;6598:39;;6656:38;6690:2;6679:9;6675:18;6656:38;:::i;6705:380::-;6784:1;6780:12;;;;6827;;;6848:61;;6902:4;6894:6;6890:17;6880:27;;6848:61;6955:2;6947:6;6944:14;6924:18;6921:38;6918:161;;7001:10;6996:3;6992:20;6989:1;6982:31;7036:4;7033:1;7026:15;7064:4;7061:1;7054:15;6918:161;;6705:380;;;:::o;7450:127::-;7511:10;7506:3;7502:20;7499:1;7492:31;7542:4;7539:1;7532:15;7566:4;7563:1;7556:15;7582:168;7622:7;7688:1;7684;7680:6;7676:14;7673:1;7670:21;7665:1;7658:9;7651:17;7647:45;7644:71;;;7695:18;;:::i;:::-;-1:-1:-1;7735:9:1;;7582:168::o;7755:217::-;7795:1;7821;7811:132;;7865:10;7860:3;7856:20;7853:1;7846:31;7900:4;7897:1;7890:15;7928:4;7925:1;7918:15;7811:132;-1:-1:-1;7957:9:1;;7755:217::o;8536:128::-;8576:3;8607:1;8603:6;8600:1;8597:13;8594:39;;;8613:18;;:::i;:::-;-1:-1:-1;8649:9:1;;8536:128::o;9144:545::-;9246:2;9241:3;9238:11;9235:448;;;9282:1;9307:5;9303:2;9296:17;9352:4;9348:2;9338:19;9422:2;9410:10;9406:19;9403:1;9399:27;9393:4;9389:38;9458:4;9446:10;9443:20;9440:47;;;-1:-1:-1;9481:4:1;9440:47;9536:2;9531:3;9527:12;9524:1;9520:20;9514:4;9510:31;9500:41;;9591:82;9609:2;9602:5;9599:13;9591:82;;;9654:17;;;9635:1;9624:13;9591:82;;9865:1352;9991:3;9985:10;10018:18;10010:6;10007:30;10004:56;;;10040:18;;:::i;:::-;10069:97;10159:6;10119:38;10151:4;10145:11;10119:38;:::i;:::-;10113:4;10069:97;:::i;:::-;10221:4;;10285:2;10274:14;;10302:1;10297:663;;;;11004:1;11021:6;11018:89;;;-1:-1:-1;11073:19:1;;;11067:26;11018:89;-1:-1:-1;;9822:1:1;9818:11;;;9814:24;9810:29;9800:40;9846:1;9842:11;;;9797:57;11120:81;;10267:944;;10297:663;9091:1;9084:14;;;9128:4;9115:18;;-1:-1:-1;;10333:20:1;;;10451:236;10465:7;10462:1;10459:14;10451:236;;;10554:19;;;10548:26;10533:42;;10646:27;;;;10614:1;10602:14;;;;10481:19;;10451:236;;;10455:3;10715:6;10706:7;10703:19;10700:201;;;10776:19;;;10770:26;-1:-1:-1;;10859:1:1;10855:14;;;10871:3;10851:24;10847:37;10843:42;10828:58;10813:74;;10700:201;-1:-1:-1;;;;;10947:1:1;10931:14;;;10927:22;10914:36;;-1:-1:-1;9865:1352:1:o;12846:470::-;13025:3;13063:6;13057:13;13079:53;13125:6;13120:3;13113:4;13105:6;13101:17;13079:53;:::i;:::-;13195:13;;13154:16;;;;13217:57;13195:13;13154:16;13251:4;13239:17;;13217:57;:::i;:::-;13290:20;;12846:470;-1:-1:-1;;;;12846:470:1:o;14089:489::-;-1:-1:-1;;;;;14358:15:1;;;14340:34;;14410:15;;14405:2;14390:18;;14383:43;14457:2;14442:18;;14435:34;;;14505:3;14500:2;14485:18;;14478:31;;;14283:4;;14526:46;;14552:19;;14544:6;14526:46;:::i;:::-;14518:54;14089:489;-1:-1:-1;;;;;;14089:489:1:o;14583:249::-;14652:6;14705:2;14693:9;14684:7;14680:23;14676:32;14673:52;;;14721:1;14718;14711:12;14673:52;14753:9;14747:16;14772:30;14796:5;14772:30;:::i;14837:127::-;14898:10;14893:3;14889:20;14886:1;14879:31;14929:4;14926:1;14919:15;14953:4;14950:1;14943:15;14969:135;15008:3;15029:17;;;15026:43;;15049:18;;:::i;:::-;-1:-1:-1;15096:1:1;15085:13;;14969:135::o

Swarm Source

ipfs://a4a2edd93d5c09e8657a4dceecebc54d4857a576275b849428e6f284ca5dfcc3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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