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 XCMTransact
withOriginKind::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