Skip to content

Commit

Permalink
fix: PTP-05 | Missing And Incomplete NatSpec Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chechu committed Sep 20, 2023
1 parent 2825c16 commit 2abb751
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/Tokens/Prime/Prime.sol
Expand Up @@ -280,15 +280,15 @@ contract Prime is IIncomeDestination, AccessControlledV8, PausableUpgradeable, M

/**
* @notice Retrieves an array of all available markets
* @return markets an array of addresses representing all available markets
* @return an array of addresses representing all available markets
*/
function getAllMarkets() external view returns (address[] memory) {
return allMarkets;
}

/**
* @notice accrues interes and updates score of all markets for an user
* @return user the account address for which to accrue interest and update score
* @param user the account address for which to accrue interest and update score
*/
function _accrueInterestAndUpdateScore(address user) internal {
address[] storage _allMarkets = allMarkets;
Expand All @@ -304,8 +304,8 @@ contract Prime is IIncomeDestination, AccessControlledV8, PausableUpgradeable, M

/**
* @notice accrues interes and updates score for an user for a specific market
* @return user the account address for which to accrue interest and update score
* @return market the market for which to accrue interest and update score
* @param user the account address for which to accrue interest and update score
* @param market the market for which to accrue interest and update score
*/
function accrueInterestAndUpdateScore(address user, address market) public {
_executeBoost(user, market);
Expand Down

0 comments on commit 2abb751

Please sign in to comment.