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

gnosis / dex-subgraph / 365
97%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2020 01:29PM UTC
Jobs 1
Files 11
Run time 2s
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

pending completion
365

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

Jobs
ID Job ID Ran Files Coverage
1 365.1 06 Nov 2020 01:29PM UTC 0
96.14
Travis Job 365.1
Source Files on build 365
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #365
  • 3433c1ce on github
  • Prev Build on master (#359)
  • Next Build on master (#368)
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