Class PoolCurrentPaydayInfo
- Namespace
- Concordium.Grpc.V2
- Assembly
- Concordium.Sdk.dll
Information about a baker pool in the current reward period.
public sealed class PoolCurrentPaydayInfo : IMessage<PoolCurrentPaydayInfo>, IEquatable<PoolCurrentPaydayInfo>, IDeepCloneable<PoolCurrentPaydayInfo>, IBufferMessage, IMessage
- Inheritance
-
PoolCurrentPaydayInfo
- Implements
-
IMessage<PoolCurrentPaydayInfo>IDeepCloneable<PoolCurrentPaydayInfo>IBufferMessageIMessage
- Inherited Members
Constructors
PoolCurrentPaydayInfo()
public PoolCurrentPaydayInfo()
PoolCurrentPaydayInfo(PoolCurrentPaydayInfo)
public PoolCurrentPaydayInfo(PoolCurrentPaydayInfo other)
Parameters
other
PoolCurrentPaydayInfo
Fields
BakerEquityCapitalFieldNumber
Field number for the "baker_equity_capital" field.
public const int BakerEquityCapitalFieldNumber = 6
Field Value
BlocksBakedFieldNumber
Field number for the "blocks_baked" field.
public const int BlocksBakedFieldNumber = 1
Field Value
CommissionRatesFieldNumber
Field number for the "commission_rates" field.
public const int CommissionRatesFieldNumber = 8
Field Value
DelegatedCapitalFieldNumber
Field number for the "delegated_capital" field.
public const int DelegatedCapitalFieldNumber = 7
Field Value
EffectiveStakeFieldNumber
Field number for the "effective_stake" field.
public const int EffectiveStakeFieldNumber = 4
Field Value
FinalizationLiveFieldNumber
Field number for the "finalization_live" field.
public const int FinalizationLiveFieldNumber = 2
Field Value
LotteryPowerFieldNumber
Field number for the "lottery_power" field.
public const int LotteryPowerFieldNumber = 5
Field Value
TransactionFeesEarnedFieldNumber
Field number for the "transaction_fees_earned" field.
public const int TransactionFeesEarnedFieldNumber = 3
Field Value
Properties
BakerEquityCapital
The effective equity capital of the baker for the current reward period.
public Amount BakerEquityCapital { get; set; }
Property Value
BlocksBaked
The number of blocks baked in the current reward period.
public ulong BlocksBaked { get; set; }
Property Value
CommissionRates
The commission rates that apply for the current reward period.
public CommissionRates CommissionRates { get; set; }
Property Value
DelegatedCapital
The effective delegated capital to the pool for the current reward period.
public Amount DelegatedCapital { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EffectiveStake
The effective stake of the baker in the current reward period.
public Amount EffectiveStake { get; set; }
Property Value
FinalizationLive
Whether the baker has contributed a finalization proof in the current reward period.
public bool FinalizationLive { get; set; }
Property Value
LotteryPower
The lottery power of the baker in the current reward period.
public double LotteryPower { get; set; }
Property Value
Parser
public static MessageParser<PoolCurrentPaydayInfo> Parser { get; }
Property Value
- MessageParser<PoolCurrentPaydayInfo>
TransactionFeesEarned
The transaction fees accruing to the pool in the current reward period.
public Amount TransactionFeesEarned { get; set; }
Property Value
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.
Clone()
Creates a deep clone of this object.
public PoolCurrentPaydayInfo Clone()
Returns
- PoolCurrentPaydayInfo
A deep clone of this object.
Equals(PoolCurrentPaydayInfo)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PoolCurrentPaydayInfo other)
Parameters
other
PoolCurrentPaydayInfoAn 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(PoolCurrentPaydayInfo)
Merges the given message into this one.
public void MergeFrom(PoolCurrentPaydayInfo other)
Parameters
other
PoolCurrentPaydayInfo
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.