ExecuteContractProposal constructor

ExecuteContractProposal({
  1. String? title,
  2. String? description,
  3. String? runAs,
  4. String? contract,
  5. List<int>? msg,
  6. Iterable<Coin>? funds,
})

Implementation

factory ExecuteContractProposal({
  $core.String? title,
  $core.String? description,
  $core.String? runAs,
  $core.String? contract,
  $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 (contract != null) {
    _result.contract = contract;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  if (funds != null) {
    _result.funds.addAll(funds);
  }
  return _result;
}