Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ClientConfig = ClientConfig {}
- class Monad m => RunTxClient m where
- runTx :: RawTransaction -> m ResultBroadcastTxCommit
- getNonce :: Address -> m Word64
- class HasTxClient m layout where
- type ClientT (m :: * -> *) layout :: *
- genClientT :: Proxy m -> Proxy layout -> ClientTxOpts -> ClientT m layout
- data EmptyTxClient = EmptyTxClient
- defaultClientTxOpts :: ClientTxOpts
Documentation
data ClientConfig Source #
Instances
RunTxClient (ReaderT ClientConfig IO) Source # | |
Defined in Tendermint.Utils.TxClient.Class |
class Monad m => RunTxClient m where Source #
runTx :: RawTransaction -> m ResultBroadcastTxCommit Source #
How to make a request.
Instances
RunTxClient (ReaderT ClientConfig IO) Source # | |
Defined in Tendermint.Utils.TxClient.Class |
class HasTxClient m layout where Source #
Instances
HasTxClient m EmptyTxServer Source # | |
Defined in Tendermint.Utils.TxClient.Class type ClientT m EmptyTxServer :: Type Source # genClientT :: Proxy m -> Proxy EmptyTxServer -> ClientTxOpts -> ClientT m EmptyTxServer Source # | |
(HasTxClient m a, HasTxClient m b) => HasTxClient m (a :<|> b) Source # | |
(KnownSymbol path, HasTxClient m a) => HasTxClient m (path :> a) Source # | |
(HasMessageType msg, HasCodec msg, HasCodec a, HasCodec (OnCheckReturn CheckTx oc a), RunTxClient m) => HasTxClient m (TypedMessage msg :~> Return' oc a) Source # | |
Defined in Tendermint.Utils.TxClient.Class genClientT :: Proxy m -> Proxy (TypedMessage msg :~> Return' oc a) -> ClientTxOpts -> ClientT m (TypedMessage msg :~> Return' oc a) Source # |
data EmptyTxClient Source #
Singleton type representing a client for an empty API.
Instances
Bounded EmptyTxClient Source # | |
Defined in Tendermint.Utils.TxClient.Class | |
Enum EmptyTxClient Source # | |
Defined in Tendermint.Utils.TxClient.Class succ :: EmptyTxClient -> EmptyTxClient # pred :: EmptyTxClient -> EmptyTxClient # toEnum :: Int -> EmptyTxClient # fromEnum :: EmptyTxClient -> Int # enumFrom :: EmptyTxClient -> [EmptyTxClient] # enumFromThen :: EmptyTxClient -> EmptyTxClient -> [EmptyTxClient] # enumFromTo :: EmptyTxClient -> EmptyTxClient -> [EmptyTxClient] # enumFromThenTo :: EmptyTxClient -> EmptyTxClient -> EmptyTxClient -> [EmptyTxClient] # | |
Eq EmptyTxClient Source # | |
Defined in Tendermint.Utils.TxClient.Class (==) :: EmptyTxClient -> EmptyTxClient -> Bool # (/=) :: EmptyTxClient -> EmptyTxClient -> Bool # | |
Show EmptyTxClient Source # | |
Defined in Tendermint.Utils.TxClient.Class showsPrec :: Int -> EmptyTxClient -> ShowS # show :: EmptyTxClient -> String # showList :: [EmptyTxClient] -> ShowS # |
defaultClientTxOpts :: ClientTxOpts Source #