Module

Ctl.Internal.Types.EraSummaries

#EraSummary

newtype EraSummary

start: Era bound which captures the time, slot and epoch at which the era starts, relative to the start of the network.

end: Era bound which captures the time, slot and epoch at which the era ends, relative to the start of the network.

parameters: Era parameters that can vary across hard forks.

Constructors

Instances

#EraSummaryParameters

newtype EraSummaryParameters

epochLength: Epoch length in number of slots.

slotLength: Slot length in milliseconds.

safe_zone: Zone in which it is guaranteed that no hard fork can take place.

Constructors

Instances

#EraSummaryTime

newtype EraSummaryTime

time: Time in seconds relative to the start time of the network.

slot: Absolute slot number. Ogmios returns a number 0-18446744073709552000 but our Slot is a Rust u64 which has precision up to 18446744073709551615 (note 385 difference). We treat this as neglible instead of defining AbsSlot BigInt. See https://github.com/Plutonomicon/cardano-transaction-lib/issues/632 for details.

epoch: Epoch number.

Constructors

Instances

#RelativeTime

newtype RelativeTime

A time in seconds relative to another one (typically, system start or era start).

Constructors

Instances

#SafeZone

newtype SafeZone

Number of slots from the tip of the ledger in which it is guaranteed that no hard fork can take place. This should be (at least) the number of slots in which we are guaranteed to have k blocks.

Constructors

Instances

Modules