Skip to main content

Diagrams

Flow Storage Layout

Each Flow contract is a singleton that stores all streams created by that contract's users. The following diagrams provide insight into the storage layout. To see the list of all storage variables, click here.

Token Balance Actions

 ~

Debts

Ongoing Debt

Uncovered Debt

Notes: A non-zero uncovered debt implies:

  1. bal < sd when the status is PAUSED
  2. bal < sd + od when the status is STREAMING

Covered debt

Refundable Amount