-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
@@ -0,0 +1,27 @@ | |||
// SPDX-License-Identifier: MIT |
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.
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 |
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.
this file was from https://github.com/pancakeswap/infinity-periphery/blob/main/src/pool-cl/interfaces/IERC721Permit_v4.sol and renamed to IERC721Permit.sol
Co-authored-by: Chef Omelette <[email protected]>
Also prefer this option as those interfaces are general and we didn't apply any changes to them |
* 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]>
This PR does the following:
src/pool-bin/interfaces/IERC721Permit.sol
tosrc/interfaces/IERC721Permit.sol
src/pool-cl/interfaces/IEIP712_v4
tosrc/pool-cl/interfaces/IEIP712
src/pool-cl/interfaces/IEIP712Permit_v4
tosrc/pool-cl/interfaces/IEIP712Permit
This is option 1:
Option 1: Rename _v4 to be without suffix (but might collide if hardhat import) - [Part 2 - option 1] feat: refactor v4 to infinity #78
Option 2: Rename _v4 to _infi - [Part 2 - option 2] feat: refactor v4 to infinity #79