@crypticdot/defituna-api 1.1.44 → 1.1.46

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
@@ -35,6 +35,7 @@ declare const StakingPositionHistoryActionType$1: {
35
35
  readonly UNSTAKE: "unstake";
36
36
  readonly WITHDRAW: "withdraw";
37
37
  readonly CLAIM_REWARDS: "claim_rewards";
38
+ readonly COMPOUND_REWARDS: "compound_rewards";
38
39
  };
39
40
  declare const PoolSubscriptionTopic: {
40
41
  readonly ORDER_BOOK: "order_book";
@@ -52,7 +53,7 @@ declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "upd
52
53
  declare const PoolProviderSchema: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
53
54
  declare const TunaPositionStateSchema: z.ZodEnum<["open", ...("open" | "liquidated" | "closed_by_limit_order" | "closed")[]]>;
54
55
  declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_filled" | "filled" | "complete" | "cancelled")[]]>;
55
- declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
56
+ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
56
57
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
57
58
  declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
58
59
  declare const Mint$1: z.ZodObject<{
@@ -380,6 +381,7 @@ declare const Pool$1: z.ZodObject<{
380
381
  priceChange24H: z.ZodNumber;
381
382
  tickSpacing: z.ZodNumber;
382
383
  feeRate: z.ZodNumber;
384
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
383
385
  protocolFeeRate: z.ZodNumber;
384
386
  liquidity: z.ZodBigInt;
385
387
  sqrtPrice: z.ZodBigInt;
@@ -483,6 +485,7 @@ declare const Pool$1: z.ZodObject<{
483
485
  priceChange24H: number;
484
486
  tickSpacing: number;
485
487
  feeRate: number;
488
+ olpFeeRate: number | null;
486
489
  protocolFeeRate: number;
487
490
  liquidity: bigint;
488
491
  sqrtPrice: bigint;
@@ -518,6 +521,7 @@ declare const Pool$1: z.ZodObject<{
518
521
  priceChange24H: number;
519
522
  tickSpacing: number;
520
523
  feeRate: number;
524
+ olpFeeRate: number | null;
521
525
  protocolFeeRate: number;
522
526
  liquidity: bigint;
523
527
  sqrtPrice: bigint;
@@ -1438,7 +1442,7 @@ declare const StakingPosition$1: z.ZodObject<{
1438
1442
  }>;
1439
1443
  declare const StakingPositionHistoryAction$1: z.ZodObject<{
1440
1444
  position: z.ZodString;
1441
- action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
1445
+ action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
1442
1446
  txSignature: z.ZodString;
1443
1447
  amount: z.ZodBigInt;
1444
1448
  time: z.ZodDate;
@@ -1446,13 +1450,13 @@ declare const StakingPositionHistoryAction$1: z.ZodObject<{
1446
1450
  amount: bigint;
1447
1451
  time: Date;
1448
1452
  position: string;
1449
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1453
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1450
1454
  txSignature: string;
1451
1455
  }, {
1452
1456
  amount: bigint;
1453
1457
  time: Date;
1454
1458
  position: string;
1455
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1459
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1456
1460
  txSignature: string;
1457
1461
  }>;
1458
1462
  declare const PoolPriceCandle$1: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -35,6 +35,7 @@ declare const StakingPositionHistoryActionType$1: {
35
35
  readonly UNSTAKE: "unstake";
36
36
  readonly WITHDRAW: "withdraw";
37
37
  readonly CLAIM_REWARDS: "claim_rewards";
38
+ readonly COMPOUND_REWARDS: "compound_rewards";
38
39
  };
39
40
  declare const PoolSubscriptionTopic: {
40
41
  readonly ORDER_BOOK: "order_book";
@@ -52,7 +53,7 @@ declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "upd
52
53
  declare const PoolProviderSchema: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
53
54
  declare const TunaPositionStateSchema: z.ZodEnum<["open", ...("open" | "liquidated" | "closed_by_limit_order" | "closed")[]]>;
54
55
  declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_filled" | "filled" | "complete" | "cancelled")[]]>;
55
- declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
56
+ declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
56
57
  declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
57
58
  declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
58
59
  declare const Mint$1: z.ZodObject<{
@@ -380,6 +381,7 @@ declare const Pool$1: z.ZodObject<{
380
381
  priceChange24H: z.ZodNumber;
381
382
  tickSpacing: z.ZodNumber;
382
383
  feeRate: z.ZodNumber;
384
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
383
385
  protocolFeeRate: z.ZodNumber;
384
386
  liquidity: z.ZodBigInt;
385
387
  sqrtPrice: z.ZodBigInt;
@@ -483,6 +485,7 @@ declare const Pool$1: z.ZodObject<{
483
485
  priceChange24H: number;
484
486
  tickSpacing: number;
485
487
  feeRate: number;
488
+ olpFeeRate: number | null;
486
489
  protocolFeeRate: number;
487
490
  liquidity: bigint;
488
491
  sqrtPrice: bigint;
@@ -518,6 +521,7 @@ declare const Pool$1: z.ZodObject<{
518
521
  priceChange24H: number;
519
522
  tickSpacing: number;
520
523
  feeRate: number;
524
+ olpFeeRate: number | null;
521
525
  protocolFeeRate: number;
522
526
  liquidity: bigint;
523
527
  sqrtPrice: bigint;
@@ -1438,7 +1442,7 @@ declare const StakingPosition$1: z.ZodObject<{
1438
1442
  }>;
1439
1443
  declare const StakingPositionHistoryAction$1: z.ZodObject<{
1440
1444
  position: z.ZodString;
1441
- action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
1445
+ action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
1442
1446
  txSignature: z.ZodString;
1443
1447
  amount: z.ZodBigInt;
1444
1448
  time: z.ZodDate;
@@ -1446,13 +1450,13 @@ declare const StakingPositionHistoryAction$1: z.ZodObject<{
1446
1450
  amount: bigint;
1447
1451
  time: Date;
1448
1452
  position: string;
1449
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1453
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1450
1454
  txSignature: string;
1451
1455
  }, {
1452
1456
  amount: bigint;
1453
1457
  time: Date;
1454
1458
  position: string;
1455
- action: "stake" | "unstake" | "withdraw" | "claim_rewards";
1459
+ action: "stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards";
1456
1460
  txSignature: string;
1457
1461
  }>;
1458
1462
  declare const PoolPriceCandle$1: z.ZodObject<{
package/dist/index.js CHANGED
@@ -142,7 +142,8 @@ var StakingPositionHistoryActionType = {
142
142
  STAKE: "stake",
143
143
  UNSTAKE: "unstake",
144
144
  WITHDRAW: "withdraw",
145
- CLAIM_REWARDS: "claim_rewards"
145
+ CLAIM_REWARDS: "claim_rewards",
146
+ COMPOUND_REWARDS: "compound_rewards"
146
147
  };
147
148
  var PoolSubscriptionTopic = {
148
149
  ORDER_BOOK: "order_book",
@@ -246,6 +247,7 @@ var Pool = import_zod.z.object({
246
247
  priceChange24H: import_zod.z.number(),
247
248
  tickSpacing: import_zod.z.number(),
248
249
  feeRate: import_zod.z.number(),
250
+ olpFeeRate: import_zod.z.nullable(import_zod.z.number()),
249
251
  protocolFeeRate: import_zod.z.number(),
250
252
  liquidity: import_zod.z.coerce.bigint(),
251
253
  sqrtPrice: import_zod.z.coerce.bigint(),
package/dist/index.mjs CHANGED
@@ -107,7 +107,8 @@ var StakingPositionHistoryActionType = {
107
107
  STAKE: "stake",
108
108
  UNSTAKE: "unstake",
109
109
  WITHDRAW: "withdraw",
110
- CLAIM_REWARDS: "claim_rewards"
110
+ CLAIM_REWARDS: "claim_rewards",
111
+ COMPOUND_REWARDS: "compound_rewards"
111
112
  };
112
113
  var PoolSubscriptionTopic = {
113
114
  ORDER_BOOK: "order_book",
@@ -211,6 +212,7 @@ var Pool = z.object({
211
212
  priceChange24H: z.number(),
212
213
  tickSpacing: z.number(),
213
214
  feeRate: z.number(),
215
+ olpFeeRate: z.nullable(z.number()),
214
216
  protocolFeeRate: z.number(),
215
217
  liquidity: z.coerce.bigint(),
216
218
  sqrtPrice: z.coerce.bigint(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",