Skip to content

#14 Issue 14: [Logic] Periodic Vesting Steps #14

@JerryIdoko

Description

@JerryIdoko

Description:
Some contracts require "Monthly" vesting (step function) instead of "Streaming" (linear). Add a step_duration parameter (e.g., 30 days).
Acceptance Criteria:

[ ] If step_duration > 0, calculate vested = (elapsed / step_duration) * rate * step_duration.

[ ] Round down to the nearest month.
Priority: Medium
Labels: feature, math

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions