Skip to main content

BatchLockup

Git Source

Structs

CancelMultiple

A struct encapsulating the lockup contract's address and the stream ids to cancel.

struct CancelMultiple {
ISablierV2Lockup lockup;
uint256[] streamIds;
}

CreateWithDurationsLD

A struct encapsulating all parameters of {SablierV2LockupDynamic.createWithDurations} except for the asset.

struct CreateWithDurationsLD {
address sender;
address recipient;
uint128 totalAmount;
bool cancelable;
bool transferable;
LockupDynamic.SegmentWithDuration[] segments;
Broker broker;
}

CreateWithDurationsLL

A struct encapsulating all parameters of {SablierV2LockupLinear.createWithDurations} except for the asset.

struct CreateWithDurationsLL {
address sender;
address recipient;
uint128 totalAmount;
bool cancelable;
bool transferable;
LockupLinear.Durations durations;
Broker broker;
}

CreateWithDurationsLT

A struct encapsulating all parameters of {SablierV2LockupTranched.createWithDurations} except for the asset.

struct CreateWithDurationsLT {
address sender;
address recipient;
uint128 totalAmount;
bool cancelable;
bool transferable;
LockupTranched.TrancheWithDuration[] tranches;
Broker broker;
}

CreateWithTimestampsLD

A struct encapsulating all parameters of {SablierV2LockupDynamic.createWithTimestamps} except for the asset.

struct CreateWithTimestampsLD {
address sender;
address recipient;
uint128 totalAmount;
bool cancelable;
bool transferable;
uint40 startTime;
LockupDynamic.Segment[] segments;
Broker broker;
}

CreateWithTimestampsLL

A struct encapsulating all parameters of {SablierV2LockupLinear.createWithTimestamps} except for the asset.

struct CreateWithTimestampsLL {
address sender;
address recipient;
uint128 totalAmount;
bool cancelable;
bool transferable;
LockupLinear.Timestamps timestamps;
Broker broker;
}

CreateWithTimestampsLT

A struct encapsulating all parameters of {SablierV2LockupTranched.createWithTimestamps} except for the asset.

struct CreateWithTimestampsLT {
address sender;
address recipient;
uint128 totalAmount;
bool cancelable;
bool transferable;
uint40 startTime;
LockupTranched.Tranche[] tranches;
Broker broker;
}