ScriptTransfer is a structure that sets the parameters of the token transfer. The token transfer is performed only if the structure is included in the callable function result.
If the token is a smart asset, the asset script verifies the
ScriptTransfer action as if it were TransferTransaction with the fee of 0 and the version of 0. If the asset script denies the action, then the transaction that invoked the dApp script is either denied or saved on the blockchain as failed, see the Transaction Validation.
ScriptTransfer(recipient: Address|Alias, amount: Int, asset: ByteVector|Unit)
|1||recipient||Address|Alias||Address or the alias of a recipient of tokens|
|2||amount||Int||Number of tokens|
|3||asset||ByteVector|Unit||ID of a token|