Class BlockAccrueReward
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Amounts accrued to accounts for each baked block.
public sealed record BlockAccrueReward : ISpecialEvent, IEquatable<BlockAccrueReward>
- Inheritance
-
BlockAccrueReward
- Implements
- Inherited Members
Constructors
BlockAccrueReward(CcdAmount, CcdAmount, CcdAmount, CcdAmount, CcdAmount, CcdAmount, BakerId)
Amounts accrued to accounts for each baked block.
public BlockAccrueReward(CcdAmount TransactionFees, CcdAmount OldGasAccount, CcdAmount NewGasAccount, CcdAmount BakerReward, CcdAmount PassiveReward, CcdAmount FoundationCharge, BakerId BakerId)
Parameters
TransactionFees
CcdAmountThe total fees paid for transactions in the block.
OldGasAccount
CcdAmountThe old balance of the GAS account.
NewGasAccount
CcdAmountThe new balance of the GAS account.
BakerReward
CcdAmountThe amount awarded to the baker.
PassiveReward
CcdAmountThe amount awarded to the passive delegators.
FoundationCharge
CcdAmountThe amount awarded to the foundation.
BakerId
BakerIdThe baker of the block, who will receive the award.
Properties
BakerId
The baker of the block, who will receive the award.
public BakerId BakerId { get; init; }
Property Value
BakerReward
The amount awarded to the baker.
public CcdAmount BakerReward { get; init; }
Property Value
FoundationCharge
The amount awarded to the foundation.
public CcdAmount FoundationCharge { get; init; }
Property Value
NewGasAccount
The new balance of the GAS account.
public CcdAmount NewGasAccount { get; init; }
Property Value
OldGasAccount
The old balance of the GAS account.
public CcdAmount OldGasAccount { get; init; }
Property Value
PassiveReward
The amount awarded to the passive delegators.
public CcdAmount PassiveReward { get; init; }
Property Value
TransactionFees
The total fees paid for transactions in the block.
public CcdAmount TransactionFees { get; init; }