@venusprotocol/isolated-pools 4.1.0-dev.1 → 4.1.0-dev.3

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.
Files changed (32) hide show
  1. package/deployments/ethereum/VToken_vweETHs_Core.json +257 -0
  2. package/deployments/ethereum.json +74 -0
  3. package/deployments/ethereum_addresses.json +1 -0
  4. package/deployments/sepolia/VToken_vweETHs_Core.json +257 -0
  5. package/deployments/sepolia.json +74 -0
  6. package/deployments/sepolia_addresses.json +1 -0
  7. package/deployments/unichainmainnet/.chainId +1 -0
  8. package/deployments/unichainmainnet/ComptrollerBeacon.json +206 -0
  9. package/deployments/unichainmainnet/ComptrollerImpl.json +3396 -0
  10. package/deployments/unichainmainnet/Comptroller_Core.json +187 -0
  11. package/deployments/unichainmainnet/DefaultProxyAdmin.json +200 -0
  12. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope1250bps_jump30000bps_kink8000bps.json +608 -0
  13. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps.json +608 -0
  14. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope300bps_jump30000bps_kink8000bps.json +608 -0
  15. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope350bps_jump25000bps_kink8000bps.json +608 -0
  16. package/deployments/unichainmainnet/PoolLens.json +1416 -0
  17. package/deployments/unichainmainnet/PoolRegistry.json +940 -0
  18. package/deployments/unichainmainnet/PoolRegistry_Implementation.json +1194 -0
  19. package/deployments/unichainmainnet/PoolRegistry_Proxy.json +262 -0
  20. package/deployments/unichainmainnet/VTokenBeacon.json +206 -0
  21. package/deployments/unichainmainnet/VTokenImpl.json +3269 -0
  22. package/deployments/unichainmainnet/VToken_vUSDC_Core.json +257 -0
  23. package/deployments/unichainmainnet/VToken_vWETH_Core.json +257 -0
  24. package/deployments/unichainmainnet/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
  25. package/deployments/unichainmainnet.json +9039 -0
  26. package/deployments/unichainmainnet_addresses.json +22 -0
  27. package/dist/deployments/ethereum.json +74 -0
  28. package/dist/deployments/sepolia.json +74 -0
  29. package/dist/hardhat.config.js +20 -0
  30. package/dist/helpers/deploymentConfig.d.ts +9 -0
  31. package/dist/helpers/deploymentConfig.js +127 -1
  32. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "unichainmainnet",
3
+ "chainId": "130",
4
+ "addresses": {
5
+ "ComptrollerBeacon": "0xE57824ffF03fB19D7f93139A017a7E70f6F25166",
6
+ "ComptrollerImpl": "0xDa42d85AE7625eBDD3b5967F44c263565BD8fA40",
7
+ "Comptroller_Core": "0xe22af1e6b78318e1Fe1053Edbd7209b8Fc62c4Fe",
8
+ "DefaultProxyAdmin": "0x78e9fff2ab8daAB8559070d897C399E5e1C5074c",
9
+ "JumpRateModelV2_base0bps_slope1250bps_jump30000bps_kink8000bps": "0x2DAb0B51d7d899b66d4F16EA1c0cEB1767863523",
10
+ "JumpRateModelV2_base0bps_slope2000bps_jump25000bps_kink8000bps": "0x897aD981078d1dBA52069f4BdC7F9441B0B94B76",
11
+ "JumpRateModelV2_base0bps_slope300bps_jump30000bps_kink8000bps": "0x1cC9De442f893a0C4e1E6ffB1Ac404DDb9B67ab4",
12
+ "JumpRateModelV2_base0bps_slope350bps_jump25000bps_kink8000bps": "0xb41aDec3D6dCc376164D071Cb5ed70388335e471",
13
+ "PoolLens": "0xe192aeDBDBd235DBF33Ea1444f2B908Ea3E78419",
14
+ "PoolRegistry": "0x0C52403E16BcB8007C1e54887E1dFC1eC9765D7C",
15
+ "PoolRegistry_Implementation": "0xBAb8c229B6C19c443b942F228B076Ca0d4f2260E",
16
+ "PoolRegistry_Proxy": "0x0C52403E16BcB8007C1e54887E1dFC1eC9765D7C",
17
+ "VTokenBeacon": "0x42c1Efb9Dd9424c5ac8e6EcEa4eb03940c4a15Fc",
18
+ "VTokenImpl": "0x89368F746C6e96801cB92776E72a8948226072cc",
19
+ "VToken_vUSDC_Core": "0xB953f92B9f759d97d2F2Dec10A8A3cf75fcE3A95",
20
+ "VToken_vWETH_Core": "0xc219BC179C7cDb37eACB03f993f9fDc2495e3374"
21
+ }
22
+ }
@@ -42386,6 +42386,80 @@
42386
42386
  }
42387
42387
  ]
42388
42388
  },
42389
+ "VToken_vweETHs_Core": {
42390
+ "address": "0xc42E4bfb996ED35235bda505430cBE404Eb49F77",
42391
+ "abi": [
42392
+ {
42393
+ "inputs": [
42394
+ {
42395
+ "internalType": "address",
42396
+ "name": "beacon",
42397
+ "type": "address"
42398
+ },
42399
+ {
42400
+ "internalType": "bytes",
42401
+ "name": "data",
42402
+ "type": "bytes"
42403
+ }
42404
+ ],
42405
+ "stateMutability": "payable",
42406
+ "type": "constructor"
42407
+ },
42408
+ {
42409
+ "anonymous": false,
42410
+ "inputs": [
42411
+ {
42412
+ "indexed": false,
42413
+ "internalType": "address",
42414
+ "name": "previousAdmin",
42415
+ "type": "address"
42416
+ },
42417
+ {
42418
+ "indexed": false,
42419
+ "internalType": "address",
42420
+ "name": "newAdmin",
42421
+ "type": "address"
42422
+ }
42423
+ ],
42424
+ "name": "AdminChanged",
42425
+ "type": "event"
42426
+ },
42427
+ {
42428
+ "anonymous": false,
42429
+ "inputs": [
42430
+ {
42431
+ "indexed": true,
42432
+ "internalType": "address",
42433
+ "name": "beacon",
42434
+ "type": "address"
42435
+ }
42436
+ ],
42437
+ "name": "BeaconUpgraded",
42438
+ "type": "event"
42439
+ },
42440
+ {
42441
+ "anonymous": false,
42442
+ "inputs": [
42443
+ {
42444
+ "indexed": true,
42445
+ "internalType": "address",
42446
+ "name": "implementation",
42447
+ "type": "address"
42448
+ }
42449
+ ],
42450
+ "name": "Upgraded",
42451
+ "type": "event"
42452
+ },
42453
+ {
42454
+ "stateMutability": "payable",
42455
+ "type": "fallback"
42456
+ },
42457
+ {
42458
+ "stateMutability": "payable",
42459
+ "type": "receive"
42460
+ }
42461
+ ]
42462
+ },
42389
42463
  "VToken_vweETHs_LiquidStakedETH": {
42390
42464
  "address": "0xEF26C64bC06A8dE4CA5D31f119835f9A1d9433b9",
42391
42465
  "abi": [
@@ -35630,6 +35630,80 @@
35630
35630
  }
35631
35631
  ]
35632
35632
  },
35633
+ "VToken_vweETHs_Core": {
35634
+ "address": "0x81aab41B868f8b5632E8eE6a98AdA7a7fDBc8823",
35635
+ "abi": [
35636
+ {
35637
+ "inputs": [
35638
+ {
35639
+ "internalType": "address",
35640
+ "name": "beacon",
35641
+ "type": "address"
35642
+ },
35643
+ {
35644
+ "internalType": "bytes",
35645
+ "name": "data",
35646
+ "type": "bytes"
35647
+ }
35648
+ ],
35649
+ "stateMutability": "payable",
35650
+ "type": "constructor"
35651
+ },
35652
+ {
35653
+ "anonymous": false,
35654
+ "inputs": [
35655
+ {
35656
+ "indexed": false,
35657
+ "internalType": "address",
35658
+ "name": "previousAdmin",
35659
+ "type": "address"
35660
+ },
35661
+ {
35662
+ "indexed": false,
35663
+ "internalType": "address",
35664
+ "name": "newAdmin",
35665
+ "type": "address"
35666
+ }
35667
+ ],
35668
+ "name": "AdminChanged",
35669
+ "type": "event"
35670
+ },
35671
+ {
35672
+ "anonymous": false,
35673
+ "inputs": [
35674
+ {
35675
+ "indexed": true,
35676
+ "internalType": "address",
35677
+ "name": "beacon",
35678
+ "type": "address"
35679
+ }
35680
+ ],
35681
+ "name": "BeaconUpgraded",
35682
+ "type": "event"
35683
+ },
35684
+ {
35685
+ "anonymous": false,
35686
+ "inputs": [
35687
+ {
35688
+ "indexed": true,
35689
+ "internalType": "address",
35690
+ "name": "implementation",
35691
+ "type": "address"
35692
+ }
35693
+ ],
35694
+ "name": "Upgraded",
35695
+ "type": "event"
35696
+ },
35697
+ {
35698
+ "stateMutability": "payable",
35699
+ "type": "fallback"
35700
+ },
35701
+ {
35702
+ "stateMutability": "payable",
35703
+ "type": "receive"
35704
+ }
35705
+ ]
35706
+ },
35633
35707
  "VToken_vweETHs_LiquidStakedETH": {
35634
35708
  "address": "0xB3A201887396F57bad3fF50DFd02022fE1Fd1774",
35635
35709
  "abi": [
@@ -118,6 +118,11 @@ const getRpcUrl = (networkName) => {
118
118
  "node_modules/@venusprotocol/protocol-reserve/deployments/unichainsepolia",
119
119
  "node_modules/@venusprotocol/governance-contracts/deployments/unichainsepolia",
120
120
  ],
121
+ unichainmainnet: [
122
+ "node_modules/@venusprotocol/oracle/deployments/unichainmainnet",
123
+ "node_modules/@venusprotocol/protocol-reserve/deployments/unichainmainnet",
124
+ "node_modules/@venusprotocol/governance-contracts/deployments/unichainmainnet",
125
+ ],
121
126
  },
122
127
  };
123
128
  if (process.env.HARDHAT_FORK_NETWORK) {
@@ -365,6 +370,12 @@ const config = {
365
370
  live: true,
366
371
  accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
367
372
  },
373
+ unichainmainnet: {
374
+ url: process.env.ARCHIVE_NODE_unichainmainnet || "https://mainnet.unichain.org",
375
+ chainId: 130,
376
+ live: true,
377
+ accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
378
+ },
368
379
  },
369
380
  gasReporter: {
370
381
  enabled: process.env.REPORT_GAS !== undefined,
@@ -484,6 +495,14 @@ const config = {
484
495
  browserURL: "https://sepolia.uniscan.xyz/",
485
496
  },
486
497
  },
498
+ {
499
+ network: "unichainmainnet",
500
+ chainId: 130,
501
+ urls: {
502
+ apiURL: "https://api.uniscan.xyz/api/",
503
+ browserURL: "https://uniscan.xyz/",
504
+ },
505
+ },
487
506
  ],
488
507
  apiKey: {
489
508
  bscmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
@@ -499,6 +518,7 @@ const config = {
499
518
  basesepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
500
519
  basemainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
501
520
  unichainsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
521
+ unichainmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
502
522
  },
503
523
  },
504
524
  paths: {
@@ -17,6 +17,7 @@ export type NetworkConfig = {
17
17
  basesepolia: DeploymentConfig;
18
18
  basemainnet: DeploymentConfig;
19
19
  unichainsepolia: DeploymentConfig;
20
+ unichainmainnet: DeploymentConfig;
20
21
  };
21
22
  export type PreconfiguredAddresses = {
22
23
  [contract: string]: string;
@@ -115,6 +116,7 @@ export declare const OP_MAINNET_MULTISIG = "0x2e94dd14E81999CdBF5deDE31938beD730
115
116
  export declare const BASE_SEPOLIA_MULTISIG = "0xdf3b635d2b535f906BB02abb22AED71346E36a00";
116
117
  export declare const BASE_MAINNET_MULTISIG = "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C";
117
118
  export declare const UNICHAIN_SEPOLIA_MULTISIG = "0x9831D3A641E8c7F082EEA75b8249c99be9D09a34";
119
+ export declare const UNICHAIN_MAINNET_MULTISIG = "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C";
118
120
  export declare const preconfiguredAddresses: {
119
121
  hardhat: {
120
122
  VTreasury: string;
@@ -238,6 +240,13 @@ export declare const preconfiguredAddresses: {
238
240
  CriticalTimelock: string;
239
241
  AccessControlManager: string;
240
242
  };
243
+ unichainmainnet: {
244
+ VTreasury: string;
245
+ NormalTimelock: string;
246
+ FastTrackTimelock: string;
247
+ CriticalTimelock: string;
248
+ AccessControlManager: string;
249
+ };
241
250
  };
242
251
  export declare const globalConfig: NetworkConfig;
243
252
  export declare function getConfig(networkName: string): Promise<DeploymentConfig>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMaxBorrowRateMantissa = exports.getBidderDeploymentValues = exports.getTokenAddress = exports.getTokenConfig = exports.getConfig = exports.globalConfig = exports.preconfiguredAddresses = exports.UNICHAIN_SEPOLIA_MULTISIG = exports.BASE_MAINNET_MULTISIG = exports.BASE_SEPOLIA_MULTISIG = exports.OP_MAINNET_MULTISIG = exports.OP_SEPOLIA_MULTISIG = exports.ZKSYNC_MAINNET_MULTISIG = exports.ZKSYNC_SEPOLIA_MULTISIG = exports.ARBITRUM_ONE_MULTISIG = exports.ARBITRUM_SEPOLIA_MULTISIG = exports.OPBNBMAINNET_MULTISIG = exports.OPBNBTESTNET_MULTISIG = exports.ETHEREUM_MULTISIG = exports.SEPOLIA_MULTISIG = exports.blocksPerYear = exports.SECONDS_PER_YEAR = exports.OPBNB_BLOCKS_PER_YEAR = exports.ETH_BLOCKS_PER_YEAR = exports.BSC_BLOCKS_PER_YEAR = exports.InterestRateModels = void 0;
3
+ exports.getMaxBorrowRateMantissa = exports.getBidderDeploymentValues = exports.getTokenAddress = exports.getTokenConfig = exports.getConfig = exports.globalConfig = exports.preconfiguredAddresses = exports.UNICHAIN_MAINNET_MULTISIG = exports.UNICHAIN_SEPOLIA_MULTISIG = exports.BASE_MAINNET_MULTISIG = exports.BASE_SEPOLIA_MULTISIG = exports.OP_MAINNET_MULTISIG = exports.OP_SEPOLIA_MULTISIG = exports.ZKSYNC_MAINNET_MULTISIG = exports.ZKSYNC_SEPOLIA_MULTISIG = exports.ARBITRUM_ONE_MULTISIG = exports.ARBITRUM_SEPOLIA_MULTISIG = exports.OPBNBMAINNET_MULTISIG = exports.OPBNBTESTNET_MULTISIG = exports.ETHEREUM_MULTISIG = exports.SEPOLIA_MULTISIG = exports.blocksPerYear = exports.SECONDS_PER_YEAR = exports.OPBNB_BLOCKS_PER_YEAR = exports.ETH_BLOCKS_PER_YEAR = exports.BSC_BLOCKS_PER_YEAR = exports.InterestRateModels = void 0;
4
4
  const arbitrumone_json_1 = require("@venusprotocol/governance-contracts/deployments/arbitrumone.json");
5
5
  const arbitrumsepolia_json_1 = require("@venusprotocol/governance-contracts/deployments/arbitrumsepolia.json");
6
6
  const basemainnet_json_1 = require("@venusprotocol/governance-contracts/deployments/basemainnet.json");
@@ -54,6 +54,7 @@ exports.blocksPerYear = {
54
54
  basesepolia: 0,
55
55
  basemainnet: 0,
56
56
  unichainsepolia: 0,
57
+ unichainmainnet: 0,
57
58
  isTimeBased: 0, // for time based contracts
58
59
  };
59
60
  exports.SEPOLIA_MULTISIG = "0x94fa6078b6b8a26f0b6edffbe6501b22a10470fb";
@@ -69,6 +70,7 @@ exports.OP_MAINNET_MULTISIG = "0x2e94dd14E81999CdBF5deDE31938beD7308354b3";
69
70
  exports.BASE_SEPOLIA_MULTISIG = "0xdf3b635d2b535f906BB02abb22AED71346E36a00";
70
71
  exports.BASE_MAINNET_MULTISIG = "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C";
71
72
  exports.UNICHAIN_SEPOLIA_MULTISIG = "0x9831D3A641E8c7F082EEA75b8249c99be9D09a34";
73
+ exports.UNICHAIN_MAINNET_MULTISIG = "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C";
72
74
  const DEFAULT_REDUCE_RESERVES_BLOCK_DELTA = "7200";
73
75
  const REDUCE_RESERVES_BLOCK_DELTA_ETHEREUM = "7200";
74
76
  const REDUCE_RESERVES_BLOCK_DELTA_OPBNBTESTNET = "300";
@@ -82,6 +84,7 @@ const REDUCE_RESERVES_BLOCK_DELTA_OP_MAINNET = "86400";
82
84
  const REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA = "86400";
83
85
  const REDUCE_RESERVES_BLOCK_DELTA_BASE_MAINNET = "86400";
84
86
  const REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA = "86400";
87
+ const REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET = "86400";
85
88
  exports.preconfiguredAddresses = {
86
89
  hardhat: {
87
90
  VTreasury: "account:deployer",
@@ -205,6 +208,13 @@ exports.preconfiguredAddresses = {
205
208
  CriticalTimelock: exports.UNICHAIN_SEPOLIA_MULTISIG,
206
209
  AccessControlManager: "0x854C064EA6b503A97980F481FA3B7279012fdeDd",
207
210
  },
211
+ unichainmainnet: {
212
+ VTreasury: "0x958F4C84d3ad523Fa9936Dc465A123C7AD43D69B",
213
+ NormalTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
214
+ FastTrackTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
215
+ CriticalTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
216
+ AccessControlManager: "0x1f12014c497a9d905155eB9BfDD9FaC6885e61d0",
217
+ },
208
218
  };
209
219
  const poolRegistryPermissions = () => {
210
220
  const methods = [
@@ -3378,6 +3388,24 @@ exports.globalConfig = {
3378
3388
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3379
3389
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3380
3390
  },
3391
+ {
3392
+ name: "Venus weETHs (Core)",
3393
+ asset: "weETHs",
3394
+ symbol: "vweETHs_Core",
3395
+ rateModel: InterestRateModels.JumpRate.toString(),
3396
+ baseRatePerYear: "0",
3397
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
3398
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
3399
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
3400
+ collateralFactor: (0, utils_1.convertToUnit)("0.70", 18),
3401
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
3402
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
3403
+ initialSupply: (0, utils_1.convertToUnit)("2", 18),
3404
+ supplyCap: (0, utils_1.convertToUnit)(700, 18),
3405
+ borrowCap: (0, utils_1.convertToUnit)(0, 18),
3406
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3407
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3408
+ },
3381
3409
  ],
3382
3410
  rewards: [
3383
3411
  // XVS Rewards Over 90 days (648000 blocks)
@@ -4437,6 +4465,24 @@ exports.globalConfig = {
4437
4465
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4438
4466
  vTokenReceiver: "0x36cc7B13029B5DEe4034745FB4F24034f3F2ffc6",
4439
4467
  },
4468
+ {
4469
+ name: "Venus weETHs (Core)",
4470
+ asset: "weETHs",
4471
+ symbol: "vweETHs_Core",
4472
+ rateModel: InterestRateModels.JumpRate.toString(),
4473
+ baseRatePerYear: "0",
4474
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
4475
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
4476
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
4477
+ collateralFactor: (0, utils_1.convertToUnit)("0.70", 18),
4478
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
4479
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
4480
+ initialSupply: (0, utils_1.convertToUnit)("2", 18),
4481
+ supplyCap: (0, utils_1.convertToUnit)(700, 18),
4482
+ borrowCap: (0, utils_1.convertToUnit)(0, 18),
4483
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4484
+ vTokenReceiver: "0x3e8734ec146c981e3ed1f6b582d447dde701d90c",
4485
+ },
4440
4486
  ],
4441
4487
  rewards: [
4442
4488
  // XVS Rewards Over 90 days (648000 blocks)
@@ -6969,6 +7015,84 @@ exports.globalConfig = {
6969
7015
  ],
6970
7016
  preconfiguredAddresses: exports.preconfiguredAddresses.unichainsepolia,
6971
7017
  },
7018
+ unichainmainnet: {
7019
+ tokensConfig: [
7020
+ {
7021
+ isMock: false,
7022
+ name: "USD Coin",
7023
+ symbol: "USDC",
7024
+ decimals: 6,
7025
+ tokenAddress: "0x078D782b760474a361dDA0AF3839290b0EF57AD6",
7026
+ },
7027
+ {
7028
+ isMock: false,
7029
+ name: "Wrapped Ether",
7030
+ symbol: "WETH",
7031
+ decimals: 18,
7032
+ tokenAddress: "0x4200000000000000000000000000000000000006",
7033
+ },
7034
+ {
7035
+ isMock: false,
7036
+ name: "Venus",
7037
+ symbol: "XVS",
7038
+ decimals: 18,
7039
+ tokenAddress: "0x81908BBaad3f6fC74093540Ab2E9B749BB62aA0d",
7040
+ },
7041
+ ],
7042
+ poolConfig: [
7043
+ {
7044
+ id: "Core",
7045
+ name: "Core",
7046
+ closeFactor: (0, utils_1.convertToUnit)("0.5", 18),
7047
+ liquidationIncentive: (0, utils_1.convertToUnit)("1.1", 18),
7048
+ minLiquidatableCollateral: (0, utils_1.convertToUnit)("100", 18),
7049
+ vtokens: [
7050
+ {
7051
+ name: "Venus USDC (Core)",
7052
+ asset: "USDC",
7053
+ symbol: "vUSDC_Core",
7054
+ rateModel: InterestRateModels.JumpRate.toString(),
7055
+ baseRatePerYear: "0",
7056
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.125", 18),
7057
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7058
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
7059
+ collateralFactor: (0, utils_1.convertToUnit)("0.70", 18),
7060
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
7061
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
7062
+ initialSupply: (0, utils_1.convertToUnit)("5000", 6),
7063
+ supplyCap: (0, utils_1.convertToUnit)(1000000, 6),
7064
+ borrowCap: (0, utils_1.convertToUnit)(850000, 6),
7065
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7066
+ vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7067
+ },
7068
+ {
7069
+ name: "Venus WETH (Core)",
7070
+ asset: "WETH",
7071
+ symbol: "vWETH_Core",
7072
+ rateModel: InterestRateModels.JumpRate.toString(),
7073
+ baseRatePerYear: "0",
7074
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.03", 18),
7075
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7076
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
7077
+ collateralFactor: (0, utils_1.convertToUnit)("0.70", 18),
7078
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
7079
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
7080
+ initialSupply: (0, utils_1.convertToUnit)("3", 18),
7081
+ supplyCap: (0, utils_1.convertToUnit)("350", 18),
7082
+ borrowCap: (0, utils_1.convertToUnit)("300", 18),
7083
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7084
+ vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7085
+ },
7086
+ ],
7087
+ rewards: [],
7088
+ },
7089
+ ],
7090
+ accessControlConfig: [
7091
+ ...poolRegistryPermissions(),
7092
+ ...normalTimelockPermissions(exports.preconfiguredAddresses.unichainmainnet.NormalTimelock),
7093
+ ],
7094
+ preconfiguredAddresses: exports.preconfiguredAddresses.unichainmainnet,
7095
+ },
6972
7096
  };
6973
7097
  async function getConfig(networkName) {
6974
7098
  switch (networkName) {
@@ -7004,6 +7128,8 @@ async function getConfig(networkName) {
7004
7128
  return exports.globalConfig.basemainnet;
7005
7129
  case "unichainsepolia":
7006
7130
  return exports.globalConfig.unichainsepolia;
7131
+ case "unichainmainnet":
7132
+ return exports.globalConfig.unichainmainnet;
7007
7133
  case "development":
7008
7134
  return exports.globalConfig.bsctestnet;
7009
7135
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "4.1.0-dev.1",
3
+ "version": "4.1.0-dev.3",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",