encodeModuleInstallationData
Encodes the initData for a module installation.
Usage
const initData = encodeModuleInstallationData({
  account: getAccount({
    address: safeAccount.address,
    type: 'safe',
  }),
  module: getDeadmanSwitch({
    account,
    client,
    nominee: nominee.address,
    timeout: 1,
    moduleType: 'validator',
  }),
})Parameters
account
- Type: Account
The account object.
module
- Type: Module
The module object.
Returns
- Type: Hex(opens in a new tab)
The encoded module installation data.