Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix maxDeposit and maxMint on the 4626 page #14365

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

alcueca
Copy link

@alcueca alcueca commented Nov 20, 2024

Description

Fix the description of the maxDeposit and maxMint sections to match faithfully the 4626 standard.

See the original EIP, in that it specifies that the function return is calculated with receiver being the receiver of the shares, and not necessarily the caller:

The idea is to allow enabling blocklists at the vault level. If you are going to restrict holding vault shares by certain addresses, you would stop it both at transfer and deposit/mint. The maxDeposit/maxMint should reflect that.

It is a bit arbitrary, because blocklists could also be implemented on the function caller, and not just the token receiver, but that's what it is.

It's "for the receiver":

The idea is to allow enabling blocklists at the vault level. If you are going to restrict holding vault shares by certain addresses, you would stop it both at transfer and deposit/mint. The maxDeposit/maxMint should reflect that.

It is a bit arbitrary, because blocklists could also be implemented on the function caller, and not just the token receiver, but that's what it is.
@github-actions github-actions bot added the content 🖋️ This involves copy additions or edits label Nov 20, 2024
Copy link

netlify bot commented Nov 20, 2024

Deploy Preview for ethereumorg failed.

Name Link
🔨 Latest commit 076a8cb
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/673d86e5f8b6ec0008ef1053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant