Skip to content

Commit

Permalink
fix: tick spacing of 1 for the 0.01% fee tier
Browse files Browse the repository at this point in the history
  • Loading branch information
thaixuandang committed Jul 15, 2024
1 parent 3251bb9 commit ff226c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/KatanaV3Factory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ contract KatanaV3Factory is IKatanaV3Factory, KatanaV3PoolDeployer {
emit TreasuryChanged(address(0), _treasury);

// swap fee 0.01% = 0.005% for LP + 0.005% for protocol
// tick spacing of 2, approximately 0.02% between initializable ticks
_enableFeeAmount(100, 2, 5 | (10 << 8));
// tick spacing of 1, equivalent to 0.01% between initializable ticks
_enableFeeAmount(100, 1, 5 | (10 << 8));

// swap fee 0.3% = 0.25% for LP + 0.05% for protocol
// tick spacing of 60, approximately 0.60% between initializable ticks
Expand Down

0 comments on commit ff226c1

Please sign in to comment.