Rube.Chainlink (rube v0.0.2)

Link to this section Summary

Link to this section Types

Specs

address() :: term()
Link to this type

blockchain_id()

Specs

blockchain_id() :: Slurp.Blockchains.Blockchain.id()

Specs

feed() :: Rube.Chainlink.Feed.t()

Link to this section Functions

Link to this function

ensure_feed(blockchain_id, address)

Specs

ensure_feed(blockchain_id(), address()) :: :ok

Specs

feeds() :: [feed()]
Link to this function

find_feed(blockchain_id, address)

Specs

find_feed(blockchain_id(), address()) :: {:ok, feed()} | {:error, :not_found}
Link to this function

get_feed(blockchain_id, address)

Specs

get_feed(blockchain_id(), address()) :: {:ok, feed()} | {:error, term()}

Specs

put_feed(feed()) :: term()