TypedEvent

Class in @sentio/sdk/eth

Defined in @sentio/sdk/eth

Extends

Type Parameters

Type ParameterDefault type
TArgsArray extends any[]any
TArgsObjectany

Constructors

Constructor

new TypedEvent<TArgsArray extends any[] = any, TArgsObject = any>(
   log: FormattedLog, 
   name: string, 
   args: TArgsObject & IResult
): TypedEvent<TArgsArray, TArgsObject>;

Parameters

ParameterType
logFormattedLog
namestring
argsTArgsObject & IResult

Returns

TypedEvent<TArgsArray, TArgsObject>

Overrides

FormattedLog.constructor

Properties

PropertyModifierTypeInherited from
_addresspublicstringFormattedLog._address
argsreadonlyTArgsObject & IResult-
logreadonlyFormattedLog-
namereadonlystring-
rawreadonlyanyFormattedLog.raw

Accessors

address

Get Signature

get address(): string;

The address of the contract that emitted this log.

Returns

string

Inherited from

FormattedLog.address


blockHash

Get Signature

get blockHash(): string;

The block hash of the block that included the transaction for this log.

Returns

string

Inherited from

FormattedLog.blockHash


blockNumber

Get Signature

get blockNumber(): number;

The block number of the block that included the transaction for this log.

Returns

number

Inherited from

FormattedLog.blockNumber


data

Get Signature

get data(): string;

The data emitted with this log.

Returns

string

Inherited from

FormattedLog.data


index

Get Signature

get index(): number;

The index of this log.

Returns

number

Inherited from

FormattedLog.index


removed

Get Signature

get removed(): boolean;

Whether this log was removed due to the transaction it was included in being removed dur to an orphaned block.

Returns

boolean

Inherited from

FormattedLog.removed


topics

Get Signature

get topics(): readonly string[];

The topics emitted with this log.

Returns

readonly string[]

Inherited from

FormattedLog.topics


transactionHash

Get Signature

get transactionHash(): string;

The transaction hash for the transaxction the log occurred in.

Returns

string

Inherited from

FormattedLog.transactionHash


transactionIndex

Get Signature

get transactionIndex(): number;

The transaction index of this log.

Returns

number

Inherited from

FormattedLog.transactionIndex

On this page