Table of Contents

Class AccountDelegation

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

The account is delegating stake to a baker.

public sealed record AccountDelegation : IAccountStakingInfo, IEquatable<AccountDelegation>
Inheritance
AccountDelegation
Implements
Inherited Members

Constructors

AccountDelegation(bool, CcdAmount, DelegationTarget, IAccountDelegationPendingChange?)

The account is delegating stake to a baker.

public AccountDelegation(bool RestakeEarnings, CcdAmount StakedAmount, DelegationTarget DelegationTarget, IAccountDelegationPendingChange? PendingChange)

Parameters

RestakeEarnings bool
StakedAmount CcdAmount
DelegationTarget DelegationTarget
PendingChange IAccountDelegationPendingChange

Properties

DelegationTarget

public DelegationTarget DelegationTarget { get; init; }

Property Value

DelegationTarget

PendingChange

public IAccountDelegationPendingChange? PendingChange { get; init; }

Property Value

IAccountDelegationPendingChange

RestakeEarnings

public bool RestakeEarnings { get; init; }

Property Value

bool

StakedAmount

public CcdAmount StakedAmount { get; init; }

Property Value

CcdAmount

Methods

GetStakedAmount()

Get the amount of CCD being staked.

public CcdAmount GetStakedAmount()

Returns

CcdAmount