@alphafi/alphafi-sdk 0.0.15 → 0.0.17

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.
@@ -71,6 +71,32 @@ export type CetusInvestor = {
71
71
  };
72
72
  };
73
73
  };
74
+ export type NaviInvestor = {
75
+ content: {
76
+ fields: {
77
+ tokensDeposited: string;
78
+ current_debt_to_supply_ratio: string;
79
+ };
80
+ };
81
+ };
82
+ export type CommonInvestorFields = {
83
+ objectId: string;
84
+ version: string;
85
+ digest: string;
86
+ type: string;
87
+ content: {
88
+ dataType: string;
89
+ type: string;
90
+ hasPublicTransfer: boolean;
91
+ fields: {
92
+ id: {
93
+ id: string;
94
+ };
95
+ performance_fee: string;
96
+ performance_fee_max_cap: string;
97
+ };
98
+ };
99
+ };
74
100
  export type CetusPoolType = {
75
101
  objectId: string;
76
102
  version: string;
@@ -409,4 +435,25 @@ export type TransactionBlockType = {
409
435
  timestampMs: string;
410
436
  checkpoint: string;
411
437
  };
438
+ export interface NaviVoloData {
439
+ data: {
440
+ operatorBalance: string;
441
+ collectableFee: string;
442
+ pendingStakes: string;
443
+ poolTotalRewards: string;
444
+ unstakeTicketSupply: string;
445
+ totalStaked: string;
446
+ activeStake: string;
447
+ calcTotalRewards: string;
448
+ currentEpoch: string;
449
+ validators: object;
450
+ exchangeRate: string;
451
+ totalSupply: string;
452
+ apy: string;
453
+ sortedValidators: string[];
454
+ maxInstantUnstake: string;
455
+ maxNoFeeUnstake: string;
456
+ };
457
+ code: number;
458
+ }
412
459
  export {};
package/dist/index.d.ts CHANGED
@@ -16,3 +16,4 @@ export { liquidityToTokens, multiTokensToUsd } from "./utils/userHoldings";
16
16
  export { poolInfo, getCetusSqrtPriceMap, getCetusInvestorTicksMap, poolCoinMap, poolCoinPairMap, } from "./common/maps";
17
17
  export { coins } from "./common/coins";
18
18
  export { getAlphaUnlocks } from "./getAlphaUnlocks";
19
+ export { getSuiClient, getSuiNodeUrl, setSuiNodeUrl } from "./sui-sdk/client";