Skip to content

Commit

Permalink
Merge pull request #426 from VenusProtocol/feat/VEN-2712
Browse files Browse the repository at this point in the history
[VEN-2712] Deploy Liquid Staked ETH pool to arbitrum sepolia
  • Loading branch information
Debugger022 authored Aug 23, 2024
2 parents a1f433e + f1c5e80 commit 93834dc
Show file tree
Hide file tree
Showing 12 changed files with 4,361 additions and 65 deletions.
1,332 changes: 1,303 additions & 29 deletions deployments/arbitrumsepolia.json

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions deployments/arbitrumsepolia/ComptrollerImpl.json

Large diffs are not rendered by default.

187 changes: 187 additions & 0 deletions deployments/arbitrumsepolia/Comptroller_Liquid Staked ETH.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

458 changes: 458 additions & 0 deletions deployments/arbitrumsepolia/MockweETH.json

Large diffs are not rendered by default.

458 changes: 458 additions & 0 deletions deployments/arbitrumsepolia/MockwstETH.json

Large diffs are not rendered by default.

257 changes: 257 additions & 0 deletions deployments/arbitrumsepolia/VToken_vWETH_LiquidStakedETH.json

Large diffs are not rendered by default.

257 changes: 257 additions & 0 deletions deployments/arbitrumsepolia/VToken_vweETH_LiquidStakedETH.json

Large diffs are not rendered by default.

257 changes: 257 additions & 0 deletions deployments/arbitrumsepolia/VToken_vwstETH_LiquidStakedETH.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions deployments/arbitrumsepolia_addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
"chainId": "421614",
"addresses": {
"ComptrollerBeacon": "0x12Dcb8D9F1eE7Ad7410F5B36B07bcC7891ab4cEf",
"ComptrollerImpl": "0x77AF9c816b0Ef51A64CF8731f77eDf65872b0973",
"ComptrollerImpl": "0x6b9C91d7310BC19A9ce8a0AD7F926A72cEeb3b1D",
"Comptroller_Core": "0x006D44b6f5927b3eD83bD0c1C36Fb1A3BaCaC208",
"Comptroller_Liquid Staked ETH": "0x3D04F926b2a165BBa17FBfccCCB61513634fa5e4",
"DefaultProxyAdmin": "0xA78A1Df376c3CEeBC5Fab574fe6EdDbbF76fd03e",
"JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps": "0xe68f42900a8cc014FC598B85463a4712b9176Cd7",
"JumpRateModelV2_base0bps_slope750bps_jump25000bps_kink8000bps": "0xBbb522fCA8f5955942515D8EAa2222251a070a17",
"JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps": "0x50e8FF8748684F5DbDAEc5554c7FE3E82Cdc19e1",
"MockARB": "0x4371bb358aB5cC192E481543417D2F67b8781731",
"MockUSDC": "0x86f096B1D970990091319835faF3Ee011708eAe8",
"MockUSDT": "0xf3118a17863996B9F2A073c9A66Faaa664355cf8",
"MockWBTC": "0xFb8d93FD3Cf18386a5564bb5619cD1FdB130dF7D",
"MockweETH": "0x243141DBff86BbB0a082d790fdC21A6ff615Fa34",
"MockwstETH": "0x4A9dc15aA6094eF2c7eb9d9390Ac1d71f9406fAE",
"NativeTokenGateway_vWETH_Core": "0x196b19C2037863409C65CbF63592ae2a3CD2Dc2C",
"PoolLens": "0xd08422A9A7b19404cC01FB970a247d19CE4EA7fE",
"PoolRegistry": "0xf93Df3135e0D555185c0BC888073374cA551C5fE",
Expand All @@ -26,6 +30,9 @@
"VToken_vUSDC_Core": "0xd9d1e754464eFc7493B177d2c7be04816E089b4C",
"VToken_vUSDT_Core": "0xdEFbf0F9Ab6CdDd0a1FdDC894b358D0c0a39B052",
"VToken_vWBTC_Core": "0x49FB90A5815904649C44B87001a160C1301D6a2C",
"VToken_vWETH_Core": "0x807dCB6946dDF4C5C6446B1B07ACd248B08F45e2"
"VToken_vWETH_Core": "0x807dCB6946dDF4C5C6446B1B07ACd248B08F45e2",
"VToken_vWETH_LiquidStakedETH": "0xd7057250b439c0849377bB6C3263eb8f9cf49d98",
"VToken_vweETH_LiquidStakedETH": "0x75f841b14305935D8D7E806f249D9FA52EF1550B",
"VToken_vwstETH_LiquidStakedETH": "0x253515E19e8b888a4CA5a0a3363B712402ce4046"
}
}
85 changes: 85 additions & 0 deletions helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4134,6 +4134,27 @@ export const globalConfig: NetworkConfig = {
decimals: 18,
tokenAddress: ethers.constants.AddressZero,
},
{
isMock: true,
name: "Wrapped liquid staked Ether 2.0.",
symbol: "wstETH",
decimals: 18,
tokenAddress: ethers.constants.AddressZero,
},
{
isMock: true,
name: "Wrapped eETH",
symbol: "weETH",
decimals: 18,
tokenAddress: ethers.constants.AddressZero,
},
{
isMock: false,
name: "Wrapped Ether",
symbol: "WETH",
decimals: 18,
tokenAddress: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
},
],
poolConfig: [
{
Expand Down Expand Up @@ -4243,6 +4264,70 @@ export const globalConfig: NetworkConfig = {
},
],
},
{
id: "Liquid Staked ETH",
name: "Liquid Staked ETH",
closeFactor: convertToUnit("0.5", 18),
liquidationIncentive: convertToUnit("1.02", 18),
minLiquidatableCollateral: convertToUnit("100", 18),
vtokens: [
{
name: "Venus wstETH (Liquid Staked ETH)",
asset: "wstETH",
symbol: "vwstETH_LiquidStakedETH",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: "0",
multiplierPerYear: convertToUnit("0.09", 18),
jumpMultiplierPerYear: convertToUnit("3", 18),
kink_: convertToUnit("0.45", 18),
collateralFactor: convertToUnit("0.93", 18),
liquidationThreshold: convertToUnit("0.95", 18),
reserveFactor: convertToUnit("0.25", 18),
initialSupply: convertToUnit(2, 18),
supplyCap: convertToUnit(8_000, 18),
borrowCap: convertToUnit(800, 18),
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_ARBITRUM_SEPOLIA,
vTokenReceiver: preconfiguredAddresses.arbitrumsepolia.VTreasury,
},
{
name: "Venus weETH (Liquid Staked ETH)",
asset: "weETH",
symbol: "vweETH_LiquidStakedETH",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: "0",
multiplierPerYear: convertToUnit("0.09", 18),
jumpMultiplierPerYear: convertToUnit(3, 18),
kink_: convertToUnit("0.45", 18),
collateralFactor: convertToUnit("0.93", 18),
liquidationThreshold: convertToUnit("0.95", 18),
reserveFactor: convertToUnit("0.25", 18),
initialSupply: convertToUnit(2, 18),
supplyCap: convertToUnit(4_600, 18),
borrowCap: convertToUnit(2_300, 18),
reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_ARBITRUM_SEPOLIA,
vTokenReceiver: preconfiguredAddresses.arbitrumsepolia.VTreasury,
},
{
name: "Venus WETH (Liquid Staked ETH)",
asset: "WETH",
symbol: "vWETH_LiquidStakedETH",
rateModel: InterestRateModels.JumpRate.toString(),
baseRatePerYear: "0",
multiplierPerYear: convertToUnit("0.035", 18),
jumpMultiplierPerYear: convertToUnit("0.8", 18),
kink_: convertToUnit("0.8", 18),
collateralFactor: convertToUnit("0.77", 18),
liquidationThreshold: convertToUnit("0.8", 18),
reserveFactor: convertToUnit("0.2", 18),
initialSupply: convertToUnit(2, 18),
supplyCap: convertToUnit(14_000, 18),
borrowCap: convertToUnit(12_500, 18),
reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
vTokenReceiver: preconfiguredAddresses.sepolia.VTreasury,
},
],
rewards: [],
},
],
accessControlConfig: [
...poolRegistryPermissions(),
Expand Down

0 comments on commit 93834dc

Please sign in to comment.