pub struct OpenLimitOrderCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub funder: &'b AccountInfo<'a>,
pub owner: &'b AccountInfo<'a>,
pub limit_order: &'b AccountInfo<'a>,
pub limit_order_mint: &'b AccountInfo<'a>,
pub limit_order_token_account: &'b AccountInfo<'a>,
pub fusion_pool: &'b AccountInfo<'a>,
pub token2022_program: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub associated_token_program: &'b AccountInfo<'a>,
pub metadata_update_auth: &'b AccountInfo<'a>,
pub __args: OpenLimitOrderInstructionArgs,
}
Expand description
open_limit_order
CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>
The program to invoke.
funder: &'b AccountInfo<'a>
§owner: &'b AccountInfo<'a>
§limit_order: &'b AccountInfo<'a>
§limit_order_mint: &'b AccountInfo<'a>
§limit_order_token_account: &'b AccountInfo<'a>
§fusion_pool: &'b AccountInfo<'a>
§token2022_program: &'b AccountInfo<'a>
§system_program: &'b AccountInfo<'a>
§associated_token_program: &'b AccountInfo<'a>
§metadata_update_auth: &'b AccountInfo<'a>
§__args: OpenLimitOrderInstructionArgs
The arguments for the instruction.
Implementations§
Source§impl<'a, 'b> OpenLimitOrderCpi<'a, 'b>
impl<'a, 'b> OpenLimitOrderCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: OpenLimitOrderCpiAccounts<'a, 'b>, args: OpenLimitOrderInstructionArgs, ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> Freeze for OpenLimitOrderCpi<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for OpenLimitOrderCpi<'a, 'b>
impl<'a, 'b> !Send for OpenLimitOrderCpi<'a, 'b>
impl<'a, 'b> !Sync for OpenLimitOrderCpi<'a, 'b>
impl<'a, 'b> Unpin for OpenLimitOrderCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for OpenLimitOrderCpi<'a, 'b>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more