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
a9cafc1135
commit
1e11b97129
|
@ -369,7 +369,7 @@ contract PayloadIGP23 {
|
||||||
|__________________________________*/
|
|__________________________________*/
|
||||||
|
|
||||||
/// @notice Action 1: call cast() - transfer rewards to Team Multisig from treasury.
|
/// @notice Action 1: call cast() - transfer rewards to Team Multisig from treasury.
|
||||||
function action1() public view returns(address target, uint256 value, string memory signature, bytes memory calldatas) {
|
function action1() internal {
|
||||||
string[] memory targets = new string[](2);
|
string[] memory targets = new string[](2);
|
||||||
bytes[] memory encodedSpells = new bytes[](2);
|
bytes[] memory encodedSpells = new bytes[](2);
|
||||||
|
|
||||||
|
@ -391,10 +391,7 @@ contract PayloadIGP23 {
|
||||||
encodedSpells[1] = abi.encodeWithSignature(withdrawSignature, INST_ADDRESS, INST_AMOUNT, TEAM_MULTISIG, 0, 0);
|
encodedSpells[1] = abi.encodeWithSignature(withdrawSignature, INST_ADDRESS, INST_AMOUNT, TEAM_MULTISIG, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
target = address(TREASURY);
|
IDSAV2(TREASURY).cast(targets, encodedSpells, address(this));
|
||||||
value = 0;
|
|
||||||
signature = "cast(string[],bytes[],address)";
|
|
||||||
calldatas = abi.encode(targets, encodedSpells, address(this));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @notice Action 2: Update rewards for fUSDC & fUSDT.
|
/// @notice Action 2: Update rewards for fUSDC & fUSDT.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user