Skip to main content
A Fragment which represents an Event.

Extends

Properties

Accessors

topicHash

The Event topic hash.

Returns

string

Source

abi/fragments.ts:1277

Methods

format()

Returns a string representation of this event as format.

Parameters

Returns

string

Overrides

NamedFragment.format

Source

abi/fragments.ts:1284

from()

Returns a new EventFragment for obj.

Parameters

Returns

EventFragment

Overrides

NamedFragment.from

Source

abi/fragments.ts:1320

getTopicHash()

Return the topic hash for an event with name and params.

Parameters

Returns

string

Source

abi/fragments.ts:1311

isConstructor()

Returns true if value is a ConstructorFragment.

Parameters

Returns

value is ConstructorFragment

Inherited from

NamedFragment.isConstructor

Source

abi/fragments.ts:1122

isError()

Returns true if value is an ErrorFragment.

Parameters

Returns

value is ErrorFragment

Inherited from

NamedFragment.isError

Source

abi/fragments.ts:1129

isEvent()

Returns true if value is an EventFragment.

Parameters

Returns

value is EventFragment

Inherited from

NamedFragment.isEvent

Source

abi/fragments.ts:1136

isFragment()

Returns true and provides a type guard if value is an EventFragment.

Parameters

Returns

value is EventFragment

Source

abi/fragments.ts:1351

isFunction()

Returns true if value is a FunctionFragment.

Parameters

Returns

value is FunctionFragment

Inherited from

NamedFragment.isFunction

Source

abi/fragments.ts:1143

isStruct()

Returns true if value is a StructFragment.

Parameters

Returns

value is StructFragment

Inherited from

NamedFragment.isStruct

Source

abi/fragments.ts:1150