Interface Timelock

Represents a timelock with its associated information.

Hierarchy

  • Timelock

Properties

vault: Vault

The vault where the tokens are locked.

token: string

The token address being locked.

owner: string

The owner of the timelock.

locked: bigint

The total amount of tokens locked in the timelock.

unlocked: bigint

The total amount of tokens already unlocked.

unlocks: Unlock[]

An array of unlock events (Unlocks) associated with the timelock.

description?: string

(Optional) A description of the timelock.

isLpToken?: boolean

(Optional) Indicates if the token is an LP (liquidity provider) token.

date: Date

The date when the timelock was created.

Generated using TypeDoc