-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mlp] Update flash mint contracts to use ISwapRouter02 interface #152
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Changing out the existing implementation obviously means that we wont be able to use the old router interface anywhere anymore.
Afaik uniswap has deployed the SwapRouter02 everywhere though, so we should be fine.
We need to remember to also adjust the address in the deployments repo though, otherwise we will be creating DexAdapter deployments that don't work.
@@ -45,7 +45,7 @@ export const PRODUCTION_ADDRESSES = { | |||
router: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", | |||
}, | |||
uniV3: { | |||
router: "0xE592427A0AEce92De3Edee1F18E0157C05861564", | |||
router: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should double check that this address is not used elsewhere, where we still need to use the old router version.
🎉 This PR is included in version 0.18.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.