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

Update to v4-core latest #64

Merged
merged 4 commits into from
Oct 3, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
updated v4-core
  • Loading branch information
saucepoint committed Sep 26, 2023
commit b81c680c417aee1c26fe2ae0409990dec088f4c5
2 changes: 1 addition & 1 deletion lib/v4-core
Submodule v4-core updated 33 files
+1 −1 .forge-snapshots/donate gas with 1 token.snap
+1 −1 .forge-snapshots/donate gas with 2 tokens.snap
+1 −1 .forge-snapshots/initialize.snap
+1 −1 .forge-snapshots/mint with empty hook.snap
+1 −1 .forge-snapshots/mint with native token.snap
+1 −1 .forge-snapshots/mint.snap
+1 −1 .forge-snapshots/simple swap.snap
+1 −1 .forge-snapshots/swap against liquidity with native token.snap
+1 −1 .forge-snapshots/swap against liquidity.snap
+1 −1 .forge-snapshots/swap with dynamic fee.snap
+1 −1 .forge-snapshots/swap with hooks.snap
+1 −1 .forge-snapshots/swap with native.snap
+20 −19 contracts/Fees.sol
+11 −26 contracts/PoolManager.sol
+3 −8 contracts/interfaces/IHookFeeManager.sol
+3 −10 contracts/interfaces/IPoolManager.sol
+1 −1 contracts/interfaces/IProtocolFeeController.sol
+44 −41 contracts/libraries/Pool.sol
+43 −34 contracts/test/MockHooks.sol
+6 −3 contracts/test/PoolDonateTest.sol
+4 −3 contracts/test/PoolModifyPositionTest.sol
+12 −11 contracts/test/PoolSwapTest.sol
+6 −6 contracts/test/ProtocolFeeControllerTest.sol
+22 −11 test/PoolManager.gas.spec.ts
+49 −42 test/PoolManager.spec.ts
+73 −73 test/__snapshots__/PoolManager.gas.spec.ts.snap
+1 −1 test/__snapshots__/PoolManager.spec.ts.snap
+8 −2 test/foundry-tests/DynamicFees.t.sol
+171 −118 test/foundry-tests/Fees.t.sol
+31 −12 test/foundry-tests/Hooks.t.sol
+18 −4 test/foundry-tests/Pool.t.sol
+62 −54 test/foundry-tests/PoolManager.t.sol
+16 −2 test/foundry-tests/utils/Deployers.sol