@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,2754 +0,0 @@
1
- {
2
- "address": "0xfd301ad2503b25a7670a45b11a043c20b04ee896",
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": "ActionPausedMarket",
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": true,
134
- "internalType": "address",
135
- "name": "vaiMinter",
136
- "type": "address"
137
- },
138
- {
139
- "indexed": false,
140
- "internalType": "uint256",
141
- "name": "venusDelta",
142
- "type": "uint256"
143
- },
144
- {
145
- "indexed": false,
146
- "internalType": "uint256",
147
- "name": "venusVAIMintIndex",
148
- "type": "uint256"
149
- }
150
- ],
151
- "name": "DistributedVAIMinterVenus",
152
- "type": "event"
153
- },
154
- {
155
- "anonymous": false,
156
- "inputs": [
157
- {
158
- "indexed": false,
159
- "internalType": "uint256",
160
- "name": "amount",
161
- "type": "uint256"
162
- }
163
- ],
164
- "name": "DistributedVAIVaultVenus",
165
- "type": "event"
166
- },
167
- {
168
- "anonymous": false,
169
- "inputs": [
170
- {
171
- "indexed": false,
172
- "internalType": "uint256",
173
- "name": "error",
174
- "type": "uint256"
175
- },
176
- {
177
- "indexed": false,
178
- "internalType": "uint256",
179
- "name": "info",
180
- "type": "uint256"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "uint256",
185
- "name": "detail",
186
- "type": "uint256"
187
- }
188
- ],
189
- "name": "Failure",
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
- "indexed": false,
203
- "internalType": "address",
204
- "name": "account",
205
- "type": "address"
206
- }
207
- ],
208
- "name": "MarketEntered",
209
- "type": "event"
210
- },
211
- {
212
- "anonymous": false,
213
- "inputs": [
214
- {
215
- "indexed": false,
216
- "internalType": "contract VToken",
217
- "name": "vToken",
218
- "type": "address"
219
- },
220
- {
221
- "indexed": false,
222
- "internalType": "address",
223
- "name": "account",
224
- "type": "address"
225
- }
226
- ],
227
- "name": "MarketExited",
228
- "type": "event"
229
- },
230
- {
231
- "anonymous": false,
232
- "inputs": [
233
- {
234
- "indexed": false,
235
- "internalType": "contract VToken",
236
- "name": "vToken",
237
- "type": "address"
238
- }
239
- ],
240
- "name": "MarketListed",
241
- "type": "event"
242
- },
243
- {
244
- "anonymous": false,
245
- "inputs": [
246
- {
247
- "indexed": true,
248
- "internalType": "contract VToken",
249
- "name": "vToken",
250
- "type": "address"
251
- },
252
- {
253
- "indexed": false,
254
- "internalType": "uint256",
255
- "name": "newBorrowCap",
256
- "type": "uint256"
257
- }
258
- ],
259
- "name": "NewBorrowCap",
260
- "type": "event"
261
- },
262
- {
263
- "anonymous": false,
264
- "inputs": [
265
- {
266
- "indexed": false,
267
- "internalType": "address",
268
- "name": "oldBorrowCapGuardian",
269
- "type": "address"
270
- },
271
- {
272
- "indexed": false,
273
- "internalType": "address",
274
- "name": "newBorrowCapGuardian",
275
- "type": "address"
276
- }
277
- ],
278
- "name": "NewBorrowCapGuardian",
279
- "type": "event"
280
- },
281
- {
282
- "anonymous": false,
283
- "inputs": [
284
- {
285
- "indexed": false,
286
- "internalType": "uint256",
287
- "name": "oldCloseFactorMantissa",
288
- "type": "uint256"
289
- },
290
- {
291
- "indexed": false,
292
- "internalType": "uint256",
293
- "name": "newCloseFactorMantissa",
294
- "type": "uint256"
295
- }
296
- ],
297
- "name": "NewCloseFactor",
298
- "type": "event"
299
- },
300
- {
301
- "anonymous": false,
302
- "inputs": [
303
- {
304
- "indexed": false,
305
- "internalType": "contract VToken",
306
- "name": "vToken",
307
- "type": "address"
308
- },
309
- {
310
- "indexed": false,
311
- "internalType": "uint256",
312
- "name": "oldCollateralFactorMantissa",
313
- "type": "uint256"
314
- },
315
- {
316
- "indexed": false,
317
- "internalType": "uint256",
318
- "name": "newCollateralFactorMantissa",
319
- "type": "uint256"
320
- }
321
- ],
322
- "name": "NewCollateralFactor",
323
- "type": "event"
324
- },
325
- {
326
- "anonymous": false,
327
- "inputs": [
328
- {
329
- "indexed": false,
330
- "internalType": "address",
331
- "name": "oldComptrollerLens",
332
- "type": "address"
333
- },
334
- {
335
- "indexed": false,
336
- "internalType": "address",
337
- "name": "newComptrollerLens",
338
- "type": "address"
339
- }
340
- ],
341
- "name": "NewComptrollerLens",
342
- "type": "event"
343
- },
344
- {
345
- "anonymous": false,
346
- "inputs": [
347
- {
348
- "indexed": false,
349
- "internalType": "uint256",
350
- "name": "oldLiquidationIncentiveMantissa",
351
- "type": "uint256"
352
- },
353
- {
354
- "indexed": false,
355
- "internalType": "uint256",
356
- "name": "newLiquidationIncentiveMantissa",
357
- "type": "uint256"
358
- }
359
- ],
360
- "name": "NewLiquidationIncentive",
361
- "type": "event"
362
- },
363
- {
364
- "anonymous": false,
365
- "inputs": [
366
- {
367
- "indexed": false,
368
- "internalType": "address",
369
- "name": "oldLiquidatorContract",
370
- "type": "address"
371
- },
372
- {
373
- "indexed": false,
374
- "internalType": "address",
375
- "name": "newLiquidatorContract",
376
- "type": "address"
377
- }
378
- ],
379
- "name": "NewLiquidatorContract",
380
- "type": "event"
381
- },
382
- {
383
- "anonymous": false,
384
- "inputs": [
385
- {
386
- "indexed": false,
387
- "internalType": "address",
388
- "name": "oldPauseGuardian",
389
- "type": "address"
390
- },
391
- {
392
- "indexed": false,
393
- "internalType": "address",
394
- "name": "newPauseGuardian",
395
- "type": "address"
396
- }
397
- ],
398
- "name": "NewPauseGuardian",
399
- "type": "event"
400
- },
401
- {
402
- "anonymous": false,
403
- "inputs": [
404
- {
405
- "indexed": false,
406
- "internalType": "contract PriceOracle",
407
- "name": "oldPriceOracle",
408
- "type": "address"
409
- },
410
- {
411
- "indexed": false,
412
- "internalType": "contract PriceOracle",
413
- "name": "newPriceOracle",
414
- "type": "address"
415
- }
416
- ],
417
- "name": "NewPriceOracle",
418
- "type": "event"
419
- },
420
- {
421
- "anonymous": false,
422
- "inputs": [
423
- {
424
- "indexed": false,
425
- "internalType": "address",
426
- "name": "oldTreasuryAddress",
427
- "type": "address"
428
- },
429
- {
430
- "indexed": false,
431
- "internalType": "address",
432
- "name": "newTreasuryAddress",
433
- "type": "address"
434
- }
435
- ],
436
- "name": "NewTreasuryAddress",
437
- "type": "event"
438
- },
439
- {
440
- "anonymous": false,
441
- "inputs": [
442
- {
443
- "indexed": false,
444
- "internalType": "address",
445
- "name": "oldTreasuryGuardian",
446
- "type": "address"
447
- },
448
- {
449
- "indexed": false,
450
- "internalType": "address",
451
- "name": "newTreasuryGuardian",
452
- "type": "address"
453
- }
454
- ],
455
- "name": "NewTreasuryGuardian",
456
- "type": "event"
457
- },
458
- {
459
- "anonymous": false,
460
- "inputs": [
461
- {
462
- "indexed": false,
463
- "internalType": "uint256",
464
- "name": "oldTreasuryPercent",
465
- "type": "uint256"
466
- },
467
- {
468
- "indexed": false,
469
- "internalType": "uint256",
470
- "name": "newTreasuryPercent",
471
- "type": "uint256"
472
- }
473
- ],
474
- "name": "NewTreasuryPercent",
475
- "type": "event"
476
- },
477
- {
478
- "anonymous": false,
479
- "inputs": [
480
- {
481
- "indexed": false,
482
- "internalType": "contract VAIControllerInterface",
483
- "name": "oldVAIController",
484
- "type": "address"
485
- },
486
- {
487
- "indexed": false,
488
- "internalType": "contract VAIControllerInterface",
489
- "name": "newVAIController",
490
- "type": "address"
491
- }
492
- ],
493
- "name": "NewVAIController",
494
- "type": "event"
495
- },
496
- {
497
- "anonymous": false,
498
- "inputs": [
499
- {
500
- "indexed": false,
501
- "internalType": "uint256",
502
- "name": "oldVAIMintRate",
503
- "type": "uint256"
504
- },
505
- {
506
- "indexed": false,
507
- "internalType": "uint256",
508
- "name": "newVAIMintRate",
509
- "type": "uint256"
510
- }
511
- ],
512
- "name": "NewVAIMintRate",
513
- "type": "event"
514
- },
515
- {
516
- "anonymous": false,
517
- "inputs": [
518
- {
519
- "indexed": false,
520
- "internalType": "address",
521
- "name": "vault_",
522
- "type": "address"
523
- },
524
- {
525
- "indexed": false,
526
- "internalType": "uint256",
527
- "name": "releaseStartBlock_",
528
- "type": "uint256"
529
- },
530
- {
531
- "indexed": false,
532
- "internalType": "uint256",
533
- "name": "releaseInterval_",
534
- "type": "uint256"
535
- }
536
- ],
537
- "name": "NewVAIVaultInfo",
538
- "type": "event"
539
- },
540
- {
541
- "anonymous": false,
542
- "inputs": [
543
- {
544
- "indexed": false,
545
- "internalType": "uint256",
546
- "name": "oldVenusVAIRate",
547
- "type": "uint256"
548
- },
549
- {
550
- "indexed": false,
551
- "internalType": "uint256",
552
- "name": "newVenusVAIRate",
553
- "type": "uint256"
554
- }
555
- ],
556
- "name": "NewVenusVAIRate",
557
- "type": "event"
558
- },
559
- {
560
- "anonymous": false,
561
- "inputs": [
562
- {
563
- "indexed": false,
564
- "internalType": "uint256",
565
- "name": "oldVenusVAIVaultRate",
566
- "type": "uint256"
567
- },
568
- {
569
- "indexed": false,
570
- "internalType": "uint256",
571
- "name": "newVenusVAIVaultRate",
572
- "type": "uint256"
573
- }
574
- ],
575
- "name": "NewVenusVAIVaultRate",
576
- "type": "event"
577
- },
578
- {
579
- "anonymous": false,
580
- "inputs": [
581
- {
582
- "indexed": false,
583
- "internalType": "address",
584
- "name": "recipient",
585
- "type": "address"
586
- },
587
- {
588
- "indexed": false,
589
- "internalType": "uint256",
590
- "name": "amount",
591
- "type": "uint256"
592
- }
593
- ],
594
- "name": "VenusGranted",
595
- "type": "event"
596
- },
597
- {
598
- "anonymous": false,
599
- "inputs": [
600
- {
601
- "indexed": true,
602
- "internalType": "contract VToken",
603
- "name": "vToken",
604
- "type": "address"
605
- },
606
- {
607
- "indexed": false,
608
- "internalType": "uint256",
609
- "name": "newSpeed",
610
- "type": "uint256"
611
- }
612
- ],
613
- "name": "VenusSpeedUpdated",
614
- "type": "event"
615
- },
616
- {
617
- "constant": false,
618
- "inputs": [
619
- {
620
- "internalType": "contract Unitroller",
621
- "name": "unitroller",
622
- "type": "address"
623
- }
624
- ],
625
- "name": "_become",
626
- "outputs": [],
627
- "payable": false,
628
- "stateMutability": "nonpayable",
629
- "type": "function"
630
- },
631
- {
632
- "constant": true,
633
- "inputs": [],
634
- "name": "_borrowGuardianPaused",
635
- "outputs": [
636
- {
637
- "internalType": "bool",
638
- "name": "",
639
- "type": "bool"
640
- }
641
- ],
642
- "payable": false,
643
- "stateMutability": "view",
644
- "type": "function"
645
- },
646
- {
647
- "constant": false,
648
- "inputs": [
649
- {
650
- "internalType": "address",
651
- "name": "recipient",
652
- "type": "address"
653
- },
654
- {
655
- "internalType": "uint256",
656
- "name": "amount",
657
- "type": "uint256"
658
- }
659
- ],
660
- "name": "_grantXVS",
661
- "outputs": [],
662
- "payable": false,
663
- "stateMutability": "nonpayable",
664
- "type": "function"
665
- },
666
- {
667
- "constant": true,
668
- "inputs": [],
669
- "name": "_mintGuardianPaused",
670
- "outputs": [
671
- {
672
- "internalType": "bool",
673
- "name": "",
674
- "type": "bool"
675
- }
676
- ],
677
- "payable": false,
678
- "stateMutability": "view",
679
- "type": "function"
680
- },
681
- {
682
- "constant": false,
683
- "inputs": [
684
- {
685
- "internalType": "address",
686
- "name": "newBorrowCapGuardian",
687
- "type": "address"
688
- }
689
- ],
690
- "name": "_setBorrowCapGuardian",
691
- "outputs": [],
692
- "payable": false,
693
- "stateMutability": "nonpayable",
694
- "type": "function"
695
- },
696
- {
697
- "constant": false,
698
- "inputs": [
699
- {
700
- "internalType": "uint256",
701
- "name": "newCloseFactorMantissa",
702
- "type": "uint256"
703
- }
704
- ],
705
- "name": "_setCloseFactor",
706
- "outputs": [
707
- {
708
- "internalType": "uint256",
709
- "name": "",
710
- "type": "uint256"
711
- }
712
- ],
713
- "payable": false,
714
- "stateMutability": "nonpayable",
715
- "type": "function"
716
- },
717
- {
718
- "constant": false,
719
- "inputs": [
720
- {
721
- "internalType": "contract VToken",
722
- "name": "vToken",
723
- "type": "address"
724
- },
725
- {
726
- "internalType": "uint256",
727
- "name": "newCollateralFactorMantissa",
728
- "type": "uint256"
729
- }
730
- ],
731
- "name": "_setCollateralFactor",
732
- "outputs": [
733
- {
734
- "internalType": "uint256",
735
- "name": "",
736
- "type": "uint256"
737
- }
738
- ],
739
- "payable": false,
740
- "stateMutability": "nonpayable",
741
- "type": "function"
742
- },
743
- {
744
- "constant": false,
745
- "inputs": [
746
- {
747
- "internalType": "contract ComptrollerLensInterface",
748
- "name": "comptrollerLens_",
749
- "type": "address"
750
- }
751
- ],
752
- "name": "_setComptrollerLens",
753
- "outputs": [
754
- {
755
- "internalType": "uint256",
756
- "name": "",
757
- "type": "uint256"
758
- }
759
- ],
760
- "payable": false,
761
- "stateMutability": "nonpayable",
762
- "type": "function"
763
- },
764
- {
765
- "constant": false,
766
- "inputs": [
767
- {
768
- "internalType": "uint256",
769
- "name": "newLiquidationIncentiveMantissa",
770
- "type": "uint256"
771
- }
772
- ],
773
- "name": "_setLiquidationIncentive",
774
- "outputs": [
775
- {
776
- "internalType": "uint256",
777
- "name": "",
778
- "type": "uint256"
779
- }
780
- ],
781
- "payable": false,
782
- "stateMutability": "nonpayable",
783
- "type": "function"
784
- },
785
- {
786
- "constant": false,
787
- "inputs": [
788
- {
789
- "internalType": "address",
790
- "name": "newLiquidatorContract_",
791
- "type": "address"
792
- }
793
- ],
794
- "name": "_setLiquidatorContract",
795
- "outputs": [],
796
- "payable": false,
797
- "stateMutability": "nonpayable",
798
- "type": "function"
799
- },
800
- {
801
- "constant": false,
802
- "inputs": [
803
- {
804
- "internalType": "contract VToken[]",
805
- "name": "vTokens",
806
- "type": "address[]"
807
- },
808
- {
809
- "internalType": "uint256[]",
810
- "name": "newBorrowCaps",
811
- "type": "uint256[]"
812
- }
813
- ],
814
- "name": "_setMarketBorrowCaps",
815
- "outputs": [],
816
- "payable": false,
817
- "stateMutability": "nonpayable",
818
- "type": "function"
819
- },
820
- {
821
- "constant": false,
822
- "inputs": [
823
- {
824
- "internalType": "address",
825
- "name": "newPauseGuardian",
826
- "type": "address"
827
- }
828
- ],
829
- "name": "_setPauseGuardian",
830
- "outputs": [
831
- {
832
- "internalType": "uint256",
833
- "name": "",
834
- "type": "uint256"
835
- }
836
- ],
837
- "payable": false,
838
- "stateMutability": "nonpayable",
839
- "type": "function"
840
- },
841
- {
842
- "constant": false,
843
- "inputs": [
844
- {
845
- "internalType": "contract PriceOracle",
846
- "name": "newOracle",
847
- "type": "address"
848
- }
849
- ],
850
- "name": "_setPriceOracle",
851
- "outputs": [
852
- {
853
- "internalType": "uint256",
854
- "name": "",
855
- "type": "uint256"
856
- }
857
- ],
858
- "payable": false,
859
- "stateMutability": "nonpayable",
860
- "type": "function"
861
- },
862
- {
863
- "constant": false,
864
- "inputs": [
865
- {
866
- "internalType": "bool",
867
- "name": "state",
868
- "type": "bool"
869
- }
870
- ],
871
- "name": "_setProtocolPaused",
872
- "outputs": [
873
- {
874
- "internalType": "bool",
875
- "name": "",
876
- "type": "bool"
877
- }
878
- ],
879
- "payable": false,
880
- "stateMutability": "nonpayable",
881
- "type": "function"
882
- },
883
- {
884
- "constant": false,
885
- "inputs": [
886
- {
887
- "internalType": "address",
888
- "name": "newTreasuryGuardian",
889
- "type": "address"
890
- },
891
- {
892
- "internalType": "address",
893
- "name": "newTreasuryAddress",
894
- "type": "address"
895
- },
896
- {
897
- "internalType": "uint256",
898
- "name": "newTreasuryPercent",
899
- "type": "uint256"
900
- }
901
- ],
902
- "name": "_setTreasuryData",
903
- "outputs": [
904
- {
905
- "internalType": "uint256",
906
- "name": "",
907
- "type": "uint256"
908
- }
909
- ],
910
- "payable": false,
911
- "stateMutability": "nonpayable",
912
- "type": "function"
913
- },
914
- {
915
- "constant": false,
916
- "inputs": [
917
- {
918
- "internalType": "contract VAIControllerInterface",
919
- "name": "vaiController_",
920
- "type": "address"
921
- }
922
- ],
923
- "name": "_setVAIController",
924
- "outputs": [
925
- {
926
- "internalType": "uint256",
927
- "name": "",
928
- "type": "uint256"
929
- }
930
- ],
931
- "payable": false,
932
- "stateMutability": "nonpayable",
933
- "type": "function"
934
- },
935
- {
936
- "constant": false,
937
- "inputs": [
938
- {
939
- "internalType": "uint256",
940
- "name": "newVAIMintRate",
941
- "type": "uint256"
942
- }
943
- ],
944
- "name": "_setVAIMintRate",
945
- "outputs": [
946
- {
947
- "internalType": "uint256",
948
- "name": "",
949
- "type": "uint256"
950
- }
951
- ],
952
- "payable": false,
953
- "stateMutability": "nonpayable",
954
- "type": "function"
955
- },
956
- {
957
- "constant": false,
958
- "inputs": [
959
- {
960
- "internalType": "address",
961
- "name": "vault_",
962
- "type": "address"
963
- },
964
- {
965
- "internalType": "uint256",
966
- "name": "releaseStartBlock_",
967
- "type": "uint256"
968
- },
969
- {
970
- "internalType": "uint256",
971
- "name": "minReleaseAmount_",
972
- "type": "uint256"
973
- }
974
- ],
975
- "name": "_setVAIVaultInfo",
976
- "outputs": [],
977
- "payable": false,
978
- "stateMutability": "nonpayable",
979
- "type": "function"
980
- },
981
- {
982
- "constant": false,
983
- "inputs": [
984
- {
985
- "internalType": "contract VToken",
986
- "name": "vToken",
987
- "type": "address"
988
- },
989
- {
990
- "internalType": "uint256",
991
- "name": "venusSpeed",
992
- "type": "uint256"
993
- }
994
- ],
995
- "name": "_setVenusSpeed",
996
- "outputs": [],
997
- "payable": false,
998
- "stateMutability": "nonpayable",
999
- "type": "function"
1000
- },
1001
- {
1002
- "constant": false,
1003
- "inputs": [
1004
- {
1005
- "internalType": "uint256",
1006
- "name": "venusVAIVaultRate_",
1007
- "type": "uint256"
1008
- }
1009
- ],
1010
- "name": "_setVenusVAIVaultRate",
1011
- "outputs": [],
1012
- "payable": false,
1013
- "stateMutability": "nonpayable",
1014
- "type": "function"
1015
- },
1016
- {
1017
- "constant": false,
1018
- "inputs": [
1019
- {
1020
- "internalType": "contract VToken",
1021
- "name": "vToken",
1022
- "type": "address"
1023
- }
1024
- ],
1025
- "name": "_supportMarket",
1026
- "outputs": [
1027
- {
1028
- "internalType": "uint256",
1029
- "name": "",
1030
- "type": "uint256"
1031
- }
1032
- ],
1033
- "payable": false,
1034
- "stateMutability": "nonpayable",
1035
- "type": "function"
1036
- },
1037
- {
1038
- "constant": true,
1039
- "inputs": [
1040
- {
1041
- "internalType": "address",
1042
- "name": "",
1043
- "type": "address"
1044
- },
1045
- {
1046
- "internalType": "uint256",
1047
- "name": "",
1048
- "type": "uint256"
1049
- }
1050
- ],
1051
- "name": "accountAssets",
1052
- "outputs": [
1053
- {
1054
- "internalType": "contract VToken",
1055
- "name": "",
1056
- "type": "address"
1057
- }
1058
- ],
1059
- "payable": false,
1060
- "stateMutability": "view",
1061
- "type": "function"
1062
- },
1063
- {
1064
- "constant": true,
1065
- "inputs": [],
1066
- "name": "admin",
1067
- "outputs": [
1068
- {
1069
- "internalType": "address",
1070
- "name": "",
1071
- "type": "address"
1072
- }
1073
- ],
1074
- "payable": false,
1075
- "stateMutability": "view",
1076
- "type": "function"
1077
- },
1078
- {
1079
- "constant": true,
1080
- "inputs": [
1081
- {
1082
- "internalType": "uint256",
1083
- "name": "",
1084
- "type": "uint256"
1085
- }
1086
- ],
1087
- "name": "allMarkets",
1088
- "outputs": [
1089
- {
1090
- "internalType": "contract VToken",
1091
- "name": "",
1092
- "type": "address"
1093
- }
1094
- ],
1095
- "payable": false,
1096
- "stateMutability": "view",
1097
- "type": "function"
1098
- },
1099
- {
1100
- "constant": false,
1101
- "inputs": [
1102
- {
1103
- "internalType": "address",
1104
- "name": "vToken",
1105
- "type": "address"
1106
- },
1107
- {
1108
- "internalType": "address",
1109
- "name": "borrower",
1110
- "type": "address"
1111
- },
1112
- {
1113
- "internalType": "uint256",
1114
- "name": "borrowAmount",
1115
- "type": "uint256"
1116
- }
1117
- ],
1118
- "name": "borrowAllowed",
1119
- "outputs": [
1120
- {
1121
- "internalType": "uint256",
1122
- "name": "",
1123
- "type": "uint256"
1124
- }
1125
- ],
1126
- "payable": false,
1127
- "stateMutability": "nonpayable",
1128
- "type": "function"
1129
- },
1130
- {
1131
- "constant": true,
1132
- "inputs": [],
1133
- "name": "borrowCapGuardian",
1134
- "outputs": [
1135
- {
1136
- "internalType": "address",
1137
- "name": "",
1138
- "type": "address"
1139
- }
1140
- ],
1141
- "payable": false,
1142
- "stateMutability": "view",
1143
- "type": "function"
1144
- },
1145
- {
1146
- "constant": true,
1147
- "inputs": [
1148
- {
1149
- "internalType": "address",
1150
- "name": "",
1151
- "type": "address"
1152
- }
1153
- ],
1154
- "name": "borrowCaps",
1155
- "outputs": [
1156
- {
1157
- "internalType": "uint256",
1158
- "name": "",
1159
- "type": "uint256"
1160
- }
1161
- ],
1162
- "payable": false,
1163
- "stateMutability": "view",
1164
- "type": "function"
1165
- },
1166
- {
1167
- "constant": true,
1168
- "inputs": [
1169
- {
1170
- "internalType": "address",
1171
- "name": "",
1172
- "type": "address"
1173
- }
1174
- ],
1175
- "name": "borrowGuardianPaused",
1176
- "outputs": [
1177
- {
1178
- "internalType": "bool",
1179
- "name": "",
1180
- "type": "bool"
1181
- }
1182
- ],
1183
- "payable": false,
1184
- "stateMutability": "view",
1185
- "type": "function"
1186
- },
1187
- {
1188
- "constant": false,
1189
- "inputs": [
1190
- {
1191
- "internalType": "address",
1192
- "name": "vToken",
1193
- "type": "address"
1194
- },
1195
- {
1196
- "internalType": "address",
1197
- "name": "borrower",
1198
- "type": "address"
1199
- },
1200
- {
1201
- "internalType": "uint256",
1202
- "name": "borrowAmount",
1203
- "type": "uint256"
1204
- }
1205
- ],
1206
- "name": "borrowVerify",
1207
- "outputs": [],
1208
- "payable": false,
1209
- "stateMutability": "nonpayable",
1210
- "type": "function"
1211
- },
1212
- {
1213
- "constant": true,
1214
- "inputs": [
1215
- {
1216
- "internalType": "address",
1217
- "name": "account",
1218
- "type": "address"
1219
- },
1220
- {
1221
- "internalType": "contract VToken",
1222
- "name": "vToken",
1223
- "type": "address"
1224
- }
1225
- ],
1226
- "name": "checkMembership",
1227
- "outputs": [
1228
- {
1229
- "internalType": "bool",
1230
- "name": "",
1231
- "type": "bool"
1232
- }
1233
- ],
1234
- "payable": false,
1235
- "stateMutability": "view",
1236
- "type": "function"
1237
- },
1238
- {
1239
- "constant": false,
1240
- "inputs": [
1241
- {
1242
- "internalType": "address[]",
1243
- "name": "holders",
1244
- "type": "address[]"
1245
- },
1246
- {
1247
- "internalType": "contract VToken[]",
1248
- "name": "vTokens",
1249
- "type": "address[]"
1250
- },
1251
- {
1252
- "internalType": "bool",
1253
- "name": "borrowers",
1254
- "type": "bool"
1255
- },
1256
- {
1257
- "internalType": "bool",
1258
- "name": "suppliers",
1259
- "type": "bool"
1260
- },
1261
- {
1262
- "internalType": "bool",
1263
- "name": "collateral",
1264
- "type": "bool"
1265
- }
1266
- ],
1267
- "name": "claimVenus",
1268
- "outputs": [],
1269
- "payable": false,
1270
- "stateMutability": "nonpayable",
1271
- "type": "function"
1272
- },
1273
- {
1274
- "constant": false,
1275
- "inputs": [
1276
- {
1277
- "internalType": "address",
1278
- "name": "holder",
1279
- "type": "address"
1280
- },
1281
- {
1282
- "internalType": "contract VToken[]",
1283
- "name": "vTokens",
1284
- "type": "address[]"
1285
- }
1286
- ],
1287
- "name": "claimVenus",
1288
- "outputs": [],
1289
- "payable": false,
1290
- "stateMutability": "nonpayable",
1291
- "type": "function"
1292
- },
1293
- {
1294
- "constant": false,
1295
- "inputs": [
1296
- {
1297
- "internalType": "address",
1298
- "name": "holder",
1299
- "type": "address"
1300
- }
1301
- ],
1302
- "name": "claimVenus",
1303
- "outputs": [],
1304
- "payable": false,
1305
- "stateMutability": "nonpayable",
1306
- "type": "function"
1307
- },
1308
- {
1309
- "constant": false,
1310
- "inputs": [
1311
- {
1312
- "internalType": "address[]",
1313
- "name": "holders",
1314
- "type": "address[]"
1315
- },
1316
- {
1317
- "internalType": "contract VToken[]",
1318
- "name": "vTokens",
1319
- "type": "address[]"
1320
- },
1321
- {
1322
- "internalType": "bool",
1323
- "name": "borrowers",
1324
- "type": "bool"
1325
- },
1326
- {
1327
- "internalType": "bool",
1328
- "name": "suppliers",
1329
- "type": "bool"
1330
- }
1331
- ],
1332
- "name": "claimVenus",
1333
- "outputs": [],
1334
- "payable": false,
1335
- "stateMutability": "nonpayable",
1336
- "type": "function"
1337
- },
1338
- {
1339
- "constant": false,
1340
- "inputs": [
1341
- {
1342
- "internalType": "address",
1343
- "name": "holder",
1344
- "type": "address"
1345
- }
1346
- ],
1347
- "name": "claimVenusAsCollateral",
1348
- "outputs": [],
1349
- "payable": false,
1350
- "stateMutability": "nonpayable",
1351
- "type": "function"
1352
- },
1353
- {
1354
- "constant": true,
1355
- "inputs": [],
1356
- "name": "closeFactorMantissa",
1357
- "outputs": [
1358
- {
1359
- "internalType": "uint256",
1360
- "name": "",
1361
- "type": "uint256"
1362
- }
1363
- ],
1364
- "payable": false,
1365
- "stateMutability": "view",
1366
- "type": "function"
1367
- },
1368
- {
1369
- "constant": true,
1370
- "inputs": [],
1371
- "name": "comptrollerImplementation",
1372
- "outputs": [
1373
- {
1374
- "internalType": "address",
1375
- "name": "",
1376
- "type": "address"
1377
- }
1378
- ],
1379
- "payable": false,
1380
- "stateMutability": "view",
1381
- "type": "function"
1382
- },
1383
- {
1384
- "constant": true,
1385
- "inputs": [],
1386
- "name": "comptrollerLens",
1387
- "outputs": [
1388
- {
1389
- "internalType": "contract ComptrollerLensInterface",
1390
- "name": "",
1391
- "type": "address"
1392
- }
1393
- ],
1394
- "payable": false,
1395
- "stateMutability": "view",
1396
- "type": "function"
1397
- },
1398
- {
1399
- "constant": false,
1400
- "inputs": [
1401
- {
1402
- "internalType": "address[]",
1403
- "name": "vTokens",
1404
- "type": "address[]"
1405
- }
1406
- ],
1407
- "name": "enterMarkets",
1408
- "outputs": [
1409
- {
1410
- "internalType": "uint256[]",
1411
- "name": "",
1412
- "type": "uint256[]"
1413
- }
1414
- ],
1415
- "payable": false,
1416
- "stateMutability": "nonpayable",
1417
- "type": "function"
1418
- },
1419
- {
1420
- "constant": false,
1421
- "inputs": [
1422
- {
1423
- "internalType": "address",
1424
- "name": "vTokenAddress",
1425
- "type": "address"
1426
- }
1427
- ],
1428
- "name": "exitMarket",
1429
- "outputs": [
1430
- {
1431
- "internalType": "uint256",
1432
- "name": "",
1433
- "type": "uint256"
1434
- }
1435
- ],
1436
- "payable": false,
1437
- "stateMutability": "nonpayable",
1438
- "type": "function"
1439
- },
1440
- {
1441
- "constant": true,
1442
- "inputs": [
1443
- {
1444
- "internalType": "address",
1445
- "name": "account",
1446
- "type": "address"
1447
- }
1448
- ],
1449
- "name": "getAccountLiquidity",
1450
- "outputs": [
1451
- {
1452
- "internalType": "uint256",
1453
- "name": "",
1454
- "type": "uint256"
1455
- },
1456
- {
1457
- "internalType": "uint256",
1458
- "name": "",
1459
- "type": "uint256"
1460
- },
1461
- {
1462
- "internalType": "uint256",
1463
- "name": "",
1464
- "type": "uint256"
1465
- }
1466
- ],
1467
- "payable": false,
1468
- "stateMutability": "view",
1469
- "type": "function"
1470
- },
1471
- {
1472
- "constant": true,
1473
- "inputs": [],
1474
- "name": "getAllMarkets",
1475
- "outputs": [
1476
- {
1477
- "internalType": "contract VToken[]",
1478
- "name": "",
1479
- "type": "address[]"
1480
- }
1481
- ],
1482
- "payable": false,
1483
- "stateMutability": "view",
1484
- "type": "function"
1485
- },
1486
- {
1487
- "constant": true,
1488
- "inputs": [
1489
- {
1490
- "internalType": "address",
1491
- "name": "account",
1492
- "type": "address"
1493
- }
1494
- ],
1495
- "name": "getAssetsIn",
1496
- "outputs": [
1497
- {
1498
- "internalType": "contract VToken[]",
1499
- "name": "",
1500
- "type": "address[]"
1501
- }
1502
- ],
1503
- "payable": false,
1504
- "stateMutability": "view",
1505
- "type": "function"
1506
- },
1507
- {
1508
- "constant": true,
1509
- "inputs": [],
1510
- "name": "getBlockNumber",
1511
- "outputs": [
1512
- {
1513
- "internalType": "uint256",
1514
- "name": "",
1515
- "type": "uint256"
1516
- }
1517
- ],
1518
- "payable": false,
1519
- "stateMutability": "view",
1520
- "type": "function"
1521
- },
1522
- {
1523
- "constant": true,
1524
- "inputs": [
1525
- {
1526
- "internalType": "address",
1527
- "name": "account",
1528
- "type": "address"
1529
- },
1530
- {
1531
- "internalType": "address",
1532
- "name": "vTokenModify",
1533
- "type": "address"
1534
- },
1535
- {
1536
- "internalType": "uint256",
1537
- "name": "redeemTokens",
1538
- "type": "uint256"
1539
- },
1540
- {
1541
- "internalType": "uint256",
1542
- "name": "borrowAmount",
1543
- "type": "uint256"
1544
- }
1545
- ],
1546
- "name": "getHypotheticalAccountLiquidity",
1547
- "outputs": [
1548
- {
1549
- "internalType": "uint256",
1550
- "name": "",
1551
- "type": "uint256"
1552
- },
1553
- {
1554
- "internalType": "uint256",
1555
- "name": "",
1556
- "type": "uint256"
1557
- },
1558
- {
1559
- "internalType": "uint256",
1560
- "name": "",
1561
- "type": "uint256"
1562
- }
1563
- ],
1564
- "payable": false,
1565
- "stateMutability": "view",
1566
- "type": "function"
1567
- },
1568
- {
1569
- "constant": true,
1570
- "inputs": [],
1571
- "name": "getXVSAddress",
1572
- "outputs": [
1573
- {
1574
- "internalType": "address",
1575
- "name": "",
1576
- "type": "address"
1577
- }
1578
- ],
1579
- "payable": false,
1580
- "stateMutability": "view",
1581
- "type": "function"
1582
- },
1583
- {
1584
- "constant": true,
1585
- "inputs": [],
1586
- "name": "getXVSVTokenAddress",
1587
- "outputs": [
1588
- {
1589
- "internalType": "address",
1590
- "name": "",
1591
- "type": "address"
1592
- }
1593
- ],
1594
- "payable": false,
1595
- "stateMutability": "view",
1596
- "type": "function"
1597
- },
1598
- {
1599
- "constant": true,
1600
- "inputs": [],
1601
- "name": "isComptroller",
1602
- "outputs": [
1603
- {
1604
- "internalType": "bool",
1605
- "name": "",
1606
- "type": "bool"
1607
- }
1608
- ],
1609
- "payable": false,
1610
- "stateMutability": "view",
1611
- "type": "function"
1612
- },
1613
- {
1614
- "constant": true,
1615
- "inputs": [
1616
- {
1617
- "internalType": "address",
1618
- "name": "",
1619
- "type": "address"
1620
- }
1621
- ],
1622
- "name": "lastContributorBlock",
1623
- "outputs": [
1624
- {
1625
- "internalType": "uint256",
1626
- "name": "",
1627
- "type": "uint256"
1628
- }
1629
- ],
1630
- "payable": false,
1631
- "stateMutability": "view",
1632
- "type": "function"
1633
- },
1634
- {
1635
- "constant": false,
1636
- "inputs": [
1637
- {
1638
- "internalType": "address",
1639
- "name": "vTokenBorrowed",
1640
- "type": "address"
1641
- },
1642
- {
1643
- "internalType": "address",
1644
- "name": "vTokenCollateral",
1645
- "type": "address"
1646
- },
1647
- {
1648
- "internalType": "address",
1649
- "name": "liquidator",
1650
- "type": "address"
1651
- },
1652
- {
1653
- "internalType": "address",
1654
- "name": "borrower",
1655
- "type": "address"
1656
- },
1657
- {
1658
- "internalType": "uint256",
1659
- "name": "repayAmount",
1660
- "type": "uint256"
1661
- }
1662
- ],
1663
- "name": "liquidateBorrowAllowed",
1664
- "outputs": [
1665
- {
1666
- "internalType": "uint256",
1667
- "name": "",
1668
- "type": "uint256"
1669
- }
1670
- ],
1671
- "payable": false,
1672
- "stateMutability": "nonpayable",
1673
- "type": "function"
1674
- },
1675
- {
1676
- "constant": false,
1677
- "inputs": [
1678
- {
1679
- "internalType": "address",
1680
- "name": "vTokenBorrowed",
1681
- "type": "address"
1682
- },
1683
- {
1684
- "internalType": "address",
1685
- "name": "vTokenCollateral",
1686
- "type": "address"
1687
- },
1688
- {
1689
- "internalType": "address",
1690
- "name": "liquidator",
1691
- "type": "address"
1692
- },
1693
- {
1694
- "internalType": "address",
1695
- "name": "borrower",
1696
- "type": "address"
1697
- },
1698
- {
1699
- "internalType": "uint256",
1700
- "name": "actualRepayAmount",
1701
- "type": "uint256"
1702
- },
1703
- {
1704
- "internalType": "uint256",
1705
- "name": "seizeTokens",
1706
- "type": "uint256"
1707
- }
1708
- ],
1709
- "name": "liquidateBorrowVerify",
1710
- "outputs": [],
1711
- "payable": false,
1712
- "stateMutability": "nonpayable",
1713
- "type": "function"
1714
- },
1715
- {
1716
- "constant": true,
1717
- "inputs": [
1718
- {
1719
- "internalType": "address",
1720
- "name": "vTokenBorrowed",
1721
- "type": "address"
1722
- },
1723
- {
1724
- "internalType": "address",
1725
- "name": "vTokenCollateral",
1726
- "type": "address"
1727
- },
1728
- {
1729
- "internalType": "uint256",
1730
- "name": "actualRepayAmount",
1731
- "type": "uint256"
1732
- }
1733
- ],
1734
- "name": "liquidateCalculateSeizeTokens",
1735
- "outputs": [
1736
- {
1737
- "internalType": "uint256",
1738
- "name": "",
1739
- "type": "uint256"
1740
- },
1741
- {
1742
- "internalType": "uint256",
1743
- "name": "",
1744
- "type": "uint256"
1745
- }
1746
- ],
1747
- "payable": false,
1748
- "stateMutability": "view",
1749
- "type": "function"
1750
- },
1751
- {
1752
- "constant": true,
1753
- "inputs": [
1754
- {
1755
- "internalType": "address",
1756
- "name": "vTokenCollateral",
1757
- "type": "address"
1758
- },
1759
- {
1760
- "internalType": "uint256",
1761
- "name": "actualRepayAmount",
1762
- "type": "uint256"
1763
- }
1764
- ],
1765
- "name": "liquidateVAICalculateSeizeTokens",
1766
- "outputs": [
1767
- {
1768
- "internalType": "uint256",
1769
- "name": "",
1770
- "type": "uint256"
1771
- },
1772
- {
1773
- "internalType": "uint256",
1774
- "name": "",
1775
- "type": "uint256"
1776
- }
1777
- ],
1778
- "payable": false,
1779
- "stateMutability": "view",
1780
- "type": "function"
1781
- },
1782
- {
1783
- "constant": true,
1784
- "inputs": [],
1785
- "name": "liquidationIncentiveMantissa",
1786
- "outputs": [
1787
- {
1788
- "internalType": "uint256",
1789
- "name": "",
1790
- "type": "uint256"
1791
- }
1792
- ],
1793
- "payable": false,
1794
- "stateMutability": "view",
1795
- "type": "function"
1796
- },
1797
- {
1798
- "constant": true,
1799
- "inputs": [],
1800
- "name": "liquidatorContract",
1801
- "outputs": [
1802
- {
1803
- "internalType": "address",
1804
- "name": "",
1805
- "type": "address"
1806
- }
1807
- ],
1808
- "payable": false,
1809
- "stateMutability": "view",
1810
- "type": "function"
1811
- },
1812
- {
1813
- "constant": true,
1814
- "inputs": [
1815
- {
1816
- "internalType": "address",
1817
- "name": "",
1818
- "type": "address"
1819
- }
1820
- ],
1821
- "name": "markets",
1822
- "outputs": [
1823
- {
1824
- "internalType": "bool",
1825
- "name": "isListed",
1826
- "type": "bool"
1827
- },
1828
- {
1829
- "internalType": "uint256",
1830
- "name": "collateralFactorMantissa",
1831
- "type": "uint256"
1832
- },
1833
- {
1834
- "internalType": "bool",
1835
- "name": "isVenus",
1836
- "type": "bool"
1837
- }
1838
- ],
1839
- "payable": false,
1840
- "stateMutability": "view",
1841
- "type": "function"
1842
- },
1843
- {
1844
- "constant": true,
1845
- "inputs": [],
1846
- "name": "maxAssets",
1847
- "outputs": [
1848
- {
1849
- "internalType": "uint256",
1850
- "name": "",
1851
- "type": "uint256"
1852
- }
1853
- ],
1854
- "payable": false,
1855
- "stateMutability": "view",
1856
- "type": "function"
1857
- },
1858
- {
1859
- "constant": true,
1860
- "inputs": [],
1861
- "name": "minReleaseAmount",
1862
- "outputs": [
1863
- {
1864
- "internalType": "uint256",
1865
- "name": "",
1866
- "type": "uint256"
1867
- }
1868
- ],
1869
- "payable": false,
1870
- "stateMutability": "view",
1871
- "type": "function"
1872
- },
1873
- {
1874
- "constant": false,
1875
- "inputs": [
1876
- {
1877
- "internalType": "address",
1878
- "name": "vToken",
1879
- "type": "address"
1880
- },
1881
- {
1882
- "internalType": "address",
1883
- "name": "minter",
1884
- "type": "address"
1885
- },
1886
- {
1887
- "internalType": "uint256",
1888
- "name": "mintAmount",
1889
- "type": "uint256"
1890
- }
1891
- ],
1892
- "name": "mintAllowed",
1893
- "outputs": [
1894
- {
1895
- "internalType": "uint256",
1896
- "name": "",
1897
- "type": "uint256"
1898
- }
1899
- ],
1900
- "payable": false,
1901
- "stateMutability": "nonpayable",
1902
- "type": "function"
1903
- },
1904
- {
1905
- "constant": true,
1906
- "inputs": [
1907
- {
1908
- "internalType": "address",
1909
- "name": "",
1910
- "type": "address"
1911
- }
1912
- ],
1913
- "name": "mintGuardianPaused",
1914
- "outputs": [
1915
- {
1916
- "internalType": "bool",
1917
- "name": "",
1918
- "type": "bool"
1919
- }
1920
- ],
1921
- "payable": false,
1922
- "stateMutability": "view",
1923
- "type": "function"
1924
- },
1925
- {
1926
- "constant": true,
1927
- "inputs": [],
1928
- "name": "mintVAIGuardianPaused",
1929
- "outputs": [
1930
- {
1931
- "internalType": "bool",
1932
- "name": "",
1933
- "type": "bool"
1934
- }
1935
- ],
1936
- "payable": false,
1937
- "stateMutability": "view",
1938
- "type": "function"
1939
- },
1940
- {
1941
- "constant": false,
1942
- "inputs": [
1943
- {
1944
- "internalType": "address",
1945
- "name": "vToken",
1946
- "type": "address"
1947
- },
1948
- {
1949
- "internalType": "address",
1950
- "name": "minter",
1951
- "type": "address"
1952
- },
1953
- {
1954
- "internalType": "uint256",
1955
- "name": "actualMintAmount",
1956
- "type": "uint256"
1957
- },
1958
- {
1959
- "internalType": "uint256",
1960
- "name": "mintTokens",
1961
- "type": "uint256"
1962
- }
1963
- ],
1964
- "name": "mintVerify",
1965
- "outputs": [],
1966
- "payable": false,
1967
- "stateMutability": "nonpayable",
1968
- "type": "function"
1969
- },
1970
- {
1971
- "constant": true,
1972
- "inputs": [
1973
- {
1974
- "internalType": "address",
1975
- "name": "",
1976
- "type": "address"
1977
- }
1978
- ],
1979
- "name": "mintedVAIs",
1980
- "outputs": [
1981
- {
1982
- "internalType": "uint256",
1983
- "name": "",
1984
- "type": "uint256"
1985
- }
1986
- ],
1987
- "payable": false,
1988
- "stateMutability": "view",
1989
- "type": "function"
1990
- },
1991
- {
1992
- "constant": true,
1993
- "inputs": [],
1994
- "name": "oracle",
1995
- "outputs": [
1996
- {
1997
- "internalType": "contract PriceOracle",
1998
- "name": "",
1999
- "type": "address"
2000
- }
2001
- ],
2002
- "payable": false,
2003
- "stateMutability": "view",
2004
- "type": "function"
2005
- },
2006
- {
2007
- "constant": true,
2008
- "inputs": [],
2009
- "name": "pauseGuardian",
2010
- "outputs": [
2011
- {
2012
- "internalType": "address",
2013
- "name": "",
2014
- "type": "address"
2015
- }
2016
- ],
2017
- "payable": false,
2018
- "stateMutability": "view",
2019
- "type": "function"
2020
- },
2021
- {
2022
- "constant": true,
2023
- "inputs": [],
2024
- "name": "pendingAdmin",
2025
- "outputs": [
2026
- {
2027
- "internalType": "address",
2028
- "name": "",
2029
- "type": "address"
2030
- }
2031
- ],
2032
- "payable": false,
2033
- "stateMutability": "view",
2034
- "type": "function"
2035
- },
2036
- {
2037
- "constant": true,
2038
- "inputs": [],
2039
- "name": "pendingComptrollerImplementation",
2040
- "outputs": [
2041
- {
2042
- "internalType": "address",
2043
- "name": "",
2044
- "type": "address"
2045
- }
2046
- ],
2047
- "payable": false,
2048
- "stateMutability": "view",
2049
- "type": "function"
2050
- },
2051
- {
2052
- "constant": true,
2053
- "inputs": [],
2054
- "name": "protocolPaused",
2055
- "outputs": [
2056
- {
2057
- "internalType": "bool",
2058
- "name": "",
2059
- "type": "bool"
2060
- }
2061
- ],
2062
- "payable": false,
2063
- "stateMutability": "view",
2064
- "type": "function"
2065
- },
2066
- {
2067
- "constant": false,
2068
- "inputs": [
2069
- {
2070
- "internalType": "address",
2071
- "name": "vToken",
2072
- "type": "address"
2073
- },
2074
- {
2075
- "internalType": "address",
2076
- "name": "redeemer",
2077
- "type": "address"
2078
- },
2079
- {
2080
- "internalType": "uint256",
2081
- "name": "redeemTokens",
2082
- "type": "uint256"
2083
- }
2084
- ],
2085
- "name": "redeemAllowed",
2086
- "outputs": [
2087
- {
2088
- "internalType": "uint256",
2089
- "name": "",
2090
- "type": "uint256"
2091
- }
2092
- ],
2093
- "payable": false,
2094
- "stateMutability": "nonpayable",
2095
- "type": "function"
2096
- },
2097
- {
2098
- "constant": false,
2099
- "inputs": [
2100
- {
2101
- "internalType": "address",
2102
- "name": "vToken",
2103
- "type": "address"
2104
- },
2105
- {
2106
- "internalType": "address",
2107
- "name": "redeemer",
2108
- "type": "address"
2109
- },
2110
- {
2111
- "internalType": "uint256",
2112
- "name": "redeemAmount",
2113
- "type": "uint256"
2114
- },
2115
- {
2116
- "internalType": "uint256",
2117
- "name": "redeemTokens",
2118
- "type": "uint256"
2119
- }
2120
- ],
2121
- "name": "redeemVerify",
2122
- "outputs": [],
2123
- "payable": false,
2124
- "stateMutability": "nonpayable",
2125
- "type": "function"
2126
- },
2127
- {
2128
- "constant": true,
2129
- "inputs": [],
2130
- "name": "releaseStartBlock",
2131
- "outputs": [
2132
- {
2133
- "internalType": "uint256",
2134
- "name": "",
2135
- "type": "uint256"
2136
- }
2137
- ],
2138
- "payable": false,
2139
- "stateMutability": "view",
2140
- "type": "function"
2141
- },
2142
- {
2143
- "constant": false,
2144
- "inputs": [],
2145
- "name": "releaseToVault",
2146
- "outputs": [],
2147
- "payable": false,
2148
- "stateMutability": "nonpayable",
2149
- "type": "function"
2150
- },
2151
- {
2152
- "constant": false,
2153
- "inputs": [
2154
- {
2155
- "internalType": "address",
2156
- "name": "vToken",
2157
- "type": "address"
2158
- },
2159
- {
2160
- "internalType": "address",
2161
- "name": "payer",
2162
- "type": "address"
2163
- },
2164
- {
2165
- "internalType": "address",
2166
- "name": "borrower",
2167
- "type": "address"
2168
- },
2169
- {
2170
- "internalType": "uint256",
2171
- "name": "repayAmount",
2172
- "type": "uint256"
2173
- }
2174
- ],
2175
- "name": "repayBorrowAllowed",
2176
- "outputs": [
2177
- {
2178
- "internalType": "uint256",
2179
- "name": "",
2180
- "type": "uint256"
2181
- }
2182
- ],
2183
- "payable": false,
2184
- "stateMutability": "nonpayable",
2185
- "type": "function"
2186
- },
2187
- {
2188
- "constant": false,
2189
- "inputs": [
2190
- {
2191
- "internalType": "address",
2192
- "name": "vToken",
2193
- "type": "address"
2194
- },
2195
- {
2196
- "internalType": "address",
2197
- "name": "payer",
2198
- "type": "address"
2199
- },
2200
- {
2201
- "internalType": "address",
2202
- "name": "borrower",
2203
- "type": "address"
2204
- },
2205
- {
2206
- "internalType": "uint256",
2207
- "name": "actualRepayAmount",
2208
- "type": "uint256"
2209
- },
2210
- {
2211
- "internalType": "uint256",
2212
- "name": "borrowerIndex",
2213
- "type": "uint256"
2214
- }
2215
- ],
2216
- "name": "repayBorrowVerify",
2217
- "outputs": [],
2218
- "payable": false,
2219
- "stateMutability": "nonpayable",
2220
- "type": "function"
2221
- },
2222
- {
2223
- "constant": true,
2224
- "inputs": [],
2225
- "name": "repayVAIGuardianPaused",
2226
- "outputs": [
2227
- {
2228
- "internalType": "bool",
2229
- "name": "",
2230
- "type": "bool"
2231
- }
2232
- ],
2233
- "payable": false,
2234
- "stateMutability": "view",
2235
- "type": "function"
2236
- },
2237
- {
2238
- "constant": false,
2239
- "inputs": [
2240
- {
2241
- "internalType": "address",
2242
- "name": "vTokenCollateral",
2243
- "type": "address"
2244
- },
2245
- {
2246
- "internalType": "address",
2247
- "name": "vTokenBorrowed",
2248
- "type": "address"
2249
- },
2250
- {
2251
- "internalType": "address",
2252
- "name": "liquidator",
2253
- "type": "address"
2254
- },
2255
- {
2256
- "internalType": "address",
2257
- "name": "borrower",
2258
- "type": "address"
2259
- },
2260
- {
2261
- "internalType": "uint256",
2262
- "name": "seizeTokens",
2263
- "type": "uint256"
2264
- }
2265
- ],
2266
- "name": "seizeAllowed",
2267
- "outputs": [
2268
- {
2269
- "internalType": "uint256",
2270
- "name": "",
2271
- "type": "uint256"
2272
- }
2273
- ],
2274
- "payable": false,
2275
- "stateMutability": "nonpayable",
2276
- "type": "function"
2277
- },
2278
- {
2279
- "constant": true,
2280
- "inputs": [],
2281
- "name": "seizeGuardianPaused",
2282
- "outputs": [
2283
- {
2284
- "internalType": "bool",
2285
- "name": "",
2286
- "type": "bool"
2287
- }
2288
- ],
2289
- "payable": false,
2290
- "stateMutability": "view",
2291
- "type": "function"
2292
- },
2293
- {
2294
- "constant": false,
2295
- "inputs": [
2296
- {
2297
- "internalType": "address",
2298
- "name": "vTokenCollateral",
2299
- "type": "address"
2300
- },
2301
- {
2302
- "internalType": "address",
2303
- "name": "vTokenBorrowed",
2304
- "type": "address"
2305
- },
2306
- {
2307
- "internalType": "address",
2308
- "name": "liquidator",
2309
- "type": "address"
2310
- },
2311
- {
2312
- "internalType": "address",
2313
- "name": "borrower",
2314
- "type": "address"
2315
- },
2316
- {
2317
- "internalType": "uint256",
2318
- "name": "seizeTokens",
2319
- "type": "uint256"
2320
- }
2321
- ],
2322
- "name": "seizeVerify",
2323
- "outputs": [],
2324
- "payable": false,
2325
- "stateMutability": "nonpayable",
2326
- "type": "function"
2327
- },
2328
- {
2329
- "constant": false,
2330
- "inputs": [
2331
- {
2332
- "internalType": "address",
2333
- "name": "owner",
2334
- "type": "address"
2335
- },
2336
- {
2337
- "internalType": "uint256",
2338
- "name": "amount",
2339
- "type": "uint256"
2340
- }
2341
- ],
2342
- "name": "setMintedVAIOf",
2343
- "outputs": [
2344
- {
2345
- "internalType": "uint256",
2346
- "name": "",
2347
- "type": "uint256"
2348
- }
2349
- ],
2350
- "payable": false,
2351
- "stateMutability": "nonpayable",
2352
- "type": "function"
2353
- },
2354
- {
2355
- "constant": false,
2356
- "inputs": [
2357
- {
2358
- "internalType": "address",
2359
- "name": "vToken",
2360
- "type": "address"
2361
- },
2362
- {
2363
- "internalType": "address",
2364
- "name": "src",
2365
- "type": "address"
2366
- },
2367
- {
2368
- "internalType": "address",
2369
- "name": "dst",
2370
- "type": "address"
2371
- },
2372
- {
2373
- "internalType": "uint256",
2374
- "name": "transferTokens",
2375
- "type": "uint256"
2376
- }
2377
- ],
2378
- "name": "transferAllowed",
2379
- "outputs": [
2380
- {
2381
- "internalType": "uint256",
2382
- "name": "",
2383
- "type": "uint256"
2384
- }
2385
- ],
2386
- "payable": false,
2387
- "stateMutability": "nonpayable",
2388
- "type": "function"
2389
- },
2390
- {
2391
- "constant": true,
2392
- "inputs": [],
2393
- "name": "transferGuardianPaused",
2394
- "outputs": [
2395
- {
2396
- "internalType": "bool",
2397
- "name": "",
2398
- "type": "bool"
2399
- }
2400
- ],
2401
- "payable": false,
2402
- "stateMutability": "view",
2403
- "type": "function"
2404
- },
2405
- {
2406
- "constant": false,
2407
- "inputs": [
2408
- {
2409
- "internalType": "address",
2410
- "name": "vToken",
2411
- "type": "address"
2412
- },
2413
- {
2414
- "internalType": "address",
2415
- "name": "src",
2416
- "type": "address"
2417
- },
2418
- {
2419
- "internalType": "address",
2420
- "name": "dst",
2421
- "type": "address"
2422
- },
2423
- {
2424
- "internalType": "uint256",
2425
- "name": "transferTokens",
2426
- "type": "uint256"
2427
- }
2428
- ],
2429
- "name": "transferVerify",
2430
- "outputs": [],
2431
- "payable": false,
2432
- "stateMutability": "nonpayable",
2433
- "type": "function"
2434
- },
2435
- {
2436
- "constant": true,
2437
- "inputs": [],
2438
- "name": "treasuryAddress",
2439
- "outputs": [
2440
- {
2441
- "internalType": "address",
2442
- "name": "",
2443
- "type": "address"
2444
- }
2445
- ],
2446
- "payable": false,
2447
- "stateMutability": "view",
2448
- "type": "function"
2449
- },
2450
- {
2451
- "constant": true,
2452
- "inputs": [],
2453
- "name": "treasuryGuardian",
2454
- "outputs": [
2455
- {
2456
- "internalType": "address",
2457
- "name": "",
2458
- "type": "address"
2459
- }
2460
- ],
2461
- "payable": false,
2462
- "stateMutability": "view",
2463
- "type": "function"
2464
- },
2465
- {
2466
- "constant": true,
2467
- "inputs": [],
2468
- "name": "treasuryPercent",
2469
- "outputs": [
2470
- {
2471
- "internalType": "uint256",
2472
- "name": "",
2473
- "type": "uint256"
2474
- }
2475
- ],
2476
- "payable": false,
2477
- "stateMutability": "view",
2478
- "type": "function"
2479
- },
2480
- {
2481
- "constant": true,
2482
- "inputs": [],
2483
- "name": "vaiController",
2484
- "outputs": [
2485
- {
2486
- "internalType": "contract VAIControllerInterface",
2487
- "name": "",
2488
- "type": "address"
2489
- }
2490
- ],
2491
- "payable": false,
2492
- "stateMutability": "view",
2493
- "type": "function"
2494
- },
2495
- {
2496
- "constant": true,
2497
- "inputs": [],
2498
- "name": "vaiMintRate",
2499
- "outputs": [
2500
- {
2501
- "internalType": "uint256",
2502
- "name": "",
2503
- "type": "uint256"
2504
- }
2505
- ],
2506
- "payable": false,
2507
- "stateMutability": "view",
2508
- "type": "function"
2509
- },
2510
- {
2511
- "constant": true,
2512
- "inputs": [],
2513
- "name": "vaiVaultAddress",
2514
- "outputs": [
2515
- {
2516
- "internalType": "address",
2517
- "name": "",
2518
- "type": "address"
2519
- }
2520
- ],
2521
- "payable": false,
2522
- "stateMutability": "view",
2523
- "type": "function"
2524
- },
2525
- {
2526
- "constant": true,
2527
- "inputs": [
2528
- {
2529
- "internalType": "address",
2530
- "name": "",
2531
- "type": "address"
2532
- }
2533
- ],
2534
- "name": "venusAccrued",
2535
- "outputs": [
2536
- {
2537
- "internalType": "uint256",
2538
- "name": "",
2539
- "type": "uint256"
2540
- }
2541
- ],
2542
- "payable": false,
2543
- "stateMutability": "view",
2544
- "type": "function"
2545
- },
2546
- {
2547
- "constant": true,
2548
- "inputs": [
2549
- {
2550
- "internalType": "address",
2551
- "name": "",
2552
- "type": "address"
2553
- }
2554
- ],
2555
- "name": "venusBorrowState",
2556
- "outputs": [
2557
- {
2558
- "internalType": "uint224",
2559
- "name": "index",
2560
- "type": "uint224"
2561
- },
2562
- {
2563
- "internalType": "uint32",
2564
- "name": "block",
2565
- "type": "uint32"
2566
- }
2567
- ],
2568
- "payable": false,
2569
- "stateMutability": "view",
2570
- "type": "function"
2571
- },
2572
- {
2573
- "constant": true,
2574
- "inputs": [
2575
- {
2576
- "internalType": "address",
2577
- "name": "",
2578
- "type": "address"
2579
- },
2580
- {
2581
- "internalType": "address",
2582
- "name": "",
2583
- "type": "address"
2584
- }
2585
- ],
2586
- "name": "venusBorrowerIndex",
2587
- "outputs": [
2588
- {
2589
- "internalType": "uint256",
2590
- "name": "",
2591
- "type": "uint256"
2592
- }
2593
- ],
2594
- "payable": false,
2595
- "stateMutability": "view",
2596
- "type": "function"
2597
- },
2598
- {
2599
- "constant": true,
2600
- "inputs": [
2601
- {
2602
- "internalType": "address",
2603
- "name": "",
2604
- "type": "address"
2605
- }
2606
- ],
2607
- "name": "venusContributorSpeeds",
2608
- "outputs": [
2609
- {
2610
- "internalType": "uint256",
2611
- "name": "",
2612
- "type": "uint256"
2613
- }
2614
- ],
2615
- "payable": false,
2616
- "stateMutability": "view",
2617
- "type": "function"
2618
- },
2619
- {
2620
- "constant": true,
2621
- "inputs": [],
2622
- "name": "venusInitialIndex",
2623
- "outputs": [
2624
- {
2625
- "internalType": "uint224",
2626
- "name": "",
2627
- "type": "uint224"
2628
- }
2629
- ],
2630
- "payable": false,
2631
- "stateMutability": "view",
2632
- "type": "function"
2633
- },
2634
- {
2635
- "constant": true,
2636
- "inputs": [],
2637
- "name": "venusRate",
2638
- "outputs": [
2639
- {
2640
- "internalType": "uint256",
2641
- "name": "",
2642
- "type": "uint256"
2643
- }
2644
- ],
2645
- "payable": false,
2646
- "stateMutability": "view",
2647
- "type": "function"
2648
- },
2649
- {
2650
- "constant": true,
2651
- "inputs": [
2652
- {
2653
- "internalType": "address",
2654
- "name": "",
2655
- "type": "address"
2656
- }
2657
- ],
2658
- "name": "venusSpeeds",
2659
- "outputs": [
2660
- {
2661
- "internalType": "uint256",
2662
- "name": "",
2663
- "type": "uint256"
2664
- }
2665
- ],
2666
- "payable": false,
2667
- "stateMutability": "view",
2668
- "type": "function"
2669
- },
2670
- {
2671
- "constant": true,
2672
- "inputs": [
2673
- {
2674
- "internalType": "address",
2675
- "name": "",
2676
- "type": "address"
2677
- },
2678
- {
2679
- "internalType": "address",
2680
- "name": "",
2681
- "type": "address"
2682
- }
2683
- ],
2684
- "name": "venusSupplierIndex",
2685
- "outputs": [
2686
- {
2687
- "internalType": "uint256",
2688
- "name": "",
2689
- "type": "uint256"
2690
- }
2691
- ],
2692
- "payable": false,
2693
- "stateMutability": "view",
2694
- "type": "function"
2695
- },
2696
- {
2697
- "constant": true,
2698
- "inputs": [
2699
- {
2700
- "internalType": "address",
2701
- "name": "",
2702
- "type": "address"
2703
- }
2704
- ],
2705
- "name": "venusSupplyState",
2706
- "outputs": [
2707
- {
2708
- "internalType": "uint224",
2709
- "name": "index",
2710
- "type": "uint224"
2711
- },
2712
- {
2713
- "internalType": "uint32",
2714
- "name": "block",
2715
- "type": "uint32"
2716
- }
2717
- ],
2718
- "payable": false,
2719
- "stateMutability": "view",
2720
- "type": "function"
2721
- },
2722
- {
2723
- "constant": true,
2724
- "inputs": [],
2725
- "name": "venusVAIRate",
2726
- "outputs": [
2727
- {
2728
- "internalType": "uint256",
2729
- "name": "",
2730
- "type": "uint256"
2731
- }
2732
- ],
2733
- "payable": false,
2734
- "stateMutability": "view",
2735
- "type": "function"
2736
- },
2737
- {
2738
- "constant": true,
2739
- "inputs": [],
2740
- "name": "venusVAIVaultRate",
2741
- "outputs": [
2742
- {
2743
- "internalType": "uint256",
2744
- "name": "",
2745
- "type": "uint256"
2746
- }
2747
- ],
2748
- "payable": false,
2749
- "stateMutability": "view",
2750
- "type": "function"
2751
- }
2752
- ],
2753
- "numDeployments": 1
2754
- }