diff --git a/src/hooks/DAO/useBuildDAOTx.ts b/src/hooks/DAO/useBuildDAOTx.ts index 3f0ceff487..cc0bb141c6 100644 --- a/src/hooks/DAO/useBuildDAOTx.ts +++ b/src/hooks/DAO/useBuildDAOTx.ts @@ -92,7 +92,7 @@ const useBuildDAOTx = () => { }; } - const buildrerBaseContracts = { + const buildrerBaseContracts: BaseContracts = { fractalModuleMasterCopyContract: fractalModuleMasterCopyContract.asSigner, fractalRegistryContract: fractalRegistryContract.asSigner, safeFactoryContract: safeFactoryContract.asSigner, @@ -103,7 +103,7 @@ const useBuildDAOTx = () => { freezeERC721VotingMasterCopyContract: freezeERC721VotingMasterCopyContract.asSigner, freezeMultisigVotingMasterCopyContract: freezeMultisigVotingMasterCopyContract.asSigner, zodiacModuleProxyFactoryContract: zodiacModuleProxyFactoryContract.asSigner, - } as BaseContracts; + }; const txBuilderFactory = new TxBuilderFactory( signerOrProvider, diff --git a/src/hooks/DAO/useDeployAzorius.ts b/src/hooks/DAO/useDeployAzorius.ts index 11789c75a8..24381bc103 100644 --- a/src/hooks/DAO/useDeployAzorius.ts +++ b/src/hooks/DAO/useDeployAzorius.ts @@ -54,6 +54,7 @@ const useDeployAzorius = () => { safeFactoryContract, safeSingletonContract, linearVotingMasterCopyContract, + linearVotingERC721MasterCopyContract, fractalAzoriusMasterCopyContract, zodiacModuleProxyFactoryContract, fractalRegistryContract, @@ -62,18 +63,20 @@ const useDeployAzorius = () => { azoriusFreezeGuardMasterCopyContract, freezeMultisigVotingMasterCopyContract, freezeERC20VotingMasterCopyContract, + freezeERC721VotingMasterCopyContract, claimingMasterCopyContract, } = baseContracts; - let azoriusContracts; + let azoriusContracts: AzoriusContracts; azoriusContracts = { fractalAzoriusMasterCopyContract: fractalAzoriusMasterCopyContract.asProvider, linearVotingMasterCopyContract: linearVotingMasterCopyContract.asProvider, + linearVotingERC721MasterCopyContract: linearVotingERC721MasterCopyContract.asProvider, azoriusFreezeGuardMasterCopyContract: azoriusFreezeGuardMasterCopyContract.asProvider, claimingMasterCopyContract: claimingMasterCopyContract.asProvider, - } as AzoriusContracts; + }; - const builderBaseContracts = { + const builderBaseContracts: BaseContracts = { fractalModuleMasterCopyContract: fractalModuleMasterCopyContract.asProvider, fractalRegistryContract: fractalRegistryContract.asProvider, safeFactoryContract: safeFactoryContract.asProvider, @@ -81,9 +84,10 @@ const useDeployAzorius = () => { multisigFreezeGuardMasterCopyContract: multisigFreezeGuardMasterCopyContract.asProvider, multiSendContract: multiSendContract.asProvider, freezeERC20VotingMasterCopyContract: freezeERC20VotingMasterCopyContract.asProvider, + freezeERC721VotingMasterCopyContract: freezeERC721VotingMasterCopyContract.asProvider, freezeMultisigVotingMasterCopyContract: freezeMultisigVotingMasterCopyContract.asProvider, zodiacModuleProxyFactoryContract: zodiacModuleProxyFactoryContract.asProvider, - } as BaseContracts; + }; const txBuilderFactory = new TxBuilderFactory( signerOrProvider,