Skip to main content

BatchLockup

Git Source

Namespace for the structs used in SablierBatchLockup contract.

Structs

CreateWithDurationsLD

A struct encapsulating all parameters of SablierLockupDynamic.createWithDurationsLD except for the token.

struct CreateWithDurationsLD {
address sender;
address recipient;
uint128 depositAmount;
bool cancelable;
bool transferable;
LockupDynamic.SegmentWithDuration[] segmentsWithDuration;
string shape;
}

CreateWithDurationsLL

A struct encapsulating all parameters of SablierLockupLinear.createWithDurationsLL except for the token.

struct CreateWithDurationsLL {
address sender;
address recipient;
uint128 depositAmount;
bool cancelable;
bool transferable;
LockupLinear.Durations durations;
LockupLinear.UnlockAmounts unlockAmounts;
string shape;
}

CreateWithDurationsLT

A struct encapsulating all parameters of SablierLockupTranched.createWithDurationsLT except for the token.

struct CreateWithDurationsLT {
address sender;
address recipient;
uint128 depositAmount;
bool cancelable;
bool transferable;
LockupTranched.TrancheWithDuration[] tranchesWithDuration;
string shape;
}

CreateWithTimestampsLD

A struct encapsulating all parameters of SablierLockupDynamic.createWithTimestampsLD except for the token.

struct CreateWithTimestampsLD {
address sender;
address recipient;
uint128 depositAmount;
bool cancelable;
bool transferable;
uint40 startTime;
LockupDynamic.Segment[] segments;
string shape;
}

CreateWithTimestampsLL

A struct encapsulating all parameters of SablierLockupLinear.createWithTimestampsLL except for the token.

struct CreateWithTimestampsLL {
address sender;
address recipient;
uint128 depositAmount;
bool cancelable;
bool transferable;
Lockup.Timestamps timestamps;
uint40 cliffTime;
LockupLinear.UnlockAmounts unlockAmounts;
string shape;
}

CreateWithTimestampsLT

A struct encapsulating all parameters of SablierLockupTranched.createWithTimestampsLT except for the token.

struct CreateWithTimestampsLT {
address sender;
address recipient;
uint128 depositAmount;
bool cancelable;
bool transferable;
uint40 startTime;
LockupTranched.Tranche[] tranches;
string shape;
}