Skip to main content

ISablierMerkleLockup

Git Source

Inherits: ISablierMerkleBase

Title: ISablierMerkleLockup

MerkleLockup enables Airstreams (a portmanteau of "airdrop" and "stream"), an airdrop model where the tokens are vested over time, as opposed to being unlocked at once. The vesting is provided by Sablier Lockup.

Common interface between MerkleLL and MerkleLT.

Functions​

SABLIER_LOCKUP​

The address of the SablierLockup contract.

function SABLIER_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 view returns (bool);

STREAM_TRANSFERABLE​

A flag indicating whether the stream NFTs are transferable.

This is an immutable state variable.

function STREAM_TRANSFERABLE() external view returns (bool);

claimedStreams​

Retrieves the stream IDs associated with the airdrops claimed by the provided recipient. In practice, most campaigns will only have one stream per recipient.

function claimedStreams(address recipient) external view returns (uint256[] memory);

streamShape​

Retrieves the shape of the Lockup stream created upon claiming.

function streamShape() external view returns (string memory);