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§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

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

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

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

§

type OriginCaller = OriginCaller

§

type Network = N

§

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

§

fn events() -> Vec<<AssetHubWestend<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 PenpalA<N>
where N: Network,

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

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

§

type OriginCaller = OriginCaller

§

type Network = N

§

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

§

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

§

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

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

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

§

type OriginCaller = OriginCaller

§

type Network = N

§

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

§

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

§

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

§

type Network = N

§

type Runtime = Runtime

§

type RuntimeCall = RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

§

type RuntimeEvent = RuntimeEvent

§

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

§

type OriginCaller = OriginCaller

§

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

§

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

Implementors§