White-Whale-Defi-Platform / white-whale-core

Core contracts for White Whale, The Interchain Liquidity Protocol for the Cosmos.
https://whitewhale.money
MIT License
36 stars 22 forks source link

Add router to pool-manager #295

Closed kaimen-sano closed 6 months ago

kaimen-sano commented 7 months ago

Description and Motivation

Adds a router to the pool-manager, similar to the v1 pool router.


Checklist:

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 97.70115% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 88.50%. Comparing base (eabfd9b) to head (e59999f). Report is 4 commits behind head on release/v2_contracts.

Files Patch % Lines
.../liquidity_hub/pool-manager/src/router/commands.rs 91.78% 6 Missing :warning:
...acts/liquidity_hub/pool-manager/src/tests/suite.rs 80.00% 5 Missing :warning:
...ts/liquidity_hub/pool-manager/src/swap/commands.rs 93.54% 2 Missing :warning:
...quidity_hub/pool-manager/src/liquidity/commands.rs 50.00% 1 Missing :warning:
...iquidity_hub/pool-manager/src/swap/perform_swap.rs 97.72% 1 Missing :warning:
packages/white-whale-std/src/pool_manager.rs 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/v2_contracts #295 +/- ## ======================================================== + Coverage 88.20% 88.50% +0.30% ======================================================== Files 250 252 +2 Lines 23424 24029 +605 ======================================================== + Hits 20660 21267 +607 + Misses 2764 2762 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.