Skip to content
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

[Part 1] feat: refactor v4 to infinity #77

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

ChefMist
Copy link
Collaborator

@ChefMist ChefMist commented Jan 28, 2025

This PR does the following:

  • update imports from pancake-v4-core to infinity-core
  • rename file name accordingly (eg. V4Router to InfinityRouter)
  • rename variables accordingly

@ChefMist ChefMist changed the title feat: refactor v4 to infinity <WIP> feat: refactor v4 to infinity Jan 28, 2025
@ChefMist ChefMist changed the title <WIP> feat: refactor v4 to infinity <WIP> [Part 1 of 2] feat: refactor v4 to infinity Jan 31, 2025
@ChefMist ChefMist changed the title <WIP> [Part 1 of 2] feat: refactor v4 to infinity <WIP> [Part 1] feat: refactor v4 to infinity Jan 31, 2025
@ChefMist ChefMist changed the title <WIP> [Part 1] feat: refactor v4 to infinity [Part 1] feat: refactor v4 to infinity Jan 31, 2025
@@ -60,7 +60,7 @@ abstract contract BinRouterBase is IBinRouterBase, DeltaResolver {
}

if (amountOut < params.amountOutMinimum) {
revert IV4Router.V4TooLittleReceived(params.amountOutMinimum, amountOut);
revert IInfinityRouter.TooLittleReceived(params.amountOutMinimum, amountOut);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drop the prefix of v4 as its already from IIfinity

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.

1 participant