@dodoex/dodo-contract-request 1.6.0-alpha.3 → 1.6.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 (124) hide show
  1. package/CHANGELOG.md +0 -27
  2. package/dist/types/contract/BuyoutModel.d.ts +12 -12
  3. package/dist/types/contract/CP.d.ts +80 -68
  4. package/dist/types/contract/CrowdPoolingFactory.d.ts +44 -38
  5. package/dist/types/contract/CustomERC20.d.ts +22 -22
  6. package/dist/types/contract/CustomMintableERC20.d.ts +22 -22
  7. package/dist/types/contract/D3Proxy.d.ts +8 -8
  8. package/dist/types/contract/D3Vault.d.ts +174 -96
  9. package/dist/types/contract/DODOApprove.d.ts +12 -12
  10. package/dist/types/contract/DODOApproveProxy.d.ts +14 -14
  11. package/dist/types/contract/DODOCalleeHelper.d.ts +2 -2
  12. package/dist/types/contract/DODOCirculationHelper.d.ts +14 -14
  13. package/dist/types/contract/DODOCpProxy.d.ts +6 -6
  14. package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +6 -6
  15. package/dist/types/contract/DODODppProxy.d.ts +6 -6
  16. package/dist/types/contract/DODODspProxy.d.ts +8 -8
  17. package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +6 -6
  18. package/dist/types/contract/DODOIncentive.d.ts +34 -22
  19. package/dist/types/contract/DODOMineV2Factory.d.ts +14 -14
  20. package/dist/types/contract/DODOMineV3Proxy.d.ts +12 -12
  21. package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +12 -12
  22. package/dist/types/contract/DODOMineV3Registry.d.ts +12 -12
  23. package/dist/types/contract/DODONFT.d.ts +28 -28
  24. package/dist/types/contract/DODONFT1155.d.ts +16 -16
  25. package/dist/types/contract/DODONFTApprove.d.ts +12 -12
  26. package/dist/types/contract/DODONFTPoolProxy.d.ts +20 -20
  27. package/dist/types/contract/DODONFTProxy.d.ts +24 -24
  28. package/dist/types/contract/DODONFTRegistry.d.ts +20 -14
  29. package/dist/types/contract/DODONFTRouteHelper.d.ts +4 -4
  30. package/dist/types/contract/DODOSellHelper.d.ts +4 -4
  31. package/dist/types/contract/DODOStarterProxy.d.ts +4 -4
  32. package/dist/types/contract/DODOV1.d.ts +84 -78
  33. package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
  34. package/dist/types/contract/DODOV1PmmHelper.d.ts +2 -2
  35. package/dist/types/contract/DODOV1Proxy.d.ts +2 -2
  36. package/dist/types/contract/DODOV2Proxy02.d.ts +26 -26
  37. package/dist/types/contract/DODOV2RouteHelper.d.ts +8 -8
  38. package/dist/types/contract/DPPAdvanced.d.ts +118 -54
  39. package/dist/types/contract/DPPAdvancedAdmin.d.ts +14 -14
  40. package/dist/types/contract/DPPFactory.d.ts +34 -28
  41. package/dist/types/contract/DSP.d.ts +134 -70
  42. package/dist/types/contract/DSPFactory.d.ts +28 -22
  43. package/dist/types/contract/DVM.d.ts +120 -64
  44. package/dist/types/contract/DVMFactory.d.ts +28 -22
  45. package/dist/types/contract/ERC20.d.ts +12 -12
  46. package/dist/types/contract/ERC20Helper.d.ts +46 -8
  47. package/dist/types/contract/ERC20MineV3.d.ts +46 -26
  48. package/dist/types/contract/ERC20V3Factory.d.ts +30 -22
  49. package/dist/types/contract/FeeRateDIP3Impl.d.ts +38 -20
  50. package/dist/types/contract/FeeRateModel.d.ts +8 -8
  51. package/dist/types/contract/GSP.d.ts +152 -82
  52. package/dist/types/contract/GSPFactory.d.ts +26 -20
  53. package/dist/types/contract/InitializableERC20.d.ts +14 -14
  54. package/dist/types/contract/LimitOrder.d.ts +20 -20
  55. package/dist/types/contract/LimitOrderBot.d.ts +12 -12
  56. package/dist/types/contract/MulticallWithValid.d.ts +14 -14
  57. package/dist/types/contract/PermissionManager.d.ts +8 -8
  58. package/dist/types/contract/UniswapV2Factory.d.ts +10 -10
  59. package/dist/types/contract/UniswapV2Pair.d.ts +46 -38
  60. package/dist/types/contract/UniswapV2Router02.d.ts +14 -14
  61. package/dist/types/contract/dodoTeam.d.ts +34 -28
  62. package/dist/types/contract/vDODOToken.d.ts +84 -60
  63. package/package.json +2 -2
  64. package/src/contract/BuyoutModel.ts +6 -6
  65. package/src/contract/CP.ts +40 -34
  66. package/src/contract/CrowdPoolingFactory.ts +22 -19
  67. package/src/contract/CustomERC20.ts +11 -11
  68. package/src/contract/CustomMintableERC20.ts +11 -11
  69. package/src/contract/D3Proxy.ts +4 -4
  70. package/src/contract/D3Vault.ts +87 -48
  71. package/src/contract/DODOApprove.ts +6 -6
  72. package/src/contract/DODOApproveProxy.ts +7 -7
  73. package/src/contract/DODOCalleeHelper.ts +1 -1
  74. package/src/contract/DODOCirculationHelper.ts +7 -7
  75. package/src/contract/DODOCpProxy.ts +3 -3
  76. package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +3 -3
  77. package/src/contract/DODODppProxy.ts +3 -3
  78. package/src/contract/DODODspProxy.ts +4 -4
  79. package/src/contract/DODODspProxyWithoutGSP.ts +3 -3
  80. package/src/contract/DODOIncentive.ts +17 -11
  81. package/src/contract/DODOMineV2Factory.ts +7 -7
  82. package/src/contract/DODOMineV3Proxy.ts +6 -6
  83. package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +6 -6
  84. package/src/contract/DODOMineV3Registry.ts +6 -6
  85. package/src/contract/DODONFT.ts +14 -14
  86. package/src/contract/DODONFT1155.ts +8 -8
  87. package/src/contract/DODONFTApprove.ts +6 -6
  88. package/src/contract/DODONFTPoolProxy.ts +10 -10
  89. package/src/contract/DODONFTProxy.ts +12 -12
  90. package/src/contract/DODONFTRegistry.ts +10 -7
  91. package/src/contract/DODONFTRouteHelper.ts +2 -2
  92. package/src/contract/DODOSellHelper.ts +2 -2
  93. package/src/contract/DODOStarterProxy.ts +2 -2
  94. package/src/contract/DODOV1.ts +42 -39
  95. package/src/contract/DODOV1Adapter.ts +1 -1
  96. package/src/contract/DODOV1PmmHelper.ts +1 -1
  97. package/src/contract/DODOV1Proxy.ts +1 -1
  98. package/src/contract/DODOV2Proxy02.ts +13 -13
  99. package/src/contract/DODOV2RouteHelper.ts +4 -4
  100. package/src/contract/DPPAdvanced.ts +51 -27
  101. package/src/contract/DPPAdvancedAdmin.ts +7 -7
  102. package/src/contract/DPPFactory.ts +17 -14
  103. package/src/contract/DSP.ts +59 -35
  104. package/src/contract/DSPFactory.ts +14 -11
  105. package/src/contract/DVM.ts +52 -32
  106. package/src/contract/DVMFactory.ts +14 -11
  107. package/src/contract/ERC20.ts +6 -6
  108. package/src/contract/ERC20Helper.ts +23 -4
  109. package/src/contract/ERC20MineV3.ts +23 -13
  110. package/src/contract/ERC20V3Factory.ts +15 -11
  111. package/src/contract/FeeRateDIP3Impl.ts +19 -10
  112. package/src/contract/FeeRateModel.ts +4 -4
  113. package/src/contract/GSP.ts +68 -41
  114. package/src/contract/GSPFactory.ts +13 -10
  115. package/src/contract/InitializableERC20.ts +7 -7
  116. package/src/contract/LimitOrder.ts +10 -10
  117. package/src/contract/LimitOrderBot.ts +6 -6
  118. package/src/contract/MulticallWithValid.ts +7 -7
  119. package/src/contract/PermissionManager.ts +4 -4
  120. package/src/contract/UniswapV2Factory.ts +5 -5
  121. package/src/contract/UniswapV2Pair.ts +23 -19
  122. package/src/contract/UniswapV2Router02.ts +7 -7
  123. package/src/contract/dodoTeam.ts +17 -14
  124. package/src/contract/vDODOToken.ts +42 -30
@@ -4,132 +4,132 @@ export declare function getD3VaultContractAddressByChainId(chainId: number): str
4
4
  * @param {number} chainId - number
5
5
  * @returns {bigint} __output0 - uint256
6
6
  */
7
- export declare function fetchD3VaultDISCOUNT(chainId: number): any;
7
+ export declare function fetchD3VaultDISCOUNT(chainId: number): Promise<bigint>;
8
8
  export declare function getFetchD3VaultDISCOUNTQueryOptions(chainId: number | undefined): {
9
9
  queryKey: (string | number | undefined)[];
10
10
  enabled: boolean;
11
- queryFn: () => any;
11
+ queryFn: () => Promise<bigint>;
12
12
  };
13
13
  /**
14
14
  * fetch IM
15
15
  * @param {number} chainId - number
16
16
  * @returns {bigint} __output0 - uint256
17
17
  */
18
- export declare function fetchD3VaultIM(chainId: number): any;
18
+ export declare function fetchD3VaultIM(chainId: number): Promise<bigint>;
19
19
  export declare function getFetchD3VaultIMQueryOptions(chainId: number | undefined): {
20
20
  queryKey: (string | number | undefined)[];
21
21
  enabled: boolean;
22
- queryFn: () => any;
22
+ queryFn: () => Promise<bigint>;
23
23
  };
24
24
  /**
25
25
  * fetch MM
26
26
  * @param {number} chainId - number
27
27
  * @returns {bigint} __output0 - uint256
28
28
  */
29
- export declare function fetchD3VaultMM(chainId: number): any;
29
+ export declare function fetchD3VaultMM(chainId: number): Promise<bigint>;
30
30
  export declare function getFetchD3VaultMMQueryOptions(chainId: number | undefined): {
31
31
  queryKey: (string | number | undefined)[];
32
32
  enabled: boolean;
33
- queryFn: () => any;
33
+ queryFn: () => Promise<bigint>;
34
34
  };
35
35
  /**
36
36
  * fetch _CLONE_FACTORY_
37
37
  * @param {number} chainId - number
38
38
  * @returns {string} __output0 - address
39
39
  */
40
- export declare function fetchD3Vault_CLONE_FACTORY_(chainId: number): any;
40
+ export declare function fetchD3Vault_CLONE_FACTORY_(chainId: number): Promise<string>;
41
41
  export declare function getFetchD3Vault_CLONE_FACTORY_QueryOptions(chainId: number | undefined): {
42
42
  queryKey: (string | number | undefined)[];
43
43
  enabled: boolean;
44
- queryFn: () => any;
44
+ queryFn: () => Promise<string>;
45
45
  };
46
46
  /**
47
47
  * fetch _D3TOKEN_LOGIC_
48
48
  * @param {number} chainId - number
49
49
  * @returns {string} __output0 - address
50
50
  */
51
- export declare function fetchD3Vault_D3TOKEN_LOGIC_(chainId: number): any;
51
+ export declare function fetchD3Vault_D3TOKEN_LOGIC_(chainId: number): Promise<string>;
52
52
  export declare function getFetchD3Vault_D3TOKEN_LOGIC_QueryOptions(chainId: number | undefined): {
53
53
  queryKey: (string | number | undefined)[];
54
54
  enabled: boolean;
55
- queryFn: () => any;
55
+ queryFn: () => Promise<string>;
56
56
  };
57
57
  /**
58
58
  * fetch _D3_FACTORY_
59
59
  * @param {number} chainId - number
60
60
  * @returns {string} __output0 - address
61
61
  */
62
- export declare function fetchD3Vault_D3_FACTORY_(chainId: number): any;
62
+ export declare function fetchD3Vault_D3_FACTORY_(chainId: number): Promise<string>;
63
63
  export declare function getFetchD3Vault_D3_FACTORY_QueryOptions(chainId: number | undefined): {
64
64
  queryKey: (string | number | undefined)[];
65
65
  enabled: boolean;
66
- queryFn: () => any;
66
+ queryFn: () => Promise<string>;
67
67
  };
68
68
  /**
69
69
  * fetch _MAINTAINER_
70
70
  * @param {number} chainId - number
71
71
  * @returns {string} __output0 - address
72
72
  */
73
- export declare function fetchD3Vault_MAINTAINER_(chainId: number): any;
73
+ export declare function fetchD3Vault_MAINTAINER_(chainId: number): Promise<string>;
74
74
  export declare function getFetchD3Vault_MAINTAINER_QueryOptions(chainId: number | undefined): {
75
75
  queryKey: (string | number | undefined)[];
76
76
  enabled: boolean;
77
- queryFn: () => any;
77
+ queryFn: () => Promise<string>;
78
78
  };
79
79
  /**
80
80
  * fetch _ORACLE_
81
81
  * @param {number} chainId - number
82
82
  * @returns {string} __output0 - address
83
83
  */
84
- export declare function fetchD3Vault_ORACLE_(chainId: number): any;
84
+ export declare function fetchD3Vault_ORACLE_(chainId: number): Promise<string>;
85
85
  export declare function getFetchD3Vault_ORACLE_QueryOptions(chainId: number | undefined): {
86
86
  queryKey: (string | number | undefined)[];
87
87
  enabled: boolean;
88
- queryFn: () => any;
88
+ queryFn: () => Promise<string>;
89
89
  };
90
90
  /**
91
91
  * fetch _PENDING_REMOVE_POOL_
92
92
  * @param {number} chainId - number
93
93
  * @returns {string} __output0 - address
94
94
  */
95
- export declare function fetchD3Vault_PENDING_REMOVE_POOL_(chainId: number): any;
95
+ export declare function fetchD3Vault_PENDING_REMOVE_POOL_(chainId: number): Promise<string>;
96
96
  export declare function getFetchD3Vault_PENDING_REMOVE_POOL_QueryOptions(chainId: number | undefined): {
97
97
  queryKey: (string | number | undefined)[];
98
98
  enabled: boolean;
99
- queryFn: () => any;
99
+ queryFn: () => Promise<string>;
100
100
  };
101
101
  /**
102
102
  * fetch _POOL_QUOTA_
103
103
  * @param {number} chainId - number
104
104
  * @returns {string} __output0 - address
105
105
  */
106
- export declare function fetchD3Vault_POOL_QUOTA_(chainId: number): any;
106
+ export declare function fetchD3Vault_POOL_QUOTA_(chainId: number): Promise<string>;
107
107
  export declare function getFetchD3Vault_POOL_QUOTA_QueryOptions(chainId: number | undefined): {
108
108
  queryKey: (string | number | undefined)[];
109
109
  enabled: boolean;
110
- queryFn: () => any;
110
+ queryFn: () => Promise<string>;
111
111
  };
112
112
  /**
113
113
  * fetch _RATE_MANAGER_
114
114
  * @param {number} chainId - number
115
115
  * @returns {string} __output0 - address
116
116
  */
117
- export declare function fetchD3Vault_RATE_MANAGER_(chainId: number): any;
117
+ export declare function fetchD3Vault_RATE_MANAGER_(chainId: number): Promise<string>;
118
118
  export declare function getFetchD3Vault_RATE_MANAGER_QueryOptions(chainId: number | undefined): {
119
119
  queryKey: (string | number | undefined)[];
120
120
  enabled: boolean;
121
- queryFn: () => any;
121
+ queryFn: () => Promise<string>;
122
122
  };
123
123
  /**
124
124
  * fetch _USER_QUOTA_
125
125
  * @param {number} chainId - number
126
126
  * @returns {string} __output0 - address
127
127
  */
128
- export declare function fetchD3Vault_USER_QUOTA_(chainId: number): any;
128
+ export declare function fetchD3Vault_USER_QUOTA_(chainId: number): Promise<string>;
129
129
  export declare function getFetchD3Vault_USER_QUOTA_QueryOptions(chainId: number | undefined): {
130
130
  queryKey: (string | number | undefined)[];
131
131
  enabled: boolean;
132
- queryFn: () => any;
132
+ queryFn: () => Promise<string>;
133
133
  };
134
134
  /**
135
135
  * fetch accrualTimestampMap
@@ -137,11 +137,11 @@ export declare function getFetchD3Vault_USER_QUOTA_QueryOptions(chainId: number
137
137
  * @param {string} __input1 - address
138
138
  * @returns {bigint} __output0 - uint256
139
139
  */
140
- export declare function fetchD3VaultAccrualTimestampMap(chainId: number, __input1: string): any;
140
+ export declare function fetchD3VaultAccrualTimestampMap(chainId: number, __input1: string): Promise<bigint>;
141
141
  export declare function getFetchD3VaultAccrualTimestampMapQueryOptions(chainId: number | undefined, __input1: string | undefined): {
142
142
  queryKey: (string | number | undefined)[];
143
143
  enabled: boolean;
144
- queryFn: () => any;
144
+ queryFn: () => Promise<bigint>;
145
145
  };
146
146
  /**
147
147
  * fetch accrueInterestForRead
@@ -152,11 +152,21 @@ export declare function getFetchD3VaultAccrualTimestampMapQueryOptions(chainId:
152
152
  * @returns {bigint} borrowIndexNew - uint256
153
153
  * @returns {bigint} accrualTime - uint256
154
154
  */
155
- export declare function fetchD3VaultAccrueInterestForRead(chainId: number, token: string): any;
155
+ export declare function fetchD3VaultAccrueInterestForRead(chainId: number, token: string): Promise<{
156
+ totalBorrowsNew: bigint;
157
+ totalReservesNew: bigint;
158
+ borrowIndexNew: bigint;
159
+ accrualTime: bigint;
160
+ }>;
156
161
  export declare function getFetchD3VaultAccrueInterestForReadQueryOptions(chainId: number | undefined, token: string | undefined): {
157
162
  queryKey: (string | number | undefined)[];
158
163
  enabled: boolean;
159
- queryFn: () => any;
164
+ queryFn: () => Promise<{
165
+ totalBorrowsNew: bigint;
166
+ totalReservesNew: bigint;
167
+ borrowIndexNew: bigint;
168
+ accrualTime: bigint;
169
+ }>;
160
170
  };
161
171
  /**
162
172
  * fetch allPoolAddrMap
@@ -164,11 +174,11 @@ export declare function getFetchD3VaultAccrueInterestForReadQueryOptions(chainId
164
174
  * @param {string} __input1 - address
165
175
  * @returns {boolean} __output0 - bool
166
176
  */
167
- export declare function fetchD3VaultAllPoolAddrMap(chainId: number, __input1: string): any;
177
+ export declare function fetchD3VaultAllPoolAddrMap(chainId: number, __input1: string): Promise<boolean>;
168
178
  export declare function getFetchD3VaultAllPoolAddrMapQueryOptions(chainId: number | undefined, __input1: string | undefined): {
169
179
  queryKey: (string | number | undefined)[];
170
180
  enabled: boolean;
171
- queryFn: () => any;
181
+ queryFn: () => Promise<boolean>;
172
182
  };
173
183
  /**
174
184
  * fetch allowedLiquidator
@@ -176,11 +186,11 @@ export declare function getFetchD3VaultAllPoolAddrMapQueryOptions(chainId: numbe
176
186
  * @param {string} __input1 - address
177
187
  * @returns {boolean} __output0 - bool
178
188
  */
179
- export declare function fetchD3VaultAllowedLiquidator(chainId: number, __input1: string): any;
189
+ export declare function fetchD3VaultAllowedLiquidator(chainId: number, __input1: string): Promise<boolean>;
180
190
  export declare function getFetchD3VaultAllowedLiquidatorQueryOptions(chainId: number | undefined, __input1: string | undefined): {
181
191
  queryKey: (string | number | undefined)[];
182
192
  enabled: boolean;
183
- queryFn: () => any;
193
+ queryFn: () => Promise<boolean>;
184
194
  };
185
195
  /**
186
196
  * fetch allowedRouter
@@ -188,11 +198,11 @@ export declare function getFetchD3VaultAllowedLiquidatorQueryOptions(chainId: nu
188
198
  * @param {string} __input1 - address
189
199
  * @returns {boolean} __output0 - bool
190
200
  */
191
- export declare function fetchD3VaultAllowedRouter(chainId: number, __input1: string): any;
201
+ export declare function fetchD3VaultAllowedRouter(chainId: number, __input1: string): Promise<boolean>;
192
202
  export declare function getFetchD3VaultAllowedRouterQueryOptions(chainId: number | undefined, __input1: string | undefined): {
193
203
  queryKey: (string | number | undefined)[];
194
204
  enabled: boolean;
195
- queryFn: () => any;
205
+ queryFn: () => Promise<boolean>;
196
206
  };
197
207
  /**
198
208
  * fetch assetInfo
@@ -211,11 +221,37 @@ export declare function getFetchD3VaultAllowedRouterQueryOptions(chainId: number
211
221
  * @returns {bigint} collateralWeight - uint256
212
222
  * @returns {bigint} debtWeight - uint256
213
223
  */
214
- export declare function fetchD3VaultAssetInfo(chainId: number, __input1: string): any;
224
+ export declare function fetchD3VaultAssetInfo(chainId: number, __input1: string): Promise<{
225
+ dToken: string;
226
+ balance: bigint;
227
+ totalBorrows: bigint;
228
+ borrowIndex: bigint;
229
+ accrualTime: bigint;
230
+ totalReserves: bigint;
231
+ withdrawnReserves: bigint;
232
+ reserveFactor: bigint;
233
+ maxDepositAmount: bigint;
234
+ maxCollateralAmount: bigint;
235
+ collateralWeight: bigint;
236
+ debtWeight: bigint;
237
+ }>;
215
238
  export declare function getFetchD3VaultAssetInfoQueryOptions(chainId: number | undefined, __input1: string | undefined): {
216
239
  queryKey: (string | number | undefined)[];
217
240
  enabled: boolean;
218
- queryFn: () => any;
241
+ queryFn: () => Promise<{
242
+ dToken: string;
243
+ balance: bigint;
244
+ totalBorrows: bigint;
245
+ borrowIndex: bigint;
246
+ accrualTime: bigint;
247
+ totalReserves: bigint;
248
+ withdrawnReserves: bigint;
249
+ reserveFactor: bigint;
250
+ maxDepositAmount: bigint;
251
+ maxCollateralAmount: bigint;
252
+ collateralWeight: bigint;
253
+ debtWeight: bigint;
254
+ }>;
219
255
  };
220
256
  /**
221
257
  * fetch checkBadDebt
@@ -223,11 +259,11 @@ export declare function getFetchD3VaultAssetInfoQueryOptions(chainId: number | u
223
259
  * @param {string} pool - address
224
260
  * @returns {boolean} __output0 - bool
225
261
  */
226
- export declare function fetchD3VaultCheckBadDebt(chainId: number, pool: string): any;
262
+ export declare function fetchD3VaultCheckBadDebt(chainId: number, pool: string): Promise<boolean>;
227
263
  export declare function getFetchD3VaultCheckBadDebtQueryOptions(chainId: number | undefined, pool: string | undefined): {
228
264
  queryKey: (string | number | undefined)[];
229
265
  enabled: boolean;
230
- queryFn: () => any;
266
+ queryFn: () => Promise<boolean>;
231
267
  };
232
268
  /**
233
269
  * fetch checkBadDebtAfterAccrue
@@ -235,11 +271,11 @@ export declare function getFetchD3VaultCheckBadDebtQueryOptions(chainId: number
235
271
  * @param {string} pool - address
236
272
  * @returns {boolean} __output0 - bool
237
273
  */
238
- export declare function fetchD3VaultCheckBadDebtAfterAccrue(chainId: number, pool: string): any;
274
+ export declare function fetchD3VaultCheckBadDebtAfterAccrue(chainId: number, pool: string): Promise<boolean>;
239
275
  export declare function getFetchD3VaultCheckBadDebtAfterAccrueQueryOptions(chainId: number | undefined, pool: string | undefined): {
240
276
  queryKey: (string | number | undefined)[];
241
277
  enabled: boolean;
242
- queryFn: () => any;
278
+ queryFn: () => Promise<boolean>;
243
279
  };
244
280
  /**
245
281
  * fetch checkBorrowSafe
@@ -247,11 +283,11 @@ export declare function getFetchD3VaultCheckBadDebtAfterAccrueQueryOptions(chain
247
283
  * @param {string} pool - address
248
284
  * @returns {boolean} __output0 - bool
249
285
  */
250
- export declare function fetchD3VaultCheckBorrowSafe(chainId: number, pool: string): any;
286
+ export declare function fetchD3VaultCheckBorrowSafe(chainId: number, pool: string): Promise<boolean>;
251
287
  export declare function getFetchD3VaultCheckBorrowSafeQueryOptions(chainId: number | undefined, pool: string | undefined): {
252
288
  queryKey: (string | number | undefined)[];
253
289
  enabled: boolean;
254
- queryFn: () => any;
290
+ queryFn: () => Promise<boolean>;
255
291
  };
256
292
  /**
257
293
  * fetch checkCanBeLiquidated
@@ -259,11 +295,11 @@ export declare function getFetchD3VaultCheckBorrowSafeQueryOptions(chainId: numb
259
295
  * @param {string} pool - address
260
296
  * @returns {boolean} __output0 - bool
261
297
  */
262
- export declare function fetchD3VaultCheckCanBeLiquidated(chainId: number, pool: string): any;
298
+ export declare function fetchD3VaultCheckCanBeLiquidated(chainId: number, pool: string): Promise<boolean>;
263
299
  export declare function getFetchD3VaultCheckCanBeLiquidatedQueryOptions(chainId: number | undefined, pool: string | undefined): {
264
300
  queryKey: (string | number | undefined)[];
265
301
  enabled: boolean;
266
- queryFn: () => any;
302
+ queryFn: () => Promise<boolean>;
267
303
  };
268
304
  /**
269
305
  * fetch checkCanBeLiquidatedAfterAccrue
@@ -271,11 +307,11 @@ export declare function getFetchD3VaultCheckCanBeLiquidatedQueryOptions(chainId:
271
307
  * @param {string} pool - address
272
308
  * @returns {boolean} __output0 - bool
273
309
  */
274
- export declare function fetchD3VaultCheckCanBeLiquidatedAfterAccrue(chainId: number, pool: string): any;
310
+ export declare function fetchD3VaultCheckCanBeLiquidatedAfterAccrue(chainId: number, pool: string): Promise<boolean>;
275
311
  export declare function getFetchD3VaultCheckCanBeLiquidatedAfterAccrueQueryOptions(chainId: number | undefined, pool: string | undefined): {
276
312
  queryKey: (string | number | undefined)[];
277
313
  enabled: boolean;
278
- queryFn: () => any;
314
+ queryFn: () => Promise<boolean>;
279
315
  };
280
316
  /**
281
317
  * fetch checkSafe
@@ -283,11 +319,11 @@ export declare function getFetchD3VaultCheckCanBeLiquidatedAfterAccrueQueryOptio
283
319
  * @param {string} pool - address
284
320
  * @returns {boolean} __output0 - bool
285
321
  */
286
- export declare function fetchD3VaultCheckSafe(chainId: number, pool: string): any;
322
+ export declare function fetchD3VaultCheckSafe(chainId: number, pool: string): Promise<boolean>;
287
323
  export declare function getFetchD3VaultCheckSafeQueryOptions(chainId: number | undefined, pool: string | undefined): {
288
324
  queryKey: (string | number | undefined)[];
289
325
  enabled: boolean;
290
- queryFn: () => any;
326
+ queryFn: () => Promise<boolean>;
291
327
  };
292
328
  /**
293
329
  * fetch creatorPoolMap
@@ -296,11 +332,11 @@ export declare function getFetchD3VaultCheckSafeQueryOptions(chainId: number | u
296
332
  * @param {number} __input2 - uint256
297
333
  * @returns {string} __output0 - address
298
334
  */
299
- export declare function fetchD3VaultCreatorPoolMap(chainId: number, __input1: string, __input2: number): any;
335
+ export declare function fetchD3VaultCreatorPoolMap(chainId: number, __input1: string, __input2: number): Promise<string>;
300
336
  export declare function getFetchD3VaultCreatorPoolMapQueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined): {
301
337
  queryKey: (string | number | undefined)[];
302
338
  enabled: boolean;
303
- queryFn: () => any;
339
+ queryFn: () => Promise<string>;
304
340
  };
305
341
  /**
306
342
  * fetch getAssetInfo
@@ -318,11 +354,35 @@ export declare function getFetchD3VaultCreatorPoolMapQueryOptions(chainId: numbe
318
354
  * @returns {bigint} withdrawnReserves - uint256
319
355
  * @returns {bigint} balance - uint256
320
356
  */
321
- export declare function fetchD3VaultGetAssetInfo(chainId: number, token: string): any;
357
+ export declare function fetchD3VaultGetAssetInfo(chainId: number, token: string): Promise<{
358
+ dToken: string;
359
+ totalBorrows: bigint;
360
+ totalReserves: bigint;
361
+ reserveFactor: bigint;
362
+ borrowIndex: bigint;
363
+ accrualTime: bigint;
364
+ maxDepositAmount: bigint;
365
+ collateralWeight: bigint;
366
+ debtWeight: bigint;
367
+ withdrawnReserves: bigint;
368
+ balance: bigint;
369
+ }>;
322
370
  export declare function getFetchD3VaultGetAssetInfoQueryOptions(chainId: number | undefined, token: string | undefined): {
323
371
  queryKey: (string | number | undefined)[];
324
372
  enabled: boolean;
325
- queryFn: () => any;
373
+ queryFn: () => Promise<{
374
+ dToken: string;
375
+ totalBorrows: bigint;
376
+ totalReserves: bigint;
377
+ reserveFactor: bigint;
378
+ borrowIndex: bigint;
379
+ accrualTime: bigint;
380
+ maxDepositAmount: bigint;
381
+ collateralWeight: bigint;
382
+ debtWeight: bigint;
383
+ withdrawnReserves: bigint;
384
+ balance: bigint;
385
+ }>;
326
386
  };
327
387
  /**
328
388
  * fetch getBalanceAndBorrows
@@ -332,11 +392,17 @@ export declare function getFetchD3VaultGetAssetInfoQueryOptions(chainId: number
332
392
  * @returns {bigint} __output0 - uint256
333
393
  * @returns {bigint} __output1 - uint256
334
394
  */
335
- export declare function fetchD3VaultGetBalanceAndBorrows(chainId: number, pool: string, token: string): any;
395
+ export declare function fetchD3VaultGetBalanceAndBorrows(chainId: number, pool: string, token: string): Promise<{
396
+ __output0: bigint;
397
+ __output1: bigint;
398
+ }>;
336
399
  export declare function getFetchD3VaultGetBalanceAndBorrowsQueryOptions(chainId: number | undefined, pool: string | undefined, token: string | undefined): {
337
400
  queryKey: (string | number | undefined)[];
338
401
  enabled: boolean;
339
- queryFn: () => any;
402
+ queryFn: () => Promise<{
403
+ __output0: bigint;
404
+ __output1: bigint;
405
+ }>;
340
406
  };
341
407
  /**
342
408
  * fetch getBorrowRate
@@ -344,11 +410,11 @@ export declare function getFetchD3VaultGetBalanceAndBorrowsQueryOptions(chainId:
344
410
  * @param {string} token - address
345
411
  * @returns {bigint} rate - uint256
346
412
  */
347
- export declare function fetchD3VaultGetBorrowRate(chainId: number, token: string): any;
413
+ export declare function fetchD3VaultGetBorrowRate(chainId: number, token: string): Promise<bigint>;
348
414
  export declare function getFetchD3VaultGetBorrowRateQueryOptions(chainId: number | undefined, token: string | undefined): {
349
415
  queryKey: (string | number | undefined)[];
350
416
  enabled: boolean;
351
- queryFn: () => any;
417
+ queryFn: () => Promise<bigint>;
352
418
  };
353
419
  /**
354
420
  * fetch getCash
@@ -356,11 +422,11 @@ export declare function getFetchD3VaultGetBorrowRateQueryOptions(chainId: number
356
422
  * @param {string} token - address
357
423
  * @returns {bigint} __output0 - uint256
358
424
  */
359
- export declare function fetchD3VaultGetCash(chainId: number, token: string): any;
425
+ export declare function fetchD3VaultGetCash(chainId: number, token: string): Promise<bigint>;
360
426
  export declare function getFetchD3VaultGetCashQueryOptions(chainId: number | undefined, token: string | undefined): {
361
427
  queryKey: (string | number | undefined)[];
362
428
  enabled: boolean;
363
- queryFn: () => any;
429
+ queryFn: () => Promise<bigint>;
364
430
  };
365
431
  /**
366
432
  * fetch getCollateralRatio
@@ -368,11 +434,11 @@ export declare function getFetchD3VaultGetCashQueryOptions(chainId: number | und
368
434
  * @param {string} pool - address
369
435
  * @returns {bigint} __output0 - uint256
370
436
  */
371
- export declare function fetchD3VaultGetCollateralRatio(chainId: number, pool: string): any;
437
+ export declare function fetchD3VaultGetCollateralRatio(chainId: number, pool: string): Promise<bigint>;
372
438
  export declare function getFetchD3VaultGetCollateralRatioQueryOptions(chainId: number | undefined, pool: string | undefined): {
373
439
  queryKey: (string | number | undefined)[];
374
440
  enabled: boolean;
375
- queryFn: () => any;
441
+ queryFn: () => Promise<bigint>;
376
442
  };
377
443
  /**
378
444
  * fetch getCollateralRatioBorrow
@@ -380,11 +446,11 @@ export declare function getFetchD3VaultGetCollateralRatioQueryOptions(chainId: n
380
446
  * @param {string} pool - address
381
447
  * @returns {bigint} __output0 - uint256
382
448
  */
383
- export declare function fetchD3VaultGetCollateralRatioBorrow(chainId: number, pool: string): any;
449
+ export declare function fetchD3VaultGetCollateralRatioBorrow(chainId: number, pool: string): Promise<bigint>;
384
450
  export declare function getFetchD3VaultGetCollateralRatioBorrowQueryOptions(chainId: number | undefined, pool: string | undefined): {
385
451
  queryKey: (string | number | undefined)[];
386
452
  enabled: boolean;
387
- queryFn: () => any;
453
+ queryFn: () => Promise<bigint>;
388
454
  };
389
455
  /**
390
456
  * fetch getCompoundInterestRate
@@ -393,11 +459,11 @@ export declare function getFetchD3VaultGetCollateralRatioBorrowQueryOptions(chai
393
459
  * @param {number} t - uint256
394
460
  * @returns {bigint} __output0 - uint256
395
461
  */
396
- export declare function fetchD3VaultGetCompoundInterestRate(chainId: number, r: number, t: number): any;
462
+ export declare function fetchD3VaultGetCompoundInterestRate(chainId: number, r: number, t: number): Promise<bigint>;
397
463
  export declare function getFetchD3VaultGetCompoundInterestRateQueryOptions(chainId: number | undefined, r: number | undefined, t: number | undefined): {
398
464
  queryKey: (string | number | undefined)[];
399
465
  enabled: boolean;
400
- queryFn: () => any;
466
+ queryFn: () => Promise<bigint>;
401
467
  };
402
468
  /**
403
469
  * fetch getCumulativeBorrowRate
@@ -407,11 +473,17 @@ export declare function getFetchD3VaultGetCompoundInterestRateQueryOptions(chain
407
473
  * @returns {bigint} cumulativeRate - uint256
408
474
  * @returns {bigint} currentAmount - uint256
409
475
  */
410
- export declare function fetchD3VaultGetCumulativeBorrowRate(chainId: number, pool: string, token: string): any;
476
+ export declare function fetchD3VaultGetCumulativeBorrowRate(chainId: number, pool: string, token: string): Promise<{
477
+ cumulativeRate: bigint;
478
+ currentAmount: bigint;
479
+ }>;
411
480
  export declare function getFetchD3VaultGetCumulativeBorrowRateQueryOptions(chainId: number | undefined, pool: string | undefined, token: string | undefined): {
412
481
  queryKey: (string | number | undefined)[];
413
482
  enabled: boolean;
414
- queryFn: () => any;
483
+ queryFn: () => Promise<{
484
+ cumulativeRate: bigint;
485
+ currentAmount: bigint;
486
+ }>;
415
487
  };
416
488
  /**
417
489
  * fetch getExchangeRate
@@ -419,11 +491,11 @@ export declare function getFetchD3VaultGetCumulativeBorrowRateQueryOptions(chain
419
491
  * @param {string} token - address
420
492
  * @returns {bigint} exchangeRate - uint256
421
493
  */
422
- export declare function fetchD3VaultGetExchangeRate(chainId: number, token: string): any;
494
+ export declare function fetchD3VaultGetExchangeRate(chainId: number, token: string): Promise<bigint>;
423
495
  export declare function getFetchD3VaultGetExchangeRateQueryOptions(chainId: number | undefined, token: string | undefined): {
424
496
  queryKey: (string | number | undefined)[];
425
497
  enabled: boolean;
426
- queryFn: () => any;
498
+ queryFn: () => Promise<bigint>;
427
499
  };
428
500
  /**
429
501
  * fetch getIMMM
@@ -431,11 +503,17 @@ export declare function getFetchD3VaultGetExchangeRateQueryOptions(chainId: numb
431
503
  * @returns {bigint} __output0 - uint256
432
504
  * @returns {bigint} __output1 - uint256
433
505
  */
434
- export declare function fetchD3VaultGetIMMM(chainId: number): any;
506
+ export declare function fetchD3VaultGetIMMM(chainId: number): Promise<{
507
+ __output0: bigint;
508
+ __output1: bigint;
509
+ }>;
435
510
  export declare function getFetchD3VaultGetIMMMQueryOptions(chainId: number | undefined): {
436
511
  queryKey: (string | number | undefined)[];
437
512
  enabled: boolean;
438
- queryFn: () => any;
513
+ queryFn: () => Promise<{
514
+ __output0: bigint;
515
+ __output1: bigint;
516
+ }>;
439
517
  };
440
518
  /**
441
519
  * fetch getLatestBorrowIndex
@@ -443,11 +521,11 @@ export declare function getFetchD3VaultGetIMMMQueryOptions(chainId: number | und
443
521
  * @param {string} token - address
444
522
  * @returns {bigint} borrowIndex - uint256
445
523
  */
446
- export declare function fetchD3VaultGetLatestBorrowIndex(chainId: number, token: string): any;
524
+ export declare function fetchD3VaultGetLatestBorrowIndex(chainId: number, token: string): Promise<bigint>;
447
525
  export declare function getFetchD3VaultGetLatestBorrowIndexQueryOptions(chainId: number | undefined, token: string | undefined): {
448
526
  queryKey: (string | number | undefined)[];
449
527
  enabled: boolean;
450
- queryFn: () => any;
528
+ queryFn: () => Promise<bigint>;
451
529
  };
452
530
  /**
453
531
  * fetch getPoolBorrowAmount
@@ -456,11 +534,11 @@ export declare function getFetchD3VaultGetLatestBorrowIndexQueryOptions(chainId:
456
534
  * @param {string} token - address
457
535
  * @returns {bigint} amount - uint256
458
536
  */
459
- export declare function fetchD3VaultGetPoolBorrowAmount(chainId: number, pool: string, token: string): any;
537
+ export declare function fetchD3VaultGetPoolBorrowAmount(chainId: number, pool: string, token: string): Promise<bigint>;
460
538
  export declare function getFetchD3VaultGetPoolBorrowAmountQueryOptions(chainId: number | undefined, pool: string | undefined, token: string | undefined): {
461
539
  queryKey: (string | number | undefined)[];
462
540
  enabled: boolean;
463
- queryFn: () => any;
541
+ queryFn: () => Promise<bigint>;
464
542
  };
465
543
  /**
466
544
  * fetch getPoolLeftQuota
@@ -469,11 +547,11 @@ export declare function getFetchD3VaultGetPoolBorrowAmountQueryOptions(chainId:
469
547
  * @param {string} token - address
470
548
  * @returns {bigint} leftQuota - uint256
471
549
  */
472
- export declare function fetchD3VaultGetPoolLeftQuota(chainId: number, pool: string, token: string): any;
550
+ export declare function fetchD3VaultGetPoolLeftQuota(chainId: number, pool: string, token: string): Promise<bigint>;
473
551
  export declare function getFetchD3VaultGetPoolLeftQuotaQueryOptions(chainId: number | undefined, pool: string | undefined, token: string | undefined): {
474
552
  queryKey: (string | number | undefined)[];
475
553
  enabled: boolean;
476
- queryFn: () => any;
554
+ queryFn: () => Promise<bigint>;
477
555
  };
478
556
  /**
479
557
  * fetch getReservesInVault
@@ -481,22 +559,22 @@ export declare function getFetchD3VaultGetPoolLeftQuotaQueryOptions(chainId: num
481
559
  * @param {string} token - address
482
560
  * @returns {bigint} __output0 - uint256
483
561
  */
484
- export declare function fetchD3VaultGetReservesInVault(chainId: number, token: string): any;
562
+ export declare function fetchD3VaultGetReservesInVault(chainId: number, token: string): Promise<bigint>;
485
563
  export declare function getFetchD3VaultGetReservesInVaultQueryOptions(chainId: number | undefined, token: string | undefined): {
486
564
  queryKey: (string | number | undefined)[];
487
565
  enabled: boolean;
488
- queryFn: () => any;
566
+ queryFn: () => Promise<bigint>;
489
567
  };
490
568
  /**
491
569
  * fetch getTokenList
492
570
  * @param {number} chainId - number
493
571
  * @returns {Array<string>} __output0 - address[]
494
572
  */
495
- export declare function fetchD3VaultGetTokenList(chainId: number): any;
573
+ export declare function fetchD3VaultGetTokenList(chainId: number): Promise<Array<string>>;
496
574
  export declare function getFetchD3VaultGetTokenListQueryOptions(chainId: number | undefined): {
497
575
  queryKey: (string | number | undefined)[];
498
576
  enabled: boolean;
499
- queryFn: () => any;
577
+ queryFn: () => Promise<string[]>;
500
578
  };
501
579
  /**
502
580
  * fetch getTotalAssetsValue
@@ -504,11 +582,11 @@ export declare function getFetchD3VaultGetTokenListQueryOptions(chainId: number
504
582
  * @param {string} pool - address
505
583
  * @returns {bigint} totalValue - uint256
506
584
  */
507
- export declare function fetchD3VaultGetTotalAssetsValue(chainId: number, pool: string): any;
585
+ export declare function fetchD3VaultGetTotalAssetsValue(chainId: number, pool: string): Promise<bigint>;
508
586
  export declare function getFetchD3VaultGetTotalAssetsValueQueryOptions(chainId: number | undefined, pool: string | undefined): {
509
587
  queryKey: (string | number | undefined)[];
510
588
  enabled: boolean;
511
- queryFn: () => any;
589
+ queryFn: () => Promise<bigint>;
512
590
  };
513
591
  /**
514
592
  * fetch getTotalBorrows
@@ -516,11 +594,11 @@ export declare function getFetchD3VaultGetTotalAssetsValueQueryOptions(chainId:
516
594
  * @param {string} token - address
517
595
  * @returns {bigint} __output0 - uint256
518
596
  */
519
- export declare function fetchD3VaultGetTotalBorrows(chainId: number, token: string): any;
597
+ export declare function fetchD3VaultGetTotalBorrows(chainId: number, token: string): Promise<bigint>;
520
598
  export declare function getFetchD3VaultGetTotalBorrowsQueryOptions(chainId: number | undefined, token: string | undefined): {
521
599
  queryKey: (string | number | undefined)[];
522
600
  enabled: boolean;
523
- queryFn: () => any;
601
+ queryFn: () => Promise<bigint>;
524
602
  };
525
603
  /**
526
604
  * fetch getTotalDebtValue
@@ -528,11 +606,11 @@ export declare function getFetchD3VaultGetTotalBorrowsQueryOptions(chainId: numb
528
606
  * @param {string} pool - address
529
607
  * @returns {bigint} totalDebt - uint256
530
608
  */
531
- export declare function fetchD3VaultGetTotalDebtValue(chainId: number, pool: string): any;
609
+ export declare function fetchD3VaultGetTotalDebtValue(chainId: number, pool: string): Promise<bigint>;
532
610
  export declare function getFetchD3VaultGetTotalDebtValueQueryOptions(chainId: number | undefined, pool: string | undefined): {
533
611
  queryKey: (string | number | undefined)[];
534
612
  enabled: boolean;
535
- queryFn: () => any;
613
+ queryFn: () => Promise<bigint>;
536
614
  };
537
615
  /**
538
616
  * fetch getUtilizationRatio
@@ -540,11 +618,11 @@ export declare function getFetchD3VaultGetTotalDebtValueQueryOptions(chainId: nu
540
618
  * @param {string} token - address
541
619
  * @returns {bigint} __output0 - uint256
542
620
  */
543
- export declare function fetchD3VaultGetUtilizationRatio(chainId: number, token: string): any;
621
+ export declare function fetchD3VaultGetUtilizationRatio(chainId: number, token: string): Promise<bigint>;
544
622
  export declare function getFetchD3VaultGetUtilizationRatioQueryOptions(chainId: number | undefined, token: string | undefined): {
545
623
  queryKey: (string | number | undefined)[];
546
624
  enabled: boolean;
547
- queryFn: () => any;
625
+ queryFn: () => Promise<bigint>;
548
626
  };
549
627
  /**
550
628
  * fetch liquidationTarget
@@ -553,22 +631,22 @@ export declare function getFetchD3VaultGetUtilizationRatioQueryOptions(chainId:
553
631
  * @param {string} __input2 - address
554
632
  * @returns {bigint} __output0 - uint256
555
633
  */
556
- export declare function fetchD3VaultLiquidationTarget(chainId: number, __input1: string, __input2: string): any;
634
+ export declare function fetchD3VaultLiquidationTarget(chainId: number, __input1: string, __input2: string): Promise<bigint>;
557
635
  export declare function getFetchD3VaultLiquidationTargetQueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: string | undefined): {
558
636
  queryKey: (string | number | undefined)[];
559
637
  enabled: boolean;
560
- queryFn: () => any;
638
+ queryFn: () => Promise<bigint>;
561
639
  };
562
640
  /**
563
641
  * fetch owner
564
642
  * @param {number} chainId - number
565
643
  * @returns {string} __output0 - address
566
644
  */
567
- export declare function fetchD3VaultOwner(chainId: number): any;
645
+ export declare function fetchD3VaultOwner(chainId: number): Promise<string>;
568
646
  export declare function getFetchD3VaultOwnerQueryOptions(chainId: number | undefined): {
569
647
  queryKey: (string | number | undefined)[];
570
648
  enabled: boolean;
571
- queryFn: () => any;
649
+ queryFn: () => Promise<string>;
572
650
  };
573
651
  /**
574
652
  * fetch tokenList
@@ -576,11 +654,11 @@ export declare function getFetchD3VaultOwnerQueryOptions(chainId: number | undef
576
654
  * @param {number} __input1 - uint256
577
655
  * @returns {string} __output0 - address
578
656
  */
579
- export declare function fetchD3VaultTokenList(chainId: number, __input1: number): any;
657
+ export declare function fetchD3VaultTokenList(chainId: number, __input1: number): Promise<string>;
580
658
  export declare function getFetchD3VaultTokenListQueryOptions(chainId: number | undefined, __input1: number | undefined): {
581
659
  queryKey: (string | number | undefined)[];
582
660
  enabled: boolean;
583
- queryFn: () => any;
661
+ queryFn: () => Promise<string>;
584
662
  };
585
663
  /**
586
664
  * fetch tokens
@@ -588,11 +666,11 @@ export declare function getFetchD3VaultTokenListQueryOptions(chainId: number | u
588
666
  * @param {string} __input1 - address
589
667
  * @returns {boolean} __output0 - bool
590
668
  */
591
- export declare function fetchD3VaultTokens(chainId: number, __input1: string): any;
669
+ export declare function fetchD3VaultTokens(chainId: number, __input1: string): Promise<boolean>;
592
670
  export declare function getFetchD3VaultTokensQueryOptions(chainId: number | undefined, __input1: string | undefined): {
593
671
  queryKey: (string | number | undefined)[];
594
672
  enabled: boolean;
595
- queryFn: () => any;
673
+ queryFn: () => Promise<boolean>;
596
674
  };
597
675
  /**
598
676
  * encode accrueInterest