From 910151eb2eed3542efbb4ccf7e38d1ed3b79d8f5 Mon Sep 17 00:00:00 2001 From: anikaraghu Date: Fri, 27 Oct 2023 15:26:34 -0700 Subject: [PATCH] [chore] Add new team members to L2 multisig (#115) * add new team members to L2 multisig * Record from running on second safe --- goerli-alpha/2023-10-27-ownership-update/.env | 2 + .../2023-10-27-ownership-update/Makefile | 16 ++ .../2023-10-27-ownership-update/foundry.toml | 19 ++ .../11763071/run-1698441065.json | 166 +++++++++++++++ .../11763071/run-1698442634.json | 192 ++++++++++++++++++ .../script/UpdateOwners.s.sol | 85 ++++++++ 6 files changed, 480 insertions(+) create mode 100644 goerli-alpha/2023-10-27-ownership-update/.env create mode 100644 goerli-alpha/2023-10-27-ownership-update/Makefile create mode 100644 goerli-alpha/2023-10-27-ownership-update/foundry.toml create mode 100644 goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698441065.json create mode 100644 goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698442634.json create mode 100644 goerli-alpha/2023-10-27-ownership-update/script/UpdateOwners.s.sol diff --git a/goerli-alpha/2023-10-27-ownership-update/.env b/goerli-alpha/2023-10-27-ownership-update/.env new file mode 100644 index 00000000..539acb0c --- /dev/null +++ b/goerli-alpha/2023-10-27-ownership-update/.env @@ -0,0 +1,2 @@ +OP_COMMIT=90bff30727d05fb3451e2a6a118c1350fd0c62af +BASE_CONTRACTS_COMMIT=de5d9417c144a78743d2e10c4e2b4effbb2d1acd diff --git a/goerli-alpha/2023-10-27-ownership-update/Makefile b/goerli-alpha/2023-10-27-ownership-update/Makefile new file mode 100644 index 00000000..6a58ad31 --- /dev/null +++ b/goerli-alpha/2023-10-27-ownership-update/Makefile @@ -0,0 +1,16 @@ +include ../../Makefile +include ../.env +include .env +include ../.env.local + + +.PHONY: sign +sign: + $(GOPATH)/bin/eip712sign --private-key $(PRIVATE_KEY) -- \ + forge script --rpc-url $(L2_RPC_URL) UpdateOwners --sig "sign()" + +.PHONY: run +run: + forge script --rpc-url $(L2_RPC_URL) \ + UpdateOwners --sig "run(bytes)" $(SIGNATURES) \ + --private-key $(PRIVATE_KEY) --broadcast diff --git a/goerli-alpha/2023-10-27-ownership-update/foundry.toml b/goerli-alpha/2023-10-27-ownership-update/foundry.toml new file mode 100644 index 00000000..a4fbc1f6 --- /dev/null +++ b/goerli-alpha/2023-10-27-ownership-update/foundry.toml @@ -0,0 +1,19 @@ +[profile.default] +src = 'src' +out = 'out' +libs = ['lib'] +broadcast = 'records' +fs_permissions = [ {access = "read-write", path = "./"} ] +optimizer = true +optimizer_runs = 999999 +solc_version = "0.8.15" +via-ir = true +remappings = [ + '@eth-optimism-bedrock/=lib/optimism/packages/contracts-bedrock/', + '@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts', + '@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts', + '@rari-capital/solmate/=lib/solmate/', + '@base-contracts/=lib/base-contracts' +] + +# See more config options https://github.com/foundry-rs/foundry/tree/master/config \ No newline at end of file diff --git a/goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698441065.json b/goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698441065.json new file mode 100644 index 00000000..75272674 --- /dev/null +++ b/goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698441065.json @@ -0,0 +1,166 @@ +{ + "transactions": [ + { + "hash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0xd753a89450213a8d7f7acce3a615d71ebd97366d", + "to": "0x185d1422dcccf117d547ff2f278be88fda59b240", + "gas": "0x5607c", + "value": "0x0", + "data": "0x6a761202000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000064482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000520000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000006e3af66ab774b54ca07f86d191bef37ad4510bdf000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000000cd11fed1ba494866d5880d38e80d6bc9d330004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f1300000000000000000000000033c26ec7fc538b6939776c6b1f1c6033b28df3b1000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f13000000000000000000000000e2ef00887731f5dc55d66c5acca3b9b365854d4d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000004e52a3438f219b29327807d8d7962454b6799136000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000007a601cd27f4b46798e25331b7cf3edacb551afcd0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414be85cd6dd4547a86a55e32d6a08f24da979813c22edd39d8983f6b1a4c6e6d265830cd06f335d9d97a536929b440b9312e1d3131b87b25cb312060f0fefbc151c00000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x3c", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "from": "0xD753a89450213A8D7f7aCCE3a615d71ebD97366d", + "to": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "cumulativeGasUsed": "0x49b87", + "gasUsed": "0x3e48e", + "contractAddress": null, + "logs": [ + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x66753cd2356569ee081232e3be8909b950e0a76c1f8460c3a5e3c2be32b11bed" + ], + "data": "0x000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007e00000000000000000000000000000000000000000000000000000000000000860000000000000000000000000000000000000000000000000000000000000064482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000520000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000006e3af66ab774b54ca07f86d191bef37ad4510bdf000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000000cd11fed1ba494866d5880d38e80d6bc9d330004000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f1300000000000000000000000033c26ec7fc538b6939776c6b1f1c6033b28df3b1000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f13000000000000000000000000e2ef00887731f5dc55d66c5acca3b9b365854d4d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000004e52a3438f219b29327807d8d7962454b6799136000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000185d1422dcccf117d547ff2f278be88fda59b2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000007a601cd27f4b46798e25331b7cf3edacb551afcd0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000414be85cd6dd4547a86a55e32d6a08f24da979813c22edd39d8983f6b1a4c6e6d265830cd06f335d9d97a536929b440b9312e1d3131b87b25cb312060f0fefbc151c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000005000000000000000000000000d753a89450213a8d7f7acce3a615d71ebd97366d0000000000000000000000000000000000000000000000000000000000000001", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000006e3af66ab774b54ca07f86d191bef37ad4510bdf" + ], + "data": "0x", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000000cd11fed1ba494866d5880d38e80d6bc9d330004" + ], + "data": "0x", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x2", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x00000000000000000000000033c26ec7fc538b6939776c6b1f1c6033b28df3b1" + ], + "data": "0x", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x000000000000000000000000e2ef00887731f5dc55d66c5acca3b9b365854d4d" + ], + "data": "0x", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x4", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000004e52a3438f219b29327807d8d7962454b6799136" + ], + "data": "0x", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x5", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000007a601cd27f4b46798e25331b7cf3edacb551afcd" + ], + "data": "0x", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x6", + "removed": false + }, + { + "address": "0x185D1422dccCf117D547fF2F278be88FDA59b240", + "topics": [ + "0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e", + "0xcf70c572154f4ccf5d2f68930a8e2c74b49190e242d12880985be3133811afe2" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x76e58fe2a1f16ea5bc6a470cdca51250327bf85a23152706db75acf45b3b1395", + "blockNumber": "0x6bae52", + "transactionHash": "0x39408702203e0337c467b88a8035f31d7a2294d44d378bfed813372d0da2d24e", + "transactionIndex": "0x1", + "logIndex": "0x7", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000040400000000000000000000000000000000000000000000800040000000000400000040000080000000000000000000000000000100000000000000040000000200000000000000400200000000000040000000000001000000000000000000000000000010000000000000000000000000000000800004001000000000000004000000000000000000000100400100000000400000000000002000000000000000400002000200000000004000000000000000000000008000000000000000000000000000000000000020000000000000000000000000000000040000000000000000000000000000000000000008000000000000000000000000200", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e32" + } + ], + "libraries": [], + "pending": [], + "returns": { + "0": { + "internal_type": "bool", + "value": "true" + } + }, + "timestamp": 1698441065, + "chain": 11763071, + "multi": false, + "commit": "4694385" +} \ No newline at end of file diff --git a/goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698442634.json b/goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698442634.json new file mode 100644 index 00000000..91347da4 --- /dev/null +++ b/goerli-alpha/2023-10-27-ownership-update/records/UpdateOwners.s.sol/11763071/run-1698442634.json @@ -0,0 +1,192 @@ +{ + "transactions": [ + { + "hash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionType": "CALL", + "contractName": null, + "contractAddress": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "function": null, + "arguments": null, + "transaction": { + "type": "0x02", + "from": "0xd753a89450213a8d7f7acce3a615d71ebd97366d", + "to": "0x7768171512911988acfce3fd295a4cf8aa8e8dba", + "gas": "0x59a95", + "value": "0x0", + "data": "0x6a761202000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000064482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005200000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000006e3af66ab774b54ca07f86d191bef37ad4510bdf0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000000cd11fed1ba494866d5880d38e80d6bc9d3300040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f1300000000000000000000000033c26ec7fc538b6939776c6b1f1c6033b28df3b10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f13000000000000000000000000e2ef00887731f5dc55d66c5acca3b9b365854d4d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000004e52a3438f219b29327807d8d7962454b67991360000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000007a601cd27f4b46798e25331b7cf3edacb551afcd000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082b49d50da33e25f19da4dbe1e7e2fcdbcbdcc4dbaa9ba0b1746670b566288965c11f851fa7c7f1d26628147b180761ec01461672d76ce310b043cdbb40d491ef61bae26c99436c95e3517950a417d518573e79d17c288627493a9a92720fc31a5932815b3585d5873914d78de015d7caaa9050365e40cbb7910ac109e62426a12431b000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x3d", + "accessList": [] + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "from": "0xD753a89450213A8D7f7aCCE3a615d71ebD97366d", + "to": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "cumulativeGasUsed": "0x4c5af", + "gasUsed": "0x40e9e", + "contractAddress": null, + "logs": [ + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x66753cd2356569ee081232e3be8909b950e0a76c1f8460c3a5e3c2be32b11bed" + ], + "data": "0x000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007e000000000000000000000000000000000000000000000000000000000000008a0000000000000000000000000000000000000000000000000000000000000064482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000005200000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000006e3af66ab774b54ca07f86d191bef37ad4510bdf0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000000cd11fed1ba494866d5880d38e80d6bc9d3300040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f1300000000000000000000000033c26ec7fc538b6939776c6b1f1c6033b28df3b10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f13000000000000000000000000e2ef00887731f5dc55d66c5acca3b9b365854d4d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000004e52a3438f219b29327807d8d7962454b67991360000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000007768171512911988acfce3fd295a4cf8aa8e8dba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000007a601cd27f4b46798e25331b7cf3edacb551afcd000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082b49d50da33e25f19da4dbe1e7e2fcdbcbdcc4dbaa9ba0b1746670b566288965c11f851fa7c7f1d26628147b180761ec01461672d76ce310b043cdbb40d491ef61bae26c99436c95e3517950a417d518573e79d17c288627493a9a92720fc31a5932815b3585d5873914d78de015d7caaa9050365e40cbb7910ac109e62426a12431b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000d753a89450213a8d7f7acce3a615d71ebd97366d0000000000000000000000000000000000000000000000000000000000000002", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000006e3af66ab774b54ca07f86d191bef37ad4510bdf" + ], + "data": "0x", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x610f7ff2b304ae8903c3de74c60c6ab1f7d6226b3f52c5161905bb5ad4039c93" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000001", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x2", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000000cd11fed1ba494866d5880d38e80d6bc9d330004" + ], + "data": "0x", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x00000000000000000000000033c26ec7fc538b6939776c6b1f1c6033b28df3b1" + ], + "data": "0x", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x4", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x000000000000000000000000e2ef00887731f5dc55d66c5acca3b9b365854d4d" + ], + "data": "0x", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x5", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000004e52a3438f219b29327807d8d7962454b6799136" + ], + "data": "0x", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x6", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x9465fa0c962cc76958e6373a993326400c1c94f8be2fe3a952adfa7f60b2ea26", + "0x0000000000000000000000007a601cd27f4b46798e25331b7cf3edacb551afcd" + ], + "data": "0x", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x7", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x610f7ff2b304ae8903c3de74c60c6ab1f7d6226b3f52c5161905bb5ad4039c93" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000002", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x8", + "removed": false + }, + { + "address": "0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA", + "topics": [ + "0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e", + "0x9444ad0ffb2c8ccab75346cb346c54aeddf682cb97709c0c26e88029b666cd6f" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0xc3e3324ad99042b46070c2c02cf497ff10dab8aa3b4b12e98ee7a0a1a383a889", + "blockNumber": "0x6bb163", + "transactionHash": "0xa7cea11e8fd02d73fba79abe5e2eb314a4f682fafb86450eb4931ccdb9545979", + "transactionIndex": "0x1", + "logIndex": "0x9", + "removed": false + } + ], + "status": "0x1", + "logsBloom": "0x00000040400000000000000000000000000000000080000000000800040000000000400000800000080000000000000000000000000000100000000002000040000000200000000000008000200080000000040000000000001000000000000000000000000000030000000000000000000000000000000000024000000000000000004000040000000000000000100400100000000400000000000002000000000000000400002000000000000004000000000000000000000008000000000000000000000000000000000000020000000000000000000000000000000040000000000000000000000000000000000000008000000002000000000000000000", + "type": "0x2", + "effectiveGasPrice": "0xb2d05e32" + } + ], + "libraries": [], + "pending": [], + "returns": { + "0": { + "internal_type": "bool", + "value": "true" + } + }, + "timestamp": 1698442634, + "chain": 11763071, + "multi": false, + "commit": "363d944" +} \ No newline at end of file diff --git a/goerli-alpha/2023-10-27-ownership-update/script/UpdateOwners.s.sol b/goerli-alpha/2023-10-27-ownership-update/script/UpdateOwners.s.sol new file mode 100644 index 00000000..fa922946 --- /dev/null +++ b/goerli-alpha/2023-10-27-ownership-update/script/UpdateOwners.s.sol @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.15; + +import "@base-contracts/script/universal/MultisigBuilder.sol"; +import { IGnosisSafe } from "@eth-optimism-bedrock/scripts/interfaces/IGnosisSafe.sol"; + +contract UpdateOwners is MultisigBuilder { + address constant internal SAFE = 0x7768171512911988ACfCE3Fd295A4Cf8AA8E8dBA; + address constant internal NEW_OWNER_1 = 0x6E3af66aB774B54ca07f86d191BeF37ad4510Bdf; + address constant internal NEW_OWNER_2 = 0x0Cd11fed1bA494866D5880D38e80d6bC9d330004; + address constant internal NEW_OWNER_3 = 0x33c26Ec7FC538B6939776c6b1F1C6033B28Df3b1; + address constant internal NEW_OWNER_4 = 0xe2Ef00887731F5dC55D66C5Acca3b9b365854D4D; + address constant internal NEW_OWNER_5 = 0x4e52A3438f219b29327807D8D7962454b6799136; + address constant internal NEW_OWNER_6 = 0x7a601cd27f4B46798e25331b7cf3EDaCB551aFcd; + + function _postCheck() internal override view { + IGnosisSafe safe = IGnosisSafe(SAFE); + require(safe.getOwners().length == 12, "GnosisSafe owners did not get updated"); + require(safe.getThreshold() == 2, "GnosisSafe threshold is incorrect"); + } + + function _buildCalls() internal override view returns (IMulticall3.Call3[] memory) { + IMulticall3.Call3[] memory calls = new IMulticall3.Call3[](6); + + calls[0] = IMulticall3.Call3({ + target: SAFE, + allowFailure: false, + callData: abi.encodeCall( + IGnosisSafe.addOwnerWithThreshold, + (NEW_OWNER_1, 1) + ) + }); + + calls[1] = IMulticall3.Call3({ + target: SAFE, + allowFailure: false, + callData: abi.encodeCall( + IGnosisSafe.addOwnerWithThreshold, + (NEW_OWNER_2, 1) + ) + }); + + calls[2] = IMulticall3.Call3({ + target: SAFE, + allowFailure: false, + callData: abi.encodeCall( + IGnosisSafe.addOwnerWithThreshold, + (NEW_OWNER_3, 1) + ) + }); + + calls[3] = IMulticall3.Call3({ + target: SAFE, + allowFailure: false, + callData: abi.encodeCall( + IGnosisSafe.addOwnerWithThreshold, + (NEW_OWNER_4, 1) + ) + }); + + calls[4] = IMulticall3.Call3({ + target: SAFE, + allowFailure: false, + callData: abi.encodeCall( + IGnosisSafe.addOwnerWithThreshold, + (NEW_OWNER_5, 1) + ) + }); + + calls[5] = IMulticall3.Call3({ + target: SAFE, + allowFailure: false, + callData: abi.encodeCall( + IGnosisSafe.addOwnerWithThreshold, + (NEW_OWNER_6, 2) + ) + }); + + return calls; + } + + function _ownerSafe() internal override view returns (address) { + return SAFE; + } +} \ No newline at end of file