From c8a01f339e2dac9b537c45dfee546f5418410fa8 Mon Sep 17 00:00:00 2001 From: Jorge Izquierdo Date: Fri, 24 Feb 2023 09:42:54 +0100 Subject: [PATCH] v1: Deploy (#188) * v1: Goerli * v1: Polygon * v1: redeploy Polygon * v1: Mainnet --- deployments/factory.json | 15 +++++++++++++++ scripts/CreateFirmSeedState.s.sol | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/deployments/factory.json b/deployments/factory.json index 595ca02..a1ace9c 100644 --- a/deployments/factory.json +++ b/deployments/factory.json @@ -8,6 +8,11 @@ "firmFactory": "0x5d48aBF587A188676059Fe2928BBd5E751464474", "modulesFactory": "0x03c9408Fc9B70b06b289E216e463d0928e376cd7", "blockNumber": 15845714 + }, + "v1.0.0": { + "firmFactory": "0xFbeC16EECD4558297FB3deA9934A162Ef76b14bd", + "modulesFactory": "0x8EBa12de23C24D27469a748904CA6ba16aff6803", + "blockNumber": 16696970 } }, "5": { @@ -28,6 +33,11 @@ "firmFactory": "0x757BfeA33a67412a1099BD00f431153509E0e1BC", "modulesFactory": "0x7feED33B89605C5171bfF6051F64954a892Af043", "blockNumber": 8331988 + }, + "v1.0.0": { + "firmFactory": "0x1Ce5621D386B2801f5600F1dBe29522805b8AC11", + "modulesFactory": "0x159200D27301776D5412D52Ed2605b7c5371AcFe", + "blockNumber": 8546358 } }, "137": { @@ -45,6 +55,11 @@ "firmFactory": "0x9aC87d21984F5a42A549eDC0306a5b4813626843", "modulesFactory": "0x4a04206FCe29faB48D3195F9a2892A6d02D4aC6e", "blockNumber": 38227123 + }, + "v1.0.0": { + "firmFactory": "0xaC722c66312fC581Bc57Ee4141871Fe0bf22fA08", + "modulesFactory": "0x6232B169db8e0f5A1FD1eEC3B802aa3FFC430bB4", + "blockNumber": 39648134 } } } \ No newline at end of file diff --git a/scripts/CreateFirmSeedState.s.sol b/scripts/CreateFirmSeedState.s.sol index c0c3ef3..1db57ba 100644 --- a/scripts/CreateFirmSeedState.s.sol +++ b/scripts/CreateFirmSeedState.s.sol @@ -34,10 +34,10 @@ contract CreateFirmSeedState is Test { function run() public returns (GnosisSafe safe) { if (block.chainid == 5) { // goerli faucet = TestnetTokenFaucet(0x88A135e2f78C6Ef38E1b72A4B75Ad835fBd50CCE); - factory = FirmFactory(0x757BfeA33a67412a1099BD00f431153509E0e1BC); // v0.5 + factory = FirmFactory(0x1Ce5621D386B2801f5600F1dBe29522805b8AC11); // v1.0 } else if (block.chainid == 137) { // matic faucet = TestnetTokenFaucet(0xA1dD2A67E26DC400b6dd31354bA653ea4EeF86F5); - factory = FirmFactory(0x9aC87d21984F5a42A549eDC0306a5b4813626843); // v0.5 + factory = FirmFactory(0xaC722c66312fC581Bc57Ee4141871Fe0bf22fA08); // v1.0 } else if (block.chainid == 31337) { // anvil faucet = (new TestnetFaucetDeploy()).run(); factory = FirmFactory(0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE);