Skip to main content

Module state

Module state 

Source
Expand description

Plain, framework-agnostic inputs to signer resolution.

The canonical Molpha registry account types (RegistryState, Node) live in the downstream program — they are framework-specific (Anchor #[account], Pinocchio, …). This crate only needs the handful of plain fields the resolver reads, so callers pass a RegistryView and a slice of already-parsed NodeEntrys.

Structs§

NodeEntry
A single signer’s registry entry, already parsed and owner-checked by the caller.
RegistryView
Plain view of the registry fields needed to resolve and order signers.

Enums§

RegistryTransitionType
The kind of the registry’s most recent membership transition.

Constants§

VIRTUAL_INDEX
Sentinel index for a removed/virtual registry slot (mirrors the program constant).