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
TimeoutParameters
TimeoutParametersConsensus protocol version 2 timeout parameters.
MinBlockTime
TimeSpanMinimum time interval between blocks.
BlockEnergyLimit
EnergyAmountMaximum energy allowed per block.
EuroPerEnergy
ExchangeRateEuro per energy exchange rate.
MicroCcdPerEuro
ExchangeRateMicro ccd per euro exchange rate.
CooldownParameters
CooldownParametersParameters related to cooldowns when staking.
TimeParameters
TimeParametersParameters related mint rate and reward period.
AccountCreationLimit
CredentialsPerBlockLimitThe limit for the number of account creations in a block.
MintDistribution
MintDistributionCpv1Parameters related to the distribution of newly minted CCD.
TransactionFeeDistribution
TransactionFeeDistributionParameters related to the distribution of transaction fees.
GasRewards
GasRewardsCpv2Parameters related to the distribution from the GAS account.
FoundationAccount
AccountAddressAddress of the foundation account.
PoolParameters
PoolParametersParameters for baker pools.
FinalizationCommitteeParameters
FinalizationCommitteeParametersThe finalization committee parameters.
RootKeys
HigherLevelKeysRoot Keys
Level1Keys
HigherLevelKeysLevel 1 Keys
Level2Keys
AuthorizationsV1Level 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; }