Skip to content

Commit 5296536

Browse files
authored
fix(IERC7575): fix grammatical errors and typos in comments (#782)
1 parent e3386f2 commit 5296536

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/interfaces/IERC7575.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ interface IERC7575 is IERC165 {
9999
* - MUST emit the Deposit event.
100100
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
101101
* deposit execution, and are accounted for during deposit.
102-
* - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not
102+
* - MUST revert if all assets cannot be deposited (due to deposit limit being reached, slippage, the user not
103103
* approving enough underlying tokens to the Vault contract, etc).
104104
*
105105
* NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
@@ -137,7 +137,7 @@ interface IERC7575 is IERC165 {
137137
* - MUST emit the Deposit event.
138138
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint
139139
* execution, and are accounted for during mint.
140-
* - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not
140+
* - MUST revert if all shares cannot be minted (due to deposit limit being reached, slippage, the user not
141141
* approving enough underlying tokens to the Vault contract, etc).
142142
*
143143
* NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
@@ -177,7 +177,7 @@ interface IERC7575 is IERC165 {
177177
* - MUST emit the Withdraw event.
178178
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
179179
* withdraw execution, and are accounted for during withdraw.
180-
* - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner
180+
* - MUST revert if all assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner
181181
* not having enough shares, etc).
182182
*
183183
* Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
@@ -196,7 +196,7 @@ interface IERC7575 is IERC165 {
196196
function maxRedeem(address owner) external view returns (uint256 maxShares);
197197

198198
/**
199-
* @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,
199+
* @dev Allows an on-chain or off-chain user to simulate the effects of their redemption at the current block,
200200
* given current on-chain conditions.
201201
*
202202
* - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call
@@ -218,7 +218,7 @@ interface IERC7575 is IERC165 {
218218
* - MUST emit the Withdraw event.
219219
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
220220
* redeem execution, and are accounted for during redeem.
221-
* - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner
221+
* - MUST revert if all shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner
222222
* not having enough shares, etc).
223223
*
224224
* NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.

0 commit comments

Comments
 (0)