Skip to main content

BatchLockup

Git Source

Namespace for the structs used in BatchLockup contract.

Structs

CreateWithDurationsLD

A struct encapsulating all parameters of {SablierLockup.createWithDurationsLD} except for the token.

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

CreateWithDurationsLL

A struct encapsulating all parameters of {SablierLockup.createWithDurationsLL} except for the token.

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

CreateWithDurationsLT

A struct encapsulating all parameters of {SablierLockup.createWithDurationsLT} except for the token.

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

CreateWithTimestampsLD

A struct encapsulating all parameters of {SablierLockup.createWithTimestampsLD} except for the token.

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

CreateWithTimestampsLL

A struct encapsulating all parameters of {SablierLockup.createWithTimestampsLL} except for the token.

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

CreateWithTimestampsLT

A struct encapsulating all parameters of {SablierLockup.createWithTimestampsLT} except for the token.

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