hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.Codec

Synopsis

Documentation

class HasCodec a where Source #

This class is used as a codec for all items stored in | the database as well as incoming transaction messages.

Methods

encode :: a -> ByteString Source #

decode :: ByteString -> Either Text a Source #

Instances
HasCodec Int32 Source # 
Instance details

Defined in Tendermint.SDK.Codec

HasCodec Int64 Source # 
Instance details

Defined in Tendermint.SDK.Codec

HasCodec Word32 Source # 
Instance details

Defined in Tendermint.SDK.Codec

HasCodec Word64 Source # 
Instance details

Defined in Tendermint.SDK.Codec

HasCodec () Source # 
Instance details

Defined in Tendermint.SDK.Codec

Methods

encode :: () -> ByteString Source #

decode :: ByteString -> Either Text () Source #

HasCodec String Source # 
Instance details

Defined in Tendermint.SDK.Codec

HasCodec ByteString Source # 
Instance details

Defined in Tendermint.SDK.Codec

HasCodec Text Source # 
Instance details

Defined in Tendermint.SDK.Codec

Methods

encode :: Text -> ByteString Source #

decode :: ByteString -> Either Text Text Source #

HasCodec Address Source # 
Instance details

Defined in Tendermint.SDK.Types.Address

HasCodec TypedMessage Source # 
Instance details

Defined in Tendermint.SDK.Types.Message

HasCodec RawTransaction Source # 
Instance details

Defined in Tendermint.SDK.Types.Transaction

HasCodec Account Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

HasCodec Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

HasCodec Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

HasCodec CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

HasCodec BurnMsg Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Messages

HasCodec TransferMsg Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Messages