difftreelog
feat Separate rpc calls to own group
in: master
31 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -113,6 +113,20 @@
checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8"
[[package]]
+name = "app-promotion-rpc"
+version = "0.1.0"
+dependencies = [
+ "pallet-common",
+ "pallet-evm",
+ "parity-scale-codec 3.1.5",
+ "sp-api",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+ "up-data-structs",
+]
+
+[[package]]
name = "approx"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5127,6 +5141,7 @@
name = "opal-runtime"
version = "0.9.27"
dependencies = [
+ "app-promotion-rpc",
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
@@ -8358,6 +8373,7 @@
name = "quartz-runtime"
version = "0.9.27"
dependencies = [
+ "app-promotion-rpc",
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
@@ -8381,6 +8397,7 @@
"hex-literal",
"log",
"orml-vesting",
+ "pallet-app-promotion",
"pallet-aura",
"pallet-balances",
"pallet-base-fee",
@@ -12132,6 +12149,7 @@
version = "0.1.3"
dependencies = [
"anyhow",
+ "app-promotion-rpc",
"jsonrpsee",
"pallet-common",
"pallet-evm",
@@ -12210,6 +12228,7 @@
name = "unique-node"
version = "0.9.27"
dependencies = [
+ "app-promotion-rpc",
"clap",
"cumulus-client-cli",
"cumulus-client-collator",
@@ -12298,6 +12317,7 @@
name = "unique-rpc"
version = "0.1.1"
dependencies = [
+ "app-promotion-rpc",
"fc-db",
"fc-mapping-sync",
"fc-rpc",
@@ -12347,6 +12367,7 @@
name = "unique-runtime"
version = "0.9.27"
dependencies = [
+ "app-promotion-rpc",
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
@@ -12370,6 +12391,7 @@
"hex-literal",
"log",
"orml-vesting",
+ "pallet-app-promotion",
"pallet-aura",
"pallet-balances",
"pallet-base-fee",
client/rpc/Cargo.tomldiffbeforeafterboth--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -8,6 +8,7 @@
pallet-common = { default-features = false, path = '../../pallets/common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
up-rpc = { path = "../../primitives/rpc" }
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc"}
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
codec = { package = "parity-scale-codec", version = "3.1.2" }
jsonrpsee = { version = "0.14.0", features = ["server", "macros"] }
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -31,6 +31,7 @@
use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};
use sp_blockchain::HeaderBackend;
use up_rpc::UniqueApi as UniqueRuntimeApi;
+use app_promotion_rpc::AppPromotionApi as AppPromotionRuntimeApi;
// RMRK
use rmrk_rpc::RmrkApi as RmrkRuntimeApi;
@@ -38,6 +39,7 @@
RmrkCollectionId, RmrkNftId, RmrkBaseId, RmrkNftChild, RmrkThemeName, RmrkResourceId,
};
+pub use app_promotion_unique_rpc::AppPromotionApiServer;
pub use rmrk_unique_rpc::RmrkApiServer;
#[rpc(server)]
@@ -244,39 +246,48 @@
token_id: TokenId,
at: Option<BlockHash>,
) -> Result<Option<String>>;
+}
+
+mod app_promotion_unique_rpc {
+ use super::*;
+
+ #[rpc(server)]
+ #[async_trait]
+ pub trait AppPromotionApi<BlockHash, BlockNumber, CrossAccountId, AccountId> {
+ /// Returns the total amount of staked tokens.
+ #[method(name = "appPromotion_totalStaked")]
+ fn total_staked(&self, staker: Option<CrossAccountId>, at: Option<BlockHash>)
+ -> Result<String>;
- /// Returns the total amount of staked tokens.
- #[method(name = "unique_totalStaked")]
- fn total_staked(&self, staker: Option<CrossAccountId>, at: Option<BlockHash>)
- -> Result<String>;
+ ///Returns the total amount of staked tokens per block when staked.
+ #[method(name = "appPromotion_totalStakedPerBlock")]
+ fn total_staked_per_block(
+ &self,
+ staker: CrossAccountId,
+ at: Option<BlockHash>,
+ ) -> Result<Vec<(BlockNumber, String)>>;
- ///Returns the total amount of staked tokens per block when staked.
- #[method(name = "unique_totalStakedPerBlock")]
- fn total_staked_per_block(
- &self,
- staker: CrossAccountId,
- at: Option<BlockHash>,
- ) -> Result<Vec<(BlockNumber, String)>>;
+ /// Returns the total amount locked by staking tokens.
+ #[method(name = "appPromotion_totalStakingLocked")]
+ fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>)
+ -> Result<String>;
- /// Returns the total amount locked by staking tokens.
- #[method(name = "unique_totalStakingLocked")]
- fn total_staking_locked(&self, staker: CrossAccountId, at: Option<BlockHash>)
- -> Result<String>;
+ /// Returns the total amount of tokens pending withdrawal from staking.
+ #[method(name = "appPromotion_pendingUnstake")]
+ fn pending_unstake(
+ &self,
+ staker: Option<CrossAccountId>,
+ at: Option<BlockHash>,
+ ) -> Result<String>;
- /// Returns the total amount of tokens pending withdrawal from staking.
- #[method(name = "unique_pendingUnstake")]
- fn pending_unstake(
- &self,
- staker: Option<CrossAccountId>,
- at: Option<BlockHash>,
- ) -> Result<String>;
- /// Returns the total amount of tokens pending withdrawal from staking per block.
- #[method(name = "unique_pendingUnstakePerBlock")]
- fn pending_unstake_per_block(
- &self,
- staker: CrossAccountId,
- at: Option<BlockHash>,
- ) -> Result<Vec<(BlockNumber, String)>>;
+ /// Returns the total amount of tokens pending withdrawal from staking per block.
+ #[method(name = "appPromotion_pendingUnstakePerBlock")]
+ fn pending_unstake_per_block(
+ &self,
+ staker: CrossAccountId,
+ at: Option<BlockHash>,
+ ) -> Result<Vec<(BlockNumber, String)>>;
+ }
}
mod rmrk_unique_rpc {
@@ -415,6 +426,20 @@
}
}
+pub struct AppPromotion<C, P> {
+ client: Arc<C>,
+ _marker: std::marker::PhantomData<P>,
+}
+
+impl<C, P> AppPromotion<C, P> {
+ pub fn new(client: Arc<C>) -> Self {
+ Self {
+ client,
+ _marker: Default::default(),
+ }
+ }
+}
+
pub struct Rmrk<C, P> {
client: Arc<C>,
_marker: std::marker::PhantomData<P>,
@@ -474,6 +499,12 @@
};
}
+macro_rules! app_promotion_api {
+ () => {
+ dyn AppPromotionRuntimeApi<Block, BlockNumber, CrossAccountId, AccountId>
+ };
+}
+
macro_rules! rmrk_api {
() => {
dyn RmrkRuntimeApi<Block, AccountId, CollectionInfo, NftInfo, ResourceInfo, PropertyInfo, BaseInfo, PartType, Theme>
@@ -556,7 +587,20 @@
pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>, unique_api);
pass_method!(total_pieces(collection_id: CollectionId, token_id: TokenId) -> Option<String> => |o| o.map(|number| number.to_string()) , unique_api);
pass_method!(token_owners(collection: CollectionId, token: TokenId) -> Vec<CrossAccountId>, unique_api);
- pass_method!(total_staked(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), unique_api);
+}
+
+impl<C, Block, BlockNumber, CrossAccountId, AccountId>
+ app_promotion_unique_rpc::AppPromotionApiServer<<Block as BlockT>::Hash, BlockNumber, CrossAccountId, AccountId>
+ for AppPromotion<C, Block>
+where
+ Block: BlockT,
+ BlockNumber: Decode + Member + AtLeast32BitUnsigned,
+ AccountId: Decode,
+ C: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
+ C::Api: AppPromotionRuntimeApi<Block, BlockNumber, CrossAccountId, AccountId>,
+ CrossAccountId: pallet_evm::account::CrossAccountId<AccountId>,
+{
+ pass_method!(total_staked(staker: Option<CrossAccountId>) -> String => |v| v.to_string(), app_promotion_api);
pass_method!(total_staked_per_block(staker: CrossAccountId) -> Vec<(BlockNumber, String)> =>
|v| v
.into_iter()
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -318,6 +318,7 @@
pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }
unique-rpc = { default-features = false, path = "../rpc" }
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
[features]
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -364,6 +364,7 @@
+ pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>
+ sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>
+ up_rpc::UniqueApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>
+ + app_promotion_rpc::AppPromotionApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>
+ rmrk_rpc::RmrkApi<
Block,
AccountId,
@@ -665,6 +666,7 @@
+ pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>
+ sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>
+ up_rpc::UniqueApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>
+ + app_promotion_rpc::AppPromotionApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>
+ rmrk_rpc::RmrkApi<
Block,
AccountId,
@@ -809,6 +811,7 @@
+ pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance>
+ sp_api::ApiExt<Block, StateBackend = sc_client_api::StateBackendFor<FullBackend, Block>>
+ up_rpc::UniqueApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>
+ + app_promotion_rpc::AppPromotionApi<Block, BlockNumber, Runtime::CrossAccountId, AccountId>
+ rmrk_rpc::RmrkApi<
Block,
AccountId,
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -53,6 +53,7 @@
pallet-unique = { path = "../../pallets/unique" }
uc-rpc = { path = "../../client/rpc" }
up-rpc = { path = "../../primitives/rpc" }
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc"}
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -38,6 +38,7 @@
use sp_block_builder::BlockBuilder;
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata};
use sc_service::TransactionPool;
+use uc_rpc::AppPromotion;
use std::{collections::BTreeMap, sync::Arc};
use up_common::types::opaque::{Hash, AccountId, RuntimeInstance, Index, Block, BlockNumber, Balance};
@@ -147,6 +148,7 @@
C::Api: fp_rpc::ConvertTransactionRuntimeApi<Block>,
C::Api:
up_rpc::UniqueApi<Block, BlockNumber, <R as RuntimeInstance>::CrossAccountId, AccountId>,
+ C::Api: app_promotion_rpc::AppPromotionApi<Block, BlockNumber, <R as RuntimeInstance>::CrossAccountId, AccountId>,
C::Api: rmrk_rpc::RmrkApi<
Block,
AccountId,
@@ -171,6 +173,7 @@
EthPubSubApiServer, EthSigner, Net, NetApiServer, Web3, Web3ApiServer,
};
use uc_rpc::{UniqueApiServer, Unique};
+ use uc_rpc::{AppPromotionApiServer, AppPromotion};
#[cfg(not(feature = "unique-runtime"))]
use uc_rpc::{RmrkApiServer, Rmrk};
@@ -229,6 +232,9 @@
io.merge(Unique::new(client.clone()).into_rpc())?;
+ // #[cfg(not(feature = "unique-runtime"))]
+ io.merge(AppPromotion::new(client.clone()).into_rpc())?;
+
#[cfg(not(feature = "unique-runtime"))]
io.merge(Rmrk::new(client.clone()).into_rpc())?;
primitives/app_promotion_rpc/CHANGELOG.mddiffbeforeafterboth--- /dev/null
+++ b/primitives/app_promotion_rpc/CHANGELOG.md
@@ -0,0 +1,5 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+
+<!-- bureaucrate goes here -->
primitives/app_promotion_rpc/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/primitives/app_promotion_rpc/Cargo.toml
@@ -0,0 +1,29 @@
+[package]
+name = "app-promotion-rpc"
+version = "0.1.0"
+license = "GPLv3"
+edition = "2021"
+
+[dependencies]
+pallet-common = { default-features = false, path = '../../pallets/common' }
+up-data-structs = { default-features = false, path = '../data-structs' }
+codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
+ "derive",
+] }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }
+
+[features]
+default = ["std"]
+std = [
+ "codec/std",
+ "sp-core/std",
+ "sp-std/std",
+ "sp-api/std",
+ "sp-runtime/std",
+ "pallet-common/std",
+ "up-data-structs/std",
+]
primitives/app_promotion_rpc/src/lib.rsdiffbeforeafterboth--- /dev/null
+++ b/primitives/app_promotion_rpc/src/lib.rs
@@ -0,0 +1,47 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+#![cfg_attr(not(feature = "std"), no_std)]
+
+use up_data_structs::{
+ CollectionId, TokenId, RpcCollection, CollectionStats, CollectionLimits, Property,
+ PropertyKeyPermission, TokenData, TokenChild,
+};
+
+use sp_std::vec::Vec;
+use codec::Decode;
+use sp_runtime::{
+ DispatchError,
+ traits::{AtLeast32BitUnsigned, Member},
+};
+
+type Result<T> = core::result::Result<T, DispatchError>;
+
+sp_api::decl_runtime_apis! {
+ #[api_version(2)]
+ /// Trait for generate rpc.
+ pub trait AppPromotionApi<BlockNumber ,CrossAccountId, AccountId> where
+ BlockNumber: Decode + Member + AtLeast32BitUnsigned,
+ AccountId: Decode,
+ CrossAccountId: pallet_evm::account::CrossAccountId<AccountId>,
+ {
+ fn total_staked(staker: Option<CrossAccountId>) -> Result<u128>;
+ fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
+ fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;
+ fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128>;
+ fn pending_unstake_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
+ }
+}
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -127,11 +127,5 @@
fn total_pieces(collection_id: CollectionId, token_id: TokenId) -> Result<Option<u128>>;
fn token_owners(collection: CollectionId, token: TokenId) -> Result<Vec<CrossAccountId>>;
- fn total_staked(staker: Option<CrossAccountId>) -> Result<u128>;
- fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
- fn total_staking_locked(staker: CrossAccountId) -> Result<u128>;
- fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128>;
- fn pending_unstake_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>>;
-
}
}
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -187,25 +187,47 @@
fn total_pieces(collection: CollectionId, token_id: TokenId) -> Result<Option<u128>, DispatchError> {
dispatch_unique_runtime!(collection.total_pieces(token_id))
}
+ }
+ impl app_promotion_rpc::AppPromotionApi<Block, BlockNumber, CrossAccountId, AccountId> for Runtime {
fn total_staked(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
- Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default())
- }
+ #[cfg(not(feature = "app-promotion"))]
+ return unsupported!();
+ #[cfg(feature = "app-promotion")]
+ return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked(staker).unwrap_or_default());
+ }
+
fn total_staked_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {
- Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked_per_block(staker))
+ #[cfg(not(feature = "app-promotion"))]
+ return unsupported!();
+
+ #[cfg(feature = "app-promotion")]
+ return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_total_staked_per_block(staker));
}
fn total_staking_locked(staker: CrossAccountId) -> Result<u128, DispatchError> {
- Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_locked_balance(staker))
+ #[cfg(not(feature = "app-promotion"))]
+ return unsupported!();
+
+ #[cfg(feature = "app-promotion")]
+ return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_locked_balance(staker));
}
fn pending_unstake(staker: Option<CrossAccountId>) -> Result<u128, DispatchError> {
- Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake(staker))
+ #[cfg(not(feature = "app-promotion"))]
+ return unsupported!();
+
+ #[cfg(feature = "app-promotion")]
+ return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake(staker));
}
fn pending_unstake_per_block(staker: CrossAccountId) -> Result<Vec<(BlockNumber, u128)>, DispatchError> {
- Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake_per_block(staker))
+ #[cfg(not(feature = "app-promotion"))]
+ return unsupported!();
+
+ #[cfg(feature = "app-promotion")]
+ return Ok(<pallet_app_promotion::Pallet<Runtime>>::cross_id_pending_unstake_per_block(staker))
}
}
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -83,6 +83,7 @@
'pallet-base-fee/std',
'fp-rpc/std',
'up-rpc/std',
+ 'app-promotion-rpc/std',
'fp-evm-mapping/std',
'fp-self-contained/std',
'parachain-info/std',
@@ -414,6 +415,7 @@
derivative = "2.2.0"
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}
rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }
fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -82,6 +82,7 @@
'pallet-base-fee/std',
'fp-rpc/std',
'up-rpc/std',
+ 'app-promotion-rpc/std',
'fp-evm-mapping/std',
'fp-self-contained/std',
'parachain-info/std',
@@ -416,8 +417,10 @@
derivative = "2.2.0"
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}
fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.27" }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
+pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
pallet-common = { default-features = false, path = "../../pallets/common" }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -83,6 +83,7 @@
'pallet-base-fee/std',
'fp-rpc/std',
'up-rpc/std',
+ 'app-promotion-rpc/std',
'fp-evm-mapping/std',
'fp-self-contained/std',
'parachain-info/std',
@@ -409,8 +410,10 @@
derivative = "2.2.0"
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
+app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false}
rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }
pallet-inflation = { path = '../../pallets/inflation', default-features = false }
+pallet-app-promotion = { path = '../../pallets/app-promotion', default-features = false }
up-data-structs = { path = '../../primitives/data-structs', default-features = false }
pallet-configuration = { default-features = false, path = "../../pallets/configuration" }
pallet-common = { default-features = false, path = "../../pallets/common" }
tests/src/interfaces/appPromotion/definitions.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/appPromotion/definitions.ts
@@ -0,0 +1,66 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+type RpcParam = {
+ name: string;
+ type: string;
+ isOptional?: true;
+};
+
+const CROSS_ACCOUNT_ID_TYPE = 'PalletEvmAccountBasicCrossAccountIdRepr';
+
+const collectionParam = {name: 'collection', type: 'u32'};
+const tokenParam = {name: 'tokenId', type: 'u32'};
+const propertyKeysParam = {name: 'propertyKeys', type: 'Vec<String>', isOptional: true};
+const crossAccountParam = (name = 'account') => ({name, type: CROSS_ACCOUNT_ID_TYPE});
+const atParam = {name: 'at', type: 'Hash', isOptional: true};
+
+const fun = (description: string, params: RpcParam[], type: string) => ({
+ description,
+ params: [...params, atParam],
+ type,
+});
+
+export default {
+ types: {},
+ rpc: {
+ totalStaked: fun(
+ 'Returns the total amount of staked tokens',
+ [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
+ 'u128',
+ ),
+ totalStakedPerBlock: fun(
+ 'Returns the total amount of staked tokens per block when staked',
+ [crossAccountParam('staker')],
+ 'Vec<(u32, u128)>',
+ ),
+ totalStakingLocked: fun(
+ 'Return the total amount locked by staking tokens',
+ [crossAccountParam('staker')],
+ 'u128',
+ ),
+ pendingUnstake: fun(
+ 'Returns the total amount of unstaked tokens',
+ [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
+ 'u128',
+ ),
+ pendingUnstakePerBlock: fun(
+ 'Returns the total amount of unstaked tokens per block',
+ [crossAccountParam('staker')],
+ 'Vec<(u32, u128)>',
+ ),
+ },
+};
tests/src/interfaces/appPromotion/index.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/appPromotion/index.ts
@@ -0,0 +1,4 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+export * from './types';
tests/src/interfaces/appPromotion/types.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/appPromotion/types.ts
@@ -0,0 +1,4 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+export type PHANTOM_APPPROMOTION = 'appPromotion';
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -269,7 +269,7 @@
**/
NoPendingSponsor: AugmentedError<ApiType>;
/**
- * This method is only executable by owner.
+ * This method is only executable by contract owner
**/
NoPermission: AugmentedError<ApiType>;
/**
@@ -278,7 +278,13 @@
[key: string]: AugmentedError<ApiType>;
};
evmMigration: {
+ /**
+ * Migration of this account is not yet started, or already finished.
+ **/
AccountIsNotMigrating: AugmentedError<ApiType>;
+ /**
+ * Can only migrate to empty address.
+ **/
AccountNotEmpty: AugmentedError<ApiType>;
/**
* Generic error
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -335,7 +335,7 @@
*
* Currently used to store RMRK data.
**/
- tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | 'Eth' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
+ tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
/**
* Used to enumerate token's children.
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -35,6 +35,28 @@
declare module '@polkadot/rpc-core/types/jsonrpc' {
interface RpcInterface {
+ appPromotion: {
+ /**
+ * Returns the total amount of unstaked tokens
+ **/
+ pendingUnstake: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ /**
+ * Returns the total amount of unstaked tokens per block
+ **/
+ pendingUnstakePerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;
+ /**
+ * Returns the total amount of staked tokens
+ **/
+ totalStaked: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ /**
+ * Returns the total amount of staked tokens per block when staked
+ **/
+ totalStakedPerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;
+ /**
+ * Return the total amount locked by staking tokens
+ **/
+ totalStakingLocked: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
+ };
author: {
/**
* Returns true if the keystore has private keys for the given public key and key type.
@@ -702,15 +724,7 @@
* Get the number of blocks until sponsoring a transaction is available
**/
nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;
- /**
- * Returns the total amount of unstaked tokens
- **/
- pendingUnstake: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
/**
- * Returns the total amount of unstaked tokens per block
- **/
- pendingUnstakePerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;
- /**
* Get property permissions, optionally limited to the provided keys
**/
propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
@@ -746,18 +760,6 @@
* Get the total amount of pieces of an RFT
**/
totalPieces: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u128>>>;
- /**
- * Returns the total amount of staked tokens
- **/
- totalStaked: AugmentedRpc<(staker?: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
- /**
- * Returns the total amount of staked tokens per block when staked
- **/
- totalStakedPerBlock: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;
- /**
- * Return the total amount locked by staking tokens
- **/
- totalStakingLocked: AugmentedRpc<(staker: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
/**
* Get the amount of distinctive tokens present in a collection
**/
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -181,8 +181,21 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
evmMigration: {
+ /**
+ * Start contract migration, inserts contract stub at target address,
+ * and marks account as pending, allowing to insert storage
+ **/
begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
+ /**
+ * Finish contract migration, allows it to be called.
+ * It is not possible to alter contract storage via [`Self::set_data`]
+ * after this call.
+ **/
finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;
+ /**
+ * Insert items into contract storage, this method can be called
+ * multiple times
+ **/
setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
/**
* Generic tx
@@ -372,7 +385,7 @@
stopAppPromotion: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
- unstake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
+ unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Generic tx
**/
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -822,9 +822,6 @@
readonly amount: u128;
} & Struct;
readonly isUnstake: boolean;
- readonly asUnstake: {
- readonly amount: u128;
- } & Struct;
readonly isSponsorCollection: boolean;
readonly asSponsorCollection: {
readonly collectionId: u32;
@@ -2639,8 +2636,7 @@
export interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
- readonly isEth: boolean;
- readonly type: 'None' | 'Rmrk' | 'Eth';
+ readonly type: 'None' | 'Rmrk';
}
/** @name UpDataStructsRpcCollection */
tests/src/interfaces/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/definitions.ts
+++ b/tests/src/interfaces/definitions.ts
@@ -15,5 +15,6 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
export {default as unique} from './unique/definitions';
+export {default as appPromotion} from './appPromotion/definitions';
export {default as rmrk} from './rmrk/definitions';
export {default as default} from './default/definitions';
\ No newline at end of file
tests/src/interfaces/lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup3: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>9 **/10 FrameSystemAccountInfo: {11 nonce: 'u32',12 consumers: 'u32',13 providers: 'u32',14 sufficients: 'u32',15 data: 'PalletBalancesAccountData'16 },17 /**18 * Lookup5: pallet_balances::AccountData<Balance>19 **/20 PalletBalancesAccountData: {21 free: 'u128',22 reserved: 'u128',23 miscFrozen: 'u128',24 feeFrozen: 'u128'25 },26 /**27 * Lookup7: frame_support::weights::PerDispatchClass<T>28 **/29 FrameSupportWeightsPerDispatchClassU64: {30 normal: 'u64',31 operational: 'u64',32 mandatory: 'u64'33 },34 /**35 * Lookup11: sp_runtime::generic::digest::Digest36 **/37 SpRuntimeDigest: {38 logs: 'Vec<SpRuntimeDigestDigestItem>'39 },40 /**41 * Lookup13: sp_runtime::generic::digest::DigestItem42 **/43 SpRuntimeDigestDigestItem: {44 _enum: {45 Other: 'Bytes',46 __Unused1: 'Null',47 __Unused2: 'Null',48 __Unused3: 'Null',49 Consensus: '([u8;4],Bytes)',50 Seal: '([u8;4],Bytes)',51 PreRuntime: '([u8;4],Bytes)',52 __Unused7: 'Null',53 RuntimeEnvironmentUpdated: 'Null'54 }55 },56 /**57 * Lookup16: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>58 **/59 FrameSystemEventRecord: {60 phase: 'FrameSystemPhase',61 event: 'Event',62 topics: 'Vec<H256>'63 },64 /**65 * Lookup18: frame_system::pallet::Event<T>66 **/67 FrameSystemEvent: {68 _enum: {69 ExtrinsicSuccess: {70 dispatchInfo: 'FrameSupportWeightsDispatchInfo',71 },72 ExtrinsicFailed: {73 dispatchError: 'SpRuntimeDispatchError',74 dispatchInfo: 'FrameSupportWeightsDispatchInfo',75 },76 CodeUpdated: 'Null',77 NewAccount: {78 account: 'AccountId32',79 },80 KilledAccount: {81 account: 'AccountId32',82 },83 Remarked: {84 _alias: {85 hash_: 'hash',86 },87 sender: 'AccountId32',88 hash_: 'H256'89 }90 }91 },92 /**93 * Lookup19: frame_support::weights::DispatchInfo94 **/95 FrameSupportWeightsDispatchInfo: {96 weight: 'u64',97 class: 'FrameSupportWeightsDispatchClass',98 paysFee: 'FrameSupportWeightsPays'99 },100 /**101 * Lookup20: frame_support::weights::DispatchClass102 **/103 FrameSupportWeightsDispatchClass: {104 _enum: ['Normal', 'Operational', 'Mandatory']105 },106 /**107 * Lookup21: frame_support::weights::Pays108 **/109 FrameSupportWeightsPays: {110 _enum: ['Yes', 'No']111 },112 /**113 * Lookup22: sp_runtime::DispatchError114 **/115 SpRuntimeDispatchError: {116 _enum: {117 Other: 'Null',118 CannotLookup: 'Null',119 BadOrigin: 'Null',120 Module: 'SpRuntimeModuleError',121 ConsumerRemaining: 'Null',122 NoProviders: 'Null',123 TooManyConsumers: 'Null',124 Token: 'SpRuntimeTokenError',125 Arithmetic: 'SpRuntimeArithmeticError',126 Transactional: 'SpRuntimeTransactionalError'127 }128 },129 /**130 * Lookup23: sp_runtime::ModuleError131 **/132 SpRuntimeModuleError: {133 index: 'u8',134 error: '[u8;4]'135 },136 /**137 * Lookup24: sp_runtime::TokenError138 **/139 SpRuntimeTokenError: {140 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']141 },142 /**143 * Lookup25: sp_runtime::ArithmeticError144 **/145 SpRuntimeArithmeticError: {146 _enum: ['Underflow', 'Overflow', 'DivisionByZero']147 },148 /**149 * Lookup26: sp_runtime::TransactionalError150 **/151 SpRuntimeTransactionalError: {152 _enum: ['LimitReached', 'NoLayer']153 },154 /**155 * Lookup27: cumulus_pallet_parachain_system::pallet::Event<T>156 **/157 CumulusPalletParachainSystemEvent: {158 _enum: {159 ValidationFunctionStored: 'Null',160 ValidationFunctionApplied: {161 relayChainBlockNum: 'u32',162 },163 ValidationFunctionDiscarded: 'Null',164 UpgradeAuthorized: {165 codeHash: 'H256',166 },167 DownwardMessagesReceived: {168 count: 'u32',169 },170 DownwardMessagesProcessed: {171 weightUsed: 'u64',172 dmqHead: 'H256'173 }174 }175 },176 /**177 * Lookup28: pallet_balances::pallet::Event<T, I>178 **/179 PalletBalancesEvent: {180 _enum: {181 Endowed: {182 account: 'AccountId32',183 freeBalance: 'u128',184 },185 DustLost: {186 account: 'AccountId32',187 amount: 'u128',188 },189 Transfer: {190 from: 'AccountId32',191 to: 'AccountId32',192 amount: 'u128',193 },194 BalanceSet: {195 who: 'AccountId32',196 free: 'u128',197 reserved: 'u128',198 },199 Reserved: {200 who: 'AccountId32',201 amount: 'u128',202 },203 Unreserved: {204 who: 'AccountId32',205 amount: 'u128',206 },207 ReserveRepatriated: {208 from: 'AccountId32',209 to: 'AccountId32',210 amount: 'u128',211 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',212 },213 Deposit: {214 who: 'AccountId32',215 amount: 'u128',216 },217 Withdraw: {218 who: 'AccountId32',219 amount: 'u128',220 },221 Slashed: {222 who: 'AccountId32',223 amount: 'u128'224 }225 }226 },227 /**228 * Lookup29: frame_support::traits::tokens::misc::BalanceStatus229 **/230 FrameSupportTokensMiscBalanceStatus: {231 _enum: ['Free', 'Reserved']232 },233 /**234 * Lookup30: pallet_transaction_payment::pallet::Event<T>235 **/236 PalletTransactionPaymentEvent: {237 _enum: {238 TransactionFeePaid: {239 who: 'AccountId32',240 actualFee: 'u128',241 tip: 'u128'242 }243 }244 },245 /**246 * Lookup31: pallet_treasury::pallet::Event<T, I>247 **/248 PalletTreasuryEvent: {249 _enum: {250 Proposed: {251 proposalIndex: 'u32',252 },253 Spending: {254 budgetRemaining: 'u128',255 },256 Awarded: {257 proposalIndex: 'u32',258 award: 'u128',259 account: 'AccountId32',260 },261 Rejected: {262 proposalIndex: 'u32',263 slashed: 'u128',264 },265 Burnt: {266 burntFunds: 'u128',267 },268 Rollover: {269 rolloverBalance: 'u128',270 },271 Deposit: {272 value: 'u128',273 },274 SpendApproved: {275 proposalIndex: 'u32',276 amount: 'u128',277 beneficiary: 'AccountId32'278 }279 }280 },281 /**282 * Lookup32: pallet_sudo::pallet::Event<T>283 **/284 PalletSudoEvent: {285 _enum: {286 Sudid: {287 sudoResult: 'Result<Null, SpRuntimeDispatchError>',288 },289 KeyChanged: {290 oldSudoer: 'Option<AccountId32>',291 },292 SudoAsDone: {293 sudoResult: 'Result<Null, SpRuntimeDispatchError>'294 }295 }296 },297 /**298 * Lookup36: orml_vesting::module::Event<T>299 **/300 OrmlVestingModuleEvent: {301 _enum: {302 VestingScheduleAdded: {303 from: 'AccountId32',304 to: 'AccountId32',305 vestingSchedule: 'OrmlVestingVestingSchedule',306 },307 Claimed: {308 who: 'AccountId32',309 amount: 'u128',310 },311 VestingSchedulesUpdated: {312 who: 'AccountId32'313 }314 }315 },316 /**317 * Lookup37: orml_vesting::VestingSchedule<BlockNumber, Balance>318 **/319 OrmlVestingVestingSchedule: {320 start: 'u32',321 period: 'u32',322 periodCount: 'u32',323 perPeriod: 'Compact<u128>'324 },325 /**326 * Lookup39: cumulus_pallet_xcmp_queue::pallet::Event<T>327 **/328 CumulusPalletXcmpQueueEvent: {329 _enum: {330 Success: {331 messageHash: 'Option<H256>',332 weight: 'u64',333 },334 Fail: {335 messageHash: 'Option<H256>',336 error: 'XcmV2TraitsError',337 weight: 'u64',338 },339 BadVersion: {340 messageHash: 'Option<H256>',341 },342 BadFormat: {343 messageHash: 'Option<H256>',344 },345 UpwardMessageSent: {346 messageHash: 'Option<H256>',347 },348 XcmpMessageSent: {349 messageHash: 'Option<H256>',350 },351 OverweightEnqueued: {352 sender: 'u32',353 sentAt: 'u32',354 index: 'u64',355 required: 'u64',356 },357 OverweightServiced: {358 index: 'u64',359 used: 'u64'360 }361 }362 },363 /**364 * Lookup41: xcm::v2::traits::Error365 **/366 XcmV2TraitsError: {367 _enum: {368 Overflow: 'Null',369 Unimplemented: 'Null',370 UntrustedReserveLocation: 'Null',371 UntrustedTeleportLocation: 'Null',372 MultiLocationFull: 'Null',373 MultiLocationNotInvertible: 'Null',374 BadOrigin: 'Null',375 InvalidLocation: 'Null',376 AssetNotFound: 'Null',377 FailedToTransactAsset: 'Null',378 NotWithdrawable: 'Null',379 LocationCannotHold: 'Null',380 ExceedsMaxMessageSize: 'Null',381 DestinationUnsupported: 'Null',382 Transport: 'Null',383 Unroutable: 'Null',384 UnknownClaim: 'Null',385 FailedToDecode: 'Null',386 MaxWeightInvalid: 'Null',387 NotHoldingFees: 'Null',388 TooExpensive: 'Null',389 Trap: 'u64',390 UnhandledXcmVersion: 'Null',391 WeightLimitReached: 'u64',392 Barrier: 'Null',393 WeightNotComputable: 'Null'394 }395 },396 /**397 * Lookup43: pallet_xcm::pallet::Event<T>398 **/399 PalletXcmEvent: {400 _enum: {401 Attempted: 'XcmV2TraitsOutcome',402 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',403 UnexpectedResponse: '(XcmV1MultiLocation,u64)',404 ResponseReady: '(u64,XcmV2Response)',405 Notified: '(u64,u8,u8)',406 NotifyOverweight: '(u64,u8,u8,u64,u64)',407 NotifyDispatchError: '(u64,u8,u8)',408 NotifyDecodeFailed: '(u64,u8,u8)',409 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',410 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',411 ResponseTaken: 'u64',412 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',413 VersionChangeNotified: '(XcmV1MultiLocation,u32)',414 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',415 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',416 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'417 }418 },419 /**420 * Lookup44: xcm::v2::traits::Outcome421 **/422 XcmV2TraitsOutcome: {423 _enum: {424 Complete: 'u64',425 Incomplete: '(u64,XcmV2TraitsError)',426 Error: 'XcmV2TraitsError'427 }428 },429 /**430 * Lookup45: xcm::v1::multilocation::MultiLocation431 **/432 XcmV1MultiLocation: {433 parents: 'u8',434 interior: 'XcmV1MultilocationJunctions'435 },436 /**437 * Lookup46: xcm::v1::multilocation::Junctions438 **/439 XcmV1MultilocationJunctions: {440 _enum: {441 Here: 'Null',442 X1: 'XcmV1Junction',443 X2: '(XcmV1Junction,XcmV1Junction)',444 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',445 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',446 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',447 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',448 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',449 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'450 }451 },452 /**453 * Lookup47: xcm::v1::junction::Junction454 **/455 XcmV1Junction: {456 _enum: {457 Parachain: 'Compact<u32>',458 AccountId32: {459 network: 'XcmV0JunctionNetworkId',460 id: '[u8;32]',461 },462 AccountIndex64: {463 network: 'XcmV0JunctionNetworkId',464 index: 'Compact<u64>',465 },466 AccountKey20: {467 network: 'XcmV0JunctionNetworkId',468 key: '[u8;20]',469 },470 PalletInstance: 'u8',471 GeneralIndex: 'Compact<u128>',472 GeneralKey: 'Bytes',473 OnlyChild: 'Null',474 Plurality: {475 id: 'XcmV0JunctionBodyId',476 part: 'XcmV0JunctionBodyPart'477 }478 }479 },480 /**481 * Lookup49: xcm::v0::junction::NetworkId482 **/483 XcmV0JunctionNetworkId: {484 _enum: {485 Any: 'Null',486 Named: 'Bytes',487 Polkadot: 'Null',488 Kusama: 'Null'489 }490 },491 /**492 * Lookup53: xcm::v0::junction::BodyId493 **/494 XcmV0JunctionBodyId: {495 _enum: {496 Unit: 'Null',497 Named: 'Bytes',498 Index: 'Compact<u32>',499 Executive: 'Null',500 Technical: 'Null',501 Legislative: 'Null',502 Judicial: 'Null'503 }504 },505 /**506 * Lookup54: xcm::v0::junction::BodyPart507 **/508 XcmV0JunctionBodyPart: {509 _enum: {510 Voice: 'Null',511 Members: {512 count: 'Compact<u32>',513 },514 Fraction: {515 nom: 'Compact<u32>',516 denom: 'Compact<u32>',517 },518 AtLeastProportion: {519 nom: 'Compact<u32>',520 denom: 'Compact<u32>',521 },522 MoreThanProportion: {523 nom: 'Compact<u32>',524 denom: 'Compact<u32>'525 }526 }527 },528 /**529 * Lookup55: xcm::v2::Xcm<Call>530 **/531 XcmV2Xcm: 'Vec<XcmV2Instruction>',532 /**533 * Lookup57: xcm::v2::Instruction<Call>534 **/535 XcmV2Instruction: {536 _enum: {537 WithdrawAsset: 'XcmV1MultiassetMultiAssets',538 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',539 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',540 QueryResponse: {541 queryId: 'Compact<u64>',542 response: 'XcmV2Response',543 maxWeight: 'Compact<u64>',544 },545 TransferAsset: {546 assets: 'XcmV1MultiassetMultiAssets',547 beneficiary: 'XcmV1MultiLocation',548 },549 TransferReserveAsset: {550 assets: 'XcmV1MultiassetMultiAssets',551 dest: 'XcmV1MultiLocation',552 xcm: 'XcmV2Xcm',553 },554 Transact: {555 originType: 'XcmV0OriginKind',556 requireWeightAtMost: 'Compact<u64>',557 call: 'XcmDoubleEncoded',558 },559 HrmpNewChannelOpenRequest: {560 sender: 'Compact<u32>',561 maxMessageSize: 'Compact<u32>',562 maxCapacity: 'Compact<u32>',563 },564 HrmpChannelAccepted: {565 recipient: 'Compact<u32>',566 },567 HrmpChannelClosing: {568 initiator: 'Compact<u32>',569 sender: 'Compact<u32>',570 recipient: 'Compact<u32>',571 },572 ClearOrigin: 'Null',573 DescendOrigin: 'XcmV1MultilocationJunctions',574 ReportError: {575 queryId: 'Compact<u64>',576 dest: 'XcmV1MultiLocation',577 maxResponseWeight: 'Compact<u64>',578 },579 DepositAsset: {580 assets: 'XcmV1MultiassetMultiAssetFilter',581 maxAssets: 'Compact<u32>',582 beneficiary: 'XcmV1MultiLocation',583 },584 DepositReserveAsset: {585 assets: 'XcmV1MultiassetMultiAssetFilter',586 maxAssets: 'Compact<u32>',587 dest: 'XcmV1MultiLocation',588 xcm: 'XcmV2Xcm',589 },590 ExchangeAsset: {591 give: 'XcmV1MultiassetMultiAssetFilter',592 receive: 'XcmV1MultiassetMultiAssets',593 },594 InitiateReserveWithdraw: {595 assets: 'XcmV1MultiassetMultiAssetFilter',596 reserve: 'XcmV1MultiLocation',597 xcm: 'XcmV2Xcm',598 },599 InitiateTeleport: {600 assets: 'XcmV1MultiassetMultiAssetFilter',601 dest: 'XcmV1MultiLocation',602 xcm: 'XcmV2Xcm',603 },604 QueryHolding: {605 queryId: 'Compact<u64>',606 dest: 'XcmV1MultiLocation',607 assets: 'XcmV1MultiassetMultiAssetFilter',608 maxResponseWeight: 'Compact<u64>',609 },610 BuyExecution: {611 fees: 'XcmV1MultiAsset',612 weightLimit: 'XcmV2WeightLimit',613 },614 RefundSurplus: 'Null',615 SetErrorHandler: 'XcmV2Xcm',616 SetAppendix: 'XcmV2Xcm',617 ClearError: 'Null',618 ClaimAsset: {619 assets: 'XcmV1MultiassetMultiAssets',620 ticket: 'XcmV1MultiLocation',621 },622 Trap: 'Compact<u64>',623 SubscribeVersion: {624 queryId: 'Compact<u64>',625 maxResponseWeight: 'Compact<u64>',626 },627 UnsubscribeVersion: 'Null'628 }629 },630 /**631 * Lookup58: xcm::v1::multiasset::MultiAssets632 **/633 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',634 /**635 * Lookup60: xcm::v1::multiasset::MultiAsset636 **/637 XcmV1MultiAsset: {638 id: 'XcmV1MultiassetAssetId',639 fun: 'XcmV1MultiassetFungibility'640 },641 /**642 * Lookup61: xcm::v1::multiasset::AssetId643 **/644 XcmV1MultiassetAssetId: {645 _enum: {646 Concrete: 'XcmV1MultiLocation',647 Abstract: 'Bytes'648 }649 },650 /**651 * Lookup62: xcm::v1::multiasset::Fungibility652 **/653 XcmV1MultiassetFungibility: {654 _enum: {655 Fungible: 'Compact<u128>',656 NonFungible: 'XcmV1MultiassetAssetInstance'657 }658 },659 /**660 * Lookup63: xcm::v1::multiasset::AssetInstance661 **/662 XcmV1MultiassetAssetInstance: {663 _enum: {664 Undefined: 'Null',665 Index: 'Compact<u128>',666 Array4: '[u8;4]',667 Array8: '[u8;8]',668 Array16: '[u8;16]',669 Array32: '[u8;32]',670 Blob: 'Bytes'671 }672 },673 /**674 * Lookup66: xcm::v2::Response675 **/676 XcmV2Response: {677 _enum: {678 Null: 'Null',679 Assets: 'XcmV1MultiassetMultiAssets',680 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',681 Version: 'u32'682 }683 },684 /**685 * Lookup69: xcm::v0::OriginKind686 **/687 XcmV0OriginKind: {688 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']689 },690 /**691 * Lookup70: xcm::double_encoded::DoubleEncoded<T>692 **/693 XcmDoubleEncoded: {694 encoded: 'Bytes'695 },696 /**697 * Lookup71: xcm::v1::multiasset::MultiAssetFilter698 **/699 XcmV1MultiassetMultiAssetFilter: {700 _enum: {701 Definite: 'XcmV1MultiassetMultiAssets',702 Wild: 'XcmV1MultiassetWildMultiAsset'703 }704 },705 /**706 * Lookup72: xcm::v1::multiasset::WildMultiAsset707 **/708 XcmV1MultiassetWildMultiAsset: {709 _enum: {710 All: 'Null',711 AllOf: {712 id: 'XcmV1MultiassetAssetId',713 fun: 'XcmV1MultiassetWildFungibility'714 }715 }716 },717 /**718 * Lookup73: xcm::v1::multiasset::WildFungibility719 **/720 XcmV1MultiassetWildFungibility: {721 _enum: ['Fungible', 'NonFungible']722 },723 /**724 * Lookup74: xcm::v2::WeightLimit725 **/726 XcmV2WeightLimit: {727 _enum: {728 Unlimited: 'Null',729 Limited: 'Compact<u64>'730 }731 },732 /**733 * Lookup76: xcm::VersionedMultiAssets734 **/735 XcmVersionedMultiAssets: {736 _enum: {737 V0: 'Vec<XcmV0MultiAsset>',738 V1: 'XcmV1MultiassetMultiAssets'739 }740 },741 /**742 * Lookup78: xcm::v0::multi_asset::MultiAsset743 **/744 XcmV0MultiAsset: {745 _enum: {746 None: 'Null',747 All: 'Null',748 AllFungible: 'Null',749 AllNonFungible: 'Null',750 AllAbstractFungible: {751 id: 'Bytes',752 },753 AllAbstractNonFungible: {754 class: 'Bytes',755 },756 AllConcreteFungible: {757 id: 'XcmV0MultiLocation',758 },759 AllConcreteNonFungible: {760 class: 'XcmV0MultiLocation',761 },762 AbstractFungible: {763 id: 'Bytes',764 amount: 'Compact<u128>',765 },766 AbstractNonFungible: {767 class: 'Bytes',768 instance: 'XcmV1MultiassetAssetInstance',769 },770 ConcreteFungible: {771 id: 'XcmV0MultiLocation',772 amount: 'Compact<u128>',773 },774 ConcreteNonFungible: {775 class: 'XcmV0MultiLocation',776 instance: 'XcmV1MultiassetAssetInstance'777 }778 }779 },780 /**781 * Lookup79: xcm::v0::multi_location::MultiLocation782 **/783 XcmV0MultiLocation: {784 _enum: {785 Null: 'Null',786 X1: 'XcmV0Junction',787 X2: '(XcmV0Junction,XcmV0Junction)',788 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',789 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',790 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',791 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',792 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',793 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'794 }795 },796 /**797 * Lookup80: xcm::v0::junction::Junction798 **/799 XcmV0Junction: {800 _enum: {801 Parent: 'Null',802 Parachain: 'Compact<u32>',803 AccountId32: {804 network: 'XcmV0JunctionNetworkId',805 id: '[u8;32]',806 },807 AccountIndex64: {808 network: 'XcmV0JunctionNetworkId',809 index: 'Compact<u64>',810 },811 AccountKey20: {812 network: 'XcmV0JunctionNetworkId',813 key: '[u8;20]',814 },815 PalletInstance: 'u8',816 GeneralIndex: 'Compact<u128>',817 GeneralKey: 'Bytes',818 OnlyChild: 'Null',819 Plurality: {820 id: 'XcmV0JunctionBodyId',821 part: 'XcmV0JunctionBodyPart'822 }823 }824 },825 /**826 * Lookup81: xcm::VersionedMultiLocation827 **/828 XcmVersionedMultiLocation: {829 _enum: {830 V0: 'XcmV0MultiLocation',831 V1: 'XcmV1MultiLocation'832 }833 },834 /**835 * Lookup82: cumulus_pallet_xcm::pallet::Event<T>836 **/837 CumulusPalletXcmEvent: {838 _enum: {839 InvalidFormat: '[u8;8]',840 UnsupportedVersion: '[u8;8]',841 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'842 }843 },844 /**845 * Lookup83: cumulus_pallet_dmp_queue::pallet::Event<T>846 **/847 CumulusPalletDmpQueueEvent: {848 _enum: {849 InvalidFormat: {850 messageId: '[u8;32]',851 },852 UnsupportedVersion: {853 messageId: '[u8;32]',854 },855 ExecutedDownward: {856 messageId: '[u8;32]',857 outcome: 'XcmV2TraitsOutcome',858 },859 WeightExhausted: {860 messageId: '[u8;32]',861 remainingWeight: 'u64',862 requiredWeight: 'u64',863 },864 OverweightEnqueued: {865 messageId: '[u8;32]',866 overweightIndex: 'u64',867 requiredWeight: 'u64',868 },869 OverweightServiced: {870 overweightIndex: 'u64',871 weightUsed: 'u64'872 }873 }874 },875 /**876 * Lookup84: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>877 **/878 PalletUniqueRawEvent: {879 _enum: {880 CollectionSponsorRemoved: 'u32',881 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',882 CollectionOwnedChanged: '(u32,AccountId32)',883 CollectionSponsorSet: '(u32,AccountId32)',884 SponsorshipConfirmed: '(u32,AccountId32)',885 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',886 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',887 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',888 CollectionLimitSet: 'u32',889 CollectionPermissionSet: 'u32'890 }891 },892 /**893 * Lookup85: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>894 **/895 PalletEvmAccountBasicCrossAccountIdRepr: {896 _enum: {897 Substrate: 'AccountId32',898 Ethereum: 'H160'899 }900 },901 /**902 * Lookup88: pallet_unique_scheduler::pallet::Event<T>903 **/904 PalletUniqueSchedulerEvent: {905 _enum: {906 Scheduled: {907 when: 'u32',908 index: 'u32',909 },910 Canceled: {911 when: 'u32',912 index: 'u32',913 },914 Dispatched: {915 task: '(u32,u32)',916 id: 'Option<[u8;16]>',917 result: 'Result<Null, SpRuntimeDispatchError>',918 },919 CallLookupFailed: {920 task: '(u32,u32)',921 id: 'Option<[u8;16]>',922 error: 'FrameSupportScheduleLookupError'923 }924 }925 },926 /**927 * Lookup91: frame_support::traits::schedule::LookupError928 **/929 FrameSupportScheduleLookupError: {930 _enum: ['Unknown', 'BadFormat']931 },932 /**933 * Lookup92: pallet_common::pallet::Event<T>934 **/935 PalletCommonEvent: {936 _enum: {937 CollectionCreated: '(u32,u8,AccountId32)',938 CollectionDestroyed: 'u32',939 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',940 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',941 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',942 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',943 CollectionPropertySet: '(u32,Bytes)',944 CollectionPropertyDeleted: '(u32,Bytes)',945 TokenPropertySet: '(u32,u32,Bytes)',946 TokenPropertyDeleted: '(u32,u32,Bytes)',947 PropertyPermissionSet: '(u32,Bytes)'948 }949 },950 /**951 * Lookup95: pallet_structure::pallet::Event<T>952 **/953 PalletStructureEvent: {954 _enum: {955 Executed: 'Result<Null, SpRuntimeDispatchError>'956 }957 },958 /**959 * Lookup96: pallet_rmrk_core::pallet::Event<T>960 **/961 PalletRmrkCoreEvent: {962 _enum: {963 CollectionCreated: {964 issuer: 'AccountId32',965 collectionId: 'u32',966 },967 CollectionDestroyed: {968 issuer: 'AccountId32',969 collectionId: 'u32',970 },971 IssuerChanged: {972 oldIssuer: 'AccountId32',973 newIssuer: 'AccountId32',974 collectionId: 'u32',975 },976 CollectionLocked: {977 issuer: 'AccountId32',978 collectionId: 'u32',979 },980 NftMinted: {981 owner: 'AccountId32',982 collectionId: 'u32',983 nftId: 'u32',984 },985 NFTBurned: {986 owner: 'AccountId32',987 nftId: 'u32',988 },989 NFTSent: {990 sender: 'AccountId32',991 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',992 collectionId: 'u32',993 nftId: 'u32',994 approvalRequired: 'bool',995 },996 NFTAccepted: {997 sender: 'AccountId32',998 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',999 collectionId: 'u32',1000 nftId: 'u32',1001 },1002 NFTRejected: {1003 sender: 'AccountId32',1004 collectionId: 'u32',1005 nftId: 'u32',1006 },1007 PropertySet: {1008 collectionId: 'u32',1009 maybeNftId: 'Option<u32>',1010 key: 'Bytes',1011 value: 'Bytes',1012 },1013 ResourceAdded: {1014 nftId: 'u32',1015 resourceId: 'u32',1016 },1017 ResourceRemoval: {1018 nftId: 'u32',1019 resourceId: 'u32',1020 },1021 ResourceAccepted: {1022 nftId: 'u32',1023 resourceId: 'u32',1024 },1025 ResourceRemovalAccepted: {1026 nftId: 'u32',1027 resourceId: 'u32',1028 },1029 PrioritySet: {1030 collectionId: 'u32',1031 nftId: 'u32'1032 }1033 }1034 },1035 /**1036 * Lookup97: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1037 **/1038 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1039 _enum: {1040 AccountId: 'AccountId32',1041 CollectionAndNftTuple: '(u32,u32)'1042 }1043 },1044 /**1045 * Lookup102: pallet_rmrk_equip::pallet::Event<T>1046 **/1047 PalletRmrkEquipEvent: {1048 _enum: {1049 BaseCreated: {1050 issuer: 'AccountId32',1051 baseId: 'u32',1052 },1053 EquippablesUpdated: {1054 baseId: 'u32',1055 slotId: 'u32'1056 }1057 }1058 },1059 /**1060 * Lookup103: pallet_app_promotion::pallet::Event<T>1061 **/1062 PalletAppPromotionEvent: {1063 _enum: {1064 StakingRecalculation: '(AccountId32,u128,u128)'1065 }1066 },1067 /**1068 * Lookup104: pallet_evm::pallet::Event<T>1069 **/1070 PalletEvmEvent: {1071 _enum: {1072 Log: 'EthereumLog',1073 Created: 'H160',1074 CreatedFailed: 'H160',1075 Executed: 'H160',1076 ExecutedFailed: 'H160',1077 BalanceDeposit: '(AccountId32,H160,U256)',1078 BalanceWithdraw: '(AccountId32,H160,U256)'1079 }1080 },1081 /**1082 * Lookup105: ethereum::log::Log1083 **/1084 EthereumLog: {1085 address: 'H160',1086 topics: 'Vec<H256>',1087 data: 'Bytes'1088 },1089 /**1090 * Lookup109: pallet_ethereum::pallet::Event1091 **/1092 PalletEthereumEvent: {1093 _enum: {1094 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1095 }1096 },1097 /**1098 * Lookup110: evm_core::error::ExitReason1099 **/1100 EvmCoreErrorExitReason: {1101 _enum: {1102 Succeed: 'EvmCoreErrorExitSucceed',1103 Error: 'EvmCoreErrorExitError',1104 Revert: 'EvmCoreErrorExitRevert',1105 Fatal: 'EvmCoreErrorExitFatal'1106 }1107 },1108 /**1109 * Lookup111: evm_core::error::ExitSucceed1110 **/1111 EvmCoreErrorExitSucceed: {1112 _enum: ['Stopped', 'Returned', 'Suicided']1113 },1114 /**1115 * Lookup112: evm_core::error::ExitError1116 **/1117 EvmCoreErrorExitError: {1118 _enum: {1119 StackUnderflow: 'Null',1120 StackOverflow: 'Null',1121 InvalidJump: 'Null',1122 InvalidRange: 'Null',1123 DesignatedInvalid: 'Null',1124 CallTooDeep: 'Null',1125 CreateCollision: 'Null',1126 CreateContractLimit: 'Null',1127 OutOfOffset: 'Null',1128 OutOfGas: 'Null',1129 OutOfFund: 'Null',1130 PCUnderflow: 'Null',1131 CreateEmpty: 'Null',1132 Other: 'Text',1133 InvalidCode: 'Null'1134 }1135 },1136 /**1137 * Lookup115: evm_core::error::ExitRevert1138 **/1139 EvmCoreErrorExitRevert: {1140 _enum: ['Reverted']1141 },1142 /**1143 * Lookup116: evm_core::error::ExitFatal1144 **/1145 EvmCoreErrorExitFatal: {1146 _enum: {1147 NotSupported: 'Null',1148 UnhandledInterrupt: 'Null',1149 CallErrorAsFatal: 'EvmCoreErrorExitError',1150 Other: 'Text'1151 }1152 },1153 /**1154 * Lookup117: frame_system::Phase1155 **/1156 FrameSystemPhase: {1157 _enum: {1158 ApplyExtrinsic: 'u32',1159 Finalization: 'Null',1160 Initialization: 'Null'1161 }1162 },1163 /**1164 * Lookup119: frame_system::LastRuntimeUpgradeInfo1165 **/1166 FrameSystemLastRuntimeUpgradeInfo: {1167 specVersion: 'Compact<u32>',1168 specName: 'Text'1169 },1170 /**1171 * Lookup120: frame_system::pallet::Call<T>1172 **/1173 FrameSystemCall: {1174 _enum: {1175 fill_block: {1176 ratio: 'Perbill',1177 },1178 remark: {1179 remark: 'Bytes',1180 },1181 set_heap_pages: {1182 pages: 'u64',1183 },1184 set_code: {1185 code: 'Bytes',1186 },1187 set_code_without_checks: {1188 code: 'Bytes',1189 },1190 set_storage: {1191 items: 'Vec<(Bytes,Bytes)>',1192 },1193 kill_storage: {1194 _alias: {1195 keys_: 'keys',1196 },1197 keys_: 'Vec<Bytes>',1198 },1199 kill_prefix: {1200 prefix: 'Bytes',1201 subkeys: 'u32',1202 },1203 remark_with_event: {1204 remark: 'Bytes'1205 }1206 }1207 },1208 /**1209 * Lookup125: frame_system::limits::BlockWeights1210 **/1211 FrameSystemLimitsBlockWeights: {1212 baseBlock: 'u64',1213 maxBlock: 'u64',1214 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'1215 },1216 /**1217 * Lookup126: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>1218 **/1219 FrameSupportWeightsPerDispatchClassWeightsPerClass: {1220 normal: 'FrameSystemLimitsWeightsPerClass',1221 operational: 'FrameSystemLimitsWeightsPerClass',1222 mandatory: 'FrameSystemLimitsWeightsPerClass'1223 },1224 /**1225 * Lookup127: frame_system::limits::WeightsPerClass1226 **/1227 FrameSystemLimitsWeightsPerClass: {1228 baseExtrinsic: 'u64',1229 maxExtrinsic: 'Option<u64>',1230 maxTotal: 'Option<u64>',1231 reserved: 'Option<u64>'1232 },1233 /**1234 * Lookup129: frame_system::limits::BlockLength1235 **/1236 FrameSystemLimitsBlockLength: {1237 max: 'FrameSupportWeightsPerDispatchClassU32'1238 },1239 /**1240 * Lookup130: frame_support::weights::PerDispatchClass<T>1241 **/1242 FrameSupportWeightsPerDispatchClassU32: {1243 normal: 'u32',1244 operational: 'u32',1245 mandatory: 'u32'1246 },1247 /**1248 * Lookup131: frame_support::weights::RuntimeDbWeight1249 **/1250 FrameSupportWeightsRuntimeDbWeight: {1251 read: 'u64',1252 write: 'u64'1253 },1254 /**1255 * Lookup132: sp_version::RuntimeVersion1256 **/1257 SpVersionRuntimeVersion: {1258 specName: 'Text',1259 implName: 'Text',1260 authoringVersion: 'u32',1261 specVersion: 'u32',1262 implVersion: 'u32',1263 apis: 'Vec<([u8;8],u32)>',1264 transactionVersion: 'u32',1265 stateVersion: 'u8'1266 },1267 /**1268 * Lookup137: frame_system::pallet::Error<T>1269 **/1270 FrameSystemError: {1271 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1272 },1273 /**1274 * Lookup138: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1275 **/1276 PolkadotPrimitivesV2PersistedValidationData: {1277 parentHead: 'Bytes',1278 relayParentNumber: 'u32',1279 relayParentStorageRoot: 'H256',1280 maxPovSize: 'u32'1281 },1282 /**1283 * Lookup141: polkadot_primitives::v2::UpgradeRestriction1284 **/1285 PolkadotPrimitivesV2UpgradeRestriction: {1286 _enum: ['Present']1287 },1288 /**1289 * Lookup142: sp_trie::storage_proof::StorageProof1290 **/1291 SpTrieStorageProof: {1292 trieNodes: 'BTreeSet<Bytes>'1293 },1294 /**1295 * Lookup144: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1296 **/1297 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1298 dmqMqcHead: 'H256',1299 relayDispatchQueueSize: '(u32,u32)',1300 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1301 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1302 },1303 /**1304 * Lookup147: polkadot_primitives::v2::AbridgedHrmpChannel1305 **/1306 PolkadotPrimitivesV2AbridgedHrmpChannel: {1307 maxCapacity: 'u32',1308 maxTotalSize: 'u32',1309 maxMessageSize: 'u32',1310 msgCount: 'u32',1311 totalSize: 'u32',1312 mqcHead: 'Option<H256>'1313 },1314 /**1315 * Lookup148: polkadot_primitives::v2::AbridgedHostConfiguration1316 **/1317 PolkadotPrimitivesV2AbridgedHostConfiguration: {1318 maxCodeSize: 'u32',1319 maxHeadDataSize: 'u32',1320 maxUpwardQueueCount: 'u32',1321 maxUpwardQueueSize: 'u32',1322 maxUpwardMessageSize: 'u32',1323 maxUpwardMessageNumPerCandidate: 'u32',1324 hrmpMaxMessageNumPerCandidate: 'u32',1325 validationUpgradeCooldown: 'u32',1326 validationUpgradeDelay: 'u32'1327 },1328 /**1329 * Lookup154: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1330 **/1331 PolkadotCorePrimitivesOutboundHrmpMessage: {1332 recipient: 'u32',1333 data: 'Bytes'1334 },1335 /**1336 * Lookup155: cumulus_pallet_parachain_system::pallet::Call<T>1337 **/1338 CumulusPalletParachainSystemCall: {1339 _enum: {1340 set_validation_data: {1341 data: 'CumulusPrimitivesParachainInherentParachainInherentData',1342 },1343 sudo_send_upward_message: {1344 message: 'Bytes',1345 },1346 authorize_upgrade: {1347 codeHash: 'H256',1348 },1349 enact_authorized_upgrade: {1350 code: 'Bytes'1351 }1352 }1353 },1354 /**1355 * Lookup156: cumulus_primitives_parachain_inherent::ParachainInherentData1356 **/1357 CumulusPrimitivesParachainInherentParachainInherentData: {1358 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1359 relayChainState: 'SpTrieStorageProof',1360 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1361 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1362 },1363 /**1364 * Lookup158: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1365 **/1366 PolkadotCorePrimitivesInboundDownwardMessage: {1367 sentAt: 'u32',1368 msg: 'Bytes'1369 },1370 /**1371 * Lookup161: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1372 **/1373 PolkadotCorePrimitivesInboundHrmpMessage: {1374 sentAt: 'u32',1375 data: 'Bytes'1376 },1377 /**1378 * Lookup164: cumulus_pallet_parachain_system::pallet::Error<T>1379 **/1380 CumulusPalletParachainSystemError: {1381 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1382 },1383 /**1384 * Lookup166: pallet_balances::BalanceLock<Balance>1385 **/1386 PalletBalancesBalanceLock: {1387 id: '[u8;8]',1388 amount: 'u128',1389 reasons: 'PalletBalancesReasons'1390 },1391 /**1392 * Lookup167: pallet_balances::Reasons1393 **/1394 PalletBalancesReasons: {1395 _enum: ['Fee', 'Misc', 'All']1396 },1397 /**1398 * Lookup170: pallet_balances::ReserveData<ReserveIdentifier, Balance>1399 **/1400 PalletBalancesReserveData: {1401 id: '[u8;16]',1402 amount: 'u128'1403 },1404 /**1405 * Lookup172: pallet_balances::Releases1406 **/1407 PalletBalancesReleases: {1408 _enum: ['V1_0_0', 'V2_0_0']1409 },1410 /**1411 * Lookup173: pallet_balances::pallet::Call<T, I>1412 **/1413 PalletBalancesCall: {1414 _enum: {1415 transfer: {1416 dest: 'MultiAddress',1417 value: 'Compact<u128>',1418 },1419 set_balance: {1420 who: 'MultiAddress',1421 newFree: 'Compact<u128>',1422 newReserved: 'Compact<u128>',1423 },1424 force_transfer: {1425 source: 'MultiAddress',1426 dest: 'MultiAddress',1427 value: 'Compact<u128>',1428 },1429 transfer_keep_alive: {1430 dest: 'MultiAddress',1431 value: 'Compact<u128>',1432 },1433 transfer_all: {1434 dest: 'MultiAddress',1435 keepAlive: 'bool',1436 },1437 force_unreserve: {1438 who: 'MultiAddress',1439 amount: 'u128'1440 }1441 }1442 },1443 /**1444 * Lookup176: pallet_balances::pallet::Error<T, I>1445 **/1446 PalletBalancesError: {1447 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1448 },1449 /**1450 * Lookup178: pallet_timestamp::pallet::Call<T>1451 **/1452 PalletTimestampCall: {1453 _enum: {1454 set: {1455 now: 'Compact<u64>'1456 }1457 }1458 },1459 /**1460 * Lookup180: pallet_transaction_payment::Releases1461 **/1462 PalletTransactionPaymentReleases: {1463 _enum: ['V1Ancient', 'V2']1464 },1465 /**1466 * Lookup181: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1467 **/1468 PalletTreasuryProposal: {1469 proposer: 'AccountId32',1470 value: 'u128',1471 beneficiary: 'AccountId32',1472 bond: 'u128'1473 },1474 /**1475 * Lookup184: pallet_treasury::pallet::Call<T, I>1476 **/1477 PalletTreasuryCall: {1478 _enum: {1479 propose_spend: {1480 value: 'Compact<u128>',1481 beneficiary: 'MultiAddress',1482 },1483 reject_proposal: {1484 proposalId: 'Compact<u32>',1485 },1486 approve_proposal: {1487 proposalId: 'Compact<u32>',1488 },1489 spend: {1490 amount: 'Compact<u128>',1491 beneficiary: 'MultiAddress',1492 },1493 remove_approval: {1494 proposalId: 'Compact<u32>'1495 }1496 }1497 },1498 /**1499 * Lookup187: frame_support::PalletId1500 **/1501 FrameSupportPalletId: '[u8;8]',1502 /**1503 * Lookup188: pallet_treasury::pallet::Error<T, I>1504 **/1505 PalletTreasuryError: {1506 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1507 },1508 /**1509 * Lookup189: pallet_sudo::pallet::Call<T>1510 **/1511 PalletSudoCall: {1512 _enum: {1513 sudo: {1514 call: 'Call',1515 },1516 sudo_unchecked_weight: {1517 call: 'Call',1518 weight: 'u64',1519 },1520 set_key: {1521 _alias: {1522 new_: 'new',1523 },1524 new_: 'MultiAddress',1525 },1526 sudo_as: {1527 who: 'MultiAddress',1528 call: 'Call'1529 }1530 }1531 },1532 /**1533 * Lookup191: orml_vesting::module::Call<T>1534 **/1535 OrmlVestingModuleCall: {1536 _enum: {1537 claim: 'Null',1538 vested_transfer: {1539 dest: 'MultiAddress',1540 schedule: 'OrmlVestingVestingSchedule',1541 },1542 update_vesting_schedules: {1543 who: 'MultiAddress',1544 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',1545 },1546 claim_for: {1547 dest: 'MultiAddress'1548 }1549 }1550 },1551 /**1552 * Lookup193: cumulus_pallet_xcmp_queue::pallet::Call<T>1553 **/1554 CumulusPalletXcmpQueueCall: {1555 _enum: {1556 service_overweight: {1557 index: 'u64',1558 weightLimit: 'u64',1559 },1560 suspend_xcm_execution: 'Null',1561 resume_xcm_execution: 'Null',1562 update_suspend_threshold: {1563 _alias: {1564 new_: 'new',1565 },1566 new_: 'u32',1567 },1568 update_drop_threshold: {1569 _alias: {1570 new_: 'new',1571 },1572 new_: 'u32',1573 },1574 update_resume_threshold: {1575 _alias: {1576 new_: 'new',1577 },1578 new_: 'u32',1579 },1580 update_threshold_weight: {1581 _alias: {1582 new_: 'new',1583 },1584 new_: 'u64',1585 },1586 update_weight_restrict_decay: {1587 _alias: {1588 new_: 'new',1589 },1590 new_: 'u64',1591 },1592 update_xcmp_max_individual_weight: {1593 _alias: {1594 new_: 'new',1595 },1596 new_: 'u64'1597 }1598 }1599 },1600 /**1601 * Lookup194: pallet_xcm::pallet::Call<T>1602 **/1603 PalletXcmCall: {1604 _enum: {1605 send: {1606 dest: 'XcmVersionedMultiLocation',1607 message: 'XcmVersionedXcm',1608 },1609 teleport_assets: {1610 dest: 'XcmVersionedMultiLocation',1611 beneficiary: 'XcmVersionedMultiLocation',1612 assets: 'XcmVersionedMultiAssets',1613 feeAssetItem: 'u32',1614 },1615 reserve_transfer_assets: {1616 dest: 'XcmVersionedMultiLocation',1617 beneficiary: 'XcmVersionedMultiLocation',1618 assets: 'XcmVersionedMultiAssets',1619 feeAssetItem: 'u32',1620 },1621 execute: {1622 message: 'XcmVersionedXcm',1623 maxWeight: 'u64',1624 },1625 force_xcm_version: {1626 location: 'XcmV1MultiLocation',1627 xcmVersion: 'u32',1628 },1629 force_default_xcm_version: {1630 maybeXcmVersion: 'Option<u32>',1631 },1632 force_subscribe_version_notify: {1633 location: 'XcmVersionedMultiLocation',1634 },1635 force_unsubscribe_version_notify: {1636 location: 'XcmVersionedMultiLocation',1637 },1638 limited_reserve_transfer_assets: {1639 dest: 'XcmVersionedMultiLocation',1640 beneficiary: 'XcmVersionedMultiLocation',1641 assets: 'XcmVersionedMultiAssets',1642 feeAssetItem: 'u32',1643 weightLimit: 'XcmV2WeightLimit',1644 },1645 limited_teleport_assets: {1646 dest: 'XcmVersionedMultiLocation',1647 beneficiary: 'XcmVersionedMultiLocation',1648 assets: 'XcmVersionedMultiAssets',1649 feeAssetItem: 'u32',1650 weightLimit: 'XcmV2WeightLimit'1651 }1652 }1653 },1654 /**1655 * Lookup195: xcm::VersionedXcm<Call>1656 **/1657 XcmVersionedXcm: {1658 _enum: {1659 V0: 'XcmV0Xcm',1660 V1: 'XcmV1Xcm',1661 V2: 'XcmV2Xcm'1662 }1663 },1664 /**1665 * Lookup196: xcm::v0::Xcm<Call>1666 **/1667 XcmV0Xcm: {1668 _enum: {1669 WithdrawAsset: {1670 assets: 'Vec<XcmV0MultiAsset>',1671 effects: 'Vec<XcmV0Order>',1672 },1673 ReserveAssetDeposit: {1674 assets: 'Vec<XcmV0MultiAsset>',1675 effects: 'Vec<XcmV0Order>',1676 },1677 TeleportAsset: {1678 assets: 'Vec<XcmV0MultiAsset>',1679 effects: 'Vec<XcmV0Order>',1680 },1681 QueryResponse: {1682 queryId: 'Compact<u64>',1683 response: 'XcmV0Response',1684 },1685 TransferAsset: {1686 assets: 'Vec<XcmV0MultiAsset>',1687 dest: 'XcmV0MultiLocation',1688 },1689 TransferReserveAsset: {1690 assets: 'Vec<XcmV0MultiAsset>',1691 dest: 'XcmV0MultiLocation',1692 effects: 'Vec<XcmV0Order>',1693 },1694 Transact: {1695 originType: 'XcmV0OriginKind',1696 requireWeightAtMost: 'u64',1697 call: 'XcmDoubleEncoded',1698 },1699 HrmpNewChannelOpenRequest: {1700 sender: 'Compact<u32>',1701 maxMessageSize: 'Compact<u32>',1702 maxCapacity: 'Compact<u32>',1703 },1704 HrmpChannelAccepted: {1705 recipient: 'Compact<u32>',1706 },1707 HrmpChannelClosing: {1708 initiator: 'Compact<u32>',1709 sender: 'Compact<u32>',1710 recipient: 'Compact<u32>',1711 },1712 RelayedFrom: {1713 who: 'XcmV0MultiLocation',1714 message: 'XcmV0Xcm'1715 }1716 }1717 },1718 /**1719 * Lookup198: xcm::v0::order::Order<Call>1720 **/1721 XcmV0Order: {1722 _enum: {1723 Null: 'Null',1724 DepositAsset: {1725 assets: 'Vec<XcmV0MultiAsset>',1726 dest: 'XcmV0MultiLocation',1727 },1728 DepositReserveAsset: {1729 assets: 'Vec<XcmV0MultiAsset>',1730 dest: 'XcmV0MultiLocation',1731 effects: 'Vec<XcmV0Order>',1732 },1733 ExchangeAsset: {1734 give: 'Vec<XcmV0MultiAsset>',1735 receive: 'Vec<XcmV0MultiAsset>',1736 },1737 InitiateReserveWithdraw: {1738 assets: 'Vec<XcmV0MultiAsset>',1739 reserve: 'XcmV0MultiLocation',1740 effects: 'Vec<XcmV0Order>',1741 },1742 InitiateTeleport: {1743 assets: 'Vec<XcmV0MultiAsset>',1744 dest: 'XcmV0MultiLocation',1745 effects: 'Vec<XcmV0Order>',1746 },1747 QueryHolding: {1748 queryId: 'Compact<u64>',1749 dest: 'XcmV0MultiLocation',1750 assets: 'Vec<XcmV0MultiAsset>',1751 },1752 BuyExecution: {1753 fees: 'XcmV0MultiAsset',1754 weight: 'u64',1755 debt: 'u64',1756 haltOnError: 'bool',1757 xcm: 'Vec<XcmV0Xcm>'1758 }1759 }1760 },1761 /**1762 * Lookup200: xcm::v0::Response1763 **/1764 XcmV0Response: {1765 _enum: {1766 Assets: 'Vec<XcmV0MultiAsset>'1767 }1768 },1769 /**1770 * Lookup201: xcm::v1::Xcm<Call>1771 **/1772 XcmV1Xcm: {1773 _enum: {1774 WithdrawAsset: {1775 assets: 'XcmV1MultiassetMultiAssets',1776 effects: 'Vec<XcmV1Order>',1777 },1778 ReserveAssetDeposited: {1779 assets: 'XcmV1MultiassetMultiAssets',1780 effects: 'Vec<XcmV1Order>',1781 },1782 ReceiveTeleportedAsset: {1783 assets: 'XcmV1MultiassetMultiAssets',1784 effects: 'Vec<XcmV1Order>',1785 },1786 QueryResponse: {1787 queryId: 'Compact<u64>',1788 response: 'XcmV1Response',1789 },1790 TransferAsset: {1791 assets: 'XcmV1MultiassetMultiAssets',1792 beneficiary: 'XcmV1MultiLocation',1793 },1794 TransferReserveAsset: {1795 assets: 'XcmV1MultiassetMultiAssets',1796 dest: 'XcmV1MultiLocation',1797 effects: 'Vec<XcmV1Order>',1798 },1799 Transact: {1800 originType: 'XcmV0OriginKind',1801 requireWeightAtMost: 'u64',1802 call: 'XcmDoubleEncoded',1803 },1804 HrmpNewChannelOpenRequest: {1805 sender: 'Compact<u32>',1806 maxMessageSize: 'Compact<u32>',1807 maxCapacity: 'Compact<u32>',1808 },1809 HrmpChannelAccepted: {1810 recipient: 'Compact<u32>',1811 },1812 HrmpChannelClosing: {1813 initiator: 'Compact<u32>',1814 sender: 'Compact<u32>',1815 recipient: 'Compact<u32>',1816 },1817 RelayedFrom: {1818 who: 'XcmV1MultilocationJunctions',1819 message: 'XcmV1Xcm',1820 },1821 SubscribeVersion: {1822 queryId: 'Compact<u64>',1823 maxResponseWeight: 'Compact<u64>',1824 },1825 UnsubscribeVersion: 'Null'1826 }1827 },1828 /**1829 * Lookup203: xcm::v1::order::Order<Call>1830 **/1831 XcmV1Order: {1832 _enum: {1833 Noop: 'Null',1834 DepositAsset: {1835 assets: 'XcmV1MultiassetMultiAssetFilter',1836 maxAssets: 'u32',1837 beneficiary: 'XcmV1MultiLocation',1838 },1839 DepositReserveAsset: {1840 assets: 'XcmV1MultiassetMultiAssetFilter',1841 maxAssets: 'u32',1842 dest: 'XcmV1MultiLocation',1843 effects: 'Vec<XcmV1Order>',1844 },1845 ExchangeAsset: {1846 give: 'XcmV1MultiassetMultiAssetFilter',1847 receive: 'XcmV1MultiassetMultiAssets',1848 },1849 InitiateReserveWithdraw: {1850 assets: 'XcmV1MultiassetMultiAssetFilter',1851 reserve: 'XcmV1MultiLocation',1852 effects: 'Vec<XcmV1Order>',1853 },1854 InitiateTeleport: {1855 assets: 'XcmV1MultiassetMultiAssetFilter',1856 dest: 'XcmV1MultiLocation',1857 effects: 'Vec<XcmV1Order>',1858 },1859 QueryHolding: {1860 queryId: 'Compact<u64>',1861 dest: 'XcmV1MultiLocation',1862 assets: 'XcmV1MultiassetMultiAssetFilter',1863 },1864 BuyExecution: {1865 fees: 'XcmV1MultiAsset',1866 weight: 'u64',1867 debt: 'u64',1868 haltOnError: 'bool',1869 instructions: 'Vec<XcmV1Xcm>'1870 }1871 }1872 },1873 /**1874 * Lookup205: xcm::v1::Response1875 **/1876 XcmV1Response: {1877 _enum: {1878 Assets: 'XcmV1MultiassetMultiAssets',1879 Version: 'u32'1880 }1881 },1882 /**1883 * Lookup219: cumulus_pallet_xcm::pallet::Call<T>1884 **/1885 CumulusPalletXcmCall: 'Null',1886 /**1887 * Lookup220: cumulus_pallet_dmp_queue::pallet::Call<T>1888 **/1889 CumulusPalletDmpQueueCall: {1890 _enum: {1891 service_overweight: {1892 index: 'u64',1893 weightLimit: 'u64'1894 }1895 }1896 },1897 /**1898 * Lookup221: pallet_inflation::pallet::Call<T>1899 **/1900 PalletInflationCall: {1901 _enum: {1902 start_inflation: {1903 inflationStartRelayBlock: 'u32'1904 }1905 }1906 },1907 /**1908 * Lookup222: pallet_unique::Call<T>1909 **/1910 PalletUniqueCall: {1911 _enum: {1912 create_collection: {1913 collectionName: 'Vec<u16>',1914 collectionDescription: 'Vec<u16>',1915 tokenPrefix: 'Bytes',1916 mode: 'UpDataStructsCollectionMode',1917 },1918 create_collection_ex: {1919 data: 'UpDataStructsCreateCollectionData',1920 },1921 destroy_collection: {1922 collectionId: 'u32',1923 },1924 add_to_allow_list: {1925 collectionId: 'u32',1926 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1927 },1928 remove_from_allow_list: {1929 collectionId: 'u32',1930 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1931 },1932 change_collection_owner: {1933 collectionId: 'u32',1934 newOwner: 'AccountId32',1935 },1936 add_collection_admin: {1937 collectionId: 'u32',1938 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1939 },1940 remove_collection_admin: {1941 collectionId: 'u32',1942 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1943 },1944 set_collection_sponsor: {1945 collectionId: 'u32',1946 newSponsor: 'AccountId32',1947 },1948 confirm_sponsorship: {1949 collectionId: 'u32',1950 },1951 remove_collection_sponsor: {1952 collectionId: 'u32',1953 },1954 create_item: {1955 collectionId: 'u32',1956 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1957 data: 'UpDataStructsCreateItemData',1958 },1959 create_multiple_items: {1960 collectionId: 'u32',1961 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1962 itemsData: 'Vec<UpDataStructsCreateItemData>',1963 },1964 set_collection_properties: {1965 collectionId: 'u32',1966 properties: 'Vec<UpDataStructsProperty>',1967 },1968 delete_collection_properties: {1969 collectionId: 'u32',1970 propertyKeys: 'Vec<Bytes>',1971 },1972 set_token_properties: {1973 collectionId: 'u32',1974 tokenId: 'u32',1975 properties: 'Vec<UpDataStructsProperty>',1976 },1977 delete_token_properties: {1978 collectionId: 'u32',1979 tokenId: 'u32',1980 propertyKeys: 'Vec<Bytes>',1981 },1982 set_token_property_permissions: {1983 collectionId: 'u32',1984 propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1985 },1986 create_multiple_items_ex: {1987 collectionId: 'u32',1988 data: 'UpDataStructsCreateItemExData',1989 },1990 set_transfers_enabled_flag: {1991 collectionId: 'u32',1992 value: 'bool',1993 },1994 burn_item: {1995 collectionId: 'u32',1996 itemId: 'u32',1997 value: 'u128',1998 },1999 burn_from: {2000 collectionId: 'u32',2001 from: 'PalletEvmAccountBasicCrossAccountIdRepr',2002 itemId: 'u32',2003 value: 'u128',2004 },2005 transfer: {2006 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',2007 collectionId: 'u32',2008 itemId: 'u32',2009 value: 'u128',2010 },2011 approve: {2012 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',2013 collectionId: 'u32',2014 itemId: 'u32',2015 amount: 'u128',2016 },2017 transfer_from: {2018 from: 'PalletEvmAccountBasicCrossAccountIdRepr',2019 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',2020 collectionId: 'u32',2021 itemId: 'u32',2022 value: 'u128',2023 },2024 set_collection_limits: {2025 collectionId: 'u32',2026 newLimit: 'UpDataStructsCollectionLimits',2027 },2028 set_collection_permissions: {2029 collectionId: 'u32',2030 newPermission: 'UpDataStructsCollectionPermissions',2031 },2032 repartition: {2033 collectionId: 'u32',2034 tokenId: 'u32',2035 amount: 'u128'2036 }2037 }2038 },2039 /**2040 * Lookup227: up_data_structs::CollectionMode2041 **/2042 UpDataStructsCollectionMode: {2043 _enum: {2044 NFT: 'Null',2045 Fungible: 'u8',2046 ReFungible: 'Null'2047 }2048 },2049 /**2050 * Lookup228: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2051 **/2052 UpDataStructsCreateCollectionData: {2053 mode: 'UpDataStructsCollectionMode',2054 access: 'Option<UpDataStructsAccessMode>',2055 name: 'Vec<u16>',2056 description: 'Vec<u16>',2057 tokenPrefix: 'Bytes',2058 pendingSponsor: 'Option<AccountId32>',2059 limits: 'Option<UpDataStructsCollectionLimits>',2060 permissions: 'Option<UpDataStructsCollectionPermissions>',2061 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2062 properties: 'Vec<UpDataStructsProperty>'2063 },2064 /**2065 * Lookup230: up_data_structs::AccessMode2066 **/2067 UpDataStructsAccessMode: {2068 _enum: ['Normal', 'AllowList']2069 },2070 /**2071 * Lookup232: up_data_structs::CollectionLimits2072 **/2073 UpDataStructsCollectionLimits: {2074 accountTokenOwnershipLimit: 'Option<u32>',2075 sponsoredDataSize: 'Option<u32>',2076 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',2077 tokenLimit: 'Option<u32>',2078 sponsorTransferTimeout: 'Option<u32>',2079 sponsorApproveTimeout: 'Option<u32>',2080 ownerCanTransfer: 'Option<bool>',2081 ownerCanDestroy: 'Option<bool>',2082 transfersEnabled: 'Option<bool>'2083 },2084 /**2085 * Lookup234: up_data_structs::SponsoringRateLimit2086 **/2087 UpDataStructsSponsoringRateLimit: {2088 _enum: {2089 SponsoringDisabled: 'Null',2090 Blocks: 'u32'2091 }2092 },2093 /**2094 * Lookup237: up_data_structs::CollectionPermissions2095 **/2096 UpDataStructsCollectionPermissions: {2097 access: 'Option<UpDataStructsAccessMode>',2098 mintMode: 'Option<bool>',2099 nesting: 'Option<UpDataStructsNestingPermissions>'2100 },2101 /**2102 * Lookup239: up_data_structs::NestingPermissions2103 **/2104 UpDataStructsNestingPermissions: {2105 tokenOwner: 'bool',2106 collectionAdmin: 'bool',2107 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2108 },2109 /**2110 * Lookup241: up_data_structs::OwnerRestrictedSet2111 **/2112 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2113 /**2114 * Lookup246: up_data_structs::PropertyKeyPermission2115 **/2116 UpDataStructsPropertyKeyPermission: {2117 key: 'Bytes',2118 permission: 'UpDataStructsPropertyPermission'2119 },2120 /**2121 * Lookup247: up_data_structs::PropertyPermission2122 **/2123 UpDataStructsPropertyPermission: {2124 mutable: 'bool',2125 collectionAdmin: 'bool',2126 tokenOwner: 'bool'2127 },2128 /**2129 * Lookup250: up_data_structs::Property2130 **/2131 UpDataStructsProperty: {2132 key: 'Bytes',2133 value: 'Bytes'2134 },2135 /**2136 * Lookup253: up_data_structs::CreateItemData2137 **/2138 UpDataStructsCreateItemData: {2139 _enum: {2140 NFT: 'UpDataStructsCreateNftData',2141 Fungible: 'UpDataStructsCreateFungibleData',2142 ReFungible: 'UpDataStructsCreateReFungibleData'2143 }2144 },2145 /**2146 * Lookup254: up_data_structs::CreateNftData2147 **/2148 UpDataStructsCreateNftData: {2149 properties: 'Vec<UpDataStructsProperty>'2150 },2151 /**2152 * Lookup255: up_data_structs::CreateFungibleData2153 **/2154 UpDataStructsCreateFungibleData: {2155 value: 'u128'2156 },2157 /**2158 * Lookup256: up_data_structs::CreateReFungibleData2159 **/2160 UpDataStructsCreateReFungibleData: {2161 pieces: 'u128',2162 properties: 'Vec<UpDataStructsProperty>'2163 },2164 /**2165 * Lookup259: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2166 **/2167 UpDataStructsCreateItemExData: {2168 _enum: {2169 NFT: 'Vec<UpDataStructsCreateNftExData>',2170 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2171 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExSingleOwner>',2172 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2173 }2174 },2175 /**2176 * Lookup261: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2177 **/2178 UpDataStructsCreateNftExData: {2179 properties: 'Vec<UpDataStructsProperty>',2180 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2181 },2182 /**2183 * Lookup268: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2184 **/2185 UpDataStructsCreateRefungibleExSingleOwner: {2186 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2187 pieces: 'u128',2188 properties: 'Vec<UpDataStructsProperty>'2189 },2190 /**2191 * Lookup270: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2192 **/2193 UpDataStructsCreateRefungibleExMultipleOwners: {2194 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2195 properties: 'Vec<UpDataStructsProperty>'2196 },2197 /**2198 * Lookup271: pallet_unique_scheduler::pallet::Call<T>2199 **/2200 PalletUniqueSchedulerCall: {2201 _enum: {2202 schedule_named: {2203 id: '[u8;16]',2204 when: 'u32',2205 maybePeriodic: 'Option<(u32,u32)>',2206 priority: 'u8',2207 call: 'FrameSupportScheduleMaybeHashed',2208 },2209 cancel_named: {2210 id: '[u8;16]',2211 },2212 schedule_named_after: {2213 id: '[u8;16]',2214 after: 'u32',2215 maybePeriodic: 'Option<(u32,u32)>',2216 priority: 'u8',2217 call: 'FrameSupportScheduleMaybeHashed'2218 }2219 }2220 },2221 /**2222 * Lookup273: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>2223 **/2224 FrameSupportScheduleMaybeHashed: {2225 _enum: {2226 Value: 'Call',2227 Hash: 'H256'2228 }2229 },2230 /**2231 * Lookup274: pallet_configuration::pallet::Call<T>2232 **/2233 PalletConfigurationCall: {2234 _enum: {2235 set_weight_to_fee_coefficient_override: {2236 coeff: 'Option<u32>',2237 },2238 set_min_gas_price_override: {2239 coeff: 'Option<u64>'2240 }2241 }2242 },2243 /**2244 * Lookup275: pallet_template_transaction_payment::Call<T>2245 **/2246 PalletTemplateTransactionPaymentCall: 'Null',2247 /**2248 * Lookup276: pallet_structure::pallet::Call<T>2249 **/2250 PalletStructureCall: 'Null',2251 /**2252 * Lookup277: pallet_rmrk_core::pallet::Call<T>2253 **/2254 PalletRmrkCoreCall: {2255 _enum: {2256 create_collection: {2257 metadata: 'Bytes',2258 max: 'Option<u32>',2259 symbol: 'Bytes',2260 },2261 destroy_collection: {2262 collectionId: 'u32',2263 },2264 change_collection_issuer: {2265 collectionId: 'u32',2266 newIssuer: 'MultiAddress',2267 },2268 lock_collection: {2269 collectionId: 'u32',2270 },2271 mint_nft: {2272 owner: 'Option<AccountId32>',2273 collectionId: 'u32',2274 recipient: 'Option<AccountId32>',2275 royaltyAmount: 'Option<Permill>',2276 metadata: 'Bytes',2277 transferable: 'bool',2278 resources: 'Option<Vec<RmrkTraitsResourceResourceTypes>>',2279 },2280 burn_nft: {2281 collectionId: 'u32',2282 nftId: 'u32',2283 maxBurns: 'u32',2284 },2285 send: {2286 rmrkCollectionId: 'u32',2287 rmrkNftId: 'u32',2288 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2289 },2290 accept_nft: {2291 rmrkCollectionId: 'u32',2292 rmrkNftId: 'u32',2293 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2294 },2295 reject_nft: {2296 rmrkCollectionId: 'u32',2297 rmrkNftId: 'u32',2298 },2299 accept_resource: {2300 rmrkCollectionId: 'u32',2301 rmrkNftId: 'u32',2302 resourceId: 'u32',2303 },2304 accept_resource_removal: {2305 rmrkCollectionId: 'u32',2306 rmrkNftId: 'u32',2307 resourceId: 'u32',2308 },2309 set_property: {2310 rmrkCollectionId: 'Compact<u32>',2311 maybeNftId: 'Option<u32>',2312 key: 'Bytes',2313 value: 'Bytes',2314 },2315 set_priority: {2316 rmrkCollectionId: 'u32',2317 rmrkNftId: 'u32',2318 priorities: 'Vec<u32>',2319 },2320 add_basic_resource: {2321 rmrkCollectionId: 'u32',2322 nftId: 'u32',2323 resource: 'RmrkTraitsResourceBasicResource',2324 },2325 add_composable_resource: {2326 rmrkCollectionId: 'u32',2327 nftId: 'u32',2328 resource: 'RmrkTraitsResourceComposableResource',2329 },2330 add_slot_resource: {2331 rmrkCollectionId: 'u32',2332 nftId: 'u32',2333 resource: 'RmrkTraitsResourceSlotResource',2334 },2335 remove_resource: {2336 rmrkCollectionId: 'u32',2337 nftId: 'u32',2338 resourceId: 'u32'2339 }2340 }2341 },2342 /**2343 * Lookup283: rmrk_traits::resource::ResourceTypes<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2344 **/2345 RmrkTraitsResourceResourceTypes: {2346 _enum: {2347 Basic: 'RmrkTraitsResourceBasicResource',2348 Composable: 'RmrkTraitsResourceComposableResource',2349 Slot: 'RmrkTraitsResourceSlotResource'2350 }2351 },2352 /**2353 * Lookup285: rmrk_traits::resource::BasicResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2354 **/2355 RmrkTraitsResourceBasicResource: {2356 src: 'Option<Bytes>',2357 metadata: 'Option<Bytes>',2358 license: 'Option<Bytes>',2359 thumb: 'Option<Bytes>'2360 },2361 /**2362 * Lookup287: rmrk_traits::resource::ComposableResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2363 **/2364 RmrkTraitsResourceComposableResource: {2365 parts: 'Vec<u32>',2366 base: 'u32',2367 src: 'Option<Bytes>',2368 metadata: 'Option<Bytes>',2369 license: 'Option<Bytes>',2370 thumb: 'Option<Bytes>'2371 },2372 /**2373 * Lookup288: rmrk_traits::resource::SlotResource<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2374 **/2375 RmrkTraitsResourceSlotResource: {2376 base: 'u32',2377 src: 'Option<Bytes>',2378 metadata: 'Option<Bytes>',2379 slot: 'u32',2380 license: 'Option<Bytes>',2381 thumb: 'Option<Bytes>'2382 },2383 /**2384 * Lookup291: pallet_rmrk_equip::pallet::Call<T>2385 **/2386 PalletRmrkEquipCall: {2387 _enum: {2388 create_base: {2389 baseType: 'Bytes',2390 symbol: 'Bytes',2391 parts: 'Vec<RmrkTraitsPartPartType>',2392 },2393 theme_add: {2394 baseId: 'u32',2395 theme: 'RmrkTraitsTheme',2396 },2397 equippable: {2398 baseId: 'u32',2399 slotId: 'u32',2400 equippables: 'RmrkTraitsPartEquippableList'2401 }2402 }2403 },2404 /**2405 * Lookup294: rmrk_traits::part::PartType<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2406 **/2407 RmrkTraitsPartPartType: {2408 _enum: {2409 FixedPart: 'RmrkTraitsPartFixedPart',2410 SlotPart: 'RmrkTraitsPartSlotPart'2411 }2412 },2413 /**2414 * Lookup296: rmrk_traits::part::FixedPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2415 **/2416 RmrkTraitsPartFixedPart: {2417 id: 'u32',2418 z: 'u32',2419 src: 'Bytes'2420 },2421 /**2422 * Lookup297: rmrk_traits::part::SlotPart<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2423 **/2424 RmrkTraitsPartSlotPart: {2425 id: 'u32',2426 equippable: 'RmrkTraitsPartEquippableList',2427 src: 'Bytes',2428 z: 'u32'2429 },2430 /**2431 * Lookup298: rmrk_traits::part::EquippableList<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2432 **/2433 RmrkTraitsPartEquippableList: {2434 _enum: {2435 All: 'Null',2436 Empty: 'Null',2437 Custom: 'Vec<u32>'2438 }2439 },2440 /**2441 * Lookup300: rmrk_traits::theme::Theme<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>, S>>2442 **/2443 RmrkTraitsTheme: {2444 name: 'Bytes',2445 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2446 inherit: 'bool'2447 },2448 /**2449 * Lookup302: rmrk_traits::theme::ThemeProperty<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2450 **/2451 RmrkTraitsThemeThemeProperty: {2452 key: 'Bytes',2453 value: 'Bytes'2454 },2455 /**2456 * Lookup304: pallet_app_promotion::pallet::Call<T>2457 **/2458 PalletAppPromotionCall: {2459 _enum: {2460 set_admin_address: {2461 admin: 'PalletEvmAccountBasicCrossAccountIdRepr',2462 },2463 start_app_promotion: {2464 promotionStartRelayBlock: 'Option<u32>',2465 },2466 stop_app_promotion: 'Null',2467 stake: {2468 amount: 'u128',2469 },2470 unstake: {2471 amount: 'u128',2472 },2473 sponsor_collection: {2474 collectionId: 'u32',2475 },2476 stop_sponsoring_collection: {2477 collectionId: 'u32',2478 },2479 sponsor_conract: {2480 contractId: 'H160',2481 },2482 stop_sponsoring_contract: {2483 contractId: 'H160',2484 },2485 payout_stakers: {2486 stakersNumber: 'Option<u8>'2487 }2488 }2489 },2490 /**2491 * Lookup306: pallet_evm::pallet::Call<T>2492 **/2493 PalletEvmCall: {2494 _enum: {2495 withdraw: {2496 address: 'H160',2497 value: 'u128',2498 },2499 call: {2500 source: 'H160',2501 target: 'H160',2502 input: 'Bytes',2503 value: 'U256',2504 gasLimit: 'u64',2505 maxFeePerGas: 'U256',2506 maxPriorityFeePerGas: 'Option<U256>',2507 nonce: 'Option<U256>',2508 accessList: 'Vec<(H160,Vec<H256>)>',2509 },2510 create: {2511 source: 'H160',2512 init: 'Bytes',2513 value: 'U256',2514 gasLimit: 'u64',2515 maxFeePerGas: 'U256',2516 maxPriorityFeePerGas: 'Option<U256>',2517 nonce: 'Option<U256>',2518 accessList: 'Vec<(H160,Vec<H256>)>',2519 },2520 create2: {2521 source: 'H160',2522 init: 'Bytes',2523 salt: 'H256',2524 value: 'U256',2525 gasLimit: 'u64',2526 maxFeePerGas: 'U256',2527 maxPriorityFeePerGas: 'Option<U256>',2528 nonce: 'Option<U256>',2529 accessList: 'Vec<(H160,Vec<H256>)>'2530 }2531 }2532 },2533 /**2534 * Lookup310: pallet_ethereum::pallet::Call<T>2535 **/2536 PalletEthereumCall: {2537 _enum: {2538 transact: {2539 transaction: 'EthereumTransactionTransactionV2'2540 }2541 }2542 },2543 /**2544 * Lookup311: ethereum::transaction::TransactionV22545 **/2546 EthereumTransactionTransactionV2: {2547 _enum: {2548 Legacy: 'EthereumTransactionLegacyTransaction',2549 EIP2930: 'EthereumTransactionEip2930Transaction',2550 EIP1559: 'EthereumTransactionEip1559Transaction'2551 }2552 },2553 /**2554 * Lookup312: ethereum::transaction::LegacyTransaction2555 **/2556 EthereumTransactionLegacyTransaction: {2557 nonce: 'U256',2558 gasPrice: 'U256',2559 gasLimit: 'U256',2560 action: 'EthereumTransactionTransactionAction',2561 value: 'U256',2562 input: 'Bytes',2563 signature: 'EthereumTransactionTransactionSignature'2564 },2565 /**2566 * Lookup313: ethereum::transaction::TransactionAction2567 **/2568 EthereumTransactionTransactionAction: {2569 _enum: {2570 Call: 'H160',2571 Create: 'Null'2572 }2573 },2574 /**2575 * Lookup314: ethereum::transaction::TransactionSignature2576 **/2577 EthereumTransactionTransactionSignature: {2578 v: 'u64',2579 r: 'H256',2580 s: 'H256'2581 },2582 /**2583 * Lookup316: ethereum::transaction::EIP2930Transaction2584 **/2585 EthereumTransactionEip2930Transaction: {2586 chainId: 'u64',2587 nonce: 'U256',2588 gasPrice: 'U256',2589 gasLimit: 'U256',2590 action: 'EthereumTransactionTransactionAction',2591 value: 'U256',2592 input: 'Bytes',2593 accessList: 'Vec<EthereumTransactionAccessListItem>',2594 oddYParity: 'bool',2595 r: 'H256',2596 s: 'H256'2597 },2598 /**2599 * Lookup318: ethereum::transaction::AccessListItem2600 **/2601 EthereumTransactionAccessListItem: {2602 address: 'H160',2603 storageKeys: 'Vec<H256>'2604 },2605 /**2606 * Lookup319: ethereum::transaction::EIP1559Transaction2607 **/2608 EthereumTransactionEip1559Transaction: {2609 chainId: 'u64',2610 nonce: 'U256',2611 maxPriorityFeePerGas: 'U256',2612 maxFeePerGas: 'U256',2613 gasLimit: 'U256',2614 action: 'EthereumTransactionTransactionAction',2615 value: 'U256',2616 input: 'Bytes',2617 accessList: 'Vec<EthereumTransactionAccessListItem>',2618 oddYParity: 'bool',2619 r: 'H256',2620 s: 'H256'2621 },2622 /**2623 * Lookup320: pallet_evm_migration::pallet::Call<T>2624 **/2625 PalletEvmMigrationCall: {2626 _enum: {2627 begin: {2628 address: 'H160',2629 },2630 set_data: {2631 address: 'H160',2632 data: 'Vec<(H256,H256)>',2633 },2634 finish: {2635 address: 'H160',2636 code: 'Bytes'2637 }2638 }2639 },2640 /**2641 * Lookup323: pallet_sudo::pallet::Error<T>2642 **/2643 PalletSudoError: {2644 _enum: ['RequireSudo']2645 },2646 /**2647 * Lookup325: orml_vesting::module::Error<T>2648 **/2649 OrmlVestingModuleError: {2650 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2651 },2652 /**2653 * Lookup327: cumulus_pallet_xcmp_queue::InboundChannelDetails2654 **/2655 CumulusPalletXcmpQueueInboundChannelDetails: {2656 sender: 'u32',2657 state: 'CumulusPalletXcmpQueueInboundState',2658 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2659 },2660 /**2661 * Lookup328: cumulus_pallet_xcmp_queue::InboundState2662 **/2663 CumulusPalletXcmpQueueInboundState: {2664 _enum: ['Ok', 'Suspended']2665 },2666 /**2667 * Lookup331: polkadot_parachain::primitives::XcmpMessageFormat2668 **/2669 PolkadotParachainPrimitivesXcmpMessageFormat: {2670 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2671 },2672 /**2673 * Lookup334: cumulus_pallet_xcmp_queue::OutboundChannelDetails2674 **/2675 CumulusPalletXcmpQueueOutboundChannelDetails: {2676 recipient: 'u32',2677 state: 'CumulusPalletXcmpQueueOutboundState',2678 signalsExist: 'bool',2679 firstIndex: 'u16',2680 lastIndex: 'u16'2681 },2682 /**2683 * Lookup335: cumulus_pallet_xcmp_queue::OutboundState2684 **/2685 CumulusPalletXcmpQueueOutboundState: {2686 _enum: ['Ok', 'Suspended']2687 },2688 /**2689 * Lookup337: cumulus_pallet_xcmp_queue::QueueConfigData2690 **/2691 CumulusPalletXcmpQueueQueueConfigData: {2692 suspendThreshold: 'u32',2693 dropThreshold: 'u32',2694 resumeThreshold: 'u32',2695 thresholdWeight: 'u64',2696 weightRestrictDecay: 'u64',2697 xcmpMaxIndividualWeight: 'u64'2698 },2699 /**2700 * Lookup339: cumulus_pallet_xcmp_queue::pallet::Error<T>2701 **/2702 CumulusPalletXcmpQueueError: {2703 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2704 },2705 /**2706 * Lookup340: pallet_xcm::pallet::Error<T>2707 **/2708 PalletXcmError: {2709 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2710 },2711 /**2712 * Lookup341: cumulus_pallet_xcm::pallet::Error<T>2713 **/2714 CumulusPalletXcmError: 'Null',2715 /**2716 * Lookup342: cumulus_pallet_dmp_queue::ConfigData2717 **/2718 CumulusPalletDmpQueueConfigData: {2719 maxIndividual: 'u64'2720 },2721 /**2722 * Lookup343: cumulus_pallet_dmp_queue::PageIndexData2723 **/2724 CumulusPalletDmpQueuePageIndexData: {2725 beginUsed: 'u32',2726 endUsed: 'u32',2727 overweightCount: 'u64'2728 },2729 /**2730 * Lookup346: cumulus_pallet_dmp_queue::pallet::Error<T>2731 **/2732 CumulusPalletDmpQueueError: {2733 _enum: ['Unknown', 'OverLimit']2734 },2735 /**2736 * Lookup350: pallet_unique::Error<T>2737 **/2738 PalletUniqueError: {2739 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']2740 },2741 /**2742 * Lookup353: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2743 **/2744 PalletUniqueSchedulerScheduledV3: {2745 maybeId: 'Option<[u8;16]>',2746 priority: 'u8',2747 call: 'FrameSupportScheduleMaybeHashed',2748 maybePeriodic: 'Option<(u32,u32)>',2749 origin: 'OpalRuntimeOriginCaller'2750 },2751 /**2752 * Lookup354: opal_runtime::OriginCaller2753 **/2754 OpalRuntimeOriginCaller: {2755 _enum: {2756 system: 'FrameSupportDispatchRawOrigin',2757 __Unused1: 'Null',2758 __Unused2: 'Null',2759 __Unused3: 'Null',2760 Void: 'SpCoreVoid',2761 __Unused5: 'Null',2762 __Unused6: 'Null',2763 __Unused7: 'Null',2764 __Unused8: 'Null',2765 __Unused9: 'Null',2766 __Unused10: 'Null',2767 __Unused11: 'Null',2768 __Unused12: 'Null',2769 __Unused13: 'Null',2770 __Unused14: 'Null',2771 __Unused15: 'Null',2772 __Unused16: 'Null',2773 __Unused17: 'Null',2774 __Unused18: 'Null',2775 __Unused19: 'Null',2776 __Unused20: 'Null',2777 __Unused21: 'Null',2778 __Unused22: 'Null',2779 __Unused23: 'Null',2780 __Unused24: 'Null',2781 __Unused25: 'Null',2782 __Unused26: 'Null',2783 __Unused27: 'Null',2784 __Unused28: 'Null',2785 __Unused29: 'Null',2786 __Unused30: 'Null',2787 __Unused31: 'Null',2788 __Unused32: 'Null',2789 __Unused33: 'Null',2790 __Unused34: 'Null',2791 __Unused35: 'Null',2792 __Unused36: 'Null',2793 __Unused37: 'Null',2794 __Unused38: 'Null',2795 __Unused39: 'Null',2796 __Unused40: 'Null',2797 __Unused41: 'Null',2798 __Unused42: 'Null',2799 __Unused43: 'Null',2800 __Unused44: 'Null',2801 __Unused45: 'Null',2802 __Unused46: 'Null',2803 __Unused47: 'Null',2804 __Unused48: 'Null',2805 __Unused49: 'Null',2806 __Unused50: 'Null',2807 PolkadotXcm: 'PalletXcmOrigin',2808 CumulusXcm: 'CumulusPalletXcmOrigin',2809 __Unused53: 'Null',2810 __Unused54: 'Null',2811 __Unused55: 'Null',2812 __Unused56: 'Null',2813 __Unused57: 'Null',2814 __Unused58: 'Null',2815 __Unused59: 'Null',2816 __Unused60: 'Null',2817 __Unused61: 'Null',2818 __Unused62: 'Null',2819 __Unused63: 'Null',2820 __Unused64: 'Null',2821 __Unused65: 'Null',2822 __Unused66: 'Null',2823 __Unused67: 'Null',2824 __Unused68: 'Null',2825 __Unused69: 'Null',2826 __Unused70: 'Null',2827 __Unused71: 'Null',2828 __Unused72: 'Null',2829 __Unused73: 'Null',2830 __Unused74: 'Null',2831 __Unused75: 'Null',2832 __Unused76: 'Null',2833 __Unused77: 'Null',2834 __Unused78: 'Null',2835 __Unused79: 'Null',2836 __Unused80: 'Null',2837 __Unused81: 'Null',2838 __Unused82: 'Null',2839 __Unused83: 'Null',2840 __Unused84: 'Null',2841 __Unused85: 'Null',2842 __Unused86: 'Null',2843 __Unused87: 'Null',2844 __Unused88: 'Null',2845 __Unused89: 'Null',2846 __Unused90: 'Null',2847 __Unused91: 'Null',2848 __Unused92: 'Null',2849 __Unused93: 'Null',2850 __Unused94: 'Null',2851 __Unused95: 'Null',2852 __Unused96: 'Null',2853 __Unused97: 'Null',2854 __Unused98: 'Null',2855 __Unused99: 'Null',2856 __Unused100: 'Null',2857 Ethereum: 'PalletEthereumRawOrigin'2858 }2859 },2860 /**2861 * Lookup355: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2862 **/2863 FrameSupportDispatchRawOrigin: {2864 _enum: {2865 Root: 'Null',2866 Signed: 'AccountId32',2867 None: 'Null'2868 }2869 },2870 /**2871 * Lookup356: pallet_xcm::pallet::Origin2872 **/2873 PalletXcmOrigin: {2874 _enum: {2875 Xcm: 'XcmV1MultiLocation',2876 Response: 'XcmV1MultiLocation'2877 }2878 },2879 /**2880 * Lookup357: cumulus_pallet_xcm::pallet::Origin2881 **/2882 CumulusPalletXcmOrigin: {2883 _enum: {2884 Relay: 'Null',2885 SiblingParachain: 'u32'2886 }2887 },2888 /**2889 * Lookup358: pallet_ethereum::RawOrigin2890 **/2891 PalletEthereumRawOrigin: {2892 _enum: {2893 EthereumTransaction: 'H160'2894 }2895 },2896 /**2897 * Lookup359: sp_core::Void2898 **/2899 SpCoreVoid: 'Null',2900 /**2901 * Lookup360: pallet_unique_scheduler::pallet::Error<T>2902 **/2903 PalletUniqueSchedulerError: {2904 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2905 },2906 /**2907 * Lookup361: up_data_structs::Collection<sp_core::crypto::AccountId32>2908 **/2909 UpDataStructsCollection: {2910 owner: 'AccountId32',2911 mode: 'UpDataStructsCollectionMode',2912 name: 'Vec<u16>',2913 description: 'Vec<u16>',2914 tokenPrefix: 'Bytes',2915 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2916 limits: 'UpDataStructsCollectionLimits',2917 permissions: 'UpDataStructsCollectionPermissions',2918 externalCollection: 'bool'2919 },2920 /**2921 * Lookup362: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2922 **/2923 UpDataStructsSponsorshipStateAccountId32: {2924 _enum: {2925 Disabled: 'Null',2926 Unconfirmed: 'AccountId32',2927 Confirmed: 'AccountId32'2928 }2929 },2930 /**2931 * Lookup363: up_data_structs::Properties2932 **/2933 UpDataStructsProperties: {2934 map: 'UpDataStructsPropertiesMapBoundedVec',2935 consumedSpace: 'u32',2936 spaceLimit: 'u32'2937 },2938 /**2939 * Lookup364: up_data_structs::PropertiesMap<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>2940 **/2941 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2942 /**2943 * Lookup369: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2944 **/2945 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2946 /**2947 * Lookup376: up_data_structs::CollectionStats2948 **/2949 UpDataStructsCollectionStats: {2950 created: 'u32',2951 destroyed: 'u32',2952 alive: 'u32'2953 },2954 /**2955 * Lookup377: up_data_structs::TokenChild2956 **/2957 UpDataStructsTokenChild: {2958 token: 'u32',2959 collection: 'u32'2960 },2961 /**2962 * Lookup378: PhantomType::up_data_structs<T>2963 **/2964 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2965 /**2966 * Lookup380: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2967 **/2968 UpDataStructsTokenData: {2969 properties: 'Vec<UpDataStructsProperty>',2970 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',2971 pieces: 'u128'2972 },2973 /**2974 * Lookup382: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2975 **/2976 UpDataStructsRpcCollection: {2977 owner: 'AccountId32',2978 mode: 'UpDataStructsCollectionMode',2979 name: 'Vec<u16>',2980 description: 'Vec<u16>',2981 tokenPrefix: 'Bytes',2982 sponsorship: 'UpDataStructsSponsorshipStateAccountId32',2983 limits: 'UpDataStructsCollectionLimits',2984 permissions: 'UpDataStructsCollectionPermissions',2985 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2986 properties: 'Vec<UpDataStructsProperty>',2987 readOnly: 'bool'2988 },2989 /**2990 * Lookup383: rmrk_traits::collection::CollectionInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2991 **/2992 RmrkTraitsCollectionCollectionInfo: {2993 issuer: 'AccountId32',2994 metadata: 'Bytes',2995 max: 'Option<u32>',2996 symbol: 'Bytes',2997 nftsCount: 'u32'2998 },2999 /**3000 * Lookup384: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3001 **/3002 RmrkTraitsNftNftInfo: {3003 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',3004 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',3005 metadata: 'Bytes',3006 equipped: 'bool',3007 pending: 'bool'3008 },3009 /**3010 * Lookup386: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3011 **/3012 RmrkTraitsNftRoyaltyInfo: {3013 recipient: 'AccountId32',3014 amount: 'Permill'3015 },3016 /**3017 * Lookup387: rmrk_traits::resource::ResourceInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3018 **/3019 RmrkTraitsResourceResourceInfo: {3020 id: 'u32',3021 resource: 'RmrkTraitsResourceResourceTypes',3022 pending: 'bool',3023 pendingRemoval: 'bool'3024 },3025 /**3026 * Lookup388: rmrk_traits::property::PropertyInfo<sp_runtime::bounded::bounded_vec::BoundedVec<T, S>, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3027 **/3028 RmrkTraitsPropertyPropertyInfo: {3029 key: 'Bytes',3030 value: 'Bytes'3031 },3032 /**3033 * Lookup389: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>3034 **/3035 RmrkTraitsBaseBaseInfo: {3036 issuer: 'AccountId32',3037 baseType: 'Bytes',3038 symbol: 'Bytes'3039 },3040 /**3041 * Lookup390: rmrk_traits::nft::NftChild3042 **/3043 RmrkTraitsNftNftChild: {3044 collectionId: 'u32',3045 nftId: 'u32'3046 },3047 /**3048 * Lookup392: pallet_common::pallet::Error<T>3049 **/3050 PalletCommonError: {3051 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'UserIsNotAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal']3052 },3053 /**3054 * Lookup394: pallet_fungible::pallet::Error<T>3055 **/3056 PalletFungibleError: {3057 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3058 },3059 /**3060 * Lookup395: pallet_refungible::ItemData3061 **/3062 PalletRefungibleItemData: {3063 constData: 'Bytes'3064 },3065 /**3066 * Lookup400: pallet_refungible::pallet::Error<T>3067 **/3068 PalletRefungibleError: {3069 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3070 },3071 /**3072 * Lookup401: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3073 **/3074 PalletNonfungibleItemData: {3075 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3076 },3077 /**3078 * Lookup403: up_data_structs::PropertyScope3079 **/3080 UpDataStructsPropertyScope: {3081 _enum: ['None', 'Rmrk', 'Eth']3082 },3083 /**3084 * Lookup405: pallet_nonfungible::pallet::Error<T>3085 **/3086 PalletNonfungibleError: {3087 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3088 },3089 /**3090 * Lookup406: pallet_structure::pallet::Error<T>3091 **/3092 PalletStructureError: {3093 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3094 },3095 /**3096 * Lookup407: pallet_rmrk_core::pallet::Error<T>3097 **/3098 PalletRmrkCoreError: {3099 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3100 },3101 /**3102 * Lookup409: pallet_rmrk_equip::pallet::Error<T>3103 **/3104 PalletRmrkEquipError: {3105 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3106 },3107 /**3108 * Lookup412: pallet_app_promotion::pallet::Error<T>3109 **/3110 PalletAppPromotionError: {3111 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFounds', 'InvalidArgument']3112 },3113 /**3114 * Lookup415: pallet_evm::pallet::Error<T>3115 **/3116 PalletEvmError: {3117 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']3118 },3119 /**3120 * Lookup418: fp_rpc::TransactionStatus3121 **/3122 FpRpcTransactionStatus: {3123 transactionHash: 'H256',3124 transactionIndex: 'u32',3125 from: 'H160',3126 to: 'Option<H160>',3127 contractAddress: 'Option<H160>',3128 logs: 'Vec<EthereumLog>',3129 logsBloom: 'EthbloomBloom'3130 },3131 /**3132 * Lookup420: ethbloom::Bloom3133 **/3134 EthbloomBloom: '[u8;256]',3135 /**3136 * Lookup422: ethereum::receipt::ReceiptV33137 **/3138 EthereumReceiptReceiptV3: {3139 _enum: {3140 Legacy: 'EthereumReceiptEip658ReceiptData',3141 EIP2930: 'EthereumReceiptEip658ReceiptData',3142 EIP1559: 'EthereumReceiptEip658ReceiptData'3143 }3144 },3145 /**3146 * Lookup423: ethereum::receipt::EIP658ReceiptData3147 **/3148 EthereumReceiptEip658ReceiptData: {3149 statusCode: 'u8',3150 usedGas: 'U256',3151 logsBloom: 'EthbloomBloom',3152 logs: 'Vec<EthereumLog>'3153 },3154 /**3155 * Lookup424: ethereum::block::Block<ethereum::transaction::TransactionV2>3156 **/3157 EthereumBlock: {3158 header: 'EthereumHeader',3159 transactions: 'Vec<EthereumTransactionTransactionV2>',3160 ommers: 'Vec<EthereumHeader>'3161 },3162 /**3163 * Lookup425: ethereum::header::Header3164 **/3165 EthereumHeader: {3166 parentHash: 'H256',3167 ommersHash: 'H256',3168 beneficiary: 'H160',3169 stateRoot: 'H256',3170 transactionsRoot: 'H256',3171 receiptsRoot: 'H256',3172 logsBloom: 'EthbloomBloom',3173 difficulty: 'U256',3174 number: 'U256',3175 gasLimit: 'U256',3176 gasUsed: 'U256',3177 timestamp: 'u64',3178 extraData: 'Bytes',3179 mixHash: 'H256',3180 nonce: 'EthereumTypesHashH64'3181 },3182 /**3183 * Lookup426: ethereum_types::hash::H643184 **/3185 EthereumTypesHashH64: '[u8;8]',3186 /**3187 * Lookup431: pallet_ethereum::pallet::Error<T>3188 **/3189 PalletEthereumError: {3190 _enum: ['InvalidSignature', 'PreLogExists']3191 },3192 /**3193 * Lookup432: pallet_evm_coder_substrate::pallet::Error<T>3194 **/3195 PalletEvmCoderSubstrateError: {3196 _enum: ['OutOfGas', 'OutOfFund']3197 },3198 /**3199 * Lookup433: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3200 **/3201 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3202 _enum: {3203 Disabled: 'Null',3204 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3205 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3206 }3207 },3208 /**3209 * Lookup434: pallet_evm_contract_helpers::SponsoringModeT3210 **/3211 PalletEvmContractHelpersSponsoringModeT: {3212 _enum: ['Disabled', 'Allowlisted', 'Generous']3213 },3214 /**3215 * Lookup436: pallet_evm_contract_helpers::pallet::Error<T>3216 **/3217 PalletEvmContractHelpersError: {3218 _enum: ['NoPermission', 'NoPendingSponsor']3219 },3220 /**3221 * Lookup437: pallet_evm_migration::pallet::Error<T>3222 **/3223 PalletEvmMigrationError: {3224 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3225 },3226 /**3227 * Lookup439: sp_runtime::MultiSignature3228 **/3229 SpRuntimeMultiSignature: {3230 _enum: {3231 Ed25519: 'SpCoreEd25519Signature',3232 Sr25519: 'SpCoreSr25519Signature',3233 Ecdsa: 'SpCoreEcdsaSignature'3234 }3235 },3236 /**3237 * Lookup440: sp_core::ed25519::Signature3238 **/3239 SpCoreEd25519Signature: '[u8;64]',3240 /**3241 * Lookup442: sp_core::sr25519::Signature3242 **/3243 SpCoreSr25519Signature: '[u8;64]',3244 /**3245 * Lookup443: sp_core::ecdsa::Signature3246 **/3247 SpCoreEcdsaSignature: '[u8;65]',3248 /**3249 * Lookup446: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3250 **/3251 FrameSystemExtensionsCheckSpecVersion: 'Null',3252 /**3253 * Lookup447: frame_system::extensions::check_genesis::CheckGenesis<T>3254 **/3255 FrameSystemExtensionsCheckGenesis: 'Null',3256 /**3257 * Lookup450: frame_system::extensions::check_nonce::CheckNonce<T>3258 **/3259 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3260 /**3261 * Lookup451: frame_system::extensions::check_weight::CheckWeight<T>3262 **/3263 FrameSystemExtensionsCheckWeight: 'Null',3264 /**3265 * Lookup452: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3266 **/3267 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3268 /**3269 * Lookup453: opal_runtime::Runtime3270 **/3271 OpalRuntimeRuntime: 'Null',3272 /**3273 * Lookup454: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3274 **/3275 PalletEthereumFakeTransactionFinalizer: 'Null'3276};tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2675,9 +2675,6 @@
readonly amount: u128;
} & Struct;
readonly isUnstake: boolean;
- readonly asUnstake: {
- readonly amount: u128;
- } & Struct;
readonly isSponsorCollection: boolean;
readonly asSponsorCollection: {
readonly collectionId: u32;
@@ -3238,8 +3235,7 @@
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
- readonly isEth: boolean;
- readonly type: 'None' | 'Rmrk' | 'Eth';
+ readonly type: 'None' | 'Rmrk';
}
/** @name PalletNonfungibleError (405) */
tests/src/interfaces/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -2,5 +2,6 @@
/* eslint-disable */
export * from './unique/types';
+export * from './appPromotion/types';
export * from './rmrk/types';
export * from './default/types';
tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -175,30 +175,5 @@
[collectionParam, tokenParam],
'Option<u128>',
),
- totalStaked: fun(
- 'Returns the total amount of staked tokens',
- [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
- 'u128',
- ),
- totalStakedPerBlock: fun(
- 'Returns the total amount of staked tokens per block when staked',
- [crossAccountParam('staker')],
- 'Vec<(u32, u128)>',
- ),
- totalStakingLocked: fun(
- 'Return the total amount locked by staking tokens',
- [crossAccountParam('staker')],
- 'u128',
- ),
- pendingUnstake: fun(
- 'Returns the total amount of unstaked tokens',
- [{name: 'staker', type: CROSS_ACCOUNT_ID_TYPE, isOptional: true}],
- 'u128',
- ),
- pendingUnstakePerBlock: fun(
- 'Returns the total amount of unstaked tokens per block',
- [crossAccountParam('staker')],
- 'Vec<(u32, u128)>',
- ),
},
};
tests/src/substrate/substrate-api.tsdiffbeforeafterboth--- a/tests/src/substrate/substrate-api.ts
+++ b/tests/src/substrate/substrate-api.ts
@@ -42,6 +42,7 @@
},
rpc: {
unique: defs.unique.rpc,
+ appPromotion: defs.appPromotion.rpc,
rmrk: defs.rmrk.rpc,
eth: {
feeHistory: {
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -35,6 +35,7 @@
},
rpc: {
unique: defs.unique.rpc,
+ appPromotion: defs.appPromotion.rpc,
rmrk: defs.rmrk.rpc,
eth: {
feeHistory: {
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -2027,24 +2027,24 @@
}
async getTotalStaked(address?: ICrossAccountId): Promise<bigint> {
- if (address) return (await this.helper.callRpc('api.rpc.unique.totalStaked', [address])).toBigInt();
- return (await this.helper.callRpc('api.rpc.unique.totalStaked')).toBigInt();
+ if (address) return (await this.helper.callRpc('api.rpc.appPromotion.totalStaked', [address])).toBigInt();
+ return (await this.helper.callRpc('api.rpc.appPromotion.totalStaked')).toBigInt();
}
async getTotalStakingLocked(address: ICrossAccountId): Promise<bigint> {
- return (await this.helper.callRpc('api.rpc.unique.totalStakingLocked', [address])).toBigInt();
+ return (await this.helper.callRpc('api.rpc.appPromotion.totalStakingLocked', [address])).toBigInt();
}
async getTotalStakedPerBlock(address: ICrossAccountId): Promise<bigint[][]> {
- return (await this.helper.callRpc('api.rpc.unique.totalStakedPerBlock', [address])).map(([block, amount]: any[]) => [block.toBigInt(), amount.toBigInt()]);
+ return (await this.helper.callRpc('api.rpc.appPromotion.totalStakedPerBlock', [address])).map(([block, amount]: any[]) => [block.toBigInt(), amount.toBigInt()]);
}
async getPendingUnstake(address: ICrossAccountId): Promise<bigint> {
- return (await this.helper.callRpc('api.rpc.unique.pendingUnstake', [address])).toBigInt();
+ return (await this.helper.callRpc('api.rpc.appPromotion.pendingUnstake', [address])).toBigInt();
}
async getPendingUnstakePerBlock(address: ICrossAccountId): Promise<bigint[][]> {
- return (await this.helper.callRpc('api.rpc.unique.pendingUnstakePerBlock', [address])).map(([block, amount]: any[]) => [block.toBigInt(), amount.toBigInt()]);
+ return (await this.helper.callRpc('api.rpc.appPromotion.pendingUnstakePerBlock', [address])).map(([block, amount]: any[]) => [block.toBigInt(), amount.toBigInt()]);
}
}