Class RewardOverviewBase
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Information about the state of the CCD distribution at a particular time. Reward data common to both V0 and V1 rewards.
public abstract record RewardOverviewBase : IEquatable<RewardOverviewBase>
- Inheritance
-
RewardOverviewBase
- Implements
- Derived
- Inherited Members
Constructors
RewardOverviewBase(ProtocolVersion, CcdAmount, CcdAmount, CcdAmount, CcdAmount, CcdAmount)
Information about the state of the CCD distribution at a particular time. Reward data common to both V0 and V1 rewards.
protected RewardOverviewBase(ProtocolVersion ProtocolVersion, CcdAmount TotalAmount, CcdAmount TotalEncryptedAmount, CcdAmount BakingRewardAccount, CcdAmount FinalizationRewardAccount, CcdAmount GasAccount)
Parameters
ProtocolVersion
ProtocolVersionProtocol version that applies to these rewards. V0 variant
TotalAmount
CcdAmountThe total CCD in existence.
TotalEncryptedAmount
CcdAmountThe total CCD in encrypted balances.
BakingRewardAccount
CcdAmountThe amount in the baking reward account.
FinalizationRewardAccount
CcdAmountThe amount in the finalization reward account.
GasAccount
CcdAmountThe amount in the GAS account.
Properties
BakingRewardAccount
The amount in the baking reward account.
public CcdAmount BakingRewardAccount { get; init; }
Property Value
FinalizationRewardAccount
The amount in the finalization reward account.
public CcdAmount FinalizationRewardAccount { get; init; }
Property Value
GasAccount
The amount in the GAS account.
public CcdAmount GasAccount { get; init; }
Property Value
ProtocolVersion
Protocol version that applies to these rewards. V0 variant
public ProtocolVersion ProtocolVersion { get; init; }
Property Value
TotalAmount
The total CCD in existence.
public CcdAmount TotalAmount { get; init; }
Property Value
TotalEncryptedAmount
The total CCD in encrypted balances.
public CcdAmount TotalEncryptedAmount { get; init; }