move GovernorMutation effect to Effect

This commit is contained in:
fanghr 2022-05-07 13:29:36 +08:00
parent 33365e0a31
commit 015ee0b9de
2 changed files with 9 additions and 9 deletions

View file

@ -129,9 +129,9 @@ library
exposed-modules:
Agora.AuthorityToken
Agora.Effect
Agora.Effect.GovernorMutation
Agora.Effect.NoOp
Agora.Effect.TreasuryWithdrawal
Agora.Effects.GovernorMutation
Agora.Governor
Agora.Governor.Scripts
Agora.MultiSig

View file

@ -1,13 +1,13 @@
{-# LANGUAGE TemplateHaskell #-}
{- |
Module : Agora.Effects.GovernorMutation
Module : Agora.Effect.GovernorMutation
Maintainer : chfanghr@gmail.com
Description: An effect that mutates governor settings
An effect for mutating governor settings
-}
module Agora.Effects.GovernorMutation (
module Agora.Effect.GovernorMutation (
-- * Haskell-land
MutateGovernorDatum (..),
@ -69,9 +69,9 @@ import Agora.Utils (
-- | Haskell-level datum for the governor mutation effect script.
data MutateGovernorDatum = MutateGovernorDatum
{ governorRef :: TxOutRef
-- ^ Referenced governor state UTXO should be updated by the effect.
-- ^ Referenced governor state UTXO should be updated by the effect.
, newDatum :: GovernorDatum
-- ^ The new settings for the governor.
-- ^ The new settings for the governor.
}
deriving stock (Show, GHC.Generic)
deriving anyclass (Generic)