referrerpolicy=no-referrer-when-downgrade

Module location

Source
Expand description

§Location

Location helpers for dealing with Tokens and Agents

Structs§

DescribeGlobalPrefix
DescribeHere
This looks like DescribeTerminus that was added to xcm-builder. However this does an extra encode to the Vector producing a different output to DescribeTerminus. DescribeHere should NOT be used for new code. This is left here for backwards compatibility of channels and agents.
DescribeTokenTerminal
ParaId
Unique identifier of a parachain.
SiblingParaId
U256
Little-endian large integer type 256-bit unsigned integer.

Traits§

IsSystem
Determine if a parachain is a system parachain or not.

Type Aliases§

AgentId
AgentIdOf
Creates an AgentId from a Location. An AgentId is a unique mapping to an Agent contract on Ethereum which acts as the sovereign account for the Location. Resolves Polkadot locations (as seen by Ethereum) to unique AgentId identifiers.
TokenId
TokenIdOf
Convert a token location (relative to Ethereum) to a stable ID that can be used on the Ethereum side