@venusprotocol/venus-protocol 7.3.0-dev.3 → 7.3.0-dev.4

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 (94) hide show
  1. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  2. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  3. package/artifacts/@openzeppelin/contracts/access/Ownable2Step.sol/Ownable2Step.dbg.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +4 -0
  15. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +297 -0
  16. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  17. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +4 -0
  18. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +233 -0
  19. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.dbg.json +1 -1
  20. package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
  21. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  22. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  23. package/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
  24. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  25. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  26. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  27. package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  28. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +1 -1
  29. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
  30. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol/IERC20MetadataUpgradeable.dbg.json +1 -1
  31. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +1 -1
  32. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
  33. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  34. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  35. package/artifacts/@openzeppelin/contracts-upgradeable/utils/math/SafeCastUpgradeable.sol/SafeCastUpgradeable.dbg.json +1 -1
  36. package/artifacts/build-info/5d3c5040759360fa4c28ba5b26a6b9f1.json +1 -0
  37. package/artifacts/contracts/Governance/VTreasuryV8.sol/VTreasuryV8.dbg.json +1 -1
  38. package/artifacts/contracts/test/MockToken.sol/MockToken.dbg.json +4 -0
  39. package/artifacts/contracts/test/MockToken.sol/MockToken.json +315 -0
  40. package/contracts/test/MockToken.sol +22 -0
  41. package/deploy/010-deploy-mock-tokens.ts +30 -0
  42. package/deploy/011-deploy-markets.ts +92 -0
  43. package/deployments/bscmainnet/JumpRateModel_base0bps_slope687bps_jump25000bps_kink8000bps.json +380 -0
  44. package/deployments/bscmainnet/solcInputs/7830d2b3dd486e9651687b362529ec15.json +345 -0
  45. package/deployments/bscmainnet/vFDUSD_Proxy.json +2382 -0
  46. package/deployments/bscmainnet.json +11054 -11355
  47. package/deployments/bscmainnet_addresses.json +2 -1
  48. package/deployments/bsctestnet/JumpRateModel_base0bps_slope687bps_jump25000bps_kink8000bps.json +380 -0
  49. package/deployments/bsctestnet/MockFDUSD.json +458 -0
  50. package/deployments/bsctestnet/solcInputs/7830d2b3dd486e9651687b362529ec15.json +345 -0
  51. package/deployments/bsctestnet/solcInputs/f4ba922efa57be24c0606389b67afaaa.json +46 -0
  52. package/deployments/bsctestnet/vFDUSD_Proxy.json +2382 -0
  53. package/deployments/bsctestnet.json +17362 -17871
  54. package/deployments/bsctestnet_addresses.json +3 -1
  55. package/dist/deploy/010-deploy-mock-tokens.d.ts +3 -0
  56. package/dist/deploy/010-deploy-mock-tokens.js +24 -0
  57. package/dist/deploy/011-deploy-markets.d.ts +3 -0
  58. package/dist/deploy/011-deploy-markets.js +76 -0
  59. package/dist/deployments/bscmainnet.json +11054 -11355
  60. package/dist/deployments/bscmainnet_addresses.json +202 -0
  61. package/dist/deployments/bsctestnet.json +17362 -17871
  62. package/dist/deployments/bsctestnet_addresses.json +121 -0
  63. package/dist/hardhat.config.js +1 -3
  64. package/dist/helpers/deploymentConfig.d.ts +47 -0
  65. package/dist/helpers/deploymentConfig.js +157 -0
  66. package/dist/helpers/utils.d.ts +2 -0
  67. package/dist/helpers/utils.js +27 -0
  68. package/dist/typechain/@openzeppelin/contracts/token/ERC20/ERC20.d.ts +198 -0
  69. package/dist/typechain/@openzeppelin/contracts/token/ERC20/ERC20.js +3 -0
  70. package/dist/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts +166 -0
  71. package/dist/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.js +3 -0
  72. package/dist/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -0
  73. package/dist/typechain/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
  74. package/dist/typechain/contracts/test/MockToken.d.ts +214 -0
  75. package/dist/typechain/contracts/test/MockToken.js +3 -0
  76. package/dist/typechain/contracts/test/index.d.ts +1 -0
  77. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +239 -0
  78. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +326 -0
  79. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts +178 -0
  80. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.js +239 -0
  81. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -0
  82. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +3 -1
  83. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
  84. package/dist/typechain/factories/@openzeppelin/contracts/token/ERC20/index.js +3 -1
  85. package/dist/typechain/factories/contracts/test/MockToken__factory.d.ts +253 -0
  86. package/dist/typechain/factories/contracts/test/MockToken__factory.js +344 -0
  87. package/dist/typechain/factories/contracts/test/index.d.ts +1 -0
  88. package/dist/typechain/factories/contracts/test/index.js +3 -1
  89. package/dist/typechain/index.d.ts +6 -0
  90. package/dist/typechain/index.js +12 -6
  91. package/package.json +1 -1
  92. package/artifacts/build-info/836b5274e4a94df50d1ff043d8579f59.json +0 -1
  93. package/deployments/bscmainnet/Comptroller.json +0 -2237
  94. package/deployments/bsctestnet/Comptroller.json +0 -2754
@@ -1,2237 +0,0 @@
1
- {
2
- "address": "0xf6C14D4DFE45C132822Ce28c646753C54994E59C",
3
- "abi": [
4
- {
5
- "inputs": [],
6
- "payable": false,
7
- "stateMutability": "nonpayable",
8
- "type": "constructor"
9
- },
10
- {
11
- "anonymous": false,
12
- "inputs": [
13
- {
14
- "indexed": false,
15
- "internalType": "string",
16
- "name": "action",
17
- "type": "string"
18
- },
19
- {
20
- "indexed": false,
21
- "internalType": "bool",
22
- "name": "pauseState",
23
- "type": "bool"
24
- }
25
- ],
26
- "name": "ActionPaused",
27
- "type": "event"
28
- },
29
- {
30
- "anonymous": false,
31
- "inputs": [
32
- {
33
- "indexed": false,
34
- "internalType": "contract VToken",
35
- "name": "vToken",
36
- "type": "address"
37
- },
38
- {
39
- "indexed": false,
40
- "internalType": "string",
41
- "name": "action",
42
- "type": "string"
43
- },
44
- {
45
- "indexed": false,
46
- "internalType": "bool",
47
- "name": "pauseState",
48
- "type": "bool"
49
- }
50
- ],
51
- "name": "ActionPaused",
52
- "type": "event"
53
- },
54
- {
55
- "anonymous": false,
56
- "inputs": [
57
- {
58
- "indexed": false,
59
- "internalType": "bool",
60
- "name": "state",
61
- "type": "bool"
62
- }
63
- ],
64
- "name": "ActionProtocolPaused",
65
- "type": "event"
66
- },
67
- {
68
- "anonymous": false,
69
- "inputs": [
70
- {
71
- "indexed": true,
72
- "internalType": "contract VToken",
73
- "name": "vToken",
74
- "type": "address"
75
- },
76
- {
77
- "indexed": true,
78
- "internalType": "address",
79
- "name": "borrower",
80
- "type": "address"
81
- },
82
- {
83
- "indexed": false,
84
- "internalType": "uint256",
85
- "name": "venusDelta",
86
- "type": "uint256"
87
- },
88
- {
89
- "indexed": false,
90
- "internalType": "uint256",
91
- "name": "venusBorrowIndex",
92
- "type": "uint256"
93
- }
94
- ],
95
- "name": "DistributedBorrowerVenus",
96
- "type": "event"
97
- },
98
- {
99
- "anonymous": false,
100
- "inputs": [
101
- {
102
- "indexed": true,
103
- "internalType": "contract VToken",
104
- "name": "vToken",
105
- "type": "address"
106
- },
107
- {
108
- "indexed": true,
109
- "internalType": "address",
110
- "name": "supplier",
111
- "type": "address"
112
- },
113
- {
114
- "indexed": false,
115
- "internalType": "uint256",
116
- "name": "venusDelta",
117
- "type": "uint256"
118
- },
119
- {
120
- "indexed": false,
121
- "internalType": "uint256",
122
- "name": "venusSupplyIndex",
123
- "type": "uint256"
124
- }
125
- ],
126
- "name": "DistributedSupplierVenus",
127
- "type": "event"
128
- },
129
- {
130
- "anonymous": false,
131
- "inputs": [
132
- {
133
- "indexed": false,
134
- "internalType": "uint256",
135
- "name": "error",
136
- "type": "uint256"
137
- },
138
- {
139
- "indexed": false,
140
- "internalType": "uint256",
141
- "name": "info",
142
- "type": "uint256"
143
- },
144
- {
145
- "indexed": false,
146
- "internalType": "uint256",
147
- "name": "detail",
148
- "type": "uint256"
149
- }
150
- ],
151
- "name": "Failure",
152
- "type": "event"
153
- },
154
- {
155
- "anonymous": false,
156
- "inputs": [
157
- {
158
- "indexed": false,
159
- "internalType": "contract VToken",
160
- "name": "vToken",
161
- "type": "address"
162
- },
163
- {
164
- "indexed": false,
165
- "internalType": "address",
166
- "name": "account",
167
- "type": "address"
168
- }
169
- ],
170
- "name": "MarketEntered",
171
- "type": "event"
172
- },
173
- {
174
- "anonymous": false,
175
- "inputs": [
176
- {
177
- "indexed": false,
178
- "internalType": "contract VToken",
179
- "name": "vToken",
180
- "type": "address"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "address",
185
- "name": "account",
186
- "type": "address"
187
- }
188
- ],
189
- "name": "MarketExited",
190
- "type": "event"
191
- },
192
- {
193
- "anonymous": false,
194
- "inputs": [
195
- {
196
- "indexed": false,
197
- "internalType": "contract VToken",
198
- "name": "vToken",
199
- "type": "address"
200
- }
201
- ],
202
- "name": "MarketListed",
203
- "type": "event"
204
- },
205
- {
206
- "anonymous": false,
207
- "inputs": [
208
- {
209
- "indexed": false,
210
- "internalType": "contract VToken",
211
- "name": "vToken",
212
- "type": "address"
213
- },
214
- {
215
- "indexed": false,
216
- "internalType": "bool",
217
- "name": "isVenus",
218
- "type": "bool"
219
- }
220
- ],
221
- "name": "MarketVenus",
222
- "type": "event"
223
- },
224
- {
225
- "anonymous": false,
226
- "inputs": [
227
- {
228
- "indexed": false,
229
- "internalType": "uint256",
230
- "name": "oldCloseFactorMantissa",
231
- "type": "uint256"
232
- },
233
- {
234
- "indexed": false,
235
- "internalType": "uint256",
236
- "name": "newCloseFactorMantissa",
237
- "type": "uint256"
238
- }
239
- ],
240
- "name": "NewCloseFactor",
241
- "type": "event"
242
- },
243
- {
244
- "anonymous": false,
245
- "inputs": [
246
- {
247
- "indexed": false,
248
- "internalType": "contract VToken",
249
- "name": "vToken",
250
- "type": "address"
251
- },
252
- {
253
- "indexed": false,
254
- "internalType": "uint256",
255
- "name": "oldCollateralFactorMantissa",
256
- "type": "uint256"
257
- },
258
- {
259
- "indexed": false,
260
- "internalType": "uint256",
261
- "name": "newCollateralFactorMantissa",
262
- "type": "uint256"
263
- }
264
- ],
265
- "name": "NewCollateralFactor",
266
- "type": "event"
267
- },
268
- {
269
- "anonymous": false,
270
- "inputs": [
271
- {
272
- "indexed": false,
273
- "internalType": "uint256",
274
- "name": "oldLiquidationIncentiveMantissa",
275
- "type": "uint256"
276
- },
277
- {
278
- "indexed": false,
279
- "internalType": "uint256",
280
- "name": "newLiquidationIncentiveMantissa",
281
- "type": "uint256"
282
- }
283
- ],
284
- "name": "NewLiquidationIncentive",
285
- "type": "event"
286
- },
287
- {
288
- "anonymous": false,
289
- "inputs": [
290
- {
291
- "indexed": false,
292
- "internalType": "uint256",
293
- "name": "oldMaxAssets",
294
- "type": "uint256"
295
- },
296
- {
297
- "indexed": false,
298
- "internalType": "uint256",
299
- "name": "newMaxAssets",
300
- "type": "uint256"
301
- }
302
- ],
303
- "name": "NewMaxAssets",
304
- "type": "event"
305
- },
306
- {
307
- "anonymous": false,
308
- "inputs": [
309
- {
310
- "indexed": false,
311
- "internalType": "address",
312
- "name": "oldPauseGuardian",
313
- "type": "address"
314
- },
315
- {
316
- "indexed": false,
317
- "internalType": "address",
318
- "name": "newPauseGuardian",
319
- "type": "address"
320
- }
321
- ],
322
- "name": "NewPauseGuardian",
323
- "type": "event"
324
- },
325
- {
326
- "anonymous": false,
327
- "inputs": [
328
- {
329
- "indexed": false,
330
- "internalType": "contract PriceOracle",
331
- "name": "oldPriceOracle",
332
- "type": "address"
333
- },
334
- {
335
- "indexed": false,
336
- "internalType": "contract PriceOracle",
337
- "name": "newPriceOracle",
338
- "type": "address"
339
- }
340
- ],
341
- "name": "NewPriceOracle",
342
- "type": "event"
343
- },
344
- {
345
- "anonymous": false,
346
- "inputs": [
347
- {
348
- "indexed": false,
349
- "internalType": "contract VAIControllerInterface",
350
- "name": "oldVAIController",
351
- "type": "address"
352
- },
353
- {
354
- "indexed": false,
355
- "internalType": "contract VAIControllerInterface",
356
- "name": "newVAIController",
357
- "type": "address"
358
- }
359
- ],
360
- "name": "NewVAIController",
361
- "type": "event"
362
- },
363
- {
364
- "anonymous": false,
365
- "inputs": [
366
- {
367
- "indexed": false,
368
- "internalType": "uint256",
369
- "name": "oldVAIMintRate",
370
- "type": "uint256"
371
- },
372
- {
373
- "indexed": false,
374
- "internalType": "uint256",
375
- "name": "newVAIMintRate",
376
- "type": "uint256"
377
- }
378
- ],
379
- "name": "NewVAIMintRate",
380
- "type": "event"
381
- },
382
- {
383
- "anonymous": false,
384
- "inputs": [
385
- {
386
- "indexed": false,
387
- "internalType": "uint256",
388
- "name": "oldVenusRate",
389
- "type": "uint256"
390
- },
391
- {
392
- "indexed": false,
393
- "internalType": "uint256",
394
- "name": "newVenusRate",
395
- "type": "uint256"
396
- }
397
- ],
398
- "name": "NewVenusRate",
399
- "type": "event"
400
- },
401
- {
402
- "anonymous": false,
403
- "inputs": [
404
- {
405
- "indexed": true,
406
- "internalType": "contract VToken",
407
- "name": "vToken",
408
- "type": "address"
409
- },
410
- {
411
- "indexed": false,
412
- "internalType": "uint256",
413
- "name": "newSpeed",
414
- "type": "uint256"
415
- }
416
- ],
417
- "name": "VenusSpeedUpdated",
418
- "type": "event"
419
- },
420
- {
421
- "constant": false,
422
- "inputs": [
423
- {
424
- "internalType": "address[]",
425
- "name": "vTokens",
426
- "type": "address[]"
427
- }
428
- ],
429
- "name": "_addVenusMarkets",
430
- "outputs": [],
431
- "payable": false,
432
- "stateMutability": "nonpayable",
433
- "type": "function"
434
- },
435
- {
436
- "constant": false,
437
- "inputs": [
438
- {
439
- "internalType": "contract Unitroller",
440
- "name": "unitroller",
441
- "type": "address"
442
- }
443
- ],
444
- "name": "_become",
445
- "outputs": [],
446
- "payable": false,
447
- "stateMutability": "nonpayable",
448
- "type": "function"
449
- },
450
- {
451
- "constant": true,
452
- "inputs": [],
453
- "name": "_borrowGuardianPaused",
454
- "outputs": [
455
- {
456
- "internalType": "bool",
457
- "name": "",
458
- "type": "bool"
459
- }
460
- ],
461
- "payable": false,
462
- "stateMutability": "view",
463
- "type": "function"
464
- },
465
- {
466
- "constant": false,
467
- "inputs": [
468
- {
469
- "internalType": "address",
470
- "name": "vToken",
471
- "type": "address"
472
- }
473
- ],
474
- "name": "_dropVenusMarket",
475
- "outputs": [],
476
- "payable": false,
477
- "stateMutability": "nonpayable",
478
- "type": "function"
479
- },
480
- {
481
- "constant": true,
482
- "inputs": [],
483
- "name": "_mintGuardianPaused",
484
- "outputs": [
485
- {
486
- "internalType": "bool",
487
- "name": "",
488
- "type": "bool"
489
- }
490
- ],
491
- "payable": false,
492
- "stateMutability": "view",
493
- "type": "function"
494
- },
495
- {
496
- "constant": false,
497
- "inputs": [
498
- {
499
- "internalType": "uint256",
500
- "name": "newCloseFactorMantissa",
501
- "type": "uint256"
502
- }
503
- ],
504
- "name": "_setCloseFactor",
505
- "outputs": [
506
- {
507
- "internalType": "uint256",
508
- "name": "",
509
- "type": "uint256"
510
- }
511
- ],
512
- "payable": false,
513
- "stateMutability": "nonpayable",
514
- "type": "function"
515
- },
516
- {
517
- "constant": false,
518
- "inputs": [
519
- {
520
- "internalType": "contract VToken",
521
- "name": "vToken",
522
- "type": "address"
523
- },
524
- {
525
- "internalType": "uint256",
526
- "name": "newCollateralFactorMantissa",
527
- "type": "uint256"
528
- }
529
- ],
530
- "name": "_setCollateralFactor",
531
- "outputs": [
532
- {
533
- "internalType": "uint256",
534
- "name": "",
535
- "type": "uint256"
536
- }
537
- ],
538
- "payable": false,
539
- "stateMutability": "nonpayable",
540
- "type": "function"
541
- },
542
- {
543
- "constant": false,
544
- "inputs": [
545
- {
546
- "internalType": "uint256",
547
- "name": "newLiquidationIncentiveMantissa",
548
- "type": "uint256"
549
- }
550
- ],
551
- "name": "_setLiquidationIncentive",
552
- "outputs": [
553
- {
554
- "internalType": "uint256",
555
- "name": "",
556
- "type": "uint256"
557
- }
558
- ],
559
- "payable": false,
560
- "stateMutability": "nonpayable",
561
- "type": "function"
562
- },
563
- {
564
- "constant": false,
565
- "inputs": [
566
- {
567
- "internalType": "uint256",
568
- "name": "newMaxAssets",
569
- "type": "uint256"
570
- }
571
- ],
572
- "name": "_setMaxAssets",
573
- "outputs": [
574
- {
575
- "internalType": "uint256",
576
- "name": "",
577
- "type": "uint256"
578
- }
579
- ],
580
- "payable": false,
581
- "stateMutability": "nonpayable",
582
- "type": "function"
583
- },
584
- {
585
- "constant": false,
586
- "inputs": [
587
- {
588
- "internalType": "address",
589
- "name": "newPauseGuardian",
590
- "type": "address"
591
- }
592
- ],
593
- "name": "_setPauseGuardian",
594
- "outputs": [
595
- {
596
- "internalType": "uint256",
597
- "name": "",
598
- "type": "uint256"
599
- }
600
- ],
601
- "payable": false,
602
- "stateMutability": "nonpayable",
603
- "type": "function"
604
- },
605
- {
606
- "constant": false,
607
- "inputs": [
608
- {
609
- "internalType": "contract PriceOracle",
610
- "name": "newOracle",
611
- "type": "address"
612
- }
613
- ],
614
- "name": "_setPriceOracle",
615
- "outputs": [
616
- {
617
- "internalType": "uint256",
618
- "name": "",
619
- "type": "uint256"
620
- }
621
- ],
622
- "payable": false,
623
- "stateMutability": "nonpayable",
624
- "type": "function"
625
- },
626
- {
627
- "constant": false,
628
- "inputs": [
629
- {
630
- "internalType": "bool",
631
- "name": "state",
632
- "type": "bool"
633
- }
634
- ],
635
- "name": "_setProtocolPaused",
636
- "outputs": [
637
- {
638
- "internalType": "bool",
639
- "name": "",
640
- "type": "bool"
641
- }
642
- ],
643
- "payable": false,
644
- "stateMutability": "nonpayable",
645
- "type": "function"
646
- },
647
- {
648
- "constant": false,
649
- "inputs": [
650
- {
651
- "internalType": "contract VAIControllerInterface",
652
- "name": "vaiController_",
653
- "type": "address"
654
- }
655
- ],
656
- "name": "_setVAIController",
657
- "outputs": [
658
- {
659
- "internalType": "uint256",
660
- "name": "",
661
- "type": "uint256"
662
- }
663
- ],
664
- "payable": false,
665
- "stateMutability": "nonpayable",
666
- "type": "function"
667
- },
668
- {
669
- "constant": false,
670
- "inputs": [
671
- {
672
- "internalType": "uint256",
673
- "name": "newVAIMintRate",
674
- "type": "uint256"
675
- }
676
- ],
677
- "name": "_setVAIMintRate",
678
- "outputs": [
679
- {
680
- "internalType": "uint256",
681
- "name": "",
682
- "type": "uint256"
683
- }
684
- ],
685
- "payable": false,
686
- "stateMutability": "nonpayable",
687
- "type": "function"
688
- },
689
- {
690
- "constant": false,
691
- "inputs": [
692
- {
693
- "internalType": "uint256",
694
- "name": "venusRate_",
695
- "type": "uint256"
696
- }
697
- ],
698
- "name": "_setVenusRate",
699
- "outputs": [],
700
- "payable": false,
701
- "stateMutability": "nonpayable",
702
- "type": "function"
703
- },
704
- {
705
- "constant": false,
706
- "inputs": [
707
- {
708
- "internalType": "contract VToken",
709
- "name": "vToken",
710
- "type": "address"
711
- }
712
- ],
713
- "name": "_supportMarket",
714
- "outputs": [
715
- {
716
- "internalType": "uint256",
717
- "name": "",
718
- "type": "uint256"
719
- }
720
- ],
721
- "payable": false,
722
- "stateMutability": "nonpayable",
723
- "type": "function"
724
- },
725
- {
726
- "constant": true,
727
- "inputs": [
728
- {
729
- "internalType": "address",
730
- "name": "",
731
- "type": "address"
732
- },
733
- {
734
- "internalType": "uint256",
735
- "name": "",
736
- "type": "uint256"
737
- }
738
- ],
739
- "name": "accountAssets",
740
- "outputs": [
741
- {
742
- "internalType": "contract VToken",
743
- "name": "",
744
- "type": "address"
745
- }
746
- ],
747
- "payable": false,
748
- "stateMutability": "view",
749
- "type": "function"
750
- },
751
- {
752
- "constant": true,
753
- "inputs": [],
754
- "name": "admin",
755
- "outputs": [
756
- {
757
- "internalType": "address",
758
- "name": "",
759
- "type": "address"
760
- }
761
- ],
762
- "payable": false,
763
- "stateMutability": "view",
764
- "type": "function"
765
- },
766
- {
767
- "constant": true,
768
- "inputs": [
769
- {
770
- "internalType": "uint256",
771
- "name": "",
772
- "type": "uint256"
773
- }
774
- ],
775
- "name": "allMarkets",
776
- "outputs": [
777
- {
778
- "internalType": "contract VToken",
779
- "name": "",
780
- "type": "address"
781
- }
782
- ],
783
- "payable": false,
784
- "stateMutability": "view",
785
- "type": "function"
786
- },
787
- {
788
- "constant": false,
789
- "inputs": [
790
- {
791
- "internalType": "address",
792
- "name": "vToken",
793
- "type": "address"
794
- },
795
- {
796
- "internalType": "address",
797
- "name": "borrower",
798
- "type": "address"
799
- },
800
- {
801
- "internalType": "uint256",
802
- "name": "borrowAmount",
803
- "type": "uint256"
804
- }
805
- ],
806
- "name": "borrowAllowed",
807
- "outputs": [
808
- {
809
- "internalType": "uint256",
810
- "name": "",
811
- "type": "uint256"
812
- }
813
- ],
814
- "payable": false,
815
- "stateMutability": "nonpayable",
816
- "type": "function"
817
- },
818
- {
819
- "constant": true,
820
- "inputs": [
821
- {
822
- "internalType": "address",
823
- "name": "",
824
- "type": "address"
825
- }
826
- ],
827
- "name": "borrowGuardianPaused",
828
- "outputs": [
829
- {
830
- "internalType": "bool",
831
- "name": "",
832
- "type": "bool"
833
- }
834
- ],
835
- "payable": false,
836
- "stateMutability": "view",
837
- "type": "function"
838
- },
839
- {
840
- "constant": false,
841
- "inputs": [
842
- {
843
- "internalType": "address",
844
- "name": "vToken",
845
- "type": "address"
846
- },
847
- {
848
- "internalType": "address",
849
- "name": "borrower",
850
- "type": "address"
851
- },
852
- {
853
- "internalType": "uint256",
854
- "name": "borrowAmount",
855
- "type": "uint256"
856
- }
857
- ],
858
- "name": "borrowVerify",
859
- "outputs": [],
860
- "payable": false,
861
- "stateMutability": "nonpayable",
862
- "type": "function"
863
- },
864
- {
865
- "constant": true,
866
- "inputs": [
867
- {
868
- "internalType": "address",
869
- "name": "account",
870
- "type": "address"
871
- },
872
- {
873
- "internalType": "contract VToken",
874
- "name": "vToken",
875
- "type": "address"
876
- }
877
- ],
878
- "name": "checkMembership",
879
- "outputs": [
880
- {
881
- "internalType": "bool",
882
- "name": "",
883
- "type": "bool"
884
- }
885
- ],
886
- "payable": false,
887
- "stateMutability": "view",
888
- "type": "function"
889
- },
890
- {
891
- "constant": false,
892
- "inputs": [
893
- {
894
- "internalType": "address",
895
- "name": "holder",
896
- "type": "address"
897
- },
898
- {
899
- "internalType": "contract VToken[]",
900
- "name": "vTokens",
901
- "type": "address[]"
902
- }
903
- ],
904
- "name": "claimVenus",
905
- "outputs": [],
906
- "payable": false,
907
- "stateMutability": "nonpayable",
908
- "type": "function"
909
- },
910
- {
911
- "constant": false,
912
- "inputs": [
913
- {
914
- "internalType": "address",
915
- "name": "holder",
916
- "type": "address"
917
- }
918
- ],
919
- "name": "claimVenus",
920
- "outputs": [],
921
- "payable": false,
922
- "stateMutability": "nonpayable",
923
- "type": "function"
924
- },
925
- {
926
- "constant": false,
927
- "inputs": [
928
- {
929
- "internalType": "address[]",
930
- "name": "holders",
931
- "type": "address[]"
932
- },
933
- {
934
- "internalType": "contract VToken[]",
935
- "name": "vTokens",
936
- "type": "address[]"
937
- },
938
- {
939
- "internalType": "bool",
940
- "name": "borrowers",
941
- "type": "bool"
942
- },
943
- {
944
- "internalType": "bool",
945
- "name": "suppliers",
946
- "type": "bool"
947
- }
948
- ],
949
- "name": "claimVenus",
950
- "outputs": [],
951
- "payable": false,
952
- "stateMutability": "nonpayable",
953
- "type": "function"
954
- },
955
- {
956
- "constant": true,
957
- "inputs": [],
958
- "name": "closeFactorMantissa",
959
- "outputs": [
960
- {
961
- "internalType": "uint256",
962
- "name": "",
963
- "type": "uint256"
964
- }
965
- ],
966
- "payable": false,
967
- "stateMutability": "view",
968
- "type": "function"
969
- },
970
- {
971
- "constant": true,
972
- "inputs": [],
973
- "name": "comptrollerImplementation",
974
- "outputs": [
975
- {
976
- "internalType": "address",
977
- "name": "",
978
- "type": "address"
979
- }
980
- ],
981
- "payable": false,
982
- "stateMutability": "view",
983
- "type": "function"
984
- },
985
- {
986
- "constant": false,
987
- "inputs": [
988
- {
989
- "internalType": "address[]",
990
- "name": "vTokens",
991
- "type": "address[]"
992
- }
993
- ],
994
- "name": "enterMarkets",
995
- "outputs": [
996
- {
997
- "internalType": "uint256[]",
998
- "name": "",
999
- "type": "uint256[]"
1000
- }
1001
- ],
1002
- "payable": false,
1003
- "stateMutability": "nonpayable",
1004
- "type": "function"
1005
- },
1006
- {
1007
- "constant": false,
1008
- "inputs": [
1009
- {
1010
- "internalType": "address",
1011
- "name": "vTokenAddress",
1012
- "type": "address"
1013
- }
1014
- ],
1015
- "name": "exitMarket",
1016
- "outputs": [
1017
- {
1018
- "internalType": "uint256",
1019
- "name": "",
1020
- "type": "uint256"
1021
- }
1022
- ],
1023
- "payable": false,
1024
- "stateMutability": "nonpayable",
1025
- "type": "function"
1026
- },
1027
- {
1028
- "constant": true,
1029
- "inputs": [
1030
- {
1031
- "internalType": "address",
1032
- "name": "account",
1033
- "type": "address"
1034
- }
1035
- ],
1036
- "name": "getAccountLiquidity",
1037
- "outputs": [
1038
- {
1039
- "internalType": "uint256",
1040
- "name": "",
1041
- "type": "uint256"
1042
- },
1043
- {
1044
- "internalType": "uint256",
1045
- "name": "",
1046
- "type": "uint256"
1047
- },
1048
- {
1049
- "internalType": "uint256",
1050
- "name": "",
1051
- "type": "uint256"
1052
- }
1053
- ],
1054
- "payable": false,
1055
- "stateMutability": "view",
1056
- "type": "function"
1057
- },
1058
- {
1059
- "constant": true,
1060
- "inputs": [],
1061
- "name": "getAllMarkets",
1062
- "outputs": [
1063
- {
1064
- "internalType": "contract VToken[]",
1065
- "name": "",
1066
- "type": "address[]"
1067
- }
1068
- ],
1069
- "payable": false,
1070
- "stateMutability": "view",
1071
- "type": "function"
1072
- },
1073
- {
1074
- "constant": true,
1075
- "inputs": [
1076
- {
1077
- "internalType": "address",
1078
- "name": "account",
1079
- "type": "address"
1080
- }
1081
- ],
1082
- "name": "getAssetsIn",
1083
- "outputs": [
1084
- {
1085
- "internalType": "contract VToken[]",
1086
- "name": "",
1087
- "type": "address[]"
1088
- }
1089
- ],
1090
- "payable": false,
1091
- "stateMutability": "view",
1092
- "type": "function"
1093
- },
1094
- {
1095
- "constant": true,
1096
- "inputs": [],
1097
- "name": "getBlockNumber",
1098
- "outputs": [
1099
- {
1100
- "internalType": "uint256",
1101
- "name": "",
1102
- "type": "uint256"
1103
- }
1104
- ],
1105
- "payable": false,
1106
- "stateMutability": "view",
1107
- "type": "function"
1108
- },
1109
- {
1110
- "constant": true,
1111
- "inputs": [
1112
- {
1113
- "internalType": "address",
1114
- "name": "account",
1115
- "type": "address"
1116
- },
1117
- {
1118
- "internalType": "address",
1119
- "name": "vTokenModify",
1120
- "type": "address"
1121
- },
1122
- {
1123
- "internalType": "uint256",
1124
- "name": "redeemTokens",
1125
- "type": "uint256"
1126
- },
1127
- {
1128
- "internalType": "uint256",
1129
- "name": "borrowAmount",
1130
- "type": "uint256"
1131
- }
1132
- ],
1133
- "name": "getHypotheticalAccountLiquidity",
1134
- "outputs": [
1135
- {
1136
- "internalType": "uint256",
1137
- "name": "",
1138
- "type": "uint256"
1139
- },
1140
- {
1141
- "internalType": "uint256",
1142
- "name": "",
1143
- "type": "uint256"
1144
- },
1145
- {
1146
- "internalType": "uint256",
1147
- "name": "",
1148
- "type": "uint256"
1149
- }
1150
- ],
1151
- "payable": false,
1152
- "stateMutability": "view",
1153
- "type": "function"
1154
- },
1155
- {
1156
- "constant": true,
1157
- "inputs": [
1158
- {
1159
- "internalType": "address",
1160
- "name": "minter",
1161
- "type": "address"
1162
- }
1163
- ],
1164
- "name": "getMintableVAI",
1165
- "outputs": [
1166
- {
1167
- "internalType": "uint256",
1168
- "name": "",
1169
- "type": "uint256"
1170
- },
1171
- {
1172
- "internalType": "uint256",
1173
- "name": "",
1174
- "type": "uint256"
1175
- }
1176
- ],
1177
- "payable": false,
1178
- "stateMutability": "view",
1179
- "type": "function"
1180
- },
1181
- {
1182
- "constant": true,
1183
- "inputs": [],
1184
- "name": "getVAIMintRate",
1185
- "outputs": [
1186
- {
1187
- "internalType": "uint256",
1188
- "name": "",
1189
- "type": "uint256"
1190
- }
1191
- ],
1192
- "payable": false,
1193
- "stateMutability": "view",
1194
- "type": "function"
1195
- },
1196
- {
1197
- "constant": true,
1198
- "inputs": [],
1199
- "name": "getXVSAddress",
1200
- "outputs": [
1201
- {
1202
- "internalType": "address",
1203
- "name": "",
1204
- "type": "address"
1205
- }
1206
- ],
1207
- "payable": false,
1208
- "stateMutability": "view",
1209
- "type": "function"
1210
- },
1211
- {
1212
- "constant": true,
1213
- "inputs": [],
1214
- "name": "isComptroller",
1215
- "outputs": [
1216
- {
1217
- "internalType": "bool",
1218
- "name": "",
1219
- "type": "bool"
1220
- }
1221
- ],
1222
- "payable": false,
1223
- "stateMutability": "view",
1224
- "type": "function"
1225
- },
1226
- {
1227
- "constant": false,
1228
- "inputs": [
1229
- {
1230
- "internalType": "address",
1231
- "name": "vTokenBorrowed",
1232
- "type": "address"
1233
- },
1234
- {
1235
- "internalType": "address",
1236
- "name": "vTokenCollateral",
1237
- "type": "address"
1238
- },
1239
- {
1240
- "internalType": "address",
1241
- "name": "liquidator",
1242
- "type": "address"
1243
- },
1244
- {
1245
- "internalType": "address",
1246
- "name": "borrower",
1247
- "type": "address"
1248
- },
1249
- {
1250
- "internalType": "uint256",
1251
- "name": "repayAmount",
1252
- "type": "uint256"
1253
- }
1254
- ],
1255
- "name": "liquidateBorrowAllowed",
1256
- "outputs": [
1257
- {
1258
- "internalType": "uint256",
1259
- "name": "",
1260
- "type": "uint256"
1261
- }
1262
- ],
1263
- "payable": false,
1264
- "stateMutability": "nonpayable",
1265
- "type": "function"
1266
- },
1267
- {
1268
- "constant": false,
1269
- "inputs": [
1270
- {
1271
- "internalType": "address",
1272
- "name": "vTokenBorrowed",
1273
- "type": "address"
1274
- },
1275
- {
1276
- "internalType": "address",
1277
- "name": "vTokenCollateral",
1278
- "type": "address"
1279
- },
1280
- {
1281
- "internalType": "address",
1282
- "name": "liquidator",
1283
- "type": "address"
1284
- },
1285
- {
1286
- "internalType": "address",
1287
- "name": "borrower",
1288
- "type": "address"
1289
- },
1290
- {
1291
- "internalType": "uint256",
1292
- "name": "actualRepayAmount",
1293
- "type": "uint256"
1294
- },
1295
- {
1296
- "internalType": "uint256",
1297
- "name": "seizeTokens",
1298
- "type": "uint256"
1299
- }
1300
- ],
1301
- "name": "liquidateBorrowVerify",
1302
- "outputs": [],
1303
- "payable": false,
1304
- "stateMutability": "nonpayable",
1305
- "type": "function"
1306
- },
1307
- {
1308
- "constant": true,
1309
- "inputs": [
1310
- {
1311
- "internalType": "address",
1312
- "name": "vTokenBorrowed",
1313
- "type": "address"
1314
- },
1315
- {
1316
- "internalType": "address",
1317
- "name": "vTokenCollateral",
1318
- "type": "address"
1319
- },
1320
- {
1321
- "internalType": "uint256",
1322
- "name": "actualRepayAmount",
1323
- "type": "uint256"
1324
- }
1325
- ],
1326
- "name": "liquidateCalculateSeizeTokens",
1327
- "outputs": [
1328
- {
1329
- "internalType": "uint256",
1330
- "name": "",
1331
- "type": "uint256"
1332
- },
1333
- {
1334
- "internalType": "uint256",
1335
- "name": "",
1336
- "type": "uint256"
1337
- }
1338
- ],
1339
- "payable": false,
1340
- "stateMutability": "view",
1341
- "type": "function"
1342
- },
1343
- {
1344
- "constant": true,
1345
- "inputs": [],
1346
- "name": "liquidationIncentiveMantissa",
1347
- "outputs": [
1348
- {
1349
- "internalType": "uint256",
1350
- "name": "",
1351
- "type": "uint256"
1352
- }
1353
- ],
1354
- "payable": false,
1355
- "stateMutability": "view",
1356
- "type": "function"
1357
- },
1358
- {
1359
- "constant": true,
1360
- "inputs": [
1361
- {
1362
- "internalType": "address",
1363
- "name": "",
1364
- "type": "address"
1365
- }
1366
- ],
1367
- "name": "markets",
1368
- "outputs": [
1369
- {
1370
- "internalType": "bool",
1371
- "name": "isListed",
1372
- "type": "bool"
1373
- },
1374
- {
1375
- "internalType": "uint256",
1376
- "name": "collateralFactorMantissa",
1377
- "type": "uint256"
1378
- },
1379
- {
1380
- "internalType": "bool",
1381
- "name": "isVenus",
1382
- "type": "bool"
1383
- }
1384
- ],
1385
- "payable": false,
1386
- "stateMutability": "view",
1387
- "type": "function"
1388
- },
1389
- {
1390
- "constant": true,
1391
- "inputs": [],
1392
- "name": "maxAssets",
1393
- "outputs": [
1394
- {
1395
- "internalType": "uint256",
1396
- "name": "",
1397
- "type": "uint256"
1398
- }
1399
- ],
1400
- "payable": false,
1401
- "stateMutability": "view",
1402
- "type": "function"
1403
- },
1404
- {
1405
- "constant": false,
1406
- "inputs": [
1407
- {
1408
- "internalType": "address",
1409
- "name": "vToken",
1410
- "type": "address"
1411
- },
1412
- {
1413
- "internalType": "address",
1414
- "name": "minter",
1415
- "type": "address"
1416
- },
1417
- {
1418
- "internalType": "uint256",
1419
- "name": "mintAmount",
1420
- "type": "uint256"
1421
- }
1422
- ],
1423
- "name": "mintAllowed",
1424
- "outputs": [
1425
- {
1426
- "internalType": "uint256",
1427
- "name": "",
1428
- "type": "uint256"
1429
- }
1430
- ],
1431
- "payable": false,
1432
- "stateMutability": "nonpayable",
1433
- "type": "function"
1434
- },
1435
- {
1436
- "constant": true,
1437
- "inputs": [
1438
- {
1439
- "internalType": "address",
1440
- "name": "",
1441
- "type": "address"
1442
- }
1443
- ],
1444
- "name": "mintGuardianPaused",
1445
- "outputs": [
1446
- {
1447
- "internalType": "bool",
1448
- "name": "",
1449
- "type": "bool"
1450
- }
1451
- ],
1452
- "payable": false,
1453
- "stateMutability": "view",
1454
- "type": "function"
1455
- },
1456
- {
1457
- "constant": false,
1458
- "inputs": [
1459
- {
1460
- "internalType": "uint256",
1461
- "name": "mintVAIAmount",
1462
- "type": "uint256"
1463
- }
1464
- ],
1465
- "name": "mintVAI",
1466
- "outputs": [
1467
- {
1468
- "internalType": "uint256",
1469
- "name": "",
1470
- "type": "uint256"
1471
- }
1472
- ],
1473
- "payable": false,
1474
- "stateMutability": "nonpayable",
1475
- "type": "function"
1476
- },
1477
- {
1478
- "constant": true,
1479
- "inputs": [],
1480
- "name": "mintVAIGuardianPaused",
1481
- "outputs": [
1482
- {
1483
- "internalType": "bool",
1484
- "name": "",
1485
- "type": "bool"
1486
- }
1487
- ],
1488
- "payable": false,
1489
- "stateMutability": "view",
1490
- "type": "function"
1491
- },
1492
- {
1493
- "constant": false,
1494
- "inputs": [
1495
- {
1496
- "internalType": "address",
1497
- "name": "vToken",
1498
- "type": "address"
1499
- },
1500
- {
1501
- "internalType": "address",
1502
- "name": "minter",
1503
- "type": "address"
1504
- },
1505
- {
1506
- "internalType": "uint256",
1507
- "name": "actualMintAmount",
1508
- "type": "uint256"
1509
- },
1510
- {
1511
- "internalType": "uint256",
1512
- "name": "mintTokens",
1513
- "type": "uint256"
1514
- }
1515
- ],
1516
- "name": "mintVerify",
1517
- "outputs": [],
1518
- "payable": false,
1519
- "stateMutability": "nonpayable",
1520
- "type": "function"
1521
- },
1522
- {
1523
- "constant": true,
1524
- "inputs": [
1525
- {
1526
- "internalType": "address",
1527
- "name": "owner",
1528
- "type": "address"
1529
- }
1530
- ],
1531
- "name": "mintedVAIOf",
1532
- "outputs": [
1533
- {
1534
- "internalType": "uint256",
1535
- "name": "",
1536
- "type": "uint256"
1537
- }
1538
- ],
1539
- "payable": false,
1540
- "stateMutability": "view",
1541
- "type": "function"
1542
- },
1543
- {
1544
- "constant": true,
1545
- "inputs": [
1546
- {
1547
- "internalType": "address",
1548
- "name": "",
1549
- "type": "address"
1550
- }
1551
- ],
1552
- "name": "mintedVAIs",
1553
- "outputs": [
1554
- {
1555
- "internalType": "uint256",
1556
- "name": "",
1557
- "type": "uint256"
1558
- }
1559
- ],
1560
- "payable": false,
1561
- "stateMutability": "view",
1562
- "type": "function"
1563
- },
1564
- {
1565
- "constant": true,
1566
- "inputs": [],
1567
- "name": "oracle",
1568
- "outputs": [
1569
- {
1570
- "internalType": "contract PriceOracle",
1571
- "name": "",
1572
- "type": "address"
1573
- }
1574
- ],
1575
- "payable": false,
1576
- "stateMutability": "view",
1577
- "type": "function"
1578
- },
1579
- {
1580
- "constant": true,
1581
- "inputs": [],
1582
- "name": "pauseGuardian",
1583
- "outputs": [
1584
- {
1585
- "internalType": "address",
1586
- "name": "",
1587
- "type": "address"
1588
- }
1589
- ],
1590
- "payable": false,
1591
- "stateMutability": "view",
1592
- "type": "function"
1593
- },
1594
- {
1595
- "constant": true,
1596
- "inputs": [],
1597
- "name": "pendingAdmin",
1598
- "outputs": [
1599
- {
1600
- "internalType": "address",
1601
- "name": "",
1602
- "type": "address"
1603
- }
1604
- ],
1605
- "payable": false,
1606
- "stateMutability": "view",
1607
- "type": "function"
1608
- },
1609
- {
1610
- "constant": true,
1611
- "inputs": [],
1612
- "name": "pendingComptrollerImplementation",
1613
- "outputs": [
1614
- {
1615
- "internalType": "address",
1616
- "name": "",
1617
- "type": "address"
1618
- }
1619
- ],
1620
- "payable": false,
1621
- "stateMutability": "view",
1622
- "type": "function"
1623
- },
1624
- {
1625
- "constant": true,
1626
- "inputs": [],
1627
- "name": "protocolPaused",
1628
- "outputs": [
1629
- {
1630
- "internalType": "bool",
1631
- "name": "",
1632
- "type": "bool"
1633
- }
1634
- ],
1635
- "payable": false,
1636
- "stateMutability": "view",
1637
- "type": "function"
1638
- },
1639
- {
1640
- "constant": false,
1641
- "inputs": [
1642
- {
1643
- "internalType": "address",
1644
- "name": "vToken",
1645
- "type": "address"
1646
- },
1647
- {
1648
- "internalType": "address",
1649
- "name": "redeemer",
1650
- "type": "address"
1651
- },
1652
- {
1653
- "internalType": "uint256",
1654
- "name": "redeemTokens",
1655
- "type": "uint256"
1656
- }
1657
- ],
1658
- "name": "redeemAllowed",
1659
- "outputs": [
1660
- {
1661
- "internalType": "uint256",
1662
- "name": "",
1663
- "type": "uint256"
1664
- }
1665
- ],
1666
- "payable": false,
1667
- "stateMutability": "nonpayable",
1668
- "type": "function"
1669
- },
1670
- {
1671
- "constant": false,
1672
- "inputs": [
1673
- {
1674
- "internalType": "address",
1675
- "name": "vToken",
1676
- "type": "address"
1677
- },
1678
- {
1679
- "internalType": "address",
1680
- "name": "redeemer",
1681
- "type": "address"
1682
- },
1683
- {
1684
- "internalType": "uint256",
1685
- "name": "redeemAmount",
1686
- "type": "uint256"
1687
- },
1688
- {
1689
- "internalType": "uint256",
1690
- "name": "redeemTokens",
1691
- "type": "uint256"
1692
- }
1693
- ],
1694
- "name": "redeemVerify",
1695
- "outputs": [],
1696
- "payable": false,
1697
- "stateMutability": "nonpayable",
1698
- "type": "function"
1699
- },
1700
- {
1701
- "constant": false,
1702
- "inputs": [],
1703
- "name": "refreshVenusSpeeds",
1704
- "outputs": [],
1705
- "payable": false,
1706
- "stateMutability": "nonpayable",
1707
- "type": "function"
1708
- },
1709
- {
1710
- "constant": false,
1711
- "inputs": [
1712
- {
1713
- "internalType": "address",
1714
- "name": "vToken",
1715
- "type": "address"
1716
- },
1717
- {
1718
- "internalType": "address",
1719
- "name": "payer",
1720
- "type": "address"
1721
- },
1722
- {
1723
- "internalType": "address",
1724
- "name": "borrower",
1725
- "type": "address"
1726
- },
1727
- {
1728
- "internalType": "uint256",
1729
- "name": "repayAmount",
1730
- "type": "uint256"
1731
- }
1732
- ],
1733
- "name": "repayBorrowAllowed",
1734
- "outputs": [
1735
- {
1736
- "internalType": "uint256",
1737
- "name": "",
1738
- "type": "uint256"
1739
- }
1740
- ],
1741
- "payable": false,
1742
- "stateMutability": "nonpayable",
1743
- "type": "function"
1744
- },
1745
- {
1746
- "constant": false,
1747
- "inputs": [
1748
- {
1749
- "internalType": "address",
1750
- "name": "vToken",
1751
- "type": "address"
1752
- },
1753
- {
1754
- "internalType": "address",
1755
- "name": "payer",
1756
- "type": "address"
1757
- },
1758
- {
1759
- "internalType": "address",
1760
- "name": "borrower",
1761
- "type": "address"
1762
- },
1763
- {
1764
- "internalType": "uint256",
1765
- "name": "actualRepayAmount",
1766
- "type": "uint256"
1767
- },
1768
- {
1769
- "internalType": "uint256",
1770
- "name": "borrowerIndex",
1771
- "type": "uint256"
1772
- }
1773
- ],
1774
- "name": "repayBorrowVerify",
1775
- "outputs": [],
1776
- "payable": false,
1777
- "stateMutability": "nonpayable",
1778
- "type": "function"
1779
- },
1780
- {
1781
- "constant": false,
1782
- "inputs": [
1783
- {
1784
- "internalType": "uint256",
1785
- "name": "repayVAIAmount",
1786
- "type": "uint256"
1787
- }
1788
- ],
1789
- "name": "repayVAI",
1790
- "outputs": [
1791
- {
1792
- "internalType": "uint256",
1793
- "name": "",
1794
- "type": "uint256"
1795
- }
1796
- ],
1797
- "payable": false,
1798
- "stateMutability": "nonpayable",
1799
- "type": "function"
1800
- },
1801
- {
1802
- "constant": true,
1803
- "inputs": [],
1804
- "name": "repayVAIGuardianPaused",
1805
- "outputs": [
1806
- {
1807
- "internalType": "bool",
1808
- "name": "",
1809
- "type": "bool"
1810
- }
1811
- ],
1812
- "payable": false,
1813
- "stateMutability": "view",
1814
- "type": "function"
1815
- },
1816
- {
1817
- "constant": false,
1818
- "inputs": [
1819
- {
1820
- "internalType": "address",
1821
- "name": "vTokenCollateral",
1822
- "type": "address"
1823
- },
1824
- {
1825
- "internalType": "address",
1826
- "name": "vTokenBorrowed",
1827
- "type": "address"
1828
- },
1829
- {
1830
- "internalType": "address",
1831
- "name": "liquidator",
1832
- "type": "address"
1833
- },
1834
- {
1835
- "internalType": "address",
1836
- "name": "borrower",
1837
- "type": "address"
1838
- },
1839
- {
1840
- "internalType": "uint256",
1841
- "name": "seizeTokens",
1842
- "type": "uint256"
1843
- }
1844
- ],
1845
- "name": "seizeAllowed",
1846
- "outputs": [
1847
- {
1848
- "internalType": "uint256",
1849
- "name": "",
1850
- "type": "uint256"
1851
- }
1852
- ],
1853
- "payable": false,
1854
- "stateMutability": "nonpayable",
1855
- "type": "function"
1856
- },
1857
- {
1858
- "constant": true,
1859
- "inputs": [],
1860
- "name": "seizeGuardianPaused",
1861
- "outputs": [
1862
- {
1863
- "internalType": "bool",
1864
- "name": "",
1865
- "type": "bool"
1866
- }
1867
- ],
1868
- "payable": false,
1869
- "stateMutability": "view",
1870
- "type": "function"
1871
- },
1872
- {
1873
- "constant": false,
1874
- "inputs": [
1875
- {
1876
- "internalType": "address",
1877
- "name": "vTokenCollateral",
1878
- "type": "address"
1879
- },
1880
- {
1881
- "internalType": "address",
1882
- "name": "vTokenBorrowed",
1883
- "type": "address"
1884
- },
1885
- {
1886
- "internalType": "address",
1887
- "name": "liquidator",
1888
- "type": "address"
1889
- },
1890
- {
1891
- "internalType": "address",
1892
- "name": "borrower",
1893
- "type": "address"
1894
- },
1895
- {
1896
- "internalType": "uint256",
1897
- "name": "seizeTokens",
1898
- "type": "uint256"
1899
- }
1900
- ],
1901
- "name": "seizeVerify",
1902
- "outputs": [],
1903
- "payable": false,
1904
- "stateMutability": "nonpayable",
1905
- "type": "function"
1906
- },
1907
- {
1908
- "constant": false,
1909
- "inputs": [
1910
- {
1911
- "internalType": "address",
1912
- "name": "owner",
1913
- "type": "address"
1914
- },
1915
- {
1916
- "internalType": "uint256",
1917
- "name": "amount",
1918
- "type": "uint256"
1919
- }
1920
- ],
1921
- "name": "setMintedVAIOf",
1922
- "outputs": [
1923
- {
1924
- "internalType": "uint256",
1925
- "name": "",
1926
- "type": "uint256"
1927
- }
1928
- ],
1929
- "payable": false,
1930
- "stateMutability": "nonpayable",
1931
- "type": "function"
1932
- },
1933
- {
1934
- "constant": false,
1935
- "inputs": [
1936
- {
1937
- "internalType": "address",
1938
- "name": "vToken",
1939
- "type": "address"
1940
- },
1941
- {
1942
- "internalType": "address",
1943
- "name": "src",
1944
- "type": "address"
1945
- },
1946
- {
1947
- "internalType": "address",
1948
- "name": "dst",
1949
- "type": "address"
1950
- },
1951
- {
1952
- "internalType": "uint256",
1953
- "name": "transferTokens",
1954
- "type": "uint256"
1955
- }
1956
- ],
1957
- "name": "transferAllowed",
1958
- "outputs": [
1959
- {
1960
- "internalType": "uint256",
1961
- "name": "",
1962
- "type": "uint256"
1963
- }
1964
- ],
1965
- "payable": false,
1966
- "stateMutability": "nonpayable",
1967
- "type": "function"
1968
- },
1969
- {
1970
- "constant": true,
1971
- "inputs": [],
1972
- "name": "transferGuardianPaused",
1973
- "outputs": [
1974
- {
1975
- "internalType": "bool",
1976
- "name": "",
1977
- "type": "bool"
1978
- }
1979
- ],
1980
- "payable": false,
1981
- "stateMutability": "view",
1982
- "type": "function"
1983
- },
1984
- {
1985
- "constant": false,
1986
- "inputs": [
1987
- {
1988
- "internalType": "address",
1989
- "name": "vToken",
1990
- "type": "address"
1991
- },
1992
- {
1993
- "internalType": "address",
1994
- "name": "src",
1995
- "type": "address"
1996
- },
1997
- {
1998
- "internalType": "address",
1999
- "name": "dst",
2000
- "type": "address"
2001
- },
2002
- {
2003
- "internalType": "uint256",
2004
- "name": "transferTokens",
2005
- "type": "uint256"
2006
- }
2007
- ],
2008
- "name": "transferVerify",
2009
- "outputs": [],
2010
- "payable": false,
2011
- "stateMutability": "nonpayable",
2012
- "type": "function"
2013
- },
2014
- {
2015
- "constant": true,
2016
- "inputs": [],
2017
- "name": "vaiController",
2018
- "outputs": [
2019
- {
2020
- "internalType": "contract VAIControllerInterface",
2021
- "name": "",
2022
- "type": "address"
2023
- }
2024
- ],
2025
- "payable": false,
2026
- "stateMutability": "view",
2027
- "type": "function"
2028
- },
2029
- {
2030
- "constant": true,
2031
- "inputs": [],
2032
- "name": "vaiMintRate",
2033
- "outputs": [
2034
- {
2035
- "internalType": "uint256",
2036
- "name": "",
2037
- "type": "uint256"
2038
- }
2039
- ],
2040
- "payable": false,
2041
- "stateMutability": "view",
2042
- "type": "function"
2043
- },
2044
- {
2045
- "constant": true,
2046
- "inputs": [
2047
- {
2048
- "internalType": "address",
2049
- "name": "",
2050
- "type": "address"
2051
- }
2052
- ],
2053
- "name": "venusAccrued",
2054
- "outputs": [
2055
- {
2056
- "internalType": "uint256",
2057
- "name": "",
2058
- "type": "uint256"
2059
- }
2060
- ],
2061
- "payable": false,
2062
- "stateMutability": "view",
2063
- "type": "function"
2064
- },
2065
- {
2066
- "constant": true,
2067
- "inputs": [
2068
- {
2069
- "internalType": "address",
2070
- "name": "",
2071
- "type": "address"
2072
- }
2073
- ],
2074
- "name": "venusBorrowState",
2075
- "outputs": [
2076
- {
2077
- "internalType": "uint224",
2078
- "name": "index",
2079
- "type": "uint224"
2080
- },
2081
- {
2082
- "internalType": "uint32",
2083
- "name": "block",
2084
- "type": "uint32"
2085
- }
2086
- ],
2087
- "payable": false,
2088
- "stateMutability": "view",
2089
- "type": "function"
2090
- },
2091
- {
2092
- "constant": true,
2093
- "inputs": [
2094
- {
2095
- "internalType": "address",
2096
- "name": "",
2097
- "type": "address"
2098
- },
2099
- {
2100
- "internalType": "address",
2101
- "name": "",
2102
- "type": "address"
2103
- }
2104
- ],
2105
- "name": "venusBorrowerIndex",
2106
- "outputs": [
2107
- {
2108
- "internalType": "uint256",
2109
- "name": "",
2110
- "type": "uint256"
2111
- }
2112
- ],
2113
- "payable": false,
2114
- "stateMutability": "view",
2115
- "type": "function"
2116
- },
2117
- {
2118
- "constant": true,
2119
- "inputs": [],
2120
- "name": "venusClaimThreshold",
2121
- "outputs": [
2122
- {
2123
- "internalType": "uint256",
2124
- "name": "",
2125
- "type": "uint256"
2126
- }
2127
- ],
2128
- "payable": false,
2129
- "stateMutability": "view",
2130
- "type": "function"
2131
- },
2132
- {
2133
- "constant": true,
2134
- "inputs": [],
2135
- "name": "venusInitialIndex",
2136
- "outputs": [
2137
- {
2138
- "internalType": "uint224",
2139
- "name": "",
2140
- "type": "uint224"
2141
- }
2142
- ],
2143
- "payable": false,
2144
- "stateMutability": "view",
2145
- "type": "function"
2146
- },
2147
- {
2148
- "constant": true,
2149
- "inputs": [],
2150
- "name": "venusRate",
2151
- "outputs": [
2152
- {
2153
- "internalType": "uint256",
2154
- "name": "",
2155
- "type": "uint256"
2156
- }
2157
- ],
2158
- "payable": false,
2159
- "stateMutability": "view",
2160
- "type": "function"
2161
- },
2162
- {
2163
- "constant": true,
2164
- "inputs": [
2165
- {
2166
- "internalType": "address",
2167
- "name": "",
2168
- "type": "address"
2169
- }
2170
- ],
2171
- "name": "venusSpeeds",
2172
- "outputs": [
2173
- {
2174
- "internalType": "uint256",
2175
- "name": "",
2176
- "type": "uint256"
2177
- }
2178
- ],
2179
- "payable": false,
2180
- "stateMutability": "view",
2181
- "type": "function"
2182
- },
2183
- {
2184
- "constant": true,
2185
- "inputs": [
2186
- {
2187
- "internalType": "address",
2188
- "name": "",
2189
- "type": "address"
2190
- },
2191
- {
2192
- "internalType": "address",
2193
- "name": "",
2194
- "type": "address"
2195
- }
2196
- ],
2197
- "name": "venusSupplierIndex",
2198
- "outputs": [
2199
- {
2200
- "internalType": "uint256",
2201
- "name": "",
2202
- "type": "uint256"
2203
- }
2204
- ],
2205
- "payable": false,
2206
- "stateMutability": "view",
2207
- "type": "function"
2208
- },
2209
- {
2210
- "constant": true,
2211
- "inputs": [
2212
- {
2213
- "internalType": "address",
2214
- "name": "",
2215
- "type": "address"
2216
- }
2217
- ],
2218
- "name": "venusSupplyState",
2219
- "outputs": [
2220
- {
2221
- "internalType": "uint224",
2222
- "name": "index",
2223
- "type": "uint224"
2224
- },
2225
- {
2226
- "internalType": "uint32",
2227
- "name": "block",
2228
- "type": "uint32"
2229
- }
2230
- ],
2231
- "payable": false,
2232
- "stateMutability": "view",
2233
- "type": "function"
2234
- }
2235
- ],
2236
- "numDeployments": 1
2237
- }