pub trait XcmWeightInfo<RuntimeCall> {
Show 28 methods
// Required methods
fn withdraw_asset(_0: &MultiAssets) -> Weight;
fn reserve_asset_deposited(_0: &MultiAssets) -> Weight;
fn receive_teleported_asset(_0: &MultiAssets) -> Weight;
fn query_response(
query_id: &QueryId,
response: &Response,
max_weight: &u64
) -> Weight;
fn transfer_asset(
assets: &MultiAssets,
beneficiary: &MultiLocation
) -> Weight;
fn transfer_reserve_asset(
assets: &MultiAssets,
dest: &MultiLocation,
xcm: &Xcm<()>
) -> Weight;
fn transact(
origin_type: &OriginKind,
require_weight_at_most: &u64,
call: &DoubleEncoded<RuntimeCall>
) -> Weight;
fn hrmp_new_channel_open_request(
sender: &u32,
max_message_size: &u32,
max_capacity: &u32
) -> Weight;
fn hrmp_channel_accepted(recipient: &u32) -> Weight;
fn hrmp_channel_closing(
initiator: &u32,
sender: &u32,
recipient: &u32
) -> Weight;
fn clear_origin() -> Weight;
fn descend_origin(_0: &InteriorMultiLocation) -> Weight;
fn report_error(
query_id: &QueryId,
dest: &MultiLocation,
max_response_weight: &u64
) -> Weight;
fn deposit_asset(
assets: &MultiAssetFilter,
max_assets: &u32,
beneficiary: &MultiLocation
) -> Weight;
fn deposit_reserve_asset(
assets: &MultiAssetFilter,
max_assets: &u32,
dest: &MultiLocation,
xcm: &Xcm<()>
) -> Weight;
fn exchange_asset(give: &MultiAssetFilter, receive: &MultiAssets) -> Weight;
fn initiate_reserve_withdraw(
assets: &MultiAssetFilter,
reserve: &MultiLocation,
xcm: &Xcm<()>
) -> Weight;
fn initiate_teleport(
assets: &MultiAssetFilter,
dest: &MultiLocation,
xcm: &Xcm<()>
) -> Weight;
fn query_holding(
query_id: &QueryId,
dest: &MultiLocation,
assets: &MultiAssetFilter,
max_response_weight: &u64
) -> Weight;
fn buy_execution(fees: &MultiAsset, weight_limit: &WeightLimit) -> Weight;
fn refund_surplus() -> Weight;
fn set_error_handler(_0: &Xcm<RuntimeCall>) -> Weight;
fn set_appendix(_0: &Xcm<RuntimeCall>) -> Weight;
fn clear_error() -> Weight;
fn claim_asset(assets: &MultiAssets, ticket: &MultiLocation) -> Weight;
fn trap(_0: &u64) -> Weight;
fn subscribe_version(
query_id: &QueryId,
max_response_weight: &u64
) -> Weight;
fn unsubscribe_version() -> Weight;
}