Skip to content

Commit

Permalink
Merge pull request #877 from morpho-org/feat/wrong-comments
Browse files Browse the repository at this point in the history
feat(comments): wrong comments in Morpho.sol
  • Loading branch information
MerlinEgalite committed Oct 13, 2023
2 parents 6935ade + 158f8af commit 5acc62c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Morpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ contract Morpho is IMorpho, MorphoGetters, MorphoSetters {
}

/// @notice Repays `amount` of `underlying` on behalf of `onBehalf`.
/// If sender is not `onBehalf`, sender must have previously been approved by `onBehalf` using `approveManager`.
/// @param underlying The address of the underlying asset to borrow.
/// @param amount The amount of `underlying` to repay.
/// @param onBehalf The address whose position will be repaid.
Expand Down Expand Up @@ -172,6 +171,7 @@ contract Morpho is IMorpho, MorphoGetters, MorphoSetters {
}

/// @notice Withdraws `amount` of `underlying` on behalf of `onBehalf`.
/// If sender is not `onBehalf`, sender must have previously been approved by `onBehalf` using `approveManager`.
/// @param underlying The address of the underlying asset to withdraw.
/// @param amount The amount of `underlying` to withdraw.
/// @param onBehalf The address whose position will be withdrawn.
Expand All @@ -188,6 +188,7 @@ contract Morpho is IMorpho, MorphoGetters, MorphoSetters {
}

/// @notice Withdraws `amount` of `underlying` collateral on behalf of `onBehalf`.
/// If sender is not `onBehalf`, sender must have previously been approved by `onBehalf` using `approveManager`.
/// @param underlying The address of the underlying asset to withdraw.
/// @param amount The amount of `underlying` to withdraw.
/// @param onBehalf The address whose position will be withdrawn.
Expand Down

0 comments on commit 5acc62c

Please sign in to comment.