Function mango_v4::health::new_fixed_order_account_retriever
source · pub fn new_fixed_order_account_retriever<'a, 'info>(
ais: &'a [AccountInfo<'info>],
account: &MangoAccountRef<'_>,
now_slot: u64
) -> Result<FixedOrderAccountRetriever<AccountInfoRef<'a, 'info>>>
Expand description
Creates a FixedOrderAccountRetriever where all banks are present
Note that this does not eagerly validate that the right accounts were passed. That validation happens only when banks, perps etc are requested.