@venusprotocol/venus-protocol 9.8.0-dev.16 → 9.8.0-dev.17
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/vasBNB.json +2382 -0
- package/deployments/bscmainnet.json +1684 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/bsctestnet/vasBNB.json +2382 -0
- package/deployments/bsctestnet.json +1684 -0
- package/deployments/bsctestnet_addresses.json +1 -0
- package/dist/deployments/bscmainnet.json +1684 -0
- package/dist/deployments/bsctestnet.json +1684 -0
- 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 +7 -0
- package/dist/helpers/tokens/bsctestnet.js +7 -0
- package/dist/helpers/tokens/index.d.ts +42 -0
- package/package.json +1 -1
|
@@ -149163,6 +149163,1690 @@
|
|
|
149163
149163
|
}
|
|
149164
149164
|
]
|
|
149165
149165
|
},
|
|
149166
|
+
"vasBNB": {
|
|
149167
|
+
"address": "0x73F506Aefd5e169D48Ea21A373B9B0a200E37585",
|
|
149168
|
+
"abi": [
|
|
149169
|
+
{
|
|
149170
|
+
"inputs": [
|
|
149171
|
+
{
|
|
149172
|
+
"internalType": "address",
|
|
149173
|
+
"name": "underlying_",
|
|
149174
|
+
"type": "address"
|
|
149175
|
+
},
|
|
149176
|
+
{
|
|
149177
|
+
"internalType": "contract ComptrollerInterface",
|
|
149178
|
+
"name": "comptroller_",
|
|
149179
|
+
"type": "address"
|
|
149180
|
+
},
|
|
149181
|
+
{
|
|
149182
|
+
"internalType": "contract InterestRateModel",
|
|
149183
|
+
"name": "interestRateModel_",
|
|
149184
|
+
"type": "address"
|
|
149185
|
+
},
|
|
149186
|
+
{
|
|
149187
|
+
"internalType": "uint256",
|
|
149188
|
+
"name": "initialExchangeRateMantissa_",
|
|
149189
|
+
"type": "uint256"
|
|
149190
|
+
},
|
|
149191
|
+
{
|
|
149192
|
+
"internalType": "string",
|
|
149193
|
+
"name": "name_",
|
|
149194
|
+
"type": "string"
|
|
149195
|
+
},
|
|
149196
|
+
{
|
|
149197
|
+
"internalType": "string",
|
|
149198
|
+
"name": "symbol_",
|
|
149199
|
+
"type": "string"
|
|
149200
|
+
},
|
|
149201
|
+
{
|
|
149202
|
+
"internalType": "uint8",
|
|
149203
|
+
"name": "decimals_",
|
|
149204
|
+
"type": "uint8"
|
|
149205
|
+
},
|
|
149206
|
+
{
|
|
149207
|
+
"internalType": "address payable",
|
|
149208
|
+
"name": "admin_",
|
|
149209
|
+
"type": "address"
|
|
149210
|
+
},
|
|
149211
|
+
{
|
|
149212
|
+
"internalType": "address",
|
|
149213
|
+
"name": "implementation_",
|
|
149214
|
+
"type": "address"
|
|
149215
|
+
},
|
|
149216
|
+
{
|
|
149217
|
+
"internalType": "bytes",
|
|
149218
|
+
"name": "becomeImplementationData",
|
|
149219
|
+
"type": "bytes"
|
|
149220
|
+
}
|
|
149221
|
+
],
|
|
149222
|
+
"payable": false,
|
|
149223
|
+
"stateMutability": "nonpayable",
|
|
149224
|
+
"type": "constructor"
|
|
149225
|
+
},
|
|
149226
|
+
{
|
|
149227
|
+
"anonymous": false,
|
|
149228
|
+
"inputs": [
|
|
149229
|
+
{
|
|
149230
|
+
"indexed": false,
|
|
149231
|
+
"internalType": "uint256",
|
|
149232
|
+
"name": "cashPrior",
|
|
149233
|
+
"type": "uint256"
|
|
149234
|
+
},
|
|
149235
|
+
{
|
|
149236
|
+
"indexed": false,
|
|
149237
|
+
"internalType": "uint256",
|
|
149238
|
+
"name": "interestAccumulated",
|
|
149239
|
+
"type": "uint256"
|
|
149240
|
+
},
|
|
149241
|
+
{
|
|
149242
|
+
"indexed": false,
|
|
149243
|
+
"internalType": "uint256",
|
|
149244
|
+
"name": "borrowIndex",
|
|
149245
|
+
"type": "uint256"
|
|
149246
|
+
},
|
|
149247
|
+
{
|
|
149248
|
+
"indexed": false,
|
|
149249
|
+
"internalType": "uint256",
|
|
149250
|
+
"name": "totalBorrows",
|
|
149251
|
+
"type": "uint256"
|
|
149252
|
+
}
|
|
149253
|
+
],
|
|
149254
|
+
"name": "AccrueInterest",
|
|
149255
|
+
"type": "event"
|
|
149256
|
+
},
|
|
149257
|
+
{
|
|
149258
|
+
"anonymous": false,
|
|
149259
|
+
"inputs": [
|
|
149260
|
+
{
|
|
149261
|
+
"indexed": true,
|
|
149262
|
+
"internalType": "address",
|
|
149263
|
+
"name": "owner",
|
|
149264
|
+
"type": "address"
|
|
149265
|
+
},
|
|
149266
|
+
{
|
|
149267
|
+
"indexed": true,
|
|
149268
|
+
"internalType": "address",
|
|
149269
|
+
"name": "spender",
|
|
149270
|
+
"type": "address"
|
|
149271
|
+
},
|
|
149272
|
+
{
|
|
149273
|
+
"indexed": false,
|
|
149274
|
+
"internalType": "uint256",
|
|
149275
|
+
"name": "amount",
|
|
149276
|
+
"type": "uint256"
|
|
149277
|
+
}
|
|
149278
|
+
],
|
|
149279
|
+
"name": "Approval",
|
|
149280
|
+
"type": "event"
|
|
149281
|
+
},
|
|
149282
|
+
{
|
|
149283
|
+
"anonymous": false,
|
|
149284
|
+
"inputs": [
|
|
149285
|
+
{
|
|
149286
|
+
"indexed": false,
|
|
149287
|
+
"internalType": "address",
|
|
149288
|
+
"name": "borrower",
|
|
149289
|
+
"type": "address"
|
|
149290
|
+
},
|
|
149291
|
+
{
|
|
149292
|
+
"indexed": false,
|
|
149293
|
+
"internalType": "uint256",
|
|
149294
|
+
"name": "borrowAmount",
|
|
149295
|
+
"type": "uint256"
|
|
149296
|
+
},
|
|
149297
|
+
{
|
|
149298
|
+
"indexed": false,
|
|
149299
|
+
"internalType": "uint256",
|
|
149300
|
+
"name": "accountBorrows",
|
|
149301
|
+
"type": "uint256"
|
|
149302
|
+
},
|
|
149303
|
+
{
|
|
149304
|
+
"indexed": false,
|
|
149305
|
+
"internalType": "uint256",
|
|
149306
|
+
"name": "totalBorrows",
|
|
149307
|
+
"type": "uint256"
|
|
149308
|
+
}
|
|
149309
|
+
],
|
|
149310
|
+
"name": "Borrow",
|
|
149311
|
+
"type": "event"
|
|
149312
|
+
},
|
|
149313
|
+
{
|
|
149314
|
+
"anonymous": false,
|
|
149315
|
+
"inputs": [
|
|
149316
|
+
{
|
|
149317
|
+
"indexed": false,
|
|
149318
|
+
"internalType": "uint256",
|
|
149319
|
+
"name": "error",
|
|
149320
|
+
"type": "uint256"
|
|
149321
|
+
},
|
|
149322
|
+
{
|
|
149323
|
+
"indexed": false,
|
|
149324
|
+
"internalType": "uint256",
|
|
149325
|
+
"name": "info",
|
|
149326
|
+
"type": "uint256"
|
|
149327
|
+
},
|
|
149328
|
+
{
|
|
149329
|
+
"indexed": false,
|
|
149330
|
+
"internalType": "uint256",
|
|
149331
|
+
"name": "detail",
|
|
149332
|
+
"type": "uint256"
|
|
149333
|
+
}
|
|
149334
|
+
],
|
|
149335
|
+
"name": "Failure",
|
|
149336
|
+
"type": "event"
|
|
149337
|
+
},
|
|
149338
|
+
{
|
|
149339
|
+
"anonymous": false,
|
|
149340
|
+
"inputs": [
|
|
149341
|
+
{
|
|
149342
|
+
"indexed": false,
|
|
149343
|
+
"internalType": "address",
|
|
149344
|
+
"name": "liquidator",
|
|
149345
|
+
"type": "address"
|
|
149346
|
+
},
|
|
149347
|
+
{
|
|
149348
|
+
"indexed": false,
|
|
149349
|
+
"internalType": "address",
|
|
149350
|
+
"name": "borrower",
|
|
149351
|
+
"type": "address"
|
|
149352
|
+
},
|
|
149353
|
+
{
|
|
149354
|
+
"indexed": false,
|
|
149355
|
+
"internalType": "uint256",
|
|
149356
|
+
"name": "repayAmount",
|
|
149357
|
+
"type": "uint256"
|
|
149358
|
+
},
|
|
149359
|
+
{
|
|
149360
|
+
"indexed": false,
|
|
149361
|
+
"internalType": "address",
|
|
149362
|
+
"name": "vTokenCollateral",
|
|
149363
|
+
"type": "address"
|
|
149364
|
+
},
|
|
149365
|
+
{
|
|
149366
|
+
"indexed": false,
|
|
149367
|
+
"internalType": "uint256",
|
|
149368
|
+
"name": "seizeTokens",
|
|
149369
|
+
"type": "uint256"
|
|
149370
|
+
}
|
|
149371
|
+
],
|
|
149372
|
+
"name": "LiquidateBorrow",
|
|
149373
|
+
"type": "event"
|
|
149374
|
+
},
|
|
149375
|
+
{
|
|
149376
|
+
"anonymous": false,
|
|
149377
|
+
"inputs": [
|
|
149378
|
+
{
|
|
149379
|
+
"indexed": false,
|
|
149380
|
+
"internalType": "address",
|
|
149381
|
+
"name": "minter",
|
|
149382
|
+
"type": "address"
|
|
149383
|
+
},
|
|
149384
|
+
{
|
|
149385
|
+
"indexed": false,
|
|
149386
|
+
"internalType": "uint256",
|
|
149387
|
+
"name": "mintAmount",
|
|
149388
|
+
"type": "uint256"
|
|
149389
|
+
},
|
|
149390
|
+
{
|
|
149391
|
+
"indexed": false,
|
|
149392
|
+
"internalType": "uint256",
|
|
149393
|
+
"name": "mintTokens",
|
|
149394
|
+
"type": "uint256"
|
|
149395
|
+
},
|
|
149396
|
+
{
|
|
149397
|
+
"indexed": false,
|
|
149398
|
+
"internalType": "uint256",
|
|
149399
|
+
"name": "totalSupply",
|
|
149400
|
+
"type": "uint256"
|
|
149401
|
+
}
|
|
149402
|
+
],
|
|
149403
|
+
"name": "Mint",
|
|
149404
|
+
"type": "event"
|
|
149405
|
+
},
|
|
149406
|
+
{
|
|
149407
|
+
"anonymous": false,
|
|
149408
|
+
"inputs": [
|
|
149409
|
+
{
|
|
149410
|
+
"indexed": false,
|
|
149411
|
+
"internalType": "address",
|
|
149412
|
+
"name": "payer",
|
|
149413
|
+
"type": "address"
|
|
149414
|
+
},
|
|
149415
|
+
{
|
|
149416
|
+
"indexed": false,
|
|
149417
|
+
"internalType": "address",
|
|
149418
|
+
"name": "receiver",
|
|
149419
|
+
"type": "address"
|
|
149420
|
+
},
|
|
149421
|
+
{
|
|
149422
|
+
"indexed": false,
|
|
149423
|
+
"internalType": "uint256",
|
|
149424
|
+
"name": "mintAmount",
|
|
149425
|
+
"type": "uint256"
|
|
149426
|
+
},
|
|
149427
|
+
{
|
|
149428
|
+
"indexed": false,
|
|
149429
|
+
"internalType": "uint256",
|
|
149430
|
+
"name": "mintTokens",
|
|
149431
|
+
"type": "uint256"
|
|
149432
|
+
},
|
|
149433
|
+
{
|
|
149434
|
+
"indexed": false,
|
|
149435
|
+
"internalType": "uint256",
|
|
149436
|
+
"name": "totalSupply",
|
|
149437
|
+
"type": "uint256"
|
|
149438
|
+
}
|
|
149439
|
+
],
|
|
149440
|
+
"name": "MintBehalf",
|
|
149441
|
+
"type": "event"
|
|
149442
|
+
},
|
|
149443
|
+
{
|
|
149444
|
+
"anonymous": false,
|
|
149445
|
+
"inputs": [
|
|
149446
|
+
{
|
|
149447
|
+
"indexed": false,
|
|
149448
|
+
"internalType": "address",
|
|
149449
|
+
"name": "oldAccessControlAddress",
|
|
149450
|
+
"type": "address"
|
|
149451
|
+
},
|
|
149452
|
+
{
|
|
149453
|
+
"indexed": false,
|
|
149454
|
+
"internalType": "address",
|
|
149455
|
+
"name": "newAccessControlAddress",
|
|
149456
|
+
"type": "address"
|
|
149457
|
+
}
|
|
149458
|
+
],
|
|
149459
|
+
"name": "NewAccessControlManager",
|
|
149460
|
+
"type": "event"
|
|
149461
|
+
},
|
|
149462
|
+
{
|
|
149463
|
+
"anonymous": false,
|
|
149464
|
+
"inputs": [
|
|
149465
|
+
{
|
|
149466
|
+
"indexed": false,
|
|
149467
|
+
"internalType": "address",
|
|
149468
|
+
"name": "oldAdmin",
|
|
149469
|
+
"type": "address"
|
|
149470
|
+
},
|
|
149471
|
+
{
|
|
149472
|
+
"indexed": false,
|
|
149473
|
+
"internalType": "address",
|
|
149474
|
+
"name": "newAdmin",
|
|
149475
|
+
"type": "address"
|
|
149476
|
+
}
|
|
149477
|
+
],
|
|
149478
|
+
"name": "NewAdmin",
|
|
149479
|
+
"type": "event"
|
|
149480
|
+
},
|
|
149481
|
+
{
|
|
149482
|
+
"anonymous": false,
|
|
149483
|
+
"inputs": [
|
|
149484
|
+
{
|
|
149485
|
+
"indexed": false,
|
|
149486
|
+
"internalType": "contract ComptrollerInterface",
|
|
149487
|
+
"name": "oldComptroller",
|
|
149488
|
+
"type": "address"
|
|
149489
|
+
},
|
|
149490
|
+
{
|
|
149491
|
+
"indexed": false,
|
|
149492
|
+
"internalType": "contract ComptrollerInterface",
|
|
149493
|
+
"name": "newComptroller",
|
|
149494
|
+
"type": "address"
|
|
149495
|
+
}
|
|
149496
|
+
],
|
|
149497
|
+
"name": "NewComptroller",
|
|
149498
|
+
"type": "event"
|
|
149499
|
+
},
|
|
149500
|
+
{
|
|
149501
|
+
"anonymous": false,
|
|
149502
|
+
"inputs": [
|
|
149503
|
+
{
|
|
149504
|
+
"indexed": false,
|
|
149505
|
+
"internalType": "address",
|
|
149506
|
+
"name": "oldImplementation",
|
|
149507
|
+
"type": "address"
|
|
149508
|
+
},
|
|
149509
|
+
{
|
|
149510
|
+
"indexed": false,
|
|
149511
|
+
"internalType": "address",
|
|
149512
|
+
"name": "newImplementation",
|
|
149513
|
+
"type": "address"
|
|
149514
|
+
}
|
|
149515
|
+
],
|
|
149516
|
+
"name": "NewImplementation",
|
|
149517
|
+
"type": "event"
|
|
149518
|
+
},
|
|
149519
|
+
{
|
|
149520
|
+
"anonymous": false,
|
|
149521
|
+
"inputs": [
|
|
149522
|
+
{
|
|
149523
|
+
"indexed": false,
|
|
149524
|
+
"internalType": "contract InterestRateModel",
|
|
149525
|
+
"name": "oldInterestRateModel",
|
|
149526
|
+
"type": "address"
|
|
149527
|
+
},
|
|
149528
|
+
{
|
|
149529
|
+
"indexed": false,
|
|
149530
|
+
"internalType": "contract InterestRateModel",
|
|
149531
|
+
"name": "newInterestRateModel",
|
|
149532
|
+
"type": "address"
|
|
149533
|
+
}
|
|
149534
|
+
],
|
|
149535
|
+
"name": "NewMarketInterestRateModel",
|
|
149536
|
+
"type": "event"
|
|
149537
|
+
},
|
|
149538
|
+
{
|
|
149539
|
+
"anonymous": false,
|
|
149540
|
+
"inputs": [
|
|
149541
|
+
{
|
|
149542
|
+
"indexed": false,
|
|
149543
|
+
"internalType": "address",
|
|
149544
|
+
"name": "oldPendingAdmin",
|
|
149545
|
+
"type": "address"
|
|
149546
|
+
},
|
|
149547
|
+
{
|
|
149548
|
+
"indexed": false,
|
|
149549
|
+
"internalType": "address",
|
|
149550
|
+
"name": "newPendingAdmin",
|
|
149551
|
+
"type": "address"
|
|
149552
|
+
}
|
|
149553
|
+
],
|
|
149554
|
+
"name": "NewPendingAdmin",
|
|
149555
|
+
"type": "event"
|
|
149556
|
+
},
|
|
149557
|
+
{
|
|
149558
|
+
"anonymous": false,
|
|
149559
|
+
"inputs": [
|
|
149560
|
+
{
|
|
149561
|
+
"indexed": true,
|
|
149562
|
+
"internalType": "address",
|
|
149563
|
+
"name": "oldProtocolShareReserve",
|
|
149564
|
+
"type": "address"
|
|
149565
|
+
},
|
|
149566
|
+
{
|
|
149567
|
+
"indexed": true,
|
|
149568
|
+
"internalType": "address",
|
|
149569
|
+
"name": "newProtocolShareReserve",
|
|
149570
|
+
"type": "address"
|
|
149571
|
+
}
|
|
149572
|
+
],
|
|
149573
|
+
"name": "NewProtocolShareReserve",
|
|
149574
|
+
"type": "event"
|
|
149575
|
+
},
|
|
149576
|
+
{
|
|
149577
|
+
"anonymous": false,
|
|
149578
|
+
"inputs": [
|
|
149579
|
+
{
|
|
149580
|
+
"indexed": false,
|
|
149581
|
+
"internalType": "uint256",
|
|
149582
|
+
"name": "oldReduceReservesBlockDelta",
|
|
149583
|
+
"type": "uint256"
|
|
149584
|
+
},
|
|
149585
|
+
{
|
|
149586
|
+
"indexed": false,
|
|
149587
|
+
"internalType": "uint256",
|
|
149588
|
+
"name": "newReduceReservesBlockDelta",
|
|
149589
|
+
"type": "uint256"
|
|
149590
|
+
}
|
|
149591
|
+
],
|
|
149592
|
+
"name": "NewReduceReservesBlockDelta",
|
|
149593
|
+
"type": "event"
|
|
149594
|
+
},
|
|
149595
|
+
{
|
|
149596
|
+
"anonymous": false,
|
|
149597
|
+
"inputs": [
|
|
149598
|
+
{
|
|
149599
|
+
"indexed": false,
|
|
149600
|
+
"internalType": "uint256",
|
|
149601
|
+
"name": "oldReserveFactorMantissa",
|
|
149602
|
+
"type": "uint256"
|
|
149603
|
+
},
|
|
149604
|
+
{
|
|
149605
|
+
"indexed": false,
|
|
149606
|
+
"internalType": "uint256",
|
|
149607
|
+
"name": "newReserveFactorMantissa",
|
|
149608
|
+
"type": "uint256"
|
|
149609
|
+
}
|
|
149610
|
+
],
|
|
149611
|
+
"name": "NewReserveFactor",
|
|
149612
|
+
"type": "event"
|
|
149613
|
+
},
|
|
149614
|
+
{
|
|
149615
|
+
"anonymous": false,
|
|
149616
|
+
"inputs": [
|
|
149617
|
+
{
|
|
149618
|
+
"indexed": false,
|
|
149619
|
+
"internalType": "address",
|
|
149620
|
+
"name": "redeemer",
|
|
149621
|
+
"type": "address"
|
|
149622
|
+
},
|
|
149623
|
+
{
|
|
149624
|
+
"indexed": false,
|
|
149625
|
+
"internalType": "uint256",
|
|
149626
|
+
"name": "redeemAmount",
|
|
149627
|
+
"type": "uint256"
|
|
149628
|
+
},
|
|
149629
|
+
{
|
|
149630
|
+
"indexed": false,
|
|
149631
|
+
"internalType": "uint256",
|
|
149632
|
+
"name": "redeemTokens",
|
|
149633
|
+
"type": "uint256"
|
|
149634
|
+
},
|
|
149635
|
+
{
|
|
149636
|
+
"indexed": false,
|
|
149637
|
+
"internalType": "uint256",
|
|
149638
|
+
"name": "totalSupply",
|
|
149639
|
+
"type": "uint256"
|
|
149640
|
+
}
|
|
149641
|
+
],
|
|
149642
|
+
"name": "Redeem",
|
|
149643
|
+
"type": "event"
|
|
149644
|
+
},
|
|
149645
|
+
{
|
|
149646
|
+
"anonymous": false,
|
|
149647
|
+
"inputs": [
|
|
149648
|
+
{
|
|
149649
|
+
"indexed": false,
|
|
149650
|
+
"internalType": "address",
|
|
149651
|
+
"name": "redeemer",
|
|
149652
|
+
"type": "address"
|
|
149653
|
+
},
|
|
149654
|
+
{
|
|
149655
|
+
"indexed": false,
|
|
149656
|
+
"internalType": "uint256",
|
|
149657
|
+
"name": "feeAmount",
|
|
149658
|
+
"type": "uint256"
|
|
149659
|
+
},
|
|
149660
|
+
{
|
|
149661
|
+
"indexed": false,
|
|
149662
|
+
"internalType": "uint256",
|
|
149663
|
+
"name": "redeemTokens",
|
|
149664
|
+
"type": "uint256"
|
|
149665
|
+
}
|
|
149666
|
+
],
|
|
149667
|
+
"name": "RedeemFee",
|
|
149668
|
+
"type": "event"
|
|
149669
|
+
},
|
|
149670
|
+
{
|
|
149671
|
+
"anonymous": false,
|
|
149672
|
+
"inputs": [
|
|
149673
|
+
{
|
|
149674
|
+
"indexed": false,
|
|
149675
|
+
"internalType": "address",
|
|
149676
|
+
"name": "payer",
|
|
149677
|
+
"type": "address"
|
|
149678
|
+
},
|
|
149679
|
+
{
|
|
149680
|
+
"indexed": false,
|
|
149681
|
+
"internalType": "address",
|
|
149682
|
+
"name": "borrower",
|
|
149683
|
+
"type": "address"
|
|
149684
|
+
},
|
|
149685
|
+
{
|
|
149686
|
+
"indexed": false,
|
|
149687
|
+
"internalType": "uint256",
|
|
149688
|
+
"name": "repayAmount",
|
|
149689
|
+
"type": "uint256"
|
|
149690
|
+
},
|
|
149691
|
+
{
|
|
149692
|
+
"indexed": false,
|
|
149693
|
+
"internalType": "uint256",
|
|
149694
|
+
"name": "accountBorrows",
|
|
149695
|
+
"type": "uint256"
|
|
149696
|
+
},
|
|
149697
|
+
{
|
|
149698
|
+
"indexed": false,
|
|
149699
|
+
"internalType": "uint256",
|
|
149700
|
+
"name": "totalBorrows",
|
|
149701
|
+
"type": "uint256"
|
|
149702
|
+
}
|
|
149703
|
+
],
|
|
149704
|
+
"name": "RepayBorrow",
|
|
149705
|
+
"type": "event"
|
|
149706
|
+
},
|
|
149707
|
+
{
|
|
149708
|
+
"anonymous": false,
|
|
149709
|
+
"inputs": [
|
|
149710
|
+
{
|
|
149711
|
+
"indexed": false,
|
|
149712
|
+
"internalType": "address",
|
|
149713
|
+
"name": "benefactor",
|
|
149714
|
+
"type": "address"
|
|
149715
|
+
},
|
|
149716
|
+
{
|
|
149717
|
+
"indexed": false,
|
|
149718
|
+
"internalType": "uint256",
|
|
149719
|
+
"name": "addAmount",
|
|
149720
|
+
"type": "uint256"
|
|
149721
|
+
},
|
|
149722
|
+
{
|
|
149723
|
+
"indexed": false,
|
|
149724
|
+
"internalType": "uint256",
|
|
149725
|
+
"name": "newTotalReserves",
|
|
149726
|
+
"type": "uint256"
|
|
149727
|
+
}
|
|
149728
|
+
],
|
|
149729
|
+
"name": "ReservesAdded",
|
|
149730
|
+
"type": "event"
|
|
149731
|
+
},
|
|
149732
|
+
{
|
|
149733
|
+
"anonymous": false,
|
|
149734
|
+
"inputs": [
|
|
149735
|
+
{
|
|
149736
|
+
"indexed": false,
|
|
149737
|
+
"internalType": "address",
|
|
149738
|
+
"name": "protocolShareReserve",
|
|
149739
|
+
"type": "address"
|
|
149740
|
+
},
|
|
149741
|
+
{
|
|
149742
|
+
"indexed": false,
|
|
149743
|
+
"internalType": "uint256",
|
|
149744
|
+
"name": "reduceAmount",
|
|
149745
|
+
"type": "uint256"
|
|
149746
|
+
},
|
|
149747
|
+
{
|
|
149748
|
+
"indexed": false,
|
|
149749
|
+
"internalType": "uint256",
|
|
149750
|
+
"name": "newTotalReserves",
|
|
149751
|
+
"type": "uint256"
|
|
149752
|
+
}
|
|
149753
|
+
],
|
|
149754
|
+
"name": "ReservesReduced",
|
|
149755
|
+
"type": "event"
|
|
149756
|
+
},
|
|
149757
|
+
{
|
|
149758
|
+
"anonymous": false,
|
|
149759
|
+
"inputs": [
|
|
149760
|
+
{
|
|
149761
|
+
"indexed": true,
|
|
149762
|
+
"internalType": "address",
|
|
149763
|
+
"name": "from",
|
|
149764
|
+
"type": "address"
|
|
149765
|
+
},
|
|
149766
|
+
{
|
|
149767
|
+
"indexed": true,
|
|
149768
|
+
"internalType": "address",
|
|
149769
|
+
"name": "to",
|
|
149770
|
+
"type": "address"
|
|
149771
|
+
},
|
|
149772
|
+
{
|
|
149773
|
+
"indexed": false,
|
|
149774
|
+
"internalType": "uint256",
|
|
149775
|
+
"name": "amount",
|
|
149776
|
+
"type": "uint256"
|
|
149777
|
+
}
|
|
149778
|
+
],
|
|
149779
|
+
"name": "Transfer",
|
|
149780
|
+
"type": "event"
|
|
149781
|
+
},
|
|
149782
|
+
{
|
|
149783
|
+
"payable": true,
|
|
149784
|
+
"stateMutability": "payable",
|
|
149785
|
+
"type": "fallback"
|
|
149786
|
+
},
|
|
149787
|
+
{
|
|
149788
|
+
"constant": false,
|
|
149789
|
+
"inputs": [],
|
|
149790
|
+
"name": "_acceptAdmin",
|
|
149791
|
+
"outputs": [
|
|
149792
|
+
{
|
|
149793
|
+
"internalType": "uint256",
|
|
149794
|
+
"name": "",
|
|
149795
|
+
"type": "uint256"
|
|
149796
|
+
}
|
|
149797
|
+
],
|
|
149798
|
+
"payable": false,
|
|
149799
|
+
"stateMutability": "nonpayable",
|
|
149800
|
+
"type": "function"
|
|
149801
|
+
},
|
|
149802
|
+
{
|
|
149803
|
+
"constant": false,
|
|
149804
|
+
"inputs": [
|
|
149805
|
+
{
|
|
149806
|
+
"internalType": "uint256",
|
|
149807
|
+
"name": "addAmount",
|
|
149808
|
+
"type": "uint256"
|
|
149809
|
+
}
|
|
149810
|
+
],
|
|
149811
|
+
"name": "_addReserves",
|
|
149812
|
+
"outputs": [
|
|
149813
|
+
{
|
|
149814
|
+
"internalType": "uint256",
|
|
149815
|
+
"name": "",
|
|
149816
|
+
"type": "uint256"
|
|
149817
|
+
}
|
|
149818
|
+
],
|
|
149819
|
+
"payable": false,
|
|
149820
|
+
"stateMutability": "nonpayable",
|
|
149821
|
+
"type": "function"
|
|
149822
|
+
},
|
|
149823
|
+
{
|
|
149824
|
+
"constant": false,
|
|
149825
|
+
"inputs": [
|
|
149826
|
+
{
|
|
149827
|
+
"internalType": "uint256",
|
|
149828
|
+
"name": "reduceAmount",
|
|
149829
|
+
"type": "uint256"
|
|
149830
|
+
}
|
|
149831
|
+
],
|
|
149832
|
+
"name": "_reduceReserves",
|
|
149833
|
+
"outputs": [
|
|
149834
|
+
{
|
|
149835
|
+
"internalType": "uint256",
|
|
149836
|
+
"name": "",
|
|
149837
|
+
"type": "uint256"
|
|
149838
|
+
}
|
|
149839
|
+
],
|
|
149840
|
+
"payable": false,
|
|
149841
|
+
"stateMutability": "nonpayable",
|
|
149842
|
+
"type": "function"
|
|
149843
|
+
},
|
|
149844
|
+
{
|
|
149845
|
+
"constant": false,
|
|
149846
|
+
"inputs": [
|
|
149847
|
+
{
|
|
149848
|
+
"internalType": "contract ComptrollerInterface",
|
|
149849
|
+
"name": "newComptroller",
|
|
149850
|
+
"type": "address"
|
|
149851
|
+
}
|
|
149852
|
+
],
|
|
149853
|
+
"name": "_setComptroller",
|
|
149854
|
+
"outputs": [
|
|
149855
|
+
{
|
|
149856
|
+
"internalType": "uint256",
|
|
149857
|
+
"name": "",
|
|
149858
|
+
"type": "uint256"
|
|
149859
|
+
}
|
|
149860
|
+
],
|
|
149861
|
+
"payable": false,
|
|
149862
|
+
"stateMutability": "nonpayable",
|
|
149863
|
+
"type": "function"
|
|
149864
|
+
},
|
|
149865
|
+
{
|
|
149866
|
+
"constant": false,
|
|
149867
|
+
"inputs": [
|
|
149868
|
+
{
|
|
149869
|
+
"internalType": "address",
|
|
149870
|
+
"name": "implementation_",
|
|
149871
|
+
"type": "address"
|
|
149872
|
+
},
|
|
149873
|
+
{
|
|
149874
|
+
"internalType": "bool",
|
|
149875
|
+
"name": "allowResign",
|
|
149876
|
+
"type": "bool"
|
|
149877
|
+
},
|
|
149878
|
+
{
|
|
149879
|
+
"internalType": "bytes",
|
|
149880
|
+
"name": "becomeImplementationData",
|
|
149881
|
+
"type": "bytes"
|
|
149882
|
+
}
|
|
149883
|
+
],
|
|
149884
|
+
"name": "_setImplementation",
|
|
149885
|
+
"outputs": [],
|
|
149886
|
+
"payable": false,
|
|
149887
|
+
"stateMutability": "nonpayable",
|
|
149888
|
+
"type": "function"
|
|
149889
|
+
},
|
|
149890
|
+
{
|
|
149891
|
+
"constant": false,
|
|
149892
|
+
"inputs": [
|
|
149893
|
+
{
|
|
149894
|
+
"internalType": "contract InterestRateModel",
|
|
149895
|
+
"name": "newInterestRateModel",
|
|
149896
|
+
"type": "address"
|
|
149897
|
+
}
|
|
149898
|
+
],
|
|
149899
|
+
"name": "_setInterestRateModel",
|
|
149900
|
+
"outputs": [
|
|
149901
|
+
{
|
|
149902
|
+
"internalType": "uint256",
|
|
149903
|
+
"name": "",
|
|
149904
|
+
"type": "uint256"
|
|
149905
|
+
}
|
|
149906
|
+
],
|
|
149907
|
+
"payable": false,
|
|
149908
|
+
"stateMutability": "nonpayable",
|
|
149909
|
+
"type": "function"
|
|
149910
|
+
},
|
|
149911
|
+
{
|
|
149912
|
+
"constant": false,
|
|
149913
|
+
"inputs": [
|
|
149914
|
+
{
|
|
149915
|
+
"internalType": "address payable",
|
|
149916
|
+
"name": "newPendingAdmin",
|
|
149917
|
+
"type": "address"
|
|
149918
|
+
}
|
|
149919
|
+
],
|
|
149920
|
+
"name": "_setPendingAdmin",
|
|
149921
|
+
"outputs": [
|
|
149922
|
+
{
|
|
149923
|
+
"internalType": "uint256",
|
|
149924
|
+
"name": "",
|
|
149925
|
+
"type": "uint256"
|
|
149926
|
+
}
|
|
149927
|
+
],
|
|
149928
|
+
"payable": false,
|
|
149929
|
+
"stateMutability": "nonpayable",
|
|
149930
|
+
"type": "function"
|
|
149931
|
+
},
|
|
149932
|
+
{
|
|
149933
|
+
"constant": false,
|
|
149934
|
+
"inputs": [
|
|
149935
|
+
{
|
|
149936
|
+
"internalType": "uint256",
|
|
149937
|
+
"name": "newReserveFactorMantissa",
|
|
149938
|
+
"type": "uint256"
|
|
149939
|
+
}
|
|
149940
|
+
],
|
|
149941
|
+
"name": "_setReserveFactor",
|
|
149942
|
+
"outputs": [
|
|
149943
|
+
{
|
|
149944
|
+
"internalType": "uint256",
|
|
149945
|
+
"name": "",
|
|
149946
|
+
"type": "uint256"
|
|
149947
|
+
}
|
|
149948
|
+
],
|
|
149949
|
+
"payable": false,
|
|
149950
|
+
"stateMutability": "nonpayable",
|
|
149951
|
+
"type": "function"
|
|
149952
|
+
},
|
|
149953
|
+
{
|
|
149954
|
+
"constant": true,
|
|
149955
|
+
"inputs": [],
|
|
149956
|
+
"name": "accessControlManager",
|
|
149957
|
+
"outputs": [
|
|
149958
|
+
{
|
|
149959
|
+
"internalType": "address",
|
|
149960
|
+
"name": "",
|
|
149961
|
+
"type": "address"
|
|
149962
|
+
}
|
|
149963
|
+
],
|
|
149964
|
+
"payable": false,
|
|
149965
|
+
"stateMutability": "view",
|
|
149966
|
+
"type": "function"
|
|
149967
|
+
},
|
|
149968
|
+
{
|
|
149969
|
+
"constant": true,
|
|
149970
|
+
"inputs": [],
|
|
149971
|
+
"name": "accrualBlockNumber",
|
|
149972
|
+
"outputs": [
|
|
149973
|
+
{
|
|
149974
|
+
"internalType": "uint256",
|
|
149975
|
+
"name": "",
|
|
149976
|
+
"type": "uint256"
|
|
149977
|
+
}
|
|
149978
|
+
],
|
|
149979
|
+
"payable": false,
|
|
149980
|
+
"stateMutability": "view",
|
|
149981
|
+
"type": "function"
|
|
149982
|
+
},
|
|
149983
|
+
{
|
|
149984
|
+
"constant": false,
|
|
149985
|
+
"inputs": [],
|
|
149986
|
+
"name": "accrueInterest",
|
|
149987
|
+
"outputs": [
|
|
149988
|
+
{
|
|
149989
|
+
"internalType": "uint256",
|
|
149990
|
+
"name": "",
|
|
149991
|
+
"type": "uint256"
|
|
149992
|
+
}
|
|
149993
|
+
],
|
|
149994
|
+
"payable": false,
|
|
149995
|
+
"stateMutability": "nonpayable",
|
|
149996
|
+
"type": "function"
|
|
149997
|
+
},
|
|
149998
|
+
{
|
|
149999
|
+
"constant": true,
|
|
150000
|
+
"inputs": [],
|
|
150001
|
+
"name": "admin",
|
|
150002
|
+
"outputs": [
|
|
150003
|
+
{
|
|
150004
|
+
"internalType": "address payable",
|
|
150005
|
+
"name": "",
|
|
150006
|
+
"type": "address"
|
|
150007
|
+
}
|
|
150008
|
+
],
|
|
150009
|
+
"payable": false,
|
|
150010
|
+
"stateMutability": "view",
|
|
150011
|
+
"type": "function"
|
|
150012
|
+
},
|
|
150013
|
+
{
|
|
150014
|
+
"constant": true,
|
|
150015
|
+
"inputs": [
|
|
150016
|
+
{
|
|
150017
|
+
"internalType": "address",
|
|
150018
|
+
"name": "owner",
|
|
150019
|
+
"type": "address"
|
|
150020
|
+
},
|
|
150021
|
+
{
|
|
150022
|
+
"internalType": "address",
|
|
150023
|
+
"name": "spender",
|
|
150024
|
+
"type": "address"
|
|
150025
|
+
}
|
|
150026
|
+
],
|
|
150027
|
+
"name": "allowance",
|
|
150028
|
+
"outputs": [
|
|
150029
|
+
{
|
|
150030
|
+
"internalType": "uint256",
|
|
150031
|
+
"name": "",
|
|
150032
|
+
"type": "uint256"
|
|
150033
|
+
}
|
|
150034
|
+
],
|
|
150035
|
+
"payable": false,
|
|
150036
|
+
"stateMutability": "view",
|
|
150037
|
+
"type": "function"
|
|
150038
|
+
},
|
|
150039
|
+
{
|
|
150040
|
+
"constant": false,
|
|
150041
|
+
"inputs": [
|
|
150042
|
+
{
|
|
150043
|
+
"internalType": "address",
|
|
150044
|
+
"name": "spender",
|
|
150045
|
+
"type": "address"
|
|
150046
|
+
},
|
|
150047
|
+
{
|
|
150048
|
+
"internalType": "uint256",
|
|
150049
|
+
"name": "amount",
|
|
150050
|
+
"type": "uint256"
|
|
150051
|
+
}
|
|
150052
|
+
],
|
|
150053
|
+
"name": "approve",
|
|
150054
|
+
"outputs": [
|
|
150055
|
+
{
|
|
150056
|
+
"internalType": "bool",
|
|
150057
|
+
"name": "",
|
|
150058
|
+
"type": "bool"
|
|
150059
|
+
}
|
|
150060
|
+
],
|
|
150061
|
+
"payable": false,
|
|
150062
|
+
"stateMutability": "nonpayable",
|
|
150063
|
+
"type": "function"
|
|
150064
|
+
},
|
|
150065
|
+
{
|
|
150066
|
+
"constant": true,
|
|
150067
|
+
"inputs": [
|
|
150068
|
+
{
|
|
150069
|
+
"internalType": "address",
|
|
150070
|
+
"name": "owner",
|
|
150071
|
+
"type": "address"
|
|
150072
|
+
}
|
|
150073
|
+
],
|
|
150074
|
+
"name": "balanceOf",
|
|
150075
|
+
"outputs": [
|
|
150076
|
+
{
|
|
150077
|
+
"internalType": "uint256",
|
|
150078
|
+
"name": "",
|
|
150079
|
+
"type": "uint256"
|
|
150080
|
+
}
|
|
150081
|
+
],
|
|
150082
|
+
"payable": false,
|
|
150083
|
+
"stateMutability": "view",
|
|
150084
|
+
"type": "function"
|
|
150085
|
+
},
|
|
150086
|
+
{
|
|
150087
|
+
"constant": false,
|
|
150088
|
+
"inputs": [
|
|
150089
|
+
{
|
|
150090
|
+
"internalType": "address",
|
|
150091
|
+
"name": "owner",
|
|
150092
|
+
"type": "address"
|
|
150093
|
+
}
|
|
150094
|
+
],
|
|
150095
|
+
"name": "balanceOfUnderlying",
|
|
150096
|
+
"outputs": [
|
|
150097
|
+
{
|
|
150098
|
+
"internalType": "uint256",
|
|
150099
|
+
"name": "",
|
|
150100
|
+
"type": "uint256"
|
|
150101
|
+
}
|
|
150102
|
+
],
|
|
150103
|
+
"payable": false,
|
|
150104
|
+
"stateMutability": "nonpayable",
|
|
150105
|
+
"type": "function"
|
|
150106
|
+
},
|
|
150107
|
+
{
|
|
150108
|
+
"constant": false,
|
|
150109
|
+
"inputs": [
|
|
150110
|
+
{
|
|
150111
|
+
"internalType": "uint256",
|
|
150112
|
+
"name": "borrowAmount",
|
|
150113
|
+
"type": "uint256"
|
|
150114
|
+
}
|
|
150115
|
+
],
|
|
150116
|
+
"name": "borrow",
|
|
150117
|
+
"outputs": [
|
|
150118
|
+
{
|
|
150119
|
+
"internalType": "uint256",
|
|
150120
|
+
"name": "",
|
|
150121
|
+
"type": "uint256"
|
|
150122
|
+
}
|
|
150123
|
+
],
|
|
150124
|
+
"payable": false,
|
|
150125
|
+
"stateMutability": "nonpayable",
|
|
150126
|
+
"type": "function"
|
|
150127
|
+
},
|
|
150128
|
+
{
|
|
150129
|
+
"constant": false,
|
|
150130
|
+
"inputs": [
|
|
150131
|
+
{
|
|
150132
|
+
"internalType": "address",
|
|
150133
|
+
"name": "account",
|
|
150134
|
+
"type": "address"
|
|
150135
|
+
}
|
|
150136
|
+
],
|
|
150137
|
+
"name": "borrowBalanceCurrent",
|
|
150138
|
+
"outputs": [
|
|
150139
|
+
{
|
|
150140
|
+
"internalType": "uint256",
|
|
150141
|
+
"name": "",
|
|
150142
|
+
"type": "uint256"
|
|
150143
|
+
}
|
|
150144
|
+
],
|
|
150145
|
+
"payable": false,
|
|
150146
|
+
"stateMutability": "nonpayable",
|
|
150147
|
+
"type": "function"
|
|
150148
|
+
},
|
|
150149
|
+
{
|
|
150150
|
+
"constant": true,
|
|
150151
|
+
"inputs": [
|
|
150152
|
+
{
|
|
150153
|
+
"internalType": "address",
|
|
150154
|
+
"name": "account",
|
|
150155
|
+
"type": "address"
|
|
150156
|
+
}
|
|
150157
|
+
],
|
|
150158
|
+
"name": "borrowBalanceStored",
|
|
150159
|
+
"outputs": [
|
|
150160
|
+
{
|
|
150161
|
+
"internalType": "uint256",
|
|
150162
|
+
"name": "",
|
|
150163
|
+
"type": "uint256"
|
|
150164
|
+
}
|
|
150165
|
+
],
|
|
150166
|
+
"payable": false,
|
|
150167
|
+
"stateMutability": "view",
|
|
150168
|
+
"type": "function"
|
|
150169
|
+
},
|
|
150170
|
+
{
|
|
150171
|
+
"constant": true,
|
|
150172
|
+
"inputs": [],
|
|
150173
|
+
"name": "borrowIndex",
|
|
150174
|
+
"outputs": [
|
|
150175
|
+
{
|
|
150176
|
+
"internalType": "uint256",
|
|
150177
|
+
"name": "",
|
|
150178
|
+
"type": "uint256"
|
|
150179
|
+
}
|
|
150180
|
+
],
|
|
150181
|
+
"payable": false,
|
|
150182
|
+
"stateMutability": "view",
|
|
150183
|
+
"type": "function"
|
|
150184
|
+
},
|
|
150185
|
+
{
|
|
150186
|
+
"constant": true,
|
|
150187
|
+
"inputs": [],
|
|
150188
|
+
"name": "borrowRatePerBlock",
|
|
150189
|
+
"outputs": [
|
|
150190
|
+
{
|
|
150191
|
+
"internalType": "uint256",
|
|
150192
|
+
"name": "",
|
|
150193
|
+
"type": "uint256"
|
|
150194
|
+
}
|
|
150195
|
+
],
|
|
150196
|
+
"payable": false,
|
|
150197
|
+
"stateMutability": "view",
|
|
150198
|
+
"type": "function"
|
|
150199
|
+
},
|
|
150200
|
+
{
|
|
150201
|
+
"constant": true,
|
|
150202
|
+
"inputs": [],
|
|
150203
|
+
"name": "comptroller",
|
|
150204
|
+
"outputs": [
|
|
150205
|
+
{
|
|
150206
|
+
"internalType": "contract ComptrollerInterface",
|
|
150207
|
+
"name": "",
|
|
150208
|
+
"type": "address"
|
|
150209
|
+
}
|
|
150210
|
+
],
|
|
150211
|
+
"payable": false,
|
|
150212
|
+
"stateMutability": "view",
|
|
150213
|
+
"type": "function"
|
|
150214
|
+
},
|
|
150215
|
+
{
|
|
150216
|
+
"constant": true,
|
|
150217
|
+
"inputs": [],
|
|
150218
|
+
"name": "decimals",
|
|
150219
|
+
"outputs": [
|
|
150220
|
+
{
|
|
150221
|
+
"internalType": "uint8",
|
|
150222
|
+
"name": "",
|
|
150223
|
+
"type": "uint8"
|
|
150224
|
+
}
|
|
150225
|
+
],
|
|
150226
|
+
"payable": false,
|
|
150227
|
+
"stateMutability": "view",
|
|
150228
|
+
"type": "function"
|
|
150229
|
+
},
|
|
150230
|
+
{
|
|
150231
|
+
"constant": false,
|
|
150232
|
+
"inputs": [
|
|
150233
|
+
{
|
|
150234
|
+
"internalType": "bytes",
|
|
150235
|
+
"name": "data",
|
|
150236
|
+
"type": "bytes"
|
|
150237
|
+
}
|
|
150238
|
+
],
|
|
150239
|
+
"name": "delegateToImplementation",
|
|
150240
|
+
"outputs": [
|
|
150241
|
+
{
|
|
150242
|
+
"internalType": "bytes",
|
|
150243
|
+
"name": "",
|
|
150244
|
+
"type": "bytes"
|
|
150245
|
+
}
|
|
150246
|
+
],
|
|
150247
|
+
"payable": false,
|
|
150248
|
+
"stateMutability": "nonpayable",
|
|
150249
|
+
"type": "function"
|
|
150250
|
+
},
|
|
150251
|
+
{
|
|
150252
|
+
"constant": true,
|
|
150253
|
+
"inputs": [
|
|
150254
|
+
{
|
|
150255
|
+
"internalType": "bytes",
|
|
150256
|
+
"name": "data",
|
|
150257
|
+
"type": "bytes"
|
|
150258
|
+
}
|
|
150259
|
+
],
|
|
150260
|
+
"name": "delegateToViewImplementation",
|
|
150261
|
+
"outputs": [
|
|
150262
|
+
{
|
|
150263
|
+
"internalType": "bytes",
|
|
150264
|
+
"name": "",
|
|
150265
|
+
"type": "bytes"
|
|
150266
|
+
}
|
|
150267
|
+
],
|
|
150268
|
+
"payable": false,
|
|
150269
|
+
"stateMutability": "view",
|
|
150270
|
+
"type": "function"
|
|
150271
|
+
},
|
|
150272
|
+
{
|
|
150273
|
+
"constant": false,
|
|
150274
|
+
"inputs": [],
|
|
150275
|
+
"name": "exchangeRateCurrent",
|
|
150276
|
+
"outputs": [
|
|
150277
|
+
{
|
|
150278
|
+
"internalType": "uint256",
|
|
150279
|
+
"name": "",
|
|
150280
|
+
"type": "uint256"
|
|
150281
|
+
}
|
|
150282
|
+
],
|
|
150283
|
+
"payable": false,
|
|
150284
|
+
"stateMutability": "nonpayable",
|
|
150285
|
+
"type": "function"
|
|
150286
|
+
},
|
|
150287
|
+
{
|
|
150288
|
+
"constant": true,
|
|
150289
|
+
"inputs": [],
|
|
150290
|
+
"name": "exchangeRateStored",
|
|
150291
|
+
"outputs": [
|
|
150292
|
+
{
|
|
150293
|
+
"internalType": "uint256",
|
|
150294
|
+
"name": "",
|
|
150295
|
+
"type": "uint256"
|
|
150296
|
+
}
|
|
150297
|
+
],
|
|
150298
|
+
"payable": false,
|
|
150299
|
+
"stateMutability": "view",
|
|
150300
|
+
"type": "function"
|
|
150301
|
+
},
|
|
150302
|
+
{
|
|
150303
|
+
"constant": true,
|
|
150304
|
+
"inputs": [
|
|
150305
|
+
{
|
|
150306
|
+
"internalType": "address",
|
|
150307
|
+
"name": "account",
|
|
150308
|
+
"type": "address"
|
|
150309
|
+
}
|
|
150310
|
+
],
|
|
150311
|
+
"name": "getAccountSnapshot",
|
|
150312
|
+
"outputs": [
|
|
150313
|
+
{
|
|
150314
|
+
"internalType": "uint256",
|
|
150315
|
+
"name": "",
|
|
150316
|
+
"type": "uint256"
|
|
150317
|
+
},
|
|
150318
|
+
{
|
|
150319
|
+
"internalType": "uint256",
|
|
150320
|
+
"name": "",
|
|
150321
|
+
"type": "uint256"
|
|
150322
|
+
},
|
|
150323
|
+
{
|
|
150324
|
+
"internalType": "uint256",
|
|
150325
|
+
"name": "",
|
|
150326
|
+
"type": "uint256"
|
|
150327
|
+
},
|
|
150328
|
+
{
|
|
150329
|
+
"internalType": "uint256",
|
|
150330
|
+
"name": "",
|
|
150331
|
+
"type": "uint256"
|
|
150332
|
+
}
|
|
150333
|
+
],
|
|
150334
|
+
"payable": false,
|
|
150335
|
+
"stateMutability": "view",
|
|
150336
|
+
"type": "function"
|
|
150337
|
+
},
|
|
150338
|
+
{
|
|
150339
|
+
"constant": true,
|
|
150340
|
+
"inputs": [],
|
|
150341
|
+
"name": "getCash",
|
|
150342
|
+
"outputs": [
|
|
150343
|
+
{
|
|
150344
|
+
"internalType": "uint256",
|
|
150345
|
+
"name": "",
|
|
150346
|
+
"type": "uint256"
|
|
150347
|
+
}
|
|
150348
|
+
],
|
|
150349
|
+
"payable": false,
|
|
150350
|
+
"stateMutability": "view",
|
|
150351
|
+
"type": "function"
|
|
150352
|
+
},
|
|
150353
|
+
{
|
|
150354
|
+
"constant": true,
|
|
150355
|
+
"inputs": [],
|
|
150356
|
+
"name": "implementation",
|
|
150357
|
+
"outputs": [
|
|
150358
|
+
{
|
|
150359
|
+
"internalType": "address",
|
|
150360
|
+
"name": "",
|
|
150361
|
+
"type": "address"
|
|
150362
|
+
}
|
|
150363
|
+
],
|
|
150364
|
+
"payable": false,
|
|
150365
|
+
"stateMutability": "view",
|
|
150366
|
+
"type": "function"
|
|
150367
|
+
},
|
|
150368
|
+
{
|
|
150369
|
+
"constant": true,
|
|
150370
|
+
"inputs": [],
|
|
150371
|
+
"name": "interestRateModel",
|
|
150372
|
+
"outputs": [
|
|
150373
|
+
{
|
|
150374
|
+
"internalType": "contract InterestRateModel",
|
|
150375
|
+
"name": "",
|
|
150376
|
+
"type": "address"
|
|
150377
|
+
}
|
|
150378
|
+
],
|
|
150379
|
+
"payable": false,
|
|
150380
|
+
"stateMutability": "view",
|
|
150381
|
+
"type": "function"
|
|
150382
|
+
},
|
|
150383
|
+
{
|
|
150384
|
+
"constant": true,
|
|
150385
|
+
"inputs": [],
|
|
150386
|
+
"name": "isVToken",
|
|
150387
|
+
"outputs": [
|
|
150388
|
+
{
|
|
150389
|
+
"internalType": "bool",
|
|
150390
|
+
"name": "",
|
|
150391
|
+
"type": "bool"
|
|
150392
|
+
}
|
|
150393
|
+
],
|
|
150394
|
+
"payable": false,
|
|
150395
|
+
"stateMutability": "view",
|
|
150396
|
+
"type": "function"
|
|
150397
|
+
},
|
|
150398
|
+
{
|
|
150399
|
+
"constant": false,
|
|
150400
|
+
"inputs": [
|
|
150401
|
+
{
|
|
150402
|
+
"internalType": "address",
|
|
150403
|
+
"name": "borrower",
|
|
150404
|
+
"type": "address"
|
|
150405
|
+
},
|
|
150406
|
+
{
|
|
150407
|
+
"internalType": "uint256",
|
|
150408
|
+
"name": "repayAmount",
|
|
150409
|
+
"type": "uint256"
|
|
150410
|
+
},
|
|
150411
|
+
{
|
|
150412
|
+
"internalType": "contract VTokenInterface",
|
|
150413
|
+
"name": "vTokenCollateral",
|
|
150414
|
+
"type": "address"
|
|
150415
|
+
}
|
|
150416
|
+
],
|
|
150417
|
+
"name": "liquidateBorrow",
|
|
150418
|
+
"outputs": [
|
|
150419
|
+
{
|
|
150420
|
+
"internalType": "uint256",
|
|
150421
|
+
"name": "",
|
|
150422
|
+
"type": "uint256"
|
|
150423
|
+
}
|
|
150424
|
+
],
|
|
150425
|
+
"payable": false,
|
|
150426
|
+
"stateMutability": "nonpayable",
|
|
150427
|
+
"type": "function"
|
|
150428
|
+
},
|
|
150429
|
+
{
|
|
150430
|
+
"constant": false,
|
|
150431
|
+
"inputs": [
|
|
150432
|
+
{
|
|
150433
|
+
"internalType": "uint256",
|
|
150434
|
+
"name": "mintAmount",
|
|
150435
|
+
"type": "uint256"
|
|
150436
|
+
}
|
|
150437
|
+
],
|
|
150438
|
+
"name": "mint",
|
|
150439
|
+
"outputs": [
|
|
150440
|
+
{
|
|
150441
|
+
"internalType": "uint256",
|
|
150442
|
+
"name": "",
|
|
150443
|
+
"type": "uint256"
|
|
150444
|
+
}
|
|
150445
|
+
],
|
|
150446
|
+
"payable": false,
|
|
150447
|
+
"stateMutability": "nonpayable",
|
|
150448
|
+
"type": "function"
|
|
150449
|
+
},
|
|
150450
|
+
{
|
|
150451
|
+
"constant": false,
|
|
150452
|
+
"inputs": [
|
|
150453
|
+
{
|
|
150454
|
+
"internalType": "address",
|
|
150455
|
+
"name": "receiver",
|
|
150456
|
+
"type": "address"
|
|
150457
|
+
},
|
|
150458
|
+
{
|
|
150459
|
+
"internalType": "uint256",
|
|
150460
|
+
"name": "mintAmount",
|
|
150461
|
+
"type": "uint256"
|
|
150462
|
+
}
|
|
150463
|
+
],
|
|
150464
|
+
"name": "mintBehalf",
|
|
150465
|
+
"outputs": [
|
|
150466
|
+
{
|
|
150467
|
+
"internalType": "uint256",
|
|
150468
|
+
"name": "",
|
|
150469
|
+
"type": "uint256"
|
|
150470
|
+
}
|
|
150471
|
+
],
|
|
150472
|
+
"payable": false,
|
|
150473
|
+
"stateMutability": "nonpayable",
|
|
150474
|
+
"type": "function"
|
|
150475
|
+
},
|
|
150476
|
+
{
|
|
150477
|
+
"constant": true,
|
|
150478
|
+
"inputs": [],
|
|
150479
|
+
"name": "name",
|
|
150480
|
+
"outputs": [
|
|
150481
|
+
{
|
|
150482
|
+
"internalType": "string",
|
|
150483
|
+
"name": "",
|
|
150484
|
+
"type": "string"
|
|
150485
|
+
}
|
|
150486
|
+
],
|
|
150487
|
+
"payable": false,
|
|
150488
|
+
"stateMutability": "view",
|
|
150489
|
+
"type": "function"
|
|
150490
|
+
},
|
|
150491
|
+
{
|
|
150492
|
+
"constant": true,
|
|
150493
|
+
"inputs": [],
|
|
150494
|
+
"name": "pendingAdmin",
|
|
150495
|
+
"outputs": [
|
|
150496
|
+
{
|
|
150497
|
+
"internalType": "address payable",
|
|
150498
|
+
"name": "",
|
|
150499
|
+
"type": "address"
|
|
150500
|
+
}
|
|
150501
|
+
],
|
|
150502
|
+
"payable": false,
|
|
150503
|
+
"stateMutability": "view",
|
|
150504
|
+
"type": "function"
|
|
150505
|
+
},
|
|
150506
|
+
{
|
|
150507
|
+
"constant": true,
|
|
150508
|
+
"inputs": [],
|
|
150509
|
+
"name": "protocolShareReserve",
|
|
150510
|
+
"outputs": [
|
|
150511
|
+
{
|
|
150512
|
+
"internalType": "address payable",
|
|
150513
|
+
"name": "",
|
|
150514
|
+
"type": "address"
|
|
150515
|
+
}
|
|
150516
|
+
],
|
|
150517
|
+
"payable": false,
|
|
150518
|
+
"stateMutability": "view",
|
|
150519
|
+
"type": "function"
|
|
150520
|
+
},
|
|
150521
|
+
{
|
|
150522
|
+
"constant": false,
|
|
150523
|
+
"inputs": [
|
|
150524
|
+
{
|
|
150525
|
+
"internalType": "uint256",
|
|
150526
|
+
"name": "redeemTokens",
|
|
150527
|
+
"type": "uint256"
|
|
150528
|
+
}
|
|
150529
|
+
],
|
|
150530
|
+
"name": "redeem",
|
|
150531
|
+
"outputs": [
|
|
150532
|
+
{
|
|
150533
|
+
"internalType": "uint256",
|
|
150534
|
+
"name": "",
|
|
150535
|
+
"type": "uint256"
|
|
150536
|
+
}
|
|
150537
|
+
],
|
|
150538
|
+
"payable": false,
|
|
150539
|
+
"stateMutability": "nonpayable",
|
|
150540
|
+
"type": "function"
|
|
150541
|
+
},
|
|
150542
|
+
{
|
|
150543
|
+
"constant": false,
|
|
150544
|
+
"inputs": [
|
|
150545
|
+
{
|
|
150546
|
+
"internalType": "uint256",
|
|
150547
|
+
"name": "redeemAmount",
|
|
150548
|
+
"type": "uint256"
|
|
150549
|
+
}
|
|
150550
|
+
],
|
|
150551
|
+
"name": "redeemUnderlying",
|
|
150552
|
+
"outputs": [
|
|
150553
|
+
{
|
|
150554
|
+
"internalType": "uint256",
|
|
150555
|
+
"name": "",
|
|
150556
|
+
"type": "uint256"
|
|
150557
|
+
}
|
|
150558
|
+
],
|
|
150559
|
+
"payable": false,
|
|
150560
|
+
"stateMutability": "nonpayable",
|
|
150561
|
+
"type": "function"
|
|
150562
|
+
},
|
|
150563
|
+
{
|
|
150564
|
+
"constant": true,
|
|
150565
|
+
"inputs": [],
|
|
150566
|
+
"name": "reduceReservesBlockDelta",
|
|
150567
|
+
"outputs": [
|
|
150568
|
+
{
|
|
150569
|
+
"internalType": "uint256",
|
|
150570
|
+
"name": "",
|
|
150571
|
+
"type": "uint256"
|
|
150572
|
+
}
|
|
150573
|
+
],
|
|
150574
|
+
"payable": false,
|
|
150575
|
+
"stateMutability": "view",
|
|
150576
|
+
"type": "function"
|
|
150577
|
+
},
|
|
150578
|
+
{
|
|
150579
|
+
"constant": true,
|
|
150580
|
+
"inputs": [],
|
|
150581
|
+
"name": "reduceReservesBlockNumber",
|
|
150582
|
+
"outputs": [
|
|
150583
|
+
{
|
|
150584
|
+
"internalType": "uint256",
|
|
150585
|
+
"name": "",
|
|
150586
|
+
"type": "uint256"
|
|
150587
|
+
}
|
|
150588
|
+
],
|
|
150589
|
+
"payable": false,
|
|
150590
|
+
"stateMutability": "view",
|
|
150591
|
+
"type": "function"
|
|
150592
|
+
},
|
|
150593
|
+
{
|
|
150594
|
+
"constant": false,
|
|
150595
|
+
"inputs": [
|
|
150596
|
+
{
|
|
150597
|
+
"internalType": "uint256",
|
|
150598
|
+
"name": "repayAmount",
|
|
150599
|
+
"type": "uint256"
|
|
150600
|
+
}
|
|
150601
|
+
],
|
|
150602
|
+
"name": "repayBorrow",
|
|
150603
|
+
"outputs": [
|
|
150604
|
+
{
|
|
150605
|
+
"internalType": "uint256",
|
|
150606
|
+
"name": "",
|
|
150607
|
+
"type": "uint256"
|
|
150608
|
+
}
|
|
150609
|
+
],
|
|
150610
|
+
"payable": false,
|
|
150611
|
+
"stateMutability": "nonpayable",
|
|
150612
|
+
"type": "function"
|
|
150613
|
+
},
|
|
150614
|
+
{
|
|
150615
|
+
"constant": false,
|
|
150616
|
+
"inputs": [
|
|
150617
|
+
{
|
|
150618
|
+
"internalType": "address",
|
|
150619
|
+
"name": "borrower",
|
|
150620
|
+
"type": "address"
|
|
150621
|
+
},
|
|
150622
|
+
{
|
|
150623
|
+
"internalType": "uint256",
|
|
150624
|
+
"name": "repayAmount",
|
|
150625
|
+
"type": "uint256"
|
|
150626
|
+
}
|
|
150627
|
+
],
|
|
150628
|
+
"name": "repayBorrowBehalf",
|
|
150629
|
+
"outputs": [
|
|
150630
|
+
{
|
|
150631
|
+
"internalType": "uint256",
|
|
150632
|
+
"name": "",
|
|
150633
|
+
"type": "uint256"
|
|
150634
|
+
}
|
|
150635
|
+
],
|
|
150636
|
+
"payable": false,
|
|
150637
|
+
"stateMutability": "nonpayable",
|
|
150638
|
+
"type": "function"
|
|
150639
|
+
},
|
|
150640
|
+
{
|
|
150641
|
+
"constant": true,
|
|
150642
|
+
"inputs": [],
|
|
150643
|
+
"name": "reserveFactorMantissa",
|
|
150644
|
+
"outputs": [
|
|
150645
|
+
{
|
|
150646
|
+
"internalType": "uint256",
|
|
150647
|
+
"name": "",
|
|
150648
|
+
"type": "uint256"
|
|
150649
|
+
}
|
|
150650
|
+
],
|
|
150651
|
+
"payable": false,
|
|
150652
|
+
"stateMutability": "view",
|
|
150653
|
+
"type": "function"
|
|
150654
|
+
},
|
|
150655
|
+
{
|
|
150656
|
+
"constant": false,
|
|
150657
|
+
"inputs": [
|
|
150658
|
+
{
|
|
150659
|
+
"internalType": "address",
|
|
150660
|
+
"name": "liquidator",
|
|
150661
|
+
"type": "address"
|
|
150662
|
+
},
|
|
150663
|
+
{
|
|
150664
|
+
"internalType": "address",
|
|
150665
|
+
"name": "borrower",
|
|
150666
|
+
"type": "address"
|
|
150667
|
+
},
|
|
150668
|
+
{
|
|
150669
|
+
"internalType": "uint256",
|
|
150670
|
+
"name": "seizeTokens",
|
|
150671
|
+
"type": "uint256"
|
|
150672
|
+
}
|
|
150673
|
+
],
|
|
150674
|
+
"name": "seize",
|
|
150675
|
+
"outputs": [
|
|
150676
|
+
{
|
|
150677
|
+
"internalType": "uint256",
|
|
150678
|
+
"name": "",
|
|
150679
|
+
"type": "uint256"
|
|
150680
|
+
}
|
|
150681
|
+
],
|
|
150682
|
+
"payable": false,
|
|
150683
|
+
"stateMutability": "nonpayable",
|
|
150684
|
+
"type": "function"
|
|
150685
|
+
},
|
|
150686
|
+
{
|
|
150687
|
+
"constant": true,
|
|
150688
|
+
"inputs": [],
|
|
150689
|
+
"name": "supplyRatePerBlock",
|
|
150690
|
+
"outputs": [
|
|
150691
|
+
{
|
|
150692
|
+
"internalType": "uint256",
|
|
150693
|
+
"name": "",
|
|
150694
|
+
"type": "uint256"
|
|
150695
|
+
}
|
|
150696
|
+
],
|
|
150697
|
+
"payable": false,
|
|
150698
|
+
"stateMutability": "view",
|
|
150699
|
+
"type": "function"
|
|
150700
|
+
},
|
|
150701
|
+
{
|
|
150702
|
+
"constant": true,
|
|
150703
|
+
"inputs": [],
|
|
150704
|
+
"name": "symbol",
|
|
150705
|
+
"outputs": [
|
|
150706
|
+
{
|
|
150707
|
+
"internalType": "string",
|
|
150708
|
+
"name": "",
|
|
150709
|
+
"type": "string"
|
|
150710
|
+
}
|
|
150711
|
+
],
|
|
150712
|
+
"payable": false,
|
|
150713
|
+
"stateMutability": "view",
|
|
150714
|
+
"type": "function"
|
|
150715
|
+
},
|
|
150716
|
+
{
|
|
150717
|
+
"constant": true,
|
|
150718
|
+
"inputs": [],
|
|
150719
|
+
"name": "totalBorrows",
|
|
150720
|
+
"outputs": [
|
|
150721
|
+
{
|
|
150722
|
+
"internalType": "uint256",
|
|
150723
|
+
"name": "",
|
|
150724
|
+
"type": "uint256"
|
|
150725
|
+
}
|
|
150726
|
+
],
|
|
150727
|
+
"payable": false,
|
|
150728
|
+
"stateMutability": "view",
|
|
150729
|
+
"type": "function"
|
|
150730
|
+
},
|
|
150731
|
+
{
|
|
150732
|
+
"constant": false,
|
|
150733
|
+
"inputs": [],
|
|
150734
|
+
"name": "totalBorrowsCurrent",
|
|
150735
|
+
"outputs": [
|
|
150736
|
+
{
|
|
150737
|
+
"internalType": "uint256",
|
|
150738
|
+
"name": "",
|
|
150739
|
+
"type": "uint256"
|
|
150740
|
+
}
|
|
150741
|
+
],
|
|
150742
|
+
"payable": false,
|
|
150743
|
+
"stateMutability": "nonpayable",
|
|
150744
|
+
"type": "function"
|
|
150745
|
+
},
|
|
150746
|
+
{
|
|
150747
|
+
"constant": true,
|
|
150748
|
+
"inputs": [],
|
|
150749
|
+
"name": "totalReserves",
|
|
150750
|
+
"outputs": [
|
|
150751
|
+
{
|
|
150752
|
+
"internalType": "uint256",
|
|
150753
|
+
"name": "",
|
|
150754
|
+
"type": "uint256"
|
|
150755
|
+
}
|
|
150756
|
+
],
|
|
150757
|
+
"payable": false,
|
|
150758
|
+
"stateMutability": "view",
|
|
150759
|
+
"type": "function"
|
|
150760
|
+
},
|
|
150761
|
+
{
|
|
150762
|
+
"constant": true,
|
|
150763
|
+
"inputs": [],
|
|
150764
|
+
"name": "totalSupply",
|
|
150765
|
+
"outputs": [
|
|
150766
|
+
{
|
|
150767
|
+
"internalType": "uint256",
|
|
150768
|
+
"name": "",
|
|
150769
|
+
"type": "uint256"
|
|
150770
|
+
}
|
|
150771
|
+
],
|
|
150772
|
+
"payable": false,
|
|
150773
|
+
"stateMutability": "view",
|
|
150774
|
+
"type": "function"
|
|
150775
|
+
},
|
|
150776
|
+
{
|
|
150777
|
+
"constant": false,
|
|
150778
|
+
"inputs": [
|
|
150779
|
+
{
|
|
150780
|
+
"internalType": "address",
|
|
150781
|
+
"name": "dst",
|
|
150782
|
+
"type": "address"
|
|
150783
|
+
},
|
|
150784
|
+
{
|
|
150785
|
+
"internalType": "uint256",
|
|
150786
|
+
"name": "amount",
|
|
150787
|
+
"type": "uint256"
|
|
150788
|
+
}
|
|
150789
|
+
],
|
|
150790
|
+
"name": "transfer",
|
|
150791
|
+
"outputs": [
|
|
150792
|
+
{
|
|
150793
|
+
"internalType": "bool",
|
|
150794
|
+
"name": "",
|
|
150795
|
+
"type": "bool"
|
|
150796
|
+
}
|
|
150797
|
+
],
|
|
150798
|
+
"payable": false,
|
|
150799
|
+
"stateMutability": "nonpayable",
|
|
150800
|
+
"type": "function"
|
|
150801
|
+
},
|
|
150802
|
+
{
|
|
150803
|
+
"constant": false,
|
|
150804
|
+
"inputs": [
|
|
150805
|
+
{
|
|
150806
|
+
"internalType": "address",
|
|
150807
|
+
"name": "src",
|
|
150808
|
+
"type": "address"
|
|
150809
|
+
},
|
|
150810
|
+
{
|
|
150811
|
+
"internalType": "address",
|
|
150812
|
+
"name": "dst",
|
|
150813
|
+
"type": "address"
|
|
150814
|
+
},
|
|
150815
|
+
{
|
|
150816
|
+
"internalType": "uint256",
|
|
150817
|
+
"name": "amount",
|
|
150818
|
+
"type": "uint256"
|
|
150819
|
+
}
|
|
150820
|
+
],
|
|
150821
|
+
"name": "transferFrom",
|
|
150822
|
+
"outputs": [
|
|
150823
|
+
{
|
|
150824
|
+
"internalType": "bool",
|
|
150825
|
+
"name": "",
|
|
150826
|
+
"type": "bool"
|
|
150827
|
+
}
|
|
150828
|
+
],
|
|
150829
|
+
"payable": false,
|
|
150830
|
+
"stateMutability": "nonpayable",
|
|
150831
|
+
"type": "function"
|
|
150832
|
+
},
|
|
150833
|
+
{
|
|
150834
|
+
"constant": true,
|
|
150835
|
+
"inputs": [],
|
|
150836
|
+
"name": "underlying",
|
|
150837
|
+
"outputs": [
|
|
150838
|
+
{
|
|
150839
|
+
"internalType": "address",
|
|
150840
|
+
"name": "",
|
|
150841
|
+
"type": "address"
|
|
150842
|
+
}
|
|
150843
|
+
],
|
|
150844
|
+
"payable": false,
|
|
150845
|
+
"stateMutability": "view",
|
|
150846
|
+
"type": "function"
|
|
150847
|
+
}
|
|
150848
|
+
]
|
|
150849
|
+
},
|
|
149166
150850
|
"vlisUSD": {
|
|
149167
150851
|
"address": "0x9447b1D4Bd192f25416B6aCc3B7f06be2f7D6309",
|
|
149168
150852
|
"abi": [
|