@venusprotocol/venus-protocol 9.5.0-dev.3 → 9.6.0-dev.1
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/vSOL.json +2382 -0
- package/deployments/bscmainnet.json +1684 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/bsctestnet/MockSOL.json +458 -0
- package/deployments/bsctestnet/solcInputs/7584667b44eb77970ba8d274006d81ae.json +331 -0
- package/deployments/bsctestnet/vSOL.json +2382 -0
- package/deployments/bsctestnet.json +6522 -4529
- package/deployments/bsctestnet_addresses.json +2 -0
- package/dist/deployments/bscmainnet.json +1684 -0
- package/dist/deployments/bsctestnet.json +6522 -4529
- package/dist/helpers/deploymentConfig.js +45 -0
- package/package.json +1 -1
|
@@ -117903,6 +117903,1690 @@
|
|
|
117903
117903
|
}
|
|
117904
117904
|
]
|
|
117905
117905
|
},
|
|
117906
|
+
"vSOL": {
|
|
117907
|
+
"address": "0xBf515bA4D1b52FFdCeaBF20d31D705Ce789F2cEC",
|
|
117908
|
+
"abi": [
|
|
117909
|
+
{
|
|
117910
|
+
"inputs": [
|
|
117911
|
+
{
|
|
117912
|
+
"internalType": "address",
|
|
117913
|
+
"name": "underlying_",
|
|
117914
|
+
"type": "address"
|
|
117915
|
+
},
|
|
117916
|
+
{
|
|
117917
|
+
"internalType": "contract ComptrollerInterface",
|
|
117918
|
+
"name": "comptroller_",
|
|
117919
|
+
"type": "address"
|
|
117920
|
+
},
|
|
117921
|
+
{
|
|
117922
|
+
"internalType": "contract InterestRateModel",
|
|
117923
|
+
"name": "interestRateModel_",
|
|
117924
|
+
"type": "address"
|
|
117925
|
+
},
|
|
117926
|
+
{
|
|
117927
|
+
"internalType": "uint256",
|
|
117928
|
+
"name": "initialExchangeRateMantissa_",
|
|
117929
|
+
"type": "uint256"
|
|
117930
|
+
},
|
|
117931
|
+
{
|
|
117932
|
+
"internalType": "string",
|
|
117933
|
+
"name": "name_",
|
|
117934
|
+
"type": "string"
|
|
117935
|
+
},
|
|
117936
|
+
{
|
|
117937
|
+
"internalType": "string",
|
|
117938
|
+
"name": "symbol_",
|
|
117939
|
+
"type": "string"
|
|
117940
|
+
},
|
|
117941
|
+
{
|
|
117942
|
+
"internalType": "uint8",
|
|
117943
|
+
"name": "decimals_",
|
|
117944
|
+
"type": "uint8"
|
|
117945
|
+
},
|
|
117946
|
+
{
|
|
117947
|
+
"internalType": "address payable",
|
|
117948
|
+
"name": "admin_",
|
|
117949
|
+
"type": "address"
|
|
117950
|
+
},
|
|
117951
|
+
{
|
|
117952
|
+
"internalType": "address",
|
|
117953
|
+
"name": "implementation_",
|
|
117954
|
+
"type": "address"
|
|
117955
|
+
},
|
|
117956
|
+
{
|
|
117957
|
+
"internalType": "bytes",
|
|
117958
|
+
"name": "becomeImplementationData",
|
|
117959
|
+
"type": "bytes"
|
|
117960
|
+
}
|
|
117961
|
+
],
|
|
117962
|
+
"payable": false,
|
|
117963
|
+
"stateMutability": "nonpayable",
|
|
117964
|
+
"type": "constructor"
|
|
117965
|
+
},
|
|
117966
|
+
{
|
|
117967
|
+
"anonymous": false,
|
|
117968
|
+
"inputs": [
|
|
117969
|
+
{
|
|
117970
|
+
"indexed": false,
|
|
117971
|
+
"internalType": "uint256",
|
|
117972
|
+
"name": "cashPrior",
|
|
117973
|
+
"type": "uint256"
|
|
117974
|
+
},
|
|
117975
|
+
{
|
|
117976
|
+
"indexed": false,
|
|
117977
|
+
"internalType": "uint256",
|
|
117978
|
+
"name": "interestAccumulated",
|
|
117979
|
+
"type": "uint256"
|
|
117980
|
+
},
|
|
117981
|
+
{
|
|
117982
|
+
"indexed": false,
|
|
117983
|
+
"internalType": "uint256",
|
|
117984
|
+
"name": "borrowIndex",
|
|
117985
|
+
"type": "uint256"
|
|
117986
|
+
},
|
|
117987
|
+
{
|
|
117988
|
+
"indexed": false,
|
|
117989
|
+
"internalType": "uint256",
|
|
117990
|
+
"name": "totalBorrows",
|
|
117991
|
+
"type": "uint256"
|
|
117992
|
+
}
|
|
117993
|
+
],
|
|
117994
|
+
"name": "AccrueInterest",
|
|
117995
|
+
"type": "event"
|
|
117996
|
+
},
|
|
117997
|
+
{
|
|
117998
|
+
"anonymous": false,
|
|
117999
|
+
"inputs": [
|
|
118000
|
+
{
|
|
118001
|
+
"indexed": true,
|
|
118002
|
+
"internalType": "address",
|
|
118003
|
+
"name": "owner",
|
|
118004
|
+
"type": "address"
|
|
118005
|
+
},
|
|
118006
|
+
{
|
|
118007
|
+
"indexed": true,
|
|
118008
|
+
"internalType": "address",
|
|
118009
|
+
"name": "spender",
|
|
118010
|
+
"type": "address"
|
|
118011
|
+
},
|
|
118012
|
+
{
|
|
118013
|
+
"indexed": false,
|
|
118014
|
+
"internalType": "uint256",
|
|
118015
|
+
"name": "amount",
|
|
118016
|
+
"type": "uint256"
|
|
118017
|
+
}
|
|
118018
|
+
],
|
|
118019
|
+
"name": "Approval",
|
|
118020
|
+
"type": "event"
|
|
118021
|
+
},
|
|
118022
|
+
{
|
|
118023
|
+
"anonymous": false,
|
|
118024
|
+
"inputs": [
|
|
118025
|
+
{
|
|
118026
|
+
"indexed": false,
|
|
118027
|
+
"internalType": "address",
|
|
118028
|
+
"name": "borrower",
|
|
118029
|
+
"type": "address"
|
|
118030
|
+
},
|
|
118031
|
+
{
|
|
118032
|
+
"indexed": false,
|
|
118033
|
+
"internalType": "uint256",
|
|
118034
|
+
"name": "borrowAmount",
|
|
118035
|
+
"type": "uint256"
|
|
118036
|
+
},
|
|
118037
|
+
{
|
|
118038
|
+
"indexed": false,
|
|
118039
|
+
"internalType": "uint256",
|
|
118040
|
+
"name": "accountBorrows",
|
|
118041
|
+
"type": "uint256"
|
|
118042
|
+
},
|
|
118043
|
+
{
|
|
118044
|
+
"indexed": false,
|
|
118045
|
+
"internalType": "uint256",
|
|
118046
|
+
"name": "totalBorrows",
|
|
118047
|
+
"type": "uint256"
|
|
118048
|
+
}
|
|
118049
|
+
],
|
|
118050
|
+
"name": "Borrow",
|
|
118051
|
+
"type": "event"
|
|
118052
|
+
},
|
|
118053
|
+
{
|
|
118054
|
+
"anonymous": false,
|
|
118055
|
+
"inputs": [
|
|
118056
|
+
{
|
|
118057
|
+
"indexed": false,
|
|
118058
|
+
"internalType": "uint256",
|
|
118059
|
+
"name": "error",
|
|
118060
|
+
"type": "uint256"
|
|
118061
|
+
},
|
|
118062
|
+
{
|
|
118063
|
+
"indexed": false,
|
|
118064
|
+
"internalType": "uint256",
|
|
118065
|
+
"name": "info",
|
|
118066
|
+
"type": "uint256"
|
|
118067
|
+
},
|
|
118068
|
+
{
|
|
118069
|
+
"indexed": false,
|
|
118070
|
+
"internalType": "uint256",
|
|
118071
|
+
"name": "detail",
|
|
118072
|
+
"type": "uint256"
|
|
118073
|
+
}
|
|
118074
|
+
],
|
|
118075
|
+
"name": "Failure",
|
|
118076
|
+
"type": "event"
|
|
118077
|
+
},
|
|
118078
|
+
{
|
|
118079
|
+
"anonymous": false,
|
|
118080
|
+
"inputs": [
|
|
118081
|
+
{
|
|
118082
|
+
"indexed": false,
|
|
118083
|
+
"internalType": "address",
|
|
118084
|
+
"name": "liquidator",
|
|
118085
|
+
"type": "address"
|
|
118086
|
+
},
|
|
118087
|
+
{
|
|
118088
|
+
"indexed": false,
|
|
118089
|
+
"internalType": "address",
|
|
118090
|
+
"name": "borrower",
|
|
118091
|
+
"type": "address"
|
|
118092
|
+
},
|
|
118093
|
+
{
|
|
118094
|
+
"indexed": false,
|
|
118095
|
+
"internalType": "uint256",
|
|
118096
|
+
"name": "repayAmount",
|
|
118097
|
+
"type": "uint256"
|
|
118098
|
+
},
|
|
118099
|
+
{
|
|
118100
|
+
"indexed": false,
|
|
118101
|
+
"internalType": "address",
|
|
118102
|
+
"name": "vTokenCollateral",
|
|
118103
|
+
"type": "address"
|
|
118104
|
+
},
|
|
118105
|
+
{
|
|
118106
|
+
"indexed": false,
|
|
118107
|
+
"internalType": "uint256",
|
|
118108
|
+
"name": "seizeTokens",
|
|
118109
|
+
"type": "uint256"
|
|
118110
|
+
}
|
|
118111
|
+
],
|
|
118112
|
+
"name": "LiquidateBorrow",
|
|
118113
|
+
"type": "event"
|
|
118114
|
+
},
|
|
118115
|
+
{
|
|
118116
|
+
"anonymous": false,
|
|
118117
|
+
"inputs": [
|
|
118118
|
+
{
|
|
118119
|
+
"indexed": false,
|
|
118120
|
+
"internalType": "address",
|
|
118121
|
+
"name": "minter",
|
|
118122
|
+
"type": "address"
|
|
118123
|
+
},
|
|
118124
|
+
{
|
|
118125
|
+
"indexed": false,
|
|
118126
|
+
"internalType": "uint256",
|
|
118127
|
+
"name": "mintAmount",
|
|
118128
|
+
"type": "uint256"
|
|
118129
|
+
},
|
|
118130
|
+
{
|
|
118131
|
+
"indexed": false,
|
|
118132
|
+
"internalType": "uint256",
|
|
118133
|
+
"name": "mintTokens",
|
|
118134
|
+
"type": "uint256"
|
|
118135
|
+
},
|
|
118136
|
+
{
|
|
118137
|
+
"indexed": false,
|
|
118138
|
+
"internalType": "uint256",
|
|
118139
|
+
"name": "totalSupply",
|
|
118140
|
+
"type": "uint256"
|
|
118141
|
+
}
|
|
118142
|
+
],
|
|
118143
|
+
"name": "Mint",
|
|
118144
|
+
"type": "event"
|
|
118145
|
+
},
|
|
118146
|
+
{
|
|
118147
|
+
"anonymous": false,
|
|
118148
|
+
"inputs": [
|
|
118149
|
+
{
|
|
118150
|
+
"indexed": false,
|
|
118151
|
+
"internalType": "address",
|
|
118152
|
+
"name": "payer",
|
|
118153
|
+
"type": "address"
|
|
118154
|
+
},
|
|
118155
|
+
{
|
|
118156
|
+
"indexed": false,
|
|
118157
|
+
"internalType": "address",
|
|
118158
|
+
"name": "receiver",
|
|
118159
|
+
"type": "address"
|
|
118160
|
+
},
|
|
118161
|
+
{
|
|
118162
|
+
"indexed": false,
|
|
118163
|
+
"internalType": "uint256",
|
|
118164
|
+
"name": "mintAmount",
|
|
118165
|
+
"type": "uint256"
|
|
118166
|
+
},
|
|
118167
|
+
{
|
|
118168
|
+
"indexed": false,
|
|
118169
|
+
"internalType": "uint256",
|
|
118170
|
+
"name": "mintTokens",
|
|
118171
|
+
"type": "uint256"
|
|
118172
|
+
},
|
|
118173
|
+
{
|
|
118174
|
+
"indexed": false,
|
|
118175
|
+
"internalType": "uint256",
|
|
118176
|
+
"name": "totalSupply",
|
|
118177
|
+
"type": "uint256"
|
|
118178
|
+
}
|
|
118179
|
+
],
|
|
118180
|
+
"name": "MintBehalf",
|
|
118181
|
+
"type": "event"
|
|
118182
|
+
},
|
|
118183
|
+
{
|
|
118184
|
+
"anonymous": false,
|
|
118185
|
+
"inputs": [
|
|
118186
|
+
{
|
|
118187
|
+
"indexed": false,
|
|
118188
|
+
"internalType": "address",
|
|
118189
|
+
"name": "oldAccessControlAddress",
|
|
118190
|
+
"type": "address"
|
|
118191
|
+
},
|
|
118192
|
+
{
|
|
118193
|
+
"indexed": false,
|
|
118194
|
+
"internalType": "address",
|
|
118195
|
+
"name": "newAccessControlAddress",
|
|
118196
|
+
"type": "address"
|
|
118197
|
+
}
|
|
118198
|
+
],
|
|
118199
|
+
"name": "NewAccessControlManager",
|
|
118200
|
+
"type": "event"
|
|
118201
|
+
},
|
|
118202
|
+
{
|
|
118203
|
+
"anonymous": false,
|
|
118204
|
+
"inputs": [
|
|
118205
|
+
{
|
|
118206
|
+
"indexed": false,
|
|
118207
|
+
"internalType": "address",
|
|
118208
|
+
"name": "oldAdmin",
|
|
118209
|
+
"type": "address"
|
|
118210
|
+
},
|
|
118211
|
+
{
|
|
118212
|
+
"indexed": false,
|
|
118213
|
+
"internalType": "address",
|
|
118214
|
+
"name": "newAdmin",
|
|
118215
|
+
"type": "address"
|
|
118216
|
+
}
|
|
118217
|
+
],
|
|
118218
|
+
"name": "NewAdmin",
|
|
118219
|
+
"type": "event"
|
|
118220
|
+
},
|
|
118221
|
+
{
|
|
118222
|
+
"anonymous": false,
|
|
118223
|
+
"inputs": [
|
|
118224
|
+
{
|
|
118225
|
+
"indexed": false,
|
|
118226
|
+
"internalType": "contract ComptrollerInterface",
|
|
118227
|
+
"name": "oldComptroller",
|
|
118228
|
+
"type": "address"
|
|
118229
|
+
},
|
|
118230
|
+
{
|
|
118231
|
+
"indexed": false,
|
|
118232
|
+
"internalType": "contract ComptrollerInterface",
|
|
118233
|
+
"name": "newComptroller",
|
|
118234
|
+
"type": "address"
|
|
118235
|
+
}
|
|
118236
|
+
],
|
|
118237
|
+
"name": "NewComptroller",
|
|
118238
|
+
"type": "event"
|
|
118239
|
+
},
|
|
118240
|
+
{
|
|
118241
|
+
"anonymous": false,
|
|
118242
|
+
"inputs": [
|
|
118243
|
+
{
|
|
118244
|
+
"indexed": false,
|
|
118245
|
+
"internalType": "address",
|
|
118246
|
+
"name": "oldImplementation",
|
|
118247
|
+
"type": "address"
|
|
118248
|
+
},
|
|
118249
|
+
{
|
|
118250
|
+
"indexed": false,
|
|
118251
|
+
"internalType": "address",
|
|
118252
|
+
"name": "newImplementation",
|
|
118253
|
+
"type": "address"
|
|
118254
|
+
}
|
|
118255
|
+
],
|
|
118256
|
+
"name": "NewImplementation",
|
|
118257
|
+
"type": "event"
|
|
118258
|
+
},
|
|
118259
|
+
{
|
|
118260
|
+
"anonymous": false,
|
|
118261
|
+
"inputs": [
|
|
118262
|
+
{
|
|
118263
|
+
"indexed": false,
|
|
118264
|
+
"internalType": "contract InterestRateModel",
|
|
118265
|
+
"name": "oldInterestRateModel",
|
|
118266
|
+
"type": "address"
|
|
118267
|
+
},
|
|
118268
|
+
{
|
|
118269
|
+
"indexed": false,
|
|
118270
|
+
"internalType": "contract InterestRateModel",
|
|
118271
|
+
"name": "newInterestRateModel",
|
|
118272
|
+
"type": "address"
|
|
118273
|
+
}
|
|
118274
|
+
],
|
|
118275
|
+
"name": "NewMarketInterestRateModel",
|
|
118276
|
+
"type": "event"
|
|
118277
|
+
},
|
|
118278
|
+
{
|
|
118279
|
+
"anonymous": false,
|
|
118280
|
+
"inputs": [
|
|
118281
|
+
{
|
|
118282
|
+
"indexed": false,
|
|
118283
|
+
"internalType": "address",
|
|
118284
|
+
"name": "oldPendingAdmin",
|
|
118285
|
+
"type": "address"
|
|
118286
|
+
},
|
|
118287
|
+
{
|
|
118288
|
+
"indexed": false,
|
|
118289
|
+
"internalType": "address",
|
|
118290
|
+
"name": "newPendingAdmin",
|
|
118291
|
+
"type": "address"
|
|
118292
|
+
}
|
|
118293
|
+
],
|
|
118294
|
+
"name": "NewPendingAdmin",
|
|
118295
|
+
"type": "event"
|
|
118296
|
+
},
|
|
118297
|
+
{
|
|
118298
|
+
"anonymous": false,
|
|
118299
|
+
"inputs": [
|
|
118300
|
+
{
|
|
118301
|
+
"indexed": true,
|
|
118302
|
+
"internalType": "address",
|
|
118303
|
+
"name": "oldProtocolShareReserve",
|
|
118304
|
+
"type": "address"
|
|
118305
|
+
},
|
|
118306
|
+
{
|
|
118307
|
+
"indexed": true,
|
|
118308
|
+
"internalType": "address",
|
|
118309
|
+
"name": "newProtocolShareReserve",
|
|
118310
|
+
"type": "address"
|
|
118311
|
+
}
|
|
118312
|
+
],
|
|
118313
|
+
"name": "NewProtocolShareReserve",
|
|
118314
|
+
"type": "event"
|
|
118315
|
+
},
|
|
118316
|
+
{
|
|
118317
|
+
"anonymous": false,
|
|
118318
|
+
"inputs": [
|
|
118319
|
+
{
|
|
118320
|
+
"indexed": false,
|
|
118321
|
+
"internalType": "uint256",
|
|
118322
|
+
"name": "oldReduceReservesBlockDelta",
|
|
118323
|
+
"type": "uint256"
|
|
118324
|
+
},
|
|
118325
|
+
{
|
|
118326
|
+
"indexed": false,
|
|
118327
|
+
"internalType": "uint256",
|
|
118328
|
+
"name": "newReduceReservesBlockDelta",
|
|
118329
|
+
"type": "uint256"
|
|
118330
|
+
}
|
|
118331
|
+
],
|
|
118332
|
+
"name": "NewReduceReservesBlockDelta",
|
|
118333
|
+
"type": "event"
|
|
118334
|
+
},
|
|
118335
|
+
{
|
|
118336
|
+
"anonymous": false,
|
|
118337
|
+
"inputs": [
|
|
118338
|
+
{
|
|
118339
|
+
"indexed": false,
|
|
118340
|
+
"internalType": "uint256",
|
|
118341
|
+
"name": "oldReserveFactorMantissa",
|
|
118342
|
+
"type": "uint256"
|
|
118343
|
+
},
|
|
118344
|
+
{
|
|
118345
|
+
"indexed": false,
|
|
118346
|
+
"internalType": "uint256",
|
|
118347
|
+
"name": "newReserveFactorMantissa",
|
|
118348
|
+
"type": "uint256"
|
|
118349
|
+
}
|
|
118350
|
+
],
|
|
118351
|
+
"name": "NewReserveFactor",
|
|
118352
|
+
"type": "event"
|
|
118353
|
+
},
|
|
118354
|
+
{
|
|
118355
|
+
"anonymous": false,
|
|
118356
|
+
"inputs": [
|
|
118357
|
+
{
|
|
118358
|
+
"indexed": false,
|
|
118359
|
+
"internalType": "address",
|
|
118360
|
+
"name": "redeemer",
|
|
118361
|
+
"type": "address"
|
|
118362
|
+
},
|
|
118363
|
+
{
|
|
118364
|
+
"indexed": false,
|
|
118365
|
+
"internalType": "uint256",
|
|
118366
|
+
"name": "redeemAmount",
|
|
118367
|
+
"type": "uint256"
|
|
118368
|
+
},
|
|
118369
|
+
{
|
|
118370
|
+
"indexed": false,
|
|
118371
|
+
"internalType": "uint256",
|
|
118372
|
+
"name": "redeemTokens",
|
|
118373
|
+
"type": "uint256"
|
|
118374
|
+
},
|
|
118375
|
+
{
|
|
118376
|
+
"indexed": false,
|
|
118377
|
+
"internalType": "uint256",
|
|
118378
|
+
"name": "totalSupply",
|
|
118379
|
+
"type": "uint256"
|
|
118380
|
+
}
|
|
118381
|
+
],
|
|
118382
|
+
"name": "Redeem",
|
|
118383
|
+
"type": "event"
|
|
118384
|
+
},
|
|
118385
|
+
{
|
|
118386
|
+
"anonymous": false,
|
|
118387
|
+
"inputs": [
|
|
118388
|
+
{
|
|
118389
|
+
"indexed": false,
|
|
118390
|
+
"internalType": "address",
|
|
118391
|
+
"name": "redeemer",
|
|
118392
|
+
"type": "address"
|
|
118393
|
+
},
|
|
118394
|
+
{
|
|
118395
|
+
"indexed": false,
|
|
118396
|
+
"internalType": "uint256",
|
|
118397
|
+
"name": "feeAmount",
|
|
118398
|
+
"type": "uint256"
|
|
118399
|
+
},
|
|
118400
|
+
{
|
|
118401
|
+
"indexed": false,
|
|
118402
|
+
"internalType": "uint256",
|
|
118403
|
+
"name": "redeemTokens",
|
|
118404
|
+
"type": "uint256"
|
|
118405
|
+
}
|
|
118406
|
+
],
|
|
118407
|
+
"name": "RedeemFee",
|
|
118408
|
+
"type": "event"
|
|
118409
|
+
},
|
|
118410
|
+
{
|
|
118411
|
+
"anonymous": false,
|
|
118412
|
+
"inputs": [
|
|
118413
|
+
{
|
|
118414
|
+
"indexed": false,
|
|
118415
|
+
"internalType": "address",
|
|
118416
|
+
"name": "payer",
|
|
118417
|
+
"type": "address"
|
|
118418
|
+
},
|
|
118419
|
+
{
|
|
118420
|
+
"indexed": false,
|
|
118421
|
+
"internalType": "address",
|
|
118422
|
+
"name": "borrower",
|
|
118423
|
+
"type": "address"
|
|
118424
|
+
},
|
|
118425
|
+
{
|
|
118426
|
+
"indexed": false,
|
|
118427
|
+
"internalType": "uint256",
|
|
118428
|
+
"name": "repayAmount",
|
|
118429
|
+
"type": "uint256"
|
|
118430
|
+
},
|
|
118431
|
+
{
|
|
118432
|
+
"indexed": false,
|
|
118433
|
+
"internalType": "uint256",
|
|
118434
|
+
"name": "accountBorrows",
|
|
118435
|
+
"type": "uint256"
|
|
118436
|
+
},
|
|
118437
|
+
{
|
|
118438
|
+
"indexed": false,
|
|
118439
|
+
"internalType": "uint256",
|
|
118440
|
+
"name": "totalBorrows",
|
|
118441
|
+
"type": "uint256"
|
|
118442
|
+
}
|
|
118443
|
+
],
|
|
118444
|
+
"name": "RepayBorrow",
|
|
118445
|
+
"type": "event"
|
|
118446
|
+
},
|
|
118447
|
+
{
|
|
118448
|
+
"anonymous": false,
|
|
118449
|
+
"inputs": [
|
|
118450
|
+
{
|
|
118451
|
+
"indexed": false,
|
|
118452
|
+
"internalType": "address",
|
|
118453
|
+
"name": "benefactor",
|
|
118454
|
+
"type": "address"
|
|
118455
|
+
},
|
|
118456
|
+
{
|
|
118457
|
+
"indexed": false,
|
|
118458
|
+
"internalType": "uint256",
|
|
118459
|
+
"name": "addAmount",
|
|
118460
|
+
"type": "uint256"
|
|
118461
|
+
},
|
|
118462
|
+
{
|
|
118463
|
+
"indexed": false,
|
|
118464
|
+
"internalType": "uint256",
|
|
118465
|
+
"name": "newTotalReserves",
|
|
118466
|
+
"type": "uint256"
|
|
118467
|
+
}
|
|
118468
|
+
],
|
|
118469
|
+
"name": "ReservesAdded",
|
|
118470
|
+
"type": "event"
|
|
118471
|
+
},
|
|
118472
|
+
{
|
|
118473
|
+
"anonymous": false,
|
|
118474
|
+
"inputs": [
|
|
118475
|
+
{
|
|
118476
|
+
"indexed": false,
|
|
118477
|
+
"internalType": "address",
|
|
118478
|
+
"name": "protocolShareReserve",
|
|
118479
|
+
"type": "address"
|
|
118480
|
+
},
|
|
118481
|
+
{
|
|
118482
|
+
"indexed": false,
|
|
118483
|
+
"internalType": "uint256",
|
|
118484
|
+
"name": "reduceAmount",
|
|
118485
|
+
"type": "uint256"
|
|
118486
|
+
},
|
|
118487
|
+
{
|
|
118488
|
+
"indexed": false,
|
|
118489
|
+
"internalType": "uint256",
|
|
118490
|
+
"name": "newTotalReserves",
|
|
118491
|
+
"type": "uint256"
|
|
118492
|
+
}
|
|
118493
|
+
],
|
|
118494
|
+
"name": "ReservesReduced",
|
|
118495
|
+
"type": "event"
|
|
118496
|
+
},
|
|
118497
|
+
{
|
|
118498
|
+
"anonymous": false,
|
|
118499
|
+
"inputs": [
|
|
118500
|
+
{
|
|
118501
|
+
"indexed": true,
|
|
118502
|
+
"internalType": "address",
|
|
118503
|
+
"name": "from",
|
|
118504
|
+
"type": "address"
|
|
118505
|
+
},
|
|
118506
|
+
{
|
|
118507
|
+
"indexed": true,
|
|
118508
|
+
"internalType": "address",
|
|
118509
|
+
"name": "to",
|
|
118510
|
+
"type": "address"
|
|
118511
|
+
},
|
|
118512
|
+
{
|
|
118513
|
+
"indexed": false,
|
|
118514
|
+
"internalType": "uint256",
|
|
118515
|
+
"name": "amount",
|
|
118516
|
+
"type": "uint256"
|
|
118517
|
+
}
|
|
118518
|
+
],
|
|
118519
|
+
"name": "Transfer",
|
|
118520
|
+
"type": "event"
|
|
118521
|
+
},
|
|
118522
|
+
{
|
|
118523
|
+
"payable": true,
|
|
118524
|
+
"stateMutability": "payable",
|
|
118525
|
+
"type": "fallback"
|
|
118526
|
+
},
|
|
118527
|
+
{
|
|
118528
|
+
"constant": false,
|
|
118529
|
+
"inputs": [],
|
|
118530
|
+
"name": "_acceptAdmin",
|
|
118531
|
+
"outputs": [
|
|
118532
|
+
{
|
|
118533
|
+
"internalType": "uint256",
|
|
118534
|
+
"name": "",
|
|
118535
|
+
"type": "uint256"
|
|
118536
|
+
}
|
|
118537
|
+
],
|
|
118538
|
+
"payable": false,
|
|
118539
|
+
"stateMutability": "nonpayable",
|
|
118540
|
+
"type": "function"
|
|
118541
|
+
},
|
|
118542
|
+
{
|
|
118543
|
+
"constant": false,
|
|
118544
|
+
"inputs": [
|
|
118545
|
+
{
|
|
118546
|
+
"internalType": "uint256",
|
|
118547
|
+
"name": "addAmount",
|
|
118548
|
+
"type": "uint256"
|
|
118549
|
+
}
|
|
118550
|
+
],
|
|
118551
|
+
"name": "_addReserves",
|
|
118552
|
+
"outputs": [
|
|
118553
|
+
{
|
|
118554
|
+
"internalType": "uint256",
|
|
118555
|
+
"name": "",
|
|
118556
|
+
"type": "uint256"
|
|
118557
|
+
}
|
|
118558
|
+
],
|
|
118559
|
+
"payable": false,
|
|
118560
|
+
"stateMutability": "nonpayable",
|
|
118561
|
+
"type": "function"
|
|
118562
|
+
},
|
|
118563
|
+
{
|
|
118564
|
+
"constant": false,
|
|
118565
|
+
"inputs": [
|
|
118566
|
+
{
|
|
118567
|
+
"internalType": "uint256",
|
|
118568
|
+
"name": "reduceAmount",
|
|
118569
|
+
"type": "uint256"
|
|
118570
|
+
}
|
|
118571
|
+
],
|
|
118572
|
+
"name": "_reduceReserves",
|
|
118573
|
+
"outputs": [
|
|
118574
|
+
{
|
|
118575
|
+
"internalType": "uint256",
|
|
118576
|
+
"name": "",
|
|
118577
|
+
"type": "uint256"
|
|
118578
|
+
}
|
|
118579
|
+
],
|
|
118580
|
+
"payable": false,
|
|
118581
|
+
"stateMutability": "nonpayable",
|
|
118582
|
+
"type": "function"
|
|
118583
|
+
},
|
|
118584
|
+
{
|
|
118585
|
+
"constant": false,
|
|
118586
|
+
"inputs": [
|
|
118587
|
+
{
|
|
118588
|
+
"internalType": "contract ComptrollerInterface",
|
|
118589
|
+
"name": "newComptroller",
|
|
118590
|
+
"type": "address"
|
|
118591
|
+
}
|
|
118592
|
+
],
|
|
118593
|
+
"name": "_setComptroller",
|
|
118594
|
+
"outputs": [
|
|
118595
|
+
{
|
|
118596
|
+
"internalType": "uint256",
|
|
118597
|
+
"name": "",
|
|
118598
|
+
"type": "uint256"
|
|
118599
|
+
}
|
|
118600
|
+
],
|
|
118601
|
+
"payable": false,
|
|
118602
|
+
"stateMutability": "nonpayable",
|
|
118603
|
+
"type": "function"
|
|
118604
|
+
},
|
|
118605
|
+
{
|
|
118606
|
+
"constant": false,
|
|
118607
|
+
"inputs": [
|
|
118608
|
+
{
|
|
118609
|
+
"internalType": "address",
|
|
118610
|
+
"name": "implementation_",
|
|
118611
|
+
"type": "address"
|
|
118612
|
+
},
|
|
118613
|
+
{
|
|
118614
|
+
"internalType": "bool",
|
|
118615
|
+
"name": "allowResign",
|
|
118616
|
+
"type": "bool"
|
|
118617
|
+
},
|
|
118618
|
+
{
|
|
118619
|
+
"internalType": "bytes",
|
|
118620
|
+
"name": "becomeImplementationData",
|
|
118621
|
+
"type": "bytes"
|
|
118622
|
+
}
|
|
118623
|
+
],
|
|
118624
|
+
"name": "_setImplementation",
|
|
118625
|
+
"outputs": [],
|
|
118626
|
+
"payable": false,
|
|
118627
|
+
"stateMutability": "nonpayable",
|
|
118628
|
+
"type": "function"
|
|
118629
|
+
},
|
|
118630
|
+
{
|
|
118631
|
+
"constant": false,
|
|
118632
|
+
"inputs": [
|
|
118633
|
+
{
|
|
118634
|
+
"internalType": "contract InterestRateModel",
|
|
118635
|
+
"name": "newInterestRateModel",
|
|
118636
|
+
"type": "address"
|
|
118637
|
+
}
|
|
118638
|
+
],
|
|
118639
|
+
"name": "_setInterestRateModel",
|
|
118640
|
+
"outputs": [
|
|
118641
|
+
{
|
|
118642
|
+
"internalType": "uint256",
|
|
118643
|
+
"name": "",
|
|
118644
|
+
"type": "uint256"
|
|
118645
|
+
}
|
|
118646
|
+
],
|
|
118647
|
+
"payable": false,
|
|
118648
|
+
"stateMutability": "nonpayable",
|
|
118649
|
+
"type": "function"
|
|
118650
|
+
},
|
|
118651
|
+
{
|
|
118652
|
+
"constant": false,
|
|
118653
|
+
"inputs": [
|
|
118654
|
+
{
|
|
118655
|
+
"internalType": "address payable",
|
|
118656
|
+
"name": "newPendingAdmin",
|
|
118657
|
+
"type": "address"
|
|
118658
|
+
}
|
|
118659
|
+
],
|
|
118660
|
+
"name": "_setPendingAdmin",
|
|
118661
|
+
"outputs": [
|
|
118662
|
+
{
|
|
118663
|
+
"internalType": "uint256",
|
|
118664
|
+
"name": "",
|
|
118665
|
+
"type": "uint256"
|
|
118666
|
+
}
|
|
118667
|
+
],
|
|
118668
|
+
"payable": false,
|
|
118669
|
+
"stateMutability": "nonpayable",
|
|
118670
|
+
"type": "function"
|
|
118671
|
+
},
|
|
118672
|
+
{
|
|
118673
|
+
"constant": false,
|
|
118674
|
+
"inputs": [
|
|
118675
|
+
{
|
|
118676
|
+
"internalType": "uint256",
|
|
118677
|
+
"name": "newReserveFactorMantissa",
|
|
118678
|
+
"type": "uint256"
|
|
118679
|
+
}
|
|
118680
|
+
],
|
|
118681
|
+
"name": "_setReserveFactor",
|
|
118682
|
+
"outputs": [
|
|
118683
|
+
{
|
|
118684
|
+
"internalType": "uint256",
|
|
118685
|
+
"name": "",
|
|
118686
|
+
"type": "uint256"
|
|
118687
|
+
}
|
|
118688
|
+
],
|
|
118689
|
+
"payable": false,
|
|
118690
|
+
"stateMutability": "nonpayable",
|
|
118691
|
+
"type": "function"
|
|
118692
|
+
},
|
|
118693
|
+
{
|
|
118694
|
+
"constant": true,
|
|
118695
|
+
"inputs": [],
|
|
118696
|
+
"name": "accessControlManager",
|
|
118697
|
+
"outputs": [
|
|
118698
|
+
{
|
|
118699
|
+
"internalType": "address",
|
|
118700
|
+
"name": "",
|
|
118701
|
+
"type": "address"
|
|
118702
|
+
}
|
|
118703
|
+
],
|
|
118704
|
+
"payable": false,
|
|
118705
|
+
"stateMutability": "view",
|
|
118706
|
+
"type": "function"
|
|
118707
|
+
},
|
|
118708
|
+
{
|
|
118709
|
+
"constant": true,
|
|
118710
|
+
"inputs": [],
|
|
118711
|
+
"name": "accrualBlockNumber",
|
|
118712
|
+
"outputs": [
|
|
118713
|
+
{
|
|
118714
|
+
"internalType": "uint256",
|
|
118715
|
+
"name": "",
|
|
118716
|
+
"type": "uint256"
|
|
118717
|
+
}
|
|
118718
|
+
],
|
|
118719
|
+
"payable": false,
|
|
118720
|
+
"stateMutability": "view",
|
|
118721
|
+
"type": "function"
|
|
118722
|
+
},
|
|
118723
|
+
{
|
|
118724
|
+
"constant": false,
|
|
118725
|
+
"inputs": [],
|
|
118726
|
+
"name": "accrueInterest",
|
|
118727
|
+
"outputs": [
|
|
118728
|
+
{
|
|
118729
|
+
"internalType": "uint256",
|
|
118730
|
+
"name": "",
|
|
118731
|
+
"type": "uint256"
|
|
118732
|
+
}
|
|
118733
|
+
],
|
|
118734
|
+
"payable": false,
|
|
118735
|
+
"stateMutability": "nonpayable",
|
|
118736
|
+
"type": "function"
|
|
118737
|
+
},
|
|
118738
|
+
{
|
|
118739
|
+
"constant": true,
|
|
118740
|
+
"inputs": [],
|
|
118741
|
+
"name": "admin",
|
|
118742
|
+
"outputs": [
|
|
118743
|
+
{
|
|
118744
|
+
"internalType": "address payable",
|
|
118745
|
+
"name": "",
|
|
118746
|
+
"type": "address"
|
|
118747
|
+
}
|
|
118748
|
+
],
|
|
118749
|
+
"payable": false,
|
|
118750
|
+
"stateMutability": "view",
|
|
118751
|
+
"type": "function"
|
|
118752
|
+
},
|
|
118753
|
+
{
|
|
118754
|
+
"constant": true,
|
|
118755
|
+
"inputs": [
|
|
118756
|
+
{
|
|
118757
|
+
"internalType": "address",
|
|
118758
|
+
"name": "owner",
|
|
118759
|
+
"type": "address"
|
|
118760
|
+
},
|
|
118761
|
+
{
|
|
118762
|
+
"internalType": "address",
|
|
118763
|
+
"name": "spender",
|
|
118764
|
+
"type": "address"
|
|
118765
|
+
}
|
|
118766
|
+
],
|
|
118767
|
+
"name": "allowance",
|
|
118768
|
+
"outputs": [
|
|
118769
|
+
{
|
|
118770
|
+
"internalType": "uint256",
|
|
118771
|
+
"name": "",
|
|
118772
|
+
"type": "uint256"
|
|
118773
|
+
}
|
|
118774
|
+
],
|
|
118775
|
+
"payable": false,
|
|
118776
|
+
"stateMutability": "view",
|
|
118777
|
+
"type": "function"
|
|
118778
|
+
},
|
|
118779
|
+
{
|
|
118780
|
+
"constant": false,
|
|
118781
|
+
"inputs": [
|
|
118782
|
+
{
|
|
118783
|
+
"internalType": "address",
|
|
118784
|
+
"name": "spender",
|
|
118785
|
+
"type": "address"
|
|
118786
|
+
},
|
|
118787
|
+
{
|
|
118788
|
+
"internalType": "uint256",
|
|
118789
|
+
"name": "amount",
|
|
118790
|
+
"type": "uint256"
|
|
118791
|
+
}
|
|
118792
|
+
],
|
|
118793
|
+
"name": "approve",
|
|
118794
|
+
"outputs": [
|
|
118795
|
+
{
|
|
118796
|
+
"internalType": "bool",
|
|
118797
|
+
"name": "",
|
|
118798
|
+
"type": "bool"
|
|
118799
|
+
}
|
|
118800
|
+
],
|
|
118801
|
+
"payable": false,
|
|
118802
|
+
"stateMutability": "nonpayable",
|
|
118803
|
+
"type": "function"
|
|
118804
|
+
},
|
|
118805
|
+
{
|
|
118806
|
+
"constant": true,
|
|
118807
|
+
"inputs": [
|
|
118808
|
+
{
|
|
118809
|
+
"internalType": "address",
|
|
118810
|
+
"name": "owner",
|
|
118811
|
+
"type": "address"
|
|
118812
|
+
}
|
|
118813
|
+
],
|
|
118814
|
+
"name": "balanceOf",
|
|
118815
|
+
"outputs": [
|
|
118816
|
+
{
|
|
118817
|
+
"internalType": "uint256",
|
|
118818
|
+
"name": "",
|
|
118819
|
+
"type": "uint256"
|
|
118820
|
+
}
|
|
118821
|
+
],
|
|
118822
|
+
"payable": false,
|
|
118823
|
+
"stateMutability": "view",
|
|
118824
|
+
"type": "function"
|
|
118825
|
+
},
|
|
118826
|
+
{
|
|
118827
|
+
"constant": false,
|
|
118828
|
+
"inputs": [
|
|
118829
|
+
{
|
|
118830
|
+
"internalType": "address",
|
|
118831
|
+
"name": "owner",
|
|
118832
|
+
"type": "address"
|
|
118833
|
+
}
|
|
118834
|
+
],
|
|
118835
|
+
"name": "balanceOfUnderlying",
|
|
118836
|
+
"outputs": [
|
|
118837
|
+
{
|
|
118838
|
+
"internalType": "uint256",
|
|
118839
|
+
"name": "",
|
|
118840
|
+
"type": "uint256"
|
|
118841
|
+
}
|
|
118842
|
+
],
|
|
118843
|
+
"payable": false,
|
|
118844
|
+
"stateMutability": "nonpayable",
|
|
118845
|
+
"type": "function"
|
|
118846
|
+
},
|
|
118847
|
+
{
|
|
118848
|
+
"constant": false,
|
|
118849
|
+
"inputs": [
|
|
118850
|
+
{
|
|
118851
|
+
"internalType": "uint256",
|
|
118852
|
+
"name": "borrowAmount",
|
|
118853
|
+
"type": "uint256"
|
|
118854
|
+
}
|
|
118855
|
+
],
|
|
118856
|
+
"name": "borrow",
|
|
118857
|
+
"outputs": [
|
|
118858
|
+
{
|
|
118859
|
+
"internalType": "uint256",
|
|
118860
|
+
"name": "",
|
|
118861
|
+
"type": "uint256"
|
|
118862
|
+
}
|
|
118863
|
+
],
|
|
118864
|
+
"payable": false,
|
|
118865
|
+
"stateMutability": "nonpayable",
|
|
118866
|
+
"type": "function"
|
|
118867
|
+
},
|
|
118868
|
+
{
|
|
118869
|
+
"constant": false,
|
|
118870
|
+
"inputs": [
|
|
118871
|
+
{
|
|
118872
|
+
"internalType": "address",
|
|
118873
|
+
"name": "account",
|
|
118874
|
+
"type": "address"
|
|
118875
|
+
}
|
|
118876
|
+
],
|
|
118877
|
+
"name": "borrowBalanceCurrent",
|
|
118878
|
+
"outputs": [
|
|
118879
|
+
{
|
|
118880
|
+
"internalType": "uint256",
|
|
118881
|
+
"name": "",
|
|
118882
|
+
"type": "uint256"
|
|
118883
|
+
}
|
|
118884
|
+
],
|
|
118885
|
+
"payable": false,
|
|
118886
|
+
"stateMutability": "nonpayable",
|
|
118887
|
+
"type": "function"
|
|
118888
|
+
},
|
|
118889
|
+
{
|
|
118890
|
+
"constant": true,
|
|
118891
|
+
"inputs": [
|
|
118892
|
+
{
|
|
118893
|
+
"internalType": "address",
|
|
118894
|
+
"name": "account",
|
|
118895
|
+
"type": "address"
|
|
118896
|
+
}
|
|
118897
|
+
],
|
|
118898
|
+
"name": "borrowBalanceStored",
|
|
118899
|
+
"outputs": [
|
|
118900
|
+
{
|
|
118901
|
+
"internalType": "uint256",
|
|
118902
|
+
"name": "",
|
|
118903
|
+
"type": "uint256"
|
|
118904
|
+
}
|
|
118905
|
+
],
|
|
118906
|
+
"payable": false,
|
|
118907
|
+
"stateMutability": "view",
|
|
118908
|
+
"type": "function"
|
|
118909
|
+
},
|
|
118910
|
+
{
|
|
118911
|
+
"constant": true,
|
|
118912
|
+
"inputs": [],
|
|
118913
|
+
"name": "borrowIndex",
|
|
118914
|
+
"outputs": [
|
|
118915
|
+
{
|
|
118916
|
+
"internalType": "uint256",
|
|
118917
|
+
"name": "",
|
|
118918
|
+
"type": "uint256"
|
|
118919
|
+
}
|
|
118920
|
+
],
|
|
118921
|
+
"payable": false,
|
|
118922
|
+
"stateMutability": "view",
|
|
118923
|
+
"type": "function"
|
|
118924
|
+
},
|
|
118925
|
+
{
|
|
118926
|
+
"constant": true,
|
|
118927
|
+
"inputs": [],
|
|
118928
|
+
"name": "borrowRatePerBlock",
|
|
118929
|
+
"outputs": [
|
|
118930
|
+
{
|
|
118931
|
+
"internalType": "uint256",
|
|
118932
|
+
"name": "",
|
|
118933
|
+
"type": "uint256"
|
|
118934
|
+
}
|
|
118935
|
+
],
|
|
118936
|
+
"payable": false,
|
|
118937
|
+
"stateMutability": "view",
|
|
118938
|
+
"type": "function"
|
|
118939
|
+
},
|
|
118940
|
+
{
|
|
118941
|
+
"constant": true,
|
|
118942
|
+
"inputs": [],
|
|
118943
|
+
"name": "comptroller",
|
|
118944
|
+
"outputs": [
|
|
118945
|
+
{
|
|
118946
|
+
"internalType": "contract ComptrollerInterface",
|
|
118947
|
+
"name": "",
|
|
118948
|
+
"type": "address"
|
|
118949
|
+
}
|
|
118950
|
+
],
|
|
118951
|
+
"payable": false,
|
|
118952
|
+
"stateMutability": "view",
|
|
118953
|
+
"type": "function"
|
|
118954
|
+
},
|
|
118955
|
+
{
|
|
118956
|
+
"constant": true,
|
|
118957
|
+
"inputs": [],
|
|
118958
|
+
"name": "decimals",
|
|
118959
|
+
"outputs": [
|
|
118960
|
+
{
|
|
118961
|
+
"internalType": "uint8",
|
|
118962
|
+
"name": "",
|
|
118963
|
+
"type": "uint8"
|
|
118964
|
+
}
|
|
118965
|
+
],
|
|
118966
|
+
"payable": false,
|
|
118967
|
+
"stateMutability": "view",
|
|
118968
|
+
"type": "function"
|
|
118969
|
+
},
|
|
118970
|
+
{
|
|
118971
|
+
"constant": false,
|
|
118972
|
+
"inputs": [
|
|
118973
|
+
{
|
|
118974
|
+
"internalType": "bytes",
|
|
118975
|
+
"name": "data",
|
|
118976
|
+
"type": "bytes"
|
|
118977
|
+
}
|
|
118978
|
+
],
|
|
118979
|
+
"name": "delegateToImplementation",
|
|
118980
|
+
"outputs": [
|
|
118981
|
+
{
|
|
118982
|
+
"internalType": "bytes",
|
|
118983
|
+
"name": "",
|
|
118984
|
+
"type": "bytes"
|
|
118985
|
+
}
|
|
118986
|
+
],
|
|
118987
|
+
"payable": false,
|
|
118988
|
+
"stateMutability": "nonpayable",
|
|
118989
|
+
"type": "function"
|
|
118990
|
+
},
|
|
118991
|
+
{
|
|
118992
|
+
"constant": true,
|
|
118993
|
+
"inputs": [
|
|
118994
|
+
{
|
|
118995
|
+
"internalType": "bytes",
|
|
118996
|
+
"name": "data",
|
|
118997
|
+
"type": "bytes"
|
|
118998
|
+
}
|
|
118999
|
+
],
|
|
119000
|
+
"name": "delegateToViewImplementation",
|
|
119001
|
+
"outputs": [
|
|
119002
|
+
{
|
|
119003
|
+
"internalType": "bytes",
|
|
119004
|
+
"name": "",
|
|
119005
|
+
"type": "bytes"
|
|
119006
|
+
}
|
|
119007
|
+
],
|
|
119008
|
+
"payable": false,
|
|
119009
|
+
"stateMutability": "view",
|
|
119010
|
+
"type": "function"
|
|
119011
|
+
},
|
|
119012
|
+
{
|
|
119013
|
+
"constant": false,
|
|
119014
|
+
"inputs": [],
|
|
119015
|
+
"name": "exchangeRateCurrent",
|
|
119016
|
+
"outputs": [
|
|
119017
|
+
{
|
|
119018
|
+
"internalType": "uint256",
|
|
119019
|
+
"name": "",
|
|
119020
|
+
"type": "uint256"
|
|
119021
|
+
}
|
|
119022
|
+
],
|
|
119023
|
+
"payable": false,
|
|
119024
|
+
"stateMutability": "nonpayable",
|
|
119025
|
+
"type": "function"
|
|
119026
|
+
},
|
|
119027
|
+
{
|
|
119028
|
+
"constant": true,
|
|
119029
|
+
"inputs": [],
|
|
119030
|
+
"name": "exchangeRateStored",
|
|
119031
|
+
"outputs": [
|
|
119032
|
+
{
|
|
119033
|
+
"internalType": "uint256",
|
|
119034
|
+
"name": "",
|
|
119035
|
+
"type": "uint256"
|
|
119036
|
+
}
|
|
119037
|
+
],
|
|
119038
|
+
"payable": false,
|
|
119039
|
+
"stateMutability": "view",
|
|
119040
|
+
"type": "function"
|
|
119041
|
+
},
|
|
119042
|
+
{
|
|
119043
|
+
"constant": true,
|
|
119044
|
+
"inputs": [
|
|
119045
|
+
{
|
|
119046
|
+
"internalType": "address",
|
|
119047
|
+
"name": "account",
|
|
119048
|
+
"type": "address"
|
|
119049
|
+
}
|
|
119050
|
+
],
|
|
119051
|
+
"name": "getAccountSnapshot",
|
|
119052
|
+
"outputs": [
|
|
119053
|
+
{
|
|
119054
|
+
"internalType": "uint256",
|
|
119055
|
+
"name": "",
|
|
119056
|
+
"type": "uint256"
|
|
119057
|
+
},
|
|
119058
|
+
{
|
|
119059
|
+
"internalType": "uint256",
|
|
119060
|
+
"name": "",
|
|
119061
|
+
"type": "uint256"
|
|
119062
|
+
},
|
|
119063
|
+
{
|
|
119064
|
+
"internalType": "uint256",
|
|
119065
|
+
"name": "",
|
|
119066
|
+
"type": "uint256"
|
|
119067
|
+
},
|
|
119068
|
+
{
|
|
119069
|
+
"internalType": "uint256",
|
|
119070
|
+
"name": "",
|
|
119071
|
+
"type": "uint256"
|
|
119072
|
+
}
|
|
119073
|
+
],
|
|
119074
|
+
"payable": false,
|
|
119075
|
+
"stateMutability": "view",
|
|
119076
|
+
"type": "function"
|
|
119077
|
+
},
|
|
119078
|
+
{
|
|
119079
|
+
"constant": true,
|
|
119080
|
+
"inputs": [],
|
|
119081
|
+
"name": "getCash",
|
|
119082
|
+
"outputs": [
|
|
119083
|
+
{
|
|
119084
|
+
"internalType": "uint256",
|
|
119085
|
+
"name": "",
|
|
119086
|
+
"type": "uint256"
|
|
119087
|
+
}
|
|
119088
|
+
],
|
|
119089
|
+
"payable": false,
|
|
119090
|
+
"stateMutability": "view",
|
|
119091
|
+
"type": "function"
|
|
119092
|
+
},
|
|
119093
|
+
{
|
|
119094
|
+
"constant": true,
|
|
119095
|
+
"inputs": [],
|
|
119096
|
+
"name": "implementation",
|
|
119097
|
+
"outputs": [
|
|
119098
|
+
{
|
|
119099
|
+
"internalType": "address",
|
|
119100
|
+
"name": "",
|
|
119101
|
+
"type": "address"
|
|
119102
|
+
}
|
|
119103
|
+
],
|
|
119104
|
+
"payable": false,
|
|
119105
|
+
"stateMutability": "view",
|
|
119106
|
+
"type": "function"
|
|
119107
|
+
},
|
|
119108
|
+
{
|
|
119109
|
+
"constant": true,
|
|
119110
|
+
"inputs": [],
|
|
119111
|
+
"name": "interestRateModel",
|
|
119112
|
+
"outputs": [
|
|
119113
|
+
{
|
|
119114
|
+
"internalType": "contract InterestRateModel",
|
|
119115
|
+
"name": "",
|
|
119116
|
+
"type": "address"
|
|
119117
|
+
}
|
|
119118
|
+
],
|
|
119119
|
+
"payable": false,
|
|
119120
|
+
"stateMutability": "view",
|
|
119121
|
+
"type": "function"
|
|
119122
|
+
},
|
|
119123
|
+
{
|
|
119124
|
+
"constant": true,
|
|
119125
|
+
"inputs": [],
|
|
119126
|
+
"name": "isVToken",
|
|
119127
|
+
"outputs": [
|
|
119128
|
+
{
|
|
119129
|
+
"internalType": "bool",
|
|
119130
|
+
"name": "",
|
|
119131
|
+
"type": "bool"
|
|
119132
|
+
}
|
|
119133
|
+
],
|
|
119134
|
+
"payable": false,
|
|
119135
|
+
"stateMutability": "view",
|
|
119136
|
+
"type": "function"
|
|
119137
|
+
},
|
|
119138
|
+
{
|
|
119139
|
+
"constant": false,
|
|
119140
|
+
"inputs": [
|
|
119141
|
+
{
|
|
119142
|
+
"internalType": "address",
|
|
119143
|
+
"name": "borrower",
|
|
119144
|
+
"type": "address"
|
|
119145
|
+
},
|
|
119146
|
+
{
|
|
119147
|
+
"internalType": "uint256",
|
|
119148
|
+
"name": "repayAmount",
|
|
119149
|
+
"type": "uint256"
|
|
119150
|
+
},
|
|
119151
|
+
{
|
|
119152
|
+
"internalType": "contract VTokenInterface",
|
|
119153
|
+
"name": "vTokenCollateral",
|
|
119154
|
+
"type": "address"
|
|
119155
|
+
}
|
|
119156
|
+
],
|
|
119157
|
+
"name": "liquidateBorrow",
|
|
119158
|
+
"outputs": [
|
|
119159
|
+
{
|
|
119160
|
+
"internalType": "uint256",
|
|
119161
|
+
"name": "",
|
|
119162
|
+
"type": "uint256"
|
|
119163
|
+
}
|
|
119164
|
+
],
|
|
119165
|
+
"payable": false,
|
|
119166
|
+
"stateMutability": "nonpayable",
|
|
119167
|
+
"type": "function"
|
|
119168
|
+
},
|
|
119169
|
+
{
|
|
119170
|
+
"constant": false,
|
|
119171
|
+
"inputs": [
|
|
119172
|
+
{
|
|
119173
|
+
"internalType": "uint256",
|
|
119174
|
+
"name": "mintAmount",
|
|
119175
|
+
"type": "uint256"
|
|
119176
|
+
}
|
|
119177
|
+
],
|
|
119178
|
+
"name": "mint",
|
|
119179
|
+
"outputs": [
|
|
119180
|
+
{
|
|
119181
|
+
"internalType": "uint256",
|
|
119182
|
+
"name": "",
|
|
119183
|
+
"type": "uint256"
|
|
119184
|
+
}
|
|
119185
|
+
],
|
|
119186
|
+
"payable": false,
|
|
119187
|
+
"stateMutability": "nonpayable",
|
|
119188
|
+
"type": "function"
|
|
119189
|
+
},
|
|
119190
|
+
{
|
|
119191
|
+
"constant": false,
|
|
119192
|
+
"inputs": [
|
|
119193
|
+
{
|
|
119194
|
+
"internalType": "address",
|
|
119195
|
+
"name": "receiver",
|
|
119196
|
+
"type": "address"
|
|
119197
|
+
},
|
|
119198
|
+
{
|
|
119199
|
+
"internalType": "uint256",
|
|
119200
|
+
"name": "mintAmount",
|
|
119201
|
+
"type": "uint256"
|
|
119202
|
+
}
|
|
119203
|
+
],
|
|
119204
|
+
"name": "mintBehalf",
|
|
119205
|
+
"outputs": [
|
|
119206
|
+
{
|
|
119207
|
+
"internalType": "uint256",
|
|
119208
|
+
"name": "",
|
|
119209
|
+
"type": "uint256"
|
|
119210
|
+
}
|
|
119211
|
+
],
|
|
119212
|
+
"payable": false,
|
|
119213
|
+
"stateMutability": "nonpayable",
|
|
119214
|
+
"type": "function"
|
|
119215
|
+
},
|
|
119216
|
+
{
|
|
119217
|
+
"constant": true,
|
|
119218
|
+
"inputs": [],
|
|
119219
|
+
"name": "name",
|
|
119220
|
+
"outputs": [
|
|
119221
|
+
{
|
|
119222
|
+
"internalType": "string",
|
|
119223
|
+
"name": "",
|
|
119224
|
+
"type": "string"
|
|
119225
|
+
}
|
|
119226
|
+
],
|
|
119227
|
+
"payable": false,
|
|
119228
|
+
"stateMutability": "view",
|
|
119229
|
+
"type": "function"
|
|
119230
|
+
},
|
|
119231
|
+
{
|
|
119232
|
+
"constant": true,
|
|
119233
|
+
"inputs": [],
|
|
119234
|
+
"name": "pendingAdmin",
|
|
119235
|
+
"outputs": [
|
|
119236
|
+
{
|
|
119237
|
+
"internalType": "address payable",
|
|
119238
|
+
"name": "",
|
|
119239
|
+
"type": "address"
|
|
119240
|
+
}
|
|
119241
|
+
],
|
|
119242
|
+
"payable": false,
|
|
119243
|
+
"stateMutability": "view",
|
|
119244
|
+
"type": "function"
|
|
119245
|
+
},
|
|
119246
|
+
{
|
|
119247
|
+
"constant": true,
|
|
119248
|
+
"inputs": [],
|
|
119249
|
+
"name": "protocolShareReserve",
|
|
119250
|
+
"outputs": [
|
|
119251
|
+
{
|
|
119252
|
+
"internalType": "address payable",
|
|
119253
|
+
"name": "",
|
|
119254
|
+
"type": "address"
|
|
119255
|
+
}
|
|
119256
|
+
],
|
|
119257
|
+
"payable": false,
|
|
119258
|
+
"stateMutability": "view",
|
|
119259
|
+
"type": "function"
|
|
119260
|
+
},
|
|
119261
|
+
{
|
|
119262
|
+
"constant": false,
|
|
119263
|
+
"inputs": [
|
|
119264
|
+
{
|
|
119265
|
+
"internalType": "uint256",
|
|
119266
|
+
"name": "redeemTokens",
|
|
119267
|
+
"type": "uint256"
|
|
119268
|
+
}
|
|
119269
|
+
],
|
|
119270
|
+
"name": "redeem",
|
|
119271
|
+
"outputs": [
|
|
119272
|
+
{
|
|
119273
|
+
"internalType": "uint256",
|
|
119274
|
+
"name": "",
|
|
119275
|
+
"type": "uint256"
|
|
119276
|
+
}
|
|
119277
|
+
],
|
|
119278
|
+
"payable": false,
|
|
119279
|
+
"stateMutability": "nonpayable",
|
|
119280
|
+
"type": "function"
|
|
119281
|
+
},
|
|
119282
|
+
{
|
|
119283
|
+
"constant": false,
|
|
119284
|
+
"inputs": [
|
|
119285
|
+
{
|
|
119286
|
+
"internalType": "uint256",
|
|
119287
|
+
"name": "redeemAmount",
|
|
119288
|
+
"type": "uint256"
|
|
119289
|
+
}
|
|
119290
|
+
],
|
|
119291
|
+
"name": "redeemUnderlying",
|
|
119292
|
+
"outputs": [
|
|
119293
|
+
{
|
|
119294
|
+
"internalType": "uint256",
|
|
119295
|
+
"name": "",
|
|
119296
|
+
"type": "uint256"
|
|
119297
|
+
}
|
|
119298
|
+
],
|
|
119299
|
+
"payable": false,
|
|
119300
|
+
"stateMutability": "nonpayable",
|
|
119301
|
+
"type": "function"
|
|
119302
|
+
},
|
|
119303
|
+
{
|
|
119304
|
+
"constant": true,
|
|
119305
|
+
"inputs": [],
|
|
119306
|
+
"name": "reduceReservesBlockDelta",
|
|
119307
|
+
"outputs": [
|
|
119308
|
+
{
|
|
119309
|
+
"internalType": "uint256",
|
|
119310
|
+
"name": "",
|
|
119311
|
+
"type": "uint256"
|
|
119312
|
+
}
|
|
119313
|
+
],
|
|
119314
|
+
"payable": false,
|
|
119315
|
+
"stateMutability": "view",
|
|
119316
|
+
"type": "function"
|
|
119317
|
+
},
|
|
119318
|
+
{
|
|
119319
|
+
"constant": true,
|
|
119320
|
+
"inputs": [],
|
|
119321
|
+
"name": "reduceReservesBlockNumber",
|
|
119322
|
+
"outputs": [
|
|
119323
|
+
{
|
|
119324
|
+
"internalType": "uint256",
|
|
119325
|
+
"name": "",
|
|
119326
|
+
"type": "uint256"
|
|
119327
|
+
}
|
|
119328
|
+
],
|
|
119329
|
+
"payable": false,
|
|
119330
|
+
"stateMutability": "view",
|
|
119331
|
+
"type": "function"
|
|
119332
|
+
},
|
|
119333
|
+
{
|
|
119334
|
+
"constant": false,
|
|
119335
|
+
"inputs": [
|
|
119336
|
+
{
|
|
119337
|
+
"internalType": "uint256",
|
|
119338
|
+
"name": "repayAmount",
|
|
119339
|
+
"type": "uint256"
|
|
119340
|
+
}
|
|
119341
|
+
],
|
|
119342
|
+
"name": "repayBorrow",
|
|
119343
|
+
"outputs": [
|
|
119344
|
+
{
|
|
119345
|
+
"internalType": "uint256",
|
|
119346
|
+
"name": "",
|
|
119347
|
+
"type": "uint256"
|
|
119348
|
+
}
|
|
119349
|
+
],
|
|
119350
|
+
"payable": false,
|
|
119351
|
+
"stateMutability": "nonpayable",
|
|
119352
|
+
"type": "function"
|
|
119353
|
+
},
|
|
119354
|
+
{
|
|
119355
|
+
"constant": false,
|
|
119356
|
+
"inputs": [
|
|
119357
|
+
{
|
|
119358
|
+
"internalType": "address",
|
|
119359
|
+
"name": "borrower",
|
|
119360
|
+
"type": "address"
|
|
119361
|
+
},
|
|
119362
|
+
{
|
|
119363
|
+
"internalType": "uint256",
|
|
119364
|
+
"name": "repayAmount",
|
|
119365
|
+
"type": "uint256"
|
|
119366
|
+
}
|
|
119367
|
+
],
|
|
119368
|
+
"name": "repayBorrowBehalf",
|
|
119369
|
+
"outputs": [
|
|
119370
|
+
{
|
|
119371
|
+
"internalType": "uint256",
|
|
119372
|
+
"name": "",
|
|
119373
|
+
"type": "uint256"
|
|
119374
|
+
}
|
|
119375
|
+
],
|
|
119376
|
+
"payable": false,
|
|
119377
|
+
"stateMutability": "nonpayable",
|
|
119378
|
+
"type": "function"
|
|
119379
|
+
},
|
|
119380
|
+
{
|
|
119381
|
+
"constant": true,
|
|
119382
|
+
"inputs": [],
|
|
119383
|
+
"name": "reserveFactorMantissa",
|
|
119384
|
+
"outputs": [
|
|
119385
|
+
{
|
|
119386
|
+
"internalType": "uint256",
|
|
119387
|
+
"name": "",
|
|
119388
|
+
"type": "uint256"
|
|
119389
|
+
}
|
|
119390
|
+
],
|
|
119391
|
+
"payable": false,
|
|
119392
|
+
"stateMutability": "view",
|
|
119393
|
+
"type": "function"
|
|
119394
|
+
},
|
|
119395
|
+
{
|
|
119396
|
+
"constant": false,
|
|
119397
|
+
"inputs": [
|
|
119398
|
+
{
|
|
119399
|
+
"internalType": "address",
|
|
119400
|
+
"name": "liquidator",
|
|
119401
|
+
"type": "address"
|
|
119402
|
+
},
|
|
119403
|
+
{
|
|
119404
|
+
"internalType": "address",
|
|
119405
|
+
"name": "borrower",
|
|
119406
|
+
"type": "address"
|
|
119407
|
+
},
|
|
119408
|
+
{
|
|
119409
|
+
"internalType": "uint256",
|
|
119410
|
+
"name": "seizeTokens",
|
|
119411
|
+
"type": "uint256"
|
|
119412
|
+
}
|
|
119413
|
+
],
|
|
119414
|
+
"name": "seize",
|
|
119415
|
+
"outputs": [
|
|
119416
|
+
{
|
|
119417
|
+
"internalType": "uint256",
|
|
119418
|
+
"name": "",
|
|
119419
|
+
"type": "uint256"
|
|
119420
|
+
}
|
|
119421
|
+
],
|
|
119422
|
+
"payable": false,
|
|
119423
|
+
"stateMutability": "nonpayable",
|
|
119424
|
+
"type": "function"
|
|
119425
|
+
},
|
|
119426
|
+
{
|
|
119427
|
+
"constant": true,
|
|
119428
|
+
"inputs": [],
|
|
119429
|
+
"name": "supplyRatePerBlock",
|
|
119430
|
+
"outputs": [
|
|
119431
|
+
{
|
|
119432
|
+
"internalType": "uint256",
|
|
119433
|
+
"name": "",
|
|
119434
|
+
"type": "uint256"
|
|
119435
|
+
}
|
|
119436
|
+
],
|
|
119437
|
+
"payable": false,
|
|
119438
|
+
"stateMutability": "view",
|
|
119439
|
+
"type": "function"
|
|
119440
|
+
},
|
|
119441
|
+
{
|
|
119442
|
+
"constant": true,
|
|
119443
|
+
"inputs": [],
|
|
119444
|
+
"name": "symbol",
|
|
119445
|
+
"outputs": [
|
|
119446
|
+
{
|
|
119447
|
+
"internalType": "string",
|
|
119448
|
+
"name": "",
|
|
119449
|
+
"type": "string"
|
|
119450
|
+
}
|
|
119451
|
+
],
|
|
119452
|
+
"payable": false,
|
|
119453
|
+
"stateMutability": "view",
|
|
119454
|
+
"type": "function"
|
|
119455
|
+
},
|
|
119456
|
+
{
|
|
119457
|
+
"constant": true,
|
|
119458
|
+
"inputs": [],
|
|
119459
|
+
"name": "totalBorrows",
|
|
119460
|
+
"outputs": [
|
|
119461
|
+
{
|
|
119462
|
+
"internalType": "uint256",
|
|
119463
|
+
"name": "",
|
|
119464
|
+
"type": "uint256"
|
|
119465
|
+
}
|
|
119466
|
+
],
|
|
119467
|
+
"payable": false,
|
|
119468
|
+
"stateMutability": "view",
|
|
119469
|
+
"type": "function"
|
|
119470
|
+
},
|
|
119471
|
+
{
|
|
119472
|
+
"constant": false,
|
|
119473
|
+
"inputs": [],
|
|
119474
|
+
"name": "totalBorrowsCurrent",
|
|
119475
|
+
"outputs": [
|
|
119476
|
+
{
|
|
119477
|
+
"internalType": "uint256",
|
|
119478
|
+
"name": "",
|
|
119479
|
+
"type": "uint256"
|
|
119480
|
+
}
|
|
119481
|
+
],
|
|
119482
|
+
"payable": false,
|
|
119483
|
+
"stateMutability": "nonpayable",
|
|
119484
|
+
"type": "function"
|
|
119485
|
+
},
|
|
119486
|
+
{
|
|
119487
|
+
"constant": true,
|
|
119488
|
+
"inputs": [],
|
|
119489
|
+
"name": "totalReserves",
|
|
119490
|
+
"outputs": [
|
|
119491
|
+
{
|
|
119492
|
+
"internalType": "uint256",
|
|
119493
|
+
"name": "",
|
|
119494
|
+
"type": "uint256"
|
|
119495
|
+
}
|
|
119496
|
+
],
|
|
119497
|
+
"payable": false,
|
|
119498
|
+
"stateMutability": "view",
|
|
119499
|
+
"type": "function"
|
|
119500
|
+
},
|
|
119501
|
+
{
|
|
119502
|
+
"constant": true,
|
|
119503
|
+
"inputs": [],
|
|
119504
|
+
"name": "totalSupply",
|
|
119505
|
+
"outputs": [
|
|
119506
|
+
{
|
|
119507
|
+
"internalType": "uint256",
|
|
119508
|
+
"name": "",
|
|
119509
|
+
"type": "uint256"
|
|
119510
|
+
}
|
|
119511
|
+
],
|
|
119512
|
+
"payable": false,
|
|
119513
|
+
"stateMutability": "view",
|
|
119514
|
+
"type": "function"
|
|
119515
|
+
},
|
|
119516
|
+
{
|
|
119517
|
+
"constant": false,
|
|
119518
|
+
"inputs": [
|
|
119519
|
+
{
|
|
119520
|
+
"internalType": "address",
|
|
119521
|
+
"name": "dst",
|
|
119522
|
+
"type": "address"
|
|
119523
|
+
},
|
|
119524
|
+
{
|
|
119525
|
+
"internalType": "uint256",
|
|
119526
|
+
"name": "amount",
|
|
119527
|
+
"type": "uint256"
|
|
119528
|
+
}
|
|
119529
|
+
],
|
|
119530
|
+
"name": "transfer",
|
|
119531
|
+
"outputs": [
|
|
119532
|
+
{
|
|
119533
|
+
"internalType": "bool",
|
|
119534
|
+
"name": "",
|
|
119535
|
+
"type": "bool"
|
|
119536
|
+
}
|
|
119537
|
+
],
|
|
119538
|
+
"payable": false,
|
|
119539
|
+
"stateMutability": "nonpayable",
|
|
119540
|
+
"type": "function"
|
|
119541
|
+
},
|
|
119542
|
+
{
|
|
119543
|
+
"constant": false,
|
|
119544
|
+
"inputs": [
|
|
119545
|
+
{
|
|
119546
|
+
"internalType": "address",
|
|
119547
|
+
"name": "src",
|
|
119548
|
+
"type": "address"
|
|
119549
|
+
},
|
|
119550
|
+
{
|
|
119551
|
+
"internalType": "address",
|
|
119552
|
+
"name": "dst",
|
|
119553
|
+
"type": "address"
|
|
119554
|
+
},
|
|
119555
|
+
{
|
|
119556
|
+
"internalType": "uint256",
|
|
119557
|
+
"name": "amount",
|
|
119558
|
+
"type": "uint256"
|
|
119559
|
+
}
|
|
119560
|
+
],
|
|
119561
|
+
"name": "transferFrom",
|
|
119562
|
+
"outputs": [
|
|
119563
|
+
{
|
|
119564
|
+
"internalType": "bool",
|
|
119565
|
+
"name": "",
|
|
119566
|
+
"type": "bool"
|
|
119567
|
+
}
|
|
119568
|
+
],
|
|
119569
|
+
"payable": false,
|
|
119570
|
+
"stateMutability": "nonpayable",
|
|
119571
|
+
"type": "function"
|
|
119572
|
+
},
|
|
119573
|
+
{
|
|
119574
|
+
"constant": true,
|
|
119575
|
+
"inputs": [],
|
|
119576
|
+
"name": "underlying",
|
|
119577
|
+
"outputs": [
|
|
119578
|
+
{
|
|
119579
|
+
"internalType": "address",
|
|
119580
|
+
"name": "",
|
|
119581
|
+
"type": "address"
|
|
119582
|
+
}
|
|
119583
|
+
],
|
|
119584
|
+
"payable": false,
|
|
119585
|
+
"stateMutability": "view",
|
|
119586
|
+
"type": "function"
|
|
119587
|
+
}
|
|
119588
|
+
]
|
|
119589
|
+
},
|
|
117906
119590
|
"vSXP": {
|
|
117907
119591
|
"address": "0x2fF3d0F6990a40261c66E1ff2017aCBc282EB6d0",
|
|
117908
119592
|
"abi": [
|