copyWith method
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,
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,
);
}