Type alias ProtocolImplementation<P, PN>

ProtocolImplementation<P, PN>: PN extends ProtocolName
    ? P extends keyof WormholeRegistry.ProtocolToPlatformMapping[PN]
        ? NonNullable<WormholeRegistry.ProtocolToPlatformMapping[PN][P]>
        : never
    : never

The platform specific implementation from the registry returns the ProtocolInitializer for constructing an instance of the Platform implementation

Type Parameters

Generated using TypeDoc