referrerpolicy=no-referrer-when-downgrade

Crate snowbridge_pallet_system

source ·
Expand description

Governance API for controlling the Ethereum side of the bridge

§Extrinsics

§Agents

Agents are smart contracts on Ethereum that act as proxies for consensus systems on Polkadot networks.

The create_agent extrinsic should be called via an XCM Transact instruction from the sibling parachain.

§Channels

Each sibling parachain has its own dedicated messaging channel for sending and receiving messages. As a prerequisite to creating a channel, the sibling should have already created an agent using the create_agent extrinsic.

§Governance

Only Polkadot governance itself can call these extrinsics. Delivery fees are waived.

Typically, Polkadot governance will use the force_transfer_native_from_agent and force_update_channel and extrinsics to manage agents and channels for system parachains.

§Polkadot-native tokens on Ethereum

Tokens deposited on AssetHub pallet can be bridged to Ethereum as wrapped ERC20 tokens. As a prerequisite, the token should be registered first.

Re-exports§

Modules§

  • Helpers for implementing runtime api
  • Governance API for controlling the Ethereum side of the bridge
  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.
  • Autogenerated weights for snowbridge_system

Enums§

  • Whether a fee should be withdrawn to an account for sending an outbound message

Traits§

Functions§

Type Aliases§