@venusprotocol/isolated-pools 4.2.0-dev.12 → 4.2.0-dev.13
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_slope900bps_jump30000bps_kink4500bps_timeBased.json +608 -0
- package/deployments/unichainmainnet/VToken_vweETH_Core.json +257 -0
- package/deployments/unichainmainnet/VToken_vwstETH_Core.json +257 -0
- package/deployments/unichainmainnet/solcInputs/ce6625b54019da2185242b008485096c.json +487 -0
- package/deployments/unichainmainnet.json +508 -0
- package/deployments/unichainmainnet_addresses.json +4 -1
- package/deployments/unichainsepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased.json +608 -0
- package/deployments/unichainsepolia/MockweETH.json +458 -0
- package/deployments/unichainsepolia/MockwstETH.json +458 -0
- package/deployments/unichainsepolia/VToken_vweETH_Core.json +257 -0
- package/deployments/unichainsepolia/VToken_vwstETH_Core.json +257 -0
- package/deployments/unichainsepolia/solcInputs/ce6625b54019da2185242b008485096c.json +487 -0
- package/deployments/unichainsepolia.json +1132 -6
- package/deployments/unichainsepolia_addresses.json +6 -1
- package/dist/deployments/unichainmainnet.json +508 -0
- package/dist/deployments/unichainsepolia.json +1132 -6
- package/dist/helpers/deploymentConfig.js +106 -2
- package/package.json +1 -1
|
@@ -206,14 +206,14 @@ exports.preconfiguredAddresses = {
|
|
|
206
206
|
},
|
|
207
207
|
unichainsepolia: {
|
|
208
208
|
VTreasury: "0x0C7CB62F2194cD701bcE8FD8067b43A3Bb76428e",
|
|
209
|
-
NormalTimelock:
|
|
209
|
+
NormalTimelock: "0x5e20F5A2e23463D39287185DF84607DF7068F314",
|
|
210
210
|
FastTrackTimelock: exports.UNICHAIN_SEPOLIA_MULTISIG,
|
|
211
211
|
CriticalTimelock: exports.UNICHAIN_SEPOLIA_MULTISIG,
|
|
212
212
|
AccessControlManager: "0x854C064EA6b503A97980F481FA3B7279012fdeDd",
|
|
213
213
|
},
|
|
214
214
|
unichainmainnet: {
|
|
215
215
|
VTreasury: "0x958F4C84d3ad523Fa9936Dc465A123C7AD43D69B",
|
|
216
|
-
NormalTimelock:
|
|
216
|
+
NormalTimelock: "0x918532A78d22419Da4091930d472bDdf532BE89a",
|
|
217
217
|
FastTrackTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
|
|
218
218
|
CriticalTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
|
|
219
219
|
AccessControlManager: "0x1f12014c497a9d905155eB9BfDD9FaC6885e61d0",
|
|
@@ -7174,6 +7174,20 @@ exports.globalConfig = {
|
|
|
7174
7174
|
decimals: 18,
|
|
7175
7175
|
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
7176
7176
|
},
|
|
7177
|
+
{
|
|
7178
|
+
isMock: true,
|
|
7179
|
+
name: "Wrapped eETH",
|
|
7180
|
+
symbol: "weETH",
|
|
7181
|
+
decimals: 18,
|
|
7182
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
7183
|
+
},
|
|
7184
|
+
{
|
|
7185
|
+
isMock: true,
|
|
7186
|
+
name: "Wrapped liquid staked Ether 2.0",
|
|
7187
|
+
symbol: "wstETH",
|
|
7188
|
+
decimals: 18,
|
|
7189
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
7190
|
+
},
|
|
7177
7191
|
],
|
|
7178
7192
|
poolConfig: [
|
|
7179
7193
|
{
|
|
@@ -7273,6 +7287,42 @@ exports.globalConfig = {
|
|
|
7273
7287
|
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
|
|
7274
7288
|
vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
|
|
7275
7289
|
},
|
|
7290
|
+
{
|
|
7291
|
+
name: "Venus wstETH (Core)",
|
|
7292
|
+
asset: "wstETH",
|
|
7293
|
+
symbol: "vwstETH_Core",
|
|
7294
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
7295
|
+
baseRatePerYear: "0",
|
|
7296
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
|
|
7297
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
|
|
7298
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
7299
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
|
|
7300
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.725", 18),
|
|
7301
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
7302
|
+
initialSupply: (0, utils_1.convertToUnit)("3", 18),
|
|
7303
|
+
supplyCap: (0, utils_1.convertToUnit)("14000", 18),
|
|
7304
|
+
borrowCap: (0, utils_1.convertToUnit)("7000", 18),
|
|
7305
|
+
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
|
|
7306
|
+
vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
name: "Venus weETH (Core)",
|
|
7310
|
+
asset: "weETH",
|
|
7311
|
+
symbol: "vweETH_Core",
|
|
7312
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
7313
|
+
baseRatePerYear: "0",
|
|
7314
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
7315
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
|
|
7316
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
7317
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
|
|
7318
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
|
|
7319
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.4", 18),
|
|
7320
|
+
initialSupply: (0, utils_1.convertToUnit)("3", 18),
|
|
7321
|
+
supplyCap: (0, utils_1.convertToUnit)("4000", 18),
|
|
7322
|
+
borrowCap: (0, utils_1.convertToUnit)("400", 18),
|
|
7323
|
+
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
|
|
7324
|
+
vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
|
|
7325
|
+
},
|
|
7276
7326
|
],
|
|
7277
7327
|
rewards: [
|
|
7278
7328
|
// XVS Rewards Over 3600 days (311040000 seconds)
|
|
@@ -7331,6 +7381,20 @@ exports.globalConfig = {
|
|
|
7331
7381
|
decimals: 18,
|
|
7332
7382
|
tokenAddress: "0x8f187aa05619a017077f5308904739877ce9ea21",
|
|
7333
7383
|
},
|
|
7384
|
+
{
|
|
7385
|
+
isMock: false,
|
|
7386
|
+
name: "Wrapped eETH",
|
|
7387
|
+
symbol: "weETH",
|
|
7388
|
+
decimals: 18,
|
|
7389
|
+
tokenAddress: "0x7DCC39B4d1C53CB31e1aBc0e358b43987FEF80f7",
|
|
7390
|
+
},
|
|
7391
|
+
{
|
|
7392
|
+
isMock: false,
|
|
7393
|
+
name: "Wrapped liquid staked Ether 2.0",
|
|
7394
|
+
symbol: "wstETH",
|
|
7395
|
+
decimals: 18,
|
|
7396
|
+
tokenAddress: "0xc02fE7317D4eb8753a02c35fe019786854A92001",
|
|
7397
|
+
},
|
|
7334
7398
|
],
|
|
7335
7399
|
poolConfig: [
|
|
7336
7400
|
{
|
|
@@ -7394,6 +7458,42 @@ exports.globalConfig = {
|
|
|
7394
7458
|
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
|
|
7395
7459
|
vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
|
|
7396
7460
|
},
|
|
7461
|
+
{
|
|
7462
|
+
name: "Venus wstETH (Core)",
|
|
7463
|
+
asset: "wstETH",
|
|
7464
|
+
symbol: "vwstETH_Core",
|
|
7465
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
7466
|
+
baseRatePerYear: "0",
|
|
7467
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
|
|
7468
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
|
|
7469
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
7470
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
|
|
7471
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.725", 18),
|
|
7472
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
7473
|
+
initialSupply: (0, utils_1.convertToUnit)("3", 18),
|
|
7474
|
+
supplyCap: (0, utils_1.convertToUnit)("14000", 18),
|
|
7475
|
+
borrowCap: (0, utils_1.convertToUnit)("7000", 18),
|
|
7476
|
+
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
|
|
7477
|
+
vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
name: "Venus weETH (Core)",
|
|
7481
|
+
asset: "weETH",
|
|
7482
|
+
symbol: "vweETH_Core",
|
|
7483
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
7484
|
+
baseRatePerYear: "0",
|
|
7485
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
7486
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
|
|
7487
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
7488
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
|
|
7489
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
|
|
7490
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.4", 18),
|
|
7491
|
+
initialSupply: (0, utils_1.convertToUnit)("3", 18),
|
|
7492
|
+
supplyCap: (0, utils_1.convertToUnit)("4000", 18),
|
|
7493
|
+
borrowCap: (0, utils_1.convertToUnit)("400", 18),
|
|
7494
|
+
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
|
|
7495
|
+
vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
|
|
7496
|
+
},
|
|
7397
7497
|
],
|
|
7398
7498
|
rewards: [
|
|
7399
7499
|
// XVS Rewards Over 30 days (2592000 seconds)
|
|
@@ -7659,6 +7759,10 @@ function getMaxBorrowRateMantissa(networkName) {
|
|
|
7659
7759
|
return ethers_1.BigNumber.from(0.0005e16);
|
|
7660
7760
|
case "opbnbmainnet":
|
|
7661
7761
|
return ethers_1.BigNumber.from(0.0005e16);
|
|
7762
|
+
case "unichainsepolia":
|
|
7763
|
+
return ethers_1.BigNumber.from(0.0005e16);
|
|
7764
|
+
case "unichainmainnet":
|
|
7765
|
+
return ethers_1.BigNumber.from(0.0005e16);
|
|
7662
7766
|
case "development":
|
|
7663
7767
|
return ethers_1.BigNumber.from(0.0005e16);
|
|
7664
7768
|
default:
|