Skip to main content

Module fiber

Module fiber 

Source
Expand description

Fiber program re-exports for direct CPI access. Use when your program is executed via thread_exec and needs to manage fibers directly (cannot CPI back to thread program due to reentrancy).

Modules§

cpi

Structs§

AntegenFiber
Type representing the program.
CompiledInstructionV0
Compiled instruction containing deduplicated accounts
FiberState
Legacy fiber state — predates ALT support. Still readable on mainnet, never re-allocated. New writes always produce FiberVersionedState.
FiberVersionedState
Versioned fiber state. Carries version as the first field so future migrations have a leading gate, and trailing lookup_tables so v0 message compilation can attach an ALT union without runtime account churn.

Enums§

Fiber
Discriminator-tagged read view over either fiber shape on disk.

Statics§

ID
The static program ID

Functions§

decompile_instruction
Decompile a compiled instruction back to a regular instruction