Skip to main content

ISablierMerkleLT

Git Source

Inherits: ISablierMerkleBase

Merkle Lockup enables airdrops with a vesting period powered by the Lockup Tranched distribution model.

Functions

LOCKUP

The address of the SablierLockup contract.

function LOCKUP() external view returns (ISablierLockup);

STREAM_CANCELABLE

A flag indicating whether the streams can be canceled.

This is an immutable state variable.

function STREAM_CANCELABLE() external returns (bool);

STREAM_START_TIME

The start time of the streams created through {SablierMerkleBase.claim} function.

A start time value of zero will be treated as block.timestamp.

function STREAM_START_TIME() external returns (uint40);

STREAM_TRANSFERABLE

A flag indicating whether the stream NFTs are transferable.

This is an immutable state variable.

function STREAM_TRANSFERABLE() external returns (bool);

TOTAL_PERCENTAGE

The total percentage of the tranches.

function TOTAL_PERCENTAGE() external view returns (uint64);

getTranchesWithPercentages

Retrieves the tranches with their respective unlock percentages and durations.

function getTranchesWithPercentages() external view returns (MerkleLT.TrancheWithPercentage[] memory);

Events

Claim

Emitted when a recipient claims a stream.

event Claim(uint256 index, address indexed recipient, uint128 amount, uint256 indexed streamId);