Class GasRewards
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
The reward fractions related to the gas account and inclusion of special transactions for chain parameters version 0 and 1.
public sealed record GasRewards : IEquatable<GasRewards>
- Inheritance
-
GasRewards
- Implements
- Inherited Members
Constructors
GasRewards(AmountFraction, AmountFraction, AmountFraction, AmountFraction)
The reward fractions related to the gas account and inclusion of special transactions for chain parameters version 0 and 1.
public GasRewards(AmountFraction Baker, AmountFraction FinalizationProof, AmountFraction AccountCreation, AmountFraction ChainUpdate)
Parameters
Baker
AmountFractionFraction of the previous gas account paid to the baker.
FinalizationProof
AmountFractionFraction paid for including a finalization proof in a block.
AccountCreation
AmountFractionFraction paid for including each account creation transaction in a block.
ChainUpdate
AmountFractionFraction 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; }
Property Value
FinalizationProof
Fraction paid for including a finalization proof in a block.
public AmountFraction FinalizationProof { get; init; }