Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[fix] Cap cashflow projections at each stream's remaining deposit

Đã đóng
#1,705 4 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 7 ngày

@intelliDean đang làm issue này rồi.

Từ ngày 21/10/2026.

  • #1716 của @intelliDean — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug frontend points: 150 Stellar Wave

Labels: bug, frontend, points: 150
File/location: frontend/src/utils/cashflowCalculations.ts:29

Description:
Projection adds a full day's rate for every active stream on every future day without tracking remaining balances. An incoming stream with only one day funded continues generating income across a 90-day chart.

Acceptance Criteria:

  • Limit each stream's projected contribution to its unvested remaining deposit and stop its flow after depletion.
  • Test a one-day-funded incoming stream over 90 days and mixed streams that deplete on different days, including a partial final day.

Notes:
Executed projectCashflow: a stream funded with 86400 units at one unit/second projected 259200 units by day three.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1197. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
83

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.