Skip to main content

load_exchange_accounts

Function load_exchange_accounts 

Source
pub async fn load_exchange_accounts(
    rpc_url: &str,
    exchange_addr: &str,
) -> Vec<ManagedAccountPair>
Expand description

Load all account addresses from the Exchange contract via RPC. Returns empty vec on any failure (non-fatal for feed startup).