Automatically generates the callback instruction for a computation. The callback function must
be named <encrypted_ix>_callback and take a single SignedComputationOutputs<T> argument in
addition to the Context parameter.
The #arcium_program attribute defines the module
containing all instruction handlers defining all entries into a Solana program.
Under the hood, it gets expanded to Anchor’s #[program] and some additional definitions needed
for Arcium.
Validates the structure for computation callbacks by checking the encrypted instruction exists,
validating required account fields, and ensuring the structure has the correct fields for
callbacks:
Validates the structure for initializing computation definitions by checking the encrypted
instruction exists, validating required account fields, and implementing the InitCompDefAccs
trait to make using it with computation definitions easy:
Validates the structure for queuing computations by checking the encrypted instruction exists,
validating required account fields, and implementing the QueueCompAccs trait to make using it
with queuing computations easy: