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

gnosis / dex-subgraph
97%

Build:
DEFAULT BRANCH: master
Repo Added 22 Oct 2020 01:21PM UTC
Files 12
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • coverage_4_report
  • dependabot/add-v2-config-file
  • dependabot/npm_and_yarn/assemblyscript-0.17.1
  • dependabot/npm_and_yarn/assemblyscript-0.17.12
  • dependabot/npm_and_yarn/assemblyscript-0.17.3
  • dependabot/npm_and_yarn/assemblyscript-0.18.11
  • dependabot/npm_and_yarn/assemblyscript-0.18.3
  • dependabot/npm_and_yarn/elliptic-6.5.4
  • dependabot/npm_and_yarn/eslint-7.12.1
  • dependabot/npm_and_yarn/eslint-7.14.0
  • dependabot/npm_and_yarn/eslint-7.16.0
  • dependabot/npm_and_yarn/eslint-7.19.0
  • dependabot/npm_and_yarn/eslint-7.21.0
  • dependabot/npm_and_yarn/eslint-7.25.0
  • dependabot/npm_and_yarn/eslint-7.27.0
  • dependabot/npm_and_yarn/eslint-7.29.0
  • dependabot/npm_and_yarn/eslint-config-prettier-6.15.0
  • dependabot/npm_and_yarn/eslint-config-prettier-7.1.0
  • dependabot/npm_and_yarn/eslint-config-prettier-7.2.0
  • dependabot/npm_and_yarn/eslint-config-prettier-8.1.0
  • dependabot/npm_and_yarn/eslint-config-prettier-8.3.0
  • dependabot/npm_and_yarn/glob-parent-5.1.2
  • dependabot/npm_and_yarn/gnosis.pm/dex-contracts-0.5.0
  • dependabot/npm_and_yarn/ini-1.3.7
  • dependabot/npm_and_yarn/ini-1.3.8
  • dependabot/npm_and_yarn/lodash-4.17.21
  • dependabot/npm_and_yarn/mocha-8.2.0
  • dependabot/npm_and_yarn/mocha-8.2.1
  • dependabot/npm_and_yarn/mocha-8.3.0
  • dependabot/npm_and_yarn/mocha-8.3.2
  • dependabot/npm_and_yarn/mocha-8.4.0
  • dependabot/npm_and_yarn/mocha-9.0.1
  • dependabot/npm_and_yarn/types/chai-4.2.14
  • dependabot/npm_and_yarn/types/chai-4.2.15
  • dependabot/npm_and_yarn/types/chai-4.2.17
  • dependabot/npm_and_yarn/types/chai-4.2.18
  • dependabot/npm_and_yarn/types/chai-4.2.19
  • dependabot/npm_and_yarn/types/node-13.13.30
  • dependabot/npm_and_yarn/types/node-13.13.34
  • dependabot/npm_and_yarn/types/node-13.13.38
  • dependabot/npm_and_yarn/types/node-13.13.40
  • dependabot/npm_and_yarn/types/node-13.13.45
  • dependabot/npm_and_yarn/types/node-15.0.1
  • dependabot/npm_and_yarn/types/node-15.12.5
  • dependabot/npm_and_yarn/types/node-15.6.1
  • dependabot/npm_and_yarn/typescript-4.0.5
  • dependabot/npm_and_yarn/typescript-4.1.2
  • dependabot/npm_and_yarn/typescript-4.1.3
  • dependabot/npm_and_yarn/typescript-4.2.2
  • dependabot/npm_and_yarn/typescript-4.2.4
  • dependabot/npm_and_yarn/typescript-4.3.2
  • dependabot/npm_and_yarn/typescript-4.3.5
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.11.1
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.14.1
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.15.2
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.22.0
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.26.0
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.28.1
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.6.0
  • dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.9.0
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.11.1
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.14.1
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.15.2
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.22.0
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.26.0
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.28.1
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.6.0
  • dependabot/npm_and_yarn/typescript-eslint/parser-4.9.0
  • dependabot/npm_and_yarn/y18n-4.0.1
  • dependabot/npm_and_yarn/y18n-4.0.3
  • fleupold-patch-1
  • global_stats
  • onSolutionSubmission
  • order_tests
  • record_total_volume_per_token
  • withdraw_tests

pending completion
375

push

travis-pro

web-flow
Global stats (#145)

This PR adds a stats entity which allows us to record metrics like total volume, fees, number of trades, batches, etc. I got inspired by our top level dune metrics which we should now be able to answer e.g. for xdai using the graph.

<img width="1330" alt="Screenshot 2020-11-05 at 19 51 09" src="https://user-images.githubusercontent.com/1200333/98283664-44892880-1fa0-11eb-96d8-85c61938470c.png">


### Test Plan

Added unit and e2e tests

40 of 40 new or added lines in 4 files covered. (100.0%)

446 of 462 relevant lines covered (96.54%)

8.63 hits per line

Relevant lines Covered
Build:
Build:
462 RELEVANT LINES 446 COVERED LINES
8.63 HITS PER LINE
Source Files on master
  • Tree
  • List 12
  • Changed 11
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
375 master Global stats (#145) This PR adds a stats entity which allows us to record metrics like total volume, fees, number of trades, batches, etc. I got inspired by our top level dune metrics which we should now be able to answer e.g. for xdai using the ... push 06 Nov 2020 01:56PM UTC web-flow travis-pro pending completion  
368 master Move solution stat collection into onSolutionSubmission (#144) This PR moves the collection of solution specific details such as solver, objective value, utility, etc from the first `onTrade` handler to a specific `onSolutionSubmission` handler. ... push 06 Nov 2020 01:43PM UTC web-flow travis-pro pending completion  
365 master 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 ... push 06 Nov 2020 01:29PM UTC web-flow travis-pro pending completion  
359 master [Esay] Add unit tests for order placement/cancellation/deletion (#142) `yarn test` and see coverage increase push 06 Nov 2020 01:15PM UTC web-flow travis-pro pending completion  
344 master [Easy] Add unit tests for withdraws (#141) ☝️ ### Test Plan `yarn test` & see coverage increase... push 04 Nov 2020 05:05PM UTC web-flow travis-pro pending completion  
310 master [Trivial] Add coverage badge to readme (#129) push 27 Oct 2020 11:47AM UTC web-flow travis-pro pending completion  
307 master [Coverage 4] Rewrite files and upload coverage report (#124) Finale step which actually rewrites the source files with out annotations and runs yarn coverage + uploading the reports on every travis build. ### Test Plan See a coverage report... push 27 Oct 2020 10:09AM UTC web-flow travis-pro pending completion  
See All Builds (209)
  • Repo on GitHub
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

© 2025 Coveralls, Inc