MsgExecuteContract constructor

MsgExecuteContract({
  1. String? sender,
  2. String? contract,
  3. List<int>? msg,
  4. Iterable<Coin>? funds,
})

Implementation

factory MsgExecuteContract({
  $core.String? sender,
  $core.String? contract,
  $core.List<$core.int>? msg,
  $core.Iterable<$4.Coin>? funds,
}) {
  final _result = create();
  if (sender != null) {
    _result.sender = sender;
  }
  if (contract != null) {
    _result.contract = contract;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  if (funds != null) {
    _result.funds.addAll(funds);
  }
  return _result;
}