toAmino method

Implementation

MsgInstantiateContractAminoArgs toAmino() {
  var val = MsgInstantiateContractValueAminoArgs()
    ..sender = sender
    ..admin = admin
    ..code_id = code_id.toString()
    ..init_msg = init_msg
    ..init_coins = CoinsExtensions.toAmino(init_coins);

  return MsgInstantiateContractAminoArgs(val);
}