MsgFundCommunityPool constructor

MsgFundCommunityPool({
  1. Iterable<Coin>? amount,
  2. String? depositor,
})

Implementation

factory MsgFundCommunityPool({
  $core.Iterable<$2.Coin>? amount,
  $core.String? depositor,
}) {
  final _result = create();
  if (amount != null) {
    _result.amount.addAll(amount);
  }
  if (depositor != null) {
    _result.depositor = depositor;
  }
  return _result;
}