pub struct Settle {
pub user: Address,
pub payer: Address,
pub staking_mint: Address,
pub reward_mint: Address,
pub staking_config: Address,
pub user_stake_position: Address,
pub launchpad_reward_accrual: Address,
pub dex_reward_accrual: Address,
pub user_reward_debt: Address,
}Expand description
Accounts.
Fields§
§user: Address§payer: Address§staking_mint: Address§reward_mint: Address§staking_config: Address§user_stake_position: Address§launchpad_reward_accrual: Address§dex_reward_accrual: Address§user_reward_debt: AddressImplementations§
Source§impl Settle
impl Settle
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settle
impl RefUnwindSafe for Settle
impl Send for Settle
impl Sync for Settle
impl Unpin for Settle
impl UnsafeUnpin for Settle
impl UnwindSafe for Settle
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