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

Instances details
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

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 Amount Source #

Fields :

  • amount :: Lens' Amount Data.Word.Word64

Instances

Instances details
Eq Amount Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

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

Ord Amount Source # 
Instance details

Defined in Proto.Modules.Auth

Show Amount Source # 
Instance details

Defined in Proto.Modules.Auth

NFData Amount Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

rnf :: Amount -> () #

Message Amount Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

messageName :: Proxy Amount -> Text

defMessage :: Amount

fieldsByTag :: Map Tag (FieldDescriptor Amount)

fieldsByTextFormatName :: Map String (FieldDescriptor Amount)

unknownFields :: Lens' Amount FieldSet

parseMessage :: Parser Amount

buildMessage :: Amount -> Builder

HasField Coin "amount" Amount Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

HasField Amount "amount" Word64 Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

HasField Coin "maybe'amount" (Maybe Amount) Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "maybe'amount" -> (Maybe Amount -> f (Maybe Amount)) -> Coin -> f Coin

data Coin Source #

Fields :

  • id :: Lens' Coin CoinId
  • maybe'id :: Lens' Coin (Prelude.Maybe CoinId)
  • amount :: Lens' Coin Amount
  • maybe'amount :: Lens' Coin (Prelude.Maybe Amount)

Instances

Instances details
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" Amount Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

HasField Coin "id" CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "id" -> (CoinId -> f CoinId) -> Coin -> f Coin

HasField Coin "maybe'amount" (Maybe Amount) Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "maybe'amount" -> (Maybe Amount -> f (Maybe Amount)) -> Coin -> f Coin

HasField Coin "maybe'id" (Maybe CoinId) Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "maybe'id" -> (Maybe CoinId -> f (Maybe CoinId)) -> 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

data CoinId Source #

Fields :

  • id :: Lens' CoinId Data.Text.Text

Instances

Instances details
Eq CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

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

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

Ord CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

Show CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

NFData CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

rnf :: CoinId -> () #

Message CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

messageName :: Proxy CoinId -> Text

defMessage :: CoinId

fieldsByTag :: Map Tag (FieldDescriptor CoinId)

fieldsByTextFormatName :: Map String (FieldDescriptor CoinId)

unknownFields :: Lens' CoinId FieldSet

parseMessage :: Parser CoinId

buildMessage :: CoinId -> Builder

HasField CoinId "id" Text Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "id" -> (Text -> f Text) -> CoinId -> f CoinId

HasField Coin "id" CoinId Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "id" -> (CoinId -> f CoinId) -> Coin -> f Coin

HasField Coin "maybe'id" (Maybe CoinId) Source # 
Instance details

Defined in Proto.Modules.Auth

Methods

fieldOf :: Functor f => Proxy# "maybe'id" -> (Maybe CoinId -> f (Maybe CoinId)) -> Coin -> f Coin