From f1efb80d07bcbf64e7adee20fb1c86ed21aeb863 Mon Sep 17 00:00:00 2001 From: MathisGD Date: Fri, 3 Jan 2025 18:56:05 +0100 Subject: [PATCH 1/2] docs: minor fixes --- README.md | 2 +- src/interfaces/IMetaMorphoV1_1.sol | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 9b0de9f3..700f861e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > [!NOTE] > This repo is a fork of [metamorpho](https://github.com/morpho-org/metamorpho), with 4 changes: > -> - this MetaMorpho vault does not realize the bad debt (more on this [here](https://github.com/morpho-org/metamorpho-no-bad-debt-realization/blob/d16ecfed0da4b4c51ed65c2eba865f5623c2242b/src/interfaces/IMetaMorphoV1_1.sol#L81)); +> - this MetaMorpho vault does not realize the bad debt (more on this [here](https://github.com/morpho-org/metamorpho-no-bad-debt-realization/blob/d16ecfed0da4b4c51ed65c2eba865f5623c2242b/src/interfaces/IMetaMorpho.sol#L81)); > - the timelock can be set to zero at deployment; > - the name and symbol are mutable; > - `reallocate` always reverts if the market is not enabled in the vault. diff --git a/src/interfaces/IMetaMorphoV1_1.sol b/src/interfaces/IMetaMorphoV1_1.sol index b7e97254..e5c21061 100644 --- a/src/interfaces/IMetaMorphoV1_1.sol +++ b/src/interfaces/IMetaMorphoV1_1.sol @@ -70,9 +70,6 @@ interface IMetaMorphoV1_1Base { function withdrawQueueLength() external view returns (uint256); /// @notice Stores the total assets managed by this vault when the fee was last accrued. - /// @dev May be greater than `totalAssets()` due to removal of markets with non-zero supply or socialized bad debt. - /// This difference will decrease the fee accrued until one of the functions updating `lastTotalAssets` is - /// triggered (deposit/mint/withdraw/redeem/setFee/setFeeRecipient). function lastTotalAssets() external view returns (uint256); /// @notice Stores the missing assets due to realized bad debt or forced market removal. From 823bcca948747e2581a9563a7e47d3a266e0e60a Mon Sep 17 00:00:00 2001 From: MathisGD Date: Fri, 3 Jan 2025 18:59:20 +0100 Subject: [PATCH 2/2] docs: better link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 700f861e..848f86c0 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > [!NOTE] > This repo is a fork of [metamorpho](https://github.com/morpho-org/metamorpho), with 4 changes: > -> - this MetaMorpho vault does not realize the bad debt (more on this [here](https://github.com/morpho-org/metamorpho-no-bad-debt-realization/blob/d16ecfed0da4b4c51ed65c2eba865f5623c2242b/src/interfaces/IMetaMorpho.sol#L81)); +> - this MetaMorpho vault does not realize the bad debt (more on this [here](https://github.com/morpho-org/metamorpho-v1.1/blob/main/src/interfaces/IMetaMorphoV1_1.sol#L78-L81)); > - the timelock can be set to zero at deployment; > - the name and symbol are mutable; > - `reallocate` always reverts if the market is not enabled in the vault.