Skip to main content

analyze_contract

Function analyze_contract 

Source
pub async fn analyze_contract(
    address: &str,
    chain: &str,
    client: &dyn ChainClient,
    http_client: &Client,
) -> Result<ContractAnalysis>
Expand description

Run a full contract analysis pipeline on an address.

Orchestrates all submodules: source retrieval, proxy detection, access control, vulnerability scanning, DeFi checks, and external intel.