loom_defi_preloader::preloader_actorFunction preload_market_state
Source pub async fn preload_market_state<P, T, 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>>,
) -> WorkerResultwhere
T: Transport +
Clone,
N: Network,
P: Provider<T, N> +
Send +
Sync +
Clone + 'static,
DB: DatabaseRef + Database + DatabaseCommit +
Send +
Sync +
Clone + 'static,