Skip to content

Commit

Permalink
IERC4626.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
Anon-im committed Dec 25, 2024
1 parent 89577f0 commit 283f85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions with-foundry/lib/forge-std/src/interfaces/IERC4626.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 283f85a

Please sign in to comment.