hs-abci-sdk-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Proto.Modules.Bank

Synopsis

Documentation

data Burn Source #

Fields :

  • address :: Lens' Burn Data.ByteString.ByteString
  • cid :: Lens' Burn Data.Text.Text
  • amount :: Lens' Burn Data.Word.Word64

Instances

Instances details
Eq Burn Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

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

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

Ord Burn Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

compare :: Burn -> Burn -> Ordering #

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

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

(>) :: Burn -> Burn -> Bool #

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

max :: Burn -> Burn -> Burn #

min :: Burn -> Burn -> Burn #

Show Burn Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

showsPrec :: Int -> Burn -> ShowS #

show :: Burn -> String #

showList :: [Burn] -> ShowS #

NFData Burn Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

rnf :: Burn -> () #

Message Burn Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

messageName :: Proxy Burn -> Text

defMessage :: Burn

fieldsByTag :: Map Tag (FieldDescriptor Burn)

fieldsByTextFormatName :: Map String (FieldDescriptor Burn)

unknownFields :: Lens' Burn FieldSet

parseMessage :: Parser Burn

buildMessage :: Burn -> Builder

HasField Burn "address" ByteString Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

fieldOf :: Functor f => Proxy# "address" -> (ByteString -> f ByteString) -> Burn -> f Burn

HasField Burn "amount" Word64 Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

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

HasField Burn "cid" Text Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

fieldOf :: Functor f => Proxy# "cid" -> (Text -> f Text) -> Burn -> f Burn

data Transfer Source #

Fields :

  • to :: Lens' Transfer Data.ByteString.ByteString
  • from :: Lens' Transfer Data.ByteString.ByteString
  • cid :: Lens' Transfer Data.Text.Text
  • amount :: Lens' Transfer Data.Word.Word64

Instances

Instances details
Eq Transfer Source # 
Instance details

Defined in Proto.Modules.Bank

Ord Transfer Source # 
Instance details

Defined in Proto.Modules.Bank

Show Transfer Source # 
Instance details

Defined in Proto.Modules.Bank

NFData Transfer Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

rnf :: Transfer -> () #

Message Transfer Source # 
Instance details

Defined in Proto.Modules.Bank

HasField Transfer "amount" Word64 Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

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

HasField Transfer "cid" Text Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

fieldOf :: Functor f => Proxy# "cid" -> (Text -> f Text) -> Transfer -> f Transfer

HasField Transfer "from" ByteString Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

fieldOf :: Functor f => Proxy# "from" -> (ByteString -> f ByteString) -> Transfer -> f Transfer

HasField Transfer "to" ByteString Source # 
Instance details

Defined in Proto.Modules.Bank

Methods

fieldOf :: Functor f => Proxy# "to" -> (ByteString -> f ByteString) -> Transfer -> f Transfer