@venusprotocol/venus-protocol 9.8.0-dev.13 → 9.8.0-dev.14
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/solcInputs/e320c561182ff12e19eb2c016b653f9e.json +366 -0
- package/deployments/bscmainnet/vxSolvBTC.json +2382 -0
- package/deployments/bscmainnet.json +1684 -0
- package/deployments/bscmainnet_addresses.json +2 -1
- package/deployments/bsctestnet/MockxSolvBTC.json +458 -0
- package/deployments/bsctestnet/solcInputs/e320c561182ff12e19eb2c016b653f9e.json +366 -0
- package/deployments/bsctestnet/solcInputs/fd1cb03a4a5faafbc2c9f8079ca92876.json +283 -0
- package/deployments/bsctestnet/vxSolvBTC.json +2382 -0
- package/deployments/bsctestnet.json +13446 -11453
- package/deployments/bsctestnet_addresses.json +3 -1
- package/dist/deployments/bscmainnet.json +1684 -0
- package/dist/deployments/bsctestnet.json +13446 -11453
- 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
|
@@ -182218,6 +182218,1690 @@
|
|
|
182218
182218
|
"type": "function"
|
|
182219
182219
|
}
|
|
182220
182220
|
]
|
|
182221
|
+
},
|
|
182222
|
+
"vxSolvBTC": {
|
|
182223
|
+
"address": "0xd804dE60aFD05EE6B89aab5D152258fD461B07D5",
|
|
182224
|
+
"abi": [
|
|
182225
|
+
{
|
|
182226
|
+
"inputs": [
|
|
182227
|
+
{
|
|
182228
|
+
"internalType": "address",
|
|
182229
|
+
"name": "underlying_",
|
|
182230
|
+
"type": "address"
|
|
182231
|
+
},
|
|
182232
|
+
{
|
|
182233
|
+
"internalType": "contract ComptrollerInterface",
|
|
182234
|
+
"name": "comptroller_",
|
|
182235
|
+
"type": "address"
|
|
182236
|
+
},
|
|
182237
|
+
{
|
|
182238
|
+
"internalType": "contract InterestRateModel",
|
|
182239
|
+
"name": "interestRateModel_",
|
|
182240
|
+
"type": "address"
|
|
182241
|
+
},
|
|
182242
|
+
{
|
|
182243
|
+
"internalType": "uint256",
|
|
182244
|
+
"name": "initialExchangeRateMantissa_",
|
|
182245
|
+
"type": "uint256"
|
|
182246
|
+
},
|
|
182247
|
+
{
|
|
182248
|
+
"internalType": "string",
|
|
182249
|
+
"name": "name_",
|
|
182250
|
+
"type": "string"
|
|
182251
|
+
},
|
|
182252
|
+
{
|
|
182253
|
+
"internalType": "string",
|
|
182254
|
+
"name": "symbol_",
|
|
182255
|
+
"type": "string"
|
|
182256
|
+
},
|
|
182257
|
+
{
|
|
182258
|
+
"internalType": "uint8",
|
|
182259
|
+
"name": "decimals_",
|
|
182260
|
+
"type": "uint8"
|
|
182261
|
+
},
|
|
182262
|
+
{
|
|
182263
|
+
"internalType": "address payable",
|
|
182264
|
+
"name": "admin_",
|
|
182265
|
+
"type": "address"
|
|
182266
|
+
},
|
|
182267
|
+
{
|
|
182268
|
+
"internalType": "address",
|
|
182269
|
+
"name": "implementation_",
|
|
182270
|
+
"type": "address"
|
|
182271
|
+
},
|
|
182272
|
+
{
|
|
182273
|
+
"internalType": "bytes",
|
|
182274
|
+
"name": "becomeImplementationData",
|
|
182275
|
+
"type": "bytes"
|
|
182276
|
+
}
|
|
182277
|
+
],
|
|
182278
|
+
"payable": false,
|
|
182279
|
+
"stateMutability": "nonpayable",
|
|
182280
|
+
"type": "constructor"
|
|
182281
|
+
},
|
|
182282
|
+
{
|
|
182283
|
+
"anonymous": false,
|
|
182284
|
+
"inputs": [
|
|
182285
|
+
{
|
|
182286
|
+
"indexed": false,
|
|
182287
|
+
"internalType": "uint256",
|
|
182288
|
+
"name": "cashPrior",
|
|
182289
|
+
"type": "uint256"
|
|
182290
|
+
},
|
|
182291
|
+
{
|
|
182292
|
+
"indexed": false,
|
|
182293
|
+
"internalType": "uint256",
|
|
182294
|
+
"name": "interestAccumulated",
|
|
182295
|
+
"type": "uint256"
|
|
182296
|
+
},
|
|
182297
|
+
{
|
|
182298
|
+
"indexed": false,
|
|
182299
|
+
"internalType": "uint256",
|
|
182300
|
+
"name": "borrowIndex",
|
|
182301
|
+
"type": "uint256"
|
|
182302
|
+
},
|
|
182303
|
+
{
|
|
182304
|
+
"indexed": false,
|
|
182305
|
+
"internalType": "uint256",
|
|
182306
|
+
"name": "totalBorrows",
|
|
182307
|
+
"type": "uint256"
|
|
182308
|
+
}
|
|
182309
|
+
],
|
|
182310
|
+
"name": "AccrueInterest",
|
|
182311
|
+
"type": "event"
|
|
182312
|
+
},
|
|
182313
|
+
{
|
|
182314
|
+
"anonymous": false,
|
|
182315
|
+
"inputs": [
|
|
182316
|
+
{
|
|
182317
|
+
"indexed": true,
|
|
182318
|
+
"internalType": "address",
|
|
182319
|
+
"name": "owner",
|
|
182320
|
+
"type": "address"
|
|
182321
|
+
},
|
|
182322
|
+
{
|
|
182323
|
+
"indexed": true,
|
|
182324
|
+
"internalType": "address",
|
|
182325
|
+
"name": "spender",
|
|
182326
|
+
"type": "address"
|
|
182327
|
+
},
|
|
182328
|
+
{
|
|
182329
|
+
"indexed": false,
|
|
182330
|
+
"internalType": "uint256",
|
|
182331
|
+
"name": "amount",
|
|
182332
|
+
"type": "uint256"
|
|
182333
|
+
}
|
|
182334
|
+
],
|
|
182335
|
+
"name": "Approval",
|
|
182336
|
+
"type": "event"
|
|
182337
|
+
},
|
|
182338
|
+
{
|
|
182339
|
+
"anonymous": false,
|
|
182340
|
+
"inputs": [
|
|
182341
|
+
{
|
|
182342
|
+
"indexed": false,
|
|
182343
|
+
"internalType": "address",
|
|
182344
|
+
"name": "borrower",
|
|
182345
|
+
"type": "address"
|
|
182346
|
+
},
|
|
182347
|
+
{
|
|
182348
|
+
"indexed": false,
|
|
182349
|
+
"internalType": "uint256",
|
|
182350
|
+
"name": "borrowAmount",
|
|
182351
|
+
"type": "uint256"
|
|
182352
|
+
},
|
|
182353
|
+
{
|
|
182354
|
+
"indexed": false,
|
|
182355
|
+
"internalType": "uint256",
|
|
182356
|
+
"name": "accountBorrows",
|
|
182357
|
+
"type": "uint256"
|
|
182358
|
+
},
|
|
182359
|
+
{
|
|
182360
|
+
"indexed": false,
|
|
182361
|
+
"internalType": "uint256",
|
|
182362
|
+
"name": "totalBorrows",
|
|
182363
|
+
"type": "uint256"
|
|
182364
|
+
}
|
|
182365
|
+
],
|
|
182366
|
+
"name": "Borrow",
|
|
182367
|
+
"type": "event"
|
|
182368
|
+
},
|
|
182369
|
+
{
|
|
182370
|
+
"anonymous": false,
|
|
182371
|
+
"inputs": [
|
|
182372
|
+
{
|
|
182373
|
+
"indexed": false,
|
|
182374
|
+
"internalType": "uint256",
|
|
182375
|
+
"name": "error",
|
|
182376
|
+
"type": "uint256"
|
|
182377
|
+
},
|
|
182378
|
+
{
|
|
182379
|
+
"indexed": false,
|
|
182380
|
+
"internalType": "uint256",
|
|
182381
|
+
"name": "info",
|
|
182382
|
+
"type": "uint256"
|
|
182383
|
+
},
|
|
182384
|
+
{
|
|
182385
|
+
"indexed": false,
|
|
182386
|
+
"internalType": "uint256",
|
|
182387
|
+
"name": "detail",
|
|
182388
|
+
"type": "uint256"
|
|
182389
|
+
}
|
|
182390
|
+
],
|
|
182391
|
+
"name": "Failure",
|
|
182392
|
+
"type": "event"
|
|
182393
|
+
},
|
|
182394
|
+
{
|
|
182395
|
+
"anonymous": false,
|
|
182396
|
+
"inputs": [
|
|
182397
|
+
{
|
|
182398
|
+
"indexed": false,
|
|
182399
|
+
"internalType": "address",
|
|
182400
|
+
"name": "liquidator",
|
|
182401
|
+
"type": "address"
|
|
182402
|
+
},
|
|
182403
|
+
{
|
|
182404
|
+
"indexed": false,
|
|
182405
|
+
"internalType": "address",
|
|
182406
|
+
"name": "borrower",
|
|
182407
|
+
"type": "address"
|
|
182408
|
+
},
|
|
182409
|
+
{
|
|
182410
|
+
"indexed": false,
|
|
182411
|
+
"internalType": "uint256",
|
|
182412
|
+
"name": "repayAmount",
|
|
182413
|
+
"type": "uint256"
|
|
182414
|
+
},
|
|
182415
|
+
{
|
|
182416
|
+
"indexed": false,
|
|
182417
|
+
"internalType": "address",
|
|
182418
|
+
"name": "vTokenCollateral",
|
|
182419
|
+
"type": "address"
|
|
182420
|
+
},
|
|
182421
|
+
{
|
|
182422
|
+
"indexed": false,
|
|
182423
|
+
"internalType": "uint256",
|
|
182424
|
+
"name": "seizeTokens",
|
|
182425
|
+
"type": "uint256"
|
|
182426
|
+
}
|
|
182427
|
+
],
|
|
182428
|
+
"name": "LiquidateBorrow",
|
|
182429
|
+
"type": "event"
|
|
182430
|
+
},
|
|
182431
|
+
{
|
|
182432
|
+
"anonymous": false,
|
|
182433
|
+
"inputs": [
|
|
182434
|
+
{
|
|
182435
|
+
"indexed": false,
|
|
182436
|
+
"internalType": "address",
|
|
182437
|
+
"name": "minter",
|
|
182438
|
+
"type": "address"
|
|
182439
|
+
},
|
|
182440
|
+
{
|
|
182441
|
+
"indexed": false,
|
|
182442
|
+
"internalType": "uint256",
|
|
182443
|
+
"name": "mintAmount",
|
|
182444
|
+
"type": "uint256"
|
|
182445
|
+
},
|
|
182446
|
+
{
|
|
182447
|
+
"indexed": false,
|
|
182448
|
+
"internalType": "uint256",
|
|
182449
|
+
"name": "mintTokens",
|
|
182450
|
+
"type": "uint256"
|
|
182451
|
+
},
|
|
182452
|
+
{
|
|
182453
|
+
"indexed": false,
|
|
182454
|
+
"internalType": "uint256",
|
|
182455
|
+
"name": "totalSupply",
|
|
182456
|
+
"type": "uint256"
|
|
182457
|
+
}
|
|
182458
|
+
],
|
|
182459
|
+
"name": "Mint",
|
|
182460
|
+
"type": "event"
|
|
182461
|
+
},
|
|
182462
|
+
{
|
|
182463
|
+
"anonymous": false,
|
|
182464
|
+
"inputs": [
|
|
182465
|
+
{
|
|
182466
|
+
"indexed": false,
|
|
182467
|
+
"internalType": "address",
|
|
182468
|
+
"name": "payer",
|
|
182469
|
+
"type": "address"
|
|
182470
|
+
},
|
|
182471
|
+
{
|
|
182472
|
+
"indexed": false,
|
|
182473
|
+
"internalType": "address",
|
|
182474
|
+
"name": "receiver",
|
|
182475
|
+
"type": "address"
|
|
182476
|
+
},
|
|
182477
|
+
{
|
|
182478
|
+
"indexed": false,
|
|
182479
|
+
"internalType": "uint256",
|
|
182480
|
+
"name": "mintAmount",
|
|
182481
|
+
"type": "uint256"
|
|
182482
|
+
},
|
|
182483
|
+
{
|
|
182484
|
+
"indexed": false,
|
|
182485
|
+
"internalType": "uint256",
|
|
182486
|
+
"name": "mintTokens",
|
|
182487
|
+
"type": "uint256"
|
|
182488
|
+
},
|
|
182489
|
+
{
|
|
182490
|
+
"indexed": false,
|
|
182491
|
+
"internalType": "uint256",
|
|
182492
|
+
"name": "totalSupply",
|
|
182493
|
+
"type": "uint256"
|
|
182494
|
+
}
|
|
182495
|
+
],
|
|
182496
|
+
"name": "MintBehalf",
|
|
182497
|
+
"type": "event"
|
|
182498
|
+
},
|
|
182499
|
+
{
|
|
182500
|
+
"anonymous": false,
|
|
182501
|
+
"inputs": [
|
|
182502
|
+
{
|
|
182503
|
+
"indexed": false,
|
|
182504
|
+
"internalType": "address",
|
|
182505
|
+
"name": "oldAccessControlAddress",
|
|
182506
|
+
"type": "address"
|
|
182507
|
+
},
|
|
182508
|
+
{
|
|
182509
|
+
"indexed": false,
|
|
182510
|
+
"internalType": "address",
|
|
182511
|
+
"name": "newAccessControlAddress",
|
|
182512
|
+
"type": "address"
|
|
182513
|
+
}
|
|
182514
|
+
],
|
|
182515
|
+
"name": "NewAccessControlManager",
|
|
182516
|
+
"type": "event"
|
|
182517
|
+
},
|
|
182518
|
+
{
|
|
182519
|
+
"anonymous": false,
|
|
182520
|
+
"inputs": [
|
|
182521
|
+
{
|
|
182522
|
+
"indexed": false,
|
|
182523
|
+
"internalType": "address",
|
|
182524
|
+
"name": "oldAdmin",
|
|
182525
|
+
"type": "address"
|
|
182526
|
+
},
|
|
182527
|
+
{
|
|
182528
|
+
"indexed": false,
|
|
182529
|
+
"internalType": "address",
|
|
182530
|
+
"name": "newAdmin",
|
|
182531
|
+
"type": "address"
|
|
182532
|
+
}
|
|
182533
|
+
],
|
|
182534
|
+
"name": "NewAdmin",
|
|
182535
|
+
"type": "event"
|
|
182536
|
+
},
|
|
182537
|
+
{
|
|
182538
|
+
"anonymous": false,
|
|
182539
|
+
"inputs": [
|
|
182540
|
+
{
|
|
182541
|
+
"indexed": false,
|
|
182542
|
+
"internalType": "contract ComptrollerInterface",
|
|
182543
|
+
"name": "oldComptroller",
|
|
182544
|
+
"type": "address"
|
|
182545
|
+
},
|
|
182546
|
+
{
|
|
182547
|
+
"indexed": false,
|
|
182548
|
+
"internalType": "contract ComptrollerInterface",
|
|
182549
|
+
"name": "newComptroller",
|
|
182550
|
+
"type": "address"
|
|
182551
|
+
}
|
|
182552
|
+
],
|
|
182553
|
+
"name": "NewComptroller",
|
|
182554
|
+
"type": "event"
|
|
182555
|
+
},
|
|
182556
|
+
{
|
|
182557
|
+
"anonymous": false,
|
|
182558
|
+
"inputs": [
|
|
182559
|
+
{
|
|
182560
|
+
"indexed": false,
|
|
182561
|
+
"internalType": "address",
|
|
182562
|
+
"name": "oldImplementation",
|
|
182563
|
+
"type": "address"
|
|
182564
|
+
},
|
|
182565
|
+
{
|
|
182566
|
+
"indexed": false,
|
|
182567
|
+
"internalType": "address",
|
|
182568
|
+
"name": "newImplementation",
|
|
182569
|
+
"type": "address"
|
|
182570
|
+
}
|
|
182571
|
+
],
|
|
182572
|
+
"name": "NewImplementation",
|
|
182573
|
+
"type": "event"
|
|
182574
|
+
},
|
|
182575
|
+
{
|
|
182576
|
+
"anonymous": false,
|
|
182577
|
+
"inputs": [
|
|
182578
|
+
{
|
|
182579
|
+
"indexed": false,
|
|
182580
|
+
"internalType": "contract InterestRateModel",
|
|
182581
|
+
"name": "oldInterestRateModel",
|
|
182582
|
+
"type": "address"
|
|
182583
|
+
},
|
|
182584
|
+
{
|
|
182585
|
+
"indexed": false,
|
|
182586
|
+
"internalType": "contract InterestRateModel",
|
|
182587
|
+
"name": "newInterestRateModel",
|
|
182588
|
+
"type": "address"
|
|
182589
|
+
}
|
|
182590
|
+
],
|
|
182591
|
+
"name": "NewMarketInterestRateModel",
|
|
182592
|
+
"type": "event"
|
|
182593
|
+
},
|
|
182594
|
+
{
|
|
182595
|
+
"anonymous": false,
|
|
182596
|
+
"inputs": [
|
|
182597
|
+
{
|
|
182598
|
+
"indexed": false,
|
|
182599
|
+
"internalType": "address",
|
|
182600
|
+
"name": "oldPendingAdmin",
|
|
182601
|
+
"type": "address"
|
|
182602
|
+
},
|
|
182603
|
+
{
|
|
182604
|
+
"indexed": false,
|
|
182605
|
+
"internalType": "address",
|
|
182606
|
+
"name": "newPendingAdmin",
|
|
182607
|
+
"type": "address"
|
|
182608
|
+
}
|
|
182609
|
+
],
|
|
182610
|
+
"name": "NewPendingAdmin",
|
|
182611
|
+
"type": "event"
|
|
182612
|
+
},
|
|
182613
|
+
{
|
|
182614
|
+
"anonymous": false,
|
|
182615
|
+
"inputs": [
|
|
182616
|
+
{
|
|
182617
|
+
"indexed": true,
|
|
182618
|
+
"internalType": "address",
|
|
182619
|
+
"name": "oldProtocolShareReserve",
|
|
182620
|
+
"type": "address"
|
|
182621
|
+
},
|
|
182622
|
+
{
|
|
182623
|
+
"indexed": true,
|
|
182624
|
+
"internalType": "address",
|
|
182625
|
+
"name": "newProtocolShareReserve",
|
|
182626
|
+
"type": "address"
|
|
182627
|
+
}
|
|
182628
|
+
],
|
|
182629
|
+
"name": "NewProtocolShareReserve",
|
|
182630
|
+
"type": "event"
|
|
182631
|
+
},
|
|
182632
|
+
{
|
|
182633
|
+
"anonymous": false,
|
|
182634
|
+
"inputs": [
|
|
182635
|
+
{
|
|
182636
|
+
"indexed": false,
|
|
182637
|
+
"internalType": "uint256",
|
|
182638
|
+
"name": "oldReduceReservesBlockDelta",
|
|
182639
|
+
"type": "uint256"
|
|
182640
|
+
},
|
|
182641
|
+
{
|
|
182642
|
+
"indexed": false,
|
|
182643
|
+
"internalType": "uint256",
|
|
182644
|
+
"name": "newReduceReservesBlockDelta",
|
|
182645
|
+
"type": "uint256"
|
|
182646
|
+
}
|
|
182647
|
+
],
|
|
182648
|
+
"name": "NewReduceReservesBlockDelta",
|
|
182649
|
+
"type": "event"
|
|
182650
|
+
},
|
|
182651
|
+
{
|
|
182652
|
+
"anonymous": false,
|
|
182653
|
+
"inputs": [
|
|
182654
|
+
{
|
|
182655
|
+
"indexed": false,
|
|
182656
|
+
"internalType": "uint256",
|
|
182657
|
+
"name": "oldReserveFactorMantissa",
|
|
182658
|
+
"type": "uint256"
|
|
182659
|
+
},
|
|
182660
|
+
{
|
|
182661
|
+
"indexed": false,
|
|
182662
|
+
"internalType": "uint256",
|
|
182663
|
+
"name": "newReserveFactorMantissa",
|
|
182664
|
+
"type": "uint256"
|
|
182665
|
+
}
|
|
182666
|
+
],
|
|
182667
|
+
"name": "NewReserveFactor",
|
|
182668
|
+
"type": "event"
|
|
182669
|
+
},
|
|
182670
|
+
{
|
|
182671
|
+
"anonymous": false,
|
|
182672
|
+
"inputs": [
|
|
182673
|
+
{
|
|
182674
|
+
"indexed": false,
|
|
182675
|
+
"internalType": "address",
|
|
182676
|
+
"name": "redeemer",
|
|
182677
|
+
"type": "address"
|
|
182678
|
+
},
|
|
182679
|
+
{
|
|
182680
|
+
"indexed": false,
|
|
182681
|
+
"internalType": "uint256",
|
|
182682
|
+
"name": "redeemAmount",
|
|
182683
|
+
"type": "uint256"
|
|
182684
|
+
},
|
|
182685
|
+
{
|
|
182686
|
+
"indexed": false,
|
|
182687
|
+
"internalType": "uint256",
|
|
182688
|
+
"name": "redeemTokens",
|
|
182689
|
+
"type": "uint256"
|
|
182690
|
+
},
|
|
182691
|
+
{
|
|
182692
|
+
"indexed": false,
|
|
182693
|
+
"internalType": "uint256",
|
|
182694
|
+
"name": "totalSupply",
|
|
182695
|
+
"type": "uint256"
|
|
182696
|
+
}
|
|
182697
|
+
],
|
|
182698
|
+
"name": "Redeem",
|
|
182699
|
+
"type": "event"
|
|
182700
|
+
},
|
|
182701
|
+
{
|
|
182702
|
+
"anonymous": false,
|
|
182703
|
+
"inputs": [
|
|
182704
|
+
{
|
|
182705
|
+
"indexed": false,
|
|
182706
|
+
"internalType": "address",
|
|
182707
|
+
"name": "redeemer",
|
|
182708
|
+
"type": "address"
|
|
182709
|
+
},
|
|
182710
|
+
{
|
|
182711
|
+
"indexed": false,
|
|
182712
|
+
"internalType": "uint256",
|
|
182713
|
+
"name": "feeAmount",
|
|
182714
|
+
"type": "uint256"
|
|
182715
|
+
},
|
|
182716
|
+
{
|
|
182717
|
+
"indexed": false,
|
|
182718
|
+
"internalType": "uint256",
|
|
182719
|
+
"name": "redeemTokens",
|
|
182720
|
+
"type": "uint256"
|
|
182721
|
+
}
|
|
182722
|
+
],
|
|
182723
|
+
"name": "RedeemFee",
|
|
182724
|
+
"type": "event"
|
|
182725
|
+
},
|
|
182726
|
+
{
|
|
182727
|
+
"anonymous": false,
|
|
182728
|
+
"inputs": [
|
|
182729
|
+
{
|
|
182730
|
+
"indexed": false,
|
|
182731
|
+
"internalType": "address",
|
|
182732
|
+
"name": "payer",
|
|
182733
|
+
"type": "address"
|
|
182734
|
+
},
|
|
182735
|
+
{
|
|
182736
|
+
"indexed": false,
|
|
182737
|
+
"internalType": "address",
|
|
182738
|
+
"name": "borrower",
|
|
182739
|
+
"type": "address"
|
|
182740
|
+
},
|
|
182741
|
+
{
|
|
182742
|
+
"indexed": false,
|
|
182743
|
+
"internalType": "uint256",
|
|
182744
|
+
"name": "repayAmount",
|
|
182745
|
+
"type": "uint256"
|
|
182746
|
+
},
|
|
182747
|
+
{
|
|
182748
|
+
"indexed": false,
|
|
182749
|
+
"internalType": "uint256",
|
|
182750
|
+
"name": "accountBorrows",
|
|
182751
|
+
"type": "uint256"
|
|
182752
|
+
},
|
|
182753
|
+
{
|
|
182754
|
+
"indexed": false,
|
|
182755
|
+
"internalType": "uint256",
|
|
182756
|
+
"name": "totalBorrows",
|
|
182757
|
+
"type": "uint256"
|
|
182758
|
+
}
|
|
182759
|
+
],
|
|
182760
|
+
"name": "RepayBorrow",
|
|
182761
|
+
"type": "event"
|
|
182762
|
+
},
|
|
182763
|
+
{
|
|
182764
|
+
"anonymous": false,
|
|
182765
|
+
"inputs": [
|
|
182766
|
+
{
|
|
182767
|
+
"indexed": false,
|
|
182768
|
+
"internalType": "address",
|
|
182769
|
+
"name": "benefactor",
|
|
182770
|
+
"type": "address"
|
|
182771
|
+
},
|
|
182772
|
+
{
|
|
182773
|
+
"indexed": false,
|
|
182774
|
+
"internalType": "uint256",
|
|
182775
|
+
"name": "addAmount",
|
|
182776
|
+
"type": "uint256"
|
|
182777
|
+
},
|
|
182778
|
+
{
|
|
182779
|
+
"indexed": false,
|
|
182780
|
+
"internalType": "uint256",
|
|
182781
|
+
"name": "newTotalReserves",
|
|
182782
|
+
"type": "uint256"
|
|
182783
|
+
}
|
|
182784
|
+
],
|
|
182785
|
+
"name": "ReservesAdded",
|
|
182786
|
+
"type": "event"
|
|
182787
|
+
},
|
|
182788
|
+
{
|
|
182789
|
+
"anonymous": false,
|
|
182790
|
+
"inputs": [
|
|
182791
|
+
{
|
|
182792
|
+
"indexed": false,
|
|
182793
|
+
"internalType": "address",
|
|
182794
|
+
"name": "protocolShareReserve",
|
|
182795
|
+
"type": "address"
|
|
182796
|
+
},
|
|
182797
|
+
{
|
|
182798
|
+
"indexed": false,
|
|
182799
|
+
"internalType": "uint256",
|
|
182800
|
+
"name": "reduceAmount",
|
|
182801
|
+
"type": "uint256"
|
|
182802
|
+
},
|
|
182803
|
+
{
|
|
182804
|
+
"indexed": false,
|
|
182805
|
+
"internalType": "uint256",
|
|
182806
|
+
"name": "newTotalReserves",
|
|
182807
|
+
"type": "uint256"
|
|
182808
|
+
}
|
|
182809
|
+
],
|
|
182810
|
+
"name": "ReservesReduced",
|
|
182811
|
+
"type": "event"
|
|
182812
|
+
},
|
|
182813
|
+
{
|
|
182814
|
+
"anonymous": false,
|
|
182815
|
+
"inputs": [
|
|
182816
|
+
{
|
|
182817
|
+
"indexed": true,
|
|
182818
|
+
"internalType": "address",
|
|
182819
|
+
"name": "from",
|
|
182820
|
+
"type": "address"
|
|
182821
|
+
},
|
|
182822
|
+
{
|
|
182823
|
+
"indexed": true,
|
|
182824
|
+
"internalType": "address",
|
|
182825
|
+
"name": "to",
|
|
182826
|
+
"type": "address"
|
|
182827
|
+
},
|
|
182828
|
+
{
|
|
182829
|
+
"indexed": false,
|
|
182830
|
+
"internalType": "uint256",
|
|
182831
|
+
"name": "amount",
|
|
182832
|
+
"type": "uint256"
|
|
182833
|
+
}
|
|
182834
|
+
],
|
|
182835
|
+
"name": "Transfer",
|
|
182836
|
+
"type": "event"
|
|
182837
|
+
},
|
|
182838
|
+
{
|
|
182839
|
+
"payable": true,
|
|
182840
|
+
"stateMutability": "payable",
|
|
182841
|
+
"type": "fallback"
|
|
182842
|
+
},
|
|
182843
|
+
{
|
|
182844
|
+
"constant": false,
|
|
182845
|
+
"inputs": [],
|
|
182846
|
+
"name": "_acceptAdmin",
|
|
182847
|
+
"outputs": [
|
|
182848
|
+
{
|
|
182849
|
+
"internalType": "uint256",
|
|
182850
|
+
"name": "",
|
|
182851
|
+
"type": "uint256"
|
|
182852
|
+
}
|
|
182853
|
+
],
|
|
182854
|
+
"payable": false,
|
|
182855
|
+
"stateMutability": "nonpayable",
|
|
182856
|
+
"type": "function"
|
|
182857
|
+
},
|
|
182858
|
+
{
|
|
182859
|
+
"constant": false,
|
|
182860
|
+
"inputs": [
|
|
182861
|
+
{
|
|
182862
|
+
"internalType": "uint256",
|
|
182863
|
+
"name": "addAmount",
|
|
182864
|
+
"type": "uint256"
|
|
182865
|
+
}
|
|
182866
|
+
],
|
|
182867
|
+
"name": "_addReserves",
|
|
182868
|
+
"outputs": [
|
|
182869
|
+
{
|
|
182870
|
+
"internalType": "uint256",
|
|
182871
|
+
"name": "",
|
|
182872
|
+
"type": "uint256"
|
|
182873
|
+
}
|
|
182874
|
+
],
|
|
182875
|
+
"payable": false,
|
|
182876
|
+
"stateMutability": "nonpayable",
|
|
182877
|
+
"type": "function"
|
|
182878
|
+
},
|
|
182879
|
+
{
|
|
182880
|
+
"constant": false,
|
|
182881
|
+
"inputs": [
|
|
182882
|
+
{
|
|
182883
|
+
"internalType": "uint256",
|
|
182884
|
+
"name": "reduceAmount",
|
|
182885
|
+
"type": "uint256"
|
|
182886
|
+
}
|
|
182887
|
+
],
|
|
182888
|
+
"name": "_reduceReserves",
|
|
182889
|
+
"outputs": [
|
|
182890
|
+
{
|
|
182891
|
+
"internalType": "uint256",
|
|
182892
|
+
"name": "",
|
|
182893
|
+
"type": "uint256"
|
|
182894
|
+
}
|
|
182895
|
+
],
|
|
182896
|
+
"payable": false,
|
|
182897
|
+
"stateMutability": "nonpayable",
|
|
182898
|
+
"type": "function"
|
|
182899
|
+
},
|
|
182900
|
+
{
|
|
182901
|
+
"constant": false,
|
|
182902
|
+
"inputs": [
|
|
182903
|
+
{
|
|
182904
|
+
"internalType": "contract ComptrollerInterface",
|
|
182905
|
+
"name": "newComptroller",
|
|
182906
|
+
"type": "address"
|
|
182907
|
+
}
|
|
182908
|
+
],
|
|
182909
|
+
"name": "_setComptroller",
|
|
182910
|
+
"outputs": [
|
|
182911
|
+
{
|
|
182912
|
+
"internalType": "uint256",
|
|
182913
|
+
"name": "",
|
|
182914
|
+
"type": "uint256"
|
|
182915
|
+
}
|
|
182916
|
+
],
|
|
182917
|
+
"payable": false,
|
|
182918
|
+
"stateMutability": "nonpayable",
|
|
182919
|
+
"type": "function"
|
|
182920
|
+
},
|
|
182921
|
+
{
|
|
182922
|
+
"constant": false,
|
|
182923
|
+
"inputs": [
|
|
182924
|
+
{
|
|
182925
|
+
"internalType": "address",
|
|
182926
|
+
"name": "implementation_",
|
|
182927
|
+
"type": "address"
|
|
182928
|
+
},
|
|
182929
|
+
{
|
|
182930
|
+
"internalType": "bool",
|
|
182931
|
+
"name": "allowResign",
|
|
182932
|
+
"type": "bool"
|
|
182933
|
+
},
|
|
182934
|
+
{
|
|
182935
|
+
"internalType": "bytes",
|
|
182936
|
+
"name": "becomeImplementationData",
|
|
182937
|
+
"type": "bytes"
|
|
182938
|
+
}
|
|
182939
|
+
],
|
|
182940
|
+
"name": "_setImplementation",
|
|
182941
|
+
"outputs": [],
|
|
182942
|
+
"payable": false,
|
|
182943
|
+
"stateMutability": "nonpayable",
|
|
182944
|
+
"type": "function"
|
|
182945
|
+
},
|
|
182946
|
+
{
|
|
182947
|
+
"constant": false,
|
|
182948
|
+
"inputs": [
|
|
182949
|
+
{
|
|
182950
|
+
"internalType": "contract InterestRateModel",
|
|
182951
|
+
"name": "newInterestRateModel",
|
|
182952
|
+
"type": "address"
|
|
182953
|
+
}
|
|
182954
|
+
],
|
|
182955
|
+
"name": "_setInterestRateModel",
|
|
182956
|
+
"outputs": [
|
|
182957
|
+
{
|
|
182958
|
+
"internalType": "uint256",
|
|
182959
|
+
"name": "",
|
|
182960
|
+
"type": "uint256"
|
|
182961
|
+
}
|
|
182962
|
+
],
|
|
182963
|
+
"payable": false,
|
|
182964
|
+
"stateMutability": "nonpayable",
|
|
182965
|
+
"type": "function"
|
|
182966
|
+
},
|
|
182967
|
+
{
|
|
182968
|
+
"constant": false,
|
|
182969
|
+
"inputs": [
|
|
182970
|
+
{
|
|
182971
|
+
"internalType": "address payable",
|
|
182972
|
+
"name": "newPendingAdmin",
|
|
182973
|
+
"type": "address"
|
|
182974
|
+
}
|
|
182975
|
+
],
|
|
182976
|
+
"name": "_setPendingAdmin",
|
|
182977
|
+
"outputs": [
|
|
182978
|
+
{
|
|
182979
|
+
"internalType": "uint256",
|
|
182980
|
+
"name": "",
|
|
182981
|
+
"type": "uint256"
|
|
182982
|
+
}
|
|
182983
|
+
],
|
|
182984
|
+
"payable": false,
|
|
182985
|
+
"stateMutability": "nonpayable",
|
|
182986
|
+
"type": "function"
|
|
182987
|
+
},
|
|
182988
|
+
{
|
|
182989
|
+
"constant": false,
|
|
182990
|
+
"inputs": [
|
|
182991
|
+
{
|
|
182992
|
+
"internalType": "uint256",
|
|
182993
|
+
"name": "newReserveFactorMantissa",
|
|
182994
|
+
"type": "uint256"
|
|
182995
|
+
}
|
|
182996
|
+
],
|
|
182997
|
+
"name": "_setReserveFactor",
|
|
182998
|
+
"outputs": [
|
|
182999
|
+
{
|
|
183000
|
+
"internalType": "uint256",
|
|
183001
|
+
"name": "",
|
|
183002
|
+
"type": "uint256"
|
|
183003
|
+
}
|
|
183004
|
+
],
|
|
183005
|
+
"payable": false,
|
|
183006
|
+
"stateMutability": "nonpayable",
|
|
183007
|
+
"type": "function"
|
|
183008
|
+
},
|
|
183009
|
+
{
|
|
183010
|
+
"constant": true,
|
|
183011
|
+
"inputs": [],
|
|
183012
|
+
"name": "accessControlManager",
|
|
183013
|
+
"outputs": [
|
|
183014
|
+
{
|
|
183015
|
+
"internalType": "address",
|
|
183016
|
+
"name": "",
|
|
183017
|
+
"type": "address"
|
|
183018
|
+
}
|
|
183019
|
+
],
|
|
183020
|
+
"payable": false,
|
|
183021
|
+
"stateMutability": "view",
|
|
183022
|
+
"type": "function"
|
|
183023
|
+
},
|
|
183024
|
+
{
|
|
183025
|
+
"constant": true,
|
|
183026
|
+
"inputs": [],
|
|
183027
|
+
"name": "accrualBlockNumber",
|
|
183028
|
+
"outputs": [
|
|
183029
|
+
{
|
|
183030
|
+
"internalType": "uint256",
|
|
183031
|
+
"name": "",
|
|
183032
|
+
"type": "uint256"
|
|
183033
|
+
}
|
|
183034
|
+
],
|
|
183035
|
+
"payable": false,
|
|
183036
|
+
"stateMutability": "view",
|
|
183037
|
+
"type": "function"
|
|
183038
|
+
},
|
|
183039
|
+
{
|
|
183040
|
+
"constant": false,
|
|
183041
|
+
"inputs": [],
|
|
183042
|
+
"name": "accrueInterest",
|
|
183043
|
+
"outputs": [
|
|
183044
|
+
{
|
|
183045
|
+
"internalType": "uint256",
|
|
183046
|
+
"name": "",
|
|
183047
|
+
"type": "uint256"
|
|
183048
|
+
}
|
|
183049
|
+
],
|
|
183050
|
+
"payable": false,
|
|
183051
|
+
"stateMutability": "nonpayable",
|
|
183052
|
+
"type": "function"
|
|
183053
|
+
},
|
|
183054
|
+
{
|
|
183055
|
+
"constant": true,
|
|
183056
|
+
"inputs": [],
|
|
183057
|
+
"name": "admin",
|
|
183058
|
+
"outputs": [
|
|
183059
|
+
{
|
|
183060
|
+
"internalType": "address payable",
|
|
183061
|
+
"name": "",
|
|
183062
|
+
"type": "address"
|
|
183063
|
+
}
|
|
183064
|
+
],
|
|
183065
|
+
"payable": false,
|
|
183066
|
+
"stateMutability": "view",
|
|
183067
|
+
"type": "function"
|
|
183068
|
+
},
|
|
183069
|
+
{
|
|
183070
|
+
"constant": true,
|
|
183071
|
+
"inputs": [
|
|
183072
|
+
{
|
|
183073
|
+
"internalType": "address",
|
|
183074
|
+
"name": "owner",
|
|
183075
|
+
"type": "address"
|
|
183076
|
+
},
|
|
183077
|
+
{
|
|
183078
|
+
"internalType": "address",
|
|
183079
|
+
"name": "spender",
|
|
183080
|
+
"type": "address"
|
|
183081
|
+
}
|
|
183082
|
+
],
|
|
183083
|
+
"name": "allowance",
|
|
183084
|
+
"outputs": [
|
|
183085
|
+
{
|
|
183086
|
+
"internalType": "uint256",
|
|
183087
|
+
"name": "",
|
|
183088
|
+
"type": "uint256"
|
|
183089
|
+
}
|
|
183090
|
+
],
|
|
183091
|
+
"payable": false,
|
|
183092
|
+
"stateMutability": "view",
|
|
183093
|
+
"type": "function"
|
|
183094
|
+
},
|
|
183095
|
+
{
|
|
183096
|
+
"constant": false,
|
|
183097
|
+
"inputs": [
|
|
183098
|
+
{
|
|
183099
|
+
"internalType": "address",
|
|
183100
|
+
"name": "spender",
|
|
183101
|
+
"type": "address"
|
|
183102
|
+
},
|
|
183103
|
+
{
|
|
183104
|
+
"internalType": "uint256",
|
|
183105
|
+
"name": "amount",
|
|
183106
|
+
"type": "uint256"
|
|
183107
|
+
}
|
|
183108
|
+
],
|
|
183109
|
+
"name": "approve",
|
|
183110
|
+
"outputs": [
|
|
183111
|
+
{
|
|
183112
|
+
"internalType": "bool",
|
|
183113
|
+
"name": "",
|
|
183114
|
+
"type": "bool"
|
|
183115
|
+
}
|
|
183116
|
+
],
|
|
183117
|
+
"payable": false,
|
|
183118
|
+
"stateMutability": "nonpayable",
|
|
183119
|
+
"type": "function"
|
|
183120
|
+
},
|
|
183121
|
+
{
|
|
183122
|
+
"constant": true,
|
|
183123
|
+
"inputs": [
|
|
183124
|
+
{
|
|
183125
|
+
"internalType": "address",
|
|
183126
|
+
"name": "owner",
|
|
183127
|
+
"type": "address"
|
|
183128
|
+
}
|
|
183129
|
+
],
|
|
183130
|
+
"name": "balanceOf",
|
|
183131
|
+
"outputs": [
|
|
183132
|
+
{
|
|
183133
|
+
"internalType": "uint256",
|
|
183134
|
+
"name": "",
|
|
183135
|
+
"type": "uint256"
|
|
183136
|
+
}
|
|
183137
|
+
],
|
|
183138
|
+
"payable": false,
|
|
183139
|
+
"stateMutability": "view",
|
|
183140
|
+
"type": "function"
|
|
183141
|
+
},
|
|
183142
|
+
{
|
|
183143
|
+
"constant": false,
|
|
183144
|
+
"inputs": [
|
|
183145
|
+
{
|
|
183146
|
+
"internalType": "address",
|
|
183147
|
+
"name": "owner",
|
|
183148
|
+
"type": "address"
|
|
183149
|
+
}
|
|
183150
|
+
],
|
|
183151
|
+
"name": "balanceOfUnderlying",
|
|
183152
|
+
"outputs": [
|
|
183153
|
+
{
|
|
183154
|
+
"internalType": "uint256",
|
|
183155
|
+
"name": "",
|
|
183156
|
+
"type": "uint256"
|
|
183157
|
+
}
|
|
183158
|
+
],
|
|
183159
|
+
"payable": false,
|
|
183160
|
+
"stateMutability": "nonpayable",
|
|
183161
|
+
"type": "function"
|
|
183162
|
+
},
|
|
183163
|
+
{
|
|
183164
|
+
"constant": false,
|
|
183165
|
+
"inputs": [
|
|
183166
|
+
{
|
|
183167
|
+
"internalType": "uint256",
|
|
183168
|
+
"name": "borrowAmount",
|
|
183169
|
+
"type": "uint256"
|
|
183170
|
+
}
|
|
183171
|
+
],
|
|
183172
|
+
"name": "borrow",
|
|
183173
|
+
"outputs": [
|
|
183174
|
+
{
|
|
183175
|
+
"internalType": "uint256",
|
|
183176
|
+
"name": "",
|
|
183177
|
+
"type": "uint256"
|
|
183178
|
+
}
|
|
183179
|
+
],
|
|
183180
|
+
"payable": false,
|
|
183181
|
+
"stateMutability": "nonpayable",
|
|
183182
|
+
"type": "function"
|
|
183183
|
+
},
|
|
183184
|
+
{
|
|
183185
|
+
"constant": false,
|
|
183186
|
+
"inputs": [
|
|
183187
|
+
{
|
|
183188
|
+
"internalType": "address",
|
|
183189
|
+
"name": "account",
|
|
183190
|
+
"type": "address"
|
|
183191
|
+
}
|
|
183192
|
+
],
|
|
183193
|
+
"name": "borrowBalanceCurrent",
|
|
183194
|
+
"outputs": [
|
|
183195
|
+
{
|
|
183196
|
+
"internalType": "uint256",
|
|
183197
|
+
"name": "",
|
|
183198
|
+
"type": "uint256"
|
|
183199
|
+
}
|
|
183200
|
+
],
|
|
183201
|
+
"payable": false,
|
|
183202
|
+
"stateMutability": "nonpayable",
|
|
183203
|
+
"type": "function"
|
|
183204
|
+
},
|
|
183205
|
+
{
|
|
183206
|
+
"constant": true,
|
|
183207
|
+
"inputs": [
|
|
183208
|
+
{
|
|
183209
|
+
"internalType": "address",
|
|
183210
|
+
"name": "account",
|
|
183211
|
+
"type": "address"
|
|
183212
|
+
}
|
|
183213
|
+
],
|
|
183214
|
+
"name": "borrowBalanceStored",
|
|
183215
|
+
"outputs": [
|
|
183216
|
+
{
|
|
183217
|
+
"internalType": "uint256",
|
|
183218
|
+
"name": "",
|
|
183219
|
+
"type": "uint256"
|
|
183220
|
+
}
|
|
183221
|
+
],
|
|
183222
|
+
"payable": false,
|
|
183223
|
+
"stateMutability": "view",
|
|
183224
|
+
"type": "function"
|
|
183225
|
+
},
|
|
183226
|
+
{
|
|
183227
|
+
"constant": true,
|
|
183228
|
+
"inputs": [],
|
|
183229
|
+
"name": "borrowIndex",
|
|
183230
|
+
"outputs": [
|
|
183231
|
+
{
|
|
183232
|
+
"internalType": "uint256",
|
|
183233
|
+
"name": "",
|
|
183234
|
+
"type": "uint256"
|
|
183235
|
+
}
|
|
183236
|
+
],
|
|
183237
|
+
"payable": false,
|
|
183238
|
+
"stateMutability": "view",
|
|
183239
|
+
"type": "function"
|
|
183240
|
+
},
|
|
183241
|
+
{
|
|
183242
|
+
"constant": true,
|
|
183243
|
+
"inputs": [],
|
|
183244
|
+
"name": "borrowRatePerBlock",
|
|
183245
|
+
"outputs": [
|
|
183246
|
+
{
|
|
183247
|
+
"internalType": "uint256",
|
|
183248
|
+
"name": "",
|
|
183249
|
+
"type": "uint256"
|
|
183250
|
+
}
|
|
183251
|
+
],
|
|
183252
|
+
"payable": false,
|
|
183253
|
+
"stateMutability": "view",
|
|
183254
|
+
"type": "function"
|
|
183255
|
+
},
|
|
183256
|
+
{
|
|
183257
|
+
"constant": true,
|
|
183258
|
+
"inputs": [],
|
|
183259
|
+
"name": "comptroller",
|
|
183260
|
+
"outputs": [
|
|
183261
|
+
{
|
|
183262
|
+
"internalType": "contract ComptrollerInterface",
|
|
183263
|
+
"name": "",
|
|
183264
|
+
"type": "address"
|
|
183265
|
+
}
|
|
183266
|
+
],
|
|
183267
|
+
"payable": false,
|
|
183268
|
+
"stateMutability": "view",
|
|
183269
|
+
"type": "function"
|
|
183270
|
+
},
|
|
183271
|
+
{
|
|
183272
|
+
"constant": true,
|
|
183273
|
+
"inputs": [],
|
|
183274
|
+
"name": "decimals",
|
|
183275
|
+
"outputs": [
|
|
183276
|
+
{
|
|
183277
|
+
"internalType": "uint8",
|
|
183278
|
+
"name": "",
|
|
183279
|
+
"type": "uint8"
|
|
183280
|
+
}
|
|
183281
|
+
],
|
|
183282
|
+
"payable": false,
|
|
183283
|
+
"stateMutability": "view",
|
|
183284
|
+
"type": "function"
|
|
183285
|
+
},
|
|
183286
|
+
{
|
|
183287
|
+
"constant": false,
|
|
183288
|
+
"inputs": [
|
|
183289
|
+
{
|
|
183290
|
+
"internalType": "bytes",
|
|
183291
|
+
"name": "data",
|
|
183292
|
+
"type": "bytes"
|
|
183293
|
+
}
|
|
183294
|
+
],
|
|
183295
|
+
"name": "delegateToImplementation",
|
|
183296
|
+
"outputs": [
|
|
183297
|
+
{
|
|
183298
|
+
"internalType": "bytes",
|
|
183299
|
+
"name": "",
|
|
183300
|
+
"type": "bytes"
|
|
183301
|
+
}
|
|
183302
|
+
],
|
|
183303
|
+
"payable": false,
|
|
183304
|
+
"stateMutability": "nonpayable",
|
|
183305
|
+
"type": "function"
|
|
183306
|
+
},
|
|
183307
|
+
{
|
|
183308
|
+
"constant": true,
|
|
183309
|
+
"inputs": [
|
|
183310
|
+
{
|
|
183311
|
+
"internalType": "bytes",
|
|
183312
|
+
"name": "data",
|
|
183313
|
+
"type": "bytes"
|
|
183314
|
+
}
|
|
183315
|
+
],
|
|
183316
|
+
"name": "delegateToViewImplementation",
|
|
183317
|
+
"outputs": [
|
|
183318
|
+
{
|
|
183319
|
+
"internalType": "bytes",
|
|
183320
|
+
"name": "",
|
|
183321
|
+
"type": "bytes"
|
|
183322
|
+
}
|
|
183323
|
+
],
|
|
183324
|
+
"payable": false,
|
|
183325
|
+
"stateMutability": "view",
|
|
183326
|
+
"type": "function"
|
|
183327
|
+
},
|
|
183328
|
+
{
|
|
183329
|
+
"constant": false,
|
|
183330
|
+
"inputs": [],
|
|
183331
|
+
"name": "exchangeRateCurrent",
|
|
183332
|
+
"outputs": [
|
|
183333
|
+
{
|
|
183334
|
+
"internalType": "uint256",
|
|
183335
|
+
"name": "",
|
|
183336
|
+
"type": "uint256"
|
|
183337
|
+
}
|
|
183338
|
+
],
|
|
183339
|
+
"payable": false,
|
|
183340
|
+
"stateMutability": "nonpayable",
|
|
183341
|
+
"type": "function"
|
|
183342
|
+
},
|
|
183343
|
+
{
|
|
183344
|
+
"constant": true,
|
|
183345
|
+
"inputs": [],
|
|
183346
|
+
"name": "exchangeRateStored",
|
|
183347
|
+
"outputs": [
|
|
183348
|
+
{
|
|
183349
|
+
"internalType": "uint256",
|
|
183350
|
+
"name": "",
|
|
183351
|
+
"type": "uint256"
|
|
183352
|
+
}
|
|
183353
|
+
],
|
|
183354
|
+
"payable": false,
|
|
183355
|
+
"stateMutability": "view",
|
|
183356
|
+
"type": "function"
|
|
183357
|
+
},
|
|
183358
|
+
{
|
|
183359
|
+
"constant": true,
|
|
183360
|
+
"inputs": [
|
|
183361
|
+
{
|
|
183362
|
+
"internalType": "address",
|
|
183363
|
+
"name": "account",
|
|
183364
|
+
"type": "address"
|
|
183365
|
+
}
|
|
183366
|
+
],
|
|
183367
|
+
"name": "getAccountSnapshot",
|
|
183368
|
+
"outputs": [
|
|
183369
|
+
{
|
|
183370
|
+
"internalType": "uint256",
|
|
183371
|
+
"name": "",
|
|
183372
|
+
"type": "uint256"
|
|
183373
|
+
},
|
|
183374
|
+
{
|
|
183375
|
+
"internalType": "uint256",
|
|
183376
|
+
"name": "",
|
|
183377
|
+
"type": "uint256"
|
|
183378
|
+
},
|
|
183379
|
+
{
|
|
183380
|
+
"internalType": "uint256",
|
|
183381
|
+
"name": "",
|
|
183382
|
+
"type": "uint256"
|
|
183383
|
+
},
|
|
183384
|
+
{
|
|
183385
|
+
"internalType": "uint256",
|
|
183386
|
+
"name": "",
|
|
183387
|
+
"type": "uint256"
|
|
183388
|
+
}
|
|
183389
|
+
],
|
|
183390
|
+
"payable": false,
|
|
183391
|
+
"stateMutability": "view",
|
|
183392
|
+
"type": "function"
|
|
183393
|
+
},
|
|
183394
|
+
{
|
|
183395
|
+
"constant": true,
|
|
183396
|
+
"inputs": [],
|
|
183397
|
+
"name": "getCash",
|
|
183398
|
+
"outputs": [
|
|
183399
|
+
{
|
|
183400
|
+
"internalType": "uint256",
|
|
183401
|
+
"name": "",
|
|
183402
|
+
"type": "uint256"
|
|
183403
|
+
}
|
|
183404
|
+
],
|
|
183405
|
+
"payable": false,
|
|
183406
|
+
"stateMutability": "view",
|
|
183407
|
+
"type": "function"
|
|
183408
|
+
},
|
|
183409
|
+
{
|
|
183410
|
+
"constant": true,
|
|
183411
|
+
"inputs": [],
|
|
183412
|
+
"name": "implementation",
|
|
183413
|
+
"outputs": [
|
|
183414
|
+
{
|
|
183415
|
+
"internalType": "address",
|
|
183416
|
+
"name": "",
|
|
183417
|
+
"type": "address"
|
|
183418
|
+
}
|
|
183419
|
+
],
|
|
183420
|
+
"payable": false,
|
|
183421
|
+
"stateMutability": "view",
|
|
183422
|
+
"type": "function"
|
|
183423
|
+
},
|
|
183424
|
+
{
|
|
183425
|
+
"constant": true,
|
|
183426
|
+
"inputs": [],
|
|
183427
|
+
"name": "interestRateModel",
|
|
183428
|
+
"outputs": [
|
|
183429
|
+
{
|
|
183430
|
+
"internalType": "contract InterestRateModel",
|
|
183431
|
+
"name": "",
|
|
183432
|
+
"type": "address"
|
|
183433
|
+
}
|
|
183434
|
+
],
|
|
183435
|
+
"payable": false,
|
|
183436
|
+
"stateMutability": "view",
|
|
183437
|
+
"type": "function"
|
|
183438
|
+
},
|
|
183439
|
+
{
|
|
183440
|
+
"constant": true,
|
|
183441
|
+
"inputs": [],
|
|
183442
|
+
"name": "isVToken",
|
|
183443
|
+
"outputs": [
|
|
183444
|
+
{
|
|
183445
|
+
"internalType": "bool",
|
|
183446
|
+
"name": "",
|
|
183447
|
+
"type": "bool"
|
|
183448
|
+
}
|
|
183449
|
+
],
|
|
183450
|
+
"payable": false,
|
|
183451
|
+
"stateMutability": "view",
|
|
183452
|
+
"type": "function"
|
|
183453
|
+
},
|
|
183454
|
+
{
|
|
183455
|
+
"constant": false,
|
|
183456
|
+
"inputs": [
|
|
183457
|
+
{
|
|
183458
|
+
"internalType": "address",
|
|
183459
|
+
"name": "borrower",
|
|
183460
|
+
"type": "address"
|
|
183461
|
+
},
|
|
183462
|
+
{
|
|
183463
|
+
"internalType": "uint256",
|
|
183464
|
+
"name": "repayAmount",
|
|
183465
|
+
"type": "uint256"
|
|
183466
|
+
},
|
|
183467
|
+
{
|
|
183468
|
+
"internalType": "contract VTokenInterface",
|
|
183469
|
+
"name": "vTokenCollateral",
|
|
183470
|
+
"type": "address"
|
|
183471
|
+
}
|
|
183472
|
+
],
|
|
183473
|
+
"name": "liquidateBorrow",
|
|
183474
|
+
"outputs": [
|
|
183475
|
+
{
|
|
183476
|
+
"internalType": "uint256",
|
|
183477
|
+
"name": "",
|
|
183478
|
+
"type": "uint256"
|
|
183479
|
+
}
|
|
183480
|
+
],
|
|
183481
|
+
"payable": false,
|
|
183482
|
+
"stateMutability": "nonpayable",
|
|
183483
|
+
"type": "function"
|
|
183484
|
+
},
|
|
183485
|
+
{
|
|
183486
|
+
"constant": false,
|
|
183487
|
+
"inputs": [
|
|
183488
|
+
{
|
|
183489
|
+
"internalType": "uint256",
|
|
183490
|
+
"name": "mintAmount",
|
|
183491
|
+
"type": "uint256"
|
|
183492
|
+
}
|
|
183493
|
+
],
|
|
183494
|
+
"name": "mint",
|
|
183495
|
+
"outputs": [
|
|
183496
|
+
{
|
|
183497
|
+
"internalType": "uint256",
|
|
183498
|
+
"name": "",
|
|
183499
|
+
"type": "uint256"
|
|
183500
|
+
}
|
|
183501
|
+
],
|
|
183502
|
+
"payable": false,
|
|
183503
|
+
"stateMutability": "nonpayable",
|
|
183504
|
+
"type": "function"
|
|
183505
|
+
},
|
|
183506
|
+
{
|
|
183507
|
+
"constant": false,
|
|
183508
|
+
"inputs": [
|
|
183509
|
+
{
|
|
183510
|
+
"internalType": "address",
|
|
183511
|
+
"name": "receiver",
|
|
183512
|
+
"type": "address"
|
|
183513
|
+
},
|
|
183514
|
+
{
|
|
183515
|
+
"internalType": "uint256",
|
|
183516
|
+
"name": "mintAmount",
|
|
183517
|
+
"type": "uint256"
|
|
183518
|
+
}
|
|
183519
|
+
],
|
|
183520
|
+
"name": "mintBehalf",
|
|
183521
|
+
"outputs": [
|
|
183522
|
+
{
|
|
183523
|
+
"internalType": "uint256",
|
|
183524
|
+
"name": "",
|
|
183525
|
+
"type": "uint256"
|
|
183526
|
+
}
|
|
183527
|
+
],
|
|
183528
|
+
"payable": false,
|
|
183529
|
+
"stateMutability": "nonpayable",
|
|
183530
|
+
"type": "function"
|
|
183531
|
+
},
|
|
183532
|
+
{
|
|
183533
|
+
"constant": true,
|
|
183534
|
+
"inputs": [],
|
|
183535
|
+
"name": "name",
|
|
183536
|
+
"outputs": [
|
|
183537
|
+
{
|
|
183538
|
+
"internalType": "string",
|
|
183539
|
+
"name": "",
|
|
183540
|
+
"type": "string"
|
|
183541
|
+
}
|
|
183542
|
+
],
|
|
183543
|
+
"payable": false,
|
|
183544
|
+
"stateMutability": "view",
|
|
183545
|
+
"type": "function"
|
|
183546
|
+
},
|
|
183547
|
+
{
|
|
183548
|
+
"constant": true,
|
|
183549
|
+
"inputs": [],
|
|
183550
|
+
"name": "pendingAdmin",
|
|
183551
|
+
"outputs": [
|
|
183552
|
+
{
|
|
183553
|
+
"internalType": "address payable",
|
|
183554
|
+
"name": "",
|
|
183555
|
+
"type": "address"
|
|
183556
|
+
}
|
|
183557
|
+
],
|
|
183558
|
+
"payable": false,
|
|
183559
|
+
"stateMutability": "view",
|
|
183560
|
+
"type": "function"
|
|
183561
|
+
},
|
|
183562
|
+
{
|
|
183563
|
+
"constant": true,
|
|
183564
|
+
"inputs": [],
|
|
183565
|
+
"name": "protocolShareReserve",
|
|
183566
|
+
"outputs": [
|
|
183567
|
+
{
|
|
183568
|
+
"internalType": "address payable",
|
|
183569
|
+
"name": "",
|
|
183570
|
+
"type": "address"
|
|
183571
|
+
}
|
|
183572
|
+
],
|
|
183573
|
+
"payable": false,
|
|
183574
|
+
"stateMutability": "view",
|
|
183575
|
+
"type": "function"
|
|
183576
|
+
},
|
|
183577
|
+
{
|
|
183578
|
+
"constant": false,
|
|
183579
|
+
"inputs": [
|
|
183580
|
+
{
|
|
183581
|
+
"internalType": "uint256",
|
|
183582
|
+
"name": "redeemTokens",
|
|
183583
|
+
"type": "uint256"
|
|
183584
|
+
}
|
|
183585
|
+
],
|
|
183586
|
+
"name": "redeem",
|
|
183587
|
+
"outputs": [
|
|
183588
|
+
{
|
|
183589
|
+
"internalType": "uint256",
|
|
183590
|
+
"name": "",
|
|
183591
|
+
"type": "uint256"
|
|
183592
|
+
}
|
|
183593
|
+
],
|
|
183594
|
+
"payable": false,
|
|
183595
|
+
"stateMutability": "nonpayable",
|
|
183596
|
+
"type": "function"
|
|
183597
|
+
},
|
|
183598
|
+
{
|
|
183599
|
+
"constant": false,
|
|
183600
|
+
"inputs": [
|
|
183601
|
+
{
|
|
183602
|
+
"internalType": "uint256",
|
|
183603
|
+
"name": "redeemAmount",
|
|
183604
|
+
"type": "uint256"
|
|
183605
|
+
}
|
|
183606
|
+
],
|
|
183607
|
+
"name": "redeemUnderlying",
|
|
183608
|
+
"outputs": [
|
|
183609
|
+
{
|
|
183610
|
+
"internalType": "uint256",
|
|
183611
|
+
"name": "",
|
|
183612
|
+
"type": "uint256"
|
|
183613
|
+
}
|
|
183614
|
+
],
|
|
183615
|
+
"payable": false,
|
|
183616
|
+
"stateMutability": "nonpayable",
|
|
183617
|
+
"type": "function"
|
|
183618
|
+
},
|
|
183619
|
+
{
|
|
183620
|
+
"constant": true,
|
|
183621
|
+
"inputs": [],
|
|
183622
|
+
"name": "reduceReservesBlockDelta",
|
|
183623
|
+
"outputs": [
|
|
183624
|
+
{
|
|
183625
|
+
"internalType": "uint256",
|
|
183626
|
+
"name": "",
|
|
183627
|
+
"type": "uint256"
|
|
183628
|
+
}
|
|
183629
|
+
],
|
|
183630
|
+
"payable": false,
|
|
183631
|
+
"stateMutability": "view",
|
|
183632
|
+
"type": "function"
|
|
183633
|
+
},
|
|
183634
|
+
{
|
|
183635
|
+
"constant": true,
|
|
183636
|
+
"inputs": [],
|
|
183637
|
+
"name": "reduceReservesBlockNumber",
|
|
183638
|
+
"outputs": [
|
|
183639
|
+
{
|
|
183640
|
+
"internalType": "uint256",
|
|
183641
|
+
"name": "",
|
|
183642
|
+
"type": "uint256"
|
|
183643
|
+
}
|
|
183644
|
+
],
|
|
183645
|
+
"payable": false,
|
|
183646
|
+
"stateMutability": "view",
|
|
183647
|
+
"type": "function"
|
|
183648
|
+
},
|
|
183649
|
+
{
|
|
183650
|
+
"constant": false,
|
|
183651
|
+
"inputs": [
|
|
183652
|
+
{
|
|
183653
|
+
"internalType": "uint256",
|
|
183654
|
+
"name": "repayAmount",
|
|
183655
|
+
"type": "uint256"
|
|
183656
|
+
}
|
|
183657
|
+
],
|
|
183658
|
+
"name": "repayBorrow",
|
|
183659
|
+
"outputs": [
|
|
183660
|
+
{
|
|
183661
|
+
"internalType": "uint256",
|
|
183662
|
+
"name": "",
|
|
183663
|
+
"type": "uint256"
|
|
183664
|
+
}
|
|
183665
|
+
],
|
|
183666
|
+
"payable": false,
|
|
183667
|
+
"stateMutability": "nonpayable",
|
|
183668
|
+
"type": "function"
|
|
183669
|
+
},
|
|
183670
|
+
{
|
|
183671
|
+
"constant": false,
|
|
183672
|
+
"inputs": [
|
|
183673
|
+
{
|
|
183674
|
+
"internalType": "address",
|
|
183675
|
+
"name": "borrower",
|
|
183676
|
+
"type": "address"
|
|
183677
|
+
},
|
|
183678
|
+
{
|
|
183679
|
+
"internalType": "uint256",
|
|
183680
|
+
"name": "repayAmount",
|
|
183681
|
+
"type": "uint256"
|
|
183682
|
+
}
|
|
183683
|
+
],
|
|
183684
|
+
"name": "repayBorrowBehalf",
|
|
183685
|
+
"outputs": [
|
|
183686
|
+
{
|
|
183687
|
+
"internalType": "uint256",
|
|
183688
|
+
"name": "",
|
|
183689
|
+
"type": "uint256"
|
|
183690
|
+
}
|
|
183691
|
+
],
|
|
183692
|
+
"payable": false,
|
|
183693
|
+
"stateMutability": "nonpayable",
|
|
183694
|
+
"type": "function"
|
|
183695
|
+
},
|
|
183696
|
+
{
|
|
183697
|
+
"constant": true,
|
|
183698
|
+
"inputs": [],
|
|
183699
|
+
"name": "reserveFactorMantissa",
|
|
183700
|
+
"outputs": [
|
|
183701
|
+
{
|
|
183702
|
+
"internalType": "uint256",
|
|
183703
|
+
"name": "",
|
|
183704
|
+
"type": "uint256"
|
|
183705
|
+
}
|
|
183706
|
+
],
|
|
183707
|
+
"payable": false,
|
|
183708
|
+
"stateMutability": "view",
|
|
183709
|
+
"type": "function"
|
|
183710
|
+
},
|
|
183711
|
+
{
|
|
183712
|
+
"constant": false,
|
|
183713
|
+
"inputs": [
|
|
183714
|
+
{
|
|
183715
|
+
"internalType": "address",
|
|
183716
|
+
"name": "liquidator",
|
|
183717
|
+
"type": "address"
|
|
183718
|
+
},
|
|
183719
|
+
{
|
|
183720
|
+
"internalType": "address",
|
|
183721
|
+
"name": "borrower",
|
|
183722
|
+
"type": "address"
|
|
183723
|
+
},
|
|
183724
|
+
{
|
|
183725
|
+
"internalType": "uint256",
|
|
183726
|
+
"name": "seizeTokens",
|
|
183727
|
+
"type": "uint256"
|
|
183728
|
+
}
|
|
183729
|
+
],
|
|
183730
|
+
"name": "seize",
|
|
183731
|
+
"outputs": [
|
|
183732
|
+
{
|
|
183733
|
+
"internalType": "uint256",
|
|
183734
|
+
"name": "",
|
|
183735
|
+
"type": "uint256"
|
|
183736
|
+
}
|
|
183737
|
+
],
|
|
183738
|
+
"payable": false,
|
|
183739
|
+
"stateMutability": "nonpayable",
|
|
183740
|
+
"type": "function"
|
|
183741
|
+
},
|
|
183742
|
+
{
|
|
183743
|
+
"constant": true,
|
|
183744
|
+
"inputs": [],
|
|
183745
|
+
"name": "supplyRatePerBlock",
|
|
183746
|
+
"outputs": [
|
|
183747
|
+
{
|
|
183748
|
+
"internalType": "uint256",
|
|
183749
|
+
"name": "",
|
|
183750
|
+
"type": "uint256"
|
|
183751
|
+
}
|
|
183752
|
+
],
|
|
183753
|
+
"payable": false,
|
|
183754
|
+
"stateMutability": "view",
|
|
183755
|
+
"type": "function"
|
|
183756
|
+
},
|
|
183757
|
+
{
|
|
183758
|
+
"constant": true,
|
|
183759
|
+
"inputs": [],
|
|
183760
|
+
"name": "symbol",
|
|
183761
|
+
"outputs": [
|
|
183762
|
+
{
|
|
183763
|
+
"internalType": "string",
|
|
183764
|
+
"name": "",
|
|
183765
|
+
"type": "string"
|
|
183766
|
+
}
|
|
183767
|
+
],
|
|
183768
|
+
"payable": false,
|
|
183769
|
+
"stateMutability": "view",
|
|
183770
|
+
"type": "function"
|
|
183771
|
+
},
|
|
183772
|
+
{
|
|
183773
|
+
"constant": true,
|
|
183774
|
+
"inputs": [],
|
|
183775
|
+
"name": "totalBorrows",
|
|
183776
|
+
"outputs": [
|
|
183777
|
+
{
|
|
183778
|
+
"internalType": "uint256",
|
|
183779
|
+
"name": "",
|
|
183780
|
+
"type": "uint256"
|
|
183781
|
+
}
|
|
183782
|
+
],
|
|
183783
|
+
"payable": false,
|
|
183784
|
+
"stateMutability": "view",
|
|
183785
|
+
"type": "function"
|
|
183786
|
+
},
|
|
183787
|
+
{
|
|
183788
|
+
"constant": false,
|
|
183789
|
+
"inputs": [],
|
|
183790
|
+
"name": "totalBorrowsCurrent",
|
|
183791
|
+
"outputs": [
|
|
183792
|
+
{
|
|
183793
|
+
"internalType": "uint256",
|
|
183794
|
+
"name": "",
|
|
183795
|
+
"type": "uint256"
|
|
183796
|
+
}
|
|
183797
|
+
],
|
|
183798
|
+
"payable": false,
|
|
183799
|
+
"stateMutability": "nonpayable",
|
|
183800
|
+
"type": "function"
|
|
183801
|
+
},
|
|
183802
|
+
{
|
|
183803
|
+
"constant": true,
|
|
183804
|
+
"inputs": [],
|
|
183805
|
+
"name": "totalReserves",
|
|
183806
|
+
"outputs": [
|
|
183807
|
+
{
|
|
183808
|
+
"internalType": "uint256",
|
|
183809
|
+
"name": "",
|
|
183810
|
+
"type": "uint256"
|
|
183811
|
+
}
|
|
183812
|
+
],
|
|
183813
|
+
"payable": false,
|
|
183814
|
+
"stateMutability": "view",
|
|
183815
|
+
"type": "function"
|
|
183816
|
+
},
|
|
183817
|
+
{
|
|
183818
|
+
"constant": true,
|
|
183819
|
+
"inputs": [],
|
|
183820
|
+
"name": "totalSupply",
|
|
183821
|
+
"outputs": [
|
|
183822
|
+
{
|
|
183823
|
+
"internalType": "uint256",
|
|
183824
|
+
"name": "",
|
|
183825
|
+
"type": "uint256"
|
|
183826
|
+
}
|
|
183827
|
+
],
|
|
183828
|
+
"payable": false,
|
|
183829
|
+
"stateMutability": "view",
|
|
183830
|
+
"type": "function"
|
|
183831
|
+
},
|
|
183832
|
+
{
|
|
183833
|
+
"constant": false,
|
|
183834
|
+
"inputs": [
|
|
183835
|
+
{
|
|
183836
|
+
"internalType": "address",
|
|
183837
|
+
"name": "dst",
|
|
183838
|
+
"type": "address"
|
|
183839
|
+
},
|
|
183840
|
+
{
|
|
183841
|
+
"internalType": "uint256",
|
|
183842
|
+
"name": "amount",
|
|
183843
|
+
"type": "uint256"
|
|
183844
|
+
}
|
|
183845
|
+
],
|
|
183846
|
+
"name": "transfer",
|
|
183847
|
+
"outputs": [
|
|
183848
|
+
{
|
|
183849
|
+
"internalType": "bool",
|
|
183850
|
+
"name": "",
|
|
183851
|
+
"type": "bool"
|
|
183852
|
+
}
|
|
183853
|
+
],
|
|
183854
|
+
"payable": false,
|
|
183855
|
+
"stateMutability": "nonpayable",
|
|
183856
|
+
"type": "function"
|
|
183857
|
+
},
|
|
183858
|
+
{
|
|
183859
|
+
"constant": false,
|
|
183860
|
+
"inputs": [
|
|
183861
|
+
{
|
|
183862
|
+
"internalType": "address",
|
|
183863
|
+
"name": "src",
|
|
183864
|
+
"type": "address"
|
|
183865
|
+
},
|
|
183866
|
+
{
|
|
183867
|
+
"internalType": "address",
|
|
183868
|
+
"name": "dst",
|
|
183869
|
+
"type": "address"
|
|
183870
|
+
},
|
|
183871
|
+
{
|
|
183872
|
+
"internalType": "uint256",
|
|
183873
|
+
"name": "amount",
|
|
183874
|
+
"type": "uint256"
|
|
183875
|
+
}
|
|
183876
|
+
],
|
|
183877
|
+
"name": "transferFrom",
|
|
183878
|
+
"outputs": [
|
|
183879
|
+
{
|
|
183880
|
+
"internalType": "bool",
|
|
183881
|
+
"name": "",
|
|
183882
|
+
"type": "bool"
|
|
183883
|
+
}
|
|
183884
|
+
],
|
|
183885
|
+
"payable": false,
|
|
183886
|
+
"stateMutability": "nonpayable",
|
|
183887
|
+
"type": "function"
|
|
183888
|
+
},
|
|
183889
|
+
{
|
|
183890
|
+
"constant": true,
|
|
183891
|
+
"inputs": [],
|
|
183892
|
+
"name": "underlying",
|
|
183893
|
+
"outputs": [
|
|
183894
|
+
{
|
|
183895
|
+
"internalType": "address",
|
|
183896
|
+
"name": "",
|
|
183897
|
+
"type": "address"
|
|
183898
|
+
}
|
|
183899
|
+
],
|
|
183900
|
+
"payable": false,
|
|
183901
|
+
"stateMutability": "view",
|
|
183902
|
+
"type": "function"
|
|
183903
|
+
}
|
|
183904
|
+
]
|
|
182221
183905
|
}
|
|
182222
183906
|
}
|
|
182223
183907
|
}
|