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). Int → KeyPair kr Source #

theVKey ∷ ∀ (kr ∷ KeyRole). Int → VKey kr Source #

theSKey ∷ ∀ (kr ∷ KeyRole). Int → SKey kr Source #

theKeyHash ∷ ∀ (kr ∷ KeyRole). Int → KeyHash kr Source #

theKeyHashObj ∷ ∀ (kr ∷ KeyRole). Int → Credential kr Source #

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