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

Required Methods§

source

fn withdraw_asset(_0: &MultiAssets) -> u64

source

fn reserve_asset_deposited(_0: &MultiAssets) -> u64

source

fn receive_teleported_asset(_0: &MultiAssets) -> u64

source

fn query_response(query_id: &u64, response: &Response, max_weight: &u64) -> u64

source

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

source

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

source

fn transact( origin_type: &OriginKind, require_weight_at_most: &u64, call: &DoubleEncoded<RuntimeCall> ) -> u64

source

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

source

fn hrmp_channel_accepted(recipient: &u32) -> u64

source

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

source

fn clear_origin() -> u64

source

fn descend_origin(_0: &Junctions) -> u64

source

fn report_error( query_id: &u64, dest: &MultiLocation, max_response_weight: &u64 ) -> u64

source

fn deposit_asset( assets: &MultiAssetFilter, max_assets: &u32, beneficiary: &MultiLocation ) -> u64

source

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

source

fn exchange_asset(give: &MultiAssetFilter, receive: &MultiAssets) -> u64

source

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

source

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

source

fn query_holding( query_id: &u64, dest: &MultiLocation, assets: &MultiAssetFilter, max_response_weight: &u64 ) -> u64

source

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

source

fn refund_surplus() -> u64

source

fn set_error_handler(_0: &Xcm<RuntimeCall>) -> u64

source

fn set_appendix(_0: &Xcm<RuntimeCall>) -> u64

source

fn clear_error() -> u64

source

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

source

fn trap(_0: &u64) -> u64

source

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

source

fn unsubscribe_version() -> u64

Implementors§