Skip to content

Commit

Permalink
docs: minor fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
  • Loading branch information
MathisGD and MerlinEgalite authored Aug 7, 2024
1 parent 6964669 commit 29dd59b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MetaMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ contract MetaMorpho is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorph
emit EventsLib.AccrueInterest(newTotalAssets, feeShares);
}

/// @dev Computes and return the feeShares to mint, the new totalAssets and the new lostAssets.
/// @dev Computes and returns the `feeShares` to mint, the new `totalAssets` and the new `lostAssets`.
/// @return feeShares the shares to mint to `feeRecipient`.
/// @return newTotalAssets the new totalSupply.
/// @return newLostAssets the new lostAssets.
Expand Down
3 changes: 2 additions & 1 deletion src/interfaces/IMetaMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ interface IMetaMorphoBase {
/// triggered (deposit/mint/withdraw/redeem/setFee/setFeeRecipient).
function lastTotalAssets() external view returns (uint256);

/// @notice Stores the missing assets due to realised bad debt.
/// @notice Stores the missing assets due to realized bad debt.
/// @dev To let vault users recover the lost funds, one can supply directly on the market where the bad debt has been realized on behalf of the vault.
function lostAssets() external view returns (uint256);

/// @notice Submits a `newTimelock`.
Expand Down

0 comments on commit 29dd59b

Please sign in to comment.