@venusprotocol/venus-protocol 9.8.0-dev.16 → 9.8.0-dev.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/bscmainnet/vasBNB.json +2382 -0
- package/deployments/bscmainnet.json +1684 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/bsctestnet/vasBNB.json +2382 -0
- package/deployments/bsctestnet.json +1684 -0
- package/deployments/bsctestnet_addresses.json +1 -0
- package/dist/deployments/bscmainnet.json +1684 -0
- package/dist/deployments/bsctestnet.json +1684 -0
- package/dist/helpers/markets/bscmainnet.d.ts +21 -0
- package/dist/helpers/markets/bscmainnet.js +22 -0
- package/dist/helpers/markets/bsctestnet.d.ts +21 -0
- package/dist/helpers/markets/bsctestnet.js +22 -0
- package/dist/helpers/tokens/bscmainnet.d.ts +7 -0
- package/dist/helpers/tokens/bscmainnet.js +7 -0
- package/dist/helpers/tokens/bsctestnet.d.ts +7 -0
- package/dist/helpers/tokens/bsctestnet.js +7 -0
- package/dist/helpers/tokens/index.d.ts +42 -0
- package/package.json +1 -1
|
@@ -179699,6 +179699,1690 @@
|
|
|
179699
179699
|
}
|
|
179700
179700
|
]
|
|
179701
179701
|
},
|
|
179702
|
+
"vasBNB": {
|
|
179703
|
+
"address": "0xCC1dB43a06d97f736C7B045AedD03C6707c09BDF",
|
|
179704
|
+
"abi": [
|
|
179705
|
+
{
|
|
179706
|
+
"inputs": [
|
|
179707
|
+
{
|
|
179708
|
+
"internalType": "address",
|
|
179709
|
+
"name": "underlying_",
|
|
179710
|
+
"type": "address"
|
|
179711
|
+
},
|
|
179712
|
+
{
|
|
179713
|
+
"internalType": "contract ComptrollerInterface",
|
|
179714
|
+
"name": "comptroller_",
|
|
179715
|
+
"type": "address"
|
|
179716
|
+
},
|
|
179717
|
+
{
|
|
179718
|
+
"internalType": "contract InterestRateModel",
|
|
179719
|
+
"name": "interestRateModel_",
|
|
179720
|
+
"type": "address"
|
|
179721
|
+
},
|
|
179722
|
+
{
|
|
179723
|
+
"internalType": "uint256",
|
|
179724
|
+
"name": "initialExchangeRateMantissa_",
|
|
179725
|
+
"type": "uint256"
|
|
179726
|
+
},
|
|
179727
|
+
{
|
|
179728
|
+
"internalType": "string",
|
|
179729
|
+
"name": "name_",
|
|
179730
|
+
"type": "string"
|
|
179731
|
+
},
|
|
179732
|
+
{
|
|
179733
|
+
"internalType": "string",
|
|
179734
|
+
"name": "symbol_",
|
|
179735
|
+
"type": "string"
|
|
179736
|
+
},
|
|
179737
|
+
{
|
|
179738
|
+
"internalType": "uint8",
|
|
179739
|
+
"name": "decimals_",
|
|
179740
|
+
"type": "uint8"
|
|
179741
|
+
},
|
|
179742
|
+
{
|
|
179743
|
+
"internalType": "address payable",
|
|
179744
|
+
"name": "admin_",
|
|
179745
|
+
"type": "address"
|
|
179746
|
+
},
|
|
179747
|
+
{
|
|
179748
|
+
"internalType": "address",
|
|
179749
|
+
"name": "implementation_",
|
|
179750
|
+
"type": "address"
|
|
179751
|
+
},
|
|
179752
|
+
{
|
|
179753
|
+
"internalType": "bytes",
|
|
179754
|
+
"name": "becomeImplementationData",
|
|
179755
|
+
"type": "bytes"
|
|
179756
|
+
}
|
|
179757
|
+
],
|
|
179758
|
+
"payable": false,
|
|
179759
|
+
"stateMutability": "nonpayable",
|
|
179760
|
+
"type": "constructor"
|
|
179761
|
+
},
|
|
179762
|
+
{
|
|
179763
|
+
"anonymous": false,
|
|
179764
|
+
"inputs": [
|
|
179765
|
+
{
|
|
179766
|
+
"indexed": false,
|
|
179767
|
+
"internalType": "uint256",
|
|
179768
|
+
"name": "cashPrior",
|
|
179769
|
+
"type": "uint256"
|
|
179770
|
+
},
|
|
179771
|
+
{
|
|
179772
|
+
"indexed": false,
|
|
179773
|
+
"internalType": "uint256",
|
|
179774
|
+
"name": "interestAccumulated",
|
|
179775
|
+
"type": "uint256"
|
|
179776
|
+
},
|
|
179777
|
+
{
|
|
179778
|
+
"indexed": false,
|
|
179779
|
+
"internalType": "uint256",
|
|
179780
|
+
"name": "borrowIndex",
|
|
179781
|
+
"type": "uint256"
|
|
179782
|
+
},
|
|
179783
|
+
{
|
|
179784
|
+
"indexed": false,
|
|
179785
|
+
"internalType": "uint256",
|
|
179786
|
+
"name": "totalBorrows",
|
|
179787
|
+
"type": "uint256"
|
|
179788
|
+
}
|
|
179789
|
+
],
|
|
179790
|
+
"name": "AccrueInterest",
|
|
179791
|
+
"type": "event"
|
|
179792
|
+
},
|
|
179793
|
+
{
|
|
179794
|
+
"anonymous": false,
|
|
179795
|
+
"inputs": [
|
|
179796
|
+
{
|
|
179797
|
+
"indexed": true,
|
|
179798
|
+
"internalType": "address",
|
|
179799
|
+
"name": "owner",
|
|
179800
|
+
"type": "address"
|
|
179801
|
+
},
|
|
179802
|
+
{
|
|
179803
|
+
"indexed": true,
|
|
179804
|
+
"internalType": "address",
|
|
179805
|
+
"name": "spender",
|
|
179806
|
+
"type": "address"
|
|
179807
|
+
},
|
|
179808
|
+
{
|
|
179809
|
+
"indexed": false,
|
|
179810
|
+
"internalType": "uint256",
|
|
179811
|
+
"name": "amount",
|
|
179812
|
+
"type": "uint256"
|
|
179813
|
+
}
|
|
179814
|
+
],
|
|
179815
|
+
"name": "Approval",
|
|
179816
|
+
"type": "event"
|
|
179817
|
+
},
|
|
179818
|
+
{
|
|
179819
|
+
"anonymous": false,
|
|
179820
|
+
"inputs": [
|
|
179821
|
+
{
|
|
179822
|
+
"indexed": false,
|
|
179823
|
+
"internalType": "address",
|
|
179824
|
+
"name": "borrower",
|
|
179825
|
+
"type": "address"
|
|
179826
|
+
},
|
|
179827
|
+
{
|
|
179828
|
+
"indexed": false,
|
|
179829
|
+
"internalType": "uint256",
|
|
179830
|
+
"name": "borrowAmount",
|
|
179831
|
+
"type": "uint256"
|
|
179832
|
+
},
|
|
179833
|
+
{
|
|
179834
|
+
"indexed": false,
|
|
179835
|
+
"internalType": "uint256",
|
|
179836
|
+
"name": "accountBorrows",
|
|
179837
|
+
"type": "uint256"
|
|
179838
|
+
},
|
|
179839
|
+
{
|
|
179840
|
+
"indexed": false,
|
|
179841
|
+
"internalType": "uint256",
|
|
179842
|
+
"name": "totalBorrows",
|
|
179843
|
+
"type": "uint256"
|
|
179844
|
+
}
|
|
179845
|
+
],
|
|
179846
|
+
"name": "Borrow",
|
|
179847
|
+
"type": "event"
|
|
179848
|
+
},
|
|
179849
|
+
{
|
|
179850
|
+
"anonymous": false,
|
|
179851
|
+
"inputs": [
|
|
179852
|
+
{
|
|
179853
|
+
"indexed": false,
|
|
179854
|
+
"internalType": "uint256",
|
|
179855
|
+
"name": "error",
|
|
179856
|
+
"type": "uint256"
|
|
179857
|
+
},
|
|
179858
|
+
{
|
|
179859
|
+
"indexed": false,
|
|
179860
|
+
"internalType": "uint256",
|
|
179861
|
+
"name": "info",
|
|
179862
|
+
"type": "uint256"
|
|
179863
|
+
},
|
|
179864
|
+
{
|
|
179865
|
+
"indexed": false,
|
|
179866
|
+
"internalType": "uint256",
|
|
179867
|
+
"name": "detail",
|
|
179868
|
+
"type": "uint256"
|
|
179869
|
+
}
|
|
179870
|
+
],
|
|
179871
|
+
"name": "Failure",
|
|
179872
|
+
"type": "event"
|
|
179873
|
+
},
|
|
179874
|
+
{
|
|
179875
|
+
"anonymous": false,
|
|
179876
|
+
"inputs": [
|
|
179877
|
+
{
|
|
179878
|
+
"indexed": false,
|
|
179879
|
+
"internalType": "address",
|
|
179880
|
+
"name": "liquidator",
|
|
179881
|
+
"type": "address"
|
|
179882
|
+
},
|
|
179883
|
+
{
|
|
179884
|
+
"indexed": false,
|
|
179885
|
+
"internalType": "address",
|
|
179886
|
+
"name": "borrower",
|
|
179887
|
+
"type": "address"
|
|
179888
|
+
},
|
|
179889
|
+
{
|
|
179890
|
+
"indexed": false,
|
|
179891
|
+
"internalType": "uint256",
|
|
179892
|
+
"name": "repayAmount",
|
|
179893
|
+
"type": "uint256"
|
|
179894
|
+
},
|
|
179895
|
+
{
|
|
179896
|
+
"indexed": false,
|
|
179897
|
+
"internalType": "address",
|
|
179898
|
+
"name": "vTokenCollateral",
|
|
179899
|
+
"type": "address"
|
|
179900
|
+
},
|
|
179901
|
+
{
|
|
179902
|
+
"indexed": false,
|
|
179903
|
+
"internalType": "uint256",
|
|
179904
|
+
"name": "seizeTokens",
|
|
179905
|
+
"type": "uint256"
|
|
179906
|
+
}
|
|
179907
|
+
],
|
|
179908
|
+
"name": "LiquidateBorrow",
|
|
179909
|
+
"type": "event"
|
|
179910
|
+
},
|
|
179911
|
+
{
|
|
179912
|
+
"anonymous": false,
|
|
179913
|
+
"inputs": [
|
|
179914
|
+
{
|
|
179915
|
+
"indexed": false,
|
|
179916
|
+
"internalType": "address",
|
|
179917
|
+
"name": "minter",
|
|
179918
|
+
"type": "address"
|
|
179919
|
+
},
|
|
179920
|
+
{
|
|
179921
|
+
"indexed": false,
|
|
179922
|
+
"internalType": "uint256",
|
|
179923
|
+
"name": "mintAmount",
|
|
179924
|
+
"type": "uint256"
|
|
179925
|
+
},
|
|
179926
|
+
{
|
|
179927
|
+
"indexed": false,
|
|
179928
|
+
"internalType": "uint256",
|
|
179929
|
+
"name": "mintTokens",
|
|
179930
|
+
"type": "uint256"
|
|
179931
|
+
},
|
|
179932
|
+
{
|
|
179933
|
+
"indexed": false,
|
|
179934
|
+
"internalType": "uint256",
|
|
179935
|
+
"name": "totalSupply",
|
|
179936
|
+
"type": "uint256"
|
|
179937
|
+
}
|
|
179938
|
+
],
|
|
179939
|
+
"name": "Mint",
|
|
179940
|
+
"type": "event"
|
|
179941
|
+
},
|
|
179942
|
+
{
|
|
179943
|
+
"anonymous": false,
|
|
179944
|
+
"inputs": [
|
|
179945
|
+
{
|
|
179946
|
+
"indexed": false,
|
|
179947
|
+
"internalType": "address",
|
|
179948
|
+
"name": "payer",
|
|
179949
|
+
"type": "address"
|
|
179950
|
+
},
|
|
179951
|
+
{
|
|
179952
|
+
"indexed": false,
|
|
179953
|
+
"internalType": "address",
|
|
179954
|
+
"name": "receiver",
|
|
179955
|
+
"type": "address"
|
|
179956
|
+
},
|
|
179957
|
+
{
|
|
179958
|
+
"indexed": false,
|
|
179959
|
+
"internalType": "uint256",
|
|
179960
|
+
"name": "mintAmount",
|
|
179961
|
+
"type": "uint256"
|
|
179962
|
+
},
|
|
179963
|
+
{
|
|
179964
|
+
"indexed": false,
|
|
179965
|
+
"internalType": "uint256",
|
|
179966
|
+
"name": "mintTokens",
|
|
179967
|
+
"type": "uint256"
|
|
179968
|
+
},
|
|
179969
|
+
{
|
|
179970
|
+
"indexed": false,
|
|
179971
|
+
"internalType": "uint256",
|
|
179972
|
+
"name": "totalSupply",
|
|
179973
|
+
"type": "uint256"
|
|
179974
|
+
}
|
|
179975
|
+
],
|
|
179976
|
+
"name": "MintBehalf",
|
|
179977
|
+
"type": "event"
|
|
179978
|
+
},
|
|
179979
|
+
{
|
|
179980
|
+
"anonymous": false,
|
|
179981
|
+
"inputs": [
|
|
179982
|
+
{
|
|
179983
|
+
"indexed": false,
|
|
179984
|
+
"internalType": "address",
|
|
179985
|
+
"name": "oldAccessControlAddress",
|
|
179986
|
+
"type": "address"
|
|
179987
|
+
},
|
|
179988
|
+
{
|
|
179989
|
+
"indexed": false,
|
|
179990
|
+
"internalType": "address",
|
|
179991
|
+
"name": "newAccessControlAddress",
|
|
179992
|
+
"type": "address"
|
|
179993
|
+
}
|
|
179994
|
+
],
|
|
179995
|
+
"name": "NewAccessControlManager",
|
|
179996
|
+
"type": "event"
|
|
179997
|
+
},
|
|
179998
|
+
{
|
|
179999
|
+
"anonymous": false,
|
|
180000
|
+
"inputs": [
|
|
180001
|
+
{
|
|
180002
|
+
"indexed": false,
|
|
180003
|
+
"internalType": "address",
|
|
180004
|
+
"name": "oldAdmin",
|
|
180005
|
+
"type": "address"
|
|
180006
|
+
},
|
|
180007
|
+
{
|
|
180008
|
+
"indexed": false,
|
|
180009
|
+
"internalType": "address",
|
|
180010
|
+
"name": "newAdmin",
|
|
180011
|
+
"type": "address"
|
|
180012
|
+
}
|
|
180013
|
+
],
|
|
180014
|
+
"name": "NewAdmin",
|
|
180015
|
+
"type": "event"
|
|
180016
|
+
},
|
|
180017
|
+
{
|
|
180018
|
+
"anonymous": false,
|
|
180019
|
+
"inputs": [
|
|
180020
|
+
{
|
|
180021
|
+
"indexed": false,
|
|
180022
|
+
"internalType": "contract ComptrollerInterface",
|
|
180023
|
+
"name": "oldComptroller",
|
|
180024
|
+
"type": "address"
|
|
180025
|
+
},
|
|
180026
|
+
{
|
|
180027
|
+
"indexed": false,
|
|
180028
|
+
"internalType": "contract ComptrollerInterface",
|
|
180029
|
+
"name": "newComptroller",
|
|
180030
|
+
"type": "address"
|
|
180031
|
+
}
|
|
180032
|
+
],
|
|
180033
|
+
"name": "NewComptroller",
|
|
180034
|
+
"type": "event"
|
|
180035
|
+
},
|
|
180036
|
+
{
|
|
180037
|
+
"anonymous": false,
|
|
180038
|
+
"inputs": [
|
|
180039
|
+
{
|
|
180040
|
+
"indexed": false,
|
|
180041
|
+
"internalType": "address",
|
|
180042
|
+
"name": "oldImplementation",
|
|
180043
|
+
"type": "address"
|
|
180044
|
+
},
|
|
180045
|
+
{
|
|
180046
|
+
"indexed": false,
|
|
180047
|
+
"internalType": "address",
|
|
180048
|
+
"name": "newImplementation",
|
|
180049
|
+
"type": "address"
|
|
180050
|
+
}
|
|
180051
|
+
],
|
|
180052
|
+
"name": "NewImplementation",
|
|
180053
|
+
"type": "event"
|
|
180054
|
+
},
|
|
180055
|
+
{
|
|
180056
|
+
"anonymous": false,
|
|
180057
|
+
"inputs": [
|
|
180058
|
+
{
|
|
180059
|
+
"indexed": false,
|
|
180060
|
+
"internalType": "contract InterestRateModel",
|
|
180061
|
+
"name": "oldInterestRateModel",
|
|
180062
|
+
"type": "address"
|
|
180063
|
+
},
|
|
180064
|
+
{
|
|
180065
|
+
"indexed": false,
|
|
180066
|
+
"internalType": "contract InterestRateModel",
|
|
180067
|
+
"name": "newInterestRateModel",
|
|
180068
|
+
"type": "address"
|
|
180069
|
+
}
|
|
180070
|
+
],
|
|
180071
|
+
"name": "NewMarketInterestRateModel",
|
|
180072
|
+
"type": "event"
|
|
180073
|
+
},
|
|
180074
|
+
{
|
|
180075
|
+
"anonymous": false,
|
|
180076
|
+
"inputs": [
|
|
180077
|
+
{
|
|
180078
|
+
"indexed": false,
|
|
180079
|
+
"internalType": "address",
|
|
180080
|
+
"name": "oldPendingAdmin",
|
|
180081
|
+
"type": "address"
|
|
180082
|
+
},
|
|
180083
|
+
{
|
|
180084
|
+
"indexed": false,
|
|
180085
|
+
"internalType": "address",
|
|
180086
|
+
"name": "newPendingAdmin",
|
|
180087
|
+
"type": "address"
|
|
180088
|
+
}
|
|
180089
|
+
],
|
|
180090
|
+
"name": "NewPendingAdmin",
|
|
180091
|
+
"type": "event"
|
|
180092
|
+
},
|
|
180093
|
+
{
|
|
180094
|
+
"anonymous": false,
|
|
180095
|
+
"inputs": [
|
|
180096
|
+
{
|
|
180097
|
+
"indexed": true,
|
|
180098
|
+
"internalType": "address",
|
|
180099
|
+
"name": "oldProtocolShareReserve",
|
|
180100
|
+
"type": "address"
|
|
180101
|
+
},
|
|
180102
|
+
{
|
|
180103
|
+
"indexed": true,
|
|
180104
|
+
"internalType": "address",
|
|
180105
|
+
"name": "newProtocolShareReserve",
|
|
180106
|
+
"type": "address"
|
|
180107
|
+
}
|
|
180108
|
+
],
|
|
180109
|
+
"name": "NewProtocolShareReserve",
|
|
180110
|
+
"type": "event"
|
|
180111
|
+
},
|
|
180112
|
+
{
|
|
180113
|
+
"anonymous": false,
|
|
180114
|
+
"inputs": [
|
|
180115
|
+
{
|
|
180116
|
+
"indexed": false,
|
|
180117
|
+
"internalType": "uint256",
|
|
180118
|
+
"name": "oldReduceReservesBlockDelta",
|
|
180119
|
+
"type": "uint256"
|
|
180120
|
+
},
|
|
180121
|
+
{
|
|
180122
|
+
"indexed": false,
|
|
180123
|
+
"internalType": "uint256",
|
|
180124
|
+
"name": "newReduceReservesBlockDelta",
|
|
180125
|
+
"type": "uint256"
|
|
180126
|
+
}
|
|
180127
|
+
],
|
|
180128
|
+
"name": "NewReduceReservesBlockDelta",
|
|
180129
|
+
"type": "event"
|
|
180130
|
+
},
|
|
180131
|
+
{
|
|
180132
|
+
"anonymous": false,
|
|
180133
|
+
"inputs": [
|
|
180134
|
+
{
|
|
180135
|
+
"indexed": false,
|
|
180136
|
+
"internalType": "uint256",
|
|
180137
|
+
"name": "oldReserveFactorMantissa",
|
|
180138
|
+
"type": "uint256"
|
|
180139
|
+
},
|
|
180140
|
+
{
|
|
180141
|
+
"indexed": false,
|
|
180142
|
+
"internalType": "uint256",
|
|
180143
|
+
"name": "newReserveFactorMantissa",
|
|
180144
|
+
"type": "uint256"
|
|
180145
|
+
}
|
|
180146
|
+
],
|
|
180147
|
+
"name": "NewReserveFactor",
|
|
180148
|
+
"type": "event"
|
|
180149
|
+
},
|
|
180150
|
+
{
|
|
180151
|
+
"anonymous": false,
|
|
180152
|
+
"inputs": [
|
|
180153
|
+
{
|
|
180154
|
+
"indexed": false,
|
|
180155
|
+
"internalType": "address",
|
|
180156
|
+
"name": "redeemer",
|
|
180157
|
+
"type": "address"
|
|
180158
|
+
},
|
|
180159
|
+
{
|
|
180160
|
+
"indexed": false,
|
|
180161
|
+
"internalType": "uint256",
|
|
180162
|
+
"name": "redeemAmount",
|
|
180163
|
+
"type": "uint256"
|
|
180164
|
+
},
|
|
180165
|
+
{
|
|
180166
|
+
"indexed": false,
|
|
180167
|
+
"internalType": "uint256",
|
|
180168
|
+
"name": "redeemTokens",
|
|
180169
|
+
"type": "uint256"
|
|
180170
|
+
},
|
|
180171
|
+
{
|
|
180172
|
+
"indexed": false,
|
|
180173
|
+
"internalType": "uint256",
|
|
180174
|
+
"name": "totalSupply",
|
|
180175
|
+
"type": "uint256"
|
|
180176
|
+
}
|
|
180177
|
+
],
|
|
180178
|
+
"name": "Redeem",
|
|
180179
|
+
"type": "event"
|
|
180180
|
+
},
|
|
180181
|
+
{
|
|
180182
|
+
"anonymous": false,
|
|
180183
|
+
"inputs": [
|
|
180184
|
+
{
|
|
180185
|
+
"indexed": false,
|
|
180186
|
+
"internalType": "address",
|
|
180187
|
+
"name": "redeemer",
|
|
180188
|
+
"type": "address"
|
|
180189
|
+
},
|
|
180190
|
+
{
|
|
180191
|
+
"indexed": false,
|
|
180192
|
+
"internalType": "uint256",
|
|
180193
|
+
"name": "feeAmount",
|
|
180194
|
+
"type": "uint256"
|
|
180195
|
+
},
|
|
180196
|
+
{
|
|
180197
|
+
"indexed": false,
|
|
180198
|
+
"internalType": "uint256",
|
|
180199
|
+
"name": "redeemTokens",
|
|
180200
|
+
"type": "uint256"
|
|
180201
|
+
}
|
|
180202
|
+
],
|
|
180203
|
+
"name": "RedeemFee",
|
|
180204
|
+
"type": "event"
|
|
180205
|
+
},
|
|
180206
|
+
{
|
|
180207
|
+
"anonymous": false,
|
|
180208
|
+
"inputs": [
|
|
180209
|
+
{
|
|
180210
|
+
"indexed": false,
|
|
180211
|
+
"internalType": "address",
|
|
180212
|
+
"name": "payer",
|
|
180213
|
+
"type": "address"
|
|
180214
|
+
},
|
|
180215
|
+
{
|
|
180216
|
+
"indexed": false,
|
|
180217
|
+
"internalType": "address",
|
|
180218
|
+
"name": "borrower",
|
|
180219
|
+
"type": "address"
|
|
180220
|
+
},
|
|
180221
|
+
{
|
|
180222
|
+
"indexed": false,
|
|
180223
|
+
"internalType": "uint256",
|
|
180224
|
+
"name": "repayAmount",
|
|
180225
|
+
"type": "uint256"
|
|
180226
|
+
},
|
|
180227
|
+
{
|
|
180228
|
+
"indexed": false,
|
|
180229
|
+
"internalType": "uint256",
|
|
180230
|
+
"name": "accountBorrows",
|
|
180231
|
+
"type": "uint256"
|
|
180232
|
+
},
|
|
180233
|
+
{
|
|
180234
|
+
"indexed": false,
|
|
180235
|
+
"internalType": "uint256",
|
|
180236
|
+
"name": "totalBorrows",
|
|
180237
|
+
"type": "uint256"
|
|
180238
|
+
}
|
|
180239
|
+
],
|
|
180240
|
+
"name": "RepayBorrow",
|
|
180241
|
+
"type": "event"
|
|
180242
|
+
},
|
|
180243
|
+
{
|
|
180244
|
+
"anonymous": false,
|
|
180245
|
+
"inputs": [
|
|
180246
|
+
{
|
|
180247
|
+
"indexed": false,
|
|
180248
|
+
"internalType": "address",
|
|
180249
|
+
"name": "benefactor",
|
|
180250
|
+
"type": "address"
|
|
180251
|
+
},
|
|
180252
|
+
{
|
|
180253
|
+
"indexed": false,
|
|
180254
|
+
"internalType": "uint256",
|
|
180255
|
+
"name": "addAmount",
|
|
180256
|
+
"type": "uint256"
|
|
180257
|
+
},
|
|
180258
|
+
{
|
|
180259
|
+
"indexed": false,
|
|
180260
|
+
"internalType": "uint256",
|
|
180261
|
+
"name": "newTotalReserves",
|
|
180262
|
+
"type": "uint256"
|
|
180263
|
+
}
|
|
180264
|
+
],
|
|
180265
|
+
"name": "ReservesAdded",
|
|
180266
|
+
"type": "event"
|
|
180267
|
+
},
|
|
180268
|
+
{
|
|
180269
|
+
"anonymous": false,
|
|
180270
|
+
"inputs": [
|
|
180271
|
+
{
|
|
180272
|
+
"indexed": false,
|
|
180273
|
+
"internalType": "address",
|
|
180274
|
+
"name": "protocolShareReserve",
|
|
180275
|
+
"type": "address"
|
|
180276
|
+
},
|
|
180277
|
+
{
|
|
180278
|
+
"indexed": false,
|
|
180279
|
+
"internalType": "uint256",
|
|
180280
|
+
"name": "reduceAmount",
|
|
180281
|
+
"type": "uint256"
|
|
180282
|
+
},
|
|
180283
|
+
{
|
|
180284
|
+
"indexed": false,
|
|
180285
|
+
"internalType": "uint256",
|
|
180286
|
+
"name": "newTotalReserves",
|
|
180287
|
+
"type": "uint256"
|
|
180288
|
+
}
|
|
180289
|
+
],
|
|
180290
|
+
"name": "ReservesReduced",
|
|
180291
|
+
"type": "event"
|
|
180292
|
+
},
|
|
180293
|
+
{
|
|
180294
|
+
"anonymous": false,
|
|
180295
|
+
"inputs": [
|
|
180296
|
+
{
|
|
180297
|
+
"indexed": true,
|
|
180298
|
+
"internalType": "address",
|
|
180299
|
+
"name": "from",
|
|
180300
|
+
"type": "address"
|
|
180301
|
+
},
|
|
180302
|
+
{
|
|
180303
|
+
"indexed": true,
|
|
180304
|
+
"internalType": "address",
|
|
180305
|
+
"name": "to",
|
|
180306
|
+
"type": "address"
|
|
180307
|
+
},
|
|
180308
|
+
{
|
|
180309
|
+
"indexed": false,
|
|
180310
|
+
"internalType": "uint256",
|
|
180311
|
+
"name": "amount",
|
|
180312
|
+
"type": "uint256"
|
|
180313
|
+
}
|
|
180314
|
+
],
|
|
180315
|
+
"name": "Transfer",
|
|
180316
|
+
"type": "event"
|
|
180317
|
+
},
|
|
180318
|
+
{
|
|
180319
|
+
"payable": true,
|
|
180320
|
+
"stateMutability": "payable",
|
|
180321
|
+
"type": "fallback"
|
|
180322
|
+
},
|
|
180323
|
+
{
|
|
180324
|
+
"constant": false,
|
|
180325
|
+
"inputs": [],
|
|
180326
|
+
"name": "_acceptAdmin",
|
|
180327
|
+
"outputs": [
|
|
180328
|
+
{
|
|
180329
|
+
"internalType": "uint256",
|
|
180330
|
+
"name": "",
|
|
180331
|
+
"type": "uint256"
|
|
180332
|
+
}
|
|
180333
|
+
],
|
|
180334
|
+
"payable": false,
|
|
180335
|
+
"stateMutability": "nonpayable",
|
|
180336
|
+
"type": "function"
|
|
180337
|
+
},
|
|
180338
|
+
{
|
|
180339
|
+
"constant": false,
|
|
180340
|
+
"inputs": [
|
|
180341
|
+
{
|
|
180342
|
+
"internalType": "uint256",
|
|
180343
|
+
"name": "addAmount",
|
|
180344
|
+
"type": "uint256"
|
|
180345
|
+
}
|
|
180346
|
+
],
|
|
180347
|
+
"name": "_addReserves",
|
|
180348
|
+
"outputs": [
|
|
180349
|
+
{
|
|
180350
|
+
"internalType": "uint256",
|
|
180351
|
+
"name": "",
|
|
180352
|
+
"type": "uint256"
|
|
180353
|
+
}
|
|
180354
|
+
],
|
|
180355
|
+
"payable": false,
|
|
180356
|
+
"stateMutability": "nonpayable",
|
|
180357
|
+
"type": "function"
|
|
180358
|
+
},
|
|
180359
|
+
{
|
|
180360
|
+
"constant": false,
|
|
180361
|
+
"inputs": [
|
|
180362
|
+
{
|
|
180363
|
+
"internalType": "uint256",
|
|
180364
|
+
"name": "reduceAmount",
|
|
180365
|
+
"type": "uint256"
|
|
180366
|
+
}
|
|
180367
|
+
],
|
|
180368
|
+
"name": "_reduceReserves",
|
|
180369
|
+
"outputs": [
|
|
180370
|
+
{
|
|
180371
|
+
"internalType": "uint256",
|
|
180372
|
+
"name": "",
|
|
180373
|
+
"type": "uint256"
|
|
180374
|
+
}
|
|
180375
|
+
],
|
|
180376
|
+
"payable": false,
|
|
180377
|
+
"stateMutability": "nonpayable",
|
|
180378
|
+
"type": "function"
|
|
180379
|
+
},
|
|
180380
|
+
{
|
|
180381
|
+
"constant": false,
|
|
180382
|
+
"inputs": [
|
|
180383
|
+
{
|
|
180384
|
+
"internalType": "contract ComptrollerInterface",
|
|
180385
|
+
"name": "newComptroller",
|
|
180386
|
+
"type": "address"
|
|
180387
|
+
}
|
|
180388
|
+
],
|
|
180389
|
+
"name": "_setComptroller",
|
|
180390
|
+
"outputs": [
|
|
180391
|
+
{
|
|
180392
|
+
"internalType": "uint256",
|
|
180393
|
+
"name": "",
|
|
180394
|
+
"type": "uint256"
|
|
180395
|
+
}
|
|
180396
|
+
],
|
|
180397
|
+
"payable": false,
|
|
180398
|
+
"stateMutability": "nonpayable",
|
|
180399
|
+
"type": "function"
|
|
180400
|
+
},
|
|
180401
|
+
{
|
|
180402
|
+
"constant": false,
|
|
180403
|
+
"inputs": [
|
|
180404
|
+
{
|
|
180405
|
+
"internalType": "address",
|
|
180406
|
+
"name": "implementation_",
|
|
180407
|
+
"type": "address"
|
|
180408
|
+
},
|
|
180409
|
+
{
|
|
180410
|
+
"internalType": "bool",
|
|
180411
|
+
"name": "allowResign",
|
|
180412
|
+
"type": "bool"
|
|
180413
|
+
},
|
|
180414
|
+
{
|
|
180415
|
+
"internalType": "bytes",
|
|
180416
|
+
"name": "becomeImplementationData",
|
|
180417
|
+
"type": "bytes"
|
|
180418
|
+
}
|
|
180419
|
+
],
|
|
180420
|
+
"name": "_setImplementation",
|
|
180421
|
+
"outputs": [],
|
|
180422
|
+
"payable": false,
|
|
180423
|
+
"stateMutability": "nonpayable",
|
|
180424
|
+
"type": "function"
|
|
180425
|
+
},
|
|
180426
|
+
{
|
|
180427
|
+
"constant": false,
|
|
180428
|
+
"inputs": [
|
|
180429
|
+
{
|
|
180430
|
+
"internalType": "contract InterestRateModel",
|
|
180431
|
+
"name": "newInterestRateModel",
|
|
180432
|
+
"type": "address"
|
|
180433
|
+
}
|
|
180434
|
+
],
|
|
180435
|
+
"name": "_setInterestRateModel",
|
|
180436
|
+
"outputs": [
|
|
180437
|
+
{
|
|
180438
|
+
"internalType": "uint256",
|
|
180439
|
+
"name": "",
|
|
180440
|
+
"type": "uint256"
|
|
180441
|
+
}
|
|
180442
|
+
],
|
|
180443
|
+
"payable": false,
|
|
180444
|
+
"stateMutability": "nonpayable",
|
|
180445
|
+
"type": "function"
|
|
180446
|
+
},
|
|
180447
|
+
{
|
|
180448
|
+
"constant": false,
|
|
180449
|
+
"inputs": [
|
|
180450
|
+
{
|
|
180451
|
+
"internalType": "address payable",
|
|
180452
|
+
"name": "newPendingAdmin",
|
|
180453
|
+
"type": "address"
|
|
180454
|
+
}
|
|
180455
|
+
],
|
|
180456
|
+
"name": "_setPendingAdmin",
|
|
180457
|
+
"outputs": [
|
|
180458
|
+
{
|
|
180459
|
+
"internalType": "uint256",
|
|
180460
|
+
"name": "",
|
|
180461
|
+
"type": "uint256"
|
|
180462
|
+
}
|
|
180463
|
+
],
|
|
180464
|
+
"payable": false,
|
|
180465
|
+
"stateMutability": "nonpayable",
|
|
180466
|
+
"type": "function"
|
|
180467
|
+
},
|
|
180468
|
+
{
|
|
180469
|
+
"constant": false,
|
|
180470
|
+
"inputs": [
|
|
180471
|
+
{
|
|
180472
|
+
"internalType": "uint256",
|
|
180473
|
+
"name": "newReserveFactorMantissa",
|
|
180474
|
+
"type": "uint256"
|
|
180475
|
+
}
|
|
180476
|
+
],
|
|
180477
|
+
"name": "_setReserveFactor",
|
|
180478
|
+
"outputs": [
|
|
180479
|
+
{
|
|
180480
|
+
"internalType": "uint256",
|
|
180481
|
+
"name": "",
|
|
180482
|
+
"type": "uint256"
|
|
180483
|
+
}
|
|
180484
|
+
],
|
|
180485
|
+
"payable": false,
|
|
180486
|
+
"stateMutability": "nonpayable",
|
|
180487
|
+
"type": "function"
|
|
180488
|
+
},
|
|
180489
|
+
{
|
|
180490
|
+
"constant": true,
|
|
180491
|
+
"inputs": [],
|
|
180492
|
+
"name": "accessControlManager",
|
|
180493
|
+
"outputs": [
|
|
180494
|
+
{
|
|
180495
|
+
"internalType": "address",
|
|
180496
|
+
"name": "",
|
|
180497
|
+
"type": "address"
|
|
180498
|
+
}
|
|
180499
|
+
],
|
|
180500
|
+
"payable": false,
|
|
180501
|
+
"stateMutability": "view",
|
|
180502
|
+
"type": "function"
|
|
180503
|
+
},
|
|
180504
|
+
{
|
|
180505
|
+
"constant": true,
|
|
180506
|
+
"inputs": [],
|
|
180507
|
+
"name": "accrualBlockNumber",
|
|
180508
|
+
"outputs": [
|
|
180509
|
+
{
|
|
180510
|
+
"internalType": "uint256",
|
|
180511
|
+
"name": "",
|
|
180512
|
+
"type": "uint256"
|
|
180513
|
+
}
|
|
180514
|
+
],
|
|
180515
|
+
"payable": false,
|
|
180516
|
+
"stateMutability": "view",
|
|
180517
|
+
"type": "function"
|
|
180518
|
+
},
|
|
180519
|
+
{
|
|
180520
|
+
"constant": false,
|
|
180521
|
+
"inputs": [],
|
|
180522
|
+
"name": "accrueInterest",
|
|
180523
|
+
"outputs": [
|
|
180524
|
+
{
|
|
180525
|
+
"internalType": "uint256",
|
|
180526
|
+
"name": "",
|
|
180527
|
+
"type": "uint256"
|
|
180528
|
+
}
|
|
180529
|
+
],
|
|
180530
|
+
"payable": false,
|
|
180531
|
+
"stateMutability": "nonpayable",
|
|
180532
|
+
"type": "function"
|
|
180533
|
+
},
|
|
180534
|
+
{
|
|
180535
|
+
"constant": true,
|
|
180536
|
+
"inputs": [],
|
|
180537
|
+
"name": "admin",
|
|
180538
|
+
"outputs": [
|
|
180539
|
+
{
|
|
180540
|
+
"internalType": "address payable",
|
|
180541
|
+
"name": "",
|
|
180542
|
+
"type": "address"
|
|
180543
|
+
}
|
|
180544
|
+
],
|
|
180545
|
+
"payable": false,
|
|
180546
|
+
"stateMutability": "view",
|
|
180547
|
+
"type": "function"
|
|
180548
|
+
},
|
|
180549
|
+
{
|
|
180550
|
+
"constant": true,
|
|
180551
|
+
"inputs": [
|
|
180552
|
+
{
|
|
180553
|
+
"internalType": "address",
|
|
180554
|
+
"name": "owner",
|
|
180555
|
+
"type": "address"
|
|
180556
|
+
},
|
|
180557
|
+
{
|
|
180558
|
+
"internalType": "address",
|
|
180559
|
+
"name": "spender",
|
|
180560
|
+
"type": "address"
|
|
180561
|
+
}
|
|
180562
|
+
],
|
|
180563
|
+
"name": "allowance",
|
|
180564
|
+
"outputs": [
|
|
180565
|
+
{
|
|
180566
|
+
"internalType": "uint256",
|
|
180567
|
+
"name": "",
|
|
180568
|
+
"type": "uint256"
|
|
180569
|
+
}
|
|
180570
|
+
],
|
|
180571
|
+
"payable": false,
|
|
180572
|
+
"stateMutability": "view",
|
|
180573
|
+
"type": "function"
|
|
180574
|
+
},
|
|
180575
|
+
{
|
|
180576
|
+
"constant": false,
|
|
180577
|
+
"inputs": [
|
|
180578
|
+
{
|
|
180579
|
+
"internalType": "address",
|
|
180580
|
+
"name": "spender",
|
|
180581
|
+
"type": "address"
|
|
180582
|
+
},
|
|
180583
|
+
{
|
|
180584
|
+
"internalType": "uint256",
|
|
180585
|
+
"name": "amount",
|
|
180586
|
+
"type": "uint256"
|
|
180587
|
+
}
|
|
180588
|
+
],
|
|
180589
|
+
"name": "approve",
|
|
180590
|
+
"outputs": [
|
|
180591
|
+
{
|
|
180592
|
+
"internalType": "bool",
|
|
180593
|
+
"name": "",
|
|
180594
|
+
"type": "bool"
|
|
180595
|
+
}
|
|
180596
|
+
],
|
|
180597
|
+
"payable": false,
|
|
180598
|
+
"stateMutability": "nonpayable",
|
|
180599
|
+
"type": "function"
|
|
180600
|
+
},
|
|
180601
|
+
{
|
|
180602
|
+
"constant": true,
|
|
180603
|
+
"inputs": [
|
|
180604
|
+
{
|
|
180605
|
+
"internalType": "address",
|
|
180606
|
+
"name": "owner",
|
|
180607
|
+
"type": "address"
|
|
180608
|
+
}
|
|
180609
|
+
],
|
|
180610
|
+
"name": "balanceOf",
|
|
180611
|
+
"outputs": [
|
|
180612
|
+
{
|
|
180613
|
+
"internalType": "uint256",
|
|
180614
|
+
"name": "",
|
|
180615
|
+
"type": "uint256"
|
|
180616
|
+
}
|
|
180617
|
+
],
|
|
180618
|
+
"payable": false,
|
|
180619
|
+
"stateMutability": "view",
|
|
180620
|
+
"type": "function"
|
|
180621
|
+
},
|
|
180622
|
+
{
|
|
180623
|
+
"constant": false,
|
|
180624
|
+
"inputs": [
|
|
180625
|
+
{
|
|
180626
|
+
"internalType": "address",
|
|
180627
|
+
"name": "owner",
|
|
180628
|
+
"type": "address"
|
|
180629
|
+
}
|
|
180630
|
+
],
|
|
180631
|
+
"name": "balanceOfUnderlying",
|
|
180632
|
+
"outputs": [
|
|
180633
|
+
{
|
|
180634
|
+
"internalType": "uint256",
|
|
180635
|
+
"name": "",
|
|
180636
|
+
"type": "uint256"
|
|
180637
|
+
}
|
|
180638
|
+
],
|
|
180639
|
+
"payable": false,
|
|
180640
|
+
"stateMutability": "nonpayable",
|
|
180641
|
+
"type": "function"
|
|
180642
|
+
},
|
|
180643
|
+
{
|
|
180644
|
+
"constant": false,
|
|
180645
|
+
"inputs": [
|
|
180646
|
+
{
|
|
180647
|
+
"internalType": "uint256",
|
|
180648
|
+
"name": "borrowAmount",
|
|
180649
|
+
"type": "uint256"
|
|
180650
|
+
}
|
|
180651
|
+
],
|
|
180652
|
+
"name": "borrow",
|
|
180653
|
+
"outputs": [
|
|
180654
|
+
{
|
|
180655
|
+
"internalType": "uint256",
|
|
180656
|
+
"name": "",
|
|
180657
|
+
"type": "uint256"
|
|
180658
|
+
}
|
|
180659
|
+
],
|
|
180660
|
+
"payable": false,
|
|
180661
|
+
"stateMutability": "nonpayable",
|
|
180662
|
+
"type": "function"
|
|
180663
|
+
},
|
|
180664
|
+
{
|
|
180665
|
+
"constant": false,
|
|
180666
|
+
"inputs": [
|
|
180667
|
+
{
|
|
180668
|
+
"internalType": "address",
|
|
180669
|
+
"name": "account",
|
|
180670
|
+
"type": "address"
|
|
180671
|
+
}
|
|
180672
|
+
],
|
|
180673
|
+
"name": "borrowBalanceCurrent",
|
|
180674
|
+
"outputs": [
|
|
180675
|
+
{
|
|
180676
|
+
"internalType": "uint256",
|
|
180677
|
+
"name": "",
|
|
180678
|
+
"type": "uint256"
|
|
180679
|
+
}
|
|
180680
|
+
],
|
|
180681
|
+
"payable": false,
|
|
180682
|
+
"stateMutability": "nonpayable",
|
|
180683
|
+
"type": "function"
|
|
180684
|
+
},
|
|
180685
|
+
{
|
|
180686
|
+
"constant": true,
|
|
180687
|
+
"inputs": [
|
|
180688
|
+
{
|
|
180689
|
+
"internalType": "address",
|
|
180690
|
+
"name": "account",
|
|
180691
|
+
"type": "address"
|
|
180692
|
+
}
|
|
180693
|
+
],
|
|
180694
|
+
"name": "borrowBalanceStored",
|
|
180695
|
+
"outputs": [
|
|
180696
|
+
{
|
|
180697
|
+
"internalType": "uint256",
|
|
180698
|
+
"name": "",
|
|
180699
|
+
"type": "uint256"
|
|
180700
|
+
}
|
|
180701
|
+
],
|
|
180702
|
+
"payable": false,
|
|
180703
|
+
"stateMutability": "view",
|
|
180704
|
+
"type": "function"
|
|
180705
|
+
},
|
|
180706
|
+
{
|
|
180707
|
+
"constant": true,
|
|
180708
|
+
"inputs": [],
|
|
180709
|
+
"name": "borrowIndex",
|
|
180710
|
+
"outputs": [
|
|
180711
|
+
{
|
|
180712
|
+
"internalType": "uint256",
|
|
180713
|
+
"name": "",
|
|
180714
|
+
"type": "uint256"
|
|
180715
|
+
}
|
|
180716
|
+
],
|
|
180717
|
+
"payable": false,
|
|
180718
|
+
"stateMutability": "view",
|
|
180719
|
+
"type": "function"
|
|
180720
|
+
},
|
|
180721
|
+
{
|
|
180722
|
+
"constant": true,
|
|
180723
|
+
"inputs": [],
|
|
180724
|
+
"name": "borrowRatePerBlock",
|
|
180725
|
+
"outputs": [
|
|
180726
|
+
{
|
|
180727
|
+
"internalType": "uint256",
|
|
180728
|
+
"name": "",
|
|
180729
|
+
"type": "uint256"
|
|
180730
|
+
}
|
|
180731
|
+
],
|
|
180732
|
+
"payable": false,
|
|
180733
|
+
"stateMutability": "view",
|
|
180734
|
+
"type": "function"
|
|
180735
|
+
},
|
|
180736
|
+
{
|
|
180737
|
+
"constant": true,
|
|
180738
|
+
"inputs": [],
|
|
180739
|
+
"name": "comptroller",
|
|
180740
|
+
"outputs": [
|
|
180741
|
+
{
|
|
180742
|
+
"internalType": "contract ComptrollerInterface",
|
|
180743
|
+
"name": "",
|
|
180744
|
+
"type": "address"
|
|
180745
|
+
}
|
|
180746
|
+
],
|
|
180747
|
+
"payable": false,
|
|
180748
|
+
"stateMutability": "view",
|
|
180749
|
+
"type": "function"
|
|
180750
|
+
},
|
|
180751
|
+
{
|
|
180752
|
+
"constant": true,
|
|
180753
|
+
"inputs": [],
|
|
180754
|
+
"name": "decimals",
|
|
180755
|
+
"outputs": [
|
|
180756
|
+
{
|
|
180757
|
+
"internalType": "uint8",
|
|
180758
|
+
"name": "",
|
|
180759
|
+
"type": "uint8"
|
|
180760
|
+
}
|
|
180761
|
+
],
|
|
180762
|
+
"payable": false,
|
|
180763
|
+
"stateMutability": "view",
|
|
180764
|
+
"type": "function"
|
|
180765
|
+
},
|
|
180766
|
+
{
|
|
180767
|
+
"constant": false,
|
|
180768
|
+
"inputs": [
|
|
180769
|
+
{
|
|
180770
|
+
"internalType": "bytes",
|
|
180771
|
+
"name": "data",
|
|
180772
|
+
"type": "bytes"
|
|
180773
|
+
}
|
|
180774
|
+
],
|
|
180775
|
+
"name": "delegateToImplementation",
|
|
180776
|
+
"outputs": [
|
|
180777
|
+
{
|
|
180778
|
+
"internalType": "bytes",
|
|
180779
|
+
"name": "",
|
|
180780
|
+
"type": "bytes"
|
|
180781
|
+
}
|
|
180782
|
+
],
|
|
180783
|
+
"payable": false,
|
|
180784
|
+
"stateMutability": "nonpayable",
|
|
180785
|
+
"type": "function"
|
|
180786
|
+
},
|
|
180787
|
+
{
|
|
180788
|
+
"constant": true,
|
|
180789
|
+
"inputs": [
|
|
180790
|
+
{
|
|
180791
|
+
"internalType": "bytes",
|
|
180792
|
+
"name": "data",
|
|
180793
|
+
"type": "bytes"
|
|
180794
|
+
}
|
|
180795
|
+
],
|
|
180796
|
+
"name": "delegateToViewImplementation",
|
|
180797
|
+
"outputs": [
|
|
180798
|
+
{
|
|
180799
|
+
"internalType": "bytes",
|
|
180800
|
+
"name": "",
|
|
180801
|
+
"type": "bytes"
|
|
180802
|
+
}
|
|
180803
|
+
],
|
|
180804
|
+
"payable": false,
|
|
180805
|
+
"stateMutability": "view",
|
|
180806
|
+
"type": "function"
|
|
180807
|
+
},
|
|
180808
|
+
{
|
|
180809
|
+
"constant": false,
|
|
180810
|
+
"inputs": [],
|
|
180811
|
+
"name": "exchangeRateCurrent",
|
|
180812
|
+
"outputs": [
|
|
180813
|
+
{
|
|
180814
|
+
"internalType": "uint256",
|
|
180815
|
+
"name": "",
|
|
180816
|
+
"type": "uint256"
|
|
180817
|
+
}
|
|
180818
|
+
],
|
|
180819
|
+
"payable": false,
|
|
180820
|
+
"stateMutability": "nonpayable",
|
|
180821
|
+
"type": "function"
|
|
180822
|
+
},
|
|
180823
|
+
{
|
|
180824
|
+
"constant": true,
|
|
180825
|
+
"inputs": [],
|
|
180826
|
+
"name": "exchangeRateStored",
|
|
180827
|
+
"outputs": [
|
|
180828
|
+
{
|
|
180829
|
+
"internalType": "uint256",
|
|
180830
|
+
"name": "",
|
|
180831
|
+
"type": "uint256"
|
|
180832
|
+
}
|
|
180833
|
+
],
|
|
180834
|
+
"payable": false,
|
|
180835
|
+
"stateMutability": "view",
|
|
180836
|
+
"type": "function"
|
|
180837
|
+
},
|
|
180838
|
+
{
|
|
180839
|
+
"constant": true,
|
|
180840
|
+
"inputs": [
|
|
180841
|
+
{
|
|
180842
|
+
"internalType": "address",
|
|
180843
|
+
"name": "account",
|
|
180844
|
+
"type": "address"
|
|
180845
|
+
}
|
|
180846
|
+
],
|
|
180847
|
+
"name": "getAccountSnapshot",
|
|
180848
|
+
"outputs": [
|
|
180849
|
+
{
|
|
180850
|
+
"internalType": "uint256",
|
|
180851
|
+
"name": "",
|
|
180852
|
+
"type": "uint256"
|
|
180853
|
+
},
|
|
180854
|
+
{
|
|
180855
|
+
"internalType": "uint256",
|
|
180856
|
+
"name": "",
|
|
180857
|
+
"type": "uint256"
|
|
180858
|
+
},
|
|
180859
|
+
{
|
|
180860
|
+
"internalType": "uint256",
|
|
180861
|
+
"name": "",
|
|
180862
|
+
"type": "uint256"
|
|
180863
|
+
},
|
|
180864
|
+
{
|
|
180865
|
+
"internalType": "uint256",
|
|
180866
|
+
"name": "",
|
|
180867
|
+
"type": "uint256"
|
|
180868
|
+
}
|
|
180869
|
+
],
|
|
180870
|
+
"payable": false,
|
|
180871
|
+
"stateMutability": "view",
|
|
180872
|
+
"type": "function"
|
|
180873
|
+
},
|
|
180874
|
+
{
|
|
180875
|
+
"constant": true,
|
|
180876
|
+
"inputs": [],
|
|
180877
|
+
"name": "getCash",
|
|
180878
|
+
"outputs": [
|
|
180879
|
+
{
|
|
180880
|
+
"internalType": "uint256",
|
|
180881
|
+
"name": "",
|
|
180882
|
+
"type": "uint256"
|
|
180883
|
+
}
|
|
180884
|
+
],
|
|
180885
|
+
"payable": false,
|
|
180886
|
+
"stateMutability": "view",
|
|
180887
|
+
"type": "function"
|
|
180888
|
+
},
|
|
180889
|
+
{
|
|
180890
|
+
"constant": true,
|
|
180891
|
+
"inputs": [],
|
|
180892
|
+
"name": "implementation",
|
|
180893
|
+
"outputs": [
|
|
180894
|
+
{
|
|
180895
|
+
"internalType": "address",
|
|
180896
|
+
"name": "",
|
|
180897
|
+
"type": "address"
|
|
180898
|
+
}
|
|
180899
|
+
],
|
|
180900
|
+
"payable": false,
|
|
180901
|
+
"stateMutability": "view",
|
|
180902
|
+
"type": "function"
|
|
180903
|
+
},
|
|
180904
|
+
{
|
|
180905
|
+
"constant": true,
|
|
180906
|
+
"inputs": [],
|
|
180907
|
+
"name": "interestRateModel",
|
|
180908
|
+
"outputs": [
|
|
180909
|
+
{
|
|
180910
|
+
"internalType": "contract InterestRateModel",
|
|
180911
|
+
"name": "",
|
|
180912
|
+
"type": "address"
|
|
180913
|
+
}
|
|
180914
|
+
],
|
|
180915
|
+
"payable": false,
|
|
180916
|
+
"stateMutability": "view",
|
|
180917
|
+
"type": "function"
|
|
180918
|
+
},
|
|
180919
|
+
{
|
|
180920
|
+
"constant": true,
|
|
180921
|
+
"inputs": [],
|
|
180922
|
+
"name": "isVToken",
|
|
180923
|
+
"outputs": [
|
|
180924
|
+
{
|
|
180925
|
+
"internalType": "bool",
|
|
180926
|
+
"name": "",
|
|
180927
|
+
"type": "bool"
|
|
180928
|
+
}
|
|
180929
|
+
],
|
|
180930
|
+
"payable": false,
|
|
180931
|
+
"stateMutability": "view",
|
|
180932
|
+
"type": "function"
|
|
180933
|
+
},
|
|
180934
|
+
{
|
|
180935
|
+
"constant": false,
|
|
180936
|
+
"inputs": [
|
|
180937
|
+
{
|
|
180938
|
+
"internalType": "address",
|
|
180939
|
+
"name": "borrower",
|
|
180940
|
+
"type": "address"
|
|
180941
|
+
},
|
|
180942
|
+
{
|
|
180943
|
+
"internalType": "uint256",
|
|
180944
|
+
"name": "repayAmount",
|
|
180945
|
+
"type": "uint256"
|
|
180946
|
+
},
|
|
180947
|
+
{
|
|
180948
|
+
"internalType": "contract VTokenInterface",
|
|
180949
|
+
"name": "vTokenCollateral",
|
|
180950
|
+
"type": "address"
|
|
180951
|
+
}
|
|
180952
|
+
],
|
|
180953
|
+
"name": "liquidateBorrow",
|
|
180954
|
+
"outputs": [
|
|
180955
|
+
{
|
|
180956
|
+
"internalType": "uint256",
|
|
180957
|
+
"name": "",
|
|
180958
|
+
"type": "uint256"
|
|
180959
|
+
}
|
|
180960
|
+
],
|
|
180961
|
+
"payable": false,
|
|
180962
|
+
"stateMutability": "nonpayable",
|
|
180963
|
+
"type": "function"
|
|
180964
|
+
},
|
|
180965
|
+
{
|
|
180966
|
+
"constant": false,
|
|
180967
|
+
"inputs": [
|
|
180968
|
+
{
|
|
180969
|
+
"internalType": "uint256",
|
|
180970
|
+
"name": "mintAmount",
|
|
180971
|
+
"type": "uint256"
|
|
180972
|
+
}
|
|
180973
|
+
],
|
|
180974
|
+
"name": "mint",
|
|
180975
|
+
"outputs": [
|
|
180976
|
+
{
|
|
180977
|
+
"internalType": "uint256",
|
|
180978
|
+
"name": "",
|
|
180979
|
+
"type": "uint256"
|
|
180980
|
+
}
|
|
180981
|
+
],
|
|
180982
|
+
"payable": false,
|
|
180983
|
+
"stateMutability": "nonpayable",
|
|
180984
|
+
"type": "function"
|
|
180985
|
+
},
|
|
180986
|
+
{
|
|
180987
|
+
"constant": false,
|
|
180988
|
+
"inputs": [
|
|
180989
|
+
{
|
|
180990
|
+
"internalType": "address",
|
|
180991
|
+
"name": "receiver",
|
|
180992
|
+
"type": "address"
|
|
180993
|
+
},
|
|
180994
|
+
{
|
|
180995
|
+
"internalType": "uint256",
|
|
180996
|
+
"name": "mintAmount",
|
|
180997
|
+
"type": "uint256"
|
|
180998
|
+
}
|
|
180999
|
+
],
|
|
181000
|
+
"name": "mintBehalf",
|
|
181001
|
+
"outputs": [
|
|
181002
|
+
{
|
|
181003
|
+
"internalType": "uint256",
|
|
181004
|
+
"name": "",
|
|
181005
|
+
"type": "uint256"
|
|
181006
|
+
}
|
|
181007
|
+
],
|
|
181008
|
+
"payable": false,
|
|
181009
|
+
"stateMutability": "nonpayable",
|
|
181010
|
+
"type": "function"
|
|
181011
|
+
},
|
|
181012
|
+
{
|
|
181013
|
+
"constant": true,
|
|
181014
|
+
"inputs": [],
|
|
181015
|
+
"name": "name",
|
|
181016
|
+
"outputs": [
|
|
181017
|
+
{
|
|
181018
|
+
"internalType": "string",
|
|
181019
|
+
"name": "",
|
|
181020
|
+
"type": "string"
|
|
181021
|
+
}
|
|
181022
|
+
],
|
|
181023
|
+
"payable": false,
|
|
181024
|
+
"stateMutability": "view",
|
|
181025
|
+
"type": "function"
|
|
181026
|
+
},
|
|
181027
|
+
{
|
|
181028
|
+
"constant": true,
|
|
181029
|
+
"inputs": [],
|
|
181030
|
+
"name": "pendingAdmin",
|
|
181031
|
+
"outputs": [
|
|
181032
|
+
{
|
|
181033
|
+
"internalType": "address payable",
|
|
181034
|
+
"name": "",
|
|
181035
|
+
"type": "address"
|
|
181036
|
+
}
|
|
181037
|
+
],
|
|
181038
|
+
"payable": false,
|
|
181039
|
+
"stateMutability": "view",
|
|
181040
|
+
"type": "function"
|
|
181041
|
+
},
|
|
181042
|
+
{
|
|
181043
|
+
"constant": true,
|
|
181044
|
+
"inputs": [],
|
|
181045
|
+
"name": "protocolShareReserve",
|
|
181046
|
+
"outputs": [
|
|
181047
|
+
{
|
|
181048
|
+
"internalType": "address payable",
|
|
181049
|
+
"name": "",
|
|
181050
|
+
"type": "address"
|
|
181051
|
+
}
|
|
181052
|
+
],
|
|
181053
|
+
"payable": false,
|
|
181054
|
+
"stateMutability": "view",
|
|
181055
|
+
"type": "function"
|
|
181056
|
+
},
|
|
181057
|
+
{
|
|
181058
|
+
"constant": false,
|
|
181059
|
+
"inputs": [
|
|
181060
|
+
{
|
|
181061
|
+
"internalType": "uint256",
|
|
181062
|
+
"name": "redeemTokens",
|
|
181063
|
+
"type": "uint256"
|
|
181064
|
+
}
|
|
181065
|
+
],
|
|
181066
|
+
"name": "redeem",
|
|
181067
|
+
"outputs": [
|
|
181068
|
+
{
|
|
181069
|
+
"internalType": "uint256",
|
|
181070
|
+
"name": "",
|
|
181071
|
+
"type": "uint256"
|
|
181072
|
+
}
|
|
181073
|
+
],
|
|
181074
|
+
"payable": false,
|
|
181075
|
+
"stateMutability": "nonpayable",
|
|
181076
|
+
"type": "function"
|
|
181077
|
+
},
|
|
181078
|
+
{
|
|
181079
|
+
"constant": false,
|
|
181080
|
+
"inputs": [
|
|
181081
|
+
{
|
|
181082
|
+
"internalType": "uint256",
|
|
181083
|
+
"name": "redeemAmount",
|
|
181084
|
+
"type": "uint256"
|
|
181085
|
+
}
|
|
181086
|
+
],
|
|
181087
|
+
"name": "redeemUnderlying",
|
|
181088
|
+
"outputs": [
|
|
181089
|
+
{
|
|
181090
|
+
"internalType": "uint256",
|
|
181091
|
+
"name": "",
|
|
181092
|
+
"type": "uint256"
|
|
181093
|
+
}
|
|
181094
|
+
],
|
|
181095
|
+
"payable": false,
|
|
181096
|
+
"stateMutability": "nonpayable",
|
|
181097
|
+
"type": "function"
|
|
181098
|
+
},
|
|
181099
|
+
{
|
|
181100
|
+
"constant": true,
|
|
181101
|
+
"inputs": [],
|
|
181102
|
+
"name": "reduceReservesBlockDelta",
|
|
181103
|
+
"outputs": [
|
|
181104
|
+
{
|
|
181105
|
+
"internalType": "uint256",
|
|
181106
|
+
"name": "",
|
|
181107
|
+
"type": "uint256"
|
|
181108
|
+
}
|
|
181109
|
+
],
|
|
181110
|
+
"payable": false,
|
|
181111
|
+
"stateMutability": "view",
|
|
181112
|
+
"type": "function"
|
|
181113
|
+
},
|
|
181114
|
+
{
|
|
181115
|
+
"constant": true,
|
|
181116
|
+
"inputs": [],
|
|
181117
|
+
"name": "reduceReservesBlockNumber",
|
|
181118
|
+
"outputs": [
|
|
181119
|
+
{
|
|
181120
|
+
"internalType": "uint256",
|
|
181121
|
+
"name": "",
|
|
181122
|
+
"type": "uint256"
|
|
181123
|
+
}
|
|
181124
|
+
],
|
|
181125
|
+
"payable": false,
|
|
181126
|
+
"stateMutability": "view",
|
|
181127
|
+
"type": "function"
|
|
181128
|
+
},
|
|
181129
|
+
{
|
|
181130
|
+
"constant": false,
|
|
181131
|
+
"inputs": [
|
|
181132
|
+
{
|
|
181133
|
+
"internalType": "uint256",
|
|
181134
|
+
"name": "repayAmount",
|
|
181135
|
+
"type": "uint256"
|
|
181136
|
+
}
|
|
181137
|
+
],
|
|
181138
|
+
"name": "repayBorrow",
|
|
181139
|
+
"outputs": [
|
|
181140
|
+
{
|
|
181141
|
+
"internalType": "uint256",
|
|
181142
|
+
"name": "",
|
|
181143
|
+
"type": "uint256"
|
|
181144
|
+
}
|
|
181145
|
+
],
|
|
181146
|
+
"payable": false,
|
|
181147
|
+
"stateMutability": "nonpayable",
|
|
181148
|
+
"type": "function"
|
|
181149
|
+
},
|
|
181150
|
+
{
|
|
181151
|
+
"constant": false,
|
|
181152
|
+
"inputs": [
|
|
181153
|
+
{
|
|
181154
|
+
"internalType": "address",
|
|
181155
|
+
"name": "borrower",
|
|
181156
|
+
"type": "address"
|
|
181157
|
+
},
|
|
181158
|
+
{
|
|
181159
|
+
"internalType": "uint256",
|
|
181160
|
+
"name": "repayAmount",
|
|
181161
|
+
"type": "uint256"
|
|
181162
|
+
}
|
|
181163
|
+
],
|
|
181164
|
+
"name": "repayBorrowBehalf",
|
|
181165
|
+
"outputs": [
|
|
181166
|
+
{
|
|
181167
|
+
"internalType": "uint256",
|
|
181168
|
+
"name": "",
|
|
181169
|
+
"type": "uint256"
|
|
181170
|
+
}
|
|
181171
|
+
],
|
|
181172
|
+
"payable": false,
|
|
181173
|
+
"stateMutability": "nonpayable",
|
|
181174
|
+
"type": "function"
|
|
181175
|
+
},
|
|
181176
|
+
{
|
|
181177
|
+
"constant": true,
|
|
181178
|
+
"inputs": [],
|
|
181179
|
+
"name": "reserveFactorMantissa",
|
|
181180
|
+
"outputs": [
|
|
181181
|
+
{
|
|
181182
|
+
"internalType": "uint256",
|
|
181183
|
+
"name": "",
|
|
181184
|
+
"type": "uint256"
|
|
181185
|
+
}
|
|
181186
|
+
],
|
|
181187
|
+
"payable": false,
|
|
181188
|
+
"stateMutability": "view",
|
|
181189
|
+
"type": "function"
|
|
181190
|
+
},
|
|
181191
|
+
{
|
|
181192
|
+
"constant": false,
|
|
181193
|
+
"inputs": [
|
|
181194
|
+
{
|
|
181195
|
+
"internalType": "address",
|
|
181196
|
+
"name": "liquidator",
|
|
181197
|
+
"type": "address"
|
|
181198
|
+
},
|
|
181199
|
+
{
|
|
181200
|
+
"internalType": "address",
|
|
181201
|
+
"name": "borrower",
|
|
181202
|
+
"type": "address"
|
|
181203
|
+
},
|
|
181204
|
+
{
|
|
181205
|
+
"internalType": "uint256",
|
|
181206
|
+
"name": "seizeTokens",
|
|
181207
|
+
"type": "uint256"
|
|
181208
|
+
}
|
|
181209
|
+
],
|
|
181210
|
+
"name": "seize",
|
|
181211
|
+
"outputs": [
|
|
181212
|
+
{
|
|
181213
|
+
"internalType": "uint256",
|
|
181214
|
+
"name": "",
|
|
181215
|
+
"type": "uint256"
|
|
181216
|
+
}
|
|
181217
|
+
],
|
|
181218
|
+
"payable": false,
|
|
181219
|
+
"stateMutability": "nonpayable",
|
|
181220
|
+
"type": "function"
|
|
181221
|
+
},
|
|
181222
|
+
{
|
|
181223
|
+
"constant": true,
|
|
181224
|
+
"inputs": [],
|
|
181225
|
+
"name": "supplyRatePerBlock",
|
|
181226
|
+
"outputs": [
|
|
181227
|
+
{
|
|
181228
|
+
"internalType": "uint256",
|
|
181229
|
+
"name": "",
|
|
181230
|
+
"type": "uint256"
|
|
181231
|
+
}
|
|
181232
|
+
],
|
|
181233
|
+
"payable": false,
|
|
181234
|
+
"stateMutability": "view",
|
|
181235
|
+
"type": "function"
|
|
181236
|
+
},
|
|
181237
|
+
{
|
|
181238
|
+
"constant": true,
|
|
181239
|
+
"inputs": [],
|
|
181240
|
+
"name": "symbol",
|
|
181241
|
+
"outputs": [
|
|
181242
|
+
{
|
|
181243
|
+
"internalType": "string",
|
|
181244
|
+
"name": "",
|
|
181245
|
+
"type": "string"
|
|
181246
|
+
}
|
|
181247
|
+
],
|
|
181248
|
+
"payable": false,
|
|
181249
|
+
"stateMutability": "view",
|
|
181250
|
+
"type": "function"
|
|
181251
|
+
},
|
|
181252
|
+
{
|
|
181253
|
+
"constant": true,
|
|
181254
|
+
"inputs": [],
|
|
181255
|
+
"name": "totalBorrows",
|
|
181256
|
+
"outputs": [
|
|
181257
|
+
{
|
|
181258
|
+
"internalType": "uint256",
|
|
181259
|
+
"name": "",
|
|
181260
|
+
"type": "uint256"
|
|
181261
|
+
}
|
|
181262
|
+
],
|
|
181263
|
+
"payable": false,
|
|
181264
|
+
"stateMutability": "view",
|
|
181265
|
+
"type": "function"
|
|
181266
|
+
},
|
|
181267
|
+
{
|
|
181268
|
+
"constant": false,
|
|
181269
|
+
"inputs": [],
|
|
181270
|
+
"name": "totalBorrowsCurrent",
|
|
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": true,
|
|
181284
|
+
"inputs": [],
|
|
181285
|
+
"name": "totalReserves",
|
|
181286
|
+
"outputs": [
|
|
181287
|
+
{
|
|
181288
|
+
"internalType": "uint256",
|
|
181289
|
+
"name": "",
|
|
181290
|
+
"type": "uint256"
|
|
181291
|
+
}
|
|
181292
|
+
],
|
|
181293
|
+
"payable": false,
|
|
181294
|
+
"stateMutability": "view",
|
|
181295
|
+
"type": "function"
|
|
181296
|
+
},
|
|
181297
|
+
{
|
|
181298
|
+
"constant": true,
|
|
181299
|
+
"inputs": [],
|
|
181300
|
+
"name": "totalSupply",
|
|
181301
|
+
"outputs": [
|
|
181302
|
+
{
|
|
181303
|
+
"internalType": "uint256",
|
|
181304
|
+
"name": "",
|
|
181305
|
+
"type": "uint256"
|
|
181306
|
+
}
|
|
181307
|
+
],
|
|
181308
|
+
"payable": false,
|
|
181309
|
+
"stateMutability": "view",
|
|
181310
|
+
"type": "function"
|
|
181311
|
+
},
|
|
181312
|
+
{
|
|
181313
|
+
"constant": false,
|
|
181314
|
+
"inputs": [
|
|
181315
|
+
{
|
|
181316
|
+
"internalType": "address",
|
|
181317
|
+
"name": "dst",
|
|
181318
|
+
"type": "address"
|
|
181319
|
+
},
|
|
181320
|
+
{
|
|
181321
|
+
"internalType": "uint256",
|
|
181322
|
+
"name": "amount",
|
|
181323
|
+
"type": "uint256"
|
|
181324
|
+
}
|
|
181325
|
+
],
|
|
181326
|
+
"name": "transfer",
|
|
181327
|
+
"outputs": [
|
|
181328
|
+
{
|
|
181329
|
+
"internalType": "bool",
|
|
181330
|
+
"name": "",
|
|
181331
|
+
"type": "bool"
|
|
181332
|
+
}
|
|
181333
|
+
],
|
|
181334
|
+
"payable": false,
|
|
181335
|
+
"stateMutability": "nonpayable",
|
|
181336
|
+
"type": "function"
|
|
181337
|
+
},
|
|
181338
|
+
{
|
|
181339
|
+
"constant": false,
|
|
181340
|
+
"inputs": [
|
|
181341
|
+
{
|
|
181342
|
+
"internalType": "address",
|
|
181343
|
+
"name": "src",
|
|
181344
|
+
"type": "address"
|
|
181345
|
+
},
|
|
181346
|
+
{
|
|
181347
|
+
"internalType": "address",
|
|
181348
|
+
"name": "dst",
|
|
181349
|
+
"type": "address"
|
|
181350
|
+
},
|
|
181351
|
+
{
|
|
181352
|
+
"internalType": "uint256",
|
|
181353
|
+
"name": "amount",
|
|
181354
|
+
"type": "uint256"
|
|
181355
|
+
}
|
|
181356
|
+
],
|
|
181357
|
+
"name": "transferFrom",
|
|
181358
|
+
"outputs": [
|
|
181359
|
+
{
|
|
181360
|
+
"internalType": "bool",
|
|
181361
|
+
"name": "",
|
|
181362
|
+
"type": "bool"
|
|
181363
|
+
}
|
|
181364
|
+
],
|
|
181365
|
+
"payable": false,
|
|
181366
|
+
"stateMutability": "nonpayable",
|
|
181367
|
+
"type": "function"
|
|
181368
|
+
},
|
|
181369
|
+
{
|
|
181370
|
+
"constant": true,
|
|
181371
|
+
"inputs": [],
|
|
181372
|
+
"name": "underlying",
|
|
181373
|
+
"outputs": [
|
|
181374
|
+
{
|
|
181375
|
+
"internalType": "address",
|
|
181376
|
+
"name": "",
|
|
181377
|
+
"type": "address"
|
|
181378
|
+
}
|
|
181379
|
+
],
|
|
181380
|
+
"payable": false,
|
|
181381
|
+
"stateMutability": "view",
|
|
181382
|
+
"type": "function"
|
|
181383
|
+
}
|
|
181384
|
+
]
|
|
181385
|
+
},
|
|
179702
181386
|
"vlisUSD": {
|
|
179703
181387
|
"address": "0x689E0daB47Ab16bcae87Ec18491692BF621Dc6Ab",
|
|
179704
181388
|
"abi": [
|