View Source Ethers.Event (Ethers v0.0.3)
EVM Event struct and helpers
Link to this section Summary
Functions
Decodes a log entry with the given Event function selector and returns an Event struct
Link to this section Types
@type t() :: %Ethers.Event{ address: Ethers.Types.t_address(), block_hash: Ethers.Types.t_hash(), block_number: non_neg_integer(), data: [term()], log_index: non_neg_integer(), removed: boolean(), topics: [term(), ...], topics_raw: [String.t(), ...], transaction_hash: Ethers.Types.t_hash(), transaction_index: non_neg_integer() }
Link to this section Functions
@spec decode(map(), ABI.FunctionSelector.t()) :: t()
Decodes a log entry with the given Event function selector and returns an Event struct