hs-tendermint-client-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Network.Tendermint.Client

Contents

Synopsis

Documentation

data SignedMsgType Source #

Instances

Instances details
Eq SignedMsgType Source # 
Instance details

Defined in Network.Tendermint.Client

Show SignedMsgType Source # 
Instance details

Defined in Network.Tendermint.Client

Generic SignedMsgType Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep SignedMsgType :: Type -> Type #

FromJSON SignedMsgType Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser SignedMsgType

parseJSONList :: Value -> Parser [SignedMsgType]

type Rep SignedMsgType Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep SignedMsgType = D1 ('MetaData "SignedMsgType" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "PrevoteType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PrecommitType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProposalType" 'PrefixI 'False) (U1 :: Type -> Type)))

data Vote Source #

Instances

Instances details
Eq Vote Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

(==) :: Vote -> Vote -> Bool #

(/=) :: Vote -> Vote -> Bool #

Show Vote Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

showsPrec :: Int -> Vote -> ShowS #

show :: Vote -> String #

showList :: [Vote] -> ShowS #

Generic Vote Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep Vote :: Type -> Type #

Methods

from :: Vote -> Rep Vote x #

to :: Rep Vote x -> Vote #

FromJSON Vote Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser Vote

parseJSONList :: Value -> Parser [Vote]

type Rep Vote Source # 
Instance details

Defined in Network.Tendermint.Client

data Commit Source #

Constructors

Commit 

Instances

Instances details
Eq Commit Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

(==) :: Commit -> Commit -> Bool #

(/=) :: Commit -> Commit -> Bool #

Show Commit Source # 
Instance details

Defined in Network.Tendermint.Client

Generic Commit Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep Commit :: Type -> Type #

Methods

from :: Commit -> Rep Commit x #

to :: Rep Commit x -> Commit #

FromJSON Commit Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser Commit

parseJSONList :: Value -> Parser [Commit]

type Rep Commit Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep Commit = D1 ('MetaData "Commit" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "Commit" 'PrefixI 'True) (S1 ('MetaSel ('Just "commitBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockID) :*: S1 ('MetaSel ('Just "commitPrecommits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Vote])))

data EvidenceData Source #

Instances

Instances details
Eq EvidenceData Source # 
Instance details

Defined in Network.Tendermint.Client

Show EvidenceData Source # 
Instance details

Defined in Network.Tendermint.Client

Generic EvidenceData Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep EvidenceData :: Type -> Type #

FromJSON EvidenceData Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser EvidenceData

parseJSONList :: Value -> Parser [EvidenceData]

type Rep EvidenceData Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep EvidenceData = D1 ('MetaData "EvidenceData" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "EvidenceData" 'PrefixI 'True) (S1 ('MetaSel ('Just "evidenceDataEvidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EvidenceList)))

data Data Source #

Constructors

Data 

Fields

Instances

Instances details
Eq Data Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

(==) :: Data -> Data -> Bool #

(/=) :: Data -> Data -> Bool #

Show Data Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

showsPrec :: Int -> Data -> ShowS #

show :: Data -> String #

showList :: [Data] -> ShowS #

Generic Data Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep Data :: Type -> Type #

Methods

from :: Data -> Rep Data x #

to :: Rep Data x -> Data #

FromJSON Data Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser Data

parseJSONList :: Value -> Parser [Data]

type Rep Data Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep Data = D1 ('MetaData "Data" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "Data" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataTxs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WrappedVal [Tx]))))

data Block Source #

Instances

Instances details
Eq Block Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

(==) :: Block -> Block -> Bool #

(/=) :: Block -> Block -> Bool #

Show Block Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

Generic Block Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

FromJSON Block Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser Block

parseJSONList :: Value -> Parser [Block]

type Rep Block Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep Block = D1 ('MetaData "Block" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "Block" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blockHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Header) :*: S1 ('MetaSel ('Just "blockData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Data)) :*: (S1 ('MetaSel ('Just "blockEvidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EvidenceData) :*: S1 ('MetaSel ('Just "blockLastCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Commit)))))

data BlockMeta Source #

Instances

Instances details
Eq BlockMeta Source # 
Instance details

Defined in Network.Tendermint.Client

Show BlockMeta Source # 
Instance details

Defined in Network.Tendermint.Client

Generic BlockMeta Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep BlockMeta :: Type -> Type #

FromJSON BlockMeta Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser BlockMeta

parseJSONList :: Value -> Parser [BlockMeta]

type Rep BlockMeta Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep BlockMeta = D1 ('MetaData "BlockMeta" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "BlockMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockMetaBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockID) :*: S1 ('MetaSel ('Just "blockMetaHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Header)))

data SimpleProof Source #

Instances

Instances details
Eq SimpleProof Source # 
Instance details

Defined in Network.Tendermint.Client

Show SimpleProof Source # 
Instance details

Defined in Network.Tendermint.Client

Generic SimpleProof Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep SimpleProof :: Type -> Type #

FromJSON SimpleProof Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser SimpleProof

parseJSONList :: Value -> Parser [SimpleProof]

type Rep SimpleProof Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep SimpleProof = D1 ('MetaData "SimpleProof" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "SimpleProof" 'PrefixI 'True) ((S1 ('MetaSel ('Just "simpleProofTotal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WrappedVal Int64)) :*: S1 ('MetaSel ('Just "simpleProofIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WrappedVal Int64))) :*: (S1 ('MetaSel ('Just "simpleProofLeafHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx) :*: S1 ('MetaSel ('Just "simpleProofAunts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Tx]))))

data TxProof Source #

Instances

Instances details
Eq TxProof Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

(==) :: TxProof -> TxProof -> Bool #

(/=) :: TxProof -> TxProof -> Bool #

Show TxProof Source # 
Instance details

Defined in Network.Tendermint.Client

Generic TxProof Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep TxProof :: Type -> Type #

Methods

from :: TxProof -> Rep TxProof x #

to :: Rep TxProof x -> TxProof #

FromJSON TxProof Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser TxProof

parseJSONList :: Value -> Parser [TxProof]

type Rep TxProof Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep TxProof = D1 ('MetaData "TxProof" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "TxProof" 'PrefixI 'True) (S1 ('MetaSel ('Just "txProofRootHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "txProofData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx) :*: S1 ('MetaSel ('Just "txProofProof") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SimpleProof))))

data ResultBroadcastTx Source #

Instances

Instances details
Eq ResultBroadcastTx Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultBroadcastTx Source # 
Instance details

Defined in Network.Tendermint.Client

Generic ResultBroadcastTx Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep ResultBroadcastTx :: Type -> Type #

FromJSON ResultBroadcastTx Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultBroadcastTx

parseJSONList :: Value -> Parser [ResultBroadcastTx]

type Rep ResultBroadcastTx Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep ResultBroadcastTx = D1 ('MetaData "ResultBroadcastTx" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "ResultBroadcastTx" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resultBroadcastTxCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just "resultBroadcastTxData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HexString)) :*: (S1 ('MetaSel ('Just "resultBroadcastTxLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "resultBroadcastTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HexString))))

data ResultSubscribe Source #

Constructors

ResultSubscribe 

Instances

Instances details
Eq ResultSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

FromJSON ResultSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultSubscribe

parseJSONList :: Value -> Parser [ResultSubscribe]

newtype RequestSubscribe Source #

Instances

Instances details
Eq RequestSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestSubscribe :: Type -> Type #

ToJSON RequestSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestSubscribe Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestSubscribe = D1 ('MetaData "RequestSubscribe" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'True) (C1 ('MetaCons "RequestSubscribe" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestSubscribeQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data TxResultEvent a Source #

Instances

Instances details
Generic (TxResultEvent a) Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep (TxResultEvent a) :: Type -> Type #

FromJSON (TxResultEvent [Event]) Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser (TxResultEvent [Event])

parseJSONList :: Value -> Parser [TxResultEvent [Event]]

type Rep (TxResultEvent a) Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep (TxResultEvent a) = D1 ('MetaData "TxResultEvent" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "TxEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "txEventBlockHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WrappedVal Int64)) :*: (S1 ('MetaSel ('Just "txEventTxIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: S1 ('MetaSel ('Just "txEventEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))))

data ResultABCIInfo Source #

Instances

Instances details
Eq ResultABCIInfo Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultABCIInfo Source # 
Instance details

Defined in Network.Tendermint.Client

Generic ResultABCIInfo Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep ResultABCIInfo :: Type -> Type #

FromJSON ResultABCIInfo Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultABCIInfo

parseJSONList :: Value -> Parser [ResultABCIInfo]

type Rep ResultABCIInfo Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep ResultABCIInfo = D1 ('MetaData "ResultABCIInfo" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "ResultABCIInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "resultABCIInfoResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Info)))

data ResultHealth Source #

Constructors

ResultHealth 

Instances

Instances details
Eq ResultHealth Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultHealth Source # 
Instance details

Defined in Network.Tendermint.Client

FromJSON ResultHealth Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultHealth

parseJSONList :: Value -> Parser [ResultHealth]

data ResultBroadcastTxCommit Source #

Instances

Instances details
Eq ResultBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Generic ResultBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep ResultBroadcastTxCommit :: Type -> Type #

FromJSON ResultBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultBroadcastTxCommit

parseJSONList :: Value -> Parser [ResultBroadcastTxCommit]

type Rep ResultBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep ResultBroadcastTxCommit = D1 ('MetaData "ResultBroadcastTxCommit" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "ResultBroadcastTxCommit" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resultBroadcastTxCommitCheckTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CheckTx) :*: S1 ('MetaSel ('Just "resultBroadcastTxCommitDeliverTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DeliverTx)) :*: (S1 ('MetaSel ('Just "resultBroadcastTxCommitHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HexString) :*: S1 ('MetaSel ('Just "resultBroadcastTxCommitHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WrappedVal Int64)))))

data RequestBroadcastTxCommit Source #

Instances

Instances details
Eq RequestBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestBroadcastTxCommit :: Type -> Type #

ToJSON RequestBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBroadcastTxCommit Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBroadcastTxCommit = D1 ('MetaData "RequestBroadcastTxCommit" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "RequestBroadcastTxCommit" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestBroadcastTxCommitTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx)))

data RequestBroadcastTxSync Source #

Instances

Instances details
Eq RequestBroadcastTxSync Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestBroadcastTxSync Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestBroadcastTxSync Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestBroadcastTxSync :: Type -> Type #

ToJSON RequestBroadcastTxSync Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBroadcastTxSync Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBroadcastTxSync = D1 ('MetaData "RequestBroadcastTxSync" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "RequestBroadcastTxSync" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestBroadcastTxSyncTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx)))

data RequestBroadcastTxAsync Source #

Instances

Instances details
Eq RequestBroadcastTxAsync Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestBroadcastTxAsync Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestBroadcastTxAsync Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestBroadcastTxAsync :: Type -> Type #

ToJSON RequestBroadcastTxAsync Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBroadcastTxAsync Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBroadcastTxAsync = D1 ('MetaData "RequestBroadcastTxAsync" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "RequestBroadcastTxAsync" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestBroadcastTxAsyncTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx)))

data ResultTx Source #

Instances

Instances details
Eq ResultTx Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultTx Source # 
Instance details

Defined in Network.Tendermint.Client

Generic ResultTx Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep ResultTx :: Type -> Type #

Methods

from :: ResultTx -> Rep ResultTx x #

to :: Rep ResultTx x -> ResultTx #

FromJSON ResultTx Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultTx

parseJSONList :: Value -> Parser [ResultTx]

type Rep ResultTx Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep ResultTx = D1 ('MetaData "ResultTx" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "ResultTx" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resultTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HexString) :*: (S1 ('MetaSel ('Just "resultTxHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WrappedVal Int64)) :*: S1 ('MetaSel ('Just "resultTxIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) :*: (S1 ('MetaSel ('Just "resultTxTxResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DeliverTx) :*: (S1 ('MetaSel ('Just "resultTxTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Tx) :*: S1 ('MetaSel ('Just "resultTxProof") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TxProof))))))

data RequestTx Source #

Constructors

RequestTx 

Instances

Instances details
Eq RequestTx Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestTx Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestTx Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestTx :: Type -> Type #

ToJSON RequestTx Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

toJSON :: RequestTx -> Value

toEncoding :: RequestTx -> Encoding

toJSONList :: [RequestTx] -> Value

toEncodingList :: [RequestTx] -> Encoding

Default RequestTx Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

def :: RequestTx

type Rep RequestTx Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestTx = D1 ('MetaData "RequestTx" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "RequestTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Tx)) :*: S1 ('MetaSel ('Just "requestTxProve") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

data ResultBlock Source #

Instances

Instances details
Eq ResultBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Generic ResultBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep ResultBlock :: Type -> Type #

FromJSON ResultBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultBlock

parseJSONList :: Value -> Parser [ResultBlock]

type Rep ResultBlock Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep ResultBlock = D1 ('MetaData "ResultBlock" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "ResultBlock" 'PrefixI 'True) (S1 ('MetaSel ('Just "resultBlockBlockMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockMeta) :*: S1 ('MetaSel ('Just "resultBlockBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Block)))

data RequestBlock Source #

Instances

Instances details
Eq RequestBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestBlock :: Type -> Type #

ToJSON RequestBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

toJSON :: RequestBlock -> Value

toEncoding :: RequestBlock -> Encoding

toJSONList :: [RequestBlock] -> Value

toEncodingList :: [RequestBlock] -> Encoding

Default RequestBlock Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

def :: RequestBlock

type Rep RequestBlock Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestBlock = D1 ('MetaData "RequestBlock" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "RequestBlock" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestBlockHeightPtr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (WrappedVal Int64)))))

data ResultABCIQuery Source #

Instances

Instances details
Eq ResultABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Show ResultABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Generic ResultABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep ResultABCIQuery :: Type -> Type #

FromJSON ResultABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Methods

parseJSON :: Value -> Parser ResultABCIQuery

parseJSONList :: Value -> Parser [ResultABCIQuery]

type Rep ResultABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep ResultABCIQuery = D1 ('MetaData "ResultABCIQuery" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "ResultABCIQuery" 'PrefixI 'True) (S1 ('MetaSel ('Just "resultABCIQueryResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query)))

data RequestABCIQuery Source #

Instances

Instances details
Eq RequestABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Show RequestABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Generic RequestABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Associated Types

type Rep RequestABCIQuery :: Type -> Type #

ToJSON RequestABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

Default RequestABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestABCIQuery Source # 
Instance details

Defined in Network.Tendermint.Client

type Rep RequestABCIQuery = D1 ('MetaData "RequestABCIQuery" "Network.Tendermint.Client" "hs-tendermint-client-0.1.0.0-E1BBIgA7PnEAg7gjw7f7hW" 'False) (C1 ('MetaCons "RequestABCIQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestABCIQueryPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestABCIQueryData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HexString)) :*: (S1 ('MetaSel ('Just "requestABCIQueryHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (WrappedVal Int64))) :*: S1 ('MetaSel ('Just "requestABCIQueryProve") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))

runTendermintM :: Config -> TendermintM a -> IO a Source #

Execute an RPC request with the given configuration.

defaultConfig Source #

Arguments

:: ByteString

Hostname or IP (e.g. "localhost", "127.0.0.1", "151.101.208.68")

-> Int

Port

-> Bool

TLS True/False

-> Config 

ReExports

data Config Source #

JSON-RPC client config

Constructors

Config 

Fields

data RpcError Source #

JSON-RPC error message

Constructors

RpcError 

Fields

Instances

Instances details
Eq RpcError Source # 
Instance details

Defined in Network.Tendermint.Client.Internal.RPCClient

Show RpcError Source # 
Instance details

Defined in Network.Tendermint.Client.Internal.RPCClient

FromJSON RpcError Source # 
Instance details

Defined in Network.Tendermint.Client.Internal.RPCClient

Methods

parseJSON :: Value -> Parser RpcError

parseJSONList :: Value -> Parser [RpcError]

ToJSON RpcError Source # 
Instance details

Defined in Network.Tendermint.Client.Internal.RPCClient

Methods

toJSON :: RpcError -> Value

toEncoding :: RpcError -> Encoding

toJSONList :: [RpcError] -> Value

toEncodingList :: [RpcError] -> Encoding