Trait xcm::v3::XcmWeightInfo

source ·
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: &QueryId, 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: &InteriorMultiLocation) -> 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: &QueryId, 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>, response_info: &QueryResponseInfo ) -> Weight; fn expect_pallet( index: &u32, name: &Vec<u8>, module_name: &Vec<u8>, 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: &InteriorMultiLocation, 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§

source

fn withdraw_asset(_0: &MultiAssets) -> Weight

source

fn reserve_asset_deposited(_0: &MultiAssets) -> Weight

source

fn receive_teleported_asset(_0: &MultiAssets) -> Weight

source

fn query_response( query_id: &QueryId, response: &Response, max_weight: &Weight, querier: &Option<MultiLocation> ) -> Weight

source

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

source

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

source

fn transact( origin_kind: &OriginKind, require_weight_at_most: &Weight, call: &DoubleEncoded<Call> ) -> Weight

source

fn hrmp_new_channel_open_request( sender: &u32, max_message_size: &u32, max_capacity: &u32 ) -> Weight

source

fn hrmp_channel_accepted(recipient: &u32) -> Weight

source

fn hrmp_channel_closing( initiator: &u32, sender: &u32, recipient: &u32 ) -> Weight

source

fn clear_origin() -> Weight

source

fn descend_origin(_0: &InteriorMultiLocation) -> Weight

source

fn report_error(_0: &QueryResponseInfo) -> Weight

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

fn refund_surplus() -> Weight

source

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

source

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

source

fn clear_error() -> Weight

source

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

source

fn trap(_0: &u64) -> Weight

source

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

source

fn unsubscribe_version() -> Weight

source

fn burn_asset(_0: &MultiAssets) -> Weight

source

fn expect_asset(_0: &MultiAssets) -> Weight

source

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

source

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

source

fn expect_transact_status(_0: &MaybeErrorCode) -> Weight

source

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

source

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

source

fn report_transact_status(_0: &QueryResponseInfo) -> Weight

source

fn clear_transact_status() -> Weight

source

fn universal_origin(_0: &Junction) -> Weight

source

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

source

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

source

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

source

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

source

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

source

fn set_fees_mode(jit_withdraw: &bool) -> Weight

source

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

source

fn clear_topic() -> Weight

source

fn alias_origin(_0: &MultiLocation) -> Weight

source

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

Implementors§