ERC4337 Data Libs
SentinelList
SentinelListLib
safePush

safePush

Add an item to the list and initialize it if it is not initialized.

Usage

list.safePush(address(newEntry));

Parameters

self

  • Type: SentinelList

The storage pointer of the list.

newEntry

  • Type: address

The entry to be added to the list.

Returns

None