@venusprotocol/isolated-pools 3.9.0-dev.1 → 3.9.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/basemainnet/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +608 -0
  2. package/deployments/basemainnet/VToken_vwsuperOETHb_Core.json +257 -0
  3. package/deployments/basemainnet/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
  4. package/deployments/basemainnet.json +434 -0
  5. package/deployments/basemainnet_addresses.json +3 -1
  6. package/deployments/basesepolia/MockwsuperOETHb.json +477 -0
  7. package/deployments/basesepolia/VToken_vwsuperOETHb_Core.json +257 -0
  8. package/deployments/basesepolia/solcInputs/338456d498a2526684d442357ddf6830.json +52 -0
  9. package/deployments/basesepolia/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
  10. package/deployments/basesepolia.json +402 -0
  11. package/deployments/basesepolia_addresses.json +3 -1
  12. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1562bps_jump25000bps_kink8000bps.json +608 -0
  13. package/deployments/ethereum/VToken_vUSDS_Core.json +257 -0
  14. package/deployments/ethereum/VToken_vsUSDS_Core.json +257 -0
  15. package/deployments/ethereum/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
  16. package/deployments/ethereum.json +508 -0
  17. package/deployments/ethereum_addresses.json +3 -0
  18. package/deployments/sepolia/JumpRateModelV2_base0bps_slope1562bps_jump25000bps_kink8000bps.json +608 -0
  19. package/deployments/sepolia/MockUSDS.json +458 -0
  20. package/deployments/sepolia/MocksUSDS.json +477 -0
  21. package/deployments/sepolia/VToken_vUSDS_Core.json +257 -0
  22. package/deployments/sepolia/VToken_vsUSDS_Core.json +257 -0
  23. package/deployments/sepolia/solcInputs/bf6504e8406cd8d7763a8de7cdacad9c.json +454 -0
  24. package/deployments/sepolia.json +1442 -297
  25. package/deployments/sepolia_addresses.json +5 -0
  26. package/dist/deployments/basemainnet.json +434 -0
  27. package/dist/deployments/basesepolia.json +402 -0
  28. package/dist/deployments/ethereum.json +508 -0
  29. package/dist/deployments/sepolia.json +1442 -297
  30. package/dist/helpers/deploymentConfig.d.ts +0 -2
  31. package/dist/helpers/deploymentConfig.js +166 -14
  32. package/package.json +2 -2
@@ -150,7 +150,6 @@ export declare const preconfiguredAddresses: {
150
150
  NormalTimelock: string;
151
151
  FastTrackTimelock: string;
152
152
  CriticalTimelock: string;
153
- GovernorBravo: string;
154
153
  AccessControlManager: string;
155
154
  };
156
155
  ethereum: {
@@ -158,7 +157,6 @@ export declare const preconfiguredAddresses: {
158
157
  NormalTimelock: string;
159
158
  FastTrackTimelock: string;
160
159
  CriticalTimelock: string;
161
- GovernorBravo: string;
162
160
  AccessControlManager: string;
163
161
  };
164
162
  opbnbtestnet: {
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getMaxBorrowRateMantissa = exports.getBidderDeploymentValues = exports.getTokenAddress = exports.getTokenConfig = exports.getConfig = exports.globalConfig = exports.preconfiguredAddresses = 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
+ const basemainnet_json_1 = require("@venusprotocol/governance-contracts/deployments/basemainnet.json");
7
+ const basesepolia_json_1 = require("@venusprotocol/governance-contracts/deployments/basesepolia.json");
6
8
  const bscmainnet_json_1 = require("@venusprotocol/governance-contracts/deployments/bscmainnet.json");
7
9
  const bsctestnet_json_1 = require("@venusprotocol/governance-contracts/deployments/bsctestnet.json");
8
10
  const ethereum_json_1 = require("@venusprotocol/governance-contracts/deployments/ethereum.json");
@@ -111,18 +113,16 @@ exports.preconfiguredAddresses = {
111
113
  },
112
114
  sepolia: {
113
115
  VTreasury: sepolia_json_2.contracts.VTreasuryV8.address,
114
- NormalTimelock: exports.SEPOLIA_MULTISIG,
115
- FastTrackTimelock: exports.SEPOLIA_MULTISIG,
116
- CriticalTimelock: exports.SEPOLIA_MULTISIG,
117
- GovernorBravo: exports.SEPOLIA_MULTISIG,
116
+ NormalTimelock: sepolia_json_1.contracts.NormalTimelock.address,
117
+ FastTrackTimelock: sepolia_json_1.contracts.FastTrackTimelock.address,
118
+ CriticalTimelock: sepolia_json_1.contracts.CriticalTimelock.address,
118
119
  AccessControlManager: sepolia_json_1.contracts.AccessControlManager.address,
119
120
  },
120
121
  ethereum: {
121
122
  VTreasury: ethereum_json_2.contracts.VTreasuryV8.address,
122
- NormalTimelock: exports.ETHEREUM_MULTISIG,
123
- FastTrackTimelock: exports.ETHEREUM_MULTISIG,
124
- CriticalTimelock: exports.ETHEREUM_MULTISIG,
125
- GovernorBravo: exports.ETHEREUM_MULTISIG,
123
+ NormalTimelock: ethereum_json_1.contracts.NormalTimelock.address,
124
+ FastTrackTimelock: ethereum_json_1.contracts.FastTrackTimelock.address,
125
+ CriticalTimelock: ethereum_json_1.contracts.CriticalTimelock.address,
126
126
  AccessControlManager: ethereum_json_1.contracts.AccessControlManager.address,
127
127
  },
128
128
  opbnbtestnet: {
@@ -183,16 +183,16 @@ exports.preconfiguredAddresses = {
183
183
  },
184
184
  basesepolia: {
185
185
  VTreasury: "0x07e880DaA6572829cE8ABaaf0f5323A4eFC417A6",
186
- NormalTimelock: exports.BASE_SEPOLIA_MULTISIG,
187
- FastTrackTimelock: exports.BASE_SEPOLIA_MULTISIG,
188
- CriticalTimelock: exports.BASE_SEPOLIA_MULTISIG,
186
+ NormalTimelock: basesepolia_json_1.contracts.NormalTimelock.address,
187
+ FastTrackTimelock: basesepolia_json_1.contracts.FastTrackTimelock.address,
188
+ CriticalTimelock: basesepolia_json_1.contracts.CriticalTimelock.address,
189
189
  AccessControlManager: "0x724138223D8F76b519fdE715f60124E7Ce51e051",
190
190
  },
191
191
  basemainnet: {
192
192
  VTreasury: "0xbefD8d06f403222dd5E8e37D2ba93320A97939D1",
193
- NormalTimelock: exports.BASE_MAINNET_MULTISIG,
194
- FastTrackTimelock: exports.BASE_MAINNET_MULTISIG,
195
- CriticalTimelock: exports.BASE_MAINNET_MULTISIG,
193
+ NormalTimelock: basemainnet_json_1.contracts.NormalTimelock.address,
194
+ FastTrackTimelock: basemainnet_json_1.contracts.FastTrackTimelock.address,
195
+ CriticalTimelock: basemainnet_json_1.contracts.CriticalTimelock.address,
196
196
  AccessControlManager: "0x9E6CeEfDC6183e4D0DF8092A9B90cDF659687daB",
197
197
  },
198
198
  };
@@ -2945,6 +2945,21 @@ exports.globalConfig = {
2945
2945
  decimals: 6,
2946
2946
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
2947
2947
  },
2948
+ {
2949
+ isMock: true,
2950
+ name: "USDS Stablecoin",
2951
+ symbol: "USDS",
2952
+ decimals: 18,
2953
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2954
+ },
2955
+ {
2956
+ isMock: true,
2957
+ standard: "ERC-4626",
2958
+ name: "Savings USDS",
2959
+ symbol: "sUSDS",
2960
+ decimals: 18,
2961
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
2962
+ },
2948
2963
  ],
2949
2964
  poolConfig: [
2950
2965
  {
@@ -3188,6 +3203,42 @@ exports.globalConfig = {
3188
3203
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3189
3204
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3190
3205
  },
3206
+ {
3207
+ name: "Venus USDS (Core)",
3208
+ asset: "USDS",
3209
+ symbol: "vUSDS_Core",
3210
+ rateModel: InterestRateModels.JumpRate.toString(),
3211
+ baseRatePerYear: "0",
3212
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15625", 18),
3213
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3214
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
3215
+ collateralFactor: (0, utils_1.convertToUnit)("0.73", 18),
3216
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
3217
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
3218
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
3219
+ supplyCap: (0, utils_1.convertToUnit)("65_000_000", 18),
3220
+ borrowCap: (0, utils_1.convertToUnit)("7_680_000", 18),
3221
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3222
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3223
+ },
3224
+ {
3225
+ name: "Venus sUSDS (Core)",
3226
+ asset: "sUSDS",
3227
+ symbol: "vsUSDS_Core",
3228
+ rateModel: InterestRateModels.JumpRate.toString(),
3229
+ baseRatePerYear: "0",
3230
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15625", 18),
3231
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3232
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
3233
+ collateralFactor: (0, utils_1.convertToUnit)("0.73", 18),
3234
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
3235
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
3236
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
3237
+ supplyCap: (0, utils_1.convertToUnit)("30_000_000", 18),
3238
+ borrowCap: (0, utils_1.convertToUnit)("0", 18),
3239
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3240
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3241
+ },
3191
3242
  ],
3192
3243
  rewards: [
3193
3244
  // XVS Rewards Over 90 days (648000 blocks)
@@ -3841,6 +3892,20 @@ exports.globalConfig = {
3841
3892
  decimals: 6,
3842
3893
  tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
3843
3894
  },
3895
+ {
3896
+ isMock: false,
3897
+ name: "USDS Stablecoin",
3898
+ symbol: "USDS",
3899
+ decimals: 18,
3900
+ tokenAddress: "0xdC035D45d973E3EC169d2276DDab16f1e407384F",
3901
+ },
3902
+ {
3903
+ isMock: false,
3904
+ name: "Savings USDS",
3905
+ symbol: "sUSDS",
3906
+ decimals: 18,
3907
+ tokenAddress: "0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD",
3908
+ },
3844
3909
  ],
3845
3910
  poolConfig: [
3846
3911
  {
@@ -4072,6 +4137,42 @@ exports.globalConfig = {
4072
4137
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4073
4138
  vTokenReceiver: "0xCb09Ab3F6254437d225Ed3CABEBe0949782E2372",
4074
4139
  },
4140
+ {
4141
+ name: "Venus USDS (Core)",
4142
+ asset: "USDS",
4143
+ symbol: "vUSDS_Core",
4144
+ rateModel: InterestRateModels.JumpRate.toString(),
4145
+ baseRatePerYear: "0",
4146
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15625", 18),
4147
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
4148
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
4149
+ collateralFactor: (0, utils_1.convertToUnit)("0.73", 18),
4150
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
4151
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
4152
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
4153
+ supplyCap: (0, utils_1.convertToUnit)("65_000_000", 18),
4154
+ borrowCap: (0, utils_1.convertToUnit)("7_680_000", 18),
4155
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4156
+ vTokenReceiver: "0x9c489E4efba90A67299C1097a8628e233C33BB7B",
4157
+ },
4158
+ {
4159
+ name: "Venus sUSDS (Core)",
4160
+ asset: "sUSDS",
4161
+ symbol: "vsUSDS_Core",
4162
+ rateModel: InterestRateModels.JumpRate.toString(),
4163
+ baseRatePerYear: "0",
4164
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15625", 18),
4165
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
4166
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
4167
+ collateralFactor: (0, utils_1.convertToUnit)("0.73", 18),
4168
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
4169
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
4170
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
4171
+ supplyCap: (0, utils_1.convertToUnit)("30_000_000", 18),
4172
+ borrowCap: (0, utils_1.convertToUnit)("0", 18),
4173
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4174
+ vTokenReceiver: "0x9c489E4efba90A67299C1097a8628e233C33BB7B",
4175
+ },
4075
4176
  ],
4076
4177
  rewards: [
4077
4178
  // XVS Rewards Over 90 days (648000 blocks)
@@ -6213,6 +6314,14 @@ exports.globalConfig = {
6213
6314
  decimals: 18,
6214
6315
  tokenAddress: "0xE657EDb5579B82135a274E85187927C42E38C021",
6215
6316
  },
6317
+ {
6318
+ isMock: true,
6319
+ standard: "ERC-4626",
6320
+ name: "Wrapped Super OETH",
6321
+ symbol: "wsuperOETHb",
6322
+ decimals: 18,
6323
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
6324
+ },
6216
6325
  ],
6217
6326
  poolConfig: [
6218
6327
  {
@@ -6276,6 +6385,24 @@ exports.globalConfig = {
6276
6385
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA,
6277
6386
  vTokenReceiver: exports.preconfiguredAddresses.basesepolia.VTreasury,
6278
6387
  },
6388
+ {
6389
+ name: "Venus wsuperOETHb (Core)",
6390
+ asset: "wsuperOETHb",
6391
+ symbol: "vwsuperOETHb_Core",
6392
+ rateModel: InterestRateModels.JumpRate.toString(),
6393
+ baseRatePerYear: "0",
6394
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
6395
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
6396
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
6397
+ collateralFactor: (0, utils_1.convertToUnit)("0.73", 18),
6398
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.78", 18),
6399
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
6400
+ initialSupply: (0, utils_1.convertToUnit)("0.3", 18),
6401
+ supplyCap: (0, utils_1.convertToUnit)(2000, 18),
6402
+ borrowCap: (0, utils_1.convertToUnit)(0, 18),
6403
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA,
6404
+ vTokenReceiver: exports.preconfiguredAddresses.basesepolia.VTreasury,
6405
+ },
6279
6406
  ],
6280
6407
  rewards: [
6281
6408
  // XVS Rewards Over 120 months (311040000 seconds)
@@ -6334,6 +6461,13 @@ exports.globalConfig = {
6334
6461
  decimals: 18,
6335
6462
  tokenAddress: "0xebB7873213c8d1d9913D8eA39Aa12d74cB107995",
6336
6463
  },
6464
+ {
6465
+ isMock: false,
6466
+ name: "Wrapped Super OETH",
6467
+ symbol: "wsuperOETHb",
6468
+ decimals: 18,
6469
+ tokenAddress: "0x7FcD174E80f264448ebeE8c88a7C4476AAF58Ea6",
6470
+ },
6337
6471
  ],
6338
6472
  poolConfig: [
6339
6473
  {
@@ -6397,6 +6531,24 @@ exports.globalConfig = {
6397
6531
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_MAINNET,
6398
6532
  vTokenReceiver: exports.preconfiguredAddresses.basemainnet.VTreasury,
6399
6533
  },
6534
+ {
6535
+ name: "Venus wsuperOETHb (Core)",
6536
+ asset: "wsuperOETHb",
6537
+ symbol: "vwsuperOETHb_Core",
6538
+ rateModel: InterestRateModels.JumpRate.toString(),
6539
+ baseRatePerYear: "0",
6540
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
6541
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
6542
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
6543
+ collateralFactor: (0, utils_1.convertToUnit)("0.73", 18),
6544
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.78", 18),
6545
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
6546
+ initialSupply: (0, utils_1.convertToUnit)("0.3", 18),
6547
+ supplyCap: (0, utils_1.convertToUnit)(2000, 18),
6548
+ borrowCap: (0, utils_1.convertToUnit)(0, 18),
6549
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_MAINNET,
6550
+ vTokenReceiver: "0x3c112E20141B65041C252a68a611EF145f58B7bc",
6551
+ },
6400
6552
  ],
6401
6553
  rewards: [],
6402
6554
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "3.9.0-dev.1",
3
+ "version": "3.9.0-dev.3",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",
@@ -77,7 +77,7 @@
77
77
  "@types/node": "^12.20.50",
78
78
  "@typescript-eslint/eslint-plugin": "^5.27.1",
79
79
  "@typescript-eslint/parser": "^5.27.1",
80
- "@venusprotocol/governance-contracts": "2.6.0",
80
+ "@venusprotocol/governance-contracts": "2.7.0",
81
81
  "@venusprotocol/oracle": "2.7.0",
82
82
  "@venusprotocol/protocol-reserve": "3.0.1",
83
83
  "@venusprotocol/venus-protocol": "9.4.0",