ETH Price: $2,995.22 (-1.97%)
Gas: 3 Gwei

Token

Phases Pass (PP)
 

Overview

Max Total Supply

260 PP

Holders

242

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PP
0x8f0cacc1b3d0066a31fc97c6cf1db1b0f56f073f
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PhasesPass

Compiler Version
v0.8.4+commit.c7e474f2

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

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

// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.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();

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

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

    // 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 => address) 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 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 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 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 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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly {
            // Cast aux without masking.
            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
        returns (TokenOwnership memory)
    {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        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
        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 value)
    {
        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`.
            value := or(
                owner,
                or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)
            )
        }
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view 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), ".json"))
                : "";
    }

    /**
     * @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 Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        override
        returns (address)
    {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @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-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @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 {
        _transfer(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 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 {
        _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 {
        _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 {
        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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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,
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED) |
                    _nextExtraData(address(0), to, 0)
            );

            uint256 offset = startTokenId;
            uint256 end = quantity + startTokenId;
            do {
                emit Transfer(address(0), to, offset++);
            } while (offset < end);

            _currentIndex = startTokenId + quantity;
        }
        _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 {
        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 number minted.
            _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,
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED) |
                    _nextExtraData(address(0), to, 0)
            );

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

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

    /**
     * @dev Zeroes out _tokenApprovals[tokenId]
     */
    function _removeTokenApproval(uint256 tokenId) private {
        mapping(uint256 => address) storage tokenApprovalPtr = _tokenApprovals;
        assembly {
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalPtr.slot)
            let hash := keccak256(0, 0x40)
            sstore(hash, 0)
        }
    }

    /**
     * @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 _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (approvedAddress != address(0)) {
            _removeTokenApproval(tokenId);
        }

        // 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));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        if (approvedAddress != address(0)) {
            _removeTokenApproval(tokenId);
        }

        // 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 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
    ) internal view virtual returns (uint256) {
        uint24 previousExtraData;
        assembly {
            previousExtraData := shr(BITPOS_EXTRA_DATA, prevOwnershipPacked)
        }
        return
            uint256(_extraData(from, to, previousExtraData)) <<
            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
        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)
        }
    }
}
// ERC721A Contracts v4.2.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId)
        external
        view
        returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds)
        external
        view
        returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner)
        external
        view
        returns (uint256[] memory);
}
// ERC721A Contracts v4.2.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (TokenOwnership memory)
    {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](
                tokenIdsLength
            );
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (
                uint256 i = start;
                i != stop && tokenIdsIdx != tokenIdsMaxLength;
                ++i
            ) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner)
        external
        view
        virtual
        override
        returns (uint256[] memory)
    {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (
                uint256 i = _startTokenId();
                tokenIdsIdx != tokenIdsLength;
                ++i
            ) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

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;
    }
}

// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

pragma solidity ^0.8.4;


contract PhasesPass is Ownable, ReentrancyGuard, ERC721A, ERC721AQueryable {

    IERC721A public immutable PHASES;
    uint256 public maxSupply = 750;
    bool public claimActive;
    string private _baseTokenURI;
    

    constructor(address phases, string memory _inputURI)ERC721A("Phases Pass", "PP")
    {
        PHASES = IERC721A(phases);
        _baseTokenURI = _inputURI;
    }

    //External Functions
    function Claim(uint256[] calldata _tokenIds) external nonReentrant {
        require(tx.origin == msg.sender, "Wrong Caller");
        require(claimActive, "Mint inactive");
        uint256 n = _tokenIds.length;
        require(n % 3 == 0, "Invalid quantity");
        uint256 x = n / 3;
        if (maxSupply < totalSupply() + x) revert("Not enough supply");
        for (uint256 i; i < n; ++i) {
            uint256 tokenId = _tokenIds[i];
            PHASES.safeTransferFrom(msg.sender, 0x000000000000000000000000000000000000dEaD, tokenId);
        }
        _mint(msg.sender, x);
    }

    // Internal Functions
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    //Ownable functions
    function teamMint(uint256 _quantity, address _to) external onlyOwner {
        if (maxSupply < totalSupply() + _quantity) revert("Supply Cap");
        _mint(_to, _quantity);
    }

    function flipClaimState() external onlyOwner {
        claimActive = !claimActive;
    }

    function reduceSupply(uint256 _amount) external onlyOwner {
        if (totalSupply() > _amount) revert("Supply Cap");
        if (_amount > maxSupply) revert("Supply Cap");
        maxSupply = _amount;
    }

    function setBaseURI(string memory _inputURI) public onlyOwner {
        _baseTokenURI = _inputURI;
    }

    function withdrawFunds(address _to, uint256 _amount) external onlyOwner {
        (bool success, ) = payable(_to).call{value: _amount}("");
        require(success, "transfer failed.");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"phases","type":"address"},{"internalType":"string","name":"_inputURI","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":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"Claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"PHASES","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"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":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"reduceSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_inputURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526102ee600a553480156200001757600080fd5b50604051620021f0380380620021f08339810160408190526200003a91620001f4565b6040518060400160405280600b81526020016a506861736573205061737360a81b81525060405180604001604052806002815260200161050560f41b815250620000936200008d620000fa60201b60201c565b620000fe565b600180558151620000ac9060049060208501906200014e565b508051620000c29060059060208401906200014e565b50600060025550506001600160601b0319606083901b166080528051620000f190600c9060208401906200014e565b50505062000340565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200015c90620002ed565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b6000806040838503121562000207578182fd5b82516001600160a01b03811681146200021e578283fd5b602084810151919350906001600160401b03808211156200023d578384fd5b818601915086601f83011262000251578384fd5b8151818111156200026657620002666200032a565b604051601f8201601f19908116603f011681019083821181831017156200029157620002916200032a565b816040528281528986848701011115620002a9578687fd5b8693505b82841015620002cc5784840186015181850187015292850192620002ad565b82841115620002dd57868684830101525b8096505050505050509250929050565b600181811c908216806200030257607f821691505b602082108114156200032457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c611e8a620003666000396000818161045c0152610bce0152611e8a6000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063c1075329116100a2578063d5abeb0111610071578063d5abeb01146103ff578063e985e9c514610408578063f2fde38b14610444578063f48d0b751461045757600080fd5b8063c1075329146103ac578063c23dc68f146103bf578063c87b56dd146103df578063d4a6a2fd146103f257600080fd5b806399a2557a116100de57806399a2557a14610360578063a22cb46514610373578063b88d4fde14610386578063bfa457bc1461039957600080fd5b80638da5cb5b146103345780638f9fa51b1461034557806395d89b411461035857600080fd5b806355f804b31161017c57806370a082311161014b57806370a08231146102e6578063715018a6146102f957806380623444146103015780638462151c1461031457600080fd5b806355f804b3146102985780635bbb2177146102ab5780636352211e146102cb5780636d60e6c1146102de57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461027257806342842e0e1461028557600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611aa9565b61047e565b60405190151581526020015b60405180910390f35b61020f6104d0565b6040516101fe9190611cc0565b61022f61022a366004611b27565b610562565b6040516001600160a01b0390911681526020016101fe565b61025a6102553660046119de565b6105a6565b005b600354600254035b6040519081526020016101fe565b61025a6102803660046118f0565b610646565b61025a6102933660046118f0565b610656565b61025a6102a6366004611ae1565b610671565b6102be6102b9366004611a39565b6106bb565b6040516101fe9190611c46565b61022f6102d9366004611b27565b6107b1565b61025a6107bc565b6102646102f43660046118a4565b6107fa565b61025a610849565b61025a61030f366004611b27565b61087f565b6103276103223660046118a4565b6108fc565b6040516101fe9190611c88565b6000546001600160a01b031661022f565b61025a610353366004611a39565b610a28565b61020f610c52565b61032761036e366004611a07565b610c61565b61025a6103813660046119a4565b610dfb565b61025a61039436600461192b565b610e91565b61025a6103a7366004611b3f565b610edb565b61025a6103ba3660046119de565b610f48565b6103d26103cd366004611b27565b611008565b6040516101fe9190611d2c565b61020f6103ed366004611b27565b611080565b600b546101f29060ff1681565b610264600a5481565b6101f26104163660046118be565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b61025a6104523660046118a4565b611104565b61022f7f000000000000000000000000000000000000000000000000000000000000000081565b60006301ffc9a760e01b6001600160e01b0319831614806104af57506380ac58cd60e01b6001600160e01b03198316145b806104ca5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600480546104df90611d92565b80601f016020809104026020016040519081016040528092919081815260200182805461050b90611d92565b80156105585780601f1061052d57610100808354040283529160200191610558565b820191906000526020600020905b81548152906001019060200180831161053b57829003601f168201915b5050505050905090565b600061056d8261119f565b61058a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006105b1826107b1565b9050336001600160a01b038216146105ea576105cd8133610416565b6105ea576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6106518383836111c7565b505050565b61065183838360405180602001604052806000815250610e91565b6000546001600160a01b031633146106a45760405162461bcd60e51b815260040161069b90611cf7565b60405180910390fd5b80516106b790600c906020840190611779565b5050565b60608160008167ffffffffffffffff8111156106e757634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561073957816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816107055790505b50905060005b8281146107a85761077586868381811061076957634e487b7160e01b600052603260045260246000fd5b90506020020135611008565b82828151811061079557634e487b7160e01b600052603260045260246000fd5b602090810291909101015260010161073f565b50949350505050565b60006104ca82611382565b6000546001600160a01b031633146107e65760405162461bcd60e51b815260040161069b90611cf7565b600b805460ff19811660ff90911615179055565b60006001600160a01b038216610823576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108735760405162461bcd60e51b815260040161069b90611cf7565b61087d60006113e3565b565b6000546001600160a01b031633146108a95760405162461bcd60e51b815260040161069b90611cf7565b806108b76003546002540390565b11156108d55760405162461bcd60e51b815260040161069b90611cd3565b600a548111156108f75760405162461bcd60e51b815260040161069b90611cd3565b600a55565b6060600080600061090c856107fa565b905060008167ffffffffffffffff81111561093757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610960578160200160208202803683370190505b50905061098d60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610a1c576109a081611433565b91508160400151156109b157610a14565b81516001600160a01b0316156109c657815194505b876001600160a01b0316856001600160a01b03161415610a145780838780600101985081518110610a0757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610990565b50909695505050505050565b610a3061146f565b323314610a6e5760405162461bcd60e51b815260206004820152600c60248201526b2bb937b7339021b0b63632b960a11b604482015260640161069b565b600b5460ff16610ab05760405162461bcd60e51b815260206004820152600d60248201526c4d696e7420696e61637469766560981b604482015260640161069b565b80610abc600382611de8565b15610afc5760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b604482015260640161069b565b6000610b09600383611d52565b905080610b196003546002540390565b610b239190611d3a565b600a541015610b685760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b604482015260640161069b565b60005b82811015610c3c576000858583818110610b9557634e487b7160e01b600052603260045260246000fd5b604051632142170760e11b815233600482015261dead602482015260209091029290920135604483018190529250506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342842e0e90606401600060405180830381600087803b158015610c1257600080fd5b505af1158015610c26573d6000803e3d6000fd5b505050505080610c3590611dcd565b9050610b6b565b50610c4733826114c9565b50506106b760018055565b6060600580546104df90611d92565b6060818310610c8357604051631960ccad60e11b815260040160405180910390fd5b600080610c8f60025490565b905080841115610c9d578093505b6000610ca8876107fa565b905084861015610cc75785850381811015610cc1578091505b50610ccb565b5060005b60008167ffffffffffffffff811115610cf457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d1d578160200160208202803683370190505b50905081610d30579350610df492505050565b6000610d3b88611008565b905060008160400151610d4c575080515b885b888114158015610d5e5750848714155b15610de857610d6c81611433565b9250826040015115610d7d57610de0565b82516001600160a01b031615610d9257825191505b8a6001600160a01b0316826001600160a01b03161415610de05780848880600101995081518110610dd357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610d4e565b50505092835250909150505b9392505050565b6001600160a01b038216331415610e255760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e9c8484846111c7565b6001600160a01b0383163b15610ed557610eb8848484846115a6565b610ed5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610f055760405162461bcd60e51b815260040161069b90611cf7565b81610f136003546002540390565b610f1d9190611d3a565b600a541015610f3e5760405162461bcd60e51b815260040161069b90611cd3565b6106b781836114c9565b6000546001600160a01b03163314610f725760405162461bcd60e51b815260040161069b90611cf7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fbf576040519150601f19603f3d011682016040523d82523d6000602084013e610fc4565b606091505b50509050806106515760405162461bcd60e51b815260206004820152601060248201526f3a3930b739b332b9103330b4b632b21760811b604482015260640161069b565b604080516080808201835260008083526020808401829052838501829052606080850183905285519384018652828452908301829052938201819052928101839052909150600254831061105c5792915050565b61106583611433565b90508060400151156110775792915050565b610df48361169e565b606061108b8261119f565b6110a857604051630a14c4b560e41b815260040160405180910390fd5b60006110b26116d3565b90508051600014156110d35760405180602001604052806000815250610df4565b806110dd846116e2565b6040516020016110ee929190611bca565b6040516020818303038152906040529392505050565b6000546001600160a01b0316331461112e5760405162461bcd60e51b815260040161069b90611cf7565b6001600160a01b0381166111935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069b565b61119c816113e3565b50565b6000600254821080156104ca575050600090815260066020526040902054600160e01b161590565b60006111d282611382565b9050836001600160a01b0316816001600160a01b0316146112055760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b039081169190861633148061123557506112358633610416565b8061124857506001600160a01b03821633145b90508061126857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661128f57604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b038216156112ae576000848152600860205260408120555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b831661133957600184016000818152600660205260409020546113375760025481146113375760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000816002548110156113ca57600081815260066020526040902054600160e01b81166113c8575b80610df45750600019016000818152600660205260409020546113aa565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600660205260409020546104ca90611731565b600260015414156114c25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161069b565b6002600155565b6002546001600160a01b0383166114f257604051622e076360e81b815260040160405180910390fd5b816115105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061155a5750500160025550565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115db903390899088908890600401611c09565b602060405180830381600087803b1580156115f557600080fd5b505af1925050508015611625575060408051601f3d908101601f1916820190925261162291810190611ac5565b60015b611680573d808015611653576040519150601f19603f3d011682016040523d82523d6000602084013e611658565b606091505b508051611678576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526104ca6116ce83611382565b611731565b6060600c80546104df90611d92565b604080516080810191829052607f0190826030600a8206018353600a90045b801561171f57600183039250600a81066030018353600a9004611701565b50819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b82805461178590611d92565b90600052602060002090601f0160209004810192826117a757600085556117ed565b82601f106117c057805160ff19168380011785556117ed565b828001600101855582156117ed579182015b828111156117ed5782518255916020019190600101906117d2565b506117f99291506117fd565b5090565b5b808211156117f957600081556001016117fe565b600067ffffffffffffffff8084111561182d5761182d611e28565b604051601f8501601f19908116603f0116810190828211818310171561185557611855611e28565b8160405280935085815286868601111561186e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461189f57600080fd5b919050565b6000602082840312156118b5578081fd5b610df482611888565b600080604083850312156118d0578081fd5b6118d983611888565b91506118e760208401611888565b90509250929050565b600080600060608486031215611904578081fd5b61190d84611888565b925061191b60208501611888565b9150604084013590509250925092565b60008060008060808587031215611940578081fd5b61194985611888565b935061195760208601611888565b925060408501359150606085013567ffffffffffffffff811115611979578182fd5b8501601f81018713611989578182fd5b61199887823560208401611812565b91505092959194509250565b600080604083850312156119b6578182fd5b6119bf83611888565b9150602083013580151581146119d3578182fd5b809150509250929050565b600080604083850312156119f0578182fd5b6119f983611888565b946020939093013593505050565b600080600060608486031215611a1b578283fd5b611a2484611888565b95602085013595506040909401359392505050565b60008060208385031215611a4b578182fd5b823567ffffffffffffffff80821115611a62578384fd5b818501915085601f830112611a75578384fd5b813581811115611a83578485fd5b8660208260051b8501011115611a97578485fd5b60209290920196919550909350505050565b600060208284031215611aba578081fd5b8135610df481611e3e565b600060208284031215611ad6578081fd5b8151610df481611e3e565b600060208284031215611af2578081fd5b813567ffffffffffffffff811115611b08578182fd5b8201601f81018413611b18578182fd5b61169684823560208401611812565b600060208284031215611b38578081fd5b5035919050565b60008060408385031215611b51578182fd5b823591506118e760208401611888565b60008151808452611b79816020860160208601611d66565b601f01601f19169290920160200192915050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b60008351611bdc818460208801611d66565b835190830190611bf0818360208801611d66565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c3c90830184611b61565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610a1c57611c75838551611b8d565b9284019260809290920191600101611c62565b6020808252825182820181905260009190848201906040850190845b81811015610a1c57835183529284019291840191600101611ca4565b602081526000610df46020830184611b61565b6020808252600a90820152690537570706c79204361760b41b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b608081016104ca8284611b8d565b60008219821115611d4d57611d4d611dfc565b500190565b600082611d6157611d61611e12565b500490565b60005b83811015611d81578181015183820152602001611d69565b83811115610ed55750506000910152565b600181811c90821680611da657607f821691505b60208210811415611dc757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611de157611de1611dfc565b5060010190565b600082611df757611df7611e12565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461119c57600080fdfea26469706673582212204205ada46efb9922ddee4c654cee9b71c91db61df6d2e35f6293a76a823db06d64736f6c634300080400330000000000000000000000008052a3765df60dff44eb911982c8ef1ca107ba1a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569686c36346f6965357164716a6c326c64776e6867646f757434766c67746b336d6f626b666237616568346f7278357465327863612f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063c1075329116100a2578063d5abeb0111610071578063d5abeb01146103ff578063e985e9c514610408578063f2fde38b14610444578063f48d0b751461045757600080fd5b8063c1075329146103ac578063c23dc68f146103bf578063c87b56dd146103df578063d4a6a2fd146103f257600080fd5b806399a2557a116100de57806399a2557a14610360578063a22cb46514610373578063b88d4fde14610386578063bfa457bc1461039957600080fd5b80638da5cb5b146103345780638f9fa51b1461034557806395d89b411461035857600080fd5b806355f804b31161017c57806370a082311161014b57806370a08231146102e6578063715018a6146102f957806380623444146103015780638462151c1461031457600080fd5b806355f804b3146102985780635bbb2177146102ab5780636352211e146102cb5780636d60e6c1146102de57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461027257806342842e0e1461028557600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611aa9565b61047e565b60405190151581526020015b60405180910390f35b61020f6104d0565b6040516101fe9190611cc0565b61022f61022a366004611b27565b610562565b6040516001600160a01b0390911681526020016101fe565b61025a6102553660046119de565b6105a6565b005b600354600254035b6040519081526020016101fe565b61025a6102803660046118f0565b610646565b61025a6102933660046118f0565b610656565b61025a6102a6366004611ae1565b610671565b6102be6102b9366004611a39565b6106bb565b6040516101fe9190611c46565b61022f6102d9366004611b27565b6107b1565b61025a6107bc565b6102646102f43660046118a4565b6107fa565b61025a610849565b61025a61030f366004611b27565b61087f565b6103276103223660046118a4565b6108fc565b6040516101fe9190611c88565b6000546001600160a01b031661022f565b61025a610353366004611a39565b610a28565b61020f610c52565b61032761036e366004611a07565b610c61565b61025a6103813660046119a4565b610dfb565b61025a61039436600461192b565b610e91565b61025a6103a7366004611b3f565b610edb565b61025a6103ba3660046119de565b610f48565b6103d26103cd366004611b27565b611008565b6040516101fe9190611d2c565b61020f6103ed366004611b27565b611080565b600b546101f29060ff1681565b610264600a5481565b6101f26104163660046118be565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b61025a6104523660046118a4565b611104565b61022f7f0000000000000000000000008052a3765df60dff44eb911982c8ef1ca107ba1a81565b60006301ffc9a760e01b6001600160e01b0319831614806104af57506380ac58cd60e01b6001600160e01b03198316145b806104ca5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600480546104df90611d92565b80601f016020809104026020016040519081016040528092919081815260200182805461050b90611d92565b80156105585780601f1061052d57610100808354040283529160200191610558565b820191906000526020600020905b81548152906001019060200180831161053b57829003601f168201915b5050505050905090565b600061056d8261119f565b61058a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006105b1826107b1565b9050336001600160a01b038216146105ea576105cd8133610416565b6105ea576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6106518383836111c7565b505050565b61065183838360405180602001604052806000815250610e91565b6000546001600160a01b031633146106a45760405162461bcd60e51b815260040161069b90611cf7565b60405180910390fd5b80516106b790600c906020840190611779565b5050565b60608160008167ffffffffffffffff8111156106e757634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561073957816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816107055790505b50905060005b8281146107a85761077586868381811061076957634e487b7160e01b600052603260045260246000fd5b90506020020135611008565b82828151811061079557634e487b7160e01b600052603260045260246000fd5b602090810291909101015260010161073f565b50949350505050565b60006104ca82611382565b6000546001600160a01b031633146107e65760405162461bcd60e51b815260040161069b90611cf7565b600b805460ff19811660ff90911615179055565b60006001600160a01b038216610823576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108735760405162461bcd60e51b815260040161069b90611cf7565b61087d60006113e3565b565b6000546001600160a01b031633146108a95760405162461bcd60e51b815260040161069b90611cf7565b806108b76003546002540390565b11156108d55760405162461bcd60e51b815260040161069b90611cd3565b600a548111156108f75760405162461bcd60e51b815260040161069b90611cd3565b600a55565b6060600080600061090c856107fa565b905060008167ffffffffffffffff81111561093757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610960578160200160208202803683370190505b50905061098d60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610a1c576109a081611433565b91508160400151156109b157610a14565b81516001600160a01b0316156109c657815194505b876001600160a01b0316856001600160a01b03161415610a145780838780600101985081518110610a0757634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610990565b50909695505050505050565b610a3061146f565b323314610a6e5760405162461bcd60e51b815260206004820152600c60248201526b2bb937b7339021b0b63632b960a11b604482015260640161069b565b600b5460ff16610ab05760405162461bcd60e51b815260206004820152600d60248201526c4d696e7420696e61637469766560981b604482015260640161069b565b80610abc600382611de8565b15610afc5760405162461bcd60e51b815260206004820152601060248201526f496e76616c6964207175616e7469747960801b604482015260640161069b565b6000610b09600383611d52565b905080610b196003546002540390565b610b239190611d3a565b600a541015610b685760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820737570706c7960781b604482015260640161069b565b60005b82811015610c3c576000858583818110610b9557634e487b7160e01b600052603260045260246000fd5b604051632142170760e11b815233600482015261dead602482015260209091029290920135604483018190529250506001600160a01b037f0000000000000000000000008052a3765df60dff44eb911982c8ef1ca107ba1a16906342842e0e90606401600060405180830381600087803b158015610c1257600080fd5b505af1158015610c26573d6000803e3d6000fd5b505050505080610c3590611dcd565b9050610b6b565b50610c4733826114c9565b50506106b760018055565b6060600580546104df90611d92565b6060818310610c8357604051631960ccad60e11b815260040160405180910390fd5b600080610c8f60025490565b905080841115610c9d578093505b6000610ca8876107fa565b905084861015610cc75785850381811015610cc1578091505b50610ccb565b5060005b60008167ffffffffffffffff811115610cf457634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d1d578160200160208202803683370190505b50905081610d30579350610df492505050565b6000610d3b88611008565b905060008160400151610d4c575080515b885b888114158015610d5e5750848714155b15610de857610d6c81611433565b9250826040015115610d7d57610de0565b82516001600160a01b031615610d9257825191505b8a6001600160a01b0316826001600160a01b03161415610de05780848880600101995081518110610dd357634e487b7160e01b600052603260045260246000fd5b6020026020010181815250505b600101610d4e565b50505092835250909150505b9392505050565b6001600160a01b038216331415610e255760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e9c8484846111c7565b6001600160a01b0383163b15610ed557610eb8848484846115a6565b610ed5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610f055760405162461bcd60e51b815260040161069b90611cf7565b81610f136003546002540390565b610f1d9190611d3a565b600a541015610f3e5760405162461bcd60e51b815260040161069b90611cd3565b6106b781836114c9565b6000546001600160a01b03163314610f725760405162461bcd60e51b815260040161069b90611cf7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610fbf576040519150601f19603f3d011682016040523d82523d6000602084013e610fc4565b606091505b50509050806106515760405162461bcd60e51b815260206004820152601060248201526f3a3930b739b332b9103330b4b632b21760811b604482015260640161069b565b604080516080808201835260008083526020808401829052838501829052606080850183905285519384018652828452908301829052938201819052928101839052909150600254831061105c5792915050565b61106583611433565b90508060400151156110775792915050565b610df48361169e565b606061108b8261119f565b6110a857604051630a14c4b560e41b815260040160405180910390fd5b60006110b26116d3565b90508051600014156110d35760405180602001604052806000815250610df4565b806110dd846116e2565b6040516020016110ee929190611bca565b6040516020818303038152906040529392505050565b6000546001600160a01b0316331461112e5760405162461bcd60e51b815260040161069b90611cf7565b6001600160a01b0381166111935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069b565b61119c816113e3565b50565b6000600254821080156104ca575050600090815260066020526040902054600160e01b161590565b60006111d282611382565b9050836001600160a01b0316816001600160a01b0316146112055760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b039081169190861633148061123557506112358633610416565b8061124857506001600160a01b03821633145b90508061126857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661128f57604051633a954ecd60e21b815260040160405180910390fd5b6001600160a01b038216156112ae576000848152600860205260408120555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040902055600160e11b831661133957600184016000818152600660205260409020546113375760025481146113375760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000816002548110156113ca57600081815260066020526040902054600160e01b81166113c8575b80610df45750600019016000818152600660205260409020546113aa565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600660205260409020546104ca90611731565b600260015414156114c25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161069b565b6002600155565b6002546001600160a01b0383166114f257604051622e076360e81b815260040160405180910390fd5b816115105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061155a5750500160025550565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115db903390899088908890600401611c09565b602060405180830381600087803b1580156115f557600080fd5b505af1925050508015611625575060408051601f3d908101601f1916820190925261162291810190611ac5565b60015b611680573d808015611653576040519150601f19603f3d011682016040523d82523d6000602084013e611658565b606091505b508051611678576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526104ca6116ce83611382565b611731565b6060600c80546104df90611d92565b604080516080810191829052607f0190826030600a8206018353600a90045b801561171f57600183039250600a81066030018353600a9004611701565b50819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b82805461178590611d92565b90600052602060002090601f0160209004810192826117a757600085556117ed565b82601f106117c057805160ff19168380011785556117ed565b828001600101855582156117ed579182015b828111156117ed5782518255916020019190600101906117d2565b506117f99291506117fd565b5090565b5b808211156117f957600081556001016117fe565b600067ffffffffffffffff8084111561182d5761182d611e28565b604051601f8501601f19908116603f0116810190828211818310171561185557611855611e28565b8160405280935085815286868601111561186e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461189f57600080fd5b919050565b6000602082840312156118b5578081fd5b610df482611888565b600080604083850312156118d0578081fd5b6118d983611888565b91506118e760208401611888565b90509250929050565b600080600060608486031215611904578081fd5b61190d84611888565b925061191b60208501611888565b9150604084013590509250925092565b60008060008060808587031215611940578081fd5b61194985611888565b935061195760208601611888565b925060408501359150606085013567ffffffffffffffff811115611979578182fd5b8501601f81018713611989578182fd5b61199887823560208401611812565b91505092959194509250565b600080604083850312156119b6578182fd5b6119bf83611888565b9150602083013580151581146119d3578182fd5b809150509250929050565b600080604083850312156119f0578182fd5b6119f983611888565b946020939093013593505050565b600080600060608486031215611a1b578283fd5b611a2484611888565b95602085013595506040909401359392505050565b60008060208385031215611a4b578182fd5b823567ffffffffffffffff80821115611a62578384fd5b818501915085601f830112611a75578384fd5b813581811115611a83578485fd5b8660208260051b8501011115611a97578485fd5b60209290920196919550909350505050565b600060208284031215611aba578081fd5b8135610df481611e3e565b600060208284031215611ad6578081fd5b8151610df481611e3e565b600060208284031215611af2578081fd5b813567ffffffffffffffff811115611b08578182fd5b8201601f81018413611b18578182fd5b61169684823560208401611812565b600060208284031215611b38578081fd5b5035919050565b60008060408385031215611b51578182fd5b823591506118e760208401611888565b60008151808452611b79816020860160208601611d66565b601f01601f19169290920160200192915050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b60008351611bdc818460208801611d66565b835190830190611bf0818360208801611d66565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c3c90830184611b61565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610a1c57611c75838551611b8d565b9284019260809290920191600101611c62565b6020808252825182820181905260009190848201906040850190845b81811015610a1c57835183529284019291840191600101611ca4565b602081526000610df46020830184611b61565b6020808252600a90820152690537570706c79204361760b41b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b608081016104ca8284611b8d565b60008219821115611d4d57611d4d611dfc565b500190565b600082611d6157611d61611e12565b500490565b60005b83811015611d81578181015183820152602001611d69565b83811115610ed55750506000910152565b600181811c90821680611da657607f821691505b60208210811415611dc757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611de157611de1611dfc565b5060010190565b600082611df757611df7611e12565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461119c57600080fdfea26469706673582212204205ada46efb9922ddee4c654cee9b71c91db61df6d2e35f6293a76a823db06d64736f6c63430008040033

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

0000000000000000000000008052a3765df60dff44eb911982c8ef1ca107ba1a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569686c36346f6965357164716a6c326c64776e6867646f757434766c67746b336d6f626b666237616568346f7278357465327863612f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : phases (address): 0x8052a3765Df60dFf44eb911982c8EF1ca107ba1A
Arg [1] : _inputURI (string): ipfs://bafybeihl64oie5qdqjl2ldwnhgdout4vlgtk3mobkfb7aeh4orx5te2xca/

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000008052a3765df60dff44eb911982c8ef1ca107ba1a
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [3] : 697066733a2f2f62616679626569686c36346f6965357164716a6c326c64776e
Arg [4] : 6867646f757434766c67746b336d6f626b666237616568346f72783574653278
Arg [5] : 63612f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

59237:2036:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14391:665;;;;;;:::i;:::-;;:::i;:::-;;;9551:14:1;;9544:22;9526:41;;9514:2;9499:18;14391:665:0;;;;;;;;20324:100;;;:::i;:::-;;;;;;;:::i;22181:245::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7101:32:1;;;7083:51;;7071:2;7056:18;22181:245:0;7038:102:1;21729:386:0;;;;;;:::i;:::-;;:::i;:::-;;13445:315;13711:12;;13695:13;;:28;13445:315;;;13627:25:1;;;13615:2;13600:18;13445:315:0;13582:76:1;23190:170:0;;;;;;:::i;:::-;;:::i;23431:185::-;;;;;;:::i;:::-;;:::i;60962:106::-;;;;;;:::i;:::-;;:::i;48039:560::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20113:144::-;;;;;;:::i;:::-;;:::i;60644:90::-;;;:::i;15120:224::-;;;;;;:::i;:::-;;:::i;55496:103::-;;;:::i;60742:212::-;;;;;;:::i;:::-;;:::i;52013:1016::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;54845:87::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;54845:87;;59670:601;;;;;;:::i;:::-;;:::i;20493:104::-;;;:::i;48987:2579::-;;;;;;:::i;:::-;;:::i;22498:340::-;;;;;;:::i;:::-;;:::i;23687:396::-;;;;;;:::i;:::-;;:::i;60453:183::-;;;;;;:::i;:::-;;:::i;61076:194::-;;;;;;:::i;:::-;;:::i;47402:478::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20668:424::-;;;;;;:::i;:::-;;:::i;59397:23::-;;;;;;;;;59360:30;;;;;;22909:214;;;;;;:::i;:::-;-1:-1:-1;;;;;23080:25:0;;;23051:4;23080:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22909:214;55754:238;;;;;;:::i;:::-;;:::i;59321:32::-;;;;;14391:665;14521:4;-1:-1:-1;;;;;;;;;14826:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;14903:25:0;;;14826:102;:179;;;-1:-1:-1;;;;;;;;;;14980:25:0;;;14826:179;14806:199;14391:665;-1:-1:-1;;14391:665:0:o;20324:100::-;20378:13;20411:5;20404:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20324:100;:::o;22181:245::-;22285:7;22315:16;22323:7;22315;:16::i;:::-;22310:64;;22340:34;;-1:-1:-1;;;22340:34:0;;;;;;;;;;;22310:64;-1:-1:-1;22394:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22394:24:0;;22181:245::o;21729:386::-;21802:13;21818:16;21826:7;21818;:16::i;:::-;21802:32;-1:-1:-1;41732:10:0;-1:-1:-1;;;;;21851:28:0;;;21847:175;;21899:44;21916:5;41732:10;22909:214;:::i;21899:44::-;21894:128;;21971:35;;-1:-1:-1;;;21971:35:0;;;;;;;;;;;21894:128;22034:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22034:29:0;-1:-1:-1;;;;;22034:29:0;;;;;;;;;22079:28;;22034:24;;22079:28;;;;;;;21729:386;;;:::o;23190:170::-;23324:28;23334:4;23340:2;23344:7;23324:9;:28::i;:::-;23190:170;;;:::o;23431:185::-;23569:39;23586:4;23592:2;23596:7;23569:39;;;;;;;;;;;;:16;:39::i;60962:106::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;;;;;;;;;61035:25;;::::1;::::0;:13:::1;::::0;:25:::1;::::0;::::1;::::0;::::1;:::i;:::-;;60962:106:::0;:::o;48039:560::-;48183:23;48274:8;48249:22;48274:8;48341:68;;;;;;-1:-1:-1;;;48341:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48341:68:0;;-1:-1:-1;;48341:68:0;;;;;;;;;;;;48304:105;;48429:9;48424:125;48445:14;48440:1;:19;48424:125;;48501:32;48521:8;;48530:1;48521:11;;;;;-1:-1:-1;;;48521:11:0;;;;;;;;;;;;;;;48501:19;:32::i;:::-;48485:10;48496:1;48485:13;;;;;;-1:-1:-1;;;48485:13:0;;;;;;;;;;;;;;;;;;:48;48461:3;;48424:125;;;-1:-1:-1;48570:10:0;48039:560;-1:-1:-1;;;;48039:560:0:o;20113:144::-;20177:7;20220:27;20239:7;20220:18;:27::i;60644:90::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;60715:11:::1;::::0;;-1:-1:-1;;60700:26:0;::::1;60715:11;::::0;;::::1;60714:12;60700:26;::::0;;60644:90::o;15120:224::-;15184:7;-1:-1:-1;;;;;15208:19:0;;15204:60;;15236:28;;-1:-1:-1;;;15236:28:0;;;;;;;;;;;15204:60;-1:-1:-1;;;;;;15282:25:0;;;;;:18;:25;;;;;;9792:13;15282:54;;15120:224::o;55496:103::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;55561:30:::1;55588:1;55561:18;:30::i;:::-;55496:103::o:0;60742:212::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;60831:7:::1;60815:13;13711:12:::0;;13695:13;;:28;;13445:315;60815:13:::1;:23;60811:49;;;60840:20;;-1:-1:-1::0;;;60840:20:0::1;;;;;;;:::i;60811:49::-;60885:9;;60875:7;:19;60871:45;;;60896:20;;-1:-1:-1::0;;;60896:20:0::1;;;;;;;:::i;60871:45::-;60927:9;:19:::0;60742:212::o;52013:1016::-;52136:16;52195:19;52229:25;52269:22;52294:16;52304:5;52294:9;:16::i;:::-;52269:41;;52325:25;52367:14;52353:29;;;;;;-1:-1:-1;;;52353:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52353:29:0;;52325:57;;52397:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52397:31:0;52466:9;52443:538;52527:14;52512:11;:29;52443:538;;52610:15;52623:1;52610:12;:15::i;:::-;52598:27;;52648:9;:16;;;52644:73;;;52689:8;;52644:73;52739:14;;-1:-1:-1;;;;;52739:28:0;;52735:111;;52812:14;;;-1:-1:-1;52735:111:0;52889:5;-1:-1:-1;;;;;52868:26:0;:17;-1:-1:-1;;;;;52868:26:0;;52864:102;;;52945:1;52919:8;52928:13;;;;;;52919:23;;;;;;-1:-1:-1;;;52919:23:0;;;;;;;;;;;;;;:27;;;;;52864:102;52560:3;;52443:538;;;-1:-1:-1;53002:8:0;;52013:1016;-1:-1:-1;;;;;;52013:1016:0:o;59670:601::-;58611:21;:19;:21::i;:::-;59756:9:::1;59769:10;59756:23;59748:48;;;::::0;-1:-1:-1;;;59748:48:0;;12371:2:1;59748:48:0::1;::::0;::::1;12353:21:1::0;12410:2;12390:18;;;12383:30;-1:-1:-1;;;12429:18:1;;;12422:42;12481:18;;59748:48:0::1;12343:162:1::0;59748:48:0::1;59815:11;::::0;::::1;;59807:37;;;::::0;-1:-1:-1;;;59807:37:0;;13072:2:1;59807:37:0::1;::::0;::::1;13054:21:1::0;13111:2;13091:18;;;13084:30;-1:-1:-1;;;13130:18:1;;;13123:43;13183:18;;59807:37:0::1;13044:163:1::0;59807:37:0::1;59867:9:::0;59902:5:::1;59906:1;59867:9:::0;59902:5:::1;:::i;:::-;:10:::0;59894:39:::1;;;::::0;-1:-1:-1;;;59894:39:0;;11320:2:1;59894:39:0::1;::::0;::::1;11302:21:1::0;11359:2;11339:18;;;11332:30;-1:-1:-1;;;11378:18:1;;;11371:46;11434:18;;59894:39:0::1;11292:166:1::0;59894:39:0::1;59944:9;59956:5;59960:1;59956::::0;:5:::1;:::i;:::-;59944:17;;60004:1;59988:13;13711:12:::0;;13695:13;;:28;;13445:315;59988:13:::1;:17;;;;:::i;:::-;59976:9;;:29;59972:62;;;60007:27;::::0;-1:-1:-1;;;60007:27:0;;10228:2:1;60007:27:0::1;::::0;::::1;10210:21:1::0;10267:2;10247:18;;;10240:30;-1:-1:-1;;;10286:18:1;;;10279:47;10343:18;;60007:27:0::1;10200:167:1::0;59972:62:0::1;60050:9;60045:188;60065:1;60061;:5;60045:188;;;60088:15;60106:9;;60116:1;60106:12;;;;;-1:-1:-1::0;;;60106:12:0::1;;;;;;;;;60133:88;::::0;-1:-1:-1;;;60133:88:0;;60157:10:::1;60133:88;::::0;::::1;7385:34:1::0;60169:42:0::1;7435:18:1::0;;;7428:43;60106:12:0::1;::::0;;::::1;::::0;;;::::1;;7487:18:1::0;;;7480:34;;;60106:12:0;-1:-1:-1;;;;;;;60133:6:0::1;:23;::::0;::::1;::::0;7320:18:1;;60133:88:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;60045:188;60068:3;;;;:::i;:::-;;;60045:188;;;;60243:20;60249:10;60261:1;60243:5;:20::i;:::-;58643:1;;58655:20:::0;58049:1;59171:22;;58988:213;20493:104;20549:13;20582:7;20575:14;;;;;:::i;48987:2579::-;49130:16;49197:4;49188:5;:13;49184:45;;49210:19;;-1:-1:-1;;;49210:19:0;;;;;;;;;;;49184:45;49244:19;49278:17;49298:14;13214:13;;;13140:95;49298:14;49278:34;-1:-1:-1;49549:9:0;49542:4;:16;49538:73;;;49586:9;49579:16;;49538:73;49625:25;49653:16;49663:5;49653:9;:16::i;:::-;49625:44;;49847:4;49839:5;:12;49835:278;;;49894:12;;;49929:31;;;49925:111;;;50005:11;49985:31;;49925:111;49835:278;;;;-1:-1:-1;50096:1:0;49835:278;50127:25;50169:17;50155:32;;;;;;-1:-1:-1;;;50155:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50155:32:0;-1:-1:-1;50127:60:0;-1:-1:-1;50206:22:0;50202:78;;50256:8;-1:-1:-1;50249:15:0;;-1:-1:-1;;;50249:15:0;50202:78;50424:31;50458:26;50478:5;50458:19;:26::i;:::-;50424:60;;50499:25;50744:9;:16;;;50739:92;;-1:-1:-1;50801:14:0;;50739:92;50880:5;50845:544;50909:4;50904:1;:9;;:45;;;;;50932:17;50917:11;:32;;50904:45;50845:544;;;51018:15;51031:1;51018:12;:15::i;:::-;51006:27;;51056:9;:16;;;51052:73;;;51097:8;;51052:73;51147:14;;-1:-1:-1;;;;;51147:28:0;;51143:111;;51220:14;;;-1:-1:-1;51143:111:0;51297:5;-1:-1:-1;;;;;51276:26:0;:17;-1:-1:-1;;;;;51276:26:0;;51272:102;;;51353:1;51327:8;51336:13;;;;;;51327:23;;;;;;-1:-1:-1;;;51327:23:0;;;;;;;;;;;;;;:27;;;;;51272:102;50968:3;;50845:544;;;-1:-1:-1;;;51474:29:0;;;-1:-1:-1;51481:8:0;;-1:-1:-1;;48987:2579:0;;;;;;:::o;22498:340::-;-1:-1:-1;;;;;22629:31:0;;41732:10;22629:31;22625:61;;;22669:17;;-1:-1:-1;;;22669:17:0;;;;;;;;;;;22625:61;41732:10;22699:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22699:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22699:60:0;;;;;;;;;;22775:55;;9526:41:1;;;22699:49:0;;41732:10;22775:55;;9499:18:1;22775:55:0;;;;;;;22498:340;;:::o;23687:396::-;23854:28;23864:4;23870:2;23874:7;23854:9;:28::i;:::-;-1:-1:-1;;;;;23897:14:0;;;:19;23893:183;;23936:56;23967:4;23973:2;23977:7;23986:5;23936:30;:56::i;:::-;23931:145;;24020:40;;-1:-1:-1;;;24020:40:0;;;;;;;;;;;23931:145;23687:396;;;;:::o;60453:183::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;60565:9:::1;60549:13;13711:12:::0;;13695:13;;:28;;13445:315;60549:13:::1;:25;;;;:::i;:::-;60537:9;;:37;60533:63;;;60576:20;;-1:-1:-1::0;;;60576:20:0::1;;;;;;;:::i;60533:63::-;60607:21;60613:3;60618:9;60607:5;:21::i;61076:194::-:0;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;61160:12:::1;61186:3;-1:-1:-1::0;;;;;61178:17:0::1;61203:7;61178:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61159:56;;;61234:7;61226:36;;;::::0;-1:-1:-1;;;61226:36:0;;11665:2:1;61226:36:0::1;::::0;::::1;11647:21:1::0;11704:2;11684:18;;;11677:30;-1:-1:-1;;;11723:18:1;;;11716:46;11779:18;;61226:36:0::1;11637:166:1::0;47402:478:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13214:13:0;;47645:7;:25;47612:103;;47694:9;47402:478;-1:-1:-1;;47402:478:0:o;47612:103::-;47737:21;47750:7;47737:12;:21::i;:::-;47725:33;;47773:9;:16;;;47769:65;;;47813:9;47402:478;-1:-1:-1;;47402:478:0:o;47769:65::-;47851:21;47864:7;47851:12;:21::i;20668:424::-;20786:13;20822:16;20830:7;20822;:16::i;:::-;20817:59;;20847:29;;-1:-1:-1;;;20847:29:0;;;;;;;;;;;20817:59;20889:21;20913:10;:8;:10::i;:::-;20889:34;;20960:7;20954:21;20979:1;20954:26;;:130;;;;;;;;;;;;;;;;;21024:7;21033:18;21043:7;21033:9;:18::i;:::-;21007:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20934:150;20668:424;-1:-1:-1;;;20668:424:0:o;55754:238::-;54891:7;54918:6;-1:-1:-1;;;;;54918:6:0;41732:10;55065:23;55057:68;;;;-1:-1:-1;;;55057:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55857:22:0;::::1;55835:110;;;::::0;-1:-1:-1;;;55835:110:0;;10913:2:1;55835:110:0::1;::::0;::::1;10895:21:1::0;10952:2;10932:18;;;10925:30;10991:34;10971:18;;;10964:62;-1:-1:-1;;;11042:18:1;;;11035:36;11088:19;;55835:110:0::1;10885:228:1::0;55835:110:0::1;55956:28;55975:8;55956:18;:28::i;:::-;55754:238:::0;:::o;24338:273::-;24395:4;24485:13;;24475:7;:23;24432:152;;;;-1:-1:-1;;24536:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24536:43:0;:48;;24338:273::o;31215:2666::-;31330:27;31360;31379:7;31360:18;:27::i;:::-;31330:57;;31445:4;-1:-1:-1;;;;;31404:45:0;31420:19;-1:-1:-1;;;;;31404:45:0;;31400:99;;31471:28;;-1:-1:-1;;;31471:28:0;;;;;;;;;;;31400:99;31512:23;31538:24;;;:15;:24;;;;;;-1:-1:-1;;;;;31538:24:0;;;;31512:23;31601:27;;41732:10;31601:27;;:87;;-1:-1:-1;31645:43:0;31662:4;41732:10;22909:214;:::i;31645:43::-;31601:142;;;-1:-1:-1;;;;;;31705:38:0;;41732:10;31705:38;31601:142;31575:169;;31762:17;31757:66;;31788:35;;-1:-1:-1;;;31788:35:0;;;;;;;;;;;31757:66;-1:-1:-1;;;;;31838:16:0;;31834:52;;31863:23;;-1:-1:-1;;;31863:23:0;;;;;;;;;;;31834:52;-1:-1:-1;;;;;32012:29:0;;;32008:91;;30695:52;30800:21;;;30750:15;30842:4;30835:35;30909:4;30896:18;;30928:15;32058:29;-1:-1:-1;;;;;32466:24:0;;;;;;;:18;:24;;;;;;32464:26;;-1:-1:-1;;32464:26:0;;;32535:22;;;;;;;;;32533:24;;-1:-1:-1;32533:24:0;;;19998:11;19974:22;19970:40;19922:111;-1:-1:-1;;;19922:111:0;32828:26;;;;:17;:26;;;;;:195;-1:-1:-1;;;33143:46:0;;33139:626;;33247:1;33237:11;;33215:19;33370:30;;;:17;:30;;;;;;33366:384;;33508:13;;33493:11;:28;33489:242;;33655:30;;;;:17;:30;;;;;:52;;;33489:242;33139:626;;33812:7;33808:2;-1:-1:-1;;;;;33793:27:0;33802:4;-1:-1:-1;;;;;33793:27:0;;;;;;;;;;;31215:2666;;;;;;:::o;16823:1161::-;16917:7;16957;17059:13;;17052:4;:20;17048:869;;;17097:14;17114:23;;;:17;:23;;;;;;-1:-1:-1;;;17203:23:0;;17199:699;;17722:113;17729:11;17722:113;;-1:-1:-1;;;17800:6:0;17782:25;;;;:17;:25;;;;;;17722:113;;17199:699;17048:869;;17945:31;;-1:-1:-1;;;17945:31:0;;;;;;;;;;;56152:191;56226:16;56245:6;;-1:-1:-1;;;;;56262:17:0;;;-1:-1:-1;;;;;;56262:17:0;;;;;;56295:40;;56245:6;;;;;;;56295:40;;56226:16;56295:40;56152:191;;:::o;18564:185::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18716:24:0;;;;:17;:24;;;;;;18697:44;;:18;:44::i;58691:289::-;58093:1;58821:7;;:19;;58813:63;;;;-1:-1:-1;;;58813:63:0;;12712:2:1;58813:63:0;;;12694:21:1;12751:2;12731:18;;;12724:30;12790:33;12770:18;;;12763:61;12841:18;;58813:63:0;12684:181:1;58813:63:0;58093:1;58954:7;:18;58691:289::o;26360:1690::-;26448:13;;-1:-1:-1;;;;;26476:16:0;;26472:48;;26501:19;;-1:-1:-1;;;26501:19:0;;;;;;;;;;;26472:48;26535:13;26531:44;;26557:18;;-1:-1:-1;;;26557:18:0;;;;;;;;;;;26531:44;-1:-1:-1;;;;;27124:22:0;;;;;;:18;:22;;9929:2;27124:22;;:104;;27196:31;27167:61;;27124:104;;;19998:11;19974:22;19970:40;-1:-1:-1;27579:13:0;;10705:3;27564:56;19967:51;19922:111;27471:31;;;;:17;:31;;;;;:222;27489:12;27768:23;;;27806:99;27833:34;;27858:8;;;;;-1:-1:-1;;;;;27833:34:0;;;27850:1;;27833:34;;27850:1;;27833:34;27900:3;27891:6;:12;27806:99;;-1:-1:-1;;27937:23:0;27921:13;:39;-1:-1:-1;23190:170:0:o;37706:831::-;37903:171;;-1:-1:-1;;;37903:171:0;;37869:4;;-1:-1:-1;;;;;37903:45:0;;;;;:171;;41732:10;;38005:4;;38028:7;;38054:5;;37903:171;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37903:171:0;;;;;;;;-1:-1:-1;;37903:171:0;;;;;;;;;;;;:::i;:::-;;;37886:644;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38288:13:0;;38284:235;;38334:40;;-1:-1:-1;;;38334:40:0;;;;;;;;;;;38284:235;38477:6;38471:13;38462:6;38458:2;38454:15;38447:38;37886:644;-1:-1:-1;;;;;;38147:81:0;-1:-1:-1;;;38147:81:0;;-1:-1:-1;37886:644:0;37706:831;;;;;;:::o;19252:190::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19387:47:0;19406:27;19425:7;19406:18;:27::i;:::-;19387:18;:47::i;60306:114::-;60366:13;60399;60392:20;;;;;:::i;41856:1992::-;42357:4;42351:11;;42364:3;42347:21;;42442:17;;;;43138:11;;;43017:5;43270:2;43284;43274:13;;43266:22;43138:11;43253:36;43325:2;43315:13;;42909:697;43344:4;42909:697;;;43535:1;43530:3;43526:11;43519:18;;43586:2;43580:4;43576:13;43572:2;43568:22;43563:3;43555:36;43439:2;43429:13;;42909:697;;;-1:-1:-1;43636:13:0;;;-1:-1:-1;;43751:12:0;;;43811:19;;;43751:12;41984:1857;-1:-1:-1;41984:1857:0:o;18078:395::-;-1:-1:-1;;;;;;;;;;;;;18220:41:0;;;;10446:3;18306:32;;;18272:67;;-1:-1:-1;;;18272:67:0;-1:-1:-1;;;18369:23:0;;:28;;-1:-1:-1;;;18350:47:0;;;;10963:3;18437:27;;;;-1:-1:-1;;;18408:57:0;-1:-1:-1;18078:395:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:332::-;3066:6;3074;3082;3135:2;3123:9;3114:7;3110:23;3106:32;3103:2;;;3156:6;3148;3141:22;3103:2;3184:29;3203:9;3184:29;:::i;:::-;3174:39;3260:2;3245:18;;3232:32;;-1:-1:-1;3311:2:1;3296:18;;;3283:32;;3093:228;-1:-1:-1;;;3093:228:1:o;3326:665::-;3412:6;3420;3473:2;3461:9;3452:7;3448:23;3444:32;3441:2;;;3494:6;3486;3479:22;3441:2;3539:9;3526:23;3568:18;3609:2;3601:6;3598:14;3595:2;;;3630:6;3622;3615:22;3595:2;3673:6;3662:9;3658:22;3648:32;;3718:7;3711:4;3707:2;3703:13;3699:27;3689:2;;3745:6;3737;3730:22;3689:2;3790;3777:16;3816:2;3808:6;3805:14;3802:2;;;3837:6;3829;3822:22;3802:2;3895:7;3890:2;3880:6;3877:1;3873:14;3869:2;3865:23;3861:32;3858:45;3855:2;;;3921:6;3913;3906:22;3855:2;3957;3949:11;;;;;3979:6;;-1:-1:-1;3431:560:1;;-1:-1:-1;;;;3431:560:1:o;3996:255::-;4054:6;4107:2;4095:9;4086:7;4082:23;4078:32;4075:2;;;4128:6;4120;4113:22;4075:2;4172:9;4159:23;4191:30;4215:5;4191:30;:::i;4256:259::-;4325:6;4378:2;4366:9;4357:7;4353:23;4349:32;4346:2;;;4399:6;4391;4384:22;4346:2;4436:9;4430:16;4455:30;4479:5;4455:30;:::i;4520:480::-;4589:6;4642:2;4630:9;4621:7;4617:23;4613:32;4610:2;;;4663:6;4655;4648:22;4610:2;4708:9;4695:23;4741:18;4733:6;4730:30;4727:2;;;4778:6;4770;4763:22;4727:2;4806:22;;4859:4;4851:13;;4847:27;-1:-1:-1;4837:2:1;;4893:6;4885;4878:22;4837:2;4921:73;4986:7;4981:2;4968:16;4963:2;4959;4955:11;4921:73;:::i;5005:190::-;5064:6;5117:2;5105:9;5096:7;5092:23;5088:32;5085:2;;;5138:6;5130;5123:22;5085:2;-1:-1:-1;5166:23:1;;5075:120;-1:-1:-1;5075:120:1:o;5200:264::-;5268:6;5276;5329:2;5317:9;5308:7;5304:23;5300:32;5297:2;;;5350:6;5342;5335:22;5297:2;5391:9;5378:23;5368:33;;5420:38;5454:2;5443:9;5439:18;5420:38;:::i;5469:257::-;5510:3;5548:5;5542:12;5575:6;5570:3;5563:19;5591:63;5647:6;5640:4;5635:3;5631:14;5624:4;5617:5;5613:16;5591:63;:::i;:::-;5708:2;5687:15;-1:-1:-1;;5683:29:1;5674:39;;;;5715:4;5670:50;;5518:208;-1:-1:-1;;5518:208:1:o;5731:349::-;5815:12;;-1:-1:-1;;;;;5811:38:1;5799:51;;5903:4;5892:16;;;5886:23;5911:18;5882:48;5866:14;;;5859:72;5994:4;5983:16;;;5977:23;5970:31;5963:39;5947:14;;;5940:63;6056:4;6045:16;;;6039:23;6064:8;6035:38;6019:14;;6012:62;5789:291::o;6085:637::-;6365:3;6403:6;6397:13;6419:53;6465:6;6460:3;6453:4;6445:6;6441:17;6419:53;:::i;:::-;6535:13;;6494:16;;;;6557:57;6535:13;6494:16;6591:4;6579:17;;6557:57;:::i;:::-;-1:-1:-1;;;6636:20:1;;6665:22;;;6714:1;6703:13;;6373:349;-1:-1:-1;;;;6373:349:1:o;7525:488::-;-1:-1:-1;;;;;7794:15:1;;;7776:34;;7846:15;;7841:2;7826:18;;7819:43;7893:2;7878:18;;7871:34;;;7941:3;7936:2;7921:18;;7914:31;;;7719:4;;7962:45;;7987:19;;7979:6;7962:45;:::i;:::-;7954:53;7728:285;-1:-1:-1;;;;;;7728:285:1:o;8018:723::-;8249:2;8301:21;;;8371:13;;8274:18;;;8393:22;;;8220:4;;8249:2;8472:15;;;;8446:2;8431:18;;;8220:4;8518:197;8532:6;8529:1;8526:13;8518:197;;;8581:52;8629:3;8620:6;8614:13;8581:52;:::i;:::-;8690:15;;;;8662:4;8653:14;;;;;8554:1;8547:9;8518:197;;8746:635;8917:2;8969:21;;;9039:13;;8942:18;;;9061:22;;;8888:4;;8917:2;9140:15;;;;9114:2;9099:18;;;8888:4;9186:169;9200:6;9197:1;9194:13;9186:169;;;9261:13;;9249:26;;9330:15;;;;9295:12;;;;9222:1;9215:9;9186:169;;9802:219;9951:2;9940:9;9933:21;9914:4;9971:44;10011:2;10000:9;9996:18;9988:6;9971:44;:::i;10372:334::-;10574:2;10556:21;;;10613:2;10593:18;;;10586:30;-1:-1:-1;;;10647:2:1;10632:18;;10625:40;10697:2;10682:18;;10546:160::o;11808:356::-;12010:2;11992:21;;;12029:18;;;12022:30;12088:34;12083:2;12068:18;;12061:62;12155:2;12140:18;;11982:182::o;13212:264::-;13406:3;13391:19;;13419:51;13395:9;13452:6;13419:51;:::i;13663:128::-;13703:3;13734:1;13730:6;13727:1;13724:13;13721:2;;;13740:18;;:::i;:::-;-1:-1:-1;13776:9:1;;13711:80::o;13796:120::-;13836:1;13862;13852:2;;13867:18;;:::i;:::-;-1:-1:-1;13901:9:1;;13842:74::o;13921:258::-;13993:1;14003:113;14017:6;14014:1;14011:13;14003:113;;;14093:11;;;14087:18;14074:11;;;14067:39;14039:2;14032:10;14003:113;;;14134:6;14131:1;14128:13;14125:2;;;-1:-1:-1;;14169:1:1;14151:16;;14144:27;13974:205::o;14184:380::-;14263:1;14259:12;;;;14306;;;14327:2;;14381:4;14373:6;14369:17;14359:27;;14327:2;14434;14426:6;14423:14;14403:18;14400:38;14397:2;;;14480:10;14475:3;14471:20;14468:1;14461:31;14515:4;14512:1;14505:15;14543:4;14540:1;14533:15;14397:2;;14239:325;;;:::o;14569:135::-;14608:3;-1:-1:-1;;14629:17:1;;14626:2;;;14649:18;;:::i;:::-;-1:-1:-1;14696:1:1;14685:13;;14616:88::o;14709:112::-;14741:1;14767;14757:2;;14772:18;;:::i;:::-;-1:-1:-1;14806:9:1;;14747:74::o;14826:127::-;14887:10;14882:3;14878:20;14875:1;14868:31;14918:4;14915:1;14908:15;14942:4;14939:1;14932:15;14958:127;15019:10;15014:3;15010:20;15007:1;15000:31;15050:4;15047:1;15040:15;15074:4;15071:1;15064:15;15090:127;15151:10;15146:3;15142:20;15139:1;15132:31;15182:4;15179:1;15172:15;15206:4;15203:1;15196:15;15222:131;-1:-1:-1;;;;;;15296:32:1;;15286:43;;15276:2;;15343:1;15340;15333:12

Swarm Source

ipfs://4205ada46efb9922ddee4c654cee9b71c91db61df6d2e35f6293a76a823db06d
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.