Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix natspec (Spearbit #52) #1553

Merged
merged 2 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/aave-v2/MorphoGovernance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ abstract contract MorphoGovernance is MorphoUtils {
/// @notice Emitted when a new market is created.
/// @param _poolToken The address of the market that has been created.
/// @param _reserveFactor The reserve factor set for this market.
/// @param _poolToken The P2P index cursor set for this market.
/// @param _p2pIndexCursor The P2P index cursor set for this market.
event MarketCreated(address indexed _poolToken, uint16 _reserveFactor, uint16 _p2pIndexCursor);

/// ERRORS ///
Expand Down
2 changes: 1 addition & 1 deletion src/compound/MorphoGovernance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ abstract contract MorphoGovernance is MorphoUtils {
/// @notice Emitted when a new market is created.
/// @param _poolToken The address of the market that has been created.
/// @param _reserveFactor The reserve factor set for this market.
/// @param _poolToken The P2P index cursor set for this market.
/// @param _p2pIndexCursor The P2P index cursor set for this market.
event MarketCreated(address indexed _poolToken, uint16 _reserveFactor, uint16 _p2pIndexCursor);

/// ERRORS ///
Expand Down
4 changes: 2 additions & 2 deletions src/compound/MorphoUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ abstract contract MorphoUtils is MorphoStorage {
}

/// @notice Updates the peer-to-peer indexes.
/// @dev Note: This function updates the exchange rate on Compound. As a consequence only a call to exchangeRatesStored() is necessary to get the most up to date exchange rate.
/// @dev Note: This function updates the exchange rate on Compound. As a consequence only a call to exchangeRateStored() is necessary to get the most up to date exchange rate.
/// @param _poolToken The address of the market to update.
function updateP2PIndexes(address _poolToken) external isMarketCreated(_poolToken) {
_updateP2PIndexes(_poolToken);
Expand All @@ -103,7 +103,7 @@ abstract contract MorphoUtils is MorphoStorage {
/// INTERNAL ///

/// @dev Updates the peer-to-peer indexes.
/// @dev Note: This function updates the exchange rate on Compound. As a consequence only a call to exchangeRatesStored() is necessary to get the most up to date exchange rate.
/// @dev Note: This function updates the exchange rate on Compound. As a consequence only a call to exchangeRateStored() is necessary to get the most up to date exchange rate.
/// @param _poolToken The address of the market to update.
function _updateP2PIndexes(address _poolToken) internal {
address(interestRatesManager).functionDelegateCall(
Expand Down