LinkedIdList.sol
State Variables
_SENTINEL
uint internal constant _SENTINEL = type(uint).max;Functions
validNewId
modifier validNewId(List storage self, uint id);validId
modifier validId(List storage self, uint id);validPosition
onlyConsecutiveIds
validMoveParameter
init
length
lastId
listIds
Name
Type
Description
Name
Type
Description
isExistingId
Name
Type
Description
getPreviousId
Name
Type
Description
getNextId
Name
Type
Description
addId
Name
Type
Description
removeId
Name
Type
Description
moveIdInList
Name
Type
Description
Errors
Library__LinkedIdList__InvalidId
Library__LinkedIdList__InvalidNewId
Library__LinkedIdList__InvalidPosition
Library__LinkedIdList__IdNotConsecutive
Library__LinkedIdList__InvalidIntermediatePosition
Structs
List
Name
Type
Description
Last updated