Skip to content

Commit

Permalink
Handle assets with low liquidity (#468)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mihaisc authored Nov 24, 2020
1 parent 9e809d1 commit 181d260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ddo/interfaces/BestPrice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export interface BestPrice {
type: 'pool' | 'exchange' | ''
address: string
value: number
isConsumable?: 'true' | 'false' | ''
ocean?: number
datatoken?: number
pools: string[]
Expand Down

0 comments on commit 181d260

Please sign in to comment.