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

How is requestedAmount different from max permitted amount? #248

Open
sebastiantf opened this issue Mar 9, 2024 · 0 comments
Open

How is requestedAmount different from max permitted amount? #248

sebastiantf opened this issue Mar 9, 2024 · 0 comments

Comments

@sebastiantf
Copy link

What exactly is the difference between SignatureTransferDetails::requestedAmount and TokenPermissions::amount?

If using a permit for less than the max amount, and the nonce will be used & invalidated, then whats the use of having the two different numbers? Aren't they the same at that point?

Essentially i'm trying to do this:

  1. Get a single permit signature (not a batch transfer permit) from Alice for spending T tokens
  2. Transfer X tokens directly from Alice to Bob
  3. Transfer Y tokens directly from Alice to Charlie
  4. X+Y = T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant