123456789101112131415161718open import Leios.Preludeopen import Tactic.Defaultsopen import Tactic.Derive.DecEq module Leios.Config where data BlockType : Type where IB EB VT : BlockType unquoteDecl DecEq-BlockType = derive-DecEq ((quote BlockType , DecEq-BlockType) ∷ []) record Params : Type where field numberOfParties : ℕ sutId : Fin numberOfParties stakeDistribution : TotalMap (Fin numberOfParties) ℕ stageLength : ℕ ⦃ NonZero-stageLength ⦄ : NonZero stageLength winning-slots : ℙ (BlockType × ℕ)