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

gnosis / dex-services / 3546 / 2
31%
master: 31%

Build:
DEFAULT BRANCH: master
Ran 09 Jun 2020 08:41AM UTC
Files 58
Run time 3s
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

09 Jun 2020 08:29AM UTC coverage: 8.53% (+0.4%) from 8.101%
OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.7.2

push

travis-pro

web-flow
[Pricegraph] Calculate estimated buy amount from price (#964)

This PR adds a new `fill_order_at_price` method for calculating the estimated buy amount for an order at a given price. This will allow market makers to estimate how much they will be able to actually sell at their preferred price given the state of the orderbook.

The code in the `orderbook.rs` file feels like it is getting a little spaghetti, so it is time for a great refactoring!

### Test Plan

New unit test :tada:

1092 of 14936 branches covered (7.31%)

Branch coverage included in aggregate %.

468 of 3352 relevant lines covered (13.96%)

4796.78 hits per line

Source Files on job 3546.2 (OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.7.2)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 319
  • Travis Job 3546.2
  • 49c9bdfb on github
  • Prev Job for OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.7.2 on master (#3533.2)
  • Next Job for OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.7.2 on master (#3551.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc