cardano-ledger-mary-1.7.0.2: Cardano ledger with multiasset support.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Mary.Arbitrary

Synopsis

Documentation

genMultiAssetZeroCrypto c ⇒ Gen (MultiAsset c) Source #

For tests, because insertMultiAsset called through genMultiAsset filters out zero values

genPositiveIntGen Int Source #

Better generator for a positive Int that explores more values

genNegativeIntGen Int Source #

Better generator for a Negative Int that explores more values

genNonNegativeIntGen Int Source #

Better generator for a Non-Negative Int that explores more values

Orphan instances

Arbitrary AssetName Source # 
Instance details

Crypto c ⇒ Arbitrary (CompactForm (MaryValue c)) Source # 
Instance details

(EraTxOut era, EraTxCert era, Era era, Arbitrary (TxOut era), Arbitrary (PParamsHKD StrictMaybe era), Arbitrary (TxCert era)) ⇒ Arbitrary (MaryTxBody era) Source # 
Instance details

Methods

arbitraryGen (MaryTxBody era) Source #

shrinkMaryTxBody era → [MaryTxBody era] Source #

Crypto c ⇒ Arbitrary (MaryValue c) Source # 
Instance details

Crypto c ⇒ Arbitrary (MultiAsset c) Source # 
Instance details

Crypto c ⇒ Arbitrary (PolicyID c) Source # 
Instance details