Function is_legit_token

Source
pub fn is_legit_token(
    token_address: &Pubkey,
    central_context: &Arc<CentralContext>,
) -> bool
Expand description

Check if a token is legitimate based on its Metaplex metadata

A token is considered legit if:

  1. It has Metaplex metadata
  2. The update authority matches a known legitimate launchpad (Raydium Launchpad or Pumpfun)

Results are cached in the central context for performance.