Skip to content

Commit

Permalink
remove FractalModule contract from useSafeContracts
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 7, 2024
1 parent ba1cd38 commit 81f64b9
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,5 +1,4 @@
import {
FractalModule__factory,
AzoriusFreezeGuard__factory,
ERC20FreezeVoting__factory,
MultisigFreezeGuard__factory,
Expand All @@ -19,7 +18,6 @@ export default function useSafeContracts() {
const {
contracts: {
fractalAzoriusMasterCopy,
fractalModuleMasterCopy,
multisigFreezeGuardMasterCopy,
azoriusFreezeGuardMasterCopy,
multisigFreezeVotingMasterCopy,
Expand All @@ -38,11 +36,6 @@ export default function useSafeContracts() {
asProvider: Azorius__factory.connect(fractalAzoriusMasterCopy, provider),
};

const fractalModuleMasterCopyContract = {
asSigner: FractalModule__factory.connect(fractalModuleMasterCopy, signerOrProvider),
asProvider: FractalModule__factory.connect(fractalModuleMasterCopy, provider),
};

const multisigFreezeGuardMasterCopyContract = {
asSigner: MultisigFreezeGuard__factory.connect(
multisigFreezeGuardMasterCopy,
Expand Down Expand Up @@ -76,7 +69,6 @@ export default function useSafeContracts() {

return {
fractalAzoriusMasterCopyContract,
fractalModuleMasterCopyContract,
multisigFreezeGuardMasterCopyContract,
azoriusFreezeGuardMasterCopyContract,
freezeMultisigVotingMasterCopyContract,
Expand All @@ -85,7 +77,6 @@ export default function useSafeContracts() {
};
}, [
fractalAzoriusMasterCopy,
fractalModuleMasterCopy,
multisigFreezeGuardMasterCopy,
azoriusFreezeGuardMasterCopy,
multisigFreezeVotingMasterCopy,
Expand Down

0 comments on commit 81f64b9

Please sign in to comment.