Class GasRewardsCpv2
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
The reward fractions related to the gas account and inclusion of special transactions. Introduce for protocol version 6.
public sealed record GasRewardsCpv2 : IEquatable<GasRewardsCpv2>
- Inheritance
-
GasRewardsCpv2
- Implements
- Inherited Members
Constructors
GasRewardsCpv2(AmountFraction, AmountFraction, AmountFraction)
The reward fractions related to the gas account and inclusion of special transactions. Introduce for protocol version 6.
public GasRewardsCpv2(AmountFraction Baker, AmountFraction AccountCreation, AmountFraction ChainUpdate)
Parameters
BakerAmountFractionFraction of the previous gas account paid to the baker.
AccountCreationAmountFractionFraction paid for including each account creation transaction in a block.
ChainUpdateAmountFractionFraction paid for including an update transaction in a block.
Properties
AccountCreation
Fraction paid for including each account creation transaction in a block.
public AmountFraction AccountCreation { get; init; }
Property Value
Baker
Fraction of the previous gas account paid to the baker.
public AmountFraction Baker { get; init; }
Property Value
ChainUpdate
Fraction paid for including an update transaction in a block.
public AmountFraction ChainUpdate { get; init; }