| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.ABCI.Types.Messages.FieldTypes
Documentation
newtype WrappedVal a Source #
Constructors
| WrappedVal | |
Fields
| |
Instances
Instances
| Eq Timestamp Source # | |
| Show Timestamp Source # | |
| Generic Timestamp Source # | |
| FromJSON Timestamp Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON Timestamp Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: Timestamp -> Encoding toJSONList :: [Timestamp] -> Value toEncodingList :: [Timestamp] -> Encoding | |
| Wrapped Timestamp Source # | |
| type Rep Timestamp Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| type Unwrapped Timestamp Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
mkTimestamp :: DiffTime -> Timestamp Source #
data BlockParams Source #
Constructors
| BlockParams | |
Fields
| |
Instances
data EvidenceParams Source #
Constructors
| EvidenceParams | |
Fields
| |
Instances
data ValidatorParams Source #
Constructors
| ValidatorParams | |
Fields
| |
Instances
data ConsensusParams Source #
Constructors
| ConsensusParams | |
Fields
| |
Instances
Constructors
| PubKey | |
Fields
| |
Instances
| Eq PubKey Source # | |
| Show PubKey Source # | |
| Generic PubKey Source # | |
| FromJSON PubKey Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON PubKey Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: PubKey -> Encoding toJSONList :: [PubKey] -> Value toEncodingList :: [PubKey] -> Encoding | |
| Wrapped PubKey Source # | |
| type Rep PubKey Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep PubKey = D1 (MetaData "PubKey" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-CSbCBfElGIr9n2xrkSCrY5" False) (C1 (MetaCons "PubKey" PrefixI True) (S1 (MetaSel (Just "pubKeyType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "pubKeyData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Base64String))) | |
| type Unwrapped PubKey Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
data ValidatorUpdate Source #
Constructors
| ValidatorUpdate | |
Fields
| |
Instances
Constructors
| Validator | |
Fields
| |
Instances
| Eq Validator Source # | |
| Show Validator Source # | |
| Generic Validator Source # | |
| FromJSON Validator Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON Validator Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: Validator -> Encoding toJSONList :: [Validator] -> Value toEncodingList :: [Validator] -> Encoding | |
| Wrapped Validator Source # | |
| type Rep Validator Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep Validator = D1 (MetaData "Validator" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-CSbCBfElGIr9n2xrkSCrY5" False) (C1 (MetaCons "Validator" PrefixI True) (S1 (MetaSel (Just "validatorAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HexString) :*: S1 (MetaSel (Just "validatorPower") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (WrappedVal Int64)))) | |
| type Unwrapped Validator Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
Constructors
| VoteInfo | |
Fields
| |
Instances
| Eq VoteInfo Source # | |
| Show VoteInfo Source # | |
| Generic VoteInfo Source # | |
| FromJSON VoteInfo Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON VoteInfo Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: VoteInfo -> Encoding toJSONList :: [VoteInfo] -> Value toEncodingList :: [VoteInfo] -> Encoding | |
| Wrapped VoteInfo Source # | |
| type Rep VoteInfo Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep VoteInfo = D1 (MetaData "VoteInfo" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-CSbCBfElGIr9n2xrkSCrY5" False) (C1 (MetaCons "VoteInfo" PrefixI True) (S1 (MetaSel (Just "voteInfoValidator") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Validator)) :*: S1 (MetaSel (Just "voteInfoSignedLastBlock") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) | |
| type Unwrapped VoteInfo Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
data LastCommitInfo Source #
Constructors
| LastCommitInfo | |
Fields
| |
Instances
data PartSetHeader Source #
Constructors
| PartSetHeader | |
Fields
| |
Instances
Constructors
| BlockID | |
Fields
| |
Instances
| Eq BlockID Source # | |
| Show BlockID Source # | |
| Generic BlockID Source # | |
| FromJSON BlockID Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON BlockID Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: BlockID -> Encoding toJSONList :: [BlockID] -> Value toEncodingList :: [BlockID] -> Encoding | |
| Wrapped BlockID Source # | |
| type Rep BlockID Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep BlockID = D1 (MetaData "BlockID" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-CSbCBfElGIr9n2xrkSCrY5" False) (C1 (MetaCons "BlockID" PrefixI True) (S1 (MetaSel (Just "blockIDHash") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 HexString) :*: S1 (MetaSel (Just "blockIDPartsHeader") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe PartSetHeader)))) | |
| type Unwrapped BlockID Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
Constructors
| Version | |
Fields
| |
Instances
| Eq Version Source # | |
| Show Version Source # | |
| Generic Version Source # | |
| FromJSON Version Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON Version Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: Version -> Encoding toJSONList :: [Version] -> Value toEncodingList :: [Version] -> Encoding | |
| Wrapped Version Source # | |
| type Rep Version Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep Version = D1 (MetaData "Version" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-CSbCBfElGIr9n2xrkSCrY5" False) (C1 (MetaCons "Version" PrefixI True) (S1 (MetaSel (Just "versionBlock") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (WrappedVal Word64)) :*: S1 (MetaSel (Just "versionApp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (WrappedVal Word64)))) | |
| type Unwrapped Version Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
Constructors
| Header | |
Fields
| |
Instances
Constructors
| Evidence | |
Fields
| |
Instances
Constructors
| KVPair | |
Fields
| |
Instances
| Eq KVPair Source # | |
| Show KVPair Source # | |
| Generic KVPair Source # | |
| FromJSON KVPair Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON KVPair Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: KVPair -> Encoding toJSONList :: [KVPair] -> Value toEncodingList :: [KVPair] -> Encoding | |
| Wrapped KVPair Source # | |
| type Rep KVPair Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes type Rep KVPair = D1 (MetaData "KVPair" "Network.ABCI.Types.Messages.FieldTypes" "hs-abci-types-0.1.0.0-CSbCBfElGIr9n2xrkSCrY5" False) (C1 (MetaCons "KVPair" PrefixI True) (S1 (MetaSel (Just "kVPairKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Base64String) :*: S1 (MetaSel (Just "kVPairValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Base64String))) | |
| type Unwrapped KVPair Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
Constructors
| Proof | |
Instances
| Eq Proof Source # | |
| Show Proof Source # | |
| Generic Proof Source # | |
| FromJSON Proof Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON Proof Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: Proof -> Encoding toJSONList :: [Proof] -> Value toEncodingList :: [Proof] -> Encoding | |
| Wrapped Proof Source # | |
| type Rep Proof Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| type Unwrapped Proof Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
Constructors
| ProofOp | |
Fields
| |
Instances
Constructors
| Event | |
Fields
| |
Instances
| Eq Event Source # | |
| Show Event Source # | |
| Generic Event Source # | |
| FromJSON Event Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |
| ToJSON Event Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes Methods toEncoding :: Event -> Encoding toJSONList :: [Event] -> Value toEncodingList :: [Event] -> Encoding | |
| Wrapped Event Source # | |
| type Rep Event Source # | |
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-CSbCBfElGIr9n2xrkSCrY5" 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 Source # | |
Defined in Network.ABCI.Types.Messages.FieldTypes | |