@venusprotocol/isolated-pools 4.2.0-dev.11 → 4.2.0-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink4500bps_timeBased.json +608 -0
- package/deployments/unichainmainnet/solcInputs/57ced15f79b2db7e80f32235fc26da90.json +505 -0
- package/deployments/unichainmainnet.json +360 -0
- package/deployments/unichainmainnet_addresses.json +1 -0
- package/deployments/unichainsepolia/JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink4500bps_timeBased.json +608 -0
- package/deployments/unichainsepolia/solcInputs/57ced15f79b2db7e80f32235fc26da90.json +505 -0
- package/deployments/unichainsepolia.json +360 -0
- package/deployments/unichainsepolia_addresses.json +1 -0
- package/dist/deployments/unichainmainnet.json +360 -0
- package/dist/deployments/unichainsepolia.json +360 -0
- package/dist/helpers/deploymentConfig.js +10 -10
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/dist/typechain/factories/PoolRegistryInterface__factory.d.ts +2 -16
- package/dist/typechain/factories/PoolRegistryInterface__factory.js +0 -119
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/PoolRegistryInterface.d.ts +0 -178
- package/typechain/factories/IVToken__factory.ts +1 -201
- package/typechain/factories/PoolRegistryInterface__factory.ts +0 -119
|
@@ -3192,6 +3192,366 @@
|
|
|
3192
3192
|
}
|
|
3193
3193
|
]
|
|
3194
3194
|
},
|
|
3195
|
+
"JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink4500bps_timeBased": {
|
|
3196
|
+
"address": "0x5C7D8858a25778d992eE803Ce79F1eff60c1d9D1",
|
|
3197
|
+
"abi": [
|
|
3198
|
+
{
|
|
3199
|
+
"inputs": [
|
|
3200
|
+
{
|
|
3201
|
+
"internalType": "uint256",
|
|
3202
|
+
"name": "baseRatePerYear_",
|
|
3203
|
+
"type": "uint256"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"internalType": "uint256",
|
|
3207
|
+
"name": "multiplierPerYear_",
|
|
3208
|
+
"type": "uint256"
|
|
3209
|
+
},
|
|
3210
|
+
{
|
|
3211
|
+
"internalType": "uint256",
|
|
3212
|
+
"name": "jumpMultiplierPerYear_",
|
|
3213
|
+
"type": "uint256"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"internalType": "uint256",
|
|
3217
|
+
"name": "kink_",
|
|
3218
|
+
"type": "uint256"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3222
|
+
"name": "accessControlManager_",
|
|
3223
|
+
"type": "address"
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"internalType": "bool",
|
|
3227
|
+
"name": "timeBased_",
|
|
3228
|
+
"type": "bool"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"internalType": "uint256",
|
|
3232
|
+
"name": "blocksPerYear_",
|
|
3233
|
+
"type": "uint256"
|
|
3234
|
+
}
|
|
3235
|
+
],
|
|
3236
|
+
"stateMutability": "nonpayable",
|
|
3237
|
+
"type": "constructor"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"inputs": [],
|
|
3241
|
+
"name": "InvalidBlocksPerYear",
|
|
3242
|
+
"type": "error"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"inputs": [],
|
|
3246
|
+
"name": "InvalidTimeBasedConfiguration",
|
|
3247
|
+
"type": "error"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"inputs": [
|
|
3251
|
+
{
|
|
3252
|
+
"internalType": "address",
|
|
3253
|
+
"name": "sender",
|
|
3254
|
+
"type": "address"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"internalType": "address",
|
|
3258
|
+
"name": "calledContract",
|
|
3259
|
+
"type": "address"
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"internalType": "string",
|
|
3263
|
+
"name": "methodSignature",
|
|
3264
|
+
"type": "string"
|
|
3265
|
+
}
|
|
3266
|
+
],
|
|
3267
|
+
"name": "Unauthorized",
|
|
3268
|
+
"type": "error"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"anonymous": false,
|
|
3272
|
+
"inputs": [
|
|
3273
|
+
{
|
|
3274
|
+
"indexed": false,
|
|
3275
|
+
"internalType": "uint256",
|
|
3276
|
+
"name": "baseRatePerBlockOrTimestamp",
|
|
3277
|
+
"type": "uint256"
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"indexed": false,
|
|
3281
|
+
"internalType": "uint256",
|
|
3282
|
+
"name": "multiplierPerBlockOrTimestamp",
|
|
3283
|
+
"type": "uint256"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"indexed": false,
|
|
3287
|
+
"internalType": "uint256",
|
|
3288
|
+
"name": "jumpMultiplierPerBlockOrTimestamp",
|
|
3289
|
+
"type": "uint256"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"indexed": false,
|
|
3293
|
+
"internalType": "uint256",
|
|
3294
|
+
"name": "kink",
|
|
3295
|
+
"type": "uint256"
|
|
3296
|
+
}
|
|
3297
|
+
],
|
|
3298
|
+
"name": "NewInterestParams",
|
|
3299
|
+
"type": "event"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"inputs": [],
|
|
3303
|
+
"name": "accessControlManager",
|
|
3304
|
+
"outputs": [
|
|
3305
|
+
{
|
|
3306
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3307
|
+
"name": "",
|
|
3308
|
+
"type": "address"
|
|
3309
|
+
}
|
|
3310
|
+
],
|
|
3311
|
+
"stateMutability": "view",
|
|
3312
|
+
"type": "function"
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
"inputs": [],
|
|
3316
|
+
"name": "baseRatePerBlock",
|
|
3317
|
+
"outputs": [
|
|
3318
|
+
{
|
|
3319
|
+
"internalType": "uint256",
|
|
3320
|
+
"name": "",
|
|
3321
|
+
"type": "uint256"
|
|
3322
|
+
}
|
|
3323
|
+
],
|
|
3324
|
+
"stateMutability": "view",
|
|
3325
|
+
"type": "function"
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"inputs": [],
|
|
3329
|
+
"name": "blocksOrSecondsPerYear",
|
|
3330
|
+
"outputs": [
|
|
3331
|
+
{
|
|
3332
|
+
"internalType": "uint256",
|
|
3333
|
+
"name": "",
|
|
3334
|
+
"type": "uint256"
|
|
3335
|
+
}
|
|
3336
|
+
],
|
|
3337
|
+
"stateMutability": "view",
|
|
3338
|
+
"type": "function"
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
"inputs": [],
|
|
3342
|
+
"name": "getBlockNumberOrTimestamp",
|
|
3343
|
+
"outputs": [
|
|
3344
|
+
{
|
|
3345
|
+
"internalType": "uint256",
|
|
3346
|
+
"name": "",
|
|
3347
|
+
"type": "uint256"
|
|
3348
|
+
}
|
|
3349
|
+
],
|
|
3350
|
+
"stateMutability": "view",
|
|
3351
|
+
"type": "function"
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"inputs": [
|
|
3355
|
+
{
|
|
3356
|
+
"internalType": "uint256",
|
|
3357
|
+
"name": "cash",
|
|
3358
|
+
"type": "uint256"
|
|
3359
|
+
},
|
|
3360
|
+
{
|
|
3361
|
+
"internalType": "uint256",
|
|
3362
|
+
"name": "borrows",
|
|
3363
|
+
"type": "uint256"
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"internalType": "uint256",
|
|
3367
|
+
"name": "reserves",
|
|
3368
|
+
"type": "uint256"
|
|
3369
|
+
},
|
|
3370
|
+
{
|
|
3371
|
+
"internalType": "uint256",
|
|
3372
|
+
"name": "badDebt",
|
|
3373
|
+
"type": "uint256"
|
|
3374
|
+
}
|
|
3375
|
+
],
|
|
3376
|
+
"name": "getBorrowRate",
|
|
3377
|
+
"outputs": [
|
|
3378
|
+
{
|
|
3379
|
+
"internalType": "uint256",
|
|
3380
|
+
"name": "",
|
|
3381
|
+
"type": "uint256"
|
|
3382
|
+
}
|
|
3383
|
+
],
|
|
3384
|
+
"stateMutability": "view",
|
|
3385
|
+
"type": "function"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"inputs": [
|
|
3389
|
+
{
|
|
3390
|
+
"internalType": "uint256",
|
|
3391
|
+
"name": "cash",
|
|
3392
|
+
"type": "uint256"
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"internalType": "uint256",
|
|
3396
|
+
"name": "borrows",
|
|
3397
|
+
"type": "uint256"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"internalType": "uint256",
|
|
3401
|
+
"name": "reserves",
|
|
3402
|
+
"type": "uint256"
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"internalType": "uint256",
|
|
3406
|
+
"name": "reserveFactorMantissa",
|
|
3407
|
+
"type": "uint256"
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"internalType": "uint256",
|
|
3411
|
+
"name": "badDebt",
|
|
3412
|
+
"type": "uint256"
|
|
3413
|
+
}
|
|
3414
|
+
],
|
|
3415
|
+
"name": "getSupplyRate",
|
|
3416
|
+
"outputs": [
|
|
3417
|
+
{
|
|
3418
|
+
"internalType": "uint256",
|
|
3419
|
+
"name": "",
|
|
3420
|
+
"type": "uint256"
|
|
3421
|
+
}
|
|
3422
|
+
],
|
|
3423
|
+
"stateMutability": "view",
|
|
3424
|
+
"type": "function"
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"inputs": [],
|
|
3428
|
+
"name": "isInterestRateModel",
|
|
3429
|
+
"outputs": [
|
|
3430
|
+
{
|
|
3431
|
+
"internalType": "bool",
|
|
3432
|
+
"name": "",
|
|
3433
|
+
"type": "bool"
|
|
3434
|
+
}
|
|
3435
|
+
],
|
|
3436
|
+
"stateMutability": "pure",
|
|
3437
|
+
"type": "function"
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"inputs": [],
|
|
3441
|
+
"name": "isTimeBased",
|
|
3442
|
+
"outputs": [
|
|
3443
|
+
{
|
|
3444
|
+
"internalType": "bool",
|
|
3445
|
+
"name": "",
|
|
3446
|
+
"type": "bool"
|
|
3447
|
+
}
|
|
3448
|
+
],
|
|
3449
|
+
"stateMutability": "view",
|
|
3450
|
+
"type": "function"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"inputs": [],
|
|
3454
|
+
"name": "jumpMultiplierPerBlock",
|
|
3455
|
+
"outputs": [
|
|
3456
|
+
{
|
|
3457
|
+
"internalType": "uint256",
|
|
3458
|
+
"name": "",
|
|
3459
|
+
"type": "uint256"
|
|
3460
|
+
}
|
|
3461
|
+
],
|
|
3462
|
+
"stateMutability": "view",
|
|
3463
|
+
"type": "function"
|
|
3464
|
+
},
|
|
3465
|
+
{
|
|
3466
|
+
"inputs": [],
|
|
3467
|
+
"name": "kink",
|
|
3468
|
+
"outputs": [
|
|
3469
|
+
{
|
|
3470
|
+
"internalType": "uint256",
|
|
3471
|
+
"name": "",
|
|
3472
|
+
"type": "uint256"
|
|
3473
|
+
}
|
|
3474
|
+
],
|
|
3475
|
+
"stateMutability": "view",
|
|
3476
|
+
"type": "function"
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
"inputs": [],
|
|
3480
|
+
"name": "multiplierPerBlock",
|
|
3481
|
+
"outputs": [
|
|
3482
|
+
{
|
|
3483
|
+
"internalType": "uint256",
|
|
3484
|
+
"name": "",
|
|
3485
|
+
"type": "uint256"
|
|
3486
|
+
}
|
|
3487
|
+
],
|
|
3488
|
+
"stateMutability": "view",
|
|
3489
|
+
"type": "function"
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"inputs": [
|
|
3493
|
+
{
|
|
3494
|
+
"internalType": "uint256",
|
|
3495
|
+
"name": "baseRatePerYear",
|
|
3496
|
+
"type": "uint256"
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"internalType": "uint256",
|
|
3500
|
+
"name": "multiplierPerYear",
|
|
3501
|
+
"type": "uint256"
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"internalType": "uint256",
|
|
3505
|
+
"name": "jumpMultiplierPerYear",
|
|
3506
|
+
"type": "uint256"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"internalType": "uint256",
|
|
3510
|
+
"name": "kink_",
|
|
3511
|
+
"type": "uint256"
|
|
3512
|
+
}
|
|
3513
|
+
],
|
|
3514
|
+
"name": "updateJumpRateModel",
|
|
3515
|
+
"outputs": [],
|
|
3516
|
+
"stateMutability": "nonpayable",
|
|
3517
|
+
"type": "function"
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"inputs": [
|
|
3521
|
+
{
|
|
3522
|
+
"internalType": "uint256",
|
|
3523
|
+
"name": "cash",
|
|
3524
|
+
"type": "uint256"
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"internalType": "uint256",
|
|
3528
|
+
"name": "borrows",
|
|
3529
|
+
"type": "uint256"
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"internalType": "uint256",
|
|
3533
|
+
"name": "reserves",
|
|
3534
|
+
"type": "uint256"
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
"internalType": "uint256",
|
|
3538
|
+
"name": "badDebt",
|
|
3539
|
+
"type": "uint256"
|
|
3540
|
+
}
|
|
3541
|
+
],
|
|
3542
|
+
"name": "utilizationRate",
|
|
3543
|
+
"outputs": [
|
|
3544
|
+
{
|
|
3545
|
+
"internalType": "uint256",
|
|
3546
|
+
"name": "",
|
|
3547
|
+
"type": "uint256"
|
|
3548
|
+
}
|
|
3549
|
+
],
|
|
3550
|
+
"stateMutability": "pure",
|
|
3551
|
+
"type": "function"
|
|
3552
|
+
}
|
|
3553
|
+
]
|
|
3554
|
+
},
|
|
3195
3555
|
"JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps_timeBased": {
|
|
3196
3556
|
"address": "0x897aD981078d1dBA52069f4BdC7F9441B0B94B76",
|
|
3197
3557
|
"abi": [
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"DefaultProxyAdmin": "0x78e9fff2ab8daAB8559070d897C399E5e1C5074c",
|
|
9
9
|
"JumpRateModelV2_base0bps_slope1250bps_jump30000bps_kink8000bps_timeBased": "0x2DAb0B51d7d899b66d4F16EA1c0cEB1767863523",
|
|
10
10
|
"JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink3000bps_timeBased": "0x6379613ceE9f40E187971c9917fdf33ba5386CAb",
|
|
11
|
+
"JumpRateModelV2_base0bps_slope1500bps_jump30000bps_kink4500bps_timeBased": "0x5C7D8858a25778d992eE803Ce79F1eff60c1d9D1",
|
|
11
12
|
"JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps_timeBased": "0x897aD981078d1dBA52069f4BdC7F9441B0B94B76",
|
|
12
13
|
"JumpRateModelV2_base0bps_slope300bps_jump30000bps_kink8000bps_timeBased": "0x1cC9De442f893a0C4e1E6ffB1Ac404DDb9B67ab4",
|
|
13
14
|
"JumpRateModelV2_base0bps_slope350bps_jump25000bps_kink8000bps_timeBased": "0xb41aDec3D6dCc376164D071Cb5ed70388335e471",
|