@kasufinance/kasu-sdk 1.0.2 → 1.0.3

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 (40) hide show
  1. package/package.json +1 -1
  2. package/src/contracts/IClearingCoordinatorAbi.ts +406 -0
  3. package/src/contracts/IERC20MetadataAbi.ts +364 -0
  4. package/src/contracts/IFeeManagerAbi.ts +182 -0
  5. package/src/contracts/IKSULockingAbi.ts +965 -0
  6. package/src/contracts/IKasuAllowListAbi.ts +605 -0
  7. package/src/contracts/IKasuControllerAbi.ts +703 -0
  8. package/src/contracts/IKasuNFTsAbi.ts +2744 -0
  9. package/src/contracts/IKsuPriceAbi.ts +87 -0
  10. package/src/contracts/ILendingPoolAbi.ts +2081 -0
  11. package/src/contracts/ILendingPoolFactoryAbi.ts +161 -0
  12. package/src/contracts/ILendingPoolManagerAbi.ts +1917 -0
  13. package/src/contracts/ILendingPoolTrancheAbi.ts +1911 -0
  14. package/src/contracts/ISystemVariablesAbi.ts +908 -0
  15. package/src/contracts/IUserLoyaltyRewardsAbi.ts +544 -0
  16. package/src/contracts/IUserManagerAbi.ts +612 -0
  17. package/src/contracts/KSULockBonusAbi.ts +124 -0
  18. package/src/contracts/KasuPoolExternalTVLAbi.ts +1071 -0
  19. package/src/contracts/SwapperAbi.ts +266 -0
  20. package/src/contracts/common.ts +44 -0
  21. package/src/contracts/factories/IClearingCoordinatorAbi__factory.ts +438 -0
  22. package/src/contracts/factories/IERC20MetadataAbi__factory.ts +248 -0
  23. package/src/contracts/factories/IFeeManagerAbi__factory.ts +90 -0
  24. package/src/contracts/factories/IKSULockingAbi__factory.ts +778 -0
  25. package/src/contracts/factories/IKasuAllowListAbi__factory.ts +479 -0
  26. package/src/contracts/factories/IKasuControllerAbi__factory.ts +447 -0
  27. package/src/contracts/factories/IKasuNFTsAbi__factory.ts +2116 -0
  28. package/src/contracts/factories/IKsuPriceAbi__factory.ts +36 -0
  29. package/src/contracts/factories/ILendingPoolAbi__factory.ts +1455 -0
  30. package/src/contracts/factories/ILendingPoolFactoryAbi__factory.ts +125 -0
  31. package/src/contracts/factories/ILendingPoolManagerAbi__factory.ts +1375 -0
  32. package/src/contracts/factories/ILendingPoolTrancheAbi__factory.ts +1345 -0
  33. package/src/contracts/factories/ISystemVariablesAbi__factory.ts +455 -0
  34. package/src/contracts/factories/IUserLoyaltyRewardsAbi__factory.ts +316 -0
  35. package/src/contracts/factories/IUserManagerAbi__factory.ts +345 -0
  36. package/src/contracts/factories/KSULockBonusAbi__factory.ts +115 -0
  37. package/src/contracts/factories/KasuPoolExternalTVLAbi__factory.ts +840 -0
  38. package/src/contracts/factories/SwapperAbi__factory.ts +167 -0
  39. package/src/contracts/factories/index.ts +21 -0
  40. package/src/contracts/index.ts +40 -0
@@ -0,0 +1,703 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumber,
7
+ BytesLike,
8
+ CallOverrides,
9
+ ContractTransaction,
10
+ Overrides,
11
+ PopulatedTransaction,
12
+ Signer,
13
+ utils,
14
+ } from "ethers";
15
+ import type {
16
+ FunctionFragment,
17
+ Result,
18
+ EventFragment,
19
+ } from "@ethersproject/abi";
20
+ import type { Listener, Provider } from "@ethersproject/providers";
21
+ import type {
22
+ TypedEventFilter,
23
+ TypedEvent,
24
+ TypedListener,
25
+ OnEvent,
26
+ } from "./common";
27
+
28
+ export interface IKasuControllerAbiInterface extends utils.Interface {
29
+ functions: {
30
+ "checkIsAdminOrVaultAdmin(address,address)": FunctionFragment;
31
+ "getRoleAdmin(bytes32)": FunctionFragment;
32
+ "grantLendingPoolRole(address,bytes32,address)": FunctionFragment;
33
+ "grantRole(bytes32,address)": FunctionFragment;
34
+ "hasLendingPoolRole(address,bytes32,address)": FunctionFragment;
35
+ "hasRole(bytes32,address)": FunctionFragment;
36
+ "pause()": FunctionFragment;
37
+ "paused()": FunctionFragment;
38
+ "renounceRole(bytes32,address)": FunctionFragment;
39
+ "requireNotPaused()": FunctionFragment;
40
+ "requirePaused()": FunctionFragment;
41
+ "revokeLendingPoolRole(address,bytes32,address)": FunctionFragment;
42
+ "revokeRole(bytes32,address)": FunctionFragment;
43
+ "unpause()": FunctionFragment;
44
+ };
45
+
46
+ getFunction(
47
+ nameOrSignatureOrTopic:
48
+ | "checkIsAdminOrVaultAdmin"
49
+ | "getRoleAdmin"
50
+ | "grantLendingPoolRole"
51
+ | "grantRole"
52
+ | "hasLendingPoolRole"
53
+ | "hasRole"
54
+ | "pause"
55
+ | "paused"
56
+ | "renounceRole"
57
+ | "requireNotPaused"
58
+ | "requirePaused"
59
+ | "revokeLendingPoolRole"
60
+ | "revokeRole"
61
+ | "unpause"
62
+ ): FunctionFragment;
63
+
64
+ encodeFunctionData(
65
+ functionFragment: "checkIsAdminOrVaultAdmin",
66
+ values: [string, string]
67
+ ): string;
68
+ encodeFunctionData(
69
+ functionFragment: "getRoleAdmin",
70
+ values: [BytesLike]
71
+ ): string;
72
+ encodeFunctionData(
73
+ functionFragment: "grantLendingPoolRole",
74
+ values: [string, BytesLike, string]
75
+ ): string;
76
+ encodeFunctionData(
77
+ functionFragment: "grantRole",
78
+ values: [BytesLike, string]
79
+ ): string;
80
+ encodeFunctionData(
81
+ functionFragment: "hasLendingPoolRole",
82
+ values: [string, BytesLike, string]
83
+ ): string;
84
+ encodeFunctionData(
85
+ functionFragment: "hasRole",
86
+ values: [BytesLike, string]
87
+ ): string;
88
+ encodeFunctionData(functionFragment: "pause", values?: undefined): string;
89
+ encodeFunctionData(functionFragment: "paused", values?: undefined): string;
90
+ encodeFunctionData(
91
+ functionFragment: "renounceRole",
92
+ values: [BytesLike, string]
93
+ ): string;
94
+ encodeFunctionData(
95
+ functionFragment: "requireNotPaused",
96
+ values?: undefined
97
+ ): string;
98
+ encodeFunctionData(
99
+ functionFragment: "requirePaused",
100
+ values?: undefined
101
+ ): string;
102
+ encodeFunctionData(
103
+ functionFragment: "revokeLendingPoolRole",
104
+ values: [string, BytesLike, string]
105
+ ): string;
106
+ encodeFunctionData(
107
+ functionFragment: "revokeRole",
108
+ values: [BytesLike, string]
109
+ ): string;
110
+ encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
111
+
112
+ decodeFunctionResult(
113
+ functionFragment: "checkIsAdminOrVaultAdmin",
114
+ data: BytesLike
115
+ ): Result;
116
+ decodeFunctionResult(
117
+ functionFragment: "getRoleAdmin",
118
+ data: BytesLike
119
+ ): Result;
120
+ decodeFunctionResult(
121
+ functionFragment: "grantLendingPoolRole",
122
+ data: BytesLike
123
+ ): Result;
124
+ decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
125
+ decodeFunctionResult(
126
+ functionFragment: "hasLendingPoolRole",
127
+ data: BytesLike
128
+ ): Result;
129
+ decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
130
+ decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
131
+ decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
132
+ decodeFunctionResult(
133
+ functionFragment: "renounceRole",
134
+ data: BytesLike
135
+ ): Result;
136
+ decodeFunctionResult(
137
+ functionFragment: "requireNotPaused",
138
+ data: BytesLike
139
+ ): Result;
140
+ decodeFunctionResult(
141
+ functionFragment: "requirePaused",
142
+ data: BytesLike
143
+ ): Result;
144
+ decodeFunctionResult(
145
+ functionFragment: "revokeLendingPoolRole",
146
+ data: BytesLike
147
+ ): Result;
148
+ decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
149
+ decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
150
+
151
+ events: {
152
+ "LendingPoolOwnershipGranted(address,address)": EventFragment;
153
+ "LendingPoolRoleGranted(address,bytes32,address)": EventFragment;
154
+ "LendingPoolRoleRenounced(address,bytes32,address)": EventFragment;
155
+ "LendingPoolRoleRevoked(address,bytes32,address)": EventFragment;
156
+ "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment;
157
+ "RoleGranted(bytes32,address,address)": EventFragment;
158
+ "RoleRevoked(bytes32,address,address)": EventFragment;
159
+ };
160
+
161
+ getEvent(
162
+ nameOrSignatureOrTopic: "LendingPoolOwnershipGranted"
163
+ ): EventFragment;
164
+ getEvent(nameOrSignatureOrTopic: "LendingPoolRoleGranted"): EventFragment;
165
+ getEvent(nameOrSignatureOrTopic: "LendingPoolRoleRenounced"): EventFragment;
166
+ getEvent(nameOrSignatureOrTopic: "LendingPoolRoleRevoked"): EventFragment;
167
+ getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
168
+ getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
169
+ getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
170
+ }
171
+
172
+ export interface LendingPoolOwnershipGrantedEventObject {
173
+ lendingPool: string;
174
+ address_: string;
175
+ }
176
+ export type LendingPoolOwnershipGrantedEvent = TypedEvent<
177
+ [string, string],
178
+ LendingPoolOwnershipGrantedEventObject
179
+ >;
180
+
181
+ export type LendingPoolOwnershipGrantedEventFilter =
182
+ TypedEventFilter<LendingPoolOwnershipGrantedEvent>;
183
+
184
+ export interface LendingPoolRoleGrantedEventObject {
185
+ lendingPool: string;
186
+ role: string;
187
+ account: string;
188
+ }
189
+ export type LendingPoolRoleGrantedEvent = TypedEvent<
190
+ [string, string, string],
191
+ LendingPoolRoleGrantedEventObject
192
+ >;
193
+
194
+ export type LendingPoolRoleGrantedEventFilter =
195
+ TypedEventFilter<LendingPoolRoleGrantedEvent>;
196
+
197
+ export interface LendingPoolRoleRenouncedEventObject {
198
+ lendingPool: string;
199
+ role: string;
200
+ account: string;
201
+ }
202
+ export type LendingPoolRoleRenouncedEvent = TypedEvent<
203
+ [string, string, string],
204
+ LendingPoolRoleRenouncedEventObject
205
+ >;
206
+
207
+ export type LendingPoolRoleRenouncedEventFilter =
208
+ TypedEventFilter<LendingPoolRoleRenouncedEvent>;
209
+
210
+ export interface LendingPoolRoleRevokedEventObject {
211
+ lendingPool: string;
212
+ role: string;
213
+ account: string;
214
+ }
215
+ export type LendingPoolRoleRevokedEvent = TypedEvent<
216
+ [string, string, string],
217
+ LendingPoolRoleRevokedEventObject
218
+ >;
219
+
220
+ export type LendingPoolRoleRevokedEventFilter =
221
+ TypedEventFilter<LendingPoolRoleRevokedEvent>;
222
+
223
+ export interface RoleAdminChangedEventObject {
224
+ role: string;
225
+ previousAdminRole: string;
226
+ newAdminRole: string;
227
+ }
228
+ export type RoleAdminChangedEvent = TypedEvent<
229
+ [string, string, string],
230
+ RoleAdminChangedEventObject
231
+ >;
232
+
233
+ export type RoleAdminChangedEventFilter =
234
+ TypedEventFilter<RoleAdminChangedEvent>;
235
+
236
+ export interface RoleGrantedEventObject {
237
+ role: string;
238
+ account: string;
239
+ sender: string;
240
+ }
241
+ export type RoleGrantedEvent = TypedEvent<
242
+ [string, string, string],
243
+ RoleGrantedEventObject
244
+ >;
245
+
246
+ export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
247
+
248
+ export interface RoleRevokedEventObject {
249
+ role: string;
250
+ account: string;
251
+ sender: string;
252
+ }
253
+ export type RoleRevokedEvent = TypedEvent<
254
+ [string, string, string],
255
+ RoleRevokedEventObject
256
+ >;
257
+
258
+ export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
259
+
260
+ export interface IKasuControllerAbi extends BaseContract {
261
+ connect(signerOrProvider: Signer | Provider | string): this;
262
+ attach(addressOrName: string): this;
263
+ deployed(): Promise<this>;
264
+
265
+ interface: IKasuControllerAbiInterface;
266
+
267
+ queryFilter<TEvent extends TypedEvent>(
268
+ event: TypedEventFilter<TEvent>,
269
+ fromBlockOrBlockhash?: string | number | undefined,
270
+ toBlock?: string | number | undefined
271
+ ): Promise<Array<TEvent>>;
272
+
273
+ listeners<TEvent extends TypedEvent>(
274
+ eventFilter?: TypedEventFilter<TEvent>
275
+ ): Array<TypedListener<TEvent>>;
276
+ listeners(eventName?: string): Array<Listener>;
277
+ removeAllListeners<TEvent extends TypedEvent>(
278
+ eventFilter: TypedEventFilter<TEvent>
279
+ ): this;
280
+ removeAllListeners(eventName?: string): this;
281
+ off: OnEvent<this>;
282
+ on: OnEvent<this>;
283
+ once: OnEvent<this>;
284
+ removeListener: OnEvent<this>;
285
+
286
+ functions: {
287
+ checkIsAdminOrVaultAdmin(
288
+ lendingPool: string,
289
+ account: string,
290
+ overrides?: CallOverrides
291
+ ): Promise<[void]>;
292
+
293
+ getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>;
294
+
295
+ grantLendingPoolRole(
296
+ lendingPool: string,
297
+ role: BytesLike,
298
+ account: string,
299
+ overrides?: Overrides & { from?: string }
300
+ ): Promise<ContractTransaction>;
301
+
302
+ grantRole(
303
+ role: BytesLike,
304
+ account: string,
305
+ overrides?: Overrides & { from?: string }
306
+ ): Promise<ContractTransaction>;
307
+
308
+ hasLendingPoolRole(
309
+ lendingPool: string,
310
+ role: BytesLike,
311
+ account: string,
312
+ overrides?: CallOverrides
313
+ ): Promise<[boolean] & { hasRole: boolean }>;
314
+
315
+ hasRole(
316
+ role: BytesLike,
317
+ account: string,
318
+ overrides?: CallOverrides
319
+ ): Promise<[boolean]>;
320
+
321
+ pause(
322
+ overrides?: Overrides & { from?: string }
323
+ ): Promise<ContractTransaction>;
324
+
325
+ paused(overrides?: CallOverrides): Promise<[boolean]>;
326
+
327
+ renounceRole(
328
+ role: BytesLike,
329
+ callerConfirmation: string,
330
+ overrides?: Overrides & { from?: string }
331
+ ): Promise<ContractTransaction>;
332
+
333
+ requireNotPaused(overrides?: CallOverrides): Promise<[void]>;
334
+
335
+ requirePaused(overrides?: CallOverrides): Promise<[void]>;
336
+
337
+ revokeLendingPoolRole(
338
+ lendingPool: string,
339
+ role: BytesLike,
340
+ account: string,
341
+ overrides?: Overrides & { from?: string }
342
+ ): Promise<ContractTransaction>;
343
+
344
+ revokeRole(
345
+ role: BytesLike,
346
+ account: string,
347
+ overrides?: Overrides & { from?: string }
348
+ ): Promise<ContractTransaction>;
349
+
350
+ unpause(
351
+ overrides?: Overrides & { from?: string }
352
+ ): Promise<ContractTransaction>;
353
+ };
354
+
355
+ checkIsAdminOrVaultAdmin(
356
+ lendingPool: string,
357
+ account: string,
358
+ overrides?: CallOverrides
359
+ ): Promise<void>;
360
+
361
+ getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;
362
+
363
+ grantLendingPoolRole(
364
+ lendingPool: string,
365
+ role: BytesLike,
366
+ account: string,
367
+ overrides?: Overrides & { from?: string }
368
+ ): Promise<ContractTransaction>;
369
+
370
+ grantRole(
371
+ role: BytesLike,
372
+ account: string,
373
+ overrides?: Overrides & { from?: string }
374
+ ): Promise<ContractTransaction>;
375
+
376
+ hasLendingPoolRole(
377
+ lendingPool: string,
378
+ role: BytesLike,
379
+ account: string,
380
+ overrides?: CallOverrides
381
+ ): Promise<boolean>;
382
+
383
+ hasRole(
384
+ role: BytesLike,
385
+ account: string,
386
+ overrides?: CallOverrides
387
+ ): Promise<boolean>;
388
+
389
+ pause(
390
+ overrides?: Overrides & { from?: string }
391
+ ): Promise<ContractTransaction>;
392
+
393
+ paused(overrides?: CallOverrides): Promise<boolean>;
394
+
395
+ renounceRole(
396
+ role: BytesLike,
397
+ callerConfirmation: string,
398
+ overrides?: Overrides & { from?: string }
399
+ ): Promise<ContractTransaction>;
400
+
401
+ requireNotPaused(overrides?: CallOverrides): Promise<void>;
402
+
403
+ requirePaused(overrides?: CallOverrides): Promise<void>;
404
+
405
+ revokeLendingPoolRole(
406
+ lendingPool: string,
407
+ role: BytesLike,
408
+ account: string,
409
+ overrides?: Overrides & { from?: string }
410
+ ): Promise<ContractTransaction>;
411
+
412
+ revokeRole(
413
+ role: BytesLike,
414
+ account: string,
415
+ overrides?: Overrides & { from?: string }
416
+ ): Promise<ContractTransaction>;
417
+
418
+ unpause(
419
+ overrides?: Overrides & { from?: string }
420
+ ): Promise<ContractTransaction>;
421
+
422
+ callStatic: {
423
+ checkIsAdminOrVaultAdmin(
424
+ lendingPool: string,
425
+ account: string,
426
+ overrides?: CallOverrides
427
+ ): Promise<void>;
428
+
429
+ getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;
430
+
431
+ grantLendingPoolRole(
432
+ lendingPool: string,
433
+ role: BytesLike,
434
+ account: string,
435
+ overrides?: CallOverrides
436
+ ): Promise<void>;
437
+
438
+ grantRole(
439
+ role: BytesLike,
440
+ account: string,
441
+ overrides?: CallOverrides
442
+ ): Promise<void>;
443
+
444
+ hasLendingPoolRole(
445
+ lendingPool: string,
446
+ role: BytesLike,
447
+ account: string,
448
+ overrides?: CallOverrides
449
+ ): Promise<boolean>;
450
+
451
+ hasRole(
452
+ role: BytesLike,
453
+ account: string,
454
+ overrides?: CallOverrides
455
+ ): Promise<boolean>;
456
+
457
+ pause(overrides?: CallOverrides): Promise<void>;
458
+
459
+ paused(overrides?: CallOverrides): Promise<boolean>;
460
+
461
+ renounceRole(
462
+ role: BytesLike,
463
+ callerConfirmation: string,
464
+ overrides?: CallOverrides
465
+ ): Promise<void>;
466
+
467
+ requireNotPaused(overrides?: CallOverrides): Promise<void>;
468
+
469
+ requirePaused(overrides?: CallOverrides): Promise<void>;
470
+
471
+ revokeLendingPoolRole(
472
+ lendingPool: string,
473
+ role: BytesLike,
474
+ account: string,
475
+ overrides?: CallOverrides
476
+ ): Promise<void>;
477
+
478
+ revokeRole(
479
+ role: BytesLike,
480
+ account: string,
481
+ overrides?: CallOverrides
482
+ ): Promise<void>;
483
+
484
+ unpause(overrides?: CallOverrides): Promise<void>;
485
+ };
486
+
487
+ filters: {
488
+ "LendingPoolOwnershipGranted(address,address)"(
489
+ lendingPool?: string | null,
490
+ address_?: string | null
491
+ ): LendingPoolOwnershipGrantedEventFilter;
492
+ LendingPoolOwnershipGranted(
493
+ lendingPool?: string | null,
494
+ address_?: string | null
495
+ ): LendingPoolOwnershipGrantedEventFilter;
496
+
497
+ "LendingPoolRoleGranted(address,bytes32,address)"(
498
+ lendingPool?: string | null,
499
+ role?: BytesLike | null,
500
+ account?: string | null
501
+ ): LendingPoolRoleGrantedEventFilter;
502
+ LendingPoolRoleGranted(
503
+ lendingPool?: string | null,
504
+ role?: BytesLike | null,
505
+ account?: string | null
506
+ ): LendingPoolRoleGrantedEventFilter;
507
+
508
+ "LendingPoolRoleRenounced(address,bytes32,address)"(
509
+ lendingPool?: string | null,
510
+ role?: BytesLike | null,
511
+ account?: string | null
512
+ ): LendingPoolRoleRenouncedEventFilter;
513
+ LendingPoolRoleRenounced(
514
+ lendingPool?: string | null,
515
+ role?: BytesLike | null,
516
+ account?: string | null
517
+ ): LendingPoolRoleRenouncedEventFilter;
518
+
519
+ "LendingPoolRoleRevoked(address,bytes32,address)"(
520
+ lendingPool?: string | null,
521
+ role?: BytesLike | null,
522
+ account?: string | null
523
+ ): LendingPoolRoleRevokedEventFilter;
524
+ LendingPoolRoleRevoked(
525
+ lendingPool?: string | null,
526
+ role?: BytesLike | null,
527
+ account?: string | null
528
+ ): LendingPoolRoleRevokedEventFilter;
529
+
530
+ "RoleAdminChanged(bytes32,bytes32,bytes32)"(
531
+ role?: BytesLike | null,
532
+ previousAdminRole?: BytesLike | null,
533
+ newAdminRole?: BytesLike | null
534
+ ): RoleAdminChangedEventFilter;
535
+ RoleAdminChanged(
536
+ role?: BytesLike | null,
537
+ previousAdminRole?: BytesLike | null,
538
+ newAdminRole?: BytesLike | null
539
+ ): RoleAdminChangedEventFilter;
540
+
541
+ "RoleGranted(bytes32,address,address)"(
542
+ role?: BytesLike | null,
543
+ account?: string | null,
544
+ sender?: string | null
545
+ ): RoleGrantedEventFilter;
546
+ RoleGranted(
547
+ role?: BytesLike | null,
548
+ account?: string | null,
549
+ sender?: string | null
550
+ ): RoleGrantedEventFilter;
551
+
552
+ "RoleRevoked(bytes32,address,address)"(
553
+ role?: BytesLike | null,
554
+ account?: string | null,
555
+ sender?: string | null
556
+ ): RoleRevokedEventFilter;
557
+ RoleRevoked(
558
+ role?: BytesLike | null,
559
+ account?: string | null,
560
+ sender?: string | null
561
+ ): RoleRevokedEventFilter;
562
+ };
563
+
564
+ estimateGas: {
565
+ checkIsAdminOrVaultAdmin(
566
+ lendingPool: string,
567
+ account: string,
568
+ overrides?: CallOverrides
569
+ ): Promise<BigNumber>;
570
+
571
+ getRoleAdmin(
572
+ role: BytesLike,
573
+ overrides?: CallOverrides
574
+ ): Promise<BigNumber>;
575
+
576
+ grantLendingPoolRole(
577
+ lendingPool: string,
578
+ role: BytesLike,
579
+ account: string,
580
+ overrides?: Overrides & { from?: string }
581
+ ): Promise<BigNumber>;
582
+
583
+ grantRole(
584
+ role: BytesLike,
585
+ account: string,
586
+ overrides?: Overrides & { from?: string }
587
+ ): Promise<BigNumber>;
588
+
589
+ hasLendingPoolRole(
590
+ lendingPool: string,
591
+ role: BytesLike,
592
+ account: string,
593
+ overrides?: CallOverrides
594
+ ): Promise<BigNumber>;
595
+
596
+ hasRole(
597
+ role: BytesLike,
598
+ account: string,
599
+ overrides?: CallOverrides
600
+ ): Promise<BigNumber>;
601
+
602
+ pause(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
603
+
604
+ paused(overrides?: CallOverrides): Promise<BigNumber>;
605
+
606
+ renounceRole(
607
+ role: BytesLike,
608
+ callerConfirmation: string,
609
+ overrides?: Overrides & { from?: string }
610
+ ): Promise<BigNumber>;
611
+
612
+ requireNotPaused(overrides?: CallOverrides): Promise<BigNumber>;
613
+
614
+ requirePaused(overrides?: CallOverrides): Promise<BigNumber>;
615
+
616
+ revokeLendingPoolRole(
617
+ lendingPool: string,
618
+ role: BytesLike,
619
+ account: string,
620
+ overrides?: Overrides & { from?: string }
621
+ ): Promise<BigNumber>;
622
+
623
+ revokeRole(
624
+ role: BytesLike,
625
+ account: string,
626
+ overrides?: Overrides & { from?: string }
627
+ ): Promise<BigNumber>;
628
+
629
+ unpause(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
630
+ };
631
+
632
+ populateTransaction: {
633
+ checkIsAdminOrVaultAdmin(
634
+ lendingPool: string,
635
+ account: string,
636
+ overrides?: CallOverrides
637
+ ): Promise<PopulatedTransaction>;
638
+
639
+ getRoleAdmin(
640
+ role: BytesLike,
641
+ overrides?: CallOverrides
642
+ ): Promise<PopulatedTransaction>;
643
+
644
+ grantLendingPoolRole(
645
+ lendingPool: string,
646
+ role: BytesLike,
647
+ account: string,
648
+ overrides?: Overrides & { from?: string }
649
+ ): Promise<PopulatedTransaction>;
650
+
651
+ grantRole(
652
+ role: BytesLike,
653
+ account: string,
654
+ overrides?: Overrides & { from?: string }
655
+ ): Promise<PopulatedTransaction>;
656
+
657
+ hasLendingPoolRole(
658
+ lendingPool: string,
659
+ role: BytesLike,
660
+ account: string,
661
+ overrides?: CallOverrides
662
+ ): Promise<PopulatedTransaction>;
663
+
664
+ hasRole(
665
+ role: BytesLike,
666
+ account: string,
667
+ overrides?: CallOverrides
668
+ ): Promise<PopulatedTransaction>;
669
+
670
+ pause(
671
+ overrides?: Overrides & { from?: string }
672
+ ): Promise<PopulatedTransaction>;
673
+
674
+ paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
675
+
676
+ renounceRole(
677
+ role: BytesLike,
678
+ callerConfirmation: string,
679
+ overrides?: Overrides & { from?: string }
680
+ ): Promise<PopulatedTransaction>;
681
+
682
+ requireNotPaused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
683
+
684
+ requirePaused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
685
+
686
+ revokeLendingPoolRole(
687
+ lendingPool: string,
688
+ role: BytesLike,
689
+ account: string,
690
+ overrides?: Overrides & { from?: string }
691
+ ): Promise<PopulatedTransaction>;
692
+
693
+ revokeRole(
694
+ role: BytesLike,
695
+ account: string,
696
+ overrides?: Overrides & { from?: string }
697
+ ): Promise<PopulatedTransaction>;
698
+
699
+ unpause(
700
+ overrides?: Overrides & { from?: string }
701
+ ): Promise<PopulatedTransaction>;
702
+ };
703
+ }