Skip to content

Commit

Permalink
Fix reward splitter docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Jun 20, 2024
1 parent 6f442d5 commit ed1a44f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/interfaces/IRewardSplitter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ interface IRewardSplitter is IMulticall {

/**
* @notice Retrieves the amount of splitter shares for the given account.
The shares are used to calculate the amount of rewards the account is entitled to.
* The shares are used to calculate the amount of rewards the account is entitled to.
* @param account The address of the account to get shares for
*/
function sharesOf(address account) external view returns (uint256);

/**
* @notice Retrieves the amount of rewards the account is entitled to.
The rewards are calculated based on the amount of shares the account has.
Note, rewards must be synced using the `syncRewards` function.
* The rewards are calculated based on the amount of shares the account has.
* Note, rewards must be synced using the `syncRewards` function.
* @param account The address of the account to get rewards for
*/
function rewardsOf(address account) external view returns (uint256);
Expand Down

0 comments on commit ed1a44f

Please sign in to comment.