@kasufinance/kasu-sdk 1.0.1 → 1.0.2

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 (45) hide show
  1. package/.github/workflows/ci.yml +39 -0
  2. package/.github/workflows/main.yml +17 -13
  3. package/README.md +146 -0
  4. package/package.json +1 -1
  5. package/src/contracts/IClearingCoordinatorAbi.ts +0 -406
  6. package/src/contracts/IERC20MetadataAbi.ts +0 -364
  7. package/src/contracts/IFeeManagerAbi.ts +0 -182
  8. package/src/contracts/IKSULockingAbi.ts +0 -965
  9. package/src/contracts/IKasuAllowListAbi.ts +0 -605
  10. package/src/contracts/IKasuControllerAbi.ts +0 -703
  11. package/src/contracts/IKasuNFTsAbi.ts +0 -2744
  12. package/src/contracts/IKsuPriceAbi.ts +0 -87
  13. package/src/contracts/ILendingPoolAbi.ts +0 -2081
  14. package/src/contracts/ILendingPoolFactoryAbi.ts +0 -161
  15. package/src/contracts/ILendingPoolManagerAbi.ts +0 -1917
  16. package/src/contracts/ILendingPoolTrancheAbi.ts +0 -1911
  17. package/src/contracts/ISystemVariablesAbi.ts +0 -908
  18. package/src/contracts/IUserLoyaltyRewardsAbi.ts +0 -544
  19. package/src/contracts/IUserManagerAbi.ts +0 -612
  20. package/src/contracts/KSULockBonusAbi.ts +0 -124
  21. package/src/contracts/KasuPoolExternalTVLAbi.ts +0 -1071
  22. package/src/contracts/SwapperAbi.ts +0 -266
  23. package/src/contracts/common.ts +0 -44
  24. package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +0 -438
  25. package/src/contracts/factories/IERC20MetadataAbi__factory.ts +0 -248
  26. package/src/contracts/factories/IFeeManagerAbi__factory.ts +0 -90
  27. package/src/contracts/factories/IKSULockingAbi__factory.ts +0 -778
  28. package/src/contracts/factories/IKasuAllowListAbi__factory.ts +0 -479
  29. package/src/contracts/factories/IKasuControllerAbi__factory.ts +0 -447
  30. package/src/contracts/factories/IKasuNFTsAbi__factory.ts +0 -2116
  31. package/src/contracts/factories/IKsuPriceAbi__factory.ts +0 -36
  32. package/src/contracts/factories/ILendingPoolAbi__factory.ts +0 -1455
  33. package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +0 -125
  34. package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +0 -1375
  35. package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +0 -1345
  36. package/src/contracts/factories/ISystemVariablesAbi__factory.ts +0 -455
  37. package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +0 -316
  38. package/src/contracts/factories/IUserManagerAbi__factory.ts +0 -345
  39. package/src/contracts/factories/KSULockBonusAbi__factory.ts +0 -115
  40. package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +0 -840
  41. package/src/contracts/factories/SwapperAbi__factory.ts +0 -167
  42. package/src/contracts/factories/index.ts +0 -21
  43. package/src/contracts/index.ts +0 -40
  44. package/tsconfig.tsbuildinfo +0 -1
  45. package/versioner.sh +0 -6
@@ -1,1917 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- BaseContract,
6
- BigNumber,
7
- BigNumberish,
8
- BytesLike,
9
- CallOverrides,
10
- ContractTransaction,
11
- Overrides,
12
- PayableOverrides,
13
- PopulatedTransaction,
14
- Signer,
15
- utils,
16
- } from "ethers";
17
- import type {
18
- FunctionFragment,
19
- Result,
20
- EventFragment,
21
- } from "@ethersproject/abi";
22
- import type { Listener, Provider } from "@ethersproject/providers";
23
- import type {
24
- TypedEventFilter,
25
- TypedEvent,
26
- TypedListener,
27
- OnEvent,
28
- } from "./common";
29
-
30
- export type ForceWithdrawalInputStruct = {
31
- tranche: string;
32
- user: string;
33
- sharesToWithdraw: BigNumberish;
34
- };
35
-
36
- export type ForceWithdrawalInputStructOutput = [string, string, BigNumber] & {
37
- tranche: string;
38
- user: string;
39
- sharesToWithdraw: BigNumber;
40
- };
41
-
42
- export type CreateTrancheConfigStruct = {
43
- ratio: BigNumberish;
44
- interestRate: BigNumberish;
45
- minDepositAmount: BigNumberish;
46
- maxDepositAmount: BigNumberish;
47
- };
48
-
49
- export type CreateTrancheConfigStructOutput = [
50
- BigNumber,
51
- BigNumber,
52
- BigNumber,
53
- BigNumber
54
- ] & {
55
- ratio: BigNumber;
56
- interestRate: BigNumber;
57
- minDepositAmount: BigNumber;
58
- maxDepositAmount: BigNumber;
59
- };
60
-
61
- export type CreatePoolConfigStruct = {
62
- poolName: string;
63
- poolSymbol: string;
64
- targetExcessLiquidityPercentage: BigNumberish;
65
- minExcessLiquidityPercentage: BigNumberish;
66
- tranches: CreateTrancheConfigStruct[];
67
- poolAdmin: string;
68
- drawRecipient: string;
69
- desiredDrawAmount: BigNumberish;
70
- };
71
-
72
- export type CreatePoolConfigStructOutput = [
73
- string,
74
- string,
75
- BigNumber,
76
- BigNumber,
77
- CreateTrancheConfigStructOutput[],
78
- string,
79
- string,
80
- BigNumber
81
- ] & {
82
- poolName: string;
83
- poolSymbol: string;
84
- targetExcessLiquidityPercentage: BigNumber;
85
- minExcessLiquidityPercentage: BigNumber;
86
- tranches: CreateTrancheConfigStructOutput[];
87
- poolAdmin: string;
88
- drawRecipient: string;
89
- desiredDrawAmount: BigNumber;
90
- };
91
-
92
- export type LendingPoolDeploymentStruct = {
93
- lendingPool: string;
94
- pendingPool: string;
95
- tranches: string[];
96
- };
97
-
98
- export type LendingPoolDeploymentStructOutput = [string, string, string[]] & {
99
- lendingPool: string;
100
- pendingPool: string;
101
- tranches: string[];
102
- };
103
-
104
- export type ClearingConfigurationStruct = {
105
- drawAmount: BigNumberish;
106
- trancheDesiredRatios: BigNumberish[];
107
- maxExcessPercentage: BigNumberish;
108
- minExcessPercentage: BigNumberish;
109
- };
110
-
111
- export type ClearingConfigurationStructOutput = [
112
- BigNumber,
113
- BigNumber[],
114
- BigNumber,
115
- BigNumber
116
- ] & {
117
- drawAmount: BigNumber;
118
- trancheDesiredRatios: BigNumber[];
119
- maxExcessPercentage: BigNumber;
120
- minExcessPercentage: BigNumber;
121
- };
122
-
123
- export type KycDataStruct = {
124
- blockExpiration: BigNumberish;
125
- signature: BytesLike;
126
- };
127
-
128
- export type KycDataStructOutput = [BigNumber, string] & {
129
- blockExpiration: BigNumber;
130
- signature: string;
131
- };
132
-
133
- export type LendingPoolWithdrawalConfigurationStruct = {
134
- requestEpochsInAdvance: BigNumberish;
135
- cancelRequestEpochsInAdvance: BigNumberish;
136
- };
137
-
138
- export type LendingPoolWithdrawalConfigurationStructOutput = [
139
- BigNumber,
140
- BigNumber
141
- ] & {
142
- requestEpochsInAdvance: BigNumber;
143
- cancelRequestEpochsInAdvance: BigNumber;
144
- };
145
-
146
- export interface ILendingPoolManagerAbiInterface extends utils.Interface {
147
- functions: {
148
- "addLendingPoolTrancheFixedTermDeposit(address,address,uint256,uint256,bool)": FunctionFragment;
149
- "batchForceWithdrawals(address,(address,address,uint256)[])": FunctionFragment;
150
- "cancelDepositRequest(address,uint256)": FunctionFragment;
151
- "cancelFixedTermDepositWithdrawalRequest(address,uint256)": FunctionFragment;
152
- "cancelWithdrawalRequest(address,uint256)": FunctionFragment;
153
- "claimRepaidLoss(address,address,uint256)": FunctionFragment;
154
- "createPool((string,string,uint256,uint256,(uint256,uint256,uint256,uint256)[],address,address,uint256))": FunctionFragment;
155
- "depositFirstLossCapital(address,uint256)": FunctionFragment;
156
- "doClearing(address,uint256,uint256,uint256,uint256,(uint256,uint256[],uint256,uint256),bool)": FunctionFragment;
157
- "endFixedTermDeposit(address,uint256,uint256)": FunctionFragment;
158
- "forceCancelDepositRequest(address,uint256)": FunctionFragment;
159
- "forceCancelWithdrawalRequest(address,uint256)": FunctionFragment;
160
- "forceImmediateWithdrawal(address,address,address,uint256)": FunctionFragment;
161
- "initialize(address,address,address,address)": FunctionFragment;
162
- "isLendingPool(address)": FunctionFragment;
163
- "lendingPools(address)": FunctionFragment;
164
- "lockDepositForFixedTerm(address,address,uint256,uint256)": FunctionFragment;
165
- "repayLoss(address,address,uint256,uint256)": FunctionFragment;
166
- "repayOwedFunds(address,uint256,address)": FunctionFragment;
167
- "reportLoss(address,uint256,bool)": FunctionFragment;
168
- "requestDeposit(address,address,uint256,bytes,uint256,bytes)": FunctionFragment;
169
- "requestDepositWithKyc(address,address,uint256,bytes,uint256,bytes,(uint256,bytes))": FunctionFragment;
170
- "requestFixedTermDepositWithdrawal(address,uint256)": FunctionFragment;
171
- "requestWithdrawal(address,address,uint256)": FunctionFragment;
172
- "stopLendingPool(address)": FunctionFragment;
173
- "updateDesiredDrawAmount(address,uint256)": FunctionFragment;
174
- "updateDrawRecipient(address,address)": FunctionFragment;
175
- "updateFixedTermDepositAllowlist(address,uint256,address[],bool[])": FunctionFragment;
176
- "updateLendingPoolTrancheFixedInterestStatus(address,uint256,uint8)": FunctionFragment;
177
- "updateLendingPoolWithdrawalConfiguration(address,(uint128,uint128))": FunctionFragment;
178
- "updateMaximumDepositAmount(address,address,uint256)": FunctionFragment;
179
- "updateMinimumDepositAmount(address,address,uint256)": FunctionFragment;
180
- "updateMinimumExcessLiquidityPercentage(address,uint256)": FunctionFragment;
181
- "updateTargetExcessLiquidityPercentage(address,uint256)": FunctionFragment;
182
- "updateTrancheDesiredRatios(address,uint256[])": FunctionFragment;
183
- "updateTrancheInterestRate(address,address,uint256)": FunctionFragment;
184
- "updateTrancheInterestRateChangeEpochDelay(address,uint256)": FunctionFragment;
185
- "withdrawFirstLossCapital(address,uint256,address)": FunctionFragment;
186
- };
187
-
188
- getFunction(
189
- nameOrSignatureOrTopic:
190
- | "addLendingPoolTrancheFixedTermDeposit"
191
- | "batchForceWithdrawals"
192
- | "cancelDepositRequest"
193
- | "cancelFixedTermDepositWithdrawalRequest"
194
- | "cancelWithdrawalRequest"
195
- | "claimRepaidLoss"
196
- | "createPool"
197
- | "depositFirstLossCapital"
198
- | "doClearing"
199
- | "endFixedTermDeposit"
200
- | "forceCancelDepositRequest"
201
- | "forceCancelWithdrawalRequest"
202
- | "forceImmediateWithdrawal"
203
- | "initialize"
204
- | "isLendingPool"
205
- | "lendingPools"
206
- | "lockDepositForFixedTerm"
207
- | "repayLoss"
208
- | "repayOwedFunds"
209
- | "reportLoss"
210
- | "requestDeposit"
211
- | "requestDepositWithKyc"
212
- | "requestFixedTermDepositWithdrawal"
213
- | "requestWithdrawal"
214
- | "stopLendingPool"
215
- | "updateDesiredDrawAmount"
216
- | "updateDrawRecipient"
217
- | "updateFixedTermDepositAllowlist"
218
- | "updateLendingPoolTrancheFixedInterestStatus"
219
- | "updateLendingPoolWithdrawalConfiguration"
220
- | "updateMaximumDepositAmount"
221
- | "updateMinimumDepositAmount"
222
- | "updateMinimumExcessLiquidityPercentage"
223
- | "updateTargetExcessLiquidityPercentage"
224
- | "updateTrancheDesiredRatios"
225
- | "updateTrancheInterestRate"
226
- | "updateTrancheInterestRateChangeEpochDelay"
227
- | "withdrawFirstLossCapital"
228
- ): FunctionFragment;
229
-
230
- encodeFunctionData(
231
- functionFragment: "addLendingPoolTrancheFixedTermDeposit",
232
- values: [string, string, BigNumberish, BigNumberish, boolean]
233
- ): string;
234
- encodeFunctionData(
235
- functionFragment: "batchForceWithdrawals",
236
- values: [string, ForceWithdrawalInputStruct[]]
237
- ): string;
238
- encodeFunctionData(
239
- functionFragment: "cancelDepositRequest",
240
- values: [string, BigNumberish]
241
- ): string;
242
- encodeFunctionData(
243
- functionFragment: "cancelFixedTermDepositWithdrawalRequest",
244
- values: [string, BigNumberish]
245
- ): string;
246
- encodeFunctionData(
247
- functionFragment: "cancelWithdrawalRequest",
248
- values: [string, BigNumberish]
249
- ): string;
250
- encodeFunctionData(
251
- functionFragment: "claimRepaidLoss",
252
- values: [string, string, BigNumberish]
253
- ): string;
254
- encodeFunctionData(
255
- functionFragment: "createPool",
256
- values: [CreatePoolConfigStruct]
257
- ): string;
258
- encodeFunctionData(
259
- functionFragment: "depositFirstLossCapital",
260
- values: [string, BigNumberish]
261
- ): string;
262
- encodeFunctionData(
263
- functionFragment: "doClearing",
264
- values: [
265
- string,
266
- BigNumberish,
267
- BigNumberish,
268
- BigNumberish,
269
- BigNumberish,
270
- ClearingConfigurationStruct,
271
- boolean
272
- ]
273
- ): string;
274
- encodeFunctionData(
275
- functionFragment: "endFixedTermDeposit",
276
- values: [string, BigNumberish, BigNumberish]
277
- ): string;
278
- encodeFunctionData(
279
- functionFragment: "forceCancelDepositRequest",
280
- values: [string, BigNumberish]
281
- ): string;
282
- encodeFunctionData(
283
- functionFragment: "forceCancelWithdrawalRequest",
284
- values: [string, BigNumberish]
285
- ): string;
286
- encodeFunctionData(
287
- functionFragment: "forceImmediateWithdrawal",
288
- values: [string, string, string, BigNumberish]
289
- ): string;
290
- encodeFunctionData(
291
- functionFragment: "initialize",
292
- values: [string, string, string, string]
293
- ): string;
294
- encodeFunctionData(
295
- functionFragment: "isLendingPool",
296
- values: [string]
297
- ): string;
298
- encodeFunctionData(
299
- functionFragment: "lendingPools",
300
- values: [string]
301
- ): string;
302
- encodeFunctionData(
303
- functionFragment: "lockDepositForFixedTerm",
304
- values: [string, string, BigNumberish, BigNumberish]
305
- ): string;
306
- encodeFunctionData(
307
- functionFragment: "repayLoss",
308
- values: [string, string, BigNumberish, BigNumberish]
309
- ): string;
310
- encodeFunctionData(
311
- functionFragment: "repayOwedFunds",
312
- values: [string, BigNumberish, string]
313
- ): string;
314
- encodeFunctionData(
315
- functionFragment: "reportLoss",
316
- values: [string, BigNumberish, boolean]
317
- ): string;
318
- encodeFunctionData(
319
- functionFragment: "requestDeposit",
320
- values: [string, string, BigNumberish, BytesLike, BigNumberish, BytesLike]
321
- ): string;
322
- encodeFunctionData(
323
- functionFragment: "requestDepositWithKyc",
324
- values: [
325
- string,
326
- string,
327
- BigNumberish,
328
- BytesLike,
329
- BigNumberish,
330
- BytesLike,
331
- KycDataStruct
332
- ]
333
- ): string;
334
- encodeFunctionData(
335
- functionFragment: "requestFixedTermDepositWithdrawal",
336
- values: [string, BigNumberish]
337
- ): string;
338
- encodeFunctionData(
339
- functionFragment: "requestWithdrawal",
340
- values: [string, string, BigNumberish]
341
- ): string;
342
- encodeFunctionData(
343
- functionFragment: "stopLendingPool",
344
- values: [string]
345
- ): string;
346
- encodeFunctionData(
347
- functionFragment: "updateDesiredDrawAmount",
348
- values: [string, BigNumberish]
349
- ): string;
350
- encodeFunctionData(
351
- functionFragment: "updateDrawRecipient",
352
- values: [string, string]
353
- ): string;
354
- encodeFunctionData(
355
- functionFragment: "updateFixedTermDepositAllowlist",
356
- values: [string, BigNumberish, string[], boolean[]]
357
- ): string;
358
- encodeFunctionData(
359
- functionFragment: "updateLendingPoolTrancheFixedInterestStatus",
360
- values: [string, BigNumberish, BigNumberish]
361
- ): string;
362
- encodeFunctionData(
363
- functionFragment: "updateLendingPoolWithdrawalConfiguration",
364
- values: [string, LendingPoolWithdrawalConfigurationStruct]
365
- ): string;
366
- encodeFunctionData(
367
- functionFragment: "updateMaximumDepositAmount",
368
- values: [string, string, BigNumberish]
369
- ): string;
370
- encodeFunctionData(
371
- functionFragment: "updateMinimumDepositAmount",
372
- values: [string, string, BigNumberish]
373
- ): string;
374
- encodeFunctionData(
375
- functionFragment: "updateMinimumExcessLiquidityPercentage",
376
- values: [string, BigNumberish]
377
- ): string;
378
- encodeFunctionData(
379
- functionFragment: "updateTargetExcessLiquidityPercentage",
380
- values: [string, BigNumberish]
381
- ): string;
382
- encodeFunctionData(
383
- functionFragment: "updateTrancheDesiredRatios",
384
- values: [string, BigNumberish[]]
385
- ): string;
386
- encodeFunctionData(
387
- functionFragment: "updateTrancheInterestRate",
388
- values: [string, string, BigNumberish]
389
- ): string;
390
- encodeFunctionData(
391
- functionFragment: "updateTrancheInterestRateChangeEpochDelay",
392
- values: [string, BigNumberish]
393
- ): string;
394
- encodeFunctionData(
395
- functionFragment: "withdrawFirstLossCapital",
396
- values: [string, BigNumberish, string]
397
- ): string;
398
-
399
- decodeFunctionResult(
400
- functionFragment: "addLendingPoolTrancheFixedTermDeposit",
401
- data: BytesLike
402
- ): Result;
403
- decodeFunctionResult(
404
- functionFragment: "batchForceWithdrawals",
405
- data: BytesLike
406
- ): Result;
407
- decodeFunctionResult(
408
- functionFragment: "cancelDepositRequest",
409
- data: BytesLike
410
- ): Result;
411
- decodeFunctionResult(
412
- functionFragment: "cancelFixedTermDepositWithdrawalRequest",
413
- data: BytesLike
414
- ): Result;
415
- decodeFunctionResult(
416
- functionFragment: "cancelWithdrawalRequest",
417
- data: BytesLike
418
- ): Result;
419
- decodeFunctionResult(
420
- functionFragment: "claimRepaidLoss",
421
- data: BytesLike
422
- ): Result;
423
- decodeFunctionResult(functionFragment: "createPool", data: BytesLike): Result;
424
- decodeFunctionResult(
425
- functionFragment: "depositFirstLossCapital",
426
- data: BytesLike
427
- ): Result;
428
- decodeFunctionResult(functionFragment: "doClearing", data: BytesLike): Result;
429
- decodeFunctionResult(
430
- functionFragment: "endFixedTermDeposit",
431
- data: BytesLike
432
- ): Result;
433
- decodeFunctionResult(
434
- functionFragment: "forceCancelDepositRequest",
435
- data: BytesLike
436
- ): Result;
437
- decodeFunctionResult(
438
- functionFragment: "forceCancelWithdrawalRequest",
439
- data: BytesLike
440
- ): Result;
441
- decodeFunctionResult(
442
- functionFragment: "forceImmediateWithdrawal",
443
- data: BytesLike
444
- ): Result;
445
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
446
- decodeFunctionResult(
447
- functionFragment: "isLendingPool",
448
- data: BytesLike
449
- ): Result;
450
- decodeFunctionResult(
451
- functionFragment: "lendingPools",
452
- data: BytesLike
453
- ): Result;
454
- decodeFunctionResult(
455
- functionFragment: "lockDepositForFixedTerm",
456
- data: BytesLike
457
- ): Result;
458
- decodeFunctionResult(functionFragment: "repayLoss", data: BytesLike): Result;
459
- decodeFunctionResult(
460
- functionFragment: "repayOwedFunds",
461
- data: BytesLike
462
- ): Result;
463
- decodeFunctionResult(functionFragment: "reportLoss", data: BytesLike): Result;
464
- decodeFunctionResult(
465
- functionFragment: "requestDeposit",
466
- data: BytesLike
467
- ): Result;
468
- decodeFunctionResult(
469
- functionFragment: "requestDepositWithKyc",
470
- data: BytesLike
471
- ): Result;
472
- decodeFunctionResult(
473
- functionFragment: "requestFixedTermDepositWithdrawal",
474
- data: BytesLike
475
- ): Result;
476
- decodeFunctionResult(
477
- functionFragment: "requestWithdrawal",
478
- data: BytesLike
479
- ): Result;
480
- decodeFunctionResult(
481
- functionFragment: "stopLendingPool",
482
- data: BytesLike
483
- ): Result;
484
- decodeFunctionResult(
485
- functionFragment: "updateDesiredDrawAmount",
486
- data: BytesLike
487
- ): Result;
488
- decodeFunctionResult(
489
- functionFragment: "updateDrawRecipient",
490
- data: BytesLike
491
- ): Result;
492
- decodeFunctionResult(
493
- functionFragment: "updateFixedTermDepositAllowlist",
494
- data: BytesLike
495
- ): Result;
496
- decodeFunctionResult(
497
- functionFragment: "updateLendingPoolTrancheFixedInterestStatus",
498
- data: BytesLike
499
- ): Result;
500
- decodeFunctionResult(
501
- functionFragment: "updateLendingPoolWithdrawalConfiguration",
502
- data: BytesLike
503
- ): Result;
504
- decodeFunctionResult(
505
- functionFragment: "updateMaximumDepositAmount",
506
- data: BytesLike
507
- ): Result;
508
- decodeFunctionResult(
509
- functionFragment: "updateMinimumDepositAmount",
510
- data: BytesLike
511
- ): Result;
512
- decodeFunctionResult(
513
- functionFragment: "updateMinimumExcessLiquidityPercentage",
514
- data: BytesLike
515
- ): Result;
516
- decodeFunctionResult(
517
- functionFragment: "updateTargetExcessLiquidityPercentage",
518
- data: BytesLike
519
- ): Result;
520
- decodeFunctionResult(
521
- functionFragment: "updateTrancheDesiredRatios",
522
- data: BytesLike
523
- ): Result;
524
- decodeFunctionResult(
525
- functionFragment: "updateTrancheInterestRate",
526
- data: BytesLike
527
- ): Result;
528
- decodeFunctionResult(
529
- functionFragment: "updateTrancheInterestRateChangeEpochDelay",
530
- data: BytesLike
531
- ): Result;
532
- decodeFunctionResult(
533
- functionFragment: "withdrawFirstLossCapital",
534
- data: BytesLike
535
- ): Result;
536
-
537
- events: {
538
- "DepositDataAdded(address,uint256,bytes)": EventFragment;
539
- "Initialized(uint64)": EventFragment;
540
- };
541
-
542
- getEvent(nameOrSignatureOrTopic: "DepositDataAdded"): EventFragment;
543
- getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
544
- }
545
-
546
- export interface DepositDataAddedEventObject {
547
- lendingPool: string;
548
- dNftID: BigNumber;
549
- data: string;
550
- }
551
- export type DepositDataAddedEvent = TypedEvent<
552
- [string, BigNumber, string],
553
- DepositDataAddedEventObject
554
- >;
555
-
556
- export type DepositDataAddedEventFilter =
557
- TypedEventFilter<DepositDataAddedEvent>;
558
-
559
- export interface InitializedEventObject {
560
- version: BigNumber;
561
- }
562
- export type InitializedEvent = TypedEvent<[BigNumber], InitializedEventObject>;
563
-
564
- export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
565
-
566
- export interface ILendingPoolManagerAbi extends BaseContract {
567
- connect(signerOrProvider: Signer | Provider | string): this;
568
- attach(addressOrName: string): this;
569
- deployed(): Promise<this>;
570
-
571
- interface: ILendingPoolManagerAbiInterface;
572
-
573
- queryFilter<TEvent extends TypedEvent>(
574
- event: TypedEventFilter<TEvent>,
575
- fromBlockOrBlockhash?: string | number | undefined,
576
- toBlock?: string | number | undefined
577
- ): Promise<Array<TEvent>>;
578
-
579
- listeners<TEvent extends TypedEvent>(
580
- eventFilter?: TypedEventFilter<TEvent>
581
- ): Array<TypedListener<TEvent>>;
582
- listeners(eventName?: string): Array<Listener>;
583
- removeAllListeners<TEvent extends TypedEvent>(
584
- eventFilter: TypedEventFilter<TEvent>
585
- ): this;
586
- removeAllListeners(eventName?: string): this;
587
- off: OnEvent<this>;
588
- on: OnEvent<this>;
589
- once: OnEvent<this>;
590
- removeListener: OnEvent<this>;
591
-
592
- functions: {
593
- addLendingPoolTrancheFixedTermDeposit(
594
- lendingPool: string,
595
- tranche: string,
596
- epochLockDuration: BigNumberish,
597
- epochInterestRate: BigNumberish,
598
- whitelistedOnly: boolean,
599
- overrides?: Overrides & { from?: string }
600
- ): Promise<ContractTransaction>;
601
-
602
- batchForceWithdrawals(
603
- lendingPool: string,
604
- input: ForceWithdrawalInputStruct[],
605
- overrides?: Overrides & { from?: string }
606
- ): Promise<ContractTransaction>;
607
-
608
- cancelDepositRequest(
609
- lendingPool: string,
610
- dNftID: BigNumberish,
611
- overrides?: Overrides & { from?: string }
612
- ): Promise<ContractTransaction>;
613
-
614
- cancelFixedTermDepositWithdrawalRequest(
615
- lendingPool: string,
616
- fixedTermDepositId: BigNumberish,
617
- overrides?: Overrides & { from?: string }
618
- ): Promise<ContractTransaction>;
619
-
620
- cancelWithdrawalRequest(
621
- lendingPool: string,
622
- wNftID: BigNumberish,
623
- overrides?: Overrides & { from?: string }
624
- ): Promise<ContractTransaction>;
625
-
626
- claimRepaidLoss(
627
- lendingPool: string,
628
- tranche: string,
629
- lossId: BigNumberish,
630
- overrides?: Overrides & { from?: string }
631
- ): Promise<ContractTransaction>;
632
-
633
- createPool(
634
- createPoolConfig: CreatePoolConfigStruct,
635
- overrides?: Overrides & { from?: string }
636
- ): Promise<ContractTransaction>;
637
-
638
- depositFirstLossCapital(
639
- lendingPool: string,
640
- amount: BigNumberish,
641
- overrides?: Overrides & { from?: string }
642
- ): Promise<ContractTransaction>;
643
-
644
- doClearing(
645
- lendingPool: string,
646
- targetEpoch: BigNumberish,
647
- fixedTermDepositBatchSize: BigNumberish,
648
- priorityCalculationBatchSize: BigNumberish,
649
- acceptRequestsBatchSize: BigNumberish,
650
- clearingConfigOverride: ClearingConfigurationStruct,
651
- isConfigOverridden: boolean,
652
- overrides?: Overrides & { from?: string }
653
- ): Promise<ContractTransaction>;
654
-
655
- endFixedTermDeposit(
656
- lendingPool: string,
657
- fixedTermDepositId: BigNumberish,
658
- arrayIndex: BigNumberish,
659
- overrides?: Overrides & { from?: string }
660
- ): Promise<ContractTransaction>;
661
-
662
- forceCancelDepositRequest(
663
- lendingPool: string,
664
- dNftID: BigNumberish,
665
- overrides?: Overrides & { from?: string }
666
- ): Promise<ContractTransaction>;
667
-
668
- forceCancelWithdrawalRequest(
669
- lendingPool: string,
670
- wNftID: BigNumberish,
671
- overrides?: Overrides & { from?: string }
672
- ): Promise<ContractTransaction>;
673
-
674
- forceImmediateWithdrawal(
675
- lendingPool: string,
676
- tranche: string,
677
- user: string,
678
- sharesToWithdraw: BigNumberish,
679
- overrides?: Overrides & { from?: string }
680
- ): Promise<ContractTransaction>;
681
-
682
- initialize(
683
- lendingPoolFactory_: string,
684
- kasuAllowList_: string,
685
- userManager_: string,
686
- clearingCoordinator_: string,
687
- overrides?: Overrides & { from?: string }
688
- ): Promise<ContractTransaction>;
689
-
690
- isLendingPool(
691
- lendingPool: string,
692
- overrides?: CallOverrides
693
- ): Promise<[boolean]>;
694
-
695
- lendingPools(
696
- arg0: string,
697
- overrides?: CallOverrides
698
- ): Promise<[string, string] & { lendingPool: string; pendingPool: string }>;
699
-
700
- lockDepositForFixedTerm(
701
- lendingPool: string,
702
- tranche: string,
703
- amount: BigNumberish,
704
- fixedTermConfigId: BigNumberish,
705
- overrides?: Overrides & { from?: string }
706
- ): Promise<ContractTransaction>;
707
-
708
- repayLoss(
709
- lendingPool: string,
710
- tranche: string,
711
- lossId: BigNumberish,
712
- amount: BigNumberish,
713
- overrides?: Overrides & { from?: string }
714
- ): Promise<ContractTransaction>;
715
-
716
- repayOwedFunds(
717
- lendingPool: string,
718
- amount: BigNumberish,
719
- repaymentAddress: string,
720
- overrides?: Overrides & { from?: string }
721
- ): Promise<ContractTransaction>;
722
-
723
- reportLoss(
724
- lendingPool: string,
725
- amount: BigNumberish,
726
- doMintLossTokens: boolean,
727
- overrides?: Overrides & { from?: string }
728
- ): Promise<ContractTransaction>;
729
-
730
- requestDeposit(
731
- lendingPool: string,
732
- tranche: string,
733
- maxAmount: BigNumberish,
734
- swapData: BytesLike,
735
- fixedTermConfigId: BigNumberish,
736
- depositData: BytesLike,
737
- overrides?: PayableOverrides & { from?: string }
738
- ): Promise<ContractTransaction>;
739
-
740
- requestDepositWithKyc(
741
- lendingPool: string,
742
- tranche: string,
743
- maxAmount: BigNumberish,
744
- swapData: BytesLike,
745
- fixedTermConfigId: BigNumberish,
746
- depositData: BytesLike,
747
- kycData: KycDataStruct,
748
- overrides?: PayableOverrides & { from?: string }
749
- ): Promise<ContractTransaction>;
750
-
751
- requestFixedTermDepositWithdrawal(
752
- lendingPool: string,
753
- fixedTermDepositId: BigNumberish,
754
- overrides?: Overrides & { from?: string }
755
- ): Promise<ContractTransaction>;
756
-
757
- requestWithdrawal(
758
- lendingPool: string,
759
- tranche: string,
760
- amount: BigNumberish,
761
- overrides?: Overrides & { from?: string }
762
- ): Promise<ContractTransaction>;
763
-
764
- stopLendingPool(
765
- lendingPool: string,
766
- overrides?: Overrides & { from?: string }
767
- ): Promise<ContractTransaction>;
768
-
769
- updateDesiredDrawAmount(
770
- lendingPool: string,
771
- amount: BigNumberish,
772
- overrides?: Overrides & { from?: string }
773
- ): Promise<ContractTransaction>;
774
-
775
- updateDrawRecipient(
776
- lendingPool: string,
777
- drawRecipient: string,
778
- overrides?: Overrides & { from?: string }
779
- ): Promise<ContractTransaction>;
780
-
781
- updateFixedTermDepositAllowlist(
782
- lendingPool: string,
783
- configId: BigNumberish,
784
- users: string[],
785
- isAllowedList: boolean[],
786
- overrides?: Overrides & { from?: string }
787
- ): Promise<ContractTransaction>;
788
-
789
- updateLendingPoolTrancheFixedInterestStatus(
790
- lendingPool: string,
791
- fixedTermConfigId: BigNumberish,
792
- fixedTermDepositStatus: BigNumberish,
793
- overrides?: Overrides & { from?: string }
794
- ): Promise<ContractTransaction>;
795
-
796
- updateLendingPoolWithdrawalConfiguration(
797
- lendingPool: string,
798
- withdrawalConfiguration: LendingPoolWithdrawalConfigurationStruct,
799
- overrides?: Overrides & { from?: string }
800
- ): Promise<ContractTransaction>;
801
-
802
- updateMaximumDepositAmount(
803
- lendingPool: string,
804
- tranche: string,
805
- maximumDepositAmount: BigNumberish,
806
- overrides?: Overrides & { from?: string }
807
- ): Promise<ContractTransaction>;
808
-
809
- updateMinimumDepositAmount(
810
- lendingPool: string,
811
- tranche: string,
812
- minimumDepositAmount: BigNumberish,
813
- overrides?: Overrides & { from?: string }
814
- ): Promise<ContractTransaction>;
815
-
816
- updateMinimumExcessLiquidityPercentage(
817
- lendingPool: string,
818
- minimumExcessLiquidityPercentage: BigNumberish,
819
- overrides?: Overrides & { from?: string }
820
- ): Promise<ContractTransaction>;
821
-
822
- updateTargetExcessLiquidityPercentage(
823
- lendingPool: string,
824
- targetExcessLiquidityPercentage: BigNumberish,
825
- overrides?: Overrides & { from?: string }
826
- ): Promise<ContractTransaction>;
827
-
828
- updateTrancheDesiredRatios(
829
- lendingPool: string,
830
- desiredRatios: BigNumberish[],
831
- overrides?: Overrides & { from?: string }
832
- ): Promise<ContractTransaction>;
833
-
834
- updateTrancheInterestRate(
835
- lendingPool: string,
836
- tranche: string,
837
- interestRate: BigNumberish,
838
- overrides?: Overrides & { from?: string }
839
- ): Promise<ContractTransaction>;
840
-
841
- updateTrancheInterestRateChangeEpochDelay(
842
- lendingPool: string,
843
- epochDelay: BigNumberish,
844
- overrides?: Overrides & { from?: string }
845
- ): Promise<ContractTransaction>;
846
-
847
- withdrawFirstLossCapital(
848
- lendingPool: string,
849
- withdrawAmount: BigNumberish,
850
- withdrawAddress: string,
851
- overrides?: Overrides & { from?: string }
852
- ): Promise<ContractTransaction>;
853
- };
854
-
855
- addLendingPoolTrancheFixedTermDeposit(
856
- lendingPool: string,
857
- tranche: string,
858
- epochLockDuration: BigNumberish,
859
- epochInterestRate: BigNumberish,
860
- whitelistedOnly: boolean,
861
- overrides?: Overrides & { from?: string }
862
- ): Promise<ContractTransaction>;
863
-
864
- batchForceWithdrawals(
865
- lendingPool: string,
866
- input: ForceWithdrawalInputStruct[],
867
- overrides?: Overrides & { from?: string }
868
- ): Promise<ContractTransaction>;
869
-
870
- cancelDepositRequest(
871
- lendingPool: string,
872
- dNftID: BigNumberish,
873
- overrides?: Overrides & { from?: string }
874
- ): Promise<ContractTransaction>;
875
-
876
- cancelFixedTermDepositWithdrawalRequest(
877
- lendingPool: string,
878
- fixedTermDepositId: BigNumberish,
879
- overrides?: Overrides & { from?: string }
880
- ): Promise<ContractTransaction>;
881
-
882
- cancelWithdrawalRequest(
883
- lendingPool: string,
884
- wNftID: BigNumberish,
885
- overrides?: Overrides & { from?: string }
886
- ): Promise<ContractTransaction>;
887
-
888
- claimRepaidLoss(
889
- lendingPool: string,
890
- tranche: string,
891
- lossId: BigNumberish,
892
- overrides?: Overrides & { from?: string }
893
- ): Promise<ContractTransaction>;
894
-
895
- createPool(
896
- createPoolConfig: CreatePoolConfigStruct,
897
- overrides?: Overrides & { from?: string }
898
- ): Promise<ContractTransaction>;
899
-
900
- depositFirstLossCapital(
901
- lendingPool: string,
902
- amount: BigNumberish,
903
- overrides?: Overrides & { from?: string }
904
- ): Promise<ContractTransaction>;
905
-
906
- doClearing(
907
- lendingPool: string,
908
- targetEpoch: BigNumberish,
909
- fixedTermDepositBatchSize: BigNumberish,
910
- priorityCalculationBatchSize: BigNumberish,
911
- acceptRequestsBatchSize: BigNumberish,
912
- clearingConfigOverride: ClearingConfigurationStruct,
913
- isConfigOverridden: boolean,
914
- overrides?: Overrides & { from?: string }
915
- ): Promise<ContractTransaction>;
916
-
917
- endFixedTermDeposit(
918
- lendingPool: string,
919
- fixedTermDepositId: BigNumberish,
920
- arrayIndex: BigNumberish,
921
- overrides?: Overrides & { from?: string }
922
- ): Promise<ContractTransaction>;
923
-
924
- forceCancelDepositRequest(
925
- lendingPool: string,
926
- dNftID: BigNumberish,
927
- overrides?: Overrides & { from?: string }
928
- ): Promise<ContractTransaction>;
929
-
930
- forceCancelWithdrawalRequest(
931
- lendingPool: string,
932
- wNftID: BigNumberish,
933
- overrides?: Overrides & { from?: string }
934
- ): Promise<ContractTransaction>;
935
-
936
- forceImmediateWithdrawal(
937
- lendingPool: string,
938
- tranche: string,
939
- user: string,
940
- sharesToWithdraw: BigNumberish,
941
- overrides?: Overrides & { from?: string }
942
- ): Promise<ContractTransaction>;
943
-
944
- initialize(
945
- lendingPoolFactory_: string,
946
- kasuAllowList_: string,
947
- userManager_: string,
948
- clearingCoordinator_: string,
949
- overrides?: Overrides & { from?: string }
950
- ): Promise<ContractTransaction>;
951
-
952
- isLendingPool(
953
- lendingPool: string,
954
- overrides?: CallOverrides
955
- ): Promise<boolean>;
956
-
957
- lendingPools(
958
- arg0: string,
959
- overrides?: CallOverrides
960
- ): Promise<[string, string] & { lendingPool: string; pendingPool: string }>;
961
-
962
- lockDepositForFixedTerm(
963
- lendingPool: string,
964
- tranche: string,
965
- amount: BigNumberish,
966
- fixedTermConfigId: BigNumberish,
967
- overrides?: Overrides & { from?: string }
968
- ): Promise<ContractTransaction>;
969
-
970
- repayLoss(
971
- lendingPool: string,
972
- tranche: string,
973
- lossId: BigNumberish,
974
- amount: BigNumberish,
975
- overrides?: Overrides & { from?: string }
976
- ): Promise<ContractTransaction>;
977
-
978
- repayOwedFunds(
979
- lendingPool: string,
980
- amount: BigNumberish,
981
- repaymentAddress: string,
982
- overrides?: Overrides & { from?: string }
983
- ): Promise<ContractTransaction>;
984
-
985
- reportLoss(
986
- lendingPool: string,
987
- amount: BigNumberish,
988
- doMintLossTokens: boolean,
989
- overrides?: Overrides & { from?: string }
990
- ): Promise<ContractTransaction>;
991
-
992
- requestDeposit(
993
- lendingPool: string,
994
- tranche: string,
995
- maxAmount: BigNumberish,
996
- swapData: BytesLike,
997
- fixedTermConfigId: BigNumberish,
998
- depositData: BytesLike,
999
- overrides?: PayableOverrides & { from?: string }
1000
- ): Promise<ContractTransaction>;
1001
-
1002
- requestDepositWithKyc(
1003
- lendingPool: string,
1004
- tranche: string,
1005
- maxAmount: BigNumberish,
1006
- swapData: BytesLike,
1007
- fixedTermConfigId: BigNumberish,
1008
- depositData: BytesLike,
1009
- kycData: KycDataStruct,
1010
- overrides?: PayableOverrides & { from?: string }
1011
- ): Promise<ContractTransaction>;
1012
-
1013
- requestFixedTermDepositWithdrawal(
1014
- lendingPool: string,
1015
- fixedTermDepositId: BigNumberish,
1016
- overrides?: Overrides & { from?: string }
1017
- ): Promise<ContractTransaction>;
1018
-
1019
- requestWithdrawal(
1020
- lendingPool: string,
1021
- tranche: string,
1022
- amount: BigNumberish,
1023
- overrides?: Overrides & { from?: string }
1024
- ): Promise<ContractTransaction>;
1025
-
1026
- stopLendingPool(
1027
- lendingPool: string,
1028
- overrides?: Overrides & { from?: string }
1029
- ): Promise<ContractTransaction>;
1030
-
1031
- updateDesiredDrawAmount(
1032
- lendingPool: string,
1033
- amount: BigNumberish,
1034
- overrides?: Overrides & { from?: string }
1035
- ): Promise<ContractTransaction>;
1036
-
1037
- updateDrawRecipient(
1038
- lendingPool: string,
1039
- drawRecipient: string,
1040
- overrides?: Overrides & { from?: string }
1041
- ): Promise<ContractTransaction>;
1042
-
1043
- updateFixedTermDepositAllowlist(
1044
- lendingPool: string,
1045
- configId: BigNumberish,
1046
- users: string[],
1047
- isAllowedList: boolean[],
1048
- overrides?: Overrides & { from?: string }
1049
- ): Promise<ContractTransaction>;
1050
-
1051
- updateLendingPoolTrancheFixedInterestStatus(
1052
- lendingPool: string,
1053
- fixedTermConfigId: BigNumberish,
1054
- fixedTermDepositStatus: BigNumberish,
1055
- overrides?: Overrides & { from?: string }
1056
- ): Promise<ContractTransaction>;
1057
-
1058
- updateLendingPoolWithdrawalConfiguration(
1059
- lendingPool: string,
1060
- withdrawalConfiguration: LendingPoolWithdrawalConfigurationStruct,
1061
- overrides?: Overrides & { from?: string }
1062
- ): Promise<ContractTransaction>;
1063
-
1064
- updateMaximumDepositAmount(
1065
- lendingPool: string,
1066
- tranche: string,
1067
- maximumDepositAmount: BigNumberish,
1068
- overrides?: Overrides & { from?: string }
1069
- ): Promise<ContractTransaction>;
1070
-
1071
- updateMinimumDepositAmount(
1072
- lendingPool: string,
1073
- tranche: string,
1074
- minimumDepositAmount: BigNumberish,
1075
- overrides?: Overrides & { from?: string }
1076
- ): Promise<ContractTransaction>;
1077
-
1078
- updateMinimumExcessLiquidityPercentage(
1079
- lendingPool: string,
1080
- minimumExcessLiquidityPercentage: BigNumberish,
1081
- overrides?: Overrides & { from?: string }
1082
- ): Promise<ContractTransaction>;
1083
-
1084
- updateTargetExcessLiquidityPercentage(
1085
- lendingPool: string,
1086
- targetExcessLiquidityPercentage: BigNumberish,
1087
- overrides?: Overrides & { from?: string }
1088
- ): Promise<ContractTransaction>;
1089
-
1090
- updateTrancheDesiredRatios(
1091
- lendingPool: string,
1092
- desiredRatios: BigNumberish[],
1093
- overrides?: Overrides & { from?: string }
1094
- ): Promise<ContractTransaction>;
1095
-
1096
- updateTrancheInterestRate(
1097
- lendingPool: string,
1098
- tranche: string,
1099
- interestRate: BigNumberish,
1100
- overrides?: Overrides & { from?: string }
1101
- ): Promise<ContractTransaction>;
1102
-
1103
- updateTrancheInterestRateChangeEpochDelay(
1104
- lendingPool: string,
1105
- epochDelay: BigNumberish,
1106
- overrides?: Overrides & { from?: string }
1107
- ): Promise<ContractTransaction>;
1108
-
1109
- withdrawFirstLossCapital(
1110
- lendingPool: string,
1111
- withdrawAmount: BigNumberish,
1112
- withdrawAddress: string,
1113
- overrides?: Overrides & { from?: string }
1114
- ): Promise<ContractTransaction>;
1115
-
1116
- callStatic: {
1117
- addLendingPoolTrancheFixedTermDeposit(
1118
- lendingPool: string,
1119
- tranche: string,
1120
- epochLockDuration: BigNumberish,
1121
- epochInterestRate: BigNumberish,
1122
- whitelistedOnly: boolean,
1123
- overrides?: CallOverrides
1124
- ): Promise<BigNumber>;
1125
-
1126
- batchForceWithdrawals(
1127
- lendingPool: string,
1128
- input: ForceWithdrawalInputStruct[],
1129
- overrides?: CallOverrides
1130
- ): Promise<BigNumber[]>;
1131
-
1132
- cancelDepositRequest(
1133
- lendingPool: string,
1134
- dNftID: BigNumberish,
1135
- overrides?: CallOverrides
1136
- ): Promise<void>;
1137
-
1138
- cancelFixedTermDepositWithdrawalRequest(
1139
- lendingPool: string,
1140
- fixedTermDepositId: BigNumberish,
1141
- overrides?: CallOverrides
1142
- ): Promise<void>;
1143
-
1144
- cancelWithdrawalRequest(
1145
- lendingPool: string,
1146
- wNftID: BigNumberish,
1147
- overrides?: CallOverrides
1148
- ): Promise<void>;
1149
-
1150
- claimRepaidLoss(
1151
- lendingPool: string,
1152
- tranche: string,
1153
- lossId: BigNumberish,
1154
- overrides?: CallOverrides
1155
- ): Promise<BigNumber>;
1156
-
1157
- createPool(
1158
- createPoolConfig: CreatePoolConfigStruct,
1159
- overrides?: CallOverrides
1160
- ): Promise<LendingPoolDeploymentStructOutput>;
1161
-
1162
- depositFirstLossCapital(
1163
- lendingPool: string,
1164
- amount: BigNumberish,
1165
- overrides?: CallOverrides
1166
- ): Promise<void>;
1167
-
1168
- doClearing(
1169
- lendingPool: string,
1170
- targetEpoch: BigNumberish,
1171
- fixedTermDepositBatchSize: BigNumberish,
1172
- priorityCalculationBatchSize: BigNumberish,
1173
- acceptRequestsBatchSize: BigNumberish,
1174
- clearingConfigOverride: ClearingConfigurationStruct,
1175
- isConfigOverridden: boolean,
1176
- overrides?: CallOverrides
1177
- ): Promise<void>;
1178
-
1179
- endFixedTermDeposit(
1180
- lendingPool: string,
1181
- fixedTermDepositId: BigNumberish,
1182
- arrayIndex: BigNumberish,
1183
- overrides?: CallOverrides
1184
- ): Promise<void>;
1185
-
1186
- forceCancelDepositRequest(
1187
- lendingPool: string,
1188
- dNftID: BigNumberish,
1189
- overrides?: CallOverrides
1190
- ): Promise<void>;
1191
-
1192
- forceCancelWithdrawalRequest(
1193
- lendingPool: string,
1194
- wNftID: BigNumberish,
1195
- overrides?: CallOverrides
1196
- ): Promise<void>;
1197
-
1198
- forceImmediateWithdrawal(
1199
- lendingPool: string,
1200
- tranche: string,
1201
- user: string,
1202
- sharesToWithdraw: BigNumberish,
1203
- overrides?: CallOverrides
1204
- ): Promise<BigNumber>;
1205
-
1206
- initialize(
1207
- lendingPoolFactory_: string,
1208
- kasuAllowList_: string,
1209
- userManager_: string,
1210
- clearingCoordinator_: string,
1211
- overrides?: CallOverrides
1212
- ): Promise<void>;
1213
-
1214
- isLendingPool(
1215
- lendingPool: string,
1216
- overrides?: CallOverrides
1217
- ): Promise<boolean>;
1218
-
1219
- lendingPools(
1220
- arg0: string,
1221
- overrides?: CallOverrides
1222
- ): Promise<[string, string] & { lendingPool: string; pendingPool: string }>;
1223
-
1224
- lockDepositForFixedTerm(
1225
- lendingPool: string,
1226
- tranche: string,
1227
- amount: BigNumberish,
1228
- fixedTermConfigId: BigNumberish,
1229
- overrides?: CallOverrides
1230
- ): Promise<void>;
1231
-
1232
- repayLoss(
1233
- lendingPool: string,
1234
- tranche: string,
1235
- lossId: BigNumberish,
1236
- amount: BigNumberish,
1237
- overrides?: CallOverrides
1238
- ): Promise<void>;
1239
-
1240
- repayOwedFunds(
1241
- lendingPool: string,
1242
- amount: BigNumberish,
1243
- repaymentAddress: string,
1244
- overrides?: CallOverrides
1245
- ): Promise<void>;
1246
-
1247
- reportLoss(
1248
- lendingPool: string,
1249
- amount: BigNumberish,
1250
- doMintLossTokens: boolean,
1251
- overrides?: CallOverrides
1252
- ): Promise<BigNumber>;
1253
-
1254
- requestDeposit(
1255
- lendingPool: string,
1256
- tranche: string,
1257
- maxAmount: BigNumberish,
1258
- swapData: BytesLike,
1259
- fixedTermConfigId: BigNumberish,
1260
- depositData: BytesLike,
1261
- overrides?: CallOverrides
1262
- ): Promise<BigNumber>;
1263
-
1264
- requestDepositWithKyc(
1265
- lendingPool: string,
1266
- tranche: string,
1267
- maxAmount: BigNumberish,
1268
- swapData: BytesLike,
1269
- fixedTermConfigId: BigNumberish,
1270
- depositData: BytesLike,
1271
- kycData: KycDataStruct,
1272
- overrides?: CallOverrides
1273
- ): Promise<BigNumber>;
1274
-
1275
- requestFixedTermDepositWithdrawal(
1276
- lendingPool: string,
1277
- fixedTermDepositId: BigNumberish,
1278
- overrides?: CallOverrides
1279
- ): Promise<void>;
1280
-
1281
- requestWithdrawal(
1282
- lendingPool: string,
1283
- tranche: string,
1284
- amount: BigNumberish,
1285
- overrides?: CallOverrides
1286
- ): Promise<BigNumber>;
1287
-
1288
- stopLendingPool(
1289
- lendingPool: string,
1290
- overrides?: CallOverrides
1291
- ): Promise<void>;
1292
-
1293
- updateDesiredDrawAmount(
1294
- lendingPool: string,
1295
- amount: BigNumberish,
1296
- overrides?: CallOverrides
1297
- ): Promise<void>;
1298
-
1299
- updateDrawRecipient(
1300
- lendingPool: string,
1301
- drawRecipient: string,
1302
- overrides?: CallOverrides
1303
- ): Promise<void>;
1304
-
1305
- updateFixedTermDepositAllowlist(
1306
- lendingPool: string,
1307
- configId: BigNumberish,
1308
- users: string[],
1309
- isAllowedList: boolean[],
1310
- overrides?: CallOverrides
1311
- ): Promise<void>;
1312
-
1313
- updateLendingPoolTrancheFixedInterestStatus(
1314
- lendingPool: string,
1315
- fixedTermConfigId: BigNumberish,
1316
- fixedTermDepositStatus: BigNumberish,
1317
- overrides?: CallOverrides
1318
- ): Promise<void>;
1319
-
1320
- updateLendingPoolWithdrawalConfiguration(
1321
- lendingPool: string,
1322
- withdrawalConfiguration: LendingPoolWithdrawalConfigurationStruct,
1323
- overrides?: CallOverrides
1324
- ): Promise<void>;
1325
-
1326
- updateMaximumDepositAmount(
1327
- lendingPool: string,
1328
- tranche: string,
1329
- maximumDepositAmount: BigNumberish,
1330
- overrides?: CallOverrides
1331
- ): Promise<void>;
1332
-
1333
- updateMinimumDepositAmount(
1334
- lendingPool: string,
1335
- tranche: string,
1336
- minimumDepositAmount: BigNumberish,
1337
- overrides?: CallOverrides
1338
- ): Promise<void>;
1339
-
1340
- updateMinimumExcessLiquidityPercentage(
1341
- lendingPool: string,
1342
- minimumExcessLiquidityPercentage: BigNumberish,
1343
- overrides?: CallOverrides
1344
- ): Promise<void>;
1345
-
1346
- updateTargetExcessLiquidityPercentage(
1347
- lendingPool: string,
1348
- targetExcessLiquidityPercentage: BigNumberish,
1349
- overrides?: CallOverrides
1350
- ): Promise<void>;
1351
-
1352
- updateTrancheDesiredRatios(
1353
- lendingPool: string,
1354
- desiredRatios: BigNumberish[],
1355
- overrides?: CallOverrides
1356
- ): Promise<void>;
1357
-
1358
- updateTrancheInterestRate(
1359
- lendingPool: string,
1360
- tranche: string,
1361
- interestRate: BigNumberish,
1362
- overrides?: CallOverrides
1363
- ): Promise<void>;
1364
-
1365
- updateTrancheInterestRateChangeEpochDelay(
1366
- lendingPool: string,
1367
- epochDelay: BigNumberish,
1368
- overrides?: CallOverrides
1369
- ): Promise<void>;
1370
-
1371
- withdrawFirstLossCapital(
1372
- lendingPool: string,
1373
- withdrawAmount: BigNumberish,
1374
- withdrawAddress: string,
1375
- overrides?: CallOverrides
1376
- ): Promise<void>;
1377
- };
1378
-
1379
- filters: {
1380
- "DepositDataAdded(address,uint256,bytes)"(
1381
- lendingPool?: string | null,
1382
- dNftID?: BigNumberish | null,
1383
- data?: null
1384
- ): DepositDataAddedEventFilter;
1385
- DepositDataAdded(
1386
- lendingPool?: string | null,
1387
- dNftID?: BigNumberish | null,
1388
- data?: null
1389
- ): DepositDataAddedEventFilter;
1390
-
1391
- "Initialized(uint64)"(version?: null): InitializedEventFilter;
1392
- Initialized(version?: null): InitializedEventFilter;
1393
- };
1394
-
1395
- estimateGas: {
1396
- addLendingPoolTrancheFixedTermDeposit(
1397
- lendingPool: string,
1398
- tranche: string,
1399
- epochLockDuration: BigNumberish,
1400
- epochInterestRate: BigNumberish,
1401
- whitelistedOnly: boolean,
1402
- overrides?: Overrides & { from?: string }
1403
- ): Promise<BigNumber>;
1404
-
1405
- batchForceWithdrawals(
1406
- lendingPool: string,
1407
- input: ForceWithdrawalInputStruct[],
1408
- overrides?: Overrides & { from?: string }
1409
- ): Promise<BigNumber>;
1410
-
1411
- cancelDepositRequest(
1412
- lendingPool: string,
1413
- dNftID: BigNumberish,
1414
- overrides?: Overrides & { from?: string }
1415
- ): Promise<BigNumber>;
1416
-
1417
- cancelFixedTermDepositWithdrawalRequest(
1418
- lendingPool: string,
1419
- fixedTermDepositId: BigNumberish,
1420
- overrides?: Overrides & { from?: string }
1421
- ): Promise<BigNumber>;
1422
-
1423
- cancelWithdrawalRequest(
1424
- lendingPool: string,
1425
- wNftID: BigNumberish,
1426
- overrides?: Overrides & { from?: string }
1427
- ): Promise<BigNumber>;
1428
-
1429
- claimRepaidLoss(
1430
- lendingPool: string,
1431
- tranche: string,
1432
- lossId: BigNumberish,
1433
- overrides?: Overrides & { from?: string }
1434
- ): Promise<BigNumber>;
1435
-
1436
- createPool(
1437
- createPoolConfig: CreatePoolConfigStruct,
1438
- overrides?: Overrides & { from?: string }
1439
- ): Promise<BigNumber>;
1440
-
1441
- depositFirstLossCapital(
1442
- lendingPool: string,
1443
- amount: BigNumberish,
1444
- overrides?: Overrides & { from?: string }
1445
- ): Promise<BigNumber>;
1446
-
1447
- doClearing(
1448
- lendingPool: string,
1449
- targetEpoch: BigNumberish,
1450
- fixedTermDepositBatchSize: BigNumberish,
1451
- priorityCalculationBatchSize: BigNumberish,
1452
- acceptRequestsBatchSize: BigNumberish,
1453
- clearingConfigOverride: ClearingConfigurationStruct,
1454
- isConfigOverridden: boolean,
1455
- overrides?: Overrides & { from?: string }
1456
- ): Promise<BigNumber>;
1457
-
1458
- endFixedTermDeposit(
1459
- lendingPool: string,
1460
- fixedTermDepositId: BigNumberish,
1461
- arrayIndex: BigNumberish,
1462
- overrides?: Overrides & { from?: string }
1463
- ): Promise<BigNumber>;
1464
-
1465
- forceCancelDepositRequest(
1466
- lendingPool: string,
1467
- dNftID: BigNumberish,
1468
- overrides?: Overrides & { from?: string }
1469
- ): Promise<BigNumber>;
1470
-
1471
- forceCancelWithdrawalRequest(
1472
- lendingPool: string,
1473
- wNftID: BigNumberish,
1474
- overrides?: Overrides & { from?: string }
1475
- ): Promise<BigNumber>;
1476
-
1477
- forceImmediateWithdrawal(
1478
- lendingPool: string,
1479
- tranche: string,
1480
- user: string,
1481
- sharesToWithdraw: BigNumberish,
1482
- overrides?: Overrides & { from?: string }
1483
- ): Promise<BigNumber>;
1484
-
1485
- initialize(
1486
- lendingPoolFactory_: string,
1487
- kasuAllowList_: string,
1488
- userManager_: string,
1489
- clearingCoordinator_: string,
1490
- overrides?: Overrides & { from?: string }
1491
- ): Promise<BigNumber>;
1492
-
1493
- isLendingPool(
1494
- lendingPool: string,
1495
- overrides?: CallOverrides
1496
- ): Promise<BigNumber>;
1497
-
1498
- lendingPools(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
1499
-
1500
- lockDepositForFixedTerm(
1501
- lendingPool: string,
1502
- tranche: string,
1503
- amount: BigNumberish,
1504
- fixedTermConfigId: BigNumberish,
1505
- overrides?: Overrides & { from?: string }
1506
- ): Promise<BigNumber>;
1507
-
1508
- repayLoss(
1509
- lendingPool: string,
1510
- tranche: string,
1511
- lossId: BigNumberish,
1512
- amount: BigNumberish,
1513
- overrides?: Overrides & { from?: string }
1514
- ): Promise<BigNumber>;
1515
-
1516
- repayOwedFunds(
1517
- lendingPool: string,
1518
- amount: BigNumberish,
1519
- repaymentAddress: string,
1520
- overrides?: Overrides & { from?: string }
1521
- ): Promise<BigNumber>;
1522
-
1523
- reportLoss(
1524
- lendingPool: string,
1525
- amount: BigNumberish,
1526
- doMintLossTokens: boolean,
1527
- overrides?: Overrides & { from?: string }
1528
- ): Promise<BigNumber>;
1529
-
1530
- requestDeposit(
1531
- lendingPool: string,
1532
- tranche: string,
1533
- maxAmount: BigNumberish,
1534
- swapData: BytesLike,
1535
- fixedTermConfigId: BigNumberish,
1536
- depositData: BytesLike,
1537
- overrides?: PayableOverrides & { from?: string }
1538
- ): Promise<BigNumber>;
1539
-
1540
- requestDepositWithKyc(
1541
- lendingPool: string,
1542
- tranche: string,
1543
- maxAmount: BigNumberish,
1544
- swapData: BytesLike,
1545
- fixedTermConfigId: BigNumberish,
1546
- depositData: BytesLike,
1547
- kycData: KycDataStruct,
1548
- overrides?: PayableOverrides & { from?: string }
1549
- ): Promise<BigNumber>;
1550
-
1551
- requestFixedTermDepositWithdrawal(
1552
- lendingPool: string,
1553
- fixedTermDepositId: BigNumberish,
1554
- overrides?: Overrides & { from?: string }
1555
- ): Promise<BigNumber>;
1556
-
1557
- requestWithdrawal(
1558
- lendingPool: string,
1559
- tranche: string,
1560
- amount: BigNumberish,
1561
- overrides?: Overrides & { from?: string }
1562
- ): Promise<BigNumber>;
1563
-
1564
- stopLendingPool(
1565
- lendingPool: string,
1566
- overrides?: Overrides & { from?: string }
1567
- ): Promise<BigNumber>;
1568
-
1569
- updateDesiredDrawAmount(
1570
- lendingPool: string,
1571
- amount: BigNumberish,
1572
- overrides?: Overrides & { from?: string }
1573
- ): Promise<BigNumber>;
1574
-
1575
- updateDrawRecipient(
1576
- lendingPool: string,
1577
- drawRecipient: string,
1578
- overrides?: Overrides & { from?: string }
1579
- ): Promise<BigNumber>;
1580
-
1581
- updateFixedTermDepositAllowlist(
1582
- lendingPool: string,
1583
- configId: BigNumberish,
1584
- users: string[],
1585
- isAllowedList: boolean[],
1586
- overrides?: Overrides & { from?: string }
1587
- ): Promise<BigNumber>;
1588
-
1589
- updateLendingPoolTrancheFixedInterestStatus(
1590
- lendingPool: string,
1591
- fixedTermConfigId: BigNumberish,
1592
- fixedTermDepositStatus: BigNumberish,
1593
- overrides?: Overrides & { from?: string }
1594
- ): Promise<BigNumber>;
1595
-
1596
- updateLendingPoolWithdrawalConfiguration(
1597
- lendingPool: string,
1598
- withdrawalConfiguration: LendingPoolWithdrawalConfigurationStruct,
1599
- overrides?: Overrides & { from?: string }
1600
- ): Promise<BigNumber>;
1601
-
1602
- updateMaximumDepositAmount(
1603
- lendingPool: string,
1604
- tranche: string,
1605
- maximumDepositAmount: BigNumberish,
1606
- overrides?: Overrides & { from?: string }
1607
- ): Promise<BigNumber>;
1608
-
1609
- updateMinimumDepositAmount(
1610
- lendingPool: string,
1611
- tranche: string,
1612
- minimumDepositAmount: BigNumberish,
1613
- overrides?: Overrides & { from?: string }
1614
- ): Promise<BigNumber>;
1615
-
1616
- updateMinimumExcessLiquidityPercentage(
1617
- lendingPool: string,
1618
- minimumExcessLiquidityPercentage: BigNumberish,
1619
- overrides?: Overrides & { from?: string }
1620
- ): Promise<BigNumber>;
1621
-
1622
- updateTargetExcessLiquidityPercentage(
1623
- lendingPool: string,
1624
- targetExcessLiquidityPercentage: BigNumberish,
1625
- overrides?: Overrides & { from?: string }
1626
- ): Promise<BigNumber>;
1627
-
1628
- updateTrancheDesiredRatios(
1629
- lendingPool: string,
1630
- desiredRatios: BigNumberish[],
1631
- overrides?: Overrides & { from?: string }
1632
- ): Promise<BigNumber>;
1633
-
1634
- updateTrancheInterestRate(
1635
- lendingPool: string,
1636
- tranche: string,
1637
- interestRate: BigNumberish,
1638
- overrides?: Overrides & { from?: string }
1639
- ): Promise<BigNumber>;
1640
-
1641
- updateTrancheInterestRateChangeEpochDelay(
1642
- lendingPool: string,
1643
- epochDelay: BigNumberish,
1644
- overrides?: Overrides & { from?: string }
1645
- ): Promise<BigNumber>;
1646
-
1647
- withdrawFirstLossCapital(
1648
- lendingPool: string,
1649
- withdrawAmount: BigNumberish,
1650
- withdrawAddress: string,
1651
- overrides?: Overrides & { from?: string }
1652
- ): Promise<BigNumber>;
1653
- };
1654
-
1655
- populateTransaction: {
1656
- addLendingPoolTrancheFixedTermDeposit(
1657
- lendingPool: string,
1658
- tranche: string,
1659
- epochLockDuration: BigNumberish,
1660
- epochInterestRate: BigNumberish,
1661
- whitelistedOnly: boolean,
1662
- overrides?: Overrides & { from?: string }
1663
- ): Promise<PopulatedTransaction>;
1664
-
1665
- batchForceWithdrawals(
1666
- lendingPool: string,
1667
- input: ForceWithdrawalInputStruct[],
1668
- overrides?: Overrides & { from?: string }
1669
- ): Promise<PopulatedTransaction>;
1670
-
1671
- cancelDepositRequest(
1672
- lendingPool: string,
1673
- dNftID: BigNumberish,
1674
- overrides?: Overrides & { from?: string }
1675
- ): Promise<PopulatedTransaction>;
1676
-
1677
- cancelFixedTermDepositWithdrawalRequest(
1678
- lendingPool: string,
1679
- fixedTermDepositId: BigNumberish,
1680
- overrides?: Overrides & { from?: string }
1681
- ): Promise<PopulatedTransaction>;
1682
-
1683
- cancelWithdrawalRequest(
1684
- lendingPool: string,
1685
- wNftID: BigNumberish,
1686
- overrides?: Overrides & { from?: string }
1687
- ): Promise<PopulatedTransaction>;
1688
-
1689
- claimRepaidLoss(
1690
- lendingPool: string,
1691
- tranche: string,
1692
- lossId: BigNumberish,
1693
- overrides?: Overrides & { from?: string }
1694
- ): Promise<PopulatedTransaction>;
1695
-
1696
- createPool(
1697
- createPoolConfig: CreatePoolConfigStruct,
1698
- overrides?: Overrides & { from?: string }
1699
- ): Promise<PopulatedTransaction>;
1700
-
1701
- depositFirstLossCapital(
1702
- lendingPool: string,
1703
- amount: BigNumberish,
1704
- overrides?: Overrides & { from?: string }
1705
- ): Promise<PopulatedTransaction>;
1706
-
1707
- doClearing(
1708
- lendingPool: string,
1709
- targetEpoch: BigNumberish,
1710
- fixedTermDepositBatchSize: BigNumberish,
1711
- priorityCalculationBatchSize: BigNumberish,
1712
- acceptRequestsBatchSize: BigNumberish,
1713
- clearingConfigOverride: ClearingConfigurationStruct,
1714
- isConfigOverridden: boolean,
1715
- overrides?: Overrides & { from?: string }
1716
- ): Promise<PopulatedTransaction>;
1717
-
1718
- endFixedTermDeposit(
1719
- lendingPool: string,
1720
- fixedTermDepositId: BigNumberish,
1721
- arrayIndex: BigNumberish,
1722
- overrides?: Overrides & { from?: string }
1723
- ): Promise<PopulatedTransaction>;
1724
-
1725
- forceCancelDepositRequest(
1726
- lendingPool: string,
1727
- dNftID: BigNumberish,
1728
- overrides?: Overrides & { from?: string }
1729
- ): Promise<PopulatedTransaction>;
1730
-
1731
- forceCancelWithdrawalRequest(
1732
- lendingPool: string,
1733
- wNftID: BigNumberish,
1734
- overrides?: Overrides & { from?: string }
1735
- ): Promise<PopulatedTransaction>;
1736
-
1737
- forceImmediateWithdrawal(
1738
- lendingPool: string,
1739
- tranche: string,
1740
- user: string,
1741
- sharesToWithdraw: BigNumberish,
1742
- overrides?: Overrides & { from?: string }
1743
- ): Promise<PopulatedTransaction>;
1744
-
1745
- initialize(
1746
- lendingPoolFactory_: string,
1747
- kasuAllowList_: string,
1748
- userManager_: string,
1749
- clearingCoordinator_: string,
1750
- overrides?: Overrides & { from?: string }
1751
- ): Promise<PopulatedTransaction>;
1752
-
1753
- isLendingPool(
1754
- lendingPool: string,
1755
- overrides?: CallOverrides
1756
- ): Promise<PopulatedTransaction>;
1757
-
1758
- lendingPools(
1759
- arg0: string,
1760
- overrides?: CallOverrides
1761
- ): Promise<PopulatedTransaction>;
1762
-
1763
- lockDepositForFixedTerm(
1764
- lendingPool: string,
1765
- tranche: string,
1766
- amount: BigNumberish,
1767
- fixedTermConfigId: BigNumberish,
1768
- overrides?: Overrides & { from?: string }
1769
- ): Promise<PopulatedTransaction>;
1770
-
1771
- repayLoss(
1772
- lendingPool: string,
1773
- tranche: string,
1774
- lossId: BigNumberish,
1775
- amount: BigNumberish,
1776
- overrides?: Overrides & { from?: string }
1777
- ): Promise<PopulatedTransaction>;
1778
-
1779
- repayOwedFunds(
1780
- lendingPool: string,
1781
- amount: BigNumberish,
1782
- repaymentAddress: string,
1783
- overrides?: Overrides & { from?: string }
1784
- ): Promise<PopulatedTransaction>;
1785
-
1786
- reportLoss(
1787
- lendingPool: string,
1788
- amount: BigNumberish,
1789
- doMintLossTokens: boolean,
1790
- overrides?: Overrides & { from?: string }
1791
- ): Promise<PopulatedTransaction>;
1792
-
1793
- requestDeposit(
1794
- lendingPool: string,
1795
- tranche: string,
1796
- maxAmount: BigNumberish,
1797
- swapData: BytesLike,
1798
- fixedTermConfigId: BigNumberish,
1799
- depositData: BytesLike,
1800
- overrides?: PayableOverrides & { from?: string }
1801
- ): Promise<PopulatedTransaction>;
1802
-
1803
- requestDepositWithKyc(
1804
- lendingPool: string,
1805
- tranche: string,
1806
- maxAmount: BigNumberish,
1807
- swapData: BytesLike,
1808
- fixedTermConfigId: BigNumberish,
1809
- depositData: BytesLike,
1810
- kycData: KycDataStruct,
1811
- overrides?: PayableOverrides & { from?: string }
1812
- ): Promise<PopulatedTransaction>;
1813
-
1814
- requestFixedTermDepositWithdrawal(
1815
- lendingPool: string,
1816
- fixedTermDepositId: BigNumberish,
1817
- overrides?: Overrides & { from?: string }
1818
- ): Promise<PopulatedTransaction>;
1819
-
1820
- requestWithdrawal(
1821
- lendingPool: string,
1822
- tranche: string,
1823
- amount: BigNumberish,
1824
- overrides?: Overrides & { from?: string }
1825
- ): Promise<PopulatedTransaction>;
1826
-
1827
- stopLendingPool(
1828
- lendingPool: string,
1829
- overrides?: Overrides & { from?: string }
1830
- ): Promise<PopulatedTransaction>;
1831
-
1832
- updateDesiredDrawAmount(
1833
- lendingPool: string,
1834
- amount: BigNumberish,
1835
- overrides?: Overrides & { from?: string }
1836
- ): Promise<PopulatedTransaction>;
1837
-
1838
- updateDrawRecipient(
1839
- lendingPool: string,
1840
- drawRecipient: string,
1841
- overrides?: Overrides & { from?: string }
1842
- ): Promise<PopulatedTransaction>;
1843
-
1844
- updateFixedTermDepositAllowlist(
1845
- lendingPool: string,
1846
- configId: BigNumberish,
1847
- users: string[],
1848
- isAllowedList: boolean[],
1849
- overrides?: Overrides & { from?: string }
1850
- ): Promise<PopulatedTransaction>;
1851
-
1852
- updateLendingPoolTrancheFixedInterestStatus(
1853
- lendingPool: string,
1854
- fixedTermConfigId: BigNumberish,
1855
- fixedTermDepositStatus: BigNumberish,
1856
- overrides?: Overrides & { from?: string }
1857
- ): Promise<PopulatedTransaction>;
1858
-
1859
- updateLendingPoolWithdrawalConfiguration(
1860
- lendingPool: string,
1861
- withdrawalConfiguration: LendingPoolWithdrawalConfigurationStruct,
1862
- overrides?: Overrides & { from?: string }
1863
- ): Promise<PopulatedTransaction>;
1864
-
1865
- updateMaximumDepositAmount(
1866
- lendingPool: string,
1867
- tranche: string,
1868
- maximumDepositAmount: BigNumberish,
1869
- overrides?: Overrides & { from?: string }
1870
- ): Promise<PopulatedTransaction>;
1871
-
1872
- updateMinimumDepositAmount(
1873
- lendingPool: string,
1874
- tranche: string,
1875
- minimumDepositAmount: BigNumberish,
1876
- overrides?: Overrides & { from?: string }
1877
- ): Promise<PopulatedTransaction>;
1878
-
1879
- updateMinimumExcessLiquidityPercentage(
1880
- lendingPool: string,
1881
- minimumExcessLiquidityPercentage: BigNumberish,
1882
- overrides?: Overrides & { from?: string }
1883
- ): Promise<PopulatedTransaction>;
1884
-
1885
- updateTargetExcessLiquidityPercentage(
1886
- lendingPool: string,
1887
- targetExcessLiquidityPercentage: BigNumberish,
1888
- overrides?: Overrides & { from?: string }
1889
- ): Promise<PopulatedTransaction>;
1890
-
1891
- updateTrancheDesiredRatios(
1892
- lendingPool: string,
1893
- desiredRatios: BigNumberish[],
1894
- overrides?: Overrides & { from?: string }
1895
- ): Promise<PopulatedTransaction>;
1896
-
1897
- updateTrancheInterestRate(
1898
- lendingPool: string,
1899
- tranche: string,
1900
- interestRate: BigNumberish,
1901
- overrides?: Overrides & { from?: string }
1902
- ): Promise<PopulatedTransaction>;
1903
-
1904
- updateTrancheInterestRateChangeEpochDelay(
1905
- lendingPool: string,
1906
- epochDelay: BigNumberish,
1907
- overrides?: Overrides & { from?: string }
1908
- ): Promise<PopulatedTransaction>;
1909
-
1910
- withdrawFirstLossCapital(
1911
- lendingPool: string,
1912
- withdrawAmount: BigNumberish,
1913
- withdrawAddress: string,
1914
- overrides?: Overrides & { from?: string }
1915
- ): Promise<PopulatedTransaction>;
1916
- };
1917
- }