tai v0.0.28 Tai.Venues.AssetBalances.Lock

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

from_request(lock_request)

from_request(lock_request()) ::
  {:ok, {term(), Decimal.t()}}
  | {:error, :min_less_than_zero | :min_greater_than_max | :not_found}
  | {:error, {:insufficient_balance, free :: Decimal.t()}}