Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CERTS era
- genTxCerts ∷ ∀ era. (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) ⇒ GenEnv era → PParams era → CertState era → SlotNo → TxIx → AccountState → Gen ([TxCert era], Coin, Coin, CertState era, [KeyPair 'Witness (EraCrypto era)], [(Script era, Script era)])
Documentation
This is a non-spec STS used to generate a sequence of certificates with witnesses.
Instances
genTxCerts ∷ ∀ era. (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) ⇒ GenEnv era → PParams era → CertState era → SlotNo → TxIx → AccountState → Gen ([TxCert era], Coin, Coin, CertState era, [KeyPair 'Witness (EraCrypto era)], [(Script era, Script era)]) Source #
Generate certificates and also return the associated witnesses and deposits and refunds required.