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>IBufferMessageIMessage
- 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
BakerKeysUpdatedFieldNumber
Field number for the "baker_keys_updated" field.
public const int BakerKeysUpdatedFieldNumber = 6
Field Value
BakerRemovedFieldNumber
Field number for the "baker_removed" field.
public const int BakerRemovedFieldNumber = 2
Field Value
BakerRestakeEarningsUpdatedFieldNumber
Field number for the "baker_restake_earnings_updated" field.
public const int BakerRestakeEarningsUpdatedFieldNumber = 5
Field Value
BakerSetBakingRewardCommissionFieldNumber
Field number for the "baker_set_baking_reward_commission" field.
public const int BakerSetBakingRewardCommissionFieldNumber = 10
Field Value
BakerSetFinalizationRewardCommissionFieldNumber
Field number for the "baker_set_finalization_reward_commission" field.
public const int BakerSetFinalizationRewardCommissionFieldNumber = 11
Field Value
BakerSetMetadataUrlFieldNumber
Field number for the "baker_set_metadata_url" field.
public const int BakerSetMetadataUrlFieldNumber = 8
Field Value
BakerSetOpenStatusFieldNumber
Field number for the "baker_set_open_status" field.
public const int BakerSetOpenStatusFieldNumber = 7
Field Value
BakerSetTransactionFeeCommissionFieldNumber
Field number for the "baker_set_transaction_fee_commission" field.
public const int BakerSetTransactionFeeCommissionFieldNumber = 9
Field Value
BakerStakeDecreasedFieldNumber
Field number for the "baker_stake_decreased" field.
public const int BakerStakeDecreasedFieldNumber = 4
Field Value
BakerStakeIncreasedFieldNumber
Field number for the "baker_stake_increased" field.
public const int BakerStakeIncreasedFieldNumber = 3
Field Value
DelegationRemovedFieldNumber
Field number for the "delegation_removed" field.
public const int DelegationRemovedFieldNumber = 12
Field Value
Properties
BakerAdded
A baker was added.
public BakerEvent.Types.BakerAdded BakerAdded { get; set; }
Property Value
BakerKeysUpdated
Baker keys were updated.
public BakerKeysEvent BakerKeysUpdated { get; set; }
Property Value
BakerRemoved
A baker was removed.
public BakerId BakerRemoved { get; set; }
Property Value
BakerRestakeEarningsUpdated
The baker's setting for restaking earnings was updated.
public BakerEvent.Types.BakerRestakeEarningsUpdated BakerRestakeEarningsUpdated { get; set; }
Property Value
BakerSetBakingRewardCommission
The baker's baking reward commission was updated.
public BakerEvent.Types.BakerSetBakingRewardCommission BakerSetBakingRewardCommission { get; set; }
Property Value
BakerSetFinalizationRewardCommission
The baker's finalization reward commission was updated.
public BakerEvent.Types.BakerSetFinalizationRewardCommission BakerSetFinalizationRewardCommission { get; set; }
Property Value
BakerSetMetadataUrl
The baker's metadata URL was updated.
public BakerEvent.Types.BakerSetMetadataUrl BakerSetMetadataUrl { get; set; }
Property Value
BakerSetOpenStatus
The baker's open status was updated.
public BakerEvent.Types.BakerSetOpenStatus BakerSetOpenStatus { get; set; }
Property Value
BakerSetTransactionFeeCommission
The baker's transaction fee commission was updated.
public BakerEvent.Types.BakerSetTransactionFeeCommission BakerSetTransactionFeeCommission { get; set; }
Property Value
BakerStakeDecreased
The baker's stake was decreased.
public BakerEvent.Types.BakerStakeDecreased BakerStakeDecreased { get; set; }
Property Value
BakerStakeIncreased
The baker's stake was increased.
public BakerEvent.Types.BakerStakeIncreased BakerStakeIncreased { get; set; }
Property Value
DelegationRemoved
An existing delegator was removed.
public BakerEvent.Types.DelegationRemoved DelegationRemoved { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EventCase
public BakerEvent.EventOneofCase EventCase { get; }
Property Value
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
BakerEventAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
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
CodedOutputStreamCoded output stream to write the data to. Must not be null.