Module pallet_inv4::lookup
source · Expand description
Custom account lookup implementation.
§Overview
This module implements the [StaticLookup
] trait allowing for convenient lookup of a core’s
AccountId from its CoreId.
This implementation abstracts on top of two lower level functions:
lookup_core
: Used for accessing the storage and retrieving a core’s AccountId.lookup_address
: Used for converting from aMultiAddress::Index
that contains a CoreId to this core’s AccountId.
Structs§
- StaticLookup implementor using MultiAddress::Index for looking up cores by id.