pub trait CoreAccountDerivation<T: Config> {
// Required methods
fn derive_core_account(core_id: T::CoreId) -> T::AccountId;
fn core_location(core_id: T::CoreId) -> Junctions;
}
Expand description
Trait providing the XCM location and the derived account of a core.
Required Methods§
sourcefn derive_core_account(core_id: T::CoreId) -> T::AccountId
fn derive_core_account(core_id: T::CoreId) -> T::AccountId
Derives the core’s AccountId.
sourcefn core_location(core_id: T::CoreId) -> Junctions
fn core_location(core_id: T::CoreId) -> Junctions
Specifies a core’s location.
Object Safety§
This trait is not object safe.