注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。Each input and output of a Fragment is an Array of ParamType.
Properties
Methods
format()
sighash" => "(uint256,address)"
"minimal" => "tuple(uint256,address) indexed"
"full" => "tuple(uint256 foo, address bar) indexed baz"
Parameters
Returns
string
The formatted type.
Source
abi/fragments.ts:707isArray()
Returns
this is ParamType & Object
True if this is an Array type.
Source
abi/fragments.ts:768isIndexable()
Returns
this is ParamType & Object
True if this is an Indexable type.
Source
abi/fragments.ts:786isTuple()
Returns
this is ParamType & Object
True if this is a Tuple type.
Source
abi/fragments.ts:777walk()
value, calling process on each type, destructing the value recursively.
Parameters
Returns
any
Source
abi/fragments.ts:793walkAsync()
value, asynchronously calling process on each type, destructing the value
recursively.
This can be used to resolve ENS naes by walking and resolving each "address" type.
Parameters
Returns
Promise<any>
Source
abi/fragments.ts:903from()
obj.
If allowIndexed then the indexed keyword is permitted, otherwise the indexed keyword will throw an error.
Parameters
Returns
ParamType
Source
abi/fragments.ts:920isParamType()
value is a ParamType.
Parameters
Returns
value is ParamType
