Skip to content

Commit

Permalink
make rebalance public
Browse files Browse the repository at this point in the history
  • Loading branch information
emmaguo13 committed Aug 11, 2023
1 parent 79f5064 commit b6a6369
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .forge-snapshots/add liquidity.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
466859
466793
2 changes: 1 addition & 1 deletion .forge-snapshots/remove liquidity and rebalance.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
442584
442539
2 changes: 1 addition & 1 deletion .forge-snapshots/remove liquidity.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
113040
112995
2 changes: 1 addition & 1 deletion contracts/hooks/examples/FullRange.sol
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ contract FullRange is BaseHook, ILockCallback {
return abi.encode(delta);
}

function _rebalance(PoolKey calldata key, int256 paramsLiquidity) internal {
function _rebalance(PoolKey calldata key, int256 paramsLiquidity) public {
PoolId poolId = key.toId();
PoolInfo storage pool = poolInfo[poolId];
if (pool.owed && paramsLiquidity < 0) {
Expand Down

0 comments on commit b6a6369

Please sign in to comment.