From 45f922dbd014bac43dcaeeb93787e85d7fda72f3 Mon Sep 17 00:00:00 2001 From: sandybradley Date: Mon, 4 Dec 2023 23:12:36 +0200 Subject: [PATCH] feat: multisig reward payment shell script --- nix/shell.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/nix/shell.nix b/nix/shell.nix index 77520a3..98018f3 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -408,6 +408,28 @@ $REWARDS ''; } + { + category = "multisig"; + name = "GenerateDataPayRewards"; + help = "Generate data for payRewards"; + command = '' + cast calldata "grantRewards()" + ''; + } + { + category = "multisig"; + name = "MultisigPayRewards"; + help = "Multisig pay MevEth contract rewards"; + command = '' + cast send \ + --rpc-url $PRIVATE_TX_URL \ + --private-key $PRIVATE_KEY \ + $MULTISIG_ADDRESS \ + "execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)" \ + $MEV_ETH_ADDRESS $REWARDS $CALLDATA 0 0 0 0 0x0000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000 \ + $SIGNATURES + ''; + } { category = "tests"; name = "tests";