@venusprotocol/venus-protocol 9.8.0-dev.1 → 9.8.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/002-interest-rate-model.ts +1 -1
- package/deployments/bscmainnet/InterestRateModelVBNB.json +13 -13
- package/deployments/bscmainnet/solcInputs/0853484adf400255247dccdbf868a509.json +79 -0
- package/deployments/bscmainnet/vlisUSD.json +2382 -0
- package/deployments/bscmainnet.json +1685 -1
- package/deployments/bscmainnet_addresses.json +3 -2
- package/deployments/bsctestnet/InterestRateModelVBNB.json +15 -15
- package/deployments/bsctestnet/JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps.json +380 -0
- package/deployments/bsctestnet/solcInputs/0853484adf400255247dccdbf868a509.json +79 -0
- package/deployments/bsctestnet/vlisUSD.json +2382 -0
- package/deployments/bsctestnet.json +13595 -11660
- package/deployments/bsctestnet_addresses.json +4 -2
- package/dist/deploy/002-interest-rate-model.js +1 -1
- package/dist/deployments/bscmainnet.json +1685 -1
- package/dist/deployments/bsctestnet.json +13595 -11660
- package/dist/helpers/deploymentConfig.js +46 -0
- package/package.json +1 -1
|
@@ -6498,7 +6498,7 @@
|
|
|
6498
6498
|
]
|
|
6499
6499
|
},
|
|
6500
6500
|
"InterestRateModelVBNB": {
|
|
6501
|
-
"address": "
|
|
6501
|
+
"address": "0xb16Db373A194acb9018919B77ae480f2a8f0F128",
|
|
6502
6502
|
"abi": [
|
|
6503
6503
|
{
|
|
6504
6504
|
"inputs": [
|
|
@@ -160071,6 +160071,1690 @@
|
|
|
160071
160071
|
"type": "function"
|
|
160072
160072
|
}
|
|
160073
160073
|
]
|
|
160074
|
+
},
|
|
160075
|
+
"vlisUSD": {
|
|
160076
|
+
"address": "0x689E0daB47Ab16bcae87Ec18491692BF621Dc6Ab",
|
|
160077
|
+
"abi": [
|
|
160078
|
+
{
|
|
160079
|
+
"inputs": [
|
|
160080
|
+
{
|
|
160081
|
+
"internalType": "address",
|
|
160082
|
+
"name": "underlying_",
|
|
160083
|
+
"type": "address"
|
|
160084
|
+
},
|
|
160085
|
+
{
|
|
160086
|
+
"internalType": "contract ComptrollerInterface",
|
|
160087
|
+
"name": "comptroller_",
|
|
160088
|
+
"type": "address"
|
|
160089
|
+
},
|
|
160090
|
+
{
|
|
160091
|
+
"internalType": "contract InterestRateModel",
|
|
160092
|
+
"name": "interestRateModel_",
|
|
160093
|
+
"type": "address"
|
|
160094
|
+
},
|
|
160095
|
+
{
|
|
160096
|
+
"internalType": "uint256",
|
|
160097
|
+
"name": "initialExchangeRateMantissa_",
|
|
160098
|
+
"type": "uint256"
|
|
160099
|
+
},
|
|
160100
|
+
{
|
|
160101
|
+
"internalType": "string",
|
|
160102
|
+
"name": "name_",
|
|
160103
|
+
"type": "string"
|
|
160104
|
+
},
|
|
160105
|
+
{
|
|
160106
|
+
"internalType": "string",
|
|
160107
|
+
"name": "symbol_",
|
|
160108
|
+
"type": "string"
|
|
160109
|
+
},
|
|
160110
|
+
{
|
|
160111
|
+
"internalType": "uint8",
|
|
160112
|
+
"name": "decimals_",
|
|
160113
|
+
"type": "uint8"
|
|
160114
|
+
},
|
|
160115
|
+
{
|
|
160116
|
+
"internalType": "address payable",
|
|
160117
|
+
"name": "admin_",
|
|
160118
|
+
"type": "address"
|
|
160119
|
+
},
|
|
160120
|
+
{
|
|
160121
|
+
"internalType": "address",
|
|
160122
|
+
"name": "implementation_",
|
|
160123
|
+
"type": "address"
|
|
160124
|
+
},
|
|
160125
|
+
{
|
|
160126
|
+
"internalType": "bytes",
|
|
160127
|
+
"name": "becomeImplementationData",
|
|
160128
|
+
"type": "bytes"
|
|
160129
|
+
}
|
|
160130
|
+
],
|
|
160131
|
+
"payable": false,
|
|
160132
|
+
"stateMutability": "nonpayable",
|
|
160133
|
+
"type": "constructor"
|
|
160134
|
+
},
|
|
160135
|
+
{
|
|
160136
|
+
"anonymous": false,
|
|
160137
|
+
"inputs": [
|
|
160138
|
+
{
|
|
160139
|
+
"indexed": false,
|
|
160140
|
+
"internalType": "uint256",
|
|
160141
|
+
"name": "cashPrior",
|
|
160142
|
+
"type": "uint256"
|
|
160143
|
+
},
|
|
160144
|
+
{
|
|
160145
|
+
"indexed": false,
|
|
160146
|
+
"internalType": "uint256",
|
|
160147
|
+
"name": "interestAccumulated",
|
|
160148
|
+
"type": "uint256"
|
|
160149
|
+
},
|
|
160150
|
+
{
|
|
160151
|
+
"indexed": false,
|
|
160152
|
+
"internalType": "uint256",
|
|
160153
|
+
"name": "borrowIndex",
|
|
160154
|
+
"type": "uint256"
|
|
160155
|
+
},
|
|
160156
|
+
{
|
|
160157
|
+
"indexed": false,
|
|
160158
|
+
"internalType": "uint256",
|
|
160159
|
+
"name": "totalBorrows",
|
|
160160
|
+
"type": "uint256"
|
|
160161
|
+
}
|
|
160162
|
+
],
|
|
160163
|
+
"name": "AccrueInterest",
|
|
160164
|
+
"type": "event"
|
|
160165
|
+
},
|
|
160166
|
+
{
|
|
160167
|
+
"anonymous": false,
|
|
160168
|
+
"inputs": [
|
|
160169
|
+
{
|
|
160170
|
+
"indexed": true,
|
|
160171
|
+
"internalType": "address",
|
|
160172
|
+
"name": "owner",
|
|
160173
|
+
"type": "address"
|
|
160174
|
+
},
|
|
160175
|
+
{
|
|
160176
|
+
"indexed": true,
|
|
160177
|
+
"internalType": "address",
|
|
160178
|
+
"name": "spender",
|
|
160179
|
+
"type": "address"
|
|
160180
|
+
},
|
|
160181
|
+
{
|
|
160182
|
+
"indexed": false,
|
|
160183
|
+
"internalType": "uint256",
|
|
160184
|
+
"name": "amount",
|
|
160185
|
+
"type": "uint256"
|
|
160186
|
+
}
|
|
160187
|
+
],
|
|
160188
|
+
"name": "Approval",
|
|
160189
|
+
"type": "event"
|
|
160190
|
+
},
|
|
160191
|
+
{
|
|
160192
|
+
"anonymous": false,
|
|
160193
|
+
"inputs": [
|
|
160194
|
+
{
|
|
160195
|
+
"indexed": false,
|
|
160196
|
+
"internalType": "address",
|
|
160197
|
+
"name": "borrower",
|
|
160198
|
+
"type": "address"
|
|
160199
|
+
},
|
|
160200
|
+
{
|
|
160201
|
+
"indexed": false,
|
|
160202
|
+
"internalType": "uint256",
|
|
160203
|
+
"name": "borrowAmount",
|
|
160204
|
+
"type": "uint256"
|
|
160205
|
+
},
|
|
160206
|
+
{
|
|
160207
|
+
"indexed": false,
|
|
160208
|
+
"internalType": "uint256",
|
|
160209
|
+
"name": "accountBorrows",
|
|
160210
|
+
"type": "uint256"
|
|
160211
|
+
},
|
|
160212
|
+
{
|
|
160213
|
+
"indexed": false,
|
|
160214
|
+
"internalType": "uint256",
|
|
160215
|
+
"name": "totalBorrows",
|
|
160216
|
+
"type": "uint256"
|
|
160217
|
+
}
|
|
160218
|
+
],
|
|
160219
|
+
"name": "Borrow",
|
|
160220
|
+
"type": "event"
|
|
160221
|
+
},
|
|
160222
|
+
{
|
|
160223
|
+
"anonymous": false,
|
|
160224
|
+
"inputs": [
|
|
160225
|
+
{
|
|
160226
|
+
"indexed": false,
|
|
160227
|
+
"internalType": "uint256",
|
|
160228
|
+
"name": "error",
|
|
160229
|
+
"type": "uint256"
|
|
160230
|
+
},
|
|
160231
|
+
{
|
|
160232
|
+
"indexed": false,
|
|
160233
|
+
"internalType": "uint256",
|
|
160234
|
+
"name": "info",
|
|
160235
|
+
"type": "uint256"
|
|
160236
|
+
},
|
|
160237
|
+
{
|
|
160238
|
+
"indexed": false,
|
|
160239
|
+
"internalType": "uint256",
|
|
160240
|
+
"name": "detail",
|
|
160241
|
+
"type": "uint256"
|
|
160242
|
+
}
|
|
160243
|
+
],
|
|
160244
|
+
"name": "Failure",
|
|
160245
|
+
"type": "event"
|
|
160246
|
+
},
|
|
160247
|
+
{
|
|
160248
|
+
"anonymous": false,
|
|
160249
|
+
"inputs": [
|
|
160250
|
+
{
|
|
160251
|
+
"indexed": false,
|
|
160252
|
+
"internalType": "address",
|
|
160253
|
+
"name": "liquidator",
|
|
160254
|
+
"type": "address"
|
|
160255
|
+
},
|
|
160256
|
+
{
|
|
160257
|
+
"indexed": false,
|
|
160258
|
+
"internalType": "address",
|
|
160259
|
+
"name": "borrower",
|
|
160260
|
+
"type": "address"
|
|
160261
|
+
},
|
|
160262
|
+
{
|
|
160263
|
+
"indexed": false,
|
|
160264
|
+
"internalType": "uint256",
|
|
160265
|
+
"name": "repayAmount",
|
|
160266
|
+
"type": "uint256"
|
|
160267
|
+
},
|
|
160268
|
+
{
|
|
160269
|
+
"indexed": false,
|
|
160270
|
+
"internalType": "address",
|
|
160271
|
+
"name": "vTokenCollateral",
|
|
160272
|
+
"type": "address"
|
|
160273
|
+
},
|
|
160274
|
+
{
|
|
160275
|
+
"indexed": false,
|
|
160276
|
+
"internalType": "uint256",
|
|
160277
|
+
"name": "seizeTokens",
|
|
160278
|
+
"type": "uint256"
|
|
160279
|
+
}
|
|
160280
|
+
],
|
|
160281
|
+
"name": "LiquidateBorrow",
|
|
160282
|
+
"type": "event"
|
|
160283
|
+
},
|
|
160284
|
+
{
|
|
160285
|
+
"anonymous": false,
|
|
160286
|
+
"inputs": [
|
|
160287
|
+
{
|
|
160288
|
+
"indexed": false,
|
|
160289
|
+
"internalType": "address",
|
|
160290
|
+
"name": "minter",
|
|
160291
|
+
"type": "address"
|
|
160292
|
+
},
|
|
160293
|
+
{
|
|
160294
|
+
"indexed": false,
|
|
160295
|
+
"internalType": "uint256",
|
|
160296
|
+
"name": "mintAmount",
|
|
160297
|
+
"type": "uint256"
|
|
160298
|
+
},
|
|
160299
|
+
{
|
|
160300
|
+
"indexed": false,
|
|
160301
|
+
"internalType": "uint256",
|
|
160302
|
+
"name": "mintTokens",
|
|
160303
|
+
"type": "uint256"
|
|
160304
|
+
},
|
|
160305
|
+
{
|
|
160306
|
+
"indexed": false,
|
|
160307
|
+
"internalType": "uint256",
|
|
160308
|
+
"name": "totalSupply",
|
|
160309
|
+
"type": "uint256"
|
|
160310
|
+
}
|
|
160311
|
+
],
|
|
160312
|
+
"name": "Mint",
|
|
160313
|
+
"type": "event"
|
|
160314
|
+
},
|
|
160315
|
+
{
|
|
160316
|
+
"anonymous": false,
|
|
160317
|
+
"inputs": [
|
|
160318
|
+
{
|
|
160319
|
+
"indexed": false,
|
|
160320
|
+
"internalType": "address",
|
|
160321
|
+
"name": "payer",
|
|
160322
|
+
"type": "address"
|
|
160323
|
+
},
|
|
160324
|
+
{
|
|
160325
|
+
"indexed": false,
|
|
160326
|
+
"internalType": "address",
|
|
160327
|
+
"name": "receiver",
|
|
160328
|
+
"type": "address"
|
|
160329
|
+
},
|
|
160330
|
+
{
|
|
160331
|
+
"indexed": false,
|
|
160332
|
+
"internalType": "uint256",
|
|
160333
|
+
"name": "mintAmount",
|
|
160334
|
+
"type": "uint256"
|
|
160335
|
+
},
|
|
160336
|
+
{
|
|
160337
|
+
"indexed": false,
|
|
160338
|
+
"internalType": "uint256",
|
|
160339
|
+
"name": "mintTokens",
|
|
160340
|
+
"type": "uint256"
|
|
160341
|
+
},
|
|
160342
|
+
{
|
|
160343
|
+
"indexed": false,
|
|
160344
|
+
"internalType": "uint256",
|
|
160345
|
+
"name": "totalSupply",
|
|
160346
|
+
"type": "uint256"
|
|
160347
|
+
}
|
|
160348
|
+
],
|
|
160349
|
+
"name": "MintBehalf",
|
|
160350
|
+
"type": "event"
|
|
160351
|
+
},
|
|
160352
|
+
{
|
|
160353
|
+
"anonymous": false,
|
|
160354
|
+
"inputs": [
|
|
160355
|
+
{
|
|
160356
|
+
"indexed": false,
|
|
160357
|
+
"internalType": "address",
|
|
160358
|
+
"name": "oldAccessControlAddress",
|
|
160359
|
+
"type": "address"
|
|
160360
|
+
},
|
|
160361
|
+
{
|
|
160362
|
+
"indexed": false,
|
|
160363
|
+
"internalType": "address",
|
|
160364
|
+
"name": "newAccessControlAddress",
|
|
160365
|
+
"type": "address"
|
|
160366
|
+
}
|
|
160367
|
+
],
|
|
160368
|
+
"name": "NewAccessControlManager",
|
|
160369
|
+
"type": "event"
|
|
160370
|
+
},
|
|
160371
|
+
{
|
|
160372
|
+
"anonymous": false,
|
|
160373
|
+
"inputs": [
|
|
160374
|
+
{
|
|
160375
|
+
"indexed": false,
|
|
160376
|
+
"internalType": "address",
|
|
160377
|
+
"name": "oldAdmin",
|
|
160378
|
+
"type": "address"
|
|
160379
|
+
},
|
|
160380
|
+
{
|
|
160381
|
+
"indexed": false,
|
|
160382
|
+
"internalType": "address",
|
|
160383
|
+
"name": "newAdmin",
|
|
160384
|
+
"type": "address"
|
|
160385
|
+
}
|
|
160386
|
+
],
|
|
160387
|
+
"name": "NewAdmin",
|
|
160388
|
+
"type": "event"
|
|
160389
|
+
},
|
|
160390
|
+
{
|
|
160391
|
+
"anonymous": false,
|
|
160392
|
+
"inputs": [
|
|
160393
|
+
{
|
|
160394
|
+
"indexed": false,
|
|
160395
|
+
"internalType": "contract ComptrollerInterface",
|
|
160396
|
+
"name": "oldComptroller",
|
|
160397
|
+
"type": "address"
|
|
160398
|
+
},
|
|
160399
|
+
{
|
|
160400
|
+
"indexed": false,
|
|
160401
|
+
"internalType": "contract ComptrollerInterface",
|
|
160402
|
+
"name": "newComptroller",
|
|
160403
|
+
"type": "address"
|
|
160404
|
+
}
|
|
160405
|
+
],
|
|
160406
|
+
"name": "NewComptroller",
|
|
160407
|
+
"type": "event"
|
|
160408
|
+
},
|
|
160409
|
+
{
|
|
160410
|
+
"anonymous": false,
|
|
160411
|
+
"inputs": [
|
|
160412
|
+
{
|
|
160413
|
+
"indexed": false,
|
|
160414
|
+
"internalType": "address",
|
|
160415
|
+
"name": "oldImplementation",
|
|
160416
|
+
"type": "address"
|
|
160417
|
+
},
|
|
160418
|
+
{
|
|
160419
|
+
"indexed": false,
|
|
160420
|
+
"internalType": "address",
|
|
160421
|
+
"name": "newImplementation",
|
|
160422
|
+
"type": "address"
|
|
160423
|
+
}
|
|
160424
|
+
],
|
|
160425
|
+
"name": "NewImplementation",
|
|
160426
|
+
"type": "event"
|
|
160427
|
+
},
|
|
160428
|
+
{
|
|
160429
|
+
"anonymous": false,
|
|
160430
|
+
"inputs": [
|
|
160431
|
+
{
|
|
160432
|
+
"indexed": false,
|
|
160433
|
+
"internalType": "contract InterestRateModel",
|
|
160434
|
+
"name": "oldInterestRateModel",
|
|
160435
|
+
"type": "address"
|
|
160436
|
+
},
|
|
160437
|
+
{
|
|
160438
|
+
"indexed": false,
|
|
160439
|
+
"internalType": "contract InterestRateModel",
|
|
160440
|
+
"name": "newInterestRateModel",
|
|
160441
|
+
"type": "address"
|
|
160442
|
+
}
|
|
160443
|
+
],
|
|
160444
|
+
"name": "NewMarketInterestRateModel",
|
|
160445
|
+
"type": "event"
|
|
160446
|
+
},
|
|
160447
|
+
{
|
|
160448
|
+
"anonymous": false,
|
|
160449
|
+
"inputs": [
|
|
160450
|
+
{
|
|
160451
|
+
"indexed": false,
|
|
160452
|
+
"internalType": "address",
|
|
160453
|
+
"name": "oldPendingAdmin",
|
|
160454
|
+
"type": "address"
|
|
160455
|
+
},
|
|
160456
|
+
{
|
|
160457
|
+
"indexed": false,
|
|
160458
|
+
"internalType": "address",
|
|
160459
|
+
"name": "newPendingAdmin",
|
|
160460
|
+
"type": "address"
|
|
160461
|
+
}
|
|
160462
|
+
],
|
|
160463
|
+
"name": "NewPendingAdmin",
|
|
160464
|
+
"type": "event"
|
|
160465
|
+
},
|
|
160466
|
+
{
|
|
160467
|
+
"anonymous": false,
|
|
160468
|
+
"inputs": [
|
|
160469
|
+
{
|
|
160470
|
+
"indexed": true,
|
|
160471
|
+
"internalType": "address",
|
|
160472
|
+
"name": "oldProtocolShareReserve",
|
|
160473
|
+
"type": "address"
|
|
160474
|
+
},
|
|
160475
|
+
{
|
|
160476
|
+
"indexed": true,
|
|
160477
|
+
"internalType": "address",
|
|
160478
|
+
"name": "newProtocolShareReserve",
|
|
160479
|
+
"type": "address"
|
|
160480
|
+
}
|
|
160481
|
+
],
|
|
160482
|
+
"name": "NewProtocolShareReserve",
|
|
160483
|
+
"type": "event"
|
|
160484
|
+
},
|
|
160485
|
+
{
|
|
160486
|
+
"anonymous": false,
|
|
160487
|
+
"inputs": [
|
|
160488
|
+
{
|
|
160489
|
+
"indexed": false,
|
|
160490
|
+
"internalType": "uint256",
|
|
160491
|
+
"name": "oldReduceReservesBlockDelta",
|
|
160492
|
+
"type": "uint256"
|
|
160493
|
+
},
|
|
160494
|
+
{
|
|
160495
|
+
"indexed": false,
|
|
160496
|
+
"internalType": "uint256",
|
|
160497
|
+
"name": "newReduceReservesBlockDelta",
|
|
160498
|
+
"type": "uint256"
|
|
160499
|
+
}
|
|
160500
|
+
],
|
|
160501
|
+
"name": "NewReduceReservesBlockDelta",
|
|
160502
|
+
"type": "event"
|
|
160503
|
+
},
|
|
160504
|
+
{
|
|
160505
|
+
"anonymous": false,
|
|
160506
|
+
"inputs": [
|
|
160507
|
+
{
|
|
160508
|
+
"indexed": false,
|
|
160509
|
+
"internalType": "uint256",
|
|
160510
|
+
"name": "oldReserveFactorMantissa",
|
|
160511
|
+
"type": "uint256"
|
|
160512
|
+
},
|
|
160513
|
+
{
|
|
160514
|
+
"indexed": false,
|
|
160515
|
+
"internalType": "uint256",
|
|
160516
|
+
"name": "newReserveFactorMantissa",
|
|
160517
|
+
"type": "uint256"
|
|
160518
|
+
}
|
|
160519
|
+
],
|
|
160520
|
+
"name": "NewReserveFactor",
|
|
160521
|
+
"type": "event"
|
|
160522
|
+
},
|
|
160523
|
+
{
|
|
160524
|
+
"anonymous": false,
|
|
160525
|
+
"inputs": [
|
|
160526
|
+
{
|
|
160527
|
+
"indexed": false,
|
|
160528
|
+
"internalType": "address",
|
|
160529
|
+
"name": "redeemer",
|
|
160530
|
+
"type": "address"
|
|
160531
|
+
},
|
|
160532
|
+
{
|
|
160533
|
+
"indexed": false,
|
|
160534
|
+
"internalType": "uint256",
|
|
160535
|
+
"name": "redeemAmount",
|
|
160536
|
+
"type": "uint256"
|
|
160537
|
+
},
|
|
160538
|
+
{
|
|
160539
|
+
"indexed": false,
|
|
160540
|
+
"internalType": "uint256",
|
|
160541
|
+
"name": "redeemTokens",
|
|
160542
|
+
"type": "uint256"
|
|
160543
|
+
},
|
|
160544
|
+
{
|
|
160545
|
+
"indexed": false,
|
|
160546
|
+
"internalType": "uint256",
|
|
160547
|
+
"name": "totalSupply",
|
|
160548
|
+
"type": "uint256"
|
|
160549
|
+
}
|
|
160550
|
+
],
|
|
160551
|
+
"name": "Redeem",
|
|
160552
|
+
"type": "event"
|
|
160553
|
+
},
|
|
160554
|
+
{
|
|
160555
|
+
"anonymous": false,
|
|
160556
|
+
"inputs": [
|
|
160557
|
+
{
|
|
160558
|
+
"indexed": false,
|
|
160559
|
+
"internalType": "address",
|
|
160560
|
+
"name": "redeemer",
|
|
160561
|
+
"type": "address"
|
|
160562
|
+
},
|
|
160563
|
+
{
|
|
160564
|
+
"indexed": false,
|
|
160565
|
+
"internalType": "uint256",
|
|
160566
|
+
"name": "feeAmount",
|
|
160567
|
+
"type": "uint256"
|
|
160568
|
+
},
|
|
160569
|
+
{
|
|
160570
|
+
"indexed": false,
|
|
160571
|
+
"internalType": "uint256",
|
|
160572
|
+
"name": "redeemTokens",
|
|
160573
|
+
"type": "uint256"
|
|
160574
|
+
}
|
|
160575
|
+
],
|
|
160576
|
+
"name": "RedeemFee",
|
|
160577
|
+
"type": "event"
|
|
160578
|
+
},
|
|
160579
|
+
{
|
|
160580
|
+
"anonymous": false,
|
|
160581
|
+
"inputs": [
|
|
160582
|
+
{
|
|
160583
|
+
"indexed": false,
|
|
160584
|
+
"internalType": "address",
|
|
160585
|
+
"name": "payer",
|
|
160586
|
+
"type": "address"
|
|
160587
|
+
},
|
|
160588
|
+
{
|
|
160589
|
+
"indexed": false,
|
|
160590
|
+
"internalType": "address",
|
|
160591
|
+
"name": "borrower",
|
|
160592
|
+
"type": "address"
|
|
160593
|
+
},
|
|
160594
|
+
{
|
|
160595
|
+
"indexed": false,
|
|
160596
|
+
"internalType": "uint256",
|
|
160597
|
+
"name": "repayAmount",
|
|
160598
|
+
"type": "uint256"
|
|
160599
|
+
},
|
|
160600
|
+
{
|
|
160601
|
+
"indexed": false,
|
|
160602
|
+
"internalType": "uint256",
|
|
160603
|
+
"name": "accountBorrows",
|
|
160604
|
+
"type": "uint256"
|
|
160605
|
+
},
|
|
160606
|
+
{
|
|
160607
|
+
"indexed": false,
|
|
160608
|
+
"internalType": "uint256",
|
|
160609
|
+
"name": "totalBorrows",
|
|
160610
|
+
"type": "uint256"
|
|
160611
|
+
}
|
|
160612
|
+
],
|
|
160613
|
+
"name": "RepayBorrow",
|
|
160614
|
+
"type": "event"
|
|
160615
|
+
},
|
|
160616
|
+
{
|
|
160617
|
+
"anonymous": false,
|
|
160618
|
+
"inputs": [
|
|
160619
|
+
{
|
|
160620
|
+
"indexed": false,
|
|
160621
|
+
"internalType": "address",
|
|
160622
|
+
"name": "benefactor",
|
|
160623
|
+
"type": "address"
|
|
160624
|
+
},
|
|
160625
|
+
{
|
|
160626
|
+
"indexed": false,
|
|
160627
|
+
"internalType": "uint256",
|
|
160628
|
+
"name": "addAmount",
|
|
160629
|
+
"type": "uint256"
|
|
160630
|
+
},
|
|
160631
|
+
{
|
|
160632
|
+
"indexed": false,
|
|
160633
|
+
"internalType": "uint256",
|
|
160634
|
+
"name": "newTotalReserves",
|
|
160635
|
+
"type": "uint256"
|
|
160636
|
+
}
|
|
160637
|
+
],
|
|
160638
|
+
"name": "ReservesAdded",
|
|
160639
|
+
"type": "event"
|
|
160640
|
+
},
|
|
160641
|
+
{
|
|
160642
|
+
"anonymous": false,
|
|
160643
|
+
"inputs": [
|
|
160644
|
+
{
|
|
160645
|
+
"indexed": false,
|
|
160646
|
+
"internalType": "address",
|
|
160647
|
+
"name": "protocolShareReserve",
|
|
160648
|
+
"type": "address"
|
|
160649
|
+
},
|
|
160650
|
+
{
|
|
160651
|
+
"indexed": false,
|
|
160652
|
+
"internalType": "uint256",
|
|
160653
|
+
"name": "reduceAmount",
|
|
160654
|
+
"type": "uint256"
|
|
160655
|
+
},
|
|
160656
|
+
{
|
|
160657
|
+
"indexed": false,
|
|
160658
|
+
"internalType": "uint256",
|
|
160659
|
+
"name": "newTotalReserves",
|
|
160660
|
+
"type": "uint256"
|
|
160661
|
+
}
|
|
160662
|
+
],
|
|
160663
|
+
"name": "ReservesReduced",
|
|
160664
|
+
"type": "event"
|
|
160665
|
+
},
|
|
160666
|
+
{
|
|
160667
|
+
"anonymous": false,
|
|
160668
|
+
"inputs": [
|
|
160669
|
+
{
|
|
160670
|
+
"indexed": true,
|
|
160671
|
+
"internalType": "address",
|
|
160672
|
+
"name": "from",
|
|
160673
|
+
"type": "address"
|
|
160674
|
+
},
|
|
160675
|
+
{
|
|
160676
|
+
"indexed": true,
|
|
160677
|
+
"internalType": "address",
|
|
160678
|
+
"name": "to",
|
|
160679
|
+
"type": "address"
|
|
160680
|
+
},
|
|
160681
|
+
{
|
|
160682
|
+
"indexed": false,
|
|
160683
|
+
"internalType": "uint256",
|
|
160684
|
+
"name": "amount",
|
|
160685
|
+
"type": "uint256"
|
|
160686
|
+
}
|
|
160687
|
+
],
|
|
160688
|
+
"name": "Transfer",
|
|
160689
|
+
"type": "event"
|
|
160690
|
+
},
|
|
160691
|
+
{
|
|
160692
|
+
"payable": true,
|
|
160693
|
+
"stateMutability": "payable",
|
|
160694
|
+
"type": "fallback"
|
|
160695
|
+
},
|
|
160696
|
+
{
|
|
160697
|
+
"constant": false,
|
|
160698
|
+
"inputs": [],
|
|
160699
|
+
"name": "_acceptAdmin",
|
|
160700
|
+
"outputs": [
|
|
160701
|
+
{
|
|
160702
|
+
"internalType": "uint256",
|
|
160703
|
+
"name": "",
|
|
160704
|
+
"type": "uint256"
|
|
160705
|
+
}
|
|
160706
|
+
],
|
|
160707
|
+
"payable": false,
|
|
160708
|
+
"stateMutability": "nonpayable",
|
|
160709
|
+
"type": "function"
|
|
160710
|
+
},
|
|
160711
|
+
{
|
|
160712
|
+
"constant": false,
|
|
160713
|
+
"inputs": [
|
|
160714
|
+
{
|
|
160715
|
+
"internalType": "uint256",
|
|
160716
|
+
"name": "addAmount",
|
|
160717
|
+
"type": "uint256"
|
|
160718
|
+
}
|
|
160719
|
+
],
|
|
160720
|
+
"name": "_addReserves",
|
|
160721
|
+
"outputs": [
|
|
160722
|
+
{
|
|
160723
|
+
"internalType": "uint256",
|
|
160724
|
+
"name": "",
|
|
160725
|
+
"type": "uint256"
|
|
160726
|
+
}
|
|
160727
|
+
],
|
|
160728
|
+
"payable": false,
|
|
160729
|
+
"stateMutability": "nonpayable",
|
|
160730
|
+
"type": "function"
|
|
160731
|
+
},
|
|
160732
|
+
{
|
|
160733
|
+
"constant": false,
|
|
160734
|
+
"inputs": [
|
|
160735
|
+
{
|
|
160736
|
+
"internalType": "uint256",
|
|
160737
|
+
"name": "reduceAmount",
|
|
160738
|
+
"type": "uint256"
|
|
160739
|
+
}
|
|
160740
|
+
],
|
|
160741
|
+
"name": "_reduceReserves",
|
|
160742
|
+
"outputs": [
|
|
160743
|
+
{
|
|
160744
|
+
"internalType": "uint256",
|
|
160745
|
+
"name": "",
|
|
160746
|
+
"type": "uint256"
|
|
160747
|
+
}
|
|
160748
|
+
],
|
|
160749
|
+
"payable": false,
|
|
160750
|
+
"stateMutability": "nonpayable",
|
|
160751
|
+
"type": "function"
|
|
160752
|
+
},
|
|
160753
|
+
{
|
|
160754
|
+
"constant": false,
|
|
160755
|
+
"inputs": [
|
|
160756
|
+
{
|
|
160757
|
+
"internalType": "contract ComptrollerInterface",
|
|
160758
|
+
"name": "newComptroller",
|
|
160759
|
+
"type": "address"
|
|
160760
|
+
}
|
|
160761
|
+
],
|
|
160762
|
+
"name": "_setComptroller",
|
|
160763
|
+
"outputs": [
|
|
160764
|
+
{
|
|
160765
|
+
"internalType": "uint256",
|
|
160766
|
+
"name": "",
|
|
160767
|
+
"type": "uint256"
|
|
160768
|
+
}
|
|
160769
|
+
],
|
|
160770
|
+
"payable": false,
|
|
160771
|
+
"stateMutability": "nonpayable",
|
|
160772
|
+
"type": "function"
|
|
160773
|
+
},
|
|
160774
|
+
{
|
|
160775
|
+
"constant": false,
|
|
160776
|
+
"inputs": [
|
|
160777
|
+
{
|
|
160778
|
+
"internalType": "address",
|
|
160779
|
+
"name": "implementation_",
|
|
160780
|
+
"type": "address"
|
|
160781
|
+
},
|
|
160782
|
+
{
|
|
160783
|
+
"internalType": "bool",
|
|
160784
|
+
"name": "allowResign",
|
|
160785
|
+
"type": "bool"
|
|
160786
|
+
},
|
|
160787
|
+
{
|
|
160788
|
+
"internalType": "bytes",
|
|
160789
|
+
"name": "becomeImplementationData",
|
|
160790
|
+
"type": "bytes"
|
|
160791
|
+
}
|
|
160792
|
+
],
|
|
160793
|
+
"name": "_setImplementation",
|
|
160794
|
+
"outputs": [],
|
|
160795
|
+
"payable": false,
|
|
160796
|
+
"stateMutability": "nonpayable",
|
|
160797
|
+
"type": "function"
|
|
160798
|
+
},
|
|
160799
|
+
{
|
|
160800
|
+
"constant": false,
|
|
160801
|
+
"inputs": [
|
|
160802
|
+
{
|
|
160803
|
+
"internalType": "contract InterestRateModel",
|
|
160804
|
+
"name": "newInterestRateModel",
|
|
160805
|
+
"type": "address"
|
|
160806
|
+
}
|
|
160807
|
+
],
|
|
160808
|
+
"name": "_setInterestRateModel",
|
|
160809
|
+
"outputs": [
|
|
160810
|
+
{
|
|
160811
|
+
"internalType": "uint256",
|
|
160812
|
+
"name": "",
|
|
160813
|
+
"type": "uint256"
|
|
160814
|
+
}
|
|
160815
|
+
],
|
|
160816
|
+
"payable": false,
|
|
160817
|
+
"stateMutability": "nonpayable",
|
|
160818
|
+
"type": "function"
|
|
160819
|
+
},
|
|
160820
|
+
{
|
|
160821
|
+
"constant": false,
|
|
160822
|
+
"inputs": [
|
|
160823
|
+
{
|
|
160824
|
+
"internalType": "address payable",
|
|
160825
|
+
"name": "newPendingAdmin",
|
|
160826
|
+
"type": "address"
|
|
160827
|
+
}
|
|
160828
|
+
],
|
|
160829
|
+
"name": "_setPendingAdmin",
|
|
160830
|
+
"outputs": [
|
|
160831
|
+
{
|
|
160832
|
+
"internalType": "uint256",
|
|
160833
|
+
"name": "",
|
|
160834
|
+
"type": "uint256"
|
|
160835
|
+
}
|
|
160836
|
+
],
|
|
160837
|
+
"payable": false,
|
|
160838
|
+
"stateMutability": "nonpayable",
|
|
160839
|
+
"type": "function"
|
|
160840
|
+
},
|
|
160841
|
+
{
|
|
160842
|
+
"constant": false,
|
|
160843
|
+
"inputs": [
|
|
160844
|
+
{
|
|
160845
|
+
"internalType": "uint256",
|
|
160846
|
+
"name": "newReserveFactorMantissa",
|
|
160847
|
+
"type": "uint256"
|
|
160848
|
+
}
|
|
160849
|
+
],
|
|
160850
|
+
"name": "_setReserveFactor",
|
|
160851
|
+
"outputs": [
|
|
160852
|
+
{
|
|
160853
|
+
"internalType": "uint256",
|
|
160854
|
+
"name": "",
|
|
160855
|
+
"type": "uint256"
|
|
160856
|
+
}
|
|
160857
|
+
],
|
|
160858
|
+
"payable": false,
|
|
160859
|
+
"stateMutability": "nonpayable",
|
|
160860
|
+
"type": "function"
|
|
160861
|
+
},
|
|
160862
|
+
{
|
|
160863
|
+
"constant": true,
|
|
160864
|
+
"inputs": [],
|
|
160865
|
+
"name": "accessControlManager",
|
|
160866
|
+
"outputs": [
|
|
160867
|
+
{
|
|
160868
|
+
"internalType": "address",
|
|
160869
|
+
"name": "",
|
|
160870
|
+
"type": "address"
|
|
160871
|
+
}
|
|
160872
|
+
],
|
|
160873
|
+
"payable": false,
|
|
160874
|
+
"stateMutability": "view",
|
|
160875
|
+
"type": "function"
|
|
160876
|
+
},
|
|
160877
|
+
{
|
|
160878
|
+
"constant": true,
|
|
160879
|
+
"inputs": [],
|
|
160880
|
+
"name": "accrualBlockNumber",
|
|
160881
|
+
"outputs": [
|
|
160882
|
+
{
|
|
160883
|
+
"internalType": "uint256",
|
|
160884
|
+
"name": "",
|
|
160885
|
+
"type": "uint256"
|
|
160886
|
+
}
|
|
160887
|
+
],
|
|
160888
|
+
"payable": false,
|
|
160889
|
+
"stateMutability": "view",
|
|
160890
|
+
"type": "function"
|
|
160891
|
+
},
|
|
160892
|
+
{
|
|
160893
|
+
"constant": false,
|
|
160894
|
+
"inputs": [],
|
|
160895
|
+
"name": "accrueInterest",
|
|
160896
|
+
"outputs": [
|
|
160897
|
+
{
|
|
160898
|
+
"internalType": "uint256",
|
|
160899
|
+
"name": "",
|
|
160900
|
+
"type": "uint256"
|
|
160901
|
+
}
|
|
160902
|
+
],
|
|
160903
|
+
"payable": false,
|
|
160904
|
+
"stateMutability": "nonpayable",
|
|
160905
|
+
"type": "function"
|
|
160906
|
+
},
|
|
160907
|
+
{
|
|
160908
|
+
"constant": true,
|
|
160909
|
+
"inputs": [],
|
|
160910
|
+
"name": "admin",
|
|
160911
|
+
"outputs": [
|
|
160912
|
+
{
|
|
160913
|
+
"internalType": "address payable",
|
|
160914
|
+
"name": "",
|
|
160915
|
+
"type": "address"
|
|
160916
|
+
}
|
|
160917
|
+
],
|
|
160918
|
+
"payable": false,
|
|
160919
|
+
"stateMutability": "view",
|
|
160920
|
+
"type": "function"
|
|
160921
|
+
},
|
|
160922
|
+
{
|
|
160923
|
+
"constant": true,
|
|
160924
|
+
"inputs": [
|
|
160925
|
+
{
|
|
160926
|
+
"internalType": "address",
|
|
160927
|
+
"name": "owner",
|
|
160928
|
+
"type": "address"
|
|
160929
|
+
},
|
|
160930
|
+
{
|
|
160931
|
+
"internalType": "address",
|
|
160932
|
+
"name": "spender",
|
|
160933
|
+
"type": "address"
|
|
160934
|
+
}
|
|
160935
|
+
],
|
|
160936
|
+
"name": "allowance",
|
|
160937
|
+
"outputs": [
|
|
160938
|
+
{
|
|
160939
|
+
"internalType": "uint256",
|
|
160940
|
+
"name": "",
|
|
160941
|
+
"type": "uint256"
|
|
160942
|
+
}
|
|
160943
|
+
],
|
|
160944
|
+
"payable": false,
|
|
160945
|
+
"stateMutability": "view",
|
|
160946
|
+
"type": "function"
|
|
160947
|
+
},
|
|
160948
|
+
{
|
|
160949
|
+
"constant": false,
|
|
160950
|
+
"inputs": [
|
|
160951
|
+
{
|
|
160952
|
+
"internalType": "address",
|
|
160953
|
+
"name": "spender",
|
|
160954
|
+
"type": "address"
|
|
160955
|
+
},
|
|
160956
|
+
{
|
|
160957
|
+
"internalType": "uint256",
|
|
160958
|
+
"name": "amount",
|
|
160959
|
+
"type": "uint256"
|
|
160960
|
+
}
|
|
160961
|
+
],
|
|
160962
|
+
"name": "approve",
|
|
160963
|
+
"outputs": [
|
|
160964
|
+
{
|
|
160965
|
+
"internalType": "bool",
|
|
160966
|
+
"name": "",
|
|
160967
|
+
"type": "bool"
|
|
160968
|
+
}
|
|
160969
|
+
],
|
|
160970
|
+
"payable": false,
|
|
160971
|
+
"stateMutability": "nonpayable",
|
|
160972
|
+
"type": "function"
|
|
160973
|
+
},
|
|
160974
|
+
{
|
|
160975
|
+
"constant": true,
|
|
160976
|
+
"inputs": [
|
|
160977
|
+
{
|
|
160978
|
+
"internalType": "address",
|
|
160979
|
+
"name": "owner",
|
|
160980
|
+
"type": "address"
|
|
160981
|
+
}
|
|
160982
|
+
],
|
|
160983
|
+
"name": "balanceOf",
|
|
160984
|
+
"outputs": [
|
|
160985
|
+
{
|
|
160986
|
+
"internalType": "uint256",
|
|
160987
|
+
"name": "",
|
|
160988
|
+
"type": "uint256"
|
|
160989
|
+
}
|
|
160990
|
+
],
|
|
160991
|
+
"payable": false,
|
|
160992
|
+
"stateMutability": "view",
|
|
160993
|
+
"type": "function"
|
|
160994
|
+
},
|
|
160995
|
+
{
|
|
160996
|
+
"constant": false,
|
|
160997
|
+
"inputs": [
|
|
160998
|
+
{
|
|
160999
|
+
"internalType": "address",
|
|
161000
|
+
"name": "owner",
|
|
161001
|
+
"type": "address"
|
|
161002
|
+
}
|
|
161003
|
+
],
|
|
161004
|
+
"name": "balanceOfUnderlying",
|
|
161005
|
+
"outputs": [
|
|
161006
|
+
{
|
|
161007
|
+
"internalType": "uint256",
|
|
161008
|
+
"name": "",
|
|
161009
|
+
"type": "uint256"
|
|
161010
|
+
}
|
|
161011
|
+
],
|
|
161012
|
+
"payable": false,
|
|
161013
|
+
"stateMutability": "nonpayable",
|
|
161014
|
+
"type": "function"
|
|
161015
|
+
},
|
|
161016
|
+
{
|
|
161017
|
+
"constant": false,
|
|
161018
|
+
"inputs": [
|
|
161019
|
+
{
|
|
161020
|
+
"internalType": "uint256",
|
|
161021
|
+
"name": "borrowAmount",
|
|
161022
|
+
"type": "uint256"
|
|
161023
|
+
}
|
|
161024
|
+
],
|
|
161025
|
+
"name": "borrow",
|
|
161026
|
+
"outputs": [
|
|
161027
|
+
{
|
|
161028
|
+
"internalType": "uint256",
|
|
161029
|
+
"name": "",
|
|
161030
|
+
"type": "uint256"
|
|
161031
|
+
}
|
|
161032
|
+
],
|
|
161033
|
+
"payable": false,
|
|
161034
|
+
"stateMutability": "nonpayable",
|
|
161035
|
+
"type": "function"
|
|
161036
|
+
},
|
|
161037
|
+
{
|
|
161038
|
+
"constant": false,
|
|
161039
|
+
"inputs": [
|
|
161040
|
+
{
|
|
161041
|
+
"internalType": "address",
|
|
161042
|
+
"name": "account",
|
|
161043
|
+
"type": "address"
|
|
161044
|
+
}
|
|
161045
|
+
],
|
|
161046
|
+
"name": "borrowBalanceCurrent",
|
|
161047
|
+
"outputs": [
|
|
161048
|
+
{
|
|
161049
|
+
"internalType": "uint256",
|
|
161050
|
+
"name": "",
|
|
161051
|
+
"type": "uint256"
|
|
161052
|
+
}
|
|
161053
|
+
],
|
|
161054
|
+
"payable": false,
|
|
161055
|
+
"stateMutability": "nonpayable",
|
|
161056
|
+
"type": "function"
|
|
161057
|
+
},
|
|
161058
|
+
{
|
|
161059
|
+
"constant": true,
|
|
161060
|
+
"inputs": [
|
|
161061
|
+
{
|
|
161062
|
+
"internalType": "address",
|
|
161063
|
+
"name": "account",
|
|
161064
|
+
"type": "address"
|
|
161065
|
+
}
|
|
161066
|
+
],
|
|
161067
|
+
"name": "borrowBalanceStored",
|
|
161068
|
+
"outputs": [
|
|
161069
|
+
{
|
|
161070
|
+
"internalType": "uint256",
|
|
161071
|
+
"name": "",
|
|
161072
|
+
"type": "uint256"
|
|
161073
|
+
}
|
|
161074
|
+
],
|
|
161075
|
+
"payable": false,
|
|
161076
|
+
"stateMutability": "view",
|
|
161077
|
+
"type": "function"
|
|
161078
|
+
},
|
|
161079
|
+
{
|
|
161080
|
+
"constant": true,
|
|
161081
|
+
"inputs": [],
|
|
161082
|
+
"name": "borrowIndex",
|
|
161083
|
+
"outputs": [
|
|
161084
|
+
{
|
|
161085
|
+
"internalType": "uint256",
|
|
161086
|
+
"name": "",
|
|
161087
|
+
"type": "uint256"
|
|
161088
|
+
}
|
|
161089
|
+
],
|
|
161090
|
+
"payable": false,
|
|
161091
|
+
"stateMutability": "view",
|
|
161092
|
+
"type": "function"
|
|
161093
|
+
},
|
|
161094
|
+
{
|
|
161095
|
+
"constant": true,
|
|
161096
|
+
"inputs": [],
|
|
161097
|
+
"name": "borrowRatePerBlock",
|
|
161098
|
+
"outputs": [
|
|
161099
|
+
{
|
|
161100
|
+
"internalType": "uint256",
|
|
161101
|
+
"name": "",
|
|
161102
|
+
"type": "uint256"
|
|
161103
|
+
}
|
|
161104
|
+
],
|
|
161105
|
+
"payable": false,
|
|
161106
|
+
"stateMutability": "view",
|
|
161107
|
+
"type": "function"
|
|
161108
|
+
},
|
|
161109
|
+
{
|
|
161110
|
+
"constant": true,
|
|
161111
|
+
"inputs": [],
|
|
161112
|
+
"name": "comptroller",
|
|
161113
|
+
"outputs": [
|
|
161114
|
+
{
|
|
161115
|
+
"internalType": "contract ComptrollerInterface",
|
|
161116
|
+
"name": "",
|
|
161117
|
+
"type": "address"
|
|
161118
|
+
}
|
|
161119
|
+
],
|
|
161120
|
+
"payable": false,
|
|
161121
|
+
"stateMutability": "view",
|
|
161122
|
+
"type": "function"
|
|
161123
|
+
},
|
|
161124
|
+
{
|
|
161125
|
+
"constant": true,
|
|
161126
|
+
"inputs": [],
|
|
161127
|
+
"name": "decimals",
|
|
161128
|
+
"outputs": [
|
|
161129
|
+
{
|
|
161130
|
+
"internalType": "uint8",
|
|
161131
|
+
"name": "",
|
|
161132
|
+
"type": "uint8"
|
|
161133
|
+
}
|
|
161134
|
+
],
|
|
161135
|
+
"payable": false,
|
|
161136
|
+
"stateMutability": "view",
|
|
161137
|
+
"type": "function"
|
|
161138
|
+
},
|
|
161139
|
+
{
|
|
161140
|
+
"constant": false,
|
|
161141
|
+
"inputs": [
|
|
161142
|
+
{
|
|
161143
|
+
"internalType": "bytes",
|
|
161144
|
+
"name": "data",
|
|
161145
|
+
"type": "bytes"
|
|
161146
|
+
}
|
|
161147
|
+
],
|
|
161148
|
+
"name": "delegateToImplementation",
|
|
161149
|
+
"outputs": [
|
|
161150
|
+
{
|
|
161151
|
+
"internalType": "bytes",
|
|
161152
|
+
"name": "",
|
|
161153
|
+
"type": "bytes"
|
|
161154
|
+
}
|
|
161155
|
+
],
|
|
161156
|
+
"payable": false,
|
|
161157
|
+
"stateMutability": "nonpayable",
|
|
161158
|
+
"type": "function"
|
|
161159
|
+
},
|
|
161160
|
+
{
|
|
161161
|
+
"constant": true,
|
|
161162
|
+
"inputs": [
|
|
161163
|
+
{
|
|
161164
|
+
"internalType": "bytes",
|
|
161165
|
+
"name": "data",
|
|
161166
|
+
"type": "bytes"
|
|
161167
|
+
}
|
|
161168
|
+
],
|
|
161169
|
+
"name": "delegateToViewImplementation",
|
|
161170
|
+
"outputs": [
|
|
161171
|
+
{
|
|
161172
|
+
"internalType": "bytes",
|
|
161173
|
+
"name": "",
|
|
161174
|
+
"type": "bytes"
|
|
161175
|
+
}
|
|
161176
|
+
],
|
|
161177
|
+
"payable": false,
|
|
161178
|
+
"stateMutability": "view",
|
|
161179
|
+
"type": "function"
|
|
161180
|
+
},
|
|
161181
|
+
{
|
|
161182
|
+
"constant": false,
|
|
161183
|
+
"inputs": [],
|
|
161184
|
+
"name": "exchangeRateCurrent",
|
|
161185
|
+
"outputs": [
|
|
161186
|
+
{
|
|
161187
|
+
"internalType": "uint256",
|
|
161188
|
+
"name": "",
|
|
161189
|
+
"type": "uint256"
|
|
161190
|
+
}
|
|
161191
|
+
],
|
|
161192
|
+
"payable": false,
|
|
161193
|
+
"stateMutability": "nonpayable",
|
|
161194
|
+
"type": "function"
|
|
161195
|
+
},
|
|
161196
|
+
{
|
|
161197
|
+
"constant": true,
|
|
161198
|
+
"inputs": [],
|
|
161199
|
+
"name": "exchangeRateStored",
|
|
161200
|
+
"outputs": [
|
|
161201
|
+
{
|
|
161202
|
+
"internalType": "uint256",
|
|
161203
|
+
"name": "",
|
|
161204
|
+
"type": "uint256"
|
|
161205
|
+
}
|
|
161206
|
+
],
|
|
161207
|
+
"payable": false,
|
|
161208
|
+
"stateMutability": "view",
|
|
161209
|
+
"type": "function"
|
|
161210
|
+
},
|
|
161211
|
+
{
|
|
161212
|
+
"constant": true,
|
|
161213
|
+
"inputs": [
|
|
161214
|
+
{
|
|
161215
|
+
"internalType": "address",
|
|
161216
|
+
"name": "account",
|
|
161217
|
+
"type": "address"
|
|
161218
|
+
}
|
|
161219
|
+
],
|
|
161220
|
+
"name": "getAccountSnapshot",
|
|
161221
|
+
"outputs": [
|
|
161222
|
+
{
|
|
161223
|
+
"internalType": "uint256",
|
|
161224
|
+
"name": "",
|
|
161225
|
+
"type": "uint256"
|
|
161226
|
+
},
|
|
161227
|
+
{
|
|
161228
|
+
"internalType": "uint256",
|
|
161229
|
+
"name": "",
|
|
161230
|
+
"type": "uint256"
|
|
161231
|
+
},
|
|
161232
|
+
{
|
|
161233
|
+
"internalType": "uint256",
|
|
161234
|
+
"name": "",
|
|
161235
|
+
"type": "uint256"
|
|
161236
|
+
},
|
|
161237
|
+
{
|
|
161238
|
+
"internalType": "uint256",
|
|
161239
|
+
"name": "",
|
|
161240
|
+
"type": "uint256"
|
|
161241
|
+
}
|
|
161242
|
+
],
|
|
161243
|
+
"payable": false,
|
|
161244
|
+
"stateMutability": "view",
|
|
161245
|
+
"type": "function"
|
|
161246
|
+
},
|
|
161247
|
+
{
|
|
161248
|
+
"constant": true,
|
|
161249
|
+
"inputs": [],
|
|
161250
|
+
"name": "getCash",
|
|
161251
|
+
"outputs": [
|
|
161252
|
+
{
|
|
161253
|
+
"internalType": "uint256",
|
|
161254
|
+
"name": "",
|
|
161255
|
+
"type": "uint256"
|
|
161256
|
+
}
|
|
161257
|
+
],
|
|
161258
|
+
"payable": false,
|
|
161259
|
+
"stateMutability": "view",
|
|
161260
|
+
"type": "function"
|
|
161261
|
+
},
|
|
161262
|
+
{
|
|
161263
|
+
"constant": true,
|
|
161264
|
+
"inputs": [],
|
|
161265
|
+
"name": "implementation",
|
|
161266
|
+
"outputs": [
|
|
161267
|
+
{
|
|
161268
|
+
"internalType": "address",
|
|
161269
|
+
"name": "",
|
|
161270
|
+
"type": "address"
|
|
161271
|
+
}
|
|
161272
|
+
],
|
|
161273
|
+
"payable": false,
|
|
161274
|
+
"stateMutability": "view",
|
|
161275
|
+
"type": "function"
|
|
161276
|
+
},
|
|
161277
|
+
{
|
|
161278
|
+
"constant": true,
|
|
161279
|
+
"inputs": [],
|
|
161280
|
+
"name": "interestRateModel",
|
|
161281
|
+
"outputs": [
|
|
161282
|
+
{
|
|
161283
|
+
"internalType": "contract InterestRateModel",
|
|
161284
|
+
"name": "",
|
|
161285
|
+
"type": "address"
|
|
161286
|
+
}
|
|
161287
|
+
],
|
|
161288
|
+
"payable": false,
|
|
161289
|
+
"stateMutability": "view",
|
|
161290
|
+
"type": "function"
|
|
161291
|
+
},
|
|
161292
|
+
{
|
|
161293
|
+
"constant": true,
|
|
161294
|
+
"inputs": [],
|
|
161295
|
+
"name": "isVToken",
|
|
161296
|
+
"outputs": [
|
|
161297
|
+
{
|
|
161298
|
+
"internalType": "bool",
|
|
161299
|
+
"name": "",
|
|
161300
|
+
"type": "bool"
|
|
161301
|
+
}
|
|
161302
|
+
],
|
|
161303
|
+
"payable": false,
|
|
161304
|
+
"stateMutability": "view",
|
|
161305
|
+
"type": "function"
|
|
161306
|
+
},
|
|
161307
|
+
{
|
|
161308
|
+
"constant": false,
|
|
161309
|
+
"inputs": [
|
|
161310
|
+
{
|
|
161311
|
+
"internalType": "address",
|
|
161312
|
+
"name": "borrower",
|
|
161313
|
+
"type": "address"
|
|
161314
|
+
},
|
|
161315
|
+
{
|
|
161316
|
+
"internalType": "uint256",
|
|
161317
|
+
"name": "repayAmount",
|
|
161318
|
+
"type": "uint256"
|
|
161319
|
+
},
|
|
161320
|
+
{
|
|
161321
|
+
"internalType": "contract VTokenInterface",
|
|
161322
|
+
"name": "vTokenCollateral",
|
|
161323
|
+
"type": "address"
|
|
161324
|
+
}
|
|
161325
|
+
],
|
|
161326
|
+
"name": "liquidateBorrow",
|
|
161327
|
+
"outputs": [
|
|
161328
|
+
{
|
|
161329
|
+
"internalType": "uint256",
|
|
161330
|
+
"name": "",
|
|
161331
|
+
"type": "uint256"
|
|
161332
|
+
}
|
|
161333
|
+
],
|
|
161334
|
+
"payable": false,
|
|
161335
|
+
"stateMutability": "nonpayable",
|
|
161336
|
+
"type": "function"
|
|
161337
|
+
},
|
|
161338
|
+
{
|
|
161339
|
+
"constant": false,
|
|
161340
|
+
"inputs": [
|
|
161341
|
+
{
|
|
161342
|
+
"internalType": "uint256",
|
|
161343
|
+
"name": "mintAmount",
|
|
161344
|
+
"type": "uint256"
|
|
161345
|
+
}
|
|
161346
|
+
],
|
|
161347
|
+
"name": "mint",
|
|
161348
|
+
"outputs": [
|
|
161349
|
+
{
|
|
161350
|
+
"internalType": "uint256",
|
|
161351
|
+
"name": "",
|
|
161352
|
+
"type": "uint256"
|
|
161353
|
+
}
|
|
161354
|
+
],
|
|
161355
|
+
"payable": false,
|
|
161356
|
+
"stateMutability": "nonpayable",
|
|
161357
|
+
"type": "function"
|
|
161358
|
+
},
|
|
161359
|
+
{
|
|
161360
|
+
"constant": false,
|
|
161361
|
+
"inputs": [
|
|
161362
|
+
{
|
|
161363
|
+
"internalType": "address",
|
|
161364
|
+
"name": "receiver",
|
|
161365
|
+
"type": "address"
|
|
161366
|
+
},
|
|
161367
|
+
{
|
|
161368
|
+
"internalType": "uint256",
|
|
161369
|
+
"name": "mintAmount",
|
|
161370
|
+
"type": "uint256"
|
|
161371
|
+
}
|
|
161372
|
+
],
|
|
161373
|
+
"name": "mintBehalf",
|
|
161374
|
+
"outputs": [
|
|
161375
|
+
{
|
|
161376
|
+
"internalType": "uint256",
|
|
161377
|
+
"name": "",
|
|
161378
|
+
"type": "uint256"
|
|
161379
|
+
}
|
|
161380
|
+
],
|
|
161381
|
+
"payable": false,
|
|
161382
|
+
"stateMutability": "nonpayable",
|
|
161383
|
+
"type": "function"
|
|
161384
|
+
},
|
|
161385
|
+
{
|
|
161386
|
+
"constant": true,
|
|
161387
|
+
"inputs": [],
|
|
161388
|
+
"name": "name",
|
|
161389
|
+
"outputs": [
|
|
161390
|
+
{
|
|
161391
|
+
"internalType": "string",
|
|
161392
|
+
"name": "",
|
|
161393
|
+
"type": "string"
|
|
161394
|
+
}
|
|
161395
|
+
],
|
|
161396
|
+
"payable": false,
|
|
161397
|
+
"stateMutability": "view",
|
|
161398
|
+
"type": "function"
|
|
161399
|
+
},
|
|
161400
|
+
{
|
|
161401
|
+
"constant": true,
|
|
161402
|
+
"inputs": [],
|
|
161403
|
+
"name": "pendingAdmin",
|
|
161404
|
+
"outputs": [
|
|
161405
|
+
{
|
|
161406
|
+
"internalType": "address payable",
|
|
161407
|
+
"name": "",
|
|
161408
|
+
"type": "address"
|
|
161409
|
+
}
|
|
161410
|
+
],
|
|
161411
|
+
"payable": false,
|
|
161412
|
+
"stateMutability": "view",
|
|
161413
|
+
"type": "function"
|
|
161414
|
+
},
|
|
161415
|
+
{
|
|
161416
|
+
"constant": true,
|
|
161417
|
+
"inputs": [],
|
|
161418
|
+
"name": "protocolShareReserve",
|
|
161419
|
+
"outputs": [
|
|
161420
|
+
{
|
|
161421
|
+
"internalType": "address payable",
|
|
161422
|
+
"name": "",
|
|
161423
|
+
"type": "address"
|
|
161424
|
+
}
|
|
161425
|
+
],
|
|
161426
|
+
"payable": false,
|
|
161427
|
+
"stateMutability": "view",
|
|
161428
|
+
"type": "function"
|
|
161429
|
+
},
|
|
161430
|
+
{
|
|
161431
|
+
"constant": false,
|
|
161432
|
+
"inputs": [
|
|
161433
|
+
{
|
|
161434
|
+
"internalType": "uint256",
|
|
161435
|
+
"name": "redeemTokens",
|
|
161436
|
+
"type": "uint256"
|
|
161437
|
+
}
|
|
161438
|
+
],
|
|
161439
|
+
"name": "redeem",
|
|
161440
|
+
"outputs": [
|
|
161441
|
+
{
|
|
161442
|
+
"internalType": "uint256",
|
|
161443
|
+
"name": "",
|
|
161444
|
+
"type": "uint256"
|
|
161445
|
+
}
|
|
161446
|
+
],
|
|
161447
|
+
"payable": false,
|
|
161448
|
+
"stateMutability": "nonpayable",
|
|
161449
|
+
"type": "function"
|
|
161450
|
+
},
|
|
161451
|
+
{
|
|
161452
|
+
"constant": false,
|
|
161453
|
+
"inputs": [
|
|
161454
|
+
{
|
|
161455
|
+
"internalType": "uint256",
|
|
161456
|
+
"name": "redeemAmount",
|
|
161457
|
+
"type": "uint256"
|
|
161458
|
+
}
|
|
161459
|
+
],
|
|
161460
|
+
"name": "redeemUnderlying",
|
|
161461
|
+
"outputs": [
|
|
161462
|
+
{
|
|
161463
|
+
"internalType": "uint256",
|
|
161464
|
+
"name": "",
|
|
161465
|
+
"type": "uint256"
|
|
161466
|
+
}
|
|
161467
|
+
],
|
|
161468
|
+
"payable": false,
|
|
161469
|
+
"stateMutability": "nonpayable",
|
|
161470
|
+
"type": "function"
|
|
161471
|
+
},
|
|
161472
|
+
{
|
|
161473
|
+
"constant": true,
|
|
161474
|
+
"inputs": [],
|
|
161475
|
+
"name": "reduceReservesBlockDelta",
|
|
161476
|
+
"outputs": [
|
|
161477
|
+
{
|
|
161478
|
+
"internalType": "uint256",
|
|
161479
|
+
"name": "",
|
|
161480
|
+
"type": "uint256"
|
|
161481
|
+
}
|
|
161482
|
+
],
|
|
161483
|
+
"payable": false,
|
|
161484
|
+
"stateMutability": "view",
|
|
161485
|
+
"type": "function"
|
|
161486
|
+
},
|
|
161487
|
+
{
|
|
161488
|
+
"constant": true,
|
|
161489
|
+
"inputs": [],
|
|
161490
|
+
"name": "reduceReservesBlockNumber",
|
|
161491
|
+
"outputs": [
|
|
161492
|
+
{
|
|
161493
|
+
"internalType": "uint256",
|
|
161494
|
+
"name": "",
|
|
161495
|
+
"type": "uint256"
|
|
161496
|
+
}
|
|
161497
|
+
],
|
|
161498
|
+
"payable": false,
|
|
161499
|
+
"stateMutability": "view",
|
|
161500
|
+
"type": "function"
|
|
161501
|
+
},
|
|
161502
|
+
{
|
|
161503
|
+
"constant": false,
|
|
161504
|
+
"inputs": [
|
|
161505
|
+
{
|
|
161506
|
+
"internalType": "uint256",
|
|
161507
|
+
"name": "repayAmount",
|
|
161508
|
+
"type": "uint256"
|
|
161509
|
+
}
|
|
161510
|
+
],
|
|
161511
|
+
"name": "repayBorrow",
|
|
161512
|
+
"outputs": [
|
|
161513
|
+
{
|
|
161514
|
+
"internalType": "uint256",
|
|
161515
|
+
"name": "",
|
|
161516
|
+
"type": "uint256"
|
|
161517
|
+
}
|
|
161518
|
+
],
|
|
161519
|
+
"payable": false,
|
|
161520
|
+
"stateMutability": "nonpayable",
|
|
161521
|
+
"type": "function"
|
|
161522
|
+
},
|
|
161523
|
+
{
|
|
161524
|
+
"constant": false,
|
|
161525
|
+
"inputs": [
|
|
161526
|
+
{
|
|
161527
|
+
"internalType": "address",
|
|
161528
|
+
"name": "borrower",
|
|
161529
|
+
"type": "address"
|
|
161530
|
+
},
|
|
161531
|
+
{
|
|
161532
|
+
"internalType": "uint256",
|
|
161533
|
+
"name": "repayAmount",
|
|
161534
|
+
"type": "uint256"
|
|
161535
|
+
}
|
|
161536
|
+
],
|
|
161537
|
+
"name": "repayBorrowBehalf",
|
|
161538
|
+
"outputs": [
|
|
161539
|
+
{
|
|
161540
|
+
"internalType": "uint256",
|
|
161541
|
+
"name": "",
|
|
161542
|
+
"type": "uint256"
|
|
161543
|
+
}
|
|
161544
|
+
],
|
|
161545
|
+
"payable": false,
|
|
161546
|
+
"stateMutability": "nonpayable",
|
|
161547
|
+
"type": "function"
|
|
161548
|
+
},
|
|
161549
|
+
{
|
|
161550
|
+
"constant": true,
|
|
161551
|
+
"inputs": [],
|
|
161552
|
+
"name": "reserveFactorMantissa",
|
|
161553
|
+
"outputs": [
|
|
161554
|
+
{
|
|
161555
|
+
"internalType": "uint256",
|
|
161556
|
+
"name": "",
|
|
161557
|
+
"type": "uint256"
|
|
161558
|
+
}
|
|
161559
|
+
],
|
|
161560
|
+
"payable": false,
|
|
161561
|
+
"stateMutability": "view",
|
|
161562
|
+
"type": "function"
|
|
161563
|
+
},
|
|
161564
|
+
{
|
|
161565
|
+
"constant": false,
|
|
161566
|
+
"inputs": [
|
|
161567
|
+
{
|
|
161568
|
+
"internalType": "address",
|
|
161569
|
+
"name": "liquidator",
|
|
161570
|
+
"type": "address"
|
|
161571
|
+
},
|
|
161572
|
+
{
|
|
161573
|
+
"internalType": "address",
|
|
161574
|
+
"name": "borrower",
|
|
161575
|
+
"type": "address"
|
|
161576
|
+
},
|
|
161577
|
+
{
|
|
161578
|
+
"internalType": "uint256",
|
|
161579
|
+
"name": "seizeTokens",
|
|
161580
|
+
"type": "uint256"
|
|
161581
|
+
}
|
|
161582
|
+
],
|
|
161583
|
+
"name": "seize",
|
|
161584
|
+
"outputs": [
|
|
161585
|
+
{
|
|
161586
|
+
"internalType": "uint256",
|
|
161587
|
+
"name": "",
|
|
161588
|
+
"type": "uint256"
|
|
161589
|
+
}
|
|
161590
|
+
],
|
|
161591
|
+
"payable": false,
|
|
161592
|
+
"stateMutability": "nonpayable",
|
|
161593
|
+
"type": "function"
|
|
161594
|
+
},
|
|
161595
|
+
{
|
|
161596
|
+
"constant": true,
|
|
161597
|
+
"inputs": [],
|
|
161598
|
+
"name": "supplyRatePerBlock",
|
|
161599
|
+
"outputs": [
|
|
161600
|
+
{
|
|
161601
|
+
"internalType": "uint256",
|
|
161602
|
+
"name": "",
|
|
161603
|
+
"type": "uint256"
|
|
161604
|
+
}
|
|
161605
|
+
],
|
|
161606
|
+
"payable": false,
|
|
161607
|
+
"stateMutability": "view",
|
|
161608
|
+
"type": "function"
|
|
161609
|
+
},
|
|
161610
|
+
{
|
|
161611
|
+
"constant": true,
|
|
161612
|
+
"inputs": [],
|
|
161613
|
+
"name": "symbol",
|
|
161614
|
+
"outputs": [
|
|
161615
|
+
{
|
|
161616
|
+
"internalType": "string",
|
|
161617
|
+
"name": "",
|
|
161618
|
+
"type": "string"
|
|
161619
|
+
}
|
|
161620
|
+
],
|
|
161621
|
+
"payable": false,
|
|
161622
|
+
"stateMutability": "view",
|
|
161623
|
+
"type": "function"
|
|
161624
|
+
},
|
|
161625
|
+
{
|
|
161626
|
+
"constant": true,
|
|
161627
|
+
"inputs": [],
|
|
161628
|
+
"name": "totalBorrows",
|
|
161629
|
+
"outputs": [
|
|
161630
|
+
{
|
|
161631
|
+
"internalType": "uint256",
|
|
161632
|
+
"name": "",
|
|
161633
|
+
"type": "uint256"
|
|
161634
|
+
}
|
|
161635
|
+
],
|
|
161636
|
+
"payable": false,
|
|
161637
|
+
"stateMutability": "view",
|
|
161638
|
+
"type": "function"
|
|
161639
|
+
},
|
|
161640
|
+
{
|
|
161641
|
+
"constant": false,
|
|
161642
|
+
"inputs": [],
|
|
161643
|
+
"name": "totalBorrowsCurrent",
|
|
161644
|
+
"outputs": [
|
|
161645
|
+
{
|
|
161646
|
+
"internalType": "uint256",
|
|
161647
|
+
"name": "",
|
|
161648
|
+
"type": "uint256"
|
|
161649
|
+
}
|
|
161650
|
+
],
|
|
161651
|
+
"payable": false,
|
|
161652
|
+
"stateMutability": "nonpayable",
|
|
161653
|
+
"type": "function"
|
|
161654
|
+
},
|
|
161655
|
+
{
|
|
161656
|
+
"constant": true,
|
|
161657
|
+
"inputs": [],
|
|
161658
|
+
"name": "totalReserves",
|
|
161659
|
+
"outputs": [
|
|
161660
|
+
{
|
|
161661
|
+
"internalType": "uint256",
|
|
161662
|
+
"name": "",
|
|
161663
|
+
"type": "uint256"
|
|
161664
|
+
}
|
|
161665
|
+
],
|
|
161666
|
+
"payable": false,
|
|
161667
|
+
"stateMutability": "view",
|
|
161668
|
+
"type": "function"
|
|
161669
|
+
},
|
|
161670
|
+
{
|
|
161671
|
+
"constant": true,
|
|
161672
|
+
"inputs": [],
|
|
161673
|
+
"name": "totalSupply",
|
|
161674
|
+
"outputs": [
|
|
161675
|
+
{
|
|
161676
|
+
"internalType": "uint256",
|
|
161677
|
+
"name": "",
|
|
161678
|
+
"type": "uint256"
|
|
161679
|
+
}
|
|
161680
|
+
],
|
|
161681
|
+
"payable": false,
|
|
161682
|
+
"stateMutability": "view",
|
|
161683
|
+
"type": "function"
|
|
161684
|
+
},
|
|
161685
|
+
{
|
|
161686
|
+
"constant": false,
|
|
161687
|
+
"inputs": [
|
|
161688
|
+
{
|
|
161689
|
+
"internalType": "address",
|
|
161690
|
+
"name": "dst",
|
|
161691
|
+
"type": "address"
|
|
161692
|
+
},
|
|
161693
|
+
{
|
|
161694
|
+
"internalType": "uint256",
|
|
161695
|
+
"name": "amount",
|
|
161696
|
+
"type": "uint256"
|
|
161697
|
+
}
|
|
161698
|
+
],
|
|
161699
|
+
"name": "transfer",
|
|
161700
|
+
"outputs": [
|
|
161701
|
+
{
|
|
161702
|
+
"internalType": "bool",
|
|
161703
|
+
"name": "",
|
|
161704
|
+
"type": "bool"
|
|
161705
|
+
}
|
|
161706
|
+
],
|
|
161707
|
+
"payable": false,
|
|
161708
|
+
"stateMutability": "nonpayable",
|
|
161709
|
+
"type": "function"
|
|
161710
|
+
},
|
|
161711
|
+
{
|
|
161712
|
+
"constant": false,
|
|
161713
|
+
"inputs": [
|
|
161714
|
+
{
|
|
161715
|
+
"internalType": "address",
|
|
161716
|
+
"name": "src",
|
|
161717
|
+
"type": "address"
|
|
161718
|
+
},
|
|
161719
|
+
{
|
|
161720
|
+
"internalType": "address",
|
|
161721
|
+
"name": "dst",
|
|
161722
|
+
"type": "address"
|
|
161723
|
+
},
|
|
161724
|
+
{
|
|
161725
|
+
"internalType": "uint256",
|
|
161726
|
+
"name": "amount",
|
|
161727
|
+
"type": "uint256"
|
|
161728
|
+
}
|
|
161729
|
+
],
|
|
161730
|
+
"name": "transferFrom",
|
|
161731
|
+
"outputs": [
|
|
161732
|
+
{
|
|
161733
|
+
"internalType": "bool",
|
|
161734
|
+
"name": "",
|
|
161735
|
+
"type": "bool"
|
|
161736
|
+
}
|
|
161737
|
+
],
|
|
161738
|
+
"payable": false,
|
|
161739
|
+
"stateMutability": "nonpayable",
|
|
161740
|
+
"type": "function"
|
|
161741
|
+
},
|
|
161742
|
+
{
|
|
161743
|
+
"constant": true,
|
|
161744
|
+
"inputs": [],
|
|
161745
|
+
"name": "underlying",
|
|
161746
|
+
"outputs": [
|
|
161747
|
+
{
|
|
161748
|
+
"internalType": "address",
|
|
161749
|
+
"name": "",
|
|
161750
|
+
"type": "address"
|
|
161751
|
+
}
|
|
161752
|
+
],
|
|
161753
|
+
"payable": false,
|
|
161754
|
+
"stateMutability": "view",
|
|
161755
|
+
"type": "function"
|
|
161756
|
+
}
|
|
161757
|
+
]
|
|
160074
161758
|
}
|
|
160075
161759
|
}
|
|
160076
161760
|
}
|