defi-state-querier 0.5.22__py3-none-any.whl → 0.5.24__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- defi_services/__init__.py +1 -1
- defi_services/abis/lending/ionic/__init__.py +0 -0
- defi_services/abis/lending/ionic/ionic_ctoken_abi.py +1108 -0
- defi_services/abis/lending/moonwell/__init__.py +0 -0
- defi_services/abis/lending/moonwell/moonwell_comptroller_abi.py +1500 -0
- defi_services/abis/lending/moonwell/moonwell_ctoken_abi.py +1431 -0
- defi_services/constants/chain_constant.py +2 -1
- defi_services/constants/entities/lending_constant.py +10 -5
- defi_services/constants/entities/lending_services.py +17 -4
- defi_services/services/lending/granary_services.py +3 -1
- defi_services/services/lending/ionic_service.py +167 -0
- defi_services/services/lending/lending_info/base/granary_base.py +62 -0
- defi_services/services/lending/lending_info/base/ionic_base.py +173 -0
- defi_services/services/lending/lending_info/base/moonwell_base.py +80 -2
- defi_services/services/lending/lending_info/base/radiant_v2_base.py +54 -0
- defi_services/services/lending/lending_info/base/sonne_base.py +53 -0
- defi_services/services/lending/lending_info/base/zerolend_base.py +99 -99
- defi_services/services/lending/moonwell_service.py +120 -0
- defi_services/services/lending/radiant_v2_services.py +3 -1
- defi_services/services/lending/sonne_service.py +64 -0
- defi_services/services/lending/zerolend_services.py +1 -1
- {defi_state_querier-0.5.22.dist-info → defi_state_querier-0.5.24.dist-info}/METADATA +1 -1
- {defi_state_querier-0.5.22.dist-info → defi_state_querier-0.5.24.dist-info}/RECORD +26 -14
- {defi_state_querier-0.5.22.dist-info → defi_state_querier-0.5.24.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.5.22.dist-info → defi_state_querier-0.5.24.dist-info}/WHEEL +0 -0
- {defi_state_querier-0.5.22.dist-info → defi_state_querier-0.5.24.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1500 @@
|
|
1
|
+
MOONWELL_COMPTROLLER_ABI = [
|
2
|
+
{
|
3
|
+
"inputs": [],
|
4
|
+
"stateMutability": "nonpayable",
|
5
|
+
"type": "constructor"
|
6
|
+
},
|
7
|
+
{
|
8
|
+
"anonymous": False,
|
9
|
+
"inputs": [
|
10
|
+
{
|
11
|
+
"indexed": False,
|
12
|
+
"internalType": "string",
|
13
|
+
"name": "action",
|
14
|
+
"type": "string"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"indexed": False,
|
18
|
+
"internalType": "bool",
|
19
|
+
"name": "pauseState",
|
20
|
+
"type": "bool"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"name": "ActionPaused",
|
24
|
+
"type": "event"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"anonymous": False,
|
28
|
+
"inputs": [
|
29
|
+
{
|
30
|
+
"indexed": False,
|
31
|
+
"internalType": "contract MToken",
|
32
|
+
"name": "mToken",
|
33
|
+
"type": "address"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"indexed": False,
|
37
|
+
"internalType": "string",
|
38
|
+
"name": "action",
|
39
|
+
"type": "string"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"indexed": False,
|
43
|
+
"internalType": "bool",
|
44
|
+
"name": "pauseState",
|
45
|
+
"type": "bool"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"name": "ActionPaused",
|
49
|
+
"type": "event"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"anonymous": False,
|
53
|
+
"inputs": [
|
54
|
+
{
|
55
|
+
"indexed": False,
|
56
|
+
"internalType": "uint256",
|
57
|
+
"name": "error",
|
58
|
+
"type": "uint256"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"indexed": False,
|
62
|
+
"internalType": "uint256",
|
63
|
+
"name": "info",
|
64
|
+
"type": "uint256"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"indexed": False,
|
68
|
+
"internalType": "uint256",
|
69
|
+
"name": "detail",
|
70
|
+
"type": "uint256"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"name": "Failure",
|
74
|
+
"type": "event"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"anonymous": False,
|
78
|
+
"inputs": [
|
79
|
+
{
|
80
|
+
"indexed": False,
|
81
|
+
"internalType": "contract MToken",
|
82
|
+
"name": "mToken",
|
83
|
+
"type": "address"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"indexed": False,
|
87
|
+
"internalType": "address",
|
88
|
+
"name": "account",
|
89
|
+
"type": "address"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"name": "MarketEntered",
|
93
|
+
"type": "event"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"anonymous": False,
|
97
|
+
"inputs": [
|
98
|
+
{
|
99
|
+
"indexed": False,
|
100
|
+
"internalType": "contract MToken",
|
101
|
+
"name": "mToken",
|
102
|
+
"type": "address"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"indexed": False,
|
106
|
+
"internalType": "address",
|
107
|
+
"name": "account",
|
108
|
+
"type": "address"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"name": "MarketExited",
|
112
|
+
"type": "event"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"anonymous": False,
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"indexed": False,
|
119
|
+
"internalType": "contract MToken",
|
120
|
+
"name": "mToken",
|
121
|
+
"type": "address"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"name": "MarketListed",
|
125
|
+
"type": "event"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"anonymous": False,
|
129
|
+
"inputs": [
|
130
|
+
{
|
131
|
+
"indexed": True,
|
132
|
+
"internalType": "contract MToken",
|
133
|
+
"name": "mToken",
|
134
|
+
"type": "address"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"indexed": False,
|
138
|
+
"internalType": "uint256",
|
139
|
+
"name": "newBorrowCap",
|
140
|
+
"type": "uint256"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"name": "NewBorrowCap",
|
144
|
+
"type": "event"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"anonymous": False,
|
148
|
+
"inputs": [
|
149
|
+
{
|
150
|
+
"indexed": False,
|
151
|
+
"internalType": "address",
|
152
|
+
"name": "oldBorrowCapGuardian",
|
153
|
+
"type": "address"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"indexed": False,
|
157
|
+
"internalType": "address",
|
158
|
+
"name": "newBorrowCapGuardian",
|
159
|
+
"type": "address"
|
160
|
+
}
|
161
|
+
],
|
162
|
+
"name": "NewBorrowCapGuardian",
|
163
|
+
"type": "event"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"anonymous": False,
|
167
|
+
"inputs": [
|
168
|
+
{
|
169
|
+
"indexed": False,
|
170
|
+
"internalType": "uint256",
|
171
|
+
"name": "oldCloseFactorMantissa",
|
172
|
+
"type": "uint256"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"indexed": False,
|
176
|
+
"internalType": "uint256",
|
177
|
+
"name": "newCloseFactorMantissa",
|
178
|
+
"type": "uint256"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"name": "NewCloseFactor",
|
182
|
+
"type": "event"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"anonymous": False,
|
186
|
+
"inputs": [
|
187
|
+
{
|
188
|
+
"indexed": False,
|
189
|
+
"internalType": "contract MToken",
|
190
|
+
"name": "mToken",
|
191
|
+
"type": "address"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"indexed": False,
|
195
|
+
"internalType": "uint256",
|
196
|
+
"name": "oldCollateralFactorMantissa",
|
197
|
+
"type": "uint256"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"indexed": False,
|
201
|
+
"internalType": "uint256",
|
202
|
+
"name": "newCollateralFactorMantissa",
|
203
|
+
"type": "uint256"
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"name": "NewCollateralFactor",
|
207
|
+
"type": "event"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"anonymous": False,
|
211
|
+
"inputs": [
|
212
|
+
{
|
213
|
+
"indexed": False,
|
214
|
+
"internalType": "uint256",
|
215
|
+
"name": "oldLiquidationIncentiveMantissa",
|
216
|
+
"type": "uint256"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"indexed": False,
|
220
|
+
"internalType": "uint256",
|
221
|
+
"name": "newLiquidationIncentiveMantissa",
|
222
|
+
"type": "uint256"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"name": "NewLiquidationIncentive",
|
226
|
+
"type": "event"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"anonymous": False,
|
230
|
+
"inputs": [
|
231
|
+
{
|
232
|
+
"indexed": False,
|
233
|
+
"internalType": "address",
|
234
|
+
"name": "oldPauseGuardian",
|
235
|
+
"type": "address"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"indexed": False,
|
239
|
+
"internalType": "address",
|
240
|
+
"name": "newPauseGuardian",
|
241
|
+
"type": "address"
|
242
|
+
}
|
243
|
+
],
|
244
|
+
"name": "NewPauseGuardian",
|
245
|
+
"type": "event"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"anonymous": False,
|
249
|
+
"inputs": [
|
250
|
+
{
|
251
|
+
"indexed": False,
|
252
|
+
"internalType": "contract PriceOracle",
|
253
|
+
"name": "oldPriceOracle",
|
254
|
+
"type": "address"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"indexed": False,
|
258
|
+
"internalType": "contract PriceOracle",
|
259
|
+
"name": "newPriceOracle",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"name": "NewPriceOracle",
|
264
|
+
"type": "event"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"anonymous": False,
|
268
|
+
"inputs": [
|
269
|
+
{
|
270
|
+
"indexed": False,
|
271
|
+
"internalType": "contract MultiRewardDistributor",
|
272
|
+
"name": "oldRewardDistributor",
|
273
|
+
"type": "address"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"indexed": False,
|
277
|
+
"internalType": "contract MultiRewardDistributor",
|
278
|
+
"name": "newRewardDistributor",
|
279
|
+
"type": "address"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"name": "NewRewardDistributor",
|
283
|
+
"type": "event"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"anonymous": False,
|
287
|
+
"inputs": [
|
288
|
+
{
|
289
|
+
"indexed": True,
|
290
|
+
"internalType": "contract MToken",
|
291
|
+
"name": "mToken",
|
292
|
+
"type": "address"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"indexed": False,
|
296
|
+
"internalType": "uint256",
|
297
|
+
"name": "newSupplyCap",
|
298
|
+
"type": "uint256"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "NewSupplyCap",
|
302
|
+
"type": "event"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"anonymous": False,
|
306
|
+
"inputs": [
|
307
|
+
{
|
308
|
+
"indexed": False,
|
309
|
+
"internalType": "address",
|
310
|
+
"name": "oldSupplyCapGuardian",
|
311
|
+
"type": "address"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"indexed": False,
|
315
|
+
"internalType": "address",
|
316
|
+
"name": "newSupplyCapGuardian",
|
317
|
+
"type": "address"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"name": "NewSupplyCapGuardian",
|
321
|
+
"type": "event"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"inputs": [
|
325
|
+
{
|
326
|
+
"internalType": "contract Unitroller",
|
327
|
+
"name": "unitroller",
|
328
|
+
"type": "address"
|
329
|
+
}
|
330
|
+
],
|
331
|
+
"name": "_become",
|
332
|
+
"outputs": [],
|
333
|
+
"stateMutability": "nonpayable",
|
334
|
+
"type": "function"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"inputs": [
|
338
|
+
{
|
339
|
+
"internalType": "address",
|
340
|
+
"name": "_tokenAddress",
|
341
|
+
"type": "address"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"internalType": "uint256",
|
345
|
+
"name": "_amount",
|
346
|
+
"type": "uint256"
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"name": "_rescueFunds",
|
350
|
+
"outputs": [],
|
351
|
+
"stateMutability": "nonpayable",
|
352
|
+
"type": "function"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"inputs": [
|
356
|
+
{
|
357
|
+
"internalType": "address",
|
358
|
+
"name": "newBorrowCapGuardian",
|
359
|
+
"type": "address"
|
360
|
+
}
|
361
|
+
],
|
362
|
+
"name": "_setBorrowCapGuardian",
|
363
|
+
"outputs": [],
|
364
|
+
"stateMutability": "nonpayable",
|
365
|
+
"type": "function"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"inputs": [
|
369
|
+
{
|
370
|
+
"internalType": "contract MToken",
|
371
|
+
"name": "mToken",
|
372
|
+
"type": "address"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"internalType": "bool",
|
376
|
+
"name": "state",
|
377
|
+
"type": "bool"
|
378
|
+
}
|
379
|
+
],
|
380
|
+
"name": "_setBorrowPaused",
|
381
|
+
"outputs": [
|
382
|
+
{
|
383
|
+
"internalType": "bool",
|
384
|
+
"name": "",
|
385
|
+
"type": "bool"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"stateMutability": "nonpayable",
|
389
|
+
"type": "function"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"inputs": [
|
393
|
+
{
|
394
|
+
"internalType": "uint256",
|
395
|
+
"name": "newCloseFactorMantissa",
|
396
|
+
"type": "uint256"
|
397
|
+
}
|
398
|
+
],
|
399
|
+
"name": "_setCloseFactor",
|
400
|
+
"outputs": [
|
401
|
+
{
|
402
|
+
"internalType": "uint256",
|
403
|
+
"name": "",
|
404
|
+
"type": "uint256"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"stateMutability": "nonpayable",
|
408
|
+
"type": "function"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"inputs": [
|
412
|
+
{
|
413
|
+
"internalType": "contract MToken",
|
414
|
+
"name": "mToken",
|
415
|
+
"type": "address"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"internalType": "uint256",
|
419
|
+
"name": "newCollateralFactorMantissa",
|
420
|
+
"type": "uint256"
|
421
|
+
}
|
422
|
+
],
|
423
|
+
"name": "_setCollateralFactor",
|
424
|
+
"outputs": [
|
425
|
+
{
|
426
|
+
"internalType": "uint256",
|
427
|
+
"name": "",
|
428
|
+
"type": "uint256"
|
429
|
+
}
|
430
|
+
],
|
431
|
+
"stateMutability": "nonpayable",
|
432
|
+
"type": "function"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"inputs": [
|
436
|
+
{
|
437
|
+
"internalType": "uint256",
|
438
|
+
"name": "newLiquidationIncentiveMantissa",
|
439
|
+
"type": "uint256"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"name": "_setLiquidationIncentive",
|
443
|
+
"outputs": [
|
444
|
+
{
|
445
|
+
"internalType": "uint256",
|
446
|
+
"name": "",
|
447
|
+
"type": "uint256"
|
448
|
+
}
|
449
|
+
],
|
450
|
+
"stateMutability": "nonpayable",
|
451
|
+
"type": "function"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"inputs": [
|
455
|
+
{
|
456
|
+
"internalType": "contract MToken[]",
|
457
|
+
"name": "mTokens",
|
458
|
+
"type": "address[]"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"internalType": "uint256[]",
|
462
|
+
"name": "newBorrowCaps",
|
463
|
+
"type": "uint256[]"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"name": "_setMarketBorrowCaps",
|
467
|
+
"outputs": [],
|
468
|
+
"stateMutability": "nonpayable",
|
469
|
+
"type": "function"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"inputs": [
|
473
|
+
{
|
474
|
+
"internalType": "contract MToken[]",
|
475
|
+
"name": "mTokens",
|
476
|
+
"type": "address[]"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"internalType": "uint256[]",
|
480
|
+
"name": "newSupplyCaps",
|
481
|
+
"type": "uint256[]"
|
482
|
+
}
|
483
|
+
],
|
484
|
+
"name": "_setMarketSupplyCaps",
|
485
|
+
"outputs": [],
|
486
|
+
"stateMutability": "nonpayable",
|
487
|
+
"type": "function"
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"inputs": [
|
491
|
+
{
|
492
|
+
"internalType": "contract MToken",
|
493
|
+
"name": "mToken",
|
494
|
+
"type": "address"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"internalType": "bool",
|
498
|
+
"name": "state",
|
499
|
+
"type": "bool"
|
500
|
+
}
|
501
|
+
],
|
502
|
+
"name": "_setMintPaused",
|
503
|
+
"outputs": [
|
504
|
+
{
|
505
|
+
"internalType": "bool",
|
506
|
+
"name": "",
|
507
|
+
"type": "bool"
|
508
|
+
}
|
509
|
+
],
|
510
|
+
"stateMutability": "nonpayable",
|
511
|
+
"type": "function"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"inputs": [
|
515
|
+
{
|
516
|
+
"internalType": "address",
|
517
|
+
"name": "newPauseGuardian",
|
518
|
+
"type": "address"
|
519
|
+
}
|
520
|
+
],
|
521
|
+
"name": "_setPauseGuardian",
|
522
|
+
"outputs": [
|
523
|
+
{
|
524
|
+
"internalType": "uint256",
|
525
|
+
"name": "",
|
526
|
+
"type": "uint256"
|
527
|
+
}
|
528
|
+
],
|
529
|
+
"stateMutability": "nonpayable",
|
530
|
+
"type": "function"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"inputs": [
|
534
|
+
{
|
535
|
+
"internalType": "contract PriceOracle",
|
536
|
+
"name": "newOracle",
|
537
|
+
"type": "address"
|
538
|
+
}
|
539
|
+
],
|
540
|
+
"name": "_setPriceOracle",
|
541
|
+
"outputs": [
|
542
|
+
{
|
543
|
+
"internalType": "uint256",
|
544
|
+
"name": "",
|
545
|
+
"type": "uint256"
|
546
|
+
}
|
547
|
+
],
|
548
|
+
"stateMutability": "nonpayable",
|
549
|
+
"type": "function"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"inputs": [
|
553
|
+
{
|
554
|
+
"internalType": "contract MultiRewardDistributor",
|
555
|
+
"name": "newRewardDistributor",
|
556
|
+
"type": "address"
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"name": "_setRewardDistributor",
|
560
|
+
"outputs": [],
|
561
|
+
"stateMutability": "nonpayable",
|
562
|
+
"type": "function"
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"inputs": [
|
566
|
+
{
|
567
|
+
"internalType": "bool",
|
568
|
+
"name": "state",
|
569
|
+
"type": "bool"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"name": "_setSeizePaused",
|
573
|
+
"outputs": [
|
574
|
+
{
|
575
|
+
"internalType": "bool",
|
576
|
+
"name": "",
|
577
|
+
"type": "bool"
|
578
|
+
}
|
579
|
+
],
|
580
|
+
"stateMutability": "nonpayable",
|
581
|
+
"type": "function"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"inputs": [
|
585
|
+
{
|
586
|
+
"internalType": "address",
|
587
|
+
"name": "newSupplyCapGuardian",
|
588
|
+
"type": "address"
|
589
|
+
}
|
590
|
+
],
|
591
|
+
"name": "_setSupplyCapGuardian",
|
592
|
+
"outputs": [],
|
593
|
+
"stateMutability": "nonpayable",
|
594
|
+
"type": "function"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"inputs": [
|
598
|
+
{
|
599
|
+
"internalType": "bool",
|
600
|
+
"name": "state",
|
601
|
+
"type": "bool"
|
602
|
+
}
|
603
|
+
],
|
604
|
+
"name": "_setTransferPaused",
|
605
|
+
"outputs": [
|
606
|
+
{
|
607
|
+
"internalType": "bool",
|
608
|
+
"name": "",
|
609
|
+
"type": "bool"
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"stateMutability": "nonpayable",
|
613
|
+
"type": "function"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"inputs": [
|
617
|
+
{
|
618
|
+
"internalType": "contract MToken",
|
619
|
+
"name": "mToken",
|
620
|
+
"type": "address"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"name": "_supportMarket",
|
624
|
+
"outputs": [
|
625
|
+
{
|
626
|
+
"internalType": "uint256",
|
627
|
+
"name": "",
|
628
|
+
"type": "uint256"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"stateMutability": "nonpayable",
|
632
|
+
"type": "function"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"inputs": [
|
636
|
+
{
|
637
|
+
"internalType": "address",
|
638
|
+
"name": "",
|
639
|
+
"type": "address"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"internalType": "uint256",
|
643
|
+
"name": "",
|
644
|
+
"type": "uint256"
|
645
|
+
}
|
646
|
+
],
|
647
|
+
"name": "accountAssets",
|
648
|
+
"outputs": [
|
649
|
+
{
|
650
|
+
"internalType": "contract MToken",
|
651
|
+
"name": "",
|
652
|
+
"type": "address"
|
653
|
+
}
|
654
|
+
],
|
655
|
+
"stateMutability": "view",
|
656
|
+
"type": "function"
|
657
|
+
},
|
658
|
+
{
|
659
|
+
"inputs": [],
|
660
|
+
"name": "admin",
|
661
|
+
"outputs": [
|
662
|
+
{
|
663
|
+
"internalType": "address",
|
664
|
+
"name": "",
|
665
|
+
"type": "address"
|
666
|
+
}
|
667
|
+
],
|
668
|
+
"stateMutability": "view",
|
669
|
+
"type": "function"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"inputs": [
|
673
|
+
{
|
674
|
+
"internalType": "uint256",
|
675
|
+
"name": "",
|
676
|
+
"type": "uint256"
|
677
|
+
}
|
678
|
+
],
|
679
|
+
"name": "allMarkets",
|
680
|
+
"outputs": [
|
681
|
+
{
|
682
|
+
"internalType": "contract MToken",
|
683
|
+
"name": "",
|
684
|
+
"type": "address"
|
685
|
+
}
|
686
|
+
],
|
687
|
+
"stateMutability": "view",
|
688
|
+
"type": "function"
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"inputs": [
|
692
|
+
{
|
693
|
+
"internalType": "address",
|
694
|
+
"name": "mToken",
|
695
|
+
"type": "address"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"internalType": "address",
|
699
|
+
"name": "borrower",
|
700
|
+
"type": "address"
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"internalType": "uint256",
|
704
|
+
"name": "borrowAmount",
|
705
|
+
"type": "uint256"
|
706
|
+
}
|
707
|
+
],
|
708
|
+
"name": "borrowAllowed",
|
709
|
+
"outputs": [
|
710
|
+
{
|
711
|
+
"internalType": "uint256",
|
712
|
+
"name": "",
|
713
|
+
"type": "uint256"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"stateMutability": "nonpayable",
|
717
|
+
"type": "function"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"inputs": [],
|
721
|
+
"name": "borrowCapGuardian",
|
722
|
+
"outputs": [
|
723
|
+
{
|
724
|
+
"internalType": "address",
|
725
|
+
"name": "",
|
726
|
+
"type": "address"
|
727
|
+
}
|
728
|
+
],
|
729
|
+
"stateMutability": "view",
|
730
|
+
"type": "function"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"inputs": [
|
734
|
+
{
|
735
|
+
"internalType": "address",
|
736
|
+
"name": "",
|
737
|
+
"type": "address"
|
738
|
+
}
|
739
|
+
],
|
740
|
+
"name": "borrowCaps",
|
741
|
+
"outputs": [
|
742
|
+
{
|
743
|
+
"internalType": "uint256",
|
744
|
+
"name": "",
|
745
|
+
"type": "uint256"
|
746
|
+
}
|
747
|
+
],
|
748
|
+
"stateMutability": "view",
|
749
|
+
"type": "function"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"inputs": [
|
753
|
+
{
|
754
|
+
"internalType": "address",
|
755
|
+
"name": "",
|
756
|
+
"type": "address"
|
757
|
+
}
|
758
|
+
],
|
759
|
+
"name": "borrowGuardianPaused",
|
760
|
+
"outputs": [
|
761
|
+
{
|
762
|
+
"internalType": "bool",
|
763
|
+
"name": "",
|
764
|
+
"type": "bool"
|
765
|
+
}
|
766
|
+
],
|
767
|
+
"stateMutability": "view",
|
768
|
+
"type": "function"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"inputs": [
|
772
|
+
{
|
773
|
+
"internalType": "address",
|
774
|
+
"name": "account",
|
775
|
+
"type": "address"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "contract MToken",
|
779
|
+
"name": "mToken",
|
780
|
+
"type": "address"
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"name": "checkMembership",
|
784
|
+
"outputs": [
|
785
|
+
{
|
786
|
+
"internalType": "bool",
|
787
|
+
"name": "",
|
788
|
+
"type": "bool"
|
789
|
+
}
|
790
|
+
],
|
791
|
+
"stateMutability": "view",
|
792
|
+
"type": "function"
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"inputs": [
|
796
|
+
{
|
797
|
+
"internalType": "address[]",
|
798
|
+
"name": "holders",
|
799
|
+
"type": "address[]"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"internalType": "contract MToken[]",
|
803
|
+
"name": "mTokens",
|
804
|
+
"type": "address[]"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"internalType": "bool",
|
808
|
+
"name": "borrowers",
|
809
|
+
"type": "bool"
|
810
|
+
},
|
811
|
+
{
|
812
|
+
"internalType": "bool",
|
813
|
+
"name": "suppliers",
|
814
|
+
"type": "bool"
|
815
|
+
}
|
816
|
+
],
|
817
|
+
"name": "claimReward",
|
818
|
+
"outputs": [],
|
819
|
+
"stateMutability": "nonpayable",
|
820
|
+
"type": "function"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"inputs": [
|
824
|
+
{
|
825
|
+
"internalType": "address",
|
826
|
+
"name": "holder",
|
827
|
+
"type": "address"
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"internalType": "contract MToken[]",
|
831
|
+
"name": "mTokens",
|
832
|
+
"type": "address[]"
|
833
|
+
}
|
834
|
+
],
|
835
|
+
"name": "claimReward",
|
836
|
+
"outputs": [],
|
837
|
+
"stateMutability": "nonpayable",
|
838
|
+
"type": "function"
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"inputs": [],
|
842
|
+
"name": "claimReward",
|
843
|
+
"outputs": [],
|
844
|
+
"stateMutability": "nonpayable",
|
845
|
+
"type": "function"
|
846
|
+
},
|
847
|
+
{
|
848
|
+
"inputs": [
|
849
|
+
{
|
850
|
+
"internalType": "address",
|
851
|
+
"name": "holder",
|
852
|
+
"type": "address"
|
853
|
+
}
|
854
|
+
],
|
855
|
+
"name": "claimReward",
|
856
|
+
"outputs": [],
|
857
|
+
"stateMutability": "nonpayable",
|
858
|
+
"type": "function"
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"inputs": [],
|
862
|
+
"name": "closeFactorMantissa",
|
863
|
+
"outputs": [
|
864
|
+
{
|
865
|
+
"internalType": "uint256",
|
866
|
+
"name": "",
|
867
|
+
"type": "uint256"
|
868
|
+
}
|
869
|
+
],
|
870
|
+
"stateMutability": "view",
|
871
|
+
"type": "function"
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"inputs": [],
|
875
|
+
"name": "comptrollerImplementation",
|
876
|
+
"outputs": [
|
877
|
+
{
|
878
|
+
"internalType": "address",
|
879
|
+
"name": "",
|
880
|
+
"type": "address"
|
881
|
+
}
|
882
|
+
],
|
883
|
+
"stateMutability": "view",
|
884
|
+
"type": "function"
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"inputs": [
|
888
|
+
{
|
889
|
+
"internalType": "address[]",
|
890
|
+
"name": "mTokens",
|
891
|
+
"type": "address[]"
|
892
|
+
}
|
893
|
+
],
|
894
|
+
"name": "enterMarkets",
|
895
|
+
"outputs": [
|
896
|
+
{
|
897
|
+
"internalType": "uint256[]",
|
898
|
+
"name": "",
|
899
|
+
"type": "uint256[]"
|
900
|
+
}
|
901
|
+
],
|
902
|
+
"stateMutability": "nonpayable",
|
903
|
+
"type": "function"
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"inputs": [
|
907
|
+
{
|
908
|
+
"internalType": "address",
|
909
|
+
"name": "mTokenAddress",
|
910
|
+
"type": "address"
|
911
|
+
}
|
912
|
+
],
|
913
|
+
"name": "exitMarket",
|
914
|
+
"outputs": [
|
915
|
+
{
|
916
|
+
"internalType": "uint256",
|
917
|
+
"name": "",
|
918
|
+
"type": "uint256"
|
919
|
+
}
|
920
|
+
],
|
921
|
+
"stateMutability": "nonpayable",
|
922
|
+
"type": "function"
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"inputs": [
|
926
|
+
{
|
927
|
+
"internalType": "address",
|
928
|
+
"name": "account",
|
929
|
+
"type": "address"
|
930
|
+
}
|
931
|
+
],
|
932
|
+
"name": "getAccountLiquidity",
|
933
|
+
"outputs": [
|
934
|
+
{
|
935
|
+
"internalType": "uint256",
|
936
|
+
"name": "",
|
937
|
+
"type": "uint256"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"internalType": "uint256",
|
941
|
+
"name": "",
|
942
|
+
"type": "uint256"
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"internalType": "uint256",
|
946
|
+
"name": "",
|
947
|
+
"type": "uint256"
|
948
|
+
}
|
949
|
+
],
|
950
|
+
"stateMutability": "view",
|
951
|
+
"type": "function"
|
952
|
+
},
|
953
|
+
{
|
954
|
+
"inputs": [],
|
955
|
+
"name": "getAllMarkets",
|
956
|
+
"outputs": [
|
957
|
+
{
|
958
|
+
"internalType": "contract MToken[]",
|
959
|
+
"name": "",
|
960
|
+
"type": "address[]"
|
961
|
+
}
|
962
|
+
],
|
963
|
+
"stateMutability": "view",
|
964
|
+
"type": "function"
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"inputs": [
|
968
|
+
{
|
969
|
+
"internalType": "address",
|
970
|
+
"name": "account",
|
971
|
+
"type": "address"
|
972
|
+
}
|
973
|
+
],
|
974
|
+
"name": "getAssetsIn",
|
975
|
+
"outputs": [
|
976
|
+
{
|
977
|
+
"internalType": "contract MToken[]",
|
978
|
+
"name": "",
|
979
|
+
"type": "address[]"
|
980
|
+
}
|
981
|
+
],
|
982
|
+
"stateMutability": "view",
|
983
|
+
"type": "function"
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"inputs": [],
|
987
|
+
"name": "getBlockTimestamp",
|
988
|
+
"outputs": [
|
989
|
+
{
|
990
|
+
"internalType": "uint256",
|
991
|
+
"name": "",
|
992
|
+
"type": "uint256"
|
993
|
+
}
|
994
|
+
],
|
995
|
+
"stateMutability": "view",
|
996
|
+
"type": "function"
|
997
|
+
},
|
998
|
+
{
|
999
|
+
"inputs": [
|
1000
|
+
{
|
1001
|
+
"internalType": "address",
|
1002
|
+
"name": "account",
|
1003
|
+
"type": "address"
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
"internalType": "address",
|
1007
|
+
"name": "mTokenModify",
|
1008
|
+
"type": "address"
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"internalType": "uint256",
|
1012
|
+
"name": "redeemTokens",
|
1013
|
+
"type": "uint256"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"internalType": "uint256",
|
1017
|
+
"name": "borrowAmount",
|
1018
|
+
"type": "uint256"
|
1019
|
+
}
|
1020
|
+
],
|
1021
|
+
"name": "getHypotheticalAccountLiquidity",
|
1022
|
+
"outputs": [
|
1023
|
+
{
|
1024
|
+
"internalType": "uint256",
|
1025
|
+
"name": "",
|
1026
|
+
"type": "uint256"
|
1027
|
+
},
|
1028
|
+
{
|
1029
|
+
"internalType": "uint256",
|
1030
|
+
"name": "",
|
1031
|
+
"type": "uint256"
|
1032
|
+
},
|
1033
|
+
{
|
1034
|
+
"internalType": "uint256",
|
1035
|
+
"name": "",
|
1036
|
+
"type": "uint256"
|
1037
|
+
}
|
1038
|
+
],
|
1039
|
+
"stateMutability": "view",
|
1040
|
+
"type": "function"
|
1041
|
+
},
|
1042
|
+
{
|
1043
|
+
"inputs": [],
|
1044
|
+
"name": "isComptroller",
|
1045
|
+
"outputs": [
|
1046
|
+
{
|
1047
|
+
"internalType": "bool",
|
1048
|
+
"name": "",
|
1049
|
+
"type": "bool"
|
1050
|
+
}
|
1051
|
+
],
|
1052
|
+
"stateMutability": "view",
|
1053
|
+
"type": "function"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"inputs": [
|
1057
|
+
{
|
1058
|
+
"internalType": "address",
|
1059
|
+
"name": "mTokenBorrowed",
|
1060
|
+
"type": "address"
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"internalType": "address",
|
1064
|
+
"name": "mTokenCollateral",
|
1065
|
+
"type": "address"
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
"internalType": "address",
|
1069
|
+
"name": "liquidator",
|
1070
|
+
"type": "address"
|
1071
|
+
},
|
1072
|
+
{
|
1073
|
+
"internalType": "address",
|
1074
|
+
"name": "borrower",
|
1075
|
+
"type": "address"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"internalType": "uint256",
|
1079
|
+
"name": "repayAmount",
|
1080
|
+
"type": "uint256"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"name": "liquidateBorrowAllowed",
|
1084
|
+
"outputs": [
|
1085
|
+
{
|
1086
|
+
"internalType": "uint256",
|
1087
|
+
"name": "",
|
1088
|
+
"type": "uint256"
|
1089
|
+
}
|
1090
|
+
],
|
1091
|
+
"stateMutability": "view",
|
1092
|
+
"type": "function"
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"inputs": [
|
1096
|
+
{
|
1097
|
+
"internalType": "address",
|
1098
|
+
"name": "mTokenBorrowed",
|
1099
|
+
"type": "address"
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"internalType": "address",
|
1103
|
+
"name": "mTokenCollateral",
|
1104
|
+
"type": "address"
|
1105
|
+
},
|
1106
|
+
{
|
1107
|
+
"internalType": "uint256",
|
1108
|
+
"name": "actualRepayAmount",
|
1109
|
+
"type": "uint256"
|
1110
|
+
}
|
1111
|
+
],
|
1112
|
+
"name": "liquidateCalculateSeizeTokens",
|
1113
|
+
"outputs": [
|
1114
|
+
{
|
1115
|
+
"internalType": "uint256",
|
1116
|
+
"name": "",
|
1117
|
+
"type": "uint256"
|
1118
|
+
},
|
1119
|
+
{
|
1120
|
+
"internalType": "uint256",
|
1121
|
+
"name": "",
|
1122
|
+
"type": "uint256"
|
1123
|
+
}
|
1124
|
+
],
|
1125
|
+
"stateMutability": "view",
|
1126
|
+
"type": "function"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"inputs": [],
|
1130
|
+
"name": "liquidationIncentiveMantissa",
|
1131
|
+
"outputs": [
|
1132
|
+
{
|
1133
|
+
"internalType": "uint256",
|
1134
|
+
"name": "",
|
1135
|
+
"type": "uint256"
|
1136
|
+
}
|
1137
|
+
],
|
1138
|
+
"stateMutability": "view",
|
1139
|
+
"type": "function"
|
1140
|
+
},
|
1141
|
+
{
|
1142
|
+
"inputs": [
|
1143
|
+
{
|
1144
|
+
"internalType": "address",
|
1145
|
+
"name": "",
|
1146
|
+
"type": "address"
|
1147
|
+
}
|
1148
|
+
],
|
1149
|
+
"name": "markets",
|
1150
|
+
"outputs": [
|
1151
|
+
{
|
1152
|
+
"internalType": "bool",
|
1153
|
+
"name": "isListed",
|
1154
|
+
"type": "bool"
|
1155
|
+
},
|
1156
|
+
{
|
1157
|
+
"internalType": "uint256",
|
1158
|
+
"name": "collateralFactorMantissa",
|
1159
|
+
"type": "uint256"
|
1160
|
+
}
|
1161
|
+
],
|
1162
|
+
"stateMutability": "view",
|
1163
|
+
"type": "function"
|
1164
|
+
},
|
1165
|
+
{
|
1166
|
+
"inputs": [
|
1167
|
+
{
|
1168
|
+
"internalType": "address",
|
1169
|
+
"name": "mToken",
|
1170
|
+
"type": "address"
|
1171
|
+
},
|
1172
|
+
{
|
1173
|
+
"internalType": "address",
|
1174
|
+
"name": "minter",
|
1175
|
+
"type": "address"
|
1176
|
+
},
|
1177
|
+
{
|
1178
|
+
"internalType": "uint256",
|
1179
|
+
"name": "mintAmount",
|
1180
|
+
"type": "uint256"
|
1181
|
+
}
|
1182
|
+
],
|
1183
|
+
"name": "mintAllowed",
|
1184
|
+
"outputs": [
|
1185
|
+
{
|
1186
|
+
"internalType": "uint256",
|
1187
|
+
"name": "",
|
1188
|
+
"type": "uint256"
|
1189
|
+
}
|
1190
|
+
],
|
1191
|
+
"stateMutability": "nonpayable",
|
1192
|
+
"type": "function"
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"inputs": [
|
1196
|
+
{
|
1197
|
+
"internalType": "address",
|
1198
|
+
"name": "",
|
1199
|
+
"type": "address"
|
1200
|
+
}
|
1201
|
+
],
|
1202
|
+
"name": "mintGuardianPaused",
|
1203
|
+
"outputs": [
|
1204
|
+
{
|
1205
|
+
"internalType": "bool",
|
1206
|
+
"name": "",
|
1207
|
+
"type": "bool"
|
1208
|
+
}
|
1209
|
+
],
|
1210
|
+
"stateMutability": "view",
|
1211
|
+
"type": "function"
|
1212
|
+
},
|
1213
|
+
{
|
1214
|
+
"inputs": [],
|
1215
|
+
"name": "oracle",
|
1216
|
+
"outputs": [
|
1217
|
+
{
|
1218
|
+
"internalType": "contract PriceOracle",
|
1219
|
+
"name": "",
|
1220
|
+
"type": "address"
|
1221
|
+
}
|
1222
|
+
],
|
1223
|
+
"stateMutability": "view",
|
1224
|
+
"type": "function"
|
1225
|
+
},
|
1226
|
+
{
|
1227
|
+
"inputs": [],
|
1228
|
+
"name": "pauseGuardian",
|
1229
|
+
"outputs": [
|
1230
|
+
{
|
1231
|
+
"internalType": "address",
|
1232
|
+
"name": "",
|
1233
|
+
"type": "address"
|
1234
|
+
}
|
1235
|
+
],
|
1236
|
+
"stateMutability": "view",
|
1237
|
+
"type": "function"
|
1238
|
+
},
|
1239
|
+
{
|
1240
|
+
"inputs": [],
|
1241
|
+
"name": "pendingAdmin",
|
1242
|
+
"outputs": [
|
1243
|
+
{
|
1244
|
+
"internalType": "address",
|
1245
|
+
"name": "",
|
1246
|
+
"type": "address"
|
1247
|
+
}
|
1248
|
+
],
|
1249
|
+
"stateMutability": "view",
|
1250
|
+
"type": "function"
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"inputs": [],
|
1254
|
+
"name": "pendingComptrollerImplementation",
|
1255
|
+
"outputs": [
|
1256
|
+
{
|
1257
|
+
"internalType": "address",
|
1258
|
+
"name": "",
|
1259
|
+
"type": "address"
|
1260
|
+
}
|
1261
|
+
],
|
1262
|
+
"stateMutability": "view",
|
1263
|
+
"type": "function"
|
1264
|
+
},
|
1265
|
+
{
|
1266
|
+
"inputs": [
|
1267
|
+
{
|
1268
|
+
"internalType": "address",
|
1269
|
+
"name": "mToken",
|
1270
|
+
"type": "address"
|
1271
|
+
},
|
1272
|
+
{
|
1273
|
+
"internalType": "address",
|
1274
|
+
"name": "redeemer",
|
1275
|
+
"type": "address"
|
1276
|
+
},
|
1277
|
+
{
|
1278
|
+
"internalType": "uint256",
|
1279
|
+
"name": "redeemTokens",
|
1280
|
+
"type": "uint256"
|
1281
|
+
}
|
1282
|
+
],
|
1283
|
+
"name": "redeemAllowed",
|
1284
|
+
"outputs": [
|
1285
|
+
{
|
1286
|
+
"internalType": "uint256",
|
1287
|
+
"name": "",
|
1288
|
+
"type": "uint256"
|
1289
|
+
}
|
1290
|
+
],
|
1291
|
+
"stateMutability": "nonpayable",
|
1292
|
+
"type": "function"
|
1293
|
+
},
|
1294
|
+
{
|
1295
|
+
"inputs": [
|
1296
|
+
{
|
1297
|
+
"internalType": "address",
|
1298
|
+
"name": "mToken",
|
1299
|
+
"type": "address"
|
1300
|
+
},
|
1301
|
+
{
|
1302
|
+
"internalType": "address",
|
1303
|
+
"name": "redeemer",
|
1304
|
+
"type": "address"
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
"internalType": "uint256",
|
1308
|
+
"name": "redeemAmount",
|
1309
|
+
"type": "uint256"
|
1310
|
+
},
|
1311
|
+
{
|
1312
|
+
"internalType": "uint256",
|
1313
|
+
"name": "redeemTokens",
|
1314
|
+
"type": "uint256"
|
1315
|
+
}
|
1316
|
+
],
|
1317
|
+
"name": "redeemVerify",
|
1318
|
+
"outputs": [],
|
1319
|
+
"stateMutability": "pure",
|
1320
|
+
"type": "function"
|
1321
|
+
},
|
1322
|
+
{
|
1323
|
+
"inputs": [
|
1324
|
+
{
|
1325
|
+
"internalType": "address",
|
1326
|
+
"name": "mToken",
|
1327
|
+
"type": "address"
|
1328
|
+
},
|
1329
|
+
{
|
1330
|
+
"internalType": "address",
|
1331
|
+
"name": "payer",
|
1332
|
+
"type": "address"
|
1333
|
+
},
|
1334
|
+
{
|
1335
|
+
"internalType": "address",
|
1336
|
+
"name": "borrower",
|
1337
|
+
"type": "address"
|
1338
|
+
},
|
1339
|
+
{
|
1340
|
+
"internalType": "uint256",
|
1341
|
+
"name": "repayAmount",
|
1342
|
+
"type": "uint256"
|
1343
|
+
}
|
1344
|
+
],
|
1345
|
+
"name": "repayBorrowAllowed",
|
1346
|
+
"outputs": [
|
1347
|
+
{
|
1348
|
+
"internalType": "uint256",
|
1349
|
+
"name": "",
|
1350
|
+
"type": "uint256"
|
1351
|
+
}
|
1352
|
+
],
|
1353
|
+
"stateMutability": "nonpayable",
|
1354
|
+
"type": "function"
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"inputs": [],
|
1358
|
+
"name": "rewardDistributor",
|
1359
|
+
"outputs": [
|
1360
|
+
{
|
1361
|
+
"internalType": "contract MultiRewardDistributor",
|
1362
|
+
"name": "",
|
1363
|
+
"type": "address"
|
1364
|
+
}
|
1365
|
+
],
|
1366
|
+
"stateMutability": "view",
|
1367
|
+
"type": "function"
|
1368
|
+
},
|
1369
|
+
{
|
1370
|
+
"inputs": [
|
1371
|
+
{
|
1372
|
+
"internalType": "address",
|
1373
|
+
"name": "mTokenCollateral",
|
1374
|
+
"type": "address"
|
1375
|
+
},
|
1376
|
+
{
|
1377
|
+
"internalType": "address",
|
1378
|
+
"name": "mTokenBorrowed",
|
1379
|
+
"type": "address"
|
1380
|
+
},
|
1381
|
+
{
|
1382
|
+
"internalType": "address",
|
1383
|
+
"name": "liquidator",
|
1384
|
+
"type": "address"
|
1385
|
+
},
|
1386
|
+
{
|
1387
|
+
"internalType": "address",
|
1388
|
+
"name": "borrower",
|
1389
|
+
"type": "address"
|
1390
|
+
},
|
1391
|
+
{
|
1392
|
+
"internalType": "uint256",
|
1393
|
+
"name": "seizeTokens",
|
1394
|
+
"type": "uint256"
|
1395
|
+
}
|
1396
|
+
],
|
1397
|
+
"name": "seizeAllowed",
|
1398
|
+
"outputs": [
|
1399
|
+
{
|
1400
|
+
"internalType": "uint256",
|
1401
|
+
"name": "",
|
1402
|
+
"type": "uint256"
|
1403
|
+
}
|
1404
|
+
],
|
1405
|
+
"stateMutability": "nonpayable",
|
1406
|
+
"type": "function"
|
1407
|
+
},
|
1408
|
+
{
|
1409
|
+
"inputs": [],
|
1410
|
+
"name": "seizeGuardianPaused",
|
1411
|
+
"outputs": [
|
1412
|
+
{
|
1413
|
+
"internalType": "bool",
|
1414
|
+
"name": "",
|
1415
|
+
"type": "bool"
|
1416
|
+
}
|
1417
|
+
],
|
1418
|
+
"stateMutability": "view",
|
1419
|
+
"type": "function"
|
1420
|
+
},
|
1421
|
+
{
|
1422
|
+
"inputs": [],
|
1423
|
+
"name": "supplyCapGuardian",
|
1424
|
+
"outputs": [
|
1425
|
+
{
|
1426
|
+
"internalType": "address",
|
1427
|
+
"name": "",
|
1428
|
+
"type": "address"
|
1429
|
+
}
|
1430
|
+
],
|
1431
|
+
"stateMutability": "view",
|
1432
|
+
"type": "function"
|
1433
|
+
},
|
1434
|
+
{
|
1435
|
+
"inputs": [
|
1436
|
+
{
|
1437
|
+
"internalType": "address",
|
1438
|
+
"name": "",
|
1439
|
+
"type": "address"
|
1440
|
+
}
|
1441
|
+
],
|
1442
|
+
"name": "supplyCaps",
|
1443
|
+
"outputs": [
|
1444
|
+
{
|
1445
|
+
"internalType": "uint256",
|
1446
|
+
"name": "",
|
1447
|
+
"type": "uint256"
|
1448
|
+
}
|
1449
|
+
],
|
1450
|
+
"stateMutability": "view",
|
1451
|
+
"type": "function"
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"inputs": [
|
1455
|
+
{
|
1456
|
+
"internalType": "address",
|
1457
|
+
"name": "mToken",
|
1458
|
+
"type": "address"
|
1459
|
+
},
|
1460
|
+
{
|
1461
|
+
"internalType": "address",
|
1462
|
+
"name": "src",
|
1463
|
+
"type": "address"
|
1464
|
+
},
|
1465
|
+
{
|
1466
|
+
"internalType": "address",
|
1467
|
+
"name": "dst",
|
1468
|
+
"type": "address"
|
1469
|
+
},
|
1470
|
+
{
|
1471
|
+
"internalType": "uint256",
|
1472
|
+
"name": "transferTokens",
|
1473
|
+
"type": "uint256"
|
1474
|
+
}
|
1475
|
+
],
|
1476
|
+
"name": "transferAllowed",
|
1477
|
+
"outputs": [
|
1478
|
+
{
|
1479
|
+
"internalType": "uint256",
|
1480
|
+
"name": "",
|
1481
|
+
"type": "uint256"
|
1482
|
+
}
|
1483
|
+
],
|
1484
|
+
"stateMutability": "nonpayable",
|
1485
|
+
"type": "function"
|
1486
|
+
},
|
1487
|
+
{
|
1488
|
+
"inputs": [],
|
1489
|
+
"name": "transferGuardianPaused",
|
1490
|
+
"outputs": [
|
1491
|
+
{
|
1492
|
+
"internalType": "bool",
|
1493
|
+
"name": "",
|
1494
|
+
"type": "bool"
|
1495
|
+
}
|
1496
|
+
],
|
1497
|
+
"stateMutability": "view",
|
1498
|
+
"type": "function"
|
1499
|
+
}
|
1500
|
+
]
|