Slurp.Logs.LogSubscription (slurp v0.0.12)
Link to this section Summary
Link to this section Types
Link to this type
config()
Specs
config() :: %{
enabled: boolean(),
handler: mfa(),
event_mappings: [event_mapping()]
}
Link to this type
event_mapping()
Specs
Specs
t() :: %Slurp.Logs.LogSubscription{
blockchain_id: Slurp.Blockchains.Blockchain.id(),
enabled: boolean(),
event_mappings: [event_mapping()],
event_signature: Slurp.Adapter.event_signature(),
handler: {module(), atom(), list()},
hashed_event_signature: Slurp.Adapter.hashed_event_signature()
}