SablierLockup
Inherits: ISablierLockup, SablierLockupBase
See the documentation in ISablierLockup.
State Variables
MAX_COUNT
The maximum number of segments and tranches allowed in Dynamic and Tranched streams respectively.
This is initialized at construction time and cannot be changed later.
uint256 public immutable override MAX_COUNT;
_cliffs
Cliff timestamp mapped by stream IDs. This is used in Lockup Linear models.
mapping(uint256 streamId => uint40 cliffTime) internal _cliffs;
_segments
Stream segments mapped by stream IDs. This is used in Lockup Dynamic models.
mapping(uint256 streamId => LockupDynamic.Segment[] segments) internal _segments;
_tranches
Stream tranches mapped by stream IDs. This is used in Lockup Tranched models.
mapping(uint256 streamId => LockupTranched.Tranche[] tranches) internal _tranches;
_unlockAmounts
Unlock amounts mapped by stream IDs. This is used in Lockup Linear models.
mapping(uint256 streamId => LockupLinear.UnlockAmounts unlockAmounts) internal _unlockAmounts;