SideChainStakeMigration constructor

SideChainStakeMigration({
  1. List<int>? validatorSrcAddr,
  2. List<int>? validatorDstAddr,
  3. List<int>? delegatorAddr,
  4. List<int>? refundAddr,
  5. SendOrder_Token? amount,
})

Implementation

factory SideChainStakeMigration({
  $core.List<$core.int>? validatorSrcAddr,
  $core.List<$core.int>? validatorDstAddr,
  $core.List<$core.int>? delegatorAddr,
  $core.List<$core.int>? refundAddr,
  SendOrder_Token? amount,
}) {
  final result = create();
  if (validatorSrcAddr != null) result.validatorSrcAddr = validatorSrcAddr;
  if (validatorDstAddr != null) result.validatorDstAddr = validatorDstAddr;
  if (delegatorAddr != null) result.delegatorAddr = delegatorAddr;
  if (refundAddr != null) result.refundAddr = refundAddr;
  if (amount != null) result.amount = amount;
  return result;
}