Structs§
- Compiled
Instruction Data - Compiled instruction data for space-efficient storage
- Compiled
Instruction V0 - Compiled instruction containing deduplicated accounts
- Fiber
State - Represents a single fiber (instruction) in a thread’s execution sequence. Owned by the Fiber Program. Thread PDA is the universal signer/payer.
- Payment
Details - Struct to hold payment details
- Serializable
Account Meta - Serializable version of AccountMeta
- Serializable
Instruction - Serializable version of Solana’s Instruction for easier handling
- Thread
- Tracks the current state of a transaction thread on Solana.
- Thread
Config - Global configuration for the thread program
Enums§
- Schedule
- Tracks the execution schedule - when the thread last ran and when it should run next (was: TriggerContext)
- Signal
- Signal from a fiber about what should happen after execution. Emitted via set_return_data(), received by thread program via get_return_data().
- Trigger
- The triggering conditions of a thread.
Constants§
- CURRENT_
THREAD_ VERSION - Current version of the Thread structure.
- PAYER_
PUBKEY - Static pubkey for the payer placeholder - this is a placeholder address “AntegenPayer1111111111111111111111111111111” in base58
- SEED_
THREAD_ FIBER
Traits§
- Commission
Calculator - Trait for calculating commission fees
- Fiber
Instruction Processor - Trait for processing fiber instructions
- Nonce
Processor - Trait for handling nonce account operations
- Payment
Distributor - Trait for distributing payments
- Payment
Processor - Trait for processing payments
- Thread
Seeds - Trait for getting thread seeds for signing
- Trigger
Processor - Trait for processing trigger validation and schedule updates
Functions§
- compile_
instruction - Compile an instruction into a space-efficient format
- decompile_
instruction - Decompile a compiled instruction back to a regular instruction