mithril_aggregator/entities/
signer_ticker_message.rs1use mithril_common::entities::PartyId;
2use serde::{Deserialize, Serialize};
3
4#[derive(Clone, Debug, PartialEq, Eq, Default, Serialize, Deserialize)]
6pub struct SignerTickerListItemMessage {
7 pub party_id: PartyId,
9
10 #[serde(skip_serializing_if = "Option::is_none")]
12 pub pool_ticker: Option<String>,
13
14 pub has_registered: bool,
16}
17
18#[derive(Clone, Debug, PartialEq, Eq, Default, Serialize, Deserialize)]
20pub struct SignersTickersMessage {
21 pub network: String,
23
24 pub signers: Vec<SignerTickerListItemMessage>,
26}