Expand description
Provides structures and traits for decoding and processing instructions within transactions.
The module includes the following main components:
InstructionMetadata
: Metadata associated with an instruction, capturing transaction context.DecodedInstruction
: Represents an instruction that has been decoded, with associated program ID, data, and accounts.InstructionDecoder
: A trait for decoding instructions into specific types.InstructionPipe
: A structure that processes instructions using a decoder and a processor.InstructionPipes
: An async trait for processing instructions within nested contexts.NestedInstruction
: Represents instructions with potential nested inner instructions, allowing for recursive processing.
These components enable the carbon-core
framework to handle Solana
transaction instructions efficiently, decoding them into structured types
and facilitating hierarchical processing.
Structs§
- Decoded
Instruction - A decoded instruction containing program ID, data, and associated accounts.
- Instruction
Metadata - Metadata associated with a specific instruction, including transaction-level details.
- Instruction
Pipe - A processing pipeline for instructions, using a decoder and processor.
- Nested
Instruction - Represents a nested instruction with metadata, including potential inner instructions.
- Nested
Instructions - Unsafe
Nested Builder
Constants§
Traits§
- Instruction
Decoder - A trait for decoding Solana instructions into a structured type.
- Instruction
Pipes - An async trait for processing instructions within nested contexts.
Type Aliases§
- Instruction
Processor Input Type - The input type for the instruction processor.
- Instructions
With Metadata