Tooling
ModuleKit
Reference
ERC-4337 Data Libs
sentinellist
sentinellistlib
Getnext

⚠️ Deprecation Notice

ModuleKit was developed by Rhinestone and is no longer actively supported. If you're building modules and need assistance, reach out to Rhinestone at gm@rhinestone.dev


title: "getNext"

Get the next entry in the list.

Usage

address next = list.getNext(address(3));

Parameters

self

  • Type: SentinelList

The storage pointer of the list.

entry

  • Type: address

The address to get the next entry from.

Returns

next

  • Type: address

The next entry in the list.