InstantiateContractProposal constructor

InstantiateContractProposal({
  1. String? title,
  2. String? description,
  3. String? runAs,
  4. String? admin,
  5. Int64? codeId,
  6. String? label,
  7. List<int>? msg,
  8. Iterable<Coin>? funds,
})

Implementation

factory InstantiateContractProposal({
  $core.String? title,
  $core.String? description,
  $core.String? runAs,
  $core.String? admin,
  $fixnum.Int64? codeId,
  $core.String? label,
  $core.List<$core.int>? msg,
  $core.Iterable<$4.Coin>? funds,
}) {
  final _result = create();
  if (title != null) {
    _result.title = title;
  }
  if (description != null) {
    _result.description = description;
  }
  if (runAs != null) {
    _result.runAs = runAs;
  }
  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;
}