Slurp.Commander (slurp v0.0.10)

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()

Specs

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

Specs

opt_order() :: {:order, list()}

Specs

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

Specs

opt_where() :: {:where, list()}

Link to this section Functions

Link to this function

blockchains(opts)

Specs

blockchains([opt_node() | opt_store() | opt_where() | opt_order()]) :: [
  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_where() | opt_order()]) :: [
  log_subscription()
]
Link to this function

new_head_subscriptions(opts)

Specs

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

start_blockchains(opts)

Specs

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

stop_blockchains(opts)

Specs

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