Skip to content

Commit

Permalink
feat: add vip for Chaos labs recommendations for staked eth pool
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Sep 23, 2024
1 parent 391b63c commit cd5cd81
Show file tree
Hide file tree
Showing 5 changed files with 2,735 additions and 0 deletions.
35 changes: 35 additions & 0 deletions multisig/proposals/ethereum/vip-061/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { makeProposal } from "../../../../src/utils";
import {
CURRENT_WETH_LT,
LIQUID_STAKED_ETH_COMPTROLLER,
NINETY_PERCENT_CF,
WETH_BORROW_PER_DAY,
WETH_SUPPLY_PER_DAY,
XVS_LIQUID_STAKE_REWARD_DISTRIBUTOR,
calculateRewardSpeed,
vwETH,
vwstETH,
wstETH_BORROW_PER_DAY,
wstETH_SUPPLY_PER_DAY,
} from "../../../../vips/vip-370/bscmainnet";

export const vip061 = () => {
return makeProposal([
{
target: LIQUID_STAKED_ETH_COMPTROLLER,
signature: "setCollateralFactor(address,uint256,uint256)",
params: [vwETH, NINETY_PERCENT_CF, CURRENT_WETH_LT],
},
{
target: XVS_LIQUID_STAKE_REWARD_DISTRIBUTOR,
signature: "setRewardTokenSpeeds(address[],uint256[],uint256[])",
params: [
[vwETH, vwstETH],
[calculateRewardSpeed(WETH_SUPPLY_PER_DAY), calculateRewardSpeed(wstETH_SUPPLY_PER_DAY)],
[calculateRewardSpeed(WETH_BORROW_PER_DAY), calculateRewardSpeed(wstETH_BORROW_PER_DAY)],
],
},
]);
};

export default vip061;
Loading

0 comments on commit cd5cd81

Please sign in to comment.