View Source Ethers.EventFilter (Ethers v0.4.5)

Event Filter struct and helper functions to work with the event filters

Summary

Types

t()

Holds event filter topics, the event selector and the default address.

Types

@type t() :: %Ethers.EventFilter{
  default_address: nil | Ethers.Types.t_address(),
  selector: ABI.FunctionSelector.t(),
  topics: [binary()]
}

Holds event filter topics, the event selector and the default address.

Can be passed in to Ethers.get_logs/2 filter and fetch the logs.