Class BakerAdded
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
An account was registered as a baker.
public sealed record BakerAdded : IAccountTransactionEffects, IEquatable<BakerAdded>
- Inheritance
-
BakerAdded
- Implements
- Inherited Members
Constructors
BakerAdded(BakerKeysEvent, CcdAmount, bool)
An account was registered as a baker.
public BakerAdded(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; }