Private
#privateReadonly
arrayThe type of each child in the array.
For non-array types this is null
.
Readonly
arrayThe array length, or -1
for dynamic-lengthed arrays.
For non-array types this is null
.
Readonly
baseThe base type (e.g. "address"
, "tuple"
, "array"
)
Readonly
componentsThe components for the tuple.
For non-tuple types this is null
.
Readonly
indexedTrue if the parameters is indexed.
For non-indexable types this is null
.
Readonly
nameThe local name of the parameter (or ""
if unbound)
Readonly
typeThe fully qualified type (e.g. "address"
, "tuple(address)"
,
"uint256[3][]"
)
Return a string representation of this type.
For example,
sighash" => "(uint256,address)"
"minimal" => "tuple(uint256,address) indexed"
"full" => "tuple(uint256 foo, address bar) indexed baz"
Optional
format: FormatTypeWalks the ParamType with %%value%%, calling %%process%% on each type, destructing the %%value%% recursively.
Walks the ParamType with %%value%%, asynchronously calling %%process%% on each type, destructing the %%value%% recursively.
This can be used to resolve ENS names by walking and resolving each
"address"
type.
Static
fromStatic
isGenerated using TypeDoc
Each input and output of a [[Fragment]] is an Array of ParamType.