Class Log

Represents a LOGn instruction, or in Solidity terms, an emit statement.

https://docs.soliditylang.org/en/latest/contracts.html#events

Hierarchy

  • Log

Implements

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • event: undefined | {
          indexedCount: number;
          sig?: string;
      }
    • offset: Expr
    • size: Expr
    • topics: Expr[]
    • Optional args: Expr[]

    Returns Log

Properties

args?: Expr[]
event: undefined | {
    indexedCount: number;
    sig?: string;
}

Type declaration

  • indexedCount: number
  • Optional sig?: string

    The signature of the event when the topic selector is found.

    For instance, if the topic is 4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e38426, then sig will be Deposit(uint256).

name: "Log" = 'Log'

The name tag of this IStmt.

offset: Expr
size: Expr
topics: Expr[]

Accessors

  • get eventName(): undefined | string
  • Returns undefined | string

Methods

Generated using TypeDoc v0.25.2