v2-core icon indicating copy to clipboard operation
v2-core copied to clipboard

Allow end time of lockup streams to be in the past

Open smol-ninja opened this issue 7 months ago • 0 comments

Refer to discussion https://github.com/sablier-labs/v2-periphery/discussions/369 for historical context.

Lockup Linear

Allow end time to be in the past by removing if (blockTimestamp >= timestamps.end) check.

Lockup Dynamic

Allow the timestamp of the last segment to be in the past by removing if (blockTimestamp >= currentSegmentTimestamp) check.

Lockup Tranched

Allow the timestamp of the last tranche to be in the past by removing if (blockTimestamp >= currentTrancheTimestamp) check.

smol-ninja avatar Jul 24 '24 21:07 smol-ninja