the _calculateStreamedAmount()
in lockup dynamic doesn't implement the stream's start time right
in the SablierV2LockupDynamic.sol
contract the _calculateStreamedAmount()
will return 0 if the Stream.startTime
is grater or equal to the timestamp while it should calculate the streamed amount if the start time is equal to the timestamp.
it doesn't impact the logic, but the real start time is actually Stream.startTime + 1 second
.
remove the equal sign in this line:
https://github.com/Cyfrin/2024-05-Sablier/blob/449257087fead2877a72fed5ce042549d81bd5a2/v2-core/src/SablierV2LockupDynamic.sol#L194
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.