Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type AuthM r = Module AuthModule EmptyTxServer Api AuthEffs r Source #
authModule :: Members BaseAppEffs r => AuthM r Source #
Account | |
|
Instances
Generic Account Source # | |
Wrapped Account Source # | |
HasCodec Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types | |
Queryable Account Source # | |
type Rep Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types type Rep Account = D1 (MetaData "Account" "Tendermint.SDK.Modules.Auth.Types" "hs-abci-sdk-0.1.0.0-LnJwrJSuG58BXGpMSxwJYu" False) (C1 (MetaCons "Account" PrefixI True) (S1 (MetaSel (Just "accountCoins") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Coin]) :*: S1 (MetaSel (Just "accountNonce") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64))) | |
type Unwrapped Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types | |
type Name Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types |
data Accounts m a where Source #
PutAccount :: Address -> Account -> Accounts m () | |
GetAccount :: Address -> Accounts m (Maybe Account) |
eval :: Members [RawStore, Error AppError] r => Sem (Accounts ': (Error AuthError ': r)) a -> Sem r a Source #
type AuthModule = "auth" Source #
Coin | |
|
Instances
Generic Coin Source # | |
Wrapped Coin Source # | |
type Rep Coin Source # | |
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-LnJwrJSuG58BXGpMSxwJYu" False) (C1 (MetaCons "Coin" PrefixI True) (S1 (MetaSel (Just "coinDenomination") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "coinAmount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64))) | |
type Unwrapped Coin Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types |
Account | |
|
Instances
Generic Account Source # | |
Wrapped Account Source # | |
HasCodec Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types | |
Queryable Account Source # | |
type Rep Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types type Rep Account = D1 (MetaData "Account" "Tendermint.SDK.Modules.Auth.Types" "hs-abci-sdk-0.1.0.0-LnJwrJSuG58BXGpMSxwJYu" False) (C1 (MetaCons "Account" PrefixI True) (S1 (MetaSel (Just "accountCoins") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Coin]) :*: S1 (MetaSel (Just "accountNonce") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64))) | |
type Unwrapped Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types | |
type Name Account Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types |
Instances
IsAppError AuthError Source # | |
Defined in Tendermint.SDK.Modules.Auth.Types makeAppError :: AuthError -> AppError Source # |