@venusprotocol/venus-protocol 9.8.0-dev.11 → 9.8.0-dev.12
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/deployments/bscmainnet/vUSD1.json +2382 -0
- package/deployments/bscmainnet.json +1684 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/bsctestnet/MockUSD1.json +458 -0
- package/deployments/bsctestnet/solcInputs/f51fb0ac2d6e32715b960e86f982a133.json +334 -0
- package/deployments/bsctestnet/vUSD1.json +2382 -0
- package/deployments/bsctestnet.json +10512 -8519
- package/deployments/bsctestnet_addresses.json +2 -0
- package/dist/deployments/bscmainnet.json +1684 -0
- package/dist/deployments/bsctestnet.json +10512 -8519
- package/dist/helpers/markets/bscmainnet.d.ts +21 -0
- package/dist/helpers/markets/bscmainnet.js +22 -0
- package/dist/helpers/markets/bsctestnet.d.ts +21 -0
- package/dist/helpers/markets/bsctestnet.js +22 -0
- package/dist/helpers/tokens/bscmainnet.d.ts +7 -0
- package/dist/helpers/tokens/bscmainnet.js +7 -0
- package/dist/helpers/tokens/bsctestnet.d.ts +6 -0
- package/dist/helpers/tokens/bsctestnet.js +6 -0
- package/dist/helpers/tokens/index.d.ts +39 -0
- package/package.json +1 -1
|
@@ -156092,6 +156092,1690 @@
|
|
|
156092
156092
|
}
|
|
156093
156093
|
]
|
|
156094
156094
|
},
|
|
156095
|
+
"vUSD1": {
|
|
156096
|
+
"address": "0x0C1DA220D301155b87318B90692Da8dc43B67340",
|
|
156097
|
+
"abi": [
|
|
156098
|
+
{
|
|
156099
|
+
"inputs": [
|
|
156100
|
+
{
|
|
156101
|
+
"internalType": "address",
|
|
156102
|
+
"name": "underlying_",
|
|
156103
|
+
"type": "address"
|
|
156104
|
+
},
|
|
156105
|
+
{
|
|
156106
|
+
"internalType": "contract ComptrollerInterface",
|
|
156107
|
+
"name": "comptroller_",
|
|
156108
|
+
"type": "address"
|
|
156109
|
+
},
|
|
156110
|
+
{
|
|
156111
|
+
"internalType": "contract InterestRateModel",
|
|
156112
|
+
"name": "interestRateModel_",
|
|
156113
|
+
"type": "address"
|
|
156114
|
+
},
|
|
156115
|
+
{
|
|
156116
|
+
"internalType": "uint256",
|
|
156117
|
+
"name": "initialExchangeRateMantissa_",
|
|
156118
|
+
"type": "uint256"
|
|
156119
|
+
},
|
|
156120
|
+
{
|
|
156121
|
+
"internalType": "string",
|
|
156122
|
+
"name": "name_",
|
|
156123
|
+
"type": "string"
|
|
156124
|
+
},
|
|
156125
|
+
{
|
|
156126
|
+
"internalType": "string",
|
|
156127
|
+
"name": "symbol_",
|
|
156128
|
+
"type": "string"
|
|
156129
|
+
},
|
|
156130
|
+
{
|
|
156131
|
+
"internalType": "uint8",
|
|
156132
|
+
"name": "decimals_",
|
|
156133
|
+
"type": "uint8"
|
|
156134
|
+
},
|
|
156135
|
+
{
|
|
156136
|
+
"internalType": "address payable",
|
|
156137
|
+
"name": "admin_",
|
|
156138
|
+
"type": "address"
|
|
156139
|
+
},
|
|
156140
|
+
{
|
|
156141
|
+
"internalType": "address",
|
|
156142
|
+
"name": "implementation_",
|
|
156143
|
+
"type": "address"
|
|
156144
|
+
},
|
|
156145
|
+
{
|
|
156146
|
+
"internalType": "bytes",
|
|
156147
|
+
"name": "becomeImplementationData",
|
|
156148
|
+
"type": "bytes"
|
|
156149
|
+
}
|
|
156150
|
+
],
|
|
156151
|
+
"payable": false,
|
|
156152
|
+
"stateMutability": "nonpayable",
|
|
156153
|
+
"type": "constructor"
|
|
156154
|
+
},
|
|
156155
|
+
{
|
|
156156
|
+
"anonymous": false,
|
|
156157
|
+
"inputs": [
|
|
156158
|
+
{
|
|
156159
|
+
"indexed": false,
|
|
156160
|
+
"internalType": "uint256",
|
|
156161
|
+
"name": "cashPrior",
|
|
156162
|
+
"type": "uint256"
|
|
156163
|
+
},
|
|
156164
|
+
{
|
|
156165
|
+
"indexed": false,
|
|
156166
|
+
"internalType": "uint256",
|
|
156167
|
+
"name": "interestAccumulated",
|
|
156168
|
+
"type": "uint256"
|
|
156169
|
+
},
|
|
156170
|
+
{
|
|
156171
|
+
"indexed": false,
|
|
156172
|
+
"internalType": "uint256",
|
|
156173
|
+
"name": "borrowIndex",
|
|
156174
|
+
"type": "uint256"
|
|
156175
|
+
},
|
|
156176
|
+
{
|
|
156177
|
+
"indexed": false,
|
|
156178
|
+
"internalType": "uint256",
|
|
156179
|
+
"name": "totalBorrows",
|
|
156180
|
+
"type": "uint256"
|
|
156181
|
+
}
|
|
156182
|
+
],
|
|
156183
|
+
"name": "AccrueInterest",
|
|
156184
|
+
"type": "event"
|
|
156185
|
+
},
|
|
156186
|
+
{
|
|
156187
|
+
"anonymous": false,
|
|
156188
|
+
"inputs": [
|
|
156189
|
+
{
|
|
156190
|
+
"indexed": true,
|
|
156191
|
+
"internalType": "address",
|
|
156192
|
+
"name": "owner",
|
|
156193
|
+
"type": "address"
|
|
156194
|
+
},
|
|
156195
|
+
{
|
|
156196
|
+
"indexed": true,
|
|
156197
|
+
"internalType": "address",
|
|
156198
|
+
"name": "spender",
|
|
156199
|
+
"type": "address"
|
|
156200
|
+
},
|
|
156201
|
+
{
|
|
156202
|
+
"indexed": false,
|
|
156203
|
+
"internalType": "uint256",
|
|
156204
|
+
"name": "amount",
|
|
156205
|
+
"type": "uint256"
|
|
156206
|
+
}
|
|
156207
|
+
],
|
|
156208
|
+
"name": "Approval",
|
|
156209
|
+
"type": "event"
|
|
156210
|
+
},
|
|
156211
|
+
{
|
|
156212
|
+
"anonymous": false,
|
|
156213
|
+
"inputs": [
|
|
156214
|
+
{
|
|
156215
|
+
"indexed": false,
|
|
156216
|
+
"internalType": "address",
|
|
156217
|
+
"name": "borrower",
|
|
156218
|
+
"type": "address"
|
|
156219
|
+
},
|
|
156220
|
+
{
|
|
156221
|
+
"indexed": false,
|
|
156222
|
+
"internalType": "uint256",
|
|
156223
|
+
"name": "borrowAmount",
|
|
156224
|
+
"type": "uint256"
|
|
156225
|
+
},
|
|
156226
|
+
{
|
|
156227
|
+
"indexed": false,
|
|
156228
|
+
"internalType": "uint256",
|
|
156229
|
+
"name": "accountBorrows",
|
|
156230
|
+
"type": "uint256"
|
|
156231
|
+
},
|
|
156232
|
+
{
|
|
156233
|
+
"indexed": false,
|
|
156234
|
+
"internalType": "uint256",
|
|
156235
|
+
"name": "totalBorrows",
|
|
156236
|
+
"type": "uint256"
|
|
156237
|
+
}
|
|
156238
|
+
],
|
|
156239
|
+
"name": "Borrow",
|
|
156240
|
+
"type": "event"
|
|
156241
|
+
},
|
|
156242
|
+
{
|
|
156243
|
+
"anonymous": false,
|
|
156244
|
+
"inputs": [
|
|
156245
|
+
{
|
|
156246
|
+
"indexed": false,
|
|
156247
|
+
"internalType": "uint256",
|
|
156248
|
+
"name": "error",
|
|
156249
|
+
"type": "uint256"
|
|
156250
|
+
},
|
|
156251
|
+
{
|
|
156252
|
+
"indexed": false,
|
|
156253
|
+
"internalType": "uint256",
|
|
156254
|
+
"name": "info",
|
|
156255
|
+
"type": "uint256"
|
|
156256
|
+
},
|
|
156257
|
+
{
|
|
156258
|
+
"indexed": false,
|
|
156259
|
+
"internalType": "uint256",
|
|
156260
|
+
"name": "detail",
|
|
156261
|
+
"type": "uint256"
|
|
156262
|
+
}
|
|
156263
|
+
],
|
|
156264
|
+
"name": "Failure",
|
|
156265
|
+
"type": "event"
|
|
156266
|
+
},
|
|
156267
|
+
{
|
|
156268
|
+
"anonymous": false,
|
|
156269
|
+
"inputs": [
|
|
156270
|
+
{
|
|
156271
|
+
"indexed": false,
|
|
156272
|
+
"internalType": "address",
|
|
156273
|
+
"name": "liquidator",
|
|
156274
|
+
"type": "address"
|
|
156275
|
+
},
|
|
156276
|
+
{
|
|
156277
|
+
"indexed": false,
|
|
156278
|
+
"internalType": "address",
|
|
156279
|
+
"name": "borrower",
|
|
156280
|
+
"type": "address"
|
|
156281
|
+
},
|
|
156282
|
+
{
|
|
156283
|
+
"indexed": false,
|
|
156284
|
+
"internalType": "uint256",
|
|
156285
|
+
"name": "repayAmount",
|
|
156286
|
+
"type": "uint256"
|
|
156287
|
+
},
|
|
156288
|
+
{
|
|
156289
|
+
"indexed": false,
|
|
156290
|
+
"internalType": "address",
|
|
156291
|
+
"name": "vTokenCollateral",
|
|
156292
|
+
"type": "address"
|
|
156293
|
+
},
|
|
156294
|
+
{
|
|
156295
|
+
"indexed": false,
|
|
156296
|
+
"internalType": "uint256",
|
|
156297
|
+
"name": "seizeTokens",
|
|
156298
|
+
"type": "uint256"
|
|
156299
|
+
}
|
|
156300
|
+
],
|
|
156301
|
+
"name": "LiquidateBorrow",
|
|
156302
|
+
"type": "event"
|
|
156303
|
+
},
|
|
156304
|
+
{
|
|
156305
|
+
"anonymous": false,
|
|
156306
|
+
"inputs": [
|
|
156307
|
+
{
|
|
156308
|
+
"indexed": false,
|
|
156309
|
+
"internalType": "address",
|
|
156310
|
+
"name": "minter",
|
|
156311
|
+
"type": "address"
|
|
156312
|
+
},
|
|
156313
|
+
{
|
|
156314
|
+
"indexed": false,
|
|
156315
|
+
"internalType": "uint256",
|
|
156316
|
+
"name": "mintAmount",
|
|
156317
|
+
"type": "uint256"
|
|
156318
|
+
},
|
|
156319
|
+
{
|
|
156320
|
+
"indexed": false,
|
|
156321
|
+
"internalType": "uint256",
|
|
156322
|
+
"name": "mintTokens",
|
|
156323
|
+
"type": "uint256"
|
|
156324
|
+
},
|
|
156325
|
+
{
|
|
156326
|
+
"indexed": false,
|
|
156327
|
+
"internalType": "uint256",
|
|
156328
|
+
"name": "totalSupply",
|
|
156329
|
+
"type": "uint256"
|
|
156330
|
+
}
|
|
156331
|
+
],
|
|
156332
|
+
"name": "Mint",
|
|
156333
|
+
"type": "event"
|
|
156334
|
+
},
|
|
156335
|
+
{
|
|
156336
|
+
"anonymous": false,
|
|
156337
|
+
"inputs": [
|
|
156338
|
+
{
|
|
156339
|
+
"indexed": false,
|
|
156340
|
+
"internalType": "address",
|
|
156341
|
+
"name": "payer",
|
|
156342
|
+
"type": "address"
|
|
156343
|
+
},
|
|
156344
|
+
{
|
|
156345
|
+
"indexed": false,
|
|
156346
|
+
"internalType": "address",
|
|
156347
|
+
"name": "receiver",
|
|
156348
|
+
"type": "address"
|
|
156349
|
+
},
|
|
156350
|
+
{
|
|
156351
|
+
"indexed": false,
|
|
156352
|
+
"internalType": "uint256",
|
|
156353
|
+
"name": "mintAmount",
|
|
156354
|
+
"type": "uint256"
|
|
156355
|
+
},
|
|
156356
|
+
{
|
|
156357
|
+
"indexed": false,
|
|
156358
|
+
"internalType": "uint256",
|
|
156359
|
+
"name": "mintTokens",
|
|
156360
|
+
"type": "uint256"
|
|
156361
|
+
},
|
|
156362
|
+
{
|
|
156363
|
+
"indexed": false,
|
|
156364
|
+
"internalType": "uint256",
|
|
156365
|
+
"name": "totalSupply",
|
|
156366
|
+
"type": "uint256"
|
|
156367
|
+
}
|
|
156368
|
+
],
|
|
156369
|
+
"name": "MintBehalf",
|
|
156370
|
+
"type": "event"
|
|
156371
|
+
},
|
|
156372
|
+
{
|
|
156373
|
+
"anonymous": false,
|
|
156374
|
+
"inputs": [
|
|
156375
|
+
{
|
|
156376
|
+
"indexed": false,
|
|
156377
|
+
"internalType": "address",
|
|
156378
|
+
"name": "oldAccessControlAddress",
|
|
156379
|
+
"type": "address"
|
|
156380
|
+
},
|
|
156381
|
+
{
|
|
156382
|
+
"indexed": false,
|
|
156383
|
+
"internalType": "address",
|
|
156384
|
+
"name": "newAccessControlAddress",
|
|
156385
|
+
"type": "address"
|
|
156386
|
+
}
|
|
156387
|
+
],
|
|
156388
|
+
"name": "NewAccessControlManager",
|
|
156389
|
+
"type": "event"
|
|
156390
|
+
},
|
|
156391
|
+
{
|
|
156392
|
+
"anonymous": false,
|
|
156393
|
+
"inputs": [
|
|
156394
|
+
{
|
|
156395
|
+
"indexed": false,
|
|
156396
|
+
"internalType": "address",
|
|
156397
|
+
"name": "oldAdmin",
|
|
156398
|
+
"type": "address"
|
|
156399
|
+
},
|
|
156400
|
+
{
|
|
156401
|
+
"indexed": false,
|
|
156402
|
+
"internalType": "address",
|
|
156403
|
+
"name": "newAdmin",
|
|
156404
|
+
"type": "address"
|
|
156405
|
+
}
|
|
156406
|
+
],
|
|
156407
|
+
"name": "NewAdmin",
|
|
156408
|
+
"type": "event"
|
|
156409
|
+
},
|
|
156410
|
+
{
|
|
156411
|
+
"anonymous": false,
|
|
156412
|
+
"inputs": [
|
|
156413
|
+
{
|
|
156414
|
+
"indexed": false,
|
|
156415
|
+
"internalType": "contract ComptrollerInterface",
|
|
156416
|
+
"name": "oldComptroller",
|
|
156417
|
+
"type": "address"
|
|
156418
|
+
},
|
|
156419
|
+
{
|
|
156420
|
+
"indexed": false,
|
|
156421
|
+
"internalType": "contract ComptrollerInterface",
|
|
156422
|
+
"name": "newComptroller",
|
|
156423
|
+
"type": "address"
|
|
156424
|
+
}
|
|
156425
|
+
],
|
|
156426
|
+
"name": "NewComptroller",
|
|
156427
|
+
"type": "event"
|
|
156428
|
+
},
|
|
156429
|
+
{
|
|
156430
|
+
"anonymous": false,
|
|
156431
|
+
"inputs": [
|
|
156432
|
+
{
|
|
156433
|
+
"indexed": false,
|
|
156434
|
+
"internalType": "address",
|
|
156435
|
+
"name": "oldImplementation",
|
|
156436
|
+
"type": "address"
|
|
156437
|
+
},
|
|
156438
|
+
{
|
|
156439
|
+
"indexed": false,
|
|
156440
|
+
"internalType": "address",
|
|
156441
|
+
"name": "newImplementation",
|
|
156442
|
+
"type": "address"
|
|
156443
|
+
}
|
|
156444
|
+
],
|
|
156445
|
+
"name": "NewImplementation",
|
|
156446
|
+
"type": "event"
|
|
156447
|
+
},
|
|
156448
|
+
{
|
|
156449
|
+
"anonymous": false,
|
|
156450
|
+
"inputs": [
|
|
156451
|
+
{
|
|
156452
|
+
"indexed": false,
|
|
156453
|
+
"internalType": "contract InterestRateModel",
|
|
156454
|
+
"name": "oldInterestRateModel",
|
|
156455
|
+
"type": "address"
|
|
156456
|
+
},
|
|
156457
|
+
{
|
|
156458
|
+
"indexed": false,
|
|
156459
|
+
"internalType": "contract InterestRateModel",
|
|
156460
|
+
"name": "newInterestRateModel",
|
|
156461
|
+
"type": "address"
|
|
156462
|
+
}
|
|
156463
|
+
],
|
|
156464
|
+
"name": "NewMarketInterestRateModel",
|
|
156465
|
+
"type": "event"
|
|
156466
|
+
},
|
|
156467
|
+
{
|
|
156468
|
+
"anonymous": false,
|
|
156469
|
+
"inputs": [
|
|
156470
|
+
{
|
|
156471
|
+
"indexed": false,
|
|
156472
|
+
"internalType": "address",
|
|
156473
|
+
"name": "oldPendingAdmin",
|
|
156474
|
+
"type": "address"
|
|
156475
|
+
},
|
|
156476
|
+
{
|
|
156477
|
+
"indexed": false,
|
|
156478
|
+
"internalType": "address",
|
|
156479
|
+
"name": "newPendingAdmin",
|
|
156480
|
+
"type": "address"
|
|
156481
|
+
}
|
|
156482
|
+
],
|
|
156483
|
+
"name": "NewPendingAdmin",
|
|
156484
|
+
"type": "event"
|
|
156485
|
+
},
|
|
156486
|
+
{
|
|
156487
|
+
"anonymous": false,
|
|
156488
|
+
"inputs": [
|
|
156489
|
+
{
|
|
156490
|
+
"indexed": true,
|
|
156491
|
+
"internalType": "address",
|
|
156492
|
+
"name": "oldProtocolShareReserve",
|
|
156493
|
+
"type": "address"
|
|
156494
|
+
},
|
|
156495
|
+
{
|
|
156496
|
+
"indexed": true,
|
|
156497
|
+
"internalType": "address",
|
|
156498
|
+
"name": "newProtocolShareReserve",
|
|
156499
|
+
"type": "address"
|
|
156500
|
+
}
|
|
156501
|
+
],
|
|
156502
|
+
"name": "NewProtocolShareReserve",
|
|
156503
|
+
"type": "event"
|
|
156504
|
+
},
|
|
156505
|
+
{
|
|
156506
|
+
"anonymous": false,
|
|
156507
|
+
"inputs": [
|
|
156508
|
+
{
|
|
156509
|
+
"indexed": false,
|
|
156510
|
+
"internalType": "uint256",
|
|
156511
|
+
"name": "oldReduceReservesBlockDelta",
|
|
156512
|
+
"type": "uint256"
|
|
156513
|
+
},
|
|
156514
|
+
{
|
|
156515
|
+
"indexed": false,
|
|
156516
|
+
"internalType": "uint256",
|
|
156517
|
+
"name": "newReduceReservesBlockDelta",
|
|
156518
|
+
"type": "uint256"
|
|
156519
|
+
}
|
|
156520
|
+
],
|
|
156521
|
+
"name": "NewReduceReservesBlockDelta",
|
|
156522
|
+
"type": "event"
|
|
156523
|
+
},
|
|
156524
|
+
{
|
|
156525
|
+
"anonymous": false,
|
|
156526
|
+
"inputs": [
|
|
156527
|
+
{
|
|
156528
|
+
"indexed": false,
|
|
156529
|
+
"internalType": "uint256",
|
|
156530
|
+
"name": "oldReserveFactorMantissa",
|
|
156531
|
+
"type": "uint256"
|
|
156532
|
+
},
|
|
156533
|
+
{
|
|
156534
|
+
"indexed": false,
|
|
156535
|
+
"internalType": "uint256",
|
|
156536
|
+
"name": "newReserveFactorMantissa",
|
|
156537
|
+
"type": "uint256"
|
|
156538
|
+
}
|
|
156539
|
+
],
|
|
156540
|
+
"name": "NewReserveFactor",
|
|
156541
|
+
"type": "event"
|
|
156542
|
+
},
|
|
156543
|
+
{
|
|
156544
|
+
"anonymous": false,
|
|
156545
|
+
"inputs": [
|
|
156546
|
+
{
|
|
156547
|
+
"indexed": false,
|
|
156548
|
+
"internalType": "address",
|
|
156549
|
+
"name": "redeemer",
|
|
156550
|
+
"type": "address"
|
|
156551
|
+
},
|
|
156552
|
+
{
|
|
156553
|
+
"indexed": false,
|
|
156554
|
+
"internalType": "uint256",
|
|
156555
|
+
"name": "redeemAmount",
|
|
156556
|
+
"type": "uint256"
|
|
156557
|
+
},
|
|
156558
|
+
{
|
|
156559
|
+
"indexed": false,
|
|
156560
|
+
"internalType": "uint256",
|
|
156561
|
+
"name": "redeemTokens",
|
|
156562
|
+
"type": "uint256"
|
|
156563
|
+
},
|
|
156564
|
+
{
|
|
156565
|
+
"indexed": false,
|
|
156566
|
+
"internalType": "uint256",
|
|
156567
|
+
"name": "totalSupply",
|
|
156568
|
+
"type": "uint256"
|
|
156569
|
+
}
|
|
156570
|
+
],
|
|
156571
|
+
"name": "Redeem",
|
|
156572
|
+
"type": "event"
|
|
156573
|
+
},
|
|
156574
|
+
{
|
|
156575
|
+
"anonymous": false,
|
|
156576
|
+
"inputs": [
|
|
156577
|
+
{
|
|
156578
|
+
"indexed": false,
|
|
156579
|
+
"internalType": "address",
|
|
156580
|
+
"name": "redeemer",
|
|
156581
|
+
"type": "address"
|
|
156582
|
+
},
|
|
156583
|
+
{
|
|
156584
|
+
"indexed": false,
|
|
156585
|
+
"internalType": "uint256",
|
|
156586
|
+
"name": "feeAmount",
|
|
156587
|
+
"type": "uint256"
|
|
156588
|
+
},
|
|
156589
|
+
{
|
|
156590
|
+
"indexed": false,
|
|
156591
|
+
"internalType": "uint256",
|
|
156592
|
+
"name": "redeemTokens",
|
|
156593
|
+
"type": "uint256"
|
|
156594
|
+
}
|
|
156595
|
+
],
|
|
156596
|
+
"name": "RedeemFee",
|
|
156597
|
+
"type": "event"
|
|
156598
|
+
},
|
|
156599
|
+
{
|
|
156600
|
+
"anonymous": false,
|
|
156601
|
+
"inputs": [
|
|
156602
|
+
{
|
|
156603
|
+
"indexed": false,
|
|
156604
|
+
"internalType": "address",
|
|
156605
|
+
"name": "payer",
|
|
156606
|
+
"type": "address"
|
|
156607
|
+
},
|
|
156608
|
+
{
|
|
156609
|
+
"indexed": false,
|
|
156610
|
+
"internalType": "address",
|
|
156611
|
+
"name": "borrower",
|
|
156612
|
+
"type": "address"
|
|
156613
|
+
},
|
|
156614
|
+
{
|
|
156615
|
+
"indexed": false,
|
|
156616
|
+
"internalType": "uint256",
|
|
156617
|
+
"name": "repayAmount",
|
|
156618
|
+
"type": "uint256"
|
|
156619
|
+
},
|
|
156620
|
+
{
|
|
156621
|
+
"indexed": false,
|
|
156622
|
+
"internalType": "uint256",
|
|
156623
|
+
"name": "accountBorrows",
|
|
156624
|
+
"type": "uint256"
|
|
156625
|
+
},
|
|
156626
|
+
{
|
|
156627
|
+
"indexed": false,
|
|
156628
|
+
"internalType": "uint256",
|
|
156629
|
+
"name": "totalBorrows",
|
|
156630
|
+
"type": "uint256"
|
|
156631
|
+
}
|
|
156632
|
+
],
|
|
156633
|
+
"name": "RepayBorrow",
|
|
156634
|
+
"type": "event"
|
|
156635
|
+
},
|
|
156636
|
+
{
|
|
156637
|
+
"anonymous": false,
|
|
156638
|
+
"inputs": [
|
|
156639
|
+
{
|
|
156640
|
+
"indexed": false,
|
|
156641
|
+
"internalType": "address",
|
|
156642
|
+
"name": "benefactor",
|
|
156643
|
+
"type": "address"
|
|
156644
|
+
},
|
|
156645
|
+
{
|
|
156646
|
+
"indexed": false,
|
|
156647
|
+
"internalType": "uint256",
|
|
156648
|
+
"name": "addAmount",
|
|
156649
|
+
"type": "uint256"
|
|
156650
|
+
},
|
|
156651
|
+
{
|
|
156652
|
+
"indexed": false,
|
|
156653
|
+
"internalType": "uint256",
|
|
156654
|
+
"name": "newTotalReserves",
|
|
156655
|
+
"type": "uint256"
|
|
156656
|
+
}
|
|
156657
|
+
],
|
|
156658
|
+
"name": "ReservesAdded",
|
|
156659
|
+
"type": "event"
|
|
156660
|
+
},
|
|
156661
|
+
{
|
|
156662
|
+
"anonymous": false,
|
|
156663
|
+
"inputs": [
|
|
156664
|
+
{
|
|
156665
|
+
"indexed": false,
|
|
156666
|
+
"internalType": "address",
|
|
156667
|
+
"name": "protocolShareReserve",
|
|
156668
|
+
"type": "address"
|
|
156669
|
+
},
|
|
156670
|
+
{
|
|
156671
|
+
"indexed": false,
|
|
156672
|
+
"internalType": "uint256",
|
|
156673
|
+
"name": "reduceAmount",
|
|
156674
|
+
"type": "uint256"
|
|
156675
|
+
},
|
|
156676
|
+
{
|
|
156677
|
+
"indexed": false,
|
|
156678
|
+
"internalType": "uint256",
|
|
156679
|
+
"name": "newTotalReserves",
|
|
156680
|
+
"type": "uint256"
|
|
156681
|
+
}
|
|
156682
|
+
],
|
|
156683
|
+
"name": "ReservesReduced",
|
|
156684
|
+
"type": "event"
|
|
156685
|
+
},
|
|
156686
|
+
{
|
|
156687
|
+
"anonymous": false,
|
|
156688
|
+
"inputs": [
|
|
156689
|
+
{
|
|
156690
|
+
"indexed": true,
|
|
156691
|
+
"internalType": "address",
|
|
156692
|
+
"name": "from",
|
|
156693
|
+
"type": "address"
|
|
156694
|
+
},
|
|
156695
|
+
{
|
|
156696
|
+
"indexed": true,
|
|
156697
|
+
"internalType": "address",
|
|
156698
|
+
"name": "to",
|
|
156699
|
+
"type": "address"
|
|
156700
|
+
},
|
|
156701
|
+
{
|
|
156702
|
+
"indexed": false,
|
|
156703
|
+
"internalType": "uint256",
|
|
156704
|
+
"name": "amount",
|
|
156705
|
+
"type": "uint256"
|
|
156706
|
+
}
|
|
156707
|
+
],
|
|
156708
|
+
"name": "Transfer",
|
|
156709
|
+
"type": "event"
|
|
156710
|
+
},
|
|
156711
|
+
{
|
|
156712
|
+
"payable": true,
|
|
156713
|
+
"stateMutability": "payable",
|
|
156714
|
+
"type": "fallback"
|
|
156715
|
+
},
|
|
156716
|
+
{
|
|
156717
|
+
"constant": false,
|
|
156718
|
+
"inputs": [],
|
|
156719
|
+
"name": "_acceptAdmin",
|
|
156720
|
+
"outputs": [
|
|
156721
|
+
{
|
|
156722
|
+
"internalType": "uint256",
|
|
156723
|
+
"name": "",
|
|
156724
|
+
"type": "uint256"
|
|
156725
|
+
}
|
|
156726
|
+
],
|
|
156727
|
+
"payable": false,
|
|
156728
|
+
"stateMutability": "nonpayable",
|
|
156729
|
+
"type": "function"
|
|
156730
|
+
},
|
|
156731
|
+
{
|
|
156732
|
+
"constant": false,
|
|
156733
|
+
"inputs": [
|
|
156734
|
+
{
|
|
156735
|
+
"internalType": "uint256",
|
|
156736
|
+
"name": "addAmount",
|
|
156737
|
+
"type": "uint256"
|
|
156738
|
+
}
|
|
156739
|
+
],
|
|
156740
|
+
"name": "_addReserves",
|
|
156741
|
+
"outputs": [
|
|
156742
|
+
{
|
|
156743
|
+
"internalType": "uint256",
|
|
156744
|
+
"name": "",
|
|
156745
|
+
"type": "uint256"
|
|
156746
|
+
}
|
|
156747
|
+
],
|
|
156748
|
+
"payable": false,
|
|
156749
|
+
"stateMutability": "nonpayable",
|
|
156750
|
+
"type": "function"
|
|
156751
|
+
},
|
|
156752
|
+
{
|
|
156753
|
+
"constant": false,
|
|
156754
|
+
"inputs": [
|
|
156755
|
+
{
|
|
156756
|
+
"internalType": "uint256",
|
|
156757
|
+
"name": "reduceAmount",
|
|
156758
|
+
"type": "uint256"
|
|
156759
|
+
}
|
|
156760
|
+
],
|
|
156761
|
+
"name": "_reduceReserves",
|
|
156762
|
+
"outputs": [
|
|
156763
|
+
{
|
|
156764
|
+
"internalType": "uint256",
|
|
156765
|
+
"name": "",
|
|
156766
|
+
"type": "uint256"
|
|
156767
|
+
}
|
|
156768
|
+
],
|
|
156769
|
+
"payable": false,
|
|
156770
|
+
"stateMutability": "nonpayable",
|
|
156771
|
+
"type": "function"
|
|
156772
|
+
},
|
|
156773
|
+
{
|
|
156774
|
+
"constant": false,
|
|
156775
|
+
"inputs": [
|
|
156776
|
+
{
|
|
156777
|
+
"internalType": "contract ComptrollerInterface",
|
|
156778
|
+
"name": "newComptroller",
|
|
156779
|
+
"type": "address"
|
|
156780
|
+
}
|
|
156781
|
+
],
|
|
156782
|
+
"name": "_setComptroller",
|
|
156783
|
+
"outputs": [
|
|
156784
|
+
{
|
|
156785
|
+
"internalType": "uint256",
|
|
156786
|
+
"name": "",
|
|
156787
|
+
"type": "uint256"
|
|
156788
|
+
}
|
|
156789
|
+
],
|
|
156790
|
+
"payable": false,
|
|
156791
|
+
"stateMutability": "nonpayable",
|
|
156792
|
+
"type": "function"
|
|
156793
|
+
},
|
|
156794
|
+
{
|
|
156795
|
+
"constant": false,
|
|
156796
|
+
"inputs": [
|
|
156797
|
+
{
|
|
156798
|
+
"internalType": "address",
|
|
156799
|
+
"name": "implementation_",
|
|
156800
|
+
"type": "address"
|
|
156801
|
+
},
|
|
156802
|
+
{
|
|
156803
|
+
"internalType": "bool",
|
|
156804
|
+
"name": "allowResign",
|
|
156805
|
+
"type": "bool"
|
|
156806
|
+
},
|
|
156807
|
+
{
|
|
156808
|
+
"internalType": "bytes",
|
|
156809
|
+
"name": "becomeImplementationData",
|
|
156810
|
+
"type": "bytes"
|
|
156811
|
+
}
|
|
156812
|
+
],
|
|
156813
|
+
"name": "_setImplementation",
|
|
156814
|
+
"outputs": [],
|
|
156815
|
+
"payable": false,
|
|
156816
|
+
"stateMutability": "nonpayable",
|
|
156817
|
+
"type": "function"
|
|
156818
|
+
},
|
|
156819
|
+
{
|
|
156820
|
+
"constant": false,
|
|
156821
|
+
"inputs": [
|
|
156822
|
+
{
|
|
156823
|
+
"internalType": "contract InterestRateModel",
|
|
156824
|
+
"name": "newInterestRateModel",
|
|
156825
|
+
"type": "address"
|
|
156826
|
+
}
|
|
156827
|
+
],
|
|
156828
|
+
"name": "_setInterestRateModel",
|
|
156829
|
+
"outputs": [
|
|
156830
|
+
{
|
|
156831
|
+
"internalType": "uint256",
|
|
156832
|
+
"name": "",
|
|
156833
|
+
"type": "uint256"
|
|
156834
|
+
}
|
|
156835
|
+
],
|
|
156836
|
+
"payable": false,
|
|
156837
|
+
"stateMutability": "nonpayable",
|
|
156838
|
+
"type": "function"
|
|
156839
|
+
},
|
|
156840
|
+
{
|
|
156841
|
+
"constant": false,
|
|
156842
|
+
"inputs": [
|
|
156843
|
+
{
|
|
156844
|
+
"internalType": "address payable",
|
|
156845
|
+
"name": "newPendingAdmin",
|
|
156846
|
+
"type": "address"
|
|
156847
|
+
}
|
|
156848
|
+
],
|
|
156849
|
+
"name": "_setPendingAdmin",
|
|
156850
|
+
"outputs": [
|
|
156851
|
+
{
|
|
156852
|
+
"internalType": "uint256",
|
|
156853
|
+
"name": "",
|
|
156854
|
+
"type": "uint256"
|
|
156855
|
+
}
|
|
156856
|
+
],
|
|
156857
|
+
"payable": false,
|
|
156858
|
+
"stateMutability": "nonpayable",
|
|
156859
|
+
"type": "function"
|
|
156860
|
+
},
|
|
156861
|
+
{
|
|
156862
|
+
"constant": false,
|
|
156863
|
+
"inputs": [
|
|
156864
|
+
{
|
|
156865
|
+
"internalType": "uint256",
|
|
156866
|
+
"name": "newReserveFactorMantissa",
|
|
156867
|
+
"type": "uint256"
|
|
156868
|
+
}
|
|
156869
|
+
],
|
|
156870
|
+
"name": "_setReserveFactor",
|
|
156871
|
+
"outputs": [
|
|
156872
|
+
{
|
|
156873
|
+
"internalType": "uint256",
|
|
156874
|
+
"name": "",
|
|
156875
|
+
"type": "uint256"
|
|
156876
|
+
}
|
|
156877
|
+
],
|
|
156878
|
+
"payable": false,
|
|
156879
|
+
"stateMutability": "nonpayable",
|
|
156880
|
+
"type": "function"
|
|
156881
|
+
},
|
|
156882
|
+
{
|
|
156883
|
+
"constant": true,
|
|
156884
|
+
"inputs": [],
|
|
156885
|
+
"name": "accessControlManager",
|
|
156886
|
+
"outputs": [
|
|
156887
|
+
{
|
|
156888
|
+
"internalType": "address",
|
|
156889
|
+
"name": "",
|
|
156890
|
+
"type": "address"
|
|
156891
|
+
}
|
|
156892
|
+
],
|
|
156893
|
+
"payable": false,
|
|
156894
|
+
"stateMutability": "view",
|
|
156895
|
+
"type": "function"
|
|
156896
|
+
},
|
|
156897
|
+
{
|
|
156898
|
+
"constant": true,
|
|
156899
|
+
"inputs": [],
|
|
156900
|
+
"name": "accrualBlockNumber",
|
|
156901
|
+
"outputs": [
|
|
156902
|
+
{
|
|
156903
|
+
"internalType": "uint256",
|
|
156904
|
+
"name": "",
|
|
156905
|
+
"type": "uint256"
|
|
156906
|
+
}
|
|
156907
|
+
],
|
|
156908
|
+
"payable": false,
|
|
156909
|
+
"stateMutability": "view",
|
|
156910
|
+
"type": "function"
|
|
156911
|
+
},
|
|
156912
|
+
{
|
|
156913
|
+
"constant": false,
|
|
156914
|
+
"inputs": [],
|
|
156915
|
+
"name": "accrueInterest",
|
|
156916
|
+
"outputs": [
|
|
156917
|
+
{
|
|
156918
|
+
"internalType": "uint256",
|
|
156919
|
+
"name": "",
|
|
156920
|
+
"type": "uint256"
|
|
156921
|
+
}
|
|
156922
|
+
],
|
|
156923
|
+
"payable": false,
|
|
156924
|
+
"stateMutability": "nonpayable",
|
|
156925
|
+
"type": "function"
|
|
156926
|
+
},
|
|
156927
|
+
{
|
|
156928
|
+
"constant": true,
|
|
156929
|
+
"inputs": [],
|
|
156930
|
+
"name": "admin",
|
|
156931
|
+
"outputs": [
|
|
156932
|
+
{
|
|
156933
|
+
"internalType": "address payable",
|
|
156934
|
+
"name": "",
|
|
156935
|
+
"type": "address"
|
|
156936
|
+
}
|
|
156937
|
+
],
|
|
156938
|
+
"payable": false,
|
|
156939
|
+
"stateMutability": "view",
|
|
156940
|
+
"type": "function"
|
|
156941
|
+
},
|
|
156942
|
+
{
|
|
156943
|
+
"constant": true,
|
|
156944
|
+
"inputs": [
|
|
156945
|
+
{
|
|
156946
|
+
"internalType": "address",
|
|
156947
|
+
"name": "owner",
|
|
156948
|
+
"type": "address"
|
|
156949
|
+
},
|
|
156950
|
+
{
|
|
156951
|
+
"internalType": "address",
|
|
156952
|
+
"name": "spender",
|
|
156953
|
+
"type": "address"
|
|
156954
|
+
}
|
|
156955
|
+
],
|
|
156956
|
+
"name": "allowance",
|
|
156957
|
+
"outputs": [
|
|
156958
|
+
{
|
|
156959
|
+
"internalType": "uint256",
|
|
156960
|
+
"name": "",
|
|
156961
|
+
"type": "uint256"
|
|
156962
|
+
}
|
|
156963
|
+
],
|
|
156964
|
+
"payable": false,
|
|
156965
|
+
"stateMutability": "view",
|
|
156966
|
+
"type": "function"
|
|
156967
|
+
},
|
|
156968
|
+
{
|
|
156969
|
+
"constant": false,
|
|
156970
|
+
"inputs": [
|
|
156971
|
+
{
|
|
156972
|
+
"internalType": "address",
|
|
156973
|
+
"name": "spender",
|
|
156974
|
+
"type": "address"
|
|
156975
|
+
},
|
|
156976
|
+
{
|
|
156977
|
+
"internalType": "uint256",
|
|
156978
|
+
"name": "amount",
|
|
156979
|
+
"type": "uint256"
|
|
156980
|
+
}
|
|
156981
|
+
],
|
|
156982
|
+
"name": "approve",
|
|
156983
|
+
"outputs": [
|
|
156984
|
+
{
|
|
156985
|
+
"internalType": "bool",
|
|
156986
|
+
"name": "",
|
|
156987
|
+
"type": "bool"
|
|
156988
|
+
}
|
|
156989
|
+
],
|
|
156990
|
+
"payable": false,
|
|
156991
|
+
"stateMutability": "nonpayable",
|
|
156992
|
+
"type": "function"
|
|
156993
|
+
},
|
|
156994
|
+
{
|
|
156995
|
+
"constant": true,
|
|
156996
|
+
"inputs": [
|
|
156997
|
+
{
|
|
156998
|
+
"internalType": "address",
|
|
156999
|
+
"name": "owner",
|
|
157000
|
+
"type": "address"
|
|
157001
|
+
}
|
|
157002
|
+
],
|
|
157003
|
+
"name": "balanceOf",
|
|
157004
|
+
"outputs": [
|
|
157005
|
+
{
|
|
157006
|
+
"internalType": "uint256",
|
|
157007
|
+
"name": "",
|
|
157008
|
+
"type": "uint256"
|
|
157009
|
+
}
|
|
157010
|
+
],
|
|
157011
|
+
"payable": false,
|
|
157012
|
+
"stateMutability": "view",
|
|
157013
|
+
"type": "function"
|
|
157014
|
+
},
|
|
157015
|
+
{
|
|
157016
|
+
"constant": false,
|
|
157017
|
+
"inputs": [
|
|
157018
|
+
{
|
|
157019
|
+
"internalType": "address",
|
|
157020
|
+
"name": "owner",
|
|
157021
|
+
"type": "address"
|
|
157022
|
+
}
|
|
157023
|
+
],
|
|
157024
|
+
"name": "balanceOfUnderlying",
|
|
157025
|
+
"outputs": [
|
|
157026
|
+
{
|
|
157027
|
+
"internalType": "uint256",
|
|
157028
|
+
"name": "",
|
|
157029
|
+
"type": "uint256"
|
|
157030
|
+
}
|
|
157031
|
+
],
|
|
157032
|
+
"payable": false,
|
|
157033
|
+
"stateMutability": "nonpayable",
|
|
157034
|
+
"type": "function"
|
|
157035
|
+
},
|
|
157036
|
+
{
|
|
157037
|
+
"constant": false,
|
|
157038
|
+
"inputs": [
|
|
157039
|
+
{
|
|
157040
|
+
"internalType": "uint256",
|
|
157041
|
+
"name": "borrowAmount",
|
|
157042
|
+
"type": "uint256"
|
|
157043
|
+
}
|
|
157044
|
+
],
|
|
157045
|
+
"name": "borrow",
|
|
157046
|
+
"outputs": [
|
|
157047
|
+
{
|
|
157048
|
+
"internalType": "uint256",
|
|
157049
|
+
"name": "",
|
|
157050
|
+
"type": "uint256"
|
|
157051
|
+
}
|
|
157052
|
+
],
|
|
157053
|
+
"payable": false,
|
|
157054
|
+
"stateMutability": "nonpayable",
|
|
157055
|
+
"type": "function"
|
|
157056
|
+
},
|
|
157057
|
+
{
|
|
157058
|
+
"constant": false,
|
|
157059
|
+
"inputs": [
|
|
157060
|
+
{
|
|
157061
|
+
"internalType": "address",
|
|
157062
|
+
"name": "account",
|
|
157063
|
+
"type": "address"
|
|
157064
|
+
}
|
|
157065
|
+
],
|
|
157066
|
+
"name": "borrowBalanceCurrent",
|
|
157067
|
+
"outputs": [
|
|
157068
|
+
{
|
|
157069
|
+
"internalType": "uint256",
|
|
157070
|
+
"name": "",
|
|
157071
|
+
"type": "uint256"
|
|
157072
|
+
}
|
|
157073
|
+
],
|
|
157074
|
+
"payable": false,
|
|
157075
|
+
"stateMutability": "nonpayable",
|
|
157076
|
+
"type": "function"
|
|
157077
|
+
},
|
|
157078
|
+
{
|
|
157079
|
+
"constant": true,
|
|
157080
|
+
"inputs": [
|
|
157081
|
+
{
|
|
157082
|
+
"internalType": "address",
|
|
157083
|
+
"name": "account",
|
|
157084
|
+
"type": "address"
|
|
157085
|
+
}
|
|
157086
|
+
],
|
|
157087
|
+
"name": "borrowBalanceStored",
|
|
157088
|
+
"outputs": [
|
|
157089
|
+
{
|
|
157090
|
+
"internalType": "uint256",
|
|
157091
|
+
"name": "",
|
|
157092
|
+
"type": "uint256"
|
|
157093
|
+
}
|
|
157094
|
+
],
|
|
157095
|
+
"payable": false,
|
|
157096
|
+
"stateMutability": "view",
|
|
157097
|
+
"type": "function"
|
|
157098
|
+
},
|
|
157099
|
+
{
|
|
157100
|
+
"constant": true,
|
|
157101
|
+
"inputs": [],
|
|
157102
|
+
"name": "borrowIndex",
|
|
157103
|
+
"outputs": [
|
|
157104
|
+
{
|
|
157105
|
+
"internalType": "uint256",
|
|
157106
|
+
"name": "",
|
|
157107
|
+
"type": "uint256"
|
|
157108
|
+
}
|
|
157109
|
+
],
|
|
157110
|
+
"payable": false,
|
|
157111
|
+
"stateMutability": "view",
|
|
157112
|
+
"type": "function"
|
|
157113
|
+
},
|
|
157114
|
+
{
|
|
157115
|
+
"constant": true,
|
|
157116
|
+
"inputs": [],
|
|
157117
|
+
"name": "borrowRatePerBlock",
|
|
157118
|
+
"outputs": [
|
|
157119
|
+
{
|
|
157120
|
+
"internalType": "uint256",
|
|
157121
|
+
"name": "",
|
|
157122
|
+
"type": "uint256"
|
|
157123
|
+
}
|
|
157124
|
+
],
|
|
157125
|
+
"payable": false,
|
|
157126
|
+
"stateMutability": "view",
|
|
157127
|
+
"type": "function"
|
|
157128
|
+
},
|
|
157129
|
+
{
|
|
157130
|
+
"constant": true,
|
|
157131
|
+
"inputs": [],
|
|
157132
|
+
"name": "comptroller",
|
|
157133
|
+
"outputs": [
|
|
157134
|
+
{
|
|
157135
|
+
"internalType": "contract ComptrollerInterface",
|
|
157136
|
+
"name": "",
|
|
157137
|
+
"type": "address"
|
|
157138
|
+
}
|
|
157139
|
+
],
|
|
157140
|
+
"payable": false,
|
|
157141
|
+
"stateMutability": "view",
|
|
157142
|
+
"type": "function"
|
|
157143
|
+
},
|
|
157144
|
+
{
|
|
157145
|
+
"constant": true,
|
|
157146
|
+
"inputs": [],
|
|
157147
|
+
"name": "decimals",
|
|
157148
|
+
"outputs": [
|
|
157149
|
+
{
|
|
157150
|
+
"internalType": "uint8",
|
|
157151
|
+
"name": "",
|
|
157152
|
+
"type": "uint8"
|
|
157153
|
+
}
|
|
157154
|
+
],
|
|
157155
|
+
"payable": false,
|
|
157156
|
+
"stateMutability": "view",
|
|
157157
|
+
"type": "function"
|
|
157158
|
+
},
|
|
157159
|
+
{
|
|
157160
|
+
"constant": false,
|
|
157161
|
+
"inputs": [
|
|
157162
|
+
{
|
|
157163
|
+
"internalType": "bytes",
|
|
157164
|
+
"name": "data",
|
|
157165
|
+
"type": "bytes"
|
|
157166
|
+
}
|
|
157167
|
+
],
|
|
157168
|
+
"name": "delegateToImplementation",
|
|
157169
|
+
"outputs": [
|
|
157170
|
+
{
|
|
157171
|
+
"internalType": "bytes",
|
|
157172
|
+
"name": "",
|
|
157173
|
+
"type": "bytes"
|
|
157174
|
+
}
|
|
157175
|
+
],
|
|
157176
|
+
"payable": false,
|
|
157177
|
+
"stateMutability": "nonpayable",
|
|
157178
|
+
"type": "function"
|
|
157179
|
+
},
|
|
157180
|
+
{
|
|
157181
|
+
"constant": true,
|
|
157182
|
+
"inputs": [
|
|
157183
|
+
{
|
|
157184
|
+
"internalType": "bytes",
|
|
157185
|
+
"name": "data",
|
|
157186
|
+
"type": "bytes"
|
|
157187
|
+
}
|
|
157188
|
+
],
|
|
157189
|
+
"name": "delegateToViewImplementation",
|
|
157190
|
+
"outputs": [
|
|
157191
|
+
{
|
|
157192
|
+
"internalType": "bytes",
|
|
157193
|
+
"name": "",
|
|
157194
|
+
"type": "bytes"
|
|
157195
|
+
}
|
|
157196
|
+
],
|
|
157197
|
+
"payable": false,
|
|
157198
|
+
"stateMutability": "view",
|
|
157199
|
+
"type": "function"
|
|
157200
|
+
},
|
|
157201
|
+
{
|
|
157202
|
+
"constant": false,
|
|
157203
|
+
"inputs": [],
|
|
157204
|
+
"name": "exchangeRateCurrent",
|
|
157205
|
+
"outputs": [
|
|
157206
|
+
{
|
|
157207
|
+
"internalType": "uint256",
|
|
157208
|
+
"name": "",
|
|
157209
|
+
"type": "uint256"
|
|
157210
|
+
}
|
|
157211
|
+
],
|
|
157212
|
+
"payable": false,
|
|
157213
|
+
"stateMutability": "nonpayable",
|
|
157214
|
+
"type": "function"
|
|
157215
|
+
},
|
|
157216
|
+
{
|
|
157217
|
+
"constant": true,
|
|
157218
|
+
"inputs": [],
|
|
157219
|
+
"name": "exchangeRateStored",
|
|
157220
|
+
"outputs": [
|
|
157221
|
+
{
|
|
157222
|
+
"internalType": "uint256",
|
|
157223
|
+
"name": "",
|
|
157224
|
+
"type": "uint256"
|
|
157225
|
+
}
|
|
157226
|
+
],
|
|
157227
|
+
"payable": false,
|
|
157228
|
+
"stateMutability": "view",
|
|
157229
|
+
"type": "function"
|
|
157230
|
+
},
|
|
157231
|
+
{
|
|
157232
|
+
"constant": true,
|
|
157233
|
+
"inputs": [
|
|
157234
|
+
{
|
|
157235
|
+
"internalType": "address",
|
|
157236
|
+
"name": "account",
|
|
157237
|
+
"type": "address"
|
|
157238
|
+
}
|
|
157239
|
+
],
|
|
157240
|
+
"name": "getAccountSnapshot",
|
|
157241
|
+
"outputs": [
|
|
157242
|
+
{
|
|
157243
|
+
"internalType": "uint256",
|
|
157244
|
+
"name": "",
|
|
157245
|
+
"type": "uint256"
|
|
157246
|
+
},
|
|
157247
|
+
{
|
|
157248
|
+
"internalType": "uint256",
|
|
157249
|
+
"name": "",
|
|
157250
|
+
"type": "uint256"
|
|
157251
|
+
},
|
|
157252
|
+
{
|
|
157253
|
+
"internalType": "uint256",
|
|
157254
|
+
"name": "",
|
|
157255
|
+
"type": "uint256"
|
|
157256
|
+
},
|
|
157257
|
+
{
|
|
157258
|
+
"internalType": "uint256",
|
|
157259
|
+
"name": "",
|
|
157260
|
+
"type": "uint256"
|
|
157261
|
+
}
|
|
157262
|
+
],
|
|
157263
|
+
"payable": false,
|
|
157264
|
+
"stateMutability": "view",
|
|
157265
|
+
"type": "function"
|
|
157266
|
+
},
|
|
157267
|
+
{
|
|
157268
|
+
"constant": true,
|
|
157269
|
+
"inputs": [],
|
|
157270
|
+
"name": "getCash",
|
|
157271
|
+
"outputs": [
|
|
157272
|
+
{
|
|
157273
|
+
"internalType": "uint256",
|
|
157274
|
+
"name": "",
|
|
157275
|
+
"type": "uint256"
|
|
157276
|
+
}
|
|
157277
|
+
],
|
|
157278
|
+
"payable": false,
|
|
157279
|
+
"stateMutability": "view",
|
|
157280
|
+
"type": "function"
|
|
157281
|
+
},
|
|
157282
|
+
{
|
|
157283
|
+
"constant": true,
|
|
157284
|
+
"inputs": [],
|
|
157285
|
+
"name": "implementation",
|
|
157286
|
+
"outputs": [
|
|
157287
|
+
{
|
|
157288
|
+
"internalType": "address",
|
|
157289
|
+
"name": "",
|
|
157290
|
+
"type": "address"
|
|
157291
|
+
}
|
|
157292
|
+
],
|
|
157293
|
+
"payable": false,
|
|
157294
|
+
"stateMutability": "view",
|
|
157295
|
+
"type": "function"
|
|
157296
|
+
},
|
|
157297
|
+
{
|
|
157298
|
+
"constant": true,
|
|
157299
|
+
"inputs": [],
|
|
157300
|
+
"name": "interestRateModel",
|
|
157301
|
+
"outputs": [
|
|
157302
|
+
{
|
|
157303
|
+
"internalType": "contract InterestRateModel",
|
|
157304
|
+
"name": "",
|
|
157305
|
+
"type": "address"
|
|
157306
|
+
}
|
|
157307
|
+
],
|
|
157308
|
+
"payable": false,
|
|
157309
|
+
"stateMutability": "view",
|
|
157310
|
+
"type": "function"
|
|
157311
|
+
},
|
|
157312
|
+
{
|
|
157313
|
+
"constant": true,
|
|
157314
|
+
"inputs": [],
|
|
157315
|
+
"name": "isVToken",
|
|
157316
|
+
"outputs": [
|
|
157317
|
+
{
|
|
157318
|
+
"internalType": "bool",
|
|
157319
|
+
"name": "",
|
|
157320
|
+
"type": "bool"
|
|
157321
|
+
}
|
|
157322
|
+
],
|
|
157323
|
+
"payable": false,
|
|
157324
|
+
"stateMutability": "view",
|
|
157325
|
+
"type": "function"
|
|
157326
|
+
},
|
|
157327
|
+
{
|
|
157328
|
+
"constant": false,
|
|
157329
|
+
"inputs": [
|
|
157330
|
+
{
|
|
157331
|
+
"internalType": "address",
|
|
157332
|
+
"name": "borrower",
|
|
157333
|
+
"type": "address"
|
|
157334
|
+
},
|
|
157335
|
+
{
|
|
157336
|
+
"internalType": "uint256",
|
|
157337
|
+
"name": "repayAmount",
|
|
157338
|
+
"type": "uint256"
|
|
157339
|
+
},
|
|
157340
|
+
{
|
|
157341
|
+
"internalType": "contract VTokenInterface",
|
|
157342
|
+
"name": "vTokenCollateral",
|
|
157343
|
+
"type": "address"
|
|
157344
|
+
}
|
|
157345
|
+
],
|
|
157346
|
+
"name": "liquidateBorrow",
|
|
157347
|
+
"outputs": [
|
|
157348
|
+
{
|
|
157349
|
+
"internalType": "uint256",
|
|
157350
|
+
"name": "",
|
|
157351
|
+
"type": "uint256"
|
|
157352
|
+
}
|
|
157353
|
+
],
|
|
157354
|
+
"payable": false,
|
|
157355
|
+
"stateMutability": "nonpayable",
|
|
157356
|
+
"type": "function"
|
|
157357
|
+
},
|
|
157358
|
+
{
|
|
157359
|
+
"constant": false,
|
|
157360
|
+
"inputs": [
|
|
157361
|
+
{
|
|
157362
|
+
"internalType": "uint256",
|
|
157363
|
+
"name": "mintAmount",
|
|
157364
|
+
"type": "uint256"
|
|
157365
|
+
}
|
|
157366
|
+
],
|
|
157367
|
+
"name": "mint",
|
|
157368
|
+
"outputs": [
|
|
157369
|
+
{
|
|
157370
|
+
"internalType": "uint256",
|
|
157371
|
+
"name": "",
|
|
157372
|
+
"type": "uint256"
|
|
157373
|
+
}
|
|
157374
|
+
],
|
|
157375
|
+
"payable": false,
|
|
157376
|
+
"stateMutability": "nonpayable",
|
|
157377
|
+
"type": "function"
|
|
157378
|
+
},
|
|
157379
|
+
{
|
|
157380
|
+
"constant": false,
|
|
157381
|
+
"inputs": [
|
|
157382
|
+
{
|
|
157383
|
+
"internalType": "address",
|
|
157384
|
+
"name": "receiver",
|
|
157385
|
+
"type": "address"
|
|
157386
|
+
},
|
|
157387
|
+
{
|
|
157388
|
+
"internalType": "uint256",
|
|
157389
|
+
"name": "mintAmount",
|
|
157390
|
+
"type": "uint256"
|
|
157391
|
+
}
|
|
157392
|
+
],
|
|
157393
|
+
"name": "mintBehalf",
|
|
157394
|
+
"outputs": [
|
|
157395
|
+
{
|
|
157396
|
+
"internalType": "uint256",
|
|
157397
|
+
"name": "",
|
|
157398
|
+
"type": "uint256"
|
|
157399
|
+
}
|
|
157400
|
+
],
|
|
157401
|
+
"payable": false,
|
|
157402
|
+
"stateMutability": "nonpayable",
|
|
157403
|
+
"type": "function"
|
|
157404
|
+
},
|
|
157405
|
+
{
|
|
157406
|
+
"constant": true,
|
|
157407
|
+
"inputs": [],
|
|
157408
|
+
"name": "name",
|
|
157409
|
+
"outputs": [
|
|
157410
|
+
{
|
|
157411
|
+
"internalType": "string",
|
|
157412
|
+
"name": "",
|
|
157413
|
+
"type": "string"
|
|
157414
|
+
}
|
|
157415
|
+
],
|
|
157416
|
+
"payable": false,
|
|
157417
|
+
"stateMutability": "view",
|
|
157418
|
+
"type": "function"
|
|
157419
|
+
},
|
|
157420
|
+
{
|
|
157421
|
+
"constant": true,
|
|
157422
|
+
"inputs": [],
|
|
157423
|
+
"name": "pendingAdmin",
|
|
157424
|
+
"outputs": [
|
|
157425
|
+
{
|
|
157426
|
+
"internalType": "address payable",
|
|
157427
|
+
"name": "",
|
|
157428
|
+
"type": "address"
|
|
157429
|
+
}
|
|
157430
|
+
],
|
|
157431
|
+
"payable": false,
|
|
157432
|
+
"stateMutability": "view",
|
|
157433
|
+
"type": "function"
|
|
157434
|
+
},
|
|
157435
|
+
{
|
|
157436
|
+
"constant": true,
|
|
157437
|
+
"inputs": [],
|
|
157438
|
+
"name": "protocolShareReserve",
|
|
157439
|
+
"outputs": [
|
|
157440
|
+
{
|
|
157441
|
+
"internalType": "address payable",
|
|
157442
|
+
"name": "",
|
|
157443
|
+
"type": "address"
|
|
157444
|
+
}
|
|
157445
|
+
],
|
|
157446
|
+
"payable": false,
|
|
157447
|
+
"stateMutability": "view",
|
|
157448
|
+
"type": "function"
|
|
157449
|
+
},
|
|
157450
|
+
{
|
|
157451
|
+
"constant": false,
|
|
157452
|
+
"inputs": [
|
|
157453
|
+
{
|
|
157454
|
+
"internalType": "uint256",
|
|
157455
|
+
"name": "redeemTokens",
|
|
157456
|
+
"type": "uint256"
|
|
157457
|
+
}
|
|
157458
|
+
],
|
|
157459
|
+
"name": "redeem",
|
|
157460
|
+
"outputs": [
|
|
157461
|
+
{
|
|
157462
|
+
"internalType": "uint256",
|
|
157463
|
+
"name": "",
|
|
157464
|
+
"type": "uint256"
|
|
157465
|
+
}
|
|
157466
|
+
],
|
|
157467
|
+
"payable": false,
|
|
157468
|
+
"stateMutability": "nonpayable",
|
|
157469
|
+
"type": "function"
|
|
157470
|
+
},
|
|
157471
|
+
{
|
|
157472
|
+
"constant": false,
|
|
157473
|
+
"inputs": [
|
|
157474
|
+
{
|
|
157475
|
+
"internalType": "uint256",
|
|
157476
|
+
"name": "redeemAmount",
|
|
157477
|
+
"type": "uint256"
|
|
157478
|
+
}
|
|
157479
|
+
],
|
|
157480
|
+
"name": "redeemUnderlying",
|
|
157481
|
+
"outputs": [
|
|
157482
|
+
{
|
|
157483
|
+
"internalType": "uint256",
|
|
157484
|
+
"name": "",
|
|
157485
|
+
"type": "uint256"
|
|
157486
|
+
}
|
|
157487
|
+
],
|
|
157488
|
+
"payable": false,
|
|
157489
|
+
"stateMutability": "nonpayable",
|
|
157490
|
+
"type": "function"
|
|
157491
|
+
},
|
|
157492
|
+
{
|
|
157493
|
+
"constant": true,
|
|
157494
|
+
"inputs": [],
|
|
157495
|
+
"name": "reduceReservesBlockDelta",
|
|
157496
|
+
"outputs": [
|
|
157497
|
+
{
|
|
157498
|
+
"internalType": "uint256",
|
|
157499
|
+
"name": "",
|
|
157500
|
+
"type": "uint256"
|
|
157501
|
+
}
|
|
157502
|
+
],
|
|
157503
|
+
"payable": false,
|
|
157504
|
+
"stateMutability": "view",
|
|
157505
|
+
"type": "function"
|
|
157506
|
+
},
|
|
157507
|
+
{
|
|
157508
|
+
"constant": true,
|
|
157509
|
+
"inputs": [],
|
|
157510
|
+
"name": "reduceReservesBlockNumber",
|
|
157511
|
+
"outputs": [
|
|
157512
|
+
{
|
|
157513
|
+
"internalType": "uint256",
|
|
157514
|
+
"name": "",
|
|
157515
|
+
"type": "uint256"
|
|
157516
|
+
}
|
|
157517
|
+
],
|
|
157518
|
+
"payable": false,
|
|
157519
|
+
"stateMutability": "view",
|
|
157520
|
+
"type": "function"
|
|
157521
|
+
},
|
|
157522
|
+
{
|
|
157523
|
+
"constant": false,
|
|
157524
|
+
"inputs": [
|
|
157525
|
+
{
|
|
157526
|
+
"internalType": "uint256",
|
|
157527
|
+
"name": "repayAmount",
|
|
157528
|
+
"type": "uint256"
|
|
157529
|
+
}
|
|
157530
|
+
],
|
|
157531
|
+
"name": "repayBorrow",
|
|
157532
|
+
"outputs": [
|
|
157533
|
+
{
|
|
157534
|
+
"internalType": "uint256",
|
|
157535
|
+
"name": "",
|
|
157536
|
+
"type": "uint256"
|
|
157537
|
+
}
|
|
157538
|
+
],
|
|
157539
|
+
"payable": false,
|
|
157540
|
+
"stateMutability": "nonpayable",
|
|
157541
|
+
"type": "function"
|
|
157542
|
+
},
|
|
157543
|
+
{
|
|
157544
|
+
"constant": false,
|
|
157545
|
+
"inputs": [
|
|
157546
|
+
{
|
|
157547
|
+
"internalType": "address",
|
|
157548
|
+
"name": "borrower",
|
|
157549
|
+
"type": "address"
|
|
157550
|
+
},
|
|
157551
|
+
{
|
|
157552
|
+
"internalType": "uint256",
|
|
157553
|
+
"name": "repayAmount",
|
|
157554
|
+
"type": "uint256"
|
|
157555
|
+
}
|
|
157556
|
+
],
|
|
157557
|
+
"name": "repayBorrowBehalf",
|
|
157558
|
+
"outputs": [
|
|
157559
|
+
{
|
|
157560
|
+
"internalType": "uint256",
|
|
157561
|
+
"name": "",
|
|
157562
|
+
"type": "uint256"
|
|
157563
|
+
}
|
|
157564
|
+
],
|
|
157565
|
+
"payable": false,
|
|
157566
|
+
"stateMutability": "nonpayable",
|
|
157567
|
+
"type": "function"
|
|
157568
|
+
},
|
|
157569
|
+
{
|
|
157570
|
+
"constant": true,
|
|
157571
|
+
"inputs": [],
|
|
157572
|
+
"name": "reserveFactorMantissa",
|
|
157573
|
+
"outputs": [
|
|
157574
|
+
{
|
|
157575
|
+
"internalType": "uint256",
|
|
157576
|
+
"name": "",
|
|
157577
|
+
"type": "uint256"
|
|
157578
|
+
}
|
|
157579
|
+
],
|
|
157580
|
+
"payable": false,
|
|
157581
|
+
"stateMutability": "view",
|
|
157582
|
+
"type": "function"
|
|
157583
|
+
},
|
|
157584
|
+
{
|
|
157585
|
+
"constant": false,
|
|
157586
|
+
"inputs": [
|
|
157587
|
+
{
|
|
157588
|
+
"internalType": "address",
|
|
157589
|
+
"name": "liquidator",
|
|
157590
|
+
"type": "address"
|
|
157591
|
+
},
|
|
157592
|
+
{
|
|
157593
|
+
"internalType": "address",
|
|
157594
|
+
"name": "borrower",
|
|
157595
|
+
"type": "address"
|
|
157596
|
+
},
|
|
157597
|
+
{
|
|
157598
|
+
"internalType": "uint256",
|
|
157599
|
+
"name": "seizeTokens",
|
|
157600
|
+
"type": "uint256"
|
|
157601
|
+
}
|
|
157602
|
+
],
|
|
157603
|
+
"name": "seize",
|
|
157604
|
+
"outputs": [
|
|
157605
|
+
{
|
|
157606
|
+
"internalType": "uint256",
|
|
157607
|
+
"name": "",
|
|
157608
|
+
"type": "uint256"
|
|
157609
|
+
}
|
|
157610
|
+
],
|
|
157611
|
+
"payable": false,
|
|
157612
|
+
"stateMutability": "nonpayable",
|
|
157613
|
+
"type": "function"
|
|
157614
|
+
},
|
|
157615
|
+
{
|
|
157616
|
+
"constant": true,
|
|
157617
|
+
"inputs": [],
|
|
157618
|
+
"name": "supplyRatePerBlock",
|
|
157619
|
+
"outputs": [
|
|
157620
|
+
{
|
|
157621
|
+
"internalType": "uint256",
|
|
157622
|
+
"name": "",
|
|
157623
|
+
"type": "uint256"
|
|
157624
|
+
}
|
|
157625
|
+
],
|
|
157626
|
+
"payable": false,
|
|
157627
|
+
"stateMutability": "view",
|
|
157628
|
+
"type": "function"
|
|
157629
|
+
},
|
|
157630
|
+
{
|
|
157631
|
+
"constant": true,
|
|
157632
|
+
"inputs": [],
|
|
157633
|
+
"name": "symbol",
|
|
157634
|
+
"outputs": [
|
|
157635
|
+
{
|
|
157636
|
+
"internalType": "string",
|
|
157637
|
+
"name": "",
|
|
157638
|
+
"type": "string"
|
|
157639
|
+
}
|
|
157640
|
+
],
|
|
157641
|
+
"payable": false,
|
|
157642
|
+
"stateMutability": "view",
|
|
157643
|
+
"type": "function"
|
|
157644
|
+
},
|
|
157645
|
+
{
|
|
157646
|
+
"constant": true,
|
|
157647
|
+
"inputs": [],
|
|
157648
|
+
"name": "totalBorrows",
|
|
157649
|
+
"outputs": [
|
|
157650
|
+
{
|
|
157651
|
+
"internalType": "uint256",
|
|
157652
|
+
"name": "",
|
|
157653
|
+
"type": "uint256"
|
|
157654
|
+
}
|
|
157655
|
+
],
|
|
157656
|
+
"payable": false,
|
|
157657
|
+
"stateMutability": "view",
|
|
157658
|
+
"type": "function"
|
|
157659
|
+
},
|
|
157660
|
+
{
|
|
157661
|
+
"constant": false,
|
|
157662
|
+
"inputs": [],
|
|
157663
|
+
"name": "totalBorrowsCurrent",
|
|
157664
|
+
"outputs": [
|
|
157665
|
+
{
|
|
157666
|
+
"internalType": "uint256",
|
|
157667
|
+
"name": "",
|
|
157668
|
+
"type": "uint256"
|
|
157669
|
+
}
|
|
157670
|
+
],
|
|
157671
|
+
"payable": false,
|
|
157672
|
+
"stateMutability": "nonpayable",
|
|
157673
|
+
"type": "function"
|
|
157674
|
+
},
|
|
157675
|
+
{
|
|
157676
|
+
"constant": true,
|
|
157677
|
+
"inputs": [],
|
|
157678
|
+
"name": "totalReserves",
|
|
157679
|
+
"outputs": [
|
|
157680
|
+
{
|
|
157681
|
+
"internalType": "uint256",
|
|
157682
|
+
"name": "",
|
|
157683
|
+
"type": "uint256"
|
|
157684
|
+
}
|
|
157685
|
+
],
|
|
157686
|
+
"payable": false,
|
|
157687
|
+
"stateMutability": "view",
|
|
157688
|
+
"type": "function"
|
|
157689
|
+
},
|
|
157690
|
+
{
|
|
157691
|
+
"constant": true,
|
|
157692
|
+
"inputs": [],
|
|
157693
|
+
"name": "totalSupply",
|
|
157694
|
+
"outputs": [
|
|
157695
|
+
{
|
|
157696
|
+
"internalType": "uint256",
|
|
157697
|
+
"name": "",
|
|
157698
|
+
"type": "uint256"
|
|
157699
|
+
}
|
|
157700
|
+
],
|
|
157701
|
+
"payable": false,
|
|
157702
|
+
"stateMutability": "view",
|
|
157703
|
+
"type": "function"
|
|
157704
|
+
},
|
|
157705
|
+
{
|
|
157706
|
+
"constant": false,
|
|
157707
|
+
"inputs": [
|
|
157708
|
+
{
|
|
157709
|
+
"internalType": "address",
|
|
157710
|
+
"name": "dst",
|
|
157711
|
+
"type": "address"
|
|
157712
|
+
},
|
|
157713
|
+
{
|
|
157714
|
+
"internalType": "uint256",
|
|
157715
|
+
"name": "amount",
|
|
157716
|
+
"type": "uint256"
|
|
157717
|
+
}
|
|
157718
|
+
],
|
|
157719
|
+
"name": "transfer",
|
|
157720
|
+
"outputs": [
|
|
157721
|
+
{
|
|
157722
|
+
"internalType": "bool",
|
|
157723
|
+
"name": "",
|
|
157724
|
+
"type": "bool"
|
|
157725
|
+
}
|
|
157726
|
+
],
|
|
157727
|
+
"payable": false,
|
|
157728
|
+
"stateMutability": "nonpayable",
|
|
157729
|
+
"type": "function"
|
|
157730
|
+
},
|
|
157731
|
+
{
|
|
157732
|
+
"constant": false,
|
|
157733
|
+
"inputs": [
|
|
157734
|
+
{
|
|
157735
|
+
"internalType": "address",
|
|
157736
|
+
"name": "src",
|
|
157737
|
+
"type": "address"
|
|
157738
|
+
},
|
|
157739
|
+
{
|
|
157740
|
+
"internalType": "address",
|
|
157741
|
+
"name": "dst",
|
|
157742
|
+
"type": "address"
|
|
157743
|
+
},
|
|
157744
|
+
{
|
|
157745
|
+
"internalType": "uint256",
|
|
157746
|
+
"name": "amount",
|
|
157747
|
+
"type": "uint256"
|
|
157748
|
+
}
|
|
157749
|
+
],
|
|
157750
|
+
"name": "transferFrom",
|
|
157751
|
+
"outputs": [
|
|
157752
|
+
{
|
|
157753
|
+
"internalType": "bool",
|
|
157754
|
+
"name": "",
|
|
157755
|
+
"type": "bool"
|
|
157756
|
+
}
|
|
157757
|
+
],
|
|
157758
|
+
"payable": false,
|
|
157759
|
+
"stateMutability": "nonpayable",
|
|
157760
|
+
"type": "function"
|
|
157761
|
+
},
|
|
157762
|
+
{
|
|
157763
|
+
"constant": true,
|
|
157764
|
+
"inputs": [],
|
|
157765
|
+
"name": "underlying",
|
|
157766
|
+
"outputs": [
|
|
157767
|
+
{
|
|
157768
|
+
"internalType": "address",
|
|
157769
|
+
"name": "",
|
|
157770
|
+
"type": "address"
|
|
157771
|
+
}
|
|
157772
|
+
],
|
|
157773
|
+
"payable": false,
|
|
157774
|
+
"stateMutability": "view",
|
|
157775
|
+
"type": "function"
|
|
157776
|
+
}
|
|
157777
|
+
]
|
|
157778
|
+
},
|
|
156095
157779
|
"vUSDC": {
|
|
156096
157780
|
"address": "0xecA88125a5ADbe82614ffC12D0DB554E2e2867C8",
|
|
156097
157781
|
"abi": [
|