DecodedCall
Defined in: index.ts:83
One call decoded: method, value, and the approval or token transfer it makes.
Properties
Section titled “Properties”approval?
Section titled “approval?”
optionalapproval?:Approval
Defined in: index.ts:89
approvals?
Section titled “approvals?”
optionalapprovals?:Approval[]
Defined in: index.ts:91
Every allowance the call grants when it grants more than one (a Permit2 batch permit); approval is the first.
label:
string|null
Defined in: index.ts:85
method
Section titled “method”method:
string
Defined in: index.ts:87
selector
Section titled “selector”selector:
string|null
Defined in: index.ts:86
to:
string
Defined in: index.ts:84
transfer?
Section titled “transfer?”
optionaltransfer?:object
Defined in: index.ts:98
amount
Section titled “amount”amount:
bigint
to:
string
token:
string
undecodable?
Section titled “undecodable?”
optionalundecodable?:true
Defined in: index.ts:100
The calldata is not hex bytes: nothing can be said about what it does (a warning, never a plain call).
unparsedApproval?
Section titled “unparsedApproval?”
optionalunparsedApproval?:true
Defined in: index.ts:97
A selector that grants an allowance (EIP-2612 or Permit2 permit) whose arguments could not be
read: shorter than the ABI needs, or offsets and lengths out of range. What it grants is
unknown, so it is a warning (checksFor), never a plain call.
value:
bigint
Defined in: index.ts:88