referrerpolicy=no-referrer-when-downgrade

Module polkadot_runtime_common::xcm_sender

source ·
Expand description

XCM sender for relay chain.

Structs§

  • XCM sender for relay chain. It only sends downward message.
  • Implementation of PriceForMessageDelivery which returns a fixed price.
  • Implementation of PriceForMessageDelivery which returns an exponentially increasing price. The formula for the fee is based on the sum of a base fee plus a message length fee, multiplied by a specified factor. In mathematical form:
  • Implementation of xcm_builder::EnsureDelivery which helps to ensure delivery to the ParaId parachain (sibling or child). Deposits existential deposit for origin (if needed). Deposits estimated fee to the origin account (if needed). Allows to trigger additional logic for specific ParaId (e.g. open HRMP channel) (if needed).

Traits§

  • Ensure more initialization for ParaId. (e.g. open HRMP channels, …)
  • Simple value-bearing trait for determining/expressing the assets required to be paid for a messages to be delivered to a parachain.