ETH Price: $3,404.25 (+2.17%)

Token

Heads or Tails (HEADTAIL)
 

Overview

Max Total Supply

3,636 HEADTAIL

Holders

760

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
joinunderground.eth
Balance
5 HEADTAIL
0x9274e50e3922fbc7a3ce99f94efc32d3beca6c39
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HeadsorTails

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: operator-filter-registry/src/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

// File: operator-filter-registry/src/OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @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.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    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) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

// File: operator-filter-registry/src/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _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;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: headstailssfinal.sol



//Developer : FazelPejmanfar , Twitter :@Pejmanfarfazel



pragma solidity >=0.7.0 <0.9.0;





contract HeadsorTails is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer {


  string public baseURI;
  string public notRevealedUri;
  uint256 public cost = 0.005 ether;
  uint256 public maxSupply = 3636;
  uint256 public MaxperWallet = 10;
  bool public paused = true;
  bool public revealed = false;
  mapping (address => uint256) public PublicMintofUser;

  constructor() ERC721A("Heads or Tails", "HEADTAIL") {}

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

  // public
  /// @dev Public mint 
  function mint(uint256 tokens) public payable nonReentrant {
    require(!paused, "HEADTAIL: oops contract is paused");
    require(tokens <= 5, "HEADTAIL: max mint amount per tx exceeded");
    require(totalSupply() + tokens <= maxSupply, "HEADTAIL: We Soldout");
    require(PublicMintofUser[_msgSenderERC721A()] + tokens <= MaxperWallet, "HEADTAIL: Max NFT Per Wallet exceeded");
    require(msg.value >= cost * tokens, "HEADTAIL: insufficient funds");

       PublicMintofUser[_msgSenderERC721A()] += tokens;
      _safeMint(_msgSenderERC721A(), tokens);
    
  }

  /// @dev use it for giveaway and team mint
     function airdrop(uint256 _mintAmount, address destination) public onlyOwner nonReentrant {
    require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded");

      _safeMint(destination, _mintAmount);
  }

/// @notice returns metadata link of tokenid
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721AMetadata: URI query for nonexistent token"
    );
    
    if(revealed == false) {
        return notRevealedUri;
    }

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

     /// @notice return the number minted by an address
    function numberMinted(address owner) public view returns (uint256) {
    return _numberMinted(owner);
  }

    /// @notice return the tokens owned by an address
      function tokensOfOwner(address owner) public view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }

  //only owner
  function reveal(bool _state) public onlyOwner {
      revealed = _state;
  }

  /// @dev change the public max per wallet
  function setMaxPerWallet(uint256 _limit) public onlyOwner {
    MaxperWallet = _limit;
  }

   /// @dev change the public price(amount need to be in wei)
  function setCost(uint256 _newCost) public onlyOwner {
    cost = _newCost;
  }


  /// @dev cut the supply if we dont sold out
    function setMaxsupply(uint256 _newsupply) public onlyOwner {
    maxSupply = _newsupply;
  }

 /// @dev set your baseuri
  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

   /// @dev set hidden uri
  function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
    notRevealedUri = _notRevealedURI;
  }

 /// @dev to pause and unpause your contract(use booleans true or false)
  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
  
  /// @dev withdraw funds from contract
  function withdraw() public payable onlyOwner nonReentrant {
      uint256 balance = address(this).balance;
      payable(_msgSenderERC721A()).transfer(balance);
  }


  /// Opensea Royalties

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

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

  function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable 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":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PublicMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526611c37937e08000600c55610e34600d55600a600e55600f805461ffff191660011790553480156200003557600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600e81526020016d4865616473206f72205461696c7360901b81525060405180604001604052806008815260200167121150511510525360c21b8152508160029081620000a6919062000311565b506003620000b5828262000311565b5050600160005550620000c8336200021a565b60016009556daaeb6d7670e522a718067333cd4e3b15620002125780156200016057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014157600080fd5b505af115801562000156573d6000803e3d6000fd5b5050505062000212565b6001600160a01b03821615620001b15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000126565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b505050505b5050620003dd565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029757607f821691505b602082108103620002b857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030c57600081815260208120601f850160051c81016020861015620002e75750805b601f850160051c820191505b818110156200030857828155600101620002f3565b5050505b505050565b81516001600160401b038111156200032d576200032d6200026c565b62000345816200033e845462000282565b84620002be565b602080601f8311600181146200037d5760008415620003645750858301515b600019600386901b1c1916600185901b17855562000308565b600085815260208120601f198616915b82811015620003ae578886015182559484019460019091019084016200038d565b5085821015620003cd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611ef480620003ed6000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063bc63f02e116100ab578063e268e4d31161006f578063e268e4d3146105e9578063e985e9c514610609578063f2c4ce1e14610629578063f2fde38b14610649578063fff8d2fc1461066957600080fd5b8063bc63f02e1461055d578063bd7a19981461057d578063c87b56dd14610593578063d5abeb01146105b3578063dc33e681146105c957600080fd5b8063940cd05b116100f2578063940cd05b146104e257806395d89b4114610502578063a0712d6814610517578063a22cb4651461052a578063b88d4fde1461054a57600080fd5b806370a0823114610462578063715018a6146104825780638462151c146104975780638da5cb5b146104c457600080fd5b806323b872dd116101b1578063518302271161017557806351830227146103d457806355f804b3146103f35780635c975abb146104135780636352211e1461042d5780636c0360eb1461044d57600080fd5b806323b872dd146103645780633ccfd60b1461037757806341f434341461037f57806342842e0e146103a157806344a0d68a146103b457600080fd5b8063081c8c44116101f8578063081c8c44146102db578063095ea7b3146102f057806313faede614610303578063149835a01461032757806318160ddd1461034757600080fd5b806301ffc9a71461022a57806302329a291461025f57806306fdde0314610281578063081812fc146102a3575b600080fd5b34801561023657600080fd5b5061024a6102453660046118fb565b610696565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027f61027a366004611926565b6106e8565b005b34801561028d57600080fd5b50610296610703565b6040516102569190611993565b3480156102af57600080fd5b506102c36102be3660046119a6565b610795565b6040516001600160a01b039091168152602001610256565b3480156102e757600080fd5b506102966107d9565b61027f6102fe3660046119db565b610867565b34801561030f57600080fd5b50610319600c5481565b604051908152602001610256565b34801561033357600080fd5b5061027f6103423660046119a6565b610907565b34801561035357600080fd5b506001546000540360001901610319565b61027f610372366004611a05565b610914565b61027f61093f565b34801561038b57600080fd5b506102c36daaeb6d7670e522a718067333cd4e81565b61027f6103af366004611a05565b61098c565b3480156103c057600080fd5b5061027f6103cf3660046119a6565b6109b1565b3480156103e057600080fd5b50600f5461024a90610100900460ff1681565b3480156103ff57600080fd5b5061027f61040e366004611acd565b6109be565b34801561041f57600080fd5b50600f5461024a9060ff1681565b34801561043957600080fd5b506102c36104483660046119a6565b6109d6565b34801561045957600080fd5b506102966109e1565b34801561046e57600080fd5b5061031961047d366004611b16565b6109ee565b34801561048e57600080fd5b5061027f610a3d565b3480156104a357600080fd5b506104b76104b2366004611b16565b610a4f565b6040516102569190611b31565b3480156104d057600080fd5b506008546001600160a01b03166102c3565b3480156104ee57600080fd5b5061027f6104fd366004611926565b610b58565b34801561050e57600080fd5b50610296610b7a565b61027f6105253660046119a6565b610b89565b34801561053657600080fd5b5061027f610545366004611b69565b610dc9565b61027f610558366004611ba0565b610e35565b34801561056957600080fd5b5061027f610578366004611c1c565b610e62565b34801561058957600080fd5b50610319600e5481565b34801561059f57600080fd5b506102966105ae3660046119a6565b610ee8565b3480156105bf57600080fd5b50610319600d5481565b3480156105d557600080fd5b506103196105e4366004611b16565b61105a565b3480156105f557600080fd5b5061027f6106043660046119a6565b611085565b34801561061557600080fd5b5061024a610624366004611c48565b611092565b34801561063557600080fd5b5061027f610644366004611acd565b6110c0565b34801561065557600080fd5b5061027f610664366004611b16565b6110d4565b34801561067557600080fd5b50610319610684366004611b16565b60106020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b0319831614806106c757506380ac58cd60e01b6001600160e01b03198316145b806106e25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6106f061114a565b600f805460ff1916911515919091179055565b60606002805461071290611c72565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90611c72565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b60006107a0826111a4565b6107bd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b80546107e690611c72565b80601f016020809104026020016040519081016040528092919081815260200182805461081290611c72565b801561085f5780601f106108345761010080835404028352916020019161085f565b820191906000526020600020905b81548152906001019060200180831161084257829003601f168201915b505050505081565b6000610872826109d6565b9050336001600160a01b038216146108ab5761088e8133611092565b6108ab576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61090f61114a565b600d55565b826001600160a01b038116331461092e5761092e336111d9565b610939848484611292565b50505050565b61094761114a565b61094f61142b565b6040514790339082156108fc029083906000818181858888f1935050505015801561097e573d6000803e3d6000fd5b505061098a6001600955565b565b826001600160a01b03811633146109a6576109a6336111d9565b610939848484611484565b6109b961114a565b600c55565b6109c661114a565b600a6109d28282611cf2565b5050565b60006106e2826114a4565b600a80546107e690611c72565b60006001600160a01b038216610a17576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a4561114a565b61098a6000611513565b60606000806000610a5f856109ee565b905060008167ffffffffffffffff811115610a7c57610a7c611a41565b604051908082528060200260200182016040528015610aa5578160200160208202803683370190505b509050610ad260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610b4c57610ae581611565565b91508160400151610b445781516001600160a01b031615610b0557815194505b876001600160a01b0316856001600160a01b031603610b445780838780600101985081518110610b3757610b37611db2565b6020026020010181815250505b600101610ad5565b50909695505050505050565b610b6061114a565b600f80549115156101000261ff0019909216919091179055565b60606003805461071290611c72565b610b9161142b565b600f5460ff1615610bf35760405162461bcd60e51b815260206004820152602160248201527f484541445441494c3a206f6f707320636f6e74726163742069732070617573656044820152601960fa1b60648201526084015b60405180910390fd5b6005811115610c565760405162461bcd60e51b815260206004820152602960248201527f484541445441494c3a206d6178206d696e7420616d6f756e742070657220747860448201526808195e18d95959195960ba1b6064820152608401610bea565b600d546001546000548391900360001901610c719190611dde565b1115610cb65760405162461bcd60e51b815260206004820152601460248201527312115051151052530e8815d94814dbdb191bdd5d60621b6044820152606401610bea565b600e5433600090815260106020526040902054610cd4908390611dde565b1115610d305760405162461bcd60e51b815260206004820152602560248201527f484541445441494c3a204d6178204e4654205065722057616c6c657420657863604482015264195959195960da1b6064820152608401610bea565b80600c54610d3e9190611df1565b341015610d8d5760405162461bcd60e51b815260206004820152601c60248201527f484541445441494c3a20696e73756666696369656e742066756e6473000000006044820152606401610bea565b3360009081526010602052604081208054839290610dac908490611dde565b90915550610dbc905033826115e4565b610dc66001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b0381163314610e4f57610e4f336111d9565b610e5b858585856115fe565b5050505050565b610e6a61114a565b610e7261142b565b600d546001546000548491900360001901610e8d9190611dde565b1115610ed45760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610bea565b610ede81836115e4565b6109d26001600955565b6060610ef3826111a4565b610f585760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610bea565b600f54610100900460ff161515600003610ffe57600b8054610f7990611c72565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa590611c72565b8015610ff25780601f10610fc757610100808354040283529160200191610ff2565b820191906000526020600020905b815481529060010190602001808311610fd557829003601f168201915b50505050509050919050565b6000611008611642565b905060008151116110285760405180602001604052806000815250611053565b8061103284611651565b604051602001611043929190611e08565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166106e2565b61108d61114a565b600e55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6110c861114a565b600b6109d28282611cf2565b6110dc61114a565b6001600160a01b0381166111415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bea565b610dc681611513565b6008546001600160a01b0316331461098a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bea565b6000816001111580156111b8575060005482105b80156106e2575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610dc657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611246573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126a9190611e47565b610dc657604051633b79c77360e21b81526001600160a01b0382166004820152602401610bea565b600061129d826114a4565b9050836001600160a01b0316816001600160a01b0316146112d05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761131d576113008633611092565b61131d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661134457604051633a954ecd60e21b815260040160405180910390fd5b801561134f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113e1576001840160008181526004602052604081205490036113df5760005481146113df5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60026009540361147d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bea565b6002600955565b61149f83838360405180602001604052806000815250610e35565b505050565b600081806001116114fa576000548110156114fa5760008181526004602052604081205490600160e01b821690036114f8575b806000036110535750600019016000818152600460205260409020546114d7565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546106e290604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6109d2828260405180602001604052806000815250611695565b611609848484610914565b6001600160a01b0383163b1561093957611625848484846116fb565b610939576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a805461071290611c72565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061166b5750819003601f19909101908152919050565b61169f83836117e7565b6001600160a01b0383163b1561149f576000548281035b6116c960008683806001019450866116fb565b6116e6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116b6578160005414610e5b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611730903390899088908890600401611e64565b6020604051808303816000875af192505050801561176b575060408051601f3d908101601f1916820190925261176891810190611ea1565b60015b6117c9573d808015611799576040519150601f19603f3d011682016040523d82523d6000602084013e61179e565b606091505b5080516000036117c1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600080549082900361180c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146118bb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611883565b50816000036118dc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610dc657600080fd5b60006020828403121561190d57600080fd5b8135611053816118e5565b8015158114610dc657600080fd5b60006020828403121561193857600080fd5b813561105381611918565b60005b8381101561195e578181015183820152602001611946565b50506000910152565b6000815180845261197f816020860160208601611943565b601f01601f19169290920160200192915050565b6020815260006110536020830184611967565b6000602082840312156119b857600080fd5b5035919050565b80356001600160a01b03811681146119d657600080fd5b919050565b600080604083850312156119ee57600080fd5b6119f7836119bf565b946020939093013593505050565b600080600060608486031215611a1a57600080fd5b611a23846119bf565b9250611a31602085016119bf565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a7257611a72611a41565b604051601f8501601f19908116603f01168101908282118183101715611a9a57611a9a611a41565b81604052809350858152868686011115611ab357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611adf57600080fd5b813567ffffffffffffffff811115611af657600080fd5b8201601f81018413611b0757600080fd5b6117df84823560208401611a57565b600060208284031215611b2857600080fd5b611053826119bf565b6020808252825182820181905260009190848201906040850190845b81811015610b4c57835183529284019291840191600101611b4d565b60008060408385031215611b7c57600080fd5b611b85836119bf565b91506020830135611b9581611918565b809150509250929050565b60008060008060808587031215611bb657600080fd5b611bbf856119bf565b9350611bcd602086016119bf565b925060408501359150606085013567ffffffffffffffff811115611bf057600080fd5b8501601f81018713611c0157600080fd5b611c1087823560208401611a57565b91505092959194509250565b60008060408385031215611c2f57600080fd5b82359150611c3f602084016119bf565b90509250929050565b60008060408385031215611c5b57600080fd5b611c64836119bf565b9150611c3f602084016119bf565b600181811c90821680611c8657607f821691505b602082108103611ca657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561149f57600081815260208120601f850160051c81016020861015611cd35750805b601f850160051c820191505b8181101561142357828155600101611cdf565b815167ffffffffffffffff811115611d0c57611d0c611a41565b611d2081611d1a8454611c72565b84611cac565b602080601f831160018114611d555760008415611d3d5750858301515b600019600386901b1c1916600185901b178555611423565b600085815260208120601f198616915b82811015611d8457888601518255948401946001909101908401611d65565b5085821015611da25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156106e2576106e2611dc8565b80820281158282048414176106e2576106e2611dc8565b60008351611e1a818460208801611943565b835190830190611e2e818360208801611943565b64173539b7b760d91b9101908152600501949350505050565b600060208284031215611e5957600080fd5b815161105381611918565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e9790830184611967565b9695505050505050565b600060208284031215611eb357600080fd5b8151611053816118e556fea2646970667358221220230d72875338f5bdd44457cb0a549489c700ba43cffb4d45b71de9d40b6c381864736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102255760003560e01c806370a0823111610123578063bc63f02e116100ab578063e268e4d31161006f578063e268e4d3146105e9578063e985e9c514610609578063f2c4ce1e14610629578063f2fde38b14610649578063fff8d2fc1461066957600080fd5b8063bc63f02e1461055d578063bd7a19981461057d578063c87b56dd14610593578063d5abeb01146105b3578063dc33e681146105c957600080fd5b8063940cd05b116100f2578063940cd05b146104e257806395d89b4114610502578063a0712d6814610517578063a22cb4651461052a578063b88d4fde1461054a57600080fd5b806370a0823114610462578063715018a6146104825780638462151c146104975780638da5cb5b146104c457600080fd5b806323b872dd116101b1578063518302271161017557806351830227146103d457806355f804b3146103f35780635c975abb146104135780636352211e1461042d5780636c0360eb1461044d57600080fd5b806323b872dd146103645780633ccfd60b1461037757806341f434341461037f57806342842e0e146103a157806344a0d68a146103b457600080fd5b8063081c8c44116101f8578063081c8c44146102db578063095ea7b3146102f057806313faede614610303578063149835a01461032757806318160ddd1461034757600080fd5b806301ffc9a71461022a57806302329a291461025f57806306fdde0314610281578063081812fc146102a3575b600080fd5b34801561023657600080fd5b5061024a6102453660046118fb565b610696565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027f61027a366004611926565b6106e8565b005b34801561028d57600080fd5b50610296610703565b6040516102569190611993565b3480156102af57600080fd5b506102c36102be3660046119a6565b610795565b6040516001600160a01b039091168152602001610256565b3480156102e757600080fd5b506102966107d9565b61027f6102fe3660046119db565b610867565b34801561030f57600080fd5b50610319600c5481565b604051908152602001610256565b34801561033357600080fd5b5061027f6103423660046119a6565b610907565b34801561035357600080fd5b506001546000540360001901610319565b61027f610372366004611a05565b610914565b61027f61093f565b34801561038b57600080fd5b506102c36daaeb6d7670e522a718067333cd4e81565b61027f6103af366004611a05565b61098c565b3480156103c057600080fd5b5061027f6103cf3660046119a6565b6109b1565b3480156103e057600080fd5b50600f5461024a90610100900460ff1681565b3480156103ff57600080fd5b5061027f61040e366004611acd565b6109be565b34801561041f57600080fd5b50600f5461024a9060ff1681565b34801561043957600080fd5b506102c36104483660046119a6565b6109d6565b34801561045957600080fd5b506102966109e1565b34801561046e57600080fd5b5061031961047d366004611b16565b6109ee565b34801561048e57600080fd5b5061027f610a3d565b3480156104a357600080fd5b506104b76104b2366004611b16565b610a4f565b6040516102569190611b31565b3480156104d057600080fd5b506008546001600160a01b03166102c3565b3480156104ee57600080fd5b5061027f6104fd366004611926565b610b58565b34801561050e57600080fd5b50610296610b7a565b61027f6105253660046119a6565b610b89565b34801561053657600080fd5b5061027f610545366004611b69565b610dc9565b61027f610558366004611ba0565b610e35565b34801561056957600080fd5b5061027f610578366004611c1c565b610e62565b34801561058957600080fd5b50610319600e5481565b34801561059f57600080fd5b506102966105ae3660046119a6565b610ee8565b3480156105bf57600080fd5b50610319600d5481565b3480156105d557600080fd5b506103196105e4366004611b16565b61105a565b3480156105f557600080fd5b5061027f6106043660046119a6565b611085565b34801561061557600080fd5b5061024a610624366004611c48565b611092565b34801561063557600080fd5b5061027f610644366004611acd565b6110c0565b34801561065557600080fd5b5061027f610664366004611b16565b6110d4565b34801561067557600080fd5b50610319610684366004611b16565b60106020526000908152604090205481565b60006301ffc9a760e01b6001600160e01b0319831614806106c757506380ac58cd60e01b6001600160e01b03198316145b806106e25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6106f061114a565b600f805460ff1916911515919091179055565b60606002805461071290611c72565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90611c72565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b60006107a0826111a4565b6107bd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600b80546107e690611c72565b80601f016020809104026020016040519081016040528092919081815260200182805461081290611c72565b801561085f5780601f106108345761010080835404028352916020019161085f565b820191906000526020600020905b81548152906001019060200180831161084257829003601f168201915b505050505081565b6000610872826109d6565b9050336001600160a01b038216146108ab5761088e8133611092565b6108ab576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61090f61114a565b600d55565b826001600160a01b038116331461092e5761092e336111d9565b610939848484611292565b50505050565b61094761114a565b61094f61142b565b6040514790339082156108fc029083906000818181858888f1935050505015801561097e573d6000803e3d6000fd5b505061098a6001600955565b565b826001600160a01b03811633146109a6576109a6336111d9565b610939848484611484565b6109b961114a565b600c55565b6109c661114a565b600a6109d28282611cf2565b5050565b60006106e2826114a4565b600a80546107e690611c72565b60006001600160a01b038216610a17576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a4561114a565b61098a6000611513565b60606000806000610a5f856109ee565b905060008167ffffffffffffffff811115610a7c57610a7c611a41565b604051908082528060200260200182016040528015610aa5578160200160208202803683370190505b509050610ad260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610b4c57610ae581611565565b91508160400151610b445781516001600160a01b031615610b0557815194505b876001600160a01b0316856001600160a01b031603610b445780838780600101985081518110610b3757610b37611db2565b6020026020010181815250505b600101610ad5565b50909695505050505050565b610b6061114a565b600f80549115156101000261ff0019909216919091179055565b60606003805461071290611c72565b610b9161142b565b600f5460ff1615610bf35760405162461bcd60e51b815260206004820152602160248201527f484541445441494c3a206f6f707320636f6e74726163742069732070617573656044820152601960fa1b60648201526084015b60405180910390fd5b6005811115610c565760405162461bcd60e51b815260206004820152602960248201527f484541445441494c3a206d6178206d696e7420616d6f756e742070657220747860448201526808195e18d95959195960ba1b6064820152608401610bea565b600d546001546000548391900360001901610c719190611dde565b1115610cb65760405162461bcd60e51b815260206004820152601460248201527312115051151052530e8815d94814dbdb191bdd5d60621b6044820152606401610bea565b600e5433600090815260106020526040902054610cd4908390611dde565b1115610d305760405162461bcd60e51b815260206004820152602560248201527f484541445441494c3a204d6178204e4654205065722057616c6c657420657863604482015264195959195960da1b6064820152608401610bea565b80600c54610d3e9190611df1565b341015610d8d5760405162461bcd60e51b815260206004820152601c60248201527f484541445441494c3a20696e73756666696369656e742066756e6473000000006044820152606401610bea565b3360009081526010602052604081208054839290610dac908490611dde565b90915550610dbc905033826115e4565b610dc66001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836001600160a01b0381163314610e4f57610e4f336111d9565b610e5b858585856115fe565b5050505050565b610e6a61114a565b610e7261142b565b600d546001546000548491900360001901610e8d9190611dde565b1115610ed45760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610bea565b610ede81836115e4565b6109d26001600955565b6060610ef3826111a4565b610f585760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610bea565b600f54610100900460ff161515600003610ffe57600b8054610f7990611c72565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa590611c72565b8015610ff25780601f10610fc757610100808354040283529160200191610ff2565b820191906000526020600020905b815481529060010190602001808311610fd557829003601f168201915b50505050509050919050565b6000611008611642565b905060008151116110285760405180602001604052806000815250611053565b8061103284611651565b604051602001611043929190611e08565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c166106e2565b61108d61114a565b600e55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6110c861114a565b600b6109d28282611cf2565b6110dc61114a565b6001600160a01b0381166111415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bea565b610dc681611513565b6008546001600160a01b0316331461098a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bea565b6000816001111580156111b8575060005482105b80156106e2575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610dc657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611246573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126a9190611e47565b610dc657604051633b79c77360e21b81526001600160a01b0382166004820152602401610bea565b600061129d826114a4565b9050836001600160a01b0316816001600160a01b0316146112d05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761131d576113008633611092565b61131d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661134457604051633a954ecd60e21b815260040160405180910390fd5b801561134f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113e1576001840160008181526004602052604081205490036113df5760005481146113df5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60026009540361147d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bea565b6002600955565b61149f83838360405180602001604052806000815250610e35565b505050565b600081806001116114fa576000548110156114fa5760008181526004602052604081205490600160e01b821690036114f8575b806000036110535750600019016000818152600460205260409020546114d7565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546106e290604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6109d2828260405180602001604052806000815250611695565b611609848484610914565b6001600160a01b0383163b1561093957611625848484846116fb565b610939576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a805461071290611c72565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061166b5750819003601f19909101908152919050565b61169f83836117e7565b6001600160a01b0383163b1561149f576000548281035b6116c960008683806001019450866116fb565b6116e6576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116b6578160005414610e5b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611730903390899088908890600401611e64565b6020604051808303816000875af192505050801561176b575060408051601f3d908101601f1916820190925261176891810190611ea1565b60015b6117c9573d808015611799576040519150601f19603f3d011682016040523d82523d6000602084013e61179e565b606091505b5080516000036117c1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600080549082900361180c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146118bb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611883565b50816000036118dc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610dc657600080fd5b60006020828403121561190d57600080fd5b8135611053816118e5565b8015158114610dc657600080fd5b60006020828403121561193857600080fd5b813561105381611918565b60005b8381101561195e578181015183820152602001611946565b50506000910152565b6000815180845261197f816020860160208601611943565b601f01601f19169290920160200192915050565b6020815260006110536020830184611967565b6000602082840312156119b857600080fd5b5035919050565b80356001600160a01b03811681146119d657600080fd5b919050565b600080604083850312156119ee57600080fd5b6119f7836119bf565b946020939093013593505050565b600080600060608486031215611a1a57600080fd5b611a23846119bf565b9250611a31602085016119bf565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611a7257611a72611a41565b604051601f8501601f19908116603f01168101908282118183101715611a9a57611a9a611a41565b81604052809350858152868686011115611ab357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611adf57600080fd5b813567ffffffffffffffff811115611af657600080fd5b8201601f81018413611b0757600080fd5b6117df84823560208401611a57565b600060208284031215611b2857600080fd5b611053826119bf565b6020808252825182820181905260009190848201906040850190845b81811015610b4c57835183529284019291840191600101611b4d565b60008060408385031215611b7c57600080fd5b611b85836119bf565b91506020830135611b9581611918565b809150509250929050565b60008060008060808587031215611bb657600080fd5b611bbf856119bf565b9350611bcd602086016119bf565b925060408501359150606085013567ffffffffffffffff811115611bf057600080fd5b8501601f81018713611c0157600080fd5b611c1087823560208401611a57565b91505092959194509250565b60008060408385031215611c2f57600080fd5b82359150611c3f602084016119bf565b90509250929050565b60008060408385031215611c5b57600080fd5b611c64836119bf565b9150611c3f602084016119bf565b600181811c90821680611c8657607f821691505b602082108103611ca657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561149f57600081815260208120601f850160051c81016020861015611cd35750805b601f850160051c820191505b8181101561142357828155600101611cdf565b815167ffffffffffffffff811115611d0c57611d0c611a41565b611d2081611d1a8454611c72565b84611cac565b602080601f831160018114611d555760008415611d3d5750858301515b600019600386901b1c1916600185901b178555611423565b600085815260208120601f198616915b82811015611d8457888601518255948401946001909101908401611d65565b5085821015611da25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156106e2576106e2611dc8565b80820281158282048414176106e2576106e2611dc8565b60008351611e1a818460208801611943565b835190830190611e2e818360208801611943565b64173539b7b760d91b9101908152600501949350505050565b600060208284031215611e5957600080fd5b815161105381611918565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e9790830184611967565b9695505050505050565b600060208284031215611eb357600080fd5b8151611053816118e556fea2646970667358221220230d72875338f5bdd44457cb0a549489c700ba43cffb4d45b71de9d40b6c381864736f6c63430008110033

Deployed Bytecode Sourcemap

63575:5019:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30401:639;;;;;;;;;;-1:-1:-1;30401:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;30401:639:0;;;;;;;;67715:73;;;;;;;;;;-1:-1:-1;67715:73:0;;;;;:::i;:::-;;:::i;:::-;;31303:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37794:218::-;;;;;;;;;;-1:-1:-1;37794:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;37794:218:0;1902:203:1;63694:28:0;;;;;;;;;;;;;:::i;37227:408::-;;;;;;:::i;:::-;;:::i;63727:33::-;;;;;;;;;;;;;;;;;;;2693:25:1;;;2681:2;2666:18;63727:33:0;2547:177:1;67255:94:0;;;;;;;;;;-1:-1:-1;67255:94:0;;;;;:::i;:::-;;:::i;27054:323::-;;;;;;;;;;-1:-1:-1;64237:1:0;27328:12;27115:7;27312:13;:28;-1:-1:-1;;27312:46:0;27054:323;;68041:165;;;;;;:::i;:::-;;:::i;67837:167::-;;;:::i;2960:143::-;;;;;;;;;;;;3060:42;2960:143;;68212:173;;;;;;:::i;:::-;;:::i;67118:80::-;;;;;;;;;;-1:-1:-1;67118:80:0;;;;;:::i;:::-;;:::i;63868:28::-;;;;;;;;;;-1:-1:-1;63868:28:0;;;;;;;;;;;67383:98;;;;;;;;;;-1:-1:-1;67383:98:0;;;;;:::i;:::-;;:::i;63838:25::-;;;;;;;;;;-1:-1:-1;63838:25:0;;;;;;;;32696:152;;;;;;;;;;-1:-1:-1;32696:152:0;;;;;:::i;:::-;;:::i;63668:21::-;;;;;;;;;;;;;:::i;28238:233::-;;;;;;;;;;-1:-1:-1;28238:233:0;;;;;:::i;:::-;;:::i;11180:103::-;;;;;;;;;;;;;:::i;65925:881::-;;;;;;;;;;-1:-1:-1;65925:881:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10532:87::-;;;;;;;;;;-1:-1:-1;10605:6:0;;-1:-1:-1;;;;;10605:6:0;10532:87;;66828:78;;;;;;;;;;-1:-1:-1;66828:78:0;;;;;:::i;:::-;;:::i;31479:104::-;;;;;;;;;;;;;:::i;64290:576::-;;;;;;:::i;:::-;;:::i;38352:234::-;;;;;;;;;;-1:-1:-1;38352:234:0;;;;;:::i;:::-;;:::i;68391:198::-;;;;;;:::i;:::-;;:::i;64921:223::-;;;;;;;;;;-1:-1:-1;64921:223:0;;;;;:::i;:::-;;:::i;63801:32::-;;;;;;;;;;;;;;;;65196:492;;;;;;;;;;-1:-1:-1;65196:492:0;;;;;:::i;:::-;;:::i;63765:31::-;;;;;;;;;;;;;;;;65753:107;;;;;;;;;;-1:-1:-1;65753:107:0;;;;;:::i;:::-;;:::i;66957:92::-;;;;;;;;;;-1:-1:-1;66957:92:0;;;;;:::i;:::-;;:::i;38743:164::-;;;;;;;;;;-1:-1:-1;38743:164:0;;;;;:::i;:::-;;:::i;67515:120::-;;;;;;;;;;-1:-1:-1;67515:120:0;;;;;:::i;:::-;;:::i;11438:201::-;;;;;;;;;;-1:-1:-1;11438:201:0;;;;;:::i;:::-;;:::i;63901:52::-;;;;;;;;;;-1:-1:-1;63901:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;30401:639;30486:4;-1:-1:-1;;;;;;;;;30810:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;30887:25:0;;;30810:102;:179;;;-1:-1:-1;;;;;;;;;;30964:25:0;;;30810:179;30790:199;30401:639;-1:-1:-1;;30401:639:0:o;67715:73::-;10418:13;:11;:13::i;:::-;67767:6:::1;:15:::0;;-1:-1:-1;;67767:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67715:73::o;31303:100::-;31357:13;31390:5;31383:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31303:100;:::o;37794:218::-;37870:7;37895:16;37903:7;37895;:16::i;:::-;37890:64;;37920:34;;-1:-1:-1;;;37920:34:0;;;;;;;;;;;37890:64;-1:-1:-1;37974:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;37974:30:0;;37794:218::o;63694:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37227:408::-;37316:13;37332:16;37340:7;37332;:16::i;:::-;37316:32;-1:-1:-1;61560:10:0;-1:-1:-1;;;;;37365:28:0;;;37361:175;;37413:44;37430:5;61560:10;38743:164;:::i;37413:44::-;37408:128;;37485:35;;-1:-1:-1;;;37485:35:0;;;;;;;;;;;37408:128;37548:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;37548:35:0;-1:-1:-1;;;;;37548:35:0;;;;;;;;;37599:28;;37548:24;;37599:28;;;;;;;37305:330;37227:408;;:::o;67255:94::-;10418:13;:11;:13::i;:::-;67321:9:::1;:22:::0;67255:94::o;68041:165::-;68150:4;-1:-1:-1;;;;;4301:18:0;;4309:10;4301:18;4297:83;;4336:32;4357:10;4336:20;:32::i;:::-;68163:37:::1;68182:4;68188:2;68192:7;68163:18;:37::i;:::-;68041:165:::0;;;;:::o;67837:167::-;10418:13;:11;:13::i;:::-;7803:21:::1;:19;:21::i;:::-;67952:46:::2;::::0;67922:21:::2;::::0;61560:10;;67952:46;::::2;;;::::0;67922:21;;67952:46:::2;::::0;;;67922:21;61560:10;67952:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;67895:109;7847:20:::1;7241:1:::0;8367:7;:22;8184:213;7847:20:::1;67837:167::o:0;68212:173::-;68325:4;-1:-1:-1;;;;;4301:18:0;;4309:10;4301:18;4297:83;;4336:32;4357:10;4336:20;:32::i;:::-;68338:41:::1;68361:4;68367:2;68371:7;68338:22;:41::i;67118:80::-:0;10418:13;:11;:13::i;:::-;67177:4:::1;:15:::0;67118:80::o;67383:98::-;10418:13;:11;:13::i;:::-;67454:7:::1;:21;67464:11:::0;67454:7;:21:::1;:::i;:::-;;67383:98:::0;:::o;32696:152::-;32768:7;32811:27;32830:7;32811:18;:27::i;63668:21::-;;;;;;;:::i;28238:233::-;28310:7;-1:-1:-1;;;;;28334:19:0;;28330:60;;28362:28;;-1:-1:-1;;;28362:28:0;;;;;;;;;;;28330:60;-1:-1:-1;;;;;;28408:25:0;;;;;:18;:25;;;;;;22397:13;28408:55;;28238:233::o;11180:103::-;10418:13;:11;:13::i;:::-;11245:30:::1;11272:1;11245:18;:30::i;65925:881::-:0;65984:16;66038:19;66072:25;66112:22;66137:16;66147:5;66137:9;:16::i;:::-;66112:41;;66168:25;66210:14;66196:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66196:29:0;;66168:57;;66240:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66240:31:0;64237:1;66286:472;66335:14;66320:11;:29;66286:472;;66387:15;66400:1;66387:12;:15::i;:::-;66375:27;;66425:9;:16;;;66466:8;66421:73;66516:14;;-1:-1:-1;;;;;66516:28:0;;66512:111;;66589:14;;;-1:-1:-1;66512:111:0;66666:5;-1:-1:-1;;;;;66645:26:0;:17;-1:-1:-1;;;;;66645:26:0;;66641:102;;66722:1;66696:8;66705:13;;;;;;66696:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;66641:102;66351:3;;66286:472;;;-1:-1:-1;66779:8:0;;65925:881;-1:-1:-1;;;;;;65925:881:0:o;66828:78::-;10418:13;:11;:13::i;:::-;66883:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;66883:17:0;;::::1;::::0;;;::::1;::::0;;66828:78::o;31479:104::-;31535:13;31568:7;31561:14;;;;;:::i;64290:576::-;7803:21;:19;:21::i;:::-;64364:6:::1;::::0;::::1;;64363:7;64355:53;;;::::0;-1:-1:-1;;;64355:53:0;;9793:2:1;64355:53:0::1;::::0;::::1;9775:21:1::0;9832:2;9812:18;;;9805:30;9871:34;9851:18;;;9844:62;-1:-1:-1;;;9922:18:1;;;9915:31;9963:19;;64355:53:0::1;;;;;;;;;64433:1;64423:6;:11;;64415:65;;;::::0;-1:-1:-1;;;64415:65:0;;10195:2:1;64415:65:0::1;::::0;::::1;10177:21:1::0;10234:2;10214:18;;;10207:30;10273:34;10253:18;;;10246:62;-1:-1:-1;;;10324:18:1;;;10317:39;10373:19;;64415:65:0::1;9993:405:1::0;64415:65:0::1;64521:9;::::0;64237:1;27328:12;27115:7;27312:13;64511:6;;27312:28;;-1:-1:-1;;27312:46:0;64495:22:::1;;;;:::i;:::-;:35;;64487:68;;;::::0;-1:-1:-1;;;64487:68:0;;10867:2:1;64487:68:0::1;::::0;::::1;10849:21:1::0;10906:2;10886:18;;;10879:30;-1:-1:-1;;;10925:18:1;;;10918:50;10985:18;;64487:68:0::1;10665:344:1::0;64487:68:0::1;64620:12;::::0;61560:10;64570:37:::1;::::0;;;:16:::1;:37;::::0;;;;;:46:::1;::::0;64610:6;;64570:46:::1;:::i;:::-;:62;;64562:112;;;::::0;-1:-1:-1;;;64562:112:0;;11216:2:1;64562:112:0::1;::::0;::::1;11198:21:1::0;11255:2;11235:18;;;11228:30;11294:34;11274:18;;;11267:62;-1:-1:-1;;;11345:18:1;;;11338:35;11390:19;;64562:112:0::1;11014:401:1::0;64562:112:0::1;64709:6;64702:4;;:13;;;;:::i;:::-;64689:9;:26;;64681:67;;;::::0;-1:-1:-1;;;64681:67:0;;11795:2:1;64681:67:0::1;::::0;::::1;11777:21:1::0;11834:2;11814:18;;;11807:30;11873;11853:18;;;11846:58;11921:18;;64681:67:0::1;11593:352:1::0;64681:67:0::1;61560:10:::0;64760:37:::1;::::0;;;:16:::1;:37;::::0;;;;:47;;64801:6;;64760:37;:47:::1;::::0;64801:6;;64760:47:::1;:::i;:::-;::::0;;;-1:-1:-1;64816:38:0::1;::::0;-1:-1:-1;61560:10:0;64847:6:::1;64816:9;:38::i;:::-;7847:20:::0;7241:1;8367:7;:22;8184:213;7847:20;64290:576;:::o;38352:234::-;61560:10;38447:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;38447:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;38447:60:0;;;;;;;;;;38523:55;;540:41:1;;;38447:49:0;;61560:10;38523:55;;513:18:1;38523:55:0;;;;;;;38352:234;;:::o;68391:198::-;68523:4;-1:-1:-1;;;;;4301:18:0;;4309:10;4301:18;4297:83;;4336:32;4357:10;4336:20;:32::i;:::-;68536:47:::1;68559:4;68565:2;68569:7;68578:4;68536:22;:47::i;:::-;68391:198:::0;;;;;:::o;64921:223::-;10418:13;:11;:13::i;:::-;7803:21:::1;:19;:21::i;:::-;65056:9:::2;::::0;64237:1;27328:12;27115:7;27312:13;65041:11;;27312:28;;-1:-1:-1;;27312:46:0;65025:27:::2;;;;:::i;:::-;:40;;65017:75;;;::::0;-1:-1:-1;;;65017:75:0;;12152:2:1;65017:75:0::2;::::0;::::2;12134:21:1::0;12191:2;12171:18;;;12164:30;-1:-1:-1;;;12210:18:1;;;12203:52;12272:18;;65017:75:0::2;11950:346:1::0;65017:75:0::2;65103:35;65113:11;65126;65103:9;:35::i;:::-;7847:20:::1;7241:1:::0;8367:7;:22;8184:213;65196:492;65294:13;65335:16;65343:7;65335;:16::i;:::-;65319:98;;;;-1:-1:-1;;;65319:98:0;;12503:2:1;65319:98:0;;;12485:21:1;12542:2;12522:18;;;12515:30;12581:34;12561:18;;;12554:62;-1:-1:-1;;;12632:18:1;;;12625:46;12688:19;;65319:98:0;12301:412:1;65319:98:0;65433:8;;;;;;;:17;;65445:5;65433:17;65430:62;;65470:14;65463:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65196:492;;;:::o;65430:62::-;65500:28;65531:10;:8;:10::i;:::-;65500:41;;65586:1;65561:14;65555:28;:32;:127;;;;;;;;;;;;;;;;;65623:14;65639:18;65649:7;65639:9;:18::i;:::-;65606:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65555:127;65548:134;65196:492;-1:-1:-1;;;65196:492:0:o;65753:107::-;-1:-1:-1;;;;;28642:25:0;;65811:7;28642:25;;;:18;:25;;22535:2;28642:25;;;;22397:13;28642:50;;28641:82;65834:20;28553:178;66957:92;10418:13;:11;:13::i;:::-;67022:12:::1;:21:::0;66957:92::o;38743:164::-;-1:-1:-1;;;;;38864:25:0;;;38840:4;38864:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38743:164::o;67515:120::-;10418:13;:11;:13::i;:::-;67597:14:::1;:32;67614:15:::0;67597:14;:32:::1;:::i;11438:201::-:0;10418:13;:11;:13::i;:::-;-1:-1:-1;;;;;11527:22:0;::::1;11519:73;;;::::0;-1:-1:-1;;;11519:73:0;;13588:2:1;11519:73:0::1;::::0;::::1;13570:21:1::0;13627:2;13607:18;;;13600:30;13666:34;13646:18;;;13639:62;-1:-1:-1;;;13717:18:1;;;13710:36;13763:19;;11519:73:0::1;13386:402:1::0;11519:73:0::1;11603:28;11622:8;11603:18;:28::i;10697:132::-:0;10605:6;;-1:-1:-1;;;;;10605:6:0;61560:10;10761:23;10753:68;;;;-1:-1:-1;;;10753:68:0;;13995:2:1;10753:68:0;;;13977:21:1;;;14014:18;;;14007:30;14073:34;14053:18;;;14046:62;14125:18;;10753:68:0;13793:356:1;39165:282:0;39230:4;39286:7;64237:1;39267:26;;:66;;;;;39320:13;;39310:7;:23;39267:66;:153;;;;-1:-1:-1;;39371:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;39371:44:0;:49;;39165:282::o;4539:419::-;3060:42;4730:45;:49;4726:225;;4801:67;;-1:-1:-1;;;4801:67:0;;4852:4;4801:67;;;14366:34:1;-1:-1:-1;;;;;14436:15:1;;14416:18;;;14409:43;3060:42:0;;4801;;14301:18:1;;4801:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4796:144;;4896:28;;-1:-1:-1;;;4896:28:0;;-1:-1:-1;;;;;2066:32:1;;4896:28:0;;;2048:51:1;2021:18;;4896:28:0;1902:203:1;41433:2825:0;41575:27;41605;41624:7;41605:18;:27::i;:::-;41575:57;;41690:4;-1:-1:-1;;;;;41649:45:0;41665:19;-1:-1:-1;;;;;41649:45:0;;41645:86;;41703:28;;-1:-1:-1;;;41703:28:0;;;;;;;;;;;41645:86;41745:27;40541:24;;;:15;:24;;;;;40769:26;;61560:10;40166:30;;;-1:-1:-1;;;;;39859:28:0;;40144:20;;;40141:56;41931:180;;42024:43;42041:4;61560:10;38743:164;:::i;42024:43::-;42019:92;;42076:35;;-1:-1:-1;;;42076:35:0;;;;;;;;;;;42019:92;-1:-1:-1;;;;;42128:16:0;;42124:52;;42153:23;;-1:-1:-1;;;42153:23:0;;;;;;;;;;;42124:52;42325:15;42322:160;;;42465:1;42444:19;42437:30;42322:160;-1:-1:-1;;;;;42862:24:0;;;;;;;:18;:24;;;;;;42860:26;;-1:-1:-1;;42860:26:0;;;42931:22;;;;;;;;;42929:24;;-1:-1:-1;42929:24:0;;;36085:11;36060:23;36056:41;36043:63;-1:-1:-1;;;36043:63:0;43224:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;43519:47:0;;:52;;43515:627;;43624:1;43614:11;;43592:19;43747:30;;;:17;:30;;;;;;:35;;43743:384;;43885:13;;43870:11;:28;43866:242;;44032:30;;;;:17;:30;;;;;:52;;;43866:242;43573:569;43515:627;44189:7;44185:2;-1:-1:-1;;;;;44170:27:0;44179:4;-1:-1:-1;;;;;44170:27:0;;;;;;;;;;;44208:42;41564:2694;;;41433:2825;;;:::o;7883:293::-;7285:1;8017:7;;:19;8009:63;;;;-1:-1:-1;;;8009:63:0;;14915:2:1;8009:63:0;;;14897:21:1;14954:2;14934:18;;;14927:30;14993:33;14973:18;;;14966:61;15044:18;;8009:63:0;14713:355:1;8009:63:0;7285:1;8150:7;:18;7883:293::o;44354:193::-;44500:39;44517:4;44523:2;44527:7;44500:39;;;;;;;;;;;;:16;:39::i;:::-;44354:193;;;:::o;33851:1275::-;33918:7;33953;;64237:1;34002:23;33998:1061;;34055:13;;34048:4;:20;34044:1015;;;34093:14;34110:23;;;:17;:23;;;;;;;-1:-1:-1;;;34199:24:0;;:29;;34195:845;;34864:113;34871:6;34881:1;34871:11;34864:113;;-1:-1:-1;;;34942:6:0;34924:25;;;;:17;:25;;;;;;34864:113;;34195:845;34070:989;34044:1015;35087:31;;-1:-1:-1;;;35087:31:0;;;;;;;;;;;11799:191;11892:6;;;-1:-1:-1;;;;;11909:17:0;;;-1:-1:-1;;;;;;11909:17:0;;;;;;;11942:40;;11892:6;;;11909:17;11892:6;;11942:40;;11873:16;;11942:40;11862:128;11799:191;:::o;33299:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33427:24:0;;;;:17;:24;;;;;;33408:44;;-1:-1:-1;;;;;;;;;;;;;35335:41:0;;;;23056:3;35421:33;;;35387:68;;-1:-1:-1;;;35387:68:0;-1:-1:-1;;;35485:24:0;;:29;;-1:-1:-1;;;35466:48:0;;;;23577:3;35554:28;;;;-1:-1:-1;;;35525:58:0;-1:-1:-1;35225:366:0;55305:112;55382:27;55392:2;55396:8;55382:27;;;;;;;;;;;;:9;:27::i;45145:407::-;45320:31;45333:4;45339:2;45343:7;45320:12;:31::i;:::-;-1:-1:-1;;;;;45366:14:0;;;:19;45362:183;;45405:56;45436:4;45442:2;45446:7;45455:5;45405:30;:56::i;:::-;45400:145;;45489:40;;-1:-1:-1;;;45489:40:0;;;;;;;;;;;64035:102;64095:13;64124:7;64117:14;;;;;:::i;61680:1745::-;61745:17;62179:4;62172;62166:11;62162:22;62271:1;62265:4;62258:15;62346:4;62343:1;62339:12;62332:19;;;62428:1;62423:3;62416:14;62532:3;62771:5;62753:428;62819:1;62814:3;62810:11;62803:18;;62990:2;62984:4;62980:13;62976:2;62972:22;62967:3;62959:36;63084:2;63074:13;;63141:25;62753:428;63141:25;-1:-1:-1;63211:13:0;;;-1:-1:-1;;63326:14:0;;;63388:19;;;63326:14;61680:1745;-1:-1:-1;61680:1745:0:o;54532:689::-;54663:19;54669:2;54673:8;54663:5;:19::i;:::-;-1:-1:-1;;;;;54724:14:0;;;:19;54720:483;;54764:11;54778:13;54826:14;;;54859:233;54890:62;54929:1;54933:2;54937:7;;;;;;54946:5;54890:30;:62::i;:::-;54885:167;;54988:40;;-1:-1:-1;;;54988:40:0;;;;;;;;;;;54885:167;55087:3;55079:5;:11;54859:233;;55174:3;55157:13;;:20;55153:34;;55179:8;;;47636:716;47820:88;;-1:-1:-1;;;47820:88:0;;47799:4;;-1:-1:-1;;;;;47820:45:0;;;;;:88;;61560:10;;47887:4;;47893:7;;47902:5;;47820:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47820:88:0;;;;;;;;-1:-1:-1;;47820:88:0;;;;;;;;;;;;:::i;:::-;;;47816:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48103:6;:13;48120:1;48103:18;48099:235;;48149:40;;-1:-1:-1;;;48149:40:0;;;;;;;;;;;48099:235;48292:6;48286:13;48277:6;48273:2;48269:15;48262:38;47816:529;-1:-1:-1;;;;;;47979:64:0;-1:-1:-1;;;47979:64:0;;-1:-1:-1;47816:529:0;47636:716;;;;;;:::o;48814:2966::-;48887:20;48910:13;;;48938;;;48934:44;;48960:18;;-1:-1:-1;;;48960:18:0;;;;;;;;;;;48934:44;-1:-1:-1;;;;;49466:22:0;;;;;;:18;:22;;;;22535:2;49466:22;;;:71;;49504:32;49492:45;;49466:71;;;49780:31;;;:17;:31;;;;;-1:-1:-1;36516:15:0;;36490:24;36486:46;36085:11;36060:23;36056:41;36053:52;36043:63;;49780:173;;50015:23;;;;49780:31;;49466:22;;50780:25;49466:22;;50633:335;51294:1;51280:12;51276:20;51234:346;51335:3;51326:7;51323:16;51234:346;;51553:7;51543:8;51540:1;51513:25;51510:1;51507;51502:59;51388:1;51375:15;51234:346;;;51238:77;51613:8;51625:1;51613:13;51609:45;;51635:19;;-1:-1:-1;;;51635:19:0;;;;;;;;;;;51609:45;51671:13;:19;-1:-1:-1;44354:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:118::-;678:5;671:13;664:21;657:5;654:32;644:60;;700:1;697;690:12;715:241;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;879:9;866:23;898:28;920:5;898:28;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:173::-;2178:20;;-1:-1:-1;;;;;2227:31:1;;2217:42;;2207:70;;2273:1;2270;2263:12;2207:70;2110:173;;;:::o;2288:254::-;2356:6;2364;2417:2;2405:9;2396:7;2392:23;2388:32;2385:52;;;2433:1;2430;2423:12;2385:52;2456:29;2475:9;2456:29;:::i;:::-;2446:39;2532:2;2517:18;;;;2504:32;;-1:-1:-1;;;2288:254:1:o;2729:328::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2914:29;2933:9;2914:29;:::i;:::-;2904:39;;2962:38;2996:2;2985:9;2981:18;2962:38;:::i;:::-;2952:48;;3047:2;3036:9;3032:18;3019:32;3009:42;;2729:328;;;;;:::o;3301:127::-;3362:10;3357:3;3353:20;3350:1;3343:31;3393:4;3390:1;3383:15;3417:4;3414:1;3407:15;3433:632;3498:5;3528:18;3569:2;3561:6;3558:14;3555:40;;;3575:18;;:::i;:::-;3650:2;3644:9;3618:2;3704:15;;-1:-1:-1;;3700:24:1;;;3726:2;3696:33;3692:42;3680:55;;;3750:18;;;3770:22;;;3747:46;3744:72;;;3796:18;;:::i;:::-;3836:10;3832:2;3825:22;3865:6;3856:15;;3895:6;3887;3880:22;3935:3;3926:6;3921:3;3917:16;3914:25;3911:45;;;3952:1;3949;3942:12;3911:45;4002:6;3997:3;3990:4;3982:6;3978:17;3965:44;4057:1;4050:4;4041:6;4033;4029:19;4025:30;4018:41;;;;3433:632;;;;;:::o;4070:451::-;4139:6;4192:2;4180:9;4171:7;4167:23;4163:32;4160:52;;;4208:1;4205;4198:12;4160:52;4248:9;4235:23;4281:18;4273:6;4270:30;4267:50;;;4313:1;4310;4303:12;4267:50;4336:22;;4389:4;4381:13;;4377:27;-1:-1:-1;4367:55:1;;4418:1;4415;4408:12;4367:55;4441:74;4507:7;4502:2;4489:16;4484:2;4480;4476:11;4441:74;:::i;4526:186::-;4585:6;4638:2;4626:9;4617:7;4613:23;4609:32;4606:52;;;4654:1;4651;4644:12;4606:52;4677:29;4696:9;4677:29;:::i;4717:632::-;4888:2;4940:21;;;5010:13;;4913:18;;;5032:22;;;4859:4;;4888:2;5111:15;;;;5085:2;5070:18;;;4859:4;5154:169;5168:6;5165:1;5162:13;5154:169;;;5229:13;;5217:26;;5298:15;;;;5263:12;;;;5190:1;5183:9;5154:169;;5354:315;5419:6;5427;5480:2;5468:9;5459:7;5455:23;5451:32;5448:52;;;5496:1;5493;5486:12;5448:52;5519:29;5538:9;5519:29;:::i;:::-;5509:39;;5598:2;5587:9;5583:18;5570:32;5611:28;5633:5;5611:28;:::i;:::-;5658:5;5648:15;;;5354:315;;;;;:::o;5674:667::-;5769:6;5777;5785;5793;5846:3;5834:9;5825:7;5821:23;5817:33;5814:53;;;5863:1;5860;5853:12;5814:53;5886:29;5905:9;5886:29;:::i;:::-;5876:39;;5934:38;5968:2;5957:9;5953:18;5934:38;:::i;:::-;5924:48;;6019:2;6008:9;6004:18;5991:32;5981:42;;6074:2;6063:9;6059:18;6046:32;6101:18;6093:6;6090:30;6087:50;;;6133:1;6130;6123:12;6087:50;6156:22;;6209:4;6201:13;;6197:27;-1:-1:-1;6187:55:1;;6238:1;6235;6228:12;6187:55;6261:74;6327:7;6322:2;6309:16;6304:2;6300;6296:11;6261:74;:::i;:::-;6251:84;;;5674:667;;;;;;;:::o;6346:254::-;6414:6;6422;6475:2;6463:9;6454:7;6450:23;6446:32;6443:52;;;6491:1;6488;6481:12;6443:52;6527:9;6514:23;6504:33;;6556:38;6590:2;6579:9;6575:18;6556:38;:::i;:::-;6546:48;;6346:254;;;;;:::o;6605:260::-;6673:6;6681;6734:2;6722:9;6713:7;6709:23;6705:32;6702:52;;;6750:1;6747;6740:12;6702:52;6773:29;6792:9;6773:29;:::i;:::-;6763:39;;6821:38;6855:2;6844:9;6840:18;6821:38;:::i;6870:380::-;6949:1;6945:12;;;;6992;;;7013:61;;7067:4;7059:6;7055:17;7045:27;;7013:61;7120:2;7112:6;7109:14;7089:18;7086:38;7083:161;;7166:10;7161:3;7157:20;7154:1;7147:31;7201:4;7198:1;7191:15;7229:4;7226:1;7219:15;7083:161;;6870:380;;;:::o;7381:545::-;7483:2;7478:3;7475:11;7472:448;;;7519:1;7544:5;7540:2;7533:17;7589:4;7585:2;7575:19;7659:2;7647:10;7643:19;7640:1;7636:27;7630:4;7626:38;7695:4;7683:10;7680:20;7677:47;;;-1:-1:-1;7718:4:1;7677:47;7773:2;7768:3;7764:12;7761:1;7757:20;7751:4;7747:31;7737:41;;7828:82;7846:2;7839:5;7836:13;7828:82;;;7891:17;;;7872:1;7861:13;7828:82;;8102:1352;8228:3;8222:10;8255:18;8247:6;8244:30;8241:56;;;8277:18;;:::i;:::-;8306:97;8396:6;8356:38;8388:4;8382:11;8356:38;:::i;:::-;8350:4;8306:97;:::i;:::-;8458:4;;8522:2;8511:14;;8539:1;8534:663;;;;9241:1;9258:6;9255:89;;;-1:-1:-1;9310:19:1;;;9304:26;9255:89;-1:-1:-1;;8059:1:1;8055:11;;;8051:24;8047:29;8037:40;8083:1;8079:11;;;8034:57;9357:81;;8504:944;;8534:663;7328:1;7321:14;;;7365:4;7352:18;;-1:-1:-1;;8570:20:1;;;8688:236;8702:7;8699:1;8696:14;8688:236;;;8791:19;;;8785:26;8770:42;;8883:27;;;;8851:1;8839:14;;;;8718:19;;8688:236;;;8692:3;8952:6;8943:7;8940:19;8937:201;;;9013:19;;;9007:26;-1:-1:-1;;9096:1:1;9092:14;;;9108:3;9088:24;9084:37;9080:42;9065:58;9050:74;;8937:201;-1:-1:-1;;;;;9184:1:1;9168:14;;;9164:22;9151:36;;-1:-1:-1;8102:1352:1:o;9459:127::-;9520:10;9515:3;9511:20;9508:1;9501:31;9551:4;9548:1;9541:15;9575:4;9572:1;9565:15;10403:127;10464:10;10459:3;10455:20;10452:1;10445:31;10495:4;10492:1;10485:15;10519:4;10516:1;10509:15;10535:125;10600:9;;;10621:10;;;10618:36;;;10634:18;;:::i;11420:168::-;11493:9;;;11524;;11541:15;;;11535:22;;11521:37;11511:71;;11562:18;;:::i;12718:663::-;12998:3;13036:6;13030:13;13052:66;13111:6;13106:3;13099:4;13091:6;13087:17;13052:66;:::i;:::-;13181:13;;13140:16;;;;13203:70;13181:13;13140:16;13250:4;13238:17;;13203:70;:::i;:::-;-1:-1:-1;;;13295:20:1;;13324:22;;;13373:1;13362:13;;12718:663;-1:-1:-1;;;;12718:663:1:o;14463:245::-;14530:6;14583:2;14571:9;14562:7;14558:23;14554:32;14551:52;;;14599:1;14596;14589:12;14551:52;14631:9;14625:16;14650:28;14672:5;14650:28;:::i;15073:489::-;-1:-1:-1;;;;;15342:15:1;;;15324:34;;15394:15;;15389:2;15374:18;;15367:43;15441:2;15426:18;;15419:34;;;15489:3;15484:2;15469:18;;15462:31;;;15267:4;;15510:46;;15536:19;;15528:6;15510:46;:::i;:::-;15502:54;15073:489;-1:-1:-1;;;;;;15073:489:1:o;15567:249::-;15636:6;15689:2;15677:9;15668:7;15664:23;15660:32;15657:52;;;15705:1;15702;15695:12;15657:52;15737:9;15731:16;15756:30;15780:5;15756:30;:::i

Swarm Source

ipfs://230d72875338f5bdd44457cb0a549489c700ba43cffb4d45b71de9d40b6c3818
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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