Function mango_v4::mango_v4::flash_loan_swap_begin
source · pub fn flash_loan_swap_begin<'key, 'accounts, 'remaining, 'info>(
ctx: Context<'key, 'accounts, 'remaining, 'info, FlashLoanSwapBegin<'info>>,
loan_amount: u64
) -> Result<()>
Expand description
A version of flash_loan_begin that’s specialized for swaps and needs fewer bytes in the transaction