Skip to content

Commit

Permalink
Remove zodiacModuleProxyFactoryContract from useSafeContracts
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 8, 2024
1 parent e67e6bf commit 3b3a125
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/hooks/safe/useSafeContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
ERC20FreezeVoting__factory,
MultisigFreezeGuard__factory,
MultisigFreezeVoting__factory,
ModuleProxyFactory__factory,
LinearERC20Voting__factory,
Azorius__factory,
ERC20Claim__factory,
Expand All @@ -25,7 +24,6 @@ export default function useSafeContracts() {
const {
contracts: {
safe,
zodiacModuleProxyFactory,
linearVotingMasterCopy,
multisend,
fractalAzoriusMasterCopy,
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -119,7 +112,6 @@ export default function useSafeContracts() {
fractalAzoriusMasterCopyContract,
linearVotingMasterCopyContract,
safeSingletonContract,
zodiacModuleProxyFactoryContract,
fractalModuleMasterCopyContract,
multisigFreezeGuardMasterCopyContract,
azoriusFreezeGuardMasterCopyContract,
Expand All @@ -131,7 +123,6 @@ export default function useSafeContracts() {
};
}, [
safe,
zodiacModuleProxyFactory,
linearVotingMasterCopy,
fractalAzoriusMasterCopy,
multisend,
Expand Down

0 comments on commit 3b3a125

Please sign in to comment.