From b3ae579073fcae2e93e5ade1947afa49c3d18a5a Mon Sep 17 00:00:00 2001 From: Asgeir Date: Thu, 10 Nov 2022 10:03:51 +0100 Subject: [PATCH] Update naming --- src/factory/module_deployer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/factory/module_deployer.ts b/src/factory/module_deployer.ts index bf3aa860..254e2ef2 100644 --- a/src/factory/module_deployer.ts +++ b/src/factory/module_deployer.ts @@ -21,7 +21,7 @@ type TxAndExpectedAddress = { * Get the transaction for deploying a module proxy through the module factory. * This will also initialize the module proxy by calling the setup function. * - * @param contractName Name of the module to deploy (must be present in `KnownContracts`) + * @param moduleName Name of the module to deploy (must be present in `KnownContracts`) * @param setupArgs The arguments for the setup function of the module * @param provider * @param chainId @@ -29,7 +29,7 @@ type TxAndExpectedAddress = { * @returns the transaction and the expected address of the module proxy */ export const deployAndSetUpModule = ( - contractName: KnownContracts, + moduleName: KnownContracts, setupArgs: { types: Array; values: Array; @@ -39,7 +39,7 @@ export const deployAndSetUpModule = ( saltNonce: string ): TxAndExpectedAddress => { const { moduleFactory, moduleMastercopy } = getModuleFactoryAndMasterCopy( - contractName, + moduleName, provider, chainId );