Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scripts/proposals/DistributeBurnedFunds/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"actionChainIds": [
1
],
"actionAddresses": [
"0x3d456FCd62f5baBCf3263B72fb4ac8fF8cc5a322"
],
"arbSysSendTxToL1Args": {
"l1Timelock": "0xE6841D92B0C345144506576eC13ECf5103aC7f49",
"calldata": "0x8f2a0bb000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000033b7ee59a8f0337d1c2610a4819e4e7faf99b696c695b18e7df3929435b27c1b000000000000000000000000000000000000000000000000000000000003f48000000000000000000000000000000000000000000000000000000000000000010000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001c41cff79cd0000000000000000000000003d456fcd62f5babcf3263b72fb4ac8ff8cc5a322000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001440a2e5a5b000000000000000000000000554723262467f125ac9e1cdfa9ce15cc53822dbd0000000000000000000000004dbd4fc535ac27206064b68ffcf827b0a60bab3f000000000000000000000000000000000000000000000000000000000000c350000000000000000000000000000000000000000000000000000000e8d4a510000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000985f3290d7971a840152e46d00b5ceb60a56f235000000000000000000000000000000000000000000000683ceb5c7a099c63b5000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000da000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
}
42 changes: 42 additions & 0 deletions scripts/proposals/DistributeBurnedFunds/generate.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/bin/bash

L2_RECIPIENT_ADDRESS=0x985F3290d7971a840152E46d00b5ceb60A56f235

# Action function signature:
# function execute(
# address proxyAdmin,
# address inbox,
# uint256 gasLimit,
# uint256 maxFeePerGas,
# uint256 nonce,
# address to,
# uint256 value,
# bytes calldata data,
# address from
# ) external {

yarn gen:proposalData \
--govChainProviderRPC https://arb1.arbitrum.io/rpc \
--actionTypes \
0 \
--actionChainIds \
1 \
--actionAddresses \
0x3d456FCd62f5baBCf3263B72fb4ac8fF8cc5a322 \
--upgradeValues \
0 \
--upgradeDatas \
"$(cast calldata "execute(address,address,uint256,uint256,uint256,address,uint256,bytes,address)" \
0x554723262467F125Ac9e1cDFa9Ce15cc53822dbD \
0x4Dbd4fc535Ac27206064B68FfCf827b0A60BAB3f \
50000 \
1000000000000 \
0 \
$L2_RECIPIENT_ADDRESS \
30765617401709008927568 \
0x \
0x0000000000000000000000000000000000000DA0 \
)" \
--predecessor \
0x0000000000000000000000000000000000000000000000000000000000000000 \
--writeToJsonPath ./scripts/proposals/DistributeBurnedFunds/data.json
Loading