Skip to main content
An abstract class to represent An individual fragment from a parse ABI.

Extended by

Properties

Methods

format()

Returns a string representation of this fragment as format.

Parameters

Returns

string

Source

abi/fragments.ts:1055

from()

Creates a new Fragment for obj, wich can be any supported ABI frgament type.

Parameters

Returns

Fragment

Source

abi/fragments.ts:1060

isConstructor()

Returns true if value is a ConstructorFragment.

Parameters

Returns

value is ConstructorFragment

Source

abi/fragments.ts:1122

isError()

Returns true if value is an ErrorFragment.

Parameters

Returns

value is ErrorFragment

Source

abi/fragments.ts:1129

isEvent()

Returns true if value is an EventFragment.

Parameters

Returns

value is EventFragment

Source

abi/fragments.ts:1136

isFunction()

Returns true if value is a FunctionFragment.

Parameters

Returns

value is FunctionFragment

Source

abi/fragments.ts:1143

isStruct()

Returns true if value is a StructFragment.

Parameters

Returns

value is StructFragment

Source

abi/fragments.ts:1150