Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Class
class ToEvent e where Source #
A class representing a type that can be emitted as an event in the | event logs for the deliverTx response.
Nothing
Instances
ToEvent TransferEvent Source # | |
Defined in Tendermint.SDK.Modules.Bank.Types toEvent :: TransferEvent -> Event Source # |
newtype ContextEvent t Source #
Special event wrapper to add contextual event_type info
Instances
(ToJSON a, ToEvent a) => ToJSON (ContextEvent a) Source # | |
Defined in Tendermint.SDK.BaseApp.Events toJSON :: ContextEvent a -> Value toEncoding :: ContextEvent a -> Encoding toJSONList :: [ContextEvent a] -> Value toEncodingList :: [ContextEvent a] -> Encoding | |
Select a => Select (ContextEvent a) Source # | |
Defined in Tendermint.SDK.BaseApp.Events |
Effect
logEvent :: forall e r. (ToJSON e, ToEvent e, Select e) => Member Logger r => e -> Sem r () Source #
Re-Exports
Event | |
|
Instances
Eq Event | |
Show Event | |
Generic Event | |
FromJSON Event | |
Defined in Network.ABCI.Types.Messages.FieldTypes parseJSON :: Value -> Parser Event parseJSONList :: Value -> Parser [Event] | |
ToJSON Event | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
Wrapped Event | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Unwrapped Event | |
type Rep Event | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep Event = D1 ('MetaData "Event" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-JbnZdER2jhDLQQCYdLDZz" 'False) (C1 ('MetaCons "Event" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [KVPair]))) | |
type Unwrapped Event | |
Defined in Network.ABCI.Types.Messages.FieldTypes |