@venusprotocol/isolated-pools 3.7.0-dev.4 → 3.7.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.
@@ -3110,6 +3110,366 @@
3110
3110
  }
3111
3111
  ]
3112
3112
  },
3113
+ "JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
3114
+ "address": "0x0d75544019e3015eEbF61F26595D08d60f3aC841",
3115
+ "abi": [
3116
+ {
3117
+ "inputs": [
3118
+ {
3119
+ "internalType": "uint256",
3120
+ "name": "baseRatePerYear_",
3121
+ "type": "uint256"
3122
+ },
3123
+ {
3124
+ "internalType": "uint256",
3125
+ "name": "multiplierPerYear_",
3126
+ "type": "uint256"
3127
+ },
3128
+ {
3129
+ "internalType": "uint256",
3130
+ "name": "jumpMultiplierPerYear_",
3131
+ "type": "uint256"
3132
+ },
3133
+ {
3134
+ "internalType": "uint256",
3135
+ "name": "kink_",
3136
+ "type": "uint256"
3137
+ },
3138
+ {
3139
+ "internalType": "contract IAccessControlManagerV8",
3140
+ "name": "accessControlManager_",
3141
+ "type": "address"
3142
+ },
3143
+ {
3144
+ "internalType": "bool",
3145
+ "name": "timeBased_",
3146
+ "type": "bool"
3147
+ },
3148
+ {
3149
+ "internalType": "uint256",
3150
+ "name": "blocksPerYear_",
3151
+ "type": "uint256"
3152
+ }
3153
+ ],
3154
+ "stateMutability": "nonpayable",
3155
+ "type": "constructor"
3156
+ },
3157
+ {
3158
+ "inputs": [],
3159
+ "name": "InvalidBlocksPerYear",
3160
+ "type": "error"
3161
+ },
3162
+ {
3163
+ "inputs": [],
3164
+ "name": "InvalidTimeBasedConfiguration",
3165
+ "type": "error"
3166
+ },
3167
+ {
3168
+ "inputs": [
3169
+ {
3170
+ "internalType": "address",
3171
+ "name": "sender",
3172
+ "type": "address"
3173
+ },
3174
+ {
3175
+ "internalType": "address",
3176
+ "name": "calledContract",
3177
+ "type": "address"
3178
+ },
3179
+ {
3180
+ "internalType": "string",
3181
+ "name": "methodSignature",
3182
+ "type": "string"
3183
+ }
3184
+ ],
3185
+ "name": "Unauthorized",
3186
+ "type": "error"
3187
+ },
3188
+ {
3189
+ "anonymous": false,
3190
+ "inputs": [
3191
+ {
3192
+ "indexed": false,
3193
+ "internalType": "uint256",
3194
+ "name": "baseRatePerBlockOrTimestamp",
3195
+ "type": "uint256"
3196
+ },
3197
+ {
3198
+ "indexed": false,
3199
+ "internalType": "uint256",
3200
+ "name": "multiplierPerBlockOrTimestamp",
3201
+ "type": "uint256"
3202
+ },
3203
+ {
3204
+ "indexed": false,
3205
+ "internalType": "uint256",
3206
+ "name": "jumpMultiplierPerBlockOrTimestamp",
3207
+ "type": "uint256"
3208
+ },
3209
+ {
3210
+ "indexed": false,
3211
+ "internalType": "uint256",
3212
+ "name": "kink",
3213
+ "type": "uint256"
3214
+ }
3215
+ ],
3216
+ "name": "NewInterestParams",
3217
+ "type": "event"
3218
+ },
3219
+ {
3220
+ "inputs": [],
3221
+ "name": "accessControlManager",
3222
+ "outputs": [
3223
+ {
3224
+ "internalType": "contract IAccessControlManagerV8",
3225
+ "name": "",
3226
+ "type": "address"
3227
+ }
3228
+ ],
3229
+ "stateMutability": "view",
3230
+ "type": "function"
3231
+ },
3232
+ {
3233
+ "inputs": [],
3234
+ "name": "baseRatePerBlock",
3235
+ "outputs": [
3236
+ {
3237
+ "internalType": "uint256",
3238
+ "name": "",
3239
+ "type": "uint256"
3240
+ }
3241
+ ],
3242
+ "stateMutability": "view",
3243
+ "type": "function"
3244
+ },
3245
+ {
3246
+ "inputs": [],
3247
+ "name": "blocksOrSecondsPerYear",
3248
+ "outputs": [
3249
+ {
3250
+ "internalType": "uint256",
3251
+ "name": "",
3252
+ "type": "uint256"
3253
+ }
3254
+ ],
3255
+ "stateMutability": "view",
3256
+ "type": "function"
3257
+ },
3258
+ {
3259
+ "inputs": [],
3260
+ "name": "getBlockNumberOrTimestamp",
3261
+ "outputs": [
3262
+ {
3263
+ "internalType": "uint256",
3264
+ "name": "",
3265
+ "type": "uint256"
3266
+ }
3267
+ ],
3268
+ "stateMutability": "view",
3269
+ "type": "function"
3270
+ },
3271
+ {
3272
+ "inputs": [
3273
+ {
3274
+ "internalType": "uint256",
3275
+ "name": "cash",
3276
+ "type": "uint256"
3277
+ },
3278
+ {
3279
+ "internalType": "uint256",
3280
+ "name": "borrows",
3281
+ "type": "uint256"
3282
+ },
3283
+ {
3284
+ "internalType": "uint256",
3285
+ "name": "reserves",
3286
+ "type": "uint256"
3287
+ },
3288
+ {
3289
+ "internalType": "uint256",
3290
+ "name": "badDebt",
3291
+ "type": "uint256"
3292
+ }
3293
+ ],
3294
+ "name": "getBorrowRate",
3295
+ "outputs": [
3296
+ {
3297
+ "internalType": "uint256",
3298
+ "name": "",
3299
+ "type": "uint256"
3300
+ }
3301
+ ],
3302
+ "stateMutability": "view",
3303
+ "type": "function"
3304
+ },
3305
+ {
3306
+ "inputs": [
3307
+ {
3308
+ "internalType": "uint256",
3309
+ "name": "cash",
3310
+ "type": "uint256"
3311
+ },
3312
+ {
3313
+ "internalType": "uint256",
3314
+ "name": "borrows",
3315
+ "type": "uint256"
3316
+ },
3317
+ {
3318
+ "internalType": "uint256",
3319
+ "name": "reserves",
3320
+ "type": "uint256"
3321
+ },
3322
+ {
3323
+ "internalType": "uint256",
3324
+ "name": "reserveFactorMantissa",
3325
+ "type": "uint256"
3326
+ },
3327
+ {
3328
+ "internalType": "uint256",
3329
+ "name": "badDebt",
3330
+ "type": "uint256"
3331
+ }
3332
+ ],
3333
+ "name": "getSupplyRate",
3334
+ "outputs": [
3335
+ {
3336
+ "internalType": "uint256",
3337
+ "name": "",
3338
+ "type": "uint256"
3339
+ }
3340
+ ],
3341
+ "stateMutability": "view",
3342
+ "type": "function"
3343
+ },
3344
+ {
3345
+ "inputs": [],
3346
+ "name": "isInterestRateModel",
3347
+ "outputs": [
3348
+ {
3349
+ "internalType": "bool",
3350
+ "name": "",
3351
+ "type": "bool"
3352
+ }
3353
+ ],
3354
+ "stateMutability": "pure",
3355
+ "type": "function"
3356
+ },
3357
+ {
3358
+ "inputs": [],
3359
+ "name": "isTimeBased",
3360
+ "outputs": [
3361
+ {
3362
+ "internalType": "bool",
3363
+ "name": "",
3364
+ "type": "bool"
3365
+ }
3366
+ ],
3367
+ "stateMutability": "view",
3368
+ "type": "function"
3369
+ },
3370
+ {
3371
+ "inputs": [],
3372
+ "name": "jumpMultiplierPerBlock",
3373
+ "outputs": [
3374
+ {
3375
+ "internalType": "uint256",
3376
+ "name": "",
3377
+ "type": "uint256"
3378
+ }
3379
+ ],
3380
+ "stateMutability": "view",
3381
+ "type": "function"
3382
+ },
3383
+ {
3384
+ "inputs": [],
3385
+ "name": "kink",
3386
+ "outputs": [
3387
+ {
3388
+ "internalType": "uint256",
3389
+ "name": "",
3390
+ "type": "uint256"
3391
+ }
3392
+ ],
3393
+ "stateMutability": "view",
3394
+ "type": "function"
3395
+ },
3396
+ {
3397
+ "inputs": [],
3398
+ "name": "multiplierPerBlock",
3399
+ "outputs": [
3400
+ {
3401
+ "internalType": "uint256",
3402
+ "name": "",
3403
+ "type": "uint256"
3404
+ }
3405
+ ],
3406
+ "stateMutability": "view",
3407
+ "type": "function"
3408
+ },
3409
+ {
3410
+ "inputs": [
3411
+ {
3412
+ "internalType": "uint256",
3413
+ "name": "baseRatePerYear",
3414
+ "type": "uint256"
3415
+ },
3416
+ {
3417
+ "internalType": "uint256",
3418
+ "name": "multiplierPerYear",
3419
+ "type": "uint256"
3420
+ },
3421
+ {
3422
+ "internalType": "uint256",
3423
+ "name": "jumpMultiplierPerYear",
3424
+ "type": "uint256"
3425
+ },
3426
+ {
3427
+ "internalType": "uint256",
3428
+ "name": "kink_",
3429
+ "type": "uint256"
3430
+ }
3431
+ ],
3432
+ "name": "updateJumpRateModel",
3433
+ "outputs": [],
3434
+ "stateMutability": "nonpayable",
3435
+ "type": "function"
3436
+ },
3437
+ {
3438
+ "inputs": [
3439
+ {
3440
+ "internalType": "uint256",
3441
+ "name": "cash",
3442
+ "type": "uint256"
3443
+ },
3444
+ {
3445
+ "internalType": "uint256",
3446
+ "name": "borrows",
3447
+ "type": "uint256"
3448
+ },
3449
+ {
3450
+ "internalType": "uint256",
3451
+ "name": "reserves",
3452
+ "type": "uint256"
3453
+ },
3454
+ {
3455
+ "internalType": "uint256",
3456
+ "name": "badDebt",
3457
+ "type": "uint256"
3458
+ }
3459
+ ],
3460
+ "name": "utilizationRate",
3461
+ "outputs": [
3462
+ {
3463
+ "internalType": "uint256",
3464
+ "name": "",
3465
+ "type": "uint256"
3466
+ }
3467
+ ],
3468
+ "stateMutability": "pure",
3469
+ "type": "function"
3470
+ }
3471
+ ]
3472
+ },
3113
3473
  "JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps": {
3114
3474
  "address": "0x48C8a6A591f8f0943bF5FeEFB5E1Cbc803Eda89e",
3115
3475
  "abi": [
@@ -2575,9 +2575,9 @@ exports.globalConfig = {
2575
2575
  symbol: "vETH_LiquidStakedETH",
2576
2576
  rateModel: InterestRateModels.JumpRate.toString(),
2577
2577
  baseRatePerYear: "0",
2578
- multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
2579
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
2580
- kink_: (0, utils_1.convertToUnit)("0.8", 18),
2578
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
2579
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("4.5", 18),
2580
+ kink_: (0, utils_1.convertToUnit)("0.9", 18),
2581
2581
  collateralFactor: (0, utils_1.convertToUnit)("0", 18),
2582
2582
  liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
2583
2583
  reserveFactor: (0, utils_1.convertToUnit)("0.15", 18),
@@ -3549,9 +3549,9 @@ exports.globalConfig = {
3549
3549
  symbol: "vWETH_Core",
3550
3550
  rateModel: InterestRateModels.JumpRate.toString(),
3551
3551
  baseRatePerYear: "0",
3552
- multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
3553
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
3554
- kink_: (0, utils_1.convertToUnit)("0.8", 18),
3552
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
3553
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("4.5", 18),
3554
+ kink_: (0, utils_1.convertToUnit)("0.9", 18),
3555
3555
  collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
3556
3556
  liquidationThreshold: (0, utils_1.convertToUnit)("0.8", 18),
3557
3557
  reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
@@ -3890,7 +3890,7 @@ exports.globalConfig = {
3890
3890
  rateModel: InterestRateModels.JumpRate.toString(),
3891
3891
  baseRatePerYear: "0",
3892
3892
  multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
3893
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
3893
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("4.5", 18),
3894
3894
  kink_: (0, utils_1.convertToUnit)("0.9", 18),
3895
3895
  collateralFactor: (0, utils_1.convertToUnit)("0", 18),
3896
3896
  liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
@@ -4267,9 +4267,9 @@ exports.globalConfig = {
4267
4267
  symbol: "vETH_Core",
4268
4268
  rateModel: InterestRateModels.JumpRate.toString(),
4269
4269
  baseRatePerYear: "0",
4270
- multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
4271
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
4272
- kink_: (0, utils_1.convertToUnit)("0.45", 18),
4270
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
4271
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("4.5", 18),
4272
+ kink_: (0, utils_1.convertToUnit)("0.9", 18),
4273
4273
  collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
4274
4274
  liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
4275
4275
  reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
@@ -4672,9 +4672,9 @@ exports.globalConfig = {
4672
4672
  symbol: "vWETH_Core",
4673
4673
  rateModel: InterestRateModels.JumpRate.toString(),
4674
4674
  baseRatePerYear: "0",
4675
- multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
4676
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
4677
- kink_: (0, utils_1.convertToUnit)("0.8", 18),
4675
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
4676
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("4.5", 18),
4677
+ kink_: (0, utils_1.convertToUnit)("0.9", 18),
4678
4678
  collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
4679
4679
  liquidationThreshold: (0, utils_1.convertToUnit)("0.80", 18),
4680
4680
  reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
@@ -4808,9 +4808,9 @@ exports.globalConfig = {
4808
4808
  symbol: "vWETH_LiquidStakedETH",
4809
4809
  rateModel: InterestRateModels.JumpRate.toString(),
4810
4810
  baseRatePerYear: "0",
4811
- multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
4812
- jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
4813
- kink_: (0, utils_1.convertToUnit)("0.8", 18),
4811
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
4812
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("4.5", 18),
4813
+ kink_: (0, utils_1.convertToUnit)("0.9", 18),
4814
4814
  collateralFactor: (0, utils_1.convertToUnit)("0", 18),
4815
4815
  liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
4816
4816
  reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "3.7.0-dev.4",
3
+ "version": "3.7.0-dev.5",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",