ETH Price: $3,443.40 (-1.08%)
Gas: 9 Gwei

Birbura (BRB)
 

Overview

TokenID

154

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
BIRBURA

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-20
*/

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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 v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.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;
    }

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

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: birbura.sol



/*
 .----------------. .----------------. .----------------. .----------------. .----------------. .----------------. .----------------. 
| .--------------. | .--------------. | .--------------. | .--------------. | .--------------. | .--------------. | .--------------. |
| |   ______     | | |     _____    | | |  _______     | | |   ______     | | | _____  _____ | | |  _______     | | |      __      | |
| |  |_   _ \    | | |    |_   _|   | | | |_   __ \    | | |  |_   _ \    | | ||_   _||_   _|| | | |_   __ \    | | |     /  \     | |
| |    | |_) |   | | |      | |     | | |   | |__) |   | | |    | |_) |   | | |  | |    | |  | | |   | |__) |   | | |    / /\ \    | |
| |    |  __'.   | | |      | |     | | |   |  __ /    | | |    |  __'.   | | |  | '    ' |  | | |   |  __ /    | | |   / ____ \   | |
| |   _| |__) |  | | |     _| |_    | | |  _| |  \ \_  | | |   _| |__) |  | | |   \ `--' /   | | |  _| |  \ \_  | | | _/ /    \ \_ | |
| |  |_______/   | | |    |_____|   | | | |____| |___| | | |  |_______/   | | |    `.__.'    | | | |____| |___| | | ||____|  |____|| |
| |              | | |              | | |              | | |              | | |              | | |              | | |              | |
| '--------------' | '--------------' | '--------------' | '--------------' | '--------------' | '--------------' | '--------------' |
 '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' 
*/






pragma solidity >=0.8.17 <0.9.0;

contract BIRBURA is ERC721A, Ownable, ReentrancyGuard, ERC2981 {
    using Strings for uint256;

    // ================== Variables Start =======================

    // reveal uri - set it in contructor
    string internal uri;
    string public uriSuffix = ".json";

    // hidden uri - replace it with yours
    string public hiddenMetadataUri = "";

    // prices - replace it with yours
    uint256 public price = 0.001 ether;

    // supply - replace it with yours
    uint256 public supplyLimit = 2222;

    // freesupply - replace it with yours
    uint256 public freesupplyLimit = 2222;    

    // max per tx - replace it with yours
    uint256 public maxMintAmountPerTx = 20;

    // max per wallet - replace it with yours
    uint256 public maxLimitPerWallet = 20;

    // max freemints per wallet - replace it with yours
    uint256 public maxFreeMintsPerWallet = 2;

    // enabled
    bool public publicSale = false;

    // reveal
    bool public revealed = true;

    // mapping to keep track
    mapping(address => uint256) public publicMintCount;
    mapping(address => uint256) public freeMintsClaimed;

    // total mint trackers
    uint256 public publicMinted;

    // Royalty Fraction - 100 = 1% , 1000 = 10%
    uint96 internal royaltyFraction = 500;

    // ================== Variables End =======================

    // ================== Constructor Start =======================

    // Token NAME and SYMBOL - Replace it with yours
    constructor(string memory _uri, address initialOwner)
        ERC721A("Birbura", "BRB")
        Ownable(initialOwner)
    {
        seturi(_uri);
                setRoyaltyInfo(initialOwner, royaltyFraction);

    }

    // ================== Constructor End =======================

    // ================== Mint Functions Start =======================

    function PublicMint(uint256 _mintAmount) public payable nonReentrant{
        // Normal requirements
        require(publicSale, "The PublicSale is paused!");
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(
            totalSupply() + _mintAmount <= supplyLimit,
            "Max supply exceeded!"
        );
        require(
            publicMintCount[msg.sender] + _mintAmount <= maxLimitPerWallet,
            "Max mint per wallet exceeded!"
        );

        // pricing logic

        if ((freeMintsClaimed[_msgSender()] < maxFreeMintsPerWallet )&&(totalSupply() + _mintAmount < freesupplyLimit)) {
            if (
                _mintAmount >
                (maxFreeMintsPerWallet - freeMintsClaimed[_msgSender()])
            ) {
                require(
                    msg.value >=
                        price *
                            (_mintAmount -
                                (maxFreeMintsPerWallet -
                                    freeMintsClaimed[_msgSender()])),
                    "Insufficient funds!"
                );
                 freeMintsClaimed[_msgSender()] += (maxFreeMintsPerWallet - freeMintsClaimed[_msgSender()]);
            }
            else{
            freeMintsClaimed[_msgSender()] += _mintAmount;}
        } else {
            require(msg.value >= price * _mintAmount, "Insufficient funds!");
        }

        // Mint
        _safeMint(_msgSender(), _mintAmount);

        // Mapping update
        publicMintCount[msg.sender] += _mintAmount;
        publicMinted += _mintAmount;
    }

    function OwnerMint(uint256 _mintAmount, address _receiver)
        public
        onlyOwner
    {
        require(
            totalSupply() + _mintAmount <= supplyLimit,
            "Max supply exceeded!"
        );
        _safeMint(_receiver, _mintAmount);
    }

    function MassAirdrop(address[] calldata receivers) external onlyOwner {
        for (uint256 i; i < receivers.length; ++i) {
            require(totalSupply() + 1 <= supplyLimit, "Max supply exceeded!");
            _mint(receivers[i], 1);
        }
    }

    // ================== Mint Functions End =======================

    // ================== Set Functions Start =======================

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

    // uri
    function seturi(string memory _uri) public onlyOwner {
        uri = _uri;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setHiddenMetadataUri(string memory _hiddenMetadataUri)
        public
        onlyOwner
    {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    // sales toggle
    function setpublicSale(bool _publicSale) public onlyOwner {
        publicSale = _publicSale;
    }

    // max per tx
    function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx)
        public
        onlyOwner
    {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    // max per wallet
    function setmaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner {
        maxLimitPerWallet = _maxLimitPerWallet;
    }

    // maxfree per wallet
    function setmaxFreeMintsPerWallet(uint256 _maxFreeMintsPerWallet) public onlyOwner {
        maxFreeMintsPerWallet = _maxFreeMintsPerWallet;
    }    

    // price
    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    // supply limit
    function setsupplyLimit(uint256 _supplyLimit) public onlyOwner {
        supplyLimit = _supplyLimit;
    }

    // freesupply limit
    function setfreesupplyLimit(uint256 _freesupplyLimit) public onlyOwner {
        freesupplyLimit = _freesupplyLimit;
    }

    // royalties
    function setRoyaltyTokens(
        uint256 _tokenId,
        address _receiver,
        uint96 _royaltyFeesInBips
    ) public onlyOwner {
        _setTokenRoyalty(_tokenId, _receiver, _royaltyFeesInBips);
    }

    function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips)
        public
        onlyOwner
    {
        _setDefaultRoyalty(_receiver, _royaltyFeesInBips);
    }    

    // ================== Set Functions End =======================

    // ================== Withdraw Function Start =======================

    function withdraw() public onlyOwner nonReentrant {
        //owner withdraw
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }
    
    // function to recieve eth sent externally
    event ethReceived(address, uint256);

    receive() external payable {
        emit ethReceived(msg.sender, msg.value);
    }

    // ================== Withdraw Function End=======================

    // ================== Read Functions Start =======================

    function tokensOfOwner(address owner)
        external
        view
        returns (uint256[] memory)
    {
        unchecked {
            uint256[] memory a = new uint256[](balanceOf(owner));
            uint256 end = _nextTokenId();
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            for (uint256 i; i < end; i++) {
                TokenOwnership memory ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    a[tokenIdsIdx++] = i;
                }
            }
            return a;
        }
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        if (revealed == false) {
            return hiddenMetadataUri;
        }

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _tokenId.toString(),
                        uriSuffix
                    )
                )
                : "";
    }

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, ERC2981)
        returns (bool)
    {
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }

    // ================== Read Functions End =======================


}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"ethReceived","type":"event"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"MassAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"OwnerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","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":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintsClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freesupplyLimit","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreeMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freesupplyLimit","type":"uint256"}],"name":"setfreesupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintsPerWallet","type":"uint256"}],"name":"setmaxFreeMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicSale","type":"bool"}],"name":"setpublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526005608090815264173539b7b760d91b60a052600d9062000026908262000387565b5060408051602081019091525f8152600e9062000044908262000387565b5066038d7ea4c68000600f556108ae6010819055601155601460128190556013819055600290556015805461ffff1916610100179055601980546001600160601b0319166101f41790553480156200009a575f80fd5b5060405162002b1538038062002b15833981016040819052620000bd916200046b565b80604051806040016040528060078152602001664269726275726160c81b8152506040518060400160405280600381526020016221292160e91b81525081600290816200010b919062000387565b5060036200011a828262000387565b5060015f5550506001600160a01b0381166200015057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6200015b816200018d565b5060016009556200016c82620001de565b601954620001859082906001600160601b0316620001fa565b50506200054c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620001e862000210565b600c620001f6828262000387565b5050565b6200020462000210565b620001f6828262000241565b6008546001600160a01b031633146200023f5760405163118cdaa760e01b815233600482015260240162000147565b565b6127106001600160601b0382168110156200028257604051636f483d0960e01b81526001600160601b03831660048201526024810182905260440162000147565b6001600160a01b038316620002ad57604051635b6cc80560e11b81525f600482015260240162000147565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200031057607f821691505b6020821081036200032f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000382575f81815260208120601f850160051c810160208610156200035d5750805b601f850160051c820191505b818110156200037e5782815560010162000369565b5050505b505050565b81516001600160401b03811115620003a357620003a3620002e7565b620003bb81620003b48454620002fb565b8462000335565b602080601f831160018114620003f1575f8415620003d95750858301515b5f19600386901b1c1916600185901b1785556200037e565b5f85815260208120601f198616915b82811015620004215788860151825594840194600190910190840162000400565b50858210156200043f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b038116811462000466575f80fd5b919050565b5f80604083850312156200047d575f80fd5b82516001600160401b038082111562000494575f80fd5b818501915085601f830112620004a8575f80fd5b815181811115620004bd57620004bd620002e7565b604051601f8201601f19908116603f01168101908382118183101715620004e857620004e8620002e7565b8160405282815260209350888484870101111562000504575f80fd5b5f91505b8282101562000527578482018401518183018501529083019062000508565b5f848483010152809650505050620005418186016200044f565b925050509250929050565b6125bb806200055a5f395ff3fe6080604052600436106102a7575f3560e01c80636352211e1161016f578063a035b1fe116100d8578063c87b56dd11610092578063e26684251161006d578063e266842514610813578063e985e9c514610832578063f2fde38b14610851578063f648498014610870575f80fd5b8063c87b56dd146107b6578063d9f0a671146107d5578063e0a80853146107f4575f80fd5b8063a035b1fe14610727578063a22cb4651461073c578063a45ba8e71461075b578063a4f4f8af1461076f578063b071401b14610784578063b88d4fde146107a3575f80fd5b806391b7f5ed1161012957806391b7f5ed1461068257806394354fd0146106a157806395d89b41146106b657806396330b5f146106ca5780639a32fb49146106f55780639fb17e3414610714575f80fd5b80636352211e146105c857806370a08231146105e7578063715018a6146106065780638462151c1461061a57806389d325ea146106465780638da5cb5b14610665575f80fd5b80632a55205a116102115780634cb1ac02116101cb5780634cb1ac021461052e5780634fdd43cb1461054357806351830227146105625780635503a0e8146105805780635a0b8b23146105945780635c22abd2146105a9575f80fd5b80632a55205a146104725780632eba0dce146104b057806333bc1c5c146104cf5780633ccfd60b146104e857806342842e0e146104fc57806347d9569e1461050f575f80fd5b8063095ea7b311610262578063095ea7b3146103ef57806316ba10e01461040257806318160ddd1461042157806319d1997a1461043557806323b872dd1461044a5780632a362c4d1461045d575f80fd5b806275770a146102ea57806301ffc9a71461030b57806302fa7c471461033f57806306fdde031461035e578063081812fc1461037f5780630865704c146103b6575f80fd5b366102e657604080513381523460208201527ffe2d73074d233633e644a6fb7186458fbf422add1c18d996efd14ffbece6f2b2910160405180910390a1005b5f80fd5b3480156102f5575f80fd5b50610309610304366004611e27565b61088f565b005b348015610316575f80fd5b5061032a610325366004611e53565b61089c565b60405190151581526020015b60405180910390f35b34801561034a575f80fd5b50610309610359366004611e9f565b6108bb565b348015610369575f80fd5b506103726108d1565b6040516103369190611f1d565b34801561038a575f80fd5b5061039e610399366004611e27565b610961565b6040516001600160a01b039091168152602001610336565b3480156103c1575f80fd5b506103e16103d0366004611f2f565b60176020525f908152604090205481565b604051908152602001610336565b6103096103fd366004611f48565b6109a3565b34801561040d575f80fd5b5061030961041c366004611ff7565b610a41565b34801561042c575f80fd5b506103e1610a55565b348015610440575f80fd5b506103e160105481565b61030961045836600461203c565b610a61565b348015610468575f80fd5b506103e160115481565b34801561047d575f80fd5b5061049161048c366004612075565b610bf1565b604080516001600160a01b039093168352602083019190915201610336565b3480156104bb575f80fd5b506103096104ca366004612095565b610c9b565b3480156104da575f80fd5b5060155461032a9060ff1681565b3480156104f3575f80fd5b50610309610cea565b61030961050a36600461203c565b610d73565b34801561051a575f80fd5b506103096105293660046120b6565b610d92565b348015610539575f80fd5b506103e160145481565b34801561054e575f80fd5b5061030961055d366004611ff7565b610e19565b34801561056d575f80fd5b5060155461032a90610100900460ff1681565b34801561058b575f80fd5b50610372610e2d565b34801561059f575f80fd5b506103e160135481565b3480156105b4575f80fd5b506103096105c3366004612134565b610eb9565b3480156105d3575f80fd5b5061039e6105e2366004611e27565b610ed4565b3480156105f2575f80fd5b506103e1610601366004611f2f565b610ede565b348015610611575f80fd5b50610309610f2b565b348015610625575f80fd5b50610639610634366004611f2f565b610f3c565b604051610336919061214d565b348015610651575f80fd5b50610309610660366004611e27565b611028565b348015610670575f80fd5b506008546001600160a01b031661039e565b34801561068d575f80fd5b5061030961069c366004611e27565b611035565b3480156106ac575f80fd5b506103e160125481565b3480156106c1575f80fd5b50610372611042565b3480156106d5575f80fd5b506103e16106e4366004611f2f565b60166020525f908152604090205481565b348015610700575f80fd5b5061030961070f366004611e27565b611051565b610309610722366004611e27565b61105e565b348015610732575f80fd5b506103e1600f5481565b348015610747575f80fd5b50610309610756366004612190565b611383565b348015610766575f80fd5b506103726113ee565b34801561077a575f80fd5b506103e160185481565b34801561078f575f80fd5b5061030961079e366004611e27565b6113fb565b6103096107b13660046121b8565b611408565b3480156107c1575f80fd5b506103726107d0366004611e27565b611452565b3480156107e0575f80fd5b506103096107ef366004611e27565b6115c0565b3480156107ff575f80fd5b5061030961080e366004612134565b6115cd565b34801561081e575f80fd5b5061030961082d36600461222f565b6115ef565b34801561083d575f80fd5b5061032a61084c366004612268565b611602565b34801561085c575f80fd5b5061030961086b366004611f2f565b61162f565b34801561087b575f80fd5b5061030961088a366004611ff7565b611669565b61089761167d565b601055565b5f6108a6826116aa565b806108b557506108b5826116f7565b92915050565b6108c361167d565b6108cd828261172b565b5050565b6060600280546108e090612290565b80601f016020809104026020016040519081016040528092919081815260200182805461090c90612290565b80156109575780601f1061092e57610100808354040283529160200191610957565b820191905f5260205f20905b81548152906001019060200180831161093a57829003601f168201915b5050505050905090565b5f61096b826117cd565b610988576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6109ad82610ed4565b9050336001600160a01b038216146109e6576109c98133611602565b6109e6576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a4961167d565b600d6108cd828261230d565b6001545f54035f190190565b5f610a6b826117ff565b9050836001600160a01b0316816001600160a01b031614610a9e5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610aea57610acd8633611602565b610aea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b1157604051633a954ecd60e21b815260040160405180910390fd5b8015610b1b575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610ba757600184015f818152600460205260408120549003610ba5575f548114610ba5575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c65575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090610c83906001600160601b0316876123dd565b610c8d91906123f4565b915196919550909350505050565b610ca361167d565b60105482610caf610a55565b610cb99190612413565b1115610ce05760405162461bcd60e51b8152600401610cd790612426565b60405180910390fd5b6108cd8183611868565b610cf261167d565b610cfa611881565b5f610d0d6008546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610d54576040519150601f19603f3d011682016040523d82523d5f602084013e610d59565b606091505b5050905080610d66575f80fd5b50610d716001600955565b565b610d8d83838360405180602001604052805f815250611408565b505050565b610d9a61167d565b5f5b81811015610d8d57601054610daf610a55565b610dba906001612413565b1115610dd85760405162461bcd60e51b8152600401610cd790612426565b610e09838383818110610ded57610ded612454565b9050602002016020810190610e029190611f2f565b60016118da565b610e1281612468565b9050610d9c565b610e2161167d565b600e6108cd828261230d565b600d8054610e3a90612290565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6690612290565b8015610eb15780601f10610e8857610100808354040283529160200191610eb1565b820191905f5260205f20905b815481529060010190602001808311610e9457829003601f168201915b505050505081565b610ec161167d565b6015805460ff1916911515919091179055565b5f6108b5826117ff565b5f6001600160a01b038216610f06576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610f3361167d565b610d715f6119d2565b60605f610f4883610ede565b67ffffffffffffffff811115610f6057610f60611f70565b604051908082528060200260200182016040528015610f89578160200160208202803683370190505b5090505f610f955f5490565b90505f805f5b8381101561101d575f610fad82611a23565b9050806040015115610fbf5750611015565b80516001600160a01b031615610fd457805192505b876001600160a01b0316836001600160a01b031603611013578186858060010196508151811061100657611006612454565b6020026020010181815250505b505b600101610f9b565b509295945050505050565b61103061167d565b601155565b61103d61167d565b600f55565b6060600380546108e090612290565b61105961167d565b601455565b611066611881565b60155460ff166110b85760405162461bcd60e51b815260206004820152601960248201527f546865205075626c696353616c652069732070617573656421000000000000006044820152606401610cd7565b5f811180156110c957506012548111155b61110c5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610cd7565b60105481611118610a55565b6111229190612413565b11156111405760405162461bcd60e51b8152600401610cd790612426565b601354335f9081526016602052604090205461115d908390612413565b11156111ab5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c6574206578636565646564210000006044820152606401610cd7565b601454335f908152601760205260409020541080156111dd5750601154816111d1610a55565b6111db9190612413565b105b156112e057335f908152601760205260409020546014546111fe9190612480565b8111156112d657335f908152601760205260409020546014546112219190612480565b61122b9082612480565b600f5461123891906123dd565b34101561127d5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cd7565b335f908152601760205260409020546014546112999190612480565b60175f335b6001600160a01b03166001600160a01b031681526020019081526020015f205f8282546112cb9190612413565b909155506113339050565b8060175f3361129e565b80600f546112ee91906123dd565b3410156113335760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cd7565b61133d3382611868565b335f908152601660205260408120805483929061135b908490612413565b925050819055508060185f8282546113739190612413565b9091555050600160095550565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610e3a90612290565b61140361167d565b601255565b611413848484610a61565b6001600160a01b0383163b1561144c5761142f84848484611aa0565b61144c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061145d826117cd565b6114c15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cd7565b601554610100900460ff1615155f0361156457600e80546114e190612290565b80601f016020809104026020016040519081016040528092919081815260200182805461150d90612290565b80156115585780601f1061152f57610100808354040283529160200191611558565b820191905f5260205f20905b81548152906001019060200180831161153b57829003601f168201915b50505050509050919050565b5f61156d611b88565b90505f81511161158b5760405180602001604052805f8152506115b9565b8061159584611b97565b600d6040516020016115a993929190612493565b6040516020818303038152906040525b9392505050565b6115c861167d565b601355565b6115d561167d565b601580549115156101000261ff0019909216919091179055565b6115f761167d565b610d8d838383611c27565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b61163761167d565b6001600160a01b03811661166057604051631e4fbdf760e01b81525f6004820152602401610cd7565b611380816119d2565b61167161167d565b600c6108cd828261230d565b6008546001600160a01b03163314610d715760405163118cdaa760e01b8152336004820152602401610cd7565b5f6301ffc9a760e01b6001600160e01b0319831614806116da57506380ac58cd60e01b6001600160e01b03198316145b806108b55750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b14806108b557506301ffc9a760e01b6001600160e01b03198316146108b5565b6127106001600160601b03821681101561176a57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610cd7565b6001600160a01b03831661179357604051635b6cc80560e11b81525f6004820152602401610cd7565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f816001111580156117df57505f5482105b80156108b55750505f90815260046020526040902054600160e01b161590565b5f818060011161184f575f5481101561184f575f8181526004602052604081205490600160e01b8216900361184d575b805f036115b957505f19015f8181526004602052604090205461182f565b505b604051636f96cda160e11b815260040160405180910390fd5b6108cd828260405180602001604052805f815250611ce7565b6002600954036118d35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd7565b6002600955565b5f8054908290036118fe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119aa5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611974565b50815f036119ca57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f828152600460205260409020546108b590604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611ad490339089908890889060040161252e565b6020604051808303815f875af1925050508015611b0e575060408051601f3d908101601f19168201909252611b0b9181019061256a565b60015b611b6a573d808015611b3b576040519150601f19603f3d011682016040523d82523d5f602084013e611b40565b606091505b5080515f03611b62576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c80546108e090612290565b60605f611ba383611d50565b60010190505f8167ffffffffffffffff811115611bc257611bc2611f70565b6040519080825280601f01601f191660200182016040528015611bec576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611bf657509392505050565b6127106001600160601b038216811015611c6d5760405163dfd1fc1b60e01b8152600481018590526001600160601b038316602482015260448101829052606401610cd7565b6001600160a01b038316611c9d57604051634b4f842960e11b8152600481018590525f6024820152604401610cd7565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182525f968752600b90529190942093519051909116600160a01b029116179055565b611cf183836118da565b6001600160a01b0383163b15610d8d575f548281035b611d195f868380600101945086611aa0565b611d36576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d0757815f5414611d49575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611d8e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611dba576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611dd857662386f26fc10000830492506010015b6305f5e1008310611df0576305f5e100830492506008015b6127108310611e0457612710830492506004015b60648310611e16576064830492506002015b600a83106108b55760010192915050565b5f60208284031215611e37575f80fd5b5035919050565b6001600160e01b031981168114611380575f80fd5b5f60208284031215611e63575f80fd5b81356115b981611e3e565b80356001600160a01b0381168114611e84575f80fd5b919050565b80356001600160601b0381168114611e84575f80fd5b5f8060408385031215611eb0575f80fd5b611eb983611e6e565b9150611ec760208401611e89565b90509250929050565b5f5b83811015611eea578181015183820152602001611ed2565b50505f910152565b5f8151808452611f09816020860160208601611ed0565b601f01601f19169290920160200192915050565b602081525f6115b96020830184611ef2565b5f60208284031215611f3f575f80fd5b6115b982611e6e565b5f8060408385031215611f59575f80fd5b611f6283611e6e565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611f9e57611f9e611f70565b604051601f8501601f19908116603f01168101908282118183101715611fc657611fc6611f70565b81604052809350858152868686011115611fde575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612007575f80fd5b813567ffffffffffffffff81111561201d575f80fd5b8201601f8101841361202d575f80fd5b611b8084823560208401611f84565b5f805f6060848603121561204e575f80fd5b61205784611e6e565b925061206560208501611e6e565b9150604084013590509250925092565b5f8060408385031215612086575f80fd5b50508035926020909101359150565b5f80604083850312156120a6575f80fd5b82359150611ec760208401611e6e565b5f80602083850312156120c7575f80fd5b823567ffffffffffffffff808211156120de575f80fd5b818501915085601f8301126120f1575f80fd5b8135818111156120ff575f80fd5b8660208260051b8501011115612113575f80fd5b60209290920196919550909350505050565b80358015158114611e84575f80fd5b5f60208284031215612144575f80fd5b6115b982612125565b602080825282518282018190525f9190848201906040850190845b8181101561218457835183529284019291840191600101612168565b50909695505050505050565b5f80604083850312156121a1575f80fd5b6121aa83611e6e565b9150611ec760208401612125565b5f805f80608085870312156121cb575f80fd5b6121d485611e6e565b93506121e260208601611e6e565b925060408501359150606085013567ffffffffffffffff811115612204575f80fd5b8501601f81018713612214575f80fd5b61222387823560208401611f84565b91505092959194509250565b5f805f60608486031215612241575f80fd5b8335925061225160208501611e6e565b915061225f60408501611e89565b90509250925092565b5f8060408385031215612279575f80fd5b61228283611e6e565b9150611ec760208401611e6e565b600181811c908216806122a457607f821691505b6020821081036122c257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d8d575f81815260208120601f850160051c810160208610156122ee5750805b601f850160051c820191505b81811015610be9578281556001016122fa565b815167ffffffffffffffff81111561232757612327611f70565b61233b816123358454612290565b846122c8565b602080601f83116001811461236e575f84156123575750858301515b5f19600386901b1c1916600185901b178555610be9565b5f85815260208120601f198616915b8281101561239c5788860151825594840194600190910190840161237d565b50858210156123b957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176108b5576108b56123c9565b5f8261240e57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156108b5576108b56123c9565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612479576124796123c9565b5060010190565b818103818111156108b5576108b56123c9565b5f845160206124a58285838a01611ed0565b8551918401916124b88184848a01611ed0565b85549201915f906124c881612290565b600182811680156124e057600181146124f55761251e565b60ff198416875282151583028701945061251e565b895f52855f205f5b84811015612516578154898201529083019087016124fd565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061256090830184611ef2565b9695505050505050565b5f6020828403121561257a575f80fd5b81516115b981611e3e56fea26469706673582212203b79114586e9634067692912150b1b84eaa2244d868efde4bed06e69d68396b564736f6c634300081400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000b40d09cbff221248d1c35693fd0230edc40b04930000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5164346e4c547a6e36397035316d704b36586239556955576e59485a576e3839363362316a513568636550622f00000000000000000000

Deployed Bytecode

0x6080604052600436106102a7575f3560e01c80636352211e1161016f578063a035b1fe116100d8578063c87b56dd11610092578063e26684251161006d578063e266842514610813578063e985e9c514610832578063f2fde38b14610851578063f648498014610870575f80fd5b8063c87b56dd146107b6578063d9f0a671146107d5578063e0a80853146107f4575f80fd5b8063a035b1fe14610727578063a22cb4651461073c578063a45ba8e71461075b578063a4f4f8af1461076f578063b071401b14610784578063b88d4fde146107a3575f80fd5b806391b7f5ed1161012957806391b7f5ed1461068257806394354fd0146106a157806395d89b41146106b657806396330b5f146106ca5780639a32fb49146106f55780639fb17e3414610714575f80fd5b80636352211e146105c857806370a08231146105e7578063715018a6146106065780638462151c1461061a57806389d325ea146106465780638da5cb5b14610665575f80fd5b80632a55205a116102115780634cb1ac02116101cb5780634cb1ac021461052e5780634fdd43cb1461054357806351830227146105625780635503a0e8146105805780635a0b8b23146105945780635c22abd2146105a9575f80fd5b80632a55205a146104725780632eba0dce146104b057806333bc1c5c146104cf5780633ccfd60b146104e857806342842e0e146104fc57806347d9569e1461050f575f80fd5b8063095ea7b311610262578063095ea7b3146103ef57806316ba10e01461040257806318160ddd1461042157806319d1997a1461043557806323b872dd1461044a5780632a362c4d1461045d575f80fd5b806275770a146102ea57806301ffc9a71461030b57806302fa7c471461033f57806306fdde031461035e578063081812fc1461037f5780630865704c146103b6575f80fd5b366102e657604080513381523460208201527ffe2d73074d233633e644a6fb7186458fbf422add1c18d996efd14ffbece6f2b2910160405180910390a1005b5f80fd5b3480156102f5575f80fd5b50610309610304366004611e27565b61088f565b005b348015610316575f80fd5b5061032a610325366004611e53565b61089c565b60405190151581526020015b60405180910390f35b34801561034a575f80fd5b50610309610359366004611e9f565b6108bb565b348015610369575f80fd5b506103726108d1565b6040516103369190611f1d565b34801561038a575f80fd5b5061039e610399366004611e27565b610961565b6040516001600160a01b039091168152602001610336565b3480156103c1575f80fd5b506103e16103d0366004611f2f565b60176020525f908152604090205481565b604051908152602001610336565b6103096103fd366004611f48565b6109a3565b34801561040d575f80fd5b5061030961041c366004611ff7565b610a41565b34801561042c575f80fd5b506103e1610a55565b348015610440575f80fd5b506103e160105481565b61030961045836600461203c565b610a61565b348015610468575f80fd5b506103e160115481565b34801561047d575f80fd5b5061049161048c366004612075565b610bf1565b604080516001600160a01b039093168352602083019190915201610336565b3480156104bb575f80fd5b506103096104ca366004612095565b610c9b565b3480156104da575f80fd5b5060155461032a9060ff1681565b3480156104f3575f80fd5b50610309610cea565b61030961050a36600461203c565b610d73565b34801561051a575f80fd5b506103096105293660046120b6565b610d92565b348015610539575f80fd5b506103e160145481565b34801561054e575f80fd5b5061030961055d366004611ff7565b610e19565b34801561056d575f80fd5b5060155461032a90610100900460ff1681565b34801561058b575f80fd5b50610372610e2d565b34801561059f575f80fd5b506103e160135481565b3480156105b4575f80fd5b506103096105c3366004612134565b610eb9565b3480156105d3575f80fd5b5061039e6105e2366004611e27565b610ed4565b3480156105f2575f80fd5b506103e1610601366004611f2f565b610ede565b348015610611575f80fd5b50610309610f2b565b348015610625575f80fd5b50610639610634366004611f2f565b610f3c565b604051610336919061214d565b348015610651575f80fd5b50610309610660366004611e27565b611028565b348015610670575f80fd5b506008546001600160a01b031661039e565b34801561068d575f80fd5b5061030961069c366004611e27565b611035565b3480156106ac575f80fd5b506103e160125481565b3480156106c1575f80fd5b50610372611042565b3480156106d5575f80fd5b506103e16106e4366004611f2f565b60166020525f908152604090205481565b348015610700575f80fd5b5061030961070f366004611e27565b611051565b610309610722366004611e27565b61105e565b348015610732575f80fd5b506103e1600f5481565b348015610747575f80fd5b50610309610756366004612190565b611383565b348015610766575f80fd5b506103726113ee565b34801561077a575f80fd5b506103e160185481565b34801561078f575f80fd5b5061030961079e366004611e27565b6113fb565b6103096107b13660046121b8565b611408565b3480156107c1575f80fd5b506103726107d0366004611e27565b611452565b3480156107e0575f80fd5b506103096107ef366004611e27565b6115c0565b3480156107ff575f80fd5b5061030961080e366004612134565b6115cd565b34801561081e575f80fd5b5061030961082d36600461222f565b6115ef565b34801561083d575f80fd5b5061032a61084c366004612268565b611602565b34801561085c575f80fd5b5061030961086b366004611f2f565b61162f565b34801561087b575f80fd5b5061030961088a366004611ff7565b611669565b61089761167d565b601055565b5f6108a6826116aa565b806108b557506108b5826116f7565b92915050565b6108c361167d565b6108cd828261172b565b5050565b6060600280546108e090612290565b80601f016020809104026020016040519081016040528092919081815260200182805461090c90612290565b80156109575780601f1061092e57610100808354040283529160200191610957565b820191905f5260205f20905b81548152906001019060200180831161093a57829003601f168201915b5050505050905090565b5f61096b826117cd565b610988576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6109ad82610ed4565b9050336001600160a01b038216146109e6576109c98133611602565b6109e6576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a4961167d565b600d6108cd828261230d565b6001545f54035f190190565b5f610a6b826117ff565b9050836001600160a01b0316816001600160a01b031614610a9e5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610aea57610acd8633611602565b610aea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b1157604051633a954ecd60e21b815260040160405180910390fd5b8015610b1b575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610ba757600184015f818152600460205260408120549003610ba5575f548114610ba5575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610c65575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090610c83906001600160601b0316876123dd565b610c8d91906123f4565b915196919550909350505050565b610ca361167d565b60105482610caf610a55565b610cb99190612413565b1115610ce05760405162461bcd60e51b8152600401610cd790612426565b60405180910390fd5b6108cd8183611868565b610cf261167d565b610cfa611881565b5f610d0d6008546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610d54576040519150601f19603f3d011682016040523d82523d5f602084013e610d59565b606091505b5050905080610d66575f80fd5b50610d716001600955565b565b610d8d83838360405180602001604052805f815250611408565b505050565b610d9a61167d565b5f5b81811015610d8d57601054610daf610a55565b610dba906001612413565b1115610dd85760405162461bcd60e51b8152600401610cd790612426565b610e09838383818110610ded57610ded612454565b9050602002016020810190610e029190611f2f565b60016118da565b610e1281612468565b9050610d9c565b610e2161167d565b600e6108cd828261230d565b600d8054610e3a90612290565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6690612290565b8015610eb15780601f10610e8857610100808354040283529160200191610eb1565b820191905f5260205f20905b815481529060010190602001808311610e9457829003601f168201915b505050505081565b610ec161167d565b6015805460ff1916911515919091179055565b5f6108b5826117ff565b5f6001600160a01b038216610f06576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610f3361167d565b610d715f6119d2565b60605f610f4883610ede565b67ffffffffffffffff811115610f6057610f60611f70565b604051908082528060200260200182016040528015610f89578160200160208202803683370190505b5090505f610f955f5490565b90505f805f5b8381101561101d575f610fad82611a23565b9050806040015115610fbf5750611015565b80516001600160a01b031615610fd457805192505b876001600160a01b0316836001600160a01b031603611013578186858060010196508151811061100657611006612454565b6020026020010181815250505b505b600101610f9b565b509295945050505050565b61103061167d565b601155565b61103d61167d565b600f55565b6060600380546108e090612290565b61105961167d565b601455565b611066611881565b60155460ff166110b85760405162461bcd60e51b815260206004820152601960248201527f546865205075626c696353616c652069732070617573656421000000000000006044820152606401610cd7565b5f811180156110c957506012548111155b61110c5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610cd7565b60105481611118610a55565b6111229190612413565b11156111405760405162461bcd60e51b8152600401610cd790612426565b601354335f9081526016602052604090205461115d908390612413565b11156111ab5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c6574206578636565646564210000006044820152606401610cd7565b601454335f908152601760205260409020541080156111dd5750601154816111d1610a55565b6111db9190612413565b105b156112e057335f908152601760205260409020546014546111fe9190612480565b8111156112d657335f908152601760205260409020546014546112219190612480565b61122b9082612480565b600f5461123891906123dd565b34101561127d5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cd7565b335f908152601760205260409020546014546112999190612480565b60175f335b6001600160a01b03166001600160a01b031681526020019081526020015f205f8282546112cb9190612413565b909155506113339050565b8060175f3361129e565b80600f546112ee91906123dd565b3410156113335760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cd7565b61133d3382611868565b335f908152601660205260408120805483929061135b908490612413565b925050819055508060185f8282546113739190612413565b9091555050600160095550565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610e3a90612290565b61140361167d565b601255565b611413848484610a61565b6001600160a01b0383163b1561144c5761142f84848484611aa0565b61144c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061145d826117cd565b6114c15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cd7565b601554610100900460ff1615155f0361156457600e80546114e190612290565b80601f016020809104026020016040519081016040528092919081815260200182805461150d90612290565b80156115585780601f1061152f57610100808354040283529160200191611558565b820191905f5260205f20905b81548152906001019060200180831161153b57829003601f168201915b50505050509050919050565b5f61156d611b88565b90505f81511161158b5760405180602001604052805f8152506115b9565b8061159584611b97565b600d6040516020016115a993929190612493565b6040516020818303038152906040525b9392505050565b6115c861167d565b601355565b6115d561167d565b601580549115156101000261ff0019909216919091179055565b6115f761167d565b610d8d838383611c27565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b61163761167d565b6001600160a01b03811661166057604051631e4fbdf760e01b81525f6004820152602401610cd7565b611380816119d2565b61167161167d565b600c6108cd828261230d565b6008546001600160a01b03163314610d715760405163118cdaa760e01b8152336004820152602401610cd7565b5f6301ffc9a760e01b6001600160e01b0319831614806116da57506380ac58cd60e01b6001600160e01b03198316145b806108b55750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b14806108b557506301ffc9a760e01b6001600160e01b03198316146108b5565b6127106001600160601b03821681101561176a57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610cd7565b6001600160a01b03831661179357604051635b6cc80560e11b81525f6004820152602401610cd7565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f816001111580156117df57505f5482105b80156108b55750505f90815260046020526040902054600160e01b161590565b5f818060011161184f575f5481101561184f575f8181526004602052604081205490600160e01b8216900361184d575b805f036115b957505f19015f8181526004602052604090205461182f565b505b604051636f96cda160e11b815260040160405180910390fd5b6108cd828260405180602001604052805f815250611ce7565b6002600954036118d35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd7565b6002600955565b5f8054908290036118fe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119aa5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611974565b50815f036119ca57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f828152600460205260409020546108b590604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611ad490339089908890889060040161252e565b6020604051808303815f875af1925050508015611b0e575060408051601f3d908101601f19168201909252611b0b9181019061256a565b60015b611b6a573d808015611b3b576040519150601f19603f3d011682016040523d82523d5f602084013e611b40565b606091505b5080515f03611b62576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c80546108e090612290565b60605f611ba383611d50565b60010190505f8167ffffffffffffffff811115611bc257611bc2611f70565b6040519080825280601f01601f191660200182016040528015611bec576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611bf657509392505050565b6127106001600160601b038216811015611c6d5760405163dfd1fc1b60e01b8152600481018590526001600160601b038316602482015260448101829052606401610cd7565b6001600160a01b038316611c9d57604051634b4f842960e11b8152600481018590525f6024820152604401610cd7565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182525f968752600b90529190942093519051909116600160a01b029116179055565b611cf183836118da565b6001600160a01b0383163b15610d8d575f548281035b611d195f868380600101945086611aa0565b611d36576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d0757815f5414611d49575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611d8e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611dba576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611dd857662386f26fc10000830492506010015b6305f5e1008310611df0576305f5e100830492506008015b6127108310611e0457612710830492506004015b60648310611e16576064830492506002015b600a83106108b55760010192915050565b5f60208284031215611e37575f80fd5b5035919050565b6001600160e01b031981168114611380575f80fd5b5f60208284031215611e63575f80fd5b81356115b981611e3e565b80356001600160a01b0381168114611e84575f80fd5b919050565b80356001600160601b0381168114611e84575f80fd5b5f8060408385031215611eb0575f80fd5b611eb983611e6e565b9150611ec760208401611e89565b90509250929050565b5f5b83811015611eea578181015183820152602001611ed2565b50505f910152565b5f8151808452611f09816020860160208601611ed0565b601f01601f19169290920160200192915050565b602081525f6115b96020830184611ef2565b5f60208284031215611f3f575f80fd5b6115b982611e6e565b5f8060408385031215611f59575f80fd5b611f6283611e6e565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611f9e57611f9e611f70565b604051601f8501601f19908116603f01168101908282118183101715611fc657611fc6611f70565b81604052809350858152868686011115611fde575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215612007575f80fd5b813567ffffffffffffffff81111561201d575f80fd5b8201601f8101841361202d575f80fd5b611b8084823560208401611f84565b5f805f6060848603121561204e575f80fd5b61205784611e6e565b925061206560208501611e6e565b9150604084013590509250925092565b5f8060408385031215612086575f80fd5b50508035926020909101359150565b5f80604083850312156120a6575f80fd5b82359150611ec760208401611e6e565b5f80602083850312156120c7575f80fd5b823567ffffffffffffffff808211156120de575f80fd5b818501915085601f8301126120f1575f80fd5b8135818111156120ff575f80fd5b8660208260051b8501011115612113575f80fd5b60209290920196919550909350505050565b80358015158114611e84575f80fd5b5f60208284031215612144575f80fd5b6115b982612125565b602080825282518282018190525f9190848201906040850190845b8181101561218457835183529284019291840191600101612168565b50909695505050505050565b5f80604083850312156121a1575f80fd5b6121aa83611e6e565b9150611ec760208401612125565b5f805f80608085870312156121cb575f80fd5b6121d485611e6e565b93506121e260208601611e6e565b925060408501359150606085013567ffffffffffffffff811115612204575f80fd5b8501601f81018713612214575f80fd5b61222387823560208401611f84565b91505092959194509250565b5f805f60608486031215612241575f80fd5b8335925061225160208501611e6e565b915061225f60408501611e89565b90509250925092565b5f8060408385031215612279575f80fd5b61228283611e6e565b9150611ec760208401611e6e565b600181811c908216806122a457607f821691505b6020821081036122c257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d8d575f81815260208120601f850160051c810160208610156122ee5750805b601f850160051c820191505b81811015610be9578281556001016122fa565b815167ffffffffffffffff81111561232757612327611f70565b61233b816123358454612290565b846122c8565b602080601f83116001811461236e575f84156123575750858301515b5f19600386901b1c1916600185901b178555610be9565b5f85815260208120601f198616915b8281101561239c5788860151825594840194600190910190840161237d565b50858210156123b957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176108b5576108b56123c9565b5f8261240e57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156108b5576108b56123c9565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612479576124796123c9565b5060010190565b818103818111156108b5576108b56123c9565b5f845160206124a58285838a01611ed0565b8551918401916124b88184848a01611ed0565b85549201915f906124c881612290565b600182811680156124e057600181146124f55761251e565b60ff198416875282151583028701945061251e565b895f52855f205f5b84811015612516578154898201529083019087016124fd565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061256090830184611ef2565b9695505050505050565b5f6020828403121561257a575f80fd5b81516115b981611e3e56fea26469706673582212203b79114586e9634067692912150b1b84eaa2244d868efde4bed06e69d68396b564736f6c63430008140033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000b40d09cbff221248d1c35693fd0230edc40b04930000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5164346e4c547a6e36397035316d704b36586239556955576e59485a576e3839363362316a513568636550622f00000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmQd4nLTzn69p51mpK6Xb9UiUWnYHZWn8963b1jQ5hcePb/
Arg [1] : initialOwner (address): 0xb40D09cBfF221248D1c35693Fd0230EDc40b0493

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000b40d09cbff221248d1c35693fd0230edc40b0493
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d5164346e4c547a6e36397035316d704b36586239556955
Arg [4] : 576e59485a576e3839363362316a513568636550622f00000000000000000000


Deployed Bytecode Sourcemap

88286:9118:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95053:34;;;95065:10;188:51:1;;95077:9:0;270:2:1;255:18;;248:34;95053::0;;161:18:1;95053:34:0;;;;;;;88286:9118;;;;;93866:108;;;;;;;;;;-1:-1:-1;93866:108:0;;;;;:::i;:::-;;:::i;:::-;;97034:291;;;;;;;;;;-1:-1:-1;97034:291:0;;;;;:::i;:::-;;:::i;:::-;;;1029:14:1;;1022:22;1004:41;;992:2;977:18;97034:291:0;;;;;;;;94382:178;;;;;;;;;;-1:-1:-1;94382:178:0;;;;;:::i;:::-;;:::i;19306:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2601:32:1;;;2583:51;;2571:2;2556:18;25797:218:0;2437:203:1;89395:51:0;;;;;;;;;;-1:-1:-1;89395:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2982:25:1;;;2970:2;2955:18;89395:51:0;2836:177:1;25230:408:0;;;;;;:::i;:::-;;:::i;92790:106::-;;;;;;;;;;-1:-1:-1;92790:106:0;;;;;:::i;:::-;;:::i;15057:323::-;;;;;;;;;;;;;:::i;88778:33::-;;;;;;;;;;;;;;;;29436:2825;;;;;;:::i;:::-;;:::i;88863:37::-;;;;;;;;;;;;;;;;83872:429;;;;;;;;;;-1:-1:-1;83872:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;;161:18;83872:429:0;14:274:1;91883::0;;;;;;;;;;-1:-1:-1;91883:274:0;;;;;:::i;:::-;;:::i;89218:30::-;;;;;;;;;;-1:-1:-1;89218:30:0;;;;;;;;94720:186;;;;;;;;;;;;;:::i;32357:193::-;;;;;;:::i;:::-;;:::i;92165:260::-;;;;;;;;;;-1:-1:-1;92165:260:0;;;;;:::i;:::-;;:::i;89153:40::-;;;;;;;;;;;;;;;;92904:161;;;;;;;;;;-1:-1:-1;92904:161:0;;;;;:::i;:::-;;:::i;89272:27::-;;;;;;;;;;-1:-1:-1;89272:27:0;;;;;;;;;;;88527:33;;;;;;;;;;;;;:::i;89050:37::-;;;;;;;;;;;;;;;;93094:101;;;;;;;;;;-1:-1:-1;93094:101:0;;;;;:::i;:::-;;:::i;20699:152::-;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;16241:233::-;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;74719:103::-;;;;;;;;;;;;;:::i;95251:819::-;;;;;;;;;;-1:-1:-1;95251:819:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;94007:124::-;;;;;;;;;;-1:-1:-1;94007:124:0;;;;;:::i;:::-;;:::i;74044:87::-;;;;;;;;;;-1:-1:-1;74117:6:0;;-1:-1:-1;;;;;74117:6:0;74044:87;;93753:84;;;;;;;;;;-1:-1:-1;93753:84:0;;;;;:::i;:::-;;:::i;88956:38::-;;;;;;;;;;;;;;;;19482:104;;;;;;;;;;;;;:::i;89338:50::-;;;;;;;;;;-1:-1:-1;89338:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;93579:148;;;;;;;;;;-1:-1:-1;93579:148:0;;;;;:::i;:::-;;:::i;90179:1696::-;;;;;;:::i;:::-;;:::i;88696:34::-;;;;;;;;;;;;;;;;26355:234;;;;;;;;;;-1:-1:-1;26355:234:0;;;;;:::i;:::-;;:::i;88612:36::-;;;;;;;;;;;;;:::i;89483:27::-;;;;;;;;;;;;;;;;93222:159;;;;;;;;;;-1:-1:-1;93222:159:0;;;;;:::i;:::-;;:::i;33148:407::-;;;;;;:::i;:::-;;:::i;96187:727::-;;;;;;;;;;-1:-1:-1;96187:727:0;;;;;:::i;:::-;;:::i;93412:132::-;;;;;;;;;;-1:-1:-1;93412:132:0;;;;;:::i;:::-;;:::i;92593:87::-;;;;;;;;;;-1:-1:-1;92593:87:0;;;;;:::i;:::-;;:::i;94157:217::-;;;;;;;;;;-1:-1:-1;94157:217:0;;;;;:::i;:::-;;:::i;26746:164::-;;;;;;;;;;-1:-1:-1;26746:164:0;;;;;:::i;:::-;;:::i;74977:220::-;;;;;;;;;;-1:-1:-1;74977:220:0;;;;;:::i;:::-;;:::i;92700:82::-;;;;;;;;;;-1:-1:-1;92700:82:0;;;;;:::i;:::-;;:::i;93866:108::-;73930:13;:11;:13::i;:::-;93940:11:::1;:26:::0;93866:108::o;97034:291::-;97182:4;97224:38;97250:11;97224:25;:38::i;:::-;:93;;;;97279:38;97305:11;97279:25;:38::i;:::-;97204:113;97034:291;-1:-1:-1;;97034:291:0:o;94382:178::-;73930:13;:11;:13::i;:::-;94503:49:::1;94522:9;94533:18;94503;:49::i;:::-;94382:178:::0;;:::o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;-1:-1:-1;;;25923:34:0;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25977:30:0;;25797:218::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;49563:10:0;-1:-1:-1;;;;;25368:28:0;;;25364:175;;25416:44;25433:5;49563:10;26746:164;:::i;25416:44::-;25411:128;;25488:35;;-1:-1:-1;;;25488:35:0;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25551:35:0;-1:-1:-1;;;;;25551:35:0;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;92790:106::-;73930:13;:11;:13::i;:::-;92866:9:::1;:22;92878:10:::0;92866:9;:22:::1;:::i;15057:323::-:0;96170:1;15331:12;15118:7;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;-1:-1:-1;;;;;29652:45:0;29668:19;-1:-1:-1;;;;;29652:45:0;;29648:86;;29706:28;;-1:-1:-1;;;29706:28:0;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;49563:10;28169:30;;;-1:-1:-1;;;;;27862:28:0;;28147:20;;;28144:56;29934:180;;30027:43;30044:4;49563:10;26746:164;:::i;30027:43::-;30022:92;;30079:35;;-1:-1:-1;;;30079:35:0;;;;;;;;;;;30022:92;-1:-1:-1;;;;;30131:16:0;;30127:52;;30156:23;;-1:-1:-1;;;30156:23:0;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;-1:-1:-1;;;;;30865:24:0;;;;;;;:18;:24;;;;;;30863:26;;-1:-1:-1;;30863:26:0;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;-1:-1:-1;;;24046:63:0;31227:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31522:47:0;;:52;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;:35;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;-1:-1:-1;;;;;32173:27:0;32182:4;-1:-1:-1;;;;;32173:27:0;;;;;;;;;;;32211:42;29567:2694;;;29436:2825;;;:::o;83872:429::-;83958:7;84016:26;;;:17;:26;;;;;;;;83987:55;;;;;;;;;-1:-1:-1;;;;;83987:55:0;;;;;-1:-1:-1;;;83987:55:0;;;-1:-1:-1;;;;;83987:55:0;;;;;;;;83958:7;;84055:92;;-1:-1:-1;84106:29:0;;;;;;;;;84116:19;84106:29;-1:-1:-1;;;;;84106:29:0;;;;-1:-1:-1;;;84106:29:0;;-1:-1:-1;;;;;84106:29:0;;;;;84055:92;84196:23;;;;84159:21;;84667:5;;84184:35;;-1:-1:-1;;;;;84184:35:0;:9;:35;:::i;:::-;84183:57;;;;:::i;:::-;84261:16;;;;;-1:-1:-1;83872:429:0;;-1:-1:-1;;;;83872:429:0:o;91883:274::-;73930:13;:11;:13::i;:::-;92046:11:::1;;92031;92015:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;91993:112;;;;-1:-1:-1::0;;;91993:112:0::1;;;;;;;:::i;:::-;;;;;;;;;92116:33;92126:9;92137:11;92116:9;:33::i;94720:186::-:0;73930:13;:11;:13::i;:::-;77900:21:::1;:19;:21::i;:::-;94808:7:::2;94829;74117:6:::0;;-1:-1:-1;;;;;74117:6:0;;74044:87;94829:7:::2;-1:-1:-1::0;;;;;94821:21:0::2;94850;94821:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94807:69;;;94895:2;94887:11;;;::::0;::::2;;94770:136;77944:20:::1;77338:1:::0;78464:7;:22;78281:213;77944:20:::1;94720:186::o:0;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;:::-;32357:193;;;:::o;92165:260::-;73930:13;:11;:13::i;:::-;92251:9:::1;92246:172;92262:20:::0;;::::1;92246:172;;;92333:11;;92312:13;:11;:13::i;:::-;:17;::::0;92328:1:::1;92312:17;:::i;:::-;:32;;92304:65;;;;-1:-1:-1::0;;;92304:65:0::1;;;;;;;:::i;:::-;92384:22;92390:9;;92400:1;92390:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;92404:1;92384:5;:22::i;:::-;92284:3;::::0;::::1;:::i;:::-;;;92246:172;;92904:161:::0;73930:13;:11;:13::i;:::-;93019:17:::1;:38;93039:18:::0;93019:17;:38:::1;:::i;88527:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;93094:101::-;73930:13;:11;:13::i;:::-;93163:10:::1;:24:::0;;-1:-1:-1;;93163:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;93094:101::o;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;16241:233::-;16313:7;-1:-1:-1;;;;;16337:19:0;;16333:60;;16365:28;;-1:-1:-1;;;16365:28:0;;;;;;;;;;;16333:60;-1:-1:-1;;;;;;16411:25:0;;;;;:18;:25;;;;;;10400:13;16411:55;;16241:233::o;74719:103::-;73930:13;:11;:13::i;:::-;74784:30:::1;74811:1;74784:18;:30::i;95251:819::-:0;95339:16;95398:18;95433:16;95443:5;95433:9;:16::i;:::-;95419:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95419:31:0;;95398:52;;95465:11;95479:14;14799:7;14826:13;;14744:103;95479:14;95465:28;;95508:19;95542:25;95587:9;95582:447;95602:3;95598:1;:7;95582:447;;;95631:31;95665:15;95678:1;95665:12;:15::i;:::-;95631:49;;95703:9;:16;;;95699:73;;;95744:8;;;95699:73;95794:14;;-1:-1:-1;;;;;95794:28:0;;95790:111;;95867:14;;;-1:-1:-1;95790:111:0;95944:5;-1:-1:-1;;;;;95923:26:0;:17;-1:-1:-1;;;;;95923:26:0;;95919:95;;95993:1;95974;95976:13;;;;;;95974:16;;;;;;;;:::i;:::-;;;;;;:20;;;;;95919:95;95612:417;95582:447;95607:3;;95582:447;;;-1:-1:-1;96050:1:0;;95251:819;-1:-1:-1;;;;;95251:819:0:o;94007:124::-;73930:13;:11;:13::i;:::-;94089:15:::1;:34:::0;94007:124::o;93753:84::-;73930:13;:11;:13::i;:::-;93815:5:::1;:14:::0;93753:84::o;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;93579:148::-;73930:13;:11;:13::i;:::-;93673:21:::1;:46:::0;93579:148::o;90179:1696::-;77900:21;:19;:21::i;:::-;90298:10:::1;::::0;::::1;;90290:48;;;::::0;-1:-1:-1;;;90290:48:0;;12892:2:1;90290:48:0::1;::::0;::::1;12874:21:1::0;12931:2;12911:18;;;12904:30;12970:27;12950:18;;;12943:55;13015:18;;90290:48:0::1;12690:349:1::0;90290:48:0::1;90385:1;90371:11;:15;:52;;;;;90405:18;;90390:11;:33;;90371:52;90349:122;;;::::0;-1:-1:-1;;;90349:122:0;;13246:2:1;90349:122:0::1;::::0;::::1;13228:21:1::0;13285:2;13265:18;;;13258:30;-1:-1:-1;;;13304:18:1;;;13297:50;13364:18;;90349:122:0::1;13044:344:1::0;90349:122:0::1;90535:11;;90520;90504:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;90482:112;;;;-1:-1:-1::0;;;90482:112:0::1;;;;;;;:::i;:::-;90672:17;::::0;90643:10:::1;90627:27;::::0;;;:15:::1;:27;::::0;;;;;:41:::1;::::0;90657:11;;90627:41:::1;:::i;:::-;:62;;90605:141;;;::::0;-1:-1:-1;;;90605:141:0;;13595:2:1;90605:141:0::1;::::0;::::1;13577:21:1::0;13634:2;13614:18;;;13607:30;13673:31;13653:18;;;13646:59;13722:18;;90605:141:0::1;13393:353:1::0;90605:141:0::1;90825:21;::::0;49563:10;90792:30:::1;::::0;;;:16:::1;:30;::::0;;;;;:54:::1;90791:106:::0;::::1;;;;90881:15;;90867:11;90851:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:45;90791:106;90787:895;;;49563:10:::0;90992:30:::1;::::0;;;:16:::1;:30;::::0;;;;;90968:21:::1;::::0;:54:::1;::::0;90992:30;90968:54:::1;:::i;:::-;90936:11;:87;90914:660;;;49563:10:::0;91273:30:::1;::::0;;;:16:::1;:30;::::0;;;;;91212:21:::1;::::0;:91:::1;::::0;91273:30;91212:91:::1;:::i;:::-;91164:140;::::0;:11;:140:::1;:::i;:::-;91126:5;;:179;;;;:::i;:::-;91088:9;:217;;91058:310;;;::::0;-1:-1:-1;;;91058:310:0;;14086:2:1;91058:310:0::1;::::0;::::1;14068:21:1::0;14125:2;14105:18;;;14098:30;-1:-1:-1;;;14144:18:1;;;14137:49;14203:18;;91058:310:0::1;13884:343:1::0;91058:310:0::1;49563:10:::0;91447:30:::1;::::0;;;:16:::1;:30;::::0;;;;;91423:21:::1;::::0;:54:::1;::::0;91447:30;91423:54:::1;:::i;:::-;91388:16;:30;49563:10:::0;91405:12:::1;-1:-1:-1::0;;;;;91388:30:0::1;-1:-1:-1::0;;;;;91388:30:0::1;;;;;;;;;;;;;:90;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;90787:895:0::1;::::0;-1:-1:-1;90787:895:0::1;90914:660;91561:11:::0;91527:16:::1;:30;49563:10:::0;91544:12:::1;49476:105:::0;90787:895:::1;91635:11;91627:5;;:19;;;;:::i;:::-;91614:9;:32;;91606:64;;;::::0;-1:-1:-1;;;91606:64:0;;14086:2:1;91606:64:0::1;::::0;::::1;14068:21:1::0;14125:2;14105:18;;;14098:30;-1:-1:-1;;;14144:18:1;;;14137:49;14203:18;;91606:64:0::1;13884:343:1::0;91606:64:0::1;91711:36;49563:10:::0;91735:11:::1;91711:9;:36::i;:::-;91803:10;91787:27;::::0;;;:15:::1;:27;::::0;;;;:42;;91818:11;;91787:27;:42:::1;::::0;91818:11;;91787:42:::1;:::i;:::-;;;;;;;;91856:11;91840:12;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;77338:1:0;78464:7;:22;90179:1696;:::o;77944:20::-;90179:1696;:::o;26355:234::-;49563:10;26450:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26450:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26450:60:0;;;;;;;;;;26526:55;;1004:41:1;;;26450:49:0;;49563:10;26526:55;;977:18:1;26526:55:0;;;;;;;26355:234;;:::o;88612:36::-;;;;;;;:::i;93222:159::-;73930:13;:11;:13::i;:::-;93333:18:::1;:40:::0;93222:159::o;33148:407::-;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;-1:-1:-1;;;;;33369:14:0;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;-1:-1:-1;;;33492:40:0;;;;;;;;;;;33403:145;33148:407;;;;:::o;96187:727::-;96306:13;96359:17;96367:8;96359:7;:17::i;:::-;96337:114;;;;-1:-1:-1;;;96337:114:0;;14434:2:1;96337:114:0;;;14416:21:1;14473:2;14453:18;;;14446:30;14512:34;14492:18;;;14485:62;-1:-1:-1;;;14563:18:1;;;14556:45;14618:19;;96337:114:0;14232:411:1;96337:114:0;96468:8;;;;;;;:17;;96480:5;96468:17;96464:74;;96509:17;96502:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96187:727;;;:::o;96464:74::-;96550:28;96581:10;:8;:10::i;:::-;96550:41;;96653:1;96628:14;96622:28;:32;:284;;;;;;;;;;;;;;;;;96746:14;96787:19;:8;:17;:19::i;:::-;96833:9;96703:162;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;96622:284;96602:304;96187:727;-1:-1:-1;;;96187:727:0:o;93412:132::-;73930:13;:11;:13::i;:::-;93498:17:::1;:38:::0;93412:132::o;92593:87::-;73930:13;:11;:13::i;:::-;92655:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;92655:17:0;;::::1;::::0;;;::::1;::::0;;92593:87::o;94157:217::-;73930:13;:11;:13::i;:::-;94309:57:::1;94326:8;94336:9;94347:18;94309:16;:57::i;26746:164::-:0;-1:-1:-1;;;;;26867:25:0;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26746:164::o;74977:220::-;73930:13;:11;:13::i;:::-;-1:-1:-1;;;;;75062:22:0;::::1;75058:93;;75108:31;::::0;-1:-1:-1;;;75108:31:0;;75136:1:::1;75108:31;::::0;::::1;2583:51:1::0;2556:18;;75108:31:0::1;2437:203:1::0;75058:93:0::1;75161:28;75180:8;75161:18;:28::i;92700:82::-:0;73930:13;:11;:13::i;:::-;92764:3:::1;:10;92770:4:::0;92764:3;:10:::1;:::i;74209:166::-:0;74117:6;;-1:-1:-1;;;;;74117:6:0;49563:10;74269:23;74265:103;;74316:40;;-1:-1:-1;;;74316:40:0;;49563:10;74316:40;;;2583:51:1;2556:18;;74316:40:0;2437:203:1;18404:639:0;18489:4;-1:-1:-1;;;;;;;;;18813:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18890:25:0;;;18813:102;:179;;;-1:-1:-1;;;;;;;;18967:25:0;-1:-1:-1;;;18967:25:0;;18404:639::o;83602:215::-;83704:4;-1:-1:-1;;;;;;83728:41:0;;-1:-1:-1;;;83728:41:0;;:81;;-1:-1:-1;;;;;;;;;;80609:40:0;;;83773:36;80509:148;84951:518;84667:5;-1:-1:-1;;;;;85100:26:0;;;-1:-1:-1;85096:176:0;;;85205:55;;-1:-1:-1;;;85205:55:0;;-1:-1:-1;;;;;16100:39:1;;85205:55:0;;;16082:58:1;16156:18;;;16149:34;;;16055:18;;85205:55:0;15909:280:1;85096:176:0;-1:-1:-1;;;;;85286:22:0;;85282:110;;85332:48;;-1:-1:-1;;;85332:48:0;;85377:1;85332:48;;;2583:51:1;2556:18;;85332:48:0;2437:203:1;85282:110:0;-1:-1:-1;85426:35:0;;;;;;;;;-1:-1:-1;;;;;85426:35:0;;;;;;-1:-1:-1;;;;;85426:35:0;;;;;;;;;;-1:-1:-1;;;85404:57:0;;;;:19;:57;84951:518::o;27168:282::-;27233:4;27289:7;96170:1;27270:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27374:44:0;:49;;27168:282::o;21854:1275::-;21921:7;21956;;96170:1;22005:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;;-1:-1:-1;;;22202:24:0;;:29;;22198:845;;22867:113;22874:6;22884:1;22874:11;22867:113;;-1:-1:-1;;;22945:6:0;22927:25;;;;:17;:25;;;;;;22867:113;;22198:845;22073:989;22047:1015;23090:31;;-1:-1:-1;;;23090:31:0;;;;;;;;;;;43308:112;43385:27;43395:2;43399:8;43385:27;;;;;;;;;;;;:9;:27::i;77980:293::-;77382:1;78114:7;;:19;78106:63;;;;-1:-1:-1;;;78106:63:0;;16396:2:1;78106:63:0;;;16378:21:1;16435:2;16415:18;;;16408:30;16474:33;16454:18;;;16447:61;16525:18;;78106:63:0;16194:355:1;78106:63:0;77382:1;78247:7;:18;77980:293::o;36817:2966::-;36890:20;36913:13;;;36941;;;36937:44;;36963:18;;-1:-1:-1;;;36963:18:0;;;;;;;;;;;36937:44;-1:-1:-1;;;;;37469:22:0;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;39241:77;39616:8;39628:1;39616:13;39612:45;;39638:19;;-1:-1:-1;;;39638:19:0;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;32357:193:0;;;:::o;75357:191::-;75450:6;;;-1:-1:-1;;;;;75467:17:0;;;-1:-1:-1;;;;;;75467:17:0;;;;;;;75500:40;;75450:6;;;75467:17;75450:6;;75500:40;;75431:16;;75500:40;75420:128;75357:191;:::o;21302:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21430:24:0;;;;:17;:24;;;;;;21411:44;;-1:-1:-1;;;;;;;;;;;;;23338:41:0;;;;11059:3;23424:33;;;23390:68;;-1:-1:-1;;;23390:68:0;-1:-1:-1;;;23488:24:0;;:29;;-1:-1:-1;;;23469:48:0;;;;11580:3;23557:28;;;;-1:-1:-1;;;23528:58:0;-1:-1:-1;23228:366:0;35639:716;35823:88;;-1:-1:-1;;;35823:88:0;;35802:4;;-1:-1:-1;;;;;35823:45:0;;;;;:88;;49563:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;-1:-1:-1;;35823:88:0;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36106:6;:13;36123:1;36106:18;36102:235;;36152:40;;-1:-1:-1;;;36152:40:0;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;-1:-1:-1;;;;;;35982:64:0;-1:-1:-1;;;35982:64:0;;-1:-1:-1;35819:529:0;35639:716;;;;;;:::o;96922:104::-;96982:13;97015:3;97008:10;;;;;:::i;68930:718::-;68986:13;69037:14;69054:17;69065:5;69054:10;:17::i;:::-;69074:1;69054:21;69037:38;;69090:20;69124:6;69113:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69113:18:0;-1:-1:-1;69090:41:0;-1:-1:-1;69255:28:0;;;69271:2;69255:28;69312:290;-1:-1:-1;;69344:5:0;-1:-1:-1;;;69481:2:0;69470:14;;69465:32;69344:5;69452:46;69544:2;69535:11;;;-1:-1:-1;69565:21:0;69312:290;69565:21;-1:-1:-1;69623:6:0;68930:718;-1:-1:-1;;;68930:718:0:o;85920:554::-;84667:5;-1:-1:-1;;;;;86084:26:0;;;-1:-1:-1;86080:183:0;;;86189:62;;-1:-1:-1;;;86189:62:0;;;;;17503:25:1;;;-1:-1:-1;;;;;17564:39:1;;17544:18;;;17537:67;17620:18;;;17613:34;;;17476:18;;86189:62:0;17302:351:1;86080:183:0;-1:-1:-1;;;;;86277:22:0;;86273:117;;86323:55;;-1:-1:-1;;;86323:55:0;;;;;17832:25:1;;;86375:1:0;17873:18:1;;;17866:60;17805:18;;86323:55:0;17658:274:1;86273:117:0;-1:-1:-1;86431:35:0;;;;;;;;-1:-1:-1;;;;;86431:35:0;;;;;-1:-1:-1;;;;;86431:35:0;;;;;;;;;;-1:-1:-1;86402:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;86402:64:0;;;;;;85920:554::o;42535:689::-;42666:19;42672:2;42676:8;42666:5;:19::i;:::-;-1:-1:-1;;;;;42727:14:0;;;:19;42723:483;;42767:11;42781:13;42829:14;;;42862:233;42893:62;42932:1;42936:2;42940:7;;;;;;42949:5;42893:30;:62::i;:::-;42888:167;;42991:40;;-1:-1:-1;;;42991:40:0;;;;;;;;;;;42888:167;43090:3;43082:5;:11;42862:233;;43177:3;43160:13;;:20;43156:34;;43182:8;;;43156:34;42748:458;;42535:689;;;:::o;65334:948::-;65387:7;;-1:-1:-1;;;65465:17:0;;65461:106;;-1:-1:-1;;;65503:17:0;;;-1:-1:-1;65549:2:0;65539:12;65461:106;65594:8;65585:5;:17;65581:106;;65632:8;65623:17;;;-1:-1:-1;65669:2:0;65659:12;65581:106;65714:8;65705:5;:17;65701:106;;65752:8;65743:17;;;-1:-1:-1;65789:2:0;65779:12;65701:106;65834:7;65825:5;:16;65821:103;;65871:7;65862:16;;;-1:-1:-1;65907:1:0;65897:11;65821:103;65951:7;65942:5;:16;65938:103;;65988:7;65979:16;;;-1:-1:-1;66024:1:0;66014:11;65938:103;66068:7;66059:5;:16;66055:103;;66105:7;66096:16;;;-1:-1:-1;66141:1:0;66131:11;66055:103;66185:7;66176:5;:16;66172:68;;66223:1;66213:11;66268:6;65334:948;-1:-1:-1;;65334:948:0:o;293:180:1:-;352:6;405:2;393:9;384:7;380:23;376:32;373:52;;;421:1;418;411:12;373:52;-1:-1:-1;444:23:1;;293:180;-1:-1:-1;293:180:1:o;478:131::-;-1:-1:-1;;;;;;552:32:1;;542:43;;532:71;;599:1;596;589:12;614:245;672:6;725:2;713:9;704:7;700:23;696:32;693:52;;;741:1;738;731:12;693:52;780:9;767:23;799:30;823:5;799:30;:::i;1056:173::-;1124:20;;-1:-1:-1;;;;;1173:31:1;;1163:42;;1153:70;;1219:1;1216;1209:12;1153:70;1056:173;;;:::o;1234:179::-;1301:20;;-1:-1:-1;;;;;1350:38:1;;1340:49;;1330:77;;1403:1;1400;1393:12;1418:258;1485:6;1493;1546:2;1534:9;1525:7;1521:23;1517:32;1514:52;;;1562:1;1559;1552:12;1514:52;1585:29;1604:9;1585:29;:::i;:::-;1575:39;;1633:37;1666:2;1655:9;1651:18;1633:37;:::i;:::-;1623:47;;1418:258;;;;;:::o;1681:250::-;1766:1;1776:113;1790:6;1787:1;1784:13;1776:113;;;1866:11;;;1860:18;1847:11;;;1840:39;1812:2;1805:10;1776:113;;;-1:-1:-1;;1923:1:1;1905:16;;1898:27;1681:250::o;1936:271::-;1978:3;2016:5;2010:12;2043:6;2038:3;2031:19;2059:76;2128:6;2121:4;2116:3;2112:14;2105:4;2098:5;2094:16;2059:76;:::i;:::-;2189:2;2168:15;-1:-1:-1;;2164:29:1;2155:39;;;;2196:4;2151:50;;1936:271;-1:-1:-1;;1936:271:1:o;2212:220::-;2361:2;2350:9;2343:21;2324:4;2381:45;2422:2;2411:9;2407:18;2399:6;2381:45;:::i;2645:186::-;2704:6;2757:2;2745:9;2736:7;2732:23;2728:32;2725:52;;;2773:1;2770;2763:12;2725:52;2796:29;2815:9;2796:29;:::i;3018:254::-;3086:6;3094;3147:2;3135:9;3126:7;3122:23;3118:32;3115:52;;;3163:1;3160;3153:12;3115:52;3186:29;3205:9;3186:29;:::i;:::-;3176:39;3262:2;3247:18;;;;3234:32;;-1:-1:-1;;;3018:254:1:o;3277:127::-;3338:10;3333:3;3329:20;3326:1;3319:31;3369:4;3366:1;3359:15;3393:4;3390:1;3383:15;3409:632;3474:5;3504:18;3545:2;3537:6;3534:14;3531:40;;;3551:18;;:::i;:::-;3626:2;3620:9;3594:2;3680:15;;-1:-1:-1;;3676:24:1;;;3702:2;3672:33;3668:42;3656:55;;;3726:18;;;3746:22;;;3723:46;3720:72;;;3772:18;;:::i;:::-;3812:10;3808:2;3801:22;3841:6;3832:15;;3871:6;3863;3856:22;3911:3;3902:6;3897:3;3893:16;3890:25;3887:45;;;3928:1;3925;3918:12;3887:45;3978:6;3973:3;3966:4;3958:6;3954:17;3941:44;4033:1;4026:4;4017:6;4009;4005:19;4001:30;3994:41;;;;3409:632;;;;;:::o;4046:451::-;4115:6;4168:2;4156:9;4147:7;4143:23;4139:32;4136:52;;;4184:1;4181;4174:12;4136:52;4224:9;4211:23;4257:18;4249:6;4246:30;4243:50;;;4289:1;4286;4279:12;4243:50;4312:22;;4365:4;4357:13;;4353:27;-1:-1:-1;4343:55:1;;4394:1;4391;4384:12;4343:55;4417:74;4483:7;4478:2;4465:16;4460:2;4456;4452:11;4417:74;:::i;4502:328::-;4579:6;4587;4595;4648:2;4636:9;4627:7;4623:23;4619:32;4616:52;;;4664:1;4661;4654:12;4616:52;4687:29;4706:9;4687:29;:::i;:::-;4677:39;;4735:38;4769:2;4758:9;4754:18;4735:38;:::i;:::-;4725:48;;4820:2;4809:9;4805:18;4792:32;4782:42;;4502:328;;;;;:::o;4835:248::-;4903:6;4911;4964:2;4952:9;4943:7;4939:23;4935:32;4932:52;;;4980:1;4977;4970:12;4932:52;-1:-1:-1;;5003:23:1;;;5073:2;5058:18;;;5045:32;;-1:-1:-1;4835:248:1:o;5088:254::-;5156:6;5164;5217:2;5205:9;5196:7;5192:23;5188:32;5185:52;;;5233:1;5230;5223:12;5185:52;5269:9;5256:23;5246:33;;5298:38;5332:2;5321:9;5317:18;5298:38;:::i;5347:615::-;5433:6;5441;5494:2;5482:9;5473:7;5469:23;5465:32;5462:52;;;5510:1;5507;5500:12;5462:52;5550:9;5537:23;5579:18;5620:2;5612:6;5609:14;5606:34;;;5636:1;5633;5626:12;5606:34;5674:6;5663:9;5659:22;5649:32;;5719:7;5712:4;5708:2;5704:13;5700:27;5690:55;;5741:1;5738;5731:12;5690:55;5781:2;5768:16;5807:2;5799:6;5796:14;5793:34;;;5823:1;5820;5813:12;5793:34;5876:7;5871:2;5861:6;5858:1;5854:14;5850:2;5846:23;5842:32;5839:45;5836:65;;;5897:1;5894;5887:12;5836:65;5928:2;5920:11;;;;;5950:6;;-1:-1:-1;5347:615:1;;-1:-1:-1;;;;5347:615:1:o;5967:160::-;6032:20;;6088:13;;6081:21;6071:32;;6061:60;;6117:1;6114;6107:12;6132:180;6188:6;6241:2;6229:9;6220:7;6216:23;6212:32;6209:52;;;6257:1;6254;6247:12;6209:52;6280:26;6296:9;6280:26;:::i;6317:632::-;6488:2;6540:21;;;6610:13;;6513:18;;;6632:22;;;6459:4;;6488:2;6711:15;;;;6685:2;6670:18;;;6459:4;6754:169;6768:6;6765:1;6762:13;6754:169;;;6829:13;;6817:26;;6898:15;;;;6863:12;;;;6790:1;6783:9;6754:169;;;-1:-1:-1;6940:3:1;;6317:632;-1:-1:-1;;;;;;6317:632:1:o;6954:254::-;7019:6;7027;7080:2;7068:9;7059:7;7055:23;7051:32;7048:52;;;7096:1;7093;7086:12;7048:52;7119:29;7138:9;7119:29;:::i;:::-;7109:39;;7167:35;7198:2;7187:9;7183:18;7167:35;:::i;7213:667::-;7308:6;7316;7324;7332;7385:3;7373:9;7364:7;7360:23;7356:33;7353:53;;;7402:1;7399;7392:12;7353:53;7425:29;7444:9;7425:29;:::i;:::-;7415:39;;7473:38;7507:2;7496:9;7492:18;7473:38;:::i;:::-;7463:48;;7558:2;7547:9;7543:18;7530:32;7520:42;;7613:2;7602:9;7598:18;7585:32;7640:18;7632:6;7629:30;7626:50;;;7672:1;7669;7662:12;7626:50;7695:22;;7748:4;7740:13;;7736:27;-1:-1:-1;7726:55:1;;7777:1;7774;7767:12;7726:55;7800:74;7866:7;7861:2;7848:16;7843:2;7839;7835:11;7800:74;:::i;:::-;7790:84;;;7213:667;;;;;;;:::o;7885:326::-;7961:6;7969;7977;8030:2;8018:9;8009:7;8005:23;8001:32;7998:52;;;8046:1;8043;8036:12;7998:52;8082:9;8069:23;8059:33;;8111:38;8145:2;8134:9;8130:18;8111:38;:::i;:::-;8101:48;;8168:37;8201:2;8190:9;8186:18;8168:37;:::i;:::-;8158:47;;7885:326;;;;;:::o;8216:260::-;8284:6;8292;8345:2;8333:9;8324:7;8320:23;8316:32;8313:52;;;8361:1;8358;8351:12;8313:52;8384:29;8403:9;8384:29;:::i;:::-;8374:39;;8432:38;8466:2;8455:9;8451:18;8432:38;:::i;8481:380::-;8560:1;8556:12;;;;8603;;;8624:61;;8678:4;8670:6;8666:17;8656:27;;8624:61;8731:2;8723:6;8720:14;8700:18;8697:38;8694:161;;8777:10;8772:3;8768:20;8765:1;8758:31;8812:4;8809:1;8802:15;8840:4;8837:1;8830:15;8694:161;;8481:380;;;:::o;8992:545::-;9094:2;9089:3;9086:11;9083:448;;;9130:1;9155:5;9151:2;9144:17;9200:4;9196:2;9186:19;9270:2;9258:10;9254:19;9251:1;9247:27;9241:4;9237:38;9306:4;9294:10;9291:20;9288:47;;;-1:-1:-1;9329:4:1;9288:47;9384:2;9379:3;9375:12;9372:1;9368:20;9362:4;9358:31;9348:41;;9439:82;9457:2;9450:5;9447:13;9439:82;;;9502:17;;;9483:1;9472:13;9439:82;;9713:1352;9839:3;9833:10;9866:18;9858:6;9855:30;9852:56;;;9888:18;;:::i;:::-;9917:97;10007:6;9967:38;9999:4;9993:11;9967:38;:::i;:::-;9961:4;9917:97;:::i;:::-;10069:4;;10133:2;10122:14;;10150:1;10145:663;;;;10852:1;10869:6;10866:89;;;-1:-1:-1;10921:19:1;;;10915:26;10866:89;-1:-1:-1;;9670:1:1;9666:11;;;9662:24;9658:29;9648:40;9694:1;9690:11;;;9645:57;10968:81;;10115:944;;10145:663;8939:1;8932:14;;;8976:4;8963:18;;-1:-1:-1;;10181:20:1;;;10299:236;10313:7;10310:1;10307:14;10299:236;;;10402:19;;;10396:26;10381:42;;10494:27;;;;10462:1;10450:14;;;;10329:19;;10299:236;;;10303:3;10563:6;10554:7;10551:19;10548:201;;;10624:19;;;10618:26;-1:-1:-1;;10707:1:1;10703:14;;;10719:3;10699:24;10695:37;10691:42;10676:58;10661:74;;10548:201;-1:-1:-1;;;;;10795:1:1;10779:14;;;10775:22;10762:36;;-1:-1:-1;9713:1352:1:o;11070:127::-;11131:10;11126:3;11122:20;11119:1;11112:31;11162:4;11159:1;11152:15;11186:4;11183:1;11176:15;11202:168;11275:9;;;11306;;11323:15;;;11317:22;;11303:37;11293:71;;11344:18;;:::i;11507:217::-;11547:1;11573;11563:132;;11617:10;11612:3;11608:20;11605:1;11598:31;11652:4;11649:1;11642:15;11680:4;11677:1;11670:15;11563:132;-1:-1:-1;11709:9:1;;11507:217::o;11729:125::-;11794:9;;;11815:10;;;11812:36;;;11828:18;;:::i;11859:344::-;12061:2;12043:21;;;12100:2;12080:18;;;12073:30;-1:-1:-1;;;12134:2:1;12119:18;;12112:50;12194:2;12179:18;;11859:344::o;12418:127::-;12479:10;12474:3;12470:20;12467:1;12460:31;12510:4;12507:1;12500:15;12534:4;12531:1;12524:15;12550:135;12589:3;12610:17;;;12607:43;;12630:18;;:::i;:::-;-1:-1:-1;12677:1:1;12666:13;;12550:135::o;13751:128::-;13818:9;;;13839:11;;;13836:37;;;13853:18;;:::i;14648:1256::-;14872:3;14910:6;14904:13;14936:4;14949:64;15006:6;15001:3;14996:2;14988:6;14984:15;14949:64;:::i;:::-;15076:13;;15035:16;;;;15098:68;15076:13;15035:16;15133:15;;;15098:68;:::i;:::-;15255:13;;15188:20;;;15228:1;;15293:36;15255:13;15293:36;:::i;:::-;15348:1;15365:18;;;15392:141;;;;15547:1;15542:337;;;;15358:521;;15392:141;-1:-1:-1;;15427:24:1;;15413:39;;15504:16;;15497:24;15483:39;;15472:51;;;-1:-1:-1;15392:141:1;;15542:337;15573:6;15570:1;15563:17;15621:2;15618:1;15608:16;15646:1;15660:169;15674:8;15671:1;15668:15;15660:169;;;15756:14;;15741:13;;;15734:37;15799:16;;;;15691:10;;15660:169;;;15664:3;;15860:8;15853:5;15849:20;15842:27;;15358:521;-1:-1:-1;15895:3:1;;14648:1256;-1:-1:-1;;;;;;;;;;14648:1256:1:o;16554:489::-;-1:-1:-1;;;;;16823:15:1;;;16805:34;;16875:15;;16870:2;16855:18;;16848:43;16922:2;16907:18;;16900:34;;;16970:3;16965:2;16950:18;;16943:31;;;16748:4;;16991:46;;17017:19;;17009:6;16991:46;:::i;:::-;16983:54;16554:489;-1:-1:-1;;;;;;16554:489:1:o;17048:249::-;17117:6;17170:2;17158:9;17149:7;17145:23;17141:32;17138:52;;;17186:1;17183;17176:12;17138:52;17218:9;17212:16;17237:30;17261:5;17237:30;:::i

Swarm Source

ipfs://3b79114586e9634067692912150b1b84eaa2244d868efde4bed06e69d68396b5
Loading...
Loading
Loading...
Loading
[ 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.