pub struct SetDefaultClpRewardRateCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub fusion_pools_config: &'b AccountInfo<'a>,
pub fee_authority: &'b AccountInfo<'a>,
pub __args: SetDefaultClpRewardRateInstructionArgs,
}
Expand description
set_default_clp_reward_rate
CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>
The program to invoke.
fusion_pools_config: &'b AccountInfo<'a>
§__args: SetDefaultClpRewardRateInstructionArgs
The arguments for the instruction.
Implementations§
Source§impl<'a, 'b> SetDefaultClpRewardRateCpi<'a, 'b>
impl<'a, 'b> SetDefaultClpRewardRateCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: SetDefaultClpRewardRateCpiAccounts<'a, 'b>, args: SetDefaultClpRewardRateInstructionArgs, ) -> 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 SetDefaultClpRewardRateCpi<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for SetDefaultClpRewardRateCpi<'a, 'b>
impl<'a, 'b> !Send for SetDefaultClpRewardRateCpi<'a, 'b>
impl<'a, 'b> !Sync for SetDefaultClpRewardRateCpi<'a, 'b>
impl<'a, 'b> Unpin for SetDefaultClpRewardRateCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for SetDefaultClpRewardRateCpi<'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