Rube.MoneyMarkets (rube v0.1.0)
Link to this section Summary
Link to this section Types
Link to this type
address()
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
Link to this function
all()
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}