The BaseModule represents Lisk modules by providing a generic interface, from which each module extends from.

Hierarchy

Constructors

Properties

_feeMethod: FeeMethod
_moduleConfig: ModuleConfig
_randomMethod: RandomMethod
_registerAuthorityCommand: RegisterAuthorityCommand = ...
_updateAuthorityCommand: UpdateAuthorityCommand = ...
_updateGeneratorKeyCommand: UpdateGeneratorKeyCommand = ...
_validatorsMethod: ValidatorsMethod
commands: (RegisterAuthorityCommand | UpdateAuthorityCommand | UpdateGeneratorKeyCommand)[] = ...
endpoint: PoAEndpoint = ...
events: NamedRegistry = ...
method: PoAMethod = ...
offchainStores: NamedRegistry = ...
stores: NamedRegistry = ...

Accessors

Methods

  • Parameters

    • validatorsMethod: ValidatorsMethod
    • feeMethod: FeeMethod
    • randomMethod: RandomMethod

    Returns void

  • Returns {
        assets: never[];
        commands: {
            name: string;
            params: Schema;
        }[];
        endpoints: never[];
        events: {
            data: Schema;
            name: string;
        }[];
        stores: {
            data: Schema;
            key: string;
        }[];
    }

    • assets: never[]
    • commands: {
          name: string;
          params: Schema;
      }[]
    • endpoints: never[]
    • events: {
          data: Schema;
          name: string;
      }[]
    • stores: {
          data: Schema;
          key: string;
      }[]

Generated using TypeDoc