Skip to main content

Tranche

Used in Merkle Lockup campaigns for the vesting schedule.

type Tranche {
id: String!
campaign: Campaign!
duration: BigInt!
endDuration: BigInt!
endPercentage: BigInt!
percentage: BigInt!
position: BigInt!
startDuration: BigInt!
startPercentage: BigInt!
}

Fields

Tranche.id ● String! non-null scalar

Unique identifier: {campaignId}-{position}

Tranche.campaign ● Campaign! non-null object

The campaign in which this tranche was created.

Tranche.duration ● BigInt! non-null scalar

Duration of the tranche, in seconds.

Tranche.endDuration ● BigInt! non-null scalar

Total duration accrued at the end of the tranche. This is the sum of this tranche's duration and all previous tranches' durations.

Tranche.endPercentage ● BigInt! non-null scalar

Total percentage unlocked at the end of the tranche. This is the sum of this tranche's percentage and all previous tranches' percentages.

Tranche.percentage ● BigInt! non-null scalar

Percentage of the total amount unlocked by this tranche.

Tranche.position ● BigInt! non-null scalar

Position of the tranche inside the array.

Tranche.startDuration ● BigInt! non-null scalar

Total duration accrued at the start of the tranche. This is the sum of all previous tranches' durations.

Tranche.startPercentage ● BigInt! non-null scalar

Total percentage unlocked at the start of the tranche. This is the sum of all previous tranches' percentages.