Attribute Macro system_input

Source
#[system_input]
Expand description

This macro attribute is used to define a BOLT system input.

The input can be defined as a struct and will be transformed into an Anchor context.

§Example

#[system_input]
pub struct Components {
   pub position: Position,
}