Rube.MoneyMarkets (rube v0.0.3)

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()
Link to this type

money_market()

Specs

money_market() :: Rube.MoneyMarkets.MoneyMarket.t()

Link to this section Functions

Specs

all() :: [money_market()]
Link to this function

fetch_and_store_token(blockchain_id, address)

Specs

fetch_and_store_token(blockchain_id(), address()) :: term()
Link to this function

find_token(blockchain_id, address)

Specs

find_token(blockchain_id(), address()) ::
  {:ok, money_market()} | {:error, :not_found}