Kujira.Orca (kujira v0.1.1)

Summary

Functions

Fetches the Queue contract and its current config from the chain

Loads the current contract state into the Queue; the totals of each bid pool

Functions

Link to this function

get_queue(channel, address)

@spec get_queue(GRPC.Channel.t(), String.t()) ::
  {:ok, Kujira.Orca.Queue.t()} | {:error, :not_found}

Fetches the Queue contract and its current config from the chain

Link to this function

load_queue(channel, queue)

@spec load_queue(GRPC.Channel.t(), Kujira.Orca.Queue.t()) ::
  {:ok, Kujira.Orca.Queue.t()} | :error

Loads the current contract state into the Queue; the totals of each bid pool