| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cooked.MockChain.Automation.AutoFilling.Constitution
Description
This module exposes a function to automatically fill the constitution
scripts of the proposals in a TxSkel based on the current
state of the blockchain.
Synopsis
- autoFillConstitution :: Members '[MockChainRead, Tweak, MockChainLog] effs => Sem effs ()
Documentation
autoFillConstitution :: Members '[MockChainRead, Tweak, MockChainLog] effs => Sem effs () Source #
Goes through all the proposals of the input skeleton and attempts to fill out the constitution scripts with the current one. Does not tamper with an existing specified script in such proposals. Logs an event when the constitution script has been successfully auto-filled.