Skip to content

Commit

Permalink
docs(protocol): update the return params names for "getStream"
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Dec 25, 2019
1 parent ec700ce commit 600322c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/protocol/contracts/Sablier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ contract Sablier is IERC1620, OwnableWithoutRenounce, PausableWithoutRenounce, E
* between `stopTime` and `startTime, whichever is smaller. If `block.timestamp` is before
* `startTime`, it returns 0.
* @dev Throws if the id does not point to a valid stream.
* @param streamId The id of the stream for whom to query the delta.
* @param streamId The id of the stream for which to query the delta.
* @return The time delta in seconds.
*/
function deltaOf(uint256 streamId) public view streamExists(streamId) returns (uint256 delta) {
Expand All @@ -244,8 +244,8 @@ contract Sablier is IERC1620, OwnableWithoutRenounce, PausableWithoutRenounce, E
/**
* @notice Returns the available funds for the given stream id and address.
* @dev Throws if the id does not point to a valid stream.
* @param streamId The id of the stream for whom to query the balance.
* @param who The address for whom to query the balance.
* @param streamId The id of the stream for which to query the balance.
* @param who The address for which to query the balance.
* @return The total funds allocated to `who` as uint256.
*/
function balanceOf(uint256 streamId, address who) public view streamExists(streamId) returns (uint256 balance) {
Expand Down
4 changes: 2 additions & 2 deletions packages/protocol/contracts/interfaces/IERC1620.sol
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ interface IERC1620 {
address token,
uint256 startTime,
uint256 stopTime,
uint256 balance,
uint256 rate
uint256 remainingBalance,
uint256 ratePerSecond
);

function createStream(address recipient, uint256 deposit, address tokenAddress, uint256 startTime, uint256 stopTime)
Expand Down

0 comments on commit 600322c

Please sign in to comment.