Skip to content

Commit

Permalink
Update src/MetaMorpho.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Romain Milon <[email protected]>
Signed-off-by: Adrien Husson <[email protected]>
  • Loading branch information
adhusson and Rubilmax authored Dec 11, 2023
1 parent bb4a853 commit 48dc3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetaMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ contract MetaMorpho is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorph
/// @notice Sets the withdraw queue as a permutation of the previous one, although markets with both zero cap and
/// zero vault's supply can be removed from the permutation.
/// @notice This is the only entry point to disable a market.
/// @notice Removing a market requires the vault to have 0 supply on it; but anyone can supply on behalf of the
/// @notice Removing a market prior to its removal timestamp requires the vault to have 0 supply on it; but anyone can supply on behalf of the
/// vault so the call to `updateWithdrawQueue` can be griefed by a frontrun. To circumvent this, the allocator can
/// simply bundle a reallocation that withdraws max from this market with a call to `updateWithdrawQueue`.
/// @param indexes The indexes of each market in the previous withdraw queue, in the new withdraw queue's order.
Expand Down

0 comments on commit 48dc3b3

Please sign in to comment.