Skip to content

Commit

Permalink
chore: specify number values in @Custom field
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivladbrg committed Dec 21, 2023
1 parent 4132a38 commit c1cca89
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/types/DataTypes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ library Lockup {
}

/// @notice Enum representing the different statuses of a stream.
/// @custom:value PENDING Stream created but not started; assets are in a pending state.
/// @custom:value STREAMING Active stream where assets are currently being streamed.
/// @custom:value SETTLED All assets have been streamed; recipient is due to withdraw them.
/// @custom:value CANCELED Canceled stream; remaining assets await recipient's withdrawal.
/// @custom:value DEPLETED Depleted stream; all assets have been withdrawn and/or refunded.
/// @custom:value0 PENDING Stream created but not started; assets are in a pending state.
/// @custom:value1 STREAMING Active stream where assets are currently being streamed.
/// @custom:value2 SETTLED All assets have been streamed; recipient is due to withdraw them.
/// @custom:value3 CANCELED Canceled stream; remaining assets await recipient's withdrawal.
/// @custom:value4 DEPLETED Depleted stream; all assets have been withdrawn and/or refunded.
enum Status {
PENDING, // value 0
STREAMING, // value 1
SETTLED, // value 2
CANCELED, // value 3
DEPLETED // value 4
PENDING,
STREAMING,
SETTLED,
CANCELED,
DEPLETED
}
}

Expand Down

0 comments on commit c1cca89

Please sign in to comment.