Class ChainParametersV1
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Values of chain parameters that can be updated via chain updates. This applies to protocol version 4 and 5.
public sealed record ChainParametersV1 : IChainParameters, IEquatable<ChainParametersV1>
- Inheritance
-
ChainParametersV1
- Implements
- Inherited Members
Constructors
ChainParametersV1(AmountFraction, ExchangeRate, ExchangeRate, CooldownParameters, TimeParameters, CredentialsPerBlockLimit, MintDistributionCpv1, TransactionFeeDistribution, GasRewards, AccountAddress, PoolParameters, HigherLevelKeys, HigherLevelKeys, AuthorizationsV1)
Values of chain parameters that can be updated via chain updates. This applies to protocol version 4 and 5.
public ChainParametersV1(AmountFraction ElectionDifficulty, ExchangeRate EuroPerEnergy, ExchangeRate MicroCcdPerEuro, CooldownParameters CooldownParameters, TimeParameters TimeParameters, CredentialsPerBlockLimit AccountCreationLimit, MintDistributionCpv1 MintDistribution, TransactionFeeDistribution TransactionFeeDistribution, GasRewards GasRewards, AccountAddress FoundationAccount, PoolParameters PoolParameters, HigherLevelKeys RootKeys, HigherLevelKeys Level1Keys, AuthorizationsV1 Level2Keys)
Parameters
ElectionDifficulty
AmountFractionElection difficulty for consensus lottery.
EuroPerEnergy
ExchangeRateEuro per energy exchange rate.
MicroCcdPerEuro
ExchangeRateMicro ccd per euro exchange rate.
CooldownParameters
CooldownParametersCooldown parameters.
TimeParameters
TimeParametersTime parameters.
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
GasRewardsParameters related to the distribution of the GAS account.
FoundationAccount
AccountAddressAddress of the foundation account.
PoolParameters
PoolParametersParameters for baker pools.
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
CooldownParameters
Cooldown parameters.
public CooldownParameters CooldownParameters { 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
Address of the foundation account.
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 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
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
Time parameters.
public TimeParameters TimeParameters { get; init; }
Property Value
TransactionFeeDistribution
Parameters related to the distribution of transaction fees.
public TransactionFeeDistribution TransactionFeeDistribution { get; init; }