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

synapsecns / synapse-contracts / 5090308068
13%

Build:
DEFAULT BRANCH: master
Ran 26 May 2023 11:36AM UTC
Jobs 1
Files 121
Run time 2s
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

Canceled at 18 Jul 2024 08:25PM UTC via web
5090308068

push

github

web-flow
Router [global bridge zap] (#193)

* lint

* add interfaces

* Add SwapQuoter

* New BridgeZap

* setup BridgeZap tests

* Tests: no swap bridging

* Tests: Swap & Bridge

* Tests: Bridge & Swap

* Tests: Swap & Bridge & Swap

* move adapter logic from Zap contract

* Support for add/remove liquidity requests

* Tests: zapAndDeposit

* Simplify Zap branching

* Remove Zap's special logic for nUSD

* Make BridgeZap upgradeable

* Add docs

* Remove cycle where it is not needed

* Optimize add liquidity

* Explicit naming in BridgeZap

* Check that depositAndSwap was requested

* Fix: custom allowance for wrapper tokens

* Tests: new zap + GMX on Avalanche

* Tests: new zap + Harmony JewelBridgeSwap

* Expose SwapQuoter methods in BridgeZap

* Tests: emulate bridge fees for bridge+swap

* Tests: unsupported tokens

* Separate calculation logic from SwapQuoter

* Return the exact quote for addLiquidity

* Expose generic calcAddLiquidity

* Expose other pool quote methods in BridgeZap

* Tests: unsupported swaps (origin/dest chain)

* Make sure user has no WETH before ETH tests

* Expose more views on BridgeZap

* Tests: BridgeZap views

* Refactor test to illustrate BridgeZap workflow

* Rename BridgeZap -> SynapseRouter

* Rename addBurnTokens -> addRedeemTokens

* Make SynapseRouter immutable

* Chore: SynapseAdapter comments

* Add missing revert tests for SwapQuoter

* Feat: Router swap (#197)

* Move SwapQuoter related stuff to SynapseAdapter

* Rename adapter swap method to prevent confusion

* Rework token pulling

* Add SynapseRouter.swap()

* Tests: SynapseRouter swaps

* Add tests with ignored "unwrapETH" param

* Add tests with incorrect swap params

* Add tests around swap reverts

* Feat: local bridge config (#199)

* Introduce LocalBridgeConfig

* Adjust tests

* Add bridge quote views for Router

* Test setup: E2E tests

* E2E tests ... (continued)

207 of 1320 branches covered (15.68%)

Branch coverage included in aggregate %.

416 of 416 new or added lines in 10 files covered. (100.0%)

664 of 2943 relevant lines covered (22.56%)

23.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5090308068.1 26 May 2023 11:36AM UTC 0
20.43
GitHub Action Run
Source Files on build 5090308068
Detailed source file information is not available for this build.
  • Back to Repo
  • 75aa6234 on github
  • Prev Build on master (#5084913714)
  • Next Build on master (#5090331270)
  • Delete
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