Skip to content
solidity
import "solidity-scale-codec/src/Xcm/v5/Location/Location.sol";

File-Level Functions

parent()

solidity
function parent() internal pure returns (struct Location)

Creates a `Location` struct representing the parent location (i.e., one level up in the hierarchy).

File-Level Structs

Location

solidity
struct Location

A relative path between state-bearing consensus systems.

FieldTypeDescription
parentsuint8The number of parent junctions at the beginning of this Location.
interiorJunctionsThe interior (i.e. non-parent) junctions that this Location contains. See `Junctions` struct for details.

Location

Kind: source