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

gnosis / dex-services / 4823 / 3
31%
master: 31%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2020 06:33AM UTC
Files 97
Run time 6s
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

18 Aug 2020 06:20AM UTC coverage: 28.597% (-0.2%) from 28.842%
OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3

push

travis-pro

web-flow
Search by symbol (#1323)

This PR adds the ability of to use symbols for currency pairs. Note that the symbols are retrieved from the EVM, so it is possible that names with duplicates (such as `DAI`) run into collisions and require updating our deployment.

### Test Plan

```
$ cargo run -p price-estimator -- --token-data '{"T0009":{"alias":"sUSD depr","decimals":18},"T0012":{"alias":"SAI","decimals":18},"T0015":{"alias":"SNX depr","decimals":18}}'
...
$ curl -s 'http://localhost:8080/api/v1/markets/WETH-DAI/estimated-buy-amount/1000?atoms=false' | jq
{
  "baseTokenId": 1,
  "quoteTokenId": 7,
  "buyAmountInBase": "2.3573254925937595",
  "sellAmountInQuote": "1000"
}
$ curl -s 'http://localhost:8080/api/v1/markets/ETH-DAI/estimated-buy-amount/1000?atoms=false' | jq # Bonus!
{
  "baseTokenId": 1,
  "quoteTokenId": 7,
  "buyAmountInBase": "2.3573254925937595",
  "sellAmountInQuote": "1000"
}
```

12398 of 49880 branches covered (24.86%)

Branch coverage included in aggregate %.

3377 of 5283 relevant lines covered (63.92%)

27304.99 hits per line

Source Files on job 4823.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3)
  • Tree
  • List 0
  • Changed 34
  • Source Changed 6
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1269
  • Travis Job 4823.3
  • c49625d5 on github
  • Prev Job for OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3 on master (#4820.3)
  • Next Job for OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3 on master (#4827.3)
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