| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ledger.Slot
Contents
Description
Slots and slot ranges.
Documentation
The slot number. This is a good proxy for time, since on the Cardano blockchain slots pass at a constant rate.
Instances
width :: SlotRange -> Maybe Integer Source #
Number of Slots covered by the interval, if finite. width (from x) == Nothing.