Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: reorder struct fields #248

Merged
merged 3 commits into from
Dec 31, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/types/DataTypes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ library Batch {
/// @notice A struct encapsulating all parameters of {SablierV2LockupDynamic.createWithDelta} except for the asset.
struct CreateWithDeltas {
address sender;
bool cancelable;
bool transferable;
address recipient;
uint128 totalAmount;
Broker broker;
bool cancelable;
bool transferable;
LockupDynamic.SegmentWithDelta[] segments;
Broker broker;
}

/// @notice A struct encapsulating all parameters of {SablierV2LockupLinear.createWithDurations} except for the
Expand All @@ -38,13 +38,13 @@ library Batch {
/// asset.
struct CreateWithMilestones {
address sender;
address recipient;
uint128 totalAmount;
uint40 startTime;
bool cancelable;
bool transferable;
address recipient;
uint128 totalAmount;
Broker broker;
LockupDynamic.Segment[] segments;
Broker broker;
}

/// @notice A struct encapsulating all parameters of {SablierV2LockupLinear.createWithRange} except for the asset.
Expand Down
Loading