Skip to content

Commit

Permalink
Remove safeFactoryContract from useSafeContracts
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 6, 2024
1 parent 30f7afd commit ac2a81b
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,
GnosisSafeProxyFactory__factory,
ModuleProxyFactory__factory,
LinearERC20Voting__factory,
Azorius__factory,
Expand All @@ -26,7 +25,6 @@ export default function useSafeContracts() {
const {
contracts: {
safe,
safeFactory,
zodiacModuleProxyFactory,
linearVotingMasterCopy,
multisend,
Expand All @@ -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),
Expand Down Expand Up @@ -123,7 +116,6 @@ export default function useSafeContracts() {

return {
multiSendContract,
safeFactoryContract,
fractalAzoriusMasterCopyContract,
linearVotingMasterCopyContract,
safeSingletonContract,
Expand All @@ -138,7 +130,6 @@ export default function useSafeContracts() {
linearVotingERC721MasterCopyContract,
};
}, [
safeFactory,
safe,
zodiacModuleProxyFactory,
linearVotingMasterCopy,
Expand Down

0 comments on commit ac2a81b

Please sign in to comment.