MsgCreateVestingAccount constructor
MsgCreateVestingAccount({})
Implementation
factory MsgCreateVestingAccount({
$core.String? fromAddress,
$core.String? toAddress,
$core.Iterable<$2.Coin>? amount,
$fixnum.Int64? endTime,
$core.bool? delayed,
}) {
final _result = create();
if (fromAddress != null) {
_result.fromAddress = fromAddress;
}
if (toAddress != null) {
_result.toAddress = toAddress;
}
if (amount != null) {
_result.amount.addAll(amount);
}
if (endTime != null) {
_result.endTime = endTime;
}
if (delayed != null) {
_result.delayed = delayed;
}
return _result;
}