Skip to main content

Tranches

Definition

Analogous to the segments in Lockup Dynamic, a Lockup Tranched stream is composed of multiple tranches with different amounts and durations. The protocol uses these tranches to enable traditional vesting curves with regular unlocks.

Technically, 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 distribution 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