Skip to content

Commit

Permalink
Remove index from fields
Browse files Browse the repository at this point in the history
  • Loading branch information
codyborn committed Apr 24, 2024
1 parent bf1e7d0 commit fd787c6
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .forge-snapshots/initialize.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
51266
51159
2 changes: 1 addition & 1 deletion .forge-snapshots/poolManager bytecode size.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22628
22646
2 changes: 1 addition & 1 deletion .forge-snapshots/simple swap with native.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
126822
126742
2 changes: 1 addition & 1 deletion .forge-snapshots/simple swap.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
138215
138135
Original file line number Diff line number Diff line change
@@ -1 +1 @@
71157
71077
2 changes: 1 addition & 1 deletion .forge-snapshots/swap against liquidity.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
61476
61396
2 changes: 1 addition & 1 deletion .forge-snapshots/swap burn 6909 for input.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
79369
79289
2 changes: 1 addition & 1 deletion .forge-snapshots/swap burn native 6909 for input.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
75212
75132
2 changes: 1 addition & 1 deletion .forge-snapshots/swap mint native output as 6909.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
135595
135515
2 changes: 1 addition & 1 deletion .forge-snapshots/swap mint output as 6909.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
152218
152138
Original file line number Diff line number Diff line change
@@ -1 +1 @@
158801
158641
2 changes: 1 addition & 1 deletion .forge-snapshots/swap with dynamic fee.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
90705
90622
2 changes: 1 addition & 1 deletion .forge-snapshots/swap with hooks.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
61455
61375
2 changes: 1 addition & 1 deletion .forge-snapshots/update dynamic fee in before swap.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
131731
131648
4 changes: 2 additions & 2 deletions src/interfaces/IPoolManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload {
/// @param tickSpacing The minimum number of ticks between initialized ticks
/// @param hooks The hooks contract address for the pool, or address(0) if none
event Initialize(
PoolId indexed id,
PoolId id,
Currency indexed currency0,
Currency indexed currency1,
uint24 fee,
Expand Down Expand Up @@ -76,7 +76,7 @@ interface IPoolManager is IProtocolFees, IERC6909Claims, IExtsload {
/// @param tick The log base 1.0001 of the price of the pool after the swap
event Swap(
PoolId indexed id,
address indexed sender,
address sender,
int128 amount0,
int128 amount1,
uint160 sqrtPriceX96,
Expand Down
2 changes: 1 addition & 1 deletion test/DynamicFees.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract TestDynamicFees is Test, Deployers, GasSnapshot {

event Swap(
PoolId indexed poolId,
address indexed sender,
address sender,
int128 amount0,
int128 amount1,
uint160 sqrtPriceX96,
Expand Down
2 changes: 1 addition & 1 deletion test/PoolManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ contract PoolManagerTest is Test, Deployers, GasSnapshot {
);
event Swap(
PoolId indexed poolId,
address indexed sender,
address sender,
int128 amount0,
int128 amount1,
uint160 sqrtPriceX96,
Expand Down
2 changes: 1 addition & 1 deletion test/PoolManagerInitialize.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract PoolManagerInitializeTest is Test, Deployers, GasSnapshot {
using ProtocolFeeLibrary for uint24;

event Initialize(
PoolId indexed poolId,
PoolId poolId,
Currency indexed currency0,
Currency indexed currency1,
uint24 fee,
Expand Down

0 comments on commit fd787c6

Please sign in to comment.