-
Notifications
You must be signed in to change notification settings - Fork 79
/
index.ts
350 lines (258 loc) · 18.7 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
export { default as queryClient } from './queryClient';
// Mutations
export { default as mintVai } from './mutations/mintVai';
export * from './mutations/mintVai';
export { default as useMintVai } from './mutations/mintVai/useMintVai';
export { default as repayVai } from './mutations/repayVai';
export * from './mutations/repayVai';
export { default as useRepayVai } from './mutations/repayVai/useRepayVai';
export { default as enterMarket } from './mutations/enterMarket';
export * from './mutations/enterMarket';
export { default as useEnterMarket } from './mutations/enterMarket/useEnterMarket';
export { default as exitMarket } from './mutations/exitMarket';
export * from './mutations/exitMarket';
export { default as useExitMarket } from './mutations/exitMarket/useExitMarket';
export { default as approveToken } from './mutations/approveToken';
export * from './mutations/approveToken';
export { default as useApproveToken } from './mutations/approveToken/useApproveToken';
export { default as revokeSpendingLimit } from './mutations/revokeSpendingLimit';
export * from './mutations/revokeSpendingLimit';
export { default as useRevokeSpendingLimit } from './mutations/revokeSpendingLimit/useRevokeSpendingLimit';
export { default as supply } from './mutations/supply';
export * from './mutations/supply';
export { default as useSupply } from './mutations/supply/useSupply';
export * from './mutations/supply/useSupply';
export { default as redeem } from './mutations/redeem';
export * from './mutations/redeem';
export { default as useRedeem } from './mutations/redeem/useRedeem';
export { default as repay } from './mutations/repay';
export * from './mutations/repay';
export { default as useRepay } from './mutations/repay/useRepay';
export { default as redeemUnderlying } from './mutations/redeemUnderlying';
export * from './mutations/redeemUnderlying';
export { default as useRedeemUnderlying } from './mutations/redeemUnderlying/useRedeemUnderlying';
export { default as borrow } from './mutations/borrow';
export * from './mutations/borrow';
export { default as useBorrow } from './mutations/borrow/useBorrow';
export { default as withdrawXvs } from './mutations/withdrawXvs';
export * from './mutations/withdrawXvs';
export { default as useWithdrawXvs } from './mutations/withdrawXvs/useWithdrawXvs';
export { default as setVoteDelegate } from './mutations/setVoteDelegate';
export * from './mutations/setVoteDelegate';
export { default as useSetVoteDelegate } from './mutations/setVoteDelegate/useSetVoteDelegate';
export { default as createProposal } from './mutations/createProposal';
export * from './mutations/createProposal';
export { default as useCreateProposal } from './mutations/createProposal/useCreateProposal';
export { default as cancelProposal } from './mutations/cancelProposal';
export * from './mutations/cancelProposal';
export { default as useCancelProposal } from './mutations/cancelProposal/useCancelProposal';
export { default as executeProposal } from './mutations/executeProposal';
export * from './mutations/executeProposal';
export { default as useExecuteProposal } from './mutations/executeProposal/useExecuteProposal';
export { default as queueProposal } from './mutations/queueProposal';
export * from './mutations/queueProposal';
export { default as useQueueProposal } from './mutations/queueProposal/useQueueProposal';
export { default as stakeInXvsVault } from './mutations/stakeInXvsVault';
export * from './mutations/stakeInXvsVault';
export { default as useStakeInXvsVault } from './mutations/stakeInXvsVault/useStakeInXvsVault';
export { default as stakeInVaiVault } from './mutations/stakeInVaiVault';
export * from './mutations/stakeInVaiVault';
export { default as useStakeInVaiVault } from './mutations/stakeInVaiVault/useStakeInVaiVault';
export { default as castVote } from './mutations/vote/castVote';
export * from './mutations/vote/castVote';
export { default as useCastVote } from './mutations/vote/useCastVote';
export { default as castVoteWithReason } from './mutations/vote/castVoteWithReason';
export * from './mutations/vote/castVoteWithReason';
export { default as useCastVoteWithReason } from './mutations/vote/useCastVoteWithReason';
export { default as withdrawFromVaiVault } from './mutations/withdrawFromVaiVault';
export * from './mutations/withdrawFromVaiVault';
export { default as useWithdrawFromVaiVault } from './mutations/withdrawFromVaiVault/useWithdrawFromVaiVault';
export { default as requestWithdrawalFromXvsVault } from './mutations/requestWithdrawalFromXvsVault';
export * from './mutations/requestWithdrawalFromXvsVault';
export { default as useRequestWithdrawalFromXvsVault } from './mutations/requestWithdrawalFromXvsVault/useRequestWithdrawalFromXvsVault';
export { default as executeWithdrawalFromXvsVault } from './mutations/executeWithdrawalFromXvsVault';
export * from './mutations/executeWithdrawalFromXvsVault';
export { default as useExecuteWithdrawalFromXvsVault } from './mutations/executeWithdrawalFromXvsVault/useExecuteWithdrawalFromXvsVault';
export { default as swapTokens } from './mutations/swapTokens';
export * from './mutations/swapTokens';
export { default as useSwapTokens } from './mutations/swapTokens/useSwapTokens';
export { default as swapTokensAndRepay } from './mutations/swapTokensAndRepay';
export * from './mutations/swapTokensAndRepay';
export { default as useSwapTokensAndRepay } from './mutations/swapTokensAndRepay/useSwapTokensAndRepay';
export { default as swapTokensAndSupply } from './mutations/swapTokensAndSupply';
export * from './mutations/swapTokensAndSupply';
export { default as useSwapTokensAndSupply } from './mutations/swapTokensAndSupply/useSwapTokensAndSupply';
export { default as claimRewards } from './mutations/claimRewards';
export * from './mutations/claimRewards';
export { default as useClaimRewards } from './mutations/claimRewards/useClaimRewards';
export { default as useStakeInVault } from './mutations/useStakeInVault';
export { default as claimPrimeToken } from './mutations/claimPrimeToken';
export * from './mutations/claimPrimeToken';
export { default as useClaimPrimeToken } from './mutations/claimPrimeToken/useClaimPrimeToken';
// Queries
export { default as getVaiCalculateRepayAmount } from './queries/getVaiCalculateRepayAmount';
export * from './queries/getVaiCalculateRepayAmount';
export { default as useGetVaiCalculateRepayAmount } from './queries/getVaiCalculateRepayAmount/useGetVaiCalculateRepayAmount';
export { default as getVaiRepayAmountWithInterests } from './queries/getVaiRepayAmountWithInterests';
export * from './queries/getVaiRepayAmountWithInterests';
export { default as useGetVaiRepayAmountWithInterests } from './queries/getVaiRepayAmountWithInterests/useGetVaiRepayAmountWithInterests';
export { default as getVaiTreasuryPercentage } from './queries/getVaiTreasuryPercentage';
export * from './queries/getVaiTreasuryPercentage';
export { default as useGetVaiTreasuryPercentage } from './queries/getVaiTreasuryPercentage/useGetVaiTreasuryPercentage';
export { default as getHypotheticalAccountLiquidity } from './queries/getHypotheticalAccountLiquidity';
export * from './queries/getHypotheticalAccountLiquidity';
export { default as getLegacyPoolMarkets } from './queries/getLegacyPoolMarkets';
export * from './queries/getLegacyPoolMarkets';
export { default as useGetLegacyPoolMarkets } from './queries/getLegacyPoolMarkets/useGetLegacyPoolMarkets';
export { default as getVTokenBalancesAll } from './queries/getVTokenBalancesAll';
export * from './queries/getVTokenBalancesAll';
export { default as useGetVTokenBalancesAll } from './queries/getVTokenBalancesAll/useGetVTokenBalancesAll';
export { default as getVTokenBalanceOf } from './queries/getVTokenBalanceOf';
export * from './queries/getVTokenBalanceOf';
export { default as useGetVTokenBalanceOf } from './queries/getVTokenBalanceOf/useGetVTokenBalanceOf';
export { default as getMintedVai } from './queries/getMintedVai';
export * from './queries/getMintedVai';
export { default as useGetMintedVai } from './queries/getMintedVai/useGetMintedVai';
export { default as getPendingRewards } from './queries/getPendingRewards';
export * from './queries/getPendingRewards';
export { default as useGetPendingRewards } from './queries/getPendingRewards/useGetPendingRewards';
export { default as getIsAddressAuthorized } from './queries/getIsAddressAuthorized';
export * from './queries/getIsAddressAuthorized';
export { default as useGetIsAddressAuthorized } from './queries/getIsAddressAuthorized/useGetIsAddressAuthorized';
export { default as getAllowance } from './queries/getAllowance';
export * from './queries/getAllowance';
export { default as useGetAllowance } from './queries/getAllowance/useGetAllowance';
export { default as getBalanceOf } from './queries/getBalanceOf';
export * from './queries/getBalanceOf';
export { default as useGetBalanceOf } from './queries/getBalanceOf/useGetBalanceOf';
export { default as getTokenBalances } from './queries/getTokenBalances';
export * from './queries/getTokenBalances';
export { default as useGetTokenBalances } from './queries/getTokenBalances/useGetTokenBalances';
export { default as getVrtConversionEndTime } from './queries/getVrtConversionEndTime';
export * from './queries/getVrtConversionEndTime';
export { default as useGetVrtConversionEndTime } from './queries/getVrtConversionEndTime/useGetVrtConversionEndTime';
export { default as getVrtConversionRatio } from './queries/getVrtConversionRatio';
export * from './queries/getVrtConversionRatio';
export { default as useGetVrtConversionRatio } from './queries/getVrtConversionRatio/useGetVrtConversionRatio';
export { default as getVenusVaiVaultDailyRate } from './queries/getVenusVaiVaultDailyRate';
export * from './queries/getVenusVaiVaultDailyRate';
export { default as useGetVenusVaiVaultDailyRate } from './queries/getVenusVaiVaultDailyRate/useGetVenusVaiVaultDailyRate';
export { default as getXvsWithdrawableAmount } from './queries/getXvsWithdrawableAmount';
export * from './queries/getXvsWithdrawableAmount';
export { default as useGetXvsWithdrawableAmount } from './queries/getXvsWithdrawableAmount/useGetXvsWithdrawableAmount';
export { default as useGetAsset } from './queries/useGetAsset';
export { default as useGetLegacyPoolTotalXvsDistributed } from './queries/useGetLegacyPoolTotalXvsDistributed';
export * from './queries/getLegacyPool';
export { default as useGetLegacyPool } from './queries/getLegacyPool/useGetLegacyPool';
export { default as useGetPools } from './queries/useGetPools';
export { default as useGetPool } from './queries/useGetPool';
export { default as useGetTreasuryTotals } from './queries/useGetTreasuryTotals';
export { default as getIsolatedPools } from './queries/getIsolatedPools';
export * from './queries/getIsolatedPools';
export { default as useGetIsolatedPools } from './queries/getIsolatedPools/useGetIsolatedPools';
export { default as getMarketHistory } from './queries/getMarketHistory';
export * from './queries/getMarketHistory';
export { default as useGetMarketHistory } from './queries/getMarketHistory/useGetMarketHistory';
export { default as getVTokenInterestRateModel } from './queries/getVTokenInterestRateModel';
export * from './queries/getVTokenInterestRateModel';
export { default as useGetVTokenInterestRateModel } from './queries/getVTokenInterestRateModel/useGetVTokenInterestRateModel';
export { default as getVTokenApySimulations } from './queries/getVTokenApySimulations';
export * from './queries/getVTokenApySimulations';
export { default as useGetVTokenApySimulations } from './queries/getVTokenApySimulations/useGetVTokenApySimulations';
export { default as getCurrentVotes } from './queries/getCurrentVotes';
export * from './queries/getCurrentVotes';
export { default as useGetCurrentVotes } from './queries/getCurrentVotes/useGetCurrentVotes';
export { default as getTransactions } from './queries/getTransactions';
export * from './queries/getTransactions';
export { default as useGetTransactions } from './queries/getTransactions/useGetTransactions';
export { default as getXvsVaultPoolCount } from './queries/getXvsVaultPoolCount';
export * from './queries/getXvsVaultPoolCount';
export { default as useGetXvsVaultPoolCount } from './queries/getXvsVaultPoolCount/useGetXvsVaultPoolCount';
export { default as getXvsVaultPoolInfo } from './queries/getXvsVaultPoolInfo';
export * from './queries/getXvsVaultPoolInfo';
export { default as useGetXvsVaultPoolInfo } from './queries/getXvsVaultPoolInfo/useGetXvsVaultPoolInfo';
export { default as getXvsVaultRewardPerBlock } from './queries/getXvsVaultRewardPerBlock';
export * from './queries/getXvsVaultRewardPerBlock';
export { default as useGetXvsVaultRewardPerBlock } from './queries/getXvsVaultRewardPerBlock/useGetXvsVaultRewardPerBlock';
export { default as getXvsVaultTotalAllocationPoints } from './queries/getXvsVaultTotalAllocationPoints';
export * from './queries/getXvsVaultTotalAllocationPoints';
export { default as useGetXvsVaultTotalAllocationPoints } from './queries/getXvsVaultTotalAllocationPoints/useGetXvsVaultTotalAllocationPoints';
export { default as getXvsVaultUserInfo } from './queries/getXvsVaultUserInfo';
export * from './queries/getXvsVaultUserInfo';
export { default as useGetXvsVaultUserInfo } from './queries/getXvsVaultUserInfo/useGetXvsVaultUserInfo';
export { default as getXvsVaultLockedDeposits } from './queries/getXvsVaultLockedDeposits';
export * from './queries/getXvsVaultLockedDeposits';
export { default as useGetXvsVaultLockedDeposits } from './queries/getXvsVaultLockedDeposits/useGetXvsVaultLockedDeposits';
export { default as useGetVaults } from './queries/useGetVaults';
export { default as getProposals } from './queries/getProposals';
export * from './queries/getProposals';
export { default as useGetProposals } from './queries/getProposals/useGetProposals';
export { default as getProposal } from './queries/getProposals/getProposal';
export * from './queries/getProposals/getProposal';
export { default as useGetProposal } from './queries/getProposals/useGetProposal';
export { default as getVoteReceipt } from './queries/getVoteReceipt';
export * from './queries/getVoteReceipt';
export { default as useGetVoteReceipt } from './queries/getVoteReceipt/useGetVoteReceipt';
export { default as getVoters } from './queries/getVoters';
export * from './queries/getVoters';
export { default as useGetVoters } from './queries/getVoters/useGetVoters';
export { default as getVoterDetails } from './queries/getVoterDetails';
export * from './queries/getVoterDetails';
export { default as useGetVoterDetails } from './queries/getVoterDetails/useGetVoterDetails';
export { default as getVoteSummary } from './queries/getVoteSummary';
export * from './queries/getVoteSummary';
export { default as useGetVoteSummary } from './queries/getVoteSummary/useGetVoteSummary';
export { default as getVoterHistory } from './queries/getVoterHistory';
export * from './queries/getVoterHistory';
export { default as useGetVoterHistory } from './queries/getVoterHistory/useGetVoterHistory';
export { default as getVaiVaultUserInfo } from './queries/getVaiVaultUserInfo';
export * from './queries/getVaiVaultUserInfo';
export { default as useGetVaiVaultUserInfo } from './queries/getVaiVaultUserInfo/useGetVaiVaultUserInfo';
export { default as useGetVestingVaults } from './queries/useGetVaults/useGetVestingVaults';
export { default as getVoteDelegateAddress } from './queries/getVoteDelegateAddress';
export * from './queries/getVoteDelegateAddress';
export { default as useGetVoteDelegateAddress } from './queries/getVoteDelegateAddress/useGetVoteDelegateAddress';
export { default as getVoterAccounts } from './queries/getVoterAccounts';
export * from './queries/getVoterAccounts';
export { default as useGetVoterAccounts } from './queries/getVoterAccounts/useGetVoterAccounts';
export { default as getProposalThreshold } from './queries/getProposalThreshold';
export * from './queries/getProposalThreshold';
export { default as useGetProposalThreshold } from './queries/getProposalThreshold/useGetProposalThreshold';
export { default as getProposalState } from './queries/getProposalState';
export * from './queries/getProposalState';
export { default as useGetProposalState } from './queries/getProposalState/useGetProposalState';
export { default as getLatestProposalIdByProposer } from './queries/getLatestProposalIdByProposer';
export * from './queries/getLatestProposalIdByProposer';
export { default as useGetLatestProposalIdByProposer } from './queries/getLatestProposalIdByProposer/useGetLatestProposalIdByProposer';
export { default as getMintableVai } from './queries/getMintableVai';
export * from './queries/getMintableVai';
export { default as useGetMintableVai } from './queries/getMintableVai/useGetMintableVai';
export { default as getBlockNumber } from './queries/getBlockNumber';
export * from './queries/getBlockNumber';
export { default as useGetBlockNumber } from './queries/getBlockNumber/useGetBlockNumber';
export { default as getProposalEta } from './queries/getProposalEta';
export * from './queries/getProposalEta';
export { default as useGetProposalEta } from './queries/getProposalEta/useGetProposalEta';
export { default as getPancakeSwapPairs } from './queries/getPancakeSwapPairs';
export * from './queries/getPancakeSwapPairs';
export { default as useGetPancakeSwapPairs } from './queries/getPancakeSwapPairs/useGetPancakeSwapPairs';
export { default as getVaiRepayApy } from './queries/getVaiRepayApy';
export * from './queries/getVaiRepayApy';
export { default as useGetVaiRepayApy } from './queries/getVaiRepayApy/useGetVaiRepayApy';
export { default as getXvsVaultPendingWithdrawalsFromBeforeUpgrade } from './queries/getXvsVaultPendingWithdrawalsFromBeforeUpgrade';
export * from './queries/getXvsVaultPendingWithdrawalsFromBeforeUpgrade';
export { default as useGetXvsVaultPendingWithdrawalsFromBeforeUpgrade } from './queries/getXvsVaultPendingWithdrawalsFromBeforeUpgrade/useGetXvsVaultPendingWithdrawalsFromBeforeUpgrade';
export { default as getVTokens } from './queries/getVTokens';
export * from './queries/getVTokens';
export { default as useGetVTokens } from './queries/getVTokens/useGetVTokens';
export { default as getPrimeToken } from './queries/getPrimeToken';
export * from './queries/getPrimeToken';
export { default as useGetPrimeToken } from './queries/getPrimeToken/useGetPrimeToken';
export { default as getHypotheticalPrimeApys } from './queries/getHypotheticalPrimeApys';
export * from './queries/getHypotheticalPrimeApys';
export { default as useGetHypotheticalPrimeApys } from './queries/getHypotheticalPrimeApys/useGetHypotheticalPrimeApys';
export { default as getPrimeStatus } from './queries/getPrimeStatus';
export * from './queries/getPrimeStatus';
export { default as useGetPrimeStatus } from './queries/getPrimeStatus/useGetPrimeStatus';
export * from './queries/getLatestAppVersion';
export { default as useGetLatestAppVersion } from './queries/getLatestAppVersion/useGetLatestAppVersion';