Closed nseguias closed 5 months ago
Schema generation had missing jobs:
contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/execute.json
contracts/liquidity_hub/pool-manager/schema/raw/query.json
Please run just schemas
locally and upload the generated schemas.
Attention: Patch coverage is 93.98496%
with 16 lines
in your changes are missing coverage. Please review.
Project coverage is 89.67%. Comparing base (
a8ebb95
) to head (4f0d553
). Report is 2 commits behind head on release/v2_contracts.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Schema generation had missing jobs:
contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/execute.json
contracts/liquidity_hub/pool-manager/schema/raw/query.json
Please run just schemas
locally and upload the generated schemas.
Schema generation had missing jobs:
contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/execute.json
contracts/liquidity_hub/pool-manager/schema/raw/query.json
Please run just schemas
locally and upload the generated schemas.
Schema generation had missing jobs:
contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/execute.json
contracts/liquidity_hub/pool-manager/schema/raw/query.json
Please run just schemas
locally and upload the generated schemas.
Schema generation had missing jobs:
contracts/liquidity_hub/pool-manager/schema/raw/response_to_simulate_swap_operations.json
contracts/liquidity_hub/pool-manager/schema/pool-manager.json
contracts/liquidity_hub/pool-manager/schema/raw/query.json
Please run just schemas
locally and upload the generated schemas.
🚢
Description and Motivation
This PR implements
AddSwapRoutes
andRemoveSwapRoutes
so that the whale lair knows how to swap things back to WHALE when performing the buybacks.It's permissionless, and once a route is added it cannot be overriden. It needs to be removed, and added again.
Only the user who added a route and the owner of the contract can remove a route.
Related Issues
315
Checklist:
Update index.md
)cargo fmt --all --
.cargo clippy -- -D warnings
.cargo schema
.