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

Hierarchy

Constructors

  • Private

    Parameters

    Returns Fragment

Properties

inputs: readonly ParamType[]

The inputs for the fragment.

The type of the fragment.

Methods

  • Returns a string representation of this fragment as %%format%%.

    Parameters

    Returns string

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

    Parameters

    • obj: any

    Returns Fragment

  • Returns true if %%value%% is a [[ConstructorFragment]].

    Parameters

    • value: any

    Returns value is ConstructorFragment

  • Returns true if %%value%% is an [[ErrorFragment]].

    Parameters

    • value: any

    Returns value is ErrorFragment

  • Returns true if %%value%% is an [[EventFragment]].

    Parameters

    • value: any

    Returns value is EventFragment

  • Returns true if %%value%% is a [[FunctionFragment]].

    Parameters

    • value: any

    Returns value is FunctionFragment

  • Returns true if %%value%% is a [[StructFragment]].

    Parameters

    • value: any

    Returns value is StructFragment

Generated using TypeDoc