pub trait XcmWeightInfo<Call> {
Show 48 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: &u64, response: &Response, max_weight: &Weight, querier: &Option<MultiLocation> ) -> Weight; fn transfer_asset( assets: &MultiAssets, beneficiary: &MultiLocation ) -> Weight; fn transfer_reserve_asset( assets: &MultiAssets, dest: &MultiLocation, xcm: &Xcm<()> ) -> Weight; fn transact( origin_kind: &OriginKind, require_weight_at_most: &Weight, call: &DoubleEncoded<Call> ) -> 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: &Junctions) -> Weight; fn report_error(_0: &QueryResponseInfo) -> Weight; fn deposit_asset( assets: &MultiAssetFilter, beneficiary: &MultiLocation ) -> Weight; fn deposit_reserve_asset( assets: &MultiAssetFilter, dest: &MultiLocation, xcm: &Xcm<()> ) -> Weight; fn exchange_asset( give: &MultiAssetFilter, want: &MultiAssets, maximal: &bool ) -> Weight; fn initiate_reserve_withdraw( assets: &MultiAssetFilter, reserve: &MultiLocation, xcm: &Xcm<()> ) -> Weight; fn initiate_teleport( assets: &MultiAssetFilter, dest: &MultiLocation, xcm: &Xcm<()> ) -> Weight; fn report_holding( response_info: &QueryResponseInfo, assets: &MultiAssetFilter ) -> Weight; fn buy_execution(fees: &MultiAsset, weight_limit: &WeightLimit) -> Weight; fn refund_surplus() -> Weight; fn set_error_handler(_0: &Xcm<Call>) -> Weight; fn set_appendix(_0: &Xcm<Call>) -> Weight; fn clear_error() -> Weight; fn claim_asset(assets: &MultiAssets, ticket: &MultiLocation) -> Weight; fn trap(_0: &u64) -> Weight; fn subscribe_version(query_id: &u64, max_response_weight: &Weight) -> Weight; fn unsubscribe_version() -> Weight; fn burn_asset(_0: &MultiAssets) -> Weight; fn expect_asset(_0: &MultiAssets) -> Weight; fn expect_origin(_0: &Option<MultiLocation>) -> Weight; fn expect_error(_0: &Option<(u32, Error)>) -> Weight; fn expect_transact_status(_0: &MaybeErrorCode) -> Weight; fn query_pallet( module_name: &Vec<u8, Global>, response_info: &QueryResponseInfo ) -> Weight; fn expect_pallet( index: &u32, name: &Vec<u8, Global>, module_name: &Vec<u8, Global>, crate_major: &u32, min_crate_minor: &u32 ) -> Weight; fn report_transact_status(_0: &QueryResponseInfo) -> Weight; fn clear_transact_status() -> Weight; fn universal_origin(_0: &Junction) -> Weight; fn export_message( network: &NetworkId, destination: &Junctions, xcm: &Xcm<()> ) -> Weight; fn lock_asset(asset: &MultiAsset, unlocker: &MultiLocation) -> Weight; fn unlock_asset(asset: &MultiAsset, target: &MultiLocation) -> Weight; fn note_unlockable(asset: &MultiAsset, owner: &MultiLocation) -> Weight; fn request_unlock(asset: &MultiAsset, locker: &MultiLocation) -> Weight; fn set_fees_mode(jit_withdraw: &bool) -> Weight; fn set_topic(_0: &[u8; 32]) -> Weight; fn clear_topic() -> Weight; fn alias_origin(_0: &MultiLocation) -> Weight; fn unpaid_execution( weight_limit: &WeightLimit, check_origin: &Option<MultiLocation> ) -> Weight;
}

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: &u64, response: &Response, max_weight: &Weight, querier: &Option<MultiLocation> ) -> Weight

fn transfer_asset(assets: &MultiAssets, beneficiary: &MultiLocation) -> Weight

fn transfer_reserve_asset( assets: &MultiAssets, dest: &MultiLocation, xcm: &Xcm<()> ) -> Weight

fn transact( origin_kind: &OriginKind, require_weight_at_most: &Weight, call: &DoubleEncoded<Call> ) -> 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: &Junctions) -> Weight

fn report_error(_0: &QueryResponseInfo) -> Weight

fn deposit_asset( assets: &MultiAssetFilter, beneficiary: &MultiLocation ) -> Weight

fn deposit_reserve_asset( assets: &MultiAssetFilter, dest: &MultiLocation, xcm: &Xcm<()> ) -> Weight

fn exchange_asset( give: &MultiAssetFilter, want: &MultiAssets, maximal: &bool ) -> Weight

fn initiate_reserve_withdraw( assets: &MultiAssetFilter, reserve: &MultiLocation, xcm: &Xcm<()> ) -> Weight

fn initiate_teleport( assets: &MultiAssetFilter, dest: &MultiLocation, xcm: &Xcm<()> ) -> Weight

fn report_holding( response_info: &QueryResponseInfo, assets: &MultiAssetFilter ) -> Weight

fn buy_execution(fees: &MultiAsset, weight_limit: &WeightLimit) -> Weight

fn refund_surplus() -> Weight

fn set_error_handler(_0: &Xcm<Call>) -> Weight

fn set_appendix(_0: &Xcm<Call>) -> Weight

fn clear_error() -> Weight

fn claim_asset(assets: &MultiAssets, ticket: &MultiLocation) -> Weight

fn trap(_0: &u64) -> Weight

fn subscribe_version(query_id: &u64, max_response_weight: &Weight) -> Weight

fn unsubscribe_version() -> Weight

fn burn_asset(_0: &MultiAssets) -> Weight

fn expect_asset(_0: &MultiAssets) -> Weight

fn expect_origin(_0: &Option<MultiLocation>) -> Weight

fn expect_error(_0: &Option<(u32, Error)>) -> Weight

fn expect_transact_status(_0: &MaybeErrorCode) -> Weight

fn query_pallet( module_name: &Vec<u8, Global>, response_info: &QueryResponseInfo ) -> Weight

fn expect_pallet( index: &u32, name: &Vec<u8, Global>, module_name: &Vec<u8, Global>, crate_major: &u32, min_crate_minor: &u32 ) -> Weight

fn report_transact_status(_0: &QueryResponseInfo) -> Weight

fn clear_transact_status() -> Weight

fn universal_origin(_0: &Junction) -> Weight

fn export_message( network: &NetworkId, destination: &Junctions, xcm: &Xcm<()> ) -> Weight

fn lock_asset(asset: &MultiAsset, unlocker: &MultiLocation) -> Weight

fn unlock_asset(asset: &MultiAsset, target: &MultiLocation) -> Weight

fn note_unlockable(asset: &MultiAsset, owner: &MultiLocation) -> Weight

fn request_unlock(asset: &MultiAsset, locker: &MultiLocation) -> Weight

fn set_fees_mode(jit_withdraw: &bool) -> Weight

fn set_topic(_0: &[u8; 32]) -> Weight

fn clear_topic() -> Weight

fn alias_origin(_0: &MultiLocation) -> Weight

fn unpaid_execution( weight_limit: &WeightLimit, check_origin: &Option<MultiLocation> ) -> Weight

Implementors§