transferWithAuthorizationTypes
このコンテンツはまだ日本語訳がありません。
consttransferWithAuthorizationTypes:object
Defined in: src/tokens/eip3009.ts:87
Canonical EIP-712 TransferWithAuthorization type definition.
This is the single source of truth for the typed-data structure (field
names, types, and order) that EIP-3009 hashes and ecrecover verifies.
Exported so out-of-process / cross-language consumers — a remote signer that re-derives the
digest before it signs, for instance — bind to this exact definition (or
codegen from it) instead of re-declaring it, and so the digest the policy
gates on is provably the digest the chain verifies (see the digest-conformance
corpus in __fixtures__/eip3009-digest.vectors.json).
Type Declaration
TransferWithAuthorization
readonlyTransferWithAuthorization: readonly [{name:"from";type:"address"; }, {name:"to";type:"address"; }, {name:"value";type:"uint256"; }, {name:"validAfter";type:"uint256"; }, {name:"validBefore";type:"uint256"; }, {name:"nonce";type:"bytes32"; }]