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 4bc19ac
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 @@ -49,6 +49,7 @@ type StreamConfig is uint256;
using StreamConfigImpl for StreamConfig global;

library StreamConfigImpl {
// slither-disable-next-line dead-code
/// @notice Create a new StreamConfig.
/// @param streamId_ An arbitrary number used to identify a stream.
/// It's a part of the configuration but the protocol doesn't use it.
Expand Down Expand Up @@ -85,6 +86,7 @@ library StreamConfigImpl {
return StreamConfig.wrap(config);
}

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

0 comments on commit 4bc19ac

Please sign in to comment.