如何为FungibleToken创建新命令

问题描述

如何为FungibleToken创建新命令?
这是FungibleTokenContract文档。

 * The [FungibleToken] contract sub-classes the [AbstractToken] contract which contains the "verify" method.
 * To add functionality to this contract,developers should:
 * 1. Create their own commands which implement the [TokenCommand] interface.
 * 2. Override the [AbstractTokenContract.dispatchOnCommand] method to add support for the new command,remembering
 *    to call the super method to handle the existing commands.
 * 3. Add a method to handle the new command in the new sub-class contract.

但是如何覆盖[AbstractTokenContract.dispatchOnCommand]方法?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)