From ac2a81b0587661f9e912a7074d8390616aac6594 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Sun, 5 May 2024 22:08:37 -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,