referrerpolicy=no-referrer-when-downgrade

Trait xcm_emulator::Chain

source ·
pub trait Chain: TestExt {
    type Network: Network;
    type Runtime: SystemConfig;
    type RuntimeCall: Clone + Dispatchable<RuntimeOrigin = Self::RuntimeOrigin>;
    type RuntimeOrigin;
    type RuntimeEvent;
    type System;
    type OriginCaller;

    // Required methods
    fn account_data_of(
        account: AccountIdOf<Self::Runtime>,
    ) -> AccountData<Balance>;
    fn events() -> Vec<<Self as Chain>::RuntimeEvent>;

    // Provided method
    fn account_id_of(seed: &str) -> AccountId { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§