@venusprotocol/isolated-pools 3.6.0-dev.4 → 3.6.0-dev.6

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.
@@ -3258,6 +3258,366 @@
3258
3258
  }
3259
3259
  ]
3260
3260
  },
3261
+ "JumpRateModelV2_base0bps_slope300bps_jump8000bps_kink9000bps": {
3262
+ "address": "0xe1747F8D64C297DBB482c4FD8fd11EA73F7Dc85a",
3263
+ "abi": [
3264
+ {
3265
+ "inputs": [
3266
+ {
3267
+ "internalType": "uint256",
3268
+ "name": "baseRatePerYear_",
3269
+ "type": "uint256"
3270
+ },
3271
+ {
3272
+ "internalType": "uint256",
3273
+ "name": "multiplierPerYear_",
3274
+ "type": "uint256"
3275
+ },
3276
+ {
3277
+ "internalType": "uint256",
3278
+ "name": "jumpMultiplierPerYear_",
3279
+ "type": "uint256"
3280
+ },
3281
+ {
3282
+ "internalType": "uint256",
3283
+ "name": "kink_",
3284
+ "type": "uint256"
3285
+ },
3286
+ {
3287
+ "internalType": "contract IAccessControlManagerV8",
3288
+ "name": "accessControlManager_",
3289
+ "type": "address"
3290
+ },
3291
+ {
3292
+ "internalType": "bool",
3293
+ "name": "timeBased_",
3294
+ "type": "bool"
3295
+ },
3296
+ {
3297
+ "internalType": "uint256",
3298
+ "name": "blocksPerYear_",
3299
+ "type": "uint256"
3300
+ }
3301
+ ],
3302
+ "stateMutability": "nonpayable",
3303
+ "type": "constructor"
3304
+ },
3305
+ {
3306
+ "inputs": [],
3307
+ "name": "InvalidBlocksPerYear",
3308
+ "type": "error"
3309
+ },
3310
+ {
3311
+ "inputs": [],
3312
+ "name": "InvalidTimeBasedConfiguration",
3313
+ "type": "error"
3314
+ },
3315
+ {
3316
+ "inputs": [
3317
+ {
3318
+ "internalType": "address",
3319
+ "name": "sender",
3320
+ "type": "address"
3321
+ },
3322
+ {
3323
+ "internalType": "address",
3324
+ "name": "calledContract",
3325
+ "type": "address"
3326
+ },
3327
+ {
3328
+ "internalType": "string",
3329
+ "name": "methodSignature",
3330
+ "type": "string"
3331
+ }
3332
+ ],
3333
+ "name": "Unauthorized",
3334
+ "type": "error"
3335
+ },
3336
+ {
3337
+ "anonymous": false,
3338
+ "inputs": [
3339
+ {
3340
+ "indexed": false,
3341
+ "internalType": "uint256",
3342
+ "name": "baseRatePerBlockOrTimestamp",
3343
+ "type": "uint256"
3344
+ },
3345
+ {
3346
+ "indexed": false,
3347
+ "internalType": "uint256",
3348
+ "name": "multiplierPerBlockOrTimestamp",
3349
+ "type": "uint256"
3350
+ },
3351
+ {
3352
+ "indexed": false,
3353
+ "internalType": "uint256",
3354
+ "name": "jumpMultiplierPerBlockOrTimestamp",
3355
+ "type": "uint256"
3356
+ },
3357
+ {
3358
+ "indexed": false,
3359
+ "internalType": "uint256",
3360
+ "name": "kink",
3361
+ "type": "uint256"
3362
+ }
3363
+ ],
3364
+ "name": "NewInterestParams",
3365
+ "type": "event"
3366
+ },
3367
+ {
3368
+ "inputs": [],
3369
+ "name": "accessControlManager",
3370
+ "outputs": [
3371
+ {
3372
+ "internalType": "contract IAccessControlManagerV8",
3373
+ "name": "",
3374
+ "type": "address"
3375
+ }
3376
+ ],
3377
+ "stateMutability": "view",
3378
+ "type": "function"
3379
+ },
3380
+ {
3381
+ "inputs": [],
3382
+ "name": "baseRatePerBlock",
3383
+ "outputs": [
3384
+ {
3385
+ "internalType": "uint256",
3386
+ "name": "",
3387
+ "type": "uint256"
3388
+ }
3389
+ ],
3390
+ "stateMutability": "view",
3391
+ "type": "function"
3392
+ },
3393
+ {
3394
+ "inputs": [],
3395
+ "name": "blocksOrSecondsPerYear",
3396
+ "outputs": [
3397
+ {
3398
+ "internalType": "uint256",
3399
+ "name": "",
3400
+ "type": "uint256"
3401
+ }
3402
+ ],
3403
+ "stateMutability": "view",
3404
+ "type": "function"
3405
+ },
3406
+ {
3407
+ "inputs": [],
3408
+ "name": "getBlockNumberOrTimestamp",
3409
+ "outputs": [
3410
+ {
3411
+ "internalType": "uint256",
3412
+ "name": "",
3413
+ "type": "uint256"
3414
+ }
3415
+ ],
3416
+ "stateMutability": "view",
3417
+ "type": "function"
3418
+ },
3419
+ {
3420
+ "inputs": [
3421
+ {
3422
+ "internalType": "uint256",
3423
+ "name": "cash",
3424
+ "type": "uint256"
3425
+ },
3426
+ {
3427
+ "internalType": "uint256",
3428
+ "name": "borrows",
3429
+ "type": "uint256"
3430
+ },
3431
+ {
3432
+ "internalType": "uint256",
3433
+ "name": "reserves",
3434
+ "type": "uint256"
3435
+ },
3436
+ {
3437
+ "internalType": "uint256",
3438
+ "name": "badDebt",
3439
+ "type": "uint256"
3440
+ }
3441
+ ],
3442
+ "name": "getBorrowRate",
3443
+ "outputs": [
3444
+ {
3445
+ "internalType": "uint256",
3446
+ "name": "",
3447
+ "type": "uint256"
3448
+ }
3449
+ ],
3450
+ "stateMutability": "view",
3451
+ "type": "function"
3452
+ },
3453
+ {
3454
+ "inputs": [
3455
+ {
3456
+ "internalType": "uint256",
3457
+ "name": "cash",
3458
+ "type": "uint256"
3459
+ },
3460
+ {
3461
+ "internalType": "uint256",
3462
+ "name": "borrows",
3463
+ "type": "uint256"
3464
+ },
3465
+ {
3466
+ "internalType": "uint256",
3467
+ "name": "reserves",
3468
+ "type": "uint256"
3469
+ },
3470
+ {
3471
+ "internalType": "uint256",
3472
+ "name": "reserveFactorMantissa",
3473
+ "type": "uint256"
3474
+ },
3475
+ {
3476
+ "internalType": "uint256",
3477
+ "name": "badDebt",
3478
+ "type": "uint256"
3479
+ }
3480
+ ],
3481
+ "name": "getSupplyRate",
3482
+ "outputs": [
3483
+ {
3484
+ "internalType": "uint256",
3485
+ "name": "",
3486
+ "type": "uint256"
3487
+ }
3488
+ ],
3489
+ "stateMutability": "view",
3490
+ "type": "function"
3491
+ },
3492
+ {
3493
+ "inputs": [],
3494
+ "name": "isInterestRateModel",
3495
+ "outputs": [
3496
+ {
3497
+ "internalType": "bool",
3498
+ "name": "",
3499
+ "type": "bool"
3500
+ }
3501
+ ],
3502
+ "stateMutability": "pure",
3503
+ "type": "function"
3504
+ },
3505
+ {
3506
+ "inputs": [],
3507
+ "name": "isTimeBased",
3508
+ "outputs": [
3509
+ {
3510
+ "internalType": "bool",
3511
+ "name": "",
3512
+ "type": "bool"
3513
+ }
3514
+ ],
3515
+ "stateMutability": "view",
3516
+ "type": "function"
3517
+ },
3518
+ {
3519
+ "inputs": [],
3520
+ "name": "jumpMultiplierPerBlock",
3521
+ "outputs": [
3522
+ {
3523
+ "internalType": "uint256",
3524
+ "name": "",
3525
+ "type": "uint256"
3526
+ }
3527
+ ],
3528
+ "stateMutability": "view",
3529
+ "type": "function"
3530
+ },
3531
+ {
3532
+ "inputs": [],
3533
+ "name": "kink",
3534
+ "outputs": [
3535
+ {
3536
+ "internalType": "uint256",
3537
+ "name": "",
3538
+ "type": "uint256"
3539
+ }
3540
+ ],
3541
+ "stateMutability": "view",
3542
+ "type": "function"
3543
+ },
3544
+ {
3545
+ "inputs": [],
3546
+ "name": "multiplierPerBlock",
3547
+ "outputs": [
3548
+ {
3549
+ "internalType": "uint256",
3550
+ "name": "",
3551
+ "type": "uint256"
3552
+ }
3553
+ ],
3554
+ "stateMutability": "view",
3555
+ "type": "function"
3556
+ },
3557
+ {
3558
+ "inputs": [
3559
+ {
3560
+ "internalType": "uint256",
3561
+ "name": "baseRatePerYear",
3562
+ "type": "uint256"
3563
+ },
3564
+ {
3565
+ "internalType": "uint256",
3566
+ "name": "multiplierPerYear",
3567
+ "type": "uint256"
3568
+ },
3569
+ {
3570
+ "internalType": "uint256",
3571
+ "name": "jumpMultiplierPerYear",
3572
+ "type": "uint256"
3573
+ },
3574
+ {
3575
+ "internalType": "uint256",
3576
+ "name": "kink_",
3577
+ "type": "uint256"
3578
+ }
3579
+ ],
3580
+ "name": "updateJumpRateModel",
3581
+ "outputs": [],
3582
+ "stateMutability": "nonpayable",
3583
+ "type": "function"
3584
+ },
3585
+ {
3586
+ "inputs": [
3587
+ {
3588
+ "internalType": "uint256",
3589
+ "name": "cash",
3590
+ "type": "uint256"
3591
+ },
3592
+ {
3593
+ "internalType": "uint256",
3594
+ "name": "borrows",
3595
+ "type": "uint256"
3596
+ },
3597
+ {
3598
+ "internalType": "uint256",
3599
+ "name": "reserves",
3600
+ "type": "uint256"
3601
+ },
3602
+ {
3603
+ "internalType": "uint256",
3604
+ "name": "badDebt",
3605
+ "type": "uint256"
3606
+ }
3607
+ ],
3608
+ "name": "utilizationRate",
3609
+ "outputs": [
3610
+ {
3611
+ "internalType": "uint256",
3612
+ "name": "",
3613
+ "type": "uint256"
3614
+ }
3615
+ ],
3616
+ "stateMutability": "pure",
3617
+ "type": "function"
3618
+ }
3619
+ ]
3620
+ },
3261
3621
  "JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": {
3262
3622
  "address": "0x01E002C218D70dD374566cc40D9fCA1429AB7E65",
3263
3623
  "abi": [
@@ -26166,10 +26526,26 @@
26166
26526
  ]
26167
26527
  },
26168
26528
  "VTokenImpl": {
26169
- "address": "0xE5A008B6A0bAB405343B3ABe8895966EAaFb5790",
26529
+ "address": "0xefdf5CcC12d8cff4a7ed4e421b95F8f69Cf2F766",
26170
26530
  "abi": [
26171
26531
  {
26172
- "inputs": [],
26532
+ "inputs": [
26533
+ {
26534
+ "internalType": "bool",
26535
+ "name": "timeBased_",
26536
+ "type": "bool"
26537
+ },
26538
+ {
26539
+ "internalType": "uint256",
26540
+ "name": "blocksPerYear_",
26541
+ "type": "uint256"
26542
+ },
26543
+ {
26544
+ "internalType": "uint256",
26545
+ "name": "maxBorrowRateMantissa_",
26546
+ "type": "uint256"
26547
+ }
26548
+ ],
26173
26549
  "stateMutability": "nonpayable",
26174
26550
  "type": "constructor"
26175
26551
  },
@@ -26209,6 +26585,16 @@
26209
26585
  "name": "HealBorrowUnauthorized",
26210
26586
  "type": "error"
26211
26587
  },
26588
+ {
26589
+ "inputs": [],
26590
+ "name": "InvalidBlocksPerYear",
26591
+ "type": "error"
26592
+ },
26593
+ {
26594
+ "inputs": [],
26595
+ "name": "InvalidTimeBasedConfiguration",
26596
+ "type": "error"
26597
+ },
26212
26598
  {
26213
26599
  "inputs": [
26214
26600
  {
@@ -26680,13 +27066,13 @@
26680
27066
  {
26681
27067
  "indexed": false,
26682
27068
  "internalType": "uint256",
26683
- "name": "oldReduceReservesBlockDelta",
27069
+ "name": "oldReduceReservesBlockOrTimestampDelta",
26684
27070
  "type": "uint256"
26685
27071
  },
26686
27072
  {
26687
27073
  "indexed": false,
26688
27074
  "internalType": "uint256",
26689
- "name": "newReduceReservesBlockDelta",
27075
+ "name": "newReduceReservesBlockOrTimestampDelta",
26690
27076
  "type": "uint256"
26691
27077
  }
26692
27078
  ],
@@ -27134,6 +27520,19 @@
27134
27520
  "stateMutability": "nonpayable",
27135
27521
  "type": "function"
27136
27522
  },
27523
+ {
27524
+ "inputs": [],
27525
+ "name": "blocksOrSecondsPerYear",
27526
+ "outputs": [
27527
+ {
27528
+ "internalType": "uint256",
27529
+ "name": "",
27530
+ "type": "uint256"
27531
+ }
27532
+ ],
27533
+ "stateMutability": "view",
27534
+ "type": "function"
27535
+ },
27137
27536
  {
27138
27537
  "inputs": [
27139
27538
  {
@@ -27384,6 +27783,19 @@
27384
27783
  "stateMutability": "view",
27385
27784
  "type": "function"
27386
27785
  },
27786
+ {
27787
+ "inputs": [],
27788
+ "name": "getBlockNumberOrTimestamp",
27789
+ "outputs": [
27790
+ {
27791
+ "internalType": "uint256",
27792
+ "name": "",
27793
+ "type": "uint256"
27794
+ }
27795
+ ],
27796
+ "stateMutability": "view",
27797
+ "type": "function"
27798
+ },
27387
27799
  {
27388
27800
  "inputs": [],
27389
27801
  "name": "getCash",
@@ -27532,6 +27944,19 @@
27532
27944
  "stateMutability": "view",
27533
27945
  "type": "function"
27534
27946
  },
27947
+ {
27948
+ "inputs": [],
27949
+ "name": "isTimeBased",
27950
+ "outputs": [
27951
+ {
27952
+ "internalType": "bool",
27953
+ "name": "",
27954
+ "type": "bool"
27955
+ }
27956
+ ],
27957
+ "stateMutability": "view",
27958
+ "type": "function"
27959
+ },
27535
27960
  {
27536
27961
  "inputs": [],
27537
27962
  "name": "isVToken",
@@ -27949,7 +28374,7 @@
27949
28374
  "inputs": [
27950
28375
  {
27951
28376
  "internalType": "uint256",
27952
- "name": "_newReduceReservesBlockDelta",
28377
+ "name": "_newReduceReservesBlockOrTimestampDelta",
27953
28378
  "type": "uint256"
27954
28379
  }
27955
28380
  ],
@@ -7060,10 +7060,26 @@
7060
7060
  ]
7061
7061
  },
7062
7062
  "VTokenImpl": {
7063
- "address": "0x6218d22aE20004e77aDd203699A5477697F945c6",
7063
+ "address": "0x9aBbbc046a5b3d6338cE6fcEf470a0DA35Aa09D3",
7064
7064
  "abi": [
7065
7065
  {
7066
- "inputs": [],
7066
+ "inputs": [
7067
+ {
7068
+ "internalType": "bool",
7069
+ "name": "timeBased_",
7070
+ "type": "bool"
7071
+ },
7072
+ {
7073
+ "internalType": "uint256",
7074
+ "name": "blocksPerYear_",
7075
+ "type": "uint256"
7076
+ },
7077
+ {
7078
+ "internalType": "uint256",
7079
+ "name": "maxBorrowRateMantissa_",
7080
+ "type": "uint256"
7081
+ }
7082
+ ],
7067
7083
  "stateMutability": "nonpayable",
7068
7084
  "type": "constructor"
7069
7085
  },
@@ -7103,6 +7119,16 @@
7103
7119
  "name": "HealBorrowUnauthorized",
7104
7120
  "type": "error"
7105
7121
  },
7122
+ {
7123
+ "inputs": [],
7124
+ "name": "InvalidBlocksPerYear",
7125
+ "type": "error"
7126
+ },
7127
+ {
7128
+ "inputs": [],
7129
+ "name": "InvalidTimeBasedConfiguration",
7130
+ "type": "error"
7131
+ },
7106
7132
  {
7107
7133
  "inputs": [
7108
7134
  {
@@ -7574,13 +7600,13 @@
7574
7600
  {
7575
7601
  "indexed": false,
7576
7602
  "internalType": "uint256",
7577
- "name": "oldReduceReservesBlockDelta",
7603
+ "name": "oldReduceReservesBlockOrTimestampDelta",
7578
7604
  "type": "uint256"
7579
7605
  },
7580
7606
  {
7581
7607
  "indexed": false,
7582
7608
  "internalType": "uint256",
7583
- "name": "newReduceReservesBlockDelta",
7609
+ "name": "newReduceReservesBlockOrTimestampDelta",
7584
7610
  "type": "uint256"
7585
7611
  }
7586
7612
  ],
@@ -8028,6 +8054,19 @@
8028
8054
  "stateMutability": "nonpayable",
8029
8055
  "type": "function"
8030
8056
  },
8057
+ {
8058
+ "inputs": [],
8059
+ "name": "blocksOrSecondsPerYear",
8060
+ "outputs": [
8061
+ {
8062
+ "internalType": "uint256",
8063
+ "name": "",
8064
+ "type": "uint256"
8065
+ }
8066
+ ],
8067
+ "stateMutability": "view",
8068
+ "type": "function"
8069
+ },
8031
8070
  {
8032
8071
  "inputs": [
8033
8072
  {
@@ -8278,6 +8317,19 @@
8278
8317
  "stateMutability": "view",
8279
8318
  "type": "function"
8280
8319
  },
8320
+ {
8321
+ "inputs": [],
8322
+ "name": "getBlockNumberOrTimestamp",
8323
+ "outputs": [
8324
+ {
8325
+ "internalType": "uint256",
8326
+ "name": "",
8327
+ "type": "uint256"
8328
+ }
8329
+ ],
8330
+ "stateMutability": "view",
8331
+ "type": "function"
8332
+ },
8281
8333
  {
8282
8334
  "inputs": [],
8283
8335
  "name": "getCash",
@@ -8426,6 +8478,19 @@
8426
8478
  "stateMutability": "view",
8427
8479
  "type": "function"
8428
8480
  },
8481
+ {
8482
+ "inputs": [],
8483
+ "name": "isTimeBased",
8484
+ "outputs": [
8485
+ {
8486
+ "internalType": "bool",
8487
+ "name": "",
8488
+ "type": "bool"
8489
+ }
8490
+ ],
8491
+ "stateMutability": "view",
8492
+ "type": "function"
8493
+ },
8429
8494
  {
8430
8495
  "inputs": [],
8431
8496
  "name": "isVToken",
@@ -8843,7 +8908,7 @@
8843
8908
  "inputs": [
8844
8909
  {
8845
8910
  "internalType": "uint256",
8846
- "name": "_newReduceReservesBlockDelta",
8911
+ "name": "_newReduceReservesBlockOrTimestampDelta",
8847
8912
  "type": "uint256"
8848
8913
  }
8849
8914
  ],