pub struct CommonMigrations<Runtime>(/* private fields */);
Trait Implementations§
Auto Trait Implementations§
impl<Runtime> RefUnwindSafe for CommonMigrations<Runtime>where
Runtime: RefUnwindSafe,
impl<Runtime> Send for CommonMigrations<Runtime>where
diff --git a/moonbeam_runtime_common/migrations/struct.MigrateXcmFeesAssetsMeatdata.html b/moonbeam_runtime_common/migrations/struct.MigrateXcmFeesAssetsMeatdata.html
index 083f0a09fd..c15ef38d9f 100644
--- a/moonbeam_runtime_common/migrations/struct.MigrateXcmFeesAssetsMeatdata.html
+++ b/moonbeam_runtime_common/migrations/struct.MigrateXcmFeesAssetsMeatdata.html
@@ -1,6 +1,6 @@
MigrateXcmFeesAssetsMeatdata in moonbeam_runtime_common::migrations - Rust
pub struct MigrateXcmFeesAssetsMeatdata<Runtime>(/* private fields */);
Trait Implementations§
source§impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where
- Runtime: Config + Config,
Auto Trait Implementations§
§impl<Runtime> RefUnwindSafe for MigrateXcmFeesAssetsMeatdata<Runtime>where
+ Runtime: Config + Config,
Auto Trait Implementations§
§impl<Runtime> RefUnwindSafe for MigrateXcmFeesAssetsMeatdata<Runtime>where
Runtime: RefUnwindSafe,
§impl<Runtime> Send for MigrateXcmFeesAssetsMeatdata<Runtime>where
Runtime: Send,
§impl<Runtime> Sync for MigrateXcmFeesAssetsMeatdata<Runtime>where
Runtime: Sync,
§impl<Runtime> Unpin for MigrateXcmFeesAssetsMeatdata<Runtime>where
diff --git a/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html
index 8a277498fe..606a7383ec 100644
--- a/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html
@@ -1,6 +1,6 @@
WeightInfo in moonbeam_runtime_common::weights::pallet_moonbeam_foreign_assets - Rust
pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_moonbeam_foreign_assets
.
-Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn create_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
+
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn create_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
@@ -28,11 +28,11 @@
Proof: EVM::AccountCodes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
-source§fn change_xcm_location() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
+
source§fn change_xcm_location() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:2 w:2)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
-source§fn freeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
+
source§fn freeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
@@ -60,7 +60,7 @@
Proof: EVM::AccountStorages
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
-source§fn unfreeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
+
source§fn unfreeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
diff --git a/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
index b705c7434e..7d5a4e6d62 100644
--- a/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
@@ -1,14 +1,14 @@
WeightInfo in moonbeam_runtime_common::weights::pallet_xcm_weight_trader - Rust
pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_xcm_weight_trader
.
-Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn add_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn edit_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn edit_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn resume_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn resume_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn pause_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn pause_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn remove_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn remove_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
Auto Trait Implementations§
§impl<T> RefUnwindSafe for WeightInfo<T>where
T: RefUnwindSafe,
§impl<T> Send for WeightInfo<T>where
diff --git a/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html b/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
index 606ca0bef3..b7a1031823 100644
--- a/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
+++ b/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
@@ -1,6 +1,6 @@
XcmWeight in moonbeam_xcm_benchmarks::weights - Rust
Struct moonbeam_xcm_benchmarks::weights::XcmWeight
source · pub struct XcmWeight<Runtime, Call>(/* private fields */);
Trait Implementations§
source§impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>
source§fn withdraw_asset(assets: &Assets) -> XCMWeight
source§fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
source§fn receive_teleported_asset(assets: &Assets) -> XCMWeight
source§fn query_response(
+ Runtime: Config + Config + Config,
source§fn withdraw_asset(assets: &Assets) -> XCMWeight
source§fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
source§fn receive_teleported_asset(assets: &Assets) -> XCMWeight
source§fn query_response(
_query_id: &u64,
_response: &Response,
_max_weight: &Weight,
diff --git a/moonkey/struct.Opt.html b/moonkey/struct.Opt.html
index 0680b33f6e..5464a5712f 100644
--- a/moonkey/struct.Opt.html
+++ b/moonkey/struct.Opt.html
@@ -1,7 +1,7 @@
Opt in moonkey - Rust
pub(crate) struct Opt {
- pub(crate) cmd: GenerateAccountKey,
-}
Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate Self
via
+ pub(crate) cmd: GenerateAccountKey,
+}Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§impl FromArgMatches for Opt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
diff --git a/pallet_xcm_transactor/pallet/struct.Pallet.html b/pallet_xcm_transactor/pallet/struct.Pallet.html
index 6afbeec34e..715f5f17ab 100644
--- a/pallet_xcm_transactor/pallet/struct.Pallet.html
+++ b/pallet_xcm_transactor/pallet/struct.Pallet.html
@@ -109,9 +109,9 @@
[NoStorageVersionSet
] if the attribute is missing.
source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read moresource§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before
[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME
Executive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are
-dispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read moresource§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T> PartialEq for Pallet<T>
source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
+sufficient, and should not be overridden without very good reason.source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
should be whitelisted during benchmarking. This means that those keys
will be excluded from the benchmarking performance calculation.source§impl<T> Eq for Pallet<T>
Auto Trait Implementations§
§impl<T> RefUnwindSafe for Pallet<T>where
T: RefUnwindSafe,
§impl<T> Send for Pallet<T>where
diff --git a/pallet_xcm_transactor/pallet/trait.Config.html b/pallet_xcm_transactor/pallet/trait.Config.html
index 563df048b4..9201057561 100644
--- a/pallet_xcm_transactor/pallet/trait.Config.html
+++ b/pallet_xcm_transactor/pallet/trait.Config.html
@@ -4,7 +4,7 @@
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
type CurrencyId: Parameter + Member + Clone;
type CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>;
- type Transactor: Parameter + Member + Clone + XcmTransact;
+ type Transactor: Parameter + Member + Clone + XcmTransact;
type AssetTransactor: TransactAsset;
type DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>;
@@ -16,8 +16,8 @@
type SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type XcmSender: SendXcm;
type BaseXcmWeight: Get<Weight>;
- type ReserveProvider: Reserve;
- type MaxHrmpFee: FilterMaxAssetFee;
+ type ReserveProvider: Reserve;
+ type MaxHrmpFee: FilterMaxAssetFee;
type WeightInfo: WeightInfo;
}Expand description
Configuration trait of this pallet.
The main purpose of this trait is to act as an interface between this pallet and the runtime in
@@ -27,7 +27,7 @@
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
The balance type.
sourcetype CurrencyId: Parameter + Member + Clone
Currency Id.
sourcetype CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
Convert T::CurrencyId
to Location
.
-sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
+
sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
This should change in xcm v3, which allows us to burn assets
sourcetype DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpOpenOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype AccountIdToLocation: Convert<Self::AccountId, Location>
Convert T::AccountId
to Location
.
sourcetype Weigher: WeightBounds<Self::RuntimeCall>
Means of measuring the weight consumed by an XCM message locally.
@@ -35,7 +35,7 @@
sourcetype SelfLocation: Get<Location>
Self chain location.
sourcetype SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype BaseXcmWeight: Get<Weight>
The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg)
.
-sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
+
sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
configured to accept absolute or relative paths for self tokens
-sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
+sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
sourcetype WeightInfo: WeightInfo
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
index 314f1ca66e..f399012300 100644
--- a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
+++ b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompileCall in precompile_foreign_asset_migrator - Rust
pub enum ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -18,7 +18,7 @@
},
// some variants omitted
}Variants§
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -29,7 +29,7 @@
self,
handle: &mut impl PrecompileHandle
) -> EvmResult<PrecompileOutput>sourcepub fn supports_selector(selector: u32) -> bool
sourcepub fn selectors() -> &'static [u32]
sourcepub fn migrate_account_selectors() -> &'static [u32]
sourcepub fn migrate_accounts_selectors() -> &'static [u32]
sourcepub fn encode(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
index ebd71afeb2..684c41fb18 100644
--- a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
+++ b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompile in precompile_foreign_asset_migrator - Rust
pub struct ForeignAssetMigratorPrecompile<Runtime>(/* private fields */);
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompile<Runtime>
Trait Implementations§
source§impl<R> Clone for ForeignAssetMigratorPrecompile<R>
source§impl<R> Default for ForeignAssetMigratorPrecompile<R>
source§impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 9d98c1ffba..424de3dbfd 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -35,5 +35,5 @@
"pallet_precompile_benchmarks":[["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"]],
"pallet_xcm_transactor":[["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"]],
"pallet_xcm_weight_trader":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/fp_evm/precompile/trait.Precompile.js b/trait.impl/fp_evm/precompile/trait.Precompile.js
index caa30de5de..215053758e 100644
--- a/trait.impl/fp_evm/precompile/trait.Precompile.js
+++ b/trait.impl/fp_evm/precompile/trait.Precompile.js
@@ -20,5 +20,5 @@
"pallet_evm_precompile_xcm_transactor":[["impl<Runtime> Precompile for XcmTransactorPrecompileV1<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV3<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV2<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"]],
"pallet_evm_precompile_xcm_utils":[["impl<Runtime, XcmConfig> Precompile for XcmUtilsPrecompile<Runtime, XcmConfig>where\n Runtime: Config + Config + Config,\n XcmOriginOf<XcmConfig>: OriginTrait,\n XcmAccountIdOf<XcmConfig>: Into<H160>,\n XcmConfig: Config,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + Decode + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
"pallet_evm_precompile_xtokens":[["impl<Runtime> Precompile for XtokensPrecompile<Runtime>where\n Runtime: Config + Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, CurrencyIdOf<Runtime>>,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.GetMigrations.js b/trait.impl/pallet_migrations/trait.GetMigrations.js
index e3ee980dec..04970800b5 100644
--- a/trait.impl/pallet_migrations/trait.GetMigrations.js
+++ b/trait.impl/pallet_migrations/trait.GetMigrations.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
+"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.Migration.js b/trait.impl/pallet_migrations/trait.Migration.js
index c1d39976b1..260d425729 100644
--- a/trait.impl/pallet_migrations/trait.Migration.js
+++ b/trait.impl/pallet_migrations/trait.Migration.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
+"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
index 2c3dd30b1b..8b0a68cae8 100644
--- a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_moonbeam_foreign_assets":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
index 101f6a0490..e3cff495e3 100644
--- a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_xcm_weight_trader":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
index 20368ade4a..326ea2dbe2 100644
--- a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
+++ b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>"]]
+"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>where\n Runtime: Config + Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
index 13bda425c4..b406a3aa64 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
@@ -1,5 +1,5 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl HrmpEncodeCall for KusamaEncoder"],["impl HrmpEncodeCall for PolkadotEncoder"],["impl HrmpEncodeCall for WestendEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
+"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
"xcm_primitives":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
index e868151f9f..821b0531c5 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl StakeEncodeCall for WestendEncoder"],["impl StakeEncodeCall for PolkadotEncoder"],["impl StakeEncodeCall for KusamaEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
index f27b448f4d..bca11f4d7d 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
@@ -3,5 +3,5 @@
"moonbeam_relay_encoder":[["impl UtilityEncodeCall for WestendEncoder"],["impl UtilityEncodeCall for KusamaEncoder"],["impl UtilityEncodeCall for PolkadotEncoder"]],
"moonbeam_runtime":[["impl UtilityEncodeCall for Transactors"]],
"moonriver_runtime":[["impl UtilityEncodeCall for Transactors"]],
-"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
index 1fc7eebe89..3d55e9625d 100644
--- a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
+++ b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
@@ -2,5 +2,5 @@
"moonbase_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbase_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbase_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbase_runtime::XcmTransactor"],["","Debug","moonbase_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbase_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbase_runtime::XcmTransactor"],["","Callable","moonbase_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbase_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbase_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbase_runtime::XcmTransactor"],["","Clone","moonbase_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbase_runtime::XcmTransactor"]],
"moonbeam_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbeam_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbeam_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbeam_runtime::XcmTransactor"],["","Debug","moonbeam_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbeam_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbeam_runtime::XcmTransactor"],["","Callable","moonbeam_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbeam_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbeam_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbeam_runtime::XcmTransactor"],["","Clone","moonbeam_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbeam_runtime::XcmTransactor"]],
"moonriver_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonriver_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonriver_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonriver_runtime::XcmTransactor"],["","Debug","moonriver_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonriver_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonriver_runtime::XcmTransactor"],["","Callable","moonriver_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonriver_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonriver_runtime::XcmTransactor"],["","PalletsInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonriver_runtime::XcmTransactor"],["","Clone","moonriver_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonriver_runtime::XcmTransactor"]],
-"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
+"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file
pub struct MigrateXcmFeesAssetsMeatdata<Runtime>(/* private fields */);
Trait Implementations§
source§impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where
- Runtime: Config + Config,
impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where
- Runtime: Config + Config,
Auto Trait Implementations§
impl<Runtime> RefUnwindSafe for MigrateXcmFeesAssetsMeatdata<Runtime>where
+ Runtime: Config + Config,
Auto Trait Implementations§
impl<Runtime> RefUnwindSafe for MigrateXcmFeesAssetsMeatdata<Runtime>where
Runtime: RefUnwindSafe,
impl<Runtime> Send for MigrateXcmFeesAssetsMeatdata<Runtime>where
Runtime: Send,
impl<Runtime> Sync for MigrateXcmFeesAssetsMeatdata<Runtime>where
Runtime: Sync,
impl<Runtime> Unpin for MigrateXcmFeesAssetsMeatdata<Runtime>where
diff --git a/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html
index 8a277498fe..606a7383ec 100644
--- a/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_moonbeam_foreign_assets/struct.WeightInfo.html
@@ -1,6 +1,6 @@
WeightInfo in moonbeam_runtime_common::weights::pallet_moonbeam_foreign_assets - Rust
pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_moonbeam_foreign_assets
.
-Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn create_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
+
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn create_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
@@ -28,11 +28,11 @@
Proof: EVM::AccountCodes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
-source§fn change_xcm_location() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
+
source§fn change_xcm_location() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:2 w:2)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
-source§fn freeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
+
source§fn freeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
@@ -60,7 +60,7 @@
Proof: EVM::AccountStorages
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
-source§fn unfreeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
+
source§fn unfreeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
diff --git a/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
index b705c7434e..7d5a4e6d62 100644
--- a/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
@@ -1,14 +1,14 @@
WeightInfo in moonbeam_runtime_common::weights::pallet_xcm_weight_trader - Rust
pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_xcm_weight_trader
.
-Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
source§fn add_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn edit_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn edit_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn resume_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn resume_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn pause_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn pause_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
-source§fn remove_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn remove_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
Auto Trait Implementations§
§impl<T> RefUnwindSafe for WeightInfo<T>where
T: RefUnwindSafe,
§impl<T> Send for WeightInfo<T>where
diff --git a/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html b/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
index 606ca0bef3..b7a1031823 100644
--- a/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
+++ b/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
@@ -1,6 +1,6 @@
XcmWeight in moonbeam_xcm_benchmarks::weights - Rust
Struct moonbeam_xcm_benchmarks::weights::XcmWeight
source · pub struct XcmWeight<Runtime, Call>(/* private fields */);
Trait Implementations§
source§impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>
source§fn withdraw_asset(assets: &Assets) -> XCMWeight
source§fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
source§fn receive_teleported_asset(assets: &Assets) -> XCMWeight
source§fn query_response(
+ Runtime: Config + Config + Config,
source§fn withdraw_asset(assets: &Assets) -> XCMWeight
source§fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
source§fn receive_teleported_asset(assets: &Assets) -> XCMWeight
source§fn query_response(
_query_id: &u64,
_response: &Response,
_max_weight: &Weight,
diff --git a/moonkey/struct.Opt.html b/moonkey/struct.Opt.html
index 0680b33f6e..5464a5712f 100644
--- a/moonkey/struct.Opt.html
+++ b/moonkey/struct.Opt.html
@@ -1,7 +1,7 @@
Opt in moonkey - Rust
pub(crate) struct Opt {
- pub(crate) cmd: GenerateAccountKey,
-}
Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate Self
via
+ pub(crate) cmd: GenerateAccountKey,
+}Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§impl FromArgMatches for Opt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
diff --git a/pallet_xcm_transactor/pallet/struct.Pallet.html b/pallet_xcm_transactor/pallet/struct.Pallet.html
index 6afbeec34e..715f5f17ab 100644
--- a/pallet_xcm_transactor/pallet/struct.Pallet.html
+++ b/pallet_xcm_transactor/pallet/struct.Pallet.html
@@ -109,9 +109,9 @@
[NoStorageVersionSet
] if the attribute is missing.
source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read moresource§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before
[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME
Executive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are
-dispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read moresource§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T> PartialEq for Pallet<T>
source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
+sufficient, and should not be overridden without very good reason.source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
should be whitelisted during benchmarking. This means that those keys
will be excluded from the benchmarking performance calculation.source§impl<T> Eq for Pallet<T>
Auto Trait Implementations§
§impl<T> RefUnwindSafe for Pallet<T>where
T: RefUnwindSafe,
§impl<T> Send for Pallet<T>where
diff --git a/pallet_xcm_transactor/pallet/trait.Config.html b/pallet_xcm_transactor/pallet/trait.Config.html
index 563df048b4..9201057561 100644
--- a/pallet_xcm_transactor/pallet/trait.Config.html
+++ b/pallet_xcm_transactor/pallet/trait.Config.html
@@ -4,7 +4,7 @@
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
type CurrencyId: Parameter + Member + Clone;
type CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>;
- type Transactor: Parameter + Member + Clone + XcmTransact;
+ type Transactor: Parameter + Member + Clone + XcmTransact;
type AssetTransactor: TransactAsset;
type DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>;
@@ -16,8 +16,8 @@
type SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type XcmSender: SendXcm;
type BaseXcmWeight: Get<Weight>;
- type ReserveProvider: Reserve;
- type MaxHrmpFee: FilterMaxAssetFee;
+ type ReserveProvider: Reserve;
+ type MaxHrmpFee: FilterMaxAssetFee;
type WeightInfo: WeightInfo;
}Expand description
Configuration trait of this pallet.
The main purpose of this trait is to act as an interface between this pallet and the runtime in
@@ -27,7 +27,7 @@
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
The balance type.
sourcetype CurrencyId: Parameter + Member + Clone
Currency Id.
sourcetype CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
Convert T::CurrencyId
to Location
.
-sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
+
sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
This should change in xcm v3, which allows us to burn assets
sourcetype DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpOpenOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype AccountIdToLocation: Convert<Self::AccountId, Location>
Convert T::AccountId
to Location
.
sourcetype Weigher: WeightBounds<Self::RuntimeCall>
Means of measuring the weight consumed by an XCM message locally.
@@ -35,7 +35,7 @@
sourcetype SelfLocation: Get<Location>
Self chain location.
sourcetype SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype BaseXcmWeight: Get<Weight>
The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg)
.
-sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
+
sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
configured to accept absolute or relative paths for self tokens
-sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
+sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
sourcetype WeightInfo: WeightInfo
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
index 314f1ca66e..f399012300 100644
--- a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
+++ b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompileCall in precompile_foreign_asset_migrator - Rust
pub enum ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -18,7 +18,7 @@
},
// some variants omitted
}Variants§
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -29,7 +29,7 @@
self,
handle: &mut impl PrecompileHandle
) -> EvmResult<PrecompileOutput>sourcepub fn supports_selector(selector: u32) -> bool
sourcepub fn selectors() -> &'static [u32]
sourcepub fn migrate_account_selectors() -> &'static [u32]
sourcepub fn migrate_accounts_selectors() -> &'static [u32]
sourcepub fn encode(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
index ebd71afeb2..684c41fb18 100644
--- a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
+++ b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompile in precompile_foreign_asset_migrator - Rust
pub struct ForeignAssetMigratorPrecompile<Runtime>(/* private fields */);
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompile<Runtime>
Trait Implementations§
source§impl<R> Clone for ForeignAssetMigratorPrecompile<R>
source§impl<R> Default for ForeignAssetMigratorPrecompile<R>
source§impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 9d98c1ffba..424de3dbfd 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -35,5 +35,5 @@
"pallet_precompile_benchmarks":[["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"]],
"pallet_xcm_transactor":[["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"]],
"pallet_xcm_weight_trader":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/fp_evm/precompile/trait.Precompile.js b/trait.impl/fp_evm/precompile/trait.Precompile.js
index caa30de5de..215053758e 100644
--- a/trait.impl/fp_evm/precompile/trait.Precompile.js
+++ b/trait.impl/fp_evm/precompile/trait.Precompile.js
@@ -20,5 +20,5 @@
"pallet_evm_precompile_xcm_transactor":[["impl<Runtime> Precompile for XcmTransactorPrecompileV1<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV3<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV2<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"]],
"pallet_evm_precompile_xcm_utils":[["impl<Runtime, XcmConfig> Precompile for XcmUtilsPrecompile<Runtime, XcmConfig>where\n Runtime: Config + Config + Config,\n XcmOriginOf<XcmConfig>: OriginTrait,\n XcmAccountIdOf<XcmConfig>: Into<H160>,\n XcmConfig: Config,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + Decode + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
"pallet_evm_precompile_xtokens":[["impl<Runtime> Precompile for XtokensPrecompile<Runtime>where\n Runtime: Config + Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, CurrencyIdOf<Runtime>>,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.GetMigrations.js b/trait.impl/pallet_migrations/trait.GetMigrations.js
index e3ee980dec..04970800b5 100644
--- a/trait.impl/pallet_migrations/trait.GetMigrations.js
+++ b/trait.impl/pallet_migrations/trait.GetMigrations.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
+"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.Migration.js b/trait.impl/pallet_migrations/trait.Migration.js
index c1d39976b1..260d425729 100644
--- a/trait.impl/pallet_migrations/trait.Migration.js
+++ b/trait.impl/pallet_migrations/trait.Migration.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
+"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
index 2c3dd30b1b..8b0a68cae8 100644
--- a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_moonbeam_foreign_assets":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
index 101f6a0490..e3cff495e3 100644
--- a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_xcm_weight_trader":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
index 20368ade4a..326ea2dbe2 100644
--- a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
+++ b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>"]]
+"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>where\n Runtime: Config + Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
index 13bda425c4..b406a3aa64 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
@@ -1,5 +1,5 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl HrmpEncodeCall for KusamaEncoder"],["impl HrmpEncodeCall for PolkadotEncoder"],["impl HrmpEncodeCall for WestendEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
+"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
"xcm_primitives":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
index e868151f9f..821b0531c5 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl StakeEncodeCall for WestendEncoder"],["impl StakeEncodeCall for PolkadotEncoder"],["impl StakeEncodeCall for KusamaEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
index f27b448f4d..bca11f4d7d 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
@@ -3,5 +3,5 @@
"moonbeam_relay_encoder":[["impl UtilityEncodeCall for WestendEncoder"],["impl UtilityEncodeCall for KusamaEncoder"],["impl UtilityEncodeCall for PolkadotEncoder"]],
"moonbeam_runtime":[["impl UtilityEncodeCall for Transactors"]],
"moonriver_runtime":[["impl UtilityEncodeCall for Transactors"]],
-"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
index 1fc7eebe89..3d55e9625d 100644
--- a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
+++ b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
@@ -2,5 +2,5 @@
"moonbase_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbase_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbase_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbase_runtime::XcmTransactor"],["","Debug","moonbase_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbase_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbase_runtime::XcmTransactor"],["","Callable","moonbase_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbase_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbase_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbase_runtime::XcmTransactor"],["","Clone","moonbase_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbase_runtime::XcmTransactor"]],
"moonbeam_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbeam_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbeam_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbeam_runtime::XcmTransactor"],["","Debug","moonbeam_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbeam_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbeam_runtime::XcmTransactor"],["","Callable","moonbeam_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbeam_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbeam_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbeam_runtime::XcmTransactor"],["","Clone","moonbeam_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbeam_runtime::XcmTransactor"]],
"moonriver_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonriver_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonriver_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonriver_runtime::XcmTransactor"],["","Debug","moonriver_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonriver_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonriver_runtime::XcmTransactor"],["","Callable","moonriver_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonriver_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonriver_runtime::XcmTransactor"],["","PalletsInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonriver_runtime::XcmTransactor"],["","Clone","moonriver_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonriver_runtime::XcmTransactor"]],
-"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
+"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file
pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_moonbeam_foreign_assets
.
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
impl<T: Config> WeightInfo for WeightInfo<T>
source§fn create_foreign_asset() -> Weight
fn create_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
+
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
impl<T: Config> WeightInfo for WeightInfo<T>
source§fn create_foreign_asset() -> Weight
fn create_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
@@ -28,11 +28,11 @@
Proof: EVM::AccountCodes
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn change_xcm_location() -> Weight
fn change_xcm_location() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
+
source§fn change_xcm_location() -> Weight
fn change_xcm_location() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:1)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:2 w:2)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
source§fn freeze_foreign_asset() -> Weight
fn freeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
+
source§fn freeze_foreign_asset() -> Weight
fn freeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
@@ -60,7 +60,7 @@
Proof: EVM::AccountStorages
(max_values
: None, max_size
: None, mode: Measured
)
Storage: Ethereum::Pending
(r:1 w:1)
Proof: Ethereum::Pending
(max_values
: Some(1), max_size
: None, mode: Measured
)
source§fn unfreeze_foreign_asset() -> Weight
fn unfreeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
+
source§fn unfreeze_foreign_asset() -> Weight
fn unfreeze_foreign_asset() -> Weight
Storage: EvmForeignAssets::AssetsById
(r:1 w:0)
Proof: EvmForeignAssets::AssetsById
(max_values
: None, max_size
: None, mode: Measured
)
Storage: EvmForeignAssets::AssetsByLocation
(r:1 w:1)
Proof: EvmForeignAssets::AssetsByLocation
(max_values
: None, max_size
: None, mode: Measured
)
diff --git a/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html b/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
index b705c7434e..7d5a4e6d62 100644
--- a/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
+++ b/moonbeam_runtime_common/weights/pallet_xcm_weight_trader/struct.WeightInfo.html
@@ -1,14 +1,14 @@
pub struct WeightInfo<T>(/* private fields */);
Expand description
Weights for pallet_xcm_weight_trader
.
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
impl<T: Config> WeightInfo for WeightInfo<T>
Trait Implementations§
source§impl<T: Config> WeightInfo for WeightInfo<T>
impl<T: Config> WeightInfo for WeightInfo<T>
source§fn add_asset() -> Weight
fn add_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
source§fn edit_asset() -> Weight
fn edit_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn edit_asset() -> Weight
fn edit_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
source§fn resume_asset_support() -> Weight
fn resume_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn resume_asset_support() -> Weight
fn resume_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
source§fn pause_asset_support() -> Weight
fn pause_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn pause_asset_support() -> Weight
fn pause_asset_support() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
source§fn remove_asset() -> Weight
fn remove_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
+
source§fn remove_asset() -> Weight
fn remove_asset() -> Weight
Storage: XcmWeightTrader::SupportedAssets
(r:1 w:1)
Proof: XcmWeightTrader::SupportedAssets
(max_values
: None, max_size
: Some(635), added: 3110, mode: MaxEncodedLen
)
Auto Trait Implementations§
impl<T> RefUnwindSafe for WeightInfo<T>where
T: RefUnwindSafe,
impl<T> Send for WeightInfo<T>where
diff --git a/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html b/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
index 606ca0bef3..b7a1031823 100644
--- a/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
+++ b/moonbeam_xcm_benchmarks/weights/struct.XcmWeight.html
@@ -1,6 +1,6 @@
XcmWeight in moonbeam_xcm_benchmarks::weights - Rust
Struct moonbeam_xcm_benchmarks::weights::XcmWeight
source · pub struct XcmWeight<Runtime, Call>(/* private fields */);
Trait Implementations§
source§impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>
source§fn withdraw_asset(assets: &Assets) -> XCMWeight
source§fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
source§fn receive_teleported_asset(assets: &Assets) -> XCMWeight
source§fn query_response(
+ Runtime: Config + Config + Config,
source§fn withdraw_asset(assets: &Assets) -> XCMWeight
source§fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
source§fn receive_teleported_asset(assets: &Assets) -> XCMWeight
source§fn query_response(
_query_id: &u64,
_response: &Response,
_max_weight: &Weight,
diff --git a/moonkey/struct.Opt.html b/moonkey/struct.Opt.html
index 0680b33f6e..5464a5712f 100644
--- a/moonkey/struct.Opt.html
+++ b/moonkey/struct.Opt.html
@@ -1,7 +1,7 @@
Opt in moonkey - Rust
pub(crate) struct Opt {
- pub(crate) cmd: GenerateAccountKey,
-}
Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate Self
via
+ pub(crate) cmd: GenerateAccountKey,
+}Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§impl FromArgMatches for Opt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
diff --git a/pallet_xcm_transactor/pallet/struct.Pallet.html b/pallet_xcm_transactor/pallet/struct.Pallet.html
index 6afbeec34e..715f5f17ab 100644
--- a/pallet_xcm_transactor/pallet/struct.Pallet.html
+++ b/pallet_xcm_transactor/pallet/struct.Pallet.html
@@ -109,9 +109,9 @@
[NoStorageVersionSet
] if the attribute is missing.
source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read moresource§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before
[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME
Executive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are
-dispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read moresource§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T> PartialEq for Pallet<T>
source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
+sufficient, and should not be overridden without very good reason.source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
should be whitelisted during benchmarking. This means that those keys
will be excluded from the benchmarking performance calculation.source§impl<T> Eq for Pallet<T>
Auto Trait Implementations§
§impl<T> RefUnwindSafe for Pallet<T>where
T: RefUnwindSafe,
§impl<T> Send for Pallet<T>where
diff --git a/pallet_xcm_transactor/pallet/trait.Config.html b/pallet_xcm_transactor/pallet/trait.Config.html
index 563df048b4..9201057561 100644
--- a/pallet_xcm_transactor/pallet/trait.Config.html
+++ b/pallet_xcm_transactor/pallet/trait.Config.html
@@ -4,7 +4,7 @@
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
type CurrencyId: Parameter + Member + Clone;
type CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>;
- type Transactor: Parameter + Member + Clone + XcmTransact;
+ type Transactor: Parameter + Member + Clone + XcmTransact;
type AssetTransactor: TransactAsset;
type DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>;
@@ -16,8 +16,8 @@
type SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type XcmSender: SendXcm;
type BaseXcmWeight: Get<Weight>;
- type ReserveProvider: Reserve;
- type MaxHrmpFee: FilterMaxAssetFee;
+ type ReserveProvider: Reserve;
+ type MaxHrmpFee: FilterMaxAssetFee;
type WeightInfo: WeightInfo;
}Expand description
Configuration trait of this pallet.
The main purpose of this trait is to act as an interface between this pallet and the runtime in
@@ -27,7 +27,7 @@
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
The balance type.
sourcetype CurrencyId: Parameter + Member + Clone
Currency Id.
sourcetype CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
Convert T::CurrencyId
to Location
.
-sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
+
sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
This should change in xcm v3, which allows us to burn assets
sourcetype DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpOpenOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype AccountIdToLocation: Convert<Self::AccountId, Location>
Convert T::AccountId
to Location
.
sourcetype Weigher: WeightBounds<Self::RuntimeCall>
Means of measuring the weight consumed by an XCM message locally.
@@ -35,7 +35,7 @@
sourcetype SelfLocation: Get<Location>
Self chain location.
sourcetype SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype BaseXcmWeight: Get<Weight>
The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg)
.
-sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
+
sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
configured to accept absolute or relative paths for self tokens
-sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
+sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
sourcetype WeightInfo: WeightInfo
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
index 314f1ca66e..f399012300 100644
--- a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
+++ b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompileCall in precompile_foreign_asset_migrator - Rust
pub enum ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -18,7 +18,7 @@
},
// some variants omitted
}Variants§
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -29,7 +29,7 @@
self,
handle: &mut impl PrecompileHandle
) -> EvmResult<PrecompileOutput>sourcepub fn supports_selector(selector: u32) -> bool
sourcepub fn selectors() -> &'static [u32]
sourcepub fn migrate_account_selectors() -> &'static [u32]
sourcepub fn migrate_accounts_selectors() -> &'static [u32]
sourcepub fn encode(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
index ebd71afeb2..684c41fb18 100644
--- a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
+++ b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompile in precompile_foreign_asset_migrator - Rust
pub struct ForeignAssetMigratorPrecompile<Runtime>(/* private fields */);
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompile<Runtime>
Trait Implementations§
source§impl<R> Clone for ForeignAssetMigratorPrecompile<R>
source§impl<R> Default for ForeignAssetMigratorPrecompile<R>
source§impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 9d98c1ffba..424de3dbfd 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -35,5 +35,5 @@
"pallet_precompile_benchmarks":[["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"]],
"pallet_xcm_transactor":[["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"]],
"pallet_xcm_weight_trader":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/fp_evm/precompile/trait.Precompile.js b/trait.impl/fp_evm/precompile/trait.Precompile.js
index caa30de5de..215053758e 100644
--- a/trait.impl/fp_evm/precompile/trait.Precompile.js
+++ b/trait.impl/fp_evm/precompile/trait.Precompile.js
@@ -20,5 +20,5 @@
"pallet_evm_precompile_xcm_transactor":[["impl<Runtime> Precompile for XcmTransactorPrecompileV1<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV3<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV2<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"]],
"pallet_evm_precompile_xcm_utils":[["impl<Runtime, XcmConfig> Precompile for XcmUtilsPrecompile<Runtime, XcmConfig>where\n Runtime: Config + Config + Config,\n XcmOriginOf<XcmConfig>: OriginTrait,\n XcmAccountIdOf<XcmConfig>: Into<H160>,\n XcmConfig: Config,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + Decode + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
"pallet_evm_precompile_xtokens":[["impl<Runtime> Precompile for XtokensPrecompile<Runtime>where\n Runtime: Config + Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, CurrencyIdOf<Runtime>>,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.GetMigrations.js b/trait.impl/pallet_migrations/trait.GetMigrations.js
index e3ee980dec..04970800b5 100644
--- a/trait.impl/pallet_migrations/trait.GetMigrations.js
+++ b/trait.impl/pallet_migrations/trait.GetMigrations.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
+"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.Migration.js b/trait.impl/pallet_migrations/trait.Migration.js
index c1d39976b1..260d425729 100644
--- a/trait.impl/pallet_migrations/trait.Migration.js
+++ b/trait.impl/pallet_migrations/trait.Migration.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
+"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
index 2c3dd30b1b..8b0a68cae8 100644
--- a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_moonbeam_foreign_assets":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
index 101f6a0490..e3cff495e3 100644
--- a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_xcm_weight_trader":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
index 20368ade4a..326ea2dbe2 100644
--- a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
+++ b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>"]]
+"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>where\n Runtime: Config + Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
index 13bda425c4..b406a3aa64 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
@@ -1,5 +1,5 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl HrmpEncodeCall for KusamaEncoder"],["impl HrmpEncodeCall for PolkadotEncoder"],["impl HrmpEncodeCall for WestendEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
+"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
"xcm_primitives":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
index e868151f9f..821b0531c5 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl StakeEncodeCall for WestendEncoder"],["impl StakeEncodeCall for PolkadotEncoder"],["impl StakeEncodeCall for KusamaEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
index f27b448f4d..bca11f4d7d 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
@@ -3,5 +3,5 @@
"moonbeam_relay_encoder":[["impl UtilityEncodeCall for WestendEncoder"],["impl UtilityEncodeCall for KusamaEncoder"],["impl UtilityEncodeCall for PolkadotEncoder"]],
"moonbeam_runtime":[["impl UtilityEncodeCall for Transactors"]],
"moonriver_runtime":[["impl UtilityEncodeCall for Transactors"]],
-"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
index 1fc7eebe89..3d55e9625d 100644
--- a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
+++ b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
@@ -2,5 +2,5 @@
"moonbase_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbase_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbase_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbase_runtime::XcmTransactor"],["","Debug","moonbase_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbase_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbase_runtime::XcmTransactor"],["","Callable","moonbase_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbase_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbase_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbase_runtime::XcmTransactor"],["","Clone","moonbase_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbase_runtime::XcmTransactor"]],
"moonbeam_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbeam_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbeam_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbeam_runtime::XcmTransactor"],["","Debug","moonbeam_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbeam_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbeam_runtime::XcmTransactor"],["","Callable","moonbeam_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbeam_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbeam_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbeam_runtime::XcmTransactor"],["","Clone","moonbeam_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbeam_runtime::XcmTransactor"]],
"moonriver_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonriver_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonriver_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonriver_runtime::XcmTransactor"],["","Debug","moonriver_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonriver_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonriver_runtime::XcmTransactor"],["","Callable","moonriver_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonriver_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonriver_runtime::XcmTransactor"],["","PalletsInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonriver_runtime::XcmTransactor"],["","Clone","moonriver_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonriver_runtime::XcmTransactor"]],
-"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
+"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file
Struct moonbeam_xcm_benchmarks::weights::XcmWeight
source · pub struct XcmWeight<Runtime, Call>(/* private fields */);
Trait Implementations§
source§impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>
impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>
fn withdraw_asset(assets: &Assets) -> XCMWeight
fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
fn receive_teleported_asset(assets: &Assets) -> XCMWeight
fn query_response( + Runtime: Config + Config + Config,
fn withdraw_asset(assets: &Assets) -> XCMWeight
fn reserve_asset_deposited(_assets: &Assets) -> XCMWeight
fn receive_teleported_asset(assets: &Assets) -> XCMWeight
fn query_response(
_query_id: &u64,
_response: &Response,
_max_weight: &Weight,
diff --git a/moonkey/struct.Opt.html b/moonkey/struct.Opt.html
index 0680b33f6e..5464a5712f 100644
--- a/moonkey/struct.Opt.html
+++ b/moonkey/struct.Opt.html
@@ -1,7 +1,7 @@
Opt in moonkey - Rust
pub(crate) struct Opt {
- pub(crate) cmd: GenerateAccountKey,
-}
Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate Self
via
+ pub(crate) cmd: GenerateAccountKey,
+}Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
source§fn group_id() -> Option<Id>
Report the [ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§impl FromArgMatches for Opt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
diff --git a/pallet_xcm_transactor/pallet/struct.Pallet.html b/pallet_xcm_transactor/pallet/struct.Pallet.html
index 6afbeec34e..715f5f17ab 100644
--- a/pallet_xcm_transactor/pallet/struct.Pallet.html
+++ b/pallet_xcm_transactor/pallet/struct.Pallet.html
@@ -109,9 +109,9 @@
[NoStorageVersionSet
] if the attribute is missing.
source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read moresource§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before
[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME
Executive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are
-dispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read moresource§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read moresource§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.source§impl<T> PartialEq for Pallet<T>
source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
+sufficient, and should not be overridden without very good reason.source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that
should be whitelisted during benchmarking. This means that those keys
will be excluded from the benchmarking performance calculation.source§impl<T> Eq for Pallet<T>
Auto Trait Implementations§
§impl<T> RefUnwindSafe for Pallet<T>where
T: RefUnwindSafe,
§impl<T> Send for Pallet<T>where
diff --git a/pallet_xcm_transactor/pallet/trait.Config.html b/pallet_xcm_transactor/pallet/trait.Config.html
index 563df048b4..9201057561 100644
--- a/pallet_xcm_transactor/pallet/trait.Config.html
+++ b/pallet_xcm_transactor/pallet/trait.Config.html
@@ -4,7 +4,7 @@
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
type CurrencyId: Parameter + Member + Clone;
type CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>;
- type Transactor: Parameter + Member + Clone + XcmTransact;
+ type Transactor: Parameter + Member + Clone + XcmTransact;
type AssetTransactor: TransactAsset;
type DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>;
@@ -16,8 +16,8 @@
type SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type XcmSender: SendXcm;
type BaseXcmWeight: Get<Weight>;
- type ReserveProvider: Reserve;
- type MaxHrmpFee: FilterMaxAssetFee;
+ type ReserveProvider: Reserve;
+ type MaxHrmpFee: FilterMaxAssetFee;
type WeightInfo: WeightInfo;
}Expand description
Configuration trait of this pallet.
The main purpose of this trait is to act as an interface between this pallet and the runtime in
@@ -27,7 +27,7 @@
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
The balance type.
sourcetype CurrencyId: Parameter + Member + Clone
Currency Id.
sourcetype CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
Convert T::CurrencyId
to Location
.
-sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
+
sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
This should change in xcm v3, which allows us to burn assets
sourcetype DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpOpenOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype AccountIdToLocation: Convert<Self::AccountId, Location>
Convert T::AccountId
to Location
.
sourcetype Weigher: WeightBounds<Self::RuntimeCall>
Means of measuring the weight consumed by an XCM message locally.
@@ -35,7 +35,7 @@
sourcetype SelfLocation: Get<Location>
Self chain location.
sourcetype SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype BaseXcmWeight: Get<Weight>
The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg)
.
-sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
+
sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
configured to accept absolute or relative paths for self tokens
-sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
+sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
sourcetype WeightInfo: WeightInfo
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
index 314f1ca66e..f399012300 100644
--- a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
+++ b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompileCall in precompile_foreign_asset_migrator - Rust
pub enum ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -18,7 +18,7 @@
},
// some variants omitted
}Variants§
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -29,7 +29,7 @@
self,
handle: &mut impl PrecompileHandle
) -> EvmResult<PrecompileOutput>sourcepub fn supports_selector(selector: u32) -> bool
sourcepub fn selectors() -> &'static [u32]
sourcepub fn migrate_account_selectors() -> &'static [u32]
sourcepub fn migrate_accounts_selectors() -> &'static [u32]
sourcepub fn encode(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
index ebd71afeb2..684c41fb18 100644
--- a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
+++ b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompile in precompile_foreign_asset_migrator - Rust
pub struct ForeignAssetMigratorPrecompile<Runtime>(/* private fields */);
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompile<Runtime>
Trait Implementations§
source§impl<R> Clone for ForeignAssetMigratorPrecompile<R>
source§impl<R> Default for ForeignAssetMigratorPrecompile<R>
source§impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 9d98c1ffba..424de3dbfd 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -35,5 +35,5 @@
"pallet_precompile_benchmarks":[["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"]],
"pallet_xcm_transactor":[["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"]],
"pallet_xcm_weight_trader":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/fp_evm/precompile/trait.Precompile.js b/trait.impl/fp_evm/precompile/trait.Precompile.js
index caa30de5de..215053758e 100644
--- a/trait.impl/fp_evm/precompile/trait.Precompile.js
+++ b/trait.impl/fp_evm/precompile/trait.Precompile.js
@@ -20,5 +20,5 @@
"pallet_evm_precompile_xcm_transactor":[["impl<Runtime> Precompile for XcmTransactorPrecompileV1<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV3<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV2<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"]],
"pallet_evm_precompile_xcm_utils":[["impl<Runtime, XcmConfig> Precompile for XcmUtilsPrecompile<Runtime, XcmConfig>where\n Runtime: Config + Config + Config,\n XcmOriginOf<XcmConfig>: OriginTrait,\n XcmAccountIdOf<XcmConfig>: Into<H160>,\n XcmConfig: Config,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + Decode + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
"pallet_evm_precompile_xtokens":[["impl<Runtime> Precompile for XtokensPrecompile<Runtime>where\n Runtime: Config + Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, CurrencyIdOf<Runtime>>,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.GetMigrations.js b/trait.impl/pallet_migrations/trait.GetMigrations.js
index e3ee980dec..04970800b5 100644
--- a/trait.impl/pallet_migrations/trait.GetMigrations.js
+++ b/trait.impl/pallet_migrations/trait.GetMigrations.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
+"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.Migration.js b/trait.impl/pallet_migrations/trait.Migration.js
index c1d39976b1..260d425729 100644
--- a/trait.impl/pallet_migrations/trait.Migration.js
+++ b/trait.impl/pallet_migrations/trait.Migration.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
+"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
index 2c3dd30b1b..8b0a68cae8 100644
--- a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_moonbeam_foreign_assets":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
index 101f6a0490..e3cff495e3 100644
--- a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_xcm_weight_trader":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
index 20368ade4a..326ea2dbe2 100644
--- a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
+++ b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>"]]
+"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>where\n Runtime: Config + Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
index 13bda425c4..b406a3aa64 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
@@ -1,5 +1,5 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl HrmpEncodeCall for KusamaEncoder"],["impl HrmpEncodeCall for PolkadotEncoder"],["impl HrmpEncodeCall for WestendEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
+"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
"xcm_primitives":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
index e868151f9f..821b0531c5 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl StakeEncodeCall for WestendEncoder"],["impl StakeEncodeCall for PolkadotEncoder"],["impl StakeEncodeCall for KusamaEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
index f27b448f4d..bca11f4d7d 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
@@ -3,5 +3,5 @@
"moonbeam_relay_encoder":[["impl UtilityEncodeCall for WestendEncoder"],["impl UtilityEncodeCall for KusamaEncoder"],["impl UtilityEncodeCall for PolkadotEncoder"]],
"moonbeam_runtime":[["impl UtilityEncodeCall for Transactors"]],
"moonriver_runtime":[["impl UtilityEncodeCall for Transactors"]],
-"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
index 1fc7eebe89..3d55e9625d 100644
--- a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
+++ b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
@@ -2,5 +2,5 @@
"moonbase_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbase_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbase_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbase_runtime::XcmTransactor"],["","Debug","moonbase_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbase_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbase_runtime::XcmTransactor"],["","Callable","moonbase_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbase_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbase_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbase_runtime::XcmTransactor"],["","Clone","moonbase_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbase_runtime::XcmTransactor"]],
"moonbeam_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbeam_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbeam_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbeam_runtime::XcmTransactor"],["","Debug","moonbeam_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbeam_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbeam_runtime::XcmTransactor"],["","Callable","moonbeam_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbeam_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbeam_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbeam_runtime::XcmTransactor"],["","Clone","moonbeam_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbeam_runtime::XcmTransactor"]],
"moonriver_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonriver_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonriver_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonriver_runtime::XcmTransactor"],["","Debug","moonriver_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonriver_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonriver_runtime::XcmTransactor"],["","Callable","moonriver_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonriver_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonriver_runtime::XcmTransactor"],["","PalletsInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonriver_runtime::XcmTransactor"],["","Clone","moonriver_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonriver_runtime::XcmTransactor"]],
-"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
+"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file
pub(crate) struct Opt {
- pub(crate) cmd: GenerateAccountKey,
-}
Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
impl Args for Opt
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Command
] so it can instantiate Self
via
+ pub(crate) cmd: GenerateAccountKey,
+}Fields§
§cmd: GenerateAccountKey
Implementations§
Trait Implementations§
source§impl Args for Opt
impl Args for Opt
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moresource§impl FromArgMatches for Opt
impl FromArgMatches for Opt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
diff --git a/pallet_xcm_transactor/pallet/struct.Pallet.html b/pallet_xcm_transactor/pallet/struct.Pallet.html
index 6afbeec34e..715f5f17ab 100644
--- a/pallet_xcm_transactor/pallet/struct.Pallet.html
+++ b/pallet_xcm_transactor/pallet/struct.Pallet.html
@@ -109,9 +109,9 @@
[NoStorageVersionSet
] if the attribute is missing.
fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
diff --git a/pallet_xcm_transactor/pallet/struct.Pallet.html b/pallet_xcm_transactor/pallet/struct.Pallet.html
index 6afbeec34e..715f5f17ab 100644
--- a/pallet_xcm_transactor/pallet/struct.Pallet.html
+++ b/pallet_xcm_transactor/pallet/struct.Pallet.html
@@ -109,9 +109,9 @@
[NoStorageVersionSet
] if the attribute is missing.
source§fn on_chain_storage_version() -> StorageVersion
fn on_chain_storage_version() -> StorageVersion
§fn current_storage_version() -> Self::InCodeStorageVersion
fn current_storage_version() -> Self::InCodeStorageVersion
in_code_storage_version
and will be removed after March 2024.Self::current_storage_version
] instead. Read moresource§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
fn on_initialize(_n: BlockNumber) -> Weight
§fn on_finalize(_n: BlockNumber)
fn on_finalize(_n: BlockNumber)
§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Executive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
fn offchain_worker(_n: BlockNumber)
§fn integrity_test()
fn integrity_test()
source§impl<T: Config> HrmpEncodeCall for Pallet<T>
impl<T: Config> HrmpEncodeCall for Pallet<T>
fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
source§impl<T: Config> IntegrityTest for Pallet<T>
impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
fn integrity_test()
Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
fn offchain_worker(n: BlockNumberFor<T>)
source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
fn on_finalize(n: BlockNumberFor<T>)
Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
fn on_genesis()
source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
fn on_initialize(n: BlockNumberFor<T>) -> Weight
Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
fn module_name() -> &'static str
source§fn crate_version() -> CrateVersion
fn crate_version() -> CrateVersion
source§impl<T: Config> IntegrityTest for Pallet<T>
impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
fn integrity_test()
Hooks::integrity_test
].source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
fn offchain_worker(n: BlockNumberFor<T>)
source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
fn on_finalize(n: BlockNumberFor<T>)
Hooks::on_finalize
].source§impl<T: Config> OnGenesis for Pallet<T>
impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
fn on_genesis()
source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
fn on_initialize(n: BlockNumberFor<T>) -> Weight
Hooks::on_initialize
].source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
fn on_runtime_upgrade() -> Weight
Hooks::on_runtime_upgrade
].source§impl<T: Config> PalletInfoAccess for Pallet<T>
impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
fn module_name() -> &'static str
source§fn crate_version() -> CrateVersion
fn crate_version() -> CrateVersion
source§impl<T> PartialEq for Pallet<T>
impl<T> PartialEq for Pallet<T>
source§impl<T: Config> StakeEncodeCall for Pallet<T>
impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
source§impl<T: Config> UtilityEncodeCall for Pallet<T>
impl<T: Config> UtilityEncodeCall for Pallet<T>
fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Vec<TrackedStorageKey>
indicating the storage keys that
+sufficient, and should not be overridden without very good reason.source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Vec<TrackedStorageKey>
indicating the storage keys that
should be whitelisted during benchmarking. This means that those keys
will be excluded from the benchmarking performance calculation.impl<T> Eq for Pallet<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Pallet<T>where
T: RefUnwindSafe,
impl<T> Send for Pallet<T>where
diff --git a/pallet_xcm_transactor/pallet/trait.Config.html b/pallet_xcm_transactor/pallet/trait.Config.html
index 563df048b4..9201057561 100644
--- a/pallet_xcm_transactor/pallet/trait.Config.html
+++ b/pallet_xcm_transactor/pallet/trait.Config.html
@@ -4,7 +4,7 @@
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
type CurrencyId: Parameter + Member + Clone;
type CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>;
- type Transactor: Parameter + Member + Clone + XcmTransact;
+ type Transactor: Parameter + Member + Clone + XcmTransact;
type AssetTransactor: TransactAsset;
type DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>;
@@ -16,8 +16,8 @@
type SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type XcmSender: SendXcm;
type BaseXcmWeight: Get<Weight>;
- type ReserveProvider: Reserve;
- type MaxHrmpFee: FilterMaxAssetFee;
+ type ReserveProvider: Reserve;
+ type MaxHrmpFee: FilterMaxAssetFee;
type WeightInfo: WeightInfo;
}Expand description
Configuration trait of this pallet.
The main purpose of this trait is to act as an interface between this pallet and the runtime in
@@ -27,7 +27,7 @@
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
The balance type.
sourcetype CurrencyId: Parameter + Member + Clone
Currency Id.
sourcetype CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
Convert T::CurrencyId
to Location
.
-sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
+
sourcetype Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped
This should change in xcm v3, which allows us to burn assets
sourcetype DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype HrmpOpenOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype AccountIdToLocation: Convert<Self::AccountId, Location>
Convert T::AccountId
to Location
.
sourcetype Weigher: WeightBounds<Self::RuntimeCall>
Means of measuring the weight consumed by an XCM message locally.
@@ -35,7 +35,7 @@
sourcetype SelfLocation: Get<Location>
Self chain location.
sourcetype SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype BaseXcmWeight: Get<Weight>
The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg)
.
-sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
+
sourcetype ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be
configured to accept absolute or relative paths for self tokens
-sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
+sourcetype MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
sourcetype WeightInfo: WeightInfo
Object Safety§
This trait is not object safe.Implementors§
\ No newline at end of file
diff --git a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
index 314f1ca66e..f399012300 100644
--- a/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
+++ b/precompile_foreign_asset_migrator/enum.ForeignAssetMigratorPrecompileCall.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompileCall in precompile_foreign_asset_migrator - Rust
pub enum ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -18,7 +18,7 @@
},
// some variants omitted
}Variants§
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -29,7 +29,7 @@
self,
handle: &mut impl PrecompileHandle
) -> EvmResult<PrecompileOutput>sourcepub fn supports_selector(selector: u32) -> bool
sourcepub fn selectors() -> &'static [u32]
sourcepub fn migrate_account_selectors() -> &'static [u32]
sourcepub fn migrate_accounts_selectors() -> &'static [u32]
sourcepub fn encode(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
index ebd71afeb2..684c41fb18 100644
--- a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
+++ b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompile in precompile_foreign_asset_migrator - Rust
pub struct ForeignAssetMigratorPrecompile<Runtime>(/* private fields */);
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompile<Runtime>
Trait Implementations§
source§impl<R> Clone for ForeignAssetMigratorPrecompile<R>
source§impl<R> Default for ForeignAssetMigratorPrecompile<R>
source§impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 9d98c1ffba..424de3dbfd 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -35,5 +35,5 @@
"pallet_precompile_benchmarks":[["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"]],
"pallet_xcm_transactor":[["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"]],
"pallet_xcm_weight_trader":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/fp_evm/precompile/trait.Precompile.js b/trait.impl/fp_evm/precompile/trait.Precompile.js
index caa30de5de..215053758e 100644
--- a/trait.impl/fp_evm/precompile/trait.Precompile.js
+++ b/trait.impl/fp_evm/precompile/trait.Precompile.js
@@ -20,5 +20,5 @@
"pallet_evm_precompile_xcm_transactor":[["impl<Runtime> Precompile for XcmTransactorPrecompileV1<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV3<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV2<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"]],
"pallet_evm_precompile_xcm_utils":[["impl<Runtime, XcmConfig> Precompile for XcmUtilsPrecompile<Runtime, XcmConfig>where\n Runtime: Config + Config + Config,\n XcmOriginOf<XcmConfig>: OriginTrait,\n XcmAccountIdOf<XcmConfig>: Into<H160>,\n XcmConfig: Config,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + Decode + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
"pallet_evm_precompile_xtokens":[["impl<Runtime> Precompile for XtokensPrecompile<Runtime>where\n Runtime: Config + Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, CurrencyIdOf<Runtime>>,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.GetMigrations.js b/trait.impl/pallet_migrations/trait.GetMigrations.js
index e3ee980dec..04970800b5 100644
--- a/trait.impl/pallet_migrations/trait.GetMigrations.js
+++ b/trait.impl/pallet_migrations/trait.GetMigrations.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
+"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.Migration.js b/trait.impl/pallet_migrations/trait.Migration.js
index c1d39976b1..260d425729 100644
--- a/trait.impl/pallet_migrations/trait.Migration.js
+++ b/trait.impl/pallet_migrations/trait.Migration.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
+"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
index 2c3dd30b1b..8b0a68cae8 100644
--- a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_moonbeam_foreign_assets":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
index 101f6a0490..e3cff495e3 100644
--- a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_xcm_weight_trader":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
index 20368ade4a..326ea2dbe2 100644
--- a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
+++ b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>"]]
+"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>where\n Runtime: Config + Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
index 13bda425c4..b406a3aa64 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
@@ -1,5 +1,5 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl HrmpEncodeCall for KusamaEncoder"],["impl HrmpEncodeCall for PolkadotEncoder"],["impl HrmpEncodeCall for WestendEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
+"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
"xcm_primitives":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
index e868151f9f..821b0531c5 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl StakeEncodeCall for WestendEncoder"],["impl StakeEncodeCall for PolkadotEncoder"],["impl StakeEncodeCall for KusamaEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
index f27b448f4d..bca11f4d7d 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
@@ -3,5 +3,5 @@
"moonbeam_relay_encoder":[["impl UtilityEncodeCall for WestendEncoder"],["impl UtilityEncodeCall for KusamaEncoder"],["impl UtilityEncodeCall for PolkadotEncoder"]],
"moonbeam_runtime":[["impl UtilityEncodeCall for Transactors"]],
"moonriver_runtime":[["impl UtilityEncodeCall for Transactors"]],
-"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
index 1fc7eebe89..3d55e9625d 100644
--- a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
+++ b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
@@ -2,5 +2,5 @@
"moonbase_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbase_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbase_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbase_runtime::XcmTransactor"],["","Debug","moonbase_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbase_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbase_runtime::XcmTransactor"],["","Callable","moonbase_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbase_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbase_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbase_runtime::XcmTransactor"],["","Clone","moonbase_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbase_runtime::XcmTransactor"]],
"moonbeam_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbeam_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbeam_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbeam_runtime::XcmTransactor"],["","Debug","moonbeam_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbeam_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbeam_runtime::XcmTransactor"],["","Callable","moonbeam_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbeam_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbeam_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbeam_runtime::XcmTransactor"],["","Clone","moonbeam_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbeam_runtime::XcmTransactor"]],
"moonriver_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonriver_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonriver_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonriver_runtime::XcmTransactor"],["","Debug","moonriver_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonriver_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonriver_runtime::XcmTransactor"],["","Callable","moonriver_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonriver_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonriver_runtime::XcmTransactor"],["","PalletsInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonriver_runtime::XcmTransactor"],["","Clone","moonriver_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonriver_runtime::XcmTransactor"]],
-"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
+"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file
Expand description
Configuration trait of this pallet.
The main purpose of this trait is to act as an interface between this pallet and the runtime in @@ -27,7 +27,7 @@
Required Associated Types§
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>
The balance type.
sourcetype CurrencyId: Parameter + Member + Clone
type CurrencyId: Parameter + Member + Clone
Currency Id.
sourcetype CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
type CurrencyIdToLocation: Convert<Self::CurrencyId, Option<Location>>
Convert T::CurrencyId
to Location
.
type Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
type AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped +
type Transactor: Parameter + Member + Clone + XcmTransact
sourcetype AssetTransactor: TransactAsset
type AssetTransactor: TransactAsset
AssetTransactor allows us to withdraw asset without being trapped This should change in xcm v3, which allows us to burn assets
type DerivativeAddressRegistrationOrigin: EnsureOrigin<Self::RuntimeOrigin>
type HrmpManipulatorOrigin: EnsureOrigin<Self::RuntimeOrigin>
type HrmpOpenOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype AccountIdToLocation: Convert<Self::AccountId, Location>
type AccountIdToLocation: Convert<Self::AccountId, Location>
Convert T::AccountId
to Location
.
sourcetype Weigher: WeightBounds<Self::RuntimeCall>
type Weigher: WeightBounds<Self::RuntimeCall>
Means of measuring the weight consumed by an XCM message locally.
@@ -35,7 +35,7 @@sourcetype SelfLocation: Get<Location>
type SelfLocation: Get<Location>
Self chain location.
type SovereignAccountDispatcherOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype BaseXcmWeight: Get<Weight>
type BaseXcmWeight: Get<Weight>
The actual weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg)
.
sourcetype ReserveProvider: Reserve
type ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be +
sourcetype ReserveProvider: Reserve
type ReserveProvider: Reserve
The way to retrieve the reserve of a Asset. This can be configured to accept absolute or relative paths for self tokens
-sourcetype MaxHrmpFee: FilterMaxAssetFee
type MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
+sourcetype MaxHrmpFee: FilterMaxAssetFee
type MaxHrmpFee: FilterMaxAssetFee
The way to filter the max fee to use for HRMP management operations
type WeightInfo: WeightInfo
Object Safety§
Implementors§
pub enum ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -18,7 +18,7 @@
},
// some variants omitted
}Variants§
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompileCall<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
@@ -29,7 +29,7 @@
self,
handle: &mut impl PrecompileHandle
) -> EvmResult<PrecompileOutput>sourcepub fn supports_selector(selector: u32) -> bool
sourcepub fn selectors() -> &'static [u32]
sourcepub fn migrate_account_selectors() -> &'static [u32]
sourcepub fn migrate_accounts_selectors() -> &'static [u32]
sourcepub fn encode(self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
index ebd71afeb2..684c41fb18 100644
--- a/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
+++ b/precompile_foreign_asset_migrator/struct.ForeignAssetMigratorPrecompile.html
@@ -1,6 +1,6 @@
ForeignAssetMigratorPrecompile in precompile_foreign_asset_migrator - Rust
pub struct ForeignAssetMigratorPrecompile<Runtime>(/* private fields */);
Implementations§
source§impl<Runtime> ForeignAssetMigratorPrecompile<Runtime>
Trait Implementations§
source§impl<R> Clone for ForeignAssetMigratorPrecompile<R>
source§impl<R> Default for ForeignAssetMigratorPrecompile<R>
source§impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where
- Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
+ Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index 9d98c1ffba..424de3dbfd 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -35,5 +35,5 @@
"pallet_precompile_benchmarks":[["impl<T: Config> From<Error<T>> for DispatchError"],["impl<T: Config> From<Error<T>> for &'static str"]],
"pallet_xcm_transactor":[["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for DispatchError"]],
"pallet_xcm_weight_trader":[["impl<T: Config> From<Event<T>> for ()"],["impl<T: Config> From<Error<T>> for &'static str"],["impl<T: Config> From<Error<T>> for DispatchError"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> From<ForeignAssetMigratorPrecompileCall<Runtime>> for Vec<u8>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/fp_evm/precompile/trait.Precompile.js b/trait.impl/fp_evm/precompile/trait.Precompile.js
index caa30de5de..215053758e 100644
--- a/trait.impl/fp_evm/precompile/trait.Precompile.js
+++ b/trait.impl/fp_evm/precompile/trait.Precompile.js
@@ -20,5 +20,5 @@
"pallet_evm_precompile_xcm_transactor":[["impl<Runtime> Precompile for XcmTransactorPrecompileV1<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV3<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"],["impl<Runtime> Precompile for XcmTransactorPrecompileV2<Runtime>where\n Runtime: Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, <Runtime as Config>::CurrencyId>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n <Runtime as Config>::Transactor: TryFrom<u8>,\n Runtime::AccountId: Into<H160>,"]],
"pallet_evm_precompile_xcm_utils":[["impl<Runtime, XcmConfig> Precompile for XcmUtilsPrecompile<Runtime, XcmConfig>where\n Runtime: Config + Config + Config,\n XcmOriginOf<XcmConfig>: OriginTrait,\n XcmAccountIdOf<XcmConfig>: Into<H160>,\n XcmConfig: Config,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + Decode + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
"pallet_evm_precompile_xtokens":[["impl<Runtime> Precompile for XtokensPrecompile<Runtime>where\n Runtime: Config + Config + Config + Config + AccountIdToCurrencyId<Runtime::AccountId, CurrencyIdOf<Runtime>>,\n <Runtime as Config>::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime>>,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,"]],
-"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
+"precompile_foreign_asset_migrator":[["impl<Runtime> Precompile for ForeignAssetMigratorPrecompile<Runtime>where\n Runtime: Config<AssetId = u128> + Config<ForeignAssetInstance, AssetId = u128> + Config + Config + Config + AccountIdAssetIdConversion<Runtime::AccountId, AssetIdOf<Runtime>>,\n Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Runtime, ForeignAssetInstance>>,\n <Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,\n BalanceOf<Runtime>: TryFrom<U256> + Into<U256> + Codec,\n <<Runtime as Config>::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait,\n AssetIdOf<Runtime>: Display,\n Runtime::AccountId: Into<H160>,\n <Runtime as Config>::ForeignAssetType: Into<Option<Location>>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.GetMigrations.js b/trait.impl/pallet_migrations/trait.GetMigrations.js
index e3ee980dec..04970800b5 100644
--- a/trait.impl/pallet_migrations/trait.GetMigrations.js
+++ b/trait.impl/pallet_migrations/trait.GetMigrations.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
+"moonbeam_runtime_common":[["impl<Runtime> GetMigrations for CommonMigrations<Runtime>where\n Runtime: Config + Config + Config + Config,\n Runtime::AccountId: Default,\n BlockNumberFor<Runtime>: Into<u64>,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_migrations/trait.Migration.js b/trait.impl/pallet_migrations/trait.Migration.js
index c1d39976b1..260d425729 100644
--- a/trait.impl/pallet_migrations/trait.Migration.js
+++ b/trait.impl/pallet_migrations/trait.Migration.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
+"moonbeam_runtime_common":[["impl<Runtime> Migration for MigrateStakingParachainBondConfig<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateToLatestXcmVersion<Runtime>where\n MigrateToLatestXcmVersion<Runtime>: OnRuntimeUpgrade,"],["impl<Runtime> Migration for MigrateCodeToStateTrieV1<Runtime>where\n Runtime: Config,"],["impl<Runtime> Migration for MigrateXcmFeesAssetsMeatdata<Runtime>where\n Runtime: Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
index 2c3dd30b1b..8b0a68cae8 100644
--- a/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_moonbeam_foreign_assets/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_moonbeam_foreign_assets":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
index 101f6a0490..e3cff495e3 100644
--- a/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
+++ b/trait.impl/pallet_xcm_weight_trader/weights/trait.WeightInfo.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
-"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
+"moonbeam_runtime_common":[["impl<T: Config> WeightInfo for WeightInfo<T>"]],
"pallet_xcm_weight_trader":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
index 20368ade4a..326ea2dbe2 100644
--- a/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
+++ b/trait.impl/staging_xcm/v4/trait.XcmWeightInfo.js
@@ -1,3 +1,3 @@
(function() {var implementors = {
-"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>"]]
+"moonbeam_xcm_benchmarks":[["impl<Runtime, Call> XcmWeightInfo<Call> for XcmWeight<Runtime, Call>where\n Runtime: Config + Config + Config,"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
index 13bda425c4..b406a3aa64 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.HrmpEncodeCall.js
@@ -1,5 +1,5 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl HrmpEncodeCall for KusamaEncoder"],["impl HrmpEncodeCall for PolkadotEncoder"],["impl HrmpEncodeCall for WestendEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
+"pallet_xcm_transactor":[["impl<T: Config> HrmpEncodeCall for Pallet<T>"]],
"xcm_primitives":[]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
index e868151f9f..821b0531c5 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.StakeEncodeCall.js
@@ -1,4 +1,4 @@
(function() {var implementors = {
"moonbeam_relay_encoder":[["impl StakeEncodeCall for WestendEncoder"],["impl StakeEncodeCall for PolkadotEncoder"],["impl StakeEncodeCall for KusamaEncoder"]],
-"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> StakeEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
index f27b448f4d..bca11f4d7d 100644
--- a/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
+++ b/trait.impl/xcm_primitives/transactor_traits/trait.UtilityEncodeCall.js
@@ -3,5 +3,5 @@
"moonbeam_relay_encoder":[["impl UtilityEncodeCall for WestendEncoder"],["impl UtilityEncodeCall for KusamaEncoder"],["impl UtilityEncodeCall for PolkadotEncoder"]],
"moonbeam_runtime":[["impl UtilityEncodeCall for Transactors"]],
"moonriver_runtime":[["impl UtilityEncodeCall for Transactors"]],
-"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
+"pallet_xcm_transactor":[["impl<T: Config> UtilityEncodeCall for Pallet<T>"]]
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
index 1fc7eebe89..3d55e9625d 100644
--- a/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
+++ b/type.impl/pallet_xcm_transactor/pallet/struct.Pallet.js
@@ -2,5 +2,5 @@
"moonbase_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbase_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbase_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbase_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbase_runtime::XcmTransactor"],["","Debug","moonbase_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbase_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbase_runtime::XcmTransactor"],["","Callable","moonbase_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbase_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbase_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbase_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbase_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbase_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbase_runtime::XcmTransactor"],["","Clone","moonbase_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbase_runtime::XcmTransactor"]],
"moonbeam_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonbeam_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonbeam_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonbeam_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonbeam_runtime::XcmTransactor"],["","Debug","moonbeam_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonbeam_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonbeam_runtime::XcmTransactor"],["","Callable","moonbeam_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonbeam_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonbeam_runtime::XcmTransactor"],["","PalletsInfoAccess","moonbeam_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonbeam_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonbeam_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonbeam_runtime::XcmTransactor"],["","Clone","moonbeam_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonbeam_runtime::XcmTransactor"]],
"moonriver_runtime":[["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn register(\n origin: <T as Config>::RuntimeOrigin,\n who: <T as Config>::AccountId,\n index: u16\n) -> Result<(), DispatchError>
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(\n origin: <T as Config>::RuntimeOrigin,\n index: u16\n) -> Result<(), DispatchError>
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: <T as Config>::RuntimeOrigin,\n dest: <T as Config>::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee_payer: Option<<T as Config>::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> Result<(), DispatchError>
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: <T as Config>::RuntimeOrigin,\n location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: <T as Config>::RuntimeOrigin,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> Result<(), DispatchError>
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> Result<(), DispatchError>
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: <T as Config>::RuntimeOrigin,\n asset_location: Box<VersionedLocation>\n) -> Result<(), DispatchError>
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: <T as Config>::RuntimeOrigin,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> Result<(), DispatchError>
Manage HRMP operations
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<<T as Config>::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> Pallet<T>where\n T: Config,
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"moonriver_runtime::XcmTransactor"],["source§impl<T> OnGenesis for Pallet<T>where\n T: Config,
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","moonriver_runtime::XcmTransactor"],["source§impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,
source§fn storage_info() -> Vec<StorageInfo>
","StorageInfoTrait","moonriver_runtime::XcmTransactor"],["source§impl<T> IntegrityTest for Pallet<T>where\n T: Config,
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","moonriver_runtime::XcmTransactor"],["","Debug","moonriver_runtime::XcmTransactor"],["source§impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","moonriver_runtime::XcmTransactor"],["source§impl<T> StakeEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","moonriver_runtime::XcmTransactor"],["","Callable","moonriver_runtime::XcmTransactor"],["source§impl<T> GetStorageVersion for Pallet<T>where\n T: Config,
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","moonriver_runtime::XcmTransactor"],["source§impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","moonriver_runtime::XcmTransactor"],["","PalletsInfoAccess","moonriver_runtime::XcmTransactor"],["source§impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,
source§fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","moonriver_runtime::XcmTransactor"],["source§impl<T> HrmpEncodeCall for Pallet<T>where\n T: Config,
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> UtilityEncodeCall for Pallet<T>where\n T: Config,
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","moonriver_runtime::XcmTransactor"],["source§impl<T> Eq for Pallet<T>
","Eq","moonriver_runtime::XcmTransactor"],["","Clone","moonriver_runtime::XcmTransactor"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","moonriver_runtime::XcmTransactor"]],
-"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> HrmpEncodeCall for Pallet<T>
source§fn hrmp_encode_call(call: HrmpAvailableCalls) -> Result<Vec<u8>, Error>
","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> StakeEncodeCall for Pallet<T>
source§fn encode_call(call: AvailableStakeCalls) -> Vec<u8> ⓘ
Encode call from the relay.","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> UtilityEncodeCall for Pallet<T>
source§fn encode_call(self, call: UtilityAvailableCalls) -> Vec<u8> ⓘ
","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> BeforeAllRuntimeMigrations for Pallet<T>
source§fn before_all_runtime_migrations() -> Weight
Something that should happen before runtime migrations are executed.","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
+"pallet_xcm_transactor":[["source§impl<T: Config> Pallet<T>
sourcepub fn register(\n origin: OriginFor<T>,\n who: T::AccountId,\n index: u16\n) -> DispatchResult
Register a derivative index for an account id. Dispatchable by\nDerivativeAddressRegistrationOrigin
\nWe do not store the derivative address, but only the index. We do not need to store\nthe derivative address to issue calls, only the index is enough
\nFor now an index is registered for all possible destinations and not per-destination.\nWe can change this in the future although it would just make things more complicated
\nsourcepub fn deregister(origin: OriginFor<T>, index: u16) -> DispatchResult
De-Register a derivative index. This prevents an account to use a derivative address\n(represented by an index) from our of our sovereign accounts anymore
\nsourcepub fn transact_through_derivative(\n origin: OriginFor<T>,\n dest: T::Transactor,\n index: u16,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n inner_call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the inner call through a derivative account in a destination chain,\nusing ‘fee_location’ to pay for the fees. This fee_location is given as a multilocation
\nThe caller needs to have the index registered in this pallet. The fee multiasset needs\nto be a reserve asset for the destination transactor::multilocation.
\nsourcepub fn transact_through_sovereign(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee_payer: Option<T::AccountId>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n origin_kind: OriginKind,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the sovereign account in a destination chain,\n‘fee_payer’ pays for the fee
\nSovereignAccountDispatcherOrigin callable only
\nsourcepub fn set_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>,\n transact_extra_weight: Weight,\n max_weight: Weight,\n transact_extra_weight_signed: Option<Weight>\n) -> DispatchResult
Change the transact info of a location
\nsourcepub fn remove_transact_info(\n origin: OriginFor<T>,\n location: Box<VersionedLocation>\n) -> DispatchResult
Remove the transact info of a location
\nsourcepub fn transact_through_signed(\n origin: OriginFor<T>,\n dest: Box<VersionedLocation>,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n call: Vec<u8>,\n weight_info: TransactWeights,\n refund: bool\n) -> DispatchResult
Transact the call through the a signed origin in this chain\nthat should be converted to a transaction dispatch account in the destination chain\nby any method implemented in the destination chains runtime
\nThis time we are giving the currency as a currencyId instead of multilocation
\nsourcepub fn set_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>,\n fee_per_second: u128\n) -> DispatchResult
Set the fee per second of an asset on its reserve chain
\nsourcepub fn remove_fee_per_second(\n origin: OriginFor<T>,\n asset_location: Box<VersionedLocation>\n) -> DispatchResult
Remove the fee per second of an asset on its reserve chain
\nsourcepub fn hrmp_manage(\n origin: OriginFor<T>,\n action: HrmpOperation,\n fee: CurrencyPayment<<T as Config>::CurrencyId>,\n weight_info: TransactWeights\n) -> DispatchResult
Manage HRMP operations
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn calculate_fee_per_second(weight: Weight, fee_per_second: u128) -> u128
Returns the fee for a given set of parameters\nWe always round up in case of fractional division
\nsourcepub fn take_weight_from_transact_info(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in non-signed cases
\nsourcepub fn take_weight_from_transact_info_signed(\n dest: Location,\n dest_weight: Weight,\n refund: bool\n) -> Result<Weight, DispatchError>
Returns the weight information for a destination from storage\nit returns the weight to be used in signed cases
\nsourcepub fn take_fee_per_second_from_storage(\n fee_location: Location,\n destination: Location,\n total_weight: Weight\n) -> Result<u128, DispatchError>
Returns the fee per second charged by a reserve chain for an asset\nit takes this information from storage
\nsourcepub fn currency_to_multilocation(\n currency: Currency<<T as Config>::CurrencyId>\n) -> Option<Location>
Converts Currency to multilocation
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn index_to_account<KArg>(k: KArg) -> Option<T::AccountId>where\n KArg: EncodeLike<u16>,
An auto-generated getter for IndexToAccount
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn transact_info<KArg>(k: KArg) -> Option<RemoteTransactInfoWithMaxWeight>where\n KArg: EncodeLike<Location>,
An auto-generated getter for TransactInfoWithWeightLimit
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn dest_asset_fee_per_second<KArg>(k: KArg) -> Option<u128>where\n KArg: EncodeLike<Location>,
An auto-generated getter for DestinationAssetFeePerSecond
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Pallet<T>
sourcepub fn relay_indices() -> RelayChainIndices
An auto-generated getter for RelayIndices
.
\n",0,"pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","HrmpEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> GetStorageVersion for Pallet<T>
§type InCodeStorageVersion = NoStorageVersionSet
source§fn in_code_storage_version() -> Self::InCodeStorageVersion
Returns the in-code storage version as specified in the\nstorage_version
attribute, or\n[NoStorageVersionSet
] if the attribute is missing.source§fn on_chain_storage_version() -> StorageVersion
Returns the storage version of the pallet as last set in the actual on-chain storage.§fn current_storage_version() -> Self::InCodeStorageVersion
👎Deprecated: This method has been renamed to in_code_storage_version
and will be removed after March 2024.DEPRECATED: Use [Self::current_storage_version
] instead. Read more","GetStorageVersion","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnRuntimeUpgrade for Pallet<T>
source§fn on_runtime_upgrade() -> Weight
See [Hooks::on_runtime_upgrade
].","OnRuntimeUpgrade","pallet_xcm_transactor::pallet::Module"],["source§impl<T> Eq for Pallet<T>
","Eq","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> IntegrityTest for Pallet<T>
source§fn integrity_test()
See [Hooks::integrity_test
].","IntegrityTest","pallet_xcm_transactor::pallet::Module"],["","StakeEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_initialize(n: BlockNumberFor<T>) -> Weight
See [Hooks::on_initialize
].","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","UtilityEncodeCall","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn on_finalize(n: BlockNumberFor<T>)
See [Hooks::on_finalize
].","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T> PartialEq for Pallet<T>
","PartialEq","pallet_xcm_transactor::pallet::Module"],["","StorageInfoTrait","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
§fn on_initialize(_n: BlockNumber) -> Weight
Block initialization hook. This is called at the very beginning of block execution. Read more§fn on_finalize(_n: BlockNumber)
Block finalization hook. This is called at the very end of block execution. Read more§fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize
]). Read more§fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)
A hook to run logic after inherent application. Read more§fn on_runtime_upgrade() -> Weight
Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive
pallet. Read more§fn offchain_worker(_n: BlockNumber)
Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more§fn integrity_test()
Check the integrity of this pallet’s configuration. Read more","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OnGenesis for Pallet<T>
source§fn on_genesis()
Something that should happen at genesis.","OnGenesis","pallet_xcm_transactor::pallet::Module"],["","Debug","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> PalletInfoAccess for Pallet<T>
source§fn module_name() -> &'static str
Name of the Rust module containing the pallet.source§fn crate_version() -> CrateVersion
Version of the crate containing the pallet.","PalletInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Callable","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>
source§fn offchain_worker(n: BlockNumberFor<T>)
This function is being called after every block import (when fully synced). Read more","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","pallet_xcm_transactor::pallet::Module"],["","PalletsInfoAccess","pallet_xcm_transactor::pallet::Module"],["","Clone","pallet_xcm_transactor::pallet::Module"],["source§impl<T: Config> WhitelistedStorageKeys for Pallet<T>
source§fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>
Returns a Vec<TrackedStorageKey>
indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.","WhitelistedStorageKeys","pallet_xcm_transactor::pallet::Module"],["","BeforeAllRuntimeMigrations","pallet_xcm_transactor::pallet::Module"]]
};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file