Contract 0x294eA3c2587641F06B09B0a8BBAE6b84f1417b1A

 
Txn Hash
Method
Block
From
To
Value
0xf666429ff89beeb4b9248f8ce0eb7f2ff95653746d315105668213da1395232bMint155913212022-09-22 20:38:478 days 1 hr ago0x95cd7a14a4751bb04c562148e956a061d454a989 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x294390ffbd3002291b99a37f168d769c9d5adedfb32e2bb80f18e5e1466a5dedMint155913212022-09-22 20:38:478 days 1 hr ago0x95cd7a14a4751bb04c562148e956a061d454a989 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x0fad7ff2bf31e8607e2015802f2fec13fad9d6f86733d189a465e23e43f85237Mint155913212022-09-22 20:38:478 days 1 hr ago0xa2eb00f9e045db7ad7a26c84cfcc430b7129a20d IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x2e07628345712b95657aa455b2f3eadc5531f8b7736c9aa92f9e64be469f89ddMint155913212022-09-22 20:38:478 days 1 hr ago0xa2eb00f9e045db7ad7a26c84cfcc430b7129a20d IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x010d4d6e21b6bf488f181d8cdc04a517e232aceefe9399c01def534ba7fb4160Mint155913212022-09-22 20:38:478 days 1 hr ago0x3ab9deaa389fbfe8c55c74ccd79ad0da9d36d8ad IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x098e64a7e67991514bcd060381e7a95cf7bd59c9ef6cfcc79cf86ca8fa7088a8Mint155913212022-09-22 20:38:478 days 1 hr ago0x3ab9deaa389fbfe8c55c74ccd79ad0da9d36d8ad IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x036a96958975170b096d8b1e88a4c079f06346053b3b25293c210ef5a8eab39dMint155913212022-09-22 20:38:478 days 1 hr ago0xbb581476e764f394785cde9f46a6900252c7eaf0 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x7e69790602e87123f66d017127282b7c65e04f474cb5507e1d19e8885260b83aMint155913212022-09-22 20:38:478 days 1 hr ago0xbb581476e764f394785cde9f46a6900252c7eaf0 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0xac1538a0c73e75bf8956e51b2f6721b0b7232c885f4c09356c4dd4ea90b93f21Mint155913212022-09-22 20:38:478 days 1 hr ago0xd4e918117226337bcf55f0bbb5028da1a1244f88 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x9b6a0f40d2d4cb293584e993af683de4b7713d92d7a3fc2cb1dfec4ed325c81aMint155913212022-09-22 20:38:478 days 1 hr ago0xd4e918117226337bcf55f0bbb5028da1a1244f88 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x747aca59b1f845f0eeffe87b89e1843448109b45eb2a0d03e4e2c58c18c99e4aMint155913212022-09-22 20:38:478 days 1 hr ago0x3fb1235a951a0dc417a21edf5c4835ccc62d95bc IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x93319e227ff07cd8505910e78578aa9c4aa86715b744fa271e8bddb0762e15e8Mint155913212022-09-22 20:38:478 days 1 hr ago0x3fb1235a951a0dc417a21edf5c4835ccc62d95bc IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x85c6ac482eacd44ac2f320f49f524bdd3e7c9f3f372db2ea4bdc500a60b623cfMint155913212022-09-22 20:38:478 days 1 hr ago0x66341b38ba3ddcd92932967ec1ae8c9e1b3fbd34 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0xe1bea1c32391ecdb134cb3dbde8d9f9c1a5510e61aec5704accfa5627450f7e3Mint155913212022-09-22 20:38:478 days 1 hr ago0x66341b38ba3ddcd92932967ec1ae8c9e1b3fbd34 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x4b89cde95aca2f0bd23a6be9ac4b17aaeff101a2cf6dd41de836257b825c75baMint155913212022-09-22 20:38:478 days 1 hr ago0x568612a2beeb30bb5a4fccb8841d0957ab296a4e IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x3c76eb1a55a537230c4c61a8d5f12c5d7b3905b3089bbd2aac02e35fa180682dMint155913212022-09-22 20:38:478 days 1 hr ago0x568612a2beeb30bb5a4fccb8841d0957ab296a4e IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x583ca2175096e6a084ed4494da0668cbcf404235028371c23dc89a0b28d06540Mint155913212022-09-22 20:38:478 days 1 hr ago0xb2cc1765deb51dc6fd3d112c88168647a603e703 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x2f874334f2291b8b8d827137ce5f724f3ad03e14d2b634212de084fba315364cMint155913212022-09-22 20:38:478 days 1 hr ago0xb2cc1765deb51dc6fd3d112c88168647a603e703 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0xb2430f91917eaa2165c27f9f71a412266cd08e0ac832025cd6c319c2237f113fMint155913212022-09-22 20:38:478 days 1 hr ago0x00963acc13e54bea6858cd54ac7855e5c5cd8db7 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0xffc5a35a8aa6d34d6885b8a7f08a71b99a43d5d031d5cfdece8c7dbf33da44a4Mint155913212022-09-22 20:38:478 days 1 hr ago0x00963acc13e54bea6858cd54ac7855e5c5cd8db7 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x5f26659caeb9dfd57c39b5d4c76f2d9e7c94222b8c4700c7730226996531fa9dMint155913212022-09-22 20:38:478 days 1 hr ago0xcb690369634707909b39ef80d8ae8d7670e3d2a8 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x4515ae8039d44adecaf3bc511216e4bcd4e153418521bb8fb4487fe89b9ed494Mint155913212022-09-22 20:38:478 days 1 hr ago0xcb690369634707909b39ef80d8ae8d7670e3d2a8 IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0x9499e6e0dbeae1b1f01d056388dd36415ac357e53fe862e2bedd1c104c00a5adMint155913212022-09-22 20:38:478 days 1 hr ago0xa556893bebc817dab75f35bd55d407a2e6de7b2d IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
0x7219af4b6f4044a4ccd7a39b23c15122ce308114cd60d3ccf383cb223c51e475Mint155913212022-09-22 20:38:478 days 1 hr ago0xa556893bebc817dab75f35bd55d407a2e6de7b2d IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.000250629
0xe3f0b7a3fbd94f79e0225106f84c16d51748098b78ba978c2094cd11352550beMint155913212022-09-22 20:38:478 days 1 hr ago0xc20e71c4ea7da6368fdf06c647f190e92a10093a IN  0x294ea3c2587641f06b09b0a8bbae6b84f1417b1a0 Ether0.0002784710
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PixieMixie

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-22
*/

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

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

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

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

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot"s value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




pragma solidity ^0.8.0;

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

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

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

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

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




pragma solidity ^0.8.0;



contract PixieMixie is ERC721A, Ownable {
	using Strings for uint;

    uint public constant MAX_PER_WALLET = 4;
	uint public maxSupply = 2999;

	bool public isPaused = true;
    string private _baseURL = "";
	mapping(address => uint) private _walletMintedCount;
    mapping(address => bool) private _whiteList;
	constructor()
    // Name
	ERC721A("Pixie & Mixie", "PM") {
    }

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

	function _startTokenId() internal pure override returns (uint) {
		return 1;
	}

	function contractURI() public pure returns (string memory) {
		return "";
	}

    function mintedCount(address owner) external view returns (uint) {
        return _walletMintedCount[owner];
    }

    function setBaseUri(string memory url) external onlyOwner {
	    _baseURL = url;
	}

	function start(bool paused) external onlyOwner {
	    isPaused = paused;
	}

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

	function devMint(address to, uint count) external onlyOwner {
		require(
			_totalMinted() + count <= maxSupply,
			"Exceeds max supply"
		);
		_safeMint(to, count);
	}

	function setMaxSupply(uint newMaxSupply) external onlyOwner {
		maxSupply = newMaxSupply;
	}

    function addWhitelist(address[] calldata wallets) external onlyOwner {
		for(uint i=0;i<wallets.length;i++)
            _whiteList[wallets[i]]=true;
	}

	function tokenURI(uint tokenId)
		public
		view
		override
		returns (string memory)
	{
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return bytes(_baseURI()).length > 0 
            ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json"))
            : "";
	}

	function mint() external payable {
        uint count=MAX_PER_WALLET;
		require(!isPaused, "Sales are off");
        require(_totalMinted() + count <= maxSupply,"Exceeds max supply");
        require(count <= MAX_PER_WALLET,"Exceeds max per transaction");
        require(_walletMintedCount[msg.sender] + count <= MAX_PER_WALLET * 3,"Exceeds max per wallet");
        require(_whiteList[msg.sender],"You are not on the whitelist!");
		_walletMintedCount[msg.sender] += count;
		_safeMint(msg.sender, count);
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","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":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610bb7600955600a805460ff1916600117905560a060405260006080908152600b906200002d9082620001ad565b503480156200003b57600080fd5b506040518060400160405280600d81526020016c50697869652026204d6978696560981b81525060405180604001604052806002815260200161504d60f01b81525081600290816200008e9190620001ad565b5060036200009d8282620001ad565b5050600160005550620000b033620000b6565b62000279565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013357607f821691505b6020821081036200015457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a857600081815260208120601f850160051c81016020861015620001835750805b601f850160051c820191505b81811015620001a4578281556001016200018f565b5050505b505050565b81516001600160401b03811115620001c957620001c962000108565b620001e181620001da84546200011e565b846200015a565b602080601f831160018114620002195760008415620002005750858301515b600019600386901b1c1916600185901b178555620001a4565b600085815260208120601f198616915b828110156200024a5788860151825594840194600190910190840162000229565b5085821015620002695787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611a5380620002896000396000f3fe6080604052600436106101c25760003560e01c8063715018a6116100f7578063c877cf3711610095578063e985e9c511610064578063e985e9c5146104ce578063edac985b146104ee578063f2fde38b1461050e578063fddcb5ea1461052e57600080fd5b8063c877cf3714610457578063c87b56dd14610477578063d5abeb0114610497578063e8a3d485146104ad57600080fd5b8063a0bcfc7f116100d1578063a0bcfc7f146103dd578063a22cb465146103fd578063b187bd261461041d578063b88d4fde1461043757600080fd5b8063715018a6146103955780638da5cb5b146103aa57806395d89b41146103c857600080fd5b806323b872dd11610164578063627804af1161013e578063627804af146103155780636352211e146103355780636f8b44b01461035557806370a082311461037557600080fd5b806323b872dd146102c05780633ccfd60b146102e057806342842e0e146102f557600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630f2cdd6c146102785780631249c58b1461029b57806318160ddd146102a357600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611400565b610564565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105b6565b6040516101f3919061146d565b34801561022a57600080fd5b5061023e610239366004611480565b610648565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046114b5565b61068c565b005b34801561028457600080fd5b5061028d600481565b6040519081526020016101f3565b61027661072c565b3480156102af57600080fd5b50600154600054036000190161028d565b3480156102cc57600080fd5b506102766102db3660046114df565b610925565b3480156102ec57600080fd5b50610276610abe565b34801561030157600080fd5b506102766103103660046114df565b610b1b565b34801561032157600080fd5b506102766103303660046114b5565b610b3b565b34801561034157600080fd5b5061023e610350366004611480565b610baf565b34801561036157600080fd5b50610276610370366004611480565b610bba565b34801561038157600080fd5b5061028d61039036600461151b565b610bc7565b3480156103a157600080fd5b50610276610c16565b3480156103b657600080fd5b506008546001600160a01b031661023e565b3480156103d457600080fd5b50610211610c2a565b3480156103e957600080fd5b506102766103f83660046115c2565b610c39565b34801561040957600080fd5b5061027661041836600461161b565b610c4d565b34801561042957600080fd5b50600a546101e79060ff1681565b34801561044357600080fd5b5061027661045236600461164e565b610ce2565b34801561046357600080fd5b506102766104723660046116ca565b610d2c565b34801561048357600080fd5b50610211610492366004611480565b610d47565b3480156104a357600080fd5b5061028d60095481565b3480156104b957600080fd5b50604080516020810190915260008152610211565b3480156104da57600080fd5b506101e76104e93660046116e5565b610e12565b3480156104fa57600080fd5b5061027661050936600461170f565b610e40565b34801561051a57600080fd5b5061027661052936600461151b565b610eba565b34801561053a57600080fd5b5061028d61054936600461151b565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061059557506380ac58cd60e01b6001600160e01b03198316145b806105b05750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105c590611784565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190611784565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b5050505050905090565b600061065382610f30565b610670576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061069782610baf565b9050336001600160a01b038216146106d0576106b38133610e12565b6106d0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460049060ff16156107775760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b60448201526064015b60405180910390fd5b600954816107886000546000190190565b61079291906117d4565b11156107d55760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161076e565b60048111156108265760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d617820706572207472616e73616374696f6e0000000000604482015260640161076e565b610832600460036117e7565b336000908152600c602052604090205461084d9083906117d4565b11156108945760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b604482015260640161076e565b336000908152600d602052604090205460ff166108f35760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e207468652077686974656c69737421000000604482015260640161076e565b336000908152600c6020526040812080548392906109129084906117d4565b9091555061092290503382610f65565b50565b600061093082610f7f565b9050836001600160a01b0316816001600160a01b0316146109635760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109b0576109938633610e12565b6109b057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109d757604051633a954ecd60e21b815260040160405180910390fd5b80156109e257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a7457600184016000818152600460205260408120549003610a72576000548114610a725760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610ac6610ff5565b604051600090339047908381818185875af1925050503d8060008114610b08576040519150601f19603f3d011682016040523d82523d6000602084013e610b0d565b606091505b505090508061092257600080fd5b610b3683838360405180602001604052806000815250610ce2565b505050565b610b43610ff5565b60095481610b546000546000190190565b610b5e91906117d4565b1115610ba15760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161076e565b610bab8282610f65565b5050565b60006105b082610f7f565b610bc2610ff5565b600955565b60006001600160a01b038216610bf0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c1e610ff5565b610c28600061104f565b565b6060600380546105c590611784565b610c41610ff5565b600b610bab8282611844565b336001600160a01b03831603610c765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ced848484610925565b6001600160a01b0383163b15610d2657610d09848484846110a1565b610d26576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d34610ff5565b600a805460ff1916911515919091179055565b6060610d5282610f30565b610db65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161076e565b6000610dc061118d565b5111610ddb57604051806020016040528060008152506105b0565b610de361118d565b610dec8361119c565b604051602001610dfd929190611904565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e48610ff5565b60005b81811015610b36576001600d6000858585818110610e6b57610e6b611943565b9050602002016020810190610e80919061151b565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610eb281611959565b915050610e4b565b610ec2610ff5565b6001600160a01b038116610f275760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161076e565b6109228161104f565b600081600111158015610f44575060005482105b80156105b0575050600090815260046020526040902054600160e01b161590565b610bab82826040518060200160405280600081525061129d565b60008180600111610fdc57600054811015610fdc5760008181526004602052604081205490600160e01b82169003610fda575b80600003610fd3575060001901600081815260046020526040902054610fb2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161076e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110d6903390899088908890600401611972565b6020604051808303816000875af1925050508015611111575060408051601f3d908101601f1916820190925261110e918101906119af565b60015b61116f573d80801561113f576040519150601f19603f3d011682016040523d82523d6000602084013e611144565b606091505b508051600003611167576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546105c590611784565b6060816000036111c35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111ed57806111d781611959565b91506111e69050600a836119e2565b91506111c7565b60008167ffffffffffffffff81111561120857611208611536565b6040519080825280601f01601f191660200182016040528015611232576020820181803683370190505b5090505b8415611185576112476001836119f6565b9150611254600a86611a09565b61125f9060306117d4565b60f81b81838151811061127457611274611943565b60200101906001600160f81b031916908160001a905350611296600a866119e2565b9450611236565b6112a7838361130a565b6001600160a01b0383163b15610b36576000548281035b6112d160008683806001019450866110a1565b6112ee576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112be57816000541461130357600080fd5b5050505050565b6000546001600160a01b03831661133357604051622e076360e81b815260040160405180910390fd5b816000036113545760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061139e5760005550505050565b6001600160e01b03198116811461092257600080fd5b60006020828403121561141257600080fd5b8135610fd3816113ea565b60005b83811015611438578181015183820152602001611420565b50506000910152565b6000815180845261145981602086016020860161141d565b601f01601f19169290920160200192915050565b602081526000610fd36020830184611441565b60006020828403121561149257600080fd5b5035919050565b80356001600160a01b03811681146114b057600080fd5b919050565b600080604083850312156114c857600080fd5b6114d183611499565b946020939093013593505050565b6000806000606084860312156114f457600080fd5b6114fd84611499565b925061150b60208501611499565b9150604084013590509250925092565b60006020828403121561152d57600080fd5b610fd382611499565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561156757611567611536565b604051601f8501601f19908116603f0116810190828211818310171561158f5761158f611536565b816040528093508581528686860111156115a857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115d457600080fd5b813567ffffffffffffffff8111156115eb57600080fd5b8201601f810184136115fc57600080fd5b6111858482356020840161154c565b803580151581146114b057600080fd5b6000806040838503121561162e57600080fd5b61163783611499565b91506116456020840161160b565b90509250929050565b6000806000806080858703121561166457600080fd5b61166d85611499565b935061167b60208601611499565b925060408501359150606085013567ffffffffffffffff81111561169e57600080fd5b8501601f810187136116af57600080fd5b6116be8782356020840161154c565b91505092959194509250565b6000602082840312156116dc57600080fd5b610fd38261160b565b600080604083850312156116f857600080fd5b61170183611499565b915061164560208401611499565b6000806020838503121561172257600080fd5b823567ffffffffffffffff8082111561173a57600080fd5b818501915085601f83011261174e57600080fd5b81358181111561175d57600080fd5b8660208260051b850101111561177257600080fd5b60209290920196919550909350505050565b600181811c9082168061179857607f821691505b6020821081036117b857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105b0576105b06117be565b80820281158282048414176105b0576105b06117be565b601f821115610b3657600081815260208120601f850160051c810160208610156118255750805b601f850160051c820191505b81811015610ab657828155600101611831565b815167ffffffffffffffff81111561185e5761185e611536565b6118728161186c8454611784565b846117fe565b602080601f8311600181146118a7576000841561188f5750858301515b600019600386901b1c1916600185901b178555610ab6565b600085815260208120601f198616915b828110156118d6578886015182559484019460019091019084016118b7565b50858210156118f45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161191681846020880161141d565b83519083019061192a81836020880161141d565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161196b5761196b6117be565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119a590830184611441565b9695505050505050565b6000602082840312156119c157600080fd5b8151610fd3816113ea565b634e487b7160e01b600052601260045260246000fd5b6000826119f1576119f16119cc565b500490565b818103818111156105b0576105b06117be565b600082611a1857611a186119cc565b50069056fea26469706673582212209719b158ccf2c28b31fc3e60480fa06d6d4668aef743a94ebc5f7760387b86b664736f6c63430008110033

Deployed ByteCode Sourcemap

50689:2439:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18502:615;;;;;;;;;;-1:-1:-1;18502:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18502:615:0;;;;;;;;24149:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26095:204::-;;;;;;;;;;-1:-1:-1;26095:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;26095:204:0;1533:203:1;25643:386:0;;;;;;;;;;-1:-1:-1;25643:386:0;;;;;:::i;:::-;;:::i;:::-;;50764:39;;;;;;;;;;;;50802:1;50764:39;;;;;2324:25:1;;;2312:2;2297:18;50764:39:0;2178:177:1;52606:519:0;;;:::i;17556:315::-;;;;;;;;;;-1:-1:-1;51257:1:0;17822:12;17609:7;17806:13;:28;-1:-1:-1;;17806:46:0;17556:315;;35360:2800;;;;;;;;;;-1:-1:-1;35360:2800:0;;;;;:::i;:::-;;:::i;51650:177::-;;;;;;;;;;;;;:::i;26985:185::-;;;;;;;;;;-1:-1:-1;26985:185:0;;;;;:::i;:::-;;:::i;51832:174::-;;;;;;;;;;-1:-1:-1;51832:174:0;;;;;:::i;:::-;;:::i;23938:144::-;;;;;;;;;;-1:-1:-1;23938:144:0;;;;;:::i;:::-;;:::i;52011:94::-;;;;;;;;;;-1:-1:-1;52011:94:0;;;;;:::i;:::-;;:::i;19181:224::-;;;;;;;;;;-1:-1:-1;19181:224:0;;;;;:::i;:::-;;:::i;3093:103::-;;;;;;;;;;;;;:::i;2445:87::-;;;;;;;;;;-1:-1:-1;2518:6:0;;-1:-1:-1;;;;;2518:6:0;2445:87;;24318:104;;;;;;;;;;;;;:::i;51478:85::-;;;;;;;;;;-1:-1:-1;51478:85:0;;;;;:::i;:::-;;:::i;26371:308::-;;;;;;;;;;-1:-1:-1;26371:308:0;;;;;:::i;:::-;;:::i;50841:27::-;;;;;;;;;;-1:-1:-1;50841:27:0;;;;;;;;27241:399;;;;;;;;;;-1:-1:-1;27241:399:0;;;;;:::i;:::-;;:::i;51568:77::-;;;;;;;;;;-1:-1:-1;51568:77:0;;;;;:::i;:::-;;:::i;52272:329::-;;;;;;;;;;-1:-1:-1;52272:329:0;;;;;:::i;:::-;;:::i;50807:28::-;;;;;;;;;;;;;;;;51268:78;;;;;;;;;;-1:-1:-1;51332:9:0;;;;;;;;;-1:-1:-1;51332:9:0;;51268:78;;26750:164;;;;;;;;;;-1:-1:-1;26750:164:0;;;;;:::i;:::-;;:::i;52113:154::-;;;;;;;;;;-1:-1:-1;52113:154:0;;;;;:::i;:::-;;:::i;3351:201::-;;;;;;;;;;-1:-1:-1;3351:201:0;;;;;:::i;:::-;;:::i;51354:116::-;;;;;;;;;;-1:-1:-1;51354:116:0;;;;;:::i;:::-;-1:-1:-1;;;;;51437:25:0;51413:4;51437:25;;;:18;:25;;;;;;;51354:116;18502:615;18587:4;-1:-1:-1;;;;;;;;;18887:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18964:25:0;;;18887:102;:179;;;-1:-1:-1;;;;;;;;;;19041:25:0;;;18887:179;18867:199;18502:615;-1:-1:-1;;18502:615:0:o;24149:100::-;24203:13;24236:5;24229:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24149:100;:::o;26095:204::-;26163:7;26188:16;26196:7;26188;:16::i;:::-;26183:64;;26213:34;;-1:-1:-1;;;26213:34:0;;;;;;;;;;;26183:64;-1:-1:-1;26267:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26267:24:0;;26095:204::o;25643:386::-;25716:13;25732:16;25740:7;25732;:16::i;:::-;25716:32;-1:-1:-1;46543:10:0;-1:-1:-1;;;;;25765:28:0;;;25761:175;;25813:44;25830:5;46543:10;26750:164;:::i;25813:44::-;25808:128;;25885:35;;-1:-1:-1;;;25885:35:0;;;;;;;;;;;25808:128;25948:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25948:29:0;-1:-1:-1;;;;;25948:29:0;;;;;;;;;25993:28;;25948:24;;25993:28;;;;;;;25705:324;25643:386;;:::o;52606:519::-;52689:8;;50802:1;;52689:8;;52688:9;52680:35;;;;-1:-1:-1;;;52680:35:0;;6862:2:1;52680:35:0;;;6844:21:1;6901:2;6881:18;;;6874:30;-1:-1:-1;;;6920:18:1;;;6913:43;6973:18;;52680:35:0;;;;;;;;;52760:9;;52751:5;52734:14;18016:7;18204:13;-1:-1:-1;;18204:31:0;;17969:285;52734:14;:22;;;;:::i;:::-;:35;;52726:65;;;;-1:-1:-1;;;52726:65:0;;7466:2:1;52726:65:0;;;7448:21:1;7505:2;7485:18;;;7478:30;-1:-1:-1;;;7524:18:1;;;7517:48;7582:18;;52726:65:0;7264:342:1;52726:65:0;50802:1;52810:5;:23;;52802:62;;;;-1:-1:-1;;;52802:62:0;;7813:2:1;52802:62:0;;;7795:21:1;7852:2;7832:18;;;7825:30;7891:29;7871:18;;;7864:57;7938:18;;52802:62:0;7611:351:1;52802:62:0;52925:18;50802:1;52942;52925:18;:::i;:::-;52902:10;52883:30;;;;:18;:30;;;;;;:38;;52916:5;;52883:38;:::i;:::-;:60;;52875:94;;;;-1:-1:-1;;;52875:94:0;;8342:2:1;52875:94:0;;;8324:21:1;8381:2;8361:18;;;8354:30;-1:-1:-1;;;8400:18:1;;;8393:52;8462:18;;52875:94:0;8140:346:1;52875:94:0;52999:10;52988:22;;;;:10;:22;;;;;;;;52980:63;;;;-1:-1:-1;;;52980:63:0;;8693:2:1;52980:63:0;;;8675:21:1;8732:2;8712:18;;;8705:30;8771:31;8751:18;;;8744:59;8820:18;;52980:63:0;8491:353:1;52980:63:0;53067:10;53048:30;;;;:18;:30;;;;;:39;;53082:5;;53048:30;:39;;53082:5;;53048:39;:::i;:::-;;;;-1:-1:-1;53092:28:0;;-1:-1:-1;53102:10:0;53114:5;53092:9;:28::i;:::-;52639:486;52606:519::o;35360:2800::-;35494:27;35524;35543:7;35524:18;:27::i;:::-;35494:57;;35609:4;-1:-1:-1;;;;;35568:45:0;35584:19;-1:-1:-1;;;;;35568:45:0;;35564:86;;35622:28;;-1:-1:-1;;;35622:28:0;;;;;;;;;;;35564:86;35664:27;34090:21;;;33917:15;34132:4;34125:36;34214:4;34198:21;;34304:26;;46543:10;35057:30;;;-1:-1:-1;;;;;34755:26:0;;35036:19;;;35033:55;35843:174;;35930:43;35947:4;46543:10;26750:164;:::i;35930:43::-;35925:92;;35982:35;;-1:-1:-1;;;35982:35:0;;;;;;;;;;;35925:92;-1:-1:-1;;;;;36034:16:0;;36030:52;;36059:23;;-1:-1:-1;;;36059:23:0;;;;;;;;;;;36030:52;36231:15;36228:160;;;36371:1;36350:19;36343:30;36228:160;-1:-1:-1;;;;;36766:24:0;;;;;;;:18;:24;;;;;;36764:26;;-1:-1:-1;;36764:26:0;;;36835:22;;;;;;;;;36833:24;;-1:-1:-1;36833:24:0;;;23837:11;23813:22;23809:40;23796:62;-1:-1:-1;;;23796:62:0;37128:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;37422:46:0;;:51;;37418:626;;37526:1;37516:11;;37494:19;37649:30;;;:17;:30;;;;;;:35;;37645:384;;37787:13;;37772:11;:28;37768:242;;37934:30;;;;:17;:30;;;;;:52;;;37768:242;37475:569;37418:626;38091:7;38087:2;-1:-1:-1;;;;;38072:27:0;38081:4;-1:-1:-1;;;;;38072:27:0;;;;;;;;;;;38110:42;35483:2677;;;35360:2800;;;:::o;51650:177::-;2331:13;:11;:13::i;:::-;51713:82:::1;::::0;51695:12:::1;::::0;51721:10:::1;::::0;51759:21:::1;::::0;51695:12;51713:82;51695:12;51713:82;51759:21;51721:10;51713:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51694:101;;;51814:7;51806:16;;;::::0;::::1;26985:185:::0;27123:39;27140:4;27146:2;27150:7;27123:39;;;;;;;;;;;;:16;:39::i;:::-;26985:185;;;:::o;51832:174::-;2331:13;:11;:13::i;:::-;51936:9:::1;;51927:5;51910:14;18016:7:::0;18204:13;-1:-1:-1;;18204:31:0;;17969:285;51910:14:::1;:22;;;;:::i;:::-;:35;;51897:79;;;::::0;-1:-1:-1;;;51897:79:0;;7466:2:1;51897:79:0::1;::::0;::::1;7448:21:1::0;7505:2;7485:18;;;7478:30;-1:-1:-1;;;7524:18:1;;;7517:48;7582:18;;51897:79:0::1;7264:342:1::0;51897:79:0::1;51981:20;51991:2;51995:5;51981:9;:20::i;:::-;51832:174:::0;;:::o;23938:144::-;24002:7;24045:27;24064:7;24045:18;:27::i;52011:94::-;2331:13;:11;:13::i;:::-;52076:9:::1;:24:::0;52011:94::o;19181:224::-;19245:7;-1:-1:-1;;;;;19269:19:0;;19265:60;;19297:28;;-1:-1:-1;;;19297:28:0;;;;;;;;;;;19265:60;-1:-1:-1;;;;;;19343:25:0;;;;;:18;:25;;;;;;13736:13;19343:54;;19181:224::o;3093:103::-;2331:13;:11;:13::i;:::-;3158:30:::1;3185:1;3158:18;:30::i;:::-;3093:103::o:0;24318:104::-;24374:13;24407:7;24400:14;;;;;:::i;51478:85::-;2331:13;:11;:13::i;:::-;51544:8:::1;:14;51555:3:::0;51544:8;:14:::1;:::i;26371:308::-:0;46543:10;-1:-1:-1;;;;;26470:31:0;;;26466:61;;26510:17;;-1:-1:-1;;;26510:17:0;;;;;;;;;;;26466:61;46543:10;26540:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26540:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26540:60:0;;;;;;;;;;26616:55;;540:41:1;;;26540:49:0;;46543:10;26616:55;;513:18:1;26616:55:0;;;;;;;26371:308;;:::o;27241:399::-;27408:31;27421:4;27427:2;27431:7;27408:12;:31::i;:::-;-1:-1:-1;;;;;27454:14:0;;;:19;27450:183;;27493:56;27524:4;27530:2;27534:7;27543:5;27493:30;:56::i;:::-;27488:145;;27577:40;;-1:-1:-1;;;27577:40:0;;;;;;;;;;;27488:145;27241:399;;;;:::o;51568:77::-;2331:13;:11;:13::i;:::-;51623:8:::1;:17:::0;;-1:-1:-1;;51623:17:0::1;::::0;::::1;;::::0;;;::::1;::::0;;51568:77::o;52272:329::-;52346:13;52382:16;52390:7;52382;:16::i;:::-;52374:76;;;;-1:-1:-1;;;52374:76:0;;11465:2:1;52374:76:0;;;11447:21:1;11504:2;11484:18;;;11477:30;11543:34;11523:18;;;11516:62;-1:-1:-1;;;11594:18:1;;;11587:45;11649:19;;52374:76:0;11263:411:1;52374:76:0;52495:1;52474:10;:8;:10::i;:::-;52468:24;:28;:128;;;;;;;;;;;;;;;;;52537:10;:8;:10::i;:::-;52549:18;:7;:16;:18::i;:::-;52520:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52461:135;52272:329;-1:-1:-1;;52272:329:0:o;26750:164::-;-1:-1:-1;;;;;26871:25:0;;;26847:4;26871:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26750:164::o;52113:154::-;2331:13;:11;:13::i;:::-;52191:6:::1;52187:75;52200:16:::0;;::::1;52187:75;;;52258:4;52235:10;:22;52246:7;;52254:1;52246:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;52235:22:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;52235:22:0;:27;;-1:-1:-1;;52235:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;52217:3;::::1;::::0;::::1;:::i;:::-;;;;52187:75;;3351:201:::0;2331:13;:11;:13::i;:::-;-1:-1:-1;;;;;3440:22:0;::::1;3432:73;;;::::0;-1:-1:-1;;;3432:73:0;;12821:2:1;3432:73:0::1;::::0;::::1;12803:21:1::0;12860:2;12840:18;;;12833:30;12899:34;12879:18;;;12872:62;-1:-1:-1;;;12950:18:1;;;12943:36;12996:19;;3432:73:0::1;12619:402:1::0;3432:73:0::1;3516:28;3535:8;3516:18;:28::i;27895:273::-:0;27952:4;28008:7;51257:1;27989:26;;:66;;;;;28042:13;;28032:7;:23;27989:66;:152;;;;-1:-1:-1;;28093:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;28093:43:0;:48;;27895:273::o;28252:104::-;28321:27;28331:2;28335:8;28321:27;;;;;;;;;;;;:9;:27::i;20855:1129::-;20922:7;20957;;51257:1;21006:23;21002:915;;21059:13;;21052:4;:20;21048:869;;;21097:14;21114:23;;;:17;:23;;;;;;;-1:-1:-1;;;21203:23:0;;:28;;21199:699;;21722:113;21729:6;21739:1;21729:11;21722:113;;-1:-1:-1;;;21800:6:0;21782:25;;;;:17;:25;;;;;;21722:113;;;21868:6;20855:1129;-1:-1:-1;;;20855:1129:0:o;21199:699::-;21074:843;21048:869;21945:31;;-1:-1:-1;;;21945:31:0;;;;;;;;;;;2610:132;2518:6;;-1:-1:-1;;;;;2518:6:0;46543:10;2674:23;2666:68;;;;-1:-1:-1;;;2666:68:0;;13228:2:1;2666:68:0;;;13210:21:1;;;13247:18;;;13240:30;13306:34;13286:18;;;13279:62;13358:18;;2666:68:0;13026:356:1;3712:191:0;3805:6;;;-1:-1:-1;;;;;3822:17:0;;;-1:-1:-1;;;;;;3822:17:0;;;;;;;3855:40;;3805:6;;;3822:17;3805:6;;3855:40;;3786:16;;3855:40;3775:128;3712:191;:::o;42111:716::-;42295:88;;-1:-1:-1;;;42295:88:0;;42274:4;;-1:-1:-1;;;;;42295:45:0;;;;;:88;;46543:10;;42362:4;;42368:7;;42377:5;;42295:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42295:88:0;;;;;;;;-1:-1:-1;;42295:88:0;;;;;;;;;;;;:::i;:::-;;;42291:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42578:6;:13;42595:1;42578:18;42574:235;;42624:40;;-1:-1:-1;;;42624:40:0;;;;;;;;;;;42574:235;42767:6;42761:13;42752:6;42748:2;42744:15;42737:38;42291:529;-1:-1:-1;;;;;;42454:64:0;-1:-1:-1;;;42454:64:0;;-1:-1:-1;42291:529:0;42111:716;;;;;;:::o;51085:92::-;51137:13;51164:8;51157:15;;;;;:::i;48893:723::-;48949:13;49170:5;49179:1;49170:10;49166:53;;-1:-1:-1;;49197:10:0;;;;;;;;;;;;-1:-1:-1;;;49197:10:0;;;;;48893:723::o;49166:53::-;49244:5;49229:12;49285:78;49292:9;;49285:78;;49318:8;;;;:::i;:::-;;-1:-1:-1;49341:10:0;;-1:-1:-1;49349:2:0;49341:10;;:::i;:::-;;;49285:78;;;49373:19;49405:6;49395:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49395:17:0;;49373:39;;49423:154;49430:10;;49423:154;;49457:11;49467:1;49457:11;;:::i;:::-;;-1:-1:-1;49526:10:0;49534:2;49526:5;:10;:::i;:::-;49513:24;;:2;:24;:::i;:::-;49500:39;;49483:6;49490;49483:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;49483:56:0;;;;;;;;-1:-1:-1;49554:11:0;49563:2;49554:11;;:::i;:::-;;;49423:154;;28772:681;28895:19;28901:2;28905:8;28895:5;:19::i;:::-;-1:-1:-1;;;;;28956:14:0;;;:19;28952:483;;28996:11;29010:13;29058:14;;;29091:233;29122:62;29161:1;29165:2;29169:7;;;;;;29178:5;29122:30;:62::i;:::-;29117:167;;29220:40;;-1:-1:-1;;;29220:40:0;;;;;;;;;;;29117:167;29319:3;29311:5;:11;29091:233;;29406:3;29389:13;;:20;29385:34;;29411:8;;;29385:34;28977:458;;28772:681;;;:::o;29726:1529::-;29791:20;29814:13;-1:-1:-1;;;;;29842:16:0;;29838:48;;29867:19;;-1:-1:-1;;;29867:19:0;;;;;;;;;;;29838:48;29901:8;29913:1;29901:13;29897:44;;29923:18;;-1:-1:-1;;;29923:18:0;;;;;;;;;;;29897:44;-1:-1:-1;;;;;30429:22:0;;;;;;:18;:22;;13873:2;30429:22;;:70;;30467:31;30455:44;;30429:70;;;23837:11;23813:22;23809:40;-1:-1:-1;25547:15:0;;25522:23;25518:45;23806:51;23796:62;30742:31;;;;:17;:31;;;;;:173;30760:12;30991:23;;;31029:101;31056:35;;31081:9;;;;;-1:-1:-1;;;;;31056:35:0;;;31073:1;;31056:35;;31073:1;;31056:35;31125:3;31115:7;:13;31029:101;;31146:13;:19;-1:-1:-1;26985:185: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:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:632;3081:5;3111:18;3152:2;3144:6;3141:14;3138:40;;;3158:18;;:::i;:::-;3233:2;3227:9;3201:2;3287:15;;-1:-1:-1;;3283:24:1;;;3309:2;3279:33;3275:42;3263:55;;;3333:18;;;3353:22;;;3330:46;3327:72;;;3379:18;;:::i;:::-;3419:10;3415:2;3408:22;3448:6;3439:15;;3478:6;3470;3463:22;3518:3;3509:6;3504:3;3500:16;3497:25;3494:45;;;3535:1;3532;3525:12;3494:45;3585:6;3580:3;3573:4;3565:6;3561:17;3548:44;3640:1;3633:4;3624:6;3616;3612:19;3608:30;3601:41;;;;3016:632;;;;;:::o;3653:451::-;3722:6;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3831:9;3818:23;3864:18;3856:6;3853:30;3850:50;;;3896:1;3893;3886:12;3850:50;3919:22;;3972:4;3964:13;;3960:27;-1:-1:-1;3950:55:1;;4001:1;3998;3991:12;3950:55;4024:74;4090:7;4085:2;4072:16;4067:2;4063;4059:11;4024:74;:::i;4109:160::-;4174:20;;4230:13;;4223:21;4213:32;;4203:60;;4259:1;4256;4249:12;4274:254;4339:6;4347;4400:2;4388:9;4379:7;4375:23;4371:32;4368:52;;;4416:1;4413;4406:12;4368:52;4439:29;4458:9;4439:29;:::i;:::-;4429:39;;4487:35;4518:2;4507:9;4503:18;4487:35;:::i;:::-;4477:45;;4274:254;;;;;:::o;4533:667::-;4628:6;4636;4644;4652;4705:3;4693:9;4684:7;4680:23;4676:33;4673:53;;;4722:1;4719;4712:12;4673:53;4745:29;4764:9;4745:29;:::i;:::-;4735:39;;4793:38;4827:2;4816:9;4812:18;4793:38;:::i;:::-;4783:48;;4878:2;4867:9;4863:18;4850:32;4840:42;;4933:2;4922:9;4918:18;4905:32;4960:18;4952:6;4949:30;4946:50;;;4992:1;4989;4982:12;4946:50;5015:22;;5068:4;5060:13;;5056:27;-1:-1:-1;5046:55:1;;5097:1;5094;5087:12;5046:55;5120:74;5186:7;5181:2;5168:16;5163:2;5159;5155:11;5120:74;:::i;:::-;5110:84;;;4533:667;;;;;;;:::o;5205:180::-;5261:6;5314:2;5302:9;5293:7;5289:23;5285:32;5282:52;;;5330:1;5327;5320:12;5282:52;5353:26;5369:9;5353:26;:::i;5390:260::-;5458:6;5466;5519:2;5507:9;5498:7;5494:23;5490:32;5487:52;;;5535:1;5532;5525:12;5487:52;5558:29;5577:9;5558:29;:::i;:::-;5548:39;;5606:38;5640:2;5629:9;5625:18;5606:38;:::i;5655:615::-;5741:6;5749;5802:2;5790:9;5781:7;5777:23;5773:32;5770:52;;;5818:1;5815;5808:12;5770:52;5858:9;5845:23;5887:18;5928:2;5920:6;5917:14;5914:34;;;5944:1;5941;5934:12;5914:34;5982:6;5971:9;5967:22;5957:32;;6027:7;6020:4;6016:2;6012:13;6008:27;5998:55;;6049:1;6046;6039:12;5998:55;6089:2;6076:16;6115:2;6107:6;6104:14;6101:34;;;6131:1;6128;6121:12;6101:34;6184:7;6179:2;6169:6;6166:1;6162:14;6158:2;6154:23;6150:32;6147:45;6144:65;;;6205:1;6202;6195:12;6144:65;6236:2;6228:11;;;;;6258:6;;-1:-1:-1;5655:615:1;;-1:-1:-1;;;;5655:615:1:o;6275:380::-;6354:1;6350:12;;;;6397;;;6418:61;;6472:4;6464:6;6460:17;6450:27;;6418:61;6525:2;6517:6;6514:14;6494:18;6491:38;6488:161;;6571:10;6566:3;6562:20;6559:1;6552:31;6606:4;6603:1;6596:15;6634:4;6631:1;6624:15;6488:161;;6275:380;;;:::o;7002:127::-;7063:10;7058:3;7054:20;7051:1;7044:31;7094:4;7091:1;7084:15;7118:4;7115:1;7108:15;7134:125;7199:9;;;7220:10;;;7217:36;;;7233:18;;:::i;7967:168::-;8040:9;;;8071;;8088:15;;;8082:22;;8068:37;8058:71;;8109:18;;:::i;9185:545::-;9287:2;9282:3;9279:11;9276:448;;;9323:1;9348:5;9344:2;9337:17;9393:4;9389:2;9379:19;9463:2;9451:10;9447:19;9444:1;9440:27;9434:4;9430:38;9499:4;9487:10;9484:20;9481:47;;;-1:-1:-1;9522:4:1;9481:47;9577:2;9572:3;9568:12;9565:1;9561:20;9555:4;9551:31;9541:41;;9632:82;9650:2;9643:5;9640:13;9632:82;;;9695:17;;;9676:1;9665:13;9632:82;;9906:1352;10032:3;10026:10;10059:18;10051:6;10048:30;10045:56;;;10081:18;;:::i;:::-;10110:97;10200:6;10160:38;10192:4;10186:11;10160:38;:::i;:::-;10154:4;10110:97;:::i;:::-;10262:4;;10326:2;10315:14;;10343:1;10338:663;;;;11045:1;11062:6;11059:89;;;-1:-1:-1;11114:19:1;;;11108:26;11059:89;-1:-1:-1;;9863:1:1;9859:11;;;9855:24;9851:29;9841:40;9887:1;9883:11;;;9838:57;11161:81;;10308:944;;10338:663;9132:1;9125:14;;;9169:4;9156:18;;-1:-1:-1;;10374:20:1;;;10492:236;10506:7;10503:1;10500:14;10492:236;;;10595:19;;;10589:26;10574:42;;10687:27;;;;10655:1;10643:14;;;;10522:19;;10492:236;;;10496:3;10756:6;10747:7;10744:19;10741:201;;;10817:19;;;10811:26;-1:-1:-1;;10900:1:1;10896:14;;;10912:3;10892:24;10888:37;10884:42;10869:58;10854:74;;10741:201;-1:-1:-1;;;;;10988:1:1;10972:14;;;10968:22;10955:36;;-1:-1:-1;9906:1352:1:o;11679:663::-;11959:3;11997:6;11991:13;12013:66;12072:6;12067:3;12060:4;12052:6;12048:17;12013:66;:::i;:::-;12142:13;;12101:16;;;;12164:70;12142:13;12101:16;12211:4;12199:17;;12164:70;:::i;:::-;-1:-1:-1;;;12256:20:1;;12285:22;;;12334:1;12323:13;;11679:663;-1:-1:-1;;;;11679:663:1:o;12347:127::-;12408:10;12403:3;12399:20;12396:1;12389:31;12439:4;12436:1;12429:15;12463:4;12460:1;12453:15;12479:135;12518:3;12539:17;;;12536:43;;12559:18;;:::i;:::-;-1:-1:-1;12606:1:1;12595:13;;12479:135::o;13387:489::-;-1:-1:-1;;;;;13656:15:1;;;13638:34;;13708:15;;13703:2;13688:18;;13681:43;13755:2;13740:18;;13733:34;;;13803:3;13798:2;13783:18;;13776:31;;;13581:4;;13824:46;;13850:19;;13842:6;13824:46;:::i;:::-;13816:54;13387:489;-1:-1:-1;;;;;;13387:489:1:o;13881:249::-;13950:6;14003:2;13991:9;13982:7;13978:23;13974:32;13971:52;;;14019:1;14016;14009:12;13971:52;14051:9;14045:16;14070:30;14094:5;14070:30;:::i;14135:127::-;14196:10;14191:3;14187:20;14184:1;14177:31;14227:4;14224:1;14217:15;14251:4;14248:1;14241:15;14267:120;14307:1;14333;14323:35;;14338:18;;:::i;:::-;-1:-1:-1;14372:9:1;;14267:120::o;14392:128::-;14459:9;;;14480:11;;;14477:37;;;14494:18;;:::i;14525:112::-;14557:1;14583;14573:35;;14588:18;;:::i;:::-;-1:-1:-1;14622:9:1;;14525:112::o

Swarm Source

ipfs://9719b158ccf2c28b31fc3e60480fa06d6d4668aef743a94ebc5f7760387b86b6
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.