Skip to main content

Tranches

Definition

A Lockup Tranched stream can be composed of multiple tranches, which are separate partitions with different amounts and durations. The protocol uses these tranches to enable traditional vesting curve with regular unlocks of amounts.

A tranche is a struct with two fields:

FieldTypeDescription
Amountuint128The amount of assets to be unlocked in a tranche, denoted in units of the asset's decimals.
Timestampuint40The Unix timestamp indicating the tranche's end.

The streaming function of a Lockup tranched stream:

f(x)=Σ(eta)f(x) = \Sigma(eta)

Where:

  • Σ(eta)\Sigma(eta) is the sum of all vested tranches' amounts.

Requirements