Skip to main content

effective_runtime_dispatch_surface

Function effective_runtime_dispatch_surface 

Source
fn effective_runtime_dispatch_surface<'hir>(
    hir: &'hir Hir<'hir>,
    bases: &[ContractId],
) -> Vec<FunctionId>
Expand description

Runtime entry points reachable on the deployed contract: the most-derived implementation of each (name, parameter signature) plus the most-derived receive / fallback. bases must be the C3 linearization (leaf first). Later entries with the same key are overridden and dropped. Constructors and modifiers are excluded.