cooked-validators
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cooked.Tweak.Mint

Description

Tweaks working on the minting part of a TxSkel

Synopsis

Documentation

addMintTweak :: MonadTweak m => Mint -> m () Source #

Adds a new entry to the TxSkelMints of the transaction skeleton under modification. As this is implemented in terms of addMint, the same caveats apply as do to that function!

removeMintTweak :: MonadTweak m => (Mint -> Bool) -> m [Mint] Source #

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