cooked-validators
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cooked.Tweak.Mint

Description

Tweaks working on the minting part of a TxSkel

Synopsis

Documentation

addMintsTweak :: Member Tweak effs => [Mint] -> Sem effs () Source #

Adds new entries to the TxSkelMints of the transaction skeleton under modification.

removeMintTweak :: Member Tweak effs => (Mint -> Bool) -> Sem effs [Mint] Source #

Remove some entries from the TxSkelMints of a transaction, according to some predicate. The returned list holds the removed entries.