findPrevious
Finds the previous entry in the list. Currently, this function will only work for the SentinelListLib.
Usage
Parameters
array
- Type:
address[]
The array of entries.
entry
- Type:
address
The entry to find the previous entry for.
Returns
prev
- Type:
address
The previous entry in the list.