package tezos-protocol-014-PtKathma
An `Index.t` is a possible value for a slot index. We assume this value to be a positive 8-bit integer. Note that this is a hard constraint, which is independent of protocol constants. If a choice is ever made to increase the size of available slots in the protocol, we also need to change this module to accommodate for higher values.
val encoding : t Tezos_protocol_environment_014_PtKathma.Data_encoding.t
val pp : Tezos_protocol_environment_014_PtKathma.Format.formatter -> t -> unit
val zero : t
val max_value : t
val of_int : int -> t option
of_int n
constructs a`Slot_index.t` May fail with:
Dal_invalid_slot_header n
ifn
is either negative or greater thanmax_slot_value
.
val to_int : t -> int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>