Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type TransactionApplication m = RoutingTx ByteString -> m (TxResult, Maybe Cache)
- data TransactionContext = TransactionContext {
- gasRemaining :: IORef GasAmount
- txRequiresGas :: Bool
- storeCache :: IORef Cache
- events :: IORef [Event]
- data RoutingTx msg where
- data RouteContext
- data EmptyTxServer = EmptyTxServer
- data Return a
- data TypedMessage msg
- data msg :~> a
- newTransactionContext :: Bool -> RoutingTx msg -> IO TransactionContext
- data Tx alg msg = Tx {
- txMsg :: Msg msg
- txRoute :: Text
- txGas :: Int64
- txSignature :: RecoverableSignature alg
- txSignBytes :: Message alg
- txSigner :: PubKey alg
- txNonce :: Word64
Documentation
type TransactionApplication m = RoutingTx ByteString -> m (TxResult, Maybe Cache) Source #
data TransactionContext Source #
TransactionContext | |
|
data RouteContext Source #
Instances
Eq RouteContext Source # | |
Defined in Tendermint.SDK.BaseApp.Transaction.Types (==) :: RouteContext -> RouteContext -> Bool # (/=) :: RouteContext -> RouteContext -> Bool # | |
Show RouteContext Source # | |
Defined in Tendermint.SDK.BaseApp.Transaction.Types showsPrec :: Int -> RouteContext -> ShowS # show :: RouteContext -> String # showList :: [RouteContext] -> ShowS # |
data EmptyTxServer Source #
Instances
Instances
data TypedMessage msg Source #
Instances
Instances
newTransactionContext :: Bool -> RoutingTx msg -> IO TransactionContext Source #
Re-Exports
Tx | |
|