Class BakerAddedEvent
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Event created when baker was added.
public sealed record BakerAddedEvent : IBakerEvent, IEquatable<BakerAddedEvent>
- Inheritance
-
BakerAddedEvent
- Implements
- Inherited Members
Constructors
BakerAddedEvent(BakerKeysEvent, CcdAmount, bool)
Event created when baker was added.
public BakerAddedEvent(BakerKeysEvent KeysEvent, CcdAmount Stake, bool RestakeEarnings)
Parameters
KeysEvent
BakerKeysEventThe keys with which the baker registered.
Stake
CcdAmountThe amount the account staked to become a baker. This amount is locked.
RestakeEarnings
boolWhether the baker will automatically add earnings to their stake or not.
Properties
KeysEvent
The keys with which the baker registered.
public BakerKeysEvent KeysEvent { get; init; }
Property Value
RestakeEarnings
Whether the baker will automatically add earnings to their stake or not.
public bool RestakeEarnings { get; init; }
Property Value
Stake
The amount the account staked to become a baker. This amount is locked.
public CcdAmount Stake { get; init; }