Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype HeadId = UnsafeHeadId ByteString
- newtype HeadSeed = UnsafeHeadSeed ByteString
- headIdToCurrencySymbol :: HeadId -> CurrencySymbol
- mkHeadId :: PolicyId -> HeadId
Documentation
Uniquely identifies a Hydra Head.
Instances
Unique seed to create a HeadId
XXX: This might actually be the HeadId
to the protocol and users? Then the
policy id of the cardano-specific implementation (being the result of minting
policy + seed) stays internal. A drawback is, that the seed is not such a
good "key" to find things about this head on explorers and indexers.
Instances
headIdToCurrencySymbol :: HeadId -> CurrencySymbol Source #