• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-subgraph / 365 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2020 01:29PM UTC
Files 11
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2020 01:23PM UTC coverage: 96.135% (+0.1%) from 96.01%
365.1

push

travis-pro

web-flow
Record total sell volume per token (#143)

This PR adds functionality to compute the total sell Volume of a specific token. This metric is useful for networks for which we don't have Dune analytics (e.g. xDAI). It can also be used to query volume of a token over a specific period of time (e.g. last 24h by using [time travel queries](https://thegraph.com/docs/graphql-api#time-travel-queries).

Each trade event increments the total volume of its sell token and each trade reversion decrements it.

In a next PR I'm planning to also start collecting "global stats" such as total OWL volume, fees, number of trades, batches etc.

### Test Plan

Updated unit tests and integration tests.

398 of 414 relevant lines covered (96.14%)

7.58 hits per line

Source Files on job 365.1
  • Tree
  • List 0
  • Changed 11
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 76
  • Travis Job 365.1
  • 3433c1ce on github
  • Prev Job for on master (#359.1)
  • Next Job for on master (#368.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc