Private
Readonly
constantIf the function is constant (e.g. pure
or view
functions).
Readonly
gasThe recommended gas limit to send when calling this function.
Readonly
inputsThe inputs for the fragment.
Readonly
nameThe name of the fragment.
Readonly
outputsThe returned types for the result of calling this function.
Readonly
payableIf the function can be sent value during invocation.
Readonly
stateThe state mutability (e.g. payable
, nonpayable
, view
or pure
)
Readonly
typeThe type of the fragment.
The Function selector.
Returns a string representation of this function as %%format%%.
Optional
format: FormatTypeStatic
fromReturns a new FunctionFragment for %%obj%%.
Static
getStatic
isReturns true if %%value%% is a [[ConstructorFragment]].
Static
isReturns true if %%value%% is an [[ErrorFragment]].
Static
isReturns true if %%value%% is an [[EventFragment]].
Static
isReturns true
and provides a type guard if %%value%% is a
FunctionFragment.
Static
isReturns true if %%value%% is a [[FunctionFragment]].
Static
isReturns true if %%value%% is a [[StructFragment]].
Generated using TypeDoc
A Fragment which represents a method.