Skip to content

Commit ece92c8

Browse files
authored
Merge pull request #14365 from alcueca/patch-2
Fix `maxDeposit` and `maxMint` on the 4626 page
2 parents 0acbe1c + 076a8cb commit ece92c8

File tree

1 file changed

+2
-2
lines changed
  • public/content/developers/docs/standards/tokens/erc-4626

1 file changed

+2
-2
lines changed

public/content/developers/docs/standards/tokens/erc-4626/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ This function returns the amount of `assets` that would be exchanged by the vaul
7878
function maxDeposit(address receiver) public view returns (uint256 maxAssets)
7979
```
8080

81-
This function returns the maximum amount of underlying assets that can be deposited in a single [`deposit`](#deposit) call by the `receiver`.
81+
This function returns the maximum amount of underlying assets that can be deposited in a single [`deposit`](#deposit) call, with the shares minted for the `receiver`.
8282

8383
#### previewDeposit {#previewdeposit}
8484

@@ -102,7 +102,7 @@ This function deposits `assets` of underlying tokens into the vault and grants o
102102
function maxMint(address receiver) public view returns (uint256 maxShares)
103103
```
104104

105-
This function returns the maximum amount of shares that can be minted in a single [`mint`](#mint) call by the `receiver`.
105+
This function returns the maximum amount of shares that can be minted in a single [`mint`](#mint) call, with the shares minted for the `receiver`.
106106

107107
#### previewMint {#previewmint}
108108

0 commit comments

Comments
 (0)