@venusprotocol/isolated-pools 3.8.0-dev.3 → 3.8.0-dev.5

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 (44) hide show
  1. package/deployments/arbitrumone/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +552 -0
  2. package/deployments/arbitrumone.json +352 -0
  3. package/deployments/arbitrumone_addresses.json +1 -0
  4. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  5. package/deployments/bscmainnet/JumpRateModelV2_base200bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  6. package/deployments/bscmainnet.json +825 -105
  7. package/deployments/bscmainnet_addresses.json +2 -0
  8. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1750bps_jump25000bps_kink8000bps.json +608 -0
  9. package/deployments/ethereum/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  10. package/deployments/ethereum/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +552 -0
  11. package/deployments/ethereum.json +2011 -939
  12. package/deployments/ethereum_addresses.json +3 -0
  13. package/deployments/zksyncmainnet/JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps.json +668 -0
  14. package/deployments/zksyncmainnet/TwoKinks_base0bps_slope1500bps_kink8000bps_slope29000bps_base20bps_kink29000bps_jump30000bps.json +651 -0
  15. package/deployments/zksyncmainnet/VToken_vwUSDM_Core.json +317 -0
  16. package/deployments/zksyncmainnet/solcInputs/7ee56954f4157666c7d07cfa8db6f8de.json +445 -0
  17. package/deployments/zksyncmainnet/solcInputs/c84b0f085ad65b3aa38a5f0d3790c387.json +448 -0
  18. package/deployments/zksyncmainnet.json +1243 -457
  19. package/deployments/zksyncmainnet_addresses.json +4 -1
  20. package/deployments/zksyncsepolia/JumpRateModelV2_base0bps_slope687bps_jump25000bps_kink8000bps.json +668 -0
  21. package/deployments/zksyncsepolia/MockUSDM.json +519 -0
  22. package/deployments/zksyncsepolia/MockwUSDM.json +576 -0
  23. package/deployments/zksyncsepolia/VToken_vwUSDM_Core.json +317 -0
  24. package/deployments/zksyncsepolia/solcInputs/c84b0f085ad65b3aa38a5f0d3790c387.json +448 -0
  25. package/deployments/zksyncsepolia.json +1160 -89
  26. package/deployments/zksyncsepolia_addresses.json +5 -1
  27. package/dist/deploy/001-deploy-mock-tokens.js +3 -2
  28. package/dist/deploy/009-deploy-vtokens.js +47 -3
  29. package/dist/deploy/019-deploy-ir-models.js +36 -2
  30. package/dist/deployments/arbitrumone.json +352 -0
  31. package/dist/deployments/bscmainnet.json +825 -105
  32. package/dist/deployments/ethereum.json +2011 -939
  33. package/dist/deployments/zksyncmainnet.json +1243 -457
  34. package/dist/deployments/zksyncsepolia.json +1160 -89
  35. package/dist/hardhat.config.js +7 -0
  36. package/dist/helpers/deploymentConfig.d.ts +6 -1
  37. package/dist/helpers/deploymentConfig.js +125 -38
  38. package/dist/helpers/deploymentUtils.d.ts +2 -0
  39. package/dist/helpers/deploymentUtils.js +6 -1
  40. package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
  41. package/dist/typechain/factories/IVToken__factory.js +201 -1
  42. package/package.json +1 -1
  43. package/typechain/IVToken.d.ts +341 -4
  44. package/typechain/factories/IVToken__factory.ts +201 -1
@@ -3988,8 +3988,8 @@
3988
3988
  }
3989
3989
  ]
3990
3990
  },
3991
- "JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
3992
- "address": "0x49a06B82b3c907AB140879F73f1d8dE262962c30",
3991
+ "JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps": {
3992
+ "address": "0xb92d4Be4532868CDEd9f5Df6eAb3507a3bC542e5",
3993
3993
  "abi": [
3994
3994
  {
3995
3995
  "inputs": [
@@ -4348,8 +4348,8 @@
4348
4348
  }
4349
4349
  ]
4350
4350
  },
4351
- "JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": {
4352
- "address": "0xf03DAB984aCC5761df5f71Cc67fEA8F185f578fd",
4351
+ "JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
4352
+ "address": "0x49a06B82b3c907AB140879F73f1d8dE262962c30",
4353
4353
  "abi": [
4354
4354
  {
4355
4355
  "inputs": [
@@ -4708,8 +4708,8 @@
4708
4708
  }
4709
4709
  ]
4710
4710
  },
4711
- "JumpRateModelV2_base0bps_slope375bps_jump25000bps_kink8000bps": {
4712
- "address": "0xb36b273601Ac5e0CaBD0845b7B8caa3426611Ca0",
4711
+ "JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": {
4712
+ "address": "0xf03DAB984aCC5761df5f71Cc67fEA8F185f578fd",
4713
4713
  "abi": [
4714
4714
  {
4715
4715
  "inputs": [
@@ -5068,8 +5068,8 @@
5068
5068
  }
5069
5069
  ]
5070
5070
  },
5071
- "JumpRateModelV2_base0bps_slope875bps_jump20000bps_kink8000bps": {
5072
- "address": "0x0B42C0340CbC6CE1c0fc7302D9Ad0ba4A6F89c98",
5071
+ "JumpRateModelV2_base0bps_slope375bps_jump25000bps_kink8000bps": {
5072
+ "address": "0xb36b273601Ac5e0CaBD0845b7B8caa3426611Ca0",
5073
5073
  "abi": [
5074
5074
  {
5075
5075
  "inputs": [
@@ -5428,8 +5428,8 @@
5428
5428
  }
5429
5429
  ]
5430
5430
  },
5431
- "JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps": {
5432
- "address": "0x7DE84548C2BaDC047C5e7F0B7f9a4ba660d10dAD",
5431
+ "JumpRateModelV2_base0bps_slope875bps_jump20000bps_kink8000bps": {
5432
+ "address": "0x0B42C0340CbC6CE1c0fc7302D9Ad0ba4A6F89c98",
5433
5433
  "abi": [
5434
5434
  {
5435
5435
  "inputs": [
@@ -5788,8 +5788,8 @@
5788
5788
  }
5789
5789
  ]
5790
5790
  },
5791
- "JumpRateModelV2_base0bps_slope90bps_jump30000bps_kink9000bps": {
5792
- "address": "0x8037f793A298789736fc1cb7e3154573647CDD11",
5791
+ "JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps": {
5792
+ "address": "0x7DE84548C2BaDC047C5e7F0B7f9a4ba660d10dAD",
5793
5793
  "abi": [
5794
5794
  {
5795
5795
  "inputs": [
@@ -6148,24 +6148,24 @@
6148
6148
  }
6149
6149
  ]
6150
6150
  },
6151
- "JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps": {
6152
- "address": "0x0820d5DA817Ac2eAf3757829B255B56354188bd1",
6151
+ "JumpRateModelV2_base0bps_slope90bps_jump30000bps_kink9000bps": {
6152
+ "address": "0x8037f793A298789736fc1cb7e3154573647CDD11",
6153
6153
  "abi": [
6154
6154
  {
6155
6155
  "inputs": [
6156
6156
  {
6157
6157
  "internalType": "uint256",
6158
- "name": "baseRatePerYear",
6158
+ "name": "baseRatePerYear_",
6159
6159
  "type": "uint256"
6160
6160
  },
6161
6161
  {
6162
6162
  "internalType": "uint256",
6163
- "name": "multiplierPerYear",
6163
+ "name": "multiplierPerYear_",
6164
6164
  "type": "uint256"
6165
6165
  },
6166
6166
  {
6167
6167
  "internalType": "uint256",
6168
- "name": "jumpMultiplierPerYear",
6168
+ "name": "jumpMultiplierPerYear_",
6169
6169
  "type": "uint256"
6170
6170
  },
6171
6171
  {
@@ -6177,11 +6177,31 @@
6177
6177
  "internalType": "contract IAccessControlManagerV8",
6178
6178
  "name": "accessControlManager_",
6179
6179
  "type": "address"
6180
+ },
6181
+ {
6182
+ "internalType": "bool",
6183
+ "name": "timeBased_",
6184
+ "type": "bool"
6185
+ },
6186
+ {
6187
+ "internalType": "uint256",
6188
+ "name": "blocksPerYear_",
6189
+ "type": "uint256"
6180
6190
  }
6181
6191
  ],
6182
6192
  "stateMutability": "nonpayable",
6183
6193
  "type": "constructor"
6184
6194
  },
6195
+ {
6196
+ "inputs": [],
6197
+ "name": "InvalidBlocksPerYear",
6198
+ "type": "error"
6199
+ },
6200
+ {
6201
+ "inputs": [],
6202
+ "name": "InvalidTimeBasedConfiguration",
6203
+ "type": "error"
6204
+ },
6185
6205
  {
6186
6206
  "inputs": [
6187
6207
  {
@@ -6209,19 +6229,19 @@
6209
6229
  {
6210
6230
  "indexed": false,
6211
6231
  "internalType": "uint256",
6212
- "name": "baseRatePerBlock",
6232
+ "name": "baseRatePerBlockOrTimestamp",
6213
6233
  "type": "uint256"
6214
6234
  },
6215
6235
  {
6216
6236
  "indexed": false,
6217
6237
  "internalType": "uint256",
6218
- "name": "multiplierPerBlock",
6238
+ "name": "multiplierPerBlockOrTimestamp",
6219
6239
  "type": "uint256"
6220
6240
  },
6221
6241
  {
6222
6242
  "indexed": false,
6223
6243
  "internalType": "uint256",
6224
- "name": "jumpMultiplierPerBlock",
6244
+ "name": "jumpMultiplierPerBlockOrTimestamp",
6225
6245
  "type": "uint256"
6226
6246
  },
6227
6247
  {
@@ -6260,6 +6280,32 @@
6260
6280
  "stateMutability": "view",
6261
6281
  "type": "function"
6262
6282
  },
6283
+ {
6284
+ "inputs": [],
6285
+ "name": "blocksOrSecondsPerYear",
6286
+ "outputs": [
6287
+ {
6288
+ "internalType": "uint256",
6289
+ "name": "",
6290
+ "type": "uint256"
6291
+ }
6292
+ ],
6293
+ "stateMutability": "view",
6294
+ "type": "function"
6295
+ },
6296
+ {
6297
+ "inputs": [],
6298
+ "name": "getBlockNumberOrTimestamp",
6299
+ "outputs": [
6300
+ {
6301
+ "internalType": "uint256",
6302
+ "name": "",
6303
+ "type": "uint256"
6304
+ }
6305
+ ],
6306
+ "stateMutability": "view",
6307
+ "type": "function"
6308
+ },
6263
6309
  {
6264
6310
  "inputs": [
6265
6311
  {
@@ -6346,6 +6392,19 @@
6346
6392
  "stateMutability": "pure",
6347
6393
  "type": "function"
6348
6394
  },
6395
+ {
6396
+ "inputs": [],
6397
+ "name": "isTimeBased",
6398
+ "outputs": [
6399
+ {
6400
+ "internalType": "bool",
6401
+ "name": "",
6402
+ "type": "bool"
6403
+ }
6404
+ ],
6405
+ "stateMutability": "view",
6406
+ "type": "function"
6407
+ },
6349
6408
  {
6350
6409
  "inputs": [],
6351
6410
  "name": "jumpMultiplierPerBlock",
@@ -6449,8 +6508,8 @@
6449
6508
  }
6450
6509
  ]
6451
6510
  },
6452
- "JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink8000bps": {
6453
- "address": "0x4021Da92B4e64126Cd5A2d6B305FB0e9e4ed2024",
6511
+ "JumpRateModelV2_base200bps_slope1000bps_jump25000bps_kink5000bps": {
6512
+ "address": "0x0820d5DA817Ac2eAf3757829B255B56354188bd1",
6454
6513
  "abi": [
6455
6514
  {
6456
6515
  "inputs": [
@@ -6750,24 +6809,24 @@
6750
6809
  }
6751
6810
  ]
6752
6811
  },
6753
- "JumpRateModelV2_base200bps_slope1350bps_jump25000bps_kink8000bps": {
6754
- "address": "0x3aB2e4594D9C81455b330B423Dec61E49EB11667",
6812
+ "JumpRateModelV2_base200bps_slope1000bps_jump30000bps_kink8000bps": {
6813
+ "address": "0x4021Da92B4e64126Cd5A2d6B305FB0e9e4ed2024",
6755
6814
  "abi": [
6756
6815
  {
6757
6816
  "inputs": [
6758
6817
  {
6759
6818
  "internalType": "uint256",
6760
- "name": "baseRatePerYear_",
6819
+ "name": "baseRatePerYear",
6761
6820
  "type": "uint256"
6762
6821
  },
6763
6822
  {
6764
6823
  "internalType": "uint256",
6765
- "name": "multiplierPerYear_",
6824
+ "name": "multiplierPerYear",
6766
6825
  "type": "uint256"
6767
6826
  },
6768
6827
  {
6769
6828
  "internalType": "uint256",
6770
- "name": "jumpMultiplierPerYear_",
6829
+ "name": "jumpMultiplierPerYear",
6771
6830
  "type": "uint256"
6772
6831
  },
6773
6832
  {
@@ -6779,31 +6838,11 @@
6779
6838
  "internalType": "contract IAccessControlManagerV8",
6780
6839
  "name": "accessControlManager_",
6781
6840
  "type": "address"
6782
- },
6783
- {
6784
- "internalType": "bool",
6785
- "name": "timeBased_",
6786
- "type": "bool"
6787
- },
6788
- {
6789
- "internalType": "uint256",
6790
- "name": "blocksPerYear_",
6791
- "type": "uint256"
6792
6841
  }
6793
6842
  ],
6794
6843
  "stateMutability": "nonpayable",
6795
6844
  "type": "constructor"
6796
6845
  },
6797
- {
6798
- "inputs": [],
6799
- "name": "InvalidBlocksPerYear",
6800
- "type": "error"
6801
- },
6802
- {
6803
- "inputs": [],
6804
- "name": "InvalidTimeBasedConfiguration",
6805
- "type": "error"
6806
- },
6807
6846
  {
6808
6847
  "inputs": [
6809
6848
  {
@@ -6831,19 +6870,19 @@
6831
6870
  {
6832
6871
  "indexed": false,
6833
6872
  "internalType": "uint256",
6834
- "name": "baseRatePerBlockOrTimestamp",
6873
+ "name": "baseRatePerBlock",
6835
6874
  "type": "uint256"
6836
6875
  },
6837
6876
  {
6838
6877
  "indexed": false,
6839
6878
  "internalType": "uint256",
6840
- "name": "multiplierPerBlockOrTimestamp",
6879
+ "name": "multiplierPerBlock",
6841
6880
  "type": "uint256"
6842
6881
  },
6843
6882
  {
6844
6883
  "indexed": false,
6845
6884
  "internalType": "uint256",
6846
- "name": "jumpMultiplierPerBlockOrTimestamp",
6885
+ "name": "jumpMultiplierPerBlock",
6847
6886
  "type": "uint256"
6848
6887
  },
6849
6888
  {
@@ -6882,32 +6921,6 @@
6882
6921
  "stateMutability": "view",
6883
6922
  "type": "function"
6884
6923
  },
6885
- {
6886
- "inputs": [],
6887
- "name": "blocksOrSecondsPerYear",
6888
- "outputs": [
6889
- {
6890
- "internalType": "uint256",
6891
- "name": "",
6892
- "type": "uint256"
6893
- }
6894
- ],
6895
- "stateMutability": "view",
6896
- "type": "function"
6897
- },
6898
- {
6899
- "inputs": [],
6900
- "name": "getBlockNumberOrTimestamp",
6901
- "outputs": [
6902
- {
6903
- "internalType": "uint256",
6904
- "name": "",
6905
- "type": "uint256"
6906
- }
6907
- ],
6908
- "stateMutability": "view",
6909
- "type": "function"
6910
- },
6911
6924
  {
6912
6925
  "inputs": [
6913
6926
  {
@@ -6994,19 +7007,6 @@
6994
7007
  "stateMutability": "pure",
6995
7008
  "type": "function"
6996
7009
  },
6997
- {
6998
- "inputs": [],
6999
- "name": "isTimeBased",
7000
- "outputs": [
7001
- {
7002
- "internalType": "bool",
7003
- "name": "",
7004
- "type": "bool"
7005
- }
7006
- ],
7007
- "stateMutability": "view",
7008
- "type": "function"
7009
- },
7010
7010
  {
7011
7011
  "inputs": [],
7012
7012
  "name": "jumpMultiplierPerBlock",
@@ -7110,29 +7110,24 @@
7110
7110
  }
7111
7111
  ]
7112
7112
  },
7113
- "JumpRateModelV2_base200bps_slope1500bps_jump25000bps_kink8000bps": {
7114
- "address": "0x5ECa0FBBc5e7bf49dbFb1953a92784F8e4248eF6",
7113
+ "JumpRateModelV2_base200bps_slope1350bps_jump25000bps_kink8000bps": {
7114
+ "address": "0x3aB2e4594D9C81455b330B423Dec61E49EB11667",
7115
7115
  "abi": [
7116
7116
  {
7117
7117
  "inputs": [
7118
7118
  {
7119
7119
  "internalType": "uint256",
7120
- "name": "blocksPerYear_",
7121
- "type": "uint256"
7122
- },
7123
- {
7124
- "internalType": "uint256",
7125
- "name": "baseRatePerYear",
7120
+ "name": "baseRatePerYear_",
7126
7121
  "type": "uint256"
7127
7122
  },
7128
7123
  {
7129
7124
  "internalType": "uint256",
7130
- "name": "multiplierPerYear",
7125
+ "name": "multiplierPerYear_",
7131
7126
  "type": "uint256"
7132
7127
  },
7133
7128
  {
7134
7129
  "internalType": "uint256",
7135
- "name": "jumpMultiplierPerYear",
7130
+ "name": "jumpMultiplierPerYear_",
7136
7131
  "type": "uint256"
7137
7132
  },
7138
7133
  {
@@ -7144,11 +7139,31 @@
7144
7139
  "internalType": "contract IAccessControlManagerV8",
7145
7140
  "name": "accessControlManager_",
7146
7141
  "type": "address"
7142
+ },
7143
+ {
7144
+ "internalType": "bool",
7145
+ "name": "timeBased_",
7146
+ "type": "bool"
7147
+ },
7148
+ {
7149
+ "internalType": "uint256",
7150
+ "name": "blocksPerYear_",
7151
+ "type": "uint256"
7147
7152
  }
7148
7153
  ],
7149
7154
  "stateMutability": "nonpayable",
7150
7155
  "type": "constructor"
7151
7156
  },
7157
+ {
7158
+ "inputs": [],
7159
+ "name": "InvalidBlocksPerYear",
7160
+ "type": "error"
7161
+ },
7162
+ {
7163
+ "inputs": [],
7164
+ "name": "InvalidTimeBasedConfiguration",
7165
+ "type": "error"
7166
+ },
7152
7167
  {
7153
7168
  "inputs": [
7154
7169
  {
@@ -7176,19 +7191,19 @@
7176
7191
  {
7177
7192
  "indexed": false,
7178
7193
  "internalType": "uint256",
7179
- "name": "baseRatePerBlock",
7194
+ "name": "baseRatePerBlockOrTimestamp",
7180
7195
  "type": "uint256"
7181
7196
  },
7182
7197
  {
7183
7198
  "indexed": false,
7184
7199
  "internalType": "uint256",
7185
- "name": "multiplierPerBlock",
7200
+ "name": "multiplierPerBlockOrTimestamp",
7186
7201
  "type": "uint256"
7187
7202
  },
7188
7203
  {
7189
7204
  "indexed": false,
7190
7205
  "internalType": "uint256",
7191
- "name": "jumpMultiplierPerBlock",
7206
+ "name": "jumpMultiplierPerBlockOrTimestamp",
7192
7207
  "type": "uint256"
7193
7208
  },
7194
7209
  {
@@ -7229,7 +7244,20 @@
7229
7244
  },
7230
7245
  {
7231
7246
  "inputs": [],
7232
- "name": "blocksPerYear",
7247
+ "name": "blocksOrSecondsPerYear",
7248
+ "outputs": [
7249
+ {
7250
+ "internalType": "uint256",
7251
+ "name": "",
7252
+ "type": "uint256"
7253
+ }
7254
+ ],
7255
+ "stateMutability": "view",
7256
+ "type": "function"
7257
+ },
7258
+ {
7259
+ "inputs": [],
7260
+ "name": "getBlockNumberOrTimestamp",
7233
7261
  "outputs": [
7234
7262
  {
7235
7263
  "internalType": "uint256",
@@ -7326,6 +7354,19 @@
7326
7354
  "stateMutability": "pure",
7327
7355
  "type": "function"
7328
7356
  },
7357
+ {
7358
+ "inputs": [],
7359
+ "name": "isTimeBased",
7360
+ "outputs": [
7361
+ {
7362
+ "internalType": "bool",
7363
+ "name": "",
7364
+ "type": "bool"
7365
+ }
7366
+ ],
7367
+ "stateMutability": "view",
7368
+ "type": "function"
7369
+ },
7329
7370
  {
7330
7371
  "inputs": [],
7331
7372
  "name": "jumpMultiplierPerBlock",
@@ -7429,8 +7470,8 @@
7429
7470
  }
7430
7471
  ]
7431
7472
  },
7432
- "JumpRateModelV2_base200bps_slope1750bps_jump25000bps_kink8000bps": {
7433
- "address": "0xE1E25b6f3A74fB836B2d3b5A01f5252e2fa916a8",
7473
+ "JumpRateModelV2_base200bps_slope1500bps_jump25000bps_kink8000bps": {
7474
+ "address": "0x5ECa0FBBc5e7bf49dbFb1953a92784F8e4248eF6",
7434
7475
  "abi": [
7435
7476
  {
7436
7477
  "inputs": [
@@ -7748,6 +7789,685 @@
7748
7789
  }
7749
7790
  ]
7750
7791
  },
7792
+ "JumpRateModelV2_base200bps_slope1750bps_jump25000bps_kink8000bps": {
7793
+ "address": "0xE1E25b6f3A74fB836B2d3b5A01f5252e2fa916a8",
7794
+ "abi": [
7795
+ {
7796
+ "inputs": [
7797
+ {
7798
+ "internalType": "uint256",
7799
+ "name": "blocksPerYear_",
7800
+ "type": "uint256"
7801
+ },
7802
+ {
7803
+ "internalType": "uint256",
7804
+ "name": "baseRatePerYear",
7805
+ "type": "uint256"
7806
+ },
7807
+ {
7808
+ "internalType": "uint256",
7809
+ "name": "multiplierPerYear",
7810
+ "type": "uint256"
7811
+ },
7812
+ {
7813
+ "internalType": "uint256",
7814
+ "name": "jumpMultiplierPerYear",
7815
+ "type": "uint256"
7816
+ },
7817
+ {
7818
+ "internalType": "uint256",
7819
+ "name": "kink_",
7820
+ "type": "uint256"
7821
+ },
7822
+ {
7823
+ "internalType": "contract IAccessControlManagerV8",
7824
+ "name": "accessControlManager_",
7825
+ "type": "address"
7826
+ }
7827
+ ],
7828
+ "stateMutability": "nonpayable",
7829
+ "type": "constructor"
7830
+ },
7831
+ {
7832
+ "inputs": [
7833
+ {
7834
+ "internalType": "address",
7835
+ "name": "sender",
7836
+ "type": "address"
7837
+ },
7838
+ {
7839
+ "internalType": "address",
7840
+ "name": "calledContract",
7841
+ "type": "address"
7842
+ },
7843
+ {
7844
+ "internalType": "string",
7845
+ "name": "methodSignature",
7846
+ "type": "string"
7847
+ }
7848
+ ],
7849
+ "name": "Unauthorized",
7850
+ "type": "error"
7851
+ },
7852
+ {
7853
+ "anonymous": false,
7854
+ "inputs": [
7855
+ {
7856
+ "indexed": false,
7857
+ "internalType": "uint256",
7858
+ "name": "baseRatePerBlock",
7859
+ "type": "uint256"
7860
+ },
7861
+ {
7862
+ "indexed": false,
7863
+ "internalType": "uint256",
7864
+ "name": "multiplierPerBlock",
7865
+ "type": "uint256"
7866
+ },
7867
+ {
7868
+ "indexed": false,
7869
+ "internalType": "uint256",
7870
+ "name": "jumpMultiplierPerBlock",
7871
+ "type": "uint256"
7872
+ },
7873
+ {
7874
+ "indexed": false,
7875
+ "internalType": "uint256",
7876
+ "name": "kink",
7877
+ "type": "uint256"
7878
+ }
7879
+ ],
7880
+ "name": "NewInterestParams",
7881
+ "type": "event"
7882
+ },
7883
+ {
7884
+ "inputs": [],
7885
+ "name": "accessControlManager",
7886
+ "outputs": [
7887
+ {
7888
+ "internalType": "contract IAccessControlManagerV8",
7889
+ "name": "",
7890
+ "type": "address"
7891
+ }
7892
+ ],
7893
+ "stateMutability": "view",
7894
+ "type": "function"
7895
+ },
7896
+ {
7897
+ "inputs": [],
7898
+ "name": "baseRatePerBlock",
7899
+ "outputs": [
7900
+ {
7901
+ "internalType": "uint256",
7902
+ "name": "",
7903
+ "type": "uint256"
7904
+ }
7905
+ ],
7906
+ "stateMutability": "view",
7907
+ "type": "function"
7908
+ },
7909
+ {
7910
+ "inputs": [],
7911
+ "name": "blocksPerYear",
7912
+ "outputs": [
7913
+ {
7914
+ "internalType": "uint256",
7915
+ "name": "",
7916
+ "type": "uint256"
7917
+ }
7918
+ ],
7919
+ "stateMutability": "view",
7920
+ "type": "function"
7921
+ },
7922
+ {
7923
+ "inputs": [
7924
+ {
7925
+ "internalType": "uint256",
7926
+ "name": "cash",
7927
+ "type": "uint256"
7928
+ },
7929
+ {
7930
+ "internalType": "uint256",
7931
+ "name": "borrows",
7932
+ "type": "uint256"
7933
+ },
7934
+ {
7935
+ "internalType": "uint256",
7936
+ "name": "reserves",
7937
+ "type": "uint256"
7938
+ },
7939
+ {
7940
+ "internalType": "uint256",
7941
+ "name": "badDebt",
7942
+ "type": "uint256"
7943
+ }
7944
+ ],
7945
+ "name": "getBorrowRate",
7946
+ "outputs": [
7947
+ {
7948
+ "internalType": "uint256",
7949
+ "name": "",
7950
+ "type": "uint256"
7951
+ }
7952
+ ],
7953
+ "stateMutability": "view",
7954
+ "type": "function"
7955
+ },
7956
+ {
7957
+ "inputs": [
7958
+ {
7959
+ "internalType": "uint256",
7960
+ "name": "cash",
7961
+ "type": "uint256"
7962
+ },
7963
+ {
7964
+ "internalType": "uint256",
7965
+ "name": "borrows",
7966
+ "type": "uint256"
7967
+ },
7968
+ {
7969
+ "internalType": "uint256",
7970
+ "name": "reserves",
7971
+ "type": "uint256"
7972
+ },
7973
+ {
7974
+ "internalType": "uint256",
7975
+ "name": "reserveFactorMantissa",
7976
+ "type": "uint256"
7977
+ },
7978
+ {
7979
+ "internalType": "uint256",
7980
+ "name": "badDebt",
7981
+ "type": "uint256"
7982
+ }
7983
+ ],
7984
+ "name": "getSupplyRate",
7985
+ "outputs": [
7986
+ {
7987
+ "internalType": "uint256",
7988
+ "name": "",
7989
+ "type": "uint256"
7990
+ }
7991
+ ],
7992
+ "stateMutability": "view",
7993
+ "type": "function"
7994
+ },
7995
+ {
7996
+ "inputs": [],
7997
+ "name": "isInterestRateModel",
7998
+ "outputs": [
7999
+ {
8000
+ "internalType": "bool",
8001
+ "name": "",
8002
+ "type": "bool"
8003
+ }
8004
+ ],
8005
+ "stateMutability": "pure",
8006
+ "type": "function"
8007
+ },
8008
+ {
8009
+ "inputs": [],
8010
+ "name": "jumpMultiplierPerBlock",
8011
+ "outputs": [
8012
+ {
8013
+ "internalType": "uint256",
8014
+ "name": "",
8015
+ "type": "uint256"
8016
+ }
8017
+ ],
8018
+ "stateMutability": "view",
8019
+ "type": "function"
8020
+ },
8021
+ {
8022
+ "inputs": [],
8023
+ "name": "kink",
8024
+ "outputs": [
8025
+ {
8026
+ "internalType": "uint256",
8027
+ "name": "",
8028
+ "type": "uint256"
8029
+ }
8030
+ ],
8031
+ "stateMutability": "view",
8032
+ "type": "function"
8033
+ },
8034
+ {
8035
+ "inputs": [],
8036
+ "name": "multiplierPerBlock",
8037
+ "outputs": [
8038
+ {
8039
+ "internalType": "uint256",
8040
+ "name": "",
8041
+ "type": "uint256"
8042
+ }
8043
+ ],
8044
+ "stateMutability": "view",
8045
+ "type": "function"
8046
+ },
8047
+ {
8048
+ "inputs": [
8049
+ {
8050
+ "internalType": "uint256",
8051
+ "name": "baseRatePerYear",
8052
+ "type": "uint256"
8053
+ },
8054
+ {
8055
+ "internalType": "uint256",
8056
+ "name": "multiplierPerYear",
8057
+ "type": "uint256"
8058
+ },
8059
+ {
8060
+ "internalType": "uint256",
8061
+ "name": "jumpMultiplierPerYear",
8062
+ "type": "uint256"
8063
+ },
8064
+ {
8065
+ "internalType": "uint256",
8066
+ "name": "kink_",
8067
+ "type": "uint256"
8068
+ }
8069
+ ],
8070
+ "name": "updateJumpRateModel",
8071
+ "outputs": [],
8072
+ "stateMutability": "nonpayable",
8073
+ "type": "function"
8074
+ },
8075
+ {
8076
+ "inputs": [
8077
+ {
8078
+ "internalType": "uint256",
8079
+ "name": "cash",
8080
+ "type": "uint256"
8081
+ },
8082
+ {
8083
+ "internalType": "uint256",
8084
+ "name": "borrows",
8085
+ "type": "uint256"
8086
+ },
8087
+ {
8088
+ "internalType": "uint256",
8089
+ "name": "reserves",
8090
+ "type": "uint256"
8091
+ },
8092
+ {
8093
+ "internalType": "uint256",
8094
+ "name": "badDebt",
8095
+ "type": "uint256"
8096
+ }
8097
+ ],
8098
+ "name": "utilizationRate",
8099
+ "outputs": [
8100
+ {
8101
+ "internalType": "uint256",
8102
+ "name": "",
8103
+ "type": "uint256"
8104
+ }
8105
+ ],
8106
+ "stateMutability": "pure",
8107
+ "type": "function"
8108
+ }
8109
+ ]
8110
+ },
8111
+ "JumpRateModelV2_base200bps_slope2000bps_jump25000bps_kink8000bps": {
8112
+ "address": "0xB4b4eB2CDA57F304945A96123acae80Fb873a601",
8113
+ "abi": [
8114
+ {
8115
+ "inputs": [
8116
+ {
8117
+ "internalType": "uint256",
8118
+ "name": "baseRatePerYear_",
8119
+ "type": "uint256"
8120
+ },
8121
+ {
8122
+ "internalType": "uint256",
8123
+ "name": "multiplierPerYear_",
8124
+ "type": "uint256"
8125
+ },
8126
+ {
8127
+ "internalType": "uint256",
8128
+ "name": "jumpMultiplierPerYear_",
8129
+ "type": "uint256"
8130
+ },
8131
+ {
8132
+ "internalType": "uint256",
8133
+ "name": "kink_",
8134
+ "type": "uint256"
8135
+ },
8136
+ {
8137
+ "internalType": "contract IAccessControlManagerV8",
8138
+ "name": "accessControlManager_",
8139
+ "type": "address"
8140
+ },
8141
+ {
8142
+ "internalType": "bool",
8143
+ "name": "timeBased_",
8144
+ "type": "bool"
8145
+ },
8146
+ {
8147
+ "internalType": "uint256",
8148
+ "name": "blocksPerYear_",
8149
+ "type": "uint256"
8150
+ }
8151
+ ],
8152
+ "stateMutability": "nonpayable",
8153
+ "type": "constructor"
8154
+ },
8155
+ {
8156
+ "inputs": [],
8157
+ "name": "InvalidBlocksPerYear",
8158
+ "type": "error"
8159
+ },
8160
+ {
8161
+ "inputs": [],
8162
+ "name": "InvalidTimeBasedConfiguration",
8163
+ "type": "error"
8164
+ },
8165
+ {
8166
+ "inputs": [
8167
+ {
8168
+ "internalType": "address",
8169
+ "name": "sender",
8170
+ "type": "address"
8171
+ },
8172
+ {
8173
+ "internalType": "address",
8174
+ "name": "calledContract",
8175
+ "type": "address"
8176
+ },
8177
+ {
8178
+ "internalType": "string",
8179
+ "name": "methodSignature",
8180
+ "type": "string"
8181
+ }
8182
+ ],
8183
+ "name": "Unauthorized",
8184
+ "type": "error"
8185
+ },
8186
+ {
8187
+ "anonymous": false,
8188
+ "inputs": [
8189
+ {
8190
+ "indexed": false,
8191
+ "internalType": "uint256",
8192
+ "name": "baseRatePerBlockOrTimestamp",
8193
+ "type": "uint256"
8194
+ },
8195
+ {
8196
+ "indexed": false,
8197
+ "internalType": "uint256",
8198
+ "name": "multiplierPerBlockOrTimestamp",
8199
+ "type": "uint256"
8200
+ },
8201
+ {
8202
+ "indexed": false,
8203
+ "internalType": "uint256",
8204
+ "name": "jumpMultiplierPerBlockOrTimestamp",
8205
+ "type": "uint256"
8206
+ },
8207
+ {
8208
+ "indexed": false,
8209
+ "internalType": "uint256",
8210
+ "name": "kink",
8211
+ "type": "uint256"
8212
+ }
8213
+ ],
8214
+ "name": "NewInterestParams",
8215
+ "type": "event"
8216
+ },
8217
+ {
8218
+ "inputs": [],
8219
+ "name": "accessControlManager",
8220
+ "outputs": [
8221
+ {
8222
+ "internalType": "contract IAccessControlManagerV8",
8223
+ "name": "",
8224
+ "type": "address"
8225
+ }
8226
+ ],
8227
+ "stateMutability": "view",
8228
+ "type": "function"
8229
+ },
8230
+ {
8231
+ "inputs": [],
8232
+ "name": "baseRatePerBlock",
8233
+ "outputs": [
8234
+ {
8235
+ "internalType": "uint256",
8236
+ "name": "",
8237
+ "type": "uint256"
8238
+ }
8239
+ ],
8240
+ "stateMutability": "view",
8241
+ "type": "function"
8242
+ },
8243
+ {
8244
+ "inputs": [],
8245
+ "name": "blocksOrSecondsPerYear",
8246
+ "outputs": [
8247
+ {
8248
+ "internalType": "uint256",
8249
+ "name": "",
8250
+ "type": "uint256"
8251
+ }
8252
+ ],
8253
+ "stateMutability": "view",
8254
+ "type": "function"
8255
+ },
8256
+ {
8257
+ "inputs": [],
8258
+ "name": "getBlockNumberOrTimestamp",
8259
+ "outputs": [
8260
+ {
8261
+ "internalType": "uint256",
8262
+ "name": "",
8263
+ "type": "uint256"
8264
+ }
8265
+ ],
8266
+ "stateMutability": "view",
8267
+ "type": "function"
8268
+ },
8269
+ {
8270
+ "inputs": [
8271
+ {
8272
+ "internalType": "uint256",
8273
+ "name": "cash",
8274
+ "type": "uint256"
8275
+ },
8276
+ {
8277
+ "internalType": "uint256",
8278
+ "name": "borrows",
8279
+ "type": "uint256"
8280
+ },
8281
+ {
8282
+ "internalType": "uint256",
8283
+ "name": "reserves",
8284
+ "type": "uint256"
8285
+ },
8286
+ {
8287
+ "internalType": "uint256",
8288
+ "name": "badDebt",
8289
+ "type": "uint256"
8290
+ }
8291
+ ],
8292
+ "name": "getBorrowRate",
8293
+ "outputs": [
8294
+ {
8295
+ "internalType": "uint256",
8296
+ "name": "",
8297
+ "type": "uint256"
8298
+ }
8299
+ ],
8300
+ "stateMutability": "view",
8301
+ "type": "function"
8302
+ },
8303
+ {
8304
+ "inputs": [
8305
+ {
8306
+ "internalType": "uint256",
8307
+ "name": "cash",
8308
+ "type": "uint256"
8309
+ },
8310
+ {
8311
+ "internalType": "uint256",
8312
+ "name": "borrows",
8313
+ "type": "uint256"
8314
+ },
8315
+ {
8316
+ "internalType": "uint256",
8317
+ "name": "reserves",
8318
+ "type": "uint256"
8319
+ },
8320
+ {
8321
+ "internalType": "uint256",
8322
+ "name": "reserveFactorMantissa",
8323
+ "type": "uint256"
8324
+ },
8325
+ {
8326
+ "internalType": "uint256",
8327
+ "name": "badDebt",
8328
+ "type": "uint256"
8329
+ }
8330
+ ],
8331
+ "name": "getSupplyRate",
8332
+ "outputs": [
8333
+ {
8334
+ "internalType": "uint256",
8335
+ "name": "",
8336
+ "type": "uint256"
8337
+ }
8338
+ ],
8339
+ "stateMutability": "view",
8340
+ "type": "function"
8341
+ },
8342
+ {
8343
+ "inputs": [],
8344
+ "name": "isInterestRateModel",
8345
+ "outputs": [
8346
+ {
8347
+ "internalType": "bool",
8348
+ "name": "",
8349
+ "type": "bool"
8350
+ }
8351
+ ],
8352
+ "stateMutability": "pure",
8353
+ "type": "function"
8354
+ },
8355
+ {
8356
+ "inputs": [],
8357
+ "name": "isTimeBased",
8358
+ "outputs": [
8359
+ {
8360
+ "internalType": "bool",
8361
+ "name": "",
8362
+ "type": "bool"
8363
+ }
8364
+ ],
8365
+ "stateMutability": "view",
8366
+ "type": "function"
8367
+ },
8368
+ {
8369
+ "inputs": [],
8370
+ "name": "jumpMultiplierPerBlock",
8371
+ "outputs": [
8372
+ {
8373
+ "internalType": "uint256",
8374
+ "name": "",
8375
+ "type": "uint256"
8376
+ }
8377
+ ],
8378
+ "stateMutability": "view",
8379
+ "type": "function"
8380
+ },
8381
+ {
8382
+ "inputs": [],
8383
+ "name": "kink",
8384
+ "outputs": [
8385
+ {
8386
+ "internalType": "uint256",
8387
+ "name": "",
8388
+ "type": "uint256"
8389
+ }
8390
+ ],
8391
+ "stateMutability": "view",
8392
+ "type": "function"
8393
+ },
8394
+ {
8395
+ "inputs": [],
8396
+ "name": "multiplierPerBlock",
8397
+ "outputs": [
8398
+ {
8399
+ "internalType": "uint256",
8400
+ "name": "",
8401
+ "type": "uint256"
8402
+ }
8403
+ ],
8404
+ "stateMutability": "view",
8405
+ "type": "function"
8406
+ },
8407
+ {
8408
+ "inputs": [
8409
+ {
8410
+ "internalType": "uint256",
8411
+ "name": "baseRatePerYear",
8412
+ "type": "uint256"
8413
+ },
8414
+ {
8415
+ "internalType": "uint256",
8416
+ "name": "multiplierPerYear",
8417
+ "type": "uint256"
8418
+ },
8419
+ {
8420
+ "internalType": "uint256",
8421
+ "name": "jumpMultiplierPerYear",
8422
+ "type": "uint256"
8423
+ },
8424
+ {
8425
+ "internalType": "uint256",
8426
+ "name": "kink_",
8427
+ "type": "uint256"
8428
+ }
8429
+ ],
8430
+ "name": "updateJumpRateModel",
8431
+ "outputs": [],
8432
+ "stateMutability": "nonpayable",
8433
+ "type": "function"
8434
+ },
8435
+ {
8436
+ "inputs": [
8437
+ {
8438
+ "internalType": "uint256",
8439
+ "name": "cash",
8440
+ "type": "uint256"
8441
+ },
8442
+ {
8443
+ "internalType": "uint256",
8444
+ "name": "borrows",
8445
+ "type": "uint256"
8446
+ },
8447
+ {
8448
+ "internalType": "uint256",
8449
+ "name": "reserves",
8450
+ "type": "uint256"
8451
+ },
8452
+ {
8453
+ "internalType": "uint256",
8454
+ "name": "badDebt",
8455
+ "type": "uint256"
8456
+ }
8457
+ ],
8458
+ "name": "utilizationRate",
8459
+ "outputs": [
8460
+ {
8461
+ "internalType": "uint256",
8462
+ "name": "",
8463
+ "type": "uint256"
8464
+ }
8465
+ ],
8466
+ "stateMutability": "pure",
8467
+ "type": "function"
8468
+ }
8469
+ ]
8470
+ },
7751
8471
  "JumpRateModelV2_base200bps_slope2000bps_jump30000bps_kink4500bps": {
7752
8472
  "address": "0x53DbE3c0d1Bd439E4F600ad36791C41d02906E6b",
7753
8473
  "abi": [