Struct continuation_router::processor::ActionContext
source · [−]pub struct ActionContext<'a, 'b, 'c, 'info, T> {
pub program_id: &'a Pubkey,
pub action: &'b T,
pub remaining_accounts: &'c [AccountInfo<'info>],
pub token_program: AccountInfo<'info>,
pub swap_program: AccountInfo<'info>,
pub owner: AccountInfo<'info>,
}Fields
program_id: &'a PubkeyCurrently executing program id.
action: &'b TDeserialized accounts.
remaining_accounts: &'c [AccountInfo<'info>]Remaining accounts given but not deserialized or validated. Be very careful when using this directly.
token_program: AccountInfo<'info>The spl_token program.
swap_program: AccountInfo<'info>The relevant swap program.
owner: AccountInfo<'info>The owner of all involved token accounts.