Skip to content

Extension/swap and deposit - #128

Open
shafu0x wants to merge 35 commits into
mainfrom
extension/swap-and-deposit
Open

Extension/swap and deposit#128
shafu0x wants to merge 35 commits into
mainfrom
extension/swap-and-deposit

Conversation

@shafu0x

@shafu0x shafu0x commented Nov 5, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@coffee-the-dev coffee-the-dev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use paraswap to execute the swap (see collateral swap extension) as it aggregates across many DEXes. Not all of our collaterals have deep uniswap liquidity, some have more in curve, balancer, etc.

Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread src/periphery/MintAndStake.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
Comment thread .gitmodules
Comment thread lib/v3-core Outdated
Comment thread remappings.txt
Comment thread src/interfaces/ISwapRouter.sol Outdated
Comment thread src/periphery/MintAndStake.sol Outdated
Comment thread src/periphery/MintAndStake.sol Outdated
Comment thread src/periphery/SwapAndDeposit.sol Outdated
@coffee-the-dev

Copy link
Copy Markdown
Contributor

We should also add a native ETH route to SwapAndDeposit that wraps to WETH for the swap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants