@venusprotocol/isolated-pools 3.7.0-dev.4 → 3.7.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.
- package/deployments/arbitrumone/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/arbitrumone/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/arbitrumone.json +360 -0
- package/deployments/arbitrumone_addresses.json +1 -0
- package/deployments/basesepolia/.chainId +1 -0
- package/deployments/basesepolia/ComptrollerBeacon.json +206 -0
- package/deployments/basesepolia/ComptrollerImpl.json +3396 -0
- package/deployments/basesepolia/Comptroller_Core.json +187 -0
- package/deployments/basesepolia/DefaultProxyAdmin.json +200 -0
- package/deployments/basesepolia/JumpRateModelV2_base0bps_slope750bps_jump25000bps_kink8000bps.json +608 -0
- package/deployments/basesepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +608 -0
- package/deployments/basesepolia/MockUSDC.json +458 -0
- package/deployments/basesepolia/MockcbBTC.json +458 -0
- package/deployments/basesepolia/NativeTokenGateway_vWETH_Core.json +599 -0
- package/deployments/basesepolia/PoolLens.json +1416 -0
- package/deployments/basesepolia/PoolRegistry.json +940 -0
- package/deployments/basesepolia/PoolRegistry_Implementation.json +1194 -0
- package/deployments/basesepolia/PoolRegistry_Proxy.json +262 -0
- package/deployments/basesepolia/RewardsDistributorImpl.json +1856 -0
- package/deployments/basesepolia/RewardsDistributor_Core_0.json +1420 -0
- package/deployments/basesepolia/RewardsDistributor_Core_0_Proxy.json +272 -0
- package/deployments/basesepolia/VTokenBeacon.json +206 -0
- package/deployments/basesepolia/VTokenImpl.json +3269 -0
- package/deployments/basesepolia/VToken_vUSDC_Core.json +257 -0
- package/deployments/basesepolia/VToken_vWETH_Core.json +257 -0
- package/deployments/basesepolia/VToken_vcbBTC_Core.json +257 -0
- package/deployments/basesepolia/solcInputs/1cc1a300ca8c782ec718d1d686c359e7.json +301 -0
- package/deployments/basesepolia/solcInputs/9fb535a58937a08c38529913271f4d87.json +397 -0
- package/deployments/basesepolia.json +11959 -0
- package/deployments/basesepolia_addresses.json +27 -0
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/bscmainnet.json +360 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/ethereum/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/ethereum.json +360 -0
- package/deployments/ethereum_addresses.json +1 -0
- package/deployments/opbnbmainnet/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/opbnbmainnet/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/opbnbmainnet.json +360 -0
- package/deployments/opbnbmainnet_addresses.json +1 -0
- package/dist/deploy/018-native-token-gateway.js +14 -0
- package/dist/deployments/arbitrumone.json +360 -0
- package/dist/deployments/basesepolia.json +11959 -0
- package/dist/deployments/bscmainnet.json +360 -0
- package/dist/deployments/ethereum.json +360 -0
- package/dist/deployments/opbnbmainnet.json +360 -0
- package/dist/deployments/opmainnet.json +9280 -0
- package/dist/hardhat.config.js +19 -0
- package/dist/helpers/deploymentConfig.d.ts +9 -0
- package/dist/helpers/deploymentConfig.js +152 -17
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/factories/IVToken__factory.ts +1 -201
|
@@ -3258,6 +3258,366 @@
|
|
|
3258
3258
|
}
|
|
3259
3259
|
]
|
|
3260
3260
|
},
|
|
3261
|
+
"JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps": {
|
|
3262
|
+
"address": "0x2F81dAA9de0fD60fb9B105Cfc5b67A31Fda547b6",
|
|
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_slope300bps_jump8000bps_kink9000bps": {
|
|
3262
3622
|
"address": "0xe1747F8D64C297DBB482c4FD8fd11EA73F7Dc85a",
|
|
3263
3623
|
"abi": [
|