ETH Price: $3,809.11 (+5.29%)

Token

Beings (BEINGS)
 

Overview

Max Total Supply

5,615 BEINGS

Holders

2,245

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 BEINGS
0xcc2b438a6945ecae97babb08f8db504335045d09
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

5615 Beings Collection. “Bringing colors back to the DOT”.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BeingsNFT

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-14
*/

// File: Beings/IERC721A.sol


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

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
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();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of 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 through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

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

    // ==============================
    //            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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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
    ) external;

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

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

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

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

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

    // ==============================
    //        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 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// File: Beings/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that 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;
    }

    // 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 tokenId of the next token 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(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    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 virtual 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 virtual 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 virtual 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;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

    /**
     * @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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    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 '';
    }

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

    /**
     * @dev See {IERC721-approve}.
     */
    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 See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    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 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 (`_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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, 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 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 (to == address(0)) revert MintToZeroAddress();
        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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(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)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * 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) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool 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))
                }
            }
        }
    }

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

    /**
     * @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 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 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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 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: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}
// 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: @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: Beings/BeingsNFT.sol


pragma solidity ^0.8.12;
//@author DavidNazareno
//@title  Beings NFT





contract BeingsNFT is Ownable, ERC721A {
    using Strings for uint256;

    enum BeingsState {
        NONE,
        WHITELISTSALE,
        PREMINTSALE,
        PUBLICSALE,
        SOLDOUT,
        REVEAL
    }

    BeingsState public currentState;

    string public baseURI;
    string public notRevealURI;

    uint256 private constant MAX_SUPPLY = 5555;
    uint256 private constant MAX_WHITELIST = 6100;
    uint256 private constant MAX_PREMINT = 300;
    uint256 private constant SALES_PRICE = 0 ether;
    uint256 private constant MAX_PER_WALLET = 1;

    address public teamAddress;
    bytes32 public whitelistMerkleRoot;
    bytes32 public premintMerkleRoot;
 
    mapping(address => uint256) public amountperWallet;
 

    constructor(
        address _team,
        bytes32 _whitelistMerkleRoot,
        bytes32 _premintMerkleRoot,
        string memory _baseURI,
        string memory _notRevealURI
    ) ERC721A("Beings", "BEINGS") {
        teamAddress = _team;
        whitelistMerkleRoot = _whitelistMerkleRoot;
        premintMerkleRoot = _premintMerkleRoot;
        baseURI = _baseURI;
        notRevealURI = _notRevealURI;
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    modifier atState(BeingsState state) {
        require(currentState == state, "Wait dude not is the moment");
        _;
    }

    modifier validateMemberAddress(
        bytes32[] calldata _merkleProof,
        bytes32 _merkleRoot
    ) {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(
            MerkleProof.verify(_merkleProof, _merkleRoot, leaf),
            "You are not a member"
        );
        _;
    }

    modifier validateSupply(uint256 _maxSupply) {
        require(
            totalSupply() + MAX_PER_WALLET <= _maxSupply,
            "Max supply exceeded"
        );
        _;
    }

  

    modifier validateMintPerWallet() {
        require(
            amountperWallet[msg.sender] < MAX_PER_WALLET,
            "You can only get 1 NFT on the Sale"
        );
        _;
    }

    function WhiteListMint(bytes32[] calldata _proof)
        external
        payable
        callerIsUser
        atState(BeingsState.WHITELISTSALE)
        validateMintPerWallet
        validateSupply(MAX_WHITELIST)
        validateMemberAddress(_proof, whitelistMerkleRoot)
     
    {
        amountperWallet[msg.sender] += MAX_PER_WALLET;
        _safeMint(msg.sender, MAX_PER_WALLET);
    }

    function PreMint(bytes32[] calldata _proof)
        external
        payable
        callerIsUser
        atState(BeingsState.PREMINTSALE)
        validateMintPerWallet
        validateSupply(MAX_PREMINT + MAX_WHITELIST)
        validateMemberAddress(_proof, premintMerkleRoot)
        
    {
        amountperWallet[msg.sender] += MAX_PER_WALLET;
        _safeMint(msg.sender, MAX_PER_WALLET);
    }

    function PublicSaleMint()
        external
        payable
        callerIsUser
        atState(BeingsState.PUBLICSALE)
        validateSupply(MAX_SUPPLY)
        validateMintPerWallet
  
    {
        amountperWallet[msg.sender] += MAX_PER_WALLET;
        _safeMint(msg.sender, MAX_PER_WALLET);
    }

    function TeamMint(uint256 _maxTeamMint) external payable onlyOwner {
        _safeMint(teamAddress, _maxTeamMint);
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {

         require(_exists(_tokenId), "URI query for nonexistent token");

        if (currentState != BeingsState.REVEAL) {
            return string(notRevealURI);
        }
        require(_exists(_tokenId), "URI query for nonexistent token");
        return string(abi.encodePacked(baseURI, (_tokenId+1).toString(), ".json"));
    }

    function withdrawAll(address _wallet) external onlyOwner {
        uint256 balance = address(this).balance;
        payable(_wallet).transfer(balance);
    }

    function setTeamAddress(address _team) external onlyOwner {
        teamAddress = _team;
    }



    function setBaseUri(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setBeingsState(uint256 _step) external onlyOwner {
        currentState = BeingsState(_step);
    }

    function setNotRevealURI(string memory _uri) external onlyOwner {
        notRevealURI = _uri;
    }

    function setWhitelistMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        whitelistMerkleRoot = _merkleRoot;
    }

    function setPremintMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        premintMerkleRoot = _merkleRoot;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_team","type":"address"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_premintMerkleRoot","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_notRevealURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"PreMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PublicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTeamMint","type":"uint256"}],"name":"TeamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"WhiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum BeingsNFT.BeingsState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setBeingsState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setNotRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setPremintMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_team","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200231f3803806200231f8339810160408190526200003491620002e2565b604051806040016040528060068152602001654265696e677360d01b815250604051806040016040528060068152602001654245494e475360d01b8152506200008c620000866200011b60201b60201c565b6200011f565b8151620000a19060039060208501906200016f565b508051620000b79060049060208401906200016f565b5060006001555050600c80546001600160a01b0319166001600160a01b038716179055600d849055600e8390558151620000f990600a9060208501906200016f565b5080516200010f90600b9060208401906200016f565b505050505050620003be565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200017d9062000381565b90600052602060002090601f016020900481019282620001a15760008555620001ec565b82601f10620001bc57805160ff1916838001178555620001ec565b82800160010185558215620001ec579182015b82811115620001ec578251825591602001919060010190620001cf565b50620001fa929150620001fe565b5090565b5b80821115620001fa5760008155600101620001ff565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023d57600080fd5b81516001600160401b03808211156200025a576200025a62000215565b604051601f8301601f19908116603f0116810190828211818310171562000285576200028562000215565b81604052838152602092508683858801011115620002a257600080fd5b600091505b83821015620002c65785820183015181830184015290820190620002a7565b83821115620002d85760008385830101525b9695505050505050565b600080600080600060a08688031215620002fb57600080fd5b85516001600160a01b03811681146200031357600080fd5b60208701516040880151606089015192975090955093506001600160401b03808211156200034057600080fd5b6200034e89838a016200022b565b935060808801519150808211156200036557600080fd5b5062000374888289016200022b565b9150509295509295909350565b600181811c908216806200039657607f821691505b60208210811415620003b857634e487b7160e01b600052602260045260246000fd5b50919050565b611f5180620003ce6000396000f3fe6080604052600436106102045760003560e01c806370a0823111610118578063b88d4fde116100a0578063d021aa501161006f578063d021aa501461059f578063e8dc4ad8146105b4578063e985e9c5146105d4578063f2fde38b1461061d578063fa09e6301461063d57600080fd5b8063b88d4fde1461051f578063bd32fb661461053f578063c87b56dd1461055f578063cbc70b6a1461057f57600080fd5b806395d89b41116100e757806395d89b41146104ac578063a0bcfc7f146104c1578063a22cb465146104e1578063aa98e0c614610501578063b73a7eb31461051757600080fd5b806370a0823114610446578063715018a6146104665780637e0c7fc51461047b5780638da5cb5b1461048e57600080fd5b80631a982c991161019b5780635accac991161016a5780635accac99146103be5780635cc69bb9146103de5780636352211e146103f15780636690864e146104115780636c0360eb1461043157600080fd5b80631a982c99146103315780631c75f0851461035e57806323b872dd1461037e57806342842e0e1461039e57600080fd5b8063095ea7b3116101d7578063095ea7b3146102ad5780630a37e6bc146102cd5780630c3f6acf146102f157806318160ddd1461031857600080fd5b806301ffc9a71461020957806304d695711461023e57806306fdde0314610253578063081812fc14610275575b600080fd5b34801561021557600080fd5b5061022961022436600461186d565b61065d565b60405190151581526020015b60405180910390f35b61025161024c36600461188a565b6106af565b005b34801561025f57600080fd5b50610268610877565b6040516102359190611957565b34801561028157600080fd5b5061029561029036600461196a565b610909565b6040516001600160a01b039091168152602001610235565b3480156102b957600080fd5b506102516102c836600461199f565b61094d565b3480156102d957600080fd5b506102e3600e5481565b604051908152602001610235565b3480156102fd57600080fd5b5060095461030b9060ff1681565b60405161023591906119df565b34801561032457600080fd5b50600254600154036102e3565b34801561033d57600080fd5b506102e361034c366004611a07565b600f6020526000908152604090205481565b34801561036a57600080fd5b50600c54610295906001600160a01b031681565b34801561038a57600080fd5b50610251610399366004611a22565b6109ed565b3480156103aa57600080fd5b506102516103b9366004611a22565b610b7e565b3480156103ca57600080fd5b506102516103d9366004611aea565b610b9e565b6102516103ec36600461188a565b610bbd565b3480156103fd57600080fd5b5061029561040c36600461196a565b610cb5565b34801561041d57600080fd5b5061025161042c366004611a07565b610cc0565b34801561043d57600080fd5b50610268610cea565b34801561045257600080fd5b506102e3610461366004611a07565b610d78565b34801561047257600080fd5b50610251610dc7565b61025161048936600461196a565b610ddb565b34801561049a57600080fd5b506000546001600160a01b0316610295565b3480156104b857600080fd5b50610268610dfc565b3480156104cd57600080fd5b506102516104dc366004611aea565b610e0b565b3480156104ed57600080fd5b506102516104fc366004611b33565b610e26565b34801561050d57600080fd5b506102e3600d5481565b610251610ebc565b34801561052b57600080fd5b5061025161053a366004611b6f565b610fad565b34801561054b57600080fd5b5061025161055a36600461196a565b610ff7565b34801561056b57600080fd5b5061026861057a36600461196a565b611004565b34801561058b57600080fd5b5061025161059a36600461196a565b61119c565b3480156105ab57600080fd5b506102686111a9565b3480156105c057600080fd5b506102516105cf36600461196a565b6111b6565b3480156105e057600080fd5b506102296105ef366004611beb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561062957600080fd5b50610251610638366004611a07565b6111f4565b34801561064957600080fd5b50610251610658366004611a07565b61126a565b60006301ffc9a760e01b6001600160e01b03198316148061068e57506380ac58cd60e01b6001600160e01b03198316145b806106a95750635b5e139f60e01b6001600160e01b03198316145b92915050565b3233146106d75760405162461bcd60e51b81526004016106ce90611c1e565b60405180910390fd5b60018060095460ff1660058111156106f1576106f16119c9565b1461070e5760405162461bcd60e51b81526004016106ce90611c55565b336000908152600f602052604090205460011161073d5760405162461bcd60e51b81526004016106ce90611c8c565b6117d48060016107506002546001540390565b61075a9190611ce4565b11156107785760405162461bcd60e51b81526004016106ce90611cfc565b600d546040516bffffffffffffffffffffffff193360601b166020820152859185916000906034015b6040516020818303038152906040528051906020012090506107f98484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508692508591506112aa9050565b61083c5760405162461bcd60e51b81526020600482015260146024820152732cb7ba9030b932903737ba10309036b2b6b132b960611b60448201526064016106ce565b336000908152600f6020526040812080546001929061085c908490611ce4565b9091555061086d90503360016112c0565b5050505050505050565b60606003805461088690611d29565b80601f01602080910402602001604051908101604052809291908181526020018280546108b290611d29565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b6000610914826112da565b610931576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061095882610cb5565b9050336001600160a01b038216146109915761097481336105ef565b610991576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109f882611302565b9050836001600160a01b0316816001600160a01b031614610a2b5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610a7857610a5b86336105ef565b610a7857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a9f57604051633a954ecd60e21b815260040160405180910390fd5b8015610aaa57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610b355760018401600081815260056020526040902054610b33576001548114610b335760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b9983838360405180602001604052806000815250610fad565b505050565b610ba661136a565b8051610bb990600b9060208401906117be565b5050565b323314610bdc5760405162461bcd60e51b81526004016106ce90611c1e565b60028060095460ff166005811115610bf657610bf66119c9565b14610c135760405162461bcd60e51b81526004016106ce90611c55565b336000908152600f6020526040902054600111610c425760405162461bcd60e51b81526004016106ce90611c8c565b610c506117d461012c611ce4565b806001610c606002546001540390565b610c6a9190611ce4565b1115610c885760405162461bcd60e51b81526004016106ce90611cfc565b600e546040516bffffffffffffffffffffffff193360601b166020820152859185916000906034016107a1565b60006106a982611302565b610cc861136a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600a8054610cf790611d29565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2390611d29565b8015610d705780601f10610d4557610100808354040283529160200191610d70565b820191906000526020600020905b815481529060010190602001808311610d5357829003601f168201915b505050505081565b60006001600160a01b038216610da1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610dcf61136a565b610dd960006113c4565b565b610de361136a565b600c54610df9906001600160a01b0316826112c0565b50565b60606004805461088690611d29565b610e1361136a565b8051610bb990600a9060208401906117be565b6001600160a01b038216331415610e505760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610edb5760405162461bcd60e51b81526004016106ce90611c1e565b60038060095460ff166005811115610ef557610ef56119c9565b14610f125760405162461bcd60e51b81526004016106ce90611c55565b6115b3806001610f256002546001540390565b610f2f9190611ce4565b1115610f4d5760405162461bcd60e51b81526004016106ce90611cfc565b336000908152600f6020526040902054600111610f7c5760405162461bcd60e51b81526004016106ce90611c8c565b336000908152600f60205260408120805460019290610f9c908490611ce4565b90915550610bb990503360016112c0565b610fb88484846109ed565b6001600160a01b0383163b15610ff157610fd484848484611414565b610ff1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610fff61136a565b600d55565b606061100f826112da565b61105b5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016106ce565b600560095460ff166005811115611074576110746119c9565b1461110b57600b805461108690611d29565b80601f01602080910402602001604051908101604052809291908181526020018280546110b290611d29565b80156110ff5780601f106110d4576101008083540402835291602001916110ff565b820191906000526020600020905b8154815290600101906020018083116110e257829003601f168201915b50505050509050919050565b611114826112da565b6111605760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016106ce565b600a611175611170846001611ce4565b6114fd565b604051602001611186929190611d80565b6040516020818303038152906040529050919050565b6111a461136a565b600e55565b600b8054610cf790611d29565b6111be61136a565b8060058111156111d0576111d06119c9565b6009805460ff191660018360058111156111ec576111ec6119c9565b021790555050565b6111fc61136a565b6001600160a01b0381166112615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ce565b610df9816113c4565b61127261136a565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b99573d6000803e3d6000fd5b6000826112b785846115fb565b14949350505050565b610bb9828260405180602001604052806000815250611648565b6000600154821080156106a9575050600090815260056020526040902054600160e01b161590565b60008160015481101561135157600081815260056020526040902054600160e01b811661134f575b8061134857506000190160008181526005602052604090205461132a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610dd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611449903390899088908890600401611e3b565b6020604051808303816000875af1925050508015611484575060408051601f3d908101601f1916820190925261148191810190611e78565b60015b6114df573d8080156114b2576040519150601f19603f3d011682016040523d82523d6000602084013e6114b7565b606091505b5080516114d7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816115215750506040805180820190915260018152600360fc1b602082015290565b8160005b811561154b578061153581611e95565b91506115449050600a83611ec6565b9150611525565b60008167ffffffffffffffff81111561156657611566611a5e565b6040519080825280601f01601f191660200182016040528015611590576020820181803683370190505b5090505b84156114f5576115a5600183611eda565b91506115b2600a86611ef1565b6115bd906030611ce4565b60f81b8183815181106115d2576115d2611f05565b60200101906001600160f81b031916908160001a9053506115f4600a86611ec6565b9450611594565b600081815b84518110156116405761162c8286838151811061161f5761161f611f05565b60200260200101516116b5565b91508061163881611e95565b915050611600565b509392505050565b61165283836116e1565b6001600160a01b0383163b15610b99576001548281035b61167c6000868380600101945086611414565b611699576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116695781600154146116ae57600080fd5b5050505050565b60008183106116d1576000828152602084905260409020611348565b5060009182526020526040902090565b6001546001600160a01b03831661170a57604051622e076360e81b815260040160405180910390fd5b816117285760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106117725760015550505050565b8280546117ca90611d29565b90600052602060002090601f0160209004810192826117ec5760008555611832565b82601f1061180557805160ff1916838001178555611832565b82800160010185558215611832579182015b82811115611832578251825591602001919060010190611817565b5061183e929150611842565b5090565b5b8082111561183e5760008155600101611843565b6001600160e01b031981168114610df957600080fd5b60006020828403121561187f57600080fd5b813561134881611857565b6000806020838503121561189d57600080fd5b823567ffffffffffffffff808211156118b557600080fd5b818501915085601f8301126118c957600080fd5b8135818111156118d857600080fd5b8660208260051b85010111156118ed57600080fd5b60209290920196919550909350505050565b60005b8381101561191a578181015183820152602001611902565b83811115610ff15750506000910152565b600081518084526119438160208601602086016118ff565b601f01601f19169290920160200192915050565b602081526000611348602083018461192b565b60006020828403121561197c57600080fd5b5035919050565b80356001600160a01b038116811461199a57600080fd5b919050565b600080604083850312156119b257600080fd5b6119bb83611983565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6020810160068310611a0157634e487b7160e01b600052602160045260246000fd5b91905290565b600060208284031215611a1957600080fd5b61134882611983565b600080600060608486031215611a3757600080fd5b611a4084611983565b9250611a4e60208501611983565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a8f57611a8f611a5e565b604051601f8501601f19908116603f01168101908282118183101715611ab757611ab7611a5e565b81604052809350858152868686011115611ad057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611afc57600080fd5b813567ffffffffffffffff811115611b1357600080fd5b8201601f81018413611b2457600080fd5b6114f584823560208401611a74565b60008060408385031215611b4657600080fd5b611b4f83611983565b915060208301358015158114611b6457600080fd5b809150509250929050565b60008060008060808587031215611b8557600080fd5b611b8e85611983565b9350611b9c60208601611983565b925060408501359150606085013567ffffffffffffffff811115611bbf57600080fd5b8501601f81018713611bd057600080fd5b611bdf87823560208401611a74565b91505092959194509250565b60008060408385031215611bfe57600080fd5b611c0783611983565b9150611c1560208401611983565b90509250929050565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252601b908201527f576169742064756465206e6f7420697320746865206d6f6d656e740000000000604082015260600190565b60208082526022908201527f596f752063616e206f6e6c79206765742031204e4654206f6e207468652053616040820152616c6560f01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611cf757611cf7611cce565b500190565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b600181811c90821680611d3d57607f821691505b60208210811415611d5e57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151611d768185602086016118ff565b9290920192915050565b600080845481600182811c915080831680611d9c57607f831692505b6020808410821415611dbc57634e487b7160e01b86526022600452602486fd5b818015611dd05760018114611de157611e0e565b60ff19861689528489019650611e0e565b60008b81526020902060005b86811015611e065781548b820152908501908301611ded565b505084890196505b505050505050611e32611e218286611d64565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6e9083018461192b565b9695505050505050565b600060208284031215611e8a57600080fd5b815161134881611857565b6000600019821415611ea957611ea9611cce565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611ed557611ed5611eb0565b500490565b600082821015611eec57611eec611cce565b500390565b600082611f0057611f00611eb0565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212208560d150e48519a89f58d79158af93e9a3ee91e9d3bfeeedefa45ce200abe85564736f6c634300080c0033000000000000000000000000848ec3d3dff83b7ebdb156fe1154528349d7ba81b7d80485abd0c7e30f142d2c357318b3d066d5eb6488caf1b2e7556360ab568461898d3aba825dd12df4bbd7022f36d42953b1aeec0dece11dee7f256c11a32000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5976475a437870726f34516262636534575057364570757445626a6b44636e674b6b316a48734d667a4177342f000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d556b3966713457365938334155616131397074776166433759595946745a736238774647516d656e475235620000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c806370a0823111610118578063b88d4fde116100a0578063d021aa501161006f578063d021aa501461059f578063e8dc4ad8146105b4578063e985e9c5146105d4578063f2fde38b1461061d578063fa09e6301461063d57600080fd5b8063b88d4fde1461051f578063bd32fb661461053f578063c87b56dd1461055f578063cbc70b6a1461057f57600080fd5b806395d89b41116100e757806395d89b41146104ac578063a0bcfc7f146104c1578063a22cb465146104e1578063aa98e0c614610501578063b73a7eb31461051757600080fd5b806370a0823114610446578063715018a6146104665780637e0c7fc51461047b5780638da5cb5b1461048e57600080fd5b80631a982c991161019b5780635accac991161016a5780635accac99146103be5780635cc69bb9146103de5780636352211e146103f15780636690864e146104115780636c0360eb1461043157600080fd5b80631a982c99146103315780631c75f0851461035e57806323b872dd1461037e57806342842e0e1461039e57600080fd5b8063095ea7b3116101d7578063095ea7b3146102ad5780630a37e6bc146102cd5780630c3f6acf146102f157806318160ddd1461031857600080fd5b806301ffc9a71461020957806304d695711461023e57806306fdde0314610253578063081812fc14610275575b600080fd5b34801561021557600080fd5b5061022961022436600461186d565b61065d565b60405190151581526020015b60405180910390f35b61025161024c36600461188a565b6106af565b005b34801561025f57600080fd5b50610268610877565b6040516102359190611957565b34801561028157600080fd5b5061029561029036600461196a565b610909565b6040516001600160a01b039091168152602001610235565b3480156102b957600080fd5b506102516102c836600461199f565b61094d565b3480156102d957600080fd5b506102e3600e5481565b604051908152602001610235565b3480156102fd57600080fd5b5060095461030b9060ff1681565b60405161023591906119df565b34801561032457600080fd5b50600254600154036102e3565b34801561033d57600080fd5b506102e361034c366004611a07565b600f6020526000908152604090205481565b34801561036a57600080fd5b50600c54610295906001600160a01b031681565b34801561038a57600080fd5b50610251610399366004611a22565b6109ed565b3480156103aa57600080fd5b506102516103b9366004611a22565b610b7e565b3480156103ca57600080fd5b506102516103d9366004611aea565b610b9e565b6102516103ec36600461188a565b610bbd565b3480156103fd57600080fd5b5061029561040c36600461196a565b610cb5565b34801561041d57600080fd5b5061025161042c366004611a07565b610cc0565b34801561043d57600080fd5b50610268610cea565b34801561045257600080fd5b506102e3610461366004611a07565b610d78565b34801561047257600080fd5b50610251610dc7565b61025161048936600461196a565b610ddb565b34801561049a57600080fd5b506000546001600160a01b0316610295565b3480156104b857600080fd5b50610268610dfc565b3480156104cd57600080fd5b506102516104dc366004611aea565b610e0b565b3480156104ed57600080fd5b506102516104fc366004611b33565b610e26565b34801561050d57600080fd5b506102e3600d5481565b610251610ebc565b34801561052b57600080fd5b5061025161053a366004611b6f565b610fad565b34801561054b57600080fd5b5061025161055a36600461196a565b610ff7565b34801561056b57600080fd5b5061026861057a36600461196a565b611004565b34801561058b57600080fd5b5061025161059a36600461196a565b61119c565b3480156105ab57600080fd5b506102686111a9565b3480156105c057600080fd5b506102516105cf36600461196a565b6111b6565b3480156105e057600080fd5b506102296105ef366004611beb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561062957600080fd5b50610251610638366004611a07565b6111f4565b34801561064957600080fd5b50610251610658366004611a07565b61126a565b60006301ffc9a760e01b6001600160e01b03198316148061068e57506380ac58cd60e01b6001600160e01b03198316145b806106a95750635b5e139f60e01b6001600160e01b03198316145b92915050565b3233146106d75760405162461bcd60e51b81526004016106ce90611c1e565b60405180910390fd5b60018060095460ff1660058111156106f1576106f16119c9565b1461070e5760405162461bcd60e51b81526004016106ce90611c55565b336000908152600f602052604090205460011161073d5760405162461bcd60e51b81526004016106ce90611c8c565b6117d48060016107506002546001540390565b61075a9190611ce4565b11156107785760405162461bcd60e51b81526004016106ce90611cfc565b600d546040516bffffffffffffffffffffffff193360601b166020820152859185916000906034015b6040516020818303038152906040528051906020012090506107f98484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508692508591506112aa9050565b61083c5760405162461bcd60e51b81526020600482015260146024820152732cb7ba9030b932903737ba10309036b2b6b132b960611b60448201526064016106ce565b336000908152600f6020526040812080546001929061085c908490611ce4565b9091555061086d90503360016112c0565b5050505050505050565b60606003805461088690611d29565b80601f01602080910402602001604051908101604052809291908181526020018280546108b290611d29565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b6000610914826112da565b610931576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061095882610cb5565b9050336001600160a01b038216146109915761097481336105ef565b610991576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006109f882611302565b9050836001600160a01b0316816001600160a01b031614610a2b5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610a7857610a5b86336105ef565b610a7857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a9f57604051633a954ecd60e21b815260040160405180910390fd5b8015610aaa57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610b355760018401600081815260056020526040902054610b33576001548114610b335760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610b9983838360405180602001604052806000815250610fad565b505050565b610ba661136a565b8051610bb990600b9060208401906117be565b5050565b323314610bdc5760405162461bcd60e51b81526004016106ce90611c1e565b60028060095460ff166005811115610bf657610bf66119c9565b14610c135760405162461bcd60e51b81526004016106ce90611c55565b336000908152600f6020526040902054600111610c425760405162461bcd60e51b81526004016106ce90611c8c565b610c506117d461012c611ce4565b806001610c606002546001540390565b610c6a9190611ce4565b1115610c885760405162461bcd60e51b81526004016106ce90611cfc565b600e546040516bffffffffffffffffffffffff193360601b166020820152859185916000906034016107a1565b60006106a982611302565b610cc861136a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600a8054610cf790611d29565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2390611d29565b8015610d705780601f10610d4557610100808354040283529160200191610d70565b820191906000526020600020905b815481529060010190602001808311610d5357829003601f168201915b505050505081565b60006001600160a01b038216610da1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610dcf61136a565b610dd960006113c4565b565b610de361136a565b600c54610df9906001600160a01b0316826112c0565b50565b60606004805461088690611d29565b610e1361136a565b8051610bb990600a9060208401906117be565b6001600160a01b038216331415610e505760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610edb5760405162461bcd60e51b81526004016106ce90611c1e565b60038060095460ff166005811115610ef557610ef56119c9565b14610f125760405162461bcd60e51b81526004016106ce90611c55565b6115b3806001610f256002546001540390565b610f2f9190611ce4565b1115610f4d5760405162461bcd60e51b81526004016106ce90611cfc565b336000908152600f6020526040902054600111610f7c5760405162461bcd60e51b81526004016106ce90611c8c565b336000908152600f60205260408120805460019290610f9c908490611ce4565b90915550610bb990503360016112c0565b610fb88484846109ed565b6001600160a01b0383163b15610ff157610fd484848484611414565b610ff1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610fff61136a565b600d55565b606061100f826112da565b61105b5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016106ce565b600560095460ff166005811115611074576110746119c9565b1461110b57600b805461108690611d29565b80601f01602080910402602001604051908101604052809291908181526020018280546110b290611d29565b80156110ff5780601f106110d4576101008083540402835291602001916110ff565b820191906000526020600020905b8154815290600101906020018083116110e257829003601f168201915b50505050509050919050565b611114826112da565b6111605760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016106ce565b600a611175611170846001611ce4565b6114fd565b604051602001611186929190611d80565b6040516020818303038152906040529050919050565b6111a461136a565b600e55565b600b8054610cf790611d29565b6111be61136a565b8060058111156111d0576111d06119c9565b6009805460ff191660018360058111156111ec576111ec6119c9565b021790555050565b6111fc61136a565b6001600160a01b0381166112615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ce565b610df9816113c4565b61127261136a565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b99573d6000803e3d6000fd5b6000826112b785846115fb565b14949350505050565b610bb9828260405180602001604052806000815250611648565b6000600154821080156106a9575050600090815260056020526040902054600160e01b161590565b60008160015481101561135157600081815260056020526040902054600160e01b811661134f575b8061134857506000190160008181526005602052604090205461132a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610dd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611449903390899088908890600401611e3b565b6020604051808303816000875af1925050508015611484575060408051601f3d908101601f1916820190925261148191810190611e78565b60015b6114df573d8080156114b2576040519150601f19603f3d011682016040523d82523d6000602084013e6114b7565b606091505b5080516114d7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816115215750506040805180820190915260018152600360fc1b602082015290565b8160005b811561154b578061153581611e95565b91506115449050600a83611ec6565b9150611525565b60008167ffffffffffffffff81111561156657611566611a5e565b6040519080825280601f01601f191660200182016040528015611590576020820181803683370190505b5090505b84156114f5576115a5600183611eda565b91506115b2600a86611ef1565b6115bd906030611ce4565b60f81b8183815181106115d2576115d2611f05565b60200101906001600160f81b031916908160001a9053506115f4600a86611ec6565b9450611594565b600081815b84518110156116405761162c8286838151811061161f5761161f611f05565b60200260200101516116b5565b91508061163881611e95565b915050611600565b509392505050565b61165283836116e1565b6001600160a01b0383163b15610b99576001548281035b61167c6000868380600101945086611414565b611699576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116695781600154146116ae57600080fd5b5050505050565b60008183106116d1576000828152602084905260409020611348565b5060009182526020526040902090565b6001546001600160a01b03831661170a57604051622e076360e81b815260040160405180910390fd5b816117285760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106117725760015550505050565b8280546117ca90611d29565b90600052602060002090601f0160209004810192826117ec5760008555611832565b82601f1061180557805160ff1916838001178555611832565b82800160010185558215611832579182015b82811115611832578251825591602001919060010190611817565b5061183e929150611842565b5090565b5b8082111561183e5760008155600101611843565b6001600160e01b031981168114610df957600080fd5b60006020828403121561187f57600080fd5b813561134881611857565b6000806020838503121561189d57600080fd5b823567ffffffffffffffff808211156118b557600080fd5b818501915085601f8301126118c957600080fd5b8135818111156118d857600080fd5b8660208260051b85010111156118ed57600080fd5b60209290920196919550909350505050565b60005b8381101561191a578181015183820152602001611902565b83811115610ff15750506000910152565b600081518084526119438160208601602086016118ff565b601f01601f19169290920160200192915050565b602081526000611348602083018461192b565b60006020828403121561197c57600080fd5b5035919050565b80356001600160a01b038116811461199a57600080fd5b919050565b600080604083850312156119b257600080fd5b6119bb83611983565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b6020810160068310611a0157634e487b7160e01b600052602160045260246000fd5b91905290565b600060208284031215611a1957600080fd5b61134882611983565b600080600060608486031215611a3757600080fd5b611a4084611983565b9250611a4e60208501611983565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a8f57611a8f611a5e565b604051601f8501601f19908116603f01168101908282118183101715611ab757611ab7611a5e565b81604052809350858152868686011115611ad057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611afc57600080fd5b813567ffffffffffffffff811115611b1357600080fd5b8201601f81018413611b2457600080fd5b6114f584823560208401611a74565b60008060408385031215611b4657600080fd5b611b4f83611983565b915060208301358015158114611b6457600080fd5b809150509250929050565b60008060008060808587031215611b8557600080fd5b611b8e85611983565b9350611b9c60208601611983565b925060408501359150606085013567ffffffffffffffff811115611bbf57600080fd5b8501601f81018713611bd057600080fd5b611bdf87823560208401611a74565b91505092959194509250565b60008060408385031215611bfe57600080fd5b611c0783611983565b9150611c1560208401611983565b90509250929050565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252601b908201527f576169742064756465206e6f7420697320746865206d6f6d656e740000000000604082015260600190565b60208082526022908201527f596f752063616e206f6e6c79206765742031204e4654206f6e207468652053616040820152616c6560f01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611cf757611cf7611cce565b500190565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b600181811c90821680611d3d57607f821691505b60208210811415611d5e57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151611d768185602086016118ff565b9290920192915050565b600080845481600182811c915080831680611d9c57607f831692505b6020808410821415611dbc57634e487b7160e01b86526022600452602486fd5b818015611dd05760018114611de157611e0e565b60ff19861689528489019650611e0e565b60008b81526020902060005b86811015611e065781548b820152908501908301611ded565b505084890196505b505050505050611e32611e218286611d64565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6e9083018461192b565b9695505050505050565b600060208284031215611e8a57600080fd5b815161134881611857565b6000600019821415611ea957611ea9611cce565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611ed557611ed5611eb0565b500490565b600082821015611eec57611eec611cce565b500390565b600082611f0057611f00611eb0565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212208560d150e48519a89f58d79158af93e9a3ee91e9d3bfeeedefa45ce200abe85564736f6c634300080c0033

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

000000000000000000000000848ec3d3dff83b7ebdb156fe1154528349d7ba81b7d80485abd0c7e30f142d2c357318b3d066d5eb6488caf1b2e7556360ab568461898d3aba825dd12df4bbd7022f36d42953b1aeec0dece11dee7f256c11a32000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5976475a437870726f34516262636534575057364570757445626a6b44636e674b6b316a48734d667a4177342f000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d556b3966713457365938334155616131397074776166433759595946745a736238774647516d656e475235620000000000000000000000

-----Decoded View---------------
Arg [0] : _team (address): 0x848Ec3d3DFf83b7EBdb156fE1154528349D7ba81
Arg [1] : _whitelistMerkleRoot (bytes32): 0xb7d80485abd0c7e30f142d2c357318b3d066d5eb6488caf1b2e7556360ab5684
Arg [2] : _premintMerkleRoot (bytes32): 0x61898d3aba825dd12df4bbd7022f36d42953b1aeec0dece11dee7f256c11a320
Arg [3] : _baseURI (string): ipfs://QmYvGZCxpro4Qbbce4WPW6EputEbjkDcngKk1jHsMfzAw4/
Arg [4] : _notRevealURI (string): ipfs://QmUk9fq4W6Y83AUaa19ptwafC7YYYFtZsb8wFGQmenGR5b

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 000000000000000000000000848ec3d3dff83b7ebdb156fe1154528349d7ba81
Arg [1] : b7d80485abd0c7e30f142d2c357318b3d066d5eb6488caf1b2e7556360ab5684
Arg [2] : 61898d3aba825dd12df4bbd7022f36d42953b1aeec0dece11dee7f256c11a320
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d5976475a437870726f3451626263653457505736457075
Arg [7] : 7445626a6b44636e674b6b316a48734d667a4177342f00000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [9] : 697066733a2f2f516d556b396671345736593833415561613139707477616643
Arg [10] : 3759595946745a736238774647516d656e475235620000000000000000000000


Deployed Bytecode Sourcemap

59755:4844:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14716:615;;;;;;;;;;-1:-1:-1;14716:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;14716:615:0;;;;;;;;61956:405;;;;;;:::i;:::-;;:::i;:::-;;20435:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22395:218::-;;;;;;;;;;-1:-1:-1;22395:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2334:32:1;;;2316:51;;2304:2;2289:18;22395:218:0;2170:203:1;21929:400:0;;;;;;;;;;-1:-1:-1;21929:400:0;;;;;:::i;:::-;;:::i;60416:32::-;;;;;;;;;;;;;;;;;;;2961:25:1;;;2949:2;2934:18;60416:32:0;2815:177:1;59984:31:0;;;;;;;;;;-1:-1:-1;59984:31:0;;;;;;;;;;;;;;;:::i;13746:323::-;;;;;;;;;;-1:-1:-1;14020:12:0;;14004:13;;:28;13746:323;;60458:50;;;;;;;;;;-1:-1:-1;60458:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;60342:26;;;;;;;;;;-1:-1:-1;60342:26:0;;;;-1:-1:-1;;;;;60342:26:0;;;31534:2800;;;;;;;;;;-1:-1:-1;31534:2800:0;;;;;:::i;:::-;;:::i;23299:185::-;;;;;;;;;;-1:-1:-1;23299:185:0;;;;;:::i;:::-;;:::i;64234:102::-;;;;;;;;;;-1:-1:-1;64234:102:0;;;;;:::i;:::-;;:::i;62369:412::-;;;;;;:::i;:::-;;:::i;20216:152::-;;;;;;;;;;-1:-1:-1;20216:152:0;;;;;:::i;:::-;;:::i;63900:96::-;;;;;;;;;;-1:-1:-1;63900:96:0;;;;;:::i;:::-;;:::i;60024:21::-;;;;;;;;;;;;;:::i;15395:232::-;;;;;;;;;;-1:-1:-1;15395:232:0;;;;;:::i;:::-;;:::i;58820:103::-;;;;;;;;;;;;;:::i;63109:122::-;;;;;;:::i;:::-;;:::i;58172:87::-;;;;;;;;;;-1:-1:-1;58218:7:0;58245:6;-1:-1:-1;;;;;58245:6:0;58172:87;;20604:104;;;;;;;;;;;;;:::i;64008:100::-;;;;;;;;;;-1:-1:-1;64008:100:0;;;;;:::i;:::-;;:::i;22685:308::-;;;;;;;;;;-1:-1:-1;22685:308:0;;;;;:::i;:::-;;:::i;60375:34::-;;;;;;;;;;;;;;;;62789:312;;;:::i;23555:399::-;;;;;;;;;;-1:-1:-1;23555:399:0;;;;;:::i;:::-;;:::i;64344:124::-;;;;;;;;;;-1:-1:-1;64344:124:0;;;;;:::i;:::-;;:::i;63239:485::-;;;;;;;;;;-1:-1:-1;63239:485:0;;;;;:::i;:::-;;:::i;64476:120::-;;;;;;;;;;-1:-1:-1;64476:120:0;;;;;:::i;:::-;;:::i;60052:26::-;;;;;;;;;;;;;:::i;64116:110::-;;;;;;;;;;-1:-1:-1;64116:110:0;;;;;:::i;:::-;;:::i;23064:164::-;;;;;;;;;;-1:-1:-1;23064:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23185:25:0;;;23161:4;23185:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23064:164;59078:201;;;;;;;;;;-1:-1:-1;59078:201:0;;;;;:::i;:::-;;:::i;63732:160::-;;;;;;;;;;-1:-1:-1;63732:160:0;;;;;:::i;:::-;;:::i;14716:615::-;14801:4;-1:-1:-1;;;;;;;;;15101:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15178:25:0;;;15101:102;:179;;;-1:-1:-1;;;;;;;;;;15255:25:0;;;15101:179;15081:199;14716:615;-1:-1:-1;;14716:615:0:o;61956:405::-;60997:9;61010:10;60997:23;60989:66;;;;-1:-1:-1;;;60989:66:0;;;;;;;:::i;:::-;;;;;;;;;62080:25:::1;::::0;61138:12:::1;::::0;::::1;;:21;::::0;::::1;;;;;;:::i;:::-;;61130:61;;;;-1:-1:-1::0;;;61130:61:0::1;;;;;;;:::i;:::-;61838:10:::2;61822:27;::::0;;;:15:::2;:27;::::0;;;;;60332:1:::2;-1:-1:-1::0;61800:128:0::2;;;;-1:-1:-1::0;;;61800:128:0::2;;;;;;;:::i;:::-;60177:4:::3;61665:10;60332:1;61631:13;14020:12:::0;;14004:13;;:28;;13746:323;61631:13:::3;:30;;;;:::i;:::-;:44;;61609:113;;;;-1:-1:-1::0;;;61609:113:0::3;;;;;;;:::i;:::-;62216:19:::4;::::0;61365:28:::4;::::0;-1:-1:-1;;61382:10:0::4;8763:2:1::0;8759:15;8755:53;61365:28:0::4;::::0;::::4;8743:66:1::0;62208:6:0;;;;61340:12:::4;::::0;8825::1;;61365:28:0::4;;;;;;;;;;;;;61355:39;;;;;;61340:54;;61427:51;61446:12;;61427:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;::::0;;;;-1:-1:-1;61460:11:0;;-1:-1:-1;61473:4:0;;-1:-1:-1;61427:18:0::4;::::0;-1:-1:-1;61427:51:0:i:4;:::-;61405:121;;;::::0;-1:-1:-1;;;61405:121:0;;9050:2:1;61405:121:0::4;::::0;::::4;9032:21:1::0;9089:2;9069:18;;;9062:30;-1:-1:-1;;;9108:18:1;;;9101:50;9168:18;;61405:121:0::4;8848:344:1::0;61405:121:0::4;62276:10:::5;62260:27;::::0;;;:15:::5;:27;::::0;;;;:45;;60332:1:::5;::::0;62260:27;:45:::5;::::0;60332:1;;62260:45:::5;:::i;:::-;::::0;;;-1:-1:-1;62316:37:0::5;::::0;-1:-1:-1;62326:10:0::5;60332:1;62316:9;:37::i;:::-;61329:217:::4;61733:1;;;61939::::3;61066::::1;61956:405:::0;;:::o;20435:100::-;20489:13;20522:5;20515:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20435:100;:::o;22395:218::-;22471:7;22496:16;22504:7;22496;:16::i;:::-;22491:64;;22521:34;;-1:-1:-1;;;22521:34:0;;;;;;;;;;;22491:64;-1:-1:-1;22575:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;22575:30:0;;22395:218::o;21929:400::-;22010:13;22026:16;22034:7;22026;:16::i;:::-;22010:32;-1:-1:-1;42725:10:0;-1:-1:-1;;;;;22059:28:0;;;22055:175;;22107:44;22124:5;42725:10;23064:164;:::i;22107:44::-;22102:128;;22179:35;;-1:-1:-1;;;22179:35:0;;;;;;;;;;;22102:128;22242:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;22242:35:0;-1:-1:-1;;;;;22242:35:0;;;;;;;;;22293:28;;22242:24;;22293:28;;;;;;;21999:330;21929:400;;:::o;31534:2800::-;31668:27;31698;31717:7;31698:18;:27::i;:::-;31668:57;;31783:4;-1:-1:-1;;;;;31742:45:0;31758:19;-1:-1:-1;;;;;31742:45:0;;31738:86;;31796:28;;-1:-1:-1;;;31796:28:0;;;;;;;;;;;31738:86;31838:27;30256:24;;;:15;:24;;;;;30478:26;;42725:10;31231:30;;;-1:-1:-1;;;;;30929:26:0;;31210:19;;;31207:55;32017:174;;32104:43;32121:4;42725:10;23064:164;:::i;32104:43::-;32099:92;;32156:35;;-1:-1:-1;;;32156:35:0;;;;;;;;;;;32099:92;-1:-1:-1;;;;;32208:16:0;;32204:52;;32233:23;;-1:-1:-1;;;32233:23:0;;;;;;;;;;;32204:52;32405:15;32402:160;;;32545:1;32524:19;32517:30;32402:160;-1:-1:-1;;;;;32940:24:0;;;;;;;:18;:24;;;;;;32938:26;;-1:-1:-1;;32938:26:0;;;33009:22;;;;;;;;;33007:24;;-1:-1:-1;33007:24:0;;;20115:11;20091:22;20087:40;20074:62;-1:-1:-1;;;20074:62:0;33302:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;33596:46:0;;33592:626;;33700:1;33690:11;;33668:19;33823:30;;;:17;:30;;;;;;33819:384;;33961:13;;33946:11;:28;33942:242;;34108:30;;;;:17;:30;;;;;:52;;;33942:242;33649:569;33592:626;34265:7;34261:2;-1:-1:-1;;;;;34246:27:0;34255:4;-1:-1:-1;;;;;34246:27:0;;;;;;;;;;;31657:2677;;;31534:2800;;;:::o;23299:185::-;23437:39;23454:4;23460:2;23464:7;23437:39;;;;;;;;;;;;:16;:39::i;:::-;23299:185;;;:::o;64234:102::-;58058:13;:11;:13::i;:::-;64309:19;;::::1;::::0;:12:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;;64234:102:::0;:::o;62369:412::-;60997:9;61010:10;60997:23;60989:66;;;;-1:-1:-1;;;60989:66:0;;;;;;;:::i;:::-;62487:23:::1;::::0;61138:12:::1;::::0;::::1;;:21;::::0;::::1;;;;;;:::i;:::-;;61130:61;;;;-1:-1:-1::0;;;61130:61:0::1;;;;;;;:::i;:::-;61838:10:::2;61822:27;::::0;;;:15:::2;:27;::::0;;;;;60332:1:::2;-1:-1:-1::0;61800:128:0::2;;;;-1:-1:-1::0;;;61800:128:0::2;;;;;;;:::i;:::-;62567:27:::3;60177:4;60227:3;62567:27;:::i;:::-;61665:10;60332:1;61631:13;14020:12:::0;;14004:13;;:28;;13746:323;61631:13:::3;:30;;;;:::i;:::-;:44;;61609:113;;;;-1:-1:-1::0;;;61609:113:0::3;;;;;;;:::i;:::-;62635:17:::4;::::0;61365:28:::4;::::0;-1:-1:-1;;61382:10:0::4;8763:2:1::0;8759:15;8755:53;61365:28:0::4;::::0;::::4;8743:66:1::0;62627:6:0;;;;61340:12:::4;::::0;8825::1;;61365:28:0::4;8614:229:1::0;20216:152:0;20288:7;20331:27;20350:7;20331:18;:27::i;63900:96::-;58058:13;:11;:13::i;:::-;63969:11:::1;:19:::0;;-1:-1:-1;;;;;;63969:19:0::1;-1:-1:-1::0;;;;;63969:19:0;;;::::1;::::0;;;::::1;::::0;;63900:96::o;60024:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15395:232::-;15467:7;-1:-1:-1;;;;;15491:19:0;;15487:60;;15519:28;;-1:-1:-1;;;15519:28:0;;;;;;;;;;;15487:60;-1:-1:-1;;;;;;15565:25:0;;;;;:18;:25;;;;;;9909:13;15565:54;;15395:232::o;58820:103::-;58058:13;:11;:13::i;:::-;58885:30:::1;58912:1;58885:18;:30::i;:::-;58820:103::o:0;63109:122::-;58058:13;:11;:13::i;:::-;63197:11:::1;::::0;63187:36:::1;::::0;-1:-1:-1;;;;;63197:11:0::1;63210:12:::0;63187:9:::1;:36::i;:::-;63109:122:::0;:::o;20604:104::-;20660:13;20693:7;20686:14;;;;;:::i;64008:100::-;58058:13;:11;:13::i;:::-;64082:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;22685:308::-:0;-1:-1:-1;;;;;22784:31:0;;42725:10;22784:31;22780:61;;;22824:17;;-1:-1:-1;;;22824:17:0;;;;;;;;;;;22780:61;42725:10;22854:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22854:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22854:60:0;;;;;;;;;;22930:55;;540:41:1;;;22854:49:0;;42725:10;22930:55;;513:18:1;22930:55:0;;;;;;;22685:308;;:::o;62789:312::-;60997:9;61010:10;60997:23;60989:66;;;;-1:-1:-1;;;60989:66:0;;;;;;;:::i;:::-;62889:22:::1;::::0;61138:12:::1;::::0;::::1;;:21;::::0;::::1;;;;;;:::i;:::-;;61130:61;;;;-1:-1:-1::0;;;61130:61:0::1;;;;;;;:::i;:::-;60125:4:::2;61665:10;60332:1;61631:13;14020:12:::0;;14004:13;;:28;;13746:323;61631:13:::2;:30;;;;:::i;:::-;:44;;61609:113;;;;-1:-1:-1::0;;;61609:113:0::2;;;;;;;:::i;:::-;61838:10:::3;61822:27;::::0;;;:15:::3;:27;::::0;;;;;60332:1:::3;-1:-1:-1::0;61800:128:0::3;;;;-1:-1:-1::0;;;61800:128:0::3;;;;;;;:::i;:::-;63016:10:::4;63000:27;::::0;;;:15:::4;:27;::::0;;;;:45;;60332:1:::4;::::0;63000:27;:45:::4;::::0;60332:1;;63000:45:::4;:::i;:::-;::::0;;;-1:-1:-1;63056:37:0::4;::::0;-1:-1:-1;63066:10:0::4;60332:1;63056:9;:37::i;23555:399::-:0;23722:31;23735:4;23741:2;23745:7;23722:12;:31::i;:::-;-1:-1:-1;;;;;23768:14:0;;;:19;23764:183;;23807:56;23838:4;23844:2;23848:7;23857:5;23807:30;:56::i;:::-;23802:145;;23891:40;;-1:-1:-1;;;23891:40:0;;;;;;;;;;;23802:145;23555:399;;;;:::o;64344:124::-;58058:13;:11;:13::i;:::-;64427:19:::1;:33:::0;64344:124::o;63239:485::-;63358:13;63400:17;63408:8;63400:7;:17::i;:::-;63392:61;;;;-1:-1:-1;;;63392:61:0;;9784:2:1;63392:61:0;;;9766:21:1;9823:2;9803:18;;;9796:30;9862:33;9842:18;;;9835:61;9913:18;;63392:61:0;9582:355:1;63392:61:0;63486:18;63470:12;;;;:34;;;;;;;;:::i;:::-;;63466:94;;63535:12;63521:27;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63239:485;;;:::o;63466:94::-;63578:17;63586:8;63578:7;:17::i;:::-;63570:61;;;;-1:-1:-1;;;63570:61:0;;9784:2:1;63570:61:0;;;9766:21:1;9823:2;9803:18;;;9796:30;9862:33;9842:18;;;9835:61;9913:18;;63570:61:0;9582:355:1;63570:61:0;63673:7;63682:23;63683:10;:8;63692:1;63683:10;:::i;:::-;63682:21;:23::i;:::-;63656:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;63642:74;;63239:485;;;:::o;64476:120::-;58058:13;:11;:13::i;:::-;64557:17:::1;:31:::0;64476:120::o;60052:26::-;;;;;;;:::i;64116:110::-;58058:13;:11;:13::i;:::-;64212:5:::1;64200:18;;;;;;;;:::i;:::-;64185:12;:33:::0;;-1:-1:-1;;64185:33:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;64116:110:::0;:::o;59078:201::-;58058:13;:11;:13::i;:::-;-1:-1:-1;;;;;59167:22:0;::::1;59159:73;;;::::0;-1:-1:-1;;;59159:73:0;;11884:2:1;59159:73:0::1;::::0;::::1;11866:21:1::0;11923:2;11903:18;;;11896:30;11962:34;11942:18;;;11935:62;-1:-1:-1;;;12013:18:1;;;12006:36;12059:19;;59159:73:0::1;11682:402:1::0;59159:73:0::1;59243:28;59262:8;59243:18;:28::i;63732:160::-:0;58058:13;:11;:13::i;:::-;63850:34:::1;::::0;63818:21:::1;::::0;-1:-1:-1;;;;;63850:25:0;::::1;::::0;:34;::::1;;;::::0;63818:21;;63800:15:::1;63850:34:::0;63800:15;63850:34;63818:21;63850:25;:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;48538:190:::0;48663:4;48716;48687:25;48700:5;48707:4;48687:12;:25::i;:::-;:33;;48538:190;-1:-1:-1;;;;48538:190:0:o;24574:112::-;24651:27;24661:2;24665:8;24651:27;;;;;;;;;;;;:9;:27::i;24209:281::-;24274:4;24364:13;;24354:7;:23;24311:152;;;;-1:-1:-1;;24415:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24415:43:0;:48;;24209:281::o;17109:1129::-;17176:7;17211;17313:13;;17306:4;:20;17302:869;;;17351:14;17368:23;;;:17;:23;;;;;;-1:-1:-1;;;17457:23:0;;17453:699;;17976:113;17983:11;17976:113;;-1:-1:-1;;;18054:6:0;18036:25;;;;:17;:25;;;;;;17976:113;;;18122:6;17109:1129;-1:-1:-1;;;17109:1129:0:o;17453:699::-;17328:843;17302:869;18199:31;;-1:-1:-1;;;18199:31:0;;;;;;;;;;;58337:132;58218:7;58245:6;-1:-1:-1;;;;;58245:6:0;42725:10;58401:23;58393:68;;;;-1:-1:-1;;;58393:68:0;;12291:2:1;58393:68:0;;;12273:21:1;;;12310:18;;;12303:30;12369:34;12349:18;;;12342:62;12421:18;;58393:68:0;12089:356:1;59439:191:0;59513:16;59532:6;;-1:-1:-1;;;;;59549:17:0;;;-1:-1:-1;;;;;;59549:17:0;;;;;;59582:40;;59532:6;;;;;;;59582:40;;59513:16;59582:40;59502:128;59439:191;:::o;38285:716::-;38469:88;;-1:-1:-1;;;38469:88:0;;38448:4;;-1:-1:-1;;;;;38469:45:0;;;;;:88;;42725:10;;38536:4;;38542:7;;38551:5;;38469:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38469:88:0;;;;;;;;-1:-1:-1;;38469:88:0;;;;;;;;;;;;:::i;:::-;;;38465:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38752:13:0;;38748:235;;38798:40;;-1:-1:-1;;;38798:40:0;;;;;;;;;;;38748:235;38941:6;38935:13;38926:6;38922:2;38918:15;38911:38;38465:529;-1:-1:-1;;;;;;38628:64:0;-1:-1:-1;;;38628:64:0;;-1:-1:-1;38465:529:0;38285:716;;;;;;:::o;45252:723::-;45308:13;45529:10;45525:53;;-1:-1:-1;;45556:10:0;;;;;;;;;;;;-1:-1:-1;;;45556:10:0;;;;;45252:723::o;45525:53::-;45603:5;45588:12;45644:78;45651:9;;45644:78;;45677:8;;;;:::i;:::-;;-1:-1:-1;45700:10:0;;-1:-1:-1;45708:2:0;45700:10;;:::i;:::-;;;45644:78;;;45732:19;45764:6;45754:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45754:17:0;;45732:39;;45782:154;45789:10;;45782:154;;45816:11;45826:1;45816:11;;:::i;:::-;;-1:-1:-1;45885:10:0;45893:2;45885:5;:10;:::i;:::-;45872:24;;:2;:24;:::i;:::-;45859:39;;45842:6;45849;45842:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;45842:56:0;;;;;;;;-1:-1:-1;45913:11:0;45922:2;45913:11;;:::i;:::-;;;45782:154;;49405:296;49488:7;49531:4;49488:7;49546:118;49570:5;:12;49566:1;:16;49546:118;;;49619:33;49629:12;49643:5;49649:1;49643:8;;;;;;;;:::i;:::-;;;;;;;49619:9;:33::i;:::-;49604:48;-1:-1:-1;49584:3:0;;;;:::i;:::-;;;;49546:118;;;-1:-1:-1;49681:12:0;49405:296;-1:-1:-1;;;49405:296:0:o;25102:689::-;25233:19;25239:2;25243:8;25233:5;:19::i;:::-;-1:-1:-1;;;;;25294:14:0;;;:19;25290:483;;25348:13;;25396:14;;;25429:233;25460:62;25499:1;25503:2;25507:7;;;;;;25516:5;25460:30;:62::i;:::-;25455:167;;25558:40;;-1:-1:-1;;;25558:40:0;;;;;;;;;;;25455:167;25657:3;25649:5;:11;25429:233;;25744:3;25727:13;;:20;25723:34;;25749:8;;;25723:34;25315:458;;25102:689;;;:::o;55612:149::-;55675:7;55706:1;55702;:5;:51;;55837:13;55931:15;;;55967:4;55960:15;;;56014:4;55998:21;;55702:51;;;-1:-1:-1;55837:13:0;55931:15;;;55967:4;55960:15;56014:4;55998:21;;;55612:149::o;26064:1537::-;26160:13;;-1:-1:-1;;;;;26188:16:0;;26184:48;;26213:19;;-1:-1:-1;;;26213:19:0;;;;;;;;;;;26184:48;26247:13;26243:44;;26269:18;;-1:-1:-1;;;26269:18:0;;;;;;;;;;;26243:44;-1:-1:-1;;;;;26775:22:0;;;;;;:18;:22;;10046:2;26775:22;;:70;;26813:31;26801:44;;26775:70;;;20115:11;20091:22;20087:40;-1:-1:-1;21833:15:0;;21808:23;21804:45;20084:51;20074:62;27088:31;;;;:17;:31;;;;;:173;27106:12;27337:23;;;27375:101;27402:35;;27427:9;;;;;-1:-1:-1;;;;;27402:35:0;;;27419:1;;27402:35;;27419:1;;27402:35;27471:3;27461:7;:13;27375:101;;27492:13;:19;-1:-1:-1;23299:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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:615::-;678:6;686;739:2;727:9;718:7;714:23;710:32;707:52;;;755:1;752;745:12;707:52;795:9;782:23;824:18;865:2;857:6;854:14;851:34;;;881:1;878;871:12;851:34;919:6;908:9;904:22;894:32;;964:7;957:4;953:2;949:13;945:27;935:55;;986:1;983;976:12;935:55;1026:2;1013:16;1052:2;1044:6;1041:14;1038:34;;;1068:1;1065;1058:12;1038:34;1121:7;1116:2;1106:6;1103:1;1099:14;1095:2;1091:23;1087:32;1084:45;1081:65;;;1142:1;1139;1132:12;1081:65;1173:2;1165:11;;;;;1195:6;;-1:-1:-1;592:615:1;;-1:-1:-1;;;;592:615:1:o;1212:258::-;1284:1;1294:113;1308:6;1305:1;1302:13;1294:113;;;1384:11;;;1378:18;1365:11;;;1358:39;1330:2;1323:10;1294:113;;;1425:6;1422:1;1419:13;1416:48;;;-1:-1:-1;;1460:1:1;1442:16;;1435:27;1212:258::o;1475:269::-;1528:3;1566:5;1560:12;1593:6;1588:3;1581:19;1609:63;1665:6;1658:4;1653:3;1649:14;1642:4;1635:5;1631:16;1609:63;:::i;:::-;1726:2;1705:15;-1:-1:-1;;1701:29:1;1692:39;;;;1733:4;1688:50;;1475:269;-1:-1:-1;;1475:269:1:o;1749:231::-;1898:2;1887:9;1880:21;1861:4;1918:56;1970:2;1959:9;1955:18;1947:6;1918:56;:::i;1985:180::-;2044:6;2097:2;2085:9;2076:7;2072:23;2068:32;2065:52;;;2113:1;2110;2103:12;2065:52;-1:-1:-1;2136:23:1;;1985:180;-1:-1:-1;1985:180:1:o;2378:173::-;2446:20;;-1:-1:-1;;;;;2495:31:1;;2485:42;;2475:70;;2541:1;2538;2531:12;2475:70;2378:173;;;:::o;2556:254::-;2624:6;2632;2685:2;2673:9;2664:7;2660:23;2656:32;2653:52;;;2701:1;2698;2691:12;2653:52;2724:29;2743:9;2724:29;:::i;:::-;2714:39;2800:2;2785:18;;;;2772:32;;-1:-1:-1;;;2556:254:1:o;2997:127::-;3058:10;3053:3;3049:20;3046:1;3039:31;3089:4;3086:1;3079:15;3113:4;3110:1;3103:15;3129:344;3277:2;3262:18;;3310:1;3299:13;;3289:144;;3355:10;3350:3;3346:20;3343:1;3336:31;3390:4;3387:1;3380:15;3418:4;3415:1;3408:15;3289:144;3442:25;;;3129:344;:::o;3660:186::-;3719:6;3772:2;3760:9;3751:7;3747:23;3743:32;3740:52;;;3788:1;3785;3778:12;3740:52;3811:29;3830:9;3811:29;:::i;3851:328::-;3928:6;3936;3944;3997:2;3985:9;3976:7;3972:23;3968:32;3965:52;;;4013:1;4010;4003:12;3965:52;4036:29;4055:9;4036:29;:::i;:::-;4026:39;;4084:38;4118:2;4107:9;4103:18;4084:38;:::i;:::-;4074:48;;4169:2;4158:9;4154:18;4141:32;4131:42;;3851:328;;;;;:::o;4184:127::-;4245:10;4240:3;4236:20;4233:1;4226:31;4276:4;4273:1;4266:15;4300:4;4297:1;4290:15;4316:632;4381:5;4411:18;4452:2;4444:6;4441:14;4438:40;;;4458:18;;:::i;:::-;4533:2;4527:9;4501:2;4587:15;;-1:-1:-1;;4583:24:1;;;4609:2;4579:33;4575:42;4563:55;;;4633:18;;;4653:22;;;4630:46;4627:72;;;4679:18;;:::i;:::-;4719:10;4715:2;4708:22;4748:6;4739:15;;4778:6;4770;4763:22;4818:3;4809:6;4804:3;4800:16;4797:25;4794:45;;;4835:1;4832;4825:12;4794:45;4885:6;4880:3;4873:4;4865:6;4861:17;4848:44;4940:1;4933:4;4924:6;4916;4912:19;4908:30;4901:41;;;;4316:632;;;;;:::o;4953:451::-;5022:6;5075:2;5063:9;5054:7;5050:23;5046:32;5043:52;;;5091:1;5088;5081:12;5043:52;5131:9;5118:23;5164:18;5156:6;5153:30;5150:50;;;5196:1;5193;5186:12;5150:50;5219:22;;5272:4;5264:13;;5260:27;-1:-1:-1;5250:55:1;;5301:1;5298;5291:12;5250:55;5324:74;5390:7;5385:2;5372:16;5367:2;5363;5359:11;5324:74;:::i;5409:347::-;5474:6;5482;5535:2;5523:9;5514:7;5510:23;5506:32;5503:52;;;5551:1;5548;5541:12;5503:52;5574:29;5593:9;5574:29;:::i;:::-;5564:39;;5653:2;5642:9;5638:18;5625:32;5700:5;5693:13;5686:21;5679:5;5676:32;5666:60;;5722:1;5719;5712:12;5666:60;5745:5;5735:15;;;5409:347;;;;;:::o;5761:667::-;5856:6;5864;5872;5880;5933:3;5921:9;5912:7;5908:23;5904:33;5901:53;;;5950:1;5947;5940:12;5901:53;5973:29;5992:9;5973:29;:::i;:::-;5963:39;;6021:38;6055:2;6044:9;6040:18;6021:38;:::i;:::-;6011:48;;6106:2;6095:9;6091:18;6078:32;6068:42;;6161:2;6150:9;6146:18;6133:32;6188:18;6180:6;6177:30;6174:50;;;6220:1;6217;6210:12;6174:50;6243:22;;6296:4;6288:13;;6284:27;-1:-1:-1;6274:55:1;;6325:1;6322;6315:12;6274:55;6348:74;6414:7;6409:2;6396:16;6391:2;6387;6383:11;6348:74;:::i;:::-;6338:84;;;5761:667;;;;;;;:::o;6618:260::-;6686:6;6694;6747:2;6735:9;6726:7;6722:23;6718:32;6715:52;;;6763:1;6760;6753:12;6715:52;6786:29;6805:9;6786:29;:::i;:::-;6776:39;;6834:38;6868:2;6857:9;6853:18;6834:38;:::i;:::-;6824:48;;6618:260;;;;;:::o;6883:354::-;7085:2;7067:21;;;7124:2;7104:18;;;7097:30;7163:32;7158:2;7143:18;;7136:60;7228:2;7213:18;;6883:354::o;7242:351::-;7444:2;7426:21;;;7483:2;7463:18;;;7456:30;7522:29;7517:2;7502:18;;7495:57;7584:2;7569:18;;7242:351::o;7598:398::-;7800:2;7782:21;;;7839:2;7819:18;;;7812:30;7878:34;7873:2;7858:18;;7851:62;-1:-1:-1;;;7944:2:1;7929:18;;7922:32;7986:3;7971:19;;7598:398::o;8001:127::-;8062:10;8057:3;8053:20;8050:1;8043:31;8093:4;8090:1;8083:15;8117:4;8114:1;8107:15;8133:128;8173:3;8204:1;8200:6;8197:1;8194:13;8191:39;;;8210:18;;:::i;:::-;-1:-1:-1;8246:9:1;;8133:128::o;8266:343::-;8468:2;8450:21;;;8507:2;8487:18;;;8480:30;-1:-1:-1;;;8541:2:1;8526:18;;8519:49;8600:2;8585:18;;8266:343::o;9197:380::-;9276:1;9272:12;;;;9319;;;9340:61;;9394:4;9386:6;9382:17;9372:27;;9340:61;9447:2;9439:6;9436:14;9416:18;9413:38;9410:161;;;9493:10;9488:3;9484:20;9481:1;9474:31;9528:4;9525:1;9518:15;9556:4;9553:1;9546:15;9410:161;;9197:380;;;:::o;10068:185::-;10110:3;10148:5;10142:12;10163:52;10208:6;10203:3;10196:4;10189:5;10185:16;10163:52;:::i;:::-;10231:16;;;;;10068:185;-1:-1:-1;;10068:185:1:o;10376:1301::-;10653:3;10682:1;10715:6;10709:13;10745:3;10767:1;10795:9;10791:2;10787:18;10777:28;;10855:2;10844:9;10840:18;10877;10867:61;;10921:4;10913:6;10909:17;10899:27;;10867:61;10947:2;10995;10987:6;10984:14;10964:18;10961:38;10958:165;;;-1:-1:-1;;;11022:33:1;;11078:4;11075:1;11068:15;11108:4;11029:3;11096:17;10958:165;11139:18;11166:104;;;;11284:1;11279:320;;;;11132:467;;11166:104;-1:-1:-1;;11199:24:1;;11187:37;;11244:16;;;;-1:-1:-1;11166:104:1;;11279:320;10015:1;10008:14;;;10052:4;10039:18;;11374:1;11388:165;11402:6;11399:1;11396:13;11388:165;;;11480:14;;11467:11;;;11460:35;11523:16;;;;11417:10;;11388:165;;;11392:3;;11582:6;11577:3;11573:16;11566:23;;11132:467;;;;;;;11615:56;11640:30;11666:3;11658:6;11640:30;:::i;:::-;-1:-1:-1;;;10318:20:1;;10363:1;10354:11;;10258:113;11615:56;11608:63;10376:1301;-1:-1:-1;;;;;10376:1301:1:o;12450:500::-;-1:-1:-1;;;;;12719:15:1;;;12701:34;;12771:15;;12766:2;12751:18;;12744:43;12818:2;12803:18;;12796:34;;;12866:3;12861:2;12846:18;;12839:31;;;12644:4;;12887:57;;12924:19;;12916:6;12887:57;:::i;:::-;12879:65;12450:500;-1:-1:-1;;;;;;12450:500:1:o;12955:249::-;13024:6;13077:2;13065:9;13056:7;13052:23;13048:32;13045:52;;;13093:1;13090;13083:12;13045:52;13125:9;13119:16;13144:30;13168:5;13144:30;:::i;13209:135::-;13248:3;-1:-1:-1;;13269:17:1;;13266:43;;;13289:18;;:::i;:::-;-1:-1:-1;13336:1:1;13325:13;;13209:135::o;13349:127::-;13410:10;13405:3;13401:20;13398:1;13391:31;13441:4;13438:1;13431:15;13465:4;13462:1;13455:15;13481:120;13521:1;13547;13537:35;;13552:18;;:::i;:::-;-1:-1:-1;13586:9:1;;13481:120::o;13606:125::-;13646:4;13674:1;13671;13668:8;13665:34;;;13679:18;;:::i;:::-;-1:-1:-1;13716:9:1;;13606:125::o;13736:112::-;13768:1;13794;13784:35;;13799:18;;:::i;:::-;-1:-1:-1;13833:9:1;;13736:112::o;13853:127::-;13914:10;13909:3;13905:20;13902:1;13895:31;13945:4;13942:1;13935:15;13969:4;13966:1;13959:15

Swarm Source

ipfs://8560d150e48519a89f58d79158af93e9a3ee91e9d3bfeeedefa45ce200abe855
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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