Skip to content

Commit

Permalink
chore: proposal script
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Jan 19, 2024
1 parent 315db96 commit 8162d94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/proposals/proposal_05_CM_guard.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*global process*/

const { ethers } = require("hardhat");
const safeContracts = require("@gnosis.pm/safe-contracts");

Expand All @@ -18,7 +20,7 @@ async function main() {
const txHashData = await safeContracts.buildContractCall(multisig, "setGuard", [guardCMAddress], nonce, 0, 0);

console.log("Set new guard via Timelock Module");
const targets = [guardCMAddress];
const targets = [multisig.address];
const values = new Array(1).fill(0);
const callDatas = [
multisig.interface.encodeFunctionData("execTransactionFromModule", [txHashData.to, 0, txHashData.data, txHashData.operation])
Expand Down

0 comments on commit 8162d94

Please sign in to comment.