Table of Contents

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
IDeepCloneable<PoolCurrentPaydayInfo>
IBufferMessage
IMessage
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

int

BlocksBakedFieldNumber

Field number for the "blocks_baked" field.

public const int BlocksBakedFieldNumber = 1

Field Value

int

CommissionRatesFieldNumber

Field number for the "commission_rates" field.

public const int CommissionRatesFieldNumber = 8

Field Value

int

DelegatedCapitalFieldNumber

Field number for the "delegated_capital" field.

public const int DelegatedCapitalFieldNumber = 7

Field Value

int

EffectiveStakeFieldNumber

Field number for the "effective_stake" field.

public const int EffectiveStakeFieldNumber = 4

Field Value

int

FinalizationLiveFieldNumber

Field number for the "finalization_live" field.

public const int FinalizationLiveFieldNumber = 2

Field Value

int

LotteryPowerFieldNumber

Field number for the "lottery_power" field.

public const int LotteryPowerFieldNumber = 5

Field Value

int

TransactionFeesEarnedFieldNumber

Field number for the "transaction_fees_earned" field.

public const int TransactionFeesEarnedFieldNumber = 3

Field Value

int

Properties

BakerEquityCapital

The effective equity capital of the baker for the current reward period.

public Amount BakerEquityCapital { get; set; }

Property Value

Amount

BlocksBaked

The number of blocks baked in the current reward period.

public ulong BlocksBaked { get; set; }

Property Value

ulong

CommissionRates

The commission rates that apply for the current reward period.

public CommissionRates CommissionRates { get; set; }

Property Value

CommissionRates

DelegatedCapital

The effective delegated capital to the pool for the current reward period.

public Amount DelegatedCapital { get; set; }

Property Value

Amount

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

Amount

FinalizationLive

Whether the baker has contributed a finalization proof in the current reward period.

public bool FinalizationLive { get; set; }

Property Value

bool

LotteryPower

The lottery power of the baker in the current reward period.

public double LotteryPower { get; set; }

Property Value

double

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

Amount

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 PoolCurrentPaydayInfo

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(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 CodedOutputStream

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