hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.Modules.Bank.Types

Documentation

data TransferEvent Source #

Instances
Eq TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

Show TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

Generic TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

Associated Types

type Rep TransferEvent :: Type -> Type #

FromJSON TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

Methods

parseJSON :: Value -> Parser TransferEvent

parseJSONList :: Value -> Parser [TransferEvent]

ToJSON TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

Methods

toJSON :: TransferEvent -> Value

toEncoding :: TransferEvent -> Encoding

toJSONList :: [TransferEvent] -> Value

toEncodingList :: [TransferEvent] -> Encoding

Select TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

ToEvent TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

type Rep TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

type Rep TransferEvent = D1 (MetaData "TransferEvent" "Tendermint.SDK.Modules.Bank.Types" "hs-abci-sdk-0.1.0.0-JNIgr3XvOPdDNDKoBXpy2h" False) (C1 (MetaCons "TransferEvent" PrefixI True) ((S1 (MetaSel (Just "transferEventCoinId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CoinId) :*: S1 (MetaSel (Just "transferEventAmount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Amount)) :*: (S1 (MetaSel (Just "transferEventTo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Address) :*: S1 (MetaSel (Just "transferEventFrom") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Address))))

data BankError Source #

Constructors

InsufficientFunds Text 

type BankName = "bank" Source #

newtype Amount Source #

Constructors

Amount 

Fields

Instances
Eq Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

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

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

Num Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Ord Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Show Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Generic Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Associated Types

type Rep Amount :: Type -> Type #

Methods

from :: Amount -> Rep Amount x #

to :: Rep Amount x -> Amount #

FromJSON Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

parseJSON :: Value -> Parser Amount

parseJSONList :: Value -> Parser [Amount]

ToJSON Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

toJSON :: Amount -> Value

toEncoding :: Amount -> Encoding

toJSONList :: [Amount] -> Value

toEncodingList :: [Amount] -> Encoding

Wrapped Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Associated Types

type Unwrapped Amount :: Type

Methods

_Wrapped' :: Iso' Amount (Unwrapped Amount)

HasCodec Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Rep Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Rep Amount = D1 (MetaData "Amount" "Tendermint.SDK.Modules.Auth.Types" "hs-abci-sdk-0.1.0.0-JNIgr3XvOPdDNDKoBXpy2h" True) (C1 (MetaCons "Amount" PrefixI True) (S1 (MetaSel (Just "unAmount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64)))
type Unwrapped Amount Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Unwrapped Amount = Amount

data Coin Source #

Constructors

Coin 
Instances
Eq Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

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

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

Show Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

showsPrec :: Int -> Coin -> ShowS #

show :: Coin -> String #

showList :: [Coin] -> ShowS #

Generic Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Associated Types

type Rep Coin :: Type -> Type #

Methods

from :: Coin -> Rep Coin x #

to :: Rep Coin x -> Coin #

Wrapped Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Associated Types

type Unwrapped Coin :: Type

Methods

_Wrapped' :: Iso' Coin (Unwrapped Coin)

HasCodec Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Rep Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Rep Coin = D1 (MetaData "Coin" "Tendermint.SDK.Modules.Auth.Types" "hs-abci-sdk-0.1.0.0-JNIgr3XvOPdDNDKoBXpy2h" False) (C1 (MetaCons "Coin" PrefixI True) (S1 (MetaSel (Just "coinId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CoinId) :*: S1 (MetaSel (Just "coinAmount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Amount)))
type Unwrapped Coin Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Unwrapped Coin = Coin

newtype CoinId Source #

Constructors

CoinId 

Fields

Instances
Eq CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

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

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

Show CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

IsString CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

fromString :: String -> CoinId #

Generic CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Associated Types

type Rep CoinId :: Type -> Type #

Methods

from :: CoinId -> Rep CoinId x #

to :: Rep CoinId x -> CoinId #

FromJSON CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

parseJSON :: Value -> Parser CoinId

parseJSONList :: Value -> Parser [CoinId]

ToJSON CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

toJSON :: CoinId -> Value

toEncoding :: CoinId -> Encoding

toJSONList :: [CoinId] -> Value

toEncodingList :: [CoinId] -> Encoding

Wrapped CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Associated Types

type Unwrapped CoinId :: Type

Methods

_Wrapped' :: Iso' CoinId (Unwrapped CoinId)

HasCodec CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

FromHttpApiData CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

Methods

parseUrlPiece :: Text -> Either Text CoinId

parseHeader :: ByteString -> Either Text CoinId

parseQueryParam :: Text -> Either Text CoinId

ToHttpApiData CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Rep CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Rep CoinId = D1 (MetaData "CoinId" "Tendermint.SDK.Modules.Auth.Types" "hs-abci-sdk-0.1.0.0-JNIgr3XvOPdDNDKoBXpy2h" True) (C1 (MetaCons "CoinId" PrefixI True) (S1 (MetaSel (Just "unCoinId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Unwrapped CoinId Source # 
Instance details

Defined in Tendermint.SDK.Modules.Auth.Types

type Unwrapped CoinId = CoinId