mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Handle assets with low liquidity (#468)
* Handle assets with low liquidity `isConsumable` is : - 'true' when pool/exchange created and enough datatokens are available ( can we check for exchange?) - 'false' when pool/exchange created and not enough datatokens are avaialbe - '' when pool/exchange not created * isConsumable optional
This commit is contained in:
parent
9e809d14cb
commit
181d260e0a
@ -2,6 +2,7 @@ export interface BestPrice {
|
||||
type: 'pool' | 'exchange' | ''
|
||||
address: string
|
||||
value: number
|
||||
isConsumable?: 'true' | 'false' | ''
|
||||
ocean?: number
|
||||
datatoken?: number
|
||||
pools: string[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user