Skip to content

Latest commit

 

History

History
272 lines (137 loc) · 4.24 KB

File metadata and controls

272 lines (137 loc) · 4.24 KB

@cyberchain/smart-contract-wrapper


@cyberchain/smart-contract-wrapper / FallbackFragment

Class: FallbackFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:355

A Fragment which represents a method.

Extends

Constructors

Constructor

new FallbackFragment(guard, inputs, payable): FallbackFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:360

Parameters

guard

any

inputs

readonly ParamType[]

payable

boolean

Returns

FallbackFragment

Overrides

Fragment.constructor

Properties

inputs

readonly inputs: readonly ParamType[]

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:213

The inputs for the fragment.

Inherited from

Fragment.inputs


payable

readonly payable: boolean

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:359

If the function can be sent value during invocation.


type

readonly type: FragmentType

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:209

The type of the fragment.

Inherited from

Fragment.type

Methods

format()

format(format?): string

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:364

Returns a string representation of this fallback as %%format%%.

Parameters

format?

FormatType

Returns

string

Overrides

Fragment.format


from()

static from(obj): FallbackFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:368

Returns a new FallbackFragment for %%obj%%.

Parameters

obj

any

Returns

FallbackFragment

Overrides

Fragment.from


isConstructor()

static isConstructor(value): value is ConstructorFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:230

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

Parameters

value

any

Returns

value is ConstructorFragment

Inherited from

Fragment.isConstructor


isError()

static isError(value): value is ErrorFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:234

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

Parameters

value

any

Returns

value is ErrorFragment

Inherited from

Fragment.isError


isEvent()

static isEvent(value): value is EventFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:238

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

Parameters

value

any

Returns

value is EventFragment

Inherited from

Fragment.isEvent


isFragment()

static isFragment(value): value is FallbackFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:373

Returns true and provides a type guard if %%value%% is a FallbackFragment.

Parameters

value

any

Returns

value is FallbackFragment


isFunction()

static isFunction(value): value is FunctionFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:242

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

Parameters

value

any

Returns

value is FunctionFragment

Inherited from

Fragment.isFunction


isStruct()

static isStruct(value): value is StructFragment

Defined in: node_modules/@asanrom/ethers-abi/dist/abi/fragments.d.ts:246

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

Parameters

value

any

Returns

value is StructFragment

Inherited from

Fragment.isStruct