@venusprotocol/isolated-pools 3.6.0-dev.3 → 3.6.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.
- package/deployments/bscmainnet/Comptroller_LiquidStakedETH.json +187 -0
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps.json +608 -0
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps.json +608 -0
- package/deployments/bscmainnet/SwapRouter_LiquidStakedETH.json +2422 -0
- package/deployments/bscmainnet/VToken_vETH_LiquidStakedETH.json +257 -0
- package/deployments/bscmainnet/VToken_vweETH_LiquidStakedETH.json +257 -0
- package/deployments/bscmainnet/VToken_vwstETH_LiquidStakedETH.json +257 -0
- package/deployments/bscmainnet/solcInputs/743ca062289056795b3eefbac34e70b9.json +283 -0
- package/deployments/bscmainnet.json +5645 -2929
- package/deployments/bscmainnet_addresses.json +8 -1
- package/deployments/bsctestnet/Comptroller_LiquidStakedETH.json +187 -0
- package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps.json +608 -0
- package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps.json +608 -0
- package/deployments/bsctestnet/MockweETH.json +458 -0
- package/deployments/bsctestnet/MockwstETH.json +458 -0
- package/deployments/bsctestnet/SwapRouter_LiquidStakedETH.json +2422 -0
- package/deployments/bsctestnet/VToken_vETH_LiquidStakedETH.json +257 -0
- package/deployments/bsctestnet/VToken_vweETH_LiquidStakedETH.json +257 -0
- package/deployments/bsctestnet/VToken_vwstETH_LiquidStakedETH.json +257 -0
- package/deployments/bsctestnet/solcInputs/2040335765422e1de87160c828624fdd.json +406 -0
- package/deployments/bsctestnet/solcInputs/743ca062289056795b3eefbac34e70b9.json +283 -0
- package/deployments/bsctestnet.json +3926 -592
- package/deployments/bsctestnet_addresses.json +10 -1
- package/deployments/ethereum/JumpRateModelV2_base0bps_slope300bps_jump8000bps_kink9000bps.json +608 -0
- package/deployments/ethereum/solcInputs/675de3755730df34f493b27a4f957823.json +55 -0
- package/deployments/ethereum.json +360 -0
- package/deployments/ethereum_addresses.json +1 -0
- package/dist/deploy/004-swap-router.js +9 -0
- package/dist/deployments/bscmainnet.json +5645 -2929
- package/dist/deployments/bsctestnet.json +3926 -592
- package/dist/deployments/ethereum.json +360 -0
- package/dist/helpers/deploymentConfig.js +171 -1
- package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
- package/dist/typechain/factories/IVToken__factory.js +201 -1
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +341 -4
- package/typechain/factories/IVToken__factory.ts +201 -1
|
@@ -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": [
|
|
@@ -764,6 +764,27 @@ exports.globalConfig = {
|
|
|
764
764
|
decimals: 9,
|
|
765
765
|
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
766
766
|
},
|
|
767
|
+
{
|
|
768
|
+
isMock: true,
|
|
769
|
+
name: "Wrapped liquid staked Ether 2.0",
|
|
770
|
+
symbol: "wstETH",
|
|
771
|
+
decimals: 18,
|
|
772
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
isMock: true,
|
|
776
|
+
name: "Wrapped eETH",
|
|
777
|
+
symbol: "weETH",
|
|
778
|
+
decimals: 18,
|
|
779
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
isMock: false,
|
|
783
|
+
name: "Ethereum Token",
|
|
784
|
+
symbol: "ETH",
|
|
785
|
+
decimals: 18,
|
|
786
|
+
tokenAddress: "0x98f7A83361F7Ac8765CcEBAB1425da6b341958a7",
|
|
787
|
+
},
|
|
767
788
|
],
|
|
768
789
|
poolConfig: [
|
|
769
790
|
{
|
|
@@ -1498,6 +1519,70 @@ exports.globalConfig = {
|
|
|
1498
1519
|
},
|
|
1499
1520
|
],
|
|
1500
1521
|
},
|
|
1522
|
+
{
|
|
1523
|
+
id: "LiquidStakedETH",
|
|
1524
|
+
name: "Liquid Staked ETH",
|
|
1525
|
+
closeFactor: (0, utils_1.convertToUnit)("0.5", 18),
|
|
1526
|
+
liquidationIncentive: (0, utils_1.convertToUnit)("1.02", 18),
|
|
1527
|
+
minLiquidatableCollateral: (0, utils_1.convertToUnit)("100", 18),
|
|
1528
|
+
vtokens: [
|
|
1529
|
+
{
|
|
1530
|
+
name: "Venus wstETH (Liquid Staked ETH)",
|
|
1531
|
+
asset: "wstETH",
|
|
1532
|
+
symbol: "vwstETH_LiquidStakedETH",
|
|
1533
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1534
|
+
baseRatePerYear: "0",
|
|
1535
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
1536
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
1537
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
1538
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
1539
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
1540
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
1541
|
+
initialSupply: (0, utils_1.convertToUnit)("3.55", 18),
|
|
1542
|
+
supplyCap: (0, utils_1.convertToUnit)("50", 18),
|
|
1543
|
+
borrowCap: (0, utils_1.convertToUnit)("5", 18),
|
|
1544
|
+
reduceReservesBlockDelta: "28800",
|
|
1545
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
name: "Venus weETH (Liquid Staked ETH)",
|
|
1549
|
+
asset: "weETH",
|
|
1550
|
+
symbol: "vweETH_LiquidStakedETH",
|
|
1551
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1552
|
+
baseRatePerYear: "0",
|
|
1553
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
1554
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
1555
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
1556
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
1557
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
1558
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
1559
|
+
initialSupply: (0, utils_1.convertToUnit)("4.43236349753311919", 18),
|
|
1560
|
+
supplyCap: (0, utils_1.convertToUnit)("400", 18),
|
|
1561
|
+
borrowCap: (0, utils_1.convertToUnit)("200", 18),
|
|
1562
|
+
reduceReservesBlockDelta: "28800",
|
|
1563
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: "Venus ETH (Liquid Staked ETH)",
|
|
1567
|
+
asset: "ETH",
|
|
1568
|
+
symbol: "vETH_LiquidStakedETH",
|
|
1569
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1570
|
+
baseRatePerYear: "0",
|
|
1571
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
|
|
1572
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
1573
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
1574
|
+
collateralFactor: (0, utils_1.convertToUnit)("0", 18),
|
|
1575
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
|
|
1576
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.15", 18),
|
|
1577
|
+
initialSupply: (0, utils_1.convertToUnit)("2", 18),
|
|
1578
|
+
supplyCap: (0, utils_1.convertToUnit)("450", 18),
|
|
1579
|
+
borrowCap: (0, utils_1.convertToUnit)("400", 18),
|
|
1580
|
+
reduceReservesBlockDelta: "28800",
|
|
1581
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1582
|
+
},
|
|
1583
|
+
],
|
|
1584
|
+
rewards: [],
|
|
1585
|
+
},
|
|
1501
1586
|
],
|
|
1502
1587
|
accessControlConfig: [
|
|
1503
1588
|
...poolRegistryPermissions(),
|
|
@@ -1677,6 +1762,27 @@ exports.globalConfig = {
|
|
|
1677
1762
|
decimals: 9,
|
|
1678
1763
|
tokenAddress: "0xc748673057861a797275CD8A068AbB95A902e8de",
|
|
1679
1764
|
},
|
|
1765
|
+
{
|
|
1766
|
+
isMock: false,
|
|
1767
|
+
name: "Wrapped liquid staked Ether 2.0",
|
|
1768
|
+
symbol: "wstETH",
|
|
1769
|
+
decimals: 18,
|
|
1770
|
+
tokenAddress: "0x26c5e01524d2E6280A48F2c50fF6De7e52E9611C",
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
isMock: false,
|
|
1774
|
+
name: "Wrapped eETH",
|
|
1775
|
+
symbol: "weETH",
|
|
1776
|
+
decimals: 18,
|
|
1777
|
+
tokenAddress: "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a",
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
isMock: false,
|
|
1781
|
+
name: "Ethereum Token",
|
|
1782
|
+
symbol: "ETH",
|
|
1783
|
+
decimals: 18,
|
|
1784
|
+
tokenAddress: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8",
|
|
1785
|
+
},
|
|
1680
1786
|
],
|
|
1681
1787
|
poolConfig: [
|
|
1682
1788
|
{
|
|
@@ -2411,6 +2517,70 @@ exports.globalConfig = {
|
|
|
2411
2517
|
},
|
|
2412
2518
|
],
|
|
2413
2519
|
},
|
|
2520
|
+
{
|
|
2521
|
+
id: "LiquidStakedETH",
|
|
2522
|
+
name: "Liquid Staked ETH",
|
|
2523
|
+
closeFactor: (0, utils_1.convertToUnit)("0.5", 18),
|
|
2524
|
+
liquidationIncentive: (0, utils_1.convertToUnit)("1.02", 18),
|
|
2525
|
+
minLiquidatableCollateral: (0, utils_1.convertToUnit)("100", 18),
|
|
2526
|
+
vtokens: [
|
|
2527
|
+
{
|
|
2528
|
+
name: "Venus wstETH (Liquid Staked ETH)",
|
|
2529
|
+
asset: "wstETH",
|
|
2530
|
+
symbol: "vwstETH_LiquidStakedETH",
|
|
2531
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2532
|
+
baseRatePerYear: "0",
|
|
2533
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
2534
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
2535
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
2536
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
2537
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
2538
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
2539
|
+
initialSupply: (0, utils_1.convertToUnit)("3.55", 18),
|
|
2540
|
+
supplyCap: (0, utils_1.convertToUnit)("50", 18),
|
|
2541
|
+
borrowCap: (0, utils_1.convertToUnit)("5", 18),
|
|
2542
|
+
reduceReservesBlockDelta: "28800",
|
|
2543
|
+
vTokenReceiver: exports.preconfiguredAddresses.bscmainnet.VTreasury,
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
name: "Venus weETH (Liquid Staked ETH)",
|
|
2547
|
+
asset: "weETH",
|
|
2548
|
+
symbol: "vweETH_LiquidStakedETH",
|
|
2549
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2550
|
+
baseRatePerYear: "0",
|
|
2551
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
2552
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
2553
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
2554
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
2555
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
2556
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
2557
|
+
initialSupply: (0, utils_1.convertToUnit)("4.43236349753311919", 18),
|
|
2558
|
+
supplyCap: (0, utils_1.convertToUnit)("400", 18),
|
|
2559
|
+
borrowCap: (0, utils_1.convertToUnit)("200", 18),
|
|
2560
|
+
reduceReservesBlockDelta: "28800",
|
|
2561
|
+
vTokenReceiver: exports.preconfiguredAddresses.bscmainnet.VTreasury,
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
name: "Venus ETH (Liquid Staked ETH)",
|
|
2565
|
+
asset: "ETH",
|
|
2566
|
+
symbol: "vETH_LiquidStakedETH",
|
|
2567
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2568
|
+
baseRatePerYear: "0",
|
|
2569
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
|
|
2570
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
2571
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
2572
|
+
collateralFactor: (0, utils_1.convertToUnit)("0", 18),
|
|
2573
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
|
|
2574
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.15", 18),
|
|
2575
|
+
initialSupply: (0, utils_1.convertToUnit)("2", 18),
|
|
2576
|
+
supplyCap: (0, utils_1.convertToUnit)("450", 18),
|
|
2577
|
+
borrowCap: (0, utils_1.convertToUnit)("400", 18),
|
|
2578
|
+
reduceReservesBlockDelta: "28800",
|
|
2579
|
+
vTokenReceiver: exports.preconfiguredAddresses.bscmainnet.VTreasury,
|
|
2580
|
+
},
|
|
2581
|
+
],
|
|
2582
|
+
rewards: [],
|
|
2583
|
+
},
|
|
2414
2584
|
],
|
|
2415
2585
|
accessControlConfig: [
|
|
2416
2586
|
...poolRegistryPermissions(),
|
|
@@ -3578,7 +3748,7 @@ exports.globalConfig = {
|
|
|
3578
3748
|
symbol: "vWETH_LiquidStakedETH",
|
|
3579
3749
|
rateModel: InterestRateModels.JumpRate.toString(),
|
|
3580
3750
|
baseRatePerYear: "0",
|
|
3581
|
-
multiplierPerYear: (0, utils_1.convertToUnit)("0.
|
|
3751
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
|
|
3582
3752
|
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
3583
3753
|
kink_: (0, utils_1.convertToUnit)("0.9", 18),
|
|
3584
3754
|
collateralFactor: (0, utils_1.convertToUnit)("0", 18),
|
|
@@ -3,7 +3,11 @@ import { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IVToken, IVTokenInterface } from "../IVToken";
|
|
4
4
|
export declare class IVToken__factory {
|
|
5
5
|
static readonly abi: {
|
|
6
|
-
inputs:
|
|
6
|
+
inputs: {
|
|
7
|
+
internalType: string;
|
|
8
|
+
name: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}[];
|
|
7
11
|
name: string;
|
|
8
12
|
outputs: {
|
|
9
13
|
internalType: string;
|