referrerpolicy=no-referrer-when-downgrade
pub trait Relay: Chain {
    type SovereignAccountOf: ConvertLocation<<Self::Runtime as Config>::AccountId>;
    type MessageProcessor: ProcessMessage<Origin = Id> + ServiceQueues;

    // Required method
    fn init();

    // Provided methods
    fn child_location_of(id: Id) -> Location { ... }
    fn sovereign_account_id_of(
        location: Location,
    ) -> <Self::Runtime as Config>::AccountId { ... }
    fn sovereign_account_id_of_child_para(
        id: Id,
    ) -> <Self::Runtime as Config>::AccountId { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<N> RelayChain for Westend<N>
where N: Network,

Implementors§