Skip to content

Commit

Permalink
refactor: reorder struct fields
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Dec 29, 2023
1 parent 1a9e990 commit e0bf533
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 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 All @@ -54,7 +54,7 @@ library Batch {
uint128 totalAmount;
bool cancelable;
bool transferable;
LockupLinear.Range range;
Broker broker;
LockupLinear.Range range;
}
}

0 comments on commit e0bf533

Please sign in to comment.