fromData static method

MsgSwap fromData(
  1. MsgSwapDataArgs data
)

Implementation

static MsgSwap fromData(MsgSwapDataArgs data) {
  return MsgSwap(
      data.trader!, Coin.fromData(data.offer_Coin!), data.ask_Denom!);
}