Skip to main content

load_contracts

Function load_contracts 

Source
pub fn load_contracts(
    path: &Path,
) -> SafeResult<BTreeMap<String, AuthorityContract>>
Expand description

Load and validate all authority contracts from a repo manifest file.

The manifest may also contain other top-level sections (for example pulls); this loader ignores everything except contracts.