IBiomapperLogAddressesPerGenerationEnumerator

Git Source

Functions

listAddressesPerGeneration

Retrieves all biomapped accounts within a specified generation.

function listAddressesPerGeneration(uint256 generationPtr, address cursor, uint256 maxPageSize)
    external
    view
    returns (address nextCursor, address[] memory biomappedAccounts);

Parameters

NameTypeDescription
generationPtruint256The block number marking the start of the generation to get the list of biomapped accounts.
cursoraddressThe starting index of the page. For the first request, set cursor to address(0).
maxPageSizeuint256The maximum number of elements to return in this call (also soft-capped in the contract).

Returns

NameTypeDescription
nextCursoraddressThe starting index for the next page of results.
biomappedAccountsaddress[]An array of addresses that were biomapped within a specified generation. Notes: - For the first request, set cursor to address(0) to start from the beginning of the dataset. - If nextCursor is address(0), all available elements have been retrieved, indicating the end of the dataset. - There is a soft cap on the max page size that is implementation-dependent.