diff --git a/primitives/src/jobs/mod.rs b/primitives/src/jobs/mod.rs index b172c0654..6b251d91a 100644 --- a/primitives/src/jobs/mod.rs +++ b/primitives/src/jobs/mod.rs @@ -93,6 +93,18 @@ pub enum JobType { ZkSaaSPhaseTwo(ZkSaaSPhaseTwoJobType), } +/// Represents the different kinds of participants +#[derive(PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo, Clone)] +#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +pub enum Participants { + /// A Predefined set of participants + Predefined(Vec), + /// Any participant with a specific role type for the given job type + Any, + /// ??? + LeaderElection, +} + /// Enum representing different types of data sources. #[derive(PartialEq, Eq, Encode, Decode, RuntimeDebug, TypeInfo, Clone)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))]