Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSandwich committed May 27, 2024
1 parent 6118235 commit b57c22f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Streams.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ library StreamConfigImpl {
/// @param start_ The timestamp when streaming should start.
/// If zero, use the timestamp when the stream is configured.
/// @param duration_ The duration of streaming. If zero, stream until the balance runs out.
// slither-disable-next-line dead-code
function create(uint32 streamId_, uint160 amtPerSec_, uint32 start_, uint32 duration_)
internal
pure
Expand Down Expand Up @@ -86,6 +87,7 @@ library StreamConfigImpl {
}

/// @notice Extracts streamId from a `StreamConfig`
// slither-disable-next-line dead-code
function streamId(StreamConfig config) internal pure returns (uint32) {
// `config` has value:
// `streamId (32 bits) | amtPerSec (160 bits) | start (32 bits) | duration (32 bits)`
Expand Down

0 comments on commit b57c22f

Please sign in to comment.