Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- newtype SKey (kr ∷ KeyRole) = SKey (SignKeyDSIGN DSIGN)
- theKeyPair ∷ Int → KeyPair kr
- theVKey ∷ Int → VKey kr
- theSKey ∷ ∀ kr. Int → SKey kr
- theKeyHash ∷ Int → KeyHash kr
- theWitVKey ∷ Int → SafeHash EraIndependentTxBody → WitVKey 'Witness
- theKeyHashObj ∷ Int → Credential kr
- aScriptHashObj ∷ ∀ era kr. EraScript era ⇒ Proof era → Script era → Credential kr
- theStakeReference ∷ Int → StakeReference
Documentation
theKeyPair ∷ Int → KeyPair kr Source #
theKeyHash ∷ Int → KeyHash kr Source #
theKeyHashObj ∷ Int → Credential kr Source #
aScriptHashObj ∷ ∀ era kr. EraScript era ⇒ Proof era → Script era → Credential kr Source #