From 283f85a4915c3c5444ae1bc8a2b3b21a802400bc Mon Sep 17 00:00:00 2001 From: Anonim Date: Wed, 25 Dec 2024 23:26:22 +0300 Subject: [PATCH] IERC4626.sol --- with-foundry/lib/forge-std/src/interfaces/IERC4626.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/with-foundry/lib/forge-std/src/interfaces/IERC4626.sol b/with-foundry/lib/forge-std/src/interfaces/IERC4626.sol index bfe3a115..d8506126 100644 --- a/with-foundry/lib/forge-std/src/interfaces/IERC4626.sol +++ b/with-foundry/lib/forge-std/src/interfaces/IERC4626.sol @@ -138,7 +138,7 @@ interface IERC4626 is IERC20 { /// - MUST NOT revert. /// /// NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in - /// share price or some other type of condition, meaning the depositor will lose assets by depositing. + /// share price or some other type of condition, meaning the depositor will lose assets by withdrawing. function previewWithdraw(uint256 assets) external view returns (uint256 shares); /// @notice Burns shares from owner and sends exactly assets of underlying tokens to receiver. @@ -161,7 +161,7 @@ interface IERC4626 is IERC20 { /// - MUST NOT revert. function maxRedeem(address owner) external view returns (uint256 maxShares); - /// @notice Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, + /// @notice Allows an on-chain or off-chain user to simulate the effects of their redemption at the current block, /// given current on-chain conditions. /// @dev /// - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call