toProtoWithType method

Coin toProtoWithType()

Implementation

CF.Coin toProtoWithType() {
  var coin = CF.Coin();
  coin.amount = amount.toString();
  coin.denom = denom.toString();

  return coin;
}