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) c = SKey (SignKeyDSIGN c)
- theKeyPair ∷ Crypto c ⇒ Int → KeyPair kr c
- theVKey ∷ Crypto c ⇒ Int → VKey kr c
- theSKey ∷ ∀ c kr. Crypto c ⇒ Int → SKey kr c
- theKeyHash ∷ Crypto c ⇒ Int → KeyHash kr c
- theWitVKey ∷ GoodCrypto c ⇒ Int → SafeHash c EraIndependentTxBody → WitVKey 'Witness c
- theKeyHashObj ∷ Crypto c ⇒ Int → Credential kr c
- aScriptHashObj ∷ ∀ era kr. EraScript era ⇒ Proof era → Script era → Credential kr (EraCrypto era)
- theStakeReference ∷ Crypto c ⇒ Int → StakeReference c
Documentation
theWitVKey ∷ GoodCrypto c ⇒ Int → SafeHash c EraIndependentTxBody → WitVKey 'Witness c Source #
theKeyHashObj ∷ Crypto c ⇒ Int → Credential kr c Source #
aScriptHashObj ∷ ∀ era kr. EraScript era ⇒ Proof era → Script era → Credential kr (EraCrypto era) Source #
theStakeReference ∷ Crypto c ⇒ Int → StakeReference c Source #