Function preload_market_state

Source
pub async fn preload_market_state<P, N, DB>(
    client: P,
    copied_accounts_vec: Vec<Address>,
    new_accounts_vec: Vec<(Address, u64, U256, Option<Bytes>)>,
    token_balances_vec: Vec<(Address, Address, U256)>,
    market_state: SharedState<MarketState<DB>>,
    account_nonce_balance_state: Option<SharedState<AccountNonceAndBalanceState>>,
) -> WorkerResult
where N: Network, P: Provider<N> + Send + Sync + Clone + 'static, DB: DatabaseRef + Database + DatabaseCommit + Send + Sync + Clone + 'static,