Skip to main content

rite_model/params/
entropy.rs

1//! Params for the `gather_entropy` action.
2
3use schemars::JsonSchema;
4use serde::{Deserialize, Serialize};
5
6/// Params for `gather_entropy` action.
7#[derive(Debug, Clone, Default, Serialize, Deserialize, JsonSchema)]
8#[serde(deny_unknown_fields)]
9#[non_exhaustive]
10pub struct GatherEntropyParams {
11    /// Instruction shown to the participant describing how to produce the
12    /// random value. Defaults to a generic dice suggestion; override per
13    /// ceremony to mandate a specific method.
14    #[serde(default)]
15    pub instruction: Option<String>,
16}