referrerpolicy=no-referrer-when-downgrade

Module snowbridge_core::location

source ·
Expand description

§Location

Location helpers for dealing with Tokens and Agents

Structs§

  • DescribeHereDeprecated
    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.
  • Unique identifier of a parachain.
  • Little-endian large integer type 256-bit unsigned integer.

Traits§

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

Type Aliases§

  • Creates an AgentId from a Location. An AgentId is a unique mapping to a Agent contract on Ethereum which acts as the sovereign account for the Location.
  • Convert a token location (relative to Ethereum) to a stable ID that can be used on the Ethereum side