import { BigNumberish, TransactionRequest } from "ethers"; /** * Encodes the transaction payload for deploying a Mod instance. * The Mod instance is deployed as a minimal proxy through the ZodiacModuleProxyFactory. * @param {Object} params - The function parameters. * @param {string} [params.factory=factoryAddress] - The address of the factory contract. * If not provided, the default ModuleProxyFactory will be used. Note: To deploy a proxy, * you don't need to explicitly pass the factory address in. If you leave it blank, * the default ModuleProxyFactory will be used, and this is what we want. * @param {string} params.mastercopy - The address of the mastercopy contract. * @param {Object} params.setupArgs - The mod setup args * @param {any[]} params.setupArgs.types - The types of the setup arguments. * @param {any[]} params.setupArgs.values - The values of the setup arguments. * @param {BigNumberish} params.saltNonce - The salt nonce used in the proxy deployment. * @returns {TransactionRequest} The encoded transaction request. */ export default function encodeDeployProxyTransaction({ factory, mastercopy, setupArgs, saltNonce, }: { factory?: string; mastercopy: string; setupArgs: { types: any[]; values: any[]; }; saltNonce: BigNumberish; }): TransactionRequest;