Module dimensions

Module dimensions 

Source

Enums§

IndexDimension
A queryable dimension for the checkpoint inverted index.

Constants§

ANY_PACKAGE_VALUE
Singleton value for the global IndexDimension::AnyPackageWrite marker: every package write maps to the same key. Like EVENT_EXTANT_VALUE, it is a single placeholder byte so the encoded key keeps the standard [tag, value...] shape and passes BitmapKey::new’s length invariant.
EVENT_EXTANT_VALUE
Singleton value for the internal IndexDimension::EventExtant marker: every real event maps to the same key. It carries a single placeholder byte so the encoded row key has the standard [tag, value...] shape and passes BitmapKey::new’s length invariant (dimension keys must be at least two bytes) without a per-tag carve-out. The marker is a singleton — one row per bucket, not per event — so the extra byte costs ~1 byte per bucket-row.
TX_UNIVERSE_VALUE
Singleton value for the internal IndexDimension::TxUniverse marker. Like EVENT_EXTANT_VALUE, it is a single placeholder byte so the encoded key has the standard [tag, value...] shape and passes BitmapKey::new’s length invariant. The key never reaches storage — backends recognize the tag at scan time and synthesize full buckets over the requested range.

Functions§

append_dimension_value_component
Append one component to a compound dimension value.
append_separated_dimension_value_component
Append one separator-prefixed component to a compound dimension value.
emit_module_value
Build an EmitModule compound value at the desired specificity.
encode_dimension_key
Encode a dimension value into a row key component: [tag_byte][value_bytes].
event_type_value
Build an EventType compound value at the desired specificity. instantiation_bcs is the BCS encoding of Vec<TypeTag>, used only when matching a fully instantiated generic type.
for_each_event_dimension
Visit all event-space dimensions for a transaction.
for_each_transaction_dimension
Visit all tx-space dimensions for a transaction.
move_call_value
Build a MoveCall compound value at the desired specificity.
write_dimension_key
Append a dimension key into out using the [tag_byte][value_bytes] format.
write_emit_module_value
Append an EmitModule compound value at the desired specificity into out.
write_event_type_value
Append an EventType compound value at the desired specificity into out.
write_move_call_value
Append a MoveCall compound value at the desired specificity into out.