fromAmino static method

MsgSwap fromAmino(
  1. MsgSwapAminoArgs data
)

Implementation

static MsgSwap fromAmino(MsgSwapAminoArgs data) {
  return MsgSwap(data.value.trader!, Coin.fromAmino(data.value.offer_coin!),
      data.value.ask_denom!);
}