Expand description
Crank marker type emitted by the #[hopper::crank] attribute.
A CrankMarker is a compile-time const that sits next to the
decorated handler. It records the handler’s name and an optional
set of seed hints used by hopper manager crank run to resolve
PDA accounts autonomously.
Indexers and off-chain tools walk the program’s emitted const
items, collect every CrankMarker, and surface the resulting set
as “this program’s crankable instruction list”. Having the data
stamped in the binary (rather than only in the off-chain
manifest) keeps the ground truth on chain.
Structs§
- Crank
Marker - Compile-time descriptor for a crank handler.