Table of Contents

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 BakerKeysEvent

The keys with which the baker registered.

Stake CcdAmount

The amount the account staked to become a baker. This amount is locked.

RestakeEarnings bool

Whether 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

BakerKeysEvent

RestakeEarnings

Whether the baker will automatically add earnings to their stake or not.

public bool RestakeEarnings { get; init; }

Property Value

bool

Stake

The amount the account staked to become a baker. This amount is locked.

public CcdAmount Stake { get; init; }

Property Value

CcdAmount