interface ModuleFamilyFunctions {
    account?: AccountInstance;
    addParent: (mod: ModuleInstance) => void;
    addressCache?: (
        direction: Direction,
        includePrivate: boolean,
    ) => undefined | AddressToWeakInstanceCache;
    modName?: string;
    parents: () => Promisable<ModuleInstance[]>;
    privateChildren: () => Promisable<ModuleInstance[]>;
    publicChildren: () => Promisable<ModuleInstance[]>;
    removeParent: (address: Lowercase<string>) => void;
    siblings: () => Promisable<ModuleInstance[]>;
}

Hierarchy (View Summary)

Properties

account?: AccountInstance
addParent: (mod: ModuleInstance) => void
addressCache?: (
    direction: Direction,
    includePrivate: boolean,
) => undefined | AddressToWeakInstanceCache
modName?: string
parents: () => Promisable<ModuleInstance[]>
privateChildren: () => Promisable<ModuleInstance[]>
publicChildren: () => Promisable<ModuleInstance[]>
removeParent: (address: Lowercase<string>) => void
siblings: () => Promisable<ModuleInstance[]>