@venusprotocol/venus-protocol 10.1.0-slim-dev.6 → 10.1.0-slim-dev.7

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 (116) hide show
  1. package/artifacts/contracts/Admin/VBNBAdmin.sol/VBNBAdmin.json +2 -2
  2. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VBNBAdminStorage.json +2 -2
  3. package/artifacts/contracts/Comptroller/ComptrollerInterface.sol/ComptrollerInterface.json +65 -0
  4. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV10Storage.json +2 -2
  5. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV11Storage.json +2 -2
  6. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV12Storage.json +2 -2
  7. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV13Storage.json +2 -2
  8. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV14Storage.json +2 -2
  9. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV15Storage.json +2 -2
  10. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV16Storage.json +2 -2
  11. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV17Storage.json +2 -2
  12. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV18Storage.json +736 -0
  13. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV1Storage.json +2 -2
  14. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV2Storage.json +2 -2
  15. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV3Storage.json +2 -2
  16. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV4Storage.json +2 -2
  17. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV5Storage.json +2 -2
  18. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV6Storage.json +2 -2
  19. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV7Storage.json +2 -2
  20. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV8Storage.json +2 -2
  21. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/ComptrollerV9Storage.json +2 -2
  22. package/artifacts/contracts/Comptroller/ComptrollerStorage.sol/UnitrollerAdminStorage.json +2 -2
  23. package/artifacts/contracts/Comptroller/Diamond/Diamond.sol/Diamond.json +34 -2
  24. package/artifacts/contracts/Comptroller/Diamond/DiamondConsolidated.sol/DiamondConsolidated.json +310 -2
  25. package/artifacts/contracts/Comptroller/Diamond/facets/FacetBase.sol/FacetBase.json +128 -2
  26. package/artifacts/contracts/Comptroller/Diamond/facets/FlashLoanFacet.sol/FlashLoanFacet.json +1208 -0
  27. package/artifacts/contracts/Comptroller/Diamond/facets/MarketFacet.sol/MarketFacet.json +128 -2
  28. package/artifacts/contracts/Comptroller/Diamond/facets/PolicyFacet.sol/PolicyFacet.json +128 -2
  29. package/artifacts/contracts/Comptroller/Diamond/facets/RewardFacet.sol/RewardFacet.json +128 -2
  30. package/artifacts/contracts/Comptroller/Diamond/facets/SetterFacet.sol/SetterFacet.json +197 -2
  31. package/artifacts/contracts/Comptroller/Diamond/facets/XVSRewardsHelper.sol/XVSRewardsHelper.json +128 -2
  32. package/artifacts/contracts/Comptroller/Diamond/interfaces/IFlashLoanFacet.sol/IFlashLoanFacet.json +44 -0
  33. package/artifacts/contracts/Comptroller/Diamond/interfaces/ISetterFacet.sol/ISetterFacet.json +31 -0
  34. package/artifacts/contracts/Comptroller/Unitroller.sol/Unitroller.json +96 -2
  35. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV10StorageR1.json +2 -2
  36. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV11StorageR1.json +2 -2
  37. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV12StorageR1.json +2 -2
  38. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV13StorageR1.json +2 -2
  39. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV14StorageR1.json +2 -2
  40. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV15StorageR1.json +2 -2
  41. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV16StorageR1.json +2 -2
  42. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV1StorageR1.json +2 -2
  43. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV2StorageR1.json +2 -2
  44. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV3StorageR1.json +2 -2
  45. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV4StorageR1.json +2 -2
  46. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV5StorageR1.json +2 -2
  47. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV6StorageR1.json +2 -2
  48. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV7StorageR1.json +2 -2
  49. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV8StorageR1.json +2 -2
  50. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/ComptrollerV9StorageR1.json +2 -2
  51. package/artifacts/contracts/Comptroller/legacy/ComptrollerStorageR1.sol/UnitrollerAdminStorageR1.json +2 -2
  52. package/artifacts/contracts/Comptroller/legacy/Diamond/DiamondConsolidatedR1.sol/DiamondConsolidatedR1.json +96 -2
  53. package/artifacts/contracts/Comptroller/legacy/Diamond/DiamondR1.sol/DiamondR1.json +2 -2
  54. package/artifacts/contracts/Comptroller/legacy/Diamond/facets/FacetBaseR1.sol/FacetBaseR1.json +96 -2
  55. package/artifacts/contracts/Comptroller/legacy/Diamond/facets/MarketFacetR1.sol/MarketFacetR1.json +96 -2
  56. package/artifacts/contracts/Comptroller/legacy/Diamond/facets/PolicyFacetR1.sol/PolicyFacetR1.json +96 -2
  57. package/artifacts/contracts/Comptroller/legacy/Diamond/facets/RewardFacetR1.sol/RewardFacetR1.json +96 -2
  58. package/artifacts/contracts/Comptroller/legacy/Diamond/facets/SetterFacetR1.sol/SetterFacetR1.json +96 -2
  59. package/artifacts/contracts/Comptroller/legacy/Diamond/facets/XVSRewardsHelperR1.sol/XVSRewardsHelperR1.json +96 -2
  60. package/artifacts/contracts/FlashLoan/interfaces/IFlashLoanReceiver.sol/IFlashLoanReceiver.json +60 -0
  61. package/artifacts/contracts/Lens/ComptrollerLens.sol/ComptrollerLens.json +96 -2
  62. package/artifacts/contracts/Lens/SnapshotLens.sol/SnapshotLens.json +2 -2
  63. package/artifacts/contracts/Lens/VenusLens.sol/VenusLens.json +2 -2
  64. package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.json +2 -2
  65. package/artifacts/contracts/Tokens/VAI/VAIController.sol/VAIController.json +2 -2
  66. package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG1.json +2 -2
  67. package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG2.json +2 -2
  68. package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG3.json +2 -2
  69. package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIControllerStorageG4.json +2 -2
  70. package/artifacts/contracts/Tokens/VAI/VAIControllerStorage.sol/VAIUnitrollerAdminStorage.json +2 -2
  71. package/artifacts/contracts/Tokens/VAI/VAIUnitroller.sol/VAIUnitroller.json +2 -2
  72. package/artifacts/contracts/Tokens/VTokens/VBNB.sol/VBNB.json +372 -2
  73. package/artifacts/contracts/Tokens/VTokens/VBep20.sol/VBep20.json +372 -2
  74. package/artifacts/contracts/Tokens/VTokens/VBep20Delegate.sol/VBep20Delegate.json +372 -2
  75. package/artifacts/contracts/Tokens/VTokens/VBep20Delegator.sol/VBep20Delegator.json +229 -2
  76. package/artifacts/contracts/Tokens/VTokens/VBep20Immutable.sol/VBep20Immutable.json +372 -2
  77. package/artifacts/contracts/Tokens/VTokens/VToken.sol/VToken.json +370 -0
  78. package/artifacts/contracts/Tokens/VTokens/VTokenInterfaces.sol/VTokenInterface.json +227 -0
  79. package/artifacts/contracts/Tokens/VTokens/VTokenInterfaces.sol/VTokenStorage.json +54 -2
  80. package/artifacts/contracts/Tokens/VTokens/VTokenInterfaces.sol/VTokenStorageBase.json +2 -2
  81. package/artifacts/contracts/Tokens/test/IERC20NonStandard.sol/IERC20NonStandard.json +182 -0
  82. package/artifacts/contracts/Utils/ErrorReporter.sol/ComptrollerErrorReporter.json +96 -2
  83. package/artifacts/contracts/Utils/ErrorReporter.sol/TokenErrorReporter.json +2 -2
  84. package/artifacts/contracts/Utils/ErrorReporter.sol/VAIControllerErrorReporter.json +2 -2
  85. package/artifacts/contracts/Utils/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +16 -0
  86. package/artifacts/contracts/Utils/TransientSlot.sol/TransientSlot.json +10 -0
  87. package/artifacts/contracts/test/BadFlashLoanReceiver.sol/BadFlashLoanReceiver.json +112 -0
  88. package/artifacts/contracts/test/BorrowDebtFlashLoanReceiver.sol/BorrowDebtFlashLoanReceiver.json +112 -0
  89. package/artifacts/contracts/test/ComptrollerHarness.sol/ComptrollerHarness.json +310 -2
  90. package/artifacts/contracts/test/ComptrollerHarness.sol/EchoTypesComptroller.json +2 -2
  91. package/artifacts/contracts/test/ComptrollerMock.sol/ComptrollerMock.json +310 -2
  92. package/artifacts/contracts/test/ComptrollerMockR1.sol/ComptrollerMockR1.json +96 -2
  93. package/artifacts/contracts/test/ComptrollerScenario.sol/ComptrollerScenario.json +310 -2
  94. package/artifacts/contracts/test/DiamondHarness.sol/DiamondHarness.json +34 -2
  95. package/artifacts/contracts/test/EvilXDelegator.sol/EvilXDelegator.json +253 -2
  96. package/artifacts/contracts/test/EvilXToken.sol/EvilXToken.json +372 -2
  97. package/artifacts/contracts/test/EvilXToken.sol/VBep20Scenario.json +372 -2
  98. package/artifacts/contracts/test/FlashLoanReceiverBase.sol/FlashLoanReceiverBase.json +73 -0
  99. package/artifacts/contracts/test/InsufficientRepaymentFlashLoanReceiver.sol/InsufficientRepaymentFlashLoanReceiver.json +112 -0
  100. package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.json +2 -2
  101. package/artifacts/contracts/test/MockFlashLoanReceiver.sol/MockFlashLoanReceiver.json +112 -0
  102. package/artifacts/contracts/test/MockProtocolShareReserve.sol/MockProtocolShareReserve.json +2 -2
  103. package/artifacts/contracts/test/MockVBNB.sol/MockVBNB.json +372 -2
  104. package/artifacts/contracts/test/SimplePriceOracle.sol/SimplePriceOracle.json +2 -2
  105. package/artifacts/contracts/test/VAIControllerHarness.sol/VAIControllerHarness.json +2 -2
  106. package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegateHarness.json +372 -2
  107. package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegateScenario.json +372 -2
  108. package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegateScenarioExtra.json +372 -2
  109. package/artifacts/contracts/test/VBep20Harness.sol/VBep20DelegatorScenario.json +213 -42
  110. package/artifacts/contracts/test/VBep20Harness.sol/VBep20Harness.json +372 -2
  111. package/artifacts/contracts/test/VBep20Harness.sol/VBep20Scenario.json +372 -2
  112. package/artifacts/contracts/test/VBep20Harness.sol/VEvil.json +372 -2
  113. package/artifacts/contracts/test/VBep20MockDelegate.sol/VBep20MockDelegate.json +372 -2
  114. package/deployments/bscmainnet_addresses.json +8 -7
  115. package/deployments/bsctestnet_addresses.json +8 -7
  116. package/package.json +3 -2
@@ -0,0 +1,736 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ComptrollerV18Storage",
4
+ "sourceName": "contracts/Comptroller/ComptrollerStorage.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "accountAssets",
20
+ "outputs": [
21
+ {
22
+ "internalType": "contract VToken",
23
+ "name": "",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [],
32
+ "name": "admin",
33
+ "outputs": [
34
+ {
35
+ "internalType": "address",
36
+ "name": "",
37
+ "type": "address"
38
+ }
39
+ ],
40
+ "stateMutability": "view",
41
+ "type": "function"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "",
48
+ "type": "uint256"
49
+ }
50
+ ],
51
+ "name": "allMarkets",
52
+ "outputs": [
53
+ {
54
+ "internalType": "contract VToken",
55
+ "name": "",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "stateMutability": "view",
60
+ "type": "function"
61
+ },
62
+ {
63
+ "inputs": [
64
+ {
65
+ "internalType": "address",
66
+ "name": "",
67
+ "type": "address"
68
+ },
69
+ {
70
+ "internalType": "address",
71
+ "name": "",
72
+ "type": "address"
73
+ }
74
+ ],
75
+ "name": "approvedDelegates",
76
+ "outputs": [
77
+ {
78
+ "internalType": "bool",
79
+ "name": "",
80
+ "type": "bool"
81
+ }
82
+ ],
83
+ "stateMutability": "view",
84
+ "type": "function"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "authorizedFlashLoan",
95
+ "outputs": [
96
+ {
97
+ "internalType": "bool",
98
+ "name": "",
99
+ "type": "bool"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [],
107
+ "name": "borrowCapGuardian",
108
+ "outputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "stateMutability": "view",
116
+ "type": "function"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "borrowCaps",
127
+ "outputs": [
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "closeFactorMantissa",
140
+ "outputs": [
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "",
144
+ "type": "uint256"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "comptrollerImplementation",
153
+ "outputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "",
157
+ "type": "address"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "comptrollerLens",
166
+ "outputs": [
167
+ {
168
+ "internalType": "contract ComptrollerLensInterface",
169
+ "name": "",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "flashLoanPaused",
179
+ "outputs": [
180
+ {
181
+ "internalType": "bool",
182
+ "name": "",
183
+ "type": "bool"
184
+ }
185
+ ],
186
+ "stateMutability": "view",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "name": "isForcedLiquidationEnabled",
198
+ "outputs": [
199
+ {
200
+ "internalType": "bool",
201
+ "name": "",
202
+ "type": "bool"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "user",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "internalType": "address",
217
+ "name": "market",
218
+ "type": "address"
219
+ }
220
+ ],
221
+ "name": "isForcedLiquidationEnabledForUser",
222
+ "outputs": [
223
+ {
224
+ "internalType": "bool",
225
+ "name": "",
226
+ "type": "bool"
227
+ }
228
+ ],
229
+ "stateMutability": "view",
230
+ "type": "function"
231
+ },
232
+ {
233
+ "inputs": [],
234
+ "name": "lastPoolId",
235
+ "outputs": [
236
+ {
237
+ "internalType": "uint96",
238
+ "name": "",
239
+ "type": "uint96"
240
+ }
241
+ ],
242
+ "stateMutability": "view",
243
+ "type": "function"
244
+ },
245
+ {
246
+ "inputs": [],
247
+ "name": "liquidatorContract",
248
+ "outputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "stateMutability": "view",
256
+ "type": "function"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "maxAssets",
261
+ "outputs": [
262
+ {
263
+ "internalType": "uint256",
264
+ "name": "",
265
+ "type": "uint256"
266
+ }
267
+ ],
268
+ "stateMutability": "view",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "inputs": [],
273
+ "name": "minReleaseAmount",
274
+ "outputs": [
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "",
278
+ "type": "uint256"
279
+ }
280
+ ],
281
+ "stateMutability": "view",
282
+ "type": "function"
283
+ },
284
+ {
285
+ "inputs": [],
286
+ "name": "mintVAIGuardianPaused",
287
+ "outputs": [
288
+ {
289
+ "internalType": "bool",
290
+ "name": "",
291
+ "type": "bool"
292
+ }
293
+ ],
294
+ "stateMutability": "view",
295
+ "type": "function"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "address",
301
+ "name": "",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "name": "mintedVAIs",
306
+ "outputs": [
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "",
310
+ "type": "uint256"
311
+ }
312
+ ],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [],
318
+ "name": "oracle",
319
+ "outputs": [
320
+ {
321
+ "internalType": "contract ResilientOracleInterface",
322
+ "name": "",
323
+ "type": "address"
324
+ }
325
+ ],
326
+ "stateMutability": "view",
327
+ "type": "function"
328
+ },
329
+ {
330
+ "inputs": [],
331
+ "name": "pauseGuardian",
332
+ "outputs": [
333
+ {
334
+ "internalType": "address",
335
+ "name": "",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "stateMutability": "view",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [],
344
+ "name": "pendingAdmin",
345
+ "outputs": [
346
+ {
347
+ "internalType": "address",
348
+ "name": "",
349
+ "type": "address"
350
+ }
351
+ ],
352
+ "stateMutability": "view",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [],
357
+ "name": "pendingComptrollerImplementation",
358
+ "outputs": [
359
+ {
360
+ "internalType": "address",
361
+ "name": "",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [
370
+ {
371
+ "internalType": "uint96",
372
+ "name": "",
373
+ "type": "uint96"
374
+ }
375
+ ],
376
+ "name": "pools",
377
+ "outputs": [
378
+ {
379
+ "internalType": "string",
380
+ "name": "label",
381
+ "type": "string"
382
+ },
383
+ {
384
+ "internalType": "bool",
385
+ "name": "isActive",
386
+ "type": "bool"
387
+ },
388
+ {
389
+ "internalType": "bool",
390
+ "name": "allowCorePoolFallback",
391
+ "type": "bool"
392
+ }
393
+ ],
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [],
399
+ "name": "prime",
400
+ "outputs": [
401
+ {
402
+ "internalType": "contract IPrime",
403
+ "name": "",
404
+ "type": "address"
405
+ }
406
+ ],
407
+ "stateMutability": "view",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "inputs": [],
412
+ "name": "protocolPaused",
413
+ "outputs": [
414
+ {
415
+ "internalType": "bool",
416
+ "name": "",
417
+ "type": "bool"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [],
425
+ "name": "releaseStartBlock",
426
+ "outputs": [
427
+ {
428
+ "internalType": "uint256",
429
+ "name": "",
430
+ "type": "uint256"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [],
438
+ "name": "repayVAIGuardianPaused",
439
+ "outputs": [
440
+ {
441
+ "internalType": "bool",
442
+ "name": "",
443
+ "type": "bool"
444
+ }
445
+ ],
446
+ "stateMutability": "view",
447
+ "type": "function"
448
+ },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "address",
453
+ "name": "",
454
+ "type": "address"
455
+ }
456
+ ],
457
+ "name": "supplyCaps",
458
+ "outputs": [
459
+ {
460
+ "internalType": "uint256",
461
+ "name": "",
462
+ "type": "uint256"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [],
470
+ "name": "treasuryAddress",
471
+ "outputs": [
472
+ {
473
+ "internalType": "address",
474
+ "name": "",
475
+ "type": "address"
476
+ }
477
+ ],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [],
483
+ "name": "treasuryGuardian",
484
+ "outputs": [
485
+ {
486
+ "internalType": "address",
487
+ "name": "",
488
+ "type": "address"
489
+ }
490
+ ],
491
+ "stateMutability": "view",
492
+ "type": "function"
493
+ },
494
+ {
495
+ "inputs": [],
496
+ "name": "treasuryPercent",
497
+ "outputs": [
498
+ {
499
+ "internalType": "uint256",
500
+ "name": "",
501
+ "type": "uint256"
502
+ }
503
+ ],
504
+ "stateMutability": "view",
505
+ "type": "function"
506
+ },
507
+ {
508
+ "inputs": [
509
+ {
510
+ "internalType": "address",
511
+ "name": "",
512
+ "type": "address"
513
+ }
514
+ ],
515
+ "name": "userPoolId",
516
+ "outputs": [
517
+ {
518
+ "internalType": "uint96",
519
+ "name": "",
520
+ "type": "uint96"
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "vaiController",
529
+ "outputs": [
530
+ {
531
+ "internalType": "contract VAIControllerInterface",
532
+ "name": "",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "stateMutability": "view",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [],
541
+ "name": "vaiMintRate",
542
+ "outputs": [
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [],
554
+ "name": "vaiVaultAddress",
555
+ "outputs": [
556
+ {
557
+ "internalType": "address",
558
+ "name": "",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [
567
+ {
568
+ "internalType": "address",
569
+ "name": "",
570
+ "type": "address"
571
+ }
572
+ ],
573
+ "name": "venusAccrued",
574
+ "outputs": [
575
+ {
576
+ "internalType": "uint256",
577
+ "name": "",
578
+ "type": "uint256"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "address",
588
+ "name": "",
589
+ "type": "address"
590
+ }
591
+ ],
592
+ "name": "venusBorrowSpeeds",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "stateMutability": "view",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "address",
607
+ "name": "",
608
+ "type": "address"
609
+ }
610
+ ],
611
+ "name": "venusBorrowState",
612
+ "outputs": [
613
+ {
614
+ "internalType": "uint224",
615
+ "name": "index",
616
+ "type": "uint224"
617
+ },
618
+ {
619
+ "internalType": "uint32",
620
+ "name": "block",
621
+ "type": "uint32"
622
+ }
623
+ ],
624
+ "stateMutability": "view",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "address",
631
+ "name": "",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "internalType": "address",
636
+ "name": "",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "name": "venusBorrowerIndex",
641
+ "outputs": [
642
+ {
643
+ "internalType": "uint256",
644
+ "name": "",
645
+ "type": "uint256"
646
+ }
647
+ ],
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [
653
+ {
654
+ "internalType": "address",
655
+ "name": "",
656
+ "type": "address"
657
+ },
658
+ {
659
+ "internalType": "address",
660
+ "name": "",
661
+ "type": "address"
662
+ }
663
+ ],
664
+ "name": "venusSupplierIndex",
665
+ "outputs": [
666
+ {
667
+ "internalType": "uint256",
668
+ "name": "",
669
+ "type": "uint256"
670
+ }
671
+ ],
672
+ "stateMutability": "view",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [
677
+ {
678
+ "internalType": "address",
679
+ "name": "",
680
+ "type": "address"
681
+ }
682
+ ],
683
+ "name": "venusSupplySpeeds",
684
+ "outputs": [
685
+ {
686
+ "internalType": "uint256",
687
+ "name": "",
688
+ "type": "uint256"
689
+ }
690
+ ],
691
+ "stateMutability": "view",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "internalType": "address",
698
+ "name": "",
699
+ "type": "address"
700
+ }
701
+ ],
702
+ "name": "venusSupplyState",
703
+ "outputs": [
704
+ {
705
+ "internalType": "uint224",
706
+ "name": "index",
707
+ "type": "uint224"
708
+ },
709
+ {
710
+ "internalType": "uint32",
711
+ "name": "block",
712
+ "type": "uint32"
713
+ }
714
+ ],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [],
720
+ "name": "venusVAIVaultRate",
721
+ "outputs": [
722
+ {
723
+ "internalType": "uint256",
724
+ "name": "",
725
+ "type": "uint256"
726
+ }
727
+ ],
728
+ "stateMutability": "view",
729
+ "type": "function"
730
+ }
731
+ ],
732
+ "bytecode": "0x6080604052348015600e575f80fd5b506109968061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061026b575f3560e01c80638c1ac18a1161014b578063c5f956af116100bf578063e0f6123d11610084578063e0f6123d14610660578063e37d4b7914610682578063e8755446146106b9578063f445d703146106c2578063f851a440146106ef578063fa6331d814610701575f80fd5b8063c5f956af14610601578063c7ee005e14610614578063d3270f9914610627578063dce154491461063a578063dcfbc0c71461064d575f80fd5b8063a657e57911610110578063a657e57914610545578063b2eafc3914610558578063b8324c7c1461056b578063bb82aa5e146105c6578063bbb8864a146105d9578063bec04f72146105f8575f80fd5b80638c1ac18a146104d25780639254f5e5146104f457806394b2294b1461050757806396c99064146105105780639bb27d6214610532575f80fd5b8063425fad58116101e257806373769099116101a7578063737690991461042e578063765513831461046e5780637d172bd5146104805780637dc0d1d0146104935780637fb8e8cd146104a65780638a7dc165146104b3575f80fd5b8063425fad58146103c15780634a584432146103d457806352d84d1e146103f35780635dd3fc9d14610406578063719f701b14610425575f80fd5b806321af45691161023357806321af45691461031a57806324a3d6221461034557806326782247146103585780632bc7e29e1461036b5780634088c73e1461038a57806341a18d2c14610397575f80fd5b806302c3bcbb1461026f57806304ef9d58146102a157806308e0225c146102aa5780630db4b4e5146102d457806310b98338146102dd575b5f80fd5b61028e61027d36600461082e565b60276020525f908152604090205481565b6040519081526020015b60405180910390f35b61028e60225481565b61028e6102b836600461084e565b601360209081525f928352604080842090915290825290205481565b61028e601d5481565b61030a6102eb36600461084e565b602c60209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610298565b601e5461032d906001600160a01b031681565b6040516001600160a01b039091168152602001610298565b600a5461032d906001600160a01b031681565b60015461032d906001600160a01b031681565b61028e61037936600461082e565b60166020525f908152604090205481565b60185461030a9060ff1681565b61028e6103a536600461084e565b601260209081525f928352604080842090915290825290205481565b60185461030a9062010000900460ff1681565b61028e6103e236600461082e565b601f6020525f908152604090205481565b61032d61040136600461087f565b61070a565b61028e61041436600461082e565b602b6020525f908152604090205481565b61028e601c5481565b61045661043c36600461082e565b60356020525f90815260409020546001600160601b031681565b6040516001600160601b039091168152602001610298565b60185461030a90610100900460ff1681565b601b5461032d906001600160a01b031681565b60045461032d906001600160a01b031681565b60395461030a9060ff1681565b61028e6104c136600461082e565b60146020525f908152604090205481565b61030a6104e036600461082e565b602d6020525f908152604090205460ff1681565b60155461032d906001600160a01b031681565b61028e60075481565b61052361051e366004610896565b610732565b604051610298939291906108bc565b60255461032d906001600160a01b031681565b603754610456906001600160601b031681565b60205461032d906001600160a01b031681565b6105a261057936600461082e565b60106020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b604080516001600160e01b03909316835263ffffffff909116602083015201610298565b60025461032d906001600160a01b031681565b61028e6105e736600461082e565b602a6020525f908152604090205481565b61028e60175481565b60215461032d906001600160a01b031681565b60315461032d906001600160a01b031681565b60265461032d906001600160a01b031681565b61032d610648366004610900565b6107df565b60035461032d906001600160a01b031681565b61030a61066e36600461082e565b60386020525f908152604090205460ff1681565b6105a261069036600461082e565b60116020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b61028e60055481565b61030a6106d036600461084e565b603260209081525f928352604080842090915290825290205460ff1681565b5f5461032d906001600160a01b031681565b61028e601a5481565b600d8181548110610719575f80fd5b5f918252602090912001546001600160a01b0316905081565b60366020525f908152604090208054819061074c90610928565b80601f016020809104026020016040519081016040528092919081815260200182805461077890610928565b80156107c35780601f1061079a576101008083540402835291602001916107c3565b820191905f5260205f20905b8154815290600101906020018083116107a657829003601f168201915b5050506002909301549192505060ff8082169161010090041683565b6008602052815f5260405f2081815481106107f8575f80fd5b5f918252602090912001546001600160a01b03169150829050565b80356001600160a01b0381168114610829575f80fd5b919050565b5f6020828403121561083e575f80fd5b61084782610813565b9392505050565b5f806040838503121561085f575f80fd5b61086883610813565b915061087660208401610813565b90509250929050565b5f6020828403121561088f575f80fd5b5035919050565b5f602082840312156108a6575f80fd5b81356001600160601b0381168114610847575f80fd5b606081525f84518060608401528060208701608085015e5f60808285018101919091529415156020840152921515604083015250601f909101601f19160101919050565b5f8060408385031215610911575f80fd5b61091a83610813565b946020939093013593505050565b600181811c9082168061093c57607f821691505b60208210810361095a57634e487b7160e01b5f52602260045260245ffd5b5091905056fea264697066735822122078c7260eb0b440c5db3673bc6e2f11856838c5b497576812ca3b6daf06b4bb8764736f6c63430008190033",
733
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061026b575f3560e01c80638c1ac18a1161014b578063c5f956af116100bf578063e0f6123d11610084578063e0f6123d14610660578063e37d4b7914610682578063e8755446146106b9578063f445d703146106c2578063f851a440146106ef578063fa6331d814610701575f80fd5b8063c5f956af14610601578063c7ee005e14610614578063d3270f9914610627578063dce154491461063a578063dcfbc0c71461064d575f80fd5b8063a657e57911610110578063a657e57914610545578063b2eafc3914610558578063b8324c7c1461056b578063bb82aa5e146105c6578063bbb8864a146105d9578063bec04f72146105f8575f80fd5b80638c1ac18a146104d25780639254f5e5146104f457806394b2294b1461050757806396c99064146105105780639bb27d6214610532575f80fd5b8063425fad58116101e257806373769099116101a7578063737690991461042e578063765513831461046e5780637d172bd5146104805780637dc0d1d0146104935780637fb8e8cd146104a65780638a7dc165146104b3575f80fd5b8063425fad58146103c15780634a584432146103d457806352d84d1e146103f35780635dd3fc9d14610406578063719f701b14610425575f80fd5b806321af45691161023357806321af45691461031a57806324a3d6221461034557806326782247146103585780632bc7e29e1461036b5780634088c73e1461038a57806341a18d2c14610397575f80fd5b806302c3bcbb1461026f57806304ef9d58146102a157806308e0225c146102aa5780630db4b4e5146102d457806310b98338146102dd575b5f80fd5b61028e61027d36600461082e565b60276020525f908152604090205481565b6040519081526020015b60405180910390f35b61028e60225481565b61028e6102b836600461084e565b601360209081525f928352604080842090915290825290205481565b61028e601d5481565b61030a6102eb36600461084e565b602c60209081525f928352604080842090915290825290205460ff1681565b6040519015158152602001610298565b601e5461032d906001600160a01b031681565b6040516001600160a01b039091168152602001610298565b600a5461032d906001600160a01b031681565b60015461032d906001600160a01b031681565b61028e61037936600461082e565b60166020525f908152604090205481565b60185461030a9060ff1681565b61028e6103a536600461084e565b601260209081525f928352604080842090915290825290205481565b60185461030a9062010000900460ff1681565b61028e6103e236600461082e565b601f6020525f908152604090205481565b61032d61040136600461087f565b61070a565b61028e61041436600461082e565b602b6020525f908152604090205481565b61028e601c5481565b61045661043c36600461082e565b60356020525f90815260409020546001600160601b031681565b6040516001600160601b039091168152602001610298565b60185461030a90610100900460ff1681565b601b5461032d906001600160a01b031681565b60045461032d906001600160a01b031681565b60395461030a9060ff1681565b61028e6104c136600461082e565b60146020525f908152604090205481565b61030a6104e036600461082e565b602d6020525f908152604090205460ff1681565b60155461032d906001600160a01b031681565b61028e60075481565b61052361051e366004610896565b610732565b604051610298939291906108bc565b60255461032d906001600160a01b031681565b603754610456906001600160601b031681565b60205461032d906001600160a01b031681565b6105a261057936600461082e565b60106020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b604080516001600160e01b03909316835263ffffffff909116602083015201610298565b60025461032d906001600160a01b031681565b61028e6105e736600461082e565b602a6020525f908152604090205481565b61028e60175481565b60215461032d906001600160a01b031681565b60315461032d906001600160a01b031681565b60265461032d906001600160a01b031681565b61032d610648366004610900565b6107df565b60035461032d906001600160a01b031681565b61030a61066e36600461082e565b60386020525f908152604090205460ff1681565b6105a261069036600461082e565b60116020525f90815260409020546001600160e01b03811690600160e01b900463ffffffff1682565b61028e60055481565b61030a6106d036600461084e565b603260209081525f928352604080842090915290825290205460ff1681565b5f5461032d906001600160a01b031681565b61028e601a5481565b600d8181548110610719575f80fd5b5f918252602090912001546001600160a01b0316905081565b60366020525f908152604090208054819061074c90610928565b80601f016020809104026020016040519081016040528092919081815260200182805461077890610928565b80156107c35780601f1061079a576101008083540402835291602001916107c3565b820191905f5260205f20905b8154815290600101906020018083116107a657829003601f168201915b5050506002909301549192505060ff8082169161010090041683565b6008602052815f5260405f2081815481106107f8575f80fd5b5f918252602090912001546001600160a01b03169150829050565b80356001600160a01b0381168114610829575f80fd5b919050565b5f6020828403121561083e575f80fd5b61084782610813565b9392505050565b5f806040838503121561085f575f80fd5b61086883610813565b915061087660208401610813565b90509250929050565b5f6020828403121561088f575f80fd5b5035919050565b5f602082840312156108a6575f80fd5b81356001600160601b0381168114610847575f80fd5b606081525f84518060608401528060208701608085015e5f60808285018101919091529415156020840152921515604083015250601f909101601f19160101919050565b5f8060408385031215610911575f80fd5b61091a83610813565b946020939093013593505050565b600181811c9082168061093c57607f821691505b60208210810361095a57634e487b7160e01b5f52602260045260245ffd5b5091905056fea264697066735822122078c7260eb0b440c5db3673bc6e2f11856838c5b497576812ca3b6daf06b4bb8764736f6c63430008190033",
734
+ "linkReferences": {},
735
+ "deployedLinkReferences": {}
736
+ }