referrerpolicy=no-referrer-when-downgrade
pub trait Chain: TestExt {
    type Network: Network;
    type Runtime: Config;
    type RuntimeCall: Clone + Dispatchable<RuntimeOrigin = Self::RuntimeOrigin>;
    type RuntimeOrigin;
    type RuntimeEvent;
    type System;
    type OriginCaller;

    // Required methods
    fn account_data_of(
        account: <Self::Runtime as Config>::AccountId,
    ) -> AccountData<u128>;
    fn events() -> Vec<Self::RuntimeEvent>;

    // Provided method
    fn account_id_of(
        seed: &str,
    ) -> <<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<N> Chain for AssetHubWestend<N>
where N: Network,

Source§

impl<N> Chain for PenpalA<N>
where N: Network,

Source§

type Runtime = Runtime

Source§

type RuntimeCall = RuntimeCall

Source§

type RuntimeOrigin = RuntimeOrigin

Source§

type RuntimeEvent = RuntimeEvent

Source§

type System = Pallet<<PenpalA<N> as Chain>::Runtime>

Source§

type OriginCaller = OriginCaller

Source§

type Network = N

Source§

fn account_data_of( account: <<PenpalA<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>

Source§

fn events() -> Vec<<PenpalA<N> as Chain>::RuntimeEvent>

Source§

impl<N> Chain for PenpalB<N>
where N: Network,

Source§

type Runtime = Runtime

Source§

type RuntimeCall = RuntimeCall

Source§

type RuntimeOrigin = RuntimeOrigin

Source§

type RuntimeEvent = RuntimeEvent

Source§

type System = Pallet<<PenpalB<N> as Chain>::Runtime>

Source§

type OriginCaller = OriginCaller

Source§

type Network = N

Source§

fn account_data_of( account: <<PenpalB<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>

Source§

fn events() -> Vec<<PenpalB<N> as Chain>::RuntimeEvent>

Source§

impl<N> Chain for PeopleWestend<N>
where N: Network,

Source§

type Runtime = Runtime

Source§

type RuntimeCall = RuntimeCall

Source§

type RuntimeOrigin = RuntimeOrigin

Source§

type RuntimeEvent = RuntimeEvent

Source§

type System = Pallet<<PeopleWestend<N> as Chain>::Runtime>

Source§

type OriginCaller = OriginCaller

Source§

type Network = N

Source§

fn account_data_of( account: <<PeopleWestend<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>

Source§

fn events() -> Vec<<PeopleWestend<N> as Chain>::RuntimeEvent>

§

impl<N> Chain for BridgeHubWestend<N>
where N: Network,

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

type System = Pallet<<BridgeHubWestend<N> as Chain>::Runtime>

§

type OriginCaller = OriginCaller

§

type Network = N

§

fn account_data_of( account: <<BridgeHubWestend<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>

§

fn events() -> Vec<<BridgeHubWestend<N> as Chain>::RuntimeEvent>

§

impl<N> Chain for CollectivesWestend<N>
where N: Network,

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

type System = Pallet<<CollectivesWestend<N> as Chain>::Runtime>

§

type OriginCaller = OriginCaller

§

type Network = N

§

fn account_data_of( account: <<CollectivesWestend<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>

§

fn events() -> Vec<<CollectivesWestend<N> as Chain>::RuntimeEvent>

§

impl<N> Chain for CoretimeWestend<N>
where N: Network,

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

type System = Pallet<<CoretimeWestend<N> as Chain>::Runtime>

§

type OriginCaller = OriginCaller

§

type Network = N

§

fn account_data_of( account: <<CoretimeWestend<N> as Chain>::Runtime as Config>::AccountId, ) -> AccountData<u128>

§

fn events() -> Vec<<CoretimeWestend<N> as Chain>::RuntimeEvent>

§

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

Implementors§

impl<N: Network> Chain for AssetHubRococo<N>

impl<N: Network> Chain for BridgeHubRococo<N>

impl<N: Network> Chain for CoretimeRococo<N>

impl<N: Network> Chain for PeopleRococo<N>

impl<N: Network> Chain for Rococo<N>