cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.ValueFromList

Description

abstract the Value type family into a type class that can be interacted with somewhat generically.

Documentation

class Val val ⇒ ValueFromList val c | val → c where Source #

Methods

valueFromListInteger → [(PolicyID c, AssetName, Integer)] → val Source #

insert ∷ (IntegerIntegerInteger) → PolicyID c → AssetNameInteger → val → val Source #

gettriples ∷ val → (Integer, [(PolicyID c, AssetName, Integer)]) Source #

Instances

Instances details
Crypto c ⇒ ValueFromList (MaryValue c) c Source # 
Instance details

Defined in Test.Cardano.Ledger.ValueFromList