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

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

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2024 10:27AM UTC
Files 1223
Run time 34s
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: 93.453% (-0.4%) from 93.803%
8782448346.1

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>

1970 of 2400 branches covered (82.08%)

Branch coverage included in aggregate %.

13646 of 14310 relevant lines covered (95.36%)

153.27 hits per line

Source Files on job run-test:cov - 8782448346.1
  • Tree
  • List 1223
  • Changed 68
  • Source Changed 4
  • Coverage Changed 152
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.2)
  • 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