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

safe-global / safe-client-gateway / 8782448346 / 2
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2024 10:27AM UTC
Files 1020
Run time 22s
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

22 Apr 2024 10:22AM UTC coverage: 51.046% (+0.07%) from 50.981%
8782448346.2

push

github

web-flow
Add SwapOrderHelper (#1434)

The functionality that was present in the `SwapOrderMapper` can be shared with other components (outside of the mapping module for a collection of transactions).

This functionality was then extracted to a `SwapOrderHelper` which contains the following functionality:
- `findSwapOrder` – no changes. Given a transaction, extract the Swap Order from it if available (supports MultiSend).
- `getOrder` – given an Order ID, attempts to retrieve its data alongside the buy and sell token information.
- `getOrderExplorerUrl` – no changes. Given an `Order` object, builds the Swap Order explorer URL.

This helper is available via the `SwapOrderHelperModule`.

Changes:

- Adds a `SwapOrderHelper`.
- Moves functionality from `SwapOrderMapper` and `MultisigTransactionInfoMapper` to the `SwapOrderHelper`.
- Extracts the `TokenInfo` schema in order to be used by other components.

---------

Co-authored-by: Aaron Cook <aaron@safe.global>

324 of 2290 branches covered (14.15%)

Branch coverage included in aggregate %.

7390 of 12822 relevant lines covered (57.64%)

4.41 hits per line

Source Files on job run-test:e2e:cov - 8782448346.2
  • Tree
  • List 1020
  • Changed 6
  • Source Changed 4
  • Coverage Changed 141
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8782448346
  • 8f93ef19 on github
  • Prev Job for on main (#8780527762.1)
  • Next Job for on main (#8783016962.2)
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