cardano-ledger-conway-1.25.0.0: Cardano ledger with an updated on-chain governance system.
Safe HaskellNone
LanguageHaskell2010

Test.Cardano.Ledger.Conway.Era

Synopsis

Documentation

mkConwayTestAccountState ∷ ConwayEraAccounts era ⇒ CompactForm Coin → Maybe (KeyHash 'StakePool) → Maybe DRep → AccountState era Source #

similar to mkShelleyTestAccountState, but it ignores the mPtr, and doesn't need to test that mDRep is SNothing, since this is the Conway Era, where DReps can be allocated.

Orphan instances