@venusprotocol/venus-protocol 9.8.0-dev.22 → 9.8.0-dev.23
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/vWBNB.json +2382 -0
- package/deployments/bscmainnet.json +1684 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/dist/deployments/bscmainnet.json +1684 -0
- package/dist/helpers/markets/bscmainnet.d.ts +24 -0
- package/dist/helpers/markets/bscmainnet.js +25 -0
- package/dist/helpers/tokens/bscmainnet.d.ts +7 -0
- package/dist/helpers/tokens/bscmainnet.js +7 -0
- package/dist/helpers/tokens/index.d.ts +21 -0
- package/package.json +1 -1
|
@@ -180317,6 +180317,1690 @@
|
|
|
180317
180317
|
}
|
|
180318
180318
|
]
|
|
180319
180319
|
},
|
|
180320
|
+
"vWBNB": {
|
|
180321
|
+
"address": "0x6bCa74586218dB34cdB402295796b79663d816e9",
|
|
180322
|
+
"abi": [
|
|
180323
|
+
{
|
|
180324
|
+
"inputs": [
|
|
180325
|
+
{
|
|
180326
|
+
"internalType": "address",
|
|
180327
|
+
"name": "underlying_",
|
|
180328
|
+
"type": "address"
|
|
180329
|
+
},
|
|
180330
|
+
{
|
|
180331
|
+
"internalType": "contract ComptrollerInterface",
|
|
180332
|
+
"name": "comptroller_",
|
|
180333
|
+
"type": "address"
|
|
180334
|
+
},
|
|
180335
|
+
{
|
|
180336
|
+
"internalType": "contract InterestRateModel",
|
|
180337
|
+
"name": "interestRateModel_",
|
|
180338
|
+
"type": "address"
|
|
180339
|
+
},
|
|
180340
|
+
{
|
|
180341
|
+
"internalType": "uint256",
|
|
180342
|
+
"name": "initialExchangeRateMantissa_",
|
|
180343
|
+
"type": "uint256"
|
|
180344
|
+
},
|
|
180345
|
+
{
|
|
180346
|
+
"internalType": "string",
|
|
180347
|
+
"name": "name_",
|
|
180348
|
+
"type": "string"
|
|
180349
|
+
},
|
|
180350
|
+
{
|
|
180351
|
+
"internalType": "string",
|
|
180352
|
+
"name": "symbol_",
|
|
180353
|
+
"type": "string"
|
|
180354
|
+
},
|
|
180355
|
+
{
|
|
180356
|
+
"internalType": "uint8",
|
|
180357
|
+
"name": "decimals_",
|
|
180358
|
+
"type": "uint8"
|
|
180359
|
+
},
|
|
180360
|
+
{
|
|
180361
|
+
"internalType": "address payable",
|
|
180362
|
+
"name": "admin_",
|
|
180363
|
+
"type": "address"
|
|
180364
|
+
},
|
|
180365
|
+
{
|
|
180366
|
+
"internalType": "address",
|
|
180367
|
+
"name": "implementation_",
|
|
180368
|
+
"type": "address"
|
|
180369
|
+
},
|
|
180370
|
+
{
|
|
180371
|
+
"internalType": "bytes",
|
|
180372
|
+
"name": "becomeImplementationData",
|
|
180373
|
+
"type": "bytes"
|
|
180374
|
+
}
|
|
180375
|
+
],
|
|
180376
|
+
"payable": false,
|
|
180377
|
+
"stateMutability": "nonpayable",
|
|
180378
|
+
"type": "constructor"
|
|
180379
|
+
},
|
|
180380
|
+
{
|
|
180381
|
+
"anonymous": false,
|
|
180382
|
+
"inputs": [
|
|
180383
|
+
{
|
|
180384
|
+
"indexed": false,
|
|
180385
|
+
"internalType": "uint256",
|
|
180386
|
+
"name": "cashPrior",
|
|
180387
|
+
"type": "uint256"
|
|
180388
|
+
},
|
|
180389
|
+
{
|
|
180390
|
+
"indexed": false,
|
|
180391
|
+
"internalType": "uint256",
|
|
180392
|
+
"name": "interestAccumulated",
|
|
180393
|
+
"type": "uint256"
|
|
180394
|
+
},
|
|
180395
|
+
{
|
|
180396
|
+
"indexed": false,
|
|
180397
|
+
"internalType": "uint256",
|
|
180398
|
+
"name": "borrowIndex",
|
|
180399
|
+
"type": "uint256"
|
|
180400
|
+
},
|
|
180401
|
+
{
|
|
180402
|
+
"indexed": false,
|
|
180403
|
+
"internalType": "uint256",
|
|
180404
|
+
"name": "totalBorrows",
|
|
180405
|
+
"type": "uint256"
|
|
180406
|
+
}
|
|
180407
|
+
],
|
|
180408
|
+
"name": "AccrueInterest",
|
|
180409
|
+
"type": "event"
|
|
180410
|
+
},
|
|
180411
|
+
{
|
|
180412
|
+
"anonymous": false,
|
|
180413
|
+
"inputs": [
|
|
180414
|
+
{
|
|
180415
|
+
"indexed": true,
|
|
180416
|
+
"internalType": "address",
|
|
180417
|
+
"name": "owner",
|
|
180418
|
+
"type": "address"
|
|
180419
|
+
},
|
|
180420
|
+
{
|
|
180421
|
+
"indexed": true,
|
|
180422
|
+
"internalType": "address",
|
|
180423
|
+
"name": "spender",
|
|
180424
|
+
"type": "address"
|
|
180425
|
+
},
|
|
180426
|
+
{
|
|
180427
|
+
"indexed": false,
|
|
180428
|
+
"internalType": "uint256",
|
|
180429
|
+
"name": "amount",
|
|
180430
|
+
"type": "uint256"
|
|
180431
|
+
}
|
|
180432
|
+
],
|
|
180433
|
+
"name": "Approval",
|
|
180434
|
+
"type": "event"
|
|
180435
|
+
},
|
|
180436
|
+
{
|
|
180437
|
+
"anonymous": false,
|
|
180438
|
+
"inputs": [
|
|
180439
|
+
{
|
|
180440
|
+
"indexed": false,
|
|
180441
|
+
"internalType": "address",
|
|
180442
|
+
"name": "borrower",
|
|
180443
|
+
"type": "address"
|
|
180444
|
+
},
|
|
180445
|
+
{
|
|
180446
|
+
"indexed": false,
|
|
180447
|
+
"internalType": "uint256",
|
|
180448
|
+
"name": "borrowAmount",
|
|
180449
|
+
"type": "uint256"
|
|
180450
|
+
},
|
|
180451
|
+
{
|
|
180452
|
+
"indexed": false,
|
|
180453
|
+
"internalType": "uint256",
|
|
180454
|
+
"name": "accountBorrows",
|
|
180455
|
+
"type": "uint256"
|
|
180456
|
+
},
|
|
180457
|
+
{
|
|
180458
|
+
"indexed": false,
|
|
180459
|
+
"internalType": "uint256",
|
|
180460
|
+
"name": "totalBorrows",
|
|
180461
|
+
"type": "uint256"
|
|
180462
|
+
}
|
|
180463
|
+
],
|
|
180464
|
+
"name": "Borrow",
|
|
180465
|
+
"type": "event"
|
|
180466
|
+
},
|
|
180467
|
+
{
|
|
180468
|
+
"anonymous": false,
|
|
180469
|
+
"inputs": [
|
|
180470
|
+
{
|
|
180471
|
+
"indexed": false,
|
|
180472
|
+
"internalType": "uint256",
|
|
180473
|
+
"name": "error",
|
|
180474
|
+
"type": "uint256"
|
|
180475
|
+
},
|
|
180476
|
+
{
|
|
180477
|
+
"indexed": false,
|
|
180478
|
+
"internalType": "uint256",
|
|
180479
|
+
"name": "info",
|
|
180480
|
+
"type": "uint256"
|
|
180481
|
+
},
|
|
180482
|
+
{
|
|
180483
|
+
"indexed": false,
|
|
180484
|
+
"internalType": "uint256",
|
|
180485
|
+
"name": "detail",
|
|
180486
|
+
"type": "uint256"
|
|
180487
|
+
}
|
|
180488
|
+
],
|
|
180489
|
+
"name": "Failure",
|
|
180490
|
+
"type": "event"
|
|
180491
|
+
},
|
|
180492
|
+
{
|
|
180493
|
+
"anonymous": false,
|
|
180494
|
+
"inputs": [
|
|
180495
|
+
{
|
|
180496
|
+
"indexed": false,
|
|
180497
|
+
"internalType": "address",
|
|
180498
|
+
"name": "liquidator",
|
|
180499
|
+
"type": "address"
|
|
180500
|
+
},
|
|
180501
|
+
{
|
|
180502
|
+
"indexed": false,
|
|
180503
|
+
"internalType": "address",
|
|
180504
|
+
"name": "borrower",
|
|
180505
|
+
"type": "address"
|
|
180506
|
+
},
|
|
180507
|
+
{
|
|
180508
|
+
"indexed": false,
|
|
180509
|
+
"internalType": "uint256",
|
|
180510
|
+
"name": "repayAmount",
|
|
180511
|
+
"type": "uint256"
|
|
180512
|
+
},
|
|
180513
|
+
{
|
|
180514
|
+
"indexed": false,
|
|
180515
|
+
"internalType": "address",
|
|
180516
|
+
"name": "vTokenCollateral",
|
|
180517
|
+
"type": "address"
|
|
180518
|
+
},
|
|
180519
|
+
{
|
|
180520
|
+
"indexed": false,
|
|
180521
|
+
"internalType": "uint256",
|
|
180522
|
+
"name": "seizeTokens",
|
|
180523
|
+
"type": "uint256"
|
|
180524
|
+
}
|
|
180525
|
+
],
|
|
180526
|
+
"name": "LiquidateBorrow",
|
|
180527
|
+
"type": "event"
|
|
180528
|
+
},
|
|
180529
|
+
{
|
|
180530
|
+
"anonymous": false,
|
|
180531
|
+
"inputs": [
|
|
180532
|
+
{
|
|
180533
|
+
"indexed": false,
|
|
180534
|
+
"internalType": "address",
|
|
180535
|
+
"name": "minter",
|
|
180536
|
+
"type": "address"
|
|
180537
|
+
},
|
|
180538
|
+
{
|
|
180539
|
+
"indexed": false,
|
|
180540
|
+
"internalType": "uint256",
|
|
180541
|
+
"name": "mintAmount",
|
|
180542
|
+
"type": "uint256"
|
|
180543
|
+
},
|
|
180544
|
+
{
|
|
180545
|
+
"indexed": false,
|
|
180546
|
+
"internalType": "uint256",
|
|
180547
|
+
"name": "mintTokens",
|
|
180548
|
+
"type": "uint256"
|
|
180549
|
+
},
|
|
180550
|
+
{
|
|
180551
|
+
"indexed": false,
|
|
180552
|
+
"internalType": "uint256",
|
|
180553
|
+
"name": "totalSupply",
|
|
180554
|
+
"type": "uint256"
|
|
180555
|
+
}
|
|
180556
|
+
],
|
|
180557
|
+
"name": "Mint",
|
|
180558
|
+
"type": "event"
|
|
180559
|
+
},
|
|
180560
|
+
{
|
|
180561
|
+
"anonymous": false,
|
|
180562
|
+
"inputs": [
|
|
180563
|
+
{
|
|
180564
|
+
"indexed": false,
|
|
180565
|
+
"internalType": "address",
|
|
180566
|
+
"name": "payer",
|
|
180567
|
+
"type": "address"
|
|
180568
|
+
},
|
|
180569
|
+
{
|
|
180570
|
+
"indexed": false,
|
|
180571
|
+
"internalType": "address",
|
|
180572
|
+
"name": "receiver",
|
|
180573
|
+
"type": "address"
|
|
180574
|
+
},
|
|
180575
|
+
{
|
|
180576
|
+
"indexed": false,
|
|
180577
|
+
"internalType": "uint256",
|
|
180578
|
+
"name": "mintAmount",
|
|
180579
|
+
"type": "uint256"
|
|
180580
|
+
},
|
|
180581
|
+
{
|
|
180582
|
+
"indexed": false,
|
|
180583
|
+
"internalType": "uint256",
|
|
180584
|
+
"name": "mintTokens",
|
|
180585
|
+
"type": "uint256"
|
|
180586
|
+
},
|
|
180587
|
+
{
|
|
180588
|
+
"indexed": false,
|
|
180589
|
+
"internalType": "uint256",
|
|
180590
|
+
"name": "totalSupply",
|
|
180591
|
+
"type": "uint256"
|
|
180592
|
+
}
|
|
180593
|
+
],
|
|
180594
|
+
"name": "MintBehalf",
|
|
180595
|
+
"type": "event"
|
|
180596
|
+
},
|
|
180597
|
+
{
|
|
180598
|
+
"anonymous": false,
|
|
180599
|
+
"inputs": [
|
|
180600
|
+
{
|
|
180601
|
+
"indexed": false,
|
|
180602
|
+
"internalType": "address",
|
|
180603
|
+
"name": "oldAccessControlAddress",
|
|
180604
|
+
"type": "address"
|
|
180605
|
+
},
|
|
180606
|
+
{
|
|
180607
|
+
"indexed": false,
|
|
180608
|
+
"internalType": "address",
|
|
180609
|
+
"name": "newAccessControlAddress",
|
|
180610
|
+
"type": "address"
|
|
180611
|
+
}
|
|
180612
|
+
],
|
|
180613
|
+
"name": "NewAccessControlManager",
|
|
180614
|
+
"type": "event"
|
|
180615
|
+
},
|
|
180616
|
+
{
|
|
180617
|
+
"anonymous": false,
|
|
180618
|
+
"inputs": [
|
|
180619
|
+
{
|
|
180620
|
+
"indexed": false,
|
|
180621
|
+
"internalType": "address",
|
|
180622
|
+
"name": "oldAdmin",
|
|
180623
|
+
"type": "address"
|
|
180624
|
+
},
|
|
180625
|
+
{
|
|
180626
|
+
"indexed": false,
|
|
180627
|
+
"internalType": "address",
|
|
180628
|
+
"name": "newAdmin",
|
|
180629
|
+
"type": "address"
|
|
180630
|
+
}
|
|
180631
|
+
],
|
|
180632
|
+
"name": "NewAdmin",
|
|
180633
|
+
"type": "event"
|
|
180634
|
+
},
|
|
180635
|
+
{
|
|
180636
|
+
"anonymous": false,
|
|
180637
|
+
"inputs": [
|
|
180638
|
+
{
|
|
180639
|
+
"indexed": false,
|
|
180640
|
+
"internalType": "contract ComptrollerInterface",
|
|
180641
|
+
"name": "oldComptroller",
|
|
180642
|
+
"type": "address"
|
|
180643
|
+
},
|
|
180644
|
+
{
|
|
180645
|
+
"indexed": false,
|
|
180646
|
+
"internalType": "contract ComptrollerInterface",
|
|
180647
|
+
"name": "newComptroller",
|
|
180648
|
+
"type": "address"
|
|
180649
|
+
}
|
|
180650
|
+
],
|
|
180651
|
+
"name": "NewComptroller",
|
|
180652
|
+
"type": "event"
|
|
180653
|
+
},
|
|
180654
|
+
{
|
|
180655
|
+
"anonymous": false,
|
|
180656
|
+
"inputs": [
|
|
180657
|
+
{
|
|
180658
|
+
"indexed": false,
|
|
180659
|
+
"internalType": "address",
|
|
180660
|
+
"name": "oldImplementation",
|
|
180661
|
+
"type": "address"
|
|
180662
|
+
},
|
|
180663
|
+
{
|
|
180664
|
+
"indexed": false,
|
|
180665
|
+
"internalType": "address",
|
|
180666
|
+
"name": "newImplementation",
|
|
180667
|
+
"type": "address"
|
|
180668
|
+
}
|
|
180669
|
+
],
|
|
180670
|
+
"name": "NewImplementation",
|
|
180671
|
+
"type": "event"
|
|
180672
|
+
},
|
|
180673
|
+
{
|
|
180674
|
+
"anonymous": false,
|
|
180675
|
+
"inputs": [
|
|
180676
|
+
{
|
|
180677
|
+
"indexed": false,
|
|
180678
|
+
"internalType": "contract InterestRateModel",
|
|
180679
|
+
"name": "oldInterestRateModel",
|
|
180680
|
+
"type": "address"
|
|
180681
|
+
},
|
|
180682
|
+
{
|
|
180683
|
+
"indexed": false,
|
|
180684
|
+
"internalType": "contract InterestRateModel",
|
|
180685
|
+
"name": "newInterestRateModel",
|
|
180686
|
+
"type": "address"
|
|
180687
|
+
}
|
|
180688
|
+
],
|
|
180689
|
+
"name": "NewMarketInterestRateModel",
|
|
180690
|
+
"type": "event"
|
|
180691
|
+
},
|
|
180692
|
+
{
|
|
180693
|
+
"anonymous": false,
|
|
180694
|
+
"inputs": [
|
|
180695
|
+
{
|
|
180696
|
+
"indexed": false,
|
|
180697
|
+
"internalType": "address",
|
|
180698
|
+
"name": "oldPendingAdmin",
|
|
180699
|
+
"type": "address"
|
|
180700
|
+
},
|
|
180701
|
+
{
|
|
180702
|
+
"indexed": false,
|
|
180703
|
+
"internalType": "address",
|
|
180704
|
+
"name": "newPendingAdmin",
|
|
180705
|
+
"type": "address"
|
|
180706
|
+
}
|
|
180707
|
+
],
|
|
180708
|
+
"name": "NewPendingAdmin",
|
|
180709
|
+
"type": "event"
|
|
180710
|
+
},
|
|
180711
|
+
{
|
|
180712
|
+
"anonymous": false,
|
|
180713
|
+
"inputs": [
|
|
180714
|
+
{
|
|
180715
|
+
"indexed": true,
|
|
180716
|
+
"internalType": "address",
|
|
180717
|
+
"name": "oldProtocolShareReserve",
|
|
180718
|
+
"type": "address"
|
|
180719
|
+
},
|
|
180720
|
+
{
|
|
180721
|
+
"indexed": true,
|
|
180722
|
+
"internalType": "address",
|
|
180723
|
+
"name": "newProtocolShareReserve",
|
|
180724
|
+
"type": "address"
|
|
180725
|
+
}
|
|
180726
|
+
],
|
|
180727
|
+
"name": "NewProtocolShareReserve",
|
|
180728
|
+
"type": "event"
|
|
180729
|
+
},
|
|
180730
|
+
{
|
|
180731
|
+
"anonymous": false,
|
|
180732
|
+
"inputs": [
|
|
180733
|
+
{
|
|
180734
|
+
"indexed": false,
|
|
180735
|
+
"internalType": "uint256",
|
|
180736
|
+
"name": "oldReduceReservesBlockDelta",
|
|
180737
|
+
"type": "uint256"
|
|
180738
|
+
},
|
|
180739
|
+
{
|
|
180740
|
+
"indexed": false,
|
|
180741
|
+
"internalType": "uint256",
|
|
180742
|
+
"name": "newReduceReservesBlockDelta",
|
|
180743
|
+
"type": "uint256"
|
|
180744
|
+
}
|
|
180745
|
+
],
|
|
180746
|
+
"name": "NewReduceReservesBlockDelta",
|
|
180747
|
+
"type": "event"
|
|
180748
|
+
},
|
|
180749
|
+
{
|
|
180750
|
+
"anonymous": false,
|
|
180751
|
+
"inputs": [
|
|
180752
|
+
{
|
|
180753
|
+
"indexed": false,
|
|
180754
|
+
"internalType": "uint256",
|
|
180755
|
+
"name": "oldReserveFactorMantissa",
|
|
180756
|
+
"type": "uint256"
|
|
180757
|
+
},
|
|
180758
|
+
{
|
|
180759
|
+
"indexed": false,
|
|
180760
|
+
"internalType": "uint256",
|
|
180761
|
+
"name": "newReserveFactorMantissa",
|
|
180762
|
+
"type": "uint256"
|
|
180763
|
+
}
|
|
180764
|
+
],
|
|
180765
|
+
"name": "NewReserveFactor",
|
|
180766
|
+
"type": "event"
|
|
180767
|
+
},
|
|
180768
|
+
{
|
|
180769
|
+
"anonymous": false,
|
|
180770
|
+
"inputs": [
|
|
180771
|
+
{
|
|
180772
|
+
"indexed": false,
|
|
180773
|
+
"internalType": "address",
|
|
180774
|
+
"name": "redeemer",
|
|
180775
|
+
"type": "address"
|
|
180776
|
+
},
|
|
180777
|
+
{
|
|
180778
|
+
"indexed": false,
|
|
180779
|
+
"internalType": "uint256",
|
|
180780
|
+
"name": "redeemAmount",
|
|
180781
|
+
"type": "uint256"
|
|
180782
|
+
},
|
|
180783
|
+
{
|
|
180784
|
+
"indexed": false,
|
|
180785
|
+
"internalType": "uint256",
|
|
180786
|
+
"name": "redeemTokens",
|
|
180787
|
+
"type": "uint256"
|
|
180788
|
+
},
|
|
180789
|
+
{
|
|
180790
|
+
"indexed": false,
|
|
180791
|
+
"internalType": "uint256",
|
|
180792
|
+
"name": "totalSupply",
|
|
180793
|
+
"type": "uint256"
|
|
180794
|
+
}
|
|
180795
|
+
],
|
|
180796
|
+
"name": "Redeem",
|
|
180797
|
+
"type": "event"
|
|
180798
|
+
},
|
|
180799
|
+
{
|
|
180800
|
+
"anonymous": false,
|
|
180801
|
+
"inputs": [
|
|
180802
|
+
{
|
|
180803
|
+
"indexed": false,
|
|
180804
|
+
"internalType": "address",
|
|
180805
|
+
"name": "redeemer",
|
|
180806
|
+
"type": "address"
|
|
180807
|
+
},
|
|
180808
|
+
{
|
|
180809
|
+
"indexed": false,
|
|
180810
|
+
"internalType": "uint256",
|
|
180811
|
+
"name": "feeAmount",
|
|
180812
|
+
"type": "uint256"
|
|
180813
|
+
},
|
|
180814
|
+
{
|
|
180815
|
+
"indexed": false,
|
|
180816
|
+
"internalType": "uint256",
|
|
180817
|
+
"name": "redeemTokens",
|
|
180818
|
+
"type": "uint256"
|
|
180819
|
+
}
|
|
180820
|
+
],
|
|
180821
|
+
"name": "RedeemFee",
|
|
180822
|
+
"type": "event"
|
|
180823
|
+
},
|
|
180824
|
+
{
|
|
180825
|
+
"anonymous": false,
|
|
180826
|
+
"inputs": [
|
|
180827
|
+
{
|
|
180828
|
+
"indexed": false,
|
|
180829
|
+
"internalType": "address",
|
|
180830
|
+
"name": "payer",
|
|
180831
|
+
"type": "address"
|
|
180832
|
+
},
|
|
180833
|
+
{
|
|
180834
|
+
"indexed": false,
|
|
180835
|
+
"internalType": "address",
|
|
180836
|
+
"name": "borrower",
|
|
180837
|
+
"type": "address"
|
|
180838
|
+
},
|
|
180839
|
+
{
|
|
180840
|
+
"indexed": false,
|
|
180841
|
+
"internalType": "uint256",
|
|
180842
|
+
"name": "repayAmount",
|
|
180843
|
+
"type": "uint256"
|
|
180844
|
+
},
|
|
180845
|
+
{
|
|
180846
|
+
"indexed": false,
|
|
180847
|
+
"internalType": "uint256",
|
|
180848
|
+
"name": "accountBorrows",
|
|
180849
|
+
"type": "uint256"
|
|
180850
|
+
},
|
|
180851
|
+
{
|
|
180852
|
+
"indexed": false,
|
|
180853
|
+
"internalType": "uint256",
|
|
180854
|
+
"name": "totalBorrows",
|
|
180855
|
+
"type": "uint256"
|
|
180856
|
+
}
|
|
180857
|
+
],
|
|
180858
|
+
"name": "RepayBorrow",
|
|
180859
|
+
"type": "event"
|
|
180860
|
+
},
|
|
180861
|
+
{
|
|
180862
|
+
"anonymous": false,
|
|
180863
|
+
"inputs": [
|
|
180864
|
+
{
|
|
180865
|
+
"indexed": false,
|
|
180866
|
+
"internalType": "address",
|
|
180867
|
+
"name": "benefactor",
|
|
180868
|
+
"type": "address"
|
|
180869
|
+
},
|
|
180870
|
+
{
|
|
180871
|
+
"indexed": false,
|
|
180872
|
+
"internalType": "uint256",
|
|
180873
|
+
"name": "addAmount",
|
|
180874
|
+
"type": "uint256"
|
|
180875
|
+
},
|
|
180876
|
+
{
|
|
180877
|
+
"indexed": false,
|
|
180878
|
+
"internalType": "uint256",
|
|
180879
|
+
"name": "newTotalReserves",
|
|
180880
|
+
"type": "uint256"
|
|
180881
|
+
}
|
|
180882
|
+
],
|
|
180883
|
+
"name": "ReservesAdded",
|
|
180884
|
+
"type": "event"
|
|
180885
|
+
},
|
|
180886
|
+
{
|
|
180887
|
+
"anonymous": false,
|
|
180888
|
+
"inputs": [
|
|
180889
|
+
{
|
|
180890
|
+
"indexed": false,
|
|
180891
|
+
"internalType": "address",
|
|
180892
|
+
"name": "protocolShareReserve",
|
|
180893
|
+
"type": "address"
|
|
180894
|
+
},
|
|
180895
|
+
{
|
|
180896
|
+
"indexed": false,
|
|
180897
|
+
"internalType": "uint256",
|
|
180898
|
+
"name": "reduceAmount",
|
|
180899
|
+
"type": "uint256"
|
|
180900
|
+
},
|
|
180901
|
+
{
|
|
180902
|
+
"indexed": false,
|
|
180903
|
+
"internalType": "uint256",
|
|
180904
|
+
"name": "newTotalReserves",
|
|
180905
|
+
"type": "uint256"
|
|
180906
|
+
}
|
|
180907
|
+
],
|
|
180908
|
+
"name": "ReservesReduced",
|
|
180909
|
+
"type": "event"
|
|
180910
|
+
},
|
|
180911
|
+
{
|
|
180912
|
+
"anonymous": false,
|
|
180913
|
+
"inputs": [
|
|
180914
|
+
{
|
|
180915
|
+
"indexed": true,
|
|
180916
|
+
"internalType": "address",
|
|
180917
|
+
"name": "from",
|
|
180918
|
+
"type": "address"
|
|
180919
|
+
},
|
|
180920
|
+
{
|
|
180921
|
+
"indexed": true,
|
|
180922
|
+
"internalType": "address",
|
|
180923
|
+
"name": "to",
|
|
180924
|
+
"type": "address"
|
|
180925
|
+
},
|
|
180926
|
+
{
|
|
180927
|
+
"indexed": false,
|
|
180928
|
+
"internalType": "uint256",
|
|
180929
|
+
"name": "amount",
|
|
180930
|
+
"type": "uint256"
|
|
180931
|
+
}
|
|
180932
|
+
],
|
|
180933
|
+
"name": "Transfer",
|
|
180934
|
+
"type": "event"
|
|
180935
|
+
},
|
|
180936
|
+
{
|
|
180937
|
+
"payable": true,
|
|
180938
|
+
"stateMutability": "payable",
|
|
180939
|
+
"type": "fallback"
|
|
180940
|
+
},
|
|
180941
|
+
{
|
|
180942
|
+
"constant": false,
|
|
180943
|
+
"inputs": [],
|
|
180944
|
+
"name": "_acceptAdmin",
|
|
180945
|
+
"outputs": [
|
|
180946
|
+
{
|
|
180947
|
+
"internalType": "uint256",
|
|
180948
|
+
"name": "",
|
|
180949
|
+
"type": "uint256"
|
|
180950
|
+
}
|
|
180951
|
+
],
|
|
180952
|
+
"payable": false,
|
|
180953
|
+
"stateMutability": "nonpayable",
|
|
180954
|
+
"type": "function"
|
|
180955
|
+
},
|
|
180956
|
+
{
|
|
180957
|
+
"constant": false,
|
|
180958
|
+
"inputs": [
|
|
180959
|
+
{
|
|
180960
|
+
"internalType": "uint256",
|
|
180961
|
+
"name": "addAmount",
|
|
180962
|
+
"type": "uint256"
|
|
180963
|
+
}
|
|
180964
|
+
],
|
|
180965
|
+
"name": "_addReserves",
|
|
180966
|
+
"outputs": [
|
|
180967
|
+
{
|
|
180968
|
+
"internalType": "uint256",
|
|
180969
|
+
"name": "",
|
|
180970
|
+
"type": "uint256"
|
|
180971
|
+
}
|
|
180972
|
+
],
|
|
180973
|
+
"payable": false,
|
|
180974
|
+
"stateMutability": "nonpayable",
|
|
180975
|
+
"type": "function"
|
|
180976
|
+
},
|
|
180977
|
+
{
|
|
180978
|
+
"constant": false,
|
|
180979
|
+
"inputs": [
|
|
180980
|
+
{
|
|
180981
|
+
"internalType": "uint256",
|
|
180982
|
+
"name": "reduceAmount",
|
|
180983
|
+
"type": "uint256"
|
|
180984
|
+
}
|
|
180985
|
+
],
|
|
180986
|
+
"name": "_reduceReserves",
|
|
180987
|
+
"outputs": [
|
|
180988
|
+
{
|
|
180989
|
+
"internalType": "uint256",
|
|
180990
|
+
"name": "",
|
|
180991
|
+
"type": "uint256"
|
|
180992
|
+
}
|
|
180993
|
+
],
|
|
180994
|
+
"payable": false,
|
|
180995
|
+
"stateMutability": "nonpayable",
|
|
180996
|
+
"type": "function"
|
|
180997
|
+
},
|
|
180998
|
+
{
|
|
180999
|
+
"constant": false,
|
|
181000
|
+
"inputs": [
|
|
181001
|
+
{
|
|
181002
|
+
"internalType": "contract ComptrollerInterface",
|
|
181003
|
+
"name": "newComptroller",
|
|
181004
|
+
"type": "address"
|
|
181005
|
+
}
|
|
181006
|
+
],
|
|
181007
|
+
"name": "_setComptroller",
|
|
181008
|
+
"outputs": [
|
|
181009
|
+
{
|
|
181010
|
+
"internalType": "uint256",
|
|
181011
|
+
"name": "",
|
|
181012
|
+
"type": "uint256"
|
|
181013
|
+
}
|
|
181014
|
+
],
|
|
181015
|
+
"payable": false,
|
|
181016
|
+
"stateMutability": "nonpayable",
|
|
181017
|
+
"type": "function"
|
|
181018
|
+
},
|
|
181019
|
+
{
|
|
181020
|
+
"constant": false,
|
|
181021
|
+
"inputs": [
|
|
181022
|
+
{
|
|
181023
|
+
"internalType": "address",
|
|
181024
|
+
"name": "implementation_",
|
|
181025
|
+
"type": "address"
|
|
181026
|
+
},
|
|
181027
|
+
{
|
|
181028
|
+
"internalType": "bool",
|
|
181029
|
+
"name": "allowResign",
|
|
181030
|
+
"type": "bool"
|
|
181031
|
+
},
|
|
181032
|
+
{
|
|
181033
|
+
"internalType": "bytes",
|
|
181034
|
+
"name": "becomeImplementationData",
|
|
181035
|
+
"type": "bytes"
|
|
181036
|
+
}
|
|
181037
|
+
],
|
|
181038
|
+
"name": "_setImplementation",
|
|
181039
|
+
"outputs": [],
|
|
181040
|
+
"payable": false,
|
|
181041
|
+
"stateMutability": "nonpayable",
|
|
181042
|
+
"type": "function"
|
|
181043
|
+
},
|
|
181044
|
+
{
|
|
181045
|
+
"constant": false,
|
|
181046
|
+
"inputs": [
|
|
181047
|
+
{
|
|
181048
|
+
"internalType": "contract InterestRateModel",
|
|
181049
|
+
"name": "newInterestRateModel",
|
|
181050
|
+
"type": "address"
|
|
181051
|
+
}
|
|
181052
|
+
],
|
|
181053
|
+
"name": "_setInterestRateModel",
|
|
181054
|
+
"outputs": [
|
|
181055
|
+
{
|
|
181056
|
+
"internalType": "uint256",
|
|
181057
|
+
"name": "",
|
|
181058
|
+
"type": "uint256"
|
|
181059
|
+
}
|
|
181060
|
+
],
|
|
181061
|
+
"payable": false,
|
|
181062
|
+
"stateMutability": "nonpayable",
|
|
181063
|
+
"type": "function"
|
|
181064
|
+
},
|
|
181065
|
+
{
|
|
181066
|
+
"constant": false,
|
|
181067
|
+
"inputs": [
|
|
181068
|
+
{
|
|
181069
|
+
"internalType": "address payable",
|
|
181070
|
+
"name": "newPendingAdmin",
|
|
181071
|
+
"type": "address"
|
|
181072
|
+
}
|
|
181073
|
+
],
|
|
181074
|
+
"name": "_setPendingAdmin",
|
|
181075
|
+
"outputs": [
|
|
181076
|
+
{
|
|
181077
|
+
"internalType": "uint256",
|
|
181078
|
+
"name": "",
|
|
181079
|
+
"type": "uint256"
|
|
181080
|
+
}
|
|
181081
|
+
],
|
|
181082
|
+
"payable": false,
|
|
181083
|
+
"stateMutability": "nonpayable",
|
|
181084
|
+
"type": "function"
|
|
181085
|
+
},
|
|
181086
|
+
{
|
|
181087
|
+
"constant": false,
|
|
181088
|
+
"inputs": [
|
|
181089
|
+
{
|
|
181090
|
+
"internalType": "uint256",
|
|
181091
|
+
"name": "newReserveFactorMantissa",
|
|
181092
|
+
"type": "uint256"
|
|
181093
|
+
}
|
|
181094
|
+
],
|
|
181095
|
+
"name": "_setReserveFactor",
|
|
181096
|
+
"outputs": [
|
|
181097
|
+
{
|
|
181098
|
+
"internalType": "uint256",
|
|
181099
|
+
"name": "",
|
|
181100
|
+
"type": "uint256"
|
|
181101
|
+
}
|
|
181102
|
+
],
|
|
181103
|
+
"payable": false,
|
|
181104
|
+
"stateMutability": "nonpayable",
|
|
181105
|
+
"type": "function"
|
|
181106
|
+
},
|
|
181107
|
+
{
|
|
181108
|
+
"constant": true,
|
|
181109
|
+
"inputs": [],
|
|
181110
|
+
"name": "accessControlManager",
|
|
181111
|
+
"outputs": [
|
|
181112
|
+
{
|
|
181113
|
+
"internalType": "address",
|
|
181114
|
+
"name": "",
|
|
181115
|
+
"type": "address"
|
|
181116
|
+
}
|
|
181117
|
+
],
|
|
181118
|
+
"payable": false,
|
|
181119
|
+
"stateMutability": "view",
|
|
181120
|
+
"type": "function"
|
|
181121
|
+
},
|
|
181122
|
+
{
|
|
181123
|
+
"constant": true,
|
|
181124
|
+
"inputs": [],
|
|
181125
|
+
"name": "accrualBlockNumber",
|
|
181126
|
+
"outputs": [
|
|
181127
|
+
{
|
|
181128
|
+
"internalType": "uint256",
|
|
181129
|
+
"name": "",
|
|
181130
|
+
"type": "uint256"
|
|
181131
|
+
}
|
|
181132
|
+
],
|
|
181133
|
+
"payable": false,
|
|
181134
|
+
"stateMutability": "view",
|
|
181135
|
+
"type": "function"
|
|
181136
|
+
},
|
|
181137
|
+
{
|
|
181138
|
+
"constant": false,
|
|
181139
|
+
"inputs": [],
|
|
181140
|
+
"name": "accrueInterest",
|
|
181141
|
+
"outputs": [
|
|
181142
|
+
{
|
|
181143
|
+
"internalType": "uint256",
|
|
181144
|
+
"name": "",
|
|
181145
|
+
"type": "uint256"
|
|
181146
|
+
}
|
|
181147
|
+
],
|
|
181148
|
+
"payable": false,
|
|
181149
|
+
"stateMutability": "nonpayable",
|
|
181150
|
+
"type": "function"
|
|
181151
|
+
},
|
|
181152
|
+
{
|
|
181153
|
+
"constant": true,
|
|
181154
|
+
"inputs": [],
|
|
181155
|
+
"name": "admin",
|
|
181156
|
+
"outputs": [
|
|
181157
|
+
{
|
|
181158
|
+
"internalType": "address payable",
|
|
181159
|
+
"name": "",
|
|
181160
|
+
"type": "address"
|
|
181161
|
+
}
|
|
181162
|
+
],
|
|
181163
|
+
"payable": false,
|
|
181164
|
+
"stateMutability": "view",
|
|
181165
|
+
"type": "function"
|
|
181166
|
+
},
|
|
181167
|
+
{
|
|
181168
|
+
"constant": true,
|
|
181169
|
+
"inputs": [
|
|
181170
|
+
{
|
|
181171
|
+
"internalType": "address",
|
|
181172
|
+
"name": "owner",
|
|
181173
|
+
"type": "address"
|
|
181174
|
+
},
|
|
181175
|
+
{
|
|
181176
|
+
"internalType": "address",
|
|
181177
|
+
"name": "spender",
|
|
181178
|
+
"type": "address"
|
|
181179
|
+
}
|
|
181180
|
+
],
|
|
181181
|
+
"name": "allowance",
|
|
181182
|
+
"outputs": [
|
|
181183
|
+
{
|
|
181184
|
+
"internalType": "uint256",
|
|
181185
|
+
"name": "",
|
|
181186
|
+
"type": "uint256"
|
|
181187
|
+
}
|
|
181188
|
+
],
|
|
181189
|
+
"payable": false,
|
|
181190
|
+
"stateMutability": "view",
|
|
181191
|
+
"type": "function"
|
|
181192
|
+
},
|
|
181193
|
+
{
|
|
181194
|
+
"constant": false,
|
|
181195
|
+
"inputs": [
|
|
181196
|
+
{
|
|
181197
|
+
"internalType": "address",
|
|
181198
|
+
"name": "spender",
|
|
181199
|
+
"type": "address"
|
|
181200
|
+
},
|
|
181201
|
+
{
|
|
181202
|
+
"internalType": "uint256",
|
|
181203
|
+
"name": "amount",
|
|
181204
|
+
"type": "uint256"
|
|
181205
|
+
}
|
|
181206
|
+
],
|
|
181207
|
+
"name": "approve",
|
|
181208
|
+
"outputs": [
|
|
181209
|
+
{
|
|
181210
|
+
"internalType": "bool",
|
|
181211
|
+
"name": "",
|
|
181212
|
+
"type": "bool"
|
|
181213
|
+
}
|
|
181214
|
+
],
|
|
181215
|
+
"payable": false,
|
|
181216
|
+
"stateMutability": "nonpayable",
|
|
181217
|
+
"type": "function"
|
|
181218
|
+
},
|
|
181219
|
+
{
|
|
181220
|
+
"constant": true,
|
|
181221
|
+
"inputs": [
|
|
181222
|
+
{
|
|
181223
|
+
"internalType": "address",
|
|
181224
|
+
"name": "owner",
|
|
181225
|
+
"type": "address"
|
|
181226
|
+
}
|
|
181227
|
+
],
|
|
181228
|
+
"name": "balanceOf",
|
|
181229
|
+
"outputs": [
|
|
181230
|
+
{
|
|
181231
|
+
"internalType": "uint256",
|
|
181232
|
+
"name": "",
|
|
181233
|
+
"type": "uint256"
|
|
181234
|
+
}
|
|
181235
|
+
],
|
|
181236
|
+
"payable": false,
|
|
181237
|
+
"stateMutability": "view",
|
|
181238
|
+
"type": "function"
|
|
181239
|
+
},
|
|
181240
|
+
{
|
|
181241
|
+
"constant": false,
|
|
181242
|
+
"inputs": [
|
|
181243
|
+
{
|
|
181244
|
+
"internalType": "address",
|
|
181245
|
+
"name": "owner",
|
|
181246
|
+
"type": "address"
|
|
181247
|
+
}
|
|
181248
|
+
],
|
|
181249
|
+
"name": "balanceOfUnderlying",
|
|
181250
|
+
"outputs": [
|
|
181251
|
+
{
|
|
181252
|
+
"internalType": "uint256",
|
|
181253
|
+
"name": "",
|
|
181254
|
+
"type": "uint256"
|
|
181255
|
+
}
|
|
181256
|
+
],
|
|
181257
|
+
"payable": false,
|
|
181258
|
+
"stateMutability": "nonpayable",
|
|
181259
|
+
"type": "function"
|
|
181260
|
+
},
|
|
181261
|
+
{
|
|
181262
|
+
"constant": false,
|
|
181263
|
+
"inputs": [
|
|
181264
|
+
{
|
|
181265
|
+
"internalType": "uint256",
|
|
181266
|
+
"name": "borrowAmount",
|
|
181267
|
+
"type": "uint256"
|
|
181268
|
+
}
|
|
181269
|
+
],
|
|
181270
|
+
"name": "borrow",
|
|
181271
|
+
"outputs": [
|
|
181272
|
+
{
|
|
181273
|
+
"internalType": "uint256",
|
|
181274
|
+
"name": "",
|
|
181275
|
+
"type": "uint256"
|
|
181276
|
+
}
|
|
181277
|
+
],
|
|
181278
|
+
"payable": false,
|
|
181279
|
+
"stateMutability": "nonpayable",
|
|
181280
|
+
"type": "function"
|
|
181281
|
+
},
|
|
181282
|
+
{
|
|
181283
|
+
"constant": false,
|
|
181284
|
+
"inputs": [
|
|
181285
|
+
{
|
|
181286
|
+
"internalType": "address",
|
|
181287
|
+
"name": "account",
|
|
181288
|
+
"type": "address"
|
|
181289
|
+
}
|
|
181290
|
+
],
|
|
181291
|
+
"name": "borrowBalanceCurrent",
|
|
181292
|
+
"outputs": [
|
|
181293
|
+
{
|
|
181294
|
+
"internalType": "uint256",
|
|
181295
|
+
"name": "",
|
|
181296
|
+
"type": "uint256"
|
|
181297
|
+
}
|
|
181298
|
+
],
|
|
181299
|
+
"payable": false,
|
|
181300
|
+
"stateMutability": "nonpayable",
|
|
181301
|
+
"type": "function"
|
|
181302
|
+
},
|
|
181303
|
+
{
|
|
181304
|
+
"constant": true,
|
|
181305
|
+
"inputs": [
|
|
181306
|
+
{
|
|
181307
|
+
"internalType": "address",
|
|
181308
|
+
"name": "account",
|
|
181309
|
+
"type": "address"
|
|
181310
|
+
}
|
|
181311
|
+
],
|
|
181312
|
+
"name": "borrowBalanceStored",
|
|
181313
|
+
"outputs": [
|
|
181314
|
+
{
|
|
181315
|
+
"internalType": "uint256",
|
|
181316
|
+
"name": "",
|
|
181317
|
+
"type": "uint256"
|
|
181318
|
+
}
|
|
181319
|
+
],
|
|
181320
|
+
"payable": false,
|
|
181321
|
+
"stateMutability": "view",
|
|
181322
|
+
"type": "function"
|
|
181323
|
+
},
|
|
181324
|
+
{
|
|
181325
|
+
"constant": true,
|
|
181326
|
+
"inputs": [],
|
|
181327
|
+
"name": "borrowIndex",
|
|
181328
|
+
"outputs": [
|
|
181329
|
+
{
|
|
181330
|
+
"internalType": "uint256",
|
|
181331
|
+
"name": "",
|
|
181332
|
+
"type": "uint256"
|
|
181333
|
+
}
|
|
181334
|
+
],
|
|
181335
|
+
"payable": false,
|
|
181336
|
+
"stateMutability": "view",
|
|
181337
|
+
"type": "function"
|
|
181338
|
+
},
|
|
181339
|
+
{
|
|
181340
|
+
"constant": true,
|
|
181341
|
+
"inputs": [],
|
|
181342
|
+
"name": "borrowRatePerBlock",
|
|
181343
|
+
"outputs": [
|
|
181344
|
+
{
|
|
181345
|
+
"internalType": "uint256",
|
|
181346
|
+
"name": "",
|
|
181347
|
+
"type": "uint256"
|
|
181348
|
+
}
|
|
181349
|
+
],
|
|
181350
|
+
"payable": false,
|
|
181351
|
+
"stateMutability": "view",
|
|
181352
|
+
"type": "function"
|
|
181353
|
+
},
|
|
181354
|
+
{
|
|
181355
|
+
"constant": true,
|
|
181356
|
+
"inputs": [],
|
|
181357
|
+
"name": "comptroller",
|
|
181358
|
+
"outputs": [
|
|
181359
|
+
{
|
|
181360
|
+
"internalType": "contract ComptrollerInterface",
|
|
181361
|
+
"name": "",
|
|
181362
|
+
"type": "address"
|
|
181363
|
+
}
|
|
181364
|
+
],
|
|
181365
|
+
"payable": false,
|
|
181366
|
+
"stateMutability": "view",
|
|
181367
|
+
"type": "function"
|
|
181368
|
+
},
|
|
181369
|
+
{
|
|
181370
|
+
"constant": true,
|
|
181371
|
+
"inputs": [],
|
|
181372
|
+
"name": "decimals",
|
|
181373
|
+
"outputs": [
|
|
181374
|
+
{
|
|
181375
|
+
"internalType": "uint8",
|
|
181376
|
+
"name": "",
|
|
181377
|
+
"type": "uint8"
|
|
181378
|
+
}
|
|
181379
|
+
],
|
|
181380
|
+
"payable": false,
|
|
181381
|
+
"stateMutability": "view",
|
|
181382
|
+
"type": "function"
|
|
181383
|
+
},
|
|
181384
|
+
{
|
|
181385
|
+
"constant": false,
|
|
181386
|
+
"inputs": [
|
|
181387
|
+
{
|
|
181388
|
+
"internalType": "bytes",
|
|
181389
|
+
"name": "data",
|
|
181390
|
+
"type": "bytes"
|
|
181391
|
+
}
|
|
181392
|
+
],
|
|
181393
|
+
"name": "delegateToImplementation",
|
|
181394
|
+
"outputs": [
|
|
181395
|
+
{
|
|
181396
|
+
"internalType": "bytes",
|
|
181397
|
+
"name": "",
|
|
181398
|
+
"type": "bytes"
|
|
181399
|
+
}
|
|
181400
|
+
],
|
|
181401
|
+
"payable": false,
|
|
181402
|
+
"stateMutability": "nonpayable",
|
|
181403
|
+
"type": "function"
|
|
181404
|
+
},
|
|
181405
|
+
{
|
|
181406
|
+
"constant": true,
|
|
181407
|
+
"inputs": [
|
|
181408
|
+
{
|
|
181409
|
+
"internalType": "bytes",
|
|
181410
|
+
"name": "data",
|
|
181411
|
+
"type": "bytes"
|
|
181412
|
+
}
|
|
181413
|
+
],
|
|
181414
|
+
"name": "delegateToViewImplementation",
|
|
181415
|
+
"outputs": [
|
|
181416
|
+
{
|
|
181417
|
+
"internalType": "bytes",
|
|
181418
|
+
"name": "",
|
|
181419
|
+
"type": "bytes"
|
|
181420
|
+
}
|
|
181421
|
+
],
|
|
181422
|
+
"payable": false,
|
|
181423
|
+
"stateMutability": "view",
|
|
181424
|
+
"type": "function"
|
|
181425
|
+
},
|
|
181426
|
+
{
|
|
181427
|
+
"constant": false,
|
|
181428
|
+
"inputs": [],
|
|
181429
|
+
"name": "exchangeRateCurrent",
|
|
181430
|
+
"outputs": [
|
|
181431
|
+
{
|
|
181432
|
+
"internalType": "uint256",
|
|
181433
|
+
"name": "",
|
|
181434
|
+
"type": "uint256"
|
|
181435
|
+
}
|
|
181436
|
+
],
|
|
181437
|
+
"payable": false,
|
|
181438
|
+
"stateMutability": "nonpayable",
|
|
181439
|
+
"type": "function"
|
|
181440
|
+
},
|
|
181441
|
+
{
|
|
181442
|
+
"constant": true,
|
|
181443
|
+
"inputs": [],
|
|
181444
|
+
"name": "exchangeRateStored",
|
|
181445
|
+
"outputs": [
|
|
181446
|
+
{
|
|
181447
|
+
"internalType": "uint256",
|
|
181448
|
+
"name": "",
|
|
181449
|
+
"type": "uint256"
|
|
181450
|
+
}
|
|
181451
|
+
],
|
|
181452
|
+
"payable": false,
|
|
181453
|
+
"stateMutability": "view",
|
|
181454
|
+
"type": "function"
|
|
181455
|
+
},
|
|
181456
|
+
{
|
|
181457
|
+
"constant": true,
|
|
181458
|
+
"inputs": [
|
|
181459
|
+
{
|
|
181460
|
+
"internalType": "address",
|
|
181461
|
+
"name": "account",
|
|
181462
|
+
"type": "address"
|
|
181463
|
+
}
|
|
181464
|
+
],
|
|
181465
|
+
"name": "getAccountSnapshot",
|
|
181466
|
+
"outputs": [
|
|
181467
|
+
{
|
|
181468
|
+
"internalType": "uint256",
|
|
181469
|
+
"name": "",
|
|
181470
|
+
"type": "uint256"
|
|
181471
|
+
},
|
|
181472
|
+
{
|
|
181473
|
+
"internalType": "uint256",
|
|
181474
|
+
"name": "",
|
|
181475
|
+
"type": "uint256"
|
|
181476
|
+
},
|
|
181477
|
+
{
|
|
181478
|
+
"internalType": "uint256",
|
|
181479
|
+
"name": "",
|
|
181480
|
+
"type": "uint256"
|
|
181481
|
+
},
|
|
181482
|
+
{
|
|
181483
|
+
"internalType": "uint256",
|
|
181484
|
+
"name": "",
|
|
181485
|
+
"type": "uint256"
|
|
181486
|
+
}
|
|
181487
|
+
],
|
|
181488
|
+
"payable": false,
|
|
181489
|
+
"stateMutability": "view",
|
|
181490
|
+
"type": "function"
|
|
181491
|
+
},
|
|
181492
|
+
{
|
|
181493
|
+
"constant": true,
|
|
181494
|
+
"inputs": [],
|
|
181495
|
+
"name": "getCash",
|
|
181496
|
+
"outputs": [
|
|
181497
|
+
{
|
|
181498
|
+
"internalType": "uint256",
|
|
181499
|
+
"name": "",
|
|
181500
|
+
"type": "uint256"
|
|
181501
|
+
}
|
|
181502
|
+
],
|
|
181503
|
+
"payable": false,
|
|
181504
|
+
"stateMutability": "view",
|
|
181505
|
+
"type": "function"
|
|
181506
|
+
},
|
|
181507
|
+
{
|
|
181508
|
+
"constant": true,
|
|
181509
|
+
"inputs": [],
|
|
181510
|
+
"name": "implementation",
|
|
181511
|
+
"outputs": [
|
|
181512
|
+
{
|
|
181513
|
+
"internalType": "address",
|
|
181514
|
+
"name": "",
|
|
181515
|
+
"type": "address"
|
|
181516
|
+
}
|
|
181517
|
+
],
|
|
181518
|
+
"payable": false,
|
|
181519
|
+
"stateMutability": "view",
|
|
181520
|
+
"type": "function"
|
|
181521
|
+
},
|
|
181522
|
+
{
|
|
181523
|
+
"constant": true,
|
|
181524
|
+
"inputs": [],
|
|
181525
|
+
"name": "interestRateModel",
|
|
181526
|
+
"outputs": [
|
|
181527
|
+
{
|
|
181528
|
+
"internalType": "contract InterestRateModel",
|
|
181529
|
+
"name": "",
|
|
181530
|
+
"type": "address"
|
|
181531
|
+
}
|
|
181532
|
+
],
|
|
181533
|
+
"payable": false,
|
|
181534
|
+
"stateMutability": "view",
|
|
181535
|
+
"type": "function"
|
|
181536
|
+
},
|
|
181537
|
+
{
|
|
181538
|
+
"constant": true,
|
|
181539
|
+
"inputs": [],
|
|
181540
|
+
"name": "isVToken",
|
|
181541
|
+
"outputs": [
|
|
181542
|
+
{
|
|
181543
|
+
"internalType": "bool",
|
|
181544
|
+
"name": "",
|
|
181545
|
+
"type": "bool"
|
|
181546
|
+
}
|
|
181547
|
+
],
|
|
181548
|
+
"payable": false,
|
|
181549
|
+
"stateMutability": "view",
|
|
181550
|
+
"type": "function"
|
|
181551
|
+
},
|
|
181552
|
+
{
|
|
181553
|
+
"constant": false,
|
|
181554
|
+
"inputs": [
|
|
181555
|
+
{
|
|
181556
|
+
"internalType": "address",
|
|
181557
|
+
"name": "borrower",
|
|
181558
|
+
"type": "address"
|
|
181559
|
+
},
|
|
181560
|
+
{
|
|
181561
|
+
"internalType": "uint256",
|
|
181562
|
+
"name": "repayAmount",
|
|
181563
|
+
"type": "uint256"
|
|
181564
|
+
},
|
|
181565
|
+
{
|
|
181566
|
+
"internalType": "contract VTokenInterface",
|
|
181567
|
+
"name": "vTokenCollateral",
|
|
181568
|
+
"type": "address"
|
|
181569
|
+
}
|
|
181570
|
+
],
|
|
181571
|
+
"name": "liquidateBorrow",
|
|
181572
|
+
"outputs": [
|
|
181573
|
+
{
|
|
181574
|
+
"internalType": "uint256",
|
|
181575
|
+
"name": "",
|
|
181576
|
+
"type": "uint256"
|
|
181577
|
+
}
|
|
181578
|
+
],
|
|
181579
|
+
"payable": false,
|
|
181580
|
+
"stateMutability": "nonpayable",
|
|
181581
|
+
"type": "function"
|
|
181582
|
+
},
|
|
181583
|
+
{
|
|
181584
|
+
"constant": false,
|
|
181585
|
+
"inputs": [
|
|
181586
|
+
{
|
|
181587
|
+
"internalType": "uint256",
|
|
181588
|
+
"name": "mintAmount",
|
|
181589
|
+
"type": "uint256"
|
|
181590
|
+
}
|
|
181591
|
+
],
|
|
181592
|
+
"name": "mint",
|
|
181593
|
+
"outputs": [
|
|
181594
|
+
{
|
|
181595
|
+
"internalType": "uint256",
|
|
181596
|
+
"name": "",
|
|
181597
|
+
"type": "uint256"
|
|
181598
|
+
}
|
|
181599
|
+
],
|
|
181600
|
+
"payable": false,
|
|
181601
|
+
"stateMutability": "nonpayable",
|
|
181602
|
+
"type": "function"
|
|
181603
|
+
},
|
|
181604
|
+
{
|
|
181605
|
+
"constant": false,
|
|
181606
|
+
"inputs": [
|
|
181607
|
+
{
|
|
181608
|
+
"internalType": "address",
|
|
181609
|
+
"name": "receiver",
|
|
181610
|
+
"type": "address"
|
|
181611
|
+
},
|
|
181612
|
+
{
|
|
181613
|
+
"internalType": "uint256",
|
|
181614
|
+
"name": "mintAmount",
|
|
181615
|
+
"type": "uint256"
|
|
181616
|
+
}
|
|
181617
|
+
],
|
|
181618
|
+
"name": "mintBehalf",
|
|
181619
|
+
"outputs": [
|
|
181620
|
+
{
|
|
181621
|
+
"internalType": "uint256",
|
|
181622
|
+
"name": "",
|
|
181623
|
+
"type": "uint256"
|
|
181624
|
+
}
|
|
181625
|
+
],
|
|
181626
|
+
"payable": false,
|
|
181627
|
+
"stateMutability": "nonpayable",
|
|
181628
|
+
"type": "function"
|
|
181629
|
+
},
|
|
181630
|
+
{
|
|
181631
|
+
"constant": true,
|
|
181632
|
+
"inputs": [],
|
|
181633
|
+
"name": "name",
|
|
181634
|
+
"outputs": [
|
|
181635
|
+
{
|
|
181636
|
+
"internalType": "string",
|
|
181637
|
+
"name": "",
|
|
181638
|
+
"type": "string"
|
|
181639
|
+
}
|
|
181640
|
+
],
|
|
181641
|
+
"payable": false,
|
|
181642
|
+
"stateMutability": "view",
|
|
181643
|
+
"type": "function"
|
|
181644
|
+
},
|
|
181645
|
+
{
|
|
181646
|
+
"constant": true,
|
|
181647
|
+
"inputs": [],
|
|
181648
|
+
"name": "pendingAdmin",
|
|
181649
|
+
"outputs": [
|
|
181650
|
+
{
|
|
181651
|
+
"internalType": "address payable",
|
|
181652
|
+
"name": "",
|
|
181653
|
+
"type": "address"
|
|
181654
|
+
}
|
|
181655
|
+
],
|
|
181656
|
+
"payable": false,
|
|
181657
|
+
"stateMutability": "view",
|
|
181658
|
+
"type": "function"
|
|
181659
|
+
},
|
|
181660
|
+
{
|
|
181661
|
+
"constant": true,
|
|
181662
|
+
"inputs": [],
|
|
181663
|
+
"name": "protocolShareReserve",
|
|
181664
|
+
"outputs": [
|
|
181665
|
+
{
|
|
181666
|
+
"internalType": "address payable",
|
|
181667
|
+
"name": "",
|
|
181668
|
+
"type": "address"
|
|
181669
|
+
}
|
|
181670
|
+
],
|
|
181671
|
+
"payable": false,
|
|
181672
|
+
"stateMutability": "view",
|
|
181673
|
+
"type": "function"
|
|
181674
|
+
},
|
|
181675
|
+
{
|
|
181676
|
+
"constant": false,
|
|
181677
|
+
"inputs": [
|
|
181678
|
+
{
|
|
181679
|
+
"internalType": "uint256",
|
|
181680
|
+
"name": "redeemTokens",
|
|
181681
|
+
"type": "uint256"
|
|
181682
|
+
}
|
|
181683
|
+
],
|
|
181684
|
+
"name": "redeem",
|
|
181685
|
+
"outputs": [
|
|
181686
|
+
{
|
|
181687
|
+
"internalType": "uint256",
|
|
181688
|
+
"name": "",
|
|
181689
|
+
"type": "uint256"
|
|
181690
|
+
}
|
|
181691
|
+
],
|
|
181692
|
+
"payable": false,
|
|
181693
|
+
"stateMutability": "nonpayable",
|
|
181694
|
+
"type": "function"
|
|
181695
|
+
},
|
|
181696
|
+
{
|
|
181697
|
+
"constant": false,
|
|
181698
|
+
"inputs": [
|
|
181699
|
+
{
|
|
181700
|
+
"internalType": "uint256",
|
|
181701
|
+
"name": "redeemAmount",
|
|
181702
|
+
"type": "uint256"
|
|
181703
|
+
}
|
|
181704
|
+
],
|
|
181705
|
+
"name": "redeemUnderlying",
|
|
181706
|
+
"outputs": [
|
|
181707
|
+
{
|
|
181708
|
+
"internalType": "uint256",
|
|
181709
|
+
"name": "",
|
|
181710
|
+
"type": "uint256"
|
|
181711
|
+
}
|
|
181712
|
+
],
|
|
181713
|
+
"payable": false,
|
|
181714
|
+
"stateMutability": "nonpayable",
|
|
181715
|
+
"type": "function"
|
|
181716
|
+
},
|
|
181717
|
+
{
|
|
181718
|
+
"constant": true,
|
|
181719
|
+
"inputs": [],
|
|
181720
|
+
"name": "reduceReservesBlockDelta",
|
|
181721
|
+
"outputs": [
|
|
181722
|
+
{
|
|
181723
|
+
"internalType": "uint256",
|
|
181724
|
+
"name": "",
|
|
181725
|
+
"type": "uint256"
|
|
181726
|
+
}
|
|
181727
|
+
],
|
|
181728
|
+
"payable": false,
|
|
181729
|
+
"stateMutability": "view",
|
|
181730
|
+
"type": "function"
|
|
181731
|
+
},
|
|
181732
|
+
{
|
|
181733
|
+
"constant": true,
|
|
181734
|
+
"inputs": [],
|
|
181735
|
+
"name": "reduceReservesBlockNumber",
|
|
181736
|
+
"outputs": [
|
|
181737
|
+
{
|
|
181738
|
+
"internalType": "uint256",
|
|
181739
|
+
"name": "",
|
|
181740
|
+
"type": "uint256"
|
|
181741
|
+
}
|
|
181742
|
+
],
|
|
181743
|
+
"payable": false,
|
|
181744
|
+
"stateMutability": "view",
|
|
181745
|
+
"type": "function"
|
|
181746
|
+
},
|
|
181747
|
+
{
|
|
181748
|
+
"constant": false,
|
|
181749
|
+
"inputs": [
|
|
181750
|
+
{
|
|
181751
|
+
"internalType": "uint256",
|
|
181752
|
+
"name": "repayAmount",
|
|
181753
|
+
"type": "uint256"
|
|
181754
|
+
}
|
|
181755
|
+
],
|
|
181756
|
+
"name": "repayBorrow",
|
|
181757
|
+
"outputs": [
|
|
181758
|
+
{
|
|
181759
|
+
"internalType": "uint256",
|
|
181760
|
+
"name": "",
|
|
181761
|
+
"type": "uint256"
|
|
181762
|
+
}
|
|
181763
|
+
],
|
|
181764
|
+
"payable": false,
|
|
181765
|
+
"stateMutability": "nonpayable",
|
|
181766
|
+
"type": "function"
|
|
181767
|
+
},
|
|
181768
|
+
{
|
|
181769
|
+
"constant": false,
|
|
181770
|
+
"inputs": [
|
|
181771
|
+
{
|
|
181772
|
+
"internalType": "address",
|
|
181773
|
+
"name": "borrower",
|
|
181774
|
+
"type": "address"
|
|
181775
|
+
},
|
|
181776
|
+
{
|
|
181777
|
+
"internalType": "uint256",
|
|
181778
|
+
"name": "repayAmount",
|
|
181779
|
+
"type": "uint256"
|
|
181780
|
+
}
|
|
181781
|
+
],
|
|
181782
|
+
"name": "repayBorrowBehalf",
|
|
181783
|
+
"outputs": [
|
|
181784
|
+
{
|
|
181785
|
+
"internalType": "uint256",
|
|
181786
|
+
"name": "",
|
|
181787
|
+
"type": "uint256"
|
|
181788
|
+
}
|
|
181789
|
+
],
|
|
181790
|
+
"payable": false,
|
|
181791
|
+
"stateMutability": "nonpayable",
|
|
181792
|
+
"type": "function"
|
|
181793
|
+
},
|
|
181794
|
+
{
|
|
181795
|
+
"constant": true,
|
|
181796
|
+
"inputs": [],
|
|
181797
|
+
"name": "reserveFactorMantissa",
|
|
181798
|
+
"outputs": [
|
|
181799
|
+
{
|
|
181800
|
+
"internalType": "uint256",
|
|
181801
|
+
"name": "",
|
|
181802
|
+
"type": "uint256"
|
|
181803
|
+
}
|
|
181804
|
+
],
|
|
181805
|
+
"payable": false,
|
|
181806
|
+
"stateMutability": "view",
|
|
181807
|
+
"type": "function"
|
|
181808
|
+
},
|
|
181809
|
+
{
|
|
181810
|
+
"constant": false,
|
|
181811
|
+
"inputs": [
|
|
181812
|
+
{
|
|
181813
|
+
"internalType": "address",
|
|
181814
|
+
"name": "liquidator",
|
|
181815
|
+
"type": "address"
|
|
181816
|
+
},
|
|
181817
|
+
{
|
|
181818
|
+
"internalType": "address",
|
|
181819
|
+
"name": "borrower",
|
|
181820
|
+
"type": "address"
|
|
181821
|
+
},
|
|
181822
|
+
{
|
|
181823
|
+
"internalType": "uint256",
|
|
181824
|
+
"name": "seizeTokens",
|
|
181825
|
+
"type": "uint256"
|
|
181826
|
+
}
|
|
181827
|
+
],
|
|
181828
|
+
"name": "seize",
|
|
181829
|
+
"outputs": [
|
|
181830
|
+
{
|
|
181831
|
+
"internalType": "uint256",
|
|
181832
|
+
"name": "",
|
|
181833
|
+
"type": "uint256"
|
|
181834
|
+
}
|
|
181835
|
+
],
|
|
181836
|
+
"payable": false,
|
|
181837
|
+
"stateMutability": "nonpayable",
|
|
181838
|
+
"type": "function"
|
|
181839
|
+
},
|
|
181840
|
+
{
|
|
181841
|
+
"constant": true,
|
|
181842
|
+
"inputs": [],
|
|
181843
|
+
"name": "supplyRatePerBlock",
|
|
181844
|
+
"outputs": [
|
|
181845
|
+
{
|
|
181846
|
+
"internalType": "uint256",
|
|
181847
|
+
"name": "",
|
|
181848
|
+
"type": "uint256"
|
|
181849
|
+
}
|
|
181850
|
+
],
|
|
181851
|
+
"payable": false,
|
|
181852
|
+
"stateMutability": "view",
|
|
181853
|
+
"type": "function"
|
|
181854
|
+
},
|
|
181855
|
+
{
|
|
181856
|
+
"constant": true,
|
|
181857
|
+
"inputs": [],
|
|
181858
|
+
"name": "symbol",
|
|
181859
|
+
"outputs": [
|
|
181860
|
+
{
|
|
181861
|
+
"internalType": "string",
|
|
181862
|
+
"name": "",
|
|
181863
|
+
"type": "string"
|
|
181864
|
+
}
|
|
181865
|
+
],
|
|
181866
|
+
"payable": false,
|
|
181867
|
+
"stateMutability": "view",
|
|
181868
|
+
"type": "function"
|
|
181869
|
+
},
|
|
181870
|
+
{
|
|
181871
|
+
"constant": true,
|
|
181872
|
+
"inputs": [],
|
|
181873
|
+
"name": "totalBorrows",
|
|
181874
|
+
"outputs": [
|
|
181875
|
+
{
|
|
181876
|
+
"internalType": "uint256",
|
|
181877
|
+
"name": "",
|
|
181878
|
+
"type": "uint256"
|
|
181879
|
+
}
|
|
181880
|
+
],
|
|
181881
|
+
"payable": false,
|
|
181882
|
+
"stateMutability": "view",
|
|
181883
|
+
"type": "function"
|
|
181884
|
+
},
|
|
181885
|
+
{
|
|
181886
|
+
"constant": false,
|
|
181887
|
+
"inputs": [],
|
|
181888
|
+
"name": "totalBorrowsCurrent",
|
|
181889
|
+
"outputs": [
|
|
181890
|
+
{
|
|
181891
|
+
"internalType": "uint256",
|
|
181892
|
+
"name": "",
|
|
181893
|
+
"type": "uint256"
|
|
181894
|
+
}
|
|
181895
|
+
],
|
|
181896
|
+
"payable": false,
|
|
181897
|
+
"stateMutability": "nonpayable",
|
|
181898
|
+
"type": "function"
|
|
181899
|
+
},
|
|
181900
|
+
{
|
|
181901
|
+
"constant": true,
|
|
181902
|
+
"inputs": [],
|
|
181903
|
+
"name": "totalReserves",
|
|
181904
|
+
"outputs": [
|
|
181905
|
+
{
|
|
181906
|
+
"internalType": "uint256",
|
|
181907
|
+
"name": "",
|
|
181908
|
+
"type": "uint256"
|
|
181909
|
+
}
|
|
181910
|
+
],
|
|
181911
|
+
"payable": false,
|
|
181912
|
+
"stateMutability": "view",
|
|
181913
|
+
"type": "function"
|
|
181914
|
+
},
|
|
181915
|
+
{
|
|
181916
|
+
"constant": true,
|
|
181917
|
+
"inputs": [],
|
|
181918
|
+
"name": "totalSupply",
|
|
181919
|
+
"outputs": [
|
|
181920
|
+
{
|
|
181921
|
+
"internalType": "uint256",
|
|
181922
|
+
"name": "",
|
|
181923
|
+
"type": "uint256"
|
|
181924
|
+
}
|
|
181925
|
+
],
|
|
181926
|
+
"payable": false,
|
|
181927
|
+
"stateMutability": "view",
|
|
181928
|
+
"type": "function"
|
|
181929
|
+
},
|
|
181930
|
+
{
|
|
181931
|
+
"constant": false,
|
|
181932
|
+
"inputs": [
|
|
181933
|
+
{
|
|
181934
|
+
"internalType": "address",
|
|
181935
|
+
"name": "dst",
|
|
181936
|
+
"type": "address"
|
|
181937
|
+
},
|
|
181938
|
+
{
|
|
181939
|
+
"internalType": "uint256",
|
|
181940
|
+
"name": "amount",
|
|
181941
|
+
"type": "uint256"
|
|
181942
|
+
}
|
|
181943
|
+
],
|
|
181944
|
+
"name": "transfer",
|
|
181945
|
+
"outputs": [
|
|
181946
|
+
{
|
|
181947
|
+
"internalType": "bool",
|
|
181948
|
+
"name": "",
|
|
181949
|
+
"type": "bool"
|
|
181950
|
+
}
|
|
181951
|
+
],
|
|
181952
|
+
"payable": false,
|
|
181953
|
+
"stateMutability": "nonpayable",
|
|
181954
|
+
"type": "function"
|
|
181955
|
+
},
|
|
181956
|
+
{
|
|
181957
|
+
"constant": false,
|
|
181958
|
+
"inputs": [
|
|
181959
|
+
{
|
|
181960
|
+
"internalType": "address",
|
|
181961
|
+
"name": "src",
|
|
181962
|
+
"type": "address"
|
|
181963
|
+
},
|
|
181964
|
+
{
|
|
181965
|
+
"internalType": "address",
|
|
181966
|
+
"name": "dst",
|
|
181967
|
+
"type": "address"
|
|
181968
|
+
},
|
|
181969
|
+
{
|
|
181970
|
+
"internalType": "uint256",
|
|
181971
|
+
"name": "amount",
|
|
181972
|
+
"type": "uint256"
|
|
181973
|
+
}
|
|
181974
|
+
],
|
|
181975
|
+
"name": "transferFrom",
|
|
181976
|
+
"outputs": [
|
|
181977
|
+
{
|
|
181978
|
+
"internalType": "bool",
|
|
181979
|
+
"name": "",
|
|
181980
|
+
"type": "bool"
|
|
181981
|
+
}
|
|
181982
|
+
],
|
|
181983
|
+
"payable": false,
|
|
181984
|
+
"stateMutability": "nonpayable",
|
|
181985
|
+
"type": "function"
|
|
181986
|
+
},
|
|
181987
|
+
{
|
|
181988
|
+
"constant": true,
|
|
181989
|
+
"inputs": [],
|
|
181990
|
+
"name": "underlying",
|
|
181991
|
+
"outputs": [
|
|
181992
|
+
{
|
|
181993
|
+
"internalType": "address",
|
|
181994
|
+
"name": "",
|
|
181995
|
+
"type": "address"
|
|
181996
|
+
}
|
|
181997
|
+
],
|
|
181998
|
+
"payable": false,
|
|
181999
|
+
"stateMutability": "view",
|
|
182000
|
+
"type": "function"
|
|
182001
|
+
}
|
|
182002
|
+
]
|
|
182003
|
+
},
|
|
180320
182004
|
"vXRP": {
|
|
180321
182005
|
"address": "0xB248a295732e0225acd3337607cc01068e3b9c10",
|
|
180322
182006
|
"abi": [
|