Skip to content
You are reading the development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: October 8, 2021

yearn-vaults / Modules / common / TypedEvent

Interface: TypedEvent<EventArgs>

common.TypedEvent

Type parameters

Name Type
EventArgs extends Result

Hierarchy

  • Event

TypedEvent

Table of contents

Properties

Methods

Properties

address

address: string

Inherited from

Event.address

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:56


args

args: EventArgs

Overrides

Event.args

Defined in

typechain/common.d.ts:11


blockHash

blockHash: string

Inherited from

Event.blockHash

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:53


blockNumber

blockNumber: number

Inherited from

Event.blockNumber

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:52


data

data: string

Inherited from

Event.data

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:57


decodeError

Optional decodeError: Error

Inherited from

Event.decodeError

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:46


event

Optional event: string

Inherited from

Event.event

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:43


eventSignature

Optional eventSignature: string

Inherited from

Event.eventSignature

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:44


logIndex

logIndex: number

Inherited from

Event.logIndex

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:60


removed

removed: boolean

Inherited from

Event.removed

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:55


topics

topics: string[]

Inherited from

Event.topics

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:58


transactionHash

transactionHash: string

Inherited from

Event.transactionHash

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:59


transactionIndex

transactionIndex: number

Inherited from

Event.transactionIndex

Defined in

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:54

Methods

decode

Optional decode(data, topics?): any

Parameters

Name Type
data string
topics? string[]

Returns

any

Inherited from

Event.decode

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:47


getBlock

getBlock(): Promise<Block>

Returns

Promise<Block>

Inherited from

Event.getBlock

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:49


getTransaction

getTransaction(): Promise<TransactionResponse>

Returns

Promise<TransactionResponse>

Inherited from

Event.getTransaction

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:50


getTransactionReceipt

getTransactionReceipt(): Promise<TransactionReceipt>

Returns

Promise<TransactionReceipt>

Inherited from

Event.getTransactionReceipt

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:51


removeListener

removeListener(): void

Returns

void

Inherited from

Event.removeListener

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:48

Questions or feedback? You can discuss issues and obtain free support on Yearn Vaults chat channel.
For SushiSwap community support, join the Discord Server None