Skip to content

File: src/Xcm/v5/Location/Location.sol

Location

Kind: source

Structs

struct Location

A relative path between state-bearing consensus systems.

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

Top-Level Functions

  • function parent() internal pure returns (struct Location)
    • Creates a Location struct representing the parent location (i.e., one level up in the hierarchy).

Created with solidity-doc-generator