Slurp.Commander (slurp v0.0.2)

Link to this section Summary

Link to this section Types

Link to this type

blockchain()

Specs

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

log_subscription()

Specs

log_subscription() :: Slurp.Logs.LogSubscription.t()
Link to this type

new_head_subscription()

Specs

new_head_subscription() :: Slurp.NewHeads.NewHeadSubscription.t()
Link to this type

opt_filter()

Specs

opt_filter() :: {:filters, list()}

Specs

opt_node() :: {:node, {module(), atom()}}

Specs

opt_store() :: {:store_id, atom()}

Link to this section Functions

Link to this function

blockchains(opts)

Specs

blockchains([opt_node() | opt_store() | opt_filter()]) :: [blockchain()]
Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Link to this function

log_subscriptions(opts)

Specs

log_subscriptions([opt_node() | opt_store() | opt_filter()]) :: [
  log_subscription()
]
Link to this function

new_head_subscriptions(opts)

Specs

new_head_subscriptions([opt_node() | opt_store() | opt_filter()]) :: [
  new_head_subscription()
]
Link to this function

start_blockchains(opts)

Specs

start_blockchains([opt_node() | opt_store() | opt_filter()]) ::
  {started :: non_neg_integer(), started_already :: non_neg_integer()}
Link to this function

stop_blockchains(opts)

Specs

stop_blockchains([opt_node() | opt_store() | opt_filter()]) ::
  {stopped :: non_neg_integer(), stopped_already :: non_neg_integer()}