tai v0.0.19 Tai.Venues.AssetBalances.Lock
Link to this section Summary
Link to this section Types
Link to this type
lock_request()
lock_request()
lock_request() :: Tai.Venues.AssetBalances.LockRequest.t()
lock_request() :: Tai.Venues.AssetBalances.LockRequest.t()
Link to this section Functions
Link to this function
from_request(lock_request)
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()}}
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()}}