Skip to content

Commit

Permalink
Merge pull request #1654 from decentdao/remove-fractalRegistryContrac…
Browse files Browse the repository at this point in the history
…t-from-useSafeContracts

Remove fractalRegistryContract from useSafeContracts
  • Loading branch information
adamgall authored May 7, 2024
2 parents 0ded522 + e7f35a1 commit 15589ba
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
@@ -1,6 +1,5 @@
import {
FractalModule__factory,
FractalRegistry__factory,
AzoriusFreezeGuard__factory,
ERC20FreezeVoting__factory,
MultisigFreezeGuard__factory,
Expand Down Expand Up @@ -33,7 +32,6 @@ export default function useSafeContracts() {
multisend,
fractalAzoriusMasterCopy,
fractalModuleMasterCopy,
fractalRegistry,
multisigFreezeGuardMasterCopy,
azoriusFreezeGuardMasterCopy,
multisigFreezeVotingMasterCopy,
Expand Down Expand Up @@ -87,11 +85,6 @@ export default function useSafeContracts() {
asProvider: FractalModule__factory.connect(fractalModuleMasterCopy, provider),
};

const fractalRegistryContract = {
asSigner: FractalRegistry__factory.connect(fractalRegistry, signerOrProvider),
asProvider: FractalRegistry__factory.connect(fractalRegistry, provider),
};

const multisigFreezeGuardMasterCopyContract = {
asSigner: MultisigFreezeGuard__factory.connect(
multisigFreezeGuardMasterCopy,
Expand Down Expand Up @@ -136,7 +129,6 @@ export default function useSafeContracts() {
safeSingletonContract,
zodiacModuleProxyFactoryContract,
fractalModuleMasterCopyContract,
fractalRegistryContract,
multisigFreezeGuardMasterCopyContract,
azoriusFreezeGuardMasterCopyContract,
freezeMultisigVotingMasterCopyContract,
Expand All @@ -153,7 +145,6 @@ export default function useSafeContracts() {
fractalAzoriusMasterCopy,
multisend,
fractalModuleMasterCopy,
fractalRegistry,
multisigFreezeGuardMasterCopy,
azoriusFreezeGuardMasterCopy,
multisigFreezeVotingMasterCopy,
Expand Down

0 comments on commit 15589ba

Please sign in to comment.