copyWith method

ProtocolParamUpdate copyWith({
  1. BigInt? minfeeA,
  2. BigInt? minFeeB,
  3. int? maxBlockBodySize,
  4. int? maxTxSize,
  5. int? maxBlockHeaderSize,
  6. BigInt? keyDeposit,
  7. BigInt? poolDeposit,
  8. int? maxEpoch,
  9. int? nOpt,
  10. UnitInterval? poolPledgeInfluence,
  11. UnitInterval? expansionRate,
  12. UnitInterval? treasuryGrowthRate,
  13. UnitInterval? d,
  14. Nonce? extraEntropy,
  15. ProtocolVersion? protocolVersion,
  16. BigInt? minPoolCost,
  17. BigInt? adaPerUtxoByte,
  18. Costmdls? costModel,
  19. ExUnitPrices? executionCosts,
  20. ExUnits? maxTxExUnits,
  21. ExUnits? maxBlockExUnits,
  22. int? maxValueSize,
  23. int? collateralPercentage,
  24. int? maxCollateralInputs,
})

Implementation

ProtocolParamUpdate copyWith({
  BigInt? minfeeA,
  BigInt? minFeeB,
  int? maxBlockBodySize,
  int? maxTxSize,
  int? maxBlockHeaderSize,
  BigInt? keyDeposit,
  BigInt? poolDeposit,
  int? maxEpoch,
  int? nOpt,
  UnitInterval? poolPledgeInfluence,
  UnitInterval? expansionRate,
  UnitInterval? treasuryGrowthRate,
  UnitInterval? d,
  Nonce? extraEntropy,
  ProtocolVersion? protocolVersion,
  BigInt? minPoolCost,
  BigInt? adaPerUtxoByte,
  Costmdls? costModel,
  ExUnitPrices? executionCosts,
  ExUnits? maxTxExUnits,
  ExUnits? maxBlockExUnits,
  int? maxValueSize,
  int? collateralPercentage,
  int? maxCollateralInputs,
}) {
  return ProtocolParamUpdate(
    minfeeA: minfeeA ?? this.minfeeA,
    minFeeB: minFeeB ?? this.minFeeB,
    maxBlockBodySize: maxBlockBodySize ?? this.maxBlockBodySize,
    maxTxSize: maxTxSize ?? this.maxTxSize,
    maxBlockHeaderSize: maxBlockHeaderSize ?? this.maxBlockHeaderSize,
    keyDeposit: keyDeposit ?? this.keyDeposit,
    poolDeposit: poolDeposit ?? this.poolDeposit,
    maxEpoch: maxEpoch ?? this.maxEpoch,
    nOpt: nOpt ?? this.nOpt,
    poolPledgeInfluence: poolPledgeInfluence ?? this.poolPledgeInfluence,
    expansionRate: expansionRate ?? this.expansionRate,
    treasuryGrowthRate: treasuryGrowthRate ?? this.treasuryGrowthRate,
    d: d ?? this.d,
    extraEntropy: extraEntropy ?? this.extraEntropy,
    protocolVersion: protocolVersion ?? this.protocolVersion,
    minPoolCost: minPoolCost ?? this.minPoolCost,
    adaPerUtxoByte: adaPerUtxoByte ?? this.adaPerUtxoByte,
    costModel: costModel ?? this.costModel,
    executionCosts: executionCosts ?? this.executionCosts,
    maxTxExUnits: maxTxExUnits ?? this.maxTxExUnits,
    maxBlockExUnits: maxBlockExUnits ?? this.maxBlockExUnits,
    maxValueSize: maxValueSize ?? this.maxValueSize,
    collateralPercentage: collateralPercentage ?? this.collateralPercentage,
    maxCollateralInputs: maxCollateralInputs ?? this.maxCollateralInputs,
  );
}