bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Gen.Bcc.Api.Typed

Contents

Synopsis

Documentation

genTxOutBccEra era → Gen (TxOut era) Source #

genUTxOBccEra era → Gen (UTxO era) Source #

Scripts

genScriptScriptLanguage lang → Gen (Script lang) Source #

genScriptInEraBccEra era → Gen (ScriptInEra era) Source #

genSigningKeyKey keyrole ⇒ AsType keyrole → Gen (SigningKey keyrole) Source #

genTx ∷ ∀ era. IsBccEra era ⇒ BccEra era → Gen (Tx era) Source #

genTxBodyIsBccEra era ⇒ BccEra era → Gen (TxBody era) Source #

genValue ∷ Gen AssetId → Gen Quantity → Gen Value Source #

genValueDefault ∷ Gen Value Source #

Generate a Value with any asset ID and a positive or negative quantity.

genVerificationKeyKey keyrole ⇒ AsType keyrole → Gen (VerificationKey keyrole) Source #

genVerificationKeyHashKey keyrole ⇒ AsType keyrole → Gen (Hash keyrole) Source #

genTxOutValueBccEra era → Gen (TxOutValue era) Source #

genValueForTxOut ∷ Gen Value Source #

Generate a Value suitable for usage in a transaction output, i.e. any asset ID and a positive quantity.

genValueForMinting ∷ Gen Value Source #

Generate a Value suitable for minting, i.e. non-BCC asset ID and a positive or negative quantity.