From ffa0f23344e67f5ddad684c484117119c25912a8 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Sun, 5 May 2024 23:39:58 -0400 Subject: [PATCH] Remove zodiacModuleProxyFactoryContract from useSafeContracts --- 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,