cairo_lang_starknet::contract

Function find_contracts

source
pub fn find_contracts(
    db: &dyn SemanticGroup,
    crate_ids: &[CrateId],
) -> Vec<ContractDeclaration>
Expand description

Finds the inline modules annotated as contracts in the given crate_ids and returns the corresponding ContractDeclarations.