Class BaseCCCommand<T>Abstract

The BaseCCCommand represents Lisk cross-chain commands by providing a generic interface, from which each cross-chain command extends from.

Type Parameters

  • T = unknown

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

events: NamedRegistry
schema: Schema = emptySchema
stores: NamedRegistry

Accessors

Methods

  • Applies the state changes of a command through the state machine. The hook CCCommand.execute() is triggered by a transaction identified by the module name and the command name.

    Additionally, an event will be emitted that provides the information on whether a command is executed successfully or failed.

    In this hook, the state can be mutated and events can be emitted.

    Parameters

    Returns Promise<void>

Generated using TypeDoc