HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Modulecardano-ledger-shelley-test-1.9.0.0Haskell2010

Test.Cardano.Ledger.Shelley.Generator.Trace.TxCert

Synopsis
datadata CERTS era

This is a non-spec STS used to generate a sequence of certificates with witnesses.

Instances10STS, Embed, HasTrace, BaseM, Environment, Event, …
valuegenTxCerts
  1. :: (EraGen era, Embed (EraRule "DELPL" era) (CERTS era), Environment (EraRule "DELPL" era) ~ DelplEnv era, State (EraRule "DELPL" era) ~ CertState era, Signal (EraRule "DELPL" era) ~ TxCert era, Crypto c)
  2. => GenEnv c era
  3. -> PParams era
  4. -> CertState era
  5. -> SlotNo
  6. -> TxIx
  7. -> ChainAccountState
  8. -> Gen ([TxCert era], Coin, Coin, CertState era, [KeyPair Witness], [(Script era, Script era)])

Generate certificates and also return the associated witnesses and deposits and refunds required.