Slurp.Logs.LogFetcher (slurp v0.0.10)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Link to this type

blockchain()

Specs

blockchain() :: Slurp.Blockchains.Blockchain.t()
Link to this type

blockchain_id()

Specs

blockchain_id() :: Slurp.Blockchains.Blockchain.id()
Link to this type

log_subscription()

Specs

log_subscription() :: Slurp.Logs.LogSubscription.t()

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

new_head(id, block_number)

Specs

Link to this function

process_name(id)

Specs

process_name(blockchain_id()) :: atom()
Link to this function

start_link(list)

Specs

start_link(blockchain: blockchain(), subscriptions: [log_subscription()]) ::
  GenServer.on_start()