You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.