@venusprotocol/isolated-pools 4.3.0-dev.2 → 4.3.0-dev.3

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.
Files changed (28) hide show
  1. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps_timeBased.json +608 -0
  2. package/deployments/unichainmainnet/TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump8000bps_timeBased.json +552 -0
  3. package/deployments/unichainmainnet/VToken_vUSD/342/202/2560_Core.json +257 -0
  4. package/deployments/unichainmainnet/VToken_vWBTC_Core.json +257 -0
  5. package/deployments/unichainmainnet/solcInputs/f28d03c2f8781c2e1894b10843f4ae81.json +490 -0
  6. package/deployments/unichainmainnet.json +1461 -601
  7. package/deployments/unichainmainnet_addresses.json +4 -0
  8. package/deployments/unichainsepolia/JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps_timeBased.json +608 -0
  9. package/deployments/unichainsepolia/MockUSD/342/202/2560.json +458 -0
  10. package/deployments/unichainsepolia/MockWBTC.json +458 -0
  11. package/deployments/unichainsepolia/TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump8000bps_timeBased.json +552 -0
  12. package/deployments/unichainsepolia/VToken_vUSD/342/202/2560_Core.json +257 -0
  13. package/deployments/unichainsepolia/VToken_vWBTC_Core.json +257 -0
  14. package/deployments/unichainsepolia/solcInputs/f28d03c2f8781c2e1894b10843f4ae81.json +490 -0
  15. package/deployments/unichainsepolia.json +2170 -692
  16. package/deployments/unichainsepolia_addresses.json +6 -0
  17. package/dist/deployments/unichainmainnet.json +1461 -601
  18. package/dist/deployments/unichainsepolia.json +2170 -692
  19. package/dist/helpers/deploymentConfig.js +106 -0
  20. package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
  21. package/dist/typechain/factories/IVToken__factory.js +1 -201
  22. package/dist/typechain/factories/PoolRegistryInterface__factory.d.ts +2 -16
  23. package/dist/typechain/factories/PoolRegistryInterface__factory.js +0 -119
  24. package/package.json +1 -1
  25. package/typechain/IVToken.d.ts +4 -341
  26. package/typechain/PoolRegistryInterface.d.ts +0 -178
  27. package/typechain/factories/IVToken__factory.ts +1 -201
  28. package/typechain/factories/PoolRegistryInterface__factory.ts +0 -119
@@ -4632,8 +4632,8 @@
4632
4632
  }
4633
4633
  ]
4634
4634
  },
4635
- "JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased": {
4636
- "address": "0xc2edB1e96e45178b901618B96142C2743Ed0e7B3",
4635
+ "JumpRateModelV2_base0bps_slope900bps_jump20000bps_kink4500bps_timeBased": {
4636
+ "address": "0xf781f2D923f37F4dD10c3541D8A1Be04571e7966",
4637
4637
  "abi": [
4638
4638
  {
4639
4639
  "inputs": [
@@ -4992,249 +4992,133 @@
4992
4992
  }
4993
4993
  ]
4994
4994
  },
4995
- "NativeTokenGateway_vWETH_Core": {
4996
- "address": "0x4441aE3bCEd3210edbA35d0F7348C493E79F1C52",
4995
+ "JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased": {
4996
+ "address": "0xc2edB1e96e45178b901618B96142C2743Ed0e7B3",
4997
4997
  "abi": [
4998
4998
  {
4999
4999
  "inputs": [
5000
5000
  {
5001
- "internalType": "contract IVToken",
5002
- "name": "vWrappedNativeToken",
5003
- "type": "address"
5004
- }
5005
- ],
5006
- "stateMutability": "nonpayable",
5007
- "type": "constructor"
5008
- },
5009
- {
5010
- "inputs": [],
5011
- "name": "NativeTokenTransferFailed",
5012
- "type": "error"
5013
- },
5014
- {
5015
- "inputs": [],
5016
- "name": "ZeroAddressNotAllowed",
5017
- "type": "error"
5018
- },
5019
- {
5020
- "inputs": [],
5021
- "name": "ZeroValueNotAllowed",
5022
- "type": "error"
5023
- },
5024
- {
5025
- "anonymous": false,
5026
- "inputs": [
5027
- {
5028
- "indexed": true,
5029
- "internalType": "address",
5030
- "name": "previousOwner",
5031
- "type": "address"
5001
+ "internalType": "uint256",
5002
+ "name": "baseRatePerYear_",
5003
+ "type": "uint256"
5032
5004
  },
5033
5005
  {
5034
- "indexed": true,
5035
- "internalType": "address",
5036
- "name": "newOwner",
5037
- "type": "address"
5038
- }
5039
- ],
5040
- "name": "OwnershipTransferStarted",
5041
- "type": "event"
5042
- },
5043
- {
5044
- "anonymous": false,
5045
- "inputs": [
5046
- {
5047
- "indexed": true,
5048
- "internalType": "address",
5049
- "name": "previousOwner",
5050
- "type": "address"
5006
+ "internalType": "uint256",
5007
+ "name": "multiplierPerYear_",
5008
+ "type": "uint256"
5051
5009
  },
5052
5010
  {
5053
- "indexed": true,
5054
- "internalType": "address",
5055
- "name": "newOwner",
5056
- "type": "address"
5057
- }
5058
- ],
5059
- "name": "OwnershipTransferred",
5060
- "type": "event"
5061
- },
5062
- {
5063
- "anonymous": false,
5064
- "inputs": [
5065
- {
5066
- "indexed": true,
5067
- "internalType": "address",
5068
- "name": "receiver",
5069
- "type": "address"
5011
+ "internalType": "uint256",
5012
+ "name": "jumpMultiplierPerYear_",
5013
+ "type": "uint256"
5070
5014
  },
5071
5015
  {
5072
- "indexed": false,
5073
5016
  "internalType": "uint256",
5074
- "name": "amount",
5017
+ "name": "kink_",
5075
5018
  "type": "uint256"
5076
- }
5077
- ],
5078
- "name": "SweepNative",
5079
- "type": "event"
5080
- },
5081
- {
5082
- "anonymous": false,
5083
- "inputs": [
5019
+ },
5084
5020
  {
5085
- "indexed": true,
5086
- "internalType": "address",
5087
- "name": "token",
5021
+ "internalType": "contract IAccessControlManagerV8",
5022
+ "name": "accessControlManager_",
5088
5023
  "type": "address"
5089
5024
  },
5090
5025
  {
5091
- "indexed": true,
5092
- "internalType": "address",
5093
- "name": "receiver",
5094
- "type": "address"
5026
+ "internalType": "bool",
5027
+ "name": "timeBased_",
5028
+ "type": "bool"
5095
5029
  },
5096
5030
  {
5097
- "indexed": false,
5098
5031
  "internalType": "uint256",
5099
- "name": "amount",
5032
+ "name": "blocksPerYear_",
5100
5033
  "type": "uint256"
5101
5034
  }
5102
5035
  ],
5103
- "name": "SweepToken",
5104
- "type": "event"
5036
+ "stateMutability": "nonpayable",
5037
+ "type": "constructor"
5038
+ },
5039
+ {
5040
+ "inputs": [],
5041
+ "name": "InvalidBlocksPerYear",
5042
+ "type": "error"
5043
+ },
5044
+ {
5045
+ "inputs": [],
5046
+ "name": "InvalidTimeBasedConfiguration",
5047
+ "type": "error"
5105
5048
  },
5106
5049
  {
5107
- "anonymous": false,
5108
5050
  "inputs": [
5109
5051
  {
5110
- "indexed": true,
5111
5052
  "internalType": "address",
5112
5053
  "name": "sender",
5113
5054
  "type": "address"
5114
5055
  },
5115
5056
  {
5116
- "indexed": true,
5117
5057
  "internalType": "address",
5118
- "name": "vToken",
5058
+ "name": "calledContract",
5119
5059
  "type": "address"
5120
5060
  },
5121
5061
  {
5122
- "indexed": false,
5123
- "internalType": "uint256",
5124
- "name": "amount",
5125
- "type": "uint256"
5062
+ "internalType": "string",
5063
+ "name": "methodSignature",
5064
+ "type": "string"
5126
5065
  }
5127
5066
  ],
5128
- "name": "TokensBorrowedAndUnwrapped",
5129
- "type": "event"
5067
+ "name": "Unauthorized",
5068
+ "type": "error"
5130
5069
  },
5131
5070
  {
5132
5071
  "anonymous": false,
5133
5072
  "inputs": [
5134
- {
5135
- "indexed": true,
5136
- "internalType": "address",
5137
- "name": "sender",
5138
- "type": "address"
5139
- },
5140
- {
5141
- "indexed": true,
5142
- "internalType": "address",
5143
- "name": "vToken",
5144
- "type": "address"
5145
- },
5146
5073
  {
5147
5074
  "indexed": false,
5148
5075
  "internalType": "uint256",
5149
- "name": "amount",
5076
+ "name": "baseRatePerBlockOrTimestamp",
5150
5077
  "type": "uint256"
5151
- }
5152
- ],
5153
- "name": "TokensRedeemedAndUnwrapped",
5154
- "type": "event"
5155
- },
5156
- {
5157
- "anonymous": false,
5158
- "inputs": [
5159
- {
5160
- "indexed": true,
5161
- "internalType": "address",
5162
- "name": "sender",
5163
- "type": "address"
5164
- },
5165
- {
5166
- "indexed": true,
5167
- "internalType": "address",
5168
- "name": "vToken",
5169
- "type": "address"
5170
5078
  },
5171
5079
  {
5172
5080
  "indexed": false,
5173
5081
  "internalType": "uint256",
5174
- "name": "amount",
5082
+ "name": "multiplierPerBlockOrTimestamp",
5175
5083
  "type": "uint256"
5176
- }
5177
- ],
5178
- "name": "TokensWrappedAndRepaid",
5179
- "type": "event"
5180
- },
5181
- {
5182
- "anonymous": false,
5183
- "inputs": [
5184
- {
5185
- "indexed": true,
5186
- "internalType": "address",
5187
- "name": "sender",
5188
- "type": "address"
5189
5084
  },
5190
5085
  {
5191
- "indexed": true,
5192
- "internalType": "address",
5193
- "name": "vToken",
5194
- "type": "address"
5086
+ "indexed": false,
5087
+ "internalType": "uint256",
5088
+ "name": "jumpMultiplierPerBlockOrTimestamp",
5089
+ "type": "uint256"
5195
5090
  },
5196
5091
  {
5197
5092
  "indexed": false,
5198
5093
  "internalType": "uint256",
5199
- "name": "amount",
5094
+ "name": "kink",
5200
5095
  "type": "uint256"
5201
5096
  }
5202
5097
  ],
5203
- "name": "TokensWrappedAndSupplied",
5098
+ "name": "NewInterestParams",
5204
5099
  "type": "event"
5205
5100
  },
5206
- {
5207
- "stateMutability": "payable",
5208
- "type": "fallback"
5209
- },
5210
5101
  {
5211
5102
  "inputs": [],
5212
- "name": "acceptOwnership",
5213
- "outputs": [],
5214
- "stateMutability": "nonpayable",
5215
- "type": "function"
5216
- },
5217
- {
5218
- "inputs": [
5103
+ "name": "accessControlManager",
5104
+ "outputs": [
5219
5105
  {
5220
- "internalType": "uint256",
5221
- "name": "borrowAmount",
5222
- "type": "uint256"
5106
+ "internalType": "contract IAccessControlManagerV8",
5107
+ "name": "",
5108
+ "type": "address"
5223
5109
  }
5224
5110
  ],
5225
- "name": "borrowAndUnwrap",
5226
- "outputs": [],
5227
- "stateMutability": "nonpayable",
5111
+ "stateMutability": "view",
5228
5112
  "type": "function"
5229
5113
  },
5230
5114
  {
5231
5115
  "inputs": [],
5232
- "name": "owner",
5116
+ "name": "baseRatePerBlock",
5233
5117
  "outputs": [
5234
5118
  {
5235
- "internalType": "address",
5119
+ "internalType": "uint256",
5236
5120
  "name": "",
5237
- "type": "address"
5121
+ "type": "uint256"
5238
5122
  }
5239
5123
  ],
5240
5124
  "stateMutability": "view",
@@ -5242,91 +5126,137 @@
5242
5126
  },
5243
5127
  {
5244
5128
  "inputs": [],
5245
- "name": "pendingOwner",
5129
+ "name": "blocksOrSecondsPerYear",
5246
5130
  "outputs": [
5247
5131
  {
5248
- "internalType": "address",
5132
+ "internalType": "uint256",
5249
5133
  "name": "",
5250
- "type": "address"
5134
+ "type": "uint256"
5251
5135
  }
5252
5136
  ],
5253
5137
  "stateMutability": "view",
5254
5138
  "type": "function"
5255
5139
  },
5256
5140
  {
5257
- "inputs": [
5141
+ "inputs": [],
5142
+ "name": "getBlockNumberOrTimestamp",
5143
+ "outputs": [
5258
5144
  {
5259
5145
  "internalType": "uint256",
5260
- "name": "redeemTokens",
5146
+ "name": "",
5261
5147
  "type": "uint256"
5262
5148
  }
5263
5149
  ],
5264
- "name": "redeemAndUnwrap",
5265
- "outputs": [],
5266
- "stateMutability": "nonpayable",
5150
+ "stateMutability": "view",
5267
5151
  "type": "function"
5268
5152
  },
5269
5153
  {
5270
5154
  "inputs": [
5271
5155
  {
5272
5156
  "internalType": "uint256",
5273
- "name": "redeemAmount",
5157
+ "name": "cash",
5274
5158
  "type": "uint256"
5275
- }
5276
- ],
5277
- "name": "redeemUnderlyingAndUnwrap",
5278
- "outputs": [],
5279
- "stateMutability": "nonpayable",
5280
- "type": "function"
5281
- },
5282
- {
5283
- "inputs": [],
5284
- "name": "renounceOwnership",
5285
- "outputs": [],
5286
- "stateMutability": "nonpayable",
5159
+ },
5160
+ {
5161
+ "internalType": "uint256",
5162
+ "name": "borrows",
5163
+ "type": "uint256"
5164
+ },
5165
+ {
5166
+ "internalType": "uint256",
5167
+ "name": "reserves",
5168
+ "type": "uint256"
5169
+ },
5170
+ {
5171
+ "internalType": "uint256",
5172
+ "name": "badDebt",
5173
+ "type": "uint256"
5174
+ }
5175
+ ],
5176
+ "name": "getBorrowRate",
5177
+ "outputs": [
5178
+ {
5179
+ "internalType": "uint256",
5180
+ "name": "",
5181
+ "type": "uint256"
5182
+ }
5183
+ ],
5184
+ "stateMutability": "view",
5287
5185
  "type": "function"
5288
5186
  },
5289
5187
  {
5290
- "inputs": [],
5291
- "name": "sweepNative",
5292
- "outputs": [],
5293
- "stateMutability": "nonpayable",
5188
+ "inputs": [
5189
+ {
5190
+ "internalType": "uint256",
5191
+ "name": "cash",
5192
+ "type": "uint256"
5193
+ },
5194
+ {
5195
+ "internalType": "uint256",
5196
+ "name": "borrows",
5197
+ "type": "uint256"
5198
+ },
5199
+ {
5200
+ "internalType": "uint256",
5201
+ "name": "reserves",
5202
+ "type": "uint256"
5203
+ },
5204
+ {
5205
+ "internalType": "uint256",
5206
+ "name": "reserveFactorMantissa",
5207
+ "type": "uint256"
5208
+ },
5209
+ {
5210
+ "internalType": "uint256",
5211
+ "name": "badDebt",
5212
+ "type": "uint256"
5213
+ }
5214
+ ],
5215
+ "name": "getSupplyRate",
5216
+ "outputs": [
5217
+ {
5218
+ "internalType": "uint256",
5219
+ "name": "",
5220
+ "type": "uint256"
5221
+ }
5222
+ ],
5223
+ "stateMutability": "view",
5294
5224
  "type": "function"
5295
5225
  },
5296
5226
  {
5297
- "inputs": [
5227
+ "inputs": [],
5228
+ "name": "isInterestRateModel",
5229
+ "outputs": [
5298
5230
  {
5299
- "internalType": "contract IERC20",
5300
- "name": "token",
5301
- "type": "address"
5231
+ "internalType": "bool",
5232
+ "name": "",
5233
+ "type": "bool"
5302
5234
  }
5303
5235
  ],
5304
- "name": "sweepToken",
5305
- "outputs": [],
5306
- "stateMutability": "nonpayable",
5236
+ "stateMutability": "pure",
5307
5237
  "type": "function"
5308
5238
  },
5309
5239
  {
5310
- "inputs": [
5240
+ "inputs": [],
5241
+ "name": "isTimeBased",
5242
+ "outputs": [
5311
5243
  {
5312
- "internalType": "address",
5313
- "name": "newOwner",
5314
- "type": "address"
5244
+ "internalType": "bool",
5245
+ "name": "",
5246
+ "type": "bool"
5315
5247
  }
5316
5248
  ],
5317
- "name": "transferOwnership",
5318
- "outputs": [],
5319
- "stateMutability": "nonpayable",
5249
+ "stateMutability": "view",
5320
5250
  "type": "function"
5321
5251
  },
5322
5252
  {
5323
5253
  "inputs": [],
5324
- "name": "vWNativeToken",
5254
+ "name": "jumpMultiplierPerBlock",
5325
5255
  "outputs": [
5326
5256
  {
5327
- "internalType": "contract IVToken",
5257
+ "internalType": "uint256",
5328
5258
  "name": "",
5329
- "type": "address"
5259
+ "type": "uint256"
5330
5260
  }
5331
5261
  ],
5332
5262
  "stateMutability": "view",
@@ -5334,12 +5264,12 @@
5334
5264
  },
5335
5265
  {
5336
5266
  "inputs": [],
5337
- "name": "wNativeToken",
5267
+ "name": "kink",
5338
5268
  "outputs": [
5339
5269
  {
5340
- "internalType": "contract IWrappedNative",
5270
+ "internalType": "uint256",
5341
5271
  "name": "",
5342
- "type": "address"
5272
+ "type": "uint256"
5343
5273
  }
5344
5274
  ],
5345
5275
  "stateMutability": "view",
@@ -5347,44 +5277,90 @@
5347
5277
  },
5348
5278
  {
5349
5279
  "inputs": [],
5350
- "name": "wrapAndRepay",
5351
- "outputs": [],
5352
- "stateMutability": "payable",
5280
+ "name": "multiplierPerBlock",
5281
+ "outputs": [
5282
+ {
5283
+ "internalType": "uint256",
5284
+ "name": "",
5285
+ "type": "uint256"
5286
+ }
5287
+ ],
5288
+ "stateMutability": "view",
5353
5289
  "type": "function"
5354
5290
  },
5355
5291
  {
5356
5292
  "inputs": [
5357
5293
  {
5358
- "internalType": "address",
5359
- "name": "minter",
5360
- "type": "address"
5294
+ "internalType": "uint256",
5295
+ "name": "baseRatePerYear",
5296
+ "type": "uint256"
5297
+ },
5298
+ {
5299
+ "internalType": "uint256",
5300
+ "name": "multiplierPerYear",
5301
+ "type": "uint256"
5302
+ },
5303
+ {
5304
+ "internalType": "uint256",
5305
+ "name": "jumpMultiplierPerYear",
5306
+ "type": "uint256"
5307
+ },
5308
+ {
5309
+ "internalType": "uint256",
5310
+ "name": "kink_",
5311
+ "type": "uint256"
5361
5312
  }
5362
5313
  ],
5363
- "name": "wrapAndSupply",
5314
+ "name": "updateJumpRateModel",
5364
5315
  "outputs": [],
5365
- "stateMutability": "payable",
5316
+ "stateMutability": "nonpayable",
5366
5317
  "type": "function"
5367
5318
  },
5368
5319
  {
5369
- "stateMutability": "payable",
5370
- "type": "receive"
5320
+ "inputs": [
5321
+ {
5322
+ "internalType": "uint256",
5323
+ "name": "cash",
5324
+ "type": "uint256"
5325
+ },
5326
+ {
5327
+ "internalType": "uint256",
5328
+ "name": "borrows",
5329
+ "type": "uint256"
5330
+ },
5331
+ {
5332
+ "internalType": "uint256",
5333
+ "name": "reserves",
5334
+ "type": "uint256"
5335
+ },
5336
+ {
5337
+ "internalType": "uint256",
5338
+ "name": "badDebt",
5339
+ "type": "uint256"
5340
+ }
5341
+ ],
5342
+ "name": "utilizationRate",
5343
+ "outputs": [
5344
+ {
5345
+ "internalType": "uint256",
5346
+ "name": "",
5347
+ "type": "uint256"
5348
+ }
5349
+ ],
5350
+ "stateMutability": "pure",
5351
+ "type": "function"
5371
5352
  }
5372
5353
  ]
5373
5354
  },
5374
- "PoolLens": {
5375
- "address": "0xe192aeDBDBd235DBF33Ea1444f2B908Ea3E78419",
5355
+ "NativeTokenGateway_vWETH_Core": {
5356
+ "address": "0x4441aE3bCEd3210edbA35d0F7348C493E79F1C52",
5376
5357
  "abi": [
5377
5358
  {
5378
5359
  "inputs": [
5379
5360
  {
5380
- "internalType": "bool",
5381
- "name": "timeBased_",
5382
- "type": "bool"
5383
- },
5384
- {
5385
- "internalType": "uint256",
5386
- "name": "blocksPerYear_",
5387
- "type": "uint256"
5361
+ "internalType": "contract IVToken",
5362
+ "name": "vWrappedNativeToken",
5363
+ "type": "address"
5388
5364
  }
5389
5365
  ],
5390
5366
  "stateMutability": "nonpayable",
@@ -5392,55 +5368,439 @@
5392
5368
  },
5393
5369
  {
5394
5370
  "inputs": [],
5395
- "name": "InvalidBlocksPerYear",
5371
+ "name": "NativeTokenTransferFailed",
5396
5372
  "type": "error"
5397
5373
  },
5398
5374
  {
5399
5375
  "inputs": [],
5400
- "name": "InvalidTimeBasedConfiguration",
5376
+ "name": "ZeroAddressNotAllowed",
5401
5377
  "type": "error"
5402
5378
  },
5403
5379
  {
5404
5380
  "inputs": [],
5405
- "name": "blocksOrSecondsPerYear",
5406
- "outputs": [
5381
+ "name": "ZeroValueNotAllowed",
5382
+ "type": "error"
5383
+ },
5384
+ {
5385
+ "anonymous": false,
5386
+ "inputs": [
5407
5387
  {
5408
- "internalType": "uint256",
5409
- "name": "",
5410
- "type": "uint256"
5388
+ "indexed": true,
5389
+ "internalType": "address",
5390
+ "name": "previousOwner",
5391
+ "type": "address"
5392
+ },
5393
+ {
5394
+ "indexed": true,
5395
+ "internalType": "address",
5396
+ "name": "newOwner",
5397
+ "type": "address"
5411
5398
  }
5412
5399
  ],
5413
- "stateMutability": "view",
5414
- "type": "function"
5400
+ "name": "OwnershipTransferStarted",
5401
+ "type": "event"
5415
5402
  },
5416
5403
  {
5404
+ "anonymous": false,
5417
5405
  "inputs": [
5418
5406
  {
5407
+ "indexed": true,
5419
5408
  "internalType": "address",
5420
- "name": "poolRegistryAddress",
5409
+ "name": "previousOwner",
5410
+ "type": "address"
5411
+ },
5412
+ {
5413
+ "indexed": true,
5414
+ "internalType": "address",
5415
+ "name": "newOwner",
5421
5416
  "type": "address"
5422
5417
  }
5423
5418
  ],
5424
- "name": "getAllPools",
5425
- "outputs": [
5419
+ "name": "OwnershipTransferred",
5420
+ "type": "event"
5421
+ },
5422
+ {
5423
+ "anonymous": false,
5424
+ "inputs": [
5426
5425
  {
5427
- "components": [
5428
- {
5429
- "internalType": "string",
5430
- "name": "name",
5431
- "type": "string"
5432
- },
5433
- {
5434
- "internalType": "address",
5435
- "name": "creator",
5436
- "type": "address"
5437
- },
5438
- {
5439
- "internalType": "address",
5440
- "name": "comptroller",
5441
- "type": "address"
5442
- },
5443
- {
5426
+ "indexed": true,
5427
+ "internalType": "address",
5428
+ "name": "receiver",
5429
+ "type": "address"
5430
+ },
5431
+ {
5432
+ "indexed": false,
5433
+ "internalType": "uint256",
5434
+ "name": "amount",
5435
+ "type": "uint256"
5436
+ }
5437
+ ],
5438
+ "name": "SweepNative",
5439
+ "type": "event"
5440
+ },
5441
+ {
5442
+ "anonymous": false,
5443
+ "inputs": [
5444
+ {
5445
+ "indexed": true,
5446
+ "internalType": "address",
5447
+ "name": "token",
5448
+ "type": "address"
5449
+ },
5450
+ {
5451
+ "indexed": true,
5452
+ "internalType": "address",
5453
+ "name": "receiver",
5454
+ "type": "address"
5455
+ },
5456
+ {
5457
+ "indexed": false,
5458
+ "internalType": "uint256",
5459
+ "name": "amount",
5460
+ "type": "uint256"
5461
+ }
5462
+ ],
5463
+ "name": "SweepToken",
5464
+ "type": "event"
5465
+ },
5466
+ {
5467
+ "anonymous": false,
5468
+ "inputs": [
5469
+ {
5470
+ "indexed": true,
5471
+ "internalType": "address",
5472
+ "name": "sender",
5473
+ "type": "address"
5474
+ },
5475
+ {
5476
+ "indexed": true,
5477
+ "internalType": "address",
5478
+ "name": "vToken",
5479
+ "type": "address"
5480
+ },
5481
+ {
5482
+ "indexed": false,
5483
+ "internalType": "uint256",
5484
+ "name": "amount",
5485
+ "type": "uint256"
5486
+ }
5487
+ ],
5488
+ "name": "TokensBorrowedAndUnwrapped",
5489
+ "type": "event"
5490
+ },
5491
+ {
5492
+ "anonymous": false,
5493
+ "inputs": [
5494
+ {
5495
+ "indexed": true,
5496
+ "internalType": "address",
5497
+ "name": "sender",
5498
+ "type": "address"
5499
+ },
5500
+ {
5501
+ "indexed": true,
5502
+ "internalType": "address",
5503
+ "name": "vToken",
5504
+ "type": "address"
5505
+ },
5506
+ {
5507
+ "indexed": false,
5508
+ "internalType": "uint256",
5509
+ "name": "amount",
5510
+ "type": "uint256"
5511
+ }
5512
+ ],
5513
+ "name": "TokensRedeemedAndUnwrapped",
5514
+ "type": "event"
5515
+ },
5516
+ {
5517
+ "anonymous": false,
5518
+ "inputs": [
5519
+ {
5520
+ "indexed": true,
5521
+ "internalType": "address",
5522
+ "name": "sender",
5523
+ "type": "address"
5524
+ },
5525
+ {
5526
+ "indexed": true,
5527
+ "internalType": "address",
5528
+ "name": "vToken",
5529
+ "type": "address"
5530
+ },
5531
+ {
5532
+ "indexed": false,
5533
+ "internalType": "uint256",
5534
+ "name": "amount",
5535
+ "type": "uint256"
5536
+ }
5537
+ ],
5538
+ "name": "TokensWrappedAndRepaid",
5539
+ "type": "event"
5540
+ },
5541
+ {
5542
+ "anonymous": false,
5543
+ "inputs": [
5544
+ {
5545
+ "indexed": true,
5546
+ "internalType": "address",
5547
+ "name": "sender",
5548
+ "type": "address"
5549
+ },
5550
+ {
5551
+ "indexed": true,
5552
+ "internalType": "address",
5553
+ "name": "vToken",
5554
+ "type": "address"
5555
+ },
5556
+ {
5557
+ "indexed": false,
5558
+ "internalType": "uint256",
5559
+ "name": "amount",
5560
+ "type": "uint256"
5561
+ }
5562
+ ],
5563
+ "name": "TokensWrappedAndSupplied",
5564
+ "type": "event"
5565
+ },
5566
+ {
5567
+ "stateMutability": "payable",
5568
+ "type": "fallback"
5569
+ },
5570
+ {
5571
+ "inputs": [],
5572
+ "name": "acceptOwnership",
5573
+ "outputs": [],
5574
+ "stateMutability": "nonpayable",
5575
+ "type": "function"
5576
+ },
5577
+ {
5578
+ "inputs": [
5579
+ {
5580
+ "internalType": "uint256",
5581
+ "name": "borrowAmount",
5582
+ "type": "uint256"
5583
+ }
5584
+ ],
5585
+ "name": "borrowAndUnwrap",
5586
+ "outputs": [],
5587
+ "stateMutability": "nonpayable",
5588
+ "type": "function"
5589
+ },
5590
+ {
5591
+ "inputs": [],
5592
+ "name": "owner",
5593
+ "outputs": [
5594
+ {
5595
+ "internalType": "address",
5596
+ "name": "",
5597
+ "type": "address"
5598
+ }
5599
+ ],
5600
+ "stateMutability": "view",
5601
+ "type": "function"
5602
+ },
5603
+ {
5604
+ "inputs": [],
5605
+ "name": "pendingOwner",
5606
+ "outputs": [
5607
+ {
5608
+ "internalType": "address",
5609
+ "name": "",
5610
+ "type": "address"
5611
+ }
5612
+ ],
5613
+ "stateMutability": "view",
5614
+ "type": "function"
5615
+ },
5616
+ {
5617
+ "inputs": [
5618
+ {
5619
+ "internalType": "uint256",
5620
+ "name": "redeemTokens",
5621
+ "type": "uint256"
5622
+ }
5623
+ ],
5624
+ "name": "redeemAndUnwrap",
5625
+ "outputs": [],
5626
+ "stateMutability": "nonpayable",
5627
+ "type": "function"
5628
+ },
5629
+ {
5630
+ "inputs": [
5631
+ {
5632
+ "internalType": "uint256",
5633
+ "name": "redeemAmount",
5634
+ "type": "uint256"
5635
+ }
5636
+ ],
5637
+ "name": "redeemUnderlyingAndUnwrap",
5638
+ "outputs": [],
5639
+ "stateMutability": "nonpayable",
5640
+ "type": "function"
5641
+ },
5642
+ {
5643
+ "inputs": [],
5644
+ "name": "renounceOwnership",
5645
+ "outputs": [],
5646
+ "stateMutability": "nonpayable",
5647
+ "type": "function"
5648
+ },
5649
+ {
5650
+ "inputs": [],
5651
+ "name": "sweepNative",
5652
+ "outputs": [],
5653
+ "stateMutability": "nonpayable",
5654
+ "type": "function"
5655
+ },
5656
+ {
5657
+ "inputs": [
5658
+ {
5659
+ "internalType": "contract IERC20",
5660
+ "name": "token",
5661
+ "type": "address"
5662
+ }
5663
+ ],
5664
+ "name": "sweepToken",
5665
+ "outputs": [],
5666
+ "stateMutability": "nonpayable",
5667
+ "type": "function"
5668
+ },
5669
+ {
5670
+ "inputs": [
5671
+ {
5672
+ "internalType": "address",
5673
+ "name": "newOwner",
5674
+ "type": "address"
5675
+ }
5676
+ ],
5677
+ "name": "transferOwnership",
5678
+ "outputs": [],
5679
+ "stateMutability": "nonpayable",
5680
+ "type": "function"
5681
+ },
5682
+ {
5683
+ "inputs": [],
5684
+ "name": "vWNativeToken",
5685
+ "outputs": [
5686
+ {
5687
+ "internalType": "contract IVToken",
5688
+ "name": "",
5689
+ "type": "address"
5690
+ }
5691
+ ],
5692
+ "stateMutability": "view",
5693
+ "type": "function"
5694
+ },
5695
+ {
5696
+ "inputs": [],
5697
+ "name": "wNativeToken",
5698
+ "outputs": [
5699
+ {
5700
+ "internalType": "contract IWrappedNative",
5701
+ "name": "",
5702
+ "type": "address"
5703
+ }
5704
+ ],
5705
+ "stateMutability": "view",
5706
+ "type": "function"
5707
+ },
5708
+ {
5709
+ "inputs": [],
5710
+ "name": "wrapAndRepay",
5711
+ "outputs": [],
5712
+ "stateMutability": "payable",
5713
+ "type": "function"
5714
+ },
5715
+ {
5716
+ "inputs": [
5717
+ {
5718
+ "internalType": "address",
5719
+ "name": "minter",
5720
+ "type": "address"
5721
+ }
5722
+ ],
5723
+ "name": "wrapAndSupply",
5724
+ "outputs": [],
5725
+ "stateMutability": "payable",
5726
+ "type": "function"
5727
+ },
5728
+ {
5729
+ "stateMutability": "payable",
5730
+ "type": "receive"
5731
+ }
5732
+ ]
5733
+ },
5734
+ "PoolLens": {
5735
+ "address": "0xe192aeDBDBd235DBF33Ea1444f2B908Ea3E78419",
5736
+ "abi": [
5737
+ {
5738
+ "inputs": [
5739
+ {
5740
+ "internalType": "bool",
5741
+ "name": "timeBased_",
5742
+ "type": "bool"
5743
+ },
5744
+ {
5745
+ "internalType": "uint256",
5746
+ "name": "blocksPerYear_",
5747
+ "type": "uint256"
5748
+ }
5749
+ ],
5750
+ "stateMutability": "nonpayable",
5751
+ "type": "constructor"
5752
+ },
5753
+ {
5754
+ "inputs": [],
5755
+ "name": "InvalidBlocksPerYear",
5756
+ "type": "error"
5757
+ },
5758
+ {
5759
+ "inputs": [],
5760
+ "name": "InvalidTimeBasedConfiguration",
5761
+ "type": "error"
5762
+ },
5763
+ {
5764
+ "inputs": [],
5765
+ "name": "blocksOrSecondsPerYear",
5766
+ "outputs": [
5767
+ {
5768
+ "internalType": "uint256",
5769
+ "name": "",
5770
+ "type": "uint256"
5771
+ }
5772
+ ],
5773
+ "stateMutability": "view",
5774
+ "type": "function"
5775
+ },
5776
+ {
5777
+ "inputs": [
5778
+ {
5779
+ "internalType": "address",
5780
+ "name": "poolRegistryAddress",
5781
+ "type": "address"
5782
+ }
5783
+ ],
5784
+ "name": "getAllPools",
5785
+ "outputs": [
5786
+ {
5787
+ "components": [
5788
+ {
5789
+ "internalType": "string",
5790
+ "name": "name",
5791
+ "type": "string"
5792
+ },
5793
+ {
5794
+ "internalType": "address",
5795
+ "name": "creator",
5796
+ "type": "address"
5797
+ },
5798
+ {
5799
+ "internalType": "address",
5800
+ "name": "comptroller",
5801
+ "type": "address"
5802
+ },
5803
+ {
5444
5804
  "internalType": "uint256",
5445
5805
  "name": "blockPosted",
5446
5806
  "type": "uint256"
@@ -10077,9 +10437,154 @@
10077
10437
  "name": "isTimeBased",
10078
10438
  "outputs": [
10079
10439
  {
10080
- "internalType": "bool",
10081
- "name": "",
10082
- "type": "bool"
10440
+ "internalType": "bool",
10441
+ "name": "",
10442
+ "type": "bool"
10443
+ }
10444
+ ],
10445
+ "stateMutability": "view",
10446
+ "type": "function"
10447
+ },
10448
+ {
10449
+ "inputs": [
10450
+ {
10451
+ "internalType": "address",
10452
+ "name": "",
10453
+ "type": "address"
10454
+ }
10455
+ ],
10456
+ "name": "lastContributorBlock",
10457
+ "outputs": [
10458
+ {
10459
+ "internalType": "uint256",
10460
+ "name": "",
10461
+ "type": "uint256"
10462
+ }
10463
+ ],
10464
+ "stateMutability": "view",
10465
+ "type": "function"
10466
+ },
10467
+ {
10468
+ "inputs": [],
10469
+ "name": "maxLoopsLimit",
10470
+ "outputs": [
10471
+ {
10472
+ "internalType": "uint256",
10473
+ "name": "",
10474
+ "type": "uint256"
10475
+ }
10476
+ ],
10477
+ "stateMutability": "view",
10478
+ "type": "function"
10479
+ },
10480
+ {
10481
+ "inputs": [],
10482
+ "name": "owner",
10483
+ "outputs": [
10484
+ {
10485
+ "internalType": "address",
10486
+ "name": "",
10487
+ "type": "address"
10488
+ }
10489
+ ],
10490
+ "stateMutability": "view",
10491
+ "type": "function"
10492
+ },
10493
+ {
10494
+ "inputs": [],
10495
+ "name": "pendingOwner",
10496
+ "outputs": [
10497
+ {
10498
+ "internalType": "address",
10499
+ "name": "",
10500
+ "type": "address"
10501
+ }
10502
+ ],
10503
+ "stateMutability": "view",
10504
+ "type": "function"
10505
+ },
10506
+ {
10507
+ "inputs": [],
10508
+ "name": "renounceOwnership",
10509
+ "outputs": [],
10510
+ "stateMutability": "nonpayable",
10511
+ "type": "function"
10512
+ },
10513
+ {
10514
+ "inputs": [],
10515
+ "name": "rewardToken",
10516
+ "outputs": [
10517
+ {
10518
+ "internalType": "contract IERC20Upgradeable",
10519
+ "name": "",
10520
+ "type": "address"
10521
+ }
10522
+ ],
10523
+ "stateMutability": "view",
10524
+ "type": "function"
10525
+ },
10526
+ {
10527
+ "inputs": [
10528
+ {
10529
+ "internalType": "address",
10530
+ "name": "",
10531
+ "type": "address"
10532
+ }
10533
+ ],
10534
+ "name": "rewardTokenAccrued",
10535
+ "outputs": [
10536
+ {
10537
+ "internalType": "uint256",
10538
+ "name": "",
10539
+ "type": "uint256"
10540
+ }
10541
+ ],
10542
+ "stateMutability": "view",
10543
+ "type": "function"
10544
+ },
10545
+ {
10546
+ "inputs": [
10547
+ {
10548
+ "internalType": "address",
10549
+ "name": "",
10550
+ "type": "address"
10551
+ }
10552
+ ],
10553
+ "name": "rewardTokenBorrowSpeeds",
10554
+ "outputs": [
10555
+ {
10556
+ "internalType": "uint256",
10557
+ "name": "",
10558
+ "type": "uint256"
10559
+ }
10560
+ ],
10561
+ "stateMutability": "view",
10562
+ "type": "function"
10563
+ },
10564
+ {
10565
+ "inputs": [
10566
+ {
10567
+ "internalType": "address",
10568
+ "name": "",
10569
+ "type": "address"
10570
+ }
10571
+ ],
10572
+ "name": "rewardTokenBorrowState",
10573
+ "outputs": [
10574
+ {
10575
+ "internalType": "uint224",
10576
+ "name": "index",
10577
+ "type": "uint224"
10578
+ },
10579
+ {
10580
+ "internalType": "uint32",
10581
+ "name": "block",
10582
+ "type": "uint32"
10583
+ },
10584
+ {
10585
+ "internalType": "uint32",
10586
+ "name": "lastRewardingBlock",
10587
+ "type": "uint32"
10083
10588
  }
10084
10589
  ],
10085
10590
  "stateMutability": "view",
@@ -10093,24 +10598,21 @@
10093
10598
  "type": "address"
10094
10599
  }
10095
10600
  ],
10096
- "name": "lastContributorBlock",
10601
+ "name": "rewardTokenBorrowStateTimeBased",
10097
10602
  "outputs": [
10603
+ {
10604
+ "internalType": "uint224",
10605
+ "name": "index",
10606
+ "type": "uint224"
10607
+ },
10098
10608
  {
10099
10609
  "internalType": "uint256",
10100
- "name": "",
10610
+ "name": "timestamp",
10101
10611
  "type": "uint256"
10102
- }
10103
- ],
10104
- "stateMutability": "view",
10105
- "type": "function"
10106
- },
10107
- {
10108
- "inputs": [],
10109
- "name": "maxLoopsLimit",
10110
- "outputs": [
10612
+ },
10111
10613
  {
10112
10614
  "internalType": "uint256",
10113
- "name": "",
10615
+ "name": "lastRewardingTimestamp",
10114
10616
  "type": "uint256"
10115
10617
  }
10116
10618
  ],
@@ -10118,46 +10620,43 @@
10118
10620
  "type": "function"
10119
10621
  },
10120
10622
  {
10121
- "inputs": [],
10122
- "name": "owner",
10123
- "outputs": [
10623
+ "inputs": [
10624
+ {
10625
+ "internalType": "address",
10626
+ "name": "",
10627
+ "type": "address"
10628
+ },
10124
10629
  {
10125
10630
  "internalType": "address",
10126
10631
  "name": "",
10127
10632
  "type": "address"
10128
10633
  }
10129
10634
  ],
10635
+ "name": "rewardTokenBorrowerIndex",
10636
+ "outputs": [
10637
+ {
10638
+ "internalType": "uint256",
10639
+ "name": "",
10640
+ "type": "uint256"
10641
+ }
10642
+ ],
10130
10643
  "stateMutability": "view",
10131
10644
  "type": "function"
10132
10645
  },
10133
10646
  {
10134
- "inputs": [],
10135
- "name": "pendingOwner",
10136
- "outputs": [
10647
+ "inputs": [
10137
10648
  {
10138
10649
  "internalType": "address",
10139
10650
  "name": "",
10140
10651
  "type": "address"
10141
10652
  }
10142
10653
  ],
10143
- "stateMutability": "view",
10144
- "type": "function"
10145
- },
10146
- {
10147
- "inputs": [],
10148
- "name": "renounceOwnership",
10149
- "outputs": [],
10150
- "stateMutability": "nonpayable",
10151
- "type": "function"
10152
- },
10153
- {
10154
- "inputs": [],
10155
- "name": "rewardToken",
10654
+ "name": "rewardTokenContributorSpeeds",
10156
10655
  "outputs": [
10157
10656
  {
10158
- "internalType": "contract IERC20Upgradeable",
10657
+ "internalType": "uint256",
10159
10658
  "name": "",
10160
- "type": "address"
10659
+ "type": "uint256"
10161
10660
  }
10162
10661
  ],
10163
10662
  "stateMutability": "view",
@@ -10165,13 +10664,18 @@
10165
10664
  },
10166
10665
  {
10167
10666
  "inputs": [
10667
+ {
10668
+ "internalType": "address",
10669
+ "name": "",
10670
+ "type": "address"
10671
+ },
10168
10672
  {
10169
10673
  "internalType": "address",
10170
10674
  "name": "",
10171
10675
  "type": "address"
10172
10676
  }
10173
10677
  ],
10174
- "name": "rewardTokenAccrued",
10678
+ "name": "rewardTokenSupplierIndex",
10175
10679
  "outputs": [
10176
10680
  {
10177
10681
  "internalType": "uint256",
@@ -10190,7 +10694,7 @@
10190
10694
  "type": "address"
10191
10695
  }
10192
10696
  ],
10193
- "name": "rewardTokenBorrowSpeeds",
10697
+ "name": "rewardTokenSupplySpeeds",
10194
10698
  "outputs": [
10195
10699
  {
10196
10700
  "internalType": "uint256",
@@ -10209,7 +10713,7 @@
10209
10713
  "type": "address"
10210
10714
  }
10211
10715
  ],
10212
- "name": "rewardTokenBorrowState",
10716
+ "name": "rewardTokenSupplyState",
10213
10717
  "outputs": [
10214
10718
  {
10215
10719
  "internalType": "uint224",
@@ -10238,7 +10742,7 @@
10238
10742
  "type": "address"
10239
10743
  }
10240
10744
  ],
10241
- "name": "rewardTokenBorrowStateTimeBased",
10745
+ "name": "rewardTokenSupplyStateTimeBased",
10242
10746
  "outputs": [
10243
10747
  {
10244
10748
  "internalType": "uint224",
@@ -10251,496 +10755,704 @@
10251
10755
  "type": "uint256"
10252
10756
  },
10253
10757
  {
10254
- "internalType": "uint256",
10255
- "name": "lastRewardingTimestamp",
10256
- "type": "uint256"
10758
+ "internalType": "uint256",
10759
+ "name": "lastRewardingTimestamp",
10760
+ "type": "uint256"
10761
+ }
10762
+ ],
10763
+ "stateMutability": "view",
10764
+ "type": "function"
10765
+ },
10766
+ {
10767
+ "inputs": [
10768
+ {
10769
+ "internalType": "address",
10770
+ "name": "accessControlManager_",
10771
+ "type": "address"
10772
+ }
10773
+ ],
10774
+ "name": "setAccessControlManager",
10775
+ "outputs": [],
10776
+ "stateMutability": "nonpayable",
10777
+ "type": "function"
10778
+ },
10779
+ {
10780
+ "inputs": [
10781
+ {
10782
+ "internalType": "address",
10783
+ "name": "contributor",
10784
+ "type": "address"
10785
+ },
10786
+ {
10787
+ "internalType": "uint256",
10788
+ "name": "rewardTokenSpeed",
10789
+ "type": "uint256"
10790
+ }
10791
+ ],
10792
+ "name": "setContributorRewardTokenSpeed",
10793
+ "outputs": [],
10794
+ "stateMutability": "nonpayable",
10795
+ "type": "function"
10796
+ },
10797
+ {
10798
+ "inputs": [
10799
+ {
10800
+ "internalType": "contract VToken[]",
10801
+ "name": "vTokens",
10802
+ "type": "address[]"
10803
+ },
10804
+ {
10805
+ "internalType": "uint256[]",
10806
+ "name": "supplyLastRewardingBlockTimestamps",
10807
+ "type": "uint256[]"
10808
+ },
10809
+ {
10810
+ "internalType": "uint256[]",
10811
+ "name": "borrowLastRewardingBlockTimestamps",
10812
+ "type": "uint256[]"
10813
+ }
10814
+ ],
10815
+ "name": "setLastRewardingBlockTimestamps",
10816
+ "outputs": [],
10817
+ "stateMutability": "nonpayable",
10818
+ "type": "function"
10819
+ },
10820
+ {
10821
+ "inputs": [
10822
+ {
10823
+ "internalType": "contract VToken[]",
10824
+ "name": "vTokens",
10825
+ "type": "address[]"
10826
+ },
10827
+ {
10828
+ "internalType": "uint32[]",
10829
+ "name": "supplyLastRewardingBlocks",
10830
+ "type": "uint32[]"
10831
+ },
10832
+ {
10833
+ "internalType": "uint32[]",
10834
+ "name": "borrowLastRewardingBlocks",
10835
+ "type": "uint32[]"
10836
+ }
10837
+ ],
10838
+ "name": "setLastRewardingBlocks",
10839
+ "outputs": [],
10840
+ "stateMutability": "nonpayable",
10841
+ "type": "function"
10842
+ },
10843
+ {
10844
+ "inputs": [
10845
+ {
10846
+ "internalType": "uint256",
10847
+ "name": "limit",
10848
+ "type": "uint256"
10849
+ }
10850
+ ],
10851
+ "name": "setMaxLoopsLimit",
10852
+ "outputs": [],
10853
+ "stateMutability": "nonpayable",
10854
+ "type": "function"
10855
+ },
10856
+ {
10857
+ "inputs": [
10858
+ {
10859
+ "internalType": "contract VToken[]",
10860
+ "name": "vTokens",
10861
+ "type": "address[]"
10862
+ },
10863
+ {
10864
+ "internalType": "uint256[]",
10865
+ "name": "supplySpeeds",
10866
+ "type": "uint256[]"
10867
+ },
10868
+ {
10869
+ "internalType": "uint256[]",
10870
+ "name": "borrowSpeeds",
10871
+ "type": "uint256[]"
10872
+ }
10873
+ ],
10874
+ "name": "setRewardTokenSpeeds",
10875
+ "outputs": [],
10876
+ "stateMutability": "nonpayable",
10877
+ "type": "function"
10878
+ },
10879
+ {
10880
+ "inputs": [
10881
+ {
10882
+ "internalType": "address",
10883
+ "name": "newOwner",
10884
+ "type": "address"
10885
+ }
10886
+ ],
10887
+ "name": "transferOwnership",
10888
+ "outputs": [],
10889
+ "stateMutability": "nonpayable",
10890
+ "type": "function"
10891
+ },
10892
+ {
10893
+ "inputs": [
10894
+ {
10895
+ "internalType": "address",
10896
+ "name": "contributor",
10897
+ "type": "address"
10898
+ }
10899
+ ],
10900
+ "name": "updateContributorRewards",
10901
+ "outputs": [],
10902
+ "stateMutability": "nonpayable",
10903
+ "type": "function"
10904
+ },
10905
+ {
10906
+ "inputs": [
10907
+ {
10908
+ "internalType": "address",
10909
+ "name": "vToken",
10910
+ "type": "address"
10911
+ },
10912
+ {
10913
+ "components": [
10914
+ {
10915
+ "internalType": "uint256",
10916
+ "name": "mantissa",
10917
+ "type": "uint256"
10918
+ }
10919
+ ],
10920
+ "internalType": "struct ExponentialNoError.Exp",
10921
+ "name": "marketBorrowIndex",
10922
+ "type": "tuple"
10923
+ }
10924
+ ],
10925
+ "name": "updateRewardTokenBorrowIndex",
10926
+ "outputs": [],
10927
+ "stateMutability": "nonpayable",
10928
+ "type": "function"
10929
+ },
10930
+ {
10931
+ "inputs": [
10932
+ {
10933
+ "internalType": "address",
10934
+ "name": "vToken",
10935
+ "type": "address"
10257
10936
  }
10258
10937
  ],
10259
- "stateMutability": "view",
10938
+ "name": "updateRewardTokenSupplyIndex",
10939
+ "outputs": [],
10940
+ "stateMutability": "nonpayable",
10260
10941
  "type": "function"
10261
10942
  },
10262
10943
  {
10263
10944
  "inputs": [
10264
10945
  {
10265
10946
  "internalType": "address",
10266
- "name": "",
10947
+ "name": "_logic",
10267
10948
  "type": "address"
10268
10949
  },
10269
10950
  {
10270
10951
  "internalType": "address",
10271
- "name": "",
10952
+ "name": "admin_",
10272
10953
  "type": "address"
10273
- }
10274
- ],
10275
- "name": "rewardTokenBorrowerIndex",
10276
- "outputs": [
10954
+ },
10277
10955
  {
10278
- "internalType": "uint256",
10279
- "name": "",
10280
- "type": "uint256"
10956
+ "internalType": "bytes",
10957
+ "name": "_data",
10958
+ "type": "bytes"
10281
10959
  }
10282
10960
  ],
10283
- "stateMutability": "view",
10284
- "type": "function"
10285
- },
10961
+ "stateMutability": "payable",
10962
+ "type": "constructor"
10963
+ }
10964
+ ]
10965
+ },
10966
+ "RewardsDistributor_Core_0_Proxy": {
10967
+ "address": "0x4630B71C1BD27c99DD86aBB2A18C50c3F75C88fb",
10968
+ "abi": [
10286
10969
  {
10287
10970
  "inputs": [
10288
10971
  {
10289
10972
  "internalType": "address",
10290
- "name": "",
10973
+ "name": "_logic",
10291
10974
  "type": "address"
10292
- }
10293
- ],
10294
- "name": "rewardTokenContributorSpeeds",
10295
- "outputs": [
10975
+ },
10296
10976
  {
10297
- "internalType": "uint256",
10298
- "name": "",
10299
- "type": "uint256"
10977
+ "internalType": "address",
10978
+ "name": "admin_",
10979
+ "type": "address"
10980
+ },
10981
+ {
10982
+ "internalType": "bytes",
10983
+ "name": "_data",
10984
+ "type": "bytes"
10300
10985
  }
10301
10986
  ],
10302
- "stateMutability": "view",
10303
- "type": "function"
10987
+ "stateMutability": "payable",
10988
+ "type": "constructor"
10304
10989
  },
10305
10990
  {
10991
+ "anonymous": false,
10306
10992
  "inputs": [
10307
10993
  {
10994
+ "indexed": false,
10308
10995
  "internalType": "address",
10309
- "name": "",
10996
+ "name": "previousAdmin",
10310
10997
  "type": "address"
10311
10998
  },
10312
10999
  {
11000
+ "indexed": false,
10313
11001
  "internalType": "address",
10314
- "name": "",
11002
+ "name": "newAdmin",
10315
11003
  "type": "address"
10316
11004
  }
10317
11005
  ],
10318
- "name": "rewardTokenSupplierIndex",
10319
- "outputs": [
11006
+ "name": "AdminChanged",
11007
+ "type": "event"
11008
+ },
11009
+ {
11010
+ "anonymous": false,
11011
+ "inputs": [
10320
11012
  {
10321
- "internalType": "uint256",
10322
- "name": "",
10323
- "type": "uint256"
11013
+ "indexed": true,
11014
+ "internalType": "address",
11015
+ "name": "beacon",
11016
+ "type": "address"
10324
11017
  }
10325
11018
  ],
10326
- "stateMutability": "view",
10327
- "type": "function"
11019
+ "name": "BeaconUpgraded",
11020
+ "type": "event"
10328
11021
  },
10329
11022
  {
11023
+ "anonymous": false,
10330
11024
  "inputs": [
10331
11025
  {
11026
+ "indexed": true,
10332
11027
  "internalType": "address",
10333
- "name": "",
11028
+ "name": "implementation",
10334
11029
  "type": "address"
10335
11030
  }
10336
11031
  ],
10337
- "name": "rewardTokenSupplySpeeds",
11032
+ "name": "Upgraded",
11033
+ "type": "event"
11034
+ },
11035
+ {
11036
+ "stateMutability": "payable",
11037
+ "type": "fallback"
11038
+ },
11039
+ {
11040
+ "inputs": [],
11041
+ "name": "admin",
10338
11042
  "outputs": [
10339
11043
  {
10340
- "internalType": "uint256",
10341
- "name": "",
10342
- "type": "uint256"
11044
+ "internalType": "address",
11045
+ "name": "admin_",
11046
+ "type": "address"
10343
11047
  }
10344
11048
  ],
10345
- "stateMutability": "view",
11049
+ "stateMutability": "nonpayable",
10346
11050
  "type": "function"
10347
11051
  },
10348
11052
  {
10349
- "inputs": [
11053
+ "inputs": [],
11054
+ "name": "implementation",
11055
+ "outputs": [
10350
11056
  {
10351
11057
  "internalType": "address",
10352
- "name": "",
11058
+ "name": "implementation_",
10353
11059
  "type": "address"
10354
11060
  }
10355
11061
  ],
10356
- "name": "rewardTokenSupplyState",
10357
- "outputs": [
10358
- {
10359
- "internalType": "uint224",
10360
- "name": "index",
10361
- "type": "uint224"
10362
- },
10363
- {
10364
- "internalType": "uint32",
10365
- "name": "block",
10366
- "type": "uint32"
10367
- },
10368
- {
10369
- "internalType": "uint32",
10370
- "name": "lastRewardingBlock",
10371
- "type": "uint32"
10372
- }
10373
- ],
10374
- "stateMutability": "view",
11062
+ "stateMutability": "nonpayable",
10375
11063
  "type": "function"
10376
11064
  },
10377
11065
  {
10378
11066
  "inputs": [
10379
11067
  {
10380
11068
  "internalType": "address",
10381
- "name": "",
11069
+ "name": "newImplementation",
10382
11070
  "type": "address"
10383
11071
  }
10384
11072
  ],
10385
- "name": "rewardTokenSupplyStateTimeBased",
10386
- "outputs": [
10387
- {
10388
- "internalType": "uint224",
10389
- "name": "index",
10390
- "type": "uint224"
10391
- },
10392
- {
10393
- "internalType": "uint256",
10394
- "name": "timestamp",
10395
- "type": "uint256"
10396
- },
10397
- {
10398
- "internalType": "uint256",
10399
- "name": "lastRewardingTimestamp",
10400
- "type": "uint256"
10401
- }
10402
- ],
10403
- "stateMutability": "view",
11073
+ "name": "upgradeTo",
11074
+ "outputs": [],
11075
+ "stateMutability": "nonpayable",
10404
11076
  "type": "function"
10405
11077
  },
10406
11078
  {
10407
11079
  "inputs": [
10408
11080
  {
10409
11081
  "internalType": "address",
10410
- "name": "accessControlManager_",
11082
+ "name": "newImplementation",
10411
11083
  "type": "address"
11084
+ },
11085
+ {
11086
+ "internalType": "bytes",
11087
+ "name": "data",
11088
+ "type": "bytes"
10412
11089
  }
10413
11090
  ],
10414
- "name": "setAccessControlManager",
11091
+ "name": "upgradeToAndCall",
10415
11092
  "outputs": [],
10416
- "stateMutability": "nonpayable",
11093
+ "stateMutability": "payable",
10417
11094
  "type": "function"
10418
11095
  },
11096
+ {
11097
+ "stateMutability": "payable",
11098
+ "type": "receive"
11099
+ }
11100
+ ]
11101
+ },
11102
+ "TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump30000bps_timeBased": {
11103
+ "address": "0x683a772c1c525d4cA77074194471A02B62f15FF8",
11104
+ "abi": [
10419
11105
  {
10420
11106
  "inputs": [
10421
11107
  {
10422
- "internalType": "address",
10423
- "name": "contributor",
10424
- "type": "address"
11108
+ "internalType": "int256",
11109
+ "name": "baseRatePerYear_",
11110
+ "type": "int256"
11111
+ },
11112
+ {
11113
+ "internalType": "int256",
11114
+ "name": "multiplierPerYear_",
11115
+ "type": "int256"
11116
+ },
11117
+ {
11118
+ "internalType": "int256",
11119
+ "name": "kink1_",
11120
+ "type": "int256"
11121
+ },
11122
+ {
11123
+ "internalType": "int256",
11124
+ "name": "multiplier2PerYear_",
11125
+ "type": "int256"
11126
+ },
11127
+ {
11128
+ "internalType": "int256",
11129
+ "name": "baseRate2PerYear_",
11130
+ "type": "int256"
11131
+ },
11132
+ {
11133
+ "internalType": "int256",
11134
+ "name": "kink2_",
11135
+ "type": "int256"
11136
+ },
11137
+ {
11138
+ "internalType": "int256",
11139
+ "name": "jumpMultiplierPerYear_",
11140
+ "type": "int256"
11141
+ },
11142
+ {
11143
+ "internalType": "bool",
11144
+ "name": "timeBased_",
11145
+ "type": "bool"
10425
11146
  },
10426
11147
  {
10427
11148
  "internalType": "uint256",
10428
- "name": "rewardTokenSpeed",
11149
+ "name": "blocksPerYear_",
10429
11150
  "type": "uint256"
10430
11151
  }
10431
11152
  ],
10432
- "name": "setContributorRewardTokenSpeed",
10433
- "outputs": [],
10434
- "stateMutability": "nonpayable",
11153
+ "stateMutability": "nonpayable",
11154
+ "type": "constructor"
11155
+ },
11156
+ {
11157
+ "inputs": [],
11158
+ "name": "InvalidBlocksPerYear",
11159
+ "type": "error"
11160
+ },
11161
+ {
11162
+ "inputs": [],
11163
+ "name": "InvalidKink",
11164
+ "type": "error"
11165
+ },
11166
+ {
11167
+ "inputs": [],
11168
+ "name": "InvalidTimeBasedConfiguration",
11169
+ "type": "error"
11170
+ },
11171
+ {
11172
+ "inputs": [],
11173
+ "name": "NegativeValueNotAllowed",
11174
+ "type": "error"
11175
+ },
11176
+ {
11177
+ "inputs": [],
11178
+ "name": "BASE_RATE_2_PER_BLOCK_OR_SECOND",
11179
+ "outputs": [
11180
+ {
11181
+ "internalType": "int256",
11182
+ "name": "",
11183
+ "type": "int256"
11184
+ }
11185
+ ],
11186
+ "stateMutability": "view",
10435
11187
  "type": "function"
10436
11188
  },
10437
11189
  {
10438
- "inputs": [
10439
- {
10440
- "internalType": "contract VToken[]",
10441
- "name": "vTokens",
10442
- "type": "address[]"
10443
- },
10444
- {
10445
- "internalType": "uint256[]",
10446
- "name": "supplyLastRewardingBlockTimestamps",
10447
- "type": "uint256[]"
10448
- },
11190
+ "inputs": [],
11191
+ "name": "BASE_RATE_PER_BLOCK_OR_SECOND",
11192
+ "outputs": [
10449
11193
  {
10450
- "internalType": "uint256[]",
10451
- "name": "borrowLastRewardingBlockTimestamps",
10452
- "type": "uint256[]"
11194
+ "internalType": "int256",
11195
+ "name": "",
11196
+ "type": "int256"
10453
11197
  }
10454
11198
  ],
10455
- "name": "setLastRewardingBlockTimestamps",
10456
- "outputs": [],
10457
- "stateMutability": "nonpayable",
11199
+ "stateMutability": "view",
10458
11200
  "type": "function"
10459
11201
  },
10460
11202
  {
10461
- "inputs": [
10462
- {
10463
- "internalType": "contract VToken[]",
10464
- "name": "vTokens",
10465
- "type": "address[]"
10466
- },
10467
- {
10468
- "internalType": "uint32[]",
10469
- "name": "supplyLastRewardingBlocks",
10470
- "type": "uint32[]"
10471
- },
11203
+ "inputs": [],
11204
+ "name": "JUMP_MULTIPLIER_PER_BLOCK_OR_SECOND",
11205
+ "outputs": [
10472
11206
  {
10473
- "internalType": "uint32[]",
10474
- "name": "borrowLastRewardingBlocks",
10475
- "type": "uint32[]"
11207
+ "internalType": "int256",
11208
+ "name": "",
11209
+ "type": "int256"
10476
11210
  }
10477
11211
  ],
10478
- "name": "setLastRewardingBlocks",
10479
- "outputs": [],
10480
- "stateMutability": "nonpayable",
11212
+ "stateMutability": "view",
10481
11213
  "type": "function"
10482
11214
  },
10483
11215
  {
10484
- "inputs": [
11216
+ "inputs": [],
11217
+ "name": "KINK_1",
11218
+ "outputs": [
10485
11219
  {
10486
- "internalType": "uint256",
10487
- "name": "limit",
10488
- "type": "uint256"
11220
+ "internalType": "int256",
11221
+ "name": "",
11222
+ "type": "int256"
10489
11223
  }
10490
11224
  ],
10491
- "name": "setMaxLoopsLimit",
10492
- "outputs": [],
10493
- "stateMutability": "nonpayable",
11225
+ "stateMutability": "view",
10494
11226
  "type": "function"
10495
11227
  },
10496
11228
  {
10497
- "inputs": [
10498
- {
10499
- "internalType": "contract VToken[]",
10500
- "name": "vTokens",
10501
- "type": "address[]"
10502
- },
10503
- {
10504
- "internalType": "uint256[]",
10505
- "name": "supplySpeeds",
10506
- "type": "uint256[]"
10507
- },
11229
+ "inputs": [],
11230
+ "name": "KINK_2",
11231
+ "outputs": [
10508
11232
  {
10509
- "internalType": "uint256[]",
10510
- "name": "borrowSpeeds",
10511
- "type": "uint256[]"
11233
+ "internalType": "int256",
11234
+ "name": "",
11235
+ "type": "int256"
10512
11236
  }
10513
11237
  ],
10514
- "name": "setRewardTokenSpeeds",
10515
- "outputs": [],
10516
- "stateMutability": "nonpayable",
11238
+ "stateMutability": "view",
10517
11239
  "type": "function"
10518
11240
  },
10519
11241
  {
10520
- "inputs": [
11242
+ "inputs": [],
11243
+ "name": "MULTIPLIER_2_PER_BLOCK_OR_SECOND",
11244
+ "outputs": [
10521
11245
  {
10522
- "internalType": "address",
10523
- "name": "newOwner",
10524
- "type": "address"
11246
+ "internalType": "int256",
11247
+ "name": "",
11248
+ "type": "int256"
10525
11249
  }
10526
11250
  ],
10527
- "name": "transferOwnership",
10528
- "outputs": [],
10529
- "stateMutability": "nonpayable",
11251
+ "stateMutability": "view",
10530
11252
  "type": "function"
10531
11253
  },
10532
11254
  {
10533
- "inputs": [
11255
+ "inputs": [],
11256
+ "name": "MULTIPLIER_PER_BLOCK_OR_SECOND",
11257
+ "outputs": [
10534
11258
  {
10535
- "internalType": "address",
10536
- "name": "contributor",
10537
- "type": "address"
11259
+ "internalType": "int256",
11260
+ "name": "",
11261
+ "type": "int256"
10538
11262
  }
10539
11263
  ],
10540
- "name": "updateContributorRewards",
10541
- "outputs": [],
10542
- "stateMutability": "nonpayable",
11264
+ "stateMutability": "view",
10543
11265
  "type": "function"
10544
11266
  },
10545
11267
  {
10546
- "inputs": [
10547
- {
10548
- "internalType": "address",
10549
- "name": "vToken",
10550
- "type": "address"
10551
- },
11268
+ "inputs": [],
11269
+ "name": "RATE_1",
11270
+ "outputs": [
10552
11271
  {
10553
- "components": [
10554
- {
10555
- "internalType": "uint256",
10556
- "name": "mantissa",
10557
- "type": "uint256"
10558
- }
10559
- ],
10560
- "internalType": "struct ExponentialNoError.Exp",
10561
- "name": "marketBorrowIndex",
10562
- "type": "tuple"
11272
+ "internalType": "int256",
11273
+ "name": "",
11274
+ "type": "int256"
10563
11275
  }
10564
11276
  ],
10565
- "name": "updateRewardTokenBorrowIndex",
10566
- "outputs": [],
10567
- "stateMutability": "nonpayable",
11277
+ "stateMutability": "view",
10568
11278
  "type": "function"
10569
11279
  },
10570
11280
  {
10571
- "inputs": [
11281
+ "inputs": [],
11282
+ "name": "RATE_2",
11283
+ "outputs": [
10572
11284
  {
10573
- "internalType": "address",
10574
- "name": "vToken",
10575
- "type": "address"
11285
+ "internalType": "int256",
11286
+ "name": "",
11287
+ "type": "int256"
10576
11288
  }
10577
11289
  ],
10578
- "name": "updateRewardTokenSupplyIndex",
10579
- "outputs": [],
10580
- "stateMutability": "nonpayable",
11290
+ "stateMutability": "view",
10581
11291
  "type": "function"
10582
11292
  },
10583
11293
  {
10584
- "inputs": [
10585
- {
10586
- "internalType": "address",
10587
- "name": "_logic",
10588
- "type": "address"
10589
- },
10590
- {
10591
- "internalType": "address",
10592
- "name": "admin_",
10593
- "type": "address"
10594
- },
11294
+ "inputs": [],
11295
+ "name": "blocksOrSecondsPerYear",
11296
+ "outputs": [
10595
11297
  {
10596
- "internalType": "bytes",
10597
- "name": "_data",
10598
- "type": "bytes"
11298
+ "internalType": "uint256",
11299
+ "name": "",
11300
+ "type": "uint256"
10599
11301
  }
10600
11302
  ],
10601
- "stateMutability": "payable",
10602
- "type": "constructor"
10603
- }
10604
- ]
10605
- },
10606
- "RewardsDistributor_Core_0_Proxy": {
10607
- "address": "0x4630B71C1BD27c99DD86aBB2A18C50c3F75C88fb",
10608
- "abi": [
11303
+ "stateMutability": "view",
11304
+ "type": "function"
11305
+ },
10609
11306
  {
10610
- "inputs": [
10611
- {
10612
- "internalType": "address",
10613
- "name": "_logic",
10614
- "type": "address"
10615
- },
10616
- {
10617
- "internalType": "address",
10618
- "name": "admin_",
10619
- "type": "address"
10620
- },
11307
+ "inputs": [],
11308
+ "name": "getBlockNumberOrTimestamp",
11309
+ "outputs": [
10621
11310
  {
10622
- "internalType": "bytes",
10623
- "name": "_data",
10624
- "type": "bytes"
11311
+ "internalType": "uint256",
11312
+ "name": "",
11313
+ "type": "uint256"
10625
11314
  }
10626
11315
  ],
10627
- "stateMutability": "payable",
10628
- "type": "constructor"
11316
+ "stateMutability": "view",
11317
+ "type": "function"
10629
11318
  },
10630
11319
  {
10631
- "anonymous": false,
10632
11320
  "inputs": [
10633
11321
  {
10634
- "indexed": false,
10635
- "internalType": "address",
10636
- "name": "previousAdmin",
10637
- "type": "address"
11322
+ "internalType": "uint256",
11323
+ "name": "cash",
11324
+ "type": "uint256"
10638
11325
  },
10639
11326
  {
10640
- "indexed": false,
10641
- "internalType": "address",
10642
- "name": "newAdmin",
10643
- "type": "address"
11327
+ "internalType": "uint256",
11328
+ "name": "borrows",
11329
+ "type": "uint256"
11330
+ },
11331
+ {
11332
+ "internalType": "uint256",
11333
+ "name": "reserves",
11334
+ "type": "uint256"
11335
+ },
11336
+ {
11337
+ "internalType": "uint256",
11338
+ "name": "badDebt",
11339
+ "type": "uint256"
10644
11340
  }
10645
11341
  ],
10646
- "name": "AdminChanged",
10647
- "type": "event"
10648
- },
10649
- {
10650
- "anonymous": false,
10651
- "inputs": [
11342
+ "name": "getBorrowRate",
11343
+ "outputs": [
10652
11344
  {
10653
- "indexed": true,
10654
- "internalType": "address",
10655
- "name": "beacon",
10656
- "type": "address"
11345
+ "internalType": "uint256",
11346
+ "name": "",
11347
+ "type": "uint256"
10657
11348
  }
10658
11349
  ],
10659
- "name": "BeaconUpgraded",
10660
- "type": "event"
11350
+ "stateMutability": "view",
11351
+ "type": "function"
10661
11352
  },
10662
11353
  {
10663
- "anonymous": false,
10664
11354
  "inputs": [
10665
11355
  {
10666
- "indexed": true,
10667
- "internalType": "address",
10668
- "name": "implementation",
10669
- "type": "address"
11356
+ "internalType": "uint256",
11357
+ "name": "cash",
11358
+ "type": "uint256"
11359
+ },
11360
+ {
11361
+ "internalType": "uint256",
11362
+ "name": "borrows",
11363
+ "type": "uint256"
11364
+ },
11365
+ {
11366
+ "internalType": "uint256",
11367
+ "name": "reserves",
11368
+ "type": "uint256"
11369
+ },
11370
+ {
11371
+ "internalType": "uint256",
11372
+ "name": "reserveFactorMantissa",
11373
+ "type": "uint256"
11374
+ },
11375
+ {
11376
+ "internalType": "uint256",
11377
+ "name": "badDebt",
11378
+ "type": "uint256"
10670
11379
  }
10671
11380
  ],
10672
- "name": "Upgraded",
10673
- "type": "event"
10674
- },
10675
- {
10676
- "stateMutability": "payable",
10677
- "type": "fallback"
10678
- },
10679
- {
10680
- "inputs": [],
10681
- "name": "admin",
11381
+ "name": "getSupplyRate",
10682
11382
  "outputs": [
10683
11383
  {
10684
- "internalType": "address",
10685
- "name": "admin_",
10686
- "type": "address"
11384
+ "internalType": "uint256",
11385
+ "name": "",
11386
+ "type": "uint256"
10687
11387
  }
10688
11388
  ],
10689
- "stateMutability": "nonpayable",
11389
+ "stateMutability": "view",
10690
11390
  "type": "function"
10691
11391
  },
10692
11392
  {
10693
11393
  "inputs": [],
10694
- "name": "implementation",
11394
+ "name": "isInterestRateModel",
10695
11395
  "outputs": [
10696
11396
  {
10697
- "internalType": "address",
10698
- "name": "implementation_",
10699
- "type": "address"
11397
+ "internalType": "bool",
11398
+ "name": "",
11399
+ "type": "bool"
10700
11400
  }
10701
11401
  ],
10702
- "stateMutability": "nonpayable",
11402
+ "stateMutability": "pure",
10703
11403
  "type": "function"
10704
11404
  },
10705
11405
  {
10706
- "inputs": [
11406
+ "inputs": [],
11407
+ "name": "isTimeBased",
11408
+ "outputs": [
10707
11409
  {
10708
- "internalType": "address",
10709
- "name": "newImplementation",
10710
- "type": "address"
11410
+ "internalType": "bool",
11411
+ "name": "",
11412
+ "type": "bool"
10711
11413
  }
10712
11414
  ],
10713
- "name": "upgradeTo",
10714
- "outputs": [],
10715
- "stateMutability": "nonpayable",
11415
+ "stateMutability": "view",
10716
11416
  "type": "function"
10717
11417
  },
10718
11418
  {
10719
11419
  "inputs": [
10720
11420
  {
10721
- "internalType": "address",
10722
- "name": "newImplementation",
10723
- "type": "address"
11421
+ "internalType": "uint256",
11422
+ "name": "cash",
11423
+ "type": "uint256"
10724
11424
  },
10725
11425
  {
10726
- "internalType": "bytes",
10727
- "name": "data",
10728
- "type": "bytes"
11426
+ "internalType": "uint256",
11427
+ "name": "borrows",
11428
+ "type": "uint256"
11429
+ },
11430
+ {
11431
+ "internalType": "uint256",
11432
+ "name": "reserves",
11433
+ "type": "uint256"
11434
+ },
11435
+ {
11436
+ "internalType": "uint256",
11437
+ "name": "badDebt",
11438
+ "type": "uint256"
10729
11439
  }
10730
11440
  ],
10731
- "name": "upgradeToAndCall",
10732
- "outputs": [],
10733
- "stateMutability": "payable",
11441
+ "name": "utilizationRate",
11442
+ "outputs": [
11443
+ {
11444
+ "internalType": "uint256",
11445
+ "name": "",
11446
+ "type": "uint256"
11447
+ }
11448
+ ],
11449
+ "stateMutability": "pure",
10734
11450
  "type": "function"
10735
- },
10736
- {
10737
- "stateMutability": "payable",
10738
- "type": "receive"
10739
11451
  }
10740
11452
  ]
10741
11453
  },
10742
- "TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump30000bps_timeBased": {
10743
- "address": "0x683a772c1c525d4cA77074194471A02B62f15FF8",
11454
+ "TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump8000bps_timeBased": {
11455
+ "address": "0x3AD4F23275F8d3eda8C210e9FDB875769BBa1987",
10744
11456
  "abi": [
10745
11457
  {
10746
11458
  "inputs": [
@@ -13415,6 +14127,154 @@
13415
14127
  }
13416
14128
  ]
13417
14129
  },
14130
+ "VToken_vUSD₮0_Core": {
14131
+ "address": "0xDa7Ce7Ba016d266645712e2e4Ebc6cC75eA8E4CD",
14132
+ "abi": [
14133
+ {
14134
+ "inputs": [
14135
+ {
14136
+ "internalType": "address",
14137
+ "name": "beacon",
14138
+ "type": "address"
14139
+ },
14140
+ {
14141
+ "internalType": "bytes",
14142
+ "name": "data",
14143
+ "type": "bytes"
14144
+ }
14145
+ ],
14146
+ "stateMutability": "payable",
14147
+ "type": "constructor"
14148
+ },
14149
+ {
14150
+ "anonymous": false,
14151
+ "inputs": [
14152
+ {
14153
+ "indexed": false,
14154
+ "internalType": "address",
14155
+ "name": "previousAdmin",
14156
+ "type": "address"
14157
+ },
14158
+ {
14159
+ "indexed": false,
14160
+ "internalType": "address",
14161
+ "name": "newAdmin",
14162
+ "type": "address"
14163
+ }
14164
+ ],
14165
+ "name": "AdminChanged",
14166
+ "type": "event"
14167
+ },
14168
+ {
14169
+ "anonymous": false,
14170
+ "inputs": [
14171
+ {
14172
+ "indexed": true,
14173
+ "internalType": "address",
14174
+ "name": "beacon",
14175
+ "type": "address"
14176
+ }
14177
+ ],
14178
+ "name": "BeaconUpgraded",
14179
+ "type": "event"
14180
+ },
14181
+ {
14182
+ "anonymous": false,
14183
+ "inputs": [
14184
+ {
14185
+ "indexed": true,
14186
+ "internalType": "address",
14187
+ "name": "implementation",
14188
+ "type": "address"
14189
+ }
14190
+ ],
14191
+ "name": "Upgraded",
14192
+ "type": "event"
14193
+ },
14194
+ {
14195
+ "stateMutability": "payable",
14196
+ "type": "fallback"
14197
+ },
14198
+ {
14199
+ "stateMutability": "payable",
14200
+ "type": "receive"
14201
+ }
14202
+ ]
14203
+ },
14204
+ "VToken_vWBTC_Core": {
14205
+ "address": "0x68e2A6F7257FAc2F5a557b9E83E1fE6D5B408CE5",
14206
+ "abi": [
14207
+ {
14208
+ "inputs": [
14209
+ {
14210
+ "internalType": "address",
14211
+ "name": "beacon",
14212
+ "type": "address"
14213
+ },
14214
+ {
14215
+ "internalType": "bytes",
14216
+ "name": "data",
14217
+ "type": "bytes"
14218
+ }
14219
+ ],
14220
+ "stateMutability": "payable",
14221
+ "type": "constructor"
14222
+ },
14223
+ {
14224
+ "anonymous": false,
14225
+ "inputs": [
14226
+ {
14227
+ "indexed": false,
14228
+ "internalType": "address",
14229
+ "name": "previousAdmin",
14230
+ "type": "address"
14231
+ },
14232
+ {
14233
+ "indexed": false,
14234
+ "internalType": "address",
14235
+ "name": "newAdmin",
14236
+ "type": "address"
14237
+ }
14238
+ ],
14239
+ "name": "AdminChanged",
14240
+ "type": "event"
14241
+ },
14242
+ {
14243
+ "anonymous": false,
14244
+ "inputs": [
14245
+ {
14246
+ "indexed": true,
14247
+ "internalType": "address",
14248
+ "name": "beacon",
14249
+ "type": "address"
14250
+ }
14251
+ ],
14252
+ "name": "BeaconUpgraded",
14253
+ "type": "event"
14254
+ },
14255
+ {
14256
+ "anonymous": false,
14257
+ "inputs": [
14258
+ {
14259
+ "indexed": true,
14260
+ "internalType": "address",
14261
+ "name": "implementation",
14262
+ "type": "address"
14263
+ }
14264
+ ],
14265
+ "name": "Upgraded",
14266
+ "type": "event"
14267
+ },
14268
+ {
14269
+ "stateMutability": "payable",
14270
+ "type": "fallback"
14271
+ },
14272
+ {
14273
+ "stateMutability": "payable",
14274
+ "type": "receive"
14275
+ }
14276
+ ]
14277
+ },
13418
14278
  "VToken_vWETH_Core": {
13419
14279
  "address": "0xc219BC179C7cDb37eACB03f993f9fDc2495e3374",
13420
14280
  "abi": [