Event.name

Returns the name of the event.

property name: str

Example

from glider import *


def query():
  # Find contracts with the suffix "ERC20"
  contracts = Contracts().with_name_suffix("ERC20").exec(100)

  for c in contracts:
    for event in c.events().exec():
      # For each contract's event, print the event name
      print(event.name)

  return []

Example output

Last updated