From d0b536f59dfb7f80877c5327c3e928072ba5b9bc Mon Sep 17 00:00:00 2001 From: MerlinEgalite Date: Thu, 19 Oct 2023 17:34:26 +0200 Subject: [PATCH] docs: mention that the allocator can withdraw from any market --- src/MetaMorpho.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MetaMorpho.sol b/src/MetaMorpho.sol index b64f6656..e5866bfb 100644 --- a/src/MetaMorpho.sol +++ b/src/MetaMorpho.sol @@ -328,6 +328,8 @@ contract MetaMorpho is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorph /// @notice Reallocates the vault's liquidity by withdrawing some (based on `withdrawn`) then supplying (based on /// `supplied`). + /// @dev The allocator can withdraw from any market, even if it's not in the withdraw queue, as long as the loan + /// token of the market is the same as the vault's asset. function reallocate(MarketAllocation[] calldata withdrawn, MarketAllocation[] calldata supplied) external onlyAllocator