From 8c8746c3f067b6e9662229b42dbe9594542aed0d Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Wed, 8 May 2024 15:46:06 -0400 Subject: [PATCH] Remove zodiacModuleProxyFactoryContract from useSafeContracts (#1658) --- src/hooks/safe/useSafeContracts.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/hooks/safe/useSafeContracts.ts b/src/hooks/safe/useSafeContracts.ts index 97717b76d6..229b155797 100644 --- a/src/hooks/safe/useSafeContracts.ts +++ b/src/hooks/safe/useSafeContracts.ts @@ -4,7 +4,6 @@ import { ERC20FreezeVoting__factory, MultisigFreezeGuard__factory, MultisigFreezeVoting__factory, - ModuleProxyFactory__factory, LinearERC20Voting__factory, Azorius__factory, ERC20Claim__factory, @@ -25,7 +24,6 @@ export default function useSafeContracts() { const { contracts: { safe, - zodiacModuleProxyFactory, linearVotingMasterCopy, multisend, fractalAzoriusMasterCopy, @@ -68,11 +66,6 @@ export default function useSafeContracts() { asProvider: GnosisSafeL2__factory.connect(safe, provider), }; - const zodiacModuleProxyFactoryContract = { - asSigner: ModuleProxyFactory__factory.connect(zodiacModuleProxyFactory, signerOrProvider), - asProvider: ModuleProxyFactory__factory.connect(zodiacModuleProxyFactory, provider), - }; - const fractalModuleMasterCopyContract = { asSigner: FractalModule__factory.connect(fractalModuleMasterCopy, signerOrProvider), asProvider: FractalModule__factory.connect(fractalModuleMasterCopy, provider), @@ -119,7 +112,6 @@ export default function useSafeContracts() { fractalAzoriusMasterCopyContract, linearVotingMasterCopyContract, safeSingletonContract, - zodiacModuleProxyFactoryContract, fractalModuleMasterCopyContract, multisigFreezeGuardMasterCopyContract, azoriusFreezeGuardMasterCopyContract, @@ -131,7 +123,6 @@ export default function useSafeContracts() { }; }, [ safe, - zodiacModuleProxyFactory, linearVotingMasterCopy, fractalAzoriusMasterCopy, multisend,