@cyberchain/smart-contract-wrapper
@cyberchain/smart-contract-wrapper / FunctionFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:378
A Fragment which represents a method.
readonlyconstant:boolean
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:382
If the function is constant (e.g. pure or view functions).
readonlygas:bigint
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:399
The recommended gas limit to send when calling this function.
readonlyinputs: readonlyParamType[]
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:213
The inputs for the fragment.
readonlyname:string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:256
The name of the fragment.
readonlyoutputs: readonlyParamType[]
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:386
The returned types for the result of calling this function.
readonlypayable:boolean
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:395
If the function can be sent value during invocation.
readonlystateMutability:"view"|"payable"|"nonpayable"|"pure"
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:391
The state mutability (e.g. payable, nonpayable, view
or pure)
readonlytype:FragmentType
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:209
The type of the fragment.
get selector():
string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:407
The Function selector.
string
format(
format?):string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:411
Returns a string representation of this function as %%format%%.
string
staticfrom(obj):FunctionFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:419
Returns a new FunctionFragment for %%obj%%.
any
FunctionFragment
staticgetSelector(name,params?):string
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:415
Return the selector for a function with %%name%% and %%params%%.
string
any[]
string
staticisConstructor(value):value is ConstructorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:230
Returns true if %%value%% is a [[ConstructorFragment]].
any
value is ConstructorFragment
staticisError(value):value is ErrorFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:234
Returns true if %%value%% is an [[ErrorFragment]].
any
value is ErrorFragment
staticisEvent(value):value is EventFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:238
Returns true if %%value%% is an [[EventFragment]].
any
value is EventFragment
staticisFragment(value):value is FunctionFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:424
Returns true and provides a type guard if %%value%% is a
FunctionFragment.
any
value is FunctionFragment
staticisFunction(value):value is FunctionFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:242
Returns true if %%value%% is a [[FunctionFragment]].
any
value is FunctionFragment
staticisStruct(value):value is StructFragment
Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:246
Returns true if %%value%% is a [[StructFragment]].
any
value is StructFragment