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
ElectionDifficultyAmountFractionElection difficulty for consensus lottery.
EuroPerEnergyExchangeRateEuro per energy exchange rate.
MicroCcdPerEuroExchangeRateMicro ccd per euro exchange rate.
BakerCooldownEpochsEpochExtra number of epochs before reduction in stake, or baker deregistration is completed.
AccountCreationLimitCredentialsPerBlockLimitThe limit for the number of account creations in a block.
MintDistributionMintDistributionCpv0Parameters related to the distribution of newly minted CCD.
TransactionFeeDistributionTransactionFeeDistributionParameters related to the distribution of transaction fees.
GasRewardsGasRewardsParameters related to the distribution of the GAS account.
FoundationAccountAccountAddressMinimumThresholdForBakingCcdAmountAddress of the foundation account.
RootKeysRootKeysRoot Keys
Level1KeysLevel1KeysLevel 1 Keys
Level2KeysAuthorizationsV0Level 2 Keys
Properties
AccountCreationLimit
The limit for the number of account creations in a block.
public CredentialsPerBlockLimit AccountCreationLimit { get; init; }
Property Value
BakerCooldownEpochs
Extra number of epochs before reduction in stake, or baker deregistration is completed.
public Epoch BakerCooldownEpochs { get; init; }
Property Value
ElectionDifficulty
Election difficulty for consensus lottery.
public AmountFraction ElectionDifficulty { get; init; }
Property Value
EuroPerEnergy
Euro per energy exchange rate.
public ExchangeRate EuroPerEnergy { get; init; }
Property Value
FoundationAccount
public AccountAddress FoundationAccount { get; init; }
Property Value
GasRewards
Parameters related to the distribution of the GAS account.
public GasRewards GasRewards { get; init; }
Property Value
Level1Keys
Level 1 Keys
public Level1Keys Level1Keys { get; init; }
Property Value
Level2Keys
Level 2 Keys
public AuthorizationsV0 Level2Keys { get; init; }
Property Value
MicroCcdPerEuro
Micro ccd per euro exchange rate.
public ExchangeRate MicroCcdPerEuro { get; init; }
Property Value
MinimumThresholdForBaking
Address of the foundation account.
public CcdAmount MinimumThresholdForBaking { get; init; }
Property Value
MintDistribution
Parameters related to the distribution of newly minted CCD.
public MintDistributionCpv0 MintDistribution { get; init; }
Property Value
RootKeys
Root Keys
public RootKeys RootKeys { get; init; }
Property Value
TransactionFeeDistribution
Parameters related to the distribution of transaction fees.
public TransactionFeeDistribution TransactionFeeDistribution { get; init; }