Skip to main content

Type Alias: MultiApp<T>

type MultiApp<T> = MultiApps<T>[FactoryNames<T>];

Defined in: packages/overcast-core/src/multiapp.ts:86

Any one of a multi-app's apps, as the union of their exact types (OvercastApp<EvmLayer> or OvercastApp<SolanaLayer>) rather than one app over the union layer — so it needs no cast to produce and stays honest about which app is which.

Reads work on it as-is: OvercastReader carries no layer, so the reads on chain (balance, getOption, …) plus api, utils, owner and rfq are identical across chains and callable straight off the union. Writes are layer-typed, so those want a single chain's app — reach for MultiOvercastApp.get, or switch on the name from MultiOvercastApp.entries.

Type Parameters

Type Parameter
T extends ProtocolFactories