Table of Contents

Class BakerEvent

Namespace
Concordium.Grpc.V2
Assembly
Concordium.Sdk.dll

Events that may result from the ConfigureBaker transaction.

public sealed class BakerEvent : IMessage<BakerEvent>, IEquatable<BakerEvent>, IDeepCloneable<BakerEvent>, IBufferMessage, IMessage
Inheritance
BakerEvent
Implements
IMessage<BakerEvent>
IDeepCloneable<BakerEvent>
IBufferMessage
IMessage
Inherited Members

Constructors

BakerEvent()

public BakerEvent()

BakerEvent(BakerEvent)

public BakerEvent(BakerEvent other)

Parameters

other BakerEvent

Fields

BakerAddedFieldNumber

Field number for the "baker_added" field.

public const int BakerAddedFieldNumber = 1

Field Value

int

BakerKeysUpdatedFieldNumber

Field number for the "baker_keys_updated" field.

public const int BakerKeysUpdatedFieldNumber = 6

Field Value

int

BakerRemovedFieldNumber

Field number for the "baker_removed" field.

public const int BakerRemovedFieldNumber = 2

Field Value

int

BakerRestakeEarningsUpdatedFieldNumber

Field number for the "baker_restake_earnings_updated" field.

public const int BakerRestakeEarningsUpdatedFieldNumber = 5

Field Value

int

BakerSetBakingRewardCommissionFieldNumber

Field number for the "baker_set_baking_reward_commission" field.

public const int BakerSetBakingRewardCommissionFieldNumber = 10

Field Value

int

BakerSetFinalizationRewardCommissionFieldNumber

Field number for the "baker_set_finalization_reward_commission" field.

public const int BakerSetFinalizationRewardCommissionFieldNumber = 11

Field Value

int

BakerSetMetadataUrlFieldNumber

Field number for the "baker_set_metadata_url" field.

public const int BakerSetMetadataUrlFieldNumber = 8

Field Value

int

BakerSetOpenStatusFieldNumber

Field number for the "baker_set_open_status" field.

public const int BakerSetOpenStatusFieldNumber = 7

Field Value

int

BakerSetTransactionFeeCommissionFieldNumber

Field number for the "baker_set_transaction_fee_commission" field.

public const int BakerSetTransactionFeeCommissionFieldNumber = 9

Field Value

int

BakerStakeDecreasedFieldNumber

Field number for the "baker_stake_decreased" field.

public const int BakerStakeDecreasedFieldNumber = 4

Field Value

int

BakerStakeIncreasedFieldNumber

Field number for the "baker_stake_increased" field.

public const int BakerStakeIncreasedFieldNumber = 3

Field Value

int

DelegationRemovedFieldNumber

Field number for the "delegation_removed" field.

public const int DelegationRemovedFieldNumber = 12

Field Value

int

Properties

BakerAdded

A baker was added.

public BakerEvent.Types.BakerAdded BakerAdded { get; set; }

Property Value

BakerEvent.Types.BakerAdded

BakerKeysUpdated

Baker keys were updated.

public BakerKeysEvent BakerKeysUpdated { get; set; }

Property Value

BakerKeysEvent

BakerRemoved

A baker was removed.

public BakerId BakerRemoved { get; set; }

Property Value

BakerId

BakerRestakeEarningsUpdated

The baker's setting for restaking earnings was updated.

public BakerEvent.Types.BakerRestakeEarningsUpdated BakerRestakeEarningsUpdated { get; set; }

Property Value

BakerEvent.Types.BakerRestakeEarningsUpdated

BakerSetBakingRewardCommission

The baker's baking reward commission was updated.

public BakerEvent.Types.BakerSetBakingRewardCommission BakerSetBakingRewardCommission { get; set; }

Property Value

BakerEvent.Types.BakerSetBakingRewardCommission

BakerSetFinalizationRewardCommission

The baker's finalization reward commission was updated.

public BakerEvent.Types.BakerSetFinalizationRewardCommission BakerSetFinalizationRewardCommission { get; set; }

Property Value

BakerEvent.Types.BakerSetFinalizationRewardCommission

BakerSetMetadataUrl

The baker's metadata URL was updated.

public BakerEvent.Types.BakerSetMetadataUrl BakerSetMetadataUrl { get; set; }

Property Value

BakerEvent.Types.BakerSetMetadataUrl

BakerSetOpenStatus

The baker's open status was updated.

public BakerEvent.Types.BakerSetOpenStatus BakerSetOpenStatus { get; set; }

Property Value

BakerEvent.Types.BakerSetOpenStatus

BakerSetTransactionFeeCommission

The baker's transaction fee commission was updated.

public BakerEvent.Types.BakerSetTransactionFeeCommission BakerSetTransactionFeeCommission { get; set; }

Property Value

BakerEvent.Types.BakerSetTransactionFeeCommission

BakerStakeDecreased

The baker's stake was decreased.

public BakerEvent.Types.BakerStakeDecreased BakerStakeDecreased { get; set; }

Property Value

BakerEvent.Types.BakerStakeDecreased

BakerStakeIncreased

The baker's stake was increased.

public BakerEvent.Types.BakerStakeIncreased BakerStakeIncreased { get; set; }

Property Value

BakerEvent.Types.BakerStakeIncreased

DelegationRemoved

An existing delegator was removed.

public BakerEvent.Types.DelegationRemoved DelegationRemoved { get; set; }

Property Value

BakerEvent.Types.DelegationRemoved

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EventCase

public BakerEvent.EventOneofCase EventCase { get; }

Property Value

BakerEvent.EventOneofCase

Parser

public static MessageParser<BakerEvent> Parser { get; }

Property Value

MessageParser<BakerEvent>

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearEvent()

public void ClearEvent()

Clone()

Creates a deep clone of this object.

public BakerEvent Clone()

Returns

BakerEvent

A deep clone of this object.

Equals(BakerEvent)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(BakerEvent other)

Parameters

other BakerEvent

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(BakerEvent)

Merges the given message into this one.

public void MergeFrom(BakerEvent other)

Parameters

other BakerEvent

Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.