Abstract
Protected
eventsProtected
storesReturns the name of the cross-chain command.
Abstract
executeApplies 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.
Optional
verifyThe hook CCCommand.verify()
is called to perform all necessary verifications.
In this hook, the state cannot be mutated and events cannot be emitted.
If the verification of the command was successful, for the next step the cc-command can be executed.
Generated using TypeDoc
The
BaseCCCommand
represents Lisk cross-chain commands by providing a generic interface, from which each cross-chain command extends from.