Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
inputs | readonly | readonly ParamType[] | The inputs for the fragment. | NamedFragment.inputs |
name | readonly | string | The name of the fragment. | NamedFragment.name |
type | readonly | FragmentType | The type of the fragment. | NamedFragment.type |
Methods
format()
format.
Returns
string
Overrides
NamedFragment.format
Source
abi/fragments.ts:1778from()
obj.
Parameters
| Parameter | Type |
|---|---|
obj | any |
Returns
StructFragment
Overrides
NamedFragment.from
Source
abi/fragments.ts:1785isConstructor()
value is a ConstructorFragment.
Parameters
| Parameter | Type |
|---|---|
value | any |
Returns
value is ConstructorFragment
Inherited from
NamedFragment.isConstructor
Source
abi/fragments.ts:1122isError()
value is an ErrorFragment.
Parameters
| Parameter | Type |
|---|---|
value | any |
Returns
value is ErrorFragment
Inherited from
NamedFragment.isError
Source
abi/fragments.ts:1129isEvent()
value is an EventFragment.
Parameters
| Parameter | Type |
|---|---|
value | any |
Returns
value is EventFragment
Inherited from
NamedFragment.isEvent
Source
abi/fragments.ts:1136isFragment()
true and provides a type guard if value is a StructFragment.
Parameters
| Parameter | Type |
|---|---|
value | any |
Returns
value is FunctionFragment
Source
abi/fragments.ts:1806isFunction()
value is a FunctionFragment.
Parameters
| Parameter | Type |
|---|---|
value | any |
Returns
value is FunctionFragment
Inherited from
NamedFragment.isFunction
Source
abi/fragments.ts:1143isStruct()
value is a StructFragment.
Parameters
| Parameter | Type |
|---|---|
value | any |
Returns
value is StructFragment
Inherited from
NamedFragment.isStruct
