Skip to content

Commit

Permalink
fix: check speeds
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover committed Sep 13, 2024
1 parent d13135d commit 5dffeed
Show file tree
Hide file tree
Showing 4 changed files with 813 additions and 22 deletions.
16 changes: 6 additions & 10 deletions multisig/proposals/ethereum/vip-060/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const LST_vWETH_XVS_REWARDS_PER_MONTH = ethers.utils.parseEther("12375");
export const CORE_XVS_REWARDS_DISTRIBUTOR_AMOUNT = ethers.utils.parseEther("28356");
export const LST_ETH_XVS_REWARDS_DISTRIBUTOR_AMOUNT = ethers.utils.parseEther("49500");

const commands = [
export const commands = [
{
distributor: CORE_XVS_REWARDS_DISTRIBUTOR,
vToken: "0x7c8ff7d2A1372433726f879BD945fFb250B94c65", // vWETH_CORE
Expand Down Expand Up @@ -102,8 +102,8 @@ const commands = [
vToken: "0xF9E9Fe17C00a8B96a8ac20c4E344C8688D7b947E", // vsfrxETH_LST
supplySpeed: "0",
borrowSpeed: "0",
}
]
},
];

export const vip060 = () => {
return makeProposal([
Expand All @@ -117,17 +117,13 @@ export const vip060 = () => {
signature: "withdrawTreasuryToken(address,uint256,address)",
params: [XVS, LST_ETH_XVS_REWARDS_DISTRIBUTOR_AMOUNT, LST_ETH_XVS_REWARDS_DISTRIBUTOR],
},
...commands.map((command) => {
...commands.map(command => {
return {
target: command.distributor,
signature: "setRewardTokenSpeeds(address[],uint256[],uint256[])",
params: [
[command.vToken],
[command.supplySpeed],
[command.borrowSpeed],
],
params: [[command.vToken], [command.supplySpeed], [command.borrowSpeed]],
};
})
}),
]);
};

Expand Down
Loading

0 comments on commit 5dffeed

Please sign in to comment.