referrerpolicy=no-referrer-when-downgrade

Module xcm_helpers

Source

Functions§

build_xcm_send_authorize_upgrade_call
Builds a pallet_xcm::send call to authorize an upgrade at the provided location, wrapped in an unpaid XCM Transact with OriginKind::Superuser.
call_hash_of
Encodes a runtime call and returns its H256 hash
dispatch_whitelisted_call_with_preimage
Wraps a runtime call in a whitelist preimage call and dispatches it
fee_asset
Helper method to get the fee asset used in multiple assets transfer
find_mq_processed_id
Helper method to find the ID of the first Event::Processed event in the chain’s events.
find_xcm_sent_message_id
Helper method to find the message ID of the first Event::Sent event in the chain’s events.
get_amount_from_versioned_assets
non_fee_asset
Helper method to get the non-fee asset used in multiple assets transfer
xcm_transact_paid_execution
Helper method to build a XCM with a Transact instruction and paying for its execution
xcm_transact_unpaid_execution
Helper method to build a XCM with a Transact instruction without paying for its execution