Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Annotated<U, T>

Type parameters

  • U: Result

  • T: TypedEvent<U>

Hierarchy

  • Annotated

Index

Constructors

  • new Annotated<U, T>(domain: number, receipt: TransactionReceipt, event: T, callerKnowsWhatTheyAreDoing?: boolean): Annotated<U, T>
  • Type parameters

    • U: Result<U>

    • T: TypedEvent<U, T>

    Parameters

    • domain: number
    • receipt: TransactionReceipt
    • event: T
    • callerKnowsWhatTheyAreDoing: boolean = false

    Returns Annotated<U, T>

Properties

domain: number
event: T
eventName?: string
receipt: TransactionReceipt

Accessors

  • get blockHash(): string
  • get blockNumber(): number
  • get contractAddress(): string
  • get transactionHash(): string

Methods

  • fromEvent<U, T>(domain: number, event: T): Promise<Annotated<U, T>>
  • fromEvents<U, T>(domain: number, events: T[]): Promise<Annotated<U, T>[]>

Generated using TypeDoc