docs(spec-exact-evm): clarify extra fields per assetTransferMethod and fix two→three typo#2044
Open
ryanRfox wants to merge 1 commit intox402-foundation:mainfrom
Open
Conversation
…d fix two→three typo
The exact-EVM scheme spec documented the extra object only by example,
leaving readers unable to tell which fields are required vs conditional
vs optional for each of the three asset transfer methods (eip3009,
permit2, erc7710). Per-method classification is authoritative in the
code but was not documented in the spec.
Adds three field-definition blocks (one per assetTransferMethod) after
each method's PAYMENT-SIGNATURE example, classifying:
- extra.assetTransferMethod
- extra.name
- extra.version
Classification per method:
- eip3009: name and version are REQUIRED (needed for
transferWithAuthorization signature construction).
- permit2: name and version are CONDITIONAL (required when the
token supports EIP-2612 for gasless Permit2 approval).
- erc7710: name and version are OPTIONAL (not used by delegation-
based transfers).
Also fixes a stale count: 'one of two asset transfer methods' →
'one of three', since erc7710 was added without updating the summary
sentence.
Pure documentation. No new fields. No code changes.
|
@ryanRfox is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The exact-EVM scheme spec describes three asset transfer methods (
eip3009,permit2,erc7710) but documents theextraobject only by example. Readers can't tell which of theextra.*fields are required, conditional, or optional for each method, as they may differ for each.This PR:
erc7710was addedassetTransferMethodfield-classification block after each method'sPAYMENT-SIGNATUREexample