Skip to content

Conversation

@CheyenneAtapour
Copy link

Main change is the removal of TokenTransferProxy given that this contract is no longer executing token transfers (but Augustus instead).

Closes #30

"dependencies": {
"@paraswap/sdk": "^6.2.1",
"@paraswap/core": "^2.4.0",
"@paraswap/sdk": "^6.11.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need this new dependency?

Copy link
Author

@CheyenneAtapour CheyenneAtapour Oct 29, 2024

Choose a reason for hiding this comment

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

Removed

abstract contract BaseParaSwapBuyAdapter is BaseParaSwapAdapter {
using SafeERC20 for IERC20Detailed;
using PercentageMath for uint256;
using SafeMath for uint256;
Copy link
Contributor

Choose a reason for hiding this comment

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

SafeMath is not needed since we are >0.8.0

@miguelmtzinf
Copy link
Contributor

LGTM! Thanks, @CheyenneAtapour, for the work. Based on our chat with the Paraswap team, it looks like contract changes aren’t needed for V6 support since it’s compatible with TokenTransferProxy and AugustusRegistry, so we'll put this PR on hold for now.

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.

Migration of Paraswap adapter contracts to V6

2 participants