SablierMerkleLockup
Inherits: ISablierMerkleLockup, SablierMerkleBase
Title: SablierMerkleLockup
See the documentation in ISablierMerkleLockup.
State Variables
SABLIER_LOCKUP
The address of the SablierLockup contract.
ISablierLockup public immutable override SABLIER_LOCKUP
STREAM_CANCELABLE
A flag indicating whether the streams can be canceled.
This is an immutable state variable.
bool public immutable override STREAM_CANCELABLE
STREAM_TRANSFERABLE
A flag indicating whether the stream NFTs are transferable.
This is an immutable state variable.
bool public immutable override STREAM_TRANSFERABLE
streamShape
Retrieves the shape of the Lockup stream created upon claiming.
string public override streamShape
_claimedStreams
A mapping between recipient addresses and Lockup streams created through the claim function.
mapping(address recipient => uint256[] streamIds) internal _claimedStreams
Functions
constructor
Constructs the contract by initializing the immutable state vars, and max approving the Lockup contract.
constructor(MerkleLockup.ConstructorParams memory lockupParams) ;
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 override returns (uint256[] memory);