Private
_internalPrivate
_tokenProtected
eventsThe unique identifier of the schema.
A list describing the available parameters for the CCM.
Amount of tokens to be transferred in Beddows.
Optional field for data / messages.
minLength is
0.
maxLength` is MAX_DATA_LENGTH.
Address of the recipient.
Address of the sender.
ID of the tokens being transferred.
minLength
and maxLength
are TOKEN_ID_LENGTH.
The required parameters for the command.
Protected
storesReturns the command name: CROSS_CHAIN_COMMAND_NAME_TRANSFER
Transfers the specified amount of tokens to the recipient account.
If the token being transferred is native to the receiving chain, it also subtracts the same amount of tokens from the respective escrow account.
For more info about the execute()
method, please refer to the BaseCommand.
The init()
hook of a command is called by the Lisk Framework when the node starts.
In this context, you have the opportunity to validate and cache the module config or perform initializations that are intended to occur only once.
Contains the module methods and internal module methods.
Checks if the token is native on either the sending or the receiving chain.
If the token is native to the receiving chain, it additionally verifies whether the escrow account holds a sufficient balance to facilitate the transfer of the designated tokens.
For more info about the verify()
method, please refer to the BaseCommand
Generated using TypeDoc
The
transferCrossChain
cross-chain command of the TokenModuletransferCrossChain
token