cardano-node-emulator-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Emulator.LogMessages

Documentation

data EmulatorMsg Source #

Instances

Instances details
Eq EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Show EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Generic EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Associated Types

type Rep EmulatorMsg :: Type -> Type Source #

FromJSON EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Methods

parseJSON :: Value -> Parser EmulatorMsg

parseJSONList :: Value -> Parser [EmulatorMsg]

ToJSON EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Methods

toJSON :: EmulatorMsg -> Value

toEncoding :: EmulatorMsg -> Encoding

toJSONList :: [EmulatorMsg] -> Value

toEncodingList :: [EmulatorMsg] -> Encoding

Pretty EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Methods

pretty :: EmulatorMsg -> Doc ann

prettyList :: [EmulatorMsg] -> Doc ann

IsRunnable EmulatorM Source # 
Instance details

Defined in Cardano.Node.Emulator.Test

Methods

awaitSlot :: SlotNo -> EmulatorM ()

HasChainIndex EmulatorM Source # 
Instance details

Defined in Cardano.Node.Emulator.Test

type Rep EmulatorMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

type Rep EmulatorMsg = D1 ('MetaData "EmulatorMsg" "Cardano.Node.Emulator.LogMessages" "cardano-node-emulator-1.2.0.0-1RjxyDmnwHSAn2KgGdAUXD" 'False) (C1 ('MetaCons "GenericMsg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)) :+: (C1 ('MetaCons "TxBalanceMsg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxBalanceMsg)) :+: C1 ('MetaCons "ChainEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChainEvent))))
type Realized EmulatorM a 
Instance details

Defined in Cardano.Node.Emulator.Test

type Realized EmulatorM a = a

data TxBalanceMsg Source #

Constructors

BalancingUnbalancedTx CardanoBuildTx UtxoIndex 
FinishedBalancing CardanoTx 
SigningTx CardanoTx 
SubmittingTx CardanoTx 
ValidationFailed ValidationPhase CardanoTx ValidationError Value

The amount of collateral stored in the transaction.

Instances

Instances details
Eq TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Show TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Generic TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Associated Types

type Rep TxBalanceMsg :: Type -> Type Source #

FromJSON TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Methods

parseJSON :: Value -> Parser TxBalanceMsg

parseJSONList :: Value -> Parser [TxBalanceMsg]

ToJSON TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Methods

toJSON :: TxBalanceMsg -> Value

toEncoding :: TxBalanceMsg -> Encoding

toJSONList :: [TxBalanceMsg] -> Value

toEncodingList :: [TxBalanceMsg] -> Encoding

Pretty TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

Methods

pretty :: TxBalanceMsg -> Doc ann

prettyList :: [TxBalanceMsg] -> Doc ann

type Rep TxBalanceMsg Source # 
Instance details

Defined in Cardano.Node.Emulator.LogMessages

type Rep TxBalanceMsg = D1 ('MetaData "TxBalanceMsg" "Cardano.Node.Emulator.LogMessages" "cardano-node-emulator-1.2.0.0-1RjxyDmnwHSAn2KgGdAUXD" 'False) ((C1 ('MetaCons "BalancingUnbalancedTx" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CardanoBuildTx) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UtxoIndex)) :+: C1 ('MetaCons "FinishedBalancing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CardanoTx))) :+: (C1 ('MetaCons "SigningTx" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CardanoTx)) :+: (C1 ('MetaCons "SubmittingTx" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CardanoTx)) :+: C1 ('MetaCons "ValidationFailed" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidationPhase) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CardanoTx)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidationError) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value))))))

_ValidationFailed :: Prism' TxBalanceMsg (ValidationPhase, CardanoTx, ValidationError, Value) Source #

_SubmittingTx :: Prism' TxBalanceMsg CardanoTx Source #

_SigningTx :: Prism' TxBalanceMsg CardanoTx Source #

_BalancingUnbalancedTx :: Prism' TxBalanceMsg (CardanoBuildTx, UtxoIndex) Source #