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§
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 Methods§
fn account_id_of(seed: &str) -> AccountId
Object Safety§
This trait is not object safe.