{-# OPTIONS --safe #-}

open import Ledger.Conway.Specification.Abstract
open import Ledger.Conway.Specification.Transaction

module Ledger.Conway.Specification.Gov.Properties.ChangePPGroup
  (txs : _) (open TransactionStructure txs)
  where

open import Ledger.Prelude

instance
  _ : IsSet TxBody GovProposal
  _ = record { toSet = fromList  TxBody.txprop }


ChangePPHasGroup : {tx : Tx} {p : GovProposal} (pu : PParamsUpdate)
   p  Tx.body tx  p .GovProposal.action  $\begin{pmatrix} \,\href{Ledger.Conway.Specification.Gov.Actions.html#878}{\htmlId{481}{\htmlClass{InductiveConstructor}{\text{ChangePParams}}}}\, \\ \,\href{Ledger.Conway.Specification.Gov.Properties.ChangePPGroup.html#414}{\htmlId{497}{\htmlClass{Bound}{\text{pu}}}}\, \end{pmatrix}$
   Type
ChangePPHasGroup pu _ _ = updateGroups pu