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

Hierarchy

Constructors

Properties

_maxLengthReveals: number
commands: BaseCommand<unknown>[] = []
endpoint: RandomEndpoint = ...
events: NamedRegistry = ...
method: RandomMethod = ...
offchainStores: NamedRegistry = ...
stores: NamedRegistry = ...

Accessors

Methods

  • Parameters

    • usedHashOnions: UsedHashOnion[]
    • address: Buffer
    • height: number
    • logger: Logger
    • context: InsertAssetContext

    Returns Promise<{
        count: number;
        hash: Buffer;
    }>

  • 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