Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- doAnnotateBlockchain :: Monad m => Blockchain -> m [[AnnotatedTx]]
- initialRollup :: Rollup
- annotateBlockchain :: Monad m => Blockchain -> StateT Rollup m [[AnnotatedTx]]
- data Rollup
- initialState :: RollupState
- handleChainEvent :: RollupState -> ChainEvent -> RollupState
- getAnnotatedTransactions :: RollupState -> [[AnnotatedTx]]
Documentation
doAnnotateBlockchain :: Monad m => Blockchain -> m [[AnnotatedTx]] Source #
annotateBlockchain :: Monad m => Blockchain -> StateT Rollup m [[AnnotatedTx]] Source #
Instances
Eq Rollup Source # | |
Show Rollup Source # | |
Generic Rollup Source # | |
type Rep Rollup Source # | |
Defined in Wallet.Rollup.Types type Rep Rollup = D1 ('MetaData "Rollup" "Wallet.Rollup.Types" "plutus-contract-1.2.0.0-FH8LC9wh7UV4Nmv68NHXrC" 'False) (C1 ('MetaCons "Rollup" 'PrefixI 'True) (S1 ('MetaSel ('Just "_previousOutputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map TxIn TxOut)) :*: S1 ('MetaSel ('Just "_rollingBalances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map BeneficialOwner Value)))) |
Chain event fold
handleChainEvent :: RollupState -> ChainEvent -> RollupState Source #
getAnnotatedTransactions :: RollupState -> [[AnnotatedTx]] Source #