cairo_lang_starknet::contract

Function get_contract_abi_functions

source
pub fn get_contract_abi_functions(
    db: &dyn SemanticGroup,
    contract: &ContractDeclaration,
    module_name: &str,
) -> Result<Vec<Aliased<ConcreteFunctionWithBodyId>>>
Expand description

Returns the ABI functions of a given contract. Assumes the given module is a contract module.