A Fragment which represents a constructor.

Hierarchy

Constructors

Properties

gas: bigint

The recommended gas limit for deployment or null.

inputs: readonly ParamType[]

The inputs for the fragment.

payable: boolean

Whether the constructor can receive an endowment.

The type of the fragment.

Methods

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

    Parameters

    Returns string

  • 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 and provides a type guard if %%value%% is a ConstructorFragment.

    Parameters

    • value: any

    Returns value is ConstructorFragment

  • 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