@hawksightco/hawk-sdk 1.2.111 → 1.2.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -419,9 +419,9 @@ class IyfExtensionIxGenerator {
|
|
|
419
419
|
const tickArrayUpper = this.pda.raydium.generateRaydiumTickArrayPda(poolState, tickArrayUpperStartIndex);
|
|
420
420
|
const tickArrayBitmapExtension = this.pda.raydium.generateRaydiumTickArrayBitmapExtension(poolState);
|
|
421
421
|
const TICK_ARRAY_SIZE = 60;
|
|
422
|
-
const tickArray_1_index =
|
|
423
|
-
const tickArray_0_index = (0, functions_1.raydiumStartTickIndex)(
|
|
424
|
-
const tickArray_2_index = (0, functions_1.raydiumStartTickIndex)(
|
|
422
|
+
const tickArray_1_index = (0, functions_1.raydiumStartTickIndex)(tickCurrent, tickSpacing);
|
|
423
|
+
const tickArray_0_index = (0, functions_1.raydiumStartTickIndex)(tickArray_1_index - (tickSpacing * TICK_ARRAY_SIZE), tickSpacing);
|
|
424
|
+
const tickArray_2_index = (0, functions_1.raydiumStartTickIndex)(tickArray_1_index + (tickSpacing * TICK_ARRAY_SIZE), tickSpacing);
|
|
425
425
|
const tickArray_0 = this.pda.raydium.generateRaydiumTickArrayPda(poolState, tickArray_0_index);
|
|
426
426
|
const tickArray_1 = this.pda.raydium.generateRaydiumTickArrayPda(poolState, tickArray_1_index);
|
|
427
427
|
const tickArray_2 = this.pda.raydium.generateRaydiumTickArrayPda(poolState, tickArray_2_index);
|