@crypticdot/defituna-api 1.1.53 → 1.1.55

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 CHANGED
@@ -665,9 +665,21 @@ declare const TunaPosition$1: z.ZodObject<{
665
665
  liquidity: z.ZodBigInt;
666
666
  tickLowerIndex: z.ZodNumber;
667
667
  tickUpperIndex: z.ZodNumber;
668
+ /**
669
+ * @deprecated Use entrySqrtPrice
670
+ */
668
671
  tickEntryIndex: z.ZodNumber;
672
+ /**
673
+ * @deprecated Use lowerLimitOrderSqrtPrice
674
+ */
669
675
  tickStopLossIndex: z.ZodNumber;
676
+ /**
677
+ * @deprecated Use upperLimitOrderSqrtPrice
678
+ */
670
679
  tickTakeProfitIndex: z.ZodNumber;
680
+ entrySqrtPrice: z.ZodBigInt;
681
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
682
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
671
683
  swapToTokenOnLimitOrder: z.ZodNumber;
672
684
  flags: z.ZodNumber;
673
685
  pool: z.ZodString;
@@ -858,6 +870,9 @@ declare const TunaPosition$1: z.ZodObject<{
858
870
  tickEntryIndex: number;
859
871
  tickStopLossIndex: number;
860
872
  tickTakeProfitIndex: number;
873
+ entrySqrtPrice: bigint;
874
+ lowerLimitOrderSqrtPrice: bigint;
875
+ upperLimitOrderSqrtPrice: bigint;
861
876
  swapToTokenOnLimitOrder: number;
862
877
  flags: number;
863
878
  pool: string;
@@ -946,6 +961,9 @@ declare const TunaPosition$1: z.ZodObject<{
946
961
  tickEntryIndex: number;
947
962
  tickStopLossIndex: number;
948
963
  tickTakeProfitIndex: number;
964
+ entrySqrtPrice: bigint;
965
+ lowerLimitOrderSqrtPrice: bigint;
966
+ upperLimitOrderSqrtPrice: bigint;
949
967
  swapToTokenOnLimitOrder: number;
950
968
  flags: number;
951
969
  pool: string;
@@ -1346,6 +1364,7 @@ declare const StakingPosition$1: z.ZodObject<{
1346
1364
  amount: bigint;
1347
1365
  usd: number;
1348
1366
  }>;
1367
+ rank: z.ZodNullable<z.ZodNumber>;
1349
1368
  vesting: z.ZodObject<{
1350
1369
  locked: z.ZodObject<{
1351
1370
  amount: z.ZodBigInt;
@@ -1419,6 +1438,7 @@ declare const StakingPosition$1: z.ZodObject<{
1419
1438
  amount: bigint;
1420
1439
  usd: number;
1421
1440
  };
1441
+ rank: number | null;
1422
1442
  vesting: {
1423
1443
  locked: {
1424
1444
  amount: bigint;
@@ -1454,6 +1474,7 @@ declare const StakingPosition$1: z.ZodObject<{
1454
1474
  amount: bigint;
1455
1475
  usd: number;
1456
1476
  };
1477
+ rank: number | null;
1457
1478
  vesting: {
1458
1479
  locked: {
1459
1480
  amount: bigint;
@@ -2223,9 +2244,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2223
2244
  liquidity: z.ZodBigInt;
2224
2245
  tickLowerIndex: z.ZodNumber;
2225
2246
  tickUpperIndex: z.ZodNumber;
2247
+ /**
2248
+ * @deprecated Use entrySqrtPrice
2249
+ */
2226
2250
  tickEntryIndex: z.ZodNumber;
2251
+ /**
2252
+ * @deprecated Use lowerLimitOrderSqrtPrice
2253
+ */
2227
2254
  tickStopLossIndex: z.ZodNumber;
2255
+ /**
2256
+ * @deprecated Use upperLimitOrderSqrtPrice
2257
+ */
2228
2258
  tickTakeProfitIndex: z.ZodNumber;
2259
+ entrySqrtPrice: z.ZodBigInt;
2260
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2261
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2229
2262
  swapToTokenOnLimitOrder: z.ZodNumber;
2230
2263
  flags: z.ZodNumber;
2231
2264
  pool: z.ZodString;
@@ -2416,6 +2449,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2416
2449
  tickEntryIndex: number;
2417
2450
  tickStopLossIndex: number;
2418
2451
  tickTakeProfitIndex: number;
2452
+ entrySqrtPrice: bigint;
2453
+ lowerLimitOrderSqrtPrice: bigint;
2454
+ upperLimitOrderSqrtPrice: bigint;
2419
2455
  swapToTokenOnLimitOrder: number;
2420
2456
  flags: number;
2421
2457
  pool: string;
@@ -2504,6 +2540,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2504
2540
  tickEntryIndex: number;
2505
2541
  tickStopLossIndex: number;
2506
2542
  tickTakeProfitIndex: number;
2543
+ entrySqrtPrice: bigint;
2544
+ lowerLimitOrderSqrtPrice: bigint;
2545
+ upperLimitOrderSqrtPrice: bigint;
2507
2546
  swapToTokenOnLimitOrder: number;
2508
2547
  flags: number;
2509
2548
  pool: string;
@@ -2596,9 +2635,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2596
2635
  liquidity: z.ZodBigInt;
2597
2636
  tickLowerIndex: z.ZodNumber;
2598
2637
  tickUpperIndex: z.ZodNumber;
2638
+ /**
2639
+ * @deprecated Use entrySqrtPrice
2640
+ */
2599
2641
  tickEntryIndex: z.ZodNumber;
2642
+ /**
2643
+ * @deprecated Use lowerLimitOrderSqrtPrice
2644
+ */
2600
2645
  tickStopLossIndex: z.ZodNumber;
2646
+ /**
2647
+ * @deprecated Use upperLimitOrderSqrtPrice
2648
+ */
2601
2649
  tickTakeProfitIndex: z.ZodNumber;
2650
+ entrySqrtPrice: z.ZodBigInt;
2651
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2652
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2602
2653
  swapToTokenOnLimitOrder: z.ZodNumber;
2603
2654
  flags: z.ZodNumber;
2604
2655
  pool: z.ZodString;
@@ -2789,6 +2840,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2789
2840
  tickEntryIndex: number;
2790
2841
  tickStopLossIndex: number;
2791
2842
  tickTakeProfitIndex: number;
2843
+ entrySqrtPrice: bigint;
2844
+ lowerLimitOrderSqrtPrice: bigint;
2845
+ upperLimitOrderSqrtPrice: bigint;
2792
2846
  swapToTokenOnLimitOrder: number;
2793
2847
  flags: number;
2794
2848
  pool: string;
@@ -2877,6 +2931,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2877
2931
  tickEntryIndex: number;
2878
2932
  tickStopLossIndex: number;
2879
2933
  tickTakeProfitIndex: number;
2934
+ entrySqrtPrice: bigint;
2935
+ lowerLimitOrderSqrtPrice: bigint;
2936
+ upperLimitOrderSqrtPrice: bigint;
2880
2937
  swapToTokenOnLimitOrder: number;
2881
2938
  flags: number;
2882
2939
  pool: string;
@@ -2971,6 +3028,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2971
3028
  tickEntryIndex: number;
2972
3029
  tickStopLossIndex: number;
2973
3030
  tickTakeProfitIndex: number;
3031
+ entrySqrtPrice: bigint;
3032
+ lowerLimitOrderSqrtPrice: bigint;
3033
+ upperLimitOrderSqrtPrice: bigint;
2974
3034
  swapToTokenOnLimitOrder: number;
2975
3035
  flags: number;
2976
3036
  pool: string;
@@ -3066,6 +3126,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3066
3126
  tickEntryIndex: number;
3067
3127
  tickStopLossIndex: number;
3068
3128
  tickTakeProfitIndex: number;
3129
+ entrySqrtPrice: bigint;
3130
+ lowerLimitOrderSqrtPrice: bigint;
3131
+ upperLimitOrderSqrtPrice: bigint;
3069
3132
  swapToTokenOnLimitOrder: number;
3070
3133
  flags: number;
3071
3134
  pool: string;
@@ -3161,6 +3224,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3161
3224
  tickEntryIndex: number;
3162
3225
  tickStopLossIndex: number;
3163
3226
  tickTakeProfitIndex: number;
3227
+ entrySqrtPrice: bigint;
3228
+ lowerLimitOrderSqrtPrice: bigint;
3229
+ upperLimitOrderSqrtPrice: bigint;
3164
3230
  swapToTokenOnLimitOrder: number;
3165
3231
  flags: number;
3166
3232
  pool: string;
@@ -3256,6 +3322,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3256
3322
  tickEntryIndex: number;
3257
3323
  tickStopLossIndex: number;
3258
3324
  tickTakeProfitIndex: number;
3325
+ entrySqrtPrice: bigint;
3326
+ lowerLimitOrderSqrtPrice: bigint;
3327
+ upperLimitOrderSqrtPrice: bigint;
3259
3328
  swapToTokenOnLimitOrder: number;
3260
3329
  flags: number;
3261
3330
  pool: string;
@@ -3858,6 +3927,7 @@ declare const StakingPositionNotification: z.ZodObject<{
3858
3927
  amount: bigint;
3859
3928
  usd: number;
3860
3929
  }>;
3930
+ rank: z.ZodNullable<z.ZodNumber>;
3861
3931
  vesting: z.ZodObject<{
3862
3932
  locked: z.ZodObject<{
3863
3933
  amount: z.ZodBigInt;
@@ -3931,6 +4001,7 @@ declare const StakingPositionNotification: z.ZodObject<{
3931
4001
  amount: bigint;
3932
4002
  usd: number;
3933
4003
  };
4004
+ rank: number | null;
3934
4005
  vesting: {
3935
4006
  locked: {
3936
4007
  amount: bigint;
@@ -3966,6 +4037,7 @@ declare const StakingPositionNotification: z.ZodObject<{
3966
4037
  amount: bigint;
3967
4038
  usd: number;
3968
4039
  };
4040
+ rank: number | null;
3969
4041
  vesting: {
3970
4042
  locked: {
3971
4043
  amount: bigint;
@@ -4032,6 +4104,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4032
4104
  amount: bigint;
4033
4105
  usd: number;
4034
4106
  }>;
4107
+ rank: z.ZodNullable<z.ZodNumber>;
4035
4108
  vesting: z.ZodObject<{
4036
4109
  locked: z.ZodObject<{
4037
4110
  amount: z.ZodBigInt;
@@ -4105,6 +4178,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4105
4178
  amount: bigint;
4106
4179
  usd: number;
4107
4180
  };
4181
+ rank: number | null;
4108
4182
  vesting: {
4109
4183
  locked: {
4110
4184
  amount: bigint;
@@ -4140,6 +4214,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4140
4214
  amount: bigint;
4141
4215
  usd: number;
4142
4216
  };
4217
+ rank: number | null;
4143
4218
  vesting: {
4144
4219
  locked: {
4145
4220
  amount: bigint;
@@ -4181,6 +4256,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4181
4256
  amount: bigint;
4182
4257
  usd: number;
4183
4258
  };
4259
+ rank: number | null;
4184
4260
  vesting: {
4185
4261
  locked: {
4186
4262
  amount: bigint;
@@ -4223,6 +4299,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4223
4299
  amount: bigint;
4224
4300
  usd: number;
4225
4301
  };
4302
+ rank: number | null;
4226
4303
  vesting: {
4227
4304
  locked: {
4228
4305
  amount: bigint;
@@ -4265,6 +4342,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4265
4342
  amount: bigint;
4266
4343
  usd: number;
4267
4344
  };
4345
+ rank: number | null;
4268
4346
  vesting: {
4269
4347
  locked: {
4270
4348
  amount: bigint;
@@ -4307,6 +4385,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4307
4385
  amount: bigint;
4308
4386
  usd: number;
4309
4387
  };
4388
+ rank: number | null;
4310
4389
  vesting: {
4311
4390
  locked: {
4312
4391
  amount: bigint;
package/dist/index.d.ts CHANGED
@@ -665,9 +665,21 @@ declare const TunaPosition$1: z.ZodObject<{
665
665
  liquidity: z.ZodBigInt;
666
666
  tickLowerIndex: z.ZodNumber;
667
667
  tickUpperIndex: z.ZodNumber;
668
+ /**
669
+ * @deprecated Use entrySqrtPrice
670
+ */
668
671
  tickEntryIndex: z.ZodNumber;
672
+ /**
673
+ * @deprecated Use lowerLimitOrderSqrtPrice
674
+ */
669
675
  tickStopLossIndex: z.ZodNumber;
676
+ /**
677
+ * @deprecated Use upperLimitOrderSqrtPrice
678
+ */
670
679
  tickTakeProfitIndex: z.ZodNumber;
680
+ entrySqrtPrice: z.ZodBigInt;
681
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
682
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
671
683
  swapToTokenOnLimitOrder: z.ZodNumber;
672
684
  flags: z.ZodNumber;
673
685
  pool: z.ZodString;
@@ -858,6 +870,9 @@ declare const TunaPosition$1: z.ZodObject<{
858
870
  tickEntryIndex: number;
859
871
  tickStopLossIndex: number;
860
872
  tickTakeProfitIndex: number;
873
+ entrySqrtPrice: bigint;
874
+ lowerLimitOrderSqrtPrice: bigint;
875
+ upperLimitOrderSqrtPrice: bigint;
861
876
  swapToTokenOnLimitOrder: number;
862
877
  flags: number;
863
878
  pool: string;
@@ -946,6 +961,9 @@ declare const TunaPosition$1: z.ZodObject<{
946
961
  tickEntryIndex: number;
947
962
  tickStopLossIndex: number;
948
963
  tickTakeProfitIndex: number;
964
+ entrySqrtPrice: bigint;
965
+ lowerLimitOrderSqrtPrice: bigint;
966
+ upperLimitOrderSqrtPrice: bigint;
949
967
  swapToTokenOnLimitOrder: number;
950
968
  flags: number;
951
969
  pool: string;
@@ -1346,6 +1364,7 @@ declare const StakingPosition$1: z.ZodObject<{
1346
1364
  amount: bigint;
1347
1365
  usd: number;
1348
1366
  }>;
1367
+ rank: z.ZodNullable<z.ZodNumber>;
1349
1368
  vesting: z.ZodObject<{
1350
1369
  locked: z.ZodObject<{
1351
1370
  amount: z.ZodBigInt;
@@ -1419,6 +1438,7 @@ declare const StakingPosition$1: z.ZodObject<{
1419
1438
  amount: bigint;
1420
1439
  usd: number;
1421
1440
  };
1441
+ rank: number | null;
1422
1442
  vesting: {
1423
1443
  locked: {
1424
1444
  amount: bigint;
@@ -1454,6 +1474,7 @@ declare const StakingPosition$1: z.ZodObject<{
1454
1474
  amount: bigint;
1455
1475
  usd: number;
1456
1476
  };
1477
+ rank: number | null;
1457
1478
  vesting: {
1458
1479
  locked: {
1459
1480
  amount: bigint;
@@ -2223,9 +2244,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2223
2244
  liquidity: z.ZodBigInt;
2224
2245
  tickLowerIndex: z.ZodNumber;
2225
2246
  tickUpperIndex: z.ZodNumber;
2247
+ /**
2248
+ * @deprecated Use entrySqrtPrice
2249
+ */
2226
2250
  tickEntryIndex: z.ZodNumber;
2251
+ /**
2252
+ * @deprecated Use lowerLimitOrderSqrtPrice
2253
+ */
2227
2254
  tickStopLossIndex: z.ZodNumber;
2255
+ /**
2256
+ * @deprecated Use upperLimitOrderSqrtPrice
2257
+ */
2228
2258
  tickTakeProfitIndex: z.ZodNumber;
2259
+ entrySqrtPrice: z.ZodBigInt;
2260
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2261
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2229
2262
  swapToTokenOnLimitOrder: z.ZodNumber;
2230
2263
  flags: z.ZodNumber;
2231
2264
  pool: z.ZodString;
@@ -2416,6 +2449,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2416
2449
  tickEntryIndex: number;
2417
2450
  tickStopLossIndex: number;
2418
2451
  tickTakeProfitIndex: number;
2452
+ entrySqrtPrice: bigint;
2453
+ lowerLimitOrderSqrtPrice: bigint;
2454
+ upperLimitOrderSqrtPrice: bigint;
2419
2455
  swapToTokenOnLimitOrder: number;
2420
2456
  flags: number;
2421
2457
  pool: string;
@@ -2504,6 +2540,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2504
2540
  tickEntryIndex: number;
2505
2541
  tickStopLossIndex: number;
2506
2542
  tickTakeProfitIndex: number;
2543
+ entrySqrtPrice: bigint;
2544
+ lowerLimitOrderSqrtPrice: bigint;
2545
+ upperLimitOrderSqrtPrice: bigint;
2507
2546
  swapToTokenOnLimitOrder: number;
2508
2547
  flags: number;
2509
2548
  pool: string;
@@ -2596,9 +2635,21 @@ declare const TunaPositionNotification: z.ZodObject<{
2596
2635
  liquidity: z.ZodBigInt;
2597
2636
  tickLowerIndex: z.ZodNumber;
2598
2637
  tickUpperIndex: z.ZodNumber;
2638
+ /**
2639
+ * @deprecated Use entrySqrtPrice
2640
+ */
2599
2641
  tickEntryIndex: z.ZodNumber;
2642
+ /**
2643
+ * @deprecated Use lowerLimitOrderSqrtPrice
2644
+ */
2600
2645
  tickStopLossIndex: z.ZodNumber;
2646
+ /**
2647
+ * @deprecated Use upperLimitOrderSqrtPrice
2648
+ */
2601
2649
  tickTakeProfitIndex: z.ZodNumber;
2650
+ entrySqrtPrice: z.ZodBigInt;
2651
+ lowerLimitOrderSqrtPrice: z.ZodBigInt;
2652
+ upperLimitOrderSqrtPrice: z.ZodBigInt;
2602
2653
  swapToTokenOnLimitOrder: z.ZodNumber;
2603
2654
  flags: z.ZodNumber;
2604
2655
  pool: z.ZodString;
@@ -2789,6 +2840,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2789
2840
  tickEntryIndex: number;
2790
2841
  tickStopLossIndex: number;
2791
2842
  tickTakeProfitIndex: number;
2843
+ entrySqrtPrice: bigint;
2844
+ lowerLimitOrderSqrtPrice: bigint;
2845
+ upperLimitOrderSqrtPrice: bigint;
2792
2846
  swapToTokenOnLimitOrder: number;
2793
2847
  flags: number;
2794
2848
  pool: string;
@@ -2877,6 +2931,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2877
2931
  tickEntryIndex: number;
2878
2932
  tickStopLossIndex: number;
2879
2933
  tickTakeProfitIndex: number;
2934
+ entrySqrtPrice: bigint;
2935
+ lowerLimitOrderSqrtPrice: bigint;
2936
+ upperLimitOrderSqrtPrice: bigint;
2880
2937
  swapToTokenOnLimitOrder: number;
2881
2938
  flags: number;
2882
2939
  pool: string;
@@ -2971,6 +3028,9 @@ declare const TunaPositionNotification: z.ZodObject<{
2971
3028
  tickEntryIndex: number;
2972
3029
  tickStopLossIndex: number;
2973
3030
  tickTakeProfitIndex: number;
3031
+ entrySqrtPrice: bigint;
3032
+ lowerLimitOrderSqrtPrice: bigint;
3033
+ upperLimitOrderSqrtPrice: bigint;
2974
3034
  swapToTokenOnLimitOrder: number;
2975
3035
  flags: number;
2976
3036
  pool: string;
@@ -3066,6 +3126,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3066
3126
  tickEntryIndex: number;
3067
3127
  tickStopLossIndex: number;
3068
3128
  tickTakeProfitIndex: number;
3129
+ entrySqrtPrice: bigint;
3130
+ lowerLimitOrderSqrtPrice: bigint;
3131
+ upperLimitOrderSqrtPrice: bigint;
3069
3132
  swapToTokenOnLimitOrder: number;
3070
3133
  flags: number;
3071
3134
  pool: string;
@@ -3161,6 +3224,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3161
3224
  tickEntryIndex: number;
3162
3225
  tickStopLossIndex: number;
3163
3226
  tickTakeProfitIndex: number;
3227
+ entrySqrtPrice: bigint;
3228
+ lowerLimitOrderSqrtPrice: bigint;
3229
+ upperLimitOrderSqrtPrice: bigint;
3164
3230
  swapToTokenOnLimitOrder: number;
3165
3231
  flags: number;
3166
3232
  pool: string;
@@ -3256,6 +3322,9 @@ declare const TunaPositionNotification: z.ZodObject<{
3256
3322
  tickEntryIndex: number;
3257
3323
  tickStopLossIndex: number;
3258
3324
  tickTakeProfitIndex: number;
3325
+ entrySqrtPrice: bigint;
3326
+ lowerLimitOrderSqrtPrice: bigint;
3327
+ upperLimitOrderSqrtPrice: bigint;
3259
3328
  swapToTokenOnLimitOrder: number;
3260
3329
  flags: number;
3261
3330
  pool: string;
@@ -3858,6 +3927,7 @@ declare const StakingPositionNotification: z.ZodObject<{
3858
3927
  amount: bigint;
3859
3928
  usd: number;
3860
3929
  }>;
3930
+ rank: z.ZodNullable<z.ZodNumber>;
3861
3931
  vesting: z.ZodObject<{
3862
3932
  locked: z.ZodObject<{
3863
3933
  amount: z.ZodBigInt;
@@ -3931,6 +4001,7 @@ declare const StakingPositionNotification: z.ZodObject<{
3931
4001
  amount: bigint;
3932
4002
  usd: number;
3933
4003
  };
4004
+ rank: number | null;
3934
4005
  vesting: {
3935
4006
  locked: {
3936
4007
  amount: bigint;
@@ -3966,6 +4037,7 @@ declare const StakingPositionNotification: z.ZodObject<{
3966
4037
  amount: bigint;
3967
4038
  usd: number;
3968
4039
  };
4040
+ rank: number | null;
3969
4041
  vesting: {
3970
4042
  locked: {
3971
4043
  amount: bigint;
@@ -4032,6 +4104,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4032
4104
  amount: bigint;
4033
4105
  usd: number;
4034
4106
  }>;
4107
+ rank: z.ZodNullable<z.ZodNumber>;
4035
4108
  vesting: z.ZodObject<{
4036
4109
  locked: z.ZodObject<{
4037
4110
  amount: z.ZodBigInt;
@@ -4105,6 +4178,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4105
4178
  amount: bigint;
4106
4179
  usd: number;
4107
4180
  };
4181
+ rank: number | null;
4108
4182
  vesting: {
4109
4183
  locked: {
4110
4184
  amount: bigint;
@@ -4140,6 +4214,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4140
4214
  amount: bigint;
4141
4215
  usd: number;
4142
4216
  };
4217
+ rank: number | null;
4143
4218
  vesting: {
4144
4219
  locked: {
4145
4220
  amount: bigint;
@@ -4181,6 +4256,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4181
4256
  amount: bigint;
4182
4257
  usd: number;
4183
4258
  };
4259
+ rank: number | null;
4184
4260
  vesting: {
4185
4261
  locked: {
4186
4262
  amount: bigint;
@@ -4223,6 +4299,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4223
4299
  amount: bigint;
4224
4300
  usd: number;
4225
4301
  };
4302
+ rank: number | null;
4226
4303
  vesting: {
4227
4304
  locked: {
4228
4305
  amount: bigint;
@@ -4265,6 +4342,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4265
4342
  amount: bigint;
4266
4343
  usd: number;
4267
4344
  };
4345
+ rank: number | null;
4268
4346
  vesting: {
4269
4347
  locked: {
4270
4348
  amount: bigint;
@@ -4307,6 +4385,7 @@ declare const StakingPositionNotification: z.ZodObject<{
4307
4385
  amount: bigint;
4308
4386
  usd: number;
4309
4387
  };
4388
+ rank: number | null;
4310
4389
  vesting: {
4311
4390
  locked: {
4312
4391
  amount: bigint;
package/dist/index.js CHANGED
@@ -310,9 +310,21 @@ var TunaPosition = import_zod.z.object({
310
310
  liquidity: import_zod.z.coerce.bigint(),
311
311
  tickLowerIndex: import_zod.z.number(),
312
312
  tickUpperIndex: import_zod.z.number(),
313
+ /**
314
+ * @deprecated Use entrySqrtPrice
315
+ */
313
316
  tickEntryIndex: import_zod.z.number(),
317
+ /**
318
+ * @deprecated Use lowerLimitOrderSqrtPrice
319
+ */
314
320
  tickStopLossIndex: import_zod.z.number(),
321
+ /**
322
+ * @deprecated Use upperLimitOrderSqrtPrice
323
+ */
315
324
  tickTakeProfitIndex: import_zod.z.number(),
325
+ entrySqrtPrice: import_zod.z.coerce.bigint(),
326
+ lowerLimitOrderSqrtPrice: import_zod.z.coerce.bigint(),
327
+ upperLimitOrderSqrtPrice: import_zod.z.coerce.bigint(),
316
328
  swapToTokenOnLimitOrder: import_zod.z.number(),
317
329
  flags: import_zod.z.number(),
318
330
  pool: import_zod.z.string(),
@@ -407,6 +419,7 @@ var StakingPosition = import_zod.z.object({
407
419
  unstaked: amountWithUsd,
408
420
  claimedReward: amountWithUsd,
409
421
  unclaimedReward: amountWithUsd,
422
+ rank: import_zod.z.nullable(import_zod.z.number()),
410
423
  vesting: import_zod.z.object({
411
424
  locked: amountWithUsd,
412
425
  unlocked: amountWithUsd,
package/dist/index.mjs CHANGED
@@ -275,9 +275,21 @@ var TunaPosition = z.object({
275
275
  liquidity: z.coerce.bigint(),
276
276
  tickLowerIndex: z.number(),
277
277
  tickUpperIndex: z.number(),
278
+ /**
279
+ * @deprecated Use entrySqrtPrice
280
+ */
278
281
  tickEntryIndex: z.number(),
282
+ /**
283
+ * @deprecated Use lowerLimitOrderSqrtPrice
284
+ */
279
285
  tickStopLossIndex: z.number(),
286
+ /**
287
+ * @deprecated Use upperLimitOrderSqrtPrice
288
+ */
280
289
  tickTakeProfitIndex: z.number(),
290
+ entrySqrtPrice: z.coerce.bigint(),
291
+ lowerLimitOrderSqrtPrice: z.coerce.bigint(),
292
+ upperLimitOrderSqrtPrice: z.coerce.bigint(),
281
293
  swapToTokenOnLimitOrder: z.number(),
282
294
  flags: z.number(),
283
295
  pool: z.string(),
@@ -372,6 +384,7 @@ var StakingPosition = z.object({
372
384
  unstaked: amountWithUsd,
373
385
  claimedReward: amountWithUsd,
374
386
  unclaimedReward: amountWithUsd,
387
+ rank: z.nullable(z.number()),
375
388
  vesting: z.object({
376
389
  locked: amountWithUsd,
377
390
  unlocked: amountWithUsd,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.53",
3
+ "version": "1.1.55",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",