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 2 - option 1] feat: refactor v4 to infinity #78

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

ChefMist
Copy link
Collaborator

@ChefMist ChefMist commented Jan 31, 2025

This PR does the following:

  • move src/pool-bin/interfaces/IERC721Permit.sol to src/interfaces/IERC721Permit.sol
  • rename src/pool-cl/interfaces/IEIP712_v4 to src/pool-cl/interfaces/IEIP712
  • rename src/pool-cl/interfaces/IEIP712Permit_v4 to src/pool-cl/interfaces/IEIP712Permit

This is option 1:

@ChefMist ChefMist changed the title <WIP> [Part 2 of 2] feat: refactor v4 to infinity <WIP> [Part 2 - option 1] feat: refactor v4 to infinity Jan 31, 2025
@@ -0,0 +1,27 @@
// SPDX-License-Identifier: MIT
Copy link
Collaborator Author

@ChefMist ChefMist Jan 31, 2025

Choose a reason for hiding this comment

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

originally at https://github.com/pancakeswap/infinity-periphery/blob/main/src/pool-cl/interfaces/IERC721Permit.sol

moved up as its also used by SelfPermitERC721 (at src/base/SelfPermitERC721)

@@ -1,27 +1,38 @@
// SPDX-License-Identifier: MIT
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ChefMist ChefMist changed the title <WIP> [Part 2 - option 1] feat: refactor v4 to infinity [Part 2 - option 1] feat: refactor v4 to infinity Jan 31, 2025
@chefburger
Copy link
Contributor

Also prefer this option as those interfaces are general and we didn't apply any changes to them

@chefburger chefburger merged commit 6d8ec06 into feat/refactor-name Feb 5, 2025
2 checks passed
@chefburger chefburger deleted the feat/refactor-filename branch February 5, 2025 06:39
chefburger pushed a commit that referenced this pull request Feb 5, 2025
* forge install: infinity-core

* feat: remove v4-core dependency

* feat: update import and v4 router -> infinity router

* bump infinity-core dep to feat/refactor-name branch

* feat: update script from v4 to infinity

* feat: further rename of v4 to infinity

* feat: further refactoring of v4 -> infinity

* feat: more refactoring

* feat: rename Multicall_v4 to MultiCall

* refactor v4 -> infi from migrator

* feat: further refactor in quoter

* feat: further rename for v4->infinity

* feat: more refactor or v4 -> infinity

* [Part 2 - option 1] feat: refactor v4 to infinity (#78)

* feat: rename _v4 to without _v4

* Update src/interfaces/external/IV3NonfungiblePositionManager.sol

Co-authored-by: Chef Omelette <[email protected]>

---------

Co-authored-by: Chef Omelette <[email protected]>

---------

Co-authored-by: Chef Omelette <[email protected]>
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.

3 participants