fedimint_unknown_common/
config.rsuse fedimint_core::core::ModuleKind;
use fedimint_core::encoding::{Decodable, Encodable};
use fedimint_core::plugin_types_trait_impl_config;
use serde::{Deserialize, Serialize};
use crate::UnknownCommonInit;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct UnknownGenParams {
pub local: UnknownGenParamsLocal,
pub consensus: UnknownGenParamsConsensus,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct UnknownGenParamsLocal;
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct UnknownGenParamsConsensus;
impl Default for UnknownGenParams {
fn default() -> Self {
Self {
local: UnknownGenParamsLocal,
consensus: UnknownGenParamsConsensus,
}
}
}
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct UnknownConfig {
pub local: UnknownConfigLocal,
pub private: UnknownConfigPrivate,
pub consensus: UnknownConfigConsensus,
}
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize, Encodable, Decodable, Hash)]
pub struct UnknownClientConfig;
#[derive(Clone, Debug, Serialize, Deserialize, Decodable, Encodable)]
pub struct UnknownConfigLocal;
#[derive(Clone, Debug, Serialize, Deserialize, Decodable, Encodable)]
pub struct UnknownConfigConsensus;
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct UnknownConfigPrivate;
plugin_types_trait_impl_config!(
UnknownCommonInit,
UnknownGenParams,
UnknownGenParamsLocal,
UnknownGenParamsConsensus,
UnknownConfig,
UnknownConfigLocal,
UnknownConfigPrivate,
UnknownConfigConsensus,
UnknownClientConfig
);