Slurp.Logs.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

blockchain_id()

Specs

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

invalid_config()

Specs

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

log_subscription()

Specs

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

log_subscription_store_id()

Specs

log_subscription_store_id() :: Slurp.Logs.LogSubscriptionStore.store_id()

Link to this section Functions

Link to this function

all(store_id \\ Logs.LogSubscriptionStore.default_store_id())

Specs

Link to this function

from_config(blockchains)

Specs

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

from_config(blockchains, config)

Specs

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

put(log_subscription, store_id \\ Logs.LogSubscriptionStore.default_store_id())

Specs

Specs

query(list()) :: [log_subscription()]