From 11edff4e69700e499933a9e9f0d905beee052b47 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Tue, 7 May 2024 13:57:34 -0400 Subject: [PATCH] Remove safeFactoryContract 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 ffa3e5e9ec..97717b76d6 100644 --- a/src/hooks/safe/useSafeContracts.ts +++ b/src/hooks/safe/useSafeContracts.ts @@ -4,7 +4,6 @@ import { ERC20FreezeVoting__factory, MultisigFreezeGuard__factory, MultisigFreezeVoting__factory, - GnosisSafeProxyFactory__factory, ModuleProxyFactory__factory, LinearERC20Voting__factory, Azorius__factory, @@ -26,7 +25,6 @@ export default function useSafeContracts() { const { contracts: { safe, - safeFactory, zodiacModuleProxyFactory, linearVotingMasterCopy, multisend, @@ -51,11 +49,6 @@ export default function useSafeContracts() { asProvider: MultiSend__factory.connect(multisend, provider), }; - const safeFactoryContract = { - asSigner: GnosisSafeProxyFactory__factory.connect(safeFactory, signerOrProvider), - asProvider: GnosisSafeProxyFactory__factory.connect(safeFactory, provider), - }; - const fractalAzoriusMasterCopyContract = { asSigner: Azorius__factory.connect(fractalAzoriusMasterCopy, signerOrProvider), asProvider: Azorius__factory.connect(fractalAzoriusMasterCopy, provider), @@ -123,7 +116,6 @@ export default function useSafeContracts() { return { multiSendContract, - safeFactoryContract, fractalAzoriusMasterCopyContract, linearVotingMasterCopyContract, safeSingletonContract, @@ -138,7 +130,6 @@ export default function useSafeContracts() { linearVotingERC721MasterCopyContract, }; }, [ - safeFactory, safe, zodiacModuleProxyFactory, linearVotingMasterCopy,