cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellNone
LanguageHaskell2010

Test.Cardano.Ledger.Generic.Indexed

Description

Tools for building unique Key (and related types) by just supplying an Int Each Int returns a different Key (or related type) Useful when writing unit tests

Synopsis

Documentation

newtype SKey (kr ∷ KeyRole) Source #

A signing key

Constructors

SKey (SignKeyDSIGN DSIGN) 

theKeyPair ∷ ∀ (kr ∷ KeyRole). IntKeyPair kr Source #

theVKey ∷ ∀ (kr ∷ KeyRole). IntVKey kr Source #

theSKey ∷ ∀ (kr ∷ KeyRole). IntSKey kr Source #

theKeyHash ∷ ∀ (kr ∷ KeyRole). IntKeyHash kr Source #

theKeyHashObj ∷ ∀ (kr ∷ KeyRole). IntCredential kr Source #

aScriptHashObj ∷ ∀ era (kr ∷ KeyRole). EraScript era ⇒ Proof era → Script era → Credential kr Source #