Struct concordium_base::updates::AuthorizationsV0
source · pub struct AuthorizationsV0 {Show 13 fields
pub keys: Vec<UpdatePublicKey>,
pub emergency: AccessStructure,
pub protocol: AccessStructure,
pub election_difficulty: AccessStructure,
pub euro_per_energy: AccessStructure,
pub micro_gtu_per_euro: AccessStructure,
pub foundation_account: AccessStructure,
pub mint_distribution: AccessStructure,
pub transaction_fee_distribution: AccessStructure,
pub param_gas_rewards: AccessStructure,
pub pool_parameters: AccessStructure,
pub add_anonymity_revoker: AccessStructure,
pub add_identity_provider: AccessStructure,
}
Expand description
Access structures for each of the different possible chain updates, togehter with the context giving all the possible keys.
Fields§
§keys: Vec<UpdatePublicKey>
The list of all keys that are currently authorized to perform updates.
emergency: AccessStructure
Access structure for emergency updates.
protocol: AccessStructure
Access structure for protocol updates.
election_difficulty: AccessStructure
Access structure for updating the election difficulty.
euro_per_energy: AccessStructure
Access structure for updating the euro to energy exchange rate.
micro_gtu_per_euro: AccessStructure
Access structure for updating the microccd per euro exchange rate.
foundation_account: AccessStructure
Access structure for updating the foundation account address.
mint_distribution: AccessStructure
Access structure for updating the mint distribution parameters.
transaction_fee_distribution: AccessStructure
Access structure for updating the transaction fee distribution.
param_gas_rewards: AccessStructure
Access structure for updating the gas reward distribution parameters.
pool_parameters: AccessStructure
Access structure for updating the pool parameters. For V0 this is only the baker stake threshold, for V1 there are more.
add_anonymity_revoker: AccessStructure
Access structure for adding new anonymity revokers.
add_identity_provider: AccessStructure
Access structure for adding new identity providers.
Implementations§
source§impl AuthorizationsV0
impl AuthorizationsV0
sourcepub fn construct_update_signer<K>(
&self,
update_key_indices: &AccessStructure,
actual_keys: impl IntoIterator<Item = K>
) -> Option<BTreeMap<UpdateKeysIndex, K>>where
UpdatePublicKey: for<'a> From<&'a K>,
pub fn construct_update_signer<K>( &self, update_key_indices: &AccessStructure, actual_keys: impl IntoIterator<Item = K> ) -> Option<BTreeMap<UpdateKeysIndex, K>>where UpdatePublicKey: for<'a> From<&'a K>,
Trait Implementations§
source§impl Clone for AuthorizationsV0
impl Clone for AuthorizationsV0
source§fn clone(&self) -> AuthorizationsV0
fn clone(&self) -> AuthorizationsV0
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more