Skip to main content

Crate solana_instruction_view

Crate solana_instruction_view 

Source
Expand description

Lightweight types for directing the execution of Solana programs.

This crate offers views and zero-copy types to interact with program instructions and accounts. As a result, it reduces compute units consumption. This is achieved by defining types that hold references instead of owning the required data.

Modules§

cpicpi
Cross-program invocation helpers.

Macros§

seeds
Convenience macro for constructing a [Seed; N] array from a list of seeds to create a Signer.

Structs§

InstructionAccount
Describes an account during instruction execution.
InstructionView
Information about an instruction.