This page will contain detailed information on how a module is installed, uninstalled and the logic behing the deinitialisation data during uninstallation and session-key operations

Module Types

  1. Validator
  2. Executor
  3. Fallback
  4. Hook
  • Validator, Executor and Fallback modules on the wallet are stored as a circular linked list
  • Any installation or uninstallation of module is to link or unlink the module from module store
  • Only 1 hook is permitted to be installed for the wallet.

More Details on the Modular contracts can be refered from: Module-Contracts

While using module SDK functions, moduleType is mandatory and they are set using the helper constant MODULE_TYPE

If you want to take a look at the SDK code in more detail then you can check these functions out here on Github.