查看各种令牌实现(例如这里和这里)的源代码,它们具有以下API:
// presume can only be "called" by owner.
Transfer(address to, number amount)
// sender (exchange) must be authorised by owner
Transfer(address from, address to, number value) {
require(balanceOf[from] >= value);
balanceOf[from] -= value;
b