Slurp.NewHeads.Subscriptions (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

invalid_config()

Specs

invalid_config() :: String.t()
Link to this type

new_head_subscription()

Specs

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

new_head_subscription_store_id()

Specs

new_head_subscription_store_id() ::
  Slurp.NewHeads.NewHeadSubscriptionStore.store_id()

Link to this section Functions

Specs

all(list()) :: [new_head_subscription()]
Link to this function

find_by(filters)

Specs

find_by(list()) :: new_head_subscription() | nil
Link to this function

from_config(blockchains)

Specs

from_config([blockchain()]) ::
  {:ok, [new_head_subscription()]} | {:error, invalid_config()}
Link to this function

from_config(blockchains, config)

Specs

from_config([blockchain()], map()) ::
  {:ok, [new_head_subscription()]} | {:error, invalid_config()}
Link to this function

put(new_head_subscription, store_id \\ NewHeads.NewHeadSubscriptionStore.default_store_id())

Specs