MsgInstantiateContract constructor

MsgInstantiateContract({
  1. String? sender,
  2. String? admin,
  3. Int64? codeId,
  4. String? label,
  5. List<int>? msg,
  6. Iterable<Coin>? funds,
})

Implementation

factory MsgInstantiateContract({
  $core.String? sender,
  $core.String? admin,
  $fixnum.Int64? codeId,
  $core.String? label,
  $core.List<$core.int>? msg,
  $core.Iterable<$4.Coin>? funds,
}) {
  final _result = create();
  if (sender != null) {
    _result.sender = sender;
  }
  if (admin != null) {
    _result.admin = admin;
  }
  if (codeId != null) {
    _result.codeId = codeId;
  }
  if (label != null) {
    _result.label = label;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  if (funds != null) {
    _result.funds.addAll(funds);
  }
  return _result;
}