Skip to content

Orion-v4.1.0

Compare
Choose a tag to compare
@Lezek123 Lezek123 released this 07 Nov 11:49
· 2 commits to master since this release
03d4e5c

Affected components:

  • Migrations (marketplace_tokens view)
  • GraphQL server (tokensWithPriceChange and topSellingToken queries, setCrtMarketCapMinVolume mutation)
  • Config: CRT_MARKET_CAP_MIN_VOLUME_JOY (new)
  • Docker compose

Changes

  • tokensWithPriceChange, marketplaceTokens and topSellingToken queries now only take the currently active AMM sale into account when calculating values such as volume / liquidity / price change.
  • marketplaceTokens query now takes into account a configurable CRT_MARKET_CAP_MIN_VOLUME_JOY value which allows specifying a volume threshold below which tokens are considered to have no market cap.
  • added minVolume argument to tokensWithPriceChange query to allow filtering out tokens w/ negligible volume
  • updated docker setup to support the latest docker version

Bug Fixes:

  • tokensWithPriceChange and marketplaceTokens queries returned incorrect price changes when no transactions were made in the given period. Now at least one transaction in the provided period is required to calculate price change.