TypedEvent
Class in @sentio/sdk/eth
Defined in @sentio/sdk/eth
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
TArgsArray extends any[] | any |
TArgsObject | any |
Constructors
Constructor
new TypedEvent<TArgsArray extends any[] = any, TArgsObject = any>(
log: FormattedLog,
name: string,
args: TArgsObject & IResult
): TypedEvent<TArgsArray, TArgsObject>;Parameters
| Parameter | Type |
|---|---|
log | FormattedLog |
name | string |
args | TArgsObject & IResult |
Returns
TypedEvent<TArgsArray, TArgsObject>
Overrides
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
_address | public | string | FormattedLog._address |
args | readonly | TArgsObject & IResult | - |
log | readonly | FormattedLog | - |
name | readonly | string | - |
raw | readonly | any | FormattedLog.raw |
Accessors
address
Get Signature
get address(): string;The address of the contract that emitted this log.
Returns
string
Inherited from
blockHash
Get Signature
get blockHash(): string;The block hash of the block that included the transaction for this log.
Returns
string
Inherited from
blockNumber
Get Signature
get blockNumber(): number;The block number of the block that included the transaction for this log.
Returns
number
Inherited from
data
Get Signature
get data(): string;The data emitted with this log.
Returns
string
Inherited from
index
Get Signature
get index(): number;The index of this log.
Returns
number
Inherited from
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
topics
Get Signature
get topics(): readonly string[];The topics emitted with this log.
Returns
readonly string[]
Inherited from
transactionHash
Get Signature
get transactionHash(): string;The transaction hash for the transaxction the log occurred in.
Returns
string
Inherited from
transactionIndex
Get Signature
get transactionIndex(): number;The transaction index of this log.
Returns
number