Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ sequenceDiagram

3) Stream Math Model

> **Full derivations, worked examples, and edge cases:** [docs/STREAM_MATH.md](docs/STREAM_MATH.md)

For each stream defined by a total amount ($A_{total}$), a start timestamp ($t_{start}$), and a duration in seconds ($d$), the completion timestamp ($t_{end}$) is calculated as:

$$t_{end} = t_{start} + d$$
Expand Down
4 changes: 4 additions & 0 deletions docs/CONTRACT_BINDINGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This document explains how to generate, version, and consume TypeScript bindings
for the StellarStream Soroban contract. Follow this guide whenever the contract
ABI changes or you are setting up the frontend for the first time.

> **Stream vesting math** — for the formula derivations behind `claimable()`,
> `claim()`, and `cancel()` accounting (including worked examples and edge cases),
> see [STREAM_MATH.md](./STREAM_MATH.md).

---

## Overview
Expand Down
Loading