hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Proto.Modules.Auth

Synopsis

Documentation

data Account Source #

Fields :

  • coins :: Lens' Account [Coin]
  • vec'coins :: Lens' Account (Data.Vector.Vector Coin)
  • nonce :: Lens' Account Data.Word.Word64
Instances
Eq Account Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

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

Ord Account Source # 
Instance details

Defined in Proto.Modules.Auth

Show Account Source # 
Instance details

Defined in Proto.Modules.Auth

NFData Account Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

rnf :: Account -> () #

Message Account Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

messageName :: Proxy Account -> Text

defMessage :: Account

fieldsByTag :: Map Tag (FieldDescriptor Account)

fieldsByTextFormatName :: Map String (FieldDescriptor Account)

unknownFields :: Lens' Account FieldSet

parseMessage :: Parser Account

buildMessage :: Account -> Builder

HasField Account "nonce" Word64 Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "nonce" -> (Word64 -> f Word64) -> Account -> f Account

HasField Account "coins" [Coin] Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "coins" -> ([Coin] -> f [Coin]) -> Account -> f Account

HasField Account "vec'coins" (Vector Coin) Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "vec'coins" -> (Vector Coin -> f (Vector Coin)) -> Account -> f Account

data Coin Source #

Fields :

Instances
Eq Coin Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

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

Ord Coin Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

compare :: Coin -> Coin -> Ordering #

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

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

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

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

max :: Coin -> Coin -> Coin #

min :: Coin -> Coin -> Coin #

Show Coin Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

showsPrec :: Int -> Coin -> ShowS #

show :: Coin -> String #

showList :: [Coin] -> ShowS #

NFData Coin Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

rnf :: Coin -> () #

Message Coin Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

messageName :: Proxy Coin -> Text

defMessage :: Coin

fieldsByTag :: Map Tag (FieldDescriptor Coin)

fieldsByTextFormatName :: Map String (FieldDescriptor Coin)

unknownFields :: Lens' Coin FieldSet

parseMessage :: Parser Coin

buildMessage :: Coin -> Builder

HasField Coin "amount" Word64 Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "amount" -> (Word64 -> f Word64) -> Coin -> f Coin

HasField Coin "denomination" Text Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "denomination" -> (Text -> f Text) -> Coin -> f Coin

HasField Account "coins" [Coin] Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "coins" -> ([Coin] -> f [Coin]) -> Account -> f Account

HasField Account "vec'coins" (Vector Coin) Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "vec'coins" -> (Vector Coin -> f (Vector Coin)) -> Account -> f Account