Table of Contents

Class ChainParametersV0

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

Values of chain parameters that can be updated via chain updates. This applies to protocol version 1-3.

public sealed record ChainParametersV0 : IChainParameters, IEquatable<ChainParametersV0>
Inheritance
ChainParametersV0
Implements
Inherited Members

Constructors

ChainParametersV0(AmountFraction, ExchangeRate, ExchangeRate, Epoch, CredentialsPerBlockLimit, MintDistributionCpv0, TransactionFeeDistribution, GasRewards, AccountAddress, CcdAmount, RootKeys, Level1Keys, AuthorizationsV0)

Values of chain parameters that can be updated via chain updates. This applies to protocol version 1-3.

public ChainParametersV0(AmountFraction ElectionDifficulty, ExchangeRate EuroPerEnergy, ExchangeRate MicroCcdPerEuro, Epoch BakerCooldownEpochs, CredentialsPerBlockLimit AccountCreationLimit, MintDistributionCpv0 MintDistribution, TransactionFeeDistribution TransactionFeeDistribution, GasRewards GasRewards, AccountAddress FoundationAccount, CcdAmount MinimumThresholdForBaking, RootKeys RootKeys, Level1Keys Level1Keys, AuthorizationsV0 Level2Keys)

Parameters

ElectionDifficulty AmountFraction

Election difficulty for consensus lottery.

EuroPerEnergy ExchangeRate

Euro per energy exchange rate.

MicroCcdPerEuro ExchangeRate

Micro ccd per euro exchange rate.

BakerCooldownEpochs Epoch

Extra number of epochs before reduction in stake, or baker deregistration is completed.

AccountCreationLimit CredentialsPerBlockLimit

The limit for the number of account creations in a block.

MintDistribution MintDistributionCpv0

Parameters related to the distribution of newly minted CCD.

TransactionFeeDistribution TransactionFeeDistribution

Parameters related to the distribution of transaction fees.

GasRewards GasRewards

Parameters related to the distribution of the GAS account.

FoundationAccount AccountAddress
MinimumThresholdForBaking CcdAmount

Address of the foundation account.

RootKeys RootKeys

Root Keys

Level1Keys Level1Keys

Level 1 Keys

Level2Keys AuthorizationsV0

Level 2 Keys

Properties

AccountCreationLimit

The limit for the number of account creations in a block.

public CredentialsPerBlockLimit AccountCreationLimit { get; init; }

Property Value

CredentialsPerBlockLimit

BakerCooldownEpochs

Extra number of epochs before reduction in stake, or baker deregistration is completed.

public Epoch BakerCooldownEpochs { get; init; }

Property Value

Epoch

ElectionDifficulty

Election difficulty for consensus lottery.

public AmountFraction ElectionDifficulty { get; init; }

Property Value

AmountFraction

EuroPerEnergy

Euro per energy exchange rate.

public ExchangeRate EuroPerEnergy { get; init; }

Property Value

ExchangeRate

FoundationAccount

public AccountAddress FoundationAccount { get; init; }

Property Value

AccountAddress

GasRewards

Parameters related to the distribution of the GAS account.

public GasRewards GasRewards { get; init; }

Property Value

GasRewards

Level1Keys

Level 1 Keys

public Level1Keys Level1Keys { get; init; }

Property Value

Level1Keys

Level2Keys

Level 2 Keys

public AuthorizationsV0 Level2Keys { get; init; }

Property Value

AuthorizationsV0

MicroCcdPerEuro

Micro ccd per euro exchange rate.

public ExchangeRate MicroCcdPerEuro { get; init; }

Property Value

ExchangeRate

MinimumThresholdForBaking

Address of the foundation account.

public CcdAmount MinimumThresholdForBaking { get; init; }

Property Value

CcdAmount

MintDistribution

Parameters related to the distribution of newly minted CCD.

public MintDistributionCpv0 MintDistribution { get; init; }

Property Value

MintDistributionCpv0

RootKeys

Root Keys

public RootKeys RootKeys { get; init; }

Property Value

RootKeys

TransactionFeeDistribution

Parameters related to the distribution of transaction fees.

public TransactionFeeDistribution TransactionFeeDistribution { get; init; }

Property Value

TransactionFeeDistribution