@augustdigital/sdk 4.15.5-alpha.0 → 4.17.0-alpha.0

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.
Files changed (117) hide show
  1. package/lib/abis/AddressResolver.d.ts +28 -40
  2. package/lib/abis/ChainlinkV3.d.ts +83 -109
  3. package/lib/abis/ERC20.d.ts +137 -191
  4. package/lib/abis/ERC20_Bytes32.d.ts +125 -178
  5. package/lib/abis/ERC4626.d.ts +341 -480
  6. package/lib/abis/ERC721.d.ts +213 -299
  7. package/lib/abis/FeeOracle.d.ts +112 -149
  8. package/lib/abis/LendingPool.d.ts +1293 -1702
  9. package/lib/abis/LendingPoolV2.d.ts +37 -42
  10. package/lib/abis/LendingPoolV3.d.ts +25 -29
  11. package/lib/abis/Loan.d.ts +768 -1007
  12. package/lib/abis/Multicall3.d.ts +30 -43
  13. package/lib/abis/PoolAdapter.d.ts +35 -46
  14. package/lib/abis/RewardDistributor.d.ts +33 -38
  15. package/lib/abis/SmartAccount.d.ts +16 -23
  16. package/lib/abis/TextResolver.d.ts +16 -23
  17. package/lib/abis/TokenizedVaultV2.d.ts +1292 -1684
  18. package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +55 -62
  19. package/lib/abis/TokenizedVaultV2Receipt.d.ts +1463 -1934
  20. package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +250 -333
  21. package/lib/abis/UniversalResolverResolve.d.ts +69 -97
  22. package/lib/abis/UniversalSignatureValidator.d.ts +17 -23
  23. package/lib/abis/WrapperAdapter.d.ts +67 -89
  24. package/lib/adapters/evm/getters.d.ts +2 -8
  25. package/lib/adapters/evm/index.d.ts +15 -19
  26. package/lib/adapters/evm/utils.d.ts +2 -12
  27. package/lib/adapters/solana/constants.d.ts +17 -23
  28. package/lib/adapters/solana/getters.d.ts +1 -4
  29. package/lib/adapters/solana/idl/vault-idl.d.ts +279 -340
  30. package/lib/adapters/solana/index.d.ts +116 -212
  31. package/lib/adapters/solana/types.d.ts +50 -50
  32. package/lib/adapters/solana/utils.d.ts +78 -139
  33. package/lib/adapters/solana/vault.actions.d.ts +12 -37
  34. package/lib/adapters/sui/constants.d.ts +9 -9
  35. package/lib/adapters/sui/constants.js +8 -1
  36. package/lib/adapters/sui/constants.js.map +1 -1
  37. package/lib/adapters/sui/getters.d.ts +1 -3
  38. package/lib/adapters/sui/index.d.ts +21 -29
  39. package/lib/adapters/sui/transformer.d.ts +2 -6
  40. package/lib/adapters/sui/types.d.ts +56 -56
  41. package/lib/adapters/sui/utils.d.ts +1 -4
  42. package/lib/core/analytics/constants.d.ts +12 -0
  43. package/lib/core/analytics/constants.js +49 -0
  44. package/lib/core/analytics/constants.js.map +1 -0
  45. package/lib/core/analytics/index.d.ts +6 -0
  46. package/lib/core/analytics/index.js +31 -0
  47. package/lib/core/analytics/index.js.map +1 -0
  48. package/lib/core/analytics/instrumentation.d.ts +2 -0
  49. package/lib/core/analytics/instrumentation.js +150 -0
  50. package/lib/core/analytics/instrumentation.js.map +1 -0
  51. package/lib/core/analytics/metrics.d.ts +12 -0
  52. package/lib/core/analytics/metrics.js +133 -0
  53. package/lib/core/analytics/metrics.js.map +1 -0
  54. package/lib/core/analytics/sentry.d.ts +9 -0
  55. package/lib/core/analytics/sentry.js +166 -0
  56. package/lib/core/analytics/sentry.js.map +1 -0
  57. package/lib/core/analytics/types.d.ts +21 -0
  58. package/lib/core/analytics/types.js +3 -0
  59. package/lib/core/analytics/types.js.map +1 -0
  60. package/lib/core/analytics/user-identity.d.ts +8 -0
  61. package/lib/core/analytics/user-identity.js +82 -0
  62. package/lib/core/analytics/user-identity.js.map +1 -0
  63. package/lib/core/analytics/version.d.ts +1 -0
  64. package/lib/core/analytics/version.js +5 -0
  65. package/lib/core/analytics/version.js.map +1 -0
  66. package/lib/core/base.class.d.ts +25 -30
  67. package/lib/core/base.class.js +5 -1
  68. package/lib/core/base.class.js.map +1 -1
  69. package/lib/core/constants/adapters.d.ts +83 -111
  70. package/lib/core/constants/core.d.ts +69 -76
  71. package/lib/core/constants/vaults.d.ts +5 -63
  72. package/lib/core/constants/vaults.js +3 -3
  73. package/lib/core/constants/vaults.js.map +1 -1
  74. package/lib/core/constants/web3.d.ts +18 -19
  75. package/lib/core/fetcher.d.ts +17 -71
  76. package/lib/core/fetcher.js +20 -2
  77. package/lib/core/fetcher.js.map +1 -1
  78. package/lib/core/helpers/adapters.d.ts +2 -7
  79. package/lib/core/helpers/core.d.ts +8 -33
  80. package/lib/core/helpers/signer.d.ts +2 -6
  81. package/lib/core/helpers/vaults.d.ts +15 -38
  82. package/lib/core/helpers/web3.d.ts +19 -87
  83. package/lib/core/index.d.ts +1 -0
  84. package/lib/core/index.js +1 -0
  85. package/lib/core/index.js.map +1 -1
  86. package/lib/core/logger/index.d.ts +11 -11
  87. package/lib/core/logger/slack.d.ts +8 -9
  88. package/lib/index.d.ts +1 -61
  89. package/lib/main.d.ts +141 -158
  90. package/lib/main.js +3 -0
  91. package/lib/main.js.map +1 -1
  92. package/lib/modules/vaults/adapter.helpers.d.ts +38 -72
  93. package/lib/modules/vaults/fetcher.d.ts +69 -85
  94. package/lib/modules/vaults/getters.d.ts +100 -205
  95. package/lib/modules/vaults/index.d.ts +1 -6
  96. package/lib/modules/vaults/main.d.ts +131 -224
  97. package/lib/modules/vaults/main.js +8 -1
  98. package/lib/modules/vaults/main.js.map +1 -1
  99. package/lib/modules/vaults/read.actions.d.ts +2 -8
  100. package/lib/modules/vaults/utils.d.ts +19 -55
  101. package/lib/modules/vaults/write.actions.d.ts +14 -26
  102. package/lib/services/coingecko/fetcher.d.ts +1 -4
  103. package/lib/services/debank/fetcher.d.ts +1 -4
  104. package/lib/services/debank/utils.d.ts +27 -38
  105. package/lib/services/octavfi/fetcher.d.ts +1 -3
  106. package/lib/services/octavfi/types.d.ts +24 -24
  107. package/lib/services/octavfi/utils.d.ts +2 -6
  108. package/lib/services/subgraph/fetcher.d.ts +2 -12
  109. package/lib/services/subgraph/vaults.d.ts +9 -42
  110. package/lib/types/points.d.ts +26 -35
  111. package/lib/types/pools.d.ts +112 -149
  112. package/lib/types/staking.d.ts +25 -25
  113. package/lib/types/subgraph.d.ts +33 -33
  114. package/lib/types/vaults.d.ts +219 -232
  115. package/lib/types/web3.d.ts +9 -9
  116. package/lib/types/webserver.d.ts +448 -466
  117. package/package.json +16 -13
@@ -1,56 +1,46 @@
1
1
  import { IVaultMetadata } from '../../types';
2
- export declare function fetchVaultWithFallback<T>(
3
- vaultAddress: string,
4
- fetchFn: () => Promise<T>,
5
- options?: {
2
+ export declare function fetchVaultWithFallback<T>(vaultAddress: string, fetchFn: () => Promise<T>, options?: {
6
3
  maxRetries?: number;
7
4
  baseDelay?: number;
8
5
  fallbackStrategies?: Array<() => Promise<T>>;
9
6
  timeout?: number;
10
- },
11
- ): Promise<{
12
- success: boolean;
13
- data?: T;
14
- error?: Error;
15
- strategy: string;
7
+ }): Promise<{
8
+ success: boolean;
9
+ data?: T;
10
+ error?: Error;
11
+ strategy: string;
16
12
  }>;
17
- export declare function fetchVaultsBatch<T>(
18
- vaults: Array<{
13
+ export declare function fetchVaultsBatch<T>(vaults: Array<{
19
14
  address: string;
20
15
  fetchFn: () => Promise<T>;
21
- }>,
22
- options?: {
16
+ }>, options?: {
23
17
  maxRetries?: number;
24
18
  baseDelay?: number;
25
19
  batchSize?: number;
26
20
  parallelLimit?: number;
27
- },
28
- ): Promise<{
29
- successful: Array<{
30
- index: number;
31
- data: T;
32
- strategy: string;
33
- }>;
34
- failed: Array<{
35
- index: number;
36
- error: Error;
37
- address: string;
38
- }>;
39
- totalAttempted: number;
40
- successRate: number;
21
+ }): Promise<{
22
+ successful: Array<{
23
+ index: number;
24
+ data: T;
25
+ strategy: string;
26
+ }>;
27
+ failed: Array<{
28
+ index: number;
29
+ error: Error;
30
+ address: string;
31
+ }>;
32
+ totalAttempted: number;
33
+ successRate: number;
41
34
  }>;
42
- export declare function fetchVaultsComprehensive<T>(
43
- vaults: Array<{
35
+ export declare function fetchVaultsComprehensive<T>(vaults: Array<{
44
36
  address: string;
45
37
  chain: number;
46
- }>,
47
- fetchFn: (vault: {
38
+ }>, fetchFn: (vault: {
48
39
  address: string;
49
40
  chain: number;
50
41
  fallbackRpc?: string;
51
42
  minimal?: boolean;
52
- }) => Promise<T>,
53
- options?: {
43
+ }) => Promise<T>, options?: {
54
44
  maxRetries?: number;
55
45
  baseDelay?: number;
56
46
  batchSize?: number;
@@ -59,65 +49,59 @@ export declare function fetchVaultsComprehensive<T>(
59
49
  includeInvisible?: boolean;
60
50
  fallbackRpcUrls?: Record<number, string[]>;
61
51
  timeout?: number;
62
- },
63
- ): Promise<{
64
- successful: Array<{
65
- index: number;
66
- data: T;
67
- strategy: string;
68
- attempts: number;
69
- }>;
70
- failed: Array<{
71
- index: number;
72
- error: Error;
73
- address: string;
74
- chain: number;
75
- attempts: number;
76
- }>;
77
- totalAttempted: number;
78
- successRate: number;
79
- coverageReport: {
80
- totalVaults: number;
81
- successfulVaults: number;
82
- failedVaults: number;
83
- closedVaults: number;
84
- invisibleVaults: number;
85
- rpcFailures: Record<number, number>;
86
- };
52
+ }): Promise<{
53
+ successful: Array<{
54
+ index: number;
55
+ data: T;
56
+ strategy: string;
57
+ attempts: number;
58
+ }>;
59
+ failed: Array<{
60
+ index: number;
61
+ error: Error;
62
+ address: string;
63
+ chain: number;
64
+ attempts: number;
65
+ }>;
66
+ totalAttempted: number;
67
+ successRate: number;
68
+ coverageReport: {
69
+ totalVaults: number;
70
+ successfulVaults: number;
71
+ failedVaults: number;
72
+ closedVaults: number;
73
+ invisibleVaults: number;
74
+ rpcFailures: Record<number, number>;
75
+ };
87
76
  }>;
88
- export declare function filterVaultsIntelligently<
89
- T extends {
77
+ export declare function filterVaultsIntelligently<T extends {
90
78
  status?: string;
91
79
  isVisible?: boolean;
92
80
  is_visible?: boolean;
93
- },
94
- >(
95
- vaults: (T | null)[],
96
- options?: {
81
+ }>(vaults: (T | null)[], options?: {
97
82
  includeClosed?: boolean;
98
83
  includeInvisible?: boolean;
99
84
  includeNull?: boolean;
100
85
  minStatus?: string[];
101
- },
102
- ): {
103
- active: T[];
104
- closed: T[];
105
- invisible: T[];
106
- failed: Array<{
107
- index: number;
108
- reason: string;
109
- }>;
110
- summary: {
111
- total: number;
112
- active: number;
113
- closed: number;
114
- invisible: number;
115
- failed: number;
116
- successRate: number;
117
- };
86
+ }): {
87
+ active: T[];
88
+ closed: T[];
89
+ invisible: T[];
90
+ failed: Array<{
91
+ index: number;
92
+ reason: string;
93
+ }>;
94
+ summary: {
95
+ total: number;
96
+ active: number;
97
+ closed: number;
98
+ invisible: number;
99
+ failed: number;
100
+ successRate: number;
101
+ };
118
102
  };
119
103
  export declare function fetchVaultMetadata(opts?: {
120
- options?: {
121
- headers?: Record<string, string>;
122
- };
104
+ options?: {
105
+ headers?: Record<string, string>;
106
+ };
123
107
  }): Promise<IVaultMetadata>;
@@ -1,232 +1,127 @@
1
- import {
2
- IAddress,
3
- IHistoricalTimeseriesResponse,
4
- INormalizedNumber,
5
- ISubgraphWithdrawProccessed,
6
- IVault,
7
- IVaultAllocations,
8
- IVaultAnnualizedApy,
9
- IVaultAvailableRedemption,
10
- IVaultLoan,
11
- IVaultPosition,
12
- IVaultRedemptionHistoryItem,
13
- IVaultSummary,
14
- IVaultWithdrawals,
15
- IActiveStakingPosition,
16
- IVaultHistoricalParams,
17
- IVaultUserLifetimePnl,
18
- IVaultPnl,
19
- } from '../../types';
1
+ import { IAddress, IHistoricalTimeseriesResponse, INormalizedNumber, ISubgraphWithdrawProccessed, IVault, IVaultAllocations, IVaultAnnualizedApy, IVaultAvailableRedemption, IVaultLoan, IVaultPosition, IVaultRedemptionHistoryItem, IVaultSummary, IVaultWithdrawals, IActiveStakingPosition, IVaultHistoricalParams, IVaultUserLifetimePnl, IVaultPnl } from '../../types';
20
2
  import { IVaultBaseOptions } from '.';
21
- export declare function getVault({
22
- vault,
23
- loans,
24
- allocations,
25
- options,
26
- loadSubaccounts,
27
- loadSnapshots,
28
- }: {
29
- vault: IAddress;
30
- loans?: boolean;
31
- allocations?: boolean;
32
- options: IVaultBaseOptions;
33
- loadSubaccounts?: boolean;
34
- loadSnapshots?: boolean;
3
+ export declare function getVault({ vault, loans, allocations, options, loadSubaccounts, loadSnapshots, }: {
4
+ vault: IAddress;
5
+ loans?: boolean;
6
+ allocations?: boolean;
7
+ options: IVaultBaseOptions;
8
+ loadSubaccounts?: boolean;
9
+ loadSnapshots?: boolean;
35
10
  }): Promise<IVault>;
36
- export declare function getVaultLoans(
37
- vault: IAddress | IVault,
38
- options: IVaultBaseOptions,
39
- ): Promise<IVaultLoan[]>;
40
- export declare function getVaultAllocations(
41
- vault: IAddress,
42
- options: IVaultBaseOptions,
43
- ): Promise<IVaultAllocations>;
44
- export declare function getVaultAvailableRedemptions({
45
- vault,
46
- wallet,
47
- options,
48
- }: {
49
- vault: IAddress;
50
- wallet?: IAddress;
51
- options: IVaultBaseOptions & {
52
- verbose?: boolean;
53
- };
11
+ export declare function getVaultLoans(vault: IAddress | IVault, options: IVaultBaseOptions): Promise<IVaultLoan[]>;
12
+ export declare function getVaultAllocations(vault: IAddress, options: IVaultBaseOptions): Promise<IVaultAllocations>;
13
+ export declare function getVaultAvailableRedemptions({ vault, wallet, options, }: {
14
+ vault: IAddress;
15
+ wallet?: IAddress;
16
+ options: IVaultBaseOptions & {
17
+ verbose?: boolean;
18
+ };
54
19
  }): Promise<{
55
- processedWithdrawals: ISubgraphWithdrawProccessed[];
56
- requestedWithdrawals: import('../../types').ISubgraphWithdrawRequest[];
57
- availableRedemptions: IVaultAvailableRedemption[];
58
- pendingRedemptions: IVaultAvailableRedemption[];
20
+ processedWithdrawals: ISubgraphWithdrawProccessed[];
21
+ requestedWithdrawals: import("../../types").ISubgraphWithdrawRequest[];
22
+ availableRedemptions: IVaultAvailableRedemption[];
23
+ pendingRedemptions: IVaultAvailableRedemption[];
59
24
  }>;
60
- export declare function getVaultRedemptionHistory({
61
- vault,
62
- wallet,
63
- options,
64
- }: {
65
- vault: IAddress;
66
- wallet?: IAddress;
67
- options: IVaultBaseOptions;
25
+ export declare function getVaultRedemptionHistory({ vault, wallet, options, }: {
26
+ vault: IAddress;
27
+ wallet?: IAddress;
28
+ options: IVaultBaseOptions;
68
29
  }): Promise<IVaultRedemptionHistoryItem[]>;
69
- export declare function getVaultPositions({
70
- vault,
71
- wallet,
72
- solanaWallet,
73
- options,
74
- }: {
75
- vault: IAddress;
76
- wallet?: IAddress;
77
- solanaWallet?: string;
78
- options: IVaultBaseOptions;
30
+ export declare function getVaultPositions({ vault, wallet, solanaWallet, options, }: {
31
+ vault: IAddress;
32
+ wallet?: IAddress;
33
+ solanaWallet?: string;
34
+ options: IVaultBaseOptions;
79
35
  }): Promise<IVaultPosition[]>;
80
- export declare function getVaultApy({
81
- vault,
82
- options,
83
- historical,
84
- }: {
85
- vault: IAddress;
86
- options?: IVaultBaseOptions;
87
- historical?: IVaultHistoricalParams;
88
- }): Promise<
89
- {
36
+ export declare function getVaultApy({ vault, options, historical, }: {
37
+ vault: IAddress;
38
+ options?: IVaultBaseOptions;
39
+ historical?: IVaultHistoricalParams;
40
+ }): Promise<{
90
41
  value: number;
91
42
  timestamp: string;
92
- }[]
93
- >;
94
- export declare function getRewardsStakingPositions({
95
- rpcUrl,
96
- wallet,
97
- coinGeckoKey,
98
- }: {
99
- wallet?: IAddress;
100
- rpcUrl: string;
101
- coinGeckoKey?: string;
43
+ }[]>;
44
+ export declare function getRewardsStakingPositions({ rpcUrl, wallet, coinGeckoKey, }: {
45
+ wallet?: IAddress;
46
+ rpcUrl: string;
47
+ coinGeckoKey?: string;
102
48
  }): Promise<IActiveStakingPosition[]>;
103
- export declare function getVaultTvl({
104
- vault,
105
- options,
106
- historical,
107
- }: {
108
- vault: IAddress;
109
- options: IVaultBaseOptions;
110
- historical?: IVaultHistoricalParams;
111
- }): Promise<
112
- {
49
+ export declare function getVaultTvl({ vault, options, historical, }: {
50
+ vault: IAddress;
51
+ options: IVaultBaseOptions;
52
+ historical?: IVaultHistoricalParams;
53
+ }): Promise<{
113
54
  value: INormalizedNumber;
114
55
  timestamp: string;
115
- }[]
116
- >;
117
- export declare function getVaultBorrowerHealthFactor({
118
- vault,
119
- options,
120
- }: {
121
- vault: IAddress;
122
- options: IVaultBaseOptions;
123
- }): Promise<
124
- {
56
+ }[]>;
57
+ export declare function getVaultBorrowerHealthFactor({ vault, options, }: {
58
+ vault: IAddress;
59
+ options: IVaultBaseOptions;
60
+ }): Promise<{
125
61
  borrower: IAddress;
126
62
  loan: IAddress;
127
63
  health_factor?: {
128
- datetime: string;
129
- health_factor: number;
130
- id: string;
131
- total_collateral_value: number;
132
- total_loan_value: number;
64
+ datetime: string;
65
+ health_factor: number;
66
+ id: string;
67
+ total_collateral_value: number;
68
+ total_loan_value: number;
133
69
  };
134
- }[]
135
- >;
136
- export declare function getHealthFactorOfBorrowersByVault({
137
- options,
138
- }: {
139
- options: IVaultBaseOptions;
70
+ }[]>;
71
+ export declare function getHealthFactorOfBorrowersByVault({ options, }: {
72
+ options: IVaultBaseOptions;
140
73
  }): Promise<{}>;
141
- export declare function getUserPoints({
142
- userAddress,
143
- options,
144
- }: {
145
- userAddress: IAddress;
146
- options?: IVaultBaseOptions;
74
+ export declare function getUserPoints({ userAddress, options, }: {
75
+ userAddress: IAddress;
76
+ options?: IVaultBaseOptions;
147
77
  }): Promise<any>;
148
- export declare function registerUserForPoints({
149
- userAddress,
150
- referrerAddress,
151
- options,
152
- }: {
153
- userAddress: IAddress;
154
- referrerAddress?: IAddress;
155
- options?: IVaultBaseOptions;
78
+ export declare function registerUserForPoints({ userAddress, referrerAddress, options, }: {
79
+ userAddress: IAddress;
80
+ referrerAddress?: IAddress;
81
+ options?: IVaultBaseOptions;
156
82
  }): Promise<Response>;
157
- export declare function fetchPointsLeaderboard({
158
- params,
159
- options,
160
- }: {
161
- params?: {
162
- page?: number;
163
- perPage?: number;
164
- sortBy?: 'streakDays' | 'totalPoints';
165
- };
166
- options?: IVaultBaseOptions;
83
+ export declare function fetchPointsLeaderboard({ params, options, }: {
84
+ params?: {
85
+ page?: number;
86
+ perPage?: number;
87
+ sortBy?: 'streakDays' | 'totalPoints';
88
+ };
89
+ options?: IVaultBaseOptions;
167
90
  }): Promise<any>;
168
- export declare function getYieldLastRealizedOn({
169
- vault,
170
- options,
171
- }: {
172
- vault: IAddress;
173
- options: IVaultBaseOptions;
91
+ export declare function getYieldLastRealizedOn({ vault, options, }: {
92
+ vault: IAddress;
93
+ options: IVaultBaseOptions;
174
94
  }): Promise<number>;
175
- export declare function getVaultUserLifetimePnl({
176
- vault,
177
- wallet,
178
- options,
179
- }: {
180
- vault: IAddress;
181
- wallet: IAddress;
182
- options: IVaultBaseOptions;
183
- coingeckoKey?: string;
95
+ export declare function getVaultUserLifetimePnl({ vault, wallet, options, }: {
96
+ vault: IAddress;
97
+ wallet: IAddress;
98
+ options: IVaultBaseOptions;
99
+ coingeckoKey?: string;
184
100
  }): Promise<IVaultUserLifetimePnl>;
185
- export declare function getVaultPnl({
186
- vault,
187
- options,
188
- }: {
189
- vault: IAddress;
190
- options: IVaultBaseOptions;
101
+ export declare function getVaultPnl({ vault, options, }: {
102
+ vault: IAddress;
103
+ options: IVaultBaseOptions;
191
104
  }): Promise<IVaultPnl>;
192
- export declare function getVaultHistoricalTimeseries({
193
- vault,
194
- nDays,
195
- options,
196
- }: {
197
- vault: IAddress;
198
- nDays?: number;
199
- options?: IVaultBaseOptions;
105
+ export declare function getVaultHistoricalTimeseries({ vault, nDays, options, }: {
106
+ vault: IAddress;
107
+ nDays?: number;
108
+ options?: IVaultBaseOptions;
200
109
  }): Promise<IHistoricalTimeseriesResponse>;
201
- export declare function getVaultAnnualizedApy({
202
- vault,
203
- options,
204
- }: {
205
- vault: IAddress;
206
- options?: IVaultBaseOptions;
110
+ export declare function getVaultAnnualizedApy({ vault, options, }: {
111
+ vault: IAddress;
112
+ options?: IVaultBaseOptions;
207
113
  }): Promise<IVaultAnnualizedApy>;
208
- export declare function getVaultSummary({
209
- vault,
210
- options,
211
- }: {
212
- vault: IAddress;
213
- options?: IVaultBaseOptions;
114
+ export declare function getVaultSummary({ vault, options, }: {
115
+ vault: IAddress;
116
+ options?: IVaultBaseOptions;
214
117
  }): Promise<IVaultSummary>;
215
- export declare function getVaultWithdrawals({
216
- vault,
217
- chain,
218
- options,
219
- }: {
220
- vault: IAddress;
221
- chain: string;
222
- options?: IVaultBaseOptions;
118
+ export declare function getVaultWithdrawals({ vault, chain, options, }: {
119
+ vault: IAddress;
120
+ chain: string;
121
+ options?: IVaultBaseOptions;
223
122
  }): Promise<IVaultWithdrawals>;
224
- export declare function getPreviewRedemption({
225
- vault,
226
- sharesAmount,
227
- options,
228
- }: {
229
- vault: IAddress;
230
- sharesAmount: string | bigint | number;
231
- options: IVaultBaseOptions;
123
+ export declare function getPreviewRedemption({ vault, sharesAmount, options, }: {
124
+ vault: IAddress;
125
+ sharesAmount: string | bigint | number;
126
+ options: IVaultBaseOptions;
232
127
  }): Promise<INormalizedNumber>;
@@ -1,12 +1,7 @@
1
1
  export * from './getters';
2
2
  export * from './utils';
3
3
  export * from './main';
4
- export {
5
- getUserPoints,
6
- registerUserForPoints,
7
- fetchPointsLeaderboard,
8
- getYieldLastRealizedOn,
9
- } from './getters';
4
+ export { getUserPoints, registerUserForPoints, fetchPointsLeaderboard, getYieldLastRealizedOn, } from './getters';
10
5
  export { fetchVaultMetadata } from './fetcher';
11
6
  export { getRewardMultiplierByTimestamp } from './utils';
12
7
  export * from './write.actions';