Slurp.Logs.LogFetcher.State (slurp v0.0.5)
Link to this section Summary
Link to this section Types
Link to this type
block_number()
Specs
block_number() :: Slurp.Adapter.block_number()
Link to this type
hashed_event_signature()
Specs
hashed_event_signature() :: Slurp.Adapter.hashed_event_signature()
Link to this type
log_subscription()
Specs
log_subscription() :: Slurp.Logs.LogSubscription.t()
Specs
t() :: %Slurp.Logs.LogFetcher.State{
blockchain: Slurp.Blockchains.Blockchain.t(),
endpoint: Slurp.Adapter.endpoint(),
last_block_number: block_number() | nil,
subscriptions: %{required(hashed_event_signature()) => log_subscription()},
topics: [hashed_event_signature()]
}