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

feat: Update lib #13

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/pancake-v4-universal-router
Submodule pancake-v4-universal-router updated 47 files
+1 −1 .forge-snapshots/BinNativePancakeSwapV4Test#test_v4BinSwap_ExactInSingle_NativeIn.snap
+1 −1 .forge-snapshots/BinNativePancakeSwapV4Test#test_v4BinSwap_ExactInSingle_NativeOut_RouterRecipient.snap
+1 −1 .forge-snapshots/BinPancakeSwapV4Test#test_v4BinSwap_ExactInSingle.snap
+1 −1 .forge-snapshots/BinPancakeSwapV4Test#test_v4BinSwap_ExactIn_MultiHop.snap
+1 −1 .forge-snapshots/BinPancakeSwapV4Test#test_v4BinSwap_ExactIn_SingleHop.snap
+1 −1 .forge-snapshots/BinPancakeSwapV4Test#test_v4BinSwap_ExactOut_MultiHop.snap
+1 −1 .forge-snapshots/BinPancakeSwapV4Test#test_v4BinSwap_ExactOut_SingleHop.snap
+1 −1 .forge-snapshots/BinPancakeSwapV4Test#test_v4ClSwap_ExactOutSingle.snap
+1 −1 .forge-snapshots/CLNativePancakeSwapV4Test#test_v4ClSwap_ExactInSingle_NativeIn.snap
+1 −1 .forge-snapshots/CLNativePancakeSwapV4Test#test_v4ClSwap_ExactInSingle_NativeOut.snap
+1 −1 .forge-snapshots/CLPancakeSwapV4Test#test_v4ClSwap_ExactInSingle.snap
+1 −1 .forge-snapshots/CLPancakeSwapV4Test#test_v4ClSwap_ExactIn_MultiHop.snap
+1 −1 .forge-snapshots/CLPancakeSwapV4Test#test_v4ClSwap_ExactIn_SingleHop.snap
+1 −1 .forge-snapshots/CLPancakeSwapV4Test#test_v4ClSwap_ExactOutSingle.snap
+1 −1 .forge-snapshots/CLPancakeSwapV4Test#test_v4ClSwap_ExactOut_MultiHop.snap
+1 −1 .forge-snapshots/CLPancakeSwapV4Test#test_v4ClSwap_ExactOut_SingleHop.snap
+1 −1 .forge-snapshots/PancakeSwapV2Test#test_v2Swap_exactInput0For1.snap
+1 −1 .forge-snapshots/PancakeSwapV2Test#test_v2Swap_exactOutput0For1.snap
+1 −1 .forge-snapshots/PancakeSwapV3Test#test_v3Swap_ExactInput0For1.snap
+1 −1 .forge-snapshots/PancakeSwapV3Test#test_v3Swap_exactOutput0For1.snap
+1 −1 .forge-snapshots/StableSwapTest#test_stableSwap_ExactInput0For1.snap
+1 −1 .forge-snapshots/StableSwapTest#test_stableSwap_ExactInput1For0.snap
+1 −1 .forge-snapshots/UniversalRouterBytecodeSize.snap
+1 −1 .forge-snapshots/UniversalRouterTest#test_sweep_token.snap
+1 −1 .forge-snapshots/V3ToV4MigrationNativeTest#test_v4CLPositionmanager_Mint_Native.snap
+1 −1 .forge-snapshots/V3ToV4MigrationTest#test_v3PositionManager_burn.snap
+1 −1 .forge-snapshots/V3ToV4MigrationTest#test_v4BinPositionmanager_BinAddLiquidity.snap
+1 −1 .forge-snapshots/V3ToV4MigrationTest#test_v4BinPositionmanager_BinAddLiquidity_Native.snap
+1 −1 .forge-snapshots/V3ToV4MigrationTest#test_v4CLPositionmanager_Mint.snap
+1 −1 lib/pancake-v4-periphery
+11 −15 src/UniversalRouter.sol
+0 −13 src/base/Callbacks.sol
+66 −33 src/base/Dispatcher.sol
+4 −0 src/base/Lock.sol
+21 −34 src/libraries/BytesLib.sol
+8 −21 src/libraries/Commands.sol
+0 −1 src/modules/Payments.sol
+1 −0 src/modules/Permit2Payments.sol
+4 −0 src/modules/V3ToV4Migrator.sol
+2 −0 src/modules/pancakeswap/v3/V3SwapRouter.sol
+205 −10 test/UniversalRouter.t.sol
+4 −6 test/V3ToV4Migration.t.sol
+4 −6 test/V3ToV4MigrationNative.t.sol
+1 −1 test/v4/BinNativePancakeSwapV4.t.sol
+1 −1 test/v4/BinPancakeSwapV4.t.sol
+4 −6 test/v4/CLNativePancakeSwapV4.t.sol
+4 −6 test/v4/CLPancakeSwapV4.t.sol
Loading