ETH Price: $3,316.23 (-1.70%)
Gas: 2 Gwei

Token

Happy Seals (HappySeals)
 

Overview

Max Total Supply

339 HappySeals

Holders

213

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 HappySeals
0x9d2c8cefbdc3fd2be3c7395037d0d884c939d086
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:
HappySeals

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-05-05
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

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


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

// File: contracts/happyseals.sol

pragma solidity ^0.8.0;

contract HappySeals is Ownable, ERC721A, ReentrancyGuard {
    string   public       baseURI                         = "ipfs://bafybeibmae34xgy62n62wkr5qq5mrjplp6dalt4e5f5szvttmvskl67kj4/";
    bool     public       publicSale                      = true;
    uint256  public       amountFree                      = 2000;
    uint256  public       price                           = 0.0003 ether;
    uint     public       maxFreePerWallet                = 2;
    uint     public       maxPerTx                        = 20;
    uint     public       maxSupply                       = 2222;

    constructor() ERC721A ( "Happy Seals", "HappySeals") {}

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

    function setFree(uint256 amount) external onlyOwner {
        amountFree = amount;
    }

    function freeMint(uint256 quantity) external callerIsUser {
        require(publicSale, "Public sale has not begun yet");
        require(totalSupply() + quantity <= amountFree, "Reached max free supply");
        require(numberMinted(msg.sender) + quantity <= maxFreePerWallet,"Too many free per wallet!");
        _safeMint(msg.sender, quantity);
    }


  function setMaxFreePerWallet(uint256 maxFreePerWallet_) external onlyOwner {
      maxFreePerWallet = maxFreePerWallet_;
  }

    function mint(uint256 quantity) external payable callerIsUser {
        require(publicSale, "Public sale has not begun yet");
        require(totalSupply() + quantity <= maxSupply,"Reached max supply");
        require(quantity <= maxPerTx, "can not mint this many at a time");
        require(msg.value >= price * quantity , "Ether value sent is not correct");

        _safeMint(msg.sender, quantity);
    }

  function adminMint(uint256 quantity) external onlyOwner
  {
    require(totalSupply() + quantity < maxSupply + 1,"too many!");

    _safeMint(msg.sender, quantity);
  }


  function setmaxPerTx(uint256 maxPerTx_) external onlyOwner {
      maxPerTx = maxPerTx_;
  }

  function setmaxSupply(uint256 maxSupply_) external onlyOwner {
      maxSupply = maxSupply_;
  }


	function setprice(uint256 _newprice) public onlyOwner {
	    price = _newprice;
	}
    
    function setSaleState(bool state) external onlyOwner {
        publicSale = state;
    }


  function setBaseURI(string calldata baseURI_) external onlyOwner {
    baseURI = baseURI_;
  }

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

    function withdraw() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }


    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","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":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxFreePerWallet_","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerTx_","type":"uint256"}],"name":"setmaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newprice","type":"uint256"}],"name":"setprice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040526043608081815290611e5360a039600a9061002090826101cd565b50600b805460ff191660011790556107d0600c55660110d9316ec000600d556002600e556014600f556108ae60105534801561005a575f80fd5b506040518060400160405280600b81526020016a4861707079205365616c7360a81b8152506040518060400160405280600a81526020016948617070795365616c7360b01b8152506100b86100b36100e260201b60201c565b6100e6565b60036100c483826101cd565b5060046100d182826101cd565b50505f60019081556009555061028c565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061015d57607f821691505b60208210810361017b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101c857805f5260205f20601f840160051c810160208510156101a65750805b601f840160051c820191505b818110156101c5575f81556001016101b2565b50505b505050565b81516001600160401b038111156101e6576101e6610135565b6101fa816101f48454610149565b84610181565b602080601f83116001811461022d575f84156102165750858301515b5f19600386901b1c1916600185901b178555610284565b5f85815260208120601f198616915b8281101561025b5788860151825594840194600190910190840161023c565b508582101561027857878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b611bba806102995f395ff3fe608060405260043610610207575f3560e01c8063805dcae511610113578063c1f261231161009d578063d5abeb011161006d578063d5abeb0114610571578063dc33e68114610586578063e985e9c5146105a5578063f2fde38b146105c4578063f968adbe146105e3575f80fd5b8063c1f26123146104f5578063c4e3709514610514578063c87b56dd14610533578063d49f0fa514610552575f80fd5b8063a0712d68116100e3578063a0712d6814610486578063a22cb46514610499578063a7027357146104b8578063b8793f72146104cd578063b88d4fde146104e2575f80fd5b8063805dcae5146104225780638da5cb5b1461044157806395d89b411461045d578063a035b1fe14610471575f80fd5b806342842e0e116101945780636d7c4a4b116101645780636d7c4a4b146103925780637040d73f146103b157806370a08231146103d0578063715018a6146103ef5780637c928fe914610403575f80fd5b806342842e0e1461032d57806355f804b3146103405780636352211e1461035f5780636c0360eb1461037e575f80fd5b806318160ddd116101da57806318160ddd146102ac578063228025e8146102ce57806323b872dd146102ed57806333bc1c5c146103005780633ccfd60b14610319575f80fd5b806301ffc9a71461020b57806306fdde031461023f578063081812fc14610260578063095ea7b314610297575b5f80fd5b348015610216575f80fd5b5061022a61022536600461167c565b6105f8565b60405190151581526020015b60405180910390f35b34801561024a575f80fd5b50610253610649565b60405161023691906116c5565b34801561026b575f80fd5b5061027f61027a3660046116d7565b6106d9565b6040516001600160a01b039091168152602001610236565b6102aa6102a5366004611709565b61071b565b005b3480156102b7575f80fd5b50600254600154035b604051908152602001610236565b3480156102d9575f80fd5b506102aa6102e83660046116d7565b6107b9565b6102aa6102fb366004611731565b6107f0565b34801561030b575f80fd5b50600b5461022a9060ff1681565b348015610324575f80fd5b506102aa610980565b6102aa61033b366004611731565b610a90565b34801561034b575f80fd5b506102aa61035a36600461176a565b610aaf565b34801561036a575f80fd5b5061027f6103793660046116d7565b610ae5565b348015610389575f80fd5b50610253610aef565b34801561039d575f80fd5b506102aa6103ac3660046116d7565b610b7b565b3480156103bc575f80fd5b506102aa6103cb3660046116d7565b610ba9565b3480156103db575f80fd5b506102c06103ea3660046117d6565b610bd7565b3480156103fa575f80fd5b506102aa610c24565b34801561040e575f80fd5b506102aa61041d3660046116d7565b610c58565b34801561042d575f80fd5b506102aa61043c3660046116d7565b610dd4565b34801561044c575f80fd5b505f546001600160a01b031661027f565b348015610468575f80fd5b50610253610e02565b34801561047c575f80fd5b506102c0600d5481565b6102aa6104943660046116d7565b610e11565b3480156104a4575f80fd5b506102aa6104b33660046117fe565b610fbf565b3480156104c3575f80fd5b506102c0600e5481565b3480156104d8575f80fd5b506102c0600c5481565b6102aa6104f0366004611843565b61102a565b348015610500575f80fd5b506102aa61050f3660046116d7565b611074565b34801561051f575f80fd5b506102aa61052e366004611918565b6110fc565b34801561053e575f80fd5b5061025361054d3660046116d7565b611138565b34801561055d575f80fd5b506102aa61056c3660046116d7565b6111b9565b34801561057c575f80fd5b506102c060105481565b348015610591575f80fd5b506102c06105a03660046117d6565b6111e7565b3480156105b0575f80fd5b5061022a6105bf366004611931565b611211565b3480156105cf575f80fd5b506102aa6105de3660046117d6565b61123e565b3480156105ee575f80fd5b506102c0600f5481565b5f6301ffc9a760e01b6001600160e01b03198316148061062857506380ac58cd60e01b6001600160e01b03198316145b806106435750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461065890611959565b80601f016020809104026020016040519081016040528092919081815260200182805461068490611959565b80156106cf5780601f106106a6576101008083540402835291602001916106cf565b820191905f5260205f20905b8154815290600101906020018083116106b257829003601f168201915b5050505050905090565b5f6106e3826112d5565b610700576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f61072582610ae5565b9050336001600160a01b0382161461075e576107418133611211565b61075e576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f546001600160a01b031633146107eb5760405162461bcd60e51b81526004016107e290611991565b60405180910390fd5b601055565b5f6107fa826112fb565b9050836001600160a01b0316816001600160a01b03161461082d5760405162a1148160e81b815260040160405180910390fd5b5f8281526007602052604090208054338082146001600160a01b038816909114176108795761085c8633611211565b61087957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108a057604051633a954ecd60e21b815260040160405180910390fd5b80156108aa575f82555b6001600160a01b038681165f9081526006602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260056020526040812091909155600160e11b8416900361093757600184015f818152600560205260408120549003610935576001548114610935575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b5f546001600160a01b031633146109a95760405162461bcd60e51b81526004016107e290611991565b6002600954036109fb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107e2565b60026009556040515f90339047908381818185875af1925050503d805f8114610a3f576040519150601f19603f3d011682016040523d82523d5f602084013e610a44565b606091505b5050905080610a885760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107e2565b506001600955565b610aaa83838360405180602001604052805f81525061102a565b505050565b5f546001600160a01b03163314610ad85760405162461bcd60e51b81526004016107e290611991565b600a610aaa828483611a0a565b5f610643826112fb565b600a8054610afc90611959565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2890611959565b8015610b735780601f10610b4a57610100808354040283529160200191610b73565b820191905f5260205f20905b815481529060010190602001808311610b5657829003601f168201915b505050505081565b5f546001600160a01b03163314610ba45760405162461bcd60e51b81526004016107e290611991565b600e55565b5f546001600160a01b03163314610bd25760405162461bcd60e51b81526004016107e290611991565b600c55565b5f6001600160a01b038216610bff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b5f546001600160a01b03163314610c4d5760405162461bcd60e51b81526004016107e290611991565b610c565f61135d565b565b323314610ca75760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016107e2565b600b5460ff16610cf95760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c6520686173206e6f7420626567756e2079657400000060448201526064016107e2565b600c5481610d0a6002546001540390565b610d149190611ad8565b1115610d625760405162461bcd60e51b815260206004820152601760248201527f52656163686564206d6178206672656520737570706c7900000000000000000060448201526064016107e2565b600e5481610d6f336111e7565b610d799190611ad8565b1115610dc75760405162461bcd60e51b815260206004820152601960248201527f546f6f206d616e792066726565207065722077616c6c6574210000000000000060448201526064016107e2565b610dd133826113ac565b50565b5f546001600160a01b03163314610dfd5760405162461bcd60e51b81526004016107e290611991565b600f55565b60606004805461065890611959565b323314610e605760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016107e2565b600b5460ff16610eb25760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c6520686173206e6f7420626567756e2079657400000060448201526064016107e2565b60105481610ec36002546001540390565b610ecd9190611ad8565b1115610f105760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820737570706c7960701b60448201526064016107e2565b600f54811115610f625760405162461bcd60e51b815260206004820181905260248201527f63616e206e6f74206d696e742074686973206d616e7920617420612074696d6560448201526064016107e2565b80600d54610f709190611aeb565b341015610dc75760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016107e2565b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110358484846107f0565b6001600160a01b0383163b1561106e57611051848484846113c9565b61106e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b5f546001600160a01b0316331461109d5760405162461bcd60e51b81526004016107e290611991565b6010546110ab906001611ad8565b816110b96002546001540390565b6110c39190611ad8565b10610dc75760405162461bcd60e51b8152602060048201526009602482015268746f6f206d616e792160b81b60448201526064016107e2565b5f546001600160a01b031633146111255760405162461bcd60e51b81526004016107e290611991565b600b805460ff1916911515919091179055565b6060611143826112d5565b61116057604051630a14c4b560e41b815260040160405180910390fd5b5f6111696114b1565b905080515f036111875760405180602001604052805f8152506111b2565b80611191846114c0565b6040516020016111a2929190611b19565b6040516020818303038152906040525b9392505050565b5f546001600160a01b031633146111e25760405162461bcd60e51b81526004016107e290611991565b600d55565b6001600160a01b0381165f908152600660205260408082205467ffffffffffffffff911c16610643565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b5f546001600160a01b031633146112675760405162461bcd60e51b81526004016107e290611991565b6001600160a01b0381166112cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e2565b610dd18161135d565b5f600154821080156106435750505f90815260056020526040902054600160e01b161590565b5f81600154811015611344575f8181526005602052604081205490600160e01b82169003611342575b805f036111b257505f19015f81815260056020526040902054611324565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6113c5828260405180602001604052805f815250611503565b5050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113fd903390899088908890600401611b2d565b6020604051808303815f875af1925050508015611437575060408051601f3d908101601f1916820190925261143491810190611b69565b60015b611493573d808015611464576040519150601f19603f3d011682016040523d82523d5f602084013e611469565b606091505b5080515f0361148b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461065890611959565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806114d95750819003601f19909101908152919050565b61150d838361156e565b6001600160a01b0383163b15610aaa576001548281035b6115365f8683806001019450866113c9565b611553576040516368d2bf6b60e11b815260040160405180910390fd5b818110611524578160015414611567575f80fd5b5050505050565b6001545f8290036115925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461163e5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611608565b50815f0361165e57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b031981168114610dd1575f80fd5b5f6020828403121561168c575f80fd5b81356111b281611667565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6111b26020830184611697565b5f602082840312156116e7575f80fd5b5035919050565b80356001600160a01b0381168114611704575f80fd5b919050565b5f806040838503121561171a575f80fd5b611723836116ee565b946020939093013593505050565b5f805f60608486031215611743575f80fd5b61174c846116ee565b925061175a602085016116ee565b9150604084013590509250925092565b5f806020838503121561177b575f80fd5b823567ffffffffffffffff80821115611792575f80fd5b818501915085601f8301126117a5575f80fd5b8135818111156117b3575f80fd5b8660208285010111156117c4575f80fd5b60209290920196919550909350505050565b5f602082840312156117e6575f80fd5b6111b2826116ee565b80358015158114611704575f80fd5b5f806040838503121561180f575f80fd5b611818836116ee565b9150611826602084016117ef565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215611856575f80fd5b61185f856116ee565b935061186d602086016116ee565b925060408501359150606085013567ffffffffffffffff80821115611890575f80fd5b818701915087601f8301126118a3575f80fd5b8135818111156118b5576118b561182f565b604051601f8201601f19908116603f011681019083821181831017156118dd576118dd61182f565b816040528281528a60208487010111156118f5575f80fd5b826020860160208301375f60208483010152809550505050505092959194509250565b5f60208284031215611928575f80fd5b6111b2826117ef565b5f8060408385031215611942575f80fd5b61194b836116ee565b9150611826602084016116ee565b600181811c9082168061196d57607f821691505b60208210810361198b57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610aaa57805f5260205f20601f840160051c810160208510156119eb5750805b601f840160051c820191505b81811015611567575f81556001016119f7565b67ffffffffffffffff831115611a2257611a2261182f565b611a3683611a308354611959565b836119c6565b5f601f841160018114611a67575f8515611a505750838201355b5f19600387901b1c1916600186901b178355611567565b5f83815260208120601f198716915b82811015611a965786850135825560209485019460019092019101611a76565b5086821015611ab2575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561064357610643611ac4565b808202811582820484141761064357610643611ac4565b5f81518060208401855e5f93019283525090919050565b5f6114a9611b278386611b02565b84611b02565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611b5f90830184611697565b9695505050505050565b5f60208284031215611b79575f80fd5b81516111b28161166756fea264697066735822122090f18e5d1f0b0b3dc92d466ea5bc0b3f3b0355d47e01a596a05029d7984a4ceb64736f6c63430008190033697066733a2f2f62616679626569626d6165333478677936326e3632776b72357171356d726a706c703664616c743465356635737a7674746d76736b6c36376b6a342f

Deployed Bytecode

0x608060405260043610610207575f3560e01c8063805dcae511610113578063c1f261231161009d578063d5abeb011161006d578063d5abeb0114610571578063dc33e68114610586578063e985e9c5146105a5578063f2fde38b146105c4578063f968adbe146105e3575f80fd5b8063c1f26123146104f5578063c4e3709514610514578063c87b56dd14610533578063d49f0fa514610552575f80fd5b8063a0712d68116100e3578063a0712d6814610486578063a22cb46514610499578063a7027357146104b8578063b8793f72146104cd578063b88d4fde146104e2575f80fd5b8063805dcae5146104225780638da5cb5b1461044157806395d89b411461045d578063a035b1fe14610471575f80fd5b806342842e0e116101945780636d7c4a4b116101645780636d7c4a4b146103925780637040d73f146103b157806370a08231146103d0578063715018a6146103ef5780637c928fe914610403575f80fd5b806342842e0e1461032d57806355f804b3146103405780636352211e1461035f5780636c0360eb1461037e575f80fd5b806318160ddd116101da57806318160ddd146102ac578063228025e8146102ce57806323b872dd146102ed57806333bc1c5c146103005780633ccfd60b14610319575f80fd5b806301ffc9a71461020b57806306fdde031461023f578063081812fc14610260578063095ea7b314610297575b5f80fd5b348015610216575f80fd5b5061022a61022536600461167c565b6105f8565b60405190151581526020015b60405180910390f35b34801561024a575f80fd5b50610253610649565b60405161023691906116c5565b34801561026b575f80fd5b5061027f61027a3660046116d7565b6106d9565b6040516001600160a01b039091168152602001610236565b6102aa6102a5366004611709565b61071b565b005b3480156102b7575f80fd5b50600254600154035b604051908152602001610236565b3480156102d9575f80fd5b506102aa6102e83660046116d7565b6107b9565b6102aa6102fb366004611731565b6107f0565b34801561030b575f80fd5b50600b5461022a9060ff1681565b348015610324575f80fd5b506102aa610980565b6102aa61033b366004611731565b610a90565b34801561034b575f80fd5b506102aa61035a36600461176a565b610aaf565b34801561036a575f80fd5b5061027f6103793660046116d7565b610ae5565b348015610389575f80fd5b50610253610aef565b34801561039d575f80fd5b506102aa6103ac3660046116d7565b610b7b565b3480156103bc575f80fd5b506102aa6103cb3660046116d7565b610ba9565b3480156103db575f80fd5b506102c06103ea3660046117d6565b610bd7565b3480156103fa575f80fd5b506102aa610c24565b34801561040e575f80fd5b506102aa61041d3660046116d7565b610c58565b34801561042d575f80fd5b506102aa61043c3660046116d7565b610dd4565b34801561044c575f80fd5b505f546001600160a01b031661027f565b348015610468575f80fd5b50610253610e02565b34801561047c575f80fd5b506102c0600d5481565b6102aa6104943660046116d7565b610e11565b3480156104a4575f80fd5b506102aa6104b33660046117fe565b610fbf565b3480156104c3575f80fd5b506102c0600e5481565b3480156104d8575f80fd5b506102c0600c5481565b6102aa6104f0366004611843565b61102a565b348015610500575f80fd5b506102aa61050f3660046116d7565b611074565b34801561051f575f80fd5b506102aa61052e366004611918565b6110fc565b34801561053e575f80fd5b5061025361054d3660046116d7565b611138565b34801561055d575f80fd5b506102aa61056c3660046116d7565b6111b9565b34801561057c575f80fd5b506102c060105481565b348015610591575f80fd5b506102c06105a03660046117d6565b6111e7565b3480156105b0575f80fd5b5061022a6105bf366004611931565b611211565b3480156105cf575f80fd5b506102aa6105de3660046117d6565b61123e565b3480156105ee575f80fd5b506102c0600f5481565b5f6301ffc9a760e01b6001600160e01b03198316148061062857506380ac58cd60e01b6001600160e01b03198316145b806106435750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461065890611959565b80601f016020809104026020016040519081016040528092919081815260200182805461068490611959565b80156106cf5780601f106106a6576101008083540402835291602001916106cf565b820191905f5260205f20905b8154815290600101906020018083116106b257829003601f168201915b5050505050905090565b5f6106e3826112d5565b610700576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f61072582610ae5565b9050336001600160a01b0382161461075e576107418133611211565b61075e576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f546001600160a01b031633146107eb5760405162461bcd60e51b81526004016107e290611991565b60405180910390fd5b601055565b5f6107fa826112fb565b9050836001600160a01b0316816001600160a01b03161461082d5760405162a1148160e81b815260040160405180910390fd5b5f8281526007602052604090208054338082146001600160a01b038816909114176108795761085c8633611211565b61087957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108a057604051633a954ecd60e21b815260040160405180910390fd5b80156108aa575f82555b6001600160a01b038681165f9081526006602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260056020526040812091909155600160e11b8416900361093757600184015f818152600560205260408120549003610935576001548114610935575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b5f546001600160a01b031633146109a95760405162461bcd60e51b81526004016107e290611991565b6002600954036109fb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107e2565b60026009556040515f90339047908381818185875af1925050503d805f8114610a3f576040519150601f19603f3d011682016040523d82523d5f602084013e610a44565b606091505b5050905080610a885760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107e2565b506001600955565b610aaa83838360405180602001604052805f81525061102a565b505050565b5f546001600160a01b03163314610ad85760405162461bcd60e51b81526004016107e290611991565b600a610aaa828483611a0a565b5f610643826112fb565b600a8054610afc90611959565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2890611959565b8015610b735780601f10610b4a57610100808354040283529160200191610b73565b820191905f5260205f20905b815481529060010190602001808311610b5657829003601f168201915b505050505081565b5f546001600160a01b03163314610ba45760405162461bcd60e51b81526004016107e290611991565b600e55565b5f546001600160a01b03163314610bd25760405162461bcd60e51b81526004016107e290611991565b600c55565b5f6001600160a01b038216610bff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b5f546001600160a01b03163314610c4d5760405162461bcd60e51b81526004016107e290611991565b610c565f61135d565b565b323314610ca75760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016107e2565b600b5460ff16610cf95760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c6520686173206e6f7420626567756e2079657400000060448201526064016107e2565b600c5481610d0a6002546001540390565b610d149190611ad8565b1115610d625760405162461bcd60e51b815260206004820152601760248201527f52656163686564206d6178206672656520737570706c7900000000000000000060448201526064016107e2565b600e5481610d6f336111e7565b610d799190611ad8565b1115610dc75760405162461bcd60e51b815260206004820152601960248201527f546f6f206d616e792066726565207065722077616c6c6574210000000000000060448201526064016107e2565b610dd133826113ac565b50565b5f546001600160a01b03163314610dfd5760405162461bcd60e51b81526004016107e290611991565b600f55565b60606004805461065890611959565b323314610e605760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016107e2565b600b5460ff16610eb25760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c6520686173206e6f7420626567756e2079657400000060448201526064016107e2565b60105481610ec36002546001540390565b610ecd9190611ad8565b1115610f105760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820737570706c7960701b60448201526064016107e2565b600f54811115610f625760405162461bcd60e51b815260206004820181905260248201527f63616e206e6f74206d696e742074686973206d616e7920617420612074696d6560448201526064016107e2565b80600d54610f709190611aeb565b341015610dc75760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016107e2565b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110358484846107f0565b6001600160a01b0383163b1561106e57611051848484846113c9565b61106e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b5f546001600160a01b0316331461109d5760405162461bcd60e51b81526004016107e290611991565b6010546110ab906001611ad8565b816110b96002546001540390565b6110c39190611ad8565b10610dc75760405162461bcd60e51b8152602060048201526009602482015268746f6f206d616e792160b81b60448201526064016107e2565b5f546001600160a01b031633146111255760405162461bcd60e51b81526004016107e290611991565b600b805460ff1916911515919091179055565b6060611143826112d5565b61116057604051630a14c4b560e41b815260040160405180910390fd5b5f6111696114b1565b905080515f036111875760405180602001604052805f8152506111b2565b80611191846114c0565b6040516020016111a2929190611b19565b6040516020818303038152906040525b9392505050565b5f546001600160a01b031633146111e25760405162461bcd60e51b81526004016107e290611991565b600d55565b6001600160a01b0381165f908152600660205260408082205467ffffffffffffffff911c16610643565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b5f546001600160a01b031633146112675760405162461bcd60e51b81526004016107e290611991565b6001600160a01b0381166112cc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e2565b610dd18161135d565b5f600154821080156106435750505f90815260056020526040902054600160e01b161590565b5f81600154811015611344575f8181526005602052604081205490600160e01b82169003611342575b805f036111b257505f19015f81815260056020526040902054611324565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6113c5828260405180602001604052805f815250611503565b5050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113fd903390899088908890600401611b2d565b6020604051808303815f875af1925050508015611437575060408051601f3d908101601f1916820190925261143491810190611b69565b60015b611493573d808015611464576040519150601f19603f3d011682016040523d82523d5f602084013e611469565b606091505b5080515f0361148b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461065890611959565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806114d95750819003601f19909101908152919050565b61150d838361156e565b6001600160a01b0383163b15610aaa576001548281035b6115365f8683806001019450866113c9565b611553576040516368d2bf6b60e11b815260040160405180910390fd5b818110611524578160015414611567575f80fd5b5050505050565b6001545f8290036115925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461163e5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611608565b50815f0361165e57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b031981168114610dd1575f80fd5b5f6020828403121561168c575f80fd5b81356111b281611667565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6111b26020830184611697565b5f602082840312156116e7575f80fd5b5035919050565b80356001600160a01b0381168114611704575f80fd5b919050565b5f806040838503121561171a575f80fd5b611723836116ee565b946020939093013593505050565b5f805f60608486031215611743575f80fd5b61174c846116ee565b925061175a602085016116ee565b9150604084013590509250925092565b5f806020838503121561177b575f80fd5b823567ffffffffffffffff80821115611792575f80fd5b818501915085601f8301126117a5575f80fd5b8135818111156117b3575f80fd5b8660208285010111156117c4575f80fd5b60209290920196919550909350505050565b5f602082840312156117e6575f80fd5b6111b2826116ee565b80358015158114611704575f80fd5b5f806040838503121561180f575f80fd5b611818836116ee565b9150611826602084016117ef565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215611856575f80fd5b61185f856116ee565b935061186d602086016116ee565b925060408501359150606085013567ffffffffffffffff80821115611890575f80fd5b818701915087601f8301126118a3575f80fd5b8135818111156118b5576118b561182f565b604051601f8201601f19908116603f011681019083821181831017156118dd576118dd61182f565b816040528281528a60208487010111156118f5575f80fd5b826020860160208301375f60208483010152809550505050505092959194509250565b5f60208284031215611928575f80fd5b6111b2826117ef565b5f8060408385031215611942575f80fd5b61194b836116ee565b9150611826602084016116ee565b600181811c9082168061196d57607f821691505b60208210810361198b57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610aaa57805f5260205f20601f840160051c810160208510156119eb5750805b601f840160051c820191505b81811015611567575f81556001016119f7565b67ffffffffffffffff831115611a2257611a2261182f565b611a3683611a308354611959565b836119c6565b5f601f841160018114611a67575f8515611a505750838201355b5f19600387901b1c1916600186901b178355611567565b5f83815260208120601f198716915b82811015611a965786850135825560209485019460019092019101611a76565b5086821015611ab2575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561064357610643611ac4565b808202811582820484141761064357610643611ac4565b5f81518060208401855e5f93019283525090919050565b5f6114a9611b278386611b02565b84611b02565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611b5f90830184611697565b9695505050505050565b5f60208284031215611b79575f80fd5b81516111b28161166756fea264697066735822122090f18e5d1f0b0b3dc92d466ea5bc0b3f3b0355d47e01a596a05029d7984a4ceb64736f6c63430008190033

Deployed Bytecode Sourcemap

64308:2922:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27790:639;;;;;;;;;;-1:-1:-1;27790:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;27790:639:0;;;;;;;;28692:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35183:218::-;;;;;;;;;;-1:-1:-1;35183:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1482:32:1;;;1464:51;;1452:2;1437:18;35183:218:0;1318:203:1;34616:408:0;;;;;;:::i;:::-;;:::i;:::-;;24443:323;;;;;;;;;;-1:-1:-1;24717:12:0;;24701:13;;:28;24443:323;;;2109:25:1;;;2097:2;2082:18;24443:323:0;1963:177:1;66405:98:0;;;;;;;;;;-1:-1:-1;66405:98:0;;;;;:::i;:::-;;:::i;38822:2825::-;;;;;;:::i;:::-;;:::i;64504:60::-;;;;;;;;;;-1:-1:-1;64504:60:0;;;;;;;;66916:186;;;;;;;;;;;;;:::i;41743:193::-;;;;;;:::i;:::-;;:::i;66704:96::-;;;;;;;;;;-1:-1:-1;66704:96:0;;;;;:::i;:::-;;:::i;30085:152::-;;;;;;;;;;-1:-1:-1;30085:152:0;;;;;:::i;:::-;;:::i;64372:125::-;;;;;;;;;;;;;:::i;65568:126::-;;;;;;;;;;-1:-1:-1;65568:126:0;;;;;:::i;:::-;;:::i;65103:90::-;;;;;;;;;;-1:-1:-1;65103:90:0;;;;;:::i;:::-;;:::i;25627:233::-;;;;;;;;;;-1:-1:-1;25627:233:0;;;;;:::i;:::-;;:::i;63427:103::-;;;;;;;;;;;;;:::i;65201:359::-;;;;;;;;;;-1:-1:-1;65201:359:0;;;;;:::i;:::-;;:::i;66305:94::-;;;;;;;;;;-1:-1:-1;66305:94:0;;;;;:::i;:::-;;:::i;62776:87::-;;;;;;;;;;-1:-1:-1;62822:7:0;62849:6;-1:-1:-1;;;;;62849:6:0;62776:87;;28868:104;;;;;;;;;;;;;:::i;64638:68::-;;;;;;;;;;;;;;;;65702:416;;;;;;:::i;:::-;;:::i;35741:234::-;;;;;;;;;;-1:-1:-1;35741:234:0;;;;;:::i;:::-;;:::i;64713:57::-;;;;;;;;;;;;;;;;64571:60;;;;;;;;;;;;;;;;42534:407;;;;;;:::i;:::-;;:::i;66124:173::-;;;;;;;;;;-1:-1:-1;66124:173:0;;;;;:::i;:::-;;:::i;66606:90::-;;;;;;;;;;-1:-1:-1;66606:90:0;;;;;:::i;:::-;;:::i;29078:318::-;;;;;;;;;;-1:-1:-1;29078:318:0;;;;;:::i;:::-;;:::i;66510:84::-;;;;;;;;;;-1:-1:-1;66510:84:0;;;;;:::i;:::-;;:::i;64842:60::-;;;;;;;;;;;;;;;;67112:113;;;;;;;;;;-1:-1:-1;67112:113:0;;;;;:::i;:::-;;:::i;36132:164::-;;;;;;;;;;-1:-1:-1;36132:164:0;;;;;:::i;:::-;;:::i;63685:201::-;;;;;;;;;;-1:-1:-1;63685:201:0;;;;;:::i;:::-;;:::i;64777:58::-;;;;;;;;;;;;;;;;27790:639;27875:4;-1:-1:-1;;;;;;;;;28199:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;28276:25:0;;;28199:102;:179;;;-1:-1:-1;;;;;;;;;;28353:25:0;;;28199:179;28179:199;27790:639;-1:-1:-1;;27790:639:0:o;28692:100::-;28746:13;28779:5;28772:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28692:100;:::o;35183:218::-;35259:7;35284:16;35292:7;35284;:16::i;:::-;35279:64;;35309:34;;-1:-1:-1;;;35309:34:0;;;;;;;;;;;35279:64;-1:-1:-1;35363:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;35363:30:0;;35183:218::o;34616:408::-;34705:13;34721:16;34729:7;34721;:16::i;:::-;34705:32;-1:-1:-1;58949:10:0;-1:-1:-1;;;;;34754:28:0;;;34750:175;;34802:44;34819:5;58949:10;36132:164;:::i;34802:44::-;34797:128;;34874:35;;-1:-1:-1;;;34874:35:0;;;;;;;;;;;34797:128;34937:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;34937:35:0;-1:-1:-1;;;;;34937:35:0;;;;;;;;;34988:28;;34937:24;;34988:28;;;;;;;34694:330;34616:408;;:::o;66405:98::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;;;;;;;;;66475:9:::1;:22:::0;66405:98::o;38822:2825::-;38964:27;38994;39013:7;38994:18;:27::i;:::-;38964:57;;39079:4;-1:-1:-1;;;;;39038:45:0;39054:19;-1:-1:-1;;;;;39038:45:0;;39034:86;;39092:28;;-1:-1:-1;;;39092:28:0;;;;;;;;;;;39034:86;39134:27;37930:24;;;:15;:24;;;;;38158:26;;58949:10;37555:30;;;-1:-1:-1;;;;;37248:28:0;;37533:20;;;37530:56;39320:180;;39413:43;39430:4;58949:10;36132:164;:::i;39413:43::-;39408:92;;39465:35;;-1:-1:-1;;;39465:35:0;;;;;;;;;;;39408:92;-1:-1:-1;;;;;39517:16:0;;39513:52;;39542:23;;-1:-1:-1;;;39542:23:0;;;;;;;;;;;39513:52;39714:15;39711:160;;;39854:1;39833:19;39826:30;39711:160;-1:-1:-1;;;;;40251:24:0;;;;;;;:18;:24;;;;;;40249:26;;-1:-1:-1;;40249:26:0;;;40320:22;;;;;;;;;40318:24;;-1:-1:-1;40318:24:0;;;33474:11;33449:23;33445:41;33432:63;-1:-1:-1;;;33432:63:0;40613:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;40908:47:0;;:52;;40904:627;;41013:1;41003:11;;40981:19;41136:30;;;:17;:30;;;;;;:35;;41132:384;;41274:13;;41259:11;:28;41255:242;;41421:30;;;;:17;:30;;;;;:52;;;41255:242;40962:569;40904:627;41578:7;41574:2;-1:-1:-1;;;;;41559:27:0;41568:4;-1:-1:-1;;;;;41559:27:0;;;;;;;;;;;38953:2694;;;38822:2825;;;:::o;66916:186::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;8439:1:::1;9037:7;;:19:::0;9029:63:::1;;;::::0;-1:-1:-1;;;9029:63:0;;6363:2:1;9029:63:0::1;::::0;::::1;6345:21:1::0;6402:2;6382:18;;;6375:30;6441:33;6421:18;;;6414:61;6492:18;;9029:63:0::1;6161:355:1::0;9029:63:0::1;8439:1;9170:7;:18:::0;66998:49:::2;::::0;66980:12:::2;::::0;66998:10:::2;::::0;67021:21:::2;::::0;66980:12;66998:49;66980:12;66998:49;67021:21;66998:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66979:68;;;67066:7;67058:36;;;::::0;-1:-1:-1;;;67058:36:0;;6933:2:1;67058:36:0::2;::::0;::::2;6915:21:1::0;6972:2;6952:18;;;6945:30;-1:-1:-1;;;6991:18:1;;;6984:46;7047:18;;67058:36:0::2;6731:340:1::0;67058:36:0::2;-1:-1:-1::0;8395:1:0::1;9349:7;:22:::0;66916:186::o;41743:193::-;41889:39;41906:4;41912:2;41916:7;41889:39;;;;;;;;;;;;:16;:39::i;:::-;41743:193;;;:::o;66704:96::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;66776:7:::1;:18;66786:8:::0;;66776:7;:18:::1;:::i;30085:152::-:0;30157:7;30200:27;30219:7;30200:18;:27::i;64372:125::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;65568:126::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;65652:16:::1;:36:::0;65568:126::o;65103:90::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;65166:10:::1;:19:::0;65103:90::o;25627:233::-;25699:7;-1:-1:-1;;;;;25723:19:0;;25719:60;;25751:28;;-1:-1:-1;;;25751:28:0;;;;;;;;;;;25719:60;-1:-1:-1;;;;;;25797:25:0;;;;;:18;:25;;;;;;19786:13;25797:55;;25627:233::o;63427:103::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;63492:30:::1;63519:1;63492:18;:30::i;:::-;63427:103::o:0;65201:359::-;65017:9;65030:10;65017:23;65009:66;;;;-1:-1:-1;;;65009:66:0;;9301:2:1;65009:66:0;;;9283:21:1;9340:2;9320:18;;;9313:30;9379:32;9359:18;;;9352:60;9429:18;;65009:66:0;9099:354:1;65009:66:0;65278:10:::1;::::0;::::1;;65270:52;;;::::0;-1:-1:-1;;;65270:52:0;;9660:2:1;65270:52:0::1;::::0;::::1;9642:21:1::0;9699:2;9679:18;;;9672:30;9738:31;9718:18;;;9711:59;9787:18;;65270:52:0::1;9458:353:1::0;65270:52:0::1;65369:10;;65357:8;65341:13;24717:12:::0;;24701:13;;:28;;24443:323;65341:13:::1;:24;;;;:::i;:::-;:38;;65333:74;;;::::0;-1:-1:-1;;;65333:74:0;;10280:2:1;65333:74:0::1;::::0;::::1;10262:21:1::0;10319:2;10299:18;;;10292:30;10358:25;10338:18;;;10331:53;10401:18;;65333:74:0::1;10078:347:1::0;65333:74:0::1;65465:16;;65453:8;65426:24;65439:10;65426:12;:24::i;:::-;:35;;;;:::i;:::-;:55;;65418:92;;;::::0;-1:-1:-1;;;65418:92:0;;10632:2:1;65418:92:0::1;::::0;::::1;10614:21:1::0;10671:2;10651:18;;;10644:30;10710:27;10690:18;;;10683:55;10755:18;;65418:92:0::1;10430:349:1::0;65418:92:0::1;65521:31;65531:10;65543:8;65521:9;:31::i;:::-;65201:359:::0;:::o;66305:94::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;66373:8:::1;:20:::0;66305:94::o;28868:104::-;28924:13;28957:7;28950:14;;;;;:::i;65702:416::-;65017:9;65030:10;65017:23;65009:66;;;;-1:-1:-1;;;65009:66:0;;9301:2:1;65009:66:0;;;9283:21:1;9340:2;9320:18;;;9313:30;9379:32;9359:18;;;9352:60;9429:18;;65009:66:0;9099:354:1;65009:66:0;65783:10:::1;::::0;::::1;;65775:52;;;::::0;-1:-1:-1;;;65775:52:0;;9660:2:1;65775:52:0::1;::::0;::::1;9642:21:1::0;9699:2;9679:18;;;9672:30;9738:31;9718:18;;;9711:59;9787:18;;65775:52:0::1;9458:353:1::0;65775:52:0::1;65874:9;;65862:8;65846:13;24717:12:::0;;24701:13;;:28;;24443:323;65846:13:::1;:24;;;;:::i;:::-;:37;;65838:67;;;::::0;-1:-1:-1;;;65838:67:0;;10986:2:1;65838:67:0::1;::::0;::::1;10968:21:1::0;11025:2;11005:18;;;10998:30;-1:-1:-1;;;11044:18:1;;;11037:48;11102:18;;65838:67:0::1;10784:342:1::0;65838:67:0::1;65936:8;;65924;:20;;65916:65;;;::::0;-1:-1:-1;;;65916:65:0;;11333:2:1;65916:65:0::1;::::0;::::1;11315:21:1::0;;;11352:18;;;11345:30;11411:34;11391:18;;;11384:62;11463:18;;65916:65:0::1;11131:356:1::0;65916:65:0::1;66021:8;66013:5;;:16;;;;:::i;:::-;66000:9;:29;;65992:74;;;::::0;-1:-1:-1;;;65992:74:0;;11867:2:1;65992:74:0::1;::::0;::::1;11849:21:1::0;11906:2;11886:18;;;11879:30;11945:33;11925:18;;;11918:61;11996:18;;65992:74:0::1;11665:355:1::0;35741:234:0;58949:10;35836:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35836:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35836:60:0;;;;;;;;;;35912:55;;540:41:1;;;35836:49:0;;58949:10;35912:55;;513:18:1;35912:55:0;;;;;;;35741:234;;:::o;42534:407::-;42709:31;42722:4;42728:2;42732:7;42709:12;:31::i;:::-;-1:-1:-1;;;;;42755:14:0;;;:19;42751:183;;42794:56;42825:4;42831:2;42835:7;42844:5;42794:30;:56::i;:::-;42789:145;;42878:40;;-1:-1:-1;;;42878:40:0;;;;;;;;;;;42789:145;42534:407;;;;:::o;66124:173::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;66225:9:::1;::::0;:13:::1;::::0;66237:1:::1;66225:13;:::i;:::-;66214:8;66198:13;24717:12:::0;;24701:13;;:28;;24443:323;66198:13:::1;:24;;;;:::i;:::-;:40;66190:61;;;::::0;-1:-1:-1;;;66190:61:0;;12227:2:1;66190:61:0::1;::::0;::::1;12209:21:1::0;12266:1;12246:18;;;12239:29;-1:-1:-1;;;12284:18:1;;;12277:39;12333:18;;66190:61:0::1;12025:332:1::0;66606:90:0;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;66670:10:::1;:18:::0;;-1:-1:-1;;66670:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;66606:90::o;29078:318::-;29151:13;29182:16;29190:7;29182;:16::i;:::-;29177:59;;29207:29;;-1:-1:-1;;;29207:29:0;;;;;;;;;;;29177:59;29249:21;29273:10;:8;:10::i;:::-;29249:34;;29307:7;29301:21;29326:1;29301:26;:87;;;;;;;;;;;;;;;;;29354:7;29363:18;29373:7;29363:9;:18::i;:::-;29337:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;29301:87;29294:94;29078:318;-1:-1:-1;;;29078:318:0:o;66510:84::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;66572:5:::1;:17:::0;66510:84::o;67112:113::-;-1:-1:-1;;;;;26031:25:0;;67170:7;26031:25;;;:18;:25;;19924:2;26031:25;;;;19786:13;26031:50;;26030:82;67197:20;25942:178;36132:164;-1:-1:-1;;;;;36253:25:0;;;36229:4;36253:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36132:164::o;63685:201::-;62822:7;62849:6;-1:-1:-1;;;;;62849:6:0;58949:10;62996:23;62988:68;;;;-1:-1:-1;;;62988:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63774:22:0;::::1;63766:73;;;::::0;-1:-1:-1;;;63766:73:0;;13053:2:1;63766:73:0::1;::::0;::::1;13035:21:1::0;13092:2;13072:18;;;13065:30;13131:34;13111:18;;;13104:62;-1:-1:-1;;;13182:18:1;;;13175:36;13228:19;;63766:73:0::1;12851:402:1::0;63766:73:0::1;63850:28;63869:8;63850:18;:28::i;36554:282::-:0;36619:4;36709:13;;36699:7;:23;36656:153;;;;-1:-1:-1;;36760:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36760:44:0;:49;;36554:282::o;31240:1275::-;31307:7;31342;31444:13;;31437:4;:20;31433:1015;;;31482:14;31499:23;;;:17;:23;;;;;;;-1:-1:-1;;;31588:24:0;;:29;;31584:845;;32253:113;32260:6;32270:1;32260:11;32253:113;;-1:-1:-1;;;32331:6:0;32313:25;;;;:17;:25;;;;;;32253:113;;31584:845;31459:989;31433:1015;32476:31;;-1:-1:-1;;;32476:31:0;;;;;;;;;;;64046:191;64120:16;64139:6;;-1:-1:-1;;;;;64156:17:0;;;-1:-1:-1;;;;;;64156:17:0;;;;;;64189:40;;64139:6;;;;;;;64189:40;;64120:16;64189:40;64109:128;64046:191;:::o;52694:112::-;52771:27;52781:2;52785:8;52771:27;;;;;;;;;;;;:9;:27::i;:::-;52694:112;;:::o;45025:716::-;45209:88;;-1:-1:-1;;;45209:88:0;;45188:4;;-1:-1:-1;;;;;45209:45:0;;;;;:88;;58949:10;;45276:4;;45282:7;;45291:5;;45209:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45209:88:0;;;;;;;;-1:-1:-1;;45209:88:0;;;;;;;;;;;;:::i;:::-;;;45205:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45492:6;:13;45509:1;45492:18;45488:235;;45538:40;;-1:-1:-1;;;45538:40:0;;;;;;;;;;;45488:235;45681:6;45675:13;45666:6;45662:2;45658:15;45651:38;45205:529;-1:-1:-1;;;;;;45368:64:0;-1:-1:-1;;;45368:64:0;;-1:-1:-1;45205:529:0;45025:716;;;;;;:::o;66806:102::-;66866:13;66895:7;66888:14;;;;;:::i;59069:1745::-;59134:17;59568:4;59561;59555:11;59551:22;59660:1;59654:4;59647:15;59735:4;59732:1;59728:12;59721:19;;;59817:1;59812:3;59805:14;59921:3;60160:5;60142:428;60208:1;60203:3;60199:11;60192:18;;60379:2;60373:4;60369:13;60365:2;60361:22;60356:3;60348:36;60473:2;60463:13;;60530:25;60142:428;60530:25;-1:-1:-1;60600:13:0;;;-1:-1:-1;;60715:14:0;;;60777:19;;;60715:14;59069:1745;-1:-1:-1;59069:1745:0:o;51921:689::-;52052:19;52058:2;52062:8;52052:5;:19::i;:::-;-1:-1:-1;;;;;52113:14:0;;;:19;52109:483;;52167:13;;52215:14;;;52248:233;52279:62;52318:1;52322:2;52326:7;;;;;;52335:5;52279:30;:62::i;:::-;52274:167;;52377:40;;-1:-1:-1;;;52377:40:0;;;;;;;;;;;52274:167;52476:3;52468:5;:11;52248:233;;52563:3;52546:13;;:20;52542:34;;52568:8;;;52542:34;52134:458;;51921:689;;;:::o;46203:2966::-;46299:13;;46276:20;46327:13;;;46323:44;;46349:18;;-1:-1:-1;;;46349:18:0;;;;;;;;;;;46323:44;-1:-1:-1;;;;;46855:22:0;;;;;;:18;:22;;;;19924:2;46855:22;;;:71;;46893:32;46881:45;;46855:71;;;47169:31;;;:17;:31;;;;;-1:-1:-1;33905:15:0;;33879:24;33875:46;33474:11;33449:23;33445:41;33442:52;33432:63;;47169:173;;47404:23;;;;47169:31;;46855:22;;48169:25;46855:22;;48022:335;48683:1;48669:12;48665:20;48623:346;48724:3;48715:7;48712:16;48623:346;;48942:7;48932:8;48929:1;48902:25;48899:1;48896;48891:59;48777:1;48764:15;48623:346;;;48627:77;49002:8;49014:1;49002:13;48998:45;;49024:19;;-1:-1:-1;;;49024:19:0;;;;;;;;;;;48998:45;49060:13;:19;-1:-1:-1;41743:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:300::-;645:3;683:5;677:12;710:6;705:3;698:19;766:6;759:4;752:5;748:16;741:4;736:3;732:14;726:47;818:1;811:4;802:6;797:3;793:16;789:27;782:38;881:4;874:2;870:7;865:2;857:6;853:15;849:29;844:3;840:39;836:50;829:57;;;592:300;;;;:::o;897:231::-;1046:2;1035:9;1028:21;1009:4;1066:56;1118:2;1107:9;1103:18;1095:6;1066:56;:::i;1133:180::-;1192:6;1245:2;1233:9;1224:7;1220:23;1216:32;1213:52;;;1261:1;1258;1251:12;1213:52;-1:-1:-1;1284:23:1;;1133:180;-1:-1:-1;1133:180:1:o;1526:173::-;1594:20;;-1:-1:-1;;;;;1643:31:1;;1633:42;;1623:70;;1689:1;1686;1679:12;1623:70;1526:173;;;:::o;1704:254::-;1772:6;1780;1833:2;1821:9;1812:7;1808:23;1804:32;1801:52;;;1849:1;1846;1839:12;1801:52;1872:29;1891:9;1872:29;:::i;:::-;1862:39;1948:2;1933:18;;;;1920:32;;-1:-1:-1;;;1704:254:1:o;2145:328::-;2222:6;2230;2238;2291:2;2279:9;2270:7;2266:23;2262:32;2259:52;;;2307:1;2304;2297:12;2259:52;2330:29;2349:9;2330:29;:::i;:::-;2320:39;;2378:38;2412:2;2401:9;2397:18;2378:38;:::i;:::-;2368:48;;2463:2;2452:9;2448:18;2435:32;2425:42;;2145:328;;;;;:::o;2478:592::-;2549:6;2557;2610:2;2598:9;2589:7;2585:23;2581:32;2578:52;;;2626:1;2623;2616:12;2578:52;2666:9;2653:23;2695:18;2736:2;2728:6;2725:14;2722:34;;;2752:1;2749;2742:12;2722:34;2790:6;2779:9;2775:22;2765:32;;2835:7;2828:4;2824:2;2820:13;2816:27;2806:55;;2857:1;2854;2847:12;2806:55;2897:2;2884:16;2923:2;2915:6;2912:14;2909:34;;;2939:1;2936;2929:12;2909:34;2984:7;2979:2;2970:6;2966:2;2962:15;2958:24;2955:37;2952:57;;;3005:1;3002;2995:12;2952:57;3036:2;3028:11;;;;;3058:6;;-1:-1:-1;2478:592:1;;-1:-1:-1;;;;2478:592:1:o;3075:186::-;3134:6;3187:2;3175:9;3166:7;3162:23;3158:32;3155:52;;;3203:1;3200;3193:12;3155:52;3226:29;3245:9;3226:29;:::i;3266:160::-;3331:20;;3387:13;;3380:21;3370:32;;3360:60;;3416:1;3413;3406:12;3431:254;3496:6;3504;3557:2;3545:9;3536:7;3532:23;3528:32;3525:52;;;3573:1;3570;3563:12;3525:52;3596:29;3615:9;3596:29;:::i;:::-;3586:39;;3644:35;3675:2;3664:9;3660:18;3644:35;:::i;:::-;3634:45;;3431:254;;;;;:::o;3690:127::-;3751:10;3746:3;3742:20;3739:1;3732:31;3782:4;3779:1;3772:15;3806:4;3803:1;3796:15;3822:1138;3917:6;3925;3933;3941;3994:3;3982:9;3973:7;3969:23;3965:33;3962:53;;;4011:1;4008;4001:12;3962:53;4034:29;4053:9;4034:29;:::i;:::-;4024:39;;4082:38;4116:2;4105:9;4101:18;4082:38;:::i;:::-;4072:48;;4167:2;4156:9;4152:18;4139:32;4129:42;;4222:2;4211:9;4207:18;4194:32;4245:18;4286:2;4278:6;4275:14;4272:34;;;4302:1;4299;4292:12;4272:34;4340:6;4329:9;4325:22;4315:32;;4385:7;4378:4;4374:2;4370:13;4366:27;4356:55;;4407:1;4404;4397:12;4356:55;4443:2;4430:16;4465:2;4461;4458:10;4455:36;;;4471:18;;:::i;:::-;4546:2;4540:9;4514:2;4600:13;;-1:-1:-1;;4596:22:1;;;4620:2;4592:31;4588:40;4576:53;;;4644:18;;;4664:22;;;4641:46;4638:72;;;4690:18;;:::i;:::-;4730:10;4726:2;4719:22;4765:2;4757:6;4750:18;4805:7;4800:2;4795;4791;4787:11;4783:20;4780:33;4777:53;;;4826:1;4823;4816:12;4777:53;4882:2;4877;4873;4869:11;4864:2;4856:6;4852:15;4839:46;4927:1;4922:2;4917;4909:6;4905:15;4901:24;4894:35;4948:6;4938:16;;;;;;;3822:1138;;;;;;;:::o;4965:180::-;5021:6;5074:2;5062:9;5053:7;5049:23;5045:32;5042:52;;;5090:1;5087;5080:12;5042:52;5113:26;5129:9;5113:26;:::i;5150:260::-;5218:6;5226;5279:2;5267:9;5258:7;5254:23;5250:32;5247:52;;;5295:1;5292;5285:12;5247:52;5318:29;5337:9;5318:29;:::i;:::-;5308:39;;5366:38;5400:2;5389:9;5385:18;5366:38;:::i;5415:380::-;5494:1;5490:12;;;;5537;;;5558:61;;5612:4;5604:6;5600:17;5590:27;;5558:61;5665:2;5657:6;5654:14;5634:18;5631:38;5628:161;;5711:10;5706:3;5702:20;5699:1;5692:31;5746:4;5743:1;5736:15;5774:4;5771:1;5764:15;5628:161;;5415:380;;;:::o;5800:356::-;6002:2;5984:21;;;6021:18;;;6014:30;6080:34;6075:2;6060:18;;6053:62;6147:2;6132:18;;5800:356::o;7202:518::-;7304:2;7299:3;7296:11;7293:421;;;7340:5;7337:1;7330:16;7384:4;7381:1;7371:18;7454:2;7442:10;7438:19;7435:1;7431:27;7425:4;7421:38;7490:4;7478:10;7475:20;7472:47;;;-1:-1:-1;7513:4:1;7472:47;7568:2;7563:3;7559:12;7556:1;7552:20;7546:4;7542:31;7532:41;;7623:81;7641:2;7634:5;7631:13;7623:81;;;7700:1;7686:16;;7667:1;7656:13;7623:81;;7896:1198;8020:18;8015:3;8012:27;8009:53;;;8042:18;;:::i;:::-;8071:94;8161:3;8121:38;8153:4;8147:11;8121:38;:::i;:::-;8115:4;8071:94;:::i;:::-;8191:1;8216:2;8211:3;8208:11;8233:1;8228:608;;;;8880:1;8897:3;8894:93;;;-1:-1:-1;8953:19:1;;;8940:33;8894:93;-1:-1:-1;;7853:1:1;7849:11;;;7845:24;7841:29;7831:40;7877:1;7873:11;;;7828:57;9000:78;;8201:887;;8228:608;7149:1;7142:14;;;7186:4;7173:18;;-1:-1:-1;;8264:17:1;;;8379:229;8393:7;8390:1;8387:14;8379:229;;;8482:19;;;8469:33;8454:49;;8589:4;8574:20;;;;8542:1;8530:14;;;;8409:12;8379:229;;;8383:3;8636;8627:7;8624:16;8621:159;;;8760:1;8756:6;8750:3;8744;8741:1;8737:11;8733:21;8729:34;8725:39;8712:9;8707:3;8703:19;8690:33;8686:79;8678:6;8671:95;8621:159;;;8823:1;8817:3;8814:1;8810:11;8806:19;8800:4;8793:33;8201:887;;7896:1198;;;:::o;9816:127::-;9877:10;9872:3;9868:20;9865:1;9858:31;9908:4;9905:1;9898:15;9932:4;9929:1;9922:15;9948:125;10013:9;;;10034:10;;;10031:36;;;10047:18;;:::i;11492:168::-;11565:9;;;11596;;11613:15;;;11607:22;;11593:37;11583:71;;11634:18;;:::i;12362:212::-;12404:3;12442:5;12436:12;12486:6;12479:4;12472:5;12468:16;12463:3;12457:36;12548:1;12512:16;;12537:13;;;-1:-1:-1;12512:16:1;;12362:212;-1:-1:-1;12362:212:1:o;12579:267::-;12758:3;12783:57;12809:30;12835:3;12827:6;12809:30;:::i;:::-;12801:6;12783:57;:::i;13258:500::-;-1:-1:-1;;;;;13527:15:1;;;13509:34;;13579:15;;13574:2;13559:18;;13552:43;13626:2;13611:18;;13604:34;;;13674:3;13669:2;13654:18;;13647:31;;;13452:4;;13695:57;;13732:19;;13724:6;13695:57;:::i;:::-;13687:65;13258:500;-1:-1:-1;;;;;;13258:500:1:o;13763:249::-;13832:6;13885:2;13873:9;13864:7;13860:23;13856:32;13853:52;;;13901:1;13898;13891:12;13853:52;13933:9;13927:16;13952:30;13976:5;13952:30;:::i

Swarm Source

ipfs://90f18e5d1f0b0b3dc92d466ea5bc0b3f3b0355d47e01a596a05029d7984a4ceb
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.