ETH Price: $2,980.95 (-2.31%)
Gas: 4 Gwei

Contract

0xB9A5A338D32C43Aee8D3185855214E9365604DCB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer From178074202023-07-30 17:45:59342 days ago1690739159IN
0xB9A5A338...365604DCB
0 ETH0.0009194815.49618382
Allow List Mint169911252023-04-06 17:48:23457 days ago1680803303IN
0xB9A5A338...365604DCB
0.00333 ETH0.003428529.6919598
Allow List Mint169911252023-04-06 17:48:23457 days ago1680803303IN
0xB9A5A338...365604DCB
0.00333 ETH0.0034287929.6919598
Set Approval For...169813332023-04-05 8:14:47459 days ago1680682487IN
0xB9A5A338...365604DCB
0 ETH0.0016394627.62886442
Z Collect ETH168056022023-03-11 15:02:11484 days ago1678546931IN
0xB9A5A338...365604DCB
0 ETH0.0015270549.97713622
Set Approval For...167696032023-03-06 13:27:23489 days ago1678109243IN
0xB9A5A338...365604DCB
0 ETH0.0012555321.15869317
Allow List Mint167651052023-03-05 22:16:47489 days ago1678054607IN
0xB9A5A338...365604DCB
0.00333 ETH0.004825536.57733551
Allow List Mint167651012023-03-05 22:15:59489 days ago1678054559IN
0xB9A5A338...365604DCB
0.00333 ETH0.0050601138.36152165
Allow List Mint167650782023-03-05 22:11:23489 days ago1678054283IN
0xB9A5A338...365604DCB
0.00333 ETH0.0042713528.66372017
Allow List Mint167603632023-03-05 6:16:23490 days ago1677996983IN
0xB9A5A338...365604DCB
0.00333 ETH0.0025727618.52723056
Allow List Mint167603472023-03-05 6:12:59490 days ago1677996779IN
0xB9A5A338...365604DCB
0.00333 ETH0.0026224718.88654081
Allow List Mint167602672023-03-05 5:56:47490 days ago1677995807IN
0xB9A5A338...365604DCB
0.00333 ETH0.0026974117.29776242
Allow List Mint167563972023-03-04 16:55:35490 days ago1677948935IN
0xB9A5A338...365604DCB
0.00333 ETH0.0031649221.23571835
Allow List Mint167542922023-03-04 9:49:11491 days ago1677923351IN
0xB9A5A338...365604DCB
0.00333 ETH0.0022724317.13920984
Allow List Mint167532742023-03-04 6:21:35491 days ago1677910895IN
0xB9A5A338...365604DCB
0.00333 ETH0.0027651818.55079216
Allow List Mint167488882023-03-03 15:31:23492 days ago1677857483IN
0xB9A5A338...365604DCB
0.00333 ETH0.0051364638.92739462
Allow List Mint167488862023-03-03 15:30:59492 days ago1677857459IN
0xB9A5A338...365604DCB
0.00333 ETH0.005210634.95643659
Set Approval For...167481812023-03-03 13:08:47492 days ago1677848927IN
0xB9A5A338...365604DCB
0 ETH0.0012648821.31628806
Allow List Mint167475832023-03-03 11:07:23492 days ago1677841643IN
0xB9A5A338...365604DCB
0.00333 ETH0.0031963124.22004816
Set Approval For...167475682023-03-03 11:04:23492 days ago1677841463IN
0xB9A5A338...365604DCB
0 ETH0.0015562126.22586405
Allow List Mint167475612023-03-03 11:02:59492 days ago1677841379IN
0xB9A5A338...365604DCB
0.00333 ETH0.003469923.27860545
Allow List Mint167467242023-03-03 8:14:11492 days ago1677831251IN
0xB9A5A338...365604DCB
0.00333 ETH0.0032986421.14838639
Allow List Mint167461542023-03-03 6:18:47492 days ago1677824327IN
0xB9A5A338...365604DCB
0.00333 ETH0.0027462520.81792526
Allow List Mint167459592023-03-03 5:39:11492 days ago1677821951IN
0xB9A5A338...365604DCB
0.00333 ETH0.0020611617.85257344
Allow List Mint167459572023-03-03 5:38:47492 days ago1677821927IN
0xB9A5A338...365604DCB
0.00333 ETH0.0020982518.17003584
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
169911252023-04-06 17:48:23457 days ago1680803303
0xB9A5A338...365604DCB
0.00333 ETH
169911252023-04-06 17:48:23457 days ago1680803303
0xB9A5A338...365604DCB
0.00333 ETH
168056022023-03-11 15:02:11484 days ago1678546931
0xB9A5A338...365604DCB
0.05328 ETH
167603632023-03-05 6:16:23490 days ago1677996983
0xB9A5A338...365604DCB
0.00333 ETH
167603472023-03-05 6:12:59490 days ago1677996779
0xB9A5A338...365604DCB
0.00333 ETH
167602672023-03-05 5:56:47490 days ago1677995807
0xB9A5A338...365604DCB
0.00333 ETH
167542922023-03-04 9:49:11491 days ago1677923351
0xB9A5A338...365604DCB
0.00333 ETH
167467242023-03-03 8:14:11492 days ago1677831251
0xB9A5A338...365604DCB
0.00333 ETH
167459592023-03-03 5:39:11492 days ago1677821951
0xB9A5A338...365604DCB
0.00333 ETH
167459572023-03-03 5:38:47492 days ago1677821927
0xB9A5A338...365604DCB
0.00333 ETH
167445142023-03-03 0:45:35492 days ago1677804335
0xB9A5A338...365604DCB
0.00333 ETH
167444452023-03-03 0:31:35492 days ago1677803495
0xB9A5A338...365604DCB
0.00333 ETH
167444382023-03-03 0:30:11492 days ago1677803411
0xB9A5A338...365604DCB
0.00333 ETH
167435092023-03-02 21:22:35492 days ago1677792155
0xB9A5A338...365604DCB
0.00333 ETH
167434952023-03-02 21:19:47492 days ago1677791987
0xB9A5A338...365604DCB
0.00333 ETH
167432652023-03-02 20:33:47492 days ago1677789227
0xB9A5A338...365604DCB
0.00333 ETH
167432172023-03-02 20:24:11492 days ago1677788651
0xB9A5A338...365604DCB
0.00333 ETH
167432072023-03-02 20:22:11492 days ago1677788531
0xB9A5A338...365604DCB
0.00333 ETH
167431372023-03-02 20:08:11492 days ago1677787691
0xB9A5A338...365604DCB
0.00333 ETH
167430832023-03-02 19:57:23492 days ago1677787043
0xB9A5A338...365604DCB
0.00333 ETH
167430792023-03-02 19:56:35492 days ago1677786995
0xB9A5A338...365604DCB
0.00333 ETH
167430762023-03-02 19:55:47492 days ago1677786947
0xB9A5A338...365604DCB
0.00333 ETH
167430712023-03-02 19:54:47492 days ago1677786887
0xB9A5A338...365604DCB
0.00333 ETH
167430652023-03-02 19:53:35492 days ago1677786815
0xB9A5A338...365604DCB
0.00333 ETH
167430522023-03-02 19:50:59492 days ago1677786659
0xB9A5A338...365604DCB
0.00333 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SlappySeals

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-01
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // Invariant:
                // There will always be an initialized ownership slot
                // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                // before an unintialized ownership slot
                // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                // Hence, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

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

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

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // Emit the `Transfer` event.
            log4(
                0, // Start of data (0, since no data).
                0, // End of data (0, since no data).
                _TRANSFER_EVENT_SIGNATURE, // Signature.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

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

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

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

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

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

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

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

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            do {
                assembly {
                    // Emit the `Transfer` event.
                    log4(
                        0, // Start of data (0, since no data).
                        0, // End of data (0, since no data).
                        _TRANSFER_EVENT_SIGNATURE, // Signature.
                        0, // `address(0)`.
                        toMasked, // `to`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}


address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

abstract contract Ownable is Context {
    address private _owner;
    address private _dev;

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

    constructor() {
        _transferOwnership(_msgSender());
        _dev = _msgSender();
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    modifier onlyDev() {
        _checkDev();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function dev() public view virtual returns (address) {
        return _dev;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function _checkDev() internal view virtual {
        require(dev() == _msgSender(), "Ownable: caller is not the dev");
    }

    function renounceOwnership() external virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) external virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    function transferDevOwnership(address newOwner) external virtual onlyDev {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _dev = newOwner;
    }
}

contract SlappySeals is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer {
    IERC721A dooggies = IERC721A(0xB4e62D6363f82E0E74E8963828815f907Eab2C66);
    IERC721A sealz = IERC721A(0x364C828eE171616a39897688A831c2499aD972ec);
    IERC721A khuga = IERC721A(0xf4768ee87bD5E6A84C3bd4ae6cC9C3F4305Bf376);
    IERC721A fmc = IERC721A(0x60129d8bc41ed80f7B257fDBC2B57E6230C219d7);

    uint internal constant totalPossible = 10000;

    // 0.01 ETH or free for Dooggies erc721 and Seals and Khuga
    uint internal constant mintPrice = 10000000000000000;

    string internal URI = "ipfs://xxxxxxxxxxxxxx/";
    string internal baseExt = ".json";
    
    bytes32 internal root = 0x1e40c3ceda551d6ae657619e9ff8f12ebe8d33518e8d995d38c43446fe3312c4;

    bool internal mintIsLive = false;
    bool internal canOnlyMintOnce = true;
     bool internal isRevealed = false;

    mapping(address => bool) hasBeenClaimed;

    constructor() ERC721A("Slappy Seals", "SLAP") {}

    function teamMint() external nonReentrant onlyOwner {
        require(canOnlyMintOnce, "Can only mint once");
        canOnlyMintOnce = false;

        // send to the wizard
        _mint(address(0xdd35752Ce7b5760D238f767A8770aB6cc41710Cf), 100);
        // rest of team
        _mint(address(0x5C8427C73Fd2a32e36fD6A2c4798d099EF564C9B), 100);
        _mint(address(0xa8F2CF3854370121BFf4A4Ec587Af5f7aa24E14D), 100);
        // DooggFather
        _mint(address(0x009872c99b79e337dCC607fB089F4c136205d400), 200);

        // turn on mint
        mintIsLive = true;
    }

    function allowListMint(address ticket, bytes32[] calldata _merkleProof) payable external nonReentrant {
        require(mintIsLive, "Mint is not live");
        require(hasBeenClaimed[ticket] == false, "Ticket has already been claimed");
        hasBeenClaimed[ticket] = true;

        bytes32 leaf = keccak256(abi.encodePacked(ticket));
        require(MerkleProof.verify(_merkleProof, root, leaf), "Incorrect proof");
        require(msg.value >= 3330000000000000, "Needs to at least have 0.00333, Youll get it back if you are a dooggies or a seal");

        if(dooggies.balanceOf(msg.sender) > 0) {
            (bool sent, ) = payable(msg.sender).call{value: msg.value}("");
            require(sent, "Failed to send Ether");
        } else if(sealz.balanceOf(msg.sender) > 0) {
            (bool sent, ) = payable(msg.sender).call{value: msg.value}("");
            require(sent, "Failed to send Ether");
        } else if(khuga.balanceOf(msg.sender) > 0) {
            (bool sent, ) = payable(msg.sender).call{value: msg.value}("");
            require(sent, "Failed to send Ether");
        } else if(fmc.balanceOf(msg.sender) > 0) {
            (bool sent, ) = payable(msg.sender).call{value: msg.value}("");
            require(sent, "Failed to send Ether");
        }

        unchecked {
            require(totalSupply() + 1 <= totalPossible, "SOLD OUT");
            _mint(msg.sender, 1);
        }
    }

    function publicMint() payable external nonReentrant {
        require(mintIsLive, "Mint is not live");
        require(msg.value >= mintPrice, "Mint costs 0.01 ETH");

        unchecked {
            require(totalSupply() + 1 <= totalPossible, "SOLD OUT");
            _mint(msg.sender, 1);
        }
    }

    function zCollectETH() external onlyOwner {
        (bool sent, ) = payable(owner()).call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }

    function zDev() external onlyDev {
        (bool sent, ) = payable(dev()).call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }

    function setURI(string calldata _URI) external onlyDev {
        URI = _URI;
    }

    function toggleReveal() external onlyDev {
        isRevealed = !isRevealed;
    }

    function setURIExtension(string calldata _baseExt) external onlyDev {
        baseExt = _baseExt;
    }

    function setRoot(bytes32 _root) external onlyDev {
        root = _root;
    }

    function mintLive() external view returns (bool) {
        return mintIsLive;
    }

    function publicPrice() external pure returns (uint) {
        return mintPrice;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if(isRevealed) { 
            return string(abi.encodePacked(URI, _toString(tokenId), baseExt));
        } else {
            return string(abi.encodePacked("ipfs://QmWrmceVFd1EkixyRBujaXbzCYfDy4pXBEu72HYvE4YeML"));
        }
    }

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) payable public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) payable public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) payable public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        payable
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }
 }

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ticket","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseExt","type":"string"}],"name":"setURIExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferDevOwnership","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":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zCollectETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zDev","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600b80546001600160a01b031990811673b4e62d6363f82e0e74e8963828815f907eab2c6617909155600c8054821673364c828ee171616a39897688a831c2499ad972ec179055600d8054821673f4768ee87bd5e6a84c3bd4ae6cc9c3f4305bf376179055600e80549091167360129d8bc41ed80f7b257fdbc2b57e6230c219d717905560c0604052601660809081527f697066733a2f2f78787878787878787878787878782f0000000000000000000060a052600f90620000c2908262000417565b50604080518082019091526005815264173539b7b760d91b6020820152601090620000ee908262000417565b507f1e40c3ceda551d6ae657619e9ff8f12ebe8d33518e8d995d38c43446fe3312c46011556012805462ffffff19166101001790553480156200013057600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600c81526020016b536c61707079205365616c7360a01b815250604051806040016040528060048152602001630534c41560e41b81525081600290816200019b919062000417565b506003620001aa828262000417565b50506000805550620001bc3362000320565b600980546001600160a01b031916331790556001600a556daaeb6d7670e522a718067333cd4e3b15620003185780156200026657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200024757600080fd5b505af11580156200025c573d6000803e3d6000fd5b5050505062000318565b6001600160a01b03821615620002b75760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200022c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002fe57600080fd5b505af115801562000313573d6000803e3d6000fd5b505050505b5050620004e3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200039d57607f821691505b602082108103620003be57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200041257600081815260208120601f850160051c81016020861015620003ed5750805b601f850160051c820191505b818110156200040e57828155600101620003f9565b5050505b505050565b81516001600160401b0381111562000433576200043362000372565b6200044b8162000444845462000388565b84620003c4565b602080601f8311600181146200048357600084156200046a5750858301515b600019600386901b1c1916600185901b1785556200040e565b600085815260208120601f198616915b82811015620004b45788860151825594840194600190910190840162000493565b5085821015620004d35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6120be80620004f36000396000f3fe6080604052600436106101d75760003560e01c80638da5cb5b11610102578063b88d4fde11610095578063e8656fcc11610064578063e8656fcc146104da578063e985e9c5146104f2578063f2fde38b1461053b578063f952bf181461055b57600080fd5b8063b88d4fde14610472578063ba7a86b814610485578063c87b56dd1461049a578063dab5f340146104ba57600080fd5b806395d89b41116100d157806395d89b411461040e578063a22cb46514610423578063a945bf8014610443578063adf8b2601461045d57600080fd5b80638da5cb5b1461039d57806390709751146103bb57806391cca3db146103db57806392bfa5e9146103f957600080fd5b806323b872dd1161017a5780635b8ad429116101495780635b8ad429146103335780636352211e1461034857806370a0823114610368578063715018a61461038857600080fd5b806323b872dd146102e357806326092b83146102f657806341f43434146102fe57806342842e0e1461032057600080fd5b806306fdde03116101b657806306fdde0314610253578063081812fc14610275578063095ea7b3146102ad57806318160ddd146102c057600080fd5b8062cf7f22146101dc57806301ffc9a7146101fe57806302fe530514610233575b600080fd5b3480156101e857600080fd5b506101fc6101f73660046119a8565b61056e565b005b34801561020a57600080fd5b5061021e6102193660046119d9565b6105c7565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b506101fc61024e3660046119f6565b610619565b34801561025f57600080fd5b50610268610633565b60405161022a9190611ab8565b34801561028157600080fd5b50610295610290366004611acb565b6106c5565b6040516001600160a01b03909116815260200161022a565b6101fc6102bb366004611ae4565b610700565b3480156102cc57600080fd5b50600154600054035b60405190815260200161022a565b6101fc6102f1366004611b0e565b610714565b6101fc61073f565b34801561030a57600080fd5b506102956daaeb6d7670e522a718067333cd4e81565b6101fc61032e366004611b0e565b61083c565b34801561033f57600080fd5b506101fc610861565b34801561035457600080fd5b50610295610363366004611acb565b610888565b34801561037457600080fd5b506102d56103833660046119a8565b610893565b34801561039457600080fd5b506101fc6108d9565b3480156103a957600080fd5b506008546001600160a01b0316610295565b3480156103c757600080fd5b506101fc6103d63660046119f6565b6108eb565b3480156103e757600080fd5b506009546001600160a01b0316610295565b34801561040557600080fd5b506101fc610900565b34801561041a57600080fd5b5061026861098f565b34801561042f57600080fd5b506101fc61043e366004611b58565b61099e565b34801561044f57600080fd5b50662386f26fc100006102d5565b34801561046957600080fd5b506101fc6109b2565b6101fc610480366004611ba5565b6109ce565b34801561049157600080fd5b506101fc6109fb565b3480156104a657600080fd5b506102686104b5366004611acb565b610af4565b3480156104c657600080fd5b506101fc6104d5366004611acb565b610b93565b3480156104e657600080fd5b5060125460ff1661021e565b3480156104fe57600080fd5b5061021e61050d366004611c81565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561054757600080fd5b506101fc6105563660046119a8565b610ba0565b6101fc610569366004611cb4565b610bd7565b610576611142565b6001600160a01b0381166105a55760405162461bcd60e51b815260040161059c90611d3a565b60405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60006301ffc9a760e01b6001600160e01b0319831614806105f857506380ac58cd60e01b6001600160e01b03198316145b806106135750635b5e139f60e01b6001600160e01b03198316145b92915050565b610621611142565b600f61062e828483611e08565b505050565b60606002805461064290611d80565b80601f016020809104026020016040519081016040528092919081815260200182805461066e90611d80565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b5050505050905090565b60006106d08261119c565b6106e4576106e46333d1c03960e21b6111df565b506000908152600660205260409020546001600160a01b031690565b8161070a816111e9565b61062e83836112a2565b826001600160a01b038116331461072e5761072e336111e9565b6107398484846112b2565b50505050565b610747611417565b60125460ff1661078c5760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b604482015260640161059c565b662386f26fc100003410156107d95760405162461bcd60e51b815260206004820152601360248201527209ad2dce840c6dee6e8e640605c6062408aa89606b1b604482015260640161059c565b6127106107e96001546000540390565b60010111156108255760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b604482015260640161059c565b610830336001611470565b61083a6001600a55565b565b826001600160a01b038116331461085657610856336111e9565b61073984848461152f565b610869611142565b6012805462ff0000198116620100009182900460ff1615909102179055565b60006106138261154a565b60006001600160a01b0382166108b3576108b36323d3ad8160e21b6111df565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108e16115e0565b61083a600061163a565b6108f3611142565b601061062e828483611e08565b6109086115e0565b600061091c6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610966576040519150601f19603f3d011682016040523d82523d6000602084013e61096b565b606091505b505090508061098c5760405162461bcd60e51b815260040161059c90611ec8565b50565b60606003805461064290611d80565b816109a8816111e9565b61062e838361168c565b6109ba611142565b600061091c6009546001600160a01b031690565b836001600160a01b03811633146109e8576109e8336111e9565b6109f4858585856116f8565b5050505050565b610a03611417565b610a0b6115e0565b601254610100900460ff16610a575760405162461bcd60e51b815260206004820152601260248201527143616e206f6e6c79206d696e74206f6e636560701b604482015260640161059c565b6012805461ff0019169055610a8173dd35752ce7b5760d238f767a8770ab6cc41710cf6064611470565b610aa0735c8427c73fd2a32e36fd6a2c4798d099ef564c9b6064611470565b610abf73a8f2cf3854370121bff4a4ec587af5f7aa24e14d6064611470565b610add729872c99b79e337dcc607fb089f4c136205d40060c8611470565b6012805460ff1916600117905561083a6001600a55565b60125460609062010000900460ff1615610b3d57600f610b1383611733565b6010604051602001610b2793929190611f69565b6040516020818303038152906040529050919050565b604051602001610b27907f697066733a2f2f516d57726d636556466431456b6978795242756a6158627a438152741659911e4d1c1610915d4dcc92165d914d16595353605a1b602082015260350190565b919050565b610b9b611142565b601155565b610ba86115e0565b6001600160a01b038116610bce5760405162461bcd60e51b815260040161059c90611d3a565b61098c8161163a565b610bdf611417565b60125460ff16610c245760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b604482015260640161059c565b6001600160a01b03831660009081526013602052604090205460ff1615610c8d5760405162461bcd60e51b815260206004820152601f60248201527f5469636b65742068617320616c7265616479206265656e20636c61696d656400604482015260640161059c565b6001600160a01b0383166000908152601360209081526040808320805460ff1916600117905551610cd89186910160609190911b6bffffffffffffffffffffffff1916815260140190565b604051602081830303815290604052805190602001209050610d31838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050611777565b610d6f5760405162461bcd60e51b815260206004820152600f60248201526e24b731b7b93932b1ba10383937b7b360891b604482015260640161059c565b660bd49e0b1a2000341015610e065760405162461bcd60e51b815260206004820152605160248201527f4e6565647320746f206174206c65617374206861766520302e30303333332c2060448201527f596f756c6c20676574206974206261636b20696620796f7520617265206120646064820152701bdbd9d9da595cc81bdc8818481cd9585b607a1b608482015260a40161059c565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e739190611f9c565b1115610ef3576000336001600160a01b0316346040515b60006040518083038185875af1925050503d8060008114610ec7576040519150601f19603f3d011682016040523d82523d6000602084013e610ecc565b606091505b5050905080610eed5760405162461bcd60e51b815260040161059c90611ec8565b506110e0565b600c546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f609190611f9c565b1115610f7b576000336001600160a01b031634604051610e8a565b600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610fc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe89190611f9c565b1115611003576000336001600160a01b031634604051610e8a565b600e546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561104c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110709190611f9c565b11156110e057604051600090339034908381818185875af1925050503d80600081146110b8576040519150601f19603f3d011682016040523d82523d6000602084013e6110bd565b606091505b50509050806110de5760405162461bcd60e51b815260040161059c90611ec8565b505b6127106110f06001546000540390565b600101111561112c5760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b604482015260640161059c565b611137336001611470565b5061062e6001600a55565b6009546001600160a01b0316331461083a5760405162461bcd60e51b815260206004820152601e60248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206465760000604482015260640161059c565b60008054821015610b8e5760005b50600082815260046020526040812054908190036111d2576111cb83611fcb565b92506111aa565b600160e01b161592915050565b8060005260046000fd5b6daaeb6d7670e522a718067333cd4e3b1561098c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127a9190611fe2565b61098c57604051633b79c77360e21b81526001600160a01b038216600482015260240161059c565b6112ae8282600161178d565b5050565b60006112bd8261154a565b6001600160a01b0394851694909150811684146112e3576112e362a1148160e81b6111df565b60008281526006602052604090208054338082146001600160a01b0388169091141761132757611313863361050d565b61132757611327632ce44b5f60e11b6111df565b801561133257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113c4576001840160008181526004602052604081205490036113c25760005481146113c25760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361140e5761140e633a954ecd60e21b6111df565b50505050505050565b6002600a54036114695760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161059c565b6002600a55565b600080549082900361148c5761148c63b562e8dd60e01b6111df565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036114ea576114ea622e076360e81b6111df565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036114ef575060005550505050565b61062e838383604051806020016040528060008152506109ce565b600081815260046020526040812054908190036115bd57600054821061157a5761157a636f96cda160e11b6111df565b5b5060001901600081815260046020526040902054801561157b57600160e01b81166000036115a857919050565b6115b8636f96cda160e11b6111df565b61157b565b600160e01b81166000036115d057919050565b610b8e636f96cda160e11b6111df565b6008546001600160a01b0316331461083a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611703848484610714565b6001600160a01b0383163b156107395761171f84848484611830565b610739576107396368d2bf6b60e11b6111df565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061174d5750819003601f19909101908152919050565b6000826117848584611912565b14949350505050565b600061179883610888565b90508180156117b05750336001600160a01b03821614155b156117d3576117bf813361050d565b6117d3576117d36367d9dca160e11b6111df565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611865903390899088908890600401611fff565b6020604051808303816000875af19250505080156118a0575060408051601f3d908101601f1916820190925261189d9181019061203c565b60015b6118f5573d8080156118ce576040519150601f19603f3d011682016040523d82523d6000602084013e6118d3565b606091505b5080516000036118ed576118ed6368d2bf6b60e11b6111df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b8451811015611957576119438286838151811061193657611936612059565b602002602001015161195f565b91508061194f8161206f565b915050611917565b509392505050565b600081831061197b57600082815260208490526040902061198a565b60008381526020839052604090205b9392505050565b80356001600160a01b0381168114610b8e57600080fd5b6000602082840312156119ba57600080fd5b61198a82611991565b6001600160e01b03198116811461098c57600080fd5b6000602082840312156119eb57600080fd5b813561198a816119c3565b60008060208385031215611a0957600080fd5b823567ffffffffffffffff80821115611a2157600080fd5b818501915085601f830112611a3557600080fd5b813581811115611a4457600080fd5b866020828501011115611a5657600080fd5b60209290920196919550909350505050565b60005b83811015611a83578181015183820152602001611a6b565b50506000910152565b60008151808452611aa4816020860160208601611a68565b601f01601f19169290920160200192915050565b60208152600061198a6020830184611a8c565b600060208284031215611add57600080fd5b5035919050565b60008060408385031215611af757600080fd5b611b0083611991565b946020939093013593505050565b600080600060608486031215611b2357600080fd5b611b2c84611991565b9250611b3a60208501611991565b9150604084013590509250925092565b801515811461098c57600080fd5b60008060408385031215611b6b57600080fd5b611b7483611991565b91506020830135611b8481611b4a565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611bbb57600080fd5b611bc485611991565b9350611bd260208601611991565b925060408501359150606085013567ffffffffffffffff80821115611bf657600080fd5b818701915087601f830112611c0a57600080fd5b813581811115611c1c57611c1c611b8f565b604051601f8201601f19908116603f01168101908382118183101715611c4457611c44611b8f565b816040528281528a6020848701011115611c5d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c9457600080fd5b611c9d83611991565b9150611cab60208401611991565b90509250929050565b600080600060408486031215611cc957600080fd5b611cd284611991565b9250602084013567ffffffffffffffff80821115611cef57600080fd5b818601915086601f830112611d0357600080fd5b813581811115611d1257600080fd5b8760208260051b8501011115611d2757600080fd5b6020830194508093505050509250925092565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b600181811c90821680611d9457607f821691505b602082108103611db457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561062e57600081815260208120601f850160051c81016020861015611de15750805b601f850160051c820191505b81811015611e0057828155600101611ded565b505050505050565b67ffffffffffffffff831115611e2057611e20611b8f565b611e3483611e2e8354611d80565b83611dba565b6000601f841160018114611e685760008515611e505750838201355b600019600387901b1c1916600186901b1783556109f4565b600083815260209020601f19861690835b82811015611e995786850135825560209485019460019092019101611e79565b5086821015611eb65760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6020808252601490820152732330b4b632b2103a379039b2b7321022ba3432b960611b604082015260600190565b60008154611f0381611d80565b60018281168015611f1b5760018114611f3057611f5f565b60ff1984168752821515830287019450611f5f565b8560005260208060002060005b85811015611f565781548a820152908401908201611f3d565b50505082870194505b5050505092915050565b6000611f758286611ef6565b8451611f85818360208901611a68565b611f9181830186611ef6565b979650505050505050565b600060208284031215611fae57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600081611fda57611fda611fb5565b506000190190565b600060208284031215611ff457600080fd5b815161198a81611b4a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203290830184611a8c565b9695505050505050565b60006020828403121561204e57600080fd5b815161198a816119c3565b634e487b7160e01b600052603260045260246000fd5b60006001820161208157612081611fb5565b506001019056fea2646970667358221220e7b81335e8c24657d5925a137e516aa790ff3bf338eb767433ad047ccb62dc4064736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101d75760003560e01c80638da5cb5b11610102578063b88d4fde11610095578063e8656fcc11610064578063e8656fcc146104da578063e985e9c5146104f2578063f2fde38b1461053b578063f952bf181461055b57600080fd5b8063b88d4fde14610472578063ba7a86b814610485578063c87b56dd1461049a578063dab5f340146104ba57600080fd5b806395d89b41116100d157806395d89b411461040e578063a22cb46514610423578063a945bf8014610443578063adf8b2601461045d57600080fd5b80638da5cb5b1461039d57806390709751146103bb57806391cca3db146103db57806392bfa5e9146103f957600080fd5b806323b872dd1161017a5780635b8ad429116101495780635b8ad429146103335780636352211e1461034857806370a0823114610368578063715018a61461038857600080fd5b806323b872dd146102e357806326092b83146102f657806341f43434146102fe57806342842e0e1461032057600080fd5b806306fdde03116101b657806306fdde0314610253578063081812fc14610275578063095ea7b3146102ad57806318160ddd146102c057600080fd5b8062cf7f22146101dc57806301ffc9a7146101fe57806302fe530514610233575b600080fd5b3480156101e857600080fd5b506101fc6101f73660046119a8565b61056e565b005b34801561020a57600080fd5b5061021e6102193660046119d9565b6105c7565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b506101fc61024e3660046119f6565b610619565b34801561025f57600080fd5b50610268610633565b60405161022a9190611ab8565b34801561028157600080fd5b50610295610290366004611acb565b6106c5565b6040516001600160a01b03909116815260200161022a565b6101fc6102bb366004611ae4565b610700565b3480156102cc57600080fd5b50600154600054035b60405190815260200161022a565b6101fc6102f1366004611b0e565b610714565b6101fc61073f565b34801561030a57600080fd5b506102956daaeb6d7670e522a718067333cd4e81565b6101fc61032e366004611b0e565b61083c565b34801561033f57600080fd5b506101fc610861565b34801561035457600080fd5b50610295610363366004611acb565b610888565b34801561037457600080fd5b506102d56103833660046119a8565b610893565b34801561039457600080fd5b506101fc6108d9565b3480156103a957600080fd5b506008546001600160a01b0316610295565b3480156103c757600080fd5b506101fc6103d63660046119f6565b6108eb565b3480156103e757600080fd5b506009546001600160a01b0316610295565b34801561040557600080fd5b506101fc610900565b34801561041a57600080fd5b5061026861098f565b34801561042f57600080fd5b506101fc61043e366004611b58565b61099e565b34801561044f57600080fd5b50662386f26fc100006102d5565b34801561046957600080fd5b506101fc6109b2565b6101fc610480366004611ba5565b6109ce565b34801561049157600080fd5b506101fc6109fb565b3480156104a657600080fd5b506102686104b5366004611acb565b610af4565b3480156104c657600080fd5b506101fc6104d5366004611acb565b610b93565b3480156104e657600080fd5b5060125460ff1661021e565b3480156104fe57600080fd5b5061021e61050d366004611c81565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561054757600080fd5b506101fc6105563660046119a8565b610ba0565b6101fc610569366004611cb4565b610bd7565b610576611142565b6001600160a01b0381166105a55760405162461bcd60e51b815260040161059c90611d3a565b60405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b60006301ffc9a760e01b6001600160e01b0319831614806105f857506380ac58cd60e01b6001600160e01b03198316145b806106135750635b5e139f60e01b6001600160e01b03198316145b92915050565b610621611142565b600f61062e828483611e08565b505050565b60606002805461064290611d80565b80601f016020809104026020016040519081016040528092919081815260200182805461066e90611d80565b80156106bb5780601f10610690576101008083540402835291602001916106bb565b820191906000526020600020905b81548152906001019060200180831161069e57829003601f168201915b5050505050905090565b60006106d08261119c565b6106e4576106e46333d1c03960e21b6111df565b506000908152600660205260409020546001600160a01b031690565b8161070a816111e9565b61062e83836112a2565b826001600160a01b038116331461072e5761072e336111e9565b6107398484846112b2565b50505050565b610747611417565b60125460ff1661078c5760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b604482015260640161059c565b662386f26fc100003410156107d95760405162461bcd60e51b815260206004820152601360248201527209ad2dce840c6dee6e8e640605c6062408aa89606b1b604482015260640161059c565b6127106107e96001546000540390565b60010111156108255760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b604482015260640161059c565b610830336001611470565b61083a6001600a55565b565b826001600160a01b038116331461085657610856336111e9565b61073984848461152f565b610869611142565b6012805462ff0000198116620100009182900460ff1615909102179055565b60006106138261154a565b60006001600160a01b0382166108b3576108b36323d3ad8160e21b6111df565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108e16115e0565b61083a600061163a565b6108f3611142565b601061062e828483611e08565b6109086115e0565b600061091c6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610966576040519150601f19603f3d011682016040523d82523d6000602084013e61096b565b606091505b505090508061098c5760405162461bcd60e51b815260040161059c90611ec8565b50565b60606003805461064290611d80565b816109a8816111e9565b61062e838361168c565b6109ba611142565b600061091c6009546001600160a01b031690565b836001600160a01b03811633146109e8576109e8336111e9565b6109f4858585856116f8565b5050505050565b610a03611417565b610a0b6115e0565b601254610100900460ff16610a575760405162461bcd60e51b815260206004820152601260248201527143616e206f6e6c79206d696e74206f6e636560701b604482015260640161059c565b6012805461ff0019169055610a8173dd35752ce7b5760d238f767a8770ab6cc41710cf6064611470565b610aa0735c8427c73fd2a32e36fd6a2c4798d099ef564c9b6064611470565b610abf73a8f2cf3854370121bff4a4ec587af5f7aa24e14d6064611470565b610add729872c99b79e337dcc607fb089f4c136205d40060c8611470565b6012805460ff1916600117905561083a6001600a55565b60125460609062010000900460ff1615610b3d57600f610b1383611733565b6010604051602001610b2793929190611f69565b6040516020818303038152906040529050919050565b604051602001610b27907f697066733a2f2f516d57726d636556466431456b6978795242756a6158627a438152741659911e4d1c1610915d4dcc92165d914d16595353605a1b602082015260350190565b919050565b610b9b611142565b601155565b610ba86115e0565b6001600160a01b038116610bce5760405162461bcd60e51b815260040161059c90611d3a565b61098c8161163a565b610bdf611417565b60125460ff16610c245760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b604482015260640161059c565b6001600160a01b03831660009081526013602052604090205460ff1615610c8d5760405162461bcd60e51b815260206004820152601f60248201527f5469636b65742068617320616c7265616479206265656e20636c61696d656400604482015260640161059c565b6001600160a01b0383166000908152601360209081526040808320805460ff1916600117905551610cd89186910160609190911b6bffffffffffffffffffffffff1916815260140190565b604051602081830303815290604052805190602001209050610d31838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050611777565b610d6f5760405162461bcd60e51b815260206004820152600f60248201526e24b731b7b93932b1ba10383937b7b360891b604482015260640161059c565b660bd49e0b1a2000341015610e065760405162461bcd60e51b815260206004820152605160248201527f4e6565647320746f206174206c65617374206861766520302e30303333332c2060448201527f596f756c6c20676574206974206261636b20696620796f7520617265206120646064820152701bdbd9d9da595cc81bdc8818481cd9585b607a1b608482015260a40161059c565b600b546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e739190611f9c565b1115610ef3576000336001600160a01b0316346040515b60006040518083038185875af1925050503d8060008114610ec7576040519150601f19603f3d011682016040523d82523d6000602084013e610ecc565b606091505b5050905080610eed5760405162461bcd60e51b815260040161059c90611ec8565b506110e0565b600c546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f609190611f9c565b1115610f7b576000336001600160a01b031634604051610e8a565b600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610fc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe89190611f9c565b1115611003576000336001600160a01b031634604051610e8a565b600e546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561104c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110709190611f9c565b11156110e057604051600090339034908381818185875af1925050503d80600081146110b8576040519150601f19603f3d011682016040523d82523d6000602084013e6110bd565b606091505b50509050806110de5760405162461bcd60e51b815260040161059c90611ec8565b505b6127106110f06001546000540390565b600101111561112c5760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b604482015260640161059c565b611137336001611470565b5061062e6001600a55565b6009546001600160a01b0316331461083a5760405162461bcd60e51b815260206004820152601e60248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206465760000604482015260640161059c565b60008054821015610b8e5760005b50600082815260046020526040812054908190036111d2576111cb83611fcb565b92506111aa565b600160e01b161592915050565b8060005260046000fd5b6daaeb6d7670e522a718067333cd4e3b1561098c57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127a9190611fe2565b61098c57604051633b79c77360e21b81526001600160a01b038216600482015260240161059c565b6112ae8282600161178d565b5050565b60006112bd8261154a565b6001600160a01b0394851694909150811684146112e3576112e362a1148160e81b6111df565b60008281526006602052604090208054338082146001600160a01b0388169091141761132757611313863361050d565b61132757611327632ce44b5f60e11b6111df565b801561133257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113c4576001840160008181526004602052604081205490036113c25760005481146113c25760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361140e5761140e633a954ecd60e21b6111df565b50505050505050565b6002600a54036114695760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161059c565b6002600a55565b600080549082900361148c5761148c63b562e8dd60e01b6111df565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036114ea576114ea622e076360e81b6111df565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036114ef575060005550505050565b61062e838383604051806020016040528060008152506109ce565b600081815260046020526040812054908190036115bd57600054821061157a5761157a636f96cda160e11b6111df565b5b5060001901600081815260046020526040902054801561157b57600160e01b81166000036115a857919050565b6115b8636f96cda160e11b6111df565b61157b565b600160e01b81166000036115d057919050565b610b8e636f96cda160e11b6111df565b6008546001600160a01b0316331461083a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611703848484610714565b6001600160a01b0383163b156107395761171f84848484611830565b610739576107396368d2bf6b60e11b6111df565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061174d5750819003601f19909101908152919050565b6000826117848584611912565b14949350505050565b600061179883610888565b90508180156117b05750336001600160a01b03821614155b156117d3576117bf813361050d565b6117d3576117d36367d9dca160e11b6111df565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611865903390899088908890600401611fff565b6020604051808303816000875af19250505080156118a0575060408051601f3d908101601f1916820190925261189d9181019061203c565b60015b6118f5573d8080156118ce576040519150601f19603f3d011682016040523d82523d6000602084013e6118d3565b606091505b5080516000036118ed576118ed6368d2bf6b60e11b6111df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b8451811015611957576119438286838151811061193657611936612059565b602002602001015161195f565b91508061194f8161206f565b915050611917565b509392505050565b600081831061197b57600082815260208490526040902061198a565b60008381526020839052604090205b9392505050565b80356001600160a01b0381168114610b8e57600080fd5b6000602082840312156119ba57600080fd5b61198a82611991565b6001600160e01b03198116811461098c57600080fd5b6000602082840312156119eb57600080fd5b813561198a816119c3565b60008060208385031215611a0957600080fd5b823567ffffffffffffffff80821115611a2157600080fd5b818501915085601f830112611a3557600080fd5b813581811115611a4457600080fd5b866020828501011115611a5657600080fd5b60209290920196919550909350505050565b60005b83811015611a83578181015183820152602001611a6b565b50506000910152565b60008151808452611aa4816020860160208601611a68565b601f01601f19169290920160200192915050565b60208152600061198a6020830184611a8c565b600060208284031215611add57600080fd5b5035919050565b60008060408385031215611af757600080fd5b611b0083611991565b946020939093013593505050565b600080600060608486031215611b2357600080fd5b611b2c84611991565b9250611b3a60208501611991565b9150604084013590509250925092565b801515811461098c57600080fd5b60008060408385031215611b6b57600080fd5b611b7483611991565b91506020830135611b8481611b4a565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611bbb57600080fd5b611bc485611991565b9350611bd260208601611991565b925060408501359150606085013567ffffffffffffffff80821115611bf657600080fd5b818701915087601f830112611c0a57600080fd5b813581811115611c1c57611c1c611b8f565b604051601f8201601f19908116603f01168101908382118183101715611c4457611c44611b8f565b816040528281528a6020848701011115611c5d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c9457600080fd5b611c9d83611991565b9150611cab60208401611991565b90509250929050565b600080600060408486031215611cc957600080fd5b611cd284611991565b9250602084013567ffffffffffffffff80821115611cef57600080fd5b818601915086601f830112611d0357600080fd5b813581811115611d1257600080fd5b8760208260051b8501011115611d2757600080fd5b6020830194508093505050509250925092565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b600181811c90821680611d9457607f821691505b602082108103611db457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561062e57600081815260208120601f850160051c81016020861015611de15750805b601f850160051c820191505b81811015611e0057828155600101611ded565b505050505050565b67ffffffffffffffff831115611e2057611e20611b8f565b611e3483611e2e8354611d80565b83611dba565b6000601f841160018114611e685760008515611e505750838201355b600019600387901b1c1916600186901b1783556109f4565b600083815260209020601f19861690835b82811015611e995786850135825560209485019460019092019101611e79565b5086821015611eb65760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6020808252601490820152732330b4b632b2103a379039b2b7321022ba3432b960611b604082015260600190565b60008154611f0381611d80565b60018281168015611f1b5760018114611f3057611f5f565b60ff1984168752821515830287019450611f5f565b8560005260208060002060005b85811015611f565781548a820152908401908201611f3d565b50505082870194505b5050505092915050565b6000611f758286611ef6565b8451611f85818360208901611a68565b611f9181830186611ef6565b979650505050505050565b600060208284031215611fae57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600081611fda57611fda611fb5565b506000190190565b600060208284031215611ff457600080fd5b815161198a81611b4a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203290830184611a8c565b9695505050505050565b60006020828403121561204e57600080fd5b815161198a816119c3565b634e487b7160e01b600052603260045260246000fd5b60006001820161208157612081611fb5565b506001019056fea2646970667358221220e7b81335e8c24657d5925a137e516aa790ff3bf338eb767433ad047ccb62dc4064736f6c63430008120033

Deployed Bytecode Sourcemap

76945:5621:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76747:191;;;;;;;;;;-1:-1:-1;76747:191:0;;;;;:::i;:::-;;:::i;:::-;;18123:639;;;;;;;;;;-1:-1:-1;18123:639:0;;;;;:::i;:::-;;:::i;:::-;;;934:14:1;;927:22;909:41;;897:2;882:18;18123:639:0;;;;;;;;80678:84;;;;;;;;;;-1:-1:-1;80678:84:0;;;;;:::i;:::-;;:::i;19025:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26059:227::-;;;;;;;;;;-1:-1:-1;26059:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2663:32:1;;;2645:51;;2633:2;2618:18;26059:227:0;2499:203:1;81778:165:0;;;;;;:::i;:::-;;:::i;14767:323::-;;;;;;;;;;-1:-1:-1;15041:12:0;;14828:7;15025:13;:28;14767:323;;;3112:25:1;;;3100:2;3085:18;14767:323:0;2966:177:1;81951:171:0;;;;;;:::i;:::-;;:::i;79991:314::-;;;:::i;71732:143::-;;;;;;;;;;;;74375:42;71732:143;;82130:179;;;;;;:::i;:::-;;:::i;80770:84::-;;;;;;;;;;;;;:::i;20427:152::-;;;;;;;;;;-1:-1:-1;20427:152:0;;;;;:::i;:::-;;:::i;15951:242::-;;;;;;;;;;-1:-1:-1;15951:242:0;;;;;:::i;:::-;;:::i;76224:105::-;;;;;;;;;;;;;:::i;75764:87::-;;;;;;;;;;-1:-1:-1;75837:6:0;;-1:-1:-1;;;;;75837:6:0;75764:87;;80862:105;;;;;;;;;;-1:-1:-1;80862:105:0;;;;;:::i;:::-;;:::i;75859:83::-;;;;;;;;;;-1:-1:-1;75930:4:0;;-1:-1:-1;;;;;75930:4:0;75859:83;;80313:180;;;;;;;;;;;;;:::i;19201:104::-;;;;;;;;;;;;;:::i;81594:176::-;;;;;;;;;;-1:-1:-1;81594:176:0;;;;;:::i;:::-;;:::i;81156:87::-;;;;;;;;;;-1:-1:-1;77495:17:0;81156:87;;80501:169;;;;;;;;;;;;;:::i;82317:245::-;;;;;;:::i;:::-;;:::i;77947:584::-;;;;;;;;;;;;;:::i;81251:335::-;;;;;;;;;;-1:-1:-1;81251:335:0;;;;;:::i;:::-;;:::i;80975:80::-;;;;;;;;;;-1:-1:-1;80975:80:0;;;;;:::i;:::-;;:::i;81063:85::-;;;;;;;;;;-1:-1:-1;81130:10:0;;;;81063:85;;27017:164;;;;;;;;;;-1:-1:-1;27017:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27138:25:0;;;27114:4;27138:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27017:164;76337:203;;;;;;;;;;-1:-1:-1;76337:203:0;;;;;:::i;:::-;;:::i;78539:1444::-;;;;;;:::i;:::-;;:::i;76747:191::-;75725:11;:9;:11::i;:::-;-1:-1:-1;;;;;76839:22:0;::::1;76831:73;;;;-1:-1:-1::0;;;76831:73:0::1;;;;;;;:::i;:::-;;;;;;;;;76915:4;:15:::0;;-1:-1:-1;;;;;;76915:15:0::1;-1:-1:-1::0;;;;;76915:15:0;;;::::1;::::0;;;::::1;::::0;;76747:191::o;18123:639::-;18208:4;-1:-1:-1;;;;;;;;;18532:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18609:25:0;;;18532:102;:179;;;-1:-1:-1;;;;;;;;;;18686:25:0;;;18532:179;18512:199;18123:639;-1:-1:-1;;18123:639:0:o;80678:84::-;75725:11;:9;:11::i;:::-;80744:3:::1;:10;80750:4:::0;;80744:3;:10:::1;:::i;:::-;;80678:84:::0;;:::o;19025:100::-;19079:13;19112:5;19105:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19025:100;:::o;26059:227::-;26135:7;26160:16;26168:7;26160;:16::i;:::-;26155:73;;26178:50;-1:-1:-1;;;26178:7:0;:50::i;:::-;-1:-1:-1;26248:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26248:30:0;;26059:227::o;81778:165::-;81882:8;73514:30;73535:8;73514:20;:30::i;:::-;81903:32:::1;81917:8;81927:7;81903:13;:32::i;81951:171::-:0;82060:4;-1:-1:-1;;;;;73240:18:0;;73248:10;73240:18;73236:83;;73275:32;73296:10;73275:20;:32::i;:::-;82077:37:::1;82096:4;82102:2;82106:7;82077:18;:37::i;:::-;81951:171:::0;;;;:::o;79991:314::-;54791:21;:19;:21::i;:::-;80062:10:::1;::::0;::::1;;80054:39;;;::::0;-1:-1:-1;;;80054:39:0;;9635:2:1;80054:39:0::1;::::0;::::1;9617:21:1::0;9674:2;9654:18;;;9647:30;-1:-1:-1;;;9693:18:1;;;9686:46;9749:18;;80054:39:0::1;9433:340:1::0;80054:39:0::1;77495:17;80112:9;:22;;80104:54;;;::::0;-1:-1:-1;;;80104:54:0;;9980:2:1;80104:54:0::1;::::0;::::1;9962:21:1::0;10019:2;9999:18;;;9992:30;-1:-1:-1;;;10038:18:1;;;10031:49;10097:18;;80104:54:0::1;9778:343:1::0;80104:54:0::1;77381:5;80204:13;15041:12:::0;;14828:7;15025:13;:28;;14767:323;80204:13:::1;80220:1;80204:17;:34;;80196:55;;;::::0;-1:-1:-1;;;80196:55:0;;10328:2:1;80196:55:0::1;::::0;::::1;10310:21:1::0;10367:1;10347:18;;;10340:29;-1:-1:-1;;;10385:18:1;;;10378:38;10433:18;;80196:55:0::1;10126:331:1::0;80196:55:0::1;80266:20;80272:10;80284:1;80266:5;:20::i;:::-;54835::::0;54229:1;55355:7;:22;55172:213;54835:20;79991:314::o;82130:179::-;82243:4;-1:-1:-1;;;;;73240:18:0;;73248:10;73240:18;73236:83;;73275:32;73296:10;73275:20;:32::i;:::-;82260:41:::1;82283:4;82289:2;82293:7;82260:22;:41::i;80770:84::-:0;75725:11;:9;:11::i;:::-;80836:10:::1;::::0;;-1:-1:-1;;80822:24:0;::::1;80836:10:::0;;;;::::1;;;80835:11;80822:24:::0;;::::1;;::::0;;80770:84::o;20427:152::-;20499:7;20542:27;20561:7;20542:18;:27::i;15951:242::-;16023:7;-1:-1:-1;;;;;16047:19:0;;16043:69;;16068:44;-1:-1:-1;;;16068:7:0;:44::i;:::-;-1:-1:-1;;;;;;16130:25:0;;;;;:18;:25;;;;;;10110:13;16130:55;;15951:242::o;76224:105::-;75654:13;:11;:13::i;:::-;76291:30:::1;76318:1;76291:18;:30::i;80862:105::-:0;75725:11;:9;:11::i;:::-;80941:7:::1;:18;80951:8:::0;;80941:7;:18:::1;:::i;80313:180::-:0;75654:13;:11;:13::i;:::-;80367:9:::1;80390:7;75837:6:::0;;-1:-1:-1;;;;;75837:6:0;;75764:87;80390:7:::1;-1:-1:-1::0;;;;;80382:21:0::1;80411;80382:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80366:71;;;80456:4;80448:37;;;;-1:-1:-1::0;;;80448:37:0::1;;;;;;;:::i;:::-;80355:138;80313:180::o:0;19201:104::-;19257:13;19290:7;19283:14;;;;;:::i;81594:176::-;81698:8;73514:30;73535:8;73514:20;:30::i;:::-;81719:43:::1;81743:8;81753;81719:23;:43::i;80501:169::-:0;75725:11;:9;:11::i;:::-;80546:9:::1;80569:5;75930:4:::0;;-1:-1:-1;;;;;75930:4:0;;75859:83;82317:245;82485:4;-1:-1:-1;;;;;73240:18:0;;73248:10;73240:18;73236:83;;73275:32;73296:10;73275:20;:32::i;:::-;82507:47:::1;82530:4;82536:2;82540:7;82549:4;82507:22;:47::i;:::-;82317:245:::0;;;;;:::o;77947:584::-;54791:21;:19;:21::i;:::-;75654:13:::1;:11;:13::i;:::-;78018:15:::2;::::0;::::2;::::0;::::2;;;78010:46;;;::::0;-1:-1:-1;;;78010:46:0;;11223:2:1;78010:46:0::2;::::0;::::2;11205:21:1::0;11262:2;11242:18;;;11235:30;-1:-1:-1;;;11281:18:1;;;11274:48;11339:18;;78010:46:0::2;11021:342:1::0;78010:46:0::2;78067:15;:23:::0;;-1:-1:-1;;78067:23:0::2;::::0;;78134:63:::2;78148:42;78193:3;78134:5;:63::i;:::-;78233;78247:42;78292:3;78233:5;:63::i;:::-;78307;78321:42;78366:3;78307:5;:63::i;:::-;78405;78419:42;78464:3;78405:5;:63::i;:::-;78506:10;:17:::0;;-1:-1:-1;;78506:17:0::2;78519:4;78506:17;::::0;;54835:20;54229:1;55355:7;:22;55172:213;81251:335;81353:10;;81324:13;;81353:10;;;;;81350:229;;;81412:3;81417:18;81427:7;81417:9;:18::i;:::-;81437:7;81395:50;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81381:65;;81251:335;;;:::o;81350:229::-;81493:73;;;;;;12783:34:1;12771:47;;-1:-1:-1;;;12843:2:1;12834:12;;12827:45;12897:2;12888:12;;12569:337;81350:229:0;81251:335;;;:::o;80975:80::-;75725:11;:9;:11::i;:::-;81035:4:::1;:12:::0;80975:80::o;76337:203::-;75654:13;:11;:13::i;:::-;-1:-1:-1;;;;;76428:22:0;::::1;76420:73;;;;-1:-1:-1::0;;;76420:73:0::1;;;;;;;:::i;:::-;76504:28;76523:8;76504:18;:28::i;78539:1444::-:0;54791:21;:19;:21::i;:::-;78660:10:::1;::::0;::::1;;78652:39;;;::::0;-1:-1:-1;;;78652:39:0;;9635:2:1;78652:39:0::1;::::0;::::1;9617:21:1::0;9674:2;9654:18;;;9647:30;-1:-1:-1;;;9693:18:1;;;9686:46;9749:18;;78652:39:0::1;9433:340:1::0;78652:39:0::1;-1:-1:-1::0;;;;;78710:22:0;::::1;;::::0;;;:14:::1;:22;::::0;;;;;::::1;;:31;78702:75;;;::::0;-1:-1:-1;;;78702:75:0;;13113:2:1;78702:75:0::1;::::0;::::1;13095:21:1::0;13152:2;13132:18;;;13125:30;13191:33;13171:18;;;13164:61;13242:18;;78702:75:0::1;12911:355:1::0;78702:75:0::1;-1:-1:-1::0;;;;;78788:22:0;::::1;;::::0;;;:14:::1;:22;::::0;;;;;;;:29;;-1:-1:-1;;78788:29:0::1;78813:4;78788:29;::::0;;78855:24;::::1;::::0;78803:6;;78855:24:::1;13420:2:1::0;13416:15;;;;-1:-1:-1;;13412:53:1;13400:66;;13491:2;13482:12;;13271:229;78855:24:0::1;;;;;;;;;;;;;78845:35;;;;;;78830:50;;78899:44;78918:12;;78899:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;78932:4:0::1;::::0;;-1:-1:-1;78938:4:0;;-1:-1:-1;78899:18:0::1;:44::i;:::-;78891:72;;;::::0;-1:-1:-1;;;78891:72:0;;13707:2:1;78891:72:0::1;::::0;::::1;13689:21:1::0;13746:2;13726:18;;;13719:30;-1:-1:-1;;;13765:18:1;;;13758:45;13820:18;;78891:72:0::1;13505:339:1::0;78891:72:0::1;78995:16;78982:9;:29;;78974:123;;;::::0;-1:-1:-1;;;78974:123:0;;14051:2:1;78974:123:0::1;::::0;::::1;14033:21:1::0;14090:2;14070:18;;;14063:30;14129:34;14109:18;;;14102:62;14200:34;14180:18;;;14173:62;-1:-1:-1;;;14251:19:1;;;14244:48;14309:19;;78974:123:0::1;13849:485:1::0;78974:123:0::1;79113:8;::::0;:30:::1;::::0;-1:-1:-1;;;79113:30:0;;79132:10:::1;79113:30;::::0;::::1;2645:51:1::0;79146:1:0::1;::::0;-1:-1:-1;;;;;79113:8:0::1;::::0;:18:::1;::::0;2618::1;;79113:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;79110:727;;;79165:9;79188:10;-1:-1:-1::0;;;;;79180:24:0::1;79212:9;79180:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79164:62;;;79249:4;79241:37;;;;-1:-1:-1::0;;;79241:37:0::1;;;;;;;:::i;:::-;79149:141;79110:727;;;79299:5;::::0;:27:::1;::::0;-1:-1:-1;;;79299:27:0;;79315:10:::1;79299:27;::::0;::::1;2645:51:1::0;79329:1:0::1;::::0;-1:-1:-1;;;;;79299:5:0::1;::::0;:15:::1;::::0;2618:18:1;;79299:27:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;79296:541;;;79348:9;79371:10;-1:-1:-1::0;;;;;79363:24:0::1;79395:9;79363:46;;;10462:205:1::0;79296:541:0::1;79482:5;::::0;:27:::1;::::0;-1:-1:-1;;;79482:27:0;;79498:10:::1;79482:27;::::0;::::1;2645:51:1::0;79512:1:0::1;::::0;-1:-1:-1;;;;;79482:5:0::1;::::0;:15:::1;::::0;2618:18:1;;79482:27:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;79479:358;;;79531:9;79554:10;-1:-1:-1::0;;;;;79546:24:0::1;79578:9;79546:46;;;10462:205:1::0;79479:358:0::1;79665:3;::::0;:25:::1;::::0;-1:-1:-1;;;79665:25:0;;79679:10:::1;79665:25;::::0;::::1;2645:51:1::0;79693:1:0::1;::::0;-1:-1:-1;;;;;79665:3:0::1;::::0;:13:::1;::::0;2618:18:1;;79665:25:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:29;79662:175;;;79727:46;::::0;79712:9:::1;::::0;79735:10:::1;::::0;79759:9:::1;::::0;79712;79727:46;79712:9;79727:46;79759:9;79735:10;79727:46:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79711:62;;;79796:4;79788:37;;;;-1:-1:-1::0;;;79788:37:0::1;;;;;;;:::i;:::-;79696:141;79662:175;77381:5;79882:13;15041:12:::0;;14828:7;15025:13;:28;;14767:323;79882:13:::1;79898:1;79882:17;:34;;79874:55;;;::::0;-1:-1:-1;;;79874:55:0;;10328:2:1;79874:55:0::1;::::0;::::1;10310:21:1::0;10367:1;10347:18;;;10340:29;-1:-1:-1;;;10385:18:1;;;10378:38;10433:18;;79874:55:0::1;10126:331:1::0;79874:55:0::1;79944:20;79950:10;79962:1;79944:5;:20::i;:::-;78641:1342;54835:20:::0;54229:1;55355:7;:22;55172:213;76090:126;75930:4;;-1:-1:-1;;;;;75930:4:0;75300:10;76152:21;76144:64;;;;-1:-1:-1;;;76144:64:0;;14730:2:1;76144:64:0;;;14712:21:1;14769:2;14749:18;;;14742:30;14808:32;14788:18;;;14781:60;14858:18;;76144:64:0;14528:354:1;27439:368:0;27504:11;27589:13;;27579:7;:23;27575:214;;;27623:14;27656:60;-1:-1:-1;27673:26:0;;;;:17;:26;;;;;;;27663:42;;;27656:60;;27707:9;;;:::i;:::-;;;27656:60;;;-1:-1:-1;;;27744:24:0;:29;;27439:368;-1:-1:-1;;27439:368:0:o;53217:165::-;53318:13;53312:4;53305:27;53359:4;53353;53346:18;73657:647;74375:42;73848:45;:49;73844:453;;74147:67;;-1:-1:-1;;;74147:67:0;;74198:4;74147:67;;;15372:34:1;-1:-1:-1;;;;;15442:15:1;;15422:18;;;15415:43;74375:42:0;;74147;;15307:18:1;;74147:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74142:144;;74242:28;;-1:-1:-1;;;74242:28:0;;-1:-1:-1;;;;;2663:32:1;;74242:28:0;;;2645:51:1;2618:18;;74242:28:0;2499:203:1;25776:124:0;25865:27;25874:2;25878:7;25887:4;25865:8;:27::i;:::-;25776:124;;:::o;29793:3523::-;29935:27;29965;29984:7;29965:18;:27::i;:::-;-1:-1:-1;;;;;30120:22:0;;;;29935:57;;-1:-1:-1;30180:45:0;;;;30176:95;;30227:44;-1:-1:-1;;;30227:7:0;:44::i;:::-;30285:27;28901:24;;;:15;:24;;;;;29129:26;;75300:10;28526:30;;;-1:-1:-1;;;;;28219:28:0;;28504:20;;;28501:56;30471:189;;30564:43;30581:4;75300:10;27017:164;:::i;30564:43::-;30559:101;;30609:51;-1:-1:-1;;;30609:7:0;:51::i;:::-;30809:15;30806:160;;;30949:1;30928:19;30921:30;30806:160;-1:-1:-1;;;;;31346:24:0;;;;;;;:18;:24;;;;;;31344:26;;-1:-1:-1;;31344:26:0;;;31415:22;;;;;;;;;31413:24;;-1:-1:-1;31413:24:0;;;24878:11;24853:23;24849:41;24836:63;-1:-1:-1;;;24836:63:0;31708:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;32003:47:0;;:52;;31999:627;;32108:1;32098:11;;32076:19;32231:30;;;:17;:30;;;;;;:35;;32227:384;;32369:13;;32354:11;:28;32350:242;;32516:30;;;;:17;:30;;;;;:52;;;32350:242;32057:569;31999:627;-1:-1:-1;;;;;32758:20:0;;33138:7;32758:20;33068:4;33010:25;32739:16;;32875:299;33199:8;33211:1;33199:13;33195:58;;33214:39;-1:-1:-1;;;33214:7:0;:39::i;:::-;29924:3392;;;;29793:3523;;;:::o;54871:293::-;54273:1;55005:7;;:19;54997:63;;;;-1:-1:-1;;;54997:63:0;;15921:2:1;54997:63:0;;;15903:21:1;15960:2;15940:18;;;15933:30;15999:33;15979:18;;;15972:61;16050:18;;54997:63:0;15719:355:1;54997:63:0;54273:1;55138:7;:18;54871:293::o;37856:2305::-;37929:20;37952:13;;;37980;;;37976:53;;37995:34;-1:-1:-1;;;37995:7:0;:34::i;:::-;38542:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;24704:28:0;;24878:11;24853:23;24849:41;25322:1;25309:15;;25283:24;25279:46;24846:52;24836:63;;38542:173;;;38933:22;;;:18;:22;;;;;:71;;38971:32;38959:45;;38933:71;;;24704:28;39194:13;;;39190:54;;39209:35;-1:-1:-1;;;39209:7:0;:35::i;:::-;39275:23;;;:12;39360:676;39779:7;39735:8;39690:1;39624:25;39561:1;39496;39465:358;40031:3;40018:9;;;;;;:16;39360:676;;-1:-1:-1;40052:13:0;:19;-1:-1:-1;80744:10:0::1;80678:84:::0;;:::o;33412:193::-;33558:39;33575:4;33581:2;33585:7;33558:39;;;;;;;;;;;;:16;:39::i;21907:2012::-;22057:26;;;;:17;:26;;;;;;;22183:11;;;22179:1292;;22230:13;;22219:7;:24;22215:77;;22245:47;-1:-1:-1;;;22245:7:0;:47::i;:::-;22849:607;-1:-1:-1;;;22945:9:0;22927:28;;;;:17;:28;;;;;;23001:25;;22849:607;23001:25;-1:-1:-1;;;23053:6:0;:24;23081:1;23053:29;23049:48;;21907:2012;;;:::o;23049:48::-;23389:47;-1:-1:-1;;;23389:7:0;:47::i;:::-;22849:607;;22179:1292;-1:-1:-1;;;23798:6:0;:24;23826:1;23798:29;23794:48;;21907:2012;;;:::o;23794:48::-;23864:47;-1:-1:-1;;;23864:7:0;:47::i;75950:132::-;75837:6;;-1:-1:-1;;;;;75837:6:0;75300:10;76014:23;76006:68;;;;-1:-1:-1;;;76006:68:0;;16281:2:1;76006:68:0;;;16263:21:1;;;16300:18;;;16293:30;16359:34;16339:18;;;16332:62;16411:18;;76006:68:0;16079:356:1;76548:191:0;76641:6;;;-1:-1:-1;;;;;76658:17:0;;;-1:-1:-1;;;;;;76658:17:0;;;;;;;76691:40;;76641:6;;;76658:17;76641:6;;76691:40;;76622:16;;76691:40;76611:128;76548:191;:::o;26626:234::-;75300:10;26721:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26721:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26721:60:0;;;;;;;;;;26797:55;;909:41:1;;;26721:49:0;;75300:10;26797:55;;882:18:1;26797:55:0;;;;;;;26626:234;;:::o;34203:416::-;34378:31;34391:4;34397:2;34401:7;34378:12;:31::i;:::-;-1:-1:-1;;;;;34424:14:0;;;:19;34420:192;;34463:56;34494:4;34500:2;34504:7;34513:5;34463:30;:56::i;:::-;34458:154;;34540:56;-1:-1:-1;;;34540:7:0;:56::i;51405:1745::-;51470:17;51904:4;51897;51891:11;51887:22;51996:1;51990:4;51983:15;52071:4;52068:1;52064:12;52057:19;;;52153:1;52148:3;52141:14;52257:3;52496:5;52478:428;52544:1;52539:3;52535:11;52528:18;;52715:2;52709:4;52705:13;52701:2;52697:22;52692:3;52684:36;52809:2;52799:13;;52866:25;52478:428;52866:25;-1:-1:-1;52936:13:0;;;-1:-1:-1;;53051:14:0;;;53113:19;;;53051:14;51405:1745;-1:-1:-1;51405:1745:0:o;56047:156::-;56138:4;56191;56162:25;56175:5;56182:4;56162:12;:25::i;:::-;:33;;56047:156;-1:-1:-1;;;;56047:156:0:o;44650:474::-;44779:13;44795:16;44803:7;44795;:16::i;:::-;44779:32;;44828:13;:45;;;;-1:-1:-1;75300:10:0;-1:-1:-1;;;;;44845:28:0;;;;44828:45;44824:201;;;44893:44;44910:5;75300:10;27017:164;:::i;44893:44::-;44888:137;;44958:51;-1:-1:-1;;;44958:7:0;:51::i;:::-;45037:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;45037:35:0;-1:-1:-1;;;;;45037:35:0;;;;;;;;;45088:28;;45037:24;;45088:28;;;;;;;44768:356;44650:474;;;:::o;36703:691::-;36887:88;;-1:-1:-1;;;36887:88:0;;36866:4;;-1:-1:-1;;;;;36887:45:0;;;;;:88;;75300:10;;36954:4;;36960:7;;36969:5;;36887:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36887:88:0;;;;;;;;-1:-1:-1;;36887:88:0;;;;;;;;;;;;:::i;:::-;;;36883:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37170:6;:13;37187:1;37170:18;37166:115;;37209:56;-1:-1:-1;;;37209:7:0;:56::i;:::-;37353:6;37347:13;37338:6;37334:2;37330:15;37323:38;36883:504;-1:-1:-1;;;;;;37046:64:0;-1:-1:-1;;;37046:64:0;;-1:-1:-1;36703:691:0;;;;;;:::o;56846:296::-;56929:7;56972:4;56929:7;56987:118;57011:5;:12;57007:1;:16;56987:118;;;57060:33;57070:12;57084:5;57090:1;57084:8;;;;;;;;:::i;:::-;;;;;;;57060:9;:33::i;:::-;57045:48;-1:-1:-1;57025:3:0;;;;:::i;:::-;;;;56987:118;;;-1:-1:-1;57122:12:0;56846:296;-1:-1:-1;;;56846:296:0:o;64050:149::-;64113:7;64144:1;64140;:5;:51;;64275:13;64369:15;;;64405:4;64398:15;;;64452:4;64436:21;;64140:51;;;64275:13;64369:15;;;64405:4;64398:15;;;64452:4;64436:21;;64148:20;64133:58;64050:149;-1:-1:-1;;;64050:149:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:131::-;-1:-1:-1;;;;;;457:32:1;;447:43;;437:71;;504:1;501;494:12;519:245;577:6;630:2;618:9;609:7;605:23;601:32;598:52;;;646:1;643;636:12;598:52;685:9;672:23;704:30;728:5;704:30;:::i;961:592::-;1032:6;1040;1093:2;1081:9;1072:7;1068:23;1064:32;1061:52;;;1109:1;1106;1099:12;1061:52;1149:9;1136:23;1178:18;1219:2;1211:6;1208:14;1205:34;;;1235:1;1232;1225:12;1205:34;1273:6;1262:9;1258:22;1248:32;;1318:7;1311:4;1307:2;1303:13;1299:27;1289:55;;1340:1;1337;1330:12;1289:55;1380:2;1367:16;1406:2;1398:6;1395:14;1392:34;;;1422:1;1419;1412:12;1392:34;1467:7;1462:2;1453:6;1449:2;1445:15;1441:24;1438:37;1435:57;;;1488:1;1485;1478:12;1435:57;1519:2;1511:11;;;;;1541:6;;-1:-1:-1;961:592:1;;-1:-1:-1;;;;961:592:1:o;1558:250::-;1643:1;1653:113;1667:6;1664:1;1661:13;1653:113;;;1743:11;;;1737:18;1724:11;;;1717:39;1689:2;1682:10;1653:113;;;-1:-1:-1;;1800:1:1;1782:16;;1775:27;1558:250::o;1813:271::-;1855:3;1893:5;1887:12;1920:6;1915:3;1908:19;1936:76;2005:6;1998:4;1993:3;1989:14;1982:4;1975:5;1971:16;1936:76;:::i;:::-;2066:2;2045:15;-1:-1:-1;;2041:29:1;2032:39;;;;2073:4;2028:50;;1813:271;-1:-1:-1;;1813:271:1:o;2089:220::-;2238:2;2227:9;2220:21;2201:4;2258:45;2299:2;2288:9;2284:18;2276:6;2258:45;:::i;2314:180::-;2373:6;2426:2;2414:9;2405:7;2401:23;2397:32;2394:52;;;2442:1;2439;2432:12;2394:52;-1:-1:-1;2465:23:1;;2314:180;-1:-1:-1;2314:180:1:o;2707:254::-;2775:6;2783;2836:2;2824:9;2815:7;2811:23;2807:32;2804:52;;;2852:1;2849;2842:12;2804:52;2875:29;2894:9;2875:29;:::i;:::-;2865:39;2951:2;2936:18;;;;2923:32;;-1:-1:-1;;;2707:254:1:o;3148:328::-;3225:6;3233;3241;3294:2;3282:9;3273:7;3269:23;3265:32;3262:52;;;3310:1;3307;3300:12;3262:52;3333:29;3352:9;3333:29;:::i;:::-;3323:39;;3381:38;3415:2;3404:9;3400:18;3381:38;:::i;:::-;3371:48;;3466:2;3455:9;3451:18;3438:32;3428:42;;3148:328;;;;;:::o;3721:118::-;3807:5;3800:13;3793:21;3786:5;3783:32;3773:60;;3829:1;3826;3819:12;3844:315;3909:6;3917;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;4009:29;4028:9;4009:29;:::i;:::-;3999:39;;4088:2;4077:9;4073:18;4060:32;4101:28;4123:5;4101:28;:::i;:::-;4148:5;4138:15;;;3844:315;;;;;:::o;4164:127::-;4225:10;4220:3;4216:20;4213:1;4206:31;4256:4;4253:1;4246:15;4280:4;4277:1;4270:15;4296:1138;4391:6;4399;4407;4415;4468:3;4456:9;4447:7;4443:23;4439:33;4436:53;;;4485:1;4482;4475:12;4436:53;4508:29;4527:9;4508:29;:::i;:::-;4498:39;;4556:38;4590:2;4579:9;4575:18;4556:38;:::i;:::-;4546:48;;4641:2;4630:9;4626:18;4613:32;4603:42;;4696:2;4685:9;4681:18;4668:32;4719:18;4760:2;4752:6;4749:14;4746:34;;;4776:1;4773;4766:12;4746:34;4814:6;4803:9;4799:22;4789:32;;4859:7;4852:4;4848:2;4844:13;4840:27;4830:55;;4881:1;4878;4871:12;4830:55;4917:2;4904:16;4939:2;4935;4932:10;4929:36;;;4945:18;;:::i;:::-;5020:2;5014:9;4988:2;5074:13;;-1:-1:-1;;5070:22:1;;;5094:2;5066:31;5062:40;5050:53;;;5118:18;;;5138:22;;;5115:46;5112:72;;;5164:18;;:::i;:::-;5204:10;5200:2;5193:22;5239:2;5231:6;5224:18;5279:7;5274:2;5269;5265;5261:11;5257:20;5254:33;5251:53;;;5300:1;5297;5290:12;5251:53;5356:2;5351;5347;5343:11;5338:2;5330:6;5326:15;5313:46;5401:1;5396:2;5391;5383:6;5379:15;5375:24;5368:35;5422:6;5412:16;;;;;;;4296:1138;;;;;;;:::o;5624:260::-;5692:6;5700;5753:2;5741:9;5732:7;5728:23;5724:32;5721:52;;;5769:1;5766;5759:12;5721:52;5792:29;5811:9;5792:29;:::i;:::-;5782:39;;5840:38;5874:2;5863:9;5859:18;5840:38;:::i;:::-;5830:48;;5624:260;;;;;:::o;5889:689::-;5984:6;5992;6000;6053:2;6041:9;6032:7;6028:23;6024:32;6021:52;;;6069:1;6066;6059:12;6021:52;6092:29;6111:9;6092:29;:::i;:::-;6082:39;;6172:2;6161:9;6157:18;6144:32;6195:18;6236:2;6228:6;6225:14;6222:34;;;6252:1;6249;6242:12;6222:34;6290:6;6279:9;6275:22;6265:32;;6335:7;6328:4;6324:2;6320:13;6316:27;6306:55;;6357:1;6354;6347:12;6306:55;6397:2;6384:16;6423:2;6415:6;6412:14;6409:34;;;6439:1;6436;6429:12;6409:34;6492:7;6487:2;6477:6;6474:1;6470:14;6466:2;6462:23;6458:32;6455:45;6452:65;;;6513:1;6510;6503:12;6452:65;6544:2;6540;6536:11;6526:21;;6566:6;6556:16;;;;;5889:689;;;;;:::o;6583:402::-;6785:2;6767:21;;;6824:2;6804:18;;;6797:30;6863:34;6858:2;6843:18;;6836:62;-1:-1:-1;;;6929:2:1;6914:18;;6907:36;6975:3;6960:19;;6583:402::o;6990:380::-;7069:1;7065:12;;;;7112;;;7133:61;;7187:4;7179:6;7175:17;7165:27;;7133:61;7240:2;7232:6;7229:14;7209:18;7206:38;7203:161;;7286:10;7281:3;7277:20;7274:1;7267:31;7321:4;7318:1;7311:15;7349:4;7346:1;7339:15;7203:161;;6990:380;;;:::o;7501:545::-;7603:2;7598:3;7595:11;7592:448;;;7639:1;7664:5;7660:2;7653:17;7709:4;7705:2;7695:19;7779:2;7767:10;7763:19;7760:1;7756:27;7750:4;7746:38;7815:4;7803:10;7800:20;7797:47;;;-1:-1:-1;7838:4:1;7797:47;7893:2;7888:3;7884:12;7881:1;7877:20;7871:4;7867:31;7857:41;;7948:82;7966:2;7959:5;7956:13;7948:82;;;8011:17;;;7992:1;7981:13;7948:82;;;7952:3;;;7501:545;;;:::o;8222:1206::-;8346:18;8341:3;8338:27;8335:53;;;8368:18;;:::i;:::-;8397:94;8487:3;8447:38;8479:4;8473:11;8447:38;:::i;:::-;8441:4;8397:94;:::i;:::-;8517:1;8542:2;8537:3;8534:11;8559:1;8554:616;;;;9214:1;9231:3;9228:93;;;-1:-1:-1;9287:19:1;;;9274:33;9228:93;-1:-1:-1;;8179:1:1;8175:11;;;8171:24;8167:29;8157:40;8203:1;8199:11;;;8154:57;9334:78;;8527:895;;8554:616;7448:1;7441:14;;;7485:4;7472:18;;-1:-1:-1;;8590:17:1;;;8691:9;8713:229;8727:7;8724:1;8721:14;8713:229;;;8816:19;;;8803:33;8788:49;;8923:4;8908:20;;;;8876:1;8864:14;;;;8743:12;8713:229;;;8717:3;8970;8961:7;8958:16;8955:159;;;9094:1;9090:6;9084:3;9078;9075:1;9071:11;9067:21;9063:34;9059:39;9046:9;9041:3;9037:19;9024:33;9020:79;9012:6;9005:95;8955:159;;;9157:1;9151:3;9148:1;9144:11;9140:19;9134:4;9127:33;8527:895;;8222:1206;;;:::o;10672:344::-;10874:2;10856:21;;;10913:2;10893:18;;;10886:30;-1:-1:-1;;;10947:2:1;10932:18;;10925:50;11007:2;10992:18;;10672:344::o;11368:722::-;11418:3;11459:5;11453:12;11488:36;11514:9;11488:36;:::i;:::-;11543:1;11560:18;;;11587:133;;;;11734:1;11729:355;;;;11553:531;;11587:133;-1:-1:-1;;11620:24:1;;11608:37;;11693:14;;11686:22;11674:35;;11665:45;;;-1:-1:-1;11587:133:1;;11729:355;11760:5;11757:1;11750:16;11789:4;11834:2;11831:1;11821:16;11859:1;11873:165;11887:6;11884:1;11881:13;11873:165;;;11965:14;;11952:11;;;11945:35;12008:16;;;;11902:10;;11873:165;;;11877:3;;;12067:6;12062:3;12058:16;12051:23;;11553:531;;;;;11368:722;;;;:::o;12095:469::-;12316:3;12344:38;12378:3;12370:6;12344:38;:::i;:::-;12411:6;12405:13;12427:65;12485:6;12481:2;12474:4;12466:6;12462:17;12427:65;:::i;:::-;12508:50;12550:6;12546:2;12542:15;12534:6;12508:50;:::i;:::-;12501:57;12095:469;-1:-1:-1;;;;;;;12095:469:1:o;14339:184::-;14409:6;14462:2;14450:9;14441:7;14437:23;14433:32;14430:52;;;14478:1;14475;14468:12;14430:52;-1:-1:-1;14501:16:1;;14339:184;-1:-1:-1;14339:184:1:o;14887:127::-;14948:10;14943:3;14939:20;14936:1;14929:31;14979:4;14976:1;14969:15;15003:4;15000:1;14993:15;15019:136;15058:3;15086:5;15076:39;;15095:18;;:::i;:::-;-1:-1:-1;;;15131:18:1;;15019:136::o;15469:245::-;15536:6;15589:2;15577:9;15568:7;15564:23;15560:32;15557:52;;;15605:1;15602;15595:12;15557:52;15637:9;15631:16;15656:28;15678:5;15656:28;:::i;16440:489::-;-1:-1:-1;;;;;16709:15:1;;;16691:34;;16761:15;;16756:2;16741:18;;16734:43;16808:2;16793:18;;16786:34;;;16856:3;16851:2;16836:18;;16829:31;;;16634:4;;16877:46;;16903:19;;16895:6;16877:46;:::i;:::-;16869:54;16440:489;-1:-1:-1;;;;;;16440:489:1:o;16934:249::-;17003:6;17056:2;17044:9;17035:7;17031:23;17027:32;17024:52;;;17072:1;17069;17062:12;17024:52;17104:9;17098:16;17123:30;17147:5;17123:30;:::i;17188:127::-;17249:10;17244:3;17240:20;17237:1;17230:31;17280:4;17277:1;17270:15;17304:4;17301:1;17294:15;17320:135;17359:3;17380:17;;;17377:43;;17400:18;;:::i;:::-;-1:-1:-1;17447:1:1;17436:13;;17320:135::o

Swarm Source

ipfs://e7b81335e8c24657d5925a137e516aa790ff3bf338eb767433ad047ccb62dc40

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.