@gearbox-protocol/sdk 14.12.0-next.74 → 14.12.0-next.76
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/cjs/plugins/accounts-counter/AccountsCounterPlugin.js +1 -1
- package/dist/cjs/sdk/accounts/CreditAccountsServiceV310.js +85 -584
- package/dist/cjs/sdk/accounts/bots/AccountBotsService.js +132 -0
- package/dist/cjs/sdk/accounts/bots/PeripheryCompressorV310Contract.js +31 -0
- package/dist/cjs/sdk/accounts/bots/abi.js +19 -0
- package/dist/cjs/sdk/accounts/bots/index.js +6 -0
- package/dist/cjs/sdk/accounts/bots/types.js +1 -0
- package/dist/cjs/sdk/accounts/credit-account-compressor/CreditAccountCompressor.js +280 -0
- package/dist/cjs/sdk/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.js +141 -0
- package/dist/cjs/sdk/accounts/credit-account-compressor/index.js +6 -0
- package/dist/cjs/sdk/accounts/credit-account-compressor/types.js +1 -0
- package/dist/cjs/sdk/accounts/index.js +10 -0
- package/dist/cjs/sdk/index.js +8 -0
- package/dist/cjs/sdk/market/ZapperRegister.js +1 -1
- package/dist/cjs/sdk/market/credit/CreditSuite.js +31 -0
- package/dist/cjs/sdk/market/oracle/PriceOracleBaseContract.js +41 -1
- package/dist/cjs/sdk/market/oracle/PriceOracleV310Contract.js +0 -23
- package/dist/cjs/sdk/market/pricefeeds/PriceFeedsRegister.js +1 -1
- package/dist/esm/plugins/accounts-counter/AccountsCounterPlugin.js +1 -1
- package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +87 -586
- package/dist/esm/sdk/accounts/bots/AccountBotsService.js +131 -0
- package/dist/esm/sdk/accounts/bots/PeripheryCompressorV310Contract.js +31 -0
- package/dist/esm/sdk/accounts/bots/abi.js +18 -0
- package/dist/esm/sdk/accounts/bots/index.js +4 -0
- package/dist/esm/sdk/accounts/bots/types.js +1 -0
- package/dist/esm/sdk/accounts/credit-account-compressor/CreditAccountCompressor.js +279 -0
- package/dist/esm/sdk/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.js +141 -0
- package/dist/esm/sdk/accounts/credit-account-compressor/index.js +4 -0
- package/dist/esm/sdk/accounts/credit-account-compressor/types.js +1 -0
- package/dist/esm/sdk/accounts/index.js +7 -1
- package/dist/esm/sdk/index.js +5 -1
- package/dist/esm/sdk/market/ZapperRegister.js +1 -1
- package/dist/esm/sdk/market/credit/CreditSuite.js +31 -0
- package/dist/esm/sdk/market/oracle/PriceOracleBaseContract.js +41 -1
- package/dist/esm/sdk/market/oracle/PriceOracleV310Contract.js +0 -23
- package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +1 -1
- package/dist/types/new-sdk/AbstractNamespace.d.ts +2 -2
- package/dist/types/new-sdk/opportunities/OpportunitiesNamespace.d.ts +1 -1
- package/dist/types/new-sdk/positions/PositionsNamespace.d.ts +1 -1
- package/dist/types/plugins/accounts/AccountsPlugin.d.ts +1 -1
- package/dist/types/sdk/accounts/CreditAccountsServiceV310.d.ts +17 -58
- package/dist/types/sdk/accounts/bots/AccountBotsService.d.ts +38 -0
- package/dist/types/sdk/accounts/bots/PeripheryCompressorV310Contract.d.ts +236 -0
- package/dist/types/sdk/accounts/bots/abi.d.ts +18 -0
- package/dist/types/sdk/accounts/bots/index.d.ts +4 -0
- package/dist/types/sdk/accounts/bots/types.d.ts +143 -0
- package/dist/types/sdk/accounts/credit-account-compressor/CreditAccountCompressor.d.ts +60 -0
- package/dist/types/sdk/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.d.ts +879 -0
- package/dist/types/sdk/accounts/credit-account-compressor/index.d.ts +4 -0
- package/dist/types/sdk/accounts/credit-account-compressor/types.d.ts +164 -0
- package/dist/types/sdk/accounts/index.d.ts +11 -3
- package/dist/types/sdk/accounts/liquidations/MultichainLiquidationsService.d.ts +2 -2
- package/dist/types/sdk/accounts/liquidations/types.d.ts +1 -1
- package/dist/types/sdk/accounts/types.d.ts +13 -194
- package/dist/types/sdk/base/TokensMeta.d.ts +1 -1
- package/dist/types/sdk/base/index.d.ts +2 -2
- package/dist/types/sdk/base/types.d.ts +6 -1
- package/dist/types/sdk/index.d.ts +11 -5
- package/dist/types/sdk/market/MarketConfiguratorContract.d.ts +1 -1
- package/dist/types/sdk/market/MarketSuite.d.ts +1 -1
- package/dist/types/sdk/market/credit/CreditManagerV310Contract.d.ts +1 -1
- package/dist/types/sdk/market/credit/CreditSuite.d.ts +26 -1
- package/dist/types/sdk/market/credit/types.d.ts +1 -1
- package/dist/types/sdk/market/index.d.ts +2 -2
- package/dist/types/sdk/market/oracle/PriceOracleBaseContract.d.ts +16 -5
- package/dist/types/sdk/market/oracle/PriceOracleV310Contract.d.ts +0 -11
- package/dist/types/sdk/market/oracle/index.d.ts +2 -2
- package/dist/types/sdk/market/oracle/types.d.ts +31 -15
- package/dist/types/sdk/market/pool/LinearInterestRateModelContract.d.ts +1 -1
- package/dist/types/sdk/market/pool/PoolQuotaKeeperV310Contract.d.ts +1 -1
- package/dist/types/sdk/market/pool/PoolSuite.d.ts +1 -1
- package/dist/types/sdk/market/pool/PoolV310Contract.d.ts +1 -1
- package/dist/types/sdk/market/pool/types.d.ts +1 -1
- package/dist/types/sdk/market/pricefeeds/AbstractPriceFeed.d.ts +1 -1
- package/dist/types/sdk/market/pricefeeds/types.d.ts +1 -1
- package/dist/types/sdk/opportunities/MultichainOpportunitiesService.d.ts +2 -2
- package/dist/types/sdk/pools/types.d.ts +1 -1
- package/dist/types/sdk/positions/MultichainPositionsService.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/sdk/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.d.ts
ADDED
|
@@ -0,0 +1,879 @@
|
|
|
1
|
+
import { CreditAccountData } from "../../base/types.js";
|
|
2
|
+
import { CreditAccountDataCall, CreditAccountsCall, CreditAccountsQuery, CreditAccountsReadOptions, CreditAccountsTarget, GetCreditAccountsArgs } from "./types.js";
|
|
3
|
+
import { OnchainSDK } from "../../OnchainSDK.js";
|
|
4
|
+
import { BaseContract } from "../../base/BaseContract.js";
|
|
5
|
+
import "../../base/index.js";
|
|
6
|
+
import { Address } from "viem";
|
|
7
|
+
//#region src/sdk/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.d.ts
|
|
8
|
+
declare const abi: readonly [{
|
|
9
|
+
readonly type: "constructor";
|
|
10
|
+
readonly inputs: readonly [{
|
|
11
|
+
readonly name: "addressProvider_";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
}, {
|
|
17
|
+
readonly type: "function";
|
|
18
|
+
readonly name: "addressProvider";
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly outputs: readonly [{
|
|
21
|
+
readonly name: "";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
readonly internalType: "address";
|
|
24
|
+
}];
|
|
25
|
+
readonly stateMutability: "view";
|
|
26
|
+
}, {
|
|
27
|
+
readonly type: "function";
|
|
28
|
+
readonly name: "contractType";
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly outputs: readonly [{
|
|
31
|
+
readonly name: "";
|
|
32
|
+
readonly type: "bytes32";
|
|
33
|
+
readonly internalType: "bytes32";
|
|
34
|
+
}];
|
|
35
|
+
readonly stateMutability: "view";
|
|
36
|
+
}, {
|
|
37
|
+
readonly type: "function";
|
|
38
|
+
readonly name: "countCreditAccounts";
|
|
39
|
+
readonly inputs: readonly [{
|
|
40
|
+
readonly name: "creditManager";
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
readonly internalType: "address";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "caFilter";
|
|
45
|
+
readonly type: "tuple";
|
|
46
|
+
readonly internalType: "struct CreditAccountFilter";
|
|
47
|
+
readonly components: readonly [{
|
|
48
|
+
readonly name: "owner";
|
|
49
|
+
readonly type: "address";
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "includeZeroDebt";
|
|
53
|
+
readonly type: "bool";
|
|
54
|
+
readonly internalType: "bool";
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "minHealthFactor";
|
|
57
|
+
readonly type: "uint256";
|
|
58
|
+
readonly internalType: "uint256";
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "maxHealthFactor";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
}, {
|
|
64
|
+
readonly name: "reverting";
|
|
65
|
+
readonly type: "bool";
|
|
66
|
+
readonly internalType: "bool";
|
|
67
|
+
}];
|
|
68
|
+
}];
|
|
69
|
+
readonly outputs: readonly [{
|
|
70
|
+
readonly name: "";
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
readonly internalType: "uint256";
|
|
73
|
+
}];
|
|
74
|
+
readonly stateMutability: "view";
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "countCreditAccounts";
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly name: "cmFilter";
|
|
80
|
+
readonly type: "tuple";
|
|
81
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
82
|
+
readonly components: readonly [{
|
|
83
|
+
readonly name: "configurators";
|
|
84
|
+
readonly type: "address[]";
|
|
85
|
+
readonly internalType: "address[]";
|
|
86
|
+
}, {
|
|
87
|
+
readonly name: "creditManagers";
|
|
88
|
+
readonly type: "address[]";
|
|
89
|
+
readonly internalType: "address[]";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "pools";
|
|
92
|
+
readonly type: "address[]";
|
|
93
|
+
readonly internalType: "address[]";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "underlying";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
readonly internalType: "address";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "caFilter";
|
|
101
|
+
readonly type: "tuple";
|
|
102
|
+
readonly internalType: "struct CreditAccountFilter";
|
|
103
|
+
readonly components: readonly [{
|
|
104
|
+
readonly name: "owner";
|
|
105
|
+
readonly type: "address";
|
|
106
|
+
readonly internalType: "address";
|
|
107
|
+
}, {
|
|
108
|
+
readonly name: "includeZeroDebt";
|
|
109
|
+
readonly type: "bool";
|
|
110
|
+
readonly internalType: "bool";
|
|
111
|
+
}, {
|
|
112
|
+
readonly name: "minHealthFactor";
|
|
113
|
+
readonly type: "uint256";
|
|
114
|
+
readonly internalType: "uint256";
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "maxHealthFactor";
|
|
117
|
+
readonly type: "uint256";
|
|
118
|
+
readonly internalType: "uint256";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "reverting";
|
|
121
|
+
readonly type: "bool";
|
|
122
|
+
readonly internalType: "bool";
|
|
123
|
+
}];
|
|
124
|
+
}];
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}];
|
|
130
|
+
readonly stateMutability: "view";
|
|
131
|
+
}, {
|
|
132
|
+
readonly type: "function";
|
|
133
|
+
readonly name: "getCreditAccountData";
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly name: "creditAccount";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
}];
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly name: "";
|
|
141
|
+
readonly type: "tuple";
|
|
142
|
+
readonly internalType: "struct CreditAccountData";
|
|
143
|
+
readonly components: readonly [{
|
|
144
|
+
readonly name: "creditAccount";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "creditManager";
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "creditFacade";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
readonly internalType: "address";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "underlying";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
readonly internalType: "address";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "owner";
|
|
161
|
+
readonly type: "address";
|
|
162
|
+
readonly internalType: "address";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "expirationDate";
|
|
165
|
+
readonly type: "uint40";
|
|
166
|
+
readonly internalType: "uint40";
|
|
167
|
+
}, {
|
|
168
|
+
readonly name: "enabledTokensMask";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
readonly internalType: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "debt";
|
|
173
|
+
readonly type: "uint256";
|
|
174
|
+
readonly internalType: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "accruedInterest";
|
|
177
|
+
readonly type: "uint256";
|
|
178
|
+
readonly internalType: "uint256";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "accruedFees";
|
|
181
|
+
readonly type: "uint256";
|
|
182
|
+
readonly internalType: "uint256";
|
|
183
|
+
}, {
|
|
184
|
+
readonly name: "totalDebtUSD";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
readonly internalType: "uint256";
|
|
187
|
+
}, {
|
|
188
|
+
readonly name: "totalValueUSD";
|
|
189
|
+
readonly type: "uint256";
|
|
190
|
+
readonly internalType: "uint256";
|
|
191
|
+
}, {
|
|
192
|
+
readonly name: "twvUSD";
|
|
193
|
+
readonly type: "uint256";
|
|
194
|
+
readonly internalType: "uint256";
|
|
195
|
+
}, {
|
|
196
|
+
readonly name: "totalValue";
|
|
197
|
+
readonly type: "uint256";
|
|
198
|
+
readonly internalType: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly name: "healthFactor";
|
|
201
|
+
readonly type: "uint256";
|
|
202
|
+
readonly internalType: "uint256";
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "success";
|
|
205
|
+
readonly type: "bool";
|
|
206
|
+
readonly internalType: "bool";
|
|
207
|
+
}, {
|
|
208
|
+
readonly name: "tokens";
|
|
209
|
+
readonly type: "tuple[]";
|
|
210
|
+
readonly internalType: "struct TokenInfo[]";
|
|
211
|
+
readonly components: readonly [{
|
|
212
|
+
readonly name: "token";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
readonly internalType: "address";
|
|
215
|
+
}, {
|
|
216
|
+
readonly name: "mask";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
readonly internalType: "uint256";
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "balance";
|
|
221
|
+
readonly type: "uint256";
|
|
222
|
+
readonly internalType: "uint256";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "quota";
|
|
225
|
+
readonly type: "uint256";
|
|
226
|
+
readonly internalType: "uint256";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "success";
|
|
229
|
+
readonly type: "bool";
|
|
230
|
+
readonly internalType: "bool";
|
|
231
|
+
}];
|
|
232
|
+
}];
|
|
233
|
+
}];
|
|
234
|
+
readonly stateMutability: "view";
|
|
235
|
+
}, {
|
|
236
|
+
readonly type: "function";
|
|
237
|
+
readonly name: "getCreditAccounts";
|
|
238
|
+
readonly inputs: readonly [{
|
|
239
|
+
readonly name: "cmFilter";
|
|
240
|
+
readonly type: "tuple";
|
|
241
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
242
|
+
readonly components: readonly [{
|
|
243
|
+
readonly name: "configurators";
|
|
244
|
+
readonly type: "address[]";
|
|
245
|
+
readonly internalType: "address[]";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "creditManagers";
|
|
248
|
+
readonly type: "address[]";
|
|
249
|
+
readonly internalType: "address[]";
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "pools";
|
|
252
|
+
readonly type: "address[]";
|
|
253
|
+
readonly internalType: "address[]";
|
|
254
|
+
}, {
|
|
255
|
+
readonly name: "underlying";
|
|
256
|
+
readonly type: "address";
|
|
257
|
+
readonly internalType: "address";
|
|
258
|
+
}];
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "caFilter";
|
|
261
|
+
readonly type: "tuple";
|
|
262
|
+
readonly internalType: "struct CreditAccountFilter";
|
|
263
|
+
readonly components: readonly [{
|
|
264
|
+
readonly name: "owner";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "includeZeroDebt";
|
|
269
|
+
readonly type: "bool";
|
|
270
|
+
readonly internalType: "bool";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "minHealthFactor";
|
|
273
|
+
readonly type: "uint256";
|
|
274
|
+
readonly internalType: "uint256";
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "maxHealthFactor";
|
|
277
|
+
readonly type: "uint256";
|
|
278
|
+
readonly internalType: "uint256";
|
|
279
|
+
}, {
|
|
280
|
+
readonly name: "reverting";
|
|
281
|
+
readonly type: "bool";
|
|
282
|
+
readonly internalType: "bool";
|
|
283
|
+
}];
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "offset";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
}, {
|
|
289
|
+
readonly name: "limit";
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
readonly internalType: "uint256";
|
|
292
|
+
}];
|
|
293
|
+
readonly outputs: readonly [{
|
|
294
|
+
readonly name: "data";
|
|
295
|
+
readonly type: "tuple[]";
|
|
296
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
297
|
+
readonly components: readonly [{
|
|
298
|
+
readonly name: "creditAccount";
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
readonly internalType: "address";
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "creditManager";
|
|
303
|
+
readonly type: "address";
|
|
304
|
+
readonly internalType: "address";
|
|
305
|
+
}, {
|
|
306
|
+
readonly name: "creditFacade";
|
|
307
|
+
readonly type: "address";
|
|
308
|
+
readonly internalType: "address";
|
|
309
|
+
}, {
|
|
310
|
+
readonly name: "underlying";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "owner";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
readonly internalType: "address";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "expirationDate";
|
|
319
|
+
readonly type: "uint40";
|
|
320
|
+
readonly internalType: "uint40";
|
|
321
|
+
}, {
|
|
322
|
+
readonly name: "enabledTokensMask";
|
|
323
|
+
readonly type: "uint256";
|
|
324
|
+
readonly internalType: "uint256";
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "debt";
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
readonly internalType: "uint256";
|
|
329
|
+
}, {
|
|
330
|
+
readonly name: "accruedInterest";
|
|
331
|
+
readonly type: "uint256";
|
|
332
|
+
readonly internalType: "uint256";
|
|
333
|
+
}, {
|
|
334
|
+
readonly name: "accruedFees";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
readonly internalType: "uint256";
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "totalDebtUSD";
|
|
339
|
+
readonly type: "uint256";
|
|
340
|
+
readonly internalType: "uint256";
|
|
341
|
+
}, {
|
|
342
|
+
readonly name: "totalValueUSD";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
readonly internalType: "uint256";
|
|
345
|
+
}, {
|
|
346
|
+
readonly name: "twvUSD";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly name: "totalValue";
|
|
351
|
+
readonly type: "uint256";
|
|
352
|
+
readonly internalType: "uint256";
|
|
353
|
+
}, {
|
|
354
|
+
readonly name: "healthFactor";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
readonly internalType: "uint256";
|
|
357
|
+
}, {
|
|
358
|
+
readonly name: "success";
|
|
359
|
+
readonly type: "bool";
|
|
360
|
+
readonly internalType: "bool";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "tokens";
|
|
363
|
+
readonly type: "tuple[]";
|
|
364
|
+
readonly internalType: "struct TokenInfo[]";
|
|
365
|
+
readonly components: readonly [{
|
|
366
|
+
readonly name: "token";
|
|
367
|
+
readonly type: "address";
|
|
368
|
+
readonly internalType: "address";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "mask";
|
|
371
|
+
readonly type: "uint256";
|
|
372
|
+
readonly internalType: "uint256";
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: "balance";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
readonly internalType: "uint256";
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "quota";
|
|
379
|
+
readonly type: "uint256";
|
|
380
|
+
readonly internalType: "uint256";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "success";
|
|
383
|
+
readonly type: "bool";
|
|
384
|
+
readonly internalType: "bool";
|
|
385
|
+
}];
|
|
386
|
+
}];
|
|
387
|
+
}, {
|
|
388
|
+
readonly name: "nextOffset";
|
|
389
|
+
readonly type: "uint256";
|
|
390
|
+
readonly internalType: "uint256";
|
|
391
|
+
}];
|
|
392
|
+
readonly stateMutability: "view";
|
|
393
|
+
}, {
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
readonly name: "getCreditAccounts";
|
|
396
|
+
readonly inputs: readonly [{
|
|
397
|
+
readonly name: "creditManager";
|
|
398
|
+
readonly type: "address";
|
|
399
|
+
readonly internalType: "address";
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "caFilter";
|
|
402
|
+
readonly type: "tuple";
|
|
403
|
+
readonly internalType: "struct CreditAccountFilter";
|
|
404
|
+
readonly components: readonly [{
|
|
405
|
+
readonly name: "owner";
|
|
406
|
+
readonly type: "address";
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
}, {
|
|
409
|
+
readonly name: "includeZeroDebt";
|
|
410
|
+
readonly type: "bool";
|
|
411
|
+
readonly internalType: "bool";
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "minHealthFactor";
|
|
414
|
+
readonly type: "uint256";
|
|
415
|
+
readonly internalType: "uint256";
|
|
416
|
+
}, {
|
|
417
|
+
readonly name: "maxHealthFactor";
|
|
418
|
+
readonly type: "uint256";
|
|
419
|
+
readonly internalType: "uint256";
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "reverting";
|
|
422
|
+
readonly type: "bool";
|
|
423
|
+
readonly internalType: "bool";
|
|
424
|
+
}];
|
|
425
|
+
}, {
|
|
426
|
+
readonly name: "offset";
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
readonly internalType: "uint256";
|
|
429
|
+
}];
|
|
430
|
+
readonly outputs: readonly [{
|
|
431
|
+
readonly name: "data";
|
|
432
|
+
readonly type: "tuple[]";
|
|
433
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
434
|
+
readonly components: readonly [{
|
|
435
|
+
readonly name: "creditAccount";
|
|
436
|
+
readonly type: "address";
|
|
437
|
+
readonly internalType: "address";
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: "creditManager";
|
|
440
|
+
readonly type: "address";
|
|
441
|
+
readonly internalType: "address";
|
|
442
|
+
}, {
|
|
443
|
+
readonly name: "creditFacade";
|
|
444
|
+
readonly type: "address";
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
}, {
|
|
447
|
+
readonly name: "underlying";
|
|
448
|
+
readonly type: "address";
|
|
449
|
+
readonly internalType: "address";
|
|
450
|
+
}, {
|
|
451
|
+
readonly name: "owner";
|
|
452
|
+
readonly type: "address";
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
}, {
|
|
455
|
+
readonly name: "expirationDate";
|
|
456
|
+
readonly type: "uint40";
|
|
457
|
+
readonly internalType: "uint40";
|
|
458
|
+
}, {
|
|
459
|
+
readonly name: "enabledTokensMask";
|
|
460
|
+
readonly type: "uint256";
|
|
461
|
+
readonly internalType: "uint256";
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "debt";
|
|
464
|
+
readonly type: "uint256";
|
|
465
|
+
readonly internalType: "uint256";
|
|
466
|
+
}, {
|
|
467
|
+
readonly name: "accruedInterest";
|
|
468
|
+
readonly type: "uint256";
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
}, {
|
|
471
|
+
readonly name: "accruedFees";
|
|
472
|
+
readonly type: "uint256";
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
}, {
|
|
475
|
+
readonly name: "totalDebtUSD";
|
|
476
|
+
readonly type: "uint256";
|
|
477
|
+
readonly internalType: "uint256";
|
|
478
|
+
}, {
|
|
479
|
+
readonly name: "totalValueUSD";
|
|
480
|
+
readonly type: "uint256";
|
|
481
|
+
readonly internalType: "uint256";
|
|
482
|
+
}, {
|
|
483
|
+
readonly name: "twvUSD";
|
|
484
|
+
readonly type: "uint256";
|
|
485
|
+
readonly internalType: "uint256";
|
|
486
|
+
}, {
|
|
487
|
+
readonly name: "totalValue";
|
|
488
|
+
readonly type: "uint256";
|
|
489
|
+
readonly internalType: "uint256";
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "healthFactor";
|
|
492
|
+
readonly type: "uint256";
|
|
493
|
+
readonly internalType: "uint256";
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "success";
|
|
496
|
+
readonly type: "bool";
|
|
497
|
+
readonly internalType: "bool";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "tokens";
|
|
500
|
+
readonly type: "tuple[]";
|
|
501
|
+
readonly internalType: "struct TokenInfo[]";
|
|
502
|
+
readonly components: readonly [{
|
|
503
|
+
readonly name: "token";
|
|
504
|
+
readonly type: "address";
|
|
505
|
+
readonly internalType: "address";
|
|
506
|
+
}, {
|
|
507
|
+
readonly name: "mask";
|
|
508
|
+
readonly type: "uint256";
|
|
509
|
+
readonly internalType: "uint256";
|
|
510
|
+
}, {
|
|
511
|
+
readonly name: "balance";
|
|
512
|
+
readonly type: "uint256";
|
|
513
|
+
readonly internalType: "uint256";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "quota";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
readonly internalType: "uint256";
|
|
518
|
+
}, {
|
|
519
|
+
readonly name: "success";
|
|
520
|
+
readonly type: "bool";
|
|
521
|
+
readonly internalType: "bool";
|
|
522
|
+
}];
|
|
523
|
+
}];
|
|
524
|
+
}, {
|
|
525
|
+
readonly name: "nextOffset";
|
|
526
|
+
readonly type: "uint256";
|
|
527
|
+
readonly internalType: "uint256";
|
|
528
|
+
}];
|
|
529
|
+
readonly stateMutability: "view";
|
|
530
|
+
}, {
|
|
531
|
+
readonly type: "function";
|
|
532
|
+
readonly name: "getCreditAccounts";
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly name: "creditManager";
|
|
535
|
+
readonly type: "address";
|
|
536
|
+
readonly internalType: "address";
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "caFilter";
|
|
539
|
+
readonly type: "tuple";
|
|
540
|
+
readonly internalType: "struct CreditAccountFilter";
|
|
541
|
+
readonly components: readonly [{
|
|
542
|
+
readonly name: "owner";
|
|
543
|
+
readonly type: "address";
|
|
544
|
+
readonly internalType: "address";
|
|
545
|
+
}, {
|
|
546
|
+
readonly name: "includeZeroDebt";
|
|
547
|
+
readonly type: "bool";
|
|
548
|
+
readonly internalType: "bool";
|
|
549
|
+
}, {
|
|
550
|
+
readonly name: "minHealthFactor";
|
|
551
|
+
readonly type: "uint256";
|
|
552
|
+
readonly internalType: "uint256";
|
|
553
|
+
}, {
|
|
554
|
+
readonly name: "maxHealthFactor";
|
|
555
|
+
readonly type: "uint256";
|
|
556
|
+
readonly internalType: "uint256";
|
|
557
|
+
}, {
|
|
558
|
+
readonly name: "reverting";
|
|
559
|
+
readonly type: "bool";
|
|
560
|
+
readonly internalType: "bool";
|
|
561
|
+
}];
|
|
562
|
+
}, {
|
|
563
|
+
readonly name: "offset";
|
|
564
|
+
readonly type: "uint256";
|
|
565
|
+
readonly internalType: "uint256";
|
|
566
|
+
}, {
|
|
567
|
+
readonly name: "limit";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
readonly internalType: "uint256";
|
|
570
|
+
}];
|
|
571
|
+
readonly outputs: readonly [{
|
|
572
|
+
readonly name: "data";
|
|
573
|
+
readonly type: "tuple[]";
|
|
574
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
575
|
+
readonly components: readonly [{
|
|
576
|
+
readonly name: "creditAccount";
|
|
577
|
+
readonly type: "address";
|
|
578
|
+
readonly internalType: "address";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "creditManager";
|
|
581
|
+
readonly type: "address";
|
|
582
|
+
readonly internalType: "address";
|
|
583
|
+
}, {
|
|
584
|
+
readonly name: "creditFacade";
|
|
585
|
+
readonly type: "address";
|
|
586
|
+
readonly internalType: "address";
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: "underlying";
|
|
589
|
+
readonly type: "address";
|
|
590
|
+
readonly internalType: "address";
|
|
591
|
+
}, {
|
|
592
|
+
readonly name: "owner";
|
|
593
|
+
readonly type: "address";
|
|
594
|
+
readonly internalType: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly name: "expirationDate";
|
|
597
|
+
readonly type: "uint40";
|
|
598
|
+
readonly internalType: "uint40";
|
|
599
|
+
}, {
|
|
600
|
+
readonly name: "enabledTokensMask";
|
|
601
|
+
readonly type: "uint256";
|
|
602
|
+
readonly internalType: "uint256";
|
|
603
|
+
}, {
|
|
604
|
+
readonly name: "debt";
|
|
605
|
+
readonly type: "uint256";
|
|
606
|
+
readonly internalType: "uint256";
|
|
607
|
+
}, {
|
|
608
|
+
readonly name: "accruedInterest";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
readonly internalType: "uint256";
|
|
611
|
+
}, {
|
|
612
|
+
readonly name: "accruedFees";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
readonly internalType: "uint256";
|
|
615
|
+
}, {
|
|
616
|
+
readonly name: "totalDebtUSD";
|
|
617
|
+
readonly type: "uint256";
|
|
618
|
+
readonly internalType: "uint256";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "totalValueUSD";
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
readonly internalType: "uint256";
|
|
623
|
+
}, {
|
|
624
|
+
readonly name: "twvUSD";
|
|
625
|
+
readonly type: "uint256";
|
|
626
|
+
readonly internalType: "uint256";
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "totalValue";
|
|
629
|
+
readonly type: "uint256";
|
|
630
|
+
readonly internalType: "uint256";
|
|
631
|
+
}, {
|
|
632
|
+
readonly name: "healthFactor";
|
|
633
|
+
readonly type: "uint256";
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "success";
|
|
637
|
+
readonly type: "bool";
|
|
638
|
+
readonly internalType: "bool";
|
|
639
|
+
}, {
|
|
640
|
+
readonly name: "tokens";
|
|
641
|
+
readonly type: "tuple[]";
|
|
642
|
+
readonly internalType: "struct TokenInfo[]";
|
|
643
|
+
readonly components: readonly [{
|
|
644
|
+
readonly name: "token";
|
|
645
|
+
readonly type: "address";
|
|
646
|
+
readonly internalType: "address";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "mask";
|
|
649
|
+
readonly type: "uint256";
|
|
650
|
+
readonly internalType: "uint256";
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "balance";
|
|
653
|
+
readonly type: "uint256";
|
|
654
|
+
readonly internalType: "uint256";
|
|
655
|
+
}, {
|
|
656
|
+
readonly name: "quota";
|
|
657
|
+
readonly type: "uint256";
|
|
658
|
+
readonly internalType: "uint256";
|
|
659
|
+
}, {
|
|
660
|
+
readonly name: "success";
|
|
661
|
+
readonly type: "bool";
|
|
662
|
+
readonly internalType: "bool";
|
|
663
|
+
}];
|
|
664
|
+
}];
|
|
665
|
+
}, {
|
|
666
|
+
readonly name: "nextOffset";
|
|
667
|
+
readonly type: "uint256";
|
|
668
|
+
readonly internalType: "uint256";
|
|
669
|
+
}];
|
|
670
|
+
readonly stateMutability: "view";
|
|
671
|
+
}, {
|
|
672
|
+
readonly type: "function";
|
|
673
|
+
readonly name: "getCreditAccounts";
|
|
674
|
+
readonly inputs: readonly [{
|
|
675
|
+
readonly name: "cmFilter";
|
|
676
|
+
readonly type: "tuple";
|
|
677
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
678
|
+
readonly components: readonly [{
|
|
679
|
+
readonly name: "configurators";
|
|
680
|
+
readonly type: "address[]";
|
|
681
|
+
readonly internalType: "address[]";
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "creditManagers";
|
|
684
|
+
readonly type: "address[]";
|
|
685
|
+
readonly internalType: "address[]";
|
|
686
|
+
}, {
|
|
687
|
+
readonly name: "pools";
|
|
688
|
+
readonly type: "address[]";
|
|
689
|
+
readonly internalType: "address[]";
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "underlying";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
readonly internalType: "address";
|
|
694
|
+
}];
|
|
695
|
+
}, {
|
|
696
|
+
readonly name: "caFilter";
|
|
697
|
+
readonly type: "tuple";
|
|
698
|
+
readonly internalType: "struct CreditAccountFilter";
|
|
699
|
+
readonly components: readonly [{
|
|
700
|
+
readonly name: "owner";
|
|
701
|
+
readonly type: "address";
|
|
702
|
+
readonly internalType: "address";
|
|
703
|
+
}, {
|
|
704
|
+
readonly name: "includeZeroDebt";
|
|
705
|
+
readonly type: "bool";
|
|
706
|
+
readonly internalType: "bool";
|
|
707
|
+
}, {
|
|
708
|
+
readonly name: "minHealthFactor";
|
|
709
|
+
readonly type: "uint256";
|
|
710
|
+
readonly internalType: "uint256";
|
|
711
|
+
}, {
|
|
712
|
+
readonly name: "maxHealthFactor";
|
|
713
|
+
readonly type: "uint256";
|
|
714
|
+
readonly internalType: "uint256";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "reverting";
|
|
717
|
+
readonly type: "bool";
|
|
718
|
+
readonly internalType: "bool";
|
|
719
|
+
}];
|
|
720
|
+
}, {
|
|
721
|
+
readonly name: "offset";
|
|
722
|
+
readonly type: "uint256";
|
|
723
|
+
readonly internalType: "uint256";
|
|
724
|
+
}];
|
|
725
|
+
readonly outputs: readonly [{
|
|
726
|
+
readonly name: "data";
|
|
727
|
+
readonly type: "tuple[]";
|
|
728
|
+
readonly internalType: "struct CreditAccountData[]";
|
|
729
|
+
readonly components: readonly [{
|
|
730
|
+
readonly name: "creditAccount";
|
|
731
|
+
readonly type: "address";
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
}, {
|
|
734
|
+
readonly name: "creditManager";
|
|
735
|
+
readonly type: "address";
|
|
736
|
+
readonly internalType: "address";
|
|
737
|
+
}, {
|
|
738
|
+
readonly name: "creditFacade";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
readonly internalType: "address";
|
|
741
|
+
}, {
|
|
742
|
+
readonly name: "underlying";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
readonly internalType: "address";
|
|
745
|
+
}, {
|
|
746
|
+
readonly name: "owner";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
readonly internalType: "address";
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "expirationDate";
|
|
751
|
+
readonly type: "uint40";
|
|
752
|
+
readonly internalType: "uint40";
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "enabledTokensMask";
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
readonly internalType: "uint256";
|
|
757
|
+
}, {
|
|
758
|
+
readonly name: "debt";
|
|
759
|
+
readonly type: "uint256";
|
|
760
|
+
readonly internalType: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly name: "accruedInterest";
|
|
763
|
+
readonly type: "uint256";
|
|
764
|
+
readonly internalType: "uint256";
|
|
765
|
+
}, {
|
|
766
|
+
readonly name: "accruedFees";
|
|
767
|
+
readonly type: "uint256";
|
|
768
|
+
readonly internalType: "uint256";
|
|
769
|
+
}, {
|
|
770
|
+
readonly name: "totalDebtUSD";
|
|
771
|
+
readonly type: "uint256";
|
|
772
|
+
readonly internalType: "uint256";
|
|
773
|
+
}, {
|
|
774
|
+
readonly name: "totalValueUSD";
|
|
775
|
+
readonly type: "uint256";
|
|
776
|
+
readonly internalType: "uint256";
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "twvUSD";
|
|
779
|
+
readonly type: "uint256";
|
|
780
|
+
readonly internalType: "uint256";
|
|
781
|
+
}, {
|
|
782
|
+
readonly name: "totalValue";
|
|
783
|
+
readonly type: "uint256";
|
|
784
|
+
readonly internalType: "uint256";
|
|
785
|
+
}, {
|
|
786
|
+
readonly name: "healthFactor";
|
|
787
|
+
readonly type: "uint256";
|
|
788
|
+
readonly internalType: "uint256";
|
|
789
|
+
}, {
|
|
790
|
+
readonly name: "success";
|
|
791
|
+
readonly type: "bool";
|
|
792
|
+
readonly internalType: "bool";
|
|
793
|
+
}, {
|
|
794
|
+
readonly name: "tokens";
|
|
795
|
+
readonly type: "tuple[]";
|
|
796
|
+
readonly internalType: "struct TokenInfo[]";
|
|
797
|
+
readonly components: readonly [{
|
|
798
|
+
readonly name: "token";
|
|
799
|
+
readonly type: "address";
|
|
800
|
+
readonly internalType: "address";
|
|
801
|
+
}, {
|
|
802
|
+
readonly name: "mask";
|
|
803
|
+
readonly type: "uint256";
|
|
804
|
+
readonly internalType: "uint256";
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "balance";
|
|
807
|
+
readonly type: "uint256";
|
|
808
|
+
readonly internalType: "uint256";
|
|
809
|
+
}, {
|
|
810
|
+
readonly name: "quota";
|
|
811
|
+
readonly type: "uint256";
|
|
812
|
+
readonly internalType: "uint256";
|
|
813
|
+
}, {
|
|
814
|
+
readonly name: "success";
|
|
815
|
+
readonly type: "bool";
|
|
816
|
+
readonly internalType: "bool";
|
|
817
|
+
}];
|
|
818
|
+
}];
|
|
819
|
+
}, {
|
|
820
|
+
readonly name: "nextOffset";
|
|
821
|
+
readonly type: "uint256";
|
|
822
|
+
readonly internalType: "uint256";
|
|
823
|
+
}];
|
|
824
|
+
readonly stateMutability: "view";
|
|
825
|
+
}, {
|
|
826
|
+
readonly type: "function";
|
|
827
|
+
readonly name: "version";
|
|
828
|
+
readonly inputs: readonly [];
|
|
829
|
+
readonly outputs: readonly [{
|
|
830
|
+
readonly name: "";
|
|
831
|
+
readonly type: "uint256";
|
|
832
|
+
readonly internalType: "uint256";
|
|
833
|
+
}];
|
|
834
|
+
readonly stateMutability: "view";
|
|
835
|
+
}];
|
|
836
|
+
type abi = typeof abi;
|
|
837
|
+
/**
|
|
838
|
+
* V3.10 credit account compressor.
|
|
839
|
+
*
|
|
840
|
+
* Wraps the compressor ABI and nothing else: single-account reads, paginated
|
|
841
|
+
* multi-account reads, and call descriptors for callers that need to batch
|
|
842
|
+
* these reads with calls to other contracts.
|
|
843
|
+
**/
|
|
844
|
+
declare class CreditAccountCompressorV310Contract extends BaseContract<abi> {
|
|
845
|
+
#private;
|
|
846
|
+
constructor(sdk: OnchainSDK, address: Address);
|
|
847
|
+
/**
|
|
848
|
+
* Reads data of a single credit account.
|
|
849
|
+
*
|
|
850
|
+
* @param account - Credit account address.
|
|
851
|
+
* @param blockNumber - Block to read at, defaults to the latest block.
|
|
852
|
+
* @returns Account data, or `undefined` if the compressor reverted, which it
|
|
853
|
+
* does when the account does not exist.
|
|
854
|
+
**/
|
|
855
|
+
getCreditAccountData(account: Address, blockNumber?: bigint): Promise<CreditAccountData | undefined>;
|
|
856
|
+
/**
|
|
857
|
+
* Reads all credit accounts matching the filters, in the order the
|
|
858
|
+
* compressor returns them.
|
|
859
|
+
*
|
|
860
|
+
* Two compressor quirks are handled here: results are paginated, and the
|
|
861
|
+
* `reverting` account filter is exclusive, so accounts whose collateral
|
|
862
|
+
* computation reverts are only returned by a second pass.
|
|
863
|
+
*
|
|
864
|
+
* @param target - Credit managers to query.
|
|
865
|
+
* @param query - Account-level filters, without `reverting`.
|
|
866
|
+
* @param options - Block, price updates and page size.
|
|
867
|
+
**/
|
|
868
|
+
getCreditAccounts(target: CreditAccountsTarget, query: CreditAccountsQuery, options?: CreditAccountsReadOptions): Promise<Array<CreditAccountData>>;
|
|
869
|
+
/**
|
|
870
|
+
* Descriptor of a `getCreditAccountData` call on this compressor.
|
|
871
|
+
**/
|
|
872
|
+
dataCall(account: Address): CreditAccountDataCall;
|
|
873
|
+
/**
|
|
874
|
+
* Descriptor of a `getCreditAccounts` call on this compressor.
|
|
875
|
+
**/
|
|
876
|
+
accountsCall(args: GetCreditAccountsArgs): CreditAccountsCall;
|
|
877
|
+
}
|
|
878
|
+
//#endregion
|
|
879
|
+
export { CreditAccountCompressorV310Contract };
|