Table of Contents

Class FinalizationRewards

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

Distribution of finalization rewards.

public sealed record FinalizationRewards : ISpecialEvent, IEquatable<FinalizationRewards>
Inheritance
FinalizationRewards
Implements
Inherited Members

Constructors

FinalizationRewards(IDictionary<AccountAddress, CcdAmount>, CcdAmount)

Distribution of finalization rewards.

public FinalizationRewards(IDictionary<AccountAddress, CcdAmount> Rewards, CcdAmount Remainder)

Parameters

Rewards IDictionary<AccountAddress, CcdAmount>

The amount awarded to each finalizer.

Remainder CcdAmount

Remaining balance of the finalization reward account. It exists since it is not possible to perfectly distribute the accumulated rewards since amounts are represented as integers.

Properties

Remainder

Remaining balance of the finalization reward account. It exists since it is not possible to perfectly distribute the accumulated rewards since amounts are represented as integers.

public CcdAmount Remainder { get; init; }

Property Value

CcdAmount

Rewards

The amount awarded to each finalizer.

public IDictionary<AccountAddress, CcdAmount> Rewards { get; init; }

Property Value

IDictionary<AccountAddress, CcdAmount>