referrerpolicy=no-referrer-when-downgrade

Trait xcm_emulator::RelayChain

source ·
pub trait RelayChain: Chain {
    type SovereignAccountOf: ConvertLocation<AccountIdOf<Self::Runtime>>;
    type MessageProcessor: ProcessMessage<Origin = ParaId> + ServiceQueues;

    // Required method
    fn init();

    // Provided methods
    fn child_location_of(id: ParaId) -> Location { ... }
    fn sovereign_account_id_of(location: Location) -> AccountIdOf<Self::Runtime> { ... }
    fn sovereign_account_id_of_child_para(
        id: ParaId,
    ) -> AccountIdOf<Self::Runtime> { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§