diff --git a/scripts/proposals/disable-usdt-gateway/data.json b/scripts/proposals/disable-usdt-gateway/data.json new file mode 100644 index 000000000..0e42c151a --- /dev/null +++ b/scripts/proposals/disable-usdt-gateway/data.json @@ -0,0 +1,12 @@ +{ + "actionChainIds": [ + 1 + ], + "actionAddresses": [ + "0x8d3425f7039645223517F6F6e60Ef04C28f4188F" + ], + "arbSysSendTxToL1Args": { + "l1Timelock": "0xE6841D92B0C345144506576eC13ECf5103aC7f49", + "calldata": "0x8f2a0bb000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000fd3a0ddcdef50db4234cd3c85485c53ff69e01b82933a2190f0dd3b8007e32e2000000000000000000000000000000000000000000000000000000000003f48000000000000000000000000000000000000000000000000000000000000000010000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001441cff79cd0000000000000000000000008d3425f7039645223517f6f6e60ef04c28f4188f000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c4a49870870000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + } +} \ No newline at end of file diff --git a/scripts/proposals/disable-usdt-gateway/generate.bash b/scripts/proposals/disable-usdt-gateway/generate.bash new file mode 100755 index 000000000..40b926d43 --- /dev/null +++ b/scripts/proposals/disable-usdt-gateway/generate.bash @@ -0,0 +1,15 @@ +#!/bin/bash + +yarn gen:proposalData \ + --govChainProviderRPC https://arb1.arbitrum.io/rpc \ + --predecessor 0x0000000000000000000000000000000000000000000000000000000000000000 \ + --upgradeValues $(cast to-wei 0.0005) \ + --actionChainIds 1 \ + --actionAddresses \ + 0x8d3425f7039645223517F6F6e60Ef04C28f4188F \ + --upgradeDatas \ + $(cast calldata \ + "perform(address[], uint, uint, uint)" \ + "[0xdac17f958d2ee523a2206206994597c13d831ec7]" 0 0 $(cast to-wei 0.0005) \ + ) \ + --writeToJsonPath ./scripts/proposals/disable-usdt-gateway/data.json diff --git a/scripts/proposals/upgrade-executor-upgrade/data.json b/scripts/proposals/upgrade-executor-upgrade/data.json new file mode 100644 index 000000000..7df2fedac --- /dev/null +++ b/scripts/proposals/upgrade-executor-upgrade/data.json @@ -0,0 +1,16 @@ +{ + "actionChainIds": [ + 1, + 42161, + 42170 + ], + "actionAddresses": [ + "0xBB86bBd4871728938B30A54Cc08E0eb2bC75302d", + "0x734B78823c4d979045EC23F38B54A070df7769FF", + "0x7d91da41daf1c2e1c3dbc6143289e077e0dba1ef" + ], + "arbSysSendTxToL1Args": { + "l1Timelock": "0xE6841D92B0C345144506576eC13ECf5103aC7f49", + "calldata": "0x8f2a0bb000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000000afa240dd4c6513a86965b2fdce079dc265548e8d301653ccf5602a9126c06bf8000000000000000000000000000000000000000000000000000000000003f48000000000000000000000000000000000000000000000000000000000000000030000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd000000000000000000000000a723c008e76e379c55599d2e4d93879beafda79c000000000000000000000000a723c008e76e379c55599d2e4d93879beafda79c0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000000e41cff79cd000000000000000000000000bb86bbd4871728938b30a54cc08e0eb2bc75302d00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064e17f52e90000000000000000000000005613af0474eb9c528a34701a5b1662e3c8fa06780000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd000000000000000000000000de505e42d50abd07c8d39dcf692920d56cba35da000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000004dbd4fc535ac27206064b68ffcf827b0a60bab3f000000000000000000000000cf57572261c7c2bcf21ffd220ea7d1a27d40a82700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e41cff79cd000000000000000000000000734b78823c4d979045ec23f38b54a070df7769ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064e17f52e9000000000000000000000000db216562328215e010f819b5abe947bad4ca961e000000000000000000000000cf57572261c7c2bcf21ffd220ea7d1a27d40a82700000000000000000000000012b1389fbf261e781bdc3094d28636abfb03c5b3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000c4448b71118c9071bcb9734a0eac55d18a15394900000000000000000000000086a02dd71363c440b21f4c0e5b2ad01ffe1a748200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e41cff79cd0000000000000000000000007d91da41daf1c2e1c3dbc6143289e077e0dba1ef00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000064e17f52e9000000000000000000000000f58ea15b20983116c21b05c876cc8e6cdae5c2b900000000000000000000000086a02dd71363c440b21f4c0e5b2ad01ffe1a7482000000000000000000000000ebb11bbd7d72165fac86bb5ab1b07a602540b2860000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + } +} \ No newline at end of file diff --git a/scripts/proposals/upgrade-executor-upgrade/generate.bash b/scripts/proposals/upgrade-executor-upgrade/generate.bash new file mode 100755 index 000000000..565d7efa3 --- /dev/null +++ b/scripts/proposals/upgrade-executor-upgrade/generate.bash @@ -0,0 +1,16 @@ +#!/bin/bash + +yarn gen:proposalData --govChainProviderRPC https://arb1.arbitrum.io/rpc \ + --actionChainIds \ + 1 42161 42170 \ + --actionAddresses \ + 0xBB86bBd4871728938B30A54Cc08E0eb2bC75302d 0x734B78823c4d979045EC23F38B54A070df7769FF 0x7d91da41daf1c2e1c3dbc6143289e077e0dba1ef \ + --upgradeDatas \ + $(cast calldata "perform(address,address,address)" 0x5613AF0474EB9c528A34701A5b1662E3C8FA0678 0x3ffFbAdAF827559da092217e474760E2b2c3CeDd 0xDE505e42D50abd07c8D39Dcf692920d56cBA35Da) \ + $(cast calldata "perform(address,address,address)" 0xdb216562328215E010F819B5aBe947bad4ca961e 0xCF57572261c7c2BCF21ffD220ea7d1a27D40A827 0x12B1389Fbf261E781bdc3094d28636Abfb03C5b3) \ + $(cast calldata "perform(address,address,address)" 0xf58eA15B20983116c21b05c876cc8e6CDAe5C2b9 0x86a02dD71363c440b21F4c0E5B2Ad01Ffe1A7482 0xebb11Bbd7d72165FaC86bb5AB1B07A602540b286) \ + --upgradeValues 0 0 0 \ + --predecessor \ + 0x0000000000000000000000000000000000000000000000000000000000000000 \ + --writeToJsonPath \ + ./scripts/proposals/upgrade-executor-upgrade/data.json \ No newline at end of file diff --git a/scripts/proposals/usds-gateway-register/data.json b/scripts/proposals/usds-gateway-register/data.json new file mode 100644 index 000000000..b9a321649 --- /dev/null +++ b/scripts/proposals/usds-gateway-register/data.json @@ -0,0 +1,12 @@ +{ + "actionChainIds": [ + 1 + ], + "actionAddresses": [ + "0x7F089c0daF0181F7aFD533f5f3265301bB09d562" + ], + "arbSysSendTxToL1Args": { + "l1Timelock": "0xE6841D92B0C345144506576eC13ECf5103aC7f49", + "calldata": "0x8f2a0bb000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000003a190ca590a6180243a42a14ffea85b209f13ffbcdacd53669a94f4e2b85c2be000000000000000000000000000000000000000000000000000000000003f48000000000000000000000000000000000000000000000000000000000000000010000000000000000000000003fffbadaf827559da092217e474760e2b2c3cedd00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000001e41cff79cd0000000000000000000000007f089c0daf0181f7afd533f5f3265301bb09d56200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000164594767d500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dc035d45d973e3ec169d2276ddab16f1e407384f000000000000000000000000a3931d71877c0e7a3148cb7eb4463524fec27fbd000000000000000000000000000000000000000000000000000000000000000200000000000000000000000084b9700e28b23f873b82c1beb23d86c091b6079e00000000000000000000000084b9700e28b23f873b82c1beb23d86c091b6079e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + } +} \ No newline at end of file diff --git a/scripts/proposals/usds-gateway-register/generate.bash b/scripts/proposals/usds-gateway-register/generate.bash new file mode 100755 index 000000000..bf12cc48b --- /dev/null +++ b/scripts/proposals/usds-gateway-register/generate.bash @@ -0,0 +1,15 @@ +#!/bin/bash + +yarn gen:proposalData --govChainProviderRPC https://arb1.arbitrum.io/rpc \ + --actionChainIds \ + 1 \ + --actionAddresses \ + 0x7F089c0daF0181F7aFD533f5f3265301bB09d562 \ + --upgradeDatas \ + $(cast calldata "perform(address[],address[],uint256,uint256,uint256)" "[0xdC035D45d973E3EC169d2276DDab16f1e407384F,0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD]" "[0x84b9700e28b23f873b82c1beb23d86c091b6079e,0x84b9700e28b23f873b82c1beb23d86c091b6079e]" 0 0 $(cast to-wei 0.0005)) \ + --upgradeValues \ + $(cast to-wei 0.0005) \ + --predecessor \ + 0x0000000000000000000000000000000000000000000000000000000000000000 \ + --writeToJsonPath \ + ./scripts/proposals/usds-gateway-register/data.json \ No newline at end of file