mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
fix
This commit is contained in:
parent
2ae4b23681
commit
4ef218c9b2
|
@ -406,9 +406,9 @@ contract PayloadIGP24 {
|
|||
|
||||
/// @notice Action 1: Approve fUSDC and fUSDT protocols to spend the reserves tokens
|
||||
function action1() internal {
|
||||
address[] memory protocols = new address[](2);
|
||||
address[] memory tokens = new address[](2);
|
||||
uint256[] memory amounts = new uint256[](2);
|
||||
address[] memory protocols = new address[](3);
|
||||
address[] memory tokens = new address[](3);
|
||||
uint256[] memory amounts = new uint256[](3);
|
||||
|
||||
// fUSDC
|
||||
protocols[0] = F_USDC;
|
||||
|
@ -420,6 +420,12 @@ contract PayloadIGP24 {
|
|||
tokens[1] = USDT_ADDRESS;
|
||||
amounts[1] = 320_000 * 1e6; // 320k USDT
|
||||
|
||||
|
||||
// fWSTETH
|
||||
protocols[2] = F_WSTETH;
|
||||
tokens[2] = wstETH_ADDRESS;
|
||||
amounts[2] = 0.03 * 1e18; // dust amount 0.03 wstETH
|
||||
|
||||
FLUID_RESERVE.approve(protocols, tokens, amounts);
|
||||
}
|
||||
|
||||
|
@ -469,9 +475,9 @@ contract PayloadIGP24 {
|
|||
|
||||
/// @notice Action 3: Approve new protocols to spend the reserves dust tokens
|
||||
function action3() internal {
|
||||
address[] memory protocols = new address[](11);
|
||||
address[] memory tokens = new address[](11);
|
||||
uint256[] memory amounts = new uint256[](11);
|
||||
address[] memory protocols = new address[](10);
|
||||
address[] memory tokens = new address[](10);
|
||||
uint256[] memory amounts = new uint256[](10);
|
||||
|
||||
address VAULT_weETH_wstETH = 0x40D9b8417E6E1DcD358f04E3328bCEd061018A82;
|
||||
address VAULT_sUSDe_USDC = 0x4045720a33193b4Fe66c94DFbc8D37B0b4D9B469;
|
||||
|
@ -534,13 +540,6 @@ contract PayloadIGP24 {
|
|||
amounts[9] = 100 * 1e6;
|
||||
}
|
||||
|
||||
// F_WSTETH
|
||||
{
|
||||
protocols[10] = F_WSTETH;
|
||||
tokens[10] = wstETH_ADDRESS;
|
||||
amounts[10] = 0.03 * 1e18;
|
||||
}
|
||||
|
||||
FLUID_RESERVE.approve(protocols, tokens, amounts);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user