@crypticdot/defituna-api 1.3.8 → 1.3.9
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.
- package/dist/index.d.mts +0 -79
- package/dist/index.d.ts +0 -79
- package/dist/index.js +0 -13
- package/dist/index.mjs +0 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -693,22 +693,9 @@ declare const TunaPosition$1: z.ZodObject<{
|
|
|
693
693
|
liquidity: z.ZodBigInt;
|
|
694
694
|
tickLowerIndex: z.ZodNumber;
|
|
695
695
|
tickUpperIndex: z.ZodNumber;
|
|
696
|
-
/**
|
|
697
|
-
* @deprecated Use entrySqrtPrice
|
|
698
|
-
*/
|
|
699
|
-
tickEntryIndex: z.ZodNumber;
|
|
700
|
-
/**
|
|
701
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
702
|
-
*/
|
|
703
|
-
tickStopLossIndex: z.ZodNumber;
|
|
704
|
-
/**
|
|
705
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
706
|
-
*/
|
|
707
|
-
tickTakeProfitIndex: z.ZodNumber;
|
|
708
696
|
entrySqrtPrice: z.ZodBigInt;
|
|
709
697
|
lowerLimitOrderSqrtPrice: z.ZodBigInt;
|
|
710
698
|
upperLimitOrderSqrtPrice: z.ZodBigInt;
|
|
711
|
-
swapToTokenOnLimitOrder: z.ZodNumber;
|
|
712
699
|
flags: z.ZodNumber;
|
|
713
700
|
pool: z.ZodString;
|
|
714
701
|
poolSqrtPrice: z.ZodBigInt;
|
|
@@ -895,13 +882,9 @@ declare const TunaPosition$1: z.ZodObject<{
|
|
|
895
882
|
positionMint: string;
|
|
896
883
|
tickLowerIndex: number;
|
|
897
884
|
tickUpperIndex: number;
|
|
898
|
-
tickEntryIndex: number;
|
|
899
|
-
tickStopLossIndex: number;
|
|
900
|
-
tickTakeProfitIndex: number;
|
|
901
885
|
entrySqrtPrice: bigint;
|
|
902
886
|
lowerLimitOrderSqrtPrice: bigint;
|
|
903
887
|
upperLimitOrderSqrtPrice: bigint;
|
|
904
|
-
swapToTokenOnLimitOrder: number;
|
|
905
888
|
flags: number;
|
|
906
889
|
pool: string;
|
|
907
890
|
poolSqrtPrice: bigint;
|
|
@@ -986,13 +969,9 @@ declare const TunaPosition$1: z.ZodObject<{
|
|
|
986
969
|
positionMint: string;
|
|
987
970
|
tickLowerIndex: number;
|
|
988
971
|
tickUpperIndex: number;
|
|
989
|
-
tickEntryIndex: number;
|
|
990
|
-
tickStopLossIndex: number;
|
|
991
|
-
tickTakeProfitIndex: number;
|
|
992
972
|
entrySqrtPrice: bigint;
|
|
993
973
|
lowerLimitOrderSqrtPrice: bigint;
|
|
994
974
|
upperLimitOrderSqrtPrice: bigint;
|
|
995
|
-
swapToTokenOnLimitOrder: number;
|
|
996
975
|
flags: number;
|
|
997
976
|
pool: string;
|
|
998
977
|
poolSqrtPrice: bigint;
|
|
@@ -2529,22 +2508,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2529
2508
|
liquidity: z.ZodBigInt;
|
|
2530
2509
|
tickLowerIndex: z.ZodNumber;
|
|
2531
2510
|
tickUpperIndex: z.ZodNumber;
|
|
2532
|
-
/**
|
|
2533
|
-
* @deprecated Use entrySqrtPrice
|
|
2534
|
-
*/
|
|
2535
|
-
tickEntryIndex: z.ZodNumber;
|
|
2536
|
-
/**
|
|
2537
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
2538
|
-
*/
|
|
2539
|
-
tickStopLossIndex: z.ZodNumber;
|
|
2540
|
-
/**
|
|
2541
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
2542
|
-
*/
|
|
2543
|
-
tickTakeProfitIndex: z.ZodNumber;
|
|
2544
2511
|
entrySqrtPrice: z.ZodBigInt;
|
|
2545
2512
|
lowerLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2546
2513
|
upperLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2547
|
-
swapToTokenOnLimitOrder: z.ZodNumber;
|
|
2548
2514
|
flags: z.ZodNumber;
|
|
2549
2515
|
pool: z.ZodString;
|
|
2550
2516
|
poolSqrtPrice: z.ZodBigInt;
|
|
@@ -2731,13 +2697,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2731
2697
|
positionMint: string;
|
|
2732
2698
|
tickLowerIndex: number;
|
|
2733
2699
|
tickUpperIndex: number;
|
|
2734
|
-
tickEntryIndex: number;
|
|
2735
|
-
tickStopLossIndex: number;
|
|
2736
|
-
tickTakeProfitIndex: number;
|
|
2737
2700
|
entrySqrtPrice: bigint;
|
|
2738
2701
|
lowerLimitOrderSqrtPrice: bigint;
|
|
2739
2702
|
upperLimitOrderSqrtPrice: bigint;
|
|
2740
|
-
swapToTokenOnLimitOrder: number;
|
|
2741
2703
|
flags: number;
|
|
2742
2704
|
pool: string;
|
|
2743
2705
|
poolSqrtPrice: bigint;
|
|
@@ -2822,13 +2784,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2822
2784
|
positionMint: string;
|
|
2823
2785
|
tickLowerIndex: number;
|
|
2824
2786
|
tickUpperIndex: number;
|
|
2825
|
-
tickEntryIndex: number;
|
|
2826
|
-
tickStopLossIndex: number;
|
|
2827
|
-
tickTakeProfitIndex: number;
|
|
2828
2787
|
entrySqrtPrice: bigint;
|
|
2829
2788
|
lowerLimitOrderSqrtPrice: bigint;
|
|
2830
2789
|
upperLimitOrderSqrtPrice: bigint;
|
|
2831
|
-
swapToTokenOnLimitOrder: number;
|
|
2832
2790
|
flags: number;
|
|
2833
2791
|
pool: string;
|
|
2834
2792
|
poolSqrtPrice: bigint;
|
|
@@ -2920,22 +2878,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2920
2878
|
liquidity: z.ZodBigInt;
|
|
2921
2879
|
tickLowerIndex: z.ZodNumber;
|
|
2922
2880
|
tickUpperIndex: z.ZodNumber;
|
|
2923
|
-
/**
|
|
2924
|
-
* @deprecated Use entrySqrtPrice
|
|
2925
|
-
*/
|
|
2926
|
-
tickEntryIndex: z.ZodNumber;
|
|
2927
|
-
/**
|
|
2928
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
2929
|
-
*/
|
|
2930
|
-
tickStopLossIndex: z.ZodNumber;
|
|
2931
|
-
/**
|
|
2932
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
2933
|
-
*/
|
|
2934
|
-
tickTakeProfitIndex: z.ZodNumber;
|
|
2935
2881
|
entrySqrtPrice: z.ZodBigInt;
|
|
2936
2882
|
lowerLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2937
2883
|
upperLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2938
|
-
swapToTokenOnLimitOrder: z.ZodNumber;
|
|
2939
2884
|
flags: z.ZodNumber;
|
|
2940
2885
|
pool: z.ZodString;
|
|
2941
2886
|
poolSqrtPrice: z.ZodBigInt;
|
|
@@ -3122,13 +3067,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3122
3067
|
positionMint: string;
|
|
3123
3068
|
tickLowerIndex: number;
|
|
3124
3069
|
tickUpperIndex: number;
|
|
3125
|
-
tickEntryIndex: number;
|
|
3126
|
-
tickStopLossIndex: number;
|
|
3127
|
-
tickTakeProfitIndex: number;
|
|
3128
3070
|
entrySqrtPrice: bigint;
|
|
3129
3071
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3130
3072
|
upperLimitOrderSqrtPrice: bigint;
|
|
3131
|
-
swapToTokenOnLimitOrder: number;
|
|
3132
3073
|
flags: number;
|
|
3133
3074
|
pool: string;
|
|
3134
3075
|
poolSqrtPrice: bigint;
|
|
@@ -3213,13 +3154,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3213
3154
|
positionMint: string;
|
|
3214
3155
|
tickLowerIndex: number;
|
|
3215
3156
|
tickUpperIndex: number;
|
|
3216
|
-
tickEntryIndex: number;
|
|
3217
|
-
tickStopLossIndex: number;
|
|
3218
|
-
tickTakeProfitIndex: number;
|
|
3219
3157
|
entrySqrtPrice: bigint;
|
|
3220
3158
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3221
3159
|
upperLimitOrderSqrtPrice: bigint;
|
|
3222
|
-
swapToTokenOnLimitOrder: number;
|
|
3223
3160
|
flags: number;
|
|
3224
3161
|
pool: string;
|
|
3225
3162
|
poolSqrtPrice: bigint;
|
|
@@ -3311,13 +3248,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3311
3248
|
positionMint: string;
|
|
3312
3249
|
tickLowerIndex: number;
|
|
3313
3250
|
tickUpperIndex: number;
|
|
3314
|
-
tickEntryIndex: number;
|
|
3315
|
-
tickStopLossIndex: number;
|
|
3316
|
-
tickTakeProfitIndex: number;
|
|
3317
3251
|
entrySqrtPrice: bigint;
|
|
3318
3252
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3319
3253
|
upperLimitOrderSqrtPrice: bigint;
|
|
3320
|
-
swapToTokenOnLimitOrder: number;
|
|
3321
3254
|
flags: number;
|
|
3322
3255
|
pool: string;
|
|
3323
3256
|
poolSqrtPrice: bigint;
|
|
@@ -3409,13 +3342,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3409
3342
|
positionMint: string;
|
|
3410
3343
|
tickLowerIndex: number;
|
|
3411
3344
|
tickUpperIndex: number;
|
|
3412
|
-
tickEntryIndex: number;
|
|
3413
|
-
tickStopLossIndex: number;
|
|
3414
|
-
tickTakeProfitIndex: number;
|
|
3415
3345
|
entrySqrtPrice: bigint;
|
|
3416
3346
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3417
3347
|
upperLimitOrderSqrtPrice: bigint;
|
|
3418
|
-
swapToTokenOnLimitOrder: number;
|
|
3419
3348
|
flags: number;
|
|
3420
3349
|
pool: string;
|
|
3421
3350
|
poolSqrtPrice: bigint;
|
|
@@ -3507,13 +3436,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3507
3436
|
positionMint: string;
|
|
3508
3437
|
tickLowerIndex: number;
|
|
3509
3438
|
tickUpperIndex: number;
|
|
3510
|
-
tickEntryIndex: number;
|
|
3511
|
-
tickStopLossIndex: number;
|
|
3512
|
-
tickTakeProfitIndex: number;
|
|
3513
3439
|
entrySqrtPrice: bigint;
|
|
3514
3440
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3515
3441
|
upperLimitOrderSqrtPrice: bigint;
|
|
3516
|
-
swapToTokenOnLimitOrder: number;
|
|
3517
3442
|
flags: number;
|
|
3518
3443
|
pool: string;
|
|
3519
3444
|
poolSqrtPrice: bigint;
|
|
@@ -3605,13 +3530,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3605
3530
|
positionMint: string;
|
|
3606
3531
|
tickLowerIndex: number;
|
|
3607
3532
|
tickUpperIndex: number;
|
|
3608
|
-
tickEntryIndex: number;
|
|
3609
|
-
tickStopLossIndex: number;
|
|
3610
|
-
tickTakeProfitIndex: number;
|
|
3611
3533
|
entrySqrtPrice: bigint;
|
|
3612
3534
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3613
3535
|
upperLimitOrderSqrtPrice: bigint;
|
|
3614
|
-
swapToTokenOnLimitOrder: number;
|
|
3615
3536
|
flags: number;
|
|
3616
3537
|
pool: string;
|
|
3617
3538
|
poolSqrtPrice: bigint;
|
package/dist/index.d.ts
CHANGED
|
@@ -693,22 +693,9 @@ declare const TunaPosition$1: z.ZodObject<{
|
|
|
693
693
|
liquidity: z.ZodBigInt;
|
|
694
694
|
tickLowerIndex: z.ZodNumber;
|
|
695
695
|
tickUpperIndex: z.ZodNumber;
|
|
696
|
-
/**
|
|
697
|
-
* @deprecated Use entrySqrtPrice
|
|
698
|
-
*/
|
|
699
|
-
tickEntryIndex: z.ZodNumber;
|
|
700
|
-
/**
|
|
701
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
702
|
-
*/
|
|
703
|
-
tickStopLossIndex: z.ZodNumber;
|
|
704
|
-
/**
|
|
705
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
706
|
-
*/
|
|
707
|
-
tickTakeProfitIndex: z.ZodNumber;
|
|
708
696
|
entrySqrtPrice: z.ZodBigInt;
|
|
709
697
|
lowerLimitOrderSqrtPrice: z.ZodBigInt;
|
|
710
698
|
upperLimitOrderSqrtPrice: z.ZodBigInt;
|
|
711
|
-
swapToTokenOnLimitOrder: z.ZodNumber;
|
|
712
699
|
flags: z.ZodNumber;
|
|
713
700
|
pool: z.ZodString;
|
|
714
701
|
poolSqrtPrice: z.ZodBigInt;
|
|
@@ -895,13 +882,9 @@ declare const TunaPosition$1: z.ZodObject<{
|
|
|
895
882
|
positionMint: string;
|
|
896
883
|
tickLowerIndex: number;
|
|
897
884
|
tickUpperIndex: number;
|
|
898
|
-
tickEntryIndex: number;
|
|
899
|
-
tickStopLossIndex: number;
|
|
900
|
-
tickTakeProfitIndex: number;
|
|
901
885
|
entrySqrtPrice: bigint;
|
|
902
886
|
lowerLimitOrderSqrtPrice: bigint;
|
|
903
887
|
upperLimitOrderSqrtPrice: bigint;
|
|
904
|
-
swapToTokenOnLimitOrder: number;
|
|
905
888
|
flags: number;
|
|
906
889
|
pool: string;
|
|
907
890
|
poolSqrtPrice: bigint;
|
|
@@ -986,13 +969,9 @@ declare const TunaPosition$1: z.ZodObject<{
|
|
|
986
969
|
positionMint: string;
|
|
987
970
|
tickLowerIndex: number;
|
|
988
971
|
tickUpperIndex: number;
|
|
989
|
-
tickEntryIndex: number;
|
|
990
|
-
tickStopLossIndex: number;
|
|
991
|
-
tickTakeProfitIndex: number;
|
|
992
972
|
entrySqrtPrice: bigint;
|
|
993
973
|
lowerLimitOrderSqrtPrice: bigint;
|
|
994
974
|
upperLimitOrderSqrtPrice: bigint;
|
|
995
|
-
swapToTokenOnLimitOrder: number;
|
|
996
975
|
flags: number;
|
|
997
976
|
pool: string;
|
|
998
977
|
poolSqrtPrice: bigint;
|
|
@@ -2529,22 +2508,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2529
2508
|
liquidity: z.ZodBigInt;
|
|
2530
2509
|
tickLowerIndex: z.ZodNumber;
|
|
2531
2510
|
tickUpperIndex: z.ZodNumber;
|
|
2532
|
-
/**
|
|
2533
|
-
* @deprecated Use entrySqrtPrice
|
|
2534
|
-
*/
|
|
2535
|
-
tickEntryIndex: z.ZodNumber;
|
|
2536
|
-
/**
|
|
2537
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
2538
|
-
*/
|
|
2539
|
-
tickStopLossIndex: z.ZodNumber;
|
|
2540
|
-
/**
|
|
2541
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
2542
|
-
*/
|
|
2543
|
-
tickTakeProfitIndex: z.ZodNumber;
|
|
2544
2511
|
entrySqrtPrice: z.ZodBigInt;
|
|
2545
2512
|
lowerLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2546
2513
|
upperLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2547
|
-
swapToTokenOnLimitOrder: z.ZodNumber;
|
|
2548
2514
|
flags: z.ZodNumber;
|
|
2549
2515
|
pool: z.ZodString;
|
|
2550
2516
|
poolSqrtPrice: z.ZodBigInt;
|
|
@@ -2731,13 +2697,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2731
2697
|
positionMint: string;
|
|
2732
2698
|
tickLowerIndex: number;
|
|
2733
2699
|
tickUpperIndex: number;
|
|
2734
|
-
tickEntryIndex: number;
|
|
2735
|
-
tickStopLossIndex: number;
|
|
2736
|
-
tickTakeProfitIndex: number;
|
|
2737
2700
|
entrySqrtPrice: bigint;
|
|
2738
2701
|
lowerLimitOrderSqrtPrice: bigint;
|
|
2739
2702
|
upperLimitOrderSqrtPrice: bigint;
|
|
2740
|
-
swapToTokenOnLimitOrder: number;
|
|
2741
2703
|
flags: number;
|
|
2742
2704
|
pool: string;
|
|
2743
2705
|
poolSqrtPrice: bigint;
|
|
@@ -2822,13 +2784,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2822
2784
|
positionMint: string;
|
|
2823
2785
|
tickLowerIndex: number;
|
|
2824
2786
|
tickUpperIndex: number;
|
|
2825
|
-
tickEntryIndex: number;
|
|
2826
|
-
tickStopLossIndex: number;
|
|
2827
|
-
tickTakeProfitIndex: number;
|
|
2828
2787
|
entrySqrtPrice: bigint;
|
|
2829
2788
|
lowerLimitOrderSqrtPrice: bigint;
|
|
2830
2789
|
upperLimitOrderSqrtPrice: bigint;
|
|
2831
|
-
swapToTokenOnLimitOrder: number;
|
|
2832
2790
|
flags: number;
|
|
2833
2791
|
pool: string;
|
|
2834
2792
|
poolSqrtPrice: bigint;
|
|
@@ -2920,22 +2878,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2920
2878
|
liquidity: z.ZodBigInt;
|
|
2921
2879
|
tickLowerIndex: z.ZodNumber;
|
|
2922
2880
|
tickUpperIndex: z.ZodNumber;
|
|
2923
|
-
/**
|
|
2924
|
-
* @deprecated Use entrySqrtPrice
|
|
2925
|
-
*/
|
|
2926
|
-
tickEntryIndex: z.ZodNumber;
|
|
2927
|
-
/**
|
|
2928
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
2929
|
-
*/
|
|
2930
|
-
tickStopLossIndex: z.ZodNumber;
|
|
2931
|
-
/**
|
|
2932
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
2933
|
-
*/
|
|
2934
|
-
tickTakeProfitIndex: z.ZodNumber;
|
|
2935
2881
|
entrySqrtPrice: z.ZodBigInt;
|
|
2936
2882
|
lowerLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2937
2883
|
upperLimitOrderSqrtPrice: z.ZodBigInt;
|
|
2938
|
-
swapToTokenOnLimitOrder: z.ZodNumber;
|
|
2939
2884
|
flags: z.ZodNumber;
|
|
2940
2885
|
pool: z.ZodString;
|
|
2941
2886
|
poolSqrtPrice: z.ZodBigInt;
|
|
@@ -3122,13 +3067,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3122
3067
|
positionMint: string;
|
|
3123
3068
|
tickLowerIndex: number;
|
|
3124
3069
|
tickUpperIndex: number;
|
|
3125
|
-
tickEntryIndex: number;
|
|
3126
|
-
tickStopLossIndex: number;
|
|
3127
|
-
tickTakeProfitIndex: number;
|
|
3128
3070
|
entrySqrtPrice: bigint;
|
|
3129
3071
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3130
3072
|
upperLimitOrderSqrtPrice: bigint;
|
|
3131
|
-
swapToTokenOnLimitOrder: number;
|
|
3132
3073
|
flags: number;
|
|
3133
3074
|
pool: string;
|
|
3134
3075
|
poolSqrtPrice: bigint;
|
|
@@ -3213,13 +3154,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3213
3154
|
positionMint: string;
|
|
3214
3155
|
tickLowerIndex: number;
|
|
3215
3156
|
tickUpperIndex: number;
|
|
3216
|
-
tickEntryIndex: number;
|
|
3217
|
-
tickStopLossIndex: number;
|
|
3218
|
-
tickTakeProfitIndex: number;
|
|
3219
3157
|
entrySqrtPrice: bigint;
|
|
3220
3158
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3221
3159
|
upperLimitOrderSqrtPrice: bigint;
|
|
3222
|
-
swapToTokenOnLimitOrder: number;
|
|
3223
3160
|
flags: number;
|
|
3224
3161
|
pool: string;
|
|
3225
3162
|
poolSqrtPrice: bigint;
|
|
@@ -3311,13 +3248,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3311
3248
|
positionMint: string;
|
|
3312
3249
|
tickLowerIndex: number;
|
|
3313
3250
|
tickUpperIndex: number;
|
|
3314
|
-
tickEntryIndex: number;
|
|
3315
|
-
tickStopLossIndex: number;
|
|
3316
|
-
tickTakeProfitIndex: number;
|
|
3317
3251
|
entrySqrtPrice: bigint;
|
|
3318
3252
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3319
3253
|
upperLimitOrderSqrtPrice: bigint;
|
|
3320
|
-
swapToTokenOnLimitOrder: number;
|
|
3321
3254
|
flags: number;
|
|
3322
3255
|
pool: string;
|
|
3323
3256
|
poolSqrtPrice: bigint;
|
|
@@ -3409,13 +3342,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3409
3342
|
positionMint: string;
|
|
3410
3343
|
tickLowerIndex: number;
|
|
3411
3344
|
tickUpperIndex: number;
|
|
3412
|
-
tickEntryIndex: number;
|
|
3413
|
-
tickStopLossIndex: number;
|
|
3414
|
-
tickTakeProfitIndex: number;
|
|
3415
3345
|
entrySqrtPrice: bigint;
|
|
3416
3346
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3417
3347
|
upperLimitOrderSqrtPrice: bigint;
|
|
3418
|
-
swapToTokenOnLimitOrder: number;
|
|
3419
3348
|
flags: number;
|
|
3420
3349
|
pool: string;
|
|
3421
3350
|
poolSqrtPrice: bigint;
|
|
@@ -3507,13 +3436,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3507
3436
|
positionMint: string;
|
|
3508
3437
|
tickLowerIndex: number;
|
|
3509
3438
|
tickUpperIndex: number;
|
|
3510
|
-
tickEntryIndex: number;
|
|
3511
|
-
tickStopLossIndex: number;
|
|
3512
|
-
tickTakeProfitIndex: number;
|
|
3513
3439
|
entrySqrtPrice: bigint;
|
|
3514
3440
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3515
3441
|
upperLimitOrderSqrtPrice: bigint;
|
|
3516
|
-
swapToTokenOnLimitOrder: number;
|
|
3517
3442
|
flags: number;
|
|
3518
3443
|
pool: string;
|
|
3519
3444
|
poolSqrtPrice: bigint;
|
|
@@ -3605,13 +3530,9 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3605
3530
|
positionMint: string;
|
|
3606
3531
|
tickLowerIndex: number;
|
|
3607
3532
|
tickUpperIndex: number;
|
|
3608
|
-
tickEntryIndex: number;
|
|
3609
|
-
tickStopLossIndex: number;
|
|
3610
|
-
tickTakeProfitIndex: number;
|
|
3611
3533
|
entrySqrtPrice: bigint;
|
|
3612
3534
|
lowerLimitOrderSqrtPrice: bigint;
|
|
3613
3535
|
upperLimitOrderSqrtPrice: bigint;
|
|
3614
|
-
swapToTokenOnLimitOrder: number;
|
|
3615
3536
|
flags: number;
|
|
3616
3537
|
pool: string;
|
|
3617
3538
|
poolSqrtPrice: bigint;
|
package/dist/index.js
CHANGED
|
@@ -354,22 +354,9 @@ var TunaPosition = import_zod.z.object({
|
|
|
354
354
|
liquidity: import_zod.z.coerce.bigint(),
|
|
355
355
|
tickLowerIndex: import_zod.z.number(),
|
|
356
356
|
tickUpperIndex: import_zod.z.number(),
|
|
357
|
-
/**
|
|
358
|
-
* @deprecated Use entrySqrtPrice
|
|
359
|
-
*/
|
|
360
|
-
tickEntryIndex: import_zod.z.number(),
|
|
361
|
-
/**
|
|
362
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
363
|
-
*/
|
|
364
|
-
tickStopLossIndex: import_zod.z.number(),
|
|
365
|
-
/**
|
|
366
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
367
|
-
*/
|
|
368
|
-
tickTakeProfitIndex: import_zod.z.number(),
|
|
369
357
|
entrySqrtPrice: import_zod.z.coerce.bigint(),
|
|
370
358
|
lowerLimitOrderSqrtPrice: import_zod.z.coerce.bigint(),
|
|
371
359
|
upperLimitOrderSqrtPrice: import_zod.z.coerce.bigint(),
|
|
372
|
-
swapToTokenOnLimitOrder: import_zod.z.number(),
|
|
373
360
|
flags: import_zod.z.number(),
|
|
374
361
|
pool: import_zod.z.string(),
|
|
375
362
|
poolSqrtPrice: import_zod.z.coerce.bigint(),
|
package/dist/index.mjs
CHANGED
|
@@ -319,22 +319,9 @@ var TunaPosition = z.object({
|
|
|
319
319
|
liquidity: z.coerce.bigint(),
|
|
320
320
|
tickLowerIndex: z.number(),
|
|
321
321
|
tickUpperIndex: z.number(),
|
|
322
|
-
/**
|
|
323
|
-
* @deprecated Use entrySqrtPrice
|
|
324
|
-
*/
|
|
325
|
-
tickEntryIndex: z.number(),
|
|
326
|
-
/**
|
|
327
|
-
* @deprecated Use lowerLimitOrderSqrtPrice
|
|
328
|
-
*/
|
|
329
|
-
tickStopLossIndex: z.number(),
|
|
330
|
-
/**
|
|
331
|
-
* @deprecated Use upperLimitOrderSqrtPrice
|
|
332
|
-
*/
|
|
333
|
-
tickTakeProfitIndex: z.number(),
|
|
334
322
|
entrySqrtPrice: z.coerce.bigint(),
|
|
335
323
|
lowerLimitOrderSqrtPrice: z.coerce.bigint(),
|
|
336
324
|
upperLimitOrderSqrtPrice: z.coerce.bigint(),
|
|
337
|
-
swapToTokenOnLimitOrder: z.number(),
|
|
338
325
|
flags: z.number(),
|
|
339
326
|
pool: z.string(),
|
|
340
327
|
poolSqrtPrice: z.coerce.bigint(),
|