Class ChainParametersV2
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Values of chain parameters that can be updated via chain updates. This applies to protocol version 6 and up.
public sealed record ChainParametersV2 : IChainParameters, IEquatable<ChainParametersV2>
- Inheritance
-
ChainParametersV2
- Implements
- Inherited Members
Constructors
ChainParametersV2(TimeoutParameters, TimeSpan, EnergyAmount, ExchangeRate, ExchangeRate, CooldownParameters, TimeParameters, CredentialsPerBlockLimit, MintDistributionCpv1, TransactionFeeDistribution, GasRewardsCpv2, AccountAddress, PoolParameters, FinalizationCommitteeParameters, HigherLevelKeys, HigherLevelKeys, AuthorizationsV1)
Values of chain parameters that can be updated via chain updates. This applies to protocol version 6 and up.
public ChainParametersV2(TimeoutParameters TimeoutParameters, TimeSpan MinBlockTime, EnergyAmount BlockEnergyLimit, ExchangeRate EuroPerEnergy, ExchangeRate MicroCcdPerEuro, CooldownParameters CooldownParameters, TimeParameters TimeParameters, CredentialsPerBlockLimit AccountCreationLimit, MintDistributionCpv1 MintDistribution, TransactionFeeDistribution TransactionFeeDistribution, GasRewardsCpv2 GasRewards, AccountAddress FoundationAccount, PoolParameters PoolParameters, FinalizationCommitteeParameters FinalizationCommitteeParameters, HigherLevelKeys RootKeys, HigherLevelKeys Level1Keys, AuthorizationsV1 Level2Keys)
Parameters
TimeoutParametersTimeoutParametersConsensus protocol version 2 timeout parameters.
MinBlockTimeTimeSpanMinimum time interval between blocks.
BlockEnergyLimitEnergyAmountMaximum energy allowed per block.
EuroPerEnergyExchangeRateEuro per energy exchange rate.
MicroCcdPerEuroExchangeRateMicro ccd per euro exchange rate.
CooldownParametersCooldownParametersParameters related to cooldowns when staking.
TimeParametersTimeParametersParameters related mint rate and reward period.
AccountCreationLimitCredentialsPerBlockLimitThe limit for the number of account creations in a block.
MintDistributionMintDistributionCpv1Parameters related to the distribution of newly minted CCD.
TransactionFeeDistributionTransactionFeeDistributionParameters related to the distribution of transaction fees.
GasRewardsGasRewardsCpv2Parameters related to the distribution from the GAS account.
FoundationAccountAccountAddressAddress of the foundation account.
PoolParametersPoolParametersParameters for baker pools.
FinalizationCommitteeParametersFinalizationCommitteeParametersThe finalization committee parameters.
RootKeysHigherLevelKeysRoot Keys
Level1KeysHigherLevelKeysLevel 1 Keys
Level2KeysAuthorizationsV1Level 2 Keys
Properties
AccountCreationLimit
The limit for the number of account creations in a block.
public CredentialsPerBlockLimit AccountCreationLimit { get; init; }
Property Value
BlockEnergyLimit
Maximum energy allowed per block.
public EnergyAmount BlockEnergyLimit { get; init; }
Property Value
CooldownParameters
Parameters related to cooldowns when staking.
public CooldownParameters CooldownParameters { get; init; }
Property Value
EuroPerEnergy
Euro per energy exchange rate.
public ExchangeRate EuroPerEnergy { get; init; }
Property Value
FinalizationCommitteeParameters
The finalization committee parameters.
public FinalizationCommitteeParameters FinalizationCommitteeParameters { get; init; }
Property Value
FoundationAccount
Address of the foundation account.
public AccountAddress FoundationAccount { get; init; }
Property Value
GasRewards
Parameters related to the distribution from the GAS account.
public GasRewardsCpv2 GasRewards { get; init; }
Property Value
Level1Keys
Level 1 Keys
public HigherLevelKeys Level1Keys { get; init; }
Property Value
Level2Keys
Level 2 Keys
public AuthorizationsV1 Level2Keys { get; init; }
Property Value
MicroCcdPerEuro
Micro ccd per euro exchange rate.
public ExchangeRate MicroCcdPerEuro { get; init; }
Property Value
MinBlockTime
Minimum time interval between blocks.
public TimeSpan MinBlockTime { get; init; }
Property Value
MintDistribution
Parameters related to the distribution of newly minted CCD.
public MintDistributionCpv1 MintDistribution { get; init; }
Property Value
PoolParameters
Parameters for baker pools.
public PoolParameters PoolParameters { get; init; }
Property Value
RootKeys
Root Keys
public HigherLevelKeys RootKeys { get; init; }
Property Value
TimeParameters
Parameters related mint rate and reward period.
public TimeParameters TimeParameters { get; init; }
Property Value
TimeoutParameters
Consensus protocol version 2 timeout parameters.
public TimeoutParameters TimeoutParameters { get; init; }
Property Value
TransactionFeeDistribution
Parameters related to the distribution of transaction fees.
public TransactionFeeDistribution TransactionFeeDistribution { get; init; }