difftreelog
Merge pull request #730 from UniqueNetwork/feature/pov-estimate-api
in: master
Feature/pov estimate api
34 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5362,6 +5362,7 @@
"substrate-wasm-builder",
"up-common",
"up-data-structs",
+ "up-pov-estimate-rpc",
"up-rpc",
"up-sponsorship",
"xcm",
@@ -5806,6 +5807,7 @@
"sp-runtime",
"sp-std",
"up-data-structs",
+ "up-pov-estimate-rpc",
]
[[package]]
@@ -8917,6 +8919,7 @@
"substrate-wasm-builder",
"up-common",
"up-data-structs",
+ "up-pov-estimate-rpc",
"up-rpc",
"up-sponsorship",
"xcm",
@@ -12824,18 +12827,34 @@
dependencies = [
"anyhow",
"app-promotion-rpc",
+ "frame-benchmarking",
"jsonrpsee",
+ "opal-runtime",
"pallet-common",
"pallet-evm",
"parity-scale-codec 3.2.1",
+ "quartz-runtime",
"rmrk-rpc",
+ "sc-client-api",
+ "sc-executor",
+ "sc-rpc-api",
+ "sc-service",
"sp-api",
"sp-blockchain",
"sp-core",
+ "sp-externalities",
+ "sp-keystore",
"sp-rpc",
"sp-runtime",
+ "sp-state-machine",
+ "sp-trie",
+ "trie-db",
+ "unique-runtime",
+ "up-common",
"up-data-structs",
+ "up-pov-estimate-rpc",
"up-rpc",
+ "zstd",
]
[[package]]
@@ -12978,10 +12997,12 @@
"substrate-prometheus-endpoint",
"tokio",
"try-runtime-cli",
+ "uc-rpc",
"unique-rpc",
"unique-runtime",
"up-common",
"up-data-structs",
+ "up-pov-estimate-rpc",
"up-rpc",
]
@@ -13032,6 +13053,7 @@
"uc-rpc",
"up-common",
"up-data-structs",
+ "up-pov-estimate-rpc",
"up-rpc",
]
@@ -13125,6 +13147,7 @@
"substrate-wasm-builder",
"up-common",
"up-data-structs",
+ "up-pov-estimate-rpc",
"up-rpc",
"up-sponsorship",
"xcm",
@@ -13194,6 +13217,19 @@
]
[[package]]
+name = "up-pov-estimate-rpc"
+version = "0.1.0"
+dependencies = [
+ "parity-scale-codec 3.2.1",
+ "scale-info",
+ "serde",
+ "sp-api",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "up-rpc"
version = "0.1.3"
dependencies = [
Cargo.tomldiffbeforeafterboth--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,7 @@
'runtime/unique',
'runtime/tests',
]
-default-members = ['node/*', 'runtime/opal']
+default-members = ['node/*', 'client/*', 'runtime/opal']
package.version = "0.9.36"
[profile.release]
client/rpc/Cargo.tomldiffbeforeafterboth--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -7,16 +7,43 @@
[dependencies]
pallet-common = { default-features = false, path = '../../pallets/common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
+up-common = { default-features = false, path = '../../primitives/common' }
up-rpc = { path = "../../primitives/rpc" }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc" }
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
+up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", optional = true }
codec = { package = "parity-scale-codec", version = "3.1.2" }
jsonrpsee = { version = "0.16.2", features = ["server", "macros"] }
anyhow = "1.0.57"
+zstd = { version = "0.11.2", default-features = false }
+trie-db = { version = "0.24.0", default-features = false }
+sc-rpc-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-keystore = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
+
+frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+
+sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+
+unique-runtime = { path = '../../runtime/unique', optional = true }
+quartz-runtime = { path = '../../runtime/quartz', optional = true }
+opal-runtime = { path = '../../runtime/opal' }
+
+[features]
+pov-estimate = [
+ 'up-pov-estimate-rpc',
+ 'unique-runtime?/pov-estimate',
+ 'quartz-runtime?/pov-estimate',
+ 'opal-runtime/pov-estimate',
+]
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -42,6 +42,9 @@
pub use app_promotion_unique_rpc::AppPromotionApiServer;
pub use rmrk_unique_rpc::RmrkApiServer;
+#[cfg(feature = "pov-estimate")]
+pub mod pov_estimate;
+
#[rpc(server)]
#[async_trait]
pub trait UniqueApi<BlockHash, CrossAccountId, AccountId> {
@@ -420,17 +423,18 @@
}
}
+#[macro_export]
macro_rules! define_struct_for_server_api {
- ($name:ident) => {
- pub struct $name<C, P> {
- client: Arc<C>,
- _marker: std::marker::PhantomData<P>,
+ ($name:ident { $($arg:ident: $arg_ty:ty),+ $(,)? }) => {
+ pub struct $name<Client, Block: BlockT> {
+ $($arg: $arg_ty),+,
+ _marker: std::marker::PhantomData<Block>,
}
- impl<C, P> $name<C, P> {
- pub fn new(client: Arc<C>) -> Self {
+ impl<Client, Block: BlockT> $name<Client, Block> {
+ pub fn new($($arg: $arg_ty),+) -> Self {
Self {
- client,
+ $($arg),+,
_marker: Default::default(),
}
}
@@ -438,9 +442,23 @@
};
}
-define_struct_for_server_api!(Unique);
-define_struct_for_server_api!(AppPromotion);
-define_struct_for_server_api!(Rmrk);
+define_struct_for_server_api! {
+ Unique {
+ client: Arc<Client>
+ }
+}
+
+define_struct_for_server_api! {
+ AppPromotion {
+ client: Arc<Client>
+ }
+}
+
+define_struct_for_server_api! {
+ Rmrk {
+ client: Arc<Client>
+ }
+}
macro_rules! pass_method {
(
client/rpc/src/pov_estimate.rsdiffbeforeafterboth--- /dev/null
+++ b/client/rpc/src/pov_estimate.rs
@@ -0,0 +1,290 @@
+// 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/>.
+
+use std::sync::Arc;
+
+use codec::{Encode, Decode};
+use sp_externalities::Extensions;
+
+use up_pov_estimate_rpc::{PovEstimateApi as PovEstimateRuntimeApi};
+use up_common::types::opaque::RuntimeId;
+
+use sc_service::{NativeExecutionDispatch, config::ExecutionStrategy};
+use sp_state_machine::{StateMachine, TrieBackendBuilder};
+use trie_db::{Trie, TrieDBBuilder};
+
+use jsonrpsee::{core::RpcResult as Result, proc_macros::rpc};
+use anyhow::anyhow;
+
+use sc_client_api::backend::Backend;
+use sp_blockchain::HeaderBackend;
+use sp_core::{
+ Bytes,
+ offchain::{
+ testing::{TestOffchainExt, TestTransactionPoolExt},
+ OffchainDbExt, OffchainWorkerExt, TransactionPoolExt,
+ },
+ testing::TaskExecutor,
+ traits::TaskExecutorExt,
+};
+use sp_keystore::{testing::KeyStore, KeystoreExt};
+use sp_api::{AsTrieBackend, BlockId, BlockT, ProvideRuntimeApi};
+
+use sc_executor::NativeElseWasmExecutor;
+use sc_rpc_api::DenyUnsafe;
+
+use sp_runtime::traits::Header;
+
+use up_pov_estimate_rpc::{PovInfo, TrieKeyValue};
+
+use crate::define_struct_for_server_api;
+
+type HasherOf<Block> = <<Block as BlockT>::Header as Header>::Hashing;
+type StateOf<Block> = <sc_service::TFullBackend<Block> as Backend<Block>>::State;
+
+pub struct ExecutorParams {
+ pub wasm_method: sc_service::config::WasmExecutionMethod,
+ pub default_heap_pages: Option<u64>,
+ pub max_runtime_instances: usize,
+ pub runtime_cache_size: u8,
+}
+
+#[cfg(feature = "unique-runtime")]
+pub struct UniqueRuntimeExecutor;
+
+#[cfg(feature = "quartz-runtime")]
+pub struct QuartzRuntimeExecutor;
+
+pub struct OpalRuntimeExecutor;
+
+#[cfg(feature = "unique-runtime")]
+impl NativeExecutionDispatch for UniqueRuntimeExecutor {
+ type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
+
+ fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
+ unique_runtime::api::dispatch(method, data)
+ }
+
+ fn native_version() -> sc_executor::NativeVersion {
+ unique_runtime::native_version()
+ }
+}
+
+#[cfg(feature = "quartz-runtime")]
+impl NativeExecutionDispatch for QuartzRuntimeExecutor {
+ type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
+
+ fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
+ quartz_runtime::api::dispatch(method, data)
+ }
+
+ fn native_version() -> sc_executor::NativeVersion {
+ quartz_runtime::native_version()
+ }
+}
+
+impl NativeExecutionDispatch for OpalRuntimeExecutor {
+ type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;
+
+ fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
+ opal_runtime::api::dispatch(method, data)
+ }
+
+ fn native_version() -> sc_executor::NativeVersion {
+ opal_runtime::native_version()
+ }
+}
+
+#[cfg(feature = "pov-estimate")]
+define_struct_for_server_api! {
+ PovEstimate {
+ client: Arc<Client>,
+ backend: Arc<sc_service::TFullBackend<Block>>,
+ deny_unsafe: DenyUnsafe,
+ exec_params: ExecutorParams,
+ runtime_id: RuntimeId,
+ }
+}
+
+#[rpc(server)]
+#[async_trait]
+pub trait PovEstimateApi<BlockHash> {
+ #[method(name = "povinfo_estimateExtrinsicPoV")]
+ fn estimate_extrinsic_pov(
+ &self,
+ encoded_xts: Vec<Bytes>,
+ at: Option<BlockHash>,
+ ) -> Result<PovInfo>;
+}
+
+#[allow(deprecated)]
+#[cfg(feature = "pov-estimate")]
+impl<C, Block> PovEstimateApiServer<<Block as BlockT>::Hash> for PovEstimate<C, Block>
+where
+ Block: BlockT,
+ C: 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
+ C::Api: PovEstimateRuntimeApi<Block>,
+{
+ fn estimate_extrinsic_pov(
+ &self,
+ encoded_xts: Vec<Bytes>,
+ at: Option<<Block as BlockT>::Hash>,
+ ) -> Result<PovInfo> {
+ self.deny_unsafe.check_if_safe()?;
+
+ let at = at.unwrap_or_else(|| self.client.info().best_hash);
+ let state = self
+ .backend
+ .state_at(at)
+ .map_err(|_| anyhow!("unable to fetch the state at {at:?}"))?;
+
+ match &self.runtime_id {
+ #[cfg(feature = "unique-runtime")]
+ RuntimeId::Unique => execute_extrinsic_in_sandbox::<Block, UniqueRuntimeExecutor>(
+ state,
+ &self.exec_params,
+ encoded_xts,
+ ),
+
+ #[cfg(feature = "quartz-runtime")]
+ RuntimeId::Quartz => execute_extrinsic_in_sandbox::<Block, QuartzRuntimeExecutor>(
+ state,
+ &self.exec_params,
+ encoded_xts,
+ ),
+
+ RuntimeId::Opal => execute_extrinsic_in_sandbox::<Block, OpalRuntimeExecutor>(
+ state,
+ &self.exec_params,
+ encoded_xts,
+ ),
+
+ runtime_id => Err(anyhow!("unknown runtime id {:?}", runtime_id).into()),
+ }
+ }
+}
+
+fn full_extensions() -> Extensions {
+ let mut extensions = Extensions::default();
+ extensions.register(TaskExecutorExt::new(TaskExecutor::new()));
+ let (offchain, _offchain_state) = TestOffchainExt::new();
+ let (pool, _pool_state) = TestTransactionPoolExt::new();
+ extensions.register(OffchainDbExt::new(offchain.clone()));
+ extensions.register(OffchainWorkerExt::new(offchain));
+ extensions.register(KeystoreExt(std::sync::Arc::new(KeyStore::new())));
+ extensions.register(TransactionPoolExt::new(pool));
+
+ extensions
+}
+
+fn execute_extrinsic_in_sandbox<Block, D>(
+ state: StateOf<Block>,
+ exec_params: &ExecutorParams,
+ encoded_xts: Vec<Bytes>,
+) -> Result<PovInfo>
+where
+ Block: BlockT,
+ D: NativeExecutionDispatch + 'static,
+{
+ let backend = state.as_trie_backend().clone();
+ let mut changes = Default::default();
+ let runtime_code_backend = sp_state_machine::backend::BackendRuntimeCode::new(backend);
+
+ let proving_backend = TrieBackendBuilder::wrap(&backend)
+ .with_recorder(Default::default())
+ .build();
+
+ let runtime_code = runtime_code_backend
+ .runtime_code()
+ .map_err(|_| anyhow!("runtime code backend creation failed"))?;
+
+ let pre_root = *backend.root();
+
+ let executor = NativeElseWasmExecutor::<D>::new(
+ exec_params.wasm_method,
+ exec_params.default_heap_pages,
+ exec_params.max_runtime_instances,
+ exec_params.runtime_cache_size,
+ );
+ let execution = ExecutionStrategy::NativeElseWasm;
+
+ let mut results = Vec::new();
+
+ for encoded_xt in encoded_xts {
+ let encoded_bytes = encoded_xt.encode();
+
+ let xt_result = StateMachine::new(
+ &proving_backend,
+ &mut changes,
+ &executor,
+ "PovEstimateApi_pov_estimate",
+ encoded_bytes.as_slice(),
+ full_extensions(),
+ &runtime_code,
+ sp_core::testing::TaskExecutor::new(),
+ )
+ .execute(execution.into())
+ .map_err(|e| anyhow!("failed to execute the extrinsic {:?}", e))?;
+
+ let xt_result = Decode::decode(&mut &*xt_result)
+ .map_err(|e| anyhow!("failed to decode the extrinsic result {:?}", e))?;
+
+ results.push(xt_result);
+ }
+
+ let root = proving_backend.root().clone();
+
+ let proof = proving_backend
+ .extract_proof()
+ .expect("A recorder was set and thus, a storage proof can be extracted; qed");
+ let proof_size = proof.encoded_size();
+
+ let memory_db = proof.clone().into_memory_db();
+
+ let tree_db =
+ TrieDBBuilder::<sp_trie::LayoutV1<HasherOf<Block>>>::new(&memory_db, &root).build();
+
+ let key_values = tree_db
+ .iter()
+ .map_err(|e| anyhow!("failed to retrieve tree db key values: {:?}", e))?
+ .filter_map(|item| {
+ let item = item.ok()?;
+
+ Some(TrieKeyValue {
+ key: item.0,
+ value: item.1,
+ })
+ })
+ .collect();
+
+ let compact_proof = proof
+ .clone()
+ .into_compact_proof::<HasherOf<Block>>(pre_root)
+ .map_err(|e| anyhow!("failed to generate compact proof {:?}", e))?;
+ let compact_proof_size = compact_proof.encoded_size();
+
+ let compressed_proof = zstd::stream::encode_all(&compact_proof.encode()[..], 0)
+ .map_err(|e| anyhow!("failed to generate compact proof {:?}", e))?;
+ let compressed_proof_size = compressed_proof.len();
+
+ Ok(PovInfo {
+ proof_size: proof_size as u64,
+ compact_proof_size: compact_proof_size as u64,
+ compressed_proof_size: compressed_proof_size as u64,
+ results,
+ key_values,
+ })
+}
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -319,8 +319,10 @@
pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
unique-rpc = { default-features = false, path = "../rpc" }
+uc-rpc = { default-features = false, path = "../../client/rpc" }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
+up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false }
[features]
default = ["opal-runtime"]
@@ -339,3 +341,10 @@
'try-runtime-cli/try-runtime',
]
sapphire-runtime = ['opal-runtime', 'opal-runtime/become-sapphire']
+pov-estimate = [
+ 'unique-runtime?/pov-estimate',
+ 'quartz-runtime?/pov-estimate',
+ 'opal-runtime/pov-estimate',
+ 'uc-rpc/pov-estimate',
+ 'unique-rpc/pov-estimate',
+]
node/cli/src/chain_spec.rsdiffbeforeafterboth--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -54,17 +54,6 @@
#[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]
pub type DefaultChainSpec = OpalChainSpec;
-pub enum RuntimeId {
- #[cfg(feature = "unique-runtime")]
- Unique,
-
- #[cfg(feature = "quartz-runtime")]
- Quartz,
-
- Opal,
- Unknown(String),
-}
-
#[cfg(not(feature = "unique-runtime"))]
/// PARA_ID for Opal/Sapphire/Quartz
const PARA_ID: u32 = 2095;
node/cli/src/command.rsdiffbeforeafterboth--- a/node/cli/src/command.rs
+++ b/node/cli/src/command.rs
@@ -33,7 +33,7 @@
// limitations under the License.
use crate::{
- chain_spec::{self, RuntimeId, RuntimeIdentification, ServiceId, ServiceIdentification},
+ chain_spec::{self, RuntimeIdentification, ServiceId, ServiceIdentification},
cli::{Cli, RelayChainCli, Subcommand},
service::{new_partial, start_node, start_dev_node},
};
@@ -66,13 +66,13 @@
use sp_runtime::traits::{AccountIdConversion, Block as BlockT};
use std::{net::SocketAddr, time::Duration};
-use up_common::types::opaque::Block;
+use up_common::types::opaque::{Block, RuntimeId};
macro_rules! no_runtime_err {
- ($chain_name:expr) => {
+ ($runtime_id:expr) => {
format!(
- "No runtime valid runtime was found for chain {}",
- $chain_name
+ "No runtime valid runtime was found for chain {:#?}",
+ $runtime_id
)
};
}
@@ -94,7 +94,7 @@
RuntimeId::Quartz => Box::new(chain_spec::QuartzChainSpec::from_json_file(path)?),
RuntimeId::Opal => chain_spec,
- RuntimeId::Unknown(chain) => return Err(no_runtime_err!(chain)),
+ runtime_id => return Err(no_runtime_err!(runtime_id)),
}
}
})
@@ -147,7 +147,7 @@
RuntimeId::Quartz => &quartz_runtime::VERSION,
RuntimeId::Opal => &opal_runtime::VERSION,
- RuntimeId::Unknown(chain) => panic!("{}", no_runtime_err!(chain)),
+ runtime_id => panic!("{}", no_runtime_err!(runtime_id)),
}
}
}
@@ -235,7 +235,7 @@
runner, $components, $cli, $cmd, $config, $( $code )*
),
- RuntimeId::Unknown(chain) => Err(no_runtime_err!(chain).into())
+ runtime_id => Err(no_runtime_err!(runtime_id).into())
}
}}
}
@@ -274,7 +274,7 @@
runner, $components, $cli, $cmd, $config, $( $code )*
),
- RuntimeId::Unknown(chain) => Err(no_runtime_err!(chain).into())
+ runtime_id => Err(no_runtime_err!(runtime_id).into())
}
}}
}
@@ -302,7 +302,7 @@
OpalRuntimeExecutor,
>($config $(, $($args),+)?) $($code)*,
- RuntimeId::Unknown(chain) => Err(no_runtime_err!(chain).into()),
+ runtime_id => Err(no_runtime_err!(runtime_id).into()),
}
};
}
@@ -445,7 +445,7 @@
sp_io::SubstrateHostFunctions,
<OpalRuntimeExecutor as NativeExecutionDispatch>::ExtendHostFunctions,
>>()),
- RuntimeId::Unknown(chain) => return Err(no_runtime_err!(chain).into()),
+ runtime_id => return Err(no_runtime_err!(runtime_id).into()),
},
task_manager,
))
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -66,9 +66,10 @@
use fc_rpc_core::types::FilterPool;
use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};
-use up_common::types::opaque::{
- AuraId, RuntimeInstance, AccountId, Balance, Index, Hash, Block, BlockNumber,
-};
+use up_common::types::opaque::*;
+
+#[cfg(feature = "pov-estimate")]
+use crate::chain_spec::RuntimeIdentification;
// RMRK
use up_data_structs::{
@@ -412,7 +413,8 @@
RmrkBaseInfo<AccountId>,
RmrkPartType,
RmrkTheme,
- > + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
+ > + up_pov_estimate_rpc::PovEstimateApi<Block>
+ + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
+ sp_api::Metadata<Block>
+ sp_offchain::OffchainWorkerApi<Block>
+ cumulus_primitives_core::CollectCollationInfo<Block>,
@@ -517,9 +519,29 @@
.for_each(|()| futures::future::ready(())),
);
+ #[cfg(feature = "pov-estimate")]
+ let rpc_backend = backend.clone();
+
+ #[cfg(feature = "pov-estimate")]
+ let runtime_id = parachain_config.chain_spec.runtime_id();
+
let rpc_builder = Box::new(move |deny_unsafe, subscription_task_executor| {
let full_deps = unique_rpc::FullDeps {
- backend: rpc_frontier_backend.clone(),
+ #[cfg(feature = "pov-estimate")]
+ runtime_id: runtime_id.clone(),
+
+ #[cfg(feature = "pov-estimate")]
+ exec_params: uc_rpc::pov_estimate::ExecutorParams {
+ wasm_method: parachain_config.wasm_method,
+ default_heap_pages: parachain_config.default_heap_pages,
+ max_runtime_instances: parachain_config.max_runtime_instances,
+ runtime_cache_size: parachain_config.runtime_cache_size,
+ },
+
+ #[cfg(feature = "pov-estimate")]
+ backend: rpc_backend.clone(),
+
+ eth_backend: rpc_frontier_backend.clone(),
deny_unsafe,
client: rpc_client.clone(),
pool: rpc_pool.clone(),
@@ -720,7 +742,8 @@
RmrkBaseInfo<AccountId>,
RmrkPartType,
RmrkTheme,
- > + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
+ > + up_pov_estimate_rpc::PovEstimateApi<Block>
+ + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
+ sp_api::Metadata<Block>
+ sp_offchain::OffchainWorkerApi<Block>
+ cumulus_primitives_core::CollectCollationInfo<Block>
@@ -869,7 +892,8 @@
RmrkBaseInfo<AccountId>,
RmrkPartType,
RmrkTheme,
- > + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
+ > + up_pov_estimate_rpc::PovEstimateApi<Block>
+ + substrate_frame_rpc_system::AccountNonceApi<Block, AccountId, Index>
+ sp_api::Metadata<Block>
+ sp_offchain::OffchainWorkerApi<Block>
+ cumulus_primitives_core::CollectCollationInfo<Block>
@@ -1040,9 +1064,29 @@
let rpc_pool = transaction_pool.clone();
let rpc_network = network.clone();
let rpc_frontier_backend = frontier_backend.clone();
+
+ #[cfg(feature = "pov-estimate")]
+ let rpc_backend = backend.clone();
+
+ #[cfg(feature = "pov-estimate")]
+ let runtime_id = config.chain_spec.runtime_id();
+
let rpc_builder = Box::new(move |deny_unsafe, subscription_executor| {
let full_deps = unique_rpc::FullDeps {
- backend: rpc_frontier_backend.clone(),
+ #[cfg(feature = "pov-estimate")]
+ runtime_id: runtime_id.clone(),
+
+ #[cfg(feature = "pov-estimate")]
+ exec_params: uc_rpc::pov_estimate::ExecutorParams {
+ wasm_method: config.wasm_method,
+ default_heap_pages: config.default_heap_pages,
+ max_runtime_instances: config.max_runtime_instances,
+ runtime_cache_size: config.runtime_cache_size,
+ },
+
+ #[cfg(feature = "pov-estimate")]
+ backend: rpc_backend.clone(),
+ eth_backend: rpc_frontier_backend.clone(),
deny_unsafe,
client: rpc_client.clone(),
pool: rpc_pool.clone(),
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -55,6 +55,7 @@
up-rpc = { path = "../../primitives/rpc" }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc" }
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
+up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc" }
up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
[dependencies.serde]
@@ -65,3 +66,4 @@
default = []
std = []
unique-runtime = []
+pov-estimate = ['uc-rpc/pov-estimate']
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -40,7 +40,7 @@
use sc_service::TransactionPool;
use std::{collections::BTreeMap, sync::Arc};
-use up_common::types::opaque::{Hash, AccountId, RuntimeInstance, Index, Block, BlockNumber, Balance};
+use up_common::types::opaque::*;
// RMRK
use up_data_structs::{
@@ -48,6 +48,9 @@
RmrkPartType, RmrkTheme,
};
+#[cfg(feature = "pov-estimate")]
+type FullBackend = sc_service::TFullBackend<Block>;
+
/// Extra dependencies for GRANDPA
pub struct GrandpaDeps<B> {
/// Voting round info.
@@ -82,8 +85,18 @@
pub deny_unsafe: DenyUnsafe,
/// EthFilterApi pool.
pub filter_pool: Option<FilterPool>,
- /// Backend.
- pub backend: Arc<fc_db::Backend<Block>>,
+
+ #[cfg(feature = "pov-estimate")]
+ pub runtime_id: RuntimeId,
+ /// Executor params for PoV estimating
+ #[cfg(feature = "pov-estimate")]
+ pub exec_params: uc_rpc::pov_estimate::ExecutorParams,
+ /// Substrate Backend.
+ #[cfg(feature = "pov-estimate")]
+ pub backend: Arc<FullBackend>,
+
+ /// Ethereum Backend.
+ pub eth_backend: Arc<fc_db::Backend<Block>>,
/// Maximum number of logs in a query.
pub max_past_logs: u32,
/// Maximum fee history cache size.
@@ -162,6 +175,7 @@
RmrkPartType,
RmrkTheme,
>,
+ C::Api: up_pov_estimate_rpc::PovEstimateApi<Block>,
B: sc_client_api::Backend<Block> + Send + Sync + 'static,
B::State: sc_client_api::backend::StateBackend<sp_runtime::traits::HashFor<Block>>,
P: TransactionPool<Block = Block> + 'static,
@@ -182,6 +196,9 @@
#[cfg(not(feature = "unique-runtime"))]
use uc_rpc::{RmrkApiServer, Rmrk};
+ #[cfg(feature = "pov-estimate")]
+ use uc_rpc::pov_estimate::{PovEstimateApiServer, PovEstimate};
+
// use pallet_contracts_rpc::{Contracts, ContractsApi};
use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
use substrate_frame_rpc_system::{System, SystemApiServer};
@@ -200,7 +217,17 @@
network,
deny_unsafe,
filter_pool,
+
+ #[cfg(feature = "pov-estimate")]
+ runtime_id,
+
+ #[cfg(feature = "pov-estimate")]
+ exec_params,
+
+ #[cfg(feature = "pov-estimate")]
backend,
+
+ eth_backend,
max_past_logs,
} = deps;
@@ -226,7 +253,7 @@
network.clone(),
signers,
overrides.clone(),
- backend.clone(),
+ eth_backend.clone(),
is_authority,
block_data_cache.clone(),
fee_history_cache,
@@ -244,11 +271,23 @@
#[cfg(not(feature = "unique-runtime"))]
io.merge(Rmrk::new(client.clone()).into_rpc())?;
+ #[cfg(feature = "pov-estimate")]
+ io.merge(
+ PovEstimate::new(
+ client.clone(),
+ backend,
+ deny_unsafe,
+ exec_params,
+ runtime_id,
+ )
+ .into_rpc(),
+ )?;
+
if let Some(filter_pool) = filter_pool {
io.merge(
EthFilter::new(
client.clone(),
- backend,
+ eth_backend,
filter_pool,
500_usize, // max stored filters
max_past_logs,
pallets/common/Cargo.tomldiffbeforeafterboth--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -23,6 +23,7 @@
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
ethereum = { version = "0.14.0", default-features = false }
pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
+up-pov-estimate-rpc = { default-features = false, path = "../../primitives/pov-estimate-rpc" }
serde = { version = "1.0.130", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = [
@@ -39,6 +40,7 @@
"fp-evm-mapping/std",
"up-data-structs/std",
"pallet-evm/std",
+ "up-pov-estimate-rpc/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -115,6 +115,7 @@
RmrkNftChild,
CollectionPermissions,
};
+use up_pov_estimate_rpc::PovInfo;
pub use pallet::*;
use sp_core::H160;
@@ -881,6 +882,8 @@
RmrkPartType,
RmrkBoundedTheme,
RmrkNftChild,
+ // PoV Estimate Info
+ PovInfo,
)>,
),
QueryKind = OptionQuery,
primitives/common/src/types.rsdiffbeforeafterboth--- a/primitives/common/src/types.rs
+++ b/primitives/common/src/types.rs
@@ -29,6 +29,14 @@
pub use super::{BlockNumber, Signature, AccountId, Balance, Index, Hash, AuraId};
+ #[derive(Debug, Clone)]
+ pub enum RuntimeId {
+ Unique,
+ Quartz,
+ Opal,
+ Unknown(sp_std::vec::Vec<u8>),
+ }
+
/// Opaque block header type.
pub type Header = generic::Header<BlockNumber, BlakeTwo256>;
primitives/pov-estimate-rpc/Cargo.tomldiffbeforeafterboth--- /dev/null
+++ b/primitives/pov-estimate-rpc/Cargo.toml
@@ -0,0 +1,28 @@
+[package]
+name = "up-pov-estimate-rpc"
+version = "0.1.0"
+license = "GPLv3"
+edition = "2021"
+
+[dependencies]
+codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
+ "derive",
+] }
+serde = { version = "1.0.130", features = ["derive"], default-features = false, optional = true }
+scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" }
+
+[features]
+default = ["std"]
+std = [
+ "codec/std",
+ "serde/std",
+ "scale-info/std",
+ "sp-core/std",
+ "sp-std/std",
+ "sp-api/std",
+ "sp-runtime/std",
+]
primitives/pov-estimate-rpc/src/lib.rsdiffbeforeafterboth--- /dev/null
+++ b/primitives/pov-estimate-rpc/src/lib.rs
@@ -0,0 +1,49 @@
+// 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 scale_info::TypeInfo;
+use sp_std::vec::Vec;
+
+#[cfg(feature = "std")]
+use serde::Serialize;
+
+use sp_runtime::ApplyExtrinsicResult;
+use sp_core::Bytes;
+
+#[cfg_attr(feature = "std", derive(Serialize))]
+#[derive(Debug, TypeInfo)]
+pub struct PovInfo {
+ pub proof_size: u64,
+ pub compact_proof_size: u64,
+ pub compressed_proof_size: u64,
+ pub results: Vec<ApplyExtrinsicResult>,
+ pub key_values: Vec<TrieKeyValue>,
+}
+
+#[cfg_attr(feature = "std", derive(Serialize))]
+#[derive(Debug, TypeInfo)]
+pub struct TrieKeyValue {
+ pub key: Vec<u8>,
+ pub value: Vec<u8>,
+}
+
+sp_api::decl_runtime_apis! {
+ pub trait PovEstimateApi {
+ fn pov_estimate(uxt: Bytes) -> ApplyExtrinsicResult;
+ }
+}
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -35,7 +35,7 @@
) => {
use sp_std::prelude::*;
use sp_api::impl_runtime_apis;
- use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160};
+ use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160, Bytes};
use sp_runtime::{
Permill,
traits::Block as BlockT,
@@ -778,6 +778,29 @@
}
}
+ impl up_pov_estimate_rpc::PovEstimateApi<Block> for Runtime {
+ #[allow(unused_variables)]
+ fn pov_estimate(uxt: Bytes) -> ApplyExtrinsicResult {
+ #[cfg(feature = "pov-estimate")]
+ {
+ use codec::Decode;
+
+ let uxt_decode = <<Block as BlockT>::Extrinsic as Decode>::decode(&mut &*uxt)
+ .map_err(|_| DispatchError::Other("failed to decode the extrinsic"));
+
+ let uxt = match uxt_decode {
+ Ok(uxt) => uxt,
+ Err(err) => return Ok(err.into()),
+ };
+
+ Executive::apply_extrinsic(uxt)
+ }
+
+ #[cfg(not(feature = "pov-estimate"))]
+ return Ok(unsupported!());
+ }
+ }
+
#[cfg(feature = "try-runtime")]
impl frame_try_runtime::TryRuntime<Block> for Runtime {
fn on_runtime_upgrade(checks: bool) -> (frame_support::pallet_prelude::Weight, frame_support::pallet_prelude::Weight) {
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -127,6 +127,7 @@
'pallet-base-fee/std',
'fp-rpc/std',
'up-rpc/std',
+ 'up-pov-estimate-rpc/std',
'app-promotion-rpc/std',
'fp-evm-mapping/std',
'fp-self-contained/std',
@@ -184,6 +185,7 @@
'pallet-test-utils',
]
become-sapphire = []
+pov-estimate = []
refungible = []
scheduler = []
@@ -468,6 +470,7 @@
derivative = "2.2.0"
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
+up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-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 = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -122,6 +122,7 @@
'pallet-base-fee/std',
'fp-rpc/std',
'up-rpc/std',
+ 'up-pov-estimate-rpc/std',
'app-promotion-rpc/std',
'fp-evm-mapping/std',
'fp-self-contained/std',
@@ -169,6 +170,7 @@
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
quartz-runtime = ['refungible', 'app-promotion', 'foreign-assets']
+pov-estimate = []
refungible = []
scheduler = []
@@ -461,6 +463,7 @@
derivative = "2.2.0"
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
+up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-rpc", default-features = false }
app-promotion-rpc = { path = "../../primitives/app_promotion_rpc", default-features = false }
fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.36" }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -123,6 +123,7 @@
'pallet-base-fee/std',
'fp-rpc/std',
'up-rpc/std',
+ 'up-pov-estimate-rpc/std',
'app-promotion-rpc/std',
'fp-evm-mapping/std',
'fp-self-contained/std',
@@ -170,6 +171,7 @@
]
limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']
unique-runtime = ['foreign-assets']
+pov-estimate = []
stubgen = ["evm-coder/stubgen"]
refungible = []
@@ -454,6 +456,7 @@
derivative = "2.2.0"
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
+up-pov-estimate-rpc = { path = "../../primitives/pov-estimate-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 }
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/rpc-core/types/jsonrpc';
-import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsPartPartType, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo } from './default';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';
@@ -436,6 +436,12 @@
**/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
};
+ povinfo: {
+ /**
+ * Estimate PoV size of encoded signed extrinsics
+ **/
+ estimateExtrinsicPoV: AugmentedRpc<(encodedXt: Vec<Bytes> | (Bytes | string | Uint8Array)[], at?: Hash | string | Uint8Array) => Observable<UpPovEstimateRpcPovInfo>>;
+ };
rmrk: {
/**
* Get tokens owned by an account in a collection
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -1186,6 +1186,9 @@
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
SpRuntimeTransactionalError: SpRuntimeTransactionalError;
+ SpRuntimeTransactionValidityInvalidTransaction: SpRuntimeTransactionValidityInvalidTransaction;
+ SpRuntimeTransactionValidityTransactionValidityError: SpRuntimeTransactionValidityTransactionValidityError;
+ SpRuntimeTransactionValidityUnknownTransaction: SpRuntimeTransactionValidityUnknownTransaction;
SpTrieStorageProof: SpTrieStorageProof;
SpVersionRuntimeVersion: SpVersionRuntimeVersion;
SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight;
@@ -1325,6 +1328,8 @@
UpDataStructsTokenData: UpDataStructsTokenData;
UpgradeGoAhead: UpgradeGoAhead;
UpgradeRestriction: UpgradeRestriction;
+ UpPovEstimateRpcPovInfo: UpPovEstimateRpcPovInfo;
+ UpPovEstimateRpcTrieKeyValue: UpPovEstimateRpcTrieKeyValue;
UpwardMessage: UpwardMessage;
usize: usize;
USize: USize;
tests/src/interfaces/default/types.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isRemark: boolean;561 readonly asRemark: {562 readonly remark: Bytes;563 } & Struct;564 readonly isSetHeapPages: boolean;565 readonly asSetHeapPages: {566 readonly pages: u64;567 } & Struct;568 readonly isSetCode: boolean;569 readonly asSetCode: {570 readonly code: Bytes;571 } & Struct;572 readonly isSetCodeWithoutChecks: boolean;573 readonly asSetCodeWithoutChecks: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetStorage: boolean;577 readonly asSetStorage: {578 readonly items: Vec<ITuple<[Bytes, Bytes]>>;579 } & Struct;580 readonly isKillStorage: boolean;581 readonly asKillStorage: {582 readonly keys_: Vec<Bytes>;583 } & Struct;584 readonly isKillPrefix: boolean;585 readonly asKillPrefix: {586 readonly prefix: Bytes;587 readonly subkeys: u32;588 } & Struct;589 readonly isRemarkWithEvent: boolean;590 readonly asRemarkWithEvent: {591 readonly remark: Bytes;592 } & Struct;593 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';594}595596/** @name FrameSystemError */597export interface FrameSystemError extends Enum {598 readonly isInvalidSpecName: boolean;599 readonly isSpecVersionNeedsToIncrease: boolean;600 readonly isFailedToExtractRuntimeVersion: boolean;601 readonly isNonDefaultComposite: boolean;602 readonly isNonZeroRefCount: boolean;603 readonly isCallFiltered: boolean;604 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';605}606607/** @name FrameSystemEvent */608export interface FrameSystemEvent extends Enum {609 readonly isExtrinsicSuccess: boolean;610 readonly asExtrinsicSuccess: {611 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;612 } & Struct;613 readonly isExtrinsicFailed: boolean;614 readonly asExtrinsicFailed: {615 readonly dispatchError: SpRuntimeDispatchError;616 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;617 } & Struct;618 readonly isCodeUpdated: boolean;619 readonly isNewAccount: boolean;620 readonly asNewAccount: {621 readonly account: AccountId32;622 } & Struct;623 readonly isKilledAccount: boolean;624 readonly asKilledAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isRemarked: boolean;628 readonly asRemarked: {629 readonly sender: AccountId32;630 readonly hash_: H256;631 } & Struct;632 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';633}634635/** @name FrameSystemEventRecord */636export interface FrameSystemEventRecord extends Struct {637 readonly phase: FrameSystemPhase;638 readonly event: Event;639 readonly topics: Vec<H256>;640}641642/** @name FrameSystemExtensionsCheckGenesis */643export interface FrameSystemExtensionsCheckGenesis extends Null {}644645/** @name FrameSystemExtensionsCheckNonce */646export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}647648/** @name FrameSystemExtensionsCheckSpecVersion */649export interface FrameSystemExtensionsCheckSpecVersion extends Null {}650651/** @name FrameSystemExtensionsCheckTxVersion */652export interface FrameSystemExtensionsCheckTxVersion extends Null {}653654/** @name FrameSystemExtensionsCheckWeight */655export interface FrameSystemExtensionsCheckWeight extends Null {}656657/** @name FrameSystemLastRuntimeUpgradeInfo */658export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {659 readonly specVersion: Compact<u32>;660 readonly specName: Text;661}662663/** @name FrameSystemLimitsBlockLength */664export interface FrameSystemLimitsBlockLength extends Struct {665 readonly max: FrameSupportDispatchPerDispatchClassU32;666}667668/** @name FrameSystemLimitsBlockWeights */669export interface FrameSystemLimitsBlockWeights extends Struct {670 readonly baseBlock: SpWeightsWeightV2Weight;671 readonly maxBlock: SpWeightsWeightV2Weight;672 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;673}674675/** @name FrameSystemLimitsWeightsPerClass */676export interface FrameSystemLimitsWeightsPerClass extends Struct {677 readonly baseExtrinsic: SpWeightsWeightV2Weight;678 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;679 readonly maxTotal: Option<SpWeightsWeightV2Weight>;680 readonly reserved: Option<SpWeightsWeightV2Weight>;681}682683/** @name FrameSystemPhase */684export interface FrameSystemPhase extends Enum {685 readonly isApplyExtrinsic: boolean;686 readonly asApplyExtrinsic: u32;687 readonly isFinalization: boolean;688 readonly isInitialization: boolean;689 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';690}691692/** @name OpalRuntimeRuntime */693export interface OpalRuntimeRuntime extends Null {}694695/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */696export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}697698/** @name OrmlTokensAccountData */699export interface OrmlTokensAccountData extends Struct {700 readonly free: u128;701 readonly reserved: u128;702 readonly frozen: u128;703}704705/** @name OrmlTokensBalanceLock */706export interface OrmlTokensBalanceLock extends Struct {707 readonly id: U8aFixed;708 readonly amount: u128;709}710711/** @name OrmlTokensModuleCall */712export interface OrmlTokensModuleCall extends Enum {713 readonly isTransfer: boolean;714 readonly asTransfer: {715 readonly dest: MultiAddress;716 readonly currencyId: PalletForeignAssetsAssetIds;717 readonly amount: Compact<u128>;718 } & Struct;719 readonly isTransferAll: boolean;720 readonly asTransferAll: {721 readonly dest: MultiAddress;722 readonly currencyId: PalletForeignAssetsAssetIds;723 readonly keepAlive: bool;724 } & Struct;725 readonly isTransferKeepAlive: boolean;726 readonly asTransferKeepAlive: {727 readonly dest: MultiAddress;728 readonly currencyId: PalletForeignAssetsAssetIds;729 readonly amount: Compact<u128>;730 } & Struct;731 readonly isForceTransfer: boolean;732 readonly asForceTransfer: {733 readonly source: MultiAddress;734 readonly dest: MultiAddress;735 readonly currencyId: PalletForeignAssetsAssetIds;736 readonly amount: Compact<u128>;737 } & Struct;738 readonly isSetBalance: boolean;739 readonly asSetBalance: {740 readonly who: MultiAddress;741 readonly currencyId: PalletForeignAssetsAssetIds;742 readonly newFree: Compact<u128>;743 readonly newReserved: Compact<u128>;744 } & Struct;745 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';746}747748/** @name OrmlTokensModuleError */749export interface OrmlTokensModuleError extends Enum {750 readonly isBalanceTooLow: boolean;751 readonly isAmountIntoBalanceFailed: boolean;752 readonly isLiquidityRestrictions: boolean;753 readonly isMaxLocksExceeded: boolean;754 readonly isKeepAlive: boolean;755 readonly isExistentialDeposit: boolean;756 readonly isDeadAccount: boolean;757 readonly isTooManyReserves: boolean;758 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';759}760761/** @name OrmlTokensModuleEvent */762export interface OrmlTokensModuleEvent extends Enum {763 readonly isEndowed: boolean;764 readonly asEndowed: {765 readonly currencyId: PalletForeignAssetsAssetIds;766 readonly who: AccountId32;767 readonly amount: u128;768 } & Struct;769 readonly isDustLost: boolean;770 readonly asDustLost: {771 readonly currencyId: PalletForeignAssetsAssetIds;772 readonly who: AccountId32;773 readonly amount: u128;774 } & Struct;775 readonly isTransfer: boolean;776 readonly asTransfer: {777 readonly currencyId: PalletForeignAssetsAssetIds;778 readonly from: AccountId32;779 readonly to: AccountId32;780 readonly amount: u128;781 } & Struct;782 readonly isReserved: boolean;783 readonly asReserved: {784 readonly currencyId: PalletForeignAssetsAssetIds;785 readonly who: AccountId32;786 readonly amount: u128;787 } & Struct;788 readonly isUnreserved: boolean;789 readonly asUnreserved: {790 readonly currencyId: PalletForeignAssetsAssetIds;791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isReserveRepatriated: boolean;795 readonly asReserveRepatriated: {796 readonly currencyId: PalletForeignAssetsAssetIds;797 readonly from: AccountId32;798 readonly to: AccountId32;799 readonly amount: u128;800 readonly status: FrameSupportTokensMiscBalanceStatus;801 } & Struct;802 readonly isBalanceSet: boolean;803 readonly asBalanceSet: {804 readonly currencyId: PalletForeignAssetsAssetIds;805 readonly who: AccountId32;806 readonly free: u128;807 readonly reserved: u128;808 } & Struct;809 readonly isTotalIssuanceSet: boolean;810 readonly asTotalIssuanceSet: {811 readonly currencyId: PalletForeignAssetsAssetIds;812 readonly amount: u128;813 } & Struct;814 readonly isWithdrawn: boolean;815 readonly asWithdrawn: {816 readonly currencyId: PalletForeignAssetsAssetIds;817 readonly who: AccountId32;818 readonly amount: u128;819 } & Struct;820 readonly isSlashed: boolean;821 readonly asSlashed: {822 readonly currencyId: PalletForeignAssetsAssetIds;823 readonly who: AccountId32;824 readonly freeAmount: u128;825 readonly reservedAmount: u128;826 } & Struct;827 readonly isDeposited: boolean;828 readonly asDeposited: {829 readonly currencyId: PalletForeignAssetsAssetIds;830 readonly who: AccountId32;831 readonly amount: u128;832 } & Struct;833 readonly isLockSet: boolean;834 readonly asLockSet: {835 readonly lockId: U8aFixed;836 readonly currencyId: PalletForeignAssetsAssetIds;837 readonly who: AccountId32;838 readonly amount: u128;839 } & Struct;840 readonly isLockRemoved: boolean;841 readonly asLockRemoved: {842 readonly lockId: U8aFixed;843 readonly currencyId: PalletForeignAssetsAssetIds;844 readonly who: AccountId32;845 } & Struct;846 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';847}848849/** @name OrmlTokensReserveData */850export interface OrmlTokensReserveData extends Struct {851 readonly id: Null;852 readonly amount: u128;853}854855/** @name OrmlVestingModuleCall */856export interface OrmlVestingModuleCall extends Enum {857 readonly isClaim: boolean;858 readonly isVestedTransfer: boolean;859 readonly asVestedTransfer: {860 readonly dest: MultiAddress;861 readonly schedule: OrmlVestingVestingSchedule;862 } & Struct;863 readonly isUpdateVestingSchedules: boolean;864 readonly asUpdateVestingSchedules: {865 readonly who: MultiAddress;866 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;867 } & Struct;868 readonly isClaimFor: boolean;869 readonly asClaimFor: {870 readonly dest: MultiAddress;871 } & Struct;872 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';873}874875/** @name OrmlVestingModuleError */876export interface OrmlVestingModuleError extends Enum {877 readonly isZeroVestingPeriod: boolean;878 readonly isZeroVestingPeriodCount: boolean;879 readonly isInsufficientBalanceToLock: boolean;880 readonly isTooManyVestingSchedules: boolean;881 readonly isAmountLow: boolean;882 readonly isMaxVestingSchedulesExceeded: boolean;883 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';884}885886/** @name OrmlVestingModuleEvent */887export interface OrmlVestingModuleEvent extends Enum {888 readonly isVestingScheduleAdded: boolean;889 readonly asVestingScheduleAdded: {890 readonly from: AccountId32;891 readonly to: AccountId32;892 readonly vestingSchedule: OrmlVestingVestingSchedule;893 } & Struct;894 readonly isClaimed: boolean;895 readonly asClaimed: {896 readonly who: AccountId32;897 readonly amount: u128;898 } & Struct;899 readonly isVestingSchedulesUpdated: boolean;900 readonly asVestingSchedulesUpdated: {901 readonly who: AccountId32;902 } & Struct;903 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';904}905906/** @name OrmlVestingVestingSchedule */907export interface OrmlVestingVestingSchedule extends Struct {908 readonly start: u32;909 readonly period: u32;910 readonly periodCount: u32;911 readonly perPeriod: Compact<u128>;912}913914/** @name OrmlXtokensModuleCall */915export interface OrmlXtokensModuleCall extends Enum {916 readonly isTransfer: boolean;917 readonly asTransfer: {918 readonly currencyId: PalletForeignAssetsAssetIds;919 readonly amount: u128;920 readonly dest: XcmVersionedMultiLocation;921 readonly destWeightLimit: XcmV2WeightLimit;922 } & Struct;923 readonly isTransferMultiasset: boolean;924 readonly asTransferMultiasset: {925 readonly asset: XcmVersionedMultiAsset;926 readonly dest: XcmVersionedMultiLocation;927 readonly destWeightLimit: XcmV2WeightLimit;928 } & Struct;929 readonly isTransferWithFee: boolean;930 readonly asTransferWithFee: {931 readonly currencyId: PalletForeignAssetsAssetIds;932 readonly amount: u128;933 readonly fee: u128;934 readonly dest: XcmVersionedMultiLocation;935 readonly destWeightLimit: XcmV2WeightLimit;936 } & Struct;937 readonly isTransferMultiassetWithFee: boolean;938 readonly asTransferMultiassetWithFee: {939 readonly asset: XcmVersionedMultiAsset;940 readonly fee: XcmVersionedMultiAsset;941 readonly dest: XcmVersionedMultiLocation;942 readonly destWeightLimit: XcmV2WeightLimit;943 } & Struct;944 readonly isTransferMulticurrencies: boolean;945 readonly asTransferMulticurrencies: {946 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;947 readonly feeItem: u32;948 readonly dest: XcmVersionedMultiLocation;949 readonly destWeightLimit: XcmV2WeightLimit;950 } & Struct;951 readonly isTransferMultiassets: boolean;952 readonly asTransferMultiassets: {953 readonly assets: XcmVersionedMultiAssets;954 readonly feeItem: u32;955 readonly dest: XcmVersionedMultiLocation;956 readonly destWeightLimit: XcmV2WeightLimit;957 } & Struct;958 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';959}960961/** @name OrmlXtokensModuleError */962export interface OrmlXtokensModuleError extends Enum {963 readonly isAssetHasNoReserve: boolean;964 readonly isNotCrossChainTransfer: boolean;965 readonly isInvalidDest: boolean;966 readonly isNotCrossChainTransferableCurrency: boolean;967 readonly isUnweighableMessage: boolean;968 readonly isXcmExecutionFailed: boolean;969 readonly isCannotReanchor: boolean;970 readonly isInvalidAncestry: boolean;971 readonly isInvalidAsset: boolean;972 readonly isDestinationNotInvertible: boolean;973 readonly isBadVersion: boolean;974 readonly isDistinctReserveForAssetAndFee: boolean;975 readonly isZeroFee: boolean;976 readonly isZeroAmount: boolean;977 readonly isTooManyAssetsBeingSent: boolean;978 readonly isAssetIndexNonExistent: boolean;979 readonly isFeeNotEnough: boolean;980 readonly isNotSupportedMultiLocation: boolean;981 readonly isMinXcmFeeNotDefined: boolean;982 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';983}984985/** @name OrmlXtokensModuleEvent */986export interface OrmlXtokensModuleEvent extends Enum {987 readonly isTransferredMultiAssets: boolean;988 readonly asTransferredMultiAssets: {989 readonly sender: AccountId32;990 readonly assets: XcmV1MultiassetMultiAssets;991 readonly fee: XcmV1MultiAsset;992 readonly dest: XcmV1MultiLocation;993 } & Struct;994 readonly type: 'TransferredMultiAssets';995}996997/** @name PalletAppPromotionCall */998export interface PalletAppPromotionCall extends Enum {999 readonly isSetAdminAddress: boolean;1000 readonly asSetAdminAddress: {1001 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1002 } & Struct;1003 readonly isStake: boolean;1004 readonly asStake: {1005 readonly amount: u128;1006 } & Struct;1007 readonly isUnstake: boolean;1008 readonly isSponsorCollection: boolean;1009 readonly asSponsorCollection: {1010 readonly collectionId: u32;1011 } & Struct;1012 readonly isStopSponsoringCollection: boolean;1013 readonly asStopSponsoringCollection: {1014 readonly collectionId: u32;1015 } & Struct;1016 readonly isSponsorContract: boolean;1017 readonly asSponsorContract: {1018 readonly contractId: H160;1019 } & Struct;1020 readonly isStopSponsoringContract: boolean;1021 readonly asStopSponsoringContract: {1022 readonly contractId: H160;1023 } & Struct;1024 readonly isPayoutStakers: boolean;1025 readonly asPayoutStakers: {1026 readonly stakersNumber: Option<u8>;1027 } & Struct;1028 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1029}10301031/** @name PalletAppPromotionError */1032export interface PalletAppPromotionError extends Enum {1033 readonly isAdminNotSet: boolean;1034 readonly isNoPermission: boolean;1035 readonly isNotSufficientFunds: boolean;1036 readonly isPendingForBlockOverflow: boolean;1037 readonly isSponsorNotSet: boolean;1038 readonly isIncorrectLockedBalanceOperation: boolean;1039 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1040}10411042/** @name PalletAppPromotionEvent */1043export interface PalletAppPromotionEvent extends Enum {1044 readonly isStakingRecalculation: boolean;1045 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1046 readonly isStake: boolean;1047 readonly asStake: ITuple<[AccountId32, u128]>;1048 readonly isUnstake: boolean;1049 readonly asUnstake: ITuple<[AccountId32, u128]>;1050 readonly isSetAdmin: boolean;1051 readonly asSetAdmin: AccountId32;1052 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1053}10541055/** @name PalletBalancesAccountData */1056export interface PalletBalancesAccountData extends Struct {1057 readonly free: u128;1058 readonly reserved: u128;1059 readonly miscFrozen: u128;1060 readonly feeFrozen: u128;1061}10621063/** @name PalletBalancesBalanceLock */1064export interface PalletBalancesBalanceLock extends Struct {1065 readonly id: U8aFixed;1066 readonly amount: u128;1067 readonly reasons: PalletBalancesReasons;1068}10691070/** @name PalletBalancesCall */1071export interface PalletBalancesCall extends Enum {1072 readonly isTransfer: boolean;1073 readonly asTransfer: {1074 readonly dest: MultiAddress;1075 readonly value: Compact<u128>;1076 } & Struct;1077 readonly isSetBalance: boolean;1078 readonly asSetBalance: {1079 readonly who: MultiAddress;1080 readonly newFree: Compact<u128>;1081 readonly newReserved: Compact<u128>;1082 } & Struct;1083 readonly isForceTransfer: boolean;1084 readonly asForceTransfer: {1085 readonly source: MultiAddress;1086 readonly dest: MultiAddress;1087 readonly value: Compact<u128>;1088 } & Struct;1089 readonly isTransferKeepAlive: boolean;1090 readonly asTransferKeepAlive: {1091 readonly dest: MultiAddress;1092 readonly value: Compact<u128>;1093 } & Struct;1094 readonly isTransferAll: boolean;1095 readonly asTransferAll: {1096 readonly dest: MultiAddress;1097 readonly keepAlive: bool;1098 } & Struct;1099 readonly isForceUnreserve: boolean;1100 readonly asForceUnreserve: {1101 readonly who: MultiAddress;1102 readonly amount: u128;1103 } & Struct;1104 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1105}11061107/** @name PalletBalancesError */1108export interface PalletBalancesError extends Enum {1109 readonly isVestingBalance: boolean;1110 readonly isLiquidityRestrictions: boolean;1111 readonly isInsufficientBalance: boolean;1112 readonly isExistentialDeposit: boolean;1113 readonly isKeepAlive: boolean;1114 readonly isExistingVestingSchedule: boolean;1115 readonly isDeadAccount: boolean;1116 readonly isTooManyReserves: boolean;1117 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1118}11191120/** @name PalletBalancesEvent */1121export interface PalletBalancesEvent extends Enum {1122 readonly isEndowed: boolean;1123 readonly asEndowed: {1124 readonly account: AccountId32;1125 readonly freeBalance: u128;1126 } & Struct;1127 readonly isDustLost: boolean;1128 readonly asDustLost: {1129 readonly account: AccountId32;1130 readonly amount: u128;1131 } & Struct;1132 readonly isTransfer: boolean;1133 readonly asTransfer: {1134 readonly from: AccountId32;1135 readonly to: AccountId32;1136 readonly amount: u128;1137 } & Struct;1138 readonly isBalanceSet: boolean;1139 readonly asBalanceSet: {1140 readonly who: AccountId32;1141 readonly free: u128;1142 readonly reserved: u128;1143 } & Struct;1144 readonly isReserved: boolean;1145 readonly asReserved: {1146 readonly who: AccountId32;1147 readonly amount: u128;1148 } & Struct;1149 readonly isUnreserved: boolean;1150 readonly asUnreserved: {1151 readonly who: AccountId32;1152 readonly amount: u128;1153 } & Struct;1154 readonly isReserveRepatriated: boolean;1155 readonly asReserveRepatriated: {1156 readonly from: AccountId32;1157 readonly to: AccountId32;1158 readonly amount: u128;1159 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1160 } & Struct;1161 readonly isDeposit: boolean;1162 readonly asDeposit: {1163 readonly who: AccountId32;1164 readonly amount: u128;1165 } & Struct;1166 readonly isWithdraw: boolean;1167 readonly asWithdraw: {1168 readonly who: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isSlashed: boolean;1172 readonly asSlashed: {1173 readonly who: AccountId32;1174 readonly amount: u128;1175 } & Struct;1176 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1177}11781179/** @name PalletBalancesReasons */1180export interface PalletBalancesReasons extends Enum {1181 readonly isFee: boolean;1182 readonly isMisc: boolean;1183 readonly isAll: boolean;1184 readonly type: 'Fee' | 'Misc' | 'All';1185}11861187/** @name PalletBalancesReserveData */1188export interface PalletBalancesReserveData extends Struct {1189 readonly id: U8aFixed;1190 readonly amount: u128;1191}11921193/** @name PalletCommonError */1194export interface PalletCommonError extends Enum {1195 readonly isCollectionNotFound: boolean;1196 readonly isMustBeTokenOwner: boolean;1197 readonly isNoPermission: boolean;1198 readonly isCantDestroyNotEmptyCollection: boolean;1199 readonly isPublicMintingNotAllowed: boolean;1200 readonly isAddressNotInAllowlist: boolean;1201 readonly isCollectionNameLimitExceeded: boolean;1202 readonly isCollectionDescriptionLimitExceeded: boolean;1203 readonly isCollectionTokenPrefixLimitExceeded: boolean;1204 readonly isTotalCollectionsLimitExceeded: boolean;1205 readonly isCollectionAdminCountExceeded: boolean;1206 readonly isCollectionLimitBoundsExceeded: boolean;1207 readonly isOwnerPermissionsCantBeReverted: boolean;1208 readonly isTransferNotAllowed: boolean;1209 readonly isAccountTokenLimitExceeded: boolean;1210 readonly isCollectionTokenLimitExceeded: boolean;1211 readonly isMetadataFlagFrozen: boolean;1212 readonly isTokenNotFound: boolean;1213 readonly isTokenValueTooLow: boolean;1214 readonly isApprovedValueTooLow: boolean;1215 readonly isCantApproveMoreThanOwned: boolean;1216 readonly isAddressIsZero: boolean;1217 readonly isUnsupportedOperation: boolean;1218 readonly isNotSufficientFounds: boolean;1219 readonly isUserIsNotAllowedToNest: boolean;1220 readonly isSourceCollectionIsNotAllowedToNest: boolean;1221 readonly isCollectionFieldSizeExceeded: boolean;1222 readonly isNoSpaceForProperty: boolean;1223 readonly isPropertyLimitReached: boolean;1224 readonly isPropertyKeyIsTooLong: boolean;1225 readonly isInvalidCharacterInPropertyKey: boolean;1226 readonly isEmptyPropertyKey: boolean;1227 readonly isCollectionIsExternal: boolean;1228 readonly isCollectionIsInternal: boolean;1229 readonly isConfirmSponsorshipFail: boolean;1230 readonly isUserIsNotCollectionAdmin: boolean;1231 readonly type: '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' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1232}12331234/** @name PalletCommonEvent */1235export interface PalletCommonEvent extends Enum {1236 readonly isCollectionCreated: boolean;1237 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1238 readonly isCollectionDestroyed: boolean;1239 readonly asCollectionDestroyed: u32;1240 readonly isItemCreated: boolean;1241 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1242 readonly isItemDestroyed: boolean;1243 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1244 readonly isTransfer: boolean;1245 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1246 readonly isApproved: boolean;1247 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1248 readonly isApprovedForAll: boolean;1249 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1250 readonly isCollectionPropertySet: boolean;1251 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1252 readonly isCollectionPropertyDeleted: boolean;1253 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1254 readonly isTokenPropertySet: boolean;1255 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1256 readonly isTokenPropertyDeleted: boolean;1257 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1258 readonly isPropertyPermissionSet: boolean;1259 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1260 readonly isAllowListAddressAdded: boolean;1261 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1262 readonly isAllowListAddressRemoved: boolean;1263 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1264 readonly isCollectionAdminAdded: boolean;1265 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1266 readonly isCollectionAdminRemoved: boolean;1267 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1268 readonly isCollectionLimitSet: boolean;1269 readonly asCollectionLimitSet: u32;1270 readonly isCollectionOwnerChanged: boolean;1271 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1272 readonly isCollectionPermissionSet: boolean;1273 readonly asCollectionPermissionSet: u32;1274 readonly isCollectionSponsorSet: boolean;1275 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1276 readonly isSponsorshipConfirmed: boolean;1277 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1278 readonly isCollectionSponsorRemoved: boolean;1279 readonly asCollectionSponsorRemoved: u32;1280 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1281}12821283/** @name PalletConfigurationAppPromotionConfiguration */1284export interface PalletConfigurationAppPromotionConfiguration extends Struct {1285 readonly recalculationInterval: Option<u32>;1286 readonly pendingInterval: Option<u32>;1287 readonly intervalIncome: Option<Perbill>;1288 readonly maxStakersPerCalculation: Option<u8>;1289}12901291/** @name PalletConfigurationCall */1292export interface PalletConfigurationCall extends Enum {1293 readonly isSetWeightToFeeCoefficientOverride: boolean;1294 readonly asSetWeightToFeeCoefficientOverride: {1295 readonly coeff: Option<u64>;1296 } & Struct;1297 readonly isSetMinGasPriceOverride: boolean;1298 readonly asSetMinGasPriceOverride: {1299 readonly coeff: Option<u64>;1300 } & Struct;1301 readonly isSetXcmAllowedLocations: boolean;1302 readonly asSetXcmAllowedLocations: {1303 readonly locations: Option<Vec<XcmV1MultiLocation>>;1304 } & Struct;1305 readonly isSetAppPromotionConfigurationOverride: boolean;1306 readonly asSetAppPromotionConfigurationOverride: {1307 readonly configuration: PalletConfigurationAppPromotionConfiguration;1308 } & Struct;1309 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1310}13111312/** @name PalletConfigurationError */1313export interface PalletConfigurationError extends Enum {1314 readonly isInconsistentConfiguration: boolean;1315 readonly type: 'InconsistentConfiguration';1316}13171318/** @name PalletEthereumCall */1319export interface PalletEthereumCall extends Enum {1320 readonly isTransact: boolean;1321 readonly asTransact: {1322 readonly transaction: EthereumTransactionTransactionV2;1323 } & Struct;1324 readonly type: 'Transact';1325}13261327/** @name PalletEthereumError */1328export interface PalletEthereumError extends Enum {1329 readonly isInvalidSignature: boolean;1330 readonly isPreLogExists: boolean;1331 readonly type: 'InvalidSignature' | 'PreLogExists';1332}13331334/** @name PalletEthereumEvent */1335export interface PalletEthereumEvent extends Enum {1336 readonly isExecuted: boolean;1337 readonly asExecuted: {1338 readonly from: H160;1339 readonly to: H160;1340 readonly transactionHash: H256;1341 readonly exitReason: EvmCoreErrorExitReason;1342 } & Struct;1343 readonly type: 'Executed';1344}13451346/** @name PalletEthereumFakeTransactionFinalizer */1347export interface PalletEthereumFakeTransactionFinalizer extends Null {}13481349/** @name PalletEvmAccountBasicCrossAccountIdRepr */1350export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1351 readonly isSubstrate: boolean;1352 readonly asSubstrate: AccountId32;1353 readonly isEthereum: boolean;1354 readonly asEthereum: H160;1355 readonly type: 'Substrate' | 'Ethereum';1356}13571358/** @name PalletEvmCall */1359export interface PalletEvmCall extends Enum {1360 readonly isWithdraw: boolean;1361 readonly asWithdraw: {1362 readonly address: H160;1363 readonly value: u128;1364 } & Struct;1365 readonly isCall: boolean;1366 readonly asCall: {1367 readonly source: H160;1368 readonly target: H160;1369 readonly input: Bytes;1370 readonly value: U256;1371 readonly gasLimit: u64;1372 readonly maxFeePerGas: U256;1373 readonly maxPriorityFeePerGas: Option<U256>;1374 readonly nonce: Option<U256>;1375 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1376 } & Struct;1377 readonly isCreate: boolean;1378 readonly asCreate: {1379 readonly source: H160;1380 readonly init: Bytes;1381 readonly value: U256;1382 readonly gasLimit: u64;1383 readonly maxFeePerGas: U256;1384 readonly maxPriorityFeePerGas: Option<U256>;1385 readonly nonce: Option<U256>;1386 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1387 } & Struct;1388 readonly isCreate2: boolean;1389 readonly asCreate2: {1390 readonly source: H160;1391 readonly init: Bytes;1392 readonly salt: H256;1393 readonly value: U256;1394 readonly gasLimit: u64;1395 readonly maxFeePerGas: U256;1396 readonly maxPriorityFeePerGas: Option<U256>;1397 readonly nonce: Option<U256>;1398 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1399 } & Struct;1400 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1401}14021403/** @name PalletEvmCoderSubstrateError */1404export interface PalletEvmCoderSubstrateError extends Enum {1405 readonly isOutOfGas: boolean;1406 readonly isOutOfFund: boolean;1407 readonly type: 'OutOfGas' | 'OutOfFund';1408}14091410/** @name PalletEvmContractHelpersError */1411export interface PalletEvmContractHelpersError extends Enum {1412 readonly isNoPermission: boolean;1413 readonly isNoPendingSponsor: boolean;1414 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1415 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1416}14171418/** @name PalletEvmContractHelpersEvent */1419export interface PalletEvmContractHelpersEvent extends Enum {1420 readonly isContractSponsorSet: boolean;1421 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1422 readonly isContractSponsorshipConfirmed: boolean;1423 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1424 readonly isContractSponsorRemoved: boolean;1425 readonly asContractSponsorRemoved: H160;1426 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1427}14281429/** @name PalletEvmContractHelpersSponsoringModeT */1430export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1431 readonly isDisabled: boolean;1432 readonly isAllowlisted: boolean;1433 readonly isGenerous: boolean;1434 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1435}14361437/** @name PalletEvmError */1438export interface PalletEvmError extends Enum {1439 readonly isBalanceLow: boolean;1440 readonly isFeeOverflow: boolean;1441 readonly isPaymentOverflow: boolean;1442 readonly isWithdrawFailed: boolean;1443 readonly isGasPriceTooLow: boolean;1444 readonly isInvalidNonce: boolean;1445 readonly isGasLimitTooLow: boolean;1446 readonly isGasLimitTooHigh: boolean;1447 readonly isUndefined: boolean;1448 readonly isReentrancy: boolean;1449 readonly isTransactionMustComeFromEOA: boolean;1450 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1451}14521453/** @name PalletEvmEvent */1454export interface PalletEvmEvent extends Enum {1455 readonly isLog: boolean;1456 readonly asLog: {1457 readonly log: EthereumLog;1458 } & Struct;1459 readonly isCreated: boolean;1460 readonly asCreated: {1461 readonly address: H160;1462 } & Struct;1463 readonly isCreatedFailed: boolean;1464 readonly asCreatedFailed: {1465 readonly address: H160;1466 } & Struct;1467 readonly isExecuted: boolean;1468 readonly asExecuted: {1469 readonly address: H160;1470 } & Struct;1471 readonly isExecutedFailed: boolean;1472 readonly asExecutedFailed: {1473 readonly address: H160;1474 } & Struct;1475 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1476}14771478/** @name PalletEvmMigrationCall */1479export interface PalletEvmMigrationCall extends Enum {1480 readonly isBegin: boolean;1481 readonly asBegin: {1482 readonly address: H160;1483 } & Struct;1484 readonly isSetData: boolean;1485 readonly asSetData: {1486 readonly address: H160;1487 readonly data: Vec<ITuple<[H256, H256]>>;1488 } & Struct;1489 readonly isFinish: boolean;1490 readonly asFinish: {1491 readonly address: H160;1492 readonly code: Bytes;1493 } & Struct;1494 readonly isInsertEthLogs: boolean;1495 readonly asInsertEthLogs: {1496 readonly logs: Vec<EthereumLog>;1497 } & Struct;1498 readonly isInsertEvents: boolean;1499 readonly asInsertEvents: {1500 readonly events: Vec<Bytes>;1501 } & Struct;1502 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1503}15041505/** @name PalletEvmMigrationError */1506export interface PalletEvmMigrationError extends Enum {1507 readonly isAccountNotEmpty: boolean;1508 readonly isAccountIsNotMigrating: boolean;1509 readonly isBadEvent: boolean;1510 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1511}15121513/** @name PalletEvmMigrationEvent */1514export interface PalletEvmMigrationEvent extends Enum {1515 readonly isTestEvent: boolean;1516 readonly type: 'TestEvent';1517}15181519/** @name PalletForeignAssetsAssetIds */1520export interface PalletForeignAssetsAssetIds extends Enum {1521 readonly isForeignAssetId: boolean;1522 readonly asForeignAssetId: u32;1523 readonly isNativeAssetId: boolean;1524 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1525 readonly type: 'ForeignAssetId' | 'NativeAssetId';1526}15271528/** @name PalletForeignAssetsModuleAssetMetadata */1529export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1530 readonly name: Bytes;1531 readonly symbol: Bytes;1532 readonly decimals: u8;1533 readonly minimalBalance: u128;1534}15351536/** @name PalletForeignAssetsModuleCall */1537export interface PalletForeignAssetsModuleCall extends Enum {1538 readonly isRegisterForeignAsset: boolean;1539 readonly asRegisterForeignAsset: {1540 readonly owner: AccountId32;1541 readonly location: XcmVersionedMultiLocation;1542 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1543 } & Struct;1544 readonly isUpdateForeignAsset: boolean;1545 readonly asUpdateForeignAsset: {1546 readonly foreignAssetId: u32;1547 readonly location: XcmVersionedMultiLocation;1548 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1549 } & Struct;1550 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1551}15521553/** @name PalletForeignAssetsModuleError */1554export interface PalletForeignAssetsModuleError extends Enum {1555 readonly isBadLocation: boolean;1556 readonly isMultiLocationExisted: boolean;1557 readonly isAssetIdNotExists: boolean;1558 readonly isAssetIdExisted: boolean;1559 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1560}15611562/** @name PalletForeignAssetsModuleEvent */1563export interface PalletForeignAssetsModuleEvent extends Enum {1564 readonly isForeignAssetRegistered: boolean;1565 readonly asForeignAssetRegistered: {1566 readonly assetId: u32;1567 readonly assetAddress: XcmV1MultiLocation;1568 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1569 } & Struct;1570 readonly isForeignAssetUpdated: boolean;1571 readonly asForeignAssetUpdated: {1572 readonly assetId: u32;1573 readonly assetAddress: XcmV1MultiLocation;1574 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1575 } & Struct;1576 readonly isAssetRegistered: boolean;1577 readonly asAssetRegistered: {1578 readonly assetId: PalletForeignAssetsAssetIds;1579 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1580 } & Struct;1581 readonly isAssetUpdated: boolean;1582 readonly asAssetUpdated: {1583 readonly assetId: PalletForeignAssetsAssetIds;1584 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1585 } & Struct;1586 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1587}15881589/** @name PalletForeignAssetsNativeCurrency */1590export interface PalletForeignAssetsNativeCurrency extends Enum {1591 readonly isHere: boolean;1592 readonly isParent: boolean;1593 readonly type: 'Here' | 'Parent';1594}15951596/** @name PalletFungibleError */1597export interface PalletFungibleError extends Enum {1598 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1599 readonly isFungibleItemsHaveNoId: boolean;1600 readonly isFungibleItemsDontHaveData: boolean;1601 readonly isFungibleDisallowsNesting: boolean;1602 readonly isSettingPropertiesNotAllowed: boolean;1603 readonly isSettingAllowanceForAllNotAllowed: boolean;1604 readonly isFungibleTokensAreAlwaysValid: boolean;1605 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1606}16071608/** @name PalletInflationCall */1609export interface PalletInflationCall extends Enum {1610 readonly isStartInflation: boolean;1611 readonly asStartInflation: {1612 readonly inflationStartRelayBlock: u32;1613 } & Struct;1614 readonly type: 'StartInflation';1615}16161617/** @name PalletMaintenanceCall */1618export interface PalletMaintenanceCall extends Enum {1619 readonly isEnable: boolean;1620 readonly isDisable: boolean;1621 readonly type: 'Enable' | 'Disable';1622}16231624/** @name PalletMaintenanceError */1625export interface PalletMaintenanceError extends Null {}16261627/** @name PalletMaintenanceEvent */1628export interface PalletMaintenanceEvent extends Enum {1629 readonly isMaintenanceEnabled: boolean;1630 readonly isMaintenanceDisabled: boolean;1631 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1632}16331634/** @name PalletNonfungibleError */1635export interface PalletNonfungibleError extends Enum {1636 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1637 readonly isNonfungibleItemsHaveNoAmount: boolean;1638 readonly isCantBurnNftWithChildren: boolean;1639 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1640}16411642/** @name PalletNonfungibleItemData */1643export interface PalletNonfungibleItemData extends Struct {1644 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1645}16461647/** @name PalletRefungibleError */1648export interface PalletRefungibleError extends Enum {1649 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1650 readonly isWrongRefungiblePieces: boolean;1651 readonly isRepartitionWhileNotOwningAllPieces: boolean;1652 readonly isRefungibleDisallowsNesting: boolean;1653 readonly isSettingPropertiesNotAllowed: boolean;1654 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1655}16561657/** @name PalletRmrkCoreCall */1658export interface PalletRmrkCoreCall extends Enum {1659 readonly isCreateCollection: boolean;1660 readonly asCreateCollection: {1661 readonly metadata: Bytes;1662 readonly max: Option<u32>;1663 readonly symbol: Bytes;1664 } & Struct;1665 readonly isDestroyCollection: boolean;1666 readonly asDestroyCollection: {1667 readonly collectionId: u32;1668 } & Struct;1669 readonly isChangeCollectionIssuer: boolean;1670 readonly asChangeCollectionIssuer: {1671 readonly collectionId: u32;1672 readonly newIssuer: MultiAddress;1673 } & Struct;1674 readonly isLockCollection: boolean;1675 readonly asLockCollection: {1676 readonly collectionId: u32;1677 } & Struct;1678 readonly isMintNft: boolean;1679 readonly asMintNft: {1680 readonly owner: Option<AccountId32>;1681 readonly collectionId: u32;1682 readonly recipient: Option<AccountId32>;1683 readonly royaltyAmount: Option<Permill>;1684 readonly metadata: Bytes;1685 readonly transferable: bool;1686 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1687 } & Struct;1688 readonly isBurnNft: boolean;1689 readonly asBurnNft: {1690 readonly collectionId: u32;1691 readonly nftId: u32;1692 readonly maxBurns: u32;1693 } & Struct;1694 readonly isSend: boolean;1695 readonly asSend: {1696 readonly rmrkCollectionId: u32;1697 readonly rmrkNftId: u32;1698 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1699 } & Struct;1700 readonly isAcceptNft: boolean;1701 readonly asAcceptNft: {1702 readonly rmrkCollectionId: u32;1703 readonly rmrkNftId: u32;1704 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1705 } & Struct;1706 readonly isRejectNft: boolean;1707 readonly asRejectNft: {1708 readonly rmrkCollectionId: u32;1709 readonly rmrkNftId: u32;1710 } & Struct;1711 readonly isAcceptResource: boolean;1712 readonly asAcceptResource: {1713 readonly rmrkCollectionId: u32;1714 readonly rmrkNftId: u32;1715 readonly resourceId: u32;1716 } & Struct;1717 readonly isAcceptResourceRemoval: boolean;1718 readonly asAcceptResourceRemoval: {1719 readonly rmrkCollectionId: u32;1720 readonly rmrkNftId: u32;1721 readonly resourceId: u32;1722 } & Struct;1723 readonly isSetProperty: boolean;1724 readonly asSetProperty: {1725 readonly rmrkCollectionId: Compact<u32>;1726 readonly maybeNftId: Option<u32>;1727 readonly key: Bytes;1728 readonly value: Bytes;1729 } & Struct;1730 readonly isSetPriority: boolean;1731 readonly asSetPriority: {1732 readonly rmrkCollectionId: u32;1733 readonly rmrkNftId: u32;1734 readonly priorities: Vec<u32>;1735 } & Struct;1736 readonly isAddBasicResource: boolean;1737 readonly asAddBasicResource: {1738 readonly rmrkCollectionId: u32;1739 readonly nftId: u32;1740 readonly resource: RmrkTraitsResourceBasicResource;1741 } & Struct;1742 readonly isAddComposableResource: boolean;1743 readonly asAddComposableResource: {1744 readonly rmrkCollectionId: u32;1745 readonly nftId: u32;1746 readonly resource: RmrkTraitsResourceComposableResource;1747 } & Struct;1748 readonly isAddSlotResource: boolean;1749 readonly asAddSlotResource: {1750 readonly rmrkCollectionId: u32;1751 readonly nftId: u32;1752 readonly resource: RmrkTraitsResourceSlotResource;1753 } & Struct;1754 readonly isRemoveResource: boolean;1755 readonly asRemoveResource: {1756 readonly rmrkCollectionId: u32;1757 readonly nftId: u32;1758 readonly resourceId: u32;1759 } & Struct;1760 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1761}17621763/** @name PalletRmrkCoreError */1764export interface PalletRmrkCoreError extends Enum {1765 readonly isCorruptedCollectionType: boolean;1766 readonly isRmrkPropertyKeyIsTooLong: boolean;1767 readonly isRmrkPropertyValueIsTooLong: boolean;1768 readonly isRmrkPropertyIsNotFound: boolean;1769 readonly isUnableToDecodeRmrkData: boolean;1770 readonly isCollectionNotEmpty: boolean;1771 readonly isNoAvailableCollectionId: boolean;1772 readonly isNoAvailableNftId: boolean;1773 readonly isCollectionUnknown: boolean;1774 readonly isNoPermission: boolean;1775 readonly isNonTransferable: boolean;1776 readonly isCollectionFullOrLocked: boolean;1777 readonly isResourceDoesntExist: boolean;1778 readonly isCannotSendToDescendentOrSelf: boolean;1779 readonly isCannotAcceptNonOwnedNft: boolean;1780 readonly isCannotRejectNonOwnedNft: boolean;1781 readonly isCannotRejectNonPendingNft: boolean;1782 readonly isResourceNotPending: boolean;1783 readonly isNoAvailableResourceId: boolean;1784 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1785}17861787/** @name PalletRmrkCoreEvent */1788export interface PalletRmrkCoreEvent extends Enum {1789 readonly isCollectionCreated: boolean;1790 readonly asCollectionCreated: {1791 readonly issuer: AccountId32;1792 readonly collectionId: u32;1793 } & Struct;1794 readonly isCollectionDestroyed: boolean;1795 readonly asCollectionDestroyed: {1796 readonly issuer: AccountId32;1797 readonly collectionId: u32;1798 } & Struct;1799 readonly isIssuerChanged: boolean;1800 readonly asIssuerChanged: {1801 readonly oldIssuer: AccountId32;1802 readonly newIssuer: AccountId32;1803 readonly collectionId: u32;1804 } & Struct;1805 readonly isCollectionLocked: boolean;1806 readonly asCollectionLocked: {1807 readonly issuer: AccountId32;1808 readonly collectionId: u32;1809 } & Struct;1810 readonly isNftMinted: boolean;1811 readonly asNftMinted: {1812 readonly owner: AccountId32;1813 readonly collectionId: u32;1814 readonly nftId: u32;1815 } & Struct;1816 readonly isNftBurned: boolean;1817 readonly asNftBurned: {1818 readonly owner: AccountId32;1819 readonly nftId: u32;1820 } & Struct;1821 readonly isNftSent: boolean;1822 readonly asNftSent: {1823 readonly sender: AccountId32;1824 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1825 readonly collectionId: u32;1826 readonly nftId: u32;1827 readonly approvalRequired: bool;1828 } & Struct;1829 readonly isNftAccepted: boolean;1830 readonly asNftAccepted: {1831 readonly sender: AccountId32;1832 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1833 readonly collectionId: u32;1834 readonly nftId: u32;1835 } & Struct;1836 readonly isNftRejected: boolean;1837 readonly asNftRejected: {1838 readonly sender: AccountId32;1839 readonly collectionId: u32;1840 readonly nftId: u32;1841 } & Struct;1842 readonly isPropertySet: boolean;1843 readonly asPropertySet: {1844 readonly collectionId: u32;1845 readonly maybeNftId: Option<u32>;1846 readonly key: Bytes;1847 readonly value: Bytes;1848 } & Struct;1849 readonly isResourceAdded: boolean;1850 readonly asResourceAdded: {1851 readonly nftId: u32;1852 readonly resourceId: u32;1853 } & Struct;1854 readonly isResourceRemoval: boolean;1855 readonly asResourceRemoval: {1856 readonly nftId: u32;1857 readonly resourceId: u32;1858 } & Struct;1859 readonly isResourceAccepted: boolean;1860 readonly asResourceAccepted: {1861 readonly nftId: u32;1862 readonly resourceId: u32;1863 } & Struct;1864 readonly isResourceRemovalAccepted: boolean;1865 readonly asResourceRemovalAccepted: {1866 readonly nftId: u32;1867 readonly resourceId: u32;1868 } & Struct;1869 readonly isPrioritySet: boolean;1870 readonly asPrioritySet: {1871 readonly collectionId: u32;1872 readonly nftId: u32;1873 } & Struct;1874 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1875}18761877/** @name PalletRmrkEquipCall */1878export interface PalletRmrkEquipCall extends Enum {1879 readonly isCreateBase: boolean;1880 readonly asCreateBase: {1881 readonly baseType: Bytes;1882 readonly symbol: Bytes;1883 readonly parts: Vec<RmrkTraitsPartPartType>;1884 } & Struct;1885 readonly isThemeAdd: boolean;1886 readonly asThemeAdd: {1887 readonly baseId: u32;1888 readonly theme: RmrkTraitsTheme;1889 } & Struct;1890 readonly isEquippable: boolean;1891 readonly asEquippable: {1892 readonly baseId: u32;1893 readonly slotId: u32;1894 readonly equippables: RmrkTraitsPartEquippableList;1895 } & Struct;1896 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1897}18981899/** @name PalletRmrkEquipError */1900export interface PalletRmrkEquipError extends Enum {1901 readonly isPermissionError: boolean;1902 readonly isNoAvailableBaseId: boolean;1903 readonly isNoAvailablePartId: boolean;1904 readonly isBaseDoesntExist: boolean;1905 readonly isNeedsDefaultThemeFirst: boolean;1906 readonly isPartDoesntExist: boolean;1907 readonly isNoEquippableOnFixedPart: boolean;1908 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1909}19101911/** @name PalletRmrkEquipEvent */1912export interface PalletRmrkEquipEvent extends Enum {1913 readonly isBaseCreated: boolean;1914 readonly asBaseCreated: {1915 readonly issuer: AccountId32;1916 readonly baseId: u32;1917 } & Struct;1918 readonly isEquippablesUpdated: boolean;1919 readonly asEquippablesUpdated: {1920 readonly baseId: u32;1921 readonly slotId: u32;1922 } & Struct;1923 readonly type: 'BaseCreated' | 'EquippablesUpdated';1924}19251926/** @name PalletStructureCall */1927export interface PalletStructureCall extends Null {}19281929/** @name PalletStructureError */1930export interface PalletStructureError extends Enum {1931 readonly isOuroborosDetected: boolean;1932 readonly isDepthLimit: boolean;1933 readonly isBreadthLimit: boolean;1934 readonly isTokenNotFound: boolean;1935 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1936}19371938/** @name PalletStructureEvent */1939export interface PalletStructureEvent extends Enum {1940 readonly isExecuted: boolean;1941 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1942 readonly type: 'Executed';1943}19441945/** @name PalletSudoCall */1946export interface PalletSudoCall extends Enum {1947 readonly isSudo: boolean;1948 readonly asSudo: {1949 readonly call: Call;1950 } & Struct;1951 readonly isSudoUncheckedWeight: boolean;1952 readonly asSudoUncheckedWeight: {1953 readonly call: Call;1954 readonly weight: SpWeightsWeightV2Weight;1955 } & Struct;1956 readonly isSetKey: boolean;1957 readonly asSetKey: {1958 readonly new_: MultiAddress;1959 } & Struct;1960 readonly isSudoAs: boolean;1961 readonly asSudoAs: {1962 readonly who: MultiAddress;1963 readonly call: Call;1964 } & Struct;1965 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1966}19671968/** @name PalletSudoError */1969export interface PalletSudoError extends Enum {1970 readonly isRequireSudo: boolean;1971 readonly type: 'RequireSudo';1972}19731974/** @name PalletSudoEvent */1975export interface PalletSudoEvent extends Enum {1976 readonly isSudid: boolean;1977 readonly asSudid: {1978 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1979 } & Struct;1980 readonly isKeyChanged: boolean;1981 readonly asKeyChanged: {1982 readonly oldSudoer: Option<AccountId32>;1983 } & Struct;1984 readonly isSudoAsDone: boolean;1985 readonly asSudoAsDone: {1986 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1987 } & Struct;1988 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1989}19901991/** @name PalletTemplateTransactionPaymentCall */1992export interface PalletTemplateTransactionPaymentCall extends Null {}19931994/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1995export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}19961997/** @name PalletTestUtilsCall */1998export interface PalletTestUtilsCall extends Enum {1999 readonly isEnable: boolean;2000 readonly isSetTestValue: boolean;2001 readonly asSetTestValue: {2002 readonly value: u32;2003 } & Struct;2004 readonly isSetTestValueAndRollback: boolean;2005 readonly asSetTestValueAndRollback: {2006 readonly value: u32;2007 } & Struct;2008 readonly isIncTestValue: boolean;2009 readonly isJustTakeFee: boolean;2010 readonly isBatchAll: boolean;2011 readonly asBatchAll: {2012 readonly calls: Vec<Call>;2013 } & Struct;2014 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2015}20162017/** @name PalletTestUtilsError */2018export interface PalletTestUtilsError extends Enum {2019 readonly isTestPalletDisabled: boolean;2020 readonly isTriggerRollback: boolean;2021 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2022}20232024/** @name PalletTestUtilsEvent */2025export interface PalletTestUtilsEvent extends Enum {2026 readonly isValueIsSet: boolean;2027 readonly isShouldRollback: boolean;2028 readonly isBatchCompleted: boolean;2029 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2030}20312032/** @name PalletTimestampCall */2033export interface PalletTimestampCall extends Enum {2034 readonly isSet: boolean;2035 readonly asSet: {2036 readonly now: Compact<u64>;2037 } & Struct;2038 readonly type: 'Set';2039}20402041/** @name PalletTransactionPaymentEvent */2042export interface PalletTransactionPaymentEvent extends Enum {2043 readonly isTransactionFeePaid: boolean;2044 readonly asTransactionFeePaid: {2045 readonly who: AccountId32;2046 readonly actualFee: u128;2047 readonly tip: u128;2048 } & Struct;2049 readonly type: 'TransactionFeePaid';2050}20512052/** @name PalletTransactionPaymentReleases */2053export interface PalletTransactionPaymentReleases extends Enum {2054 readonly isV1Ancient: boolean;2055 readonly isV2: boolean;2056 readonly type: 'V1Ancient' | 'V2';2057}20582059/** @name PalletTreasuryCall */2060export interface PalletTreasuryCall extends Enum {2061 readonly isProposeSpend: boolean;2062 readonly asProposeSpend: {2063 readonly value: Compact<u128>;2064 readonly beneficiary: MultiAddress;2065 } & Struct;2066 readonly isRejectProposal: boolean;2067 readonly asRejectProposal: {2068 readonly proposalId: Compact<u32>;2069 } & Struct;2070 readonly isApproveProposal: boolean;2071 readonly asApproveProposal: {2072 readonly proposalId: Compact<u32>;2073 } & Struct;2074 readonly isSpend: boolean;2075 readonly asSpend: {2076 readonly amount: Compact<u128>;2077 readonly beneficiary: MultiAddress;2078 } & Struct;2079 readonly isRemoveApproval: boolean;2080 readonly asRemoveApproval: {2081 readonly proposalId: Compact<u32>;2082 } & Struct;2083 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2084}20852086/** @name PalletTreasuryError */2087export interface PalletTreasuryError extends Enum {2088 readonly isInsufficientProposersBalance: boolean;2089 readonly isInvalidIndex: boolean;2090 readonly isTooManyApprovals: boolean;2091 readonly isInsufficientPermission: boolean;2092 readonly isProposalNotApproved: boolean;2093 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2094}20952096/** @name PalletTreasuryEvent */2097export interface PalletTreasuryEvent extends Enum {2098 readonly isProposed: boolean;2099 readonly asProposed: {2100 readonly proposalIndex: u32;2101 } & Struct;2102 readonly isSpending: boolean;2103 readonly asSpending: {2104 readonly budgetRemaining: u128;2105 } & Struct;2106 readonly isAwarded: boolean;2107 readonly asAwarded: {2108 readonly proposalIndex: u32;2109 readonly award: u128;2110 readonly account: AccountId32;2111 } & Struct;2112 readonly isRejected: boolean;2113 readonly asRejected: {2114 readonly proposalIndex: u32;2115 readonly slashed: u128;2116 } & Struct;2117 readonly isBurnt: boolean;2118 readonly asBurnt: {2119 readonly burntFunds: u128;2120 } & Struct;2121 readonly isRollover: boolean;2122 readonly asRollover: {2123 readonly rolloverBalance: u128;2124 } & Struct;2125 readonly isDeposit: boolean;2126 readonly asDeposit: {2127 readonly value: u128;2128 } & Struct;2129 readonly isSpendApproved: boolean;2130 readonly asSpendApproved: {2131 readonly proposalIndex: u32;2132 readonly amount: u128;2133 readonly beneficiary: AccountId32;2134 } & Struct;2135 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2136}21372138/** @name PalletTreasuryProposal */2139export interface PalletTreasuryProposal extends Struct {2140 readonly proposer: AccountId32;2141 readonly value: u128;2142 readonly beneficiary: AccountId32;2143 readonly bond: u128;2144}21452146/** @name PalletUniqueCall */2147export interface PalletUniqueCall extends Enum {2148 readonly isCreateCollection: boolean;2149 readonly asCreateCollection: {2150 readonly collectionName: Vec<u16>;2151 readonly collectionDescription: Vec<u16>;2152 readonly tokenPrefix: Bytes;2153 readonly mode: UpDataStructsCollectionMode;2154 } & Struct;2155 readonly isCreateCollectionEx: boolean;2156 readonly asCreateCollectionEx: {2157 readonly data: UpDataStructsCreateCollectionData;2158 } & Struct;2159 readonly isDestroyCollection: boolean;2160 readonly asDestroyCollection: {2161 readonly collectionId: u32;2162 } & Struct;2163 readonly isAddToAllowList: boolean;2164 readonly asAddToAllowList: {2165 readonly collectionId: u32;2166 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2167 } & Struct;2168 readonly isRemoveFromAllowList: boolean;2169 readonly asRemoveFromAllowList: {2170 readonly collectionId: u32;2171 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2172 } & Struct;2173 readonly isChangeCollectionOwner: boolean;2174 readonly asChangeCollectionOwner: {2175 readonly collectionId: u32;2176 readonly newOwner: AccountId32;2177 } & Struct;2178 readonly isAddCollectionAdmin: boolean;2179 readonly asAddCollectionAdmin: {2180 readonly collectionId: u32;2181 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2182 } & Struct;2183 readonly isRemoveCollectionAdmin: boolean;2184 readonly asRemoveCollectionAdmin: {2185 readonly collectionId: u32;2186 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2187 } & Struct;2188 readonly isSetCollectionSponsor: boolean;2189 readonly asSetCollectionSponsor: {2190 readonly collectionId: u32;2191 readonly newSponsor: AccountId32;2192 } & Struct;2193 readonly isConfirmSponsorship: boolean;2194 readonly asConfirmSponsorship: {2195 readonly collectionId: u32;2196 } & Struct;2197 readonly isRemoveCollectionSponsor: boolean;2198 readonly asRemoveCollectionSponsor: {2199 readonly collectionId: u32;2200 } & Struct;2201 readonly isCreateItem: boolean;2202 readonly asCreateItem: {2203 readonly collectionId: u32;2204 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2205 readonly data: UpDataStructsCreateItemData;2206 } & Struct;2207 readonly isCreateMultipleItems: boolean;2208 readonly asCreateMultipleItems: {2209 readonly collectionId: u32;2210 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2211 readonly itemsData: Vec<UpDataStructsCreateItemData>;2212 } & Struct;2213 readonly isSetCollectionProperties: boolean;2214 readonly asSetCollectionProperties: {2215 readonly collectionId: u32;2216 readonly properties: Vec<UpDataStructsProperty>;2217 } & Struct;2218 readonly isDeleteCollectionProperties: boolean;2219 readonly asDeleteCollectionProperties: {2220 readonly collectionId: u32;2221 readonly propertyKeys: Vec<Bytes>;2222 } & Struct;2223 readonly isSetTokenProperties: boolean;2224 readonly asSetTokenProperties: {2225 readonly collectionId: u32;2226 readonly tokenId: u32;2227 readonly properties: Vec<UpDataStructsProperty>;2228 } & Struct;2229 readonly isDeleteTokenProperties: boolean;2230 readonly asDeleteTokenProperties: {2231 readonly collectionId: u32;2232 readonly tokenId: u32;2233 readonly propertyKeys: Vec<Bytes>;2234 } & Struct;2235 readonly isSetTokenPropertyPermissions: boolean;2236 readonly asSetTokenPropertyPermissions: {2237 readonly collectionId: u32;2238 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2239 } & Struct;2240 readonly isCreateMultipleItemsEx: boolean;2241 readonly asCreateMultipleItemsEx: {2242 readonly collectionId: u32;2243 readonly data: UpDataStructsCreateItemExData;2244 } & Struct;2245 readonly isSetTransfersEnabledFlag: boolean;2246 readonly asSetTransfersEnabledFlag: {2247 readonly collectionId: u32;2248 readonly value: bool;2249 } & Struct;2250 readonly isBurnItem: boolean;2251 readonly asBurnItem: {2252 readonly collectionId: u32;2253 readonly itemId: u32;2254 readonly value: u128;2255 } & Struct;2256 readonly isBurnFrom: boolean;2257 readonly asBurnFrom: {2258 readonly collectionId: u32;2259 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2260 readonly itemId: u32;2261 readonly value: u128;2262 } & Struct;2263 readonly isTransfer: boolean;2264 readonly asTransfer: {2265 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2266 readonly collectionId: u32;2267 readonly itemId: u32;2268 readonly value: u128;2269 } & Struct;2270 readonly isApprove: boolean;2271 readonly asApprove: {2272 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2273 readonly collectionId: u32;2274 readonly itemId: u32;2275 readonly amount: u128;2276 } & Struct;2277 readonly isTransferFrom: boolean;2278 readonly asTransferFrom: {2279 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2280 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2281 readonly collectionId: u32;2282 readonly itemId: u32;2283 readonly value: u128;2284 } & Struct;2285 readonly isSetCollectionLimits: boolean;2286 readonly asSetCollectionLimits: {2287 readonly collectionId: u32;2288 readonly newLimit: UpDataStructsCollectionLimits;2289 } & Struct;2290 readonly isSetCollectionPermissions: boolean;2291 readonly asSetCollectionPermissions: {2292 readonly collectionId: u32;2293 readonly newPermission: UpDataStructsCollectionPermissions;2294 } & Struct;2295 readonly isRepartition: boolean;2296 readonly asRepartition: {2297 readonly collectionId: u32;2298 readonly tokenId: u32;2299 readonly amount: u128;2300 } & Struct;2301 readonly isSetAllowanceForAll: boolean;2302 readonly asSetAllowanceForAll: {2303 readonly collectionId: u32;2304 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2305 readonly approve: bool;2306 } & Struct;2307 readonly isForceRepairCollection: boolean;2308 readonly asForceRepairCollection: {2309 readonly collectionId: u32;2310 } & Struct;2311 readonly isForceRepairItem: boolean;2312 readonly asForceRepairItem: {2313 readonly collectionId: u32;2314 readonly itemId: u32;2315 } & Struct;2316 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2317}23182319/** @name PalletUniqueError */2320export interface PalletUniqueError extends Enum {2321 readonly isCollectionDecimalPointLimitExceeded: boolean;2322 readonly isEmptyArgument: boolean;2323 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2324 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2325}23262327/** @name PalletXcmCall */2328export interface PalletXcmCall extends Enum {2329 readonly isSend: boolean;2330 readonly asSend: {2331 readonly dest: XcmVersionedMultiLocation;2332 readonly message: XcmVersionedXcm;2333 } & Struct;2334 readonly isTeleportAssets: boolean;2335 readonly asTeleportAssets: {2336 readonly dest: XcmVersionedMultiLocation;2337 readonly beneficiary: XcmVersionedMultiLocation;2338 readonly assets: XcmVersionedMultiAssets;2339 readonly feeAssetItem: u32;2340 } & Struct;2341 readonly isReserveTransferAssets: boolean;2342 readonly asReserveTransferAssets: {2343 readonly dest: XcmVersionedMultiLocation;2344 readonly beneficiary: XcmVersionedMultiLocation;2345 readonly assets: XcmVersionedMultiAssets;2346 readonly feeAssetItem: u32;2347 } & Struct;2348 readonly isExecute: boolean;2349 readonly asExecute: {2350 readonly message: XcmVersionedXcm;2351 readonly maxWeight: u64;2352 } & Struct;2353 readonly isForceXcmVersion: boolean;2354 readonly asForceXcmVersion: {2355 readonly location: XcmV1MultiLocation;2356 readonly xcmVersion: u32;2357 } & Struct;2358 readonly isForceDefaultXcmVersion: boolean;2359 readonly asForceDefaultXcmVersion: {2360 readonly maybeXcmVersion: Option<u32>;2361 } & Struct;2362 readonly isForceSubscribeVersionNotify: boolean;2363 readonly asForceSubscribeVersionNotify: {2364 readonly location: XcmVersionedMultiLocation;2365 } & Struct;2366 readonly isForceUnsubscribeVersionNotify: boolean;2367 readonly asForceUnsubscribeVersionNotify: {2368 readonly location: XcmVersionedMultiLocation;2369 } & Struct;2370 readonly isLimitedReserveTransferAssets: boolean;2371 readonly asLimitedReserveTransferAssets: {2372 readonly dest: XcmVersionedMultiLocation;2373 readonly beneficiary: XcmVersionedMultiLocation;2374 readonly assets: XcmVersionedMultiAssets;2375 readonly feeAssetItem: u32;2376 readonly weightLimit: XcmV2WeightLimit;2377 } & Struct;2378 readonly isLimitedTeleportAssets: boolean;2379 readonly asLimitedTeleportAssets: {2380 readonly dest: XcmVersionedMultiLocation;2381 readonly beneficiary: XcmVersionedMultiLocation;2382 readonly assets: XcmVersionedMultiAssets;2383 readonly feeAssetItem: u32;2384 readonly weightLimit: XcmV2WeightLimit;2385 } & Struct;2386 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2387}23882389/** @name PalletXcmError */2390export interface PalletXcmError extends Enum {2391 readonly isUnreachable: boolean;2392 readonly isSendFailure: boolean;2393 readonly isFiltered: boolean;2394 readonly isUnweighableMessage: boolean;2395 readonly isDestinationNotInvertible: boolean;2396 readonly isEmpty: boolean;2397 readonly isCannotReanchor: boolean;2398 readonly isTooManyAssets: boolean;2399 readonly isInvalidOrigin: boolean;2400 readonly isBadVersion: boolean;2401 readonly isBadLocation: boolean;2402 readonly isNoSubscription: boolean;2403 readonly isAlreadySubscribed: boolean;2404 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2405}24062407/** @name PalletXcmEvent */2408export interface PalletXcmEvent extends Enum {2409 readonly isAttempted: boolean;2410 readonly asAttempted: XcmV2TraitsOutcome;2411 readonly isSent: boolean;2412 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2413 readonly isUnexpectedResponse: boolean;2414 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2415 readonly isResponseReady: boolean;2416 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2417 readonly isNotified: boolean;2418 readonly asNotified: ITuple<[u64, u8, u8]>;2419 readonly isNotifyOverweight: boolean;2420 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2421 readonly isNotifyDispatchError: boolean;2422 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2423 readonly isNotifyDecodeFailed: boolean;2424 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2425 readonly isInvalidResponder: boolean;2426 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2427 readonly isInvalidResponderVersion: boolean;2428 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2429 readonly isResponseTaken: boolean;2430 readonly asResponseTaken: u64;2431 readonly isAssetsTrapped: boolean;2432 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2433 readonly isVersionChangeNotified: boolean;2434 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2435 readonly isSupportedVersionChanged: boolean;2436 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2437 readonly isNotifyTargetSendFail: boolean;2438 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2439 readonly isNotifyTargetMigrationFail: boolean;2440 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2441 readonly isAssetsClaimed: boolean;2442 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2443 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2444}24452446/** @name PhantomTypeUpDataStructs */2447export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}24482449/** @name PolkadotCorePrimitivesInboundDownwardMessage */2450export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2451 readonly sentAt: u32;2452 readonly msg: Bytes;2453}24542455/** @name PolkadotCorePrimitivesInboundHrmpMessage */2456export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2457 readonly sentAt: u32;2458 readonly data: Bytes;2459}24602461/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2462export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2463 readonly recipient: u32;2464 readonly data: Bytes;2465}24662467/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2468export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2469 readonly isConcatenatedVersionedXcm: boolean;2470 readonly isConcatenatedEncodedBlob: boolean;2471 readonly isSignals: boolean;2472 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2473}24742475/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2476export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2477 readonly maxCodeSize: u32;2478 readonly maxHeadDataSize: u32;2479 readonly maxUpwardQueueCount: u32;2480 readonly maxUpwardQueueSize: u32;2481 readonly maxUpwardMessageSize: u32;2482 readonly maxUpwardMessageNumPerCandidate: u32;2483 readonly hrmpMaxMessageNumPerCandidate: u32;2484 readonly validationUpgradeCooldown: u32;2485 readonly validationUpgradeDelay: u32;2486}24872488/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2489export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2490 readonly maxCapacity: u32;2491 readonly maxTotalSize: u32;2492 readonly maxMessageSize: u32;2493 readonly msgCount: u32;2494 readonly totalSize: u32;2495 readonly mqcHead: Option<H256>;2496}24972498/** @name PolkadotPrimitivesV2PersistedValidationData */2499export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2500 readonly parentHead: Bytes;2501 readonly relayParentNumber: u32;2502 readonly relayParentStorageRoot: H256;2503 readonly maxPovSize: u32;2504}25052506/** @name PolkadotPrimitivesV2UpgradeRestriction */2507export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2508 readonly isPresent: boolean;2509 readonly type: 'Present';2510}25112512/** @name RmrkTraitsBaseBaseInfo */2513export interface RmrkTraitsBaseBaseInfo extends Struct {2514 readonly issuer: AccountId32;2515 readonly baseType: Bytes;2516 readonly symbol: Bytes;2517}25182519/** @name RmrkTraitsCollectionCollectionInfo */2520export interface RmrkTraitsCollectionCollectionInfo extends Struct {2521 readonly issuer: AccountId32;2522 readonly metadata: Bytes;2523 readonly max: Option<u32>;2524 readonly symbol: Bytes;2525 readonly nftsCount: u32;2526}25272528/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2529export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2530 readonly isAccountId: boolean;2531 readonly asAccountId: AccountId32;2532 readonly isCollectionAndNftTuple: boolean;2533 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2534 readonly type: 'AccountId' | 'CollectionAndNftTuple';2535}25362537/** @name RmrkTraitsNftNftChild */2538export interface RmrkTraitsNftNftChild extends Struct {2539 readonly collectionId: u32;2540 readonly nftId: u32;2541}25422543/** @name RmrkTraitsNftNftInfo */2544export interface RmrkTraitsNftNftInfo extends Struct {2545 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2546 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2547 readonly metadata: Bytes;2548 readonly equipped: bool;2549 readonly pending: bool;2550}25512552/** @name RmrkTraitsNftRoyaltyInfo */2553export interface RmrkTraitsNftRoyaltyInfo extends Struct {2554 readonly recipient: AccountId32;2555 readonly amount: Permill;2556}25572558/** @name RmrkTraitsPartEquippableList */2559export interface RmrkTraitsPartEquippableList extends Enum {2560 readonly isAll: boolean;2561 readonly isEmpty: boolean;2562 readonly isCustom: boolean;2563 readonly asCustom: Vec<u32>;2564 readonly type: 'All' | 'Empty' | 'Custom';2565}25662567/** @name RmrkTraitsPartFixedPart */2568export interface RmrkTraitsPartFixedPart extends Struct {2569 readonly id: u32;2570 readonly z: u32;2571 readonly src: Bytes;2572}25732574/** @name RmrkTraitsPartPartType */2575export interface RmrkTraitsPartPartType extends Enum {2576 readonly isFixedPart: boolean;2577 readonly asFixedPart: RmrkTraitsPartFixedPart;2578 readonly isSlotPart: boolean;2579 readonly asSlotPart: RmrkTraitsPartSlotPart;2580 readonly type: 'FixedPart' | 'SlotPart';2581}25822583/** @name RmrkTraitsPartSlotPart */2584export interface RmrkTraitsPartSlotPart extends Struct {2585 readonly id: u32;2586 readonly equippable: RmrkTraitsPartEquippableList;2587 readonly src: Bytes;2588 readonly z: u32;2589}25902591/** @name RmrkTraitsPropertyPropertyInfo */2592export interface RmrkTraitsPropertyPropertyInfo extends Struct {2593 readonly key: Bytes;2594 readonly value: Bytes;2595}25962597/** @name RmrkTraitsResourceBasicResource */2598export interface RmrkTraitsResourceBasicResource extends Struct {2599 readonly src: Option<Bytes>;2600 readonly metadata: Option<Bytes>;2601 readonly license: Option<Bytes>;2602 readonly thumb: Option<Bytes>;2603}26042605/** @name RmrkTraitsResourceComposableResource */2606export interface RmrkTraitsResourceComposableResource extends Struct {2607 readonly parts: Vec<u32>;2608 readonly base: u32;2609 readonly src: Option<Bytes>;2610 readonly metadata: Option<Bytes>;2611 readonly license: Option<Bytes>;2612 readonly thumb: Option<Bytes>;2613}26142615/** @name RmrkTraitsResourceResourceInfo */2616export interface RmrkTraitsResourceResourceInfo extends Struct {2617 readonly id: u32;2618 readonly resource: RmrkTraitsResourceResourceTypes;2619 readonly pending: bool;2620 readonly pendingRemoval: bool;2621}26222623/** @name RmrkTraitsResourceResourceTypes */2624export interface RmrkTraitsResourceResourceTypes extends Enum {2625 readonly isBasic: boolean;2626 readonly asBasic: RmrkTraitsResourceBasicResource;2627 readonly isComposable: boolean;2628 readonly asComposable: RmrkTraitsResourceComposableResource;2629 readonly isSlot: boolean;2630 readonly asSlot: RmrkTraitsResourceSlotResource;2631 readonly type: 'Basic' | 'Composable' | 'Slot';2632}26332634/** @name RmrkTraitsResourceSlotResource */2635export interface RmrkTraitsResourceSlotResource extends Struct {2636 readonly base: u32;2637 readonly src: Option<Bytes>;2638 readonly metadata: Option<Bytes>;2639 readonly slot: u32;2640 readonly license: Option<Bytes>;2641 readonly thumb: Option<Bytes>;2642}26432644/** @name RmrkTraitsTheme */2645export interface RmrkTraitsTheme extends Struct {2646 readonly name: Bytes;2647 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2648 readonly inherit: bool;2649}26502651/** @name RmrkTraitsThemeThemeProperty */2652export interface RmrkTraitsThemeThemeProperty extends Struct {2653 readonly key: Bytes;2654 readonly value: Bytes;2655}26562657/** @name SpCoreEcdsaSignature */2658export interface SpCoreEcdsaSignature extends U8aFixed {}26592660/** @name SpCoreEd25519Signature */2661export interface SpCoreEd25519Signature extends U8aFixed {}26622663/** @name SpCoreSr25519Signature */2664export interface SpCoreSr25519Signature extends U8aFixed {}26652666/** @name SpRuntimeArithmeticError */2667export interface SpRuntimeArithmeticError extends Enum {2668 readonly isUnderflow: boolean;2669 readonly isOverflow: boolean;2670 readonly isDivisionByZero: boolean;2671 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2672}26732674/** @name SpRuntimeDigest */2675export interface SpRuntimeDigest extends Struct {2676 readonly logs: Vec<SpRuntimeDigestDigestItem>;2677}26782679/** @name SpRuntimeDigestDigestItem */2680export interface SpRuntimeDigestDigestItem extends Enum {2681 readonly isOther: boolean;2682 readonly asOther: Bytes;2683 readonly isConsensus: boolean;2684 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2685 readonly isSeal: boolean;2686 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2687 readonly isPreRuntime: boolean;2688 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2689 readonly isRuntimeEnvironmentUpdated: boolean;2690 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2691}26922693/** @name SpRuntimeDispatchError */2694export interface SpRuntimeDispatchError extends Enum {2695 readonly isOther: boolean;2696 readonly isCannotLookup: boolean;2697 readonly isBadOrigin: boolean;2698 readonly isModule: boolean;2699 readonly asModule: SpRuntimeModuleError;2700 readonly isConsumerRemaining: boolean;2701 readonly isNoProviders: boolean;2702 readonly isTooManyConsumers: boolean;2703 readonly isToken: boolean;2704 readonly asToken: SpRuntimeTokenError;2705 readonly isArithmetic: boolean;2706 readonly asArithmetic: SpRuntimeArithmeticError;2707 readonly isTransactional: boolean;2708 readonly asTransactional: SpRuntimeTransactionalError;2709 readonly isExhausted: boolean;2710 readonly isCorruption: boolean;2711 readonly isUnavailable: boolean;2712 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2713}27142715/** @name SpRuntimeModuleError */2716export interface SpRuntimeModuleError extends Struct {2717 readonly index: u8;2718 readonly error: U8aFixed;2719}27202721/** @name SpRuntimeMultiSignature */2722export interface SpRuntimeMultiSignature extends Enum {2723 readonly isEd25519: boolean;2724 readonly asEd25519: SpCoreEd25519Signature;2725 readonly isSr25519: boolean;2726 readonly asSr25519: SpCoreSr25519Signature;2727 readonly isEcdsa: boolean;2728 readonly asEcdsa: SpCoreEcdsaSignature;2729 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2730}27312732/** @name SpRuntimeTokenError */2733export interface SpRuntimeTokenError extends Enum {2734 readonly isNoFunds: boolean;2735 readonly isWouldDie: boolean;2736 readonly isBelowMinimum: boolean;2737 readonly isCannotCreate: boolean;2738 readonly isUnknownAsset: boolean;2739 readonly isFrozen: boolean;2740 readonly isUnsupported: boolean;2741 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2742}27432744/** @name SpRuntimeTransactionalError */2745export interface SpRuntimeTransactionalError extends Enum {2746 readonly isLimitReached: boolean;2747 readonly isNoLayer: boolean;2748 readonly type: 'LimitReached' | 'NoLayer';2749}27502751/** @name SpTrieStorageProof */2752export interface SpTrieStorageProof extends Struct {2753 readonly trieNodes: BTreeSet<Bytes>;2754}27552756/** @name SpVersionRuntimeVersion */2757export interface SpVersionRuntimeVersion extends Struct {2758 readonly specName: Text;2759 readonly implName: Text;2760 readonly authoringVersion: u32;2761 readonly specVersion: u32;2762 readonly implVersion: u32;2763 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2764 readonly transactionVersion: u32;2765 readonly stateVersion: u8;2766}27672768/** @name SpWeightsRuntimeDbWeight */2769export interface SpWeightsRuntimeDbWeight extends Struct {2770 readonly read: u64;2771 readonly write: u64;2772}27732774/** @name SpWeightsWeightV2Weight */2775export interface SpWeightsWeightV2Weight extends Struct {2776 readonly refTime: Compact<u64>;2777 readonly proofSize: Compact<u64>;2778}27792780/** @name UpDataStructsAccessMode */2781export interface UpDataStructsAccessMode extends Enum {2782 readonly isNormal: boolean;2783 readonly isAllowList: boolean;2784 readonly type: 'Normal' | 'AllowList';2785}27862787/** @name UpDataStructsCollection */2788export interface UpDataStructsCollection extends Struct {2789 readonly owner: AccountId32;2790 readonly mode: UpDataStructsCollectionMode;2791 readonly name: Vec<u16>;2792 readonly description: Vec<u16>;2793 readonly tokenPrefix: Bytes;2794 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2795 readonly limits: UpDataStructsCollectionLimits;2796 readonly permissions: UpDataStructsCollectionPermissions;2797 readonly flags: U8aFixed;2798}27992800/** @name UpDataStructsCollectionLimits */2801export interface UpDataStructsCollectionLimits extends Struct {2802 readonly accountTokenOwnershipLimit: Option<u32>;2803 readonly sponsoredDataSize: Option<u32>;2804 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2805 readonly tokenLimit: Option<u32>;2806 readonly sponsorTransferTimeout: Option<u32>;2807 readonly sponsorApproveTimeout: Option<u32>;2808 readonly ownerCanTransfer: Option<bool>;2809 readonly ownerCanDestroy: Option<bool>;2810 readonly transfersEnabled: Option<bool>;2811}28122813/** @name UpDataStructsCollectionMode */2814export interface UpDataStructsCollectionMode extends Enum {2815 readonly isNft: boolean;2816 readonly isFungible: boolean;2817 readonly asFungible: u8;2818 readonly isReFungible: boolean;2819 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2820}28212822/** @name UpDataStructsCollectionPermissions */2823export interface UpDataStructsCollectionPermissions extends Struct {2824 readonly access: Option<UpDataStructsAccessMode>;2825 readonly mintMode: Option<bool>;2826 readonly nesting: Option<UpDataStructsNestingPermissions>;2827}28282829/** @name UpDataStructsCollectionStats */2830export interface UpDataStructsCollectionStats extends Struct {2831 readonly created: u32;2832 readonly destroyed: u32;2833 readonly alive: u32;2834}28352836/** @name UpDataStructsCreateCollectionData */2837export interface UpDataStructsCreateCollectionData extends Struct {2838 readonly mode: UpDataStructsCollectionMode;2839 readonly access: Option<UpDataStructsAccessMode>;2840 readonly name: Vec<u16>;2841 readonly description: Vec<u16>;2842 readonly tokenPrefix: Bytes;2843 readonly pendingSponsor: Option<AccountId32>;2844 readonly limits: Option<UpDataStructsCollectionLimits>;2845 readonly permissions: Option<UpDataStructsCollectionPermissions>;2846 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2847 readonly properties: Vec<UpDataStructsProperty>;2848}28492850/** @name UpDataStructsCreateFungibleData */2851export interface UpDataStructsCreateFungibleData extends Struct {2852 readonly value: u128;2853}28542855/** @name UpDataStructsCreateItemData */2856export interface UpDataStructsCreateItemData extends Enum {2857 readonly isNft: boolean;2858 readonly asNft: UpDataStructsCreateNftData;2859 readonly isFungible: boolean;2860 readonly asFungible: UpDataStructsCreateFungibleData;2861 readonly isReFungible: boolean;2862 readonly asReFungible: UpDataStructsCreateReFungibleData;2863 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2864}28652866/** @name UpDataStructsCreateItemExData */2867export interface UpDataStructsCreateItemExData extends Enum {2868 readonly isNft: boolean;2869 readonly asNft: Vec<UpDataStructsCreateNftExData>;2870 readonly isFungible: boolean;2871 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2872 readonly isRefungibleMultipleItems: boolean;2873 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2874 readonly isRefungibleMultipleOwners: boolean;2875 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2876 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2877}28782879/** @name UpDataStructsCreateNftData */2880export interface UpDataStructsCreateNftData extends Struct {2881 readonly properties: Vec<UpDataStructsProperty>;2882}28832884/** @name UpDataStructsCreateNftExData */2885export interface UpDataStructsCreateNftExData extends Struct {2886 readonly properties: Vec<UpDataStructsProperty>;2887 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2888}28892890/** @name UpDataStructsCreateReFungibleData */2891export interface UpDataStructsCreateReFungibleData extends Struct {2892 readonly pieces: u128;2893 readonly properties: Vec<UpDataStructsProperty>;2894}28952896/** @name UpDataStructsCreateRefungibleExMultipleOwners */2897export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2898 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2899 readonly properties: Vec<UpDataStructsProperty>;2900}29012902/** @name UpDataStructsCreateRefungibleExSingleOwner */2903export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2904 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2905 readonly pieces: u128;2906 readonly properties: Vec<UpDataStructsProperty>;2907}29082909/** @name UpDataStructsNestingPermissions */2910export interface UpDataStructsNestingPermissions extends Struct {2911 readonly tokenOwner: bool;2912 readonly collectionAdmin: bool;2913 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2914}29152916/** @name UpDataStructsOwnerRestrictedSet */2917export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29182919/** @name UpDataStructsProperties */2920export interface UpDataStructsProperties extends Struct {2921 readonly map: UpDataStructsPropertiesMapBoundedVec;2922 readonly consumedSpace: u32;2923 readonly spaceLimit: u32;2924}29252926/** @name UpDataStructsPropertiesMapBoundedVec */2927export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29282929/** @name UpDataStructsPropertiesMapPropertyPermission */2930export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29312932/** @name UpDataStructsProperty */2933export interface UpDataStructsProperty extends Struct {2934 readonly key: Bytes;2935 readonly value: Bytes;2936}29372938/** @name UpDataStructsPropertyKeyPermission */2939export interface UpDataStructsPropertyKeyPermission extends Struct {2940 readonly key: Bytes;2941 readonly permission: UpDataStructsPropertyPermission;2942}29432944/** @name UpDataStructsPropertyPermission */2945export interface UpDataStructsPropertyPermission extends Struct {2946 readonly mutable: bool;2947 readonly collectionAdmin: bool;2948 readonly tokenOwner: bool;2949}29502951/** @name UpDataStructsPropertyScope */2952export interface UpDataStructsPropertyScope extends Enum {2953 readonly isNone: boolean;2954 readonly isRmrk: boolean;2955 readonly type: 'None' | 'Rmrk';2956}29572958/** @name UpDataStructsRpcCollection */2959export interface UpDataStructsRpcCollection extends Struct {2960 readonly owner: AccountId32;2961 readonly mode: UpDataStructsCollectionMode;2962 readonly name: Vec<u16>;2963 readonly description: Vec<u16>;2964 readonly tokenPrefix: Bytes;2965 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2966 readonly limits: UpDataStructsCollectionLimits;2967 readonly permissions: UpDataStructsCollectionPermissions;2968 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2969 readonly properties: Vec<UpDataStructsProperty>;2970 readonly readOnly: bool;2971 readonly flags: UpDataStructsRpcCollectionFlags;2972}29732974/** @name UpDataStructsRpcCollectionFlags */2975export interface UpDataStructsRpcCollectionFlags extends Struct {2976 readonly foreign: bool;2977 readonly erc721metadata: bool;2978}29792980/** @name UpDataStructsSponsoringRateLimit */2981export interface UpDataStructsSponsoringRateLimit extends Enum {2982 readonly isSponsoringDisabled: boolean;2983 readonly isBlocks: boolean;2984 readonly asBlocks: u32;2985 readonly type: 'SponsoringDisabled' | 'Blocks';2986}29872988/** @name UpDataStructsSponsorshipStateAccountId32 */2989export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {2990 readonly isDisabled: boolean;2991 readonly isUnconfirmed: boolean;2992 readonly asUnconfirmed: AccountId32;2993 readonly isConfirmed: boolean;2994 readonly asConfirmed: AccountId32;2995 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2996}29972998/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */2999export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3000 readonly isDisabled: boolean;3001 readonly isUnconfirmed: boolean;3002 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3003 readonly isConfirmed: boolean;3004 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3005 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3006}30073008/** @name UpDataStructsTokenChild */3009export interface UpDataStructsTokenChild extends Struct {3010 readonly token: u32;3011 readonly collection: u32;3012}30133014/** @name UpDataStructsTokenData */3015export interface UpDataStructsTokenData extends Struct {3016 readonly properties: Vec<UpDataStructsProperty>;3017 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3018 readonly pieces: u128;3019}30203021/** @name XcmDoubleEncoded */3022export interface XcmDoubleEncoded extends Struct {3023 readonly encoded: Bytes;3024}30253026/** @name XcmV0Junction */3027export interface XcmV0Junction extends Enum {3028 readonly isParent: boolean;3029 readonly isParachain: boolean;3030 readonly asParachain: Compact<u32>;3031 readonly isAccountId32: boolean;3032 readonly asAccountId32: {3033 readonly network: XcmV0JunctionNetworkId;3034 readonly id: U8aFixed;3035 } & Struct;3036 readonly isAccountIndex64: boolean;3037 readonly asAccountIndex64: {3038 readonly network: XcmV0JunctionNetworkId;3039 readonly index: Compact<u64>;3040 } & Struct;3041 readonly isAccountKey20: boolean;3042 readonly asAccountKey20: {3043 readonly network: XcmV0JunctionNetworkId;3044 readonly key: U8aFixed;3045 } & Struct;3046 readonly isPalletInstance: boolean;3047 readonly asPalletInstance: u8;3048 readonly isGeneralIndex: boolean;3049 readonly asGeneralIndex: Compact<u128>;3050 readonly isGeneralKey: boolean;3051 readonly asGeneralKey: Bytes;3052 readonly isOnlyChild: boolean;3053 readonly isPlurality: boolean;3054 readonly asPlurality: {3055 readonly id: XcmV0JunctionBodyId;3056 readonly part: XcmV0JunctionBodyPart;3057 } & Struct;3058 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3059}30603061/** @name XcmV0JunctionBodyId */3062export interface XcmV0JunctionBodyId extends Enum {3063 readonly isUnit: boolean;3064 readonly isNamed: boolean;3065 readonly asNamed: Bytes;3066 readonly isIndex: boolean;3067 readonly asIndex: Compact<u32>;3068 readonly isExecutive: boolean;3069 readonly isTechnical: boolean;3070 readonly isLegislative: boolean;3071 readonly isJudicial: boolean;3072 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3073}30743075/** @name XcmV0JunctionBodyPart */3076export interface XcmV0JunctionBodyPart extends Enum {3077 readonly isVoice: boolean;3078 readonly isMembers: boolean;3079 readonly asMembers: {3080 readonly count: Compact<u32>;3081 } & Struct;3082 readonly isFraction: boolean;3083 readonly asFraction: {3084 readonly nom: Compact<u32>;3085 readonly denom: Compact<u32>;3086 } & Struct;3087 readonly isAtLeastProportion: boolean;3088 readonly asAtLeastProportion: {3089 readonly nom: Compact<u32>;3090 readonly denom: Compact<u32>;3091 } & Struct;3092 readonly isMoreThanProportion: boolean;3093 readonly asMoreThanProportion: {3094 readonly nom: Compact<u32>;3095 readonly denom: Compact<u32>;3096 } & Struct;3097 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3098}30993100/** @name XcmV0JunctionNetworkId */3101export interface XcmV0JunctionNetworkId extends Enum {3102 readonly isAny: boolean;3103 readonly isNamed: boolean;3104 readonly asNamed: Bytes;3105 readonly isPolkadot: boolean;3106 readonly isKusama: boolean;3107 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3108}31093110/** @name XcmV0MultiAsset */3111export interface XcmV0MultiAsset extends Enum {3112 readonly isNone: boolean;3113 readonly isAll: boolean;3114 readonly isAllFungible: boolean;3115 readonly isAllNonFungible: boolean;3116 readonly isAllAbstractFungible: boolean;3117 readonly asAllAbstractFungible: {3118 readonly id: Bytes;3119 } & Struct;3120 readonly isAllAbstractNonFungible: boolean;3121 readonly asAllAbstractNonFungible: {3122 readonly class: Bytes;3123 } & Struct;3124 readonly isAllConcreteFungible: boolean;3125 readonly asAllConcreteFungible: {3126 readonly id: XcmV0MultiLocation;3127 } & Struct;3128 readonly isAllConcreteNonFungible: boolean;3129 readonly asAllConcreteNonFungible: {3130 readonly class: XcmV0MultiLocation;3131 } & Struct;3132 readonly isAbstractFungible: boolean;3133 readonly asAbstractFungible: {3134 readonly id: Bytes;3135 readonly amount: Compact<u128>;3136 } & Struct;3137 readonly isAbstractNonFungible: boolean;3138 readonly asAbstractNonFungible: {3139 readonly class: Bytes;3140 readonly instance: XcmV1MultiassetAssetInstance;3141 } & Struct;3142 readonly isConcreteFungible: boolean;3143 readonly asConcreteFungible: {3144 readonly id: XcmV0MultiLocation;3145 readonly amount: Compact<u128>;3146 } & Struct;3147 readonly isConcreteNonFungible: boolean;3148 readonly asConcreteNonFungible: {3149 readonly class: XcmV0MultiLocation;3150 readonly instance: XcmV1MultiassetAssetInstance;3151 } & Struct;3152 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3153}31543155/** @name XcmV0MultiLocation */3156export interface XcmV0MultiLocation extends Enum {3157 readonly isNull: boolean;3158 readonly isX1: boolean;3159 readonly asX1: XcmV0Junction;3160 readonly isX2: boolean;3161 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3162 readonly isX3: boolean;3163 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3164 readonly isX4: boolean;3165 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3166 readonly isX5: boolean;3167 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3168 readonly isX6: boolean;3169 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3170 readonly isX7: boolean;3171 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3172 readonly isX8: boolean;3173 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3174 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3175}31763177/** @name XcmV0Order */3178export interface XcmV0Order extends Enum {3179 readonly isNull: boolean;3180 readonly isDepositAsset: boolean;3181 readonly asDepositAsset: {3182 readonly assets: Vec<XcmV0MultiAsset>;3183 readonly dest: XcmV0MultiLocation;3184 } & Struct;3185 readonly isDepositReserveAsset: boolean;3186 readonly asDepositReserveAsset: {3187 readonly assets: Vec<XcmV0MultiAsset>;3188 readonly dest: XcmV0MultiLocation;3189 readonly effects: Vec<XcmV0Order>;3190 } & Struct;3191 readonly isExchangeAsset: boolean;3192 readonly asExchangeAsset: {3193 readonly give: Vec<XcmV0MultiAsset>;3194 readonly receive: Vec<XcmV0MultiAsset>;3195 } & Struct;3196 readonly isInitiateReserveWithdraw: boolean;3197 readonly asInitiateReserveWithdraw: {3198 readonly assets: Vec<XcmV0MultiAsset>;3199 readonly reserve: XcmV0MultiLocation;3200 readonly effects: Vec<XcmV0Order>;3201 } & Struct;3202 readonly isInitiateTeleport: boolean;3203 readonly asInitiateTeleport: {3204 readonly assets: Vec<XcmV0MultiAsset>;3205 readonly dest: XcmV0MultiLocation;3206 readonly effects: Vec<XcmV0Order>;3207 } & Struct;3208 readonly isQueryHolding: boolean;3209 readonly asQueryHolding: {3210 readonly queryId: Compact<u64>;3211 readonly dest: XcmV0MultiLocation;3212 readonly assets: Vec<XcmV0MultiAsset>;3213 } & Struct;3214 readonly isBuyExecution: boolean;3215 readonly asBuyExecution: {3216 readonly fees: XcmV0MultiAsset;3217 readonly weight: u64;3218 readonly debt: u64;3219 readonly haltOnError: bool;3220 readonly xcm: Vec<XcmV0Xcm>;3221 } & Struct;3222 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3223}32243225/** @name XcmV0OriginKind */3226export interface XcmV0OriginKind extends Enum {3227 readonly isNative: boolean;3228 readonly isSovereignAccount: boolean;3229 readonly isSuperuser: boolean;3230 readonly isXcm: boolean;3231 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3232}32333234/** @name XcmV0Response */3235export interface XcmV0Response extends Enum {3236 readonly isAssets: boolean;3237 readonly asAssets: Vec<XcmV0MultiAsset>;3238 readonly type: 'Assets';3239}32403241/** @name XcmV0Xcm */3242export interface XcmV0Xcm extends Enum {3243 readonly isWithdrawAsset: boolean;3244 readonly asWithdrawAsset: {3245 readonly assets: Vec<XcmV0MultiAsset>;3246 readonly effects: Vec<XcmV0Order>;3247 } & Struct;3248 readonly isReserveAssetDeposit: boolean;3249 readonly asReserveAssetDeposit: {3250 readonly assets: Vec<XcmV0MultiAsset>;3251 readonly effects: Vec<XcmV0Order>;3252 } & Struct;3253 readonly isTeleportAsset: boolean;3254 readonly asTeleportAsset: {3255 readonly assets: Vec<XcmV0MultiAsset>;3256 readonly effects: Vec<XcmV0Order>;3257 } & Struct;3258 readonly isQueryResponse: boolean;3259 readonly asQueryResponse: {3260 readonly queryId: Compact<u64>;3261 readonly response: XcmV0Response;3262 } & Struct;3263 readonly isTransferAsset: boolean;3264 readonly asTransferAsset: {3265 readonly assets: Vec<XcmV0MultiAsset>;3266 readonly dest: XcmV0MultiLocation;3267 } & Struct;3268 readonly isTransferReserveAsset: boolean;3269 readonly asTransferReserveAsset: {3270 readonly assets: Vec<XcmV0MultiAsset>;3271 readonly dest: XcmV0MultiLocation;3272 readonly effects: Vec<XcmV0Order>;3273 } & Struct;3274 readonly isTransact: boolean;3275 readonly asTransact: {3276 readonly originType: XcmV0OriginKind;3277 readonly requireWeightAtMost: u64;3278 readonly call: XcmDoubleEncoded;3279 } & Struct;3280 readonly isHrmpNewChannelOpenRequest: boolean;3281 readonly asHrmpNewChannelOpenRequest: {3282 readonly sender: Compact<u32>;3283 readonly maxMessageSize: Compact<u32>;3284 readonly maxCapacity: Compact<u32>;3285 } & Struct;3286 readonly isHrmpChannelAccepted: boolean;3287 readonly asHrmpChannelAccepted: {3288 readonly recipient: Compact<u32>;3289 } & Struct;3290 readonly isHrmpChannelClosing: boolean;3291 readonly asHrmpChannelClosing: {3292 readonly initiator: Compact<u32>;3293 readonly sender: Compact<u32>;3294 readonly recipient: Compact<u32>;3295 } & Struct;3296 readonly isRelayedFrom: boolean;3297 readonly asRelayedFrom: {3298 readonly who: XcmV0MultiLocation;3299 readonly message: XcmV0Xcm;3300 } & Struct;3301 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3302}33033304/** @name XcmV1Junction */3305export interface XcmV1Junction extends Enum {3306 readonly isParachain: boolean;3307 readonly asParachain: Compact<u32>;3308 readonly isAccountId32: boolean;3309 readonly asAccountId32: {3310 readonly network: XcmV0JunctionNetworkId;3311 readonly id: U8aFixed;3312 } & Struct;3313 readonly isAccountIndex64: boolean;3314 readonly asAccountIndex64: {3315 readonly network: XcmV0JunctionNetworkId;3316 readonly index: Compact<u64>;3317 } & Struct;3318 readonly isAccountKey20: boolean;3319 readonly asAccountKey20: {3320 readonly network: XcmV0JunctionNetworkId;3321 readonly key: U8aFixed;3322 } & Struct;3323 readonly isPalletInstance: boolean;3324 readonly asPalletInstance: u8;3325 readonly isGeneralIndex: boolean;3326 readonly asGeneralIndex: Compact<u128>;3327 readonly isGeneralKey: boolean;3328 readonly asGeneralKey: Bytes;3329 readonly isOnlyChild: boolean;3330 readonly isPlurality: boolean;3331 readonly asPlurality: {3332 readonly id: XcmV0JunctionBodyId;3333 readonly part: XcmV0JunctionBodyPart;3334 } & Struct;3335 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3336}33373338/** @name XcmV1MultiAsset */3339export interface XcmV1MultiAsset extends Struct {3340 readonly id: XcmV1MultiassetAssetId;3341 readonly fun: XcmV1MultiassetFungibility;3342}33433344/** @name XcmV1MultiassetAssetId */3345export interface XcmV1MultiassetAssetId extends Enum {3346 readonly isConcrete: boolean;3347 readonly asConcrete: XcmV1MultiLocation;3348 readonly isAbstract: boolean;3349 readonly asAbstract: Bytes;3350 readonly type: 'Concrete' | 'Abstract';3351}33523353/** @name XcmV1MultiassetAssetInstance */3354export interface XcmV1MultiassetAssetInstance extends Enum {3355 readonly isUndefined: boolean;3356 readonly isIndex: boolean;3357 readonly asIndex: Compact<u128>;3358 readonly isArray4: boolean;3359 readonly asArray4: U8aFixed;3360 readonly isArray8: boolean;3361 readonly asArray8: U8aFixed;3362 readonly isArray16: boolean;3363 readonly asArray16: U8aFixed;3364 readonly isArray32: boolean;3365 readonly asArray32: U8aFixed;3366 readonly isBlob: boolean;3367 readonly asBlob: Bytes;3368 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3369}33703371/** @name XcmV1MultiassetFungibility */3372export interface XcmV1MultiassetFungibility extends Enum {3373 readonly isFungible: boolean;3374 readonly asFungible: Compact<u128>;3375 readonly isNonFungible: boolean;3376 readonly asNonFungible: XcmV1MultiassetAssetInstance;3377 readonly type: 'Fungible' | 'NonFungible';3378}33793380/** @name XcmV1MultiassetMultiAssetFilter */3381export interface XcmV1MultiassetMultiAssetFilter extends Enum {3382 readonly isDefinite: boolean;3383 readonly asDefinite: XcmV1MultiassetMultiAssets;3384 readonly isWild: boolean;3385 readonly asWild: XcmV1MultiassetWildMultiAsset;3386 readonly type: 'Definite' | 'Wild';3387}33883389/** @name XcmV1MultiassetMultiAssets */3390export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}33913392/** @name XcmV1MultiassetWildFungibility */3393export interface XcmV1MultiassetWildFungibility extends Enum {3394 readonly isFungible: boolean;3395 readonly isNonFungible: boolean;3396 readonly type: 'Fungible' | 'NonFungible';3397}33983399/** @name XcmV1MultiassetWildMultiAsset */3400export interface XcmV1MultiassetWildMultiAsset extends Enum {3401 readonly isAll: boolean;3402 readonly isAllOf: boolean;3403 readonly asAllOf: {3404 readonly id: XcmV1MultiassetAssetId;3405 readonly fun: XcmV1MultiassetWildFungibility;3406 } & Struct;3407 readonly type: 'All' | 'AllOf';3408}34093410/** @name XcmV1MultiLocation */3411export interface XcmV1MultiLocation extends Struct {3412 readonly parents: u8;3413 readonly interior: XcmV1MultilocationJunctions;3414}34153416/** @name XcmV1MultilocationJunctions */3417export interface XcmV1MultilocationJunctions extends Enum {3418 readonly isHere: boolean;3419 readonly isX1: boolean;3420 readonly asX1: XcmV1Junction;3421 readonly isX2: boolean;3422 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3423 readonly isX3: boolean;3424 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3425 readonly isX4: boolean;3426 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3427 readonly isX5: boolean;3428 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3429 readonly isX6: boolean;3430 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3431 readonly isX7: boolean;3432 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3433 readonly isX8: boolean;3434 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3435 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3436}34373438/** @name XcmV1Order */3439export interface XcmV1Order extends Enum {3440 readonly isNoop: boolean;3441 readonly isDepositAsset: boolean;3442 readonly asDepositAsset: {3443 readonly assets: XcmV1MultiassetMultiAssetFilter;3444 readonly maxAssets: u32;3445 readonly beneficiary: XcmV1MultiLocation;3446 } & Struct;3447 readonly isDepositReserveAsset: boolean;3448 readonly asDepositReserveAsset: {3449 readonly assets: XcmV1MultiassetMultiAssetFilter;3450 readonly maxAssets: u32;3451 readonly dest: XcmV1MultiLocation;3452 readonly effects: Vec<XcmV1Order>;3453 } & Struct;3454 readonly isExchangeAsset: boolean;3455 readonly asExchangeAsset: {3456 readonly give: XcmV1MultiassetMultiAssetFilter;3457 readonly receive: XcmV1MultiassetMultiAssets;3458 } & Struct;3459 readonly isInitiateReserveWithdraw: boolean;3460 readonly asInitiateReserveWithdraw: {3461 readonly assets: XcmV1MultiassetMultiAssetFilter;3462 readonly reserve: XcmV1MultiLocation;3463 readonly effects: Vec<XcmV1Order>;3464 } & Struct;3465 readonly isInitiateTeleport: boolean;3466 readonly asInitiateTeleport: {3467 readonly assets: XcmV1MultiassetMultiAssetFilter;3468 readonly dest: XcmV1MultiLocation;3469 readonly effects: Vec<XcmV1Order>;3470 } & Struct;3471 readonly isQueryHolding: boolean;3472 readonly asQueryHolding: {3473 readonly queryId: Compact<u64>;3474 readonly dest: XcmV1MultiLocation;3475 readonly assets: XcmV1MultiassetMultiAssetFilter;3476 } & Struct;3477 readonly isBuyExecution: boolean;3478 readonly asBuyExecution: {3479 readonly fees: XcmV1MultiAsset;3480 readonly weight: u64;3481 readonly debt: u64;3482 readonly haltOnError: bool;3483 readonly instructions: Vec<XcmV1Xcm>;3484 } & Struct;3485 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3486}34873488/** @name XcmV1Response */3489export interface XcmV1Response extends Enum {3490 readonly isAssets: boolean;3491 readonly asAssets: XcmV1MultiassetMultiAssets;3492 readonly isVersion: boolean;3493 readonly asVersion: u32;3494 readonly type: 'Assets' | 'Version';3495}34963497/** @name XcmV1Xcm */3498export interface XcmV1Xcm extends Enum {3499 readonly isWithdrawAsset: boolean;3500 readonly asWithdrawAsset: {3501 readonly assets: XcmV1MultiassetMultiAssets;3502 readonly effects: Vec<XcmV1Order>;3503 } & Struct;3504 readonly isReserveAssetDeposited: boolean;3505 readonly asReserveAssetDeposited: {3506 readonly assets: XcmV1MultiassetMultiAssets;3507 readonly effects: Vec<XcmV1Order>;3508 } & Struct;3509 readonly isReceiveTeleportedAsset: boolean;3510 readonly asReceiveTeleportedAsset: {3511 readonly assets: XcmV1MultiassetMultiAssets;3512 readonly effects: Vec<XcmV1Order>;3513 } & Struct;3514 readonly isQueryResponse: boolean;3515 readonly asQueryResponse: {3516 readonly queryId: Compact<u64>;3517 readonly response: XcmV1Response;3518 } & Struct;3519 readonly isTransferAsset: boolean;3520 readonly asTransferAsset: {3521 readonly assets: XcmV1MultiassetMultiAssets;3522 readonly beneficiary: XcmV1MultiLocation;3523 } & Struct;3524 readonly isTransferReserveAsset: boolean;3525 readonly asTransferReserveAsset: {3526 readonly assets: XcmV1MultiassetMultiAssets;3527 readonly dest: XcmV1MultiLocation;3528 readonly effects: Vec<XcmV1Order>;3529 } & Struct;3530 readonly isTransact: boolean;3531 readonly asTransact: {3532 readonly originType: XcmV0OriginKind;3533 readonly requireWeightAtMost: u64;3534 readonly call: XcmDoubleEncoded;3535 } & Struct;3536 readonly isHrmpNewChannelOpenRequest: boolean;3537 readonly asHrmpNewChannelOpenRequest: {3538 readonly sender: Compact<u32>;3539 readonly maxMessageSize: Compact<u32>;3540 readonly maxCapacity: Compact<u32>;3541 } & Struct;3542 readonly isHrmpChannelAccepted: boolean;3543 readonly asHrmpChannelAccepted: {3544 readonly recipient: Compact<u32>;3545 } & Struct;3546 readonly isHrmpChannelClosing: boolean;3547 readonly asHrmpChannelClosing: {3548 readonly initiator: Compact<u32>;3549 readonly sender: Compact<u32>;3550 readonly recipient: Compact<u32>;3551 } & Struct;3552 readonly isRelayedFrom: boolean;3553 readonly asRelayedFrom: {3554 readonly who: XcmV1MultilocationJunctions;3555 readonly message: XcmV1Xcm;3556 } & Struct;3557 readonly isSubscribeVersion: boolean;3558 readonly asSubscribeVersion: {3559 readonly queryId: Compact<u64>;3560 readonly maxResponseWeight: Compact<u64>;3561 } & Struct;3562 readonly isUnsubscribeVersion: boolean;3563 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3564}35653566/** @name XcmV2Instruction */3567export interface XcmV2Instruction extends Enum {3568 readonly isWithdrawAsset: boolean;3569 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3570 readonly isReserveAssetDeposited: boolean;3571 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3572 readonly isReceiveTeleportedAsset: boolean;3573 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3574 readonly isQueryResponse: boolean;3575 readonly asQueryResponse: {3576 readonly queryId: Compact<u64>;3577 readonly response: XcmV2Response;3578 readonly maxWeight: Compact<u64>;3579 } & Struct;3580 readonly isTransferAsset: boolean;3581 readonly asTransferAsset: {3582 readonly assets: XcmV1MultiassetMultiAssets;3583 readonly beneficiary: XcmV1MultiLocation;3584 } & Struct;3585 readonly isTransferReserveAsset: boolean;3586 readonly asTransferReserveAsset: {3587 readonly assets: XcmV1MultiassetMultiAssets;3588 readonly dest: XcmV1MultiLocation;3589 readonly xcm: XcmV2Xcm;3590 } & Struct;3591 readonly isTransact: boolean;3592 readonly asTransact: {3593 readonly originType: XcmV0OriginKind;3594 readonly requireWeightAtMost: Compact<u64>;3595 readonly call: XcmDoubleEncoded;3596 } & Struct;3597 readonly isHrmpNewChannelOpenRequest: boolean;3598 readonly asHrmpNewChannelOpenRequest: {3599 readonly sender: Compact<u32>;3600 readonly maxMessageSize: Compact<u32>;3601 readonly maxCapacity: Compact<u32>;3602 } & Struct;3603 readonly isHrmpChannelAccepted: boolean;3604 readonly asHrmpChannelAccepted: {3605 readonly recipient: Compact<u32>;3606 } & Struct;3607 readonly isHrmpChannelClosing: boolean;3608 readonly asHrmpChannelClosing: {3609 readonly initiator: Compact<u32>;3610 readonly sender: Compact<u32>;3611 readonly recipient: Compact<u32>;3612 } & Struct;3613 readonly isClearOrigin: boolean;3614 readonly isDescendOrigin: boolean;3615 readonly asDescendOrigin: XcmV1MultilocationJunctions;3616 readonly isReportError: boolean;3617 readonly asReportError: {3618 readonly queryId: Compact<u64>;3619 readonly dest: XcmV1MultiLocation;3620 readonly maxResponseWeight: Compact<u64>;3621 } & Struct;3622 readonly isDepositAsset: boolean;3623 readonly asDepositAsset: {3624 readonly assets: XcmV1MultiassetMultiAssetFilter;3625 readonly maxAssets: Compact<u32>;3626 readonly beneficiary: XcmV1MultiLocation;3627 } & Struct;3628 readonly isDepositReserveAsset: boolean;3629 readonly asDepositReserveAsset: {3630 readonly assets: XcmV1MultiassetMultiAssetFilter;3631 readonly maxAssets: Compact<u32>;3632 readonly dest: XcmV1MultiLocation;3633 readonly xcm: XcmV2Xcm;3634 } & Struct;3635 readonly isExchangeAsset: boolean;3636 readonly asExchangeAsset: {3637 readonly give: XcmV1MultiassetMultiAssetFilter;3638 readonly receive: XcmV1MultiassetMultiAssets;3639 } & Struct;3640 readonly isInitiateReserveWithdraw: boolean;3641 readonly asInitiateReserveWithdraw: {3642 readonly assets: XcmV1MultiassetMultiAssetFilter;3643 readonly reserve: XcmV1MultiLocation;3644 readonly xcm: XcmV2Xcm;3645 } & Struct;3646 readonly isInitiateTeleport: boolean;3647 readonly asInitiateTeleport: {3648 readonly assets: XcmV1MultiassetMultiAssetFilter;3649 readonly dest: XcmV1MultiLocation;3650 readonly xcm: XcmV2Xcm;3651 } & Struct;3652 readonly isQueryHolding: boolean;3653 readonly asQueryHolding: {3654 readonly queryId: Compact<u64>;3655 readonly dest: XcmV1MultiLocation;3656 readonly assets: XcmV1MultiassetMultiAssetFilter;3657 readonly maxResponseWeight: Compact<u64>;3658 } & Struct;3659 readonly isBuyExecution: boolean;3660 readonly asBuyExecution: {3661 readonly fees: XcmV1MultiAsset;3662 readonly weightLimit: XcmV2WeightLimit;3663 } & Struct;3664 readonly isRefundSurplus: boolean;3665 readonly isSetErrorHandler: boolean;3666 readonly asSetErrorHandler: XcmV2Xcm;3667 readonly isSetAppendix: boolean;3668 readonly asSetAppendix: XcmV2Xcm;3669 readonly isClearError: boolean;3670 readonly isClaimAsset: boolean;3671 readonly asClaimAsset: {3672 readonly assets: XcmV1MultiassetMultiAssets;3673 readonly ticket: XcmV1MultiLocation;3674 } & Struct;3675 readonly isTrap: boolean;3676 readonly asTrap: Compact<u64>;3677 readonly isSubscribeVersion: boolean;3678 readonly asSubscribeVersion: {3679 readonly queryId: Compact<u64>;3680 readonly maxResponseWeight: Compact<u64>;3681 } & Struct;3682 readonly isUnsubscribeVersion: boolean;3683 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';3684}36853686/** @name XcmV2Response */3687export interface XcmV2Response extends Enum {3688 readonly isNull: boolean;3689 readonly isAssets: boolean;3690 readonly asAssets: XcmV1MultiassetMultiAssets;3691 readonly isExecutionResult: boolean;3692 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3693 readonly isVersion: boolean;3694 readonly asVersion: u32;3695 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3696}36973698/** @name XcmV2TraitsError */3699export interface XcmV2TraitsError extends Enum {3700 readonly isOverflow: boolean;3701 readonly isUnimplemented: boolean;3702 readonly isUntrustedReserveLocation: boolean;3703 readonly isUntrustedTeleportLocation: boolean;3704 readonly isMultiLocationFull: boolean;3705 readonly isMultiLocationNotInvertible: boolean;3706 readonly isBadOrigin: boolean;3707 readonly isInvalidLocation: boolean;3708 readonly isAssetNotFound: boolean;3709 readonly isFailedToTransactAsset: boolean;3710 readonly isNotWithdrawable: boolean;3711 readonly isLocationCannotHold: boolean;3712 readonly isExceedsMaxMessageSize: boolean;3713 readonly isDestinationUnsupported: boolean;3714 readonly isTransport: boolean;3715 readonly isUnroutable: boolean;3716 readonly isUnknownClaim: boolean;3717 readonly isFailedToDecode: boolean;3718 readonly isMaxWeightInvalid: boolean;3719 readonly isNotHoldingFees: boolean;3720 readonly isTooExpensive: boolean;3721 readonly isTrap: boolean;3722 readonly asTrap: u64;3723 readonly isUnhandledXcmVersion: boolean;3724 readonly isWeightLimitReached: boolean;3725 readonly asWeightLimitReached: u64;3726 readonly isBarrier: boolean;3727 readonly isWeightNotComputable: boolean;3728 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';3729}37303731/** @name XcmV2TraitsOutcome */3732export interface XcmV2TraitsOutcome extends Enum {3733 readonly isComplete: boolean;3734 readonly asComplete: u64;3735 readonly isIncomplete: boolean;3736 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3737 readonly isError: boolean;3738 readonly asError: XcmV2TraitsError;3739 readonly type: 'Complete' | 'Incomplete' | 'Error';3740}37413742/** @name XcmV2WeightLimit */3743export interface XcmV2WeightLimit extends Enum {3744 readonly isUnlimited: boolean;3745 readonly isLimited: boolean;3746 readonly asLimited: Compact<u64>;3747 readonly type: 'Unlimited' | 'Limited';3748}37493750/** @name XcmV2Xcm */3751export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}37523753/** @name XcmVersionedMultiAsset */3754export interface XcmVersionedMultiAsset extends Enum {3755 readonly isV0: boolean;3756 readonly asV0: XcmV0MultiAsset;3757 readonly isV1: boolean;3758 readonly asV1: XcmV1MultiAsset;3759 readonly type: 'V0' | 'V1';3760}37613762/** @name XcmVersionedMultiAssets */3763export interface XcmVersionedMultiAssets extends Enum {3764 readonly isV0: boolean;3765 readonly asV0: Vec<XcmV0MultiAsset>;3766 readonly isV1: boolean;3767 readonly asV1: XcmV1MultiassetMultiAssets;3768 readonly type: 'V0' | 'V1';3769}37703771/** @name XcmVersionedMultiLocation */3772export interface XcmVersionedMultiLocation extends Enum {3773 readonly isV0: boolean;3774 readonly asV0: XcmV0MultiLocation;3775 readonly isV1: boolean;3776 readonly asV1: XcmV1MultiLocation;3777 readonly type: 'V0' | 'V1';3778}37793780/** @name XcmVersionedXcm */3781export interface XcmVersionedXcm extends Enum {3782 readonly isV0: boolean;3783 readonly asV0: XcmV0Xcm;3784 readonly isV1: boolean;3785 readonly asV1: XcmV1Xcm;3786 readonly isV2: boolean;3787 readonly asV2: XcmV2Xcm;3788 readonly type: 'V0' | 'V1' | 'V2';3789}37903791export type PHANTOM_DEFAULT = 'default';1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isRemark: boolean;561 readonly asRemark: {562 readonly remark: Bytes;563 } & Struct;564 readonly isSetHeapPages: boolean;565 readonly asSetHeapPages: {566 readonly pages: u64;567 } & Struct;568 readonly isSetCode: boolean;569 readonly asSetCode: {570 readonly code: Bytes;571 } & Struct;572 readonly isSetCodeWithoutChecks: boolean;573 readonly asSetCodeWithoutChecks: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetStorage: boolean;577 readonly asSetStorage: {578 readonly items: Vec<ITuple<[Bytes, Bytes]>>;579 } & Struct;580 readonly isKillStorage: boolean;581 readonly asKillStorage: {582 readonly keys_: Vec<Bytes>;583 } & Struct;584 readonly isKillPrefix: boolean;585 readonly asKillPrefix: {586 readonly prefix: Bytes;587 readonly subkeys: u32;588 } & Struct;589 readonly isRemarkWithEvent: boolean;590 readonly asRemarkWithEvent: {591 readonly remark: Bytes;592 } & Struct;593 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';594}595596/** @name FrameSystemError */597export interface FrameSystemError extends Enum {598 readonly isInvalidSpecName: boolean;599 readonly isSpecVersionNeedsToIncrease: boolean;600 readonly isFailedToExtractRuntimeVersion: boolean;601 readonly isNonDefaultComposite: boolean;602 readonly isNonZeroRefCount: boolean;603 readonly isCallFiltered: boolean;604 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';605}606607/** @name FrameSystemEvent */608export interface FrameSystemEvent extends Enum {609 readonly isExtrinsicSuccess: boolean;610 readonly asExtrinsicSuccess: {611 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;612 } & Struct;613 readonly isExtrinsicFailed: boolean;614 readonly asExtrinsicFailed: {615 readonly dispatchError: SpRuntimeDispatchError;616 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;617 } & Struct;618 readonly isCodeUpdated: boolean;619 readonly isNewAccount: boolean;620 readonly asNewAccount: {621 readonly account: AccountId32;622 } & Struct;623 readonly isKilledAccount: boolean;624 readonly asKilledAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isRemarked: boolean;628 readonly asRemarked: {629 readonly sender: AccountId32;630 readonly hash_: H256;631 } & Struct;632 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';633}634635/** @name FrameSystemEventRecord */636export interface FrameSystemEventRecord extends Struct {637 readonly phase: FrameSystemPhase;638 readonly event: Event;639 readonly topics: Vec<H256>;640}641642/** @name FrameSystemExtensionsCheckGenesis */643export interface FrameSystemExtensionsCheckGenesis extends Null {}644645/** @name FrameSystemExtensionsCheckNonce */646export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}647648/** @name FrameSystemExtensionsCheckSpecVersion */649export interface FrameSystemExtensionsCheckSpecVersion extends Null {}650651/** @name FrameSystemExtensionsCheckTxVersion */652export interface FrameSystemExtensionsCheckTxVersion extends Null {}653654/** @name FrameSystemExtensionsCheckWeight */655export interface FrameSystemExtensionsCheckWeight extends Null {}656657/** @name FrameSystemLastRuntimeUpgradeInfo */658export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {659 readonly specVersion: Compact<u32>;660 readonly specName: Text;661}662663/** @name FrameSystemLimitsBlockLength */664export interface FrameSystemLimitsBlockLength extends Struct {665 readonly max: FrameSupportDispatchPerDispatchClassU32;666}667668/** @name FrameSystemLimitsBlockWeights */669export interface FrameSystemLimitsBlockWeights extends Struct {670 readonly baseBlock: SpWeightsWeightV2Weight;671 readonly maxBlock: SpWeightsWeightV2Weight;672 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;673}674675/** @name FrameSystemLimitsWeightsPerClass */676export interface FrameSystemLimitsWeightsPerClass extends Struct {677 readonly baseExtrinsic: SpWeightsWeightV2Weight;678 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;679 readonly maxTotal: Option<SpWeightsWeightV2Weight>;680 readonly reserved: Option<SpWeightsWeightV2Weight>;681}682683/** @name FrameSystemPhase */684export interface FrameSystemPhase extends Enum {685 readonly isApplyExtrinsic: boolean;686 readonly asApplyExtrinsic: u32;687 readonly isFinalization: boolean;688 readonly isInitialization: boolean;689 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';690}691692/** @name OpalRuntimeRuntime */693export interface OpalRuntimeRuntime extends Null {}694695/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */696export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}697698/** @name OrmlTokensAccountData */699export interface OrmlTokensAccountData extends Struct {700 readonly free: u128;701 readonly reserved: u128;702 readonly frozen: u128;703}704705/** @name OrmlTokensBalanceLock */706export interface OrmlTokensBalanceLock extends Struct {707 readonly id: U8aFixed;708 readonly amount: u128;709}710711/** @name OrmlTokensModuleCall */712export interface OrmlTokensModuleCall extends Enum {713 readonly isTransfer: boolean;714 readonly asTransfer: {715 readonly dest: MultiAddress;716 readonly currencyId: PalletForeignAssetsAssetIds;717 readonly amount: Compact<u128>;718 } & Struct;719 readonly isTransferAll: boolean;720 readonly asTransferAll: {721 readonly dest: MultiAddress;722 readonly currencyId: PalletForeignAssetsAssetIds;723 readonly keepAlive: bool;724 } & Struct;725 readonly isTransferKeepAlive: boolean;726 readonly asTransferKeepAlive: {727 readonly dest: MultiAddress;728 readonly currencyId: PalletForeignAssetsAssetIds;729 readonly amount: Compact<u128>;730 } & Struct;731 readonly isForceTransfer: boolean;732 readonly asForceTransfer: {733 readonly source: MultiAddress;734 readonly dest: MultiAddress;735 readonly currencyId: PalletForeignAssetsAssetIds;736 readonly amount: Compact<u128>;737 } & Struct;738 readonly isSetBalance: boolean;739 readonly asSetBalance: {740 readonly who: MultiAddress;741 readonly currencyId: PalletForeignAssetsAssetIds;742 readonly newFree: Compact<u128>;743 readonly newReserved: Compact<u128>;744 } & Struct;745 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';746}747748/** @name OrmlTokensModuleError */749export interface OrmlTokensModuleError extends Enum {750 readonly isBalanceTooLow: boolean;751 readonly isAmountIntoBalanceFailed: boolean;752 readonly isLiquidityRestrictions: boolean;753 readonly isMaxLocksExceeded: boolean;754 readonly isKeepAlive: boolean;755 readonly isExistentialDeposit: boolean;756 readonly isDeadAccount: boolean;757 readonly isTooManyReserves: boolean;758 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';759}760761/** @name OrmlTokensModuleEvent */762export interface OrmlTokensModuleEvent extends Enum {763 readonly isEndowed: boolean;764 readonly asEndowed: {765 readonly currencyId: PalletForeignAssetsAssetIds;766 readonly who: AccountId32;767 readonly amount: u128;768 } & Struct;769 readonly isDustLost: boolean;770 readonly asDustLost: {771 readonly currencyId: PalletForeignAssetsAssetIds;772 readonly who: AccountId32;773 readonly amount: u128;774 } & Struct;775 readonly isTransfer: boolean;776 readonly asTransfer: {777 readonly currencyId: PalletForeignAssetsAssetIds;778 readonly from: AccountId32;779 readonly to: AccountId32;780 readonly amount: u128;781 } & Struct;782 readonly isReserved: boolean;783 readonly asReserved: {784 readonly currencyId: PalletForeignAssetsAssetIds;785 readonly who: AccountId32;786 readonly amount: u128;787 } & Struct;788 readonly isUnreserved: boolean;789 readonly asUnreserved: {790 readonly currencyId: PalletForeignAssetsAssetIds;791 readonly who: AccountId32;792 readonly amount: u128;793 } & Struct;794 readonly isReserveRepatriated: boolean;795 readonly asReserveRepatriated: {796 readonly currencyId: PalletForeignAssetsAssetIds;797 readonly from: AccountId32;798 readonly to: AccountId32;799 readonly amount: u128;800 readonly status: FrameSupportTokensMiscBalanceStatus;801 } & Struct;802 readonly isBalanceSet: boolean;803 readonly asBalanceSet: {804 readonly currencyId: PalletForeignAssetsAssetIds;805 readonly who: AccountId32;806 readonly free: u128;807 readonly reserved: u128;808 } & Struct;809 readonly isTotalIssuanceSet: boolean;810 readonly asTotalIssuanceSet: {811 readonly currencyId: PalletForeignAssetsAssetIds;812 readonly amount: u128;813 } & Struct;814 readonly isWithdrawn: boolean;815 readonly asWithdrawn: {816 readonly currencyId: PalletForeignAssetsAssetIds;817 readonly who: AccountId32;818 readonly amount: u128;819 } & Struct;820 readonly isSlashed: boolean;821 readonly asSlashed: {822 readonly currencyId: PalletForeignAssetsAssetIds;823 readonly who: AccountId32;824 readonly freeAmount: u128;825 readonly reservedAmount: u128;826 } & Struct;827 readonly isDeposited: boolean;828 readonly asDeposited: {829 readonly currencyId: PalletForeignAssetsAssetIds;830 readonly who: AccountId32;831 readonly amount: u128;832 } & Struct;833 readonly isLockSet: boolean;834 readonly asLockSet: {835 readonly lockId: U8aFixed;836 readonly currencyId: PalletForeignAssetsAssetIds;837 readonly who: AccountId32;838 readonly amount: u128;839 } & Struct;840 readonly isLockRemoved: boolean;841 readonly asLockRemoved: {842 readonly lockId: U8aFixed;843 readonly currencyId: PalletForeignAssetsAssetIds;844 readonly who: AccountId32;845 } & Struct;846 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';847}848849/** @name OrmlTokensReserveData */850export interface OrmlTokensReserveData extends Struct {851 readonly id: Null;852 readonly amount: u128;853}854855/** @name OrmlVestingModuleCall */856export interface OrmlVestingModuleCall extends Enum {857 readonly isClaim: boolean;858 readonly isVestedTransfer: boolean;859 readonly asVestedTransfer: {860 readonly dest: MultiAddress;861 readonly schedule: OrmlVestingVestingSchedule;862 } & Struct;863 readonly isUpdateVestingSchedules: boolean;864 readonly asUpdateVestingSchedules: {865 readonly who: MultiAddress;866 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;867 } & Struct;868 readonly isClaimFor: boolean;869 readonly asClaimFor: {870 readonly dest: MultiAddress;871 } & Struct;872 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';873}874875/** @name OrmlVestingModuleError */876export interface OrmlVestingModuleError extends Enum {877 readonly isZeroVestingPeriod: boolean;878 readonly isZeroVestingPeriodCount: boolean;879 readonly isInsufficientBalanceToLock: boolean;880 readonly isTooManyVestingSchedules: boolean;881 readonly isAmountLow: boolean;882 readonly isMaxVestingSchedulesExceeded: boolean;883 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';884}885886/** @name OrmlVestingModuleEvent */887export interface OrmlVestingModuleEvent extends Enum {888 readonly isVestingScheduleAdded: boolean;889 readonly asVestingScheduleAdded: {890 readonly from: AccountId32;891 readonly to: AccountId32;892 readonly vestingSchedule: OrmlVestingVestingSchedule;893 } & Struct;894 readonly isClaimed: boolean;895 readonly asClaimed: {896 readonly who: AccountId32;897 readonly amount: u128;898 } & Struct;899 readonly isVestingSchedulesUpdated: boolean;900 readonly asVestingSchedulesUpdated: {901 readonly who: AccountId32;902 } & Struct;903 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';904}905906/** @name OrmlVestingVestingSchedule */907export interface OrmlVestingVestingSchedule extends Struct {908 readonly start: u32;909 readonly period: u32;910 readonly periodCount: u32;911 readonly perPeriod: Compact<u128>;912}913914/** @name OrmlXtokensModuleCall */915export interface OrmlXtokensModuleCall extends Enum {916 readonly isTransfer: boolean;917 readonly asTransfer: {918 readonly currencyId: PalletForeignAssetsAssetIds;919 readonly amount: u128;920 readonly dest: XcmVersionedMultiLocation;921 readonly destWeightLimit: XcmV2WeightLimit;922 } & Struct;923 readonly isTransferMultiasset: boolean;924 readonly asTransferMultiasset: {925 readonly asset: XcmVersionedMultiAsset;926 readonly dest: XcmVersionedMultiLocation;927 readonly destWeightLimit: XcmV2WeightLimit;928 } & Struct;929 readonly isTransferWithFee: boolean;930 readonly asTransferWithFee: {931 readonly currencyId: PalletForeignAssetsAssetIds;932 readonly amount: u128;933 readonly fee: u128;934 readonly dest: XcmVersionedMultiLocation;935 readonly destWeightLimit: XcmV2WeightLimit;936 } & Struct;937 readonly isTransferMultiassetWithFee: boolean;938 readonly asTransferMultiassetWithFee: {939 readonly asset: XcmVersionedMultiAsset;940 readonly fee: XcmVersionedMultiAsset;941 readonly dest: XcmVersionedMultiLocation;942 readonly destWeightLimit: XcmV2WeightLimit;943 } & Struct;944 readonly isTransferMulticurrencies: boolean;945 readonly asTransferMulticurrencies: {946 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;947 readonly feeItem: u32;948 readonly dest: XcmVersionedMultiLocation;949 readonly destWeightLimit: XcmV2WeightLimit;950 } & Struct;951 readonly isTransferMultiassets: boolean;952 readonly asTransferMultiassets: {953 readonly assets: XcmVersionedMultiAssets;954 readonly feeItem: u32;955 readonly dest: XcmVersionedMultiLocation;956 readonly destWeightLimit: XcmV2WeightLimit;957 } & Struct;958 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';959}960961/** @name OrmlXtokensModuleError */962export interface OrmlXtokensModuleError extends Enum {963 readonly isAssetHasNoReserve: boolean;964 readonly isNotCrossChainTransfer: boolean;965 readonly isInvalidDest: boolean;966 readonly isNotCrossChainTransferableCurrency: boolean;967 readonly isUnweighableMessage: boolean;968 readonly isXcmExecutionFailed: boolean;969 readonly isCannotReanchor: boolean;970 readonly isInvalidAncestry: boolean;971 readonly isInvalidAsset: boolean;972 readonly isDestinationNotInvertible: boolean;973 readonly isBadVersion: boolean;974 readonly isDistinctReserveForAssetAndFee: boolean;975 readonly isZeroFee: boolean;976 readonly isZeroAmount: boolean;977 readonly isTooManyAssetsBeingSent: boolean;978 readonly isAssetIndexNonExistent: boolean;979 readonly isFeeNotEnough: boolean;980 readonly isNotSupportedMultiLocation: boolean;981 readonly isMinXcmFeeNotDefined: boolean;982 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';983}984985/** @name OrmlXtokensModuleEvent */986export interface OrmlXtokensModuleEvent extends Enum {987 readonly isTransferredMultiAssets: boolean;988 readonly asTransferredMultiAssets: {989 readonly sender: AccountId32;990 readonly assets: XcmV1MultiassetMultiAssets;991 readonly fee: XcmV1MultiAsset;992 readonly dest: XcmV1MultiLocation;993 } & Struct;994 readonly type: 'TransferredMultiAssets';995}996997/** @name PalletAppPromotionCall */998export interface PalletAppPromotionCall extends Enum {999 readonly isSetAdminAddress: boolean;1000 readonly asSetAdminAddress: {1001 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1002 } & Struct;1003 readonly isStake: boolean;1004 readonly asStake: {1005 readonly amount: u128;1006 } & Struct;1007 readonly isUnstake: boolean;1008 readonly isSponsorCollection: boolean;1009 readonly asSponsorCollection: {1010 readonly collectionId: u32;1011 } & Struct;1012 readonly isStopSponsoringCollection: boolean;1013 readonly asStopSponsoringCollection: {1014 readonly collectionId: u32;1015 } & Struct;1016 readonly isSponsorContract: boolean;1017 readonly asSponsorContract: {1018 readonly contractId: H160;1019 } & Struct;1020 readonly isStopSponsoringContract: boolean;1021 readonly asStopSponsoringContract: {1022 readonly contractId: H160;1023 } & Struct;1024 readonly isPayoutStakers: boolean;1025 readonly asPayoutStakers: {1026 readonly stakersNumber: Option<u8>;1027 } & Struct;1028 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1029}10301031/** @name PalletAppPromotionError */1032export interface PalletAppPromotionError extends Enum {1033 readonly isAdminNotSet: boolean;1034 readonly isNoPermission: boolean;1035 readonly isNotSufficientFunds: boolean;1036 readonly isPendingForBlockOverflow: boolean;1037 readonly isSponsorNotSet: boolean;1038 readonly isIncorrectLockedBalanceOperation: boolean;1039 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1040}10411042/** @name PalletAppPromotionEvent */1043export interface PalletAppPromotionEvent extends Enum {1044 readonly isStakingRecalculation: boolean;1045 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1046 readonly isStake: boolean;1047 readonly asStake: ITuple<[AccountId32, u128]>;1048 readonly isUnstake: boolean;1049 readonly asUnstake: ITuple<[AccountId32, u128]>;1050 readonly isSetAdmin: boolean;1051 readonly asSetAdmin: AccountId32;1052 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1053}10541055/** @name PalletBalancesAccountData */1056export interface PalletBalancesAccountData extends Struct {1057 readonly free: u128;1058 readonly reserved: u128;1059 readonly miscFrozen: u128;1060 readonly feeFrozen: u128;1061}10621063/** @name PalletBalancesBalanceLock */1064export interface PalletBalancesBalanceLock extends Struct {1065 readonly id: U8aFixed;1066 readonly amount: u128;1067 readonly reasons: PalletBalancesReasons;1068}10691070/** @name PalletBalancesCall */1071export interface PalletBalancesCall extends Enum {1072 readonly isTransfer: boolean;1073 readonly asTransfer: {1074 readonly dest: MultiAddress;1075 readonly value: Compact<u128>;1076 } & Struct;1077 readonly isSetBalance: boolean;1078 readonly asSetBalance: {1079 readonly who: MultiAddress;1080 readonly newFree: Compact<u128>;1081 readonly newReserved: Compact<u128>;1082 } & Struct;1083 readonly isForceTransfer: boolean;1084 readonly asForceTransfer: {1085 readonly source: MultiAddress;1086 readonly dest: MultiAddress;1087 readonly value: Compact<u128>;1088 } & Struct;1089 readonly isTransferKeepAlive: boolean;1090 readonly asTransferKeepAlive: {1091 readonly dest: MultiAddress;1092 readonly value: Compact<u128>;1093 } & Struct;1094 readonly isTransferAll: boolean;1095 readonly asTransferAll: {1096 readonly dest: MultiAddress;1097 readonly keepAlive: bool;1098 } & Struct;1099 readonly isForceUnreserve: boolean;1100 readonly asForceUnreserve: {1101 readonly who: MultiAddress;1102 readonly amount: u128;1103 } & Struct;1104 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1105}11061107/** @name PalletBalancesError */1108export interface PalletBalancesError extends Enum {1109 readonly isVestingBalance: boolean;1110 readonly isLiquidityRestrictions: boolean;1111 readonly isInsufficientBalance: boolean;1112 readonly isExistentialDeposit: boolean;1113 readonly isKeepAlive: boolean;1114 readonly isExistingVestingSchedule: boolean;1115 readonly isDeadAccount: boolean;1116 readonly isTooManyReserves: boolean;1117 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1118}11191120/** @name PalletBalancesEvent */1121export interface PalletBalancesEvent extends Enum {1122 readonly isEndowed: boolean;1123 readonly asEndowed: {1124 readonly account: AccountId32;1125 readonly freeBalance: u128;1126 } & Struct;1127 readonly isDustLost: boolean;1128 readonly asDustLost: {1129 readonly account: AccountId32;1130 readonly amount: u128;1131 } & Struct;1132 readonly isTransfer: boolean;1133 readonly asTransfer: {1134 readonly from: AccountId32;1135 readonly to: AccountId32;1136 readonly amount: u128;1137 } & Struct;1138 readonly isBalanceSet: boolean;1139 readonly asBalanceSet: {1140 readonly who: AccountId32;1141 readonly free: u128;1142 readonly reserved: u128;1143 } & Struct;1144 readonly isReserved: boolean;1145 readonly asReserved: {1146 readonly who: AccountId32;1147 readonly amount: u128;1148 } & Struct;1149 readonly isUnreserved: boolean;1150 readonly asUnreserved: {1151 readonly who: AccountId32;1152 readonly amount: u128;1153 } & Struct;1154 readonly isReserveRepatriated: boolean;1155 readonly asReserveRepatriated: {1156 readonly from: AccountId32;1157 readonly to: AccountId32;1158 readonly amount: u128;1159 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1160 } & Struct;1161 readonly isDeposit: boolean;1162 readonly asDeposit: {1163 readonly who: AccountId32;1164 readonly amount: u128;1165 } & Struct;1166 readonly isWithdraw: boolean;1167 readonly asWithdraw: {1168 readonly who: AccountId32;1169 readonly amount: u128;1170 } & Struct;1171 readonly isSlashed: boolean;1172 readonly asSlashed: {1173 readonly who: AccountId32;1174 readonly amount: u128;1175 } & Struct;1176 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1177}11781179/** @name PalletBalancesReasons */1180export interface PalletBalancesReasons extends Enum {1181 readonly isFee: boolean;1182 readonly isMisc: boolean;1183 readonly isAll: boolean;1184 readonly type: 'Fee' | 'Misc' | 'All';1185}11861187/** @name PalletBalancesReserveData */1188export interface PalletBalancesReserveData extends Struct {1189 readonly id: U8aFixed;1190 readonly amount: u128;1191}11921193/** @name PalletCommonError */1194export interface PalletCommonError extends Enum {1195 readonly isCollectionNotFound: boolean;1196 readonly isMustBeTokenOwner: boolean;1197 readonly isNoPermission: boolean;1198 readonly isCantDestroyNotEmptyCollection: boolean;1199 readonly isPublicMintingNotAllowed: boolean;1200 readonly isAddressNotInAllowlist: boolean;1201 readonly isCollectionNameLimitExceeded: boolean;1202 readonly isCollectionDescriptionLimitExceeded: boolean;1203 readonly isCollectionTokenPrefixLimitExceeded: boolean;1204 readonly isTotalCollectionsLimitExceeded: boolean;1205 readonly isCollectionAdminCountExceeded: boolean;1206 readonly isCollectionLimitBoundsExceeded: boolean;1207 readonly isOwnerPermissionsCantBeReverted: boolean;1208 readonly isTransferNotAllowed: boolean;1209 readonly isAccountTokenLimitExceeded: boolean;1210 readonly isCollectionTokenLimitExceeded: boolean;1211 readonly isMetadataFlagFrozen: boolean;1212 readonly isTokenNotFound: boolean;1213 readonly isTokenValueTooLow: boolean;1214 readonly isApprovedValueTooLow: boolean;1215 readonly isCantApproveMoreThanOwned: boolean;1216 readonly isAddressIsZero: boolean;1217 readonly isUnsupportedOperation: boolean;1218 readonly isNotSufficientFounds: boolean;1219 readonly isUserIsNotAllowedToNest: boolean;1220 readonly isSourceCollectionIsNotAllowedToNest: boolean;1221 readonly isCollectionFieldSizeExceeded: boolean;1222 readonly isNoSpaceForProperty: boolean;1223 readonly isPropertyLimitReached: boolean;1224 readonly isPropertyKeyIsTooLong: boolean;1225 readonly isInvalidCharacterInPropertyKey: boolean;1226 readonly isEmptyPropertyKey: boolean;1227 readonly isCollectionIsExternal: boolean;1228 readonly isCollectionIsInternal: boolean;1229 readonly isConfirmSponsorshipFail: boolean;1230 readonly isUserIsNotCollectionAdmin: boolean;1231 readonly type: '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' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';1232}12331234/** @name PalletCommonEvent */1235export interface PalletCommonEvent extends Enum {1236 readonly isCollectionCreated: boolean;1237 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1238 readonly isCollectionDestroyed: boolean;1239 readonly asCollectionDestroyed: u32;1240 readonly isItemCreated: boolean;1241 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1242 readonly isItemDestroyed: boolean;1243 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1244 readonly isTransfer: boolean;1245 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1246 readonly isApproved: boolean;1247 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1248 readonly isApprovedForAll: boolean;1249 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1250 readonly isCollectionPropertySet: boolean;1251 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1252 readonly isCollectionPropertyDeleted: boolean;1253 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1254 readonly isTokenPropertySet: boolean;1255 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1256 readonly isTokenPropertyDeleted: boolean;1257 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1258 readonly isPropertyPermissionSet: boolean;1259 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1260 readonly isAllowListAddressAdded: boolean;1261 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1262 readonly isAllowListAddressRemoved: boolean;1263 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1264 readonly isCollectionAdminAdded: boolean;1265 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1266 readonly isCollectionAdminRemoved: boolean;1267 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1268 readonly isCollectionLimitSet: boolean;1269 readonly asCollectionLimitSet: u32;1270 readonly isCollectionOwnerChanged: boolean;1271 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1272 readonly isCollectionPermissionSet: boolean;1273 readonly asCollectionPermissionSet: u32;1274 readonly isCollectionSponsorSet: boolean;1275 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1276 readonly isSponsorshipConfirmed: boolean;1277 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1278 readonly isCollectionSponsorRemoved: boolean;1279 readonly asCollectionSponsorRemoved: u32;1280 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1281}12821283/** @name PalletConfigurationAppPromotionConfiguration */1284export interface PalletConfigurationAppPromotionConfiguration extends Struct {1285 readonly recalculationInterval: Option<u32>;1286 readonly pendingInterval: Option<u32>;1287 readonly intervalIncome: Option<Perbill>;1288 readonly maxStakersPerCalculation: Option<u8>;1289}12901291/** @name PalletConfigurationCall */1292export interface PalletConfigurationCall extends Enum {1293 readonly isSetWeightToFeeCoefficientOverride: boolean;1294 readonly asSetWeightToFeeCoefficientOverride: {1295 readonly coeff: Option<u64>;1296 } & Struct;1297 readonly isSetMinGasPriceOverride: boolean;1298 readonly asSetMinGasPriceOverride: {1299 readonly coeff: Option<u64>;1300 } & Struct;1301 readonly isSetXcmAllowedLocations: boolean;1302 readonly asSetXcmAllowedLocations: {1303 readonly locations: Option<Vec<XcmV1MultiLocation>>;1304 } & Struct;1305 readonly isSetAppPromotionConfigurationOverride: boolean;1306 readonly asSetAppPromotionConfigurationOverride: {1307 readonly configuration: PalletConfigurationAppPromotionConfiguration;1308 } & Struct;1309 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1310}13111312/** @name PalletConfigurationError */1313export interface PalletConfigurationError extends Enum {1314 readonly isInconsistentConfiguration: boolean;1315 readonly type: 'InconsistentConfiguration';1316}13171318/** @name PalletEthereumCall */1319export interface PalletEthereumCall extends Enum {1320 readonly isTransact: boolean;1321 readonly asTransact: {1322 readonly transaction: EthereumTransactionTransactionV2;1323 } & Struct;1324 readonly type: 'Transact';1325}13261327/** @name PalletEthereumError */1328export interface PalletEthereumError extends Enum {1329 readonly isInvalidSignature: boolean;1330 readonly isPreLogExists: boolean;1331 readonly type: 'InvalidSignature' | 'PreLogExists';1332}13331334/** @name PalletEthereumEvent */1335export interface PalletEthereumEvent extends Enum {1336 readonly isExecuted: boolean;1337 readonly asExecuted: {1338 readonly from: H160;1339 readonly to: H160;1340 readonly transactionHash: H256;1341 readonly exitReason: EvmCoreErrorExitReason;1342 } & Struct;1343 readonly type: 'Executed';1344}13451346/** @name PalletEthereumFakeTransactionFinalizer */1347export interface PalletEthereumFakeTransactionFinalizer extends Null {}13481349/** @name PalletEvmAccountBasicCrossAccountIdRepr */1350export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1351 readonly isSubstrate: boolean;1352 readonly asSubstrate: AccountId32;1353 readonly isEthereum: boolean;1354 readonly asEthereum: H160;1355 readonly type: 'Substrate' | 'Ethereum';1356}13571358/** @name PalletEvmCall */1359export interface PalletEvmCall extends Enum {1360 readonly isWithdraw: boolean;1361 readonly asWithdraw: {1362 readonly address: H160;1363 readonly value: u128;1364 } & Struct;1365 readonly isCall: boolean;1366 readonly asCall: {1367 readonly source: H160;1368 readonly target: H160;1369 readonly input: Bytes;1370 readonly value: U256;1371 readonly gasLimit: u64;1372 readonly maxFeePerGas: U256;1373 readonly maxPriorityFeePerGas: Option<U256>;1374 readonly nonce: Option<U256>;1375 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1376 } & Struct;1377 readonly isCreate: boolean;1378 readonly asCreate: {1379 readonly source: H160;1380 readonly init: Bytes;1381 readonly value: U256;1382 readonly gasLimit: u64;1383 readonly maxFeePerGas: U256;1384 readonly maxPriorityFeePerGas: Option<U256>;1385 readonly nonce: Option<U256>;1386 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1387 } & Struct;1388 readonly isCreate2: boolean;1389 readonly asCreate2: {1390 readonly source: H160;1391 readonly init: Bytes;1392 readonly salt: H256;1393 readonly value: U256;1394 readonly gasLimit: u64;1395 readonly maxFeePerGas: U256;1396 readonly maxPriorityFeePerGas: Option<U256>;1397 readonly nonce: Option<U256>;1398 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1399 } & Struct;1400 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1401}14021403/** @name PalletEvmCoderSubstrateError */1404export interface PalletEvmCoderSubstrateError extends Enum {1405 readonly isOutOfGas: boolean;1406 readonly isOutOfFund: boolean;1407 readonly type: 'OutOfGas' | 'OutOfFund';1408}14091410/** @name PalletEvmContractHelpersError */1411export interface PalletEvmContractHelpersError extends Enum {1412 readonly isNoPermission: boolean;1413 readonly isNoPendingSponsor: boolean;1414 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1415 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1416}14171418/** @name PalletEvmContractHelpersEvent */1419export interface PalletEvmContractHelpersEvent extends Enum {1420 readonly isContractSponsorSet: boolean;1421 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1422 readonly isContractSponsorshipConfirmed: boolean;1423 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1424 readonly isContractSponsorRemoved: boolean;1425 readonly asContractSponsorRemoved: H160;1426 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1427}14281429/** @name PalletEvmContractHelpersSponsoringModeT */1430export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1431 readonly isDisabled: boolean;1432 readonly isAllowlisted: boolean;1433 readonly isGenerous: boolean;1434 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1435}14361437/** @name PalletEvmError */1438export interface PalletEvmError extends Enum {1439 readonly isBalanceLow: boolean;1440 readonly isFeeOverflow: boolean;1441 readonly isPaymentOverflow: boolean;1442 readonly isWithdrawFailed: boolean;1443 readonly isGasPriceTooLow: boolean;1444 readonly isInvalidNonce: boolean;1445 readonly isGasLimitTooLow: boolean;1446 readonly isGasLimitTooHigh: boolean;1447 readonly isUndefined: boolean;1448 readonly isReentrancy: boolean;1449 readonly isTransactionMustComeFromEOA: boolean;1450 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';1451}14521453/** @name PalletEvmEvent */1454export interface PalletEvmEvent extends Enum {1455 readonly isLog: boolean;1456 readonly asLog: {1457 readonly log: EthereumLog;1458 } & Struct;1459 readonly isCreated: boolean;1460 readonly asCreated: {1461 readonly address: H160;1462 } & Struct;1463 readonly isCreatedFailed: boolean;1464 readonly asCreatedFailed: {1465 readonly address: H160;1466 } & Struct;1467 readonly isExecuted: boolean;1468 readonly asExecuted: {1469 readonly address: H160;1470 } & Struct;1471 readonly isExecutedFailed: boolean;1472 readonly asExecutedFailed: {1473 readonly address: H160;1474 } & Struct;1475 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1476}14771478/** @name PalletEvmMigrationCall */1479export interface PalletEvmMigrationCall extends Enum {1480 readonly isBegin: boolean;1481 readonly asBegin: {1482 readonly address: H160;1483 } & Struct;1484 readonly isSetData: boolean;1485 readonly asSetData: {1486 readonly address: H160;1487 readonly data: Vec<ITuple<[H256, H256]>>;1488 } & Struct;1489 readonly isFinish: boolean;1490 readonly asFinish: {1491 readonly address: H160;1492 readonly code: Bytes;1493 } & Struct;1494 readonly isInsertEthLogs: boolean;1495 readonly asInsertEthLogs: {1496 readonly logs: Vec<EthereumLog>;1497 } & Struct;1498 readonly isInsertEvents: boolean;1499 readonly asInsertEvents: {1500 readonly events: Vec<Bytes>;1501 } & Struct;1502 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1503}15041505/** @name PalletEvmMigrationError */1506export interface PalletEvmMigrationError extends Enum {1507 readonly isAccountNotEmpty: boolean;1508 readonly isAccountIsNotMigrating: boolean;1509 readonly isBadEvent: boolean;1510 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1511}15121513/** @name PalletEvmMigrationEvent */1514export interface PalletEvmMigrationEvent extends Enum {1515 readonly isTestEvent: boolean;1516 readonly type: 'TestEvent';1517}15181519/** @name PalletForeignAssetsAssetIds */1520export interface PalletForeignAssetsAssetIds extends Enum {1521 readonly isForeignAssetId: boolean;1522 readonly asForeignAssetId: u32;1523 readonly isNativeAssetId: boolean;1524 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1525 readonly type: 'ForeignAssetId' | 'NativeAssetId';1526}15271528/** @name PalletForeignAssetsModuleAssetMetadata */1529export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1530 readonly name: Bytes;1531 readonly symbol: Bytes;1532 readonly decimals: u8;1533 readonly minimalBalance: u128;1534}15351536/** @name PalletForeignAssetsModuleCall */1537export interface PalletForeignAssetsModuleCall extends Enum {1538 readonly isRegisterForeignAsset: boolean;1539 readonly asRegisterForeignAsset: {1540 readonly owner: AccountId32;1541 readonly location: XcmVersionedMultiLocation;1542 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1543 } & Struct;1544 readonly isUpdateForeignAsset: boolean;1545 readonly asUpdateForeignAsset: {1546 readonly foreignAssetId: u32;1547 readonly location: XcmVersionedMultiLocation;1548 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1549 } & Struct;1550 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1551}15521553/** @name PalletForeignAssetsModuleError */1554export interface PalletForeignAssetsModuleError extends Enum {1555 readonly isBadLocation: boolean;1556 readonly isMultiLocationExisted: boolean;1557 readonly isAssetIdNotExists: boolean;1558 readonly isAssetIdExisted: boolean;1559 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1560}15611562/** @name PalletForeignAssetsModuleEvent */1563export interface PalletForeignAssetsModuleEvent extends Enum {1564 readonly isForeignAssetRegistered: boolean;1565 readonly asForeignAssetRegistered: {1566 readonly assetId: u32;1567 readonly assetAddress: XcmV1MultiLocation;1568 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1569 } & Struct;1570 readonly isForeignAssetUpdated: boolean;1571 readonly asForeignAssetUpdated: {1572 readonly assetId: u32;1573 readonly assetAddress: XcmV1MultiLocation;1574 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1575 } & Struct;1576 readonly isAssetRegistered: boolean;1577 readonly asAssetRegistered: {1578 readonly assetId: PalletForeignAssetsAssetIds;1579 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1580 } & Struct;1581 readonly isAssetUpdated: boolean;1582 readonly asAssetUpdated: {1583 readonly assetId: PalletForeignAssetsAssetIds;1584 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1585 } & Struct;1586 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1587}15881589/** @name PalletForeignAssetsNativeCurrency */1590export interface PalletForeignAssetsNativeCurrency extends Enum {1591 readonly isHere: boolean;1592 readonly isParent: boolean;1593 readonly type: 'Here' | 'Parent';1594}15951596/** @name PalletFungibleError */1597export interface PalletFungibleError extends Enum {1598 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1599 readonly isFungibleItemsHaveNoId: boolean;1600 readonly isFungibleItemsDontHaveData: boolean;1601 readonly isFungibleDisallowsNesting: boolean;1602 readonly isSettingPropertiesNotAllowed: boolean;1603 readonly isSettingAllowanceForAllNotAllowed: boolean;1604 readonly isFungibleTokensAreAlwaysValid: boolean;1605 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1606}16071608/** @name PalletInflationCall */1609export interface PalletInflationCall extends Enum {1610 readonly isStartInflation: boolean;1611 readonly asStartInflation: {1612 readonly inflationStartRelayBlock: u32;1613 } & Struct;1614 readonly type: 'StartInflation';1615}16161617/** @name PalletMaintenanceCall */1618export interface PalletMaintenanceCall extends Enum {1619 readonly isEnable: boolean;1620 readonly isDisable: boolean;1621 readonly type: 'Enable' | 'Disable';1622}16231624/** @name PalletMaintenanceError */1625export interface PalletMaintenanceError extends Null {}16261627/** @name PalletMaintenanceEvent */1628export interface PalletMaintenanceEvent extends Enum {1629 readonly isMaintenanceEnabled: boolean;1630 readonly isMaintenanceDisabled: boolean;1631 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1632}16331634/** @name PalletNonfungibleError */1635export interface PalletNonfungibleError extends Enum {1636 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1637 readonly isNonfungibleItemsHaveNoAmount: boolean;1638 readonly isCantBurnNftWithChildren: boolean;1639 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1640}16411642/** @name PalletNonfungibleItemData */1643export interface PalletNonfungibleItemData extends Struct {1644 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1645}16461647/** @name PalletRefungibleError */1648export interface PalletRefungibleError extends Enum {1649 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1650 readonly isWrongRefungiblePieces: boolean;1651 readonly isRepartitionWhileNotOwningAllPieces: boolean;1652 readonly isRefungibleDisallowsNesting: boolean;1653 readonly isSettingPropertiesNotAllowed: boolean;1654 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1655}16561657/** @name PalletRmrkCoreCall */1658export interface PalletRmrkCoreCall extends Enum {1659 readonly isCreateCollection: boolean;1660 readonly asCreateCollection: {1661 readonly metadata: Bytes;1662 readonly max: Option<u32>;1663 readonly symbol: Bytes;1664 } & Struct;1665 readonly isDestroyCollection: boolean;1666 readonly asDestroyCollection: {1667 readonly collectionId: u32;1668 } & Struct;1669 readonly isChangeCollectionIssuer: boolean;1670 readonly asChangeCollectionIssuer: {1671 readonly collectionId: u32;1672 readonly newIssuer: MultiAddress;1673 } & Struct;1674 readonly isLockCollection: boolean;1675 readonly asLockCollection: {1676 readonly collectionId: u32;1677 } & Struct;1678 readonly isMintNft: boolean;1679 readonly asMintNft: {1680 readonly owner: Option<AccountId32>;1681 readonly collectionId: u32;1682 readonly recipient: Option<AccountId32>;1683 readonly royaltyAmount: Option<Permill>;1684 readonly metadata: Bytes;1685 readonly transferable: bool;1686 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1687 } & Struct;1688 readonly isBurnNft: boolean;1689 readonly asBurnNft: {1690 readonly collectionId: u32;1691 readonly nftId: u32;1692 readonly maxBurns: u32;1693 } & Struct;1694 readonly isSend: boolean;1695 readonly asSend: {1696 readonly rmrkCollectionId: u32;1697 readonly rmrkNftId: u32;1698 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1699 } & Struct;1700 readonly isAcceptNft: boolean;1701 readonly asAcceptNft: {1702 readonly rmrkCollectionId: u32;1703 readonly rmrkNftId: u32;1704 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1705 } & Struct;1706 readonly isRejectNft: boolean;1707 readonly asRejectNft: {1708 readonly rmrkCollectionId: u32;1709 readonly rmrkNftId: u32;1710 } & Struct;1711 readonly isAcceptResource: boolean;1712 readonly asAcceptResource: {1713 readonly rmrkCollectionId: u32;1714 readonly rmrkNftId: u32;1715 readonly resourceId: u32;1716 } & Struct;1717 readonly isAcceptResourceRemoval: boolean;1718 readonly asAcceptResourceRemoval: {1719 readonly rmrkCollectionId: u32;1720 readonly rmrkNftId: u32;1721 readonly resourceId: u32;1722 } & Struct;1723 readonly isSetProperty: boolean;1724 readonly asSetProperty: {1725 readonly rmrkCollectionId: Compact<u32>;1726 readonly maybeNftId: Option<u32>;1727 readonly key: Bytes;1728 readonly value: Bytes;1729 } & Struct;1730 readonly isSetPriority: boolean;1731 readonly asSetPriority: {1732 readonly rmrkCollectionId: u32;1733 readonly rmrkNftId: u32;1734 readonly priorities: Vec<u32>;1735 } & Struct;1736 readonly isAddBasicResource: boolean;1737 readonly asAddBasicResource: {1738 readonly rmrkCollectionId: u32;1739 readonly nftId: u32;1740 readonly resource: RmrkTraitsResourceBasicResource;1741 } & Struct;1742 readonly isAddComposableResource: boolean;1743 readonly asAddComposableResource: {1744 readonly rmrkCollectionId: u32;1745 readonly nftId: u32;1746 readonly resource: RmrkTraitsResourceComposableResource;1747 } & Struct;1748 readonly isAddSlotResource: boolean;1749 readonly asAddSlotResource: {1750 readonly rmrkCollectionId: u32;1751 readonly nftId: u32;1752 readonly resource: RmrkTraitsResourceSlotResource;1753 } & Struct;1754 readonly isRemoveResource: boolean;1755 readonly asRemoveResource: {1756 readonly rmrkCollectionId: u32;1757 readonly nftId: u32;1758 readonly resourceId: u32;1759 } & Struct;1760 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1761}17621763/** @name PalletRmrkCoreError */1764export interface PalletRmrkCoreError extends Enum {1765 readonly isCorruptedCollectionType: boolean;1766 readonly isRmrkPropertyKeyIsTooLong: boolean;1767 readonly isRmrkPropertyValueIsTooLong: boolean;1768 readonly isRmrkPropertyIsNotFound: boolean;1769 readonly isUnableToDecodeRmrkData: boolean;1770 readonly isCollectionNotEmpty: boolean;1771 readonly isNoAvailableCollectionId: boolean;1772 readonly isNoAvailableNftId: boolean;1773 readonly isCollectionUnknown: boolean;1774 readonly isNoPermission: boolean;1775 readonly isNonTransferable: boolean;1776 readonly isCollectionFullOrLocked: boolean;1777 readonly isResourceDoesntExist: boolean;1778 readonly isCannotSendToDescendentOrSelf: boolean;1779 readonly isCannotAcceptNonOwnedNft: boolean;1780 readonly isCannotRejectNonOwnedNft: boolean;1781 readonly isCannotRejectNonPendingNft: boolean;1782 readonly isResourceNotPending: boolean;1783 readonly isNoAvailableResourceId: boolean;1784 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1785}17861787/** @name PalletRmrkCoreEvent */1788export interface PalletRmrkCoreEvent extends Enum {1789 readonly isCollectionCreated: boolean;1790 readonly asCollectionCreated: {1791 readonly issuer: AccountId32;1792 readonly collectionId: u32;1793 } & Struct;1794 readonly isCollectionDestroyed: boolean;1795 readonly asCollectionDestroyed: {1796 readonly issuer: AccountId32;1797 readonly collectionId: u32;1798 } & Struct;1799 readonly isIssuerChanged: boolean;1800 readonly asIssuerChanged: {1801 readonly oldIssuer: AccountId32;1802 readonly newIssuer: AccountId32;1803 readonly collectionId: u32;1804 } & Struct;1805 readonly isCollectionLocked: boolean;1806 readonly asCollectionLocked: {1807 readonly issuer: AccountId32;1808 readonly collectionId: u32;1809 } & Struct;1810 readonly isNftMinted: boolean;1811 readonly asNftMinted: {1812 readonly owner: AccountId32;1813 readonly collectionId: u32;1814 readonly nftId: u32;1815 } & Struct;1816 readonly isNftBurned: boolean;1817 readonly asNftBurned: {1818 readonly owner: AccountId32;1819 readonly nftId: u32;1820 } & Struct;1821 readonly isNftSent: boolean;1822 readonly asNftSent: {1823 readonly sender: AccountId32;1824 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1825 readonly collectionId: u32;1826 readonly nftId: u32;1827 readonly approvalRequired: bool;1828 } & Struct;1829 readonly isNftAccepted: boolean;1830 readonly asNftAccepted: {1831 readonly sender: AccountId32;1832 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1833 readonly collectionId: u32;1834 readonly nftId: u32;1835 } & Struct;1836 readonly isNftRejected: boolean;1837 readonly asNftRejected: {1838 readonly sender: AccountId32;1839 readonly collectionId: u32;1840 readonly nftId: u32;1841 } & Struct;1842 readonly isPropertySet: boolean;1843 readonly asPropertySet: {1844 readonly collectionId: u32;1845 readonly maybeNftId: Option<u32>;1846 readonly key: Bytes;1847 readonly value: Bytes;1848 } & Struct;1849 readonly isResourceAdded: boolean;1850 readonly asResourceAdded: {1851 readonly nftId: u32;1852 readonly resourceId: u32;1853 } & Struct;1854 readonly isResourceRemoval: boolean;1855 readonly asResourceRemoval: {1856 readonly nftId: u32;1857 readonly resourceId: u32;1858 } & Struct;1859 readonly isResourceAccepted: boolean;1860 readonly asResourceAccepted: {1861 readonly nftId: u32;1862 readonly resourceId: u32;1863 } & Struct;1864 readonly isResourceRemovalAccepted: boolean;1865 readonly asResourceRemovalAccepted: {1866 readonly nftId: u32;1867 readonly resourceId: u32;1868 } & Struct;1869 readonly isPrioritySet: boolean;1870 readonly asPrioritySet: {1871 readonly collectionId: u32;1872 readonly nftId: u32;1873 } & Struct;1874 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1875}18761877/** @name PalletRmrkEquipCall */1878export interface PalletRmrkEquipCall extends Enum {1879 readonly isCreateBase: boolean;1880 readonly asCreateBase: {1881 readonly baseType: Bytes;1882 readonly symbol: Bytes;1883 readonly parts: Vec<RmrkTraitsPartPartType>;1884 } & Struct;1885 readonly isThemeAdd: boolean;1886 readonly asThemeAdd: {1887 readonly baseId: u32;1888 readonly theme: RmrkTraitsTheme;1889 } & Struct;1890 readonly isEquippable: boolean;1891 readonly asEquippable: {1892 readonly baseId: u32;1893 readonly slotId: u32;1894 readonly equippables: RmrkTraitsPartEquippableList;1895 } & Struct;1896 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1897}18981899/** @name PalletRmrkEquipError */1900export interface PalletRmrkEquipError extends Enum {1901 readonly isPermissionError: boolean;1902 readonly isNoAvailableBaseId: boolean;1903 readonly isNoAvailablePartId: boolean;1904 readonly isBaseDoesntExist: boolean;1905 readonly isNeedsDefaultThemeFirst: boolean;1906 readonly isPartDoesntExist: boolean;1907 readonly isNoEquippableOnFixedPart: boolean;1908 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1909}19101911/** @name PalletRmrkEquipEvent */1912export interface PalletRmrkEquipEvent extends Enum {1913 readonly isBaseCreated: boolean;1914 readonly asBaseCreated: {1915 readonly issuer: AccountId32;1916 readonly baseId: u32;1917 } & Struct;1918 readonly isEquippablesUpdated: boolean;1919 readonly asEquippablesUpdated: {1920 readonly baseId: u32;1921 readonly slotId: u32;1922 } & Struct;1923 readonly type: 'BaseCreated' | 'EquippablesUpdated';1924}19251926/** @name PalletStructureCall */1927export interface PalletStructureCall extends Null {}19281929/** @name PalletStructureError */1930export interface PalletStructureError extends Enum {1931 readonly isOuroborosDetected: boolean;1932 readonly isDepthLimit: boolean;1933 readonly isBreadthLimit: boolean;1934 readonly isTokenNotFound: boolean;1935 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1936}19371938/** @name PalletStructureEvent */1939export interface PalletStructureEvent extends Enum {1940 readonly isExecuted: boolean;1941 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1942 readonly type: 'Executed';1943}19441945/** @name PalletSudoCall */1946export interface PalletSudoCall extends Enum {1947 readonly isSudo: boolean;1948 readonly asSudo: {1949 readonly call: Call;1950 } & Struct;1951 readonly isSudoUncheckedWeight: boolean;1952 readonly asSudoUncheckedWeight: {1953 readonly call: Call;1954 readonly weight: SpWeightsWeightV2Weight;1955 } & Struct;1956 readonly isSetKey: boolean;1957 readonly asSetKey: {1958 readonly new_: MultiAddress;1959 } & Struct;1960 readonly isSudoAs: boolean;1961 readonly asSudoAs: {1962 readonly who: MultiAddress;1963 readonly call: Call;1964 } & Struct;1965 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1966}19671968/** @name PalletSudoError */1969export interface PalletSudoError extends Enum {1970 readonly isRequireSudo: boolean;1971 readonly type: 'RequireSudo';1972}19731974/** @name PalletSudoEvent */1975export interface PalletSudoEvent extends Enum {1976 readonly isSudid: boolean;1977 readonly asSudid: {1978 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1979 } & Struct;1980 readonly isKeyChanged: boolean;1981 readonly asKeyChanged: {1982 readonly oldSudoer: Option<AccountId32>;1983 } & Struct;1984 readonly isSudoAsDone: boolean;1985 readonly asSudoAsDone: {1986 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1987 } & Struct;1988 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';1989}19901991/** @name PalletTemplateTransactionPaymentCall */1992export interface PalletTemplateTransactionPaymentCall extends Null {}19931994/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */1995export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}19961997/** @name PalletTestUtilsCall */1998export interface PalletTestUtilsCall extends Enum {1999 readonly isEnable: boolean;2000 readonly isSetTestValue: boolean;2001 readonly asSetTestValue: {2002 readonly value: u32;2003 } & Struct;2004 readonly isSetTestValueAndRollback: boolean;2005 readonly asSetTestValueAndRollback: {2006 readonly value: u32;2007 } & Struct;2008 readonly isIncTestValue: boolean;2009 readonly isJustTakeFee: boolean;2010 readonly isBatchAll: boolean;2011 readonly asBatchAll: {2012 readonly calls: Vec<Call>;2013 } & Struct;2014 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2015}20162017/** @name PalletTestUtilsError */2018export interface PalletTestUtilsError extends Enum {2019 readonly isTestPalletDisabled: boolean;2020 readonly isTriggerRollback: boolean;2021 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2022}20232024/** @name PalletTestUtilsEvent */2025export interface PalletTestUtilsEvent extends Enum {2026 readonly isValueIsSet: boolean;2027 readonly isShouldRollback: boolean;2028 readonly isBatchCompleted: boolean;2029 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2030}20312032/** @name PalletTimestampCall */2033export interface PalletTimestampCall extends Enum {2034 readonly isSet: boolean;2035 readonly asSet: {2036 readonly now: Compact<u64>;2037 } & Struct;2038 readonly type: 'Set';2039}20402041/** @name PalletTransactionPaymentEvent */2042export interface PalletTransactionPaymentEvent extends Enum {2043 readonly isTransactionFeePaid: boolean;2044 readonly asTransactionFeePaid: {2045 readonly who: AccountId32;2046 readonly actualFee: u128;2047 readonly tip: u128;2048 } & Struct;2049 readonly type: 'TransactionFeePaid';2050}20512052/** @name PalletTransactionPaymentReleases */2053export interface PalletTransactionPaymentReleases extends Enum {2054 readonly isV1Ancient: boolean;2055 readonly isV2: boolean;2056 readonly type: 'V1Ancient' | 'V2';2057}20582059/** @name PalletTreasuryCall */2060export interface PalletTreasuryCall extends Enum {2061 readonly isProposeSpend: boolean;2062 readonly asProposeSpend: {2063 readonly value: Compact<u128>;2064 readonly beneficiary: MultiAddress;2065 } & Struct;2066 readonly isRejectProposal: boolean;2067 readonly asRejectProposal: {2068 readonly proposalId: Compact<u32>;2069 } & Struct;2070 readonly isApproveProposal: boolean;2071 readonly asApproveProposal: {2072 readonly proposalId: Compact<u32>;2073 } & Struct;2074 readonly isSpend: boolean;2075 readonly asSpend: {2076 readonly amount: Compact<u128>;2077 readonly beneficiary: MultiAddress;2078 } & Struct;2079 readonly isRemoveApproval: boolean;2080 readonly asRemoveApproval: {2081 readonly proposalId: Compact<u32>;2082 } & Struct;2083 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2084}20852086/** @name PalletTreasuryError */2087export interface PalletTreasuryError extends Enum {2088 readonly isInsufficientProposersBalance: boolean;2089 readonly isInvalidIndex: boolean;2090 readonly isTooManyApprovals: boolean;2091 readonly isInsufficientPermission: boolean;2092 readonly isProposalNotApproved: boolean;2093 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2094}20952096/** @name PalletTreasuryEvent */2097export interface PalletTreasuryEvent extends Enum {2098 readonly isProposed: boolean;2099 readonly asProposed: {2100 readonly proposalIndex: u32;2101 } & Struct;2102 readonly isSpending: boolean;2103 readonly asSpending: {2104 readonly budgetRemaining: u128;2105 } & Struct;2106 readonly isAwarded: boolean;2107 readonly asAwarded: {2108 readonly proposalIndex: u32;2109 readonly award: u128;2110 readonly account: AccountId32;2111 } & Struct;2112 readonly isRejected: boolean;2113 readonly asRejected: {2114 readonly proposalIndex: u32;2115 readonly slashed: u128;2116 } & Struct;2117 readonly isBurnt: boolean;2118 readonly asBurnt: {2119 readonly burntFunds: u128;2120 } & Struct;2121 readonly isRollover: boolean;2122 readonly asRollover: {2123 readonly rolloverBalance: u128;2124 } & Struct;2125 readonly isDeposit: boolean;2126 readonly asDeposit: {2127 readonly value: u128;2128 } & Struct;2129 readonly isSpendApproved: boolean;2130 readonly asSpendApproved: {2131 readonly proposalIndex: u32;2132 readonly amount: u128;2133 readonly beneficiary: AccountId32;2134 } & Struct;2135 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2136}21372138/** @name PalletTreasuryProposal */2139export interface PalletTreasuryProposal extends Struct {2140 readonly proposer: AccountId32;2141 readonly value: u128;2142 readonly beneficiary: AccountId32;2143 readonly bond: u128;2144}21452146/** @name PalletUniqueCall */2147export interface PalletUniqueCall extends Enum {2148 readonly isCreateCollection: boolean;2149 readonly asCreateCollection: {2150 readonly collectionName: Vec<u16>;2151 readonly collectionDescription: Vec<u16>;2152 readonly tokenPrefix: Bytes;2153 readonly mode: UpDataStructsCollectionMode;2154 } & Struct;2155 readonly isCreateCollectionEx: boolean;2156 readonly asCreateCollectionEx: {2157 readonly data: UpDataStructsCreateCollectionData;2158 } & Struct;2159 readonly isDestroyCollection: boolean;2160 readonly asDestroyCollection: {2161 readonly collectionId: u32;2162 } & Struct;2163 readonly isAddToAllowList: boolean;2164 readonly asAddToAllowList: {2165 readonly collectionId: u32;2166 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2167 } & Struct;2168 readonly isRemoveFromAllowList: boolean;2169 readonly asRemoveFromAllowList: {2170 readonly collectionId: u32;2171 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2172 } & Struct;2173 readonly isChangeCollectionOwner: boolean;2174 readonly asChangeCollectionOwner: {2175 readonly collectionId: u32;2176 readonly newOwner: AccountId32;2177 } & Struct;2178 readonly isAddCollectionAdmin: boolean;2179 readonly asAddCollectionAdmin: {2180 readonly collectionId: u32;2181 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2182 } & Struct;2183 readonly isRemoveCollectionAdmin: boolean;2184 readonly asRemoveCollectionAdmin: {2185 readonly collectionId: u32;2186 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2187 } & Struct;2188 readonly isSetCollectionSponsor: boolean;2189 readonly asSetCollectionSponsor: {2190 readonly collectionId: u32;2191 readonly newSponsor: AccountId32;2192 } & Struct;2193 readonly isConfirmSponsorship: boolean;2194 readonly asConfirmSponsorship: {2195 readonly collectionId: u32;2196 } & Struct;2197 readonly isRemoveCollectionSponsor: boolean;2198 readonly asRemoveCollectionSponsor: {2199 readonly collectionId: u32;2200 } & Struct;2201 readonly isCreateItem: boolean;2202 readonly asCreateItem: {2203 readonly collectionId: u32;2204 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2205 readonly data: UpDataStructsCreateItemData;2206 } & Struct;2207 readonly isCreateMultipleItems: boolean;2208 readonly asCreateMultipleItems: {2209 readonly collectionId: u32;2210 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2211 readonly itemsData: Vec<UpDataStructsCreateItemData>;2212 } & Struct;2213 readonly isSetCollectionProperties: boolean;2214 readonly asSetCollectionProperties: {2215 readonly collectionId: u32;2216 readonly properties: Vec<UpDataStructsProperty>;2217 } & Struct;2218 readonly isDeleteCollectionProperties: boolean;2219 readonly asDeleteCollectionProperties: {2220 readonly collectionId: u32;2221 readonly propertyKeys: Vec<Bytes>;2222 } & Struct;2223 readonly isSetTokenProperties: boolean;2224 readonly asSetTokenProperties: {2225 readonly collectionId: u32;2226 readonly tokenId: u32;2227 readonly properties: Vec<UpDataStructsProperty>;2228 } & Struct;2229 readonly isDeleteTokenProperties: boolean;2230 readonly asDeleteTokenProperties: {2231 readonly collectionId: u32;2232 readonly tokenId: u32;2233 readonly propertyKeys: Vec<Bytes>;2234 } & Struct;2235 readonly isSetTokenPropertyPermissions: boolean;2236 readonly asSetTokenPropertyPermissions: {2237 readonly collectionId: u32;2238 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2239 } & Struct;2240 readonly isCreateMultipleItemsEx: boolean;2241 readonly asCreateMultipleItemsEx: {2242 readonly collectionId: u32;2243 readonly data: UpDataStructsCreateItemExData;2244 } & Struct;2245 readonly isSetTransfersEnabledFlag: boolean;2246 readonly asSetTransfersEnabledFlag: {2247 readonly collectionId: u32;2248 readonly value: bool;2249 } & Struct;2250 readonly isBurnItem: boolean;2251 readonly asBurnItem: {2252 readonly collectionId: u32;2253 readonly itemId: u32;2254 readonly value: u128;2255 } & Struct;2256 readonly isBurnFrom: boolean;2257 readonly asBurnFrom: {2258 readonly collectionId: u32;2259 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2260 readonly itemId: u32;2261 readonly value: u128;2262 } & Struct;2263 readonly isTransfer: boolean;2264 readonly asTransfer: {2265 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2266 readonly collectionId: u32;2267 readonly itemId: u32;2268 readonly value: u128;2269 } & Struct;2270 readonly isApprove: boolean;2271 readonly asApprove: {2272 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2273 readonly collectionId: u32;2274 readonly itemId: u32;2275 readonly amount: u128;2276 } & Struct;2277 readonly isTransferFrom: boolean;2278 readonly asTransferFrom: {2279 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2280 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2281 readonly collectionId: u32;2282 readonly itemId: u32;2283 readonly value: u128;2284 } & Struct;2285 readonly isSetCollectionLimits: boolean;2286 readonly asSetCollectionLimits: {2287 readonly collectionId: u32;2288 readonly newLimit: UpDataStructsCollectionLimits;2289 } & Struct;2290 readonly isSetCollectionPermissions: boolean;2291 readonly asSetCollectionPermissions: {2292 readonly collectionId: u32;2293 readonly newPermission: UpDataStructsCollectionPermissions;2294 } & Struct;2295 readonly isRepartition: boolean;2296 readonly asRepartition: {2297 readonly collectionId: u32;2298 readonly tokenId: u32;2299 readonly amount: u128;2300 } & Struct;2301 readonly isSetAllowanceForAll: boolean;2302 readonly asSetAllowanceForAll: {2303 readonly collectionId: u32;2304 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2305 readonly approve: bool;2306 } & Struct;2307 readonly isForceRepairCollection: boolean;2308 readonly asForceRepairCollection: {2309 readonly collectionId: u32;2310 } & Struct;2311 readonly isForceRepairItem: boolean;2312 readonly asForceRepairItem: {2313 readonly collectionId: u32;2314 readonly itemId: u32;2315 } & Struct;2316 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2317}23182319/** @name PalletUniqueError */2320export interface PalletUniqueError extends Enum {2321 readonly isCollectionDecimalPointLimitExceeded: boolean;2322 readonly isEmptyArgument: boolean;2323 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2324 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2325}23262327/** @name PalletXcmCall */2328export interface PalletXcmCall extends Enum {2329 readonly isSend: boolean;2330 readonly asSend: {2331 readonly dest: XcmVersionedMultiLocation;2332 readonly message: XcmVersionedXcm;2333 } & Struct;2334 readonly isTeleportAssets: boolean;2335 readonly asTeleportAssets: {2336 readonly dest: XcmVersionedMultiLocation;2337 readonly beneficiary: XcmVersionedMultiLocation;2338 readonly assets: XcmVersionedMultiAssets;2339 readonly feeAssetItem: u32;2340 } & Struct;2341 readonly isReserveTransferAssets: boolean;2342 readonly asReserveTransferAssets: {2343 readonly dest: XcmVersionedMultiLocation;2344 readonly beneficiary: XcmVersionedMultiLocation;2345 readonly assets: XcmVersionedMultiAssets;2346 readonly feeAssetItem: u32;2347 } & Struct;2348 readonly isExecute: boolean;2349 readonly asExecute: {2350 readonly message: XcmVersionedXcm;2351 readonly maxWeight: u64;2352 } & Struct;2353 readonly isForceXcmVersion: boolean;2354 readonly asForceXcmVersion: {2355 readonly location: XcmV1MultiLocation;2356 readonly xcmVersion: u32;2357 } & Struct;2358 readonly isForceDefaultXcmVersion: boolean;2359 readonly asForceDefaultXcmVersion: {2360 readonly maybeXcmVersion: Option<u32>;2361 } & Struct;2362 readonly isForceSubscribeVersionNotify: boolean;2363 readonly asForceSubscribeVersionNotify: {2364 readonly location: XcmVersionedMultiLocation;2365 } & Struct;2366 readonly isForceUnsubscribeVersionNotify: boolean;2367 readonly asForceUnsubscribeVersionNotify: {2368 readonly location: XcmVersionedMultiLocation;2369 } & Struct;2370 readonly isLimitedReserveTransferAssets: boolean;2371 readonly asLimitedReserveTransferAssets: {2372 readonly dest: XcmVersionedMultiLocation;2373 readonly beneficiary: XcmVersionedMultiLocation;2374 readonly assets: XcmVersionedMultiAssets;2375 readonly feeAssetItem: u32;2376 readonly weightLimit: XcmV2WeightLimit;2377 } & Struct;2378 readonly isLimitedTeleportAssets: boolean;2379 readonly asLimitedTeleportAssets: {2380 readonly dest: XcmVersionedMultiLocation;2381 readonly beneficiary: XcmVersionedMultiLocation;2382 readonly assets: XcmVersionedMultiAssets;2383 readonly feeAssetItem: u32;2384 readonly weightLimit: XcmV2WeightLimit;2385 } & Struct;2386 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2387}23882389/** @name PalletXcmError */2390export interface PalletXcmError extends Enum {2391 readonly isUnreachable: boolean;2392 readonly isSendFailure: boolean;2393 readonly isFiltered: boolean;2394 readonly isUnweighableMessage: boolean;2395 readonly isDestinationNotInvertible: boolean;2396 readonly isEmpty: boolean;2397 readonly isCannotReanchor: boolean;2398 readonly isTooManyAssets: boolean;2399 readonly isInvalidOrigin: boolean;2400 readonly isBadVersion: boolean;2401 readonly isBadLocation: boolean;2402 readonly isNoSubscription: boolean;2403 readonly isAlreadySubscribed: boolean;2404 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2405}24062407/** @name PalletXcmEvent */2408export interface PalletXcmEvent extends Enum {2409 readonly isAttempted: boolean;2410 readonly asAttempted: XcmV2TraitsOutcome;2411 readonly isSent: boolean;2412 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2413 readonly isUnexpectedResponse: boolean;2414 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2415 readonly isResponseReady: boolean;2416 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2417 readonly isNotified: boolean;2418 readonly asNotified: ITuple<[u64, u8, u8]>;2419 readonly isNotifyOverweight: boolean;2420 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2421 readonly isNotifyDispatchError: boolean;2422 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2423 readonly isNotifyDecodeFailed: boolean;2424 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2425 readonly isInvalidResponder: boolean;2426 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2427 readonly isInvalidResponderVersion: boolean;2428 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2429 readonly isResponseTaken: boolean;2430 readonly asResponseTaken: u64;2431 readonly isAssetsTrapped: boolean;2432 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2433 readonly isVersionChangeNotified: boolean;2434 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2435 readonly isSupportedVersionChanged: boolean;2436 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2437 readonly isNotifyTargetSendFail: boolean;2438 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2439 readonly isNotifyTargetMigrationFail: boolean;2440 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2441 readonly isAssetsClaimed: boolean;2442 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2443 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2444}24452446/** @name PhantomTypeUpDataStructs */2447export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}24482449/** @name PolkadotCorePrimitivesInboundDownwardMessage */2450export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2451 readonly sentAt: u32;2452 readonly msg: Bytes;2453}24542455/** @name PolkadotCorePrimitivesInboundHrmpMessage */2456export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2457 readonly sentAt: u32;2458 readonly data: Bytes;2459}24602461/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2462export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2463 readonly recipient: u32;2464 readonly data: Bytes;2465}24662467/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2468export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2469 readonly isConcatenatedVersionedXcm: boolean;2470 readonly isConcatenatedEncodedBlob: boolean;2471 readonly isSignals: boolean;2472 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2473}24742475/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2476export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2477 readonly maxCodeSize: u32;2478 readonly maxHeadDataSize: u32;2479 readonly maxUpwardQueueCount: u32;2480 readonly maxUpwardQueueSize: u32;2481 readonly maxUpwardMessageSize: u32;2482 readonly maxUpwardMessageNumPerCandidate: u32;2483 readonly hrmpMaxMessageNumPerCandidate: u32;2484 readonly validationUpgradeCooldown: u32;2485 readonly validationUpgradeDelay: u32;2486}24872488/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2489export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2490 readonly maxCapacity: u32;2491 readonly maxTotalSize: u32;2492 readonly maxMessageSize: u32;2493 readonly msgCount: u32;2494 readonly totalSize: u32;2495 readonly mqcHead: Option<H256>;2496}24972498/** @name PolkadotPrimitivesV2PersistedValidationData */2499export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2500 readonly parentHead: Bytes;2501 readonly relayParentNumber: u32;2502 readonly relayParentStorageRoot: H256;2503 readonly maxPovSize: u32;2504}25052506/** @name PolkadotPrimitivesV2UpgradeRestriction */2507export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2508 readonly isPresent: boolean;2509 readonly type: 'Present';2510}25112512/** @name RmrkTraitsBaseBaseInfo */2513export interface RmrkTraitsBaseBaseInfo extends Struct {2514 readonly issuer: AccountId32;2515 readonly baseType: Bytes;2516 readonly symbol: Bytes;2517}25182519/** @name RmrkTraitsCollectionCollectionInfo */2520export interface RmrkTraitsCollectionCollectionInfo extends Struct {2521 readonly issuer: AccountId32;2522 readonly metadata: Bytes;2523 readonly max: Option<u32>;2524 readonly symbol: Bytes;2525 readonly nftsCount: u32;2526}25272528/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2529export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2530 readonly isAccountId: boolean;2531 readonly asAccountId: AccountId32;2532 readonly isCollectionAndNftTuple: boolean;2533 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2534 readonly type: 'AccountId' | 'CollectionAndNftTuple';2535}25362537/** @name RmrkTraitsNftNftChild */2538export interface RmrkTraitsNftNftChild extends Struct {2539 readonly collectionId: u32;2540 readonly nftId: u32;2541}25422543/** @name RmrkTraitsNftNftInfo */2544export interface RmrkTraitsNftNftInfo extends Struct {2545 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2546 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2547 readonly metadata: Bytes;2548 readonly equipped: bool;2549 readonly pending: bool;2550}25512552/** @name RmrkTraitsNftRoyaltyInfo */2553export interface RmrkTraitsNftRoyaltyInfo extends Struct {2554 readonly recipient: AccountId32;2555 readonly amount: Permill;2556}25572558/** @name RmrkTraitsPartEquippableList */2559export interface RmrkTraitsPartEquippableList extends Enum {2560 readonly isAll: boolean;2561 readonly isEmpty: boolean;2562 readonly isCustom: boolean;2563 readonly asCustom: Vec<u32>;2564 readonly type: 'All' | 'Empty' | 'Custom';2565}25662567/** @name RmrkTraitsPartFixedPart */2568export interface RmrkTraitsPartFixedPart extends Struct {2569 readonly id: u32;2570 readonly z: u32;2571 readonly src: Bytes;2572}25732574/** @name RmrkTraitsPartPartType */2575export interface RmrkTraitsPartPartType extends Enum {2576 readonly isFixedPart: boolean;2577 readonly asFixedPart: RmrkTraitsPartFixedPart;2578 readonly isSlotPart: boolean;2579 readonly asSlotPart: RmrkTraitsPartSlotPart;2580 readonly type: 'FixedPart' | 'SlotPart';2581}25822583/** @name RmrkTraitsPartSlotPart */2584export interface RmrkTraitsPartSlotPart extends Struct {2585 readonly id: u32;2586 readonly equippable: RmrkTraitsPartEquippableList;2587 readonly src: Bytes;2588 readonly z: u32;2589}25902591/** @name RmrkTraitsPropertyPropertyInfo */2592export interface RmrkTraitsPropertyPropertyInfo extends Struct {2593 readonly key: Bytes;2594 readonly value: Bytes;2595}25962597/** @name RmrkTraitsResourceBasicResource */2598export interface RmrkTraitsResourceBasicResource extends Struct {2599 readonly src: Option<Bytes>;2600 readonly metadata: Option<Bytes>;2601 readonly license: Option<Bytes>;2602 readonly thumb: Option<Bytes>;2603}26042605/** @name RmrkTraitsResourceComposableResource */2606export interface RmrkTraitsResourceComposableResource extends Struct {2607 readonly parts: Vec<u32>;2608 readonly base: u32;2609 readonly src: Option<Bytes>;2610 readonly metadata: Option<Bytes>;2611 readonly license: Option<Bytes>;2612 readonly thumb: Option<Bytes>;2613}26142615/** @name RmrkTraitsResourceResourceInfo */2616export interface RmrkTraitsResourceResourceInfo extends Struct {2617 readonly id: u32;2618 readonly resource: RmrkTraitsResourceResourceTypes;2619 readonly pending: bool;2620 readonly pendingRemoval: bool;2621}26222623/** @name RmrkTraitsResourceResourceTypes */2624export interface RmrkTraitsResourceResourceTypes extends Enum {2625 readonly isBasic: boolean;2626 readonly asBasic: RmrkTraitsResourceBasicResource;2627 readonly isComposable: boolean;2628 readonly asComposable: RmrkTraitsResourceComposableResource;2629 readonly isSlot: boolean;2630 readonly asSlot: RmrkTraitsResourceSlotResource;2631 readonly type: 'Basic' | 'Composable' | 'Slot';2632}26332634/** @name RmrkTraitsResourceSlotResource */2635export interface RmrkTraitsResourceSlotResource extends Struct {2636 readonly base: u32;2637 readonly src: Option<Bytes>;2638 readonly metadata: Option<Bytes>;2639 readonly slot: u32;2640 readonly license: Option<Bytes>;2641 readonly thumb: Option<Bytes>;2642}26432644/** @name RmrkTraitsTheme */2645export interface RmrkTraitsTheme extends Struct {2646 readonly name: Bytes;2647 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2648 readonly inherit: bool;2649}26502651/** @name RmrkTraitsThemeThemeProperty */2652export interface RmrkTraitsThemeThemeProperty extends Struct {2653 readonly key: Bytes;2654 readonly value: Bytes;2655}26562657/** @name SpCoreEcdsaSignature */2658export interface SpCoreEcdsaSignature extends U8aFixed {}26592660/** @name SpCoreEd25519Signature */2661export interface SpCoreEd25519Signature extends U8aFixed {}26622663/** @name SpCoreSr25519Signature */2664export interface SpCoreSr25519Signature extends U8aFixed {}26652666/** @name SpRuntimeArithmeticError */2667export interface SpRuntimeArithmeticError extends Enum {2668 readonly isUnderflow: boolean;2669 readonly isOverflow: boolean;2670 readonly isDivisionByZero: boolean;2671 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2672}26732674/** @name SpRuntimeDigest */2675export interface SpRuntimeDigest extends Struct {2676 readonly logs: Vec<SpRuntimeDigestDigestItem>;2677}26782679/** @name SpRuntimeDigestDigestItem */2680export interface SpRuntimeDigestDigestItem extends Enum {2681 readonly isOther: boolean;2682 readonly asOther: Bytes;2683 readonly isConsensus: boolean;2684 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2685 readonly isSeal: boolean;2686 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2687 readonly isPreRuntime: boolean;2688 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2689 readonly isRuntimeEnvironmentUpdated: boolean;2690 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2691}26922693/** @name SpRuntimeDispatchError */2694export interface SpRuntimeDispatchError extends Enum {2695 readonly isOther: boolean;2696 readonly isCannotLookup: boolean;2697 readonly isBadOrigin: boolean;2698 readonly isModule: boolean;2699 readonly asModule: SpRuntimeModuleError;2700 readonly isConsumerRemaining: boolean;2701 readonly isNoProviders: boolean;2702 readonly isTooManyConsumers: boolean;2703 readonly isToken: boolean;2704 readonly asToken: SpRuntimeTokenError;2705 readonly isArithmetic: boolean;2706 readonly asArithmetic: SpRuntimeArithmeticError;2707 readonly isTransactional: boolean;2708 readonly asTransactional: SpRuntimeTransactionalError;2709 readonly isExhausted: boolean;2710 readonly isCorruption: boolean;2711 readonly isUnavailable: boolean;2712 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2713}27142715/** @name SpRuntimeModuleError */2716export interface SpRuntimeModuleError extends Struct {2717 readonly index: u8;2718 readonly error: U8aFixed;2719}27202721/** @name SpRuntimeMultiSignature */2722export interface SpRuntimeMultiSignature extends Enum {2723 readonly isEd25519: boolean;2724 readonly asEd25519: SpCoreEd25519Signature;2725 readonly isSr25519: boolean;2726 readonly asSr25519: SpCoreSr25519Signature;2727 readonly isEcdsa: boolean;2728 readonly asEcdsa: SpCoreEcdsaSignature;2729 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2730}27312732/** @name SpRuntimeTokenError */2733export interface SpRuntimeTokenError extends Enum {2734 readonly isNoFunds: boolean;2735 readonly isWouldDie: boolean;2736 readonly isBelowMinimum: boolean;2737 readonly isCannotCreate: boolean;2738 readonly isUnknownAsset: boolean;2739 readonly isFrozen: boolean;2740 readonly isUnsupported: boolean;2741 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2742}27432744/** @name SpRuntimeTransactionalError */2745export interface SpRuntimeTransactionalError extends Enum {2746 readonly isLimitReached: boolean;2747 readonly isNoLayer: boolean;2748 readonly type: 'LimitReached' | 'NoLayer';2749}27502751/** @name SpRuntimeTransactionValidityInvalidTransaction */2752export interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {2753 readonly isCall: boolean;2754 readonly isPayment: boolean;2755 readonly isFuture: boolean;2756 readonly isStale: boolean;2757 readonly isBadProof: boolean;2758 readonly isAncientBirthBlock: boolean;2759 readonly isExhaustsResources: boolean;2760 readonly isCustom: boolean;2761 readonly asCustom: u8;2762 readonly isBadMandatory: boolean;2763 readonly isMandatoryValidation: boolean;2764 readonly isBadSigner: boolean;2765 readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';2766}27672768/** @name SpRuntimeTransactionValidityTransactionValidityError */2769export interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {2770 readonly isInvalid: boolean;2771 readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;2772 readonly isUnknown: boolean;2773 readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;2774 readonly type: 'Invalid' | 'Unknown';2775}27762777/** @name SpRuntimeTransactionValidityUnknownTransaction */2778export interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {2779 readonly isCannotLookup: boolean;2780 readonly isNoUnsignedValidator: boolean;2781 readonly isCustom: boolean;2782 readonly asCustom: u8;2783 readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';2784}27852786/** @name SpTrieStorageProof */2787export interface SpTrieStorageProof extends Struct {2788 readonly trieNodes: BTreeSet<Bytes>;2789}27902791/** @name SpVersionRuntimeVersion */2792export interface SpVersionRuntimeVersion extends Struct {2793 readonly specName: Text;2794 readonly implName: Text;2795 readonly authoringVersion: u32;2796 readonly specVersion: u32;2797 readonly implVersion: u32;2798 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2799 readonly transactionVersion: u32;2800 readonly stateVersion: u8;2801}28022803/** @name SpWeightsRuntimeDbWeight */2804export interface SpWeightsRuntimeDbWeight extends Struct {2805 readonly read: u64;2806 readonly write: u64;2807}28082809/** @name SpWeightsWeightV2Weight */2810export interface SpWeightsWeightV2Weight extends Struct {2811 readonly refTime: Compact<u64>;2812 readonly proofSize: Compact<u64>;2813}28142815/** @name UpDataStructsAccessMode */2816export interface UpDataStructsAccessMode extends Enum {2817 readonly isNormal: boolean;2818 readonly isAllowList: boolean;2819 readonly type: 'Normal' | 'AllowList';2820}28212822/** @name UpDataStructsCollection */2823export interface UpDataStructsCollection extends Struct {2824 readonly owner: AccountId32;2825 readonly mode: UpDataStructsCollectionMode;2826 readonly name: Vec<u16>;2827 readonly description: Vec<u16>;2828 readonly tokenPrefix: Bytes;2829 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2830 readonly limits: UpDataStructsCollectionLimits;2831 readonly permissions: UpDataStructsCollectionPermissions;2832 readonly flags: U8aFixed;2833}28342835/** @name UpDataStructsCollectionLimits */2836export interface UpDataStructsCollectionLimits extends Struct {2837 readonly accountTokenOwnershipLimit: Option<u32>;2838 readonly sponsoredDataSize: Option<u32>;2839 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2840 readonly tokenLimit: Option<u32>;2841 readonly sponsorTransferTimeout: Option<u32>;2842 readonly sponsorApproveTimeout: Option<u32>;2843 readonly ownerCanTransfer: Option<bool>;2844 readonly ownerCanDestroy: Option<bool>;2845 readonly transfersEnabled: Option<bool>;2846}28472848/** @name UpDataStructsCollectionMode */2849export interface UpDataStructsCollectionMode extends Enum {2850 readonly isNft: boolean;2851 readonly isFungible: boolean;2852 readonly asFungible: u8;2853 readonly isReFungible: boolean;2854 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2855}28562857/** @name UpDataStructsCollectionPermissions */2858export interface UpDataStructsCollectionPermissions extends Struct {2859 readonly access: Option<UpDataStructsAccessMode>;2860 readonly mintMode: Option<bool>;2861 readonly nesting: Option<UpDataStructsNestingPermissions>;2862}28632864/** @name UpDataStructsCollectionStats */2865export interface UpDataStructsCollectionStats extends Struct {2866 readonly created: u32;2867 readonly destroyed: u32;2868 readonly alive: u32;2869}28702871/** @name UpDataStructsCreateCollectionData */2872export interface UpDataStructsCreateCollectionData extends Struct {2873 readonly mode: UpDataStructsCollectionMode;2874 readonly access: Option<UpDataStructsAccessMode>;2875 readonly name: Vec<u16>;2876 readonly description: Vec<u16>;2877 readonly tokenPrefix: Bytes;2878 readonly pendingSponsor: Option<AccountId32>;2879 readonly limits: Option<UpDataStructsCollectionLimits>;2880 readonly permissions: Option<UpDataStructsCollectionPermissions>;2881 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2882 readonly properties: Vec<UpDataStructsProperty>;2883}28842885/** @name UpDataStructsCreateFungibleData */2886export interface UpDataStructsCreateFungibleData extends Struct {2887 readonly value: u128;2888}28892890/** @name UpDataStructsCreateItemData */2891export interface UpDataStructsCreateItemData extends Enum {2892 readonly isNft: boolean;2893 readonly asNft: UpDataStructsCreateNftData;2894 readonly isFungible: boolean;2895 readonly asFungible: UpDataStructsCreateFungibleData;2896 readonly isReFungible: boolean;2897 readonly asReFungible: UpDataStructsCreateReFungibleData;2898 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2899}29002901/** @name UpDataStructsCreateItemExData */2902export interface UpDataStructsCreateItemExData extends Enum {2903 readonly isNft: boolean;2904 readonly asNft: Vec<UpDataStructsCreateNftExData>;2905 readonly isFungible: boolean;2906 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2907 readonly isRefungibleMultipleItems: boolean;2908 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2909 readonly isRefungibleMultipleOwners: boolean;2910 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2911 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2912}29132914/** @name UpDataStructsCreateNftData */2915export interface UpDataStructsCreateNftData extends Struct {2916 readonly properties: Vec<UpDataStructsProperty>;2917}29182919/** @name UpDataStructsCreateNftExData */2920export interface UpDataStructsCreateNftExData extends Struct {2921 readonly properties: Vec<UpDataStructsProperty>;2922 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2923}29242925/** @name UpDataStructsCreateReFungibleData */2926export interface UpDataStructsCreateReFungibleData extends Struct {2927 readonly pieces: u128;2928 readonly properties: Vec<UpDataStructsProperty>;2929}29302931/** @name UpDataStructsCreateRefungibleExMultipleOwners */2932export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2933 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2934 readonly properties: Vec<UpDataStructsProperty>;2935}29362937/** @name UpDataStructsCreateRefungibleExSingleOwner */2938export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2939 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2940 readonly pieces: u128;2941 readonly properties: Vec<UpDataStructsProperty>;2942}29432944/** @name UpDataStructsNestingPermissions */2945export interface UpDataStructsNestingPermissions extends Struct {2946 readonly tokenOwner: bool;2947 readonly collectionAdmin: bool;2948 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2949}29502951/** @name UpDataStructsOwnerRestrictedSet */2952export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29532954/** @name UpDataStructsProperties */2955export interface UpDataStructsProperties extends Struct {2956 readonly map: UpDataStructsPropertiesMapBoundedVec;2957 readonly consumedSpace: u32;2958 readonly spaceLimit: u32;2959}29602961/** @name UpDataStructsPropertiesMapBoundedVec */2962export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29632964/** @name UpDataStructsPropertiesMapPropertyPermission */2965export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29662967/** @name UpDataStructsProperty */2968export interface UpDataStructsProperty extends Struct {2969 readonly key: Bytes;2970 readonly value: Bytes;2971}29722973/** @name UpDataStructsPropertyKeyPermission */2974export interface UpDataStructsPropertyKeyPermission extends Struct {2975 readonly key: Bytes;2976 readonly permission: UpDataStructsPropertyPermission;2977}29782979/** @name UpDataStructsPropertyPermission */2980export interface UpDataStructsPropertyPermission extends Struct {2981 readonly mutable: bool;2982 readonly collectionAdmin: bool;2983 readonly tokenOwner: bool;2984}29852986/** @name UpDataStructsPropertyScope */2987export interface UpDataStructsPropertyScope extends Enum {2988 readonly isNone: boolean;2989 readonly isRmrk: boolean;2990 readonly type: 'None' | 'Rmrk';2991}29922993/** @name UpDataStructsRpcCollection */2994export interface UpDataStructsRpcCollection extends Struct {2995 readonly owner: AccountId32;2996 readonly mode: UpDataStructsCollectionMode;2997 readonly name: Vec<u16>;2998 readonly description: Vec<u16>;2999 readonly tokenPrefix: Bytes;3000 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3001 readonly limits: UpDataStructsCollectionLimits;3002 readonly permissions: UpDataStructsCollectionPermissions;3003 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3004 readonly properties: Vec<UpDataStructsProperty>;3005 readonly readOnly: bool;3006 readonly flags: UpDataStructsRpcCollectionFlags;3007}30083009/** @name UpDataStructsRpcCollectionFlags */3010export interface UpDataStructsRpcCollectionFlags extends Struct {3011 readonly foreign: bool;3012 readonly erc721metadata: bool;3013}30143015/** @name UpDataStructsSponsoringRateLimit */3016export interface UpDataStructsSponsoringRateLimit extends Enum {3017 readonly isSponsoringDisabled: boolean;3018 readonly isBlocks: boolean;3019 readonly asBlocks: u32;3020 readonly type: 'SponsoringDisabled' | 'Blocks';3021}30223023/** @name UpDataStructsSponsorshipStateAccountId32 */3024export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3025 readonly isDisabled: boolean;3026 readonly isUnconfirmed: boolean;3027 readonly asUnconfirmed: AccountId32;3028 readonly isConfirmed: boolean;3029 readonly asConfirmed: AccountId32;3030 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3031}30323033/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3034export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3035 readonly isDisabled: boolean;3036 readonly isUnconfirmed: boolean;3037 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3038 readonly isConfirmed: boolean;3039 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3040 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3041}30423043/** @name UpDataStructsTokenChild */3044export interface UpDataStructsTokenChild extends Struct {3045 readonly token: u32;3046 readonly collection: u32;3047}30483049/** @name UpDataStructsTokenData */3050export interface UpDataStructsTokenData extends Struct {3051 readonly properties: Vec<UpDataStructsProperty>;3052 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3053 readonly pieces: u128;3054}30553056/** @name UpPovEstimateRpcPovInfo */3057export interface UpPovEstimateRpcPovInfo extends Struct {3058 readonly proofSize: u64;3059 readonly compactProofSize: u64;3060 readonly compressedProofSize: u64;3061 readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;3062 readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;3063}30643065/** @name UpPovEstimateRpcTrieKeyValue */3066export interface UpPovEstimateRpcTrieKeyValue extends Struct {3067 readonly key: Bytes;3068 readonly value: Bytes;3069}30703071/** @name XcmDoubleEncoded */3072export interface XcmDoubleEncoded extends Struct {3073 readonly encoded: Bytes;3074}30753076/** @name XcmV0Junction */3077export interface XcmV0Junction extends Enum {3078 readonly isParent: boolean;3079 readonly isParachain: boolean;3080 readonly asParachain: Compact<u32>;3081 readonly isAccountId32: boolean;3082 readonly asAccountId32: {3083 readonly network: XcmV0JunctionNetworkId;3084 readonly id: U8aFixed;3085 } & Struct;3086 readonly isAccountIndex64: boolean;3087 readonly asAccountIndex64: {3088 readonly network: XcmV0JunctionNetworkId;3089 readonly index: Compact<u64>;3090 } & Struct;3091 readonly isAccountKey20: boolean;3092 readonly asAccountKey20: {3093 readonly network: XcmV0JunctionNetworkId;3094 readonly key: U8aFixed;3095 } & Struct;3096 readonly isPalletInstance: boolean;3097 readonly asPalletInstance: u8;3098 readonly isGeneralIndex: boolean;3099 readonly asGeneralIndex: Compact<u128>;3100 readonly isGeneralKey: boolean;3101 readonly asGeneralKey: Bytes;3102 readonly isOnlyChild: boolean;3103 readonly isPlurality: boolean;3104 readonly asPlurality: {3105 readonly id: XcmV0JunctionBodyId;3106 readonly part: XcmV0JunctionBodyPart;3107 } & Struct;3108 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3109}31103111/** @name XcmV0JunctionBodyId */3112export interface XcmV0JunctionBodyId extends Enum {3113 readonly isUnit: boolean;3114 readonly isNamed: boolean;3115 readonly asNamed: Bytes;3116 readonly isIndex: boolean;3117 readonly asIndex: Compact<u32>;3118 readonly isExecutive: boolean;3119 readonly isTechnical: boolean;3120 readonly isLegislative: boolean;3121 readonly isJudicial: boolean;3122 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3123}31243125/** @name XcmV0JunctionBodyPart */3126export interface XcmV0JunctionBodyPart extends Enum {3127 readonly isVoice: boolean;3128 readonly isMembers: boolean;3129 readonly asMembers: {3130 readonly count: Compact<u32>;3131 } & Struct;3132 readonly isFraction: boolean;3133 readonly asFraction: {3134 readonly nom: Compact<u32>;3135 readonly denom: Compact<u32>;3136 } & Struct;3137 readonly isAtLeastProportion: boolean;3138 readonly asAtLeastProportion: {3139 readonly nom: Compact<u32>;3140 readonly denom: Compact<u32>;3141 } & Struct;3142 readonly isMoreThanProportion: boolean;3143 readonly asMoreThanProportion: {3144 readonly nom: Compact<u32>;3145 readonly denom: Compact<u32>;3146 } & Struct;3147 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3148}31493150/** @name XcmV0JunctionNetworkId */3151export interface XcmV0JunctionNetworkId extends Enum {3152 readonly isAny: boolean;3153 readonly isNamed: boolean;3154 readonly asNamed: Bytes;3155 readonly isPolkadot: boolean;3156 readonly isKusama: boolean;3157 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3158}31593160/** @name XcmV0MultiAsset */3161export interface XcmV0MultiAsset extends Enum {3162 readonly isNone: boolean;3163 readonly isAll: boolean;3164 readonly isAllFungible: boolean;3165 readonly isAllNonFungible: boolean;3166 readonly isAllAbstractFungible: boolean;3167 readonly asAllAbstractFungible: {3168 readonly id: Bytes;3169 } & Struct;3170 readonly isAllAbstractNonFungible: boolean;3171 readonly asAllAbstractNonFungible: {3172 readonly class: Bytes;3173 } & Struct;3174 readonly isAllConcreteFungible: boolean;3175 readonly asAllConcreteFungible: {3176 readonly id: XcmV0MultiLocation;3177 } & Struct;3178 readonly isAllConcreteNonFungible: boolean;3179 readonly asAllConcreteNonFungible: {3180 readonly class: XcmV0MultiLocation;3181 } & Struct;3182 readonly isAbstractFungible: boolean;3183 readonly asAbstractFungible: {3184 readonly id: Bytes;3185 readonly amount: Compact<u128>;3186 } & Struct;3187 readonly isAbstractNonFungible: boolean;3188 readonly asAbstractNonFungible: {3189 readonly class: Bytes;3190 readonly instance: XcmV1MultiassetAssetInstance;3191 } & Struct;3192 readonly isConcreteFungible: boolean;3193 readonly asConcreteFungible: {3194 readonly id: XcmV0MultiLocation;3195 readonly amount: Compact<u128>;3196 } & Struct;3197 readonly isConcreteNonFungible: boolean;3198 readonly asConcreteNonFungible: {3199 readonly class: XcmV0MultiLocation;3200 readonly instance: XcmV1MultiassetAssetInstance;3201 } & Struct;3202 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3203}32043205/** @name XcmV0MultiLocation */3206export interface XcmV0MultiLocation extends Enum {3207 readonly isNull: boolean;3208 readonly isX1: boolean;3209 readonly asX1: XcmV0Junction;3210 readonly isX2: boolean;3211 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3212 readonly isX3: boolean;3213 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3214 readonly isX4: boolean;3215 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3216 readonly isX5: boolean;3217 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3218 readonly isX6: boolean;3219 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3220 readonly isX7: boolean;3221 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3222 readonly isX8: boolean;3223 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3224 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3225}32263227/** @name XcmV0Order */3228export interface XcmV0Order extends Enum {3229 readonly isNull: boolean;3230 readonly isDepositAsset: boolean;3231 readonly asDepositAsset: {3232 readonly assets: Vec<XcmV0MultiAsset>;3233 readonly dest: XcmV0MultiLocation;3234 } & Struct;3235 readonly isDepositReserveAsset: boolean;3236 readonly asDepositReserveAsset: {3237 readonly assets: Vec<XcmV0MultiAsset>;3238 readonly dest: XcmV0MultiLocation;3239 readonly effects: Vec<XcmV0Order>;3240 } & Struct;3241 readonly isExchangeAsset: boolean;3242 readonly asExchangeAsset: {3243 readonly give: Vec<XcmV0MultiAsset>;3244 readonly receive: Vec<XcmV0MultiAsset>;3245 } & Struct;3246 readonly isInitiateReserveWithdraw: boolean;3247 readonly asInitiateReserveWithdraw: {3248 readonly assets: Vec<XcmV0MultiAsset>;3249 readonly reserve: XcmV0MultiLocation;3250 readonly effects: Vec<XcmV0Order>;3251 } & Struct;3252 readonly isInitiateTeleport: boolean;3253 readonly asInitiateTeleport: {3254 readonly assets: Vec<XcmV0MultiAsset>;3255 readonly dest: XcmV0MultiLocation;3256 readonly effects: Vec<XcmV0Order>;3257 } & Struct;3258 readonly isQueryHolding: boolean;3259 readonly asQueryHolding: {3260 readonly queryId: Compact<u64>;3261 readonly dest: XcmV0MultiLocation;3262 readonly assets: Vec<XcmV0MultiAsset>;3263 } & Struct;3264 readonly isBuyExecution: boolean;3265 readonly asBuyExecution: {3266 readonly fees: XcmV0MultiAsset;3267 readonly weight: u64;3268 readonly debt: u64;3269 readonly haltOnError: bool;3270 readonly xcm: Vec<XcmV0Xcm>;3271 } & Struct;3272 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3273}32743275/** @name XcmV0OriginKind */3276export interface XcmV0OriginKind extends Enum {3277 readonly isNative: boolean;3278 readonly isSovereignAccount: boolean;3279 readonly isSuperuser: boolean;3280 readonly isXcm: boolean;3281 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3282}32833284/** @name XcmV0Response */3285export interface XcmV0Response extends Enum {3286 readonly isAssets: boolean;3287 readonly asAssets: Vec<XcmV0MultiAsset>;3288 readonly type: 'Assets';3289}32903291/** @name XcmV0Xcm */3292export interface XcmV0Xcm extends Enum {3293 readonly isWithdrawAsset: boolean;3294 readonly asWithdrawAsset: {3295 readonly assets: Vec<XcmV0MultiAsset>;3296 readonly effects: Vec<XcmV0Order>;3297 } & Struct;3298 readonly isReserveAssetDeposit: boolean;3299 readonly asReserveAssetDeposit: {3300 readonly assets: Vec<XcmV0MultiAsset>;3301 readonly effects: Vec<XcmV0Order>;3302 } & Struct;3303 readonly isTeleportAsset: boolean;3304 readonly asTeleportAsset: {3305 readonly assets: Vec<XcmV0MultiAsset>;3306 readonly effects: Vec<XcmV0Order>;3307 } & Struct;3308 readonly isQueryResponse: boolean;3309 readonly asQueryResponse: {3310 readonly queryId: Compact<u64>;3311 readonly response: XcmV0Response;3312 } & Struct;3313 readonly isTransferAsset: boolean;3314 readonly asTransferAsset: {3315 readonly assets: Vec<XcmV0MultiAsset>;3316 readonly dest: XcmV0MultiLocation;3317 } & Struct;3318 readonly isTransferReserveAsset: boolean;3319 readonly asTransferReserveAsset: {3320 readonly assets: Vec<XcmV0MultiAsset>;3321 readonly dest: XcmV0MultiLocation;3322 readonly effects: Vec<XcmV0Order>;3323 } & Struct;3324 readonly isTransact: boolean;3325 readonly asTransact: {3326 readonly originType: XcmV0OriginKind;3327 readonly requireWeightAtMost: u64;3328 readonly call: XcmDoubleEncoded;3329 } & Struct;3330 readonly isHrmpNewChannelOpenRequest: boolean;3331 readonly asHrmpNewChannelOpenRequest: {3332 readonly sender: Compact<u32>;3333 readonly maxMessageSize: Compact<u32>;3334 readonly maxCapacity: Compact<u32>;3335 } & Struct;3336 readonly isHrmpChannelAccepted: boolean;3337 readonly asHrmpChannelAccepted: {3338 readonly recipient: Compact<u32>;3339 } & Struct;3340 readonly isHrmpChannelClosing: boolean;3341 readonly asHrmpChannelClosing: {3342 readonly initiator: Compact<u32>;3343 readonly sender: Compact<u32>;3344 readonly recipient: Compact<u32>;3345 } & Struct;3346 readonly isRelayedFrom: boolean;3347 readonly asRelayedFrom: {3348 readonly who: XcmV0MultiLocation;3349 readonly message: XcmV0Xcm;3350 } & Struct;3351 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3352}33533354/** @name XcmV1Junction */3355export interface XcmV1Junction extends Enum {3356 readonly isParachain: boolean;3357 readonly asParachain: Compact<u32>;3358 readonly isAccountId32: boolean;3359 readonly asAccountId32: {3360 readonly network: XcmV0JunctionNetworkId;3361 readonly id: U8aFixed;3362 } & Struct;3363 readonly isAccountIndex64: boolean;3364 readonly asAccountIndex64: {3365 readonly network: XcmV0JunctionNetworkId;3366 readonly index: Compact<u64>;3367 } & Struct;3368 readonly isAccountKey20: boolean;3369 readonly asAccountKey20: {3370 readonly network: XcmV0JunctionNetworkId;3371 readonly key: U8aFixed;3372 } & Struct;3373 readonly isPalletInstance: boolean;3374 readonly asPalletInstance: u8;3375 readonly isGeneralIndex: boolean;3376 readonly asGeneralIndex: Compact<u128>;3377 readonly isGeneralKey: boolean;3378 readonly asGeneralKey: Bytes;3379 readonly isOnlyChild: boolean;3380 readonly isPlurality: boolean;3381 readonly asPlurality: {3382 readonly id: XcmV0JunctionBodyId;3383 readonly part: XcmV0JunctionBodyPart;3384 } & Struct;3385 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3386}33873388/** @name XcmV1MultiAsset */3389export interface XcmV1MultiAsset extends Struct {3390 readonly id: XcmV1MultiassetAssetId;3391 readonly fun: XcmV1MultiassetFungibility;3392}33933394/** @name XcmV1MultiassetAssetId */3395export interface XcmV1MultiassetAssetId extends Enum {3396 readonly isConcrete: boolean;3397 readonly asConcrete: XcmV1MultiLocation;3398 readonly isAbstract: boolean;3399 readonly asAbstract: Bytes;3400 readonly type: 'Concrete' | 'Abstract';3401}34023403/** @name XcmV1MultiassetAssetInstance */3404export interface XcmV1MultiassetAssetInstance extends Enum {3405 readonly isUndefined: boolean;3406 readonly isIndex: boolean;3407 readonly asIndex: Compact<u128>;3408 readonly isArray4: boolean;3409 readonly asArray4: U8aFixed;3410 readonly isArray8: boolean;3411 readonly asArray8: U8aFixed;3412 readonly isArray16: boolean;3413 readonly asArray16: U8aFixed;3414 readonly isArray32: boolean;3415 readonly asArray32: U8aFixed;3416 readonly isBlob: boolean;3417 readonly asBlob: Bytes;3418 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3419}34203421/** @name XcmV1MultiassetFungibility */3422export interface XcmV1MultiassetFungibility extends Enum {3423 readonly isFungible: boolean;3424 readonly asFungible: Compact<u128>;3425 readonly isNonFungible: boolean;3426 readonly asNonFungible: XcmV1MultiassetAssetInstance;3427 readonly type: 'Fungible' | 'NonFungible';3428}34293430/** @name XcmV1MultiassetMultiAssetFilter */3431export interface XcmV1MultiassetMultiAssetFilter extends Enum {3432 readonly isDefinite: boolean;3433 readonly asDefinite: XcmV1MultiassetMultiAssets;3434 readonly isWild: boolean;3435 readonly asWild: XcmV1MultiassetWildMultiAsset;3436 readonly type: 'Definite' | 'Wild';3437}34383439/** @name XcmV1MultiassetMultiAssets */3440export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34413442/** @name XcmV1MultiassetWildFungibility */3443export interface XcmV1MultiassetWildFungibility extends Enum {3444 readonly isFungible: boolean;3445 readonly isNonFungible: boolean;3446 readonly type: 'Fungible' | 'NonFungible';3447}34483449/** @name XcmV1MultiassetWildMultiAsset */3450export interface XcmV1MultiassetWildMultiAsset extends Enum {3451 readonly isAll: boolean;3452 readonly isAllOf: boolean;3453 readonly asAllOf: {3454 readonly id: XcmV1MultiassetAssetId;3455 readonly fun: XcmV1MultiassetWildFungibility;3456 } & Struct;3457 readonly type: 'All' | 'AllOf';3458}34593460/** @name XcmV1MultiLocation */3461export interface XcmV1MultiLocation extends Struct {3462 readonly parents: u8;3463 readonly interior: XcmV1MultilocationJunctions;3464}34653466/** @name XcmV1MultilocationJunctions */3467export interface XcmV1MultilocationJunctions extends Enum {3468 readonly isHere: boolean;3469 readonly isX1: boolean;3470 readonly asX1: XcmV1Junction;3471 readonly isX2: boolean;3472 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3473 readonly isX3: boolean;3474 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3475 readonly isX4: boolean;3476 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3477 readonly isX5: boolean;3478 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3479 readonly isX6: boolean;3480 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3481 readonly isX7: boolean;3482 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3483 readonly isX8: boolean;3484 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3485 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3486}34873488/** @name XcmV1Order */3489export interface XcmV1Order extends Enum {3490 readonly isNoop: boolean;3491 readonly isDepositAsset: boolean;3492 readonly asDepositAsset: {3493 readonly assets: XcmV1MultiassetMultiAssetFilter;3494 readonly maxAssets: u32;3495 readonly beneficiary: XcmV1MultiLocation;3496 } & Struct;3497 readonly isDepositReserveAsset: boolean;3498 readonly asDepositReserveAsset: {3499 readonly assets: XcmV1MultiassetMultiAssetFilter;3500 readonly maxAssets: u32;3501 readonly dest: XcmV1MultiLocation;3502 readonly effects: Vec<XcmV1Order>;3503 } & Struct;3504 readonly isExchangeAsset: boolean;3505 readonly asExchangeAsset: {3506 readonly give: XcmV1MultiassetMultiAssetFilter;3507 readonly receive: XcmV1MultiassetMultiAssets;3508 } & Struct;3509 readonly isInitiateReserveWithdraw: boolean;3510 readonly asInitiateReserveWithdraw: {3511 readonly assets: XcmV1MultiassetMultiAssetFilter;3512 readonly reserve: XcmV1MultiLocation;3513 readonly effects: Vec<XcmV1Order>;3514 } & Struct;3515 readonly isInitiateTeleport: boolean;3516 readonly asInitiateTeleport: {3517 readonly assets: XcmV1MultiassetMultiAssetFilter;3518 readonly dest: XcmV1MultiLocation;3519 readonly effects: Vec<XcmV1Order>;3520 } & Struct;3521 readonly isQueryHolding: boolean;3522 readonly asQueryHolding: {3523 readonly queryId: Compact<u64>;3524 readonly dest: XcmV1MultiLocation;3525 readonly assets: XcmV1MultiassetMultiAssetFilter;3526 } & Struct;3527 readonly isBuyExecution: boolean;3528 readonly asBuyExecution: {3529 readonly fees: XcmV1MultiAsset;3530 readonly weight: u64;3531 readonly debt: u64;3532 readonly haltOnError: bool;3533 readonly instructions: Vec<XcmV1Xcm>;3534 } & Struct;3535 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3536}35373538/** @name XcmV1Response */3539export interface XcmV1Response extends Enum {3540 readonly isAssets: boolean;3541 readonly asAssets: XcmV1MultiassetMultiAssets;3542 readonly isVersion: boolean;3543 readonly asVersion: u32;3544 readonly type: 'Assets' | 'Version';3545}35463547/** @name XcmV1Xcm */3548export interface XcmV1Xcm extends Enum {3549 readonly isWithdrawAsset: boolean;3550 readonly asWithdrawAsset: {3551 readonly assets: XcmV1MultiassetMultiAssets;3552 readonly effects: Vec<XcmV1Order>;3553 } & Struct;3554 readonly isReserveAssetDeposited: boolean;3555 readonly asReserveAssetDeposited: {3556 readonly assets: XcmV1MultiassetMultiAssets;3557 readonly effects: Vec<XcmV1Order>;3558 } & Struct;3559 readonly isReceiveTeleportedAsset: boolean;3560 readonly asReceiveTeleportedAsset: {3561 readonly assets: XcmV1MultiassetMultiAssets;3562 readonly effects: Vec<XcmV1Order>;3563 } & Struct;3564 readonly isQueryResponse: boolean;3565 readonly asQueryResponse: {3566 readonly queryId: Compact<u64>;3567 readonly response: XcmV1Response;3568 } & Struct;3569 readonly isTransferAsset: boolean;3570 readonly asTransferAsset: {3571 readonly assets: XcmV1MultiassetMultiAssets;3572 readonly beneficiary: XcmV1MultiLocation;3573 } & Struct;3574 readonly isTransferReserveAsset: boolean;3575 readonly asTransferReserveAsset: {3576 readonly assets: XcmV1MultiassetMultiAssets;3577 readonly dest: XcmV1MultiLocation;3578 readonly effects: Vec<XcmV1Order>;3579 } & Struct;3580 readonly isTransact: boolean;3581 readonly asTransact: {3582 readonly originType: XcmV0OriginKind;3583 readonly requireWeightAtMost: u64;3584 readonly call: XcmDoubleEncoded;3585 } & Struct;3586 readonly isHrmpNewChannelOpenRequest: boolean;3587 readonly asHrmpNewChannelOpenRequest: {3588 readonly sender: Compact<u32>;3589 readonly maxMessageSize: Compact<u32>;3590 readonly maxCapacity: Compact<u32>;3591 } & Struct;3592 readonly isHrmpChannelAccepted: boolean;3593 readonly asHrmpChannelAccepted: {3594 readonly recipient: Compact<u32>;3595 } & Struct;3596 readonly isHrmpChannelClosing: boolean;3597 readonly asHrmpChannelClosing: {3598 readonly initiator: Compact<u32>;3599 readonly sender: Compact<u32>;3600 readonly recipient: Compact<u32>;3601 } & Struct;3602 readonly isRelayedFrom: boolean;3603 readonly asRelayedFrom: {3604 readonly who: XcmV1MultilocationJunctions;3605 readonly message: XcmV1Xcm;3606 } & Struct;3607 readonly isSubscribeVersion: boolean;3608 readonly asSubscribeVersion: {3609 readonly queryId: Compact<u64>;3610 readonly maxResponseWeight: Compact<u64>;3611 } & Struct;3612 readonly isUnsubscribeVersion: boolean;3613 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3614}36153616/** @name XcmV2Instruction */3617export interface XcmV2Instruction extends Enum {3618 readonly isWithdrawAsset: boolean;3619 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3620 readonly isReserveAssetDeposited: boolean;3621 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3622 readonly isReceiveTeleportedAsset: boolean;3623 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3624 readonly isQueryResponse: boolean;3625 readonly asQueryResponse: {3626 readonly queryId: Compact<u64>;3627 readonly response: XcmV2Response;3628 readonly maxWeight: Compact<u64>;3629 } & Struct;3630 readonly isTransferAsset: boolean;3631 readonly asTransferAsset: {3632 readonly assets: XcmV1MultiassetMultiAssets;3633 readonly beneficiary: XcmV1MultiLocation;3634 } & Struct;3635 readonly isTransferReserveAsset: boolean;3636 readonly asTransferReserveAsset: {3637 readonly assets: XcmV1MultiassetMultiAssets;3638 readonly dest: XcmV1MultiLocation;3639 readonly xcm: XcmV2Xcm;3640 } & Struct;3641 readonly isTransact: boolean;3642 readonly asTransact: {3643 readonly originType: XcmV0OriginKind;3644 readonly requireWeightAtMost: Compact<u64>;3645 readonly call: XcmDoubleEncoded;3646 } & Struct;3647 readonly isHrmpNewChannelOpenRequest: boolean;3648 readonly asHrmpNewChannelOpenRequest: {3649 readonly sender: Compact<u32>;3650 readonly maxMessageSize: Compact<u32>;3651 readonly maxCapacity: Compact<u32>;3652 } & Struct;3653 readonly isHrmpChannelAccepted: boolean;3654 readonly asHrmpChannelAccepted: {3655 readonly recipient: Compact<u32>;3656 } & Struct;3657 readonly isHrmpChannelClosing: boolean;3658 readonly asHrmpChannelClosing: {3659 readonly initiator: Compact<u32>;3660 readonly sender: Compact<u32>;3661 readonly recipient: Compact<u32>;3662 } & Struct;3663 readonly isClearOrigin: boolean;3664 readonly isDescendOrigin: boolean;3665 readonly asDescendOrigin: XcmV1MultilocationJunctions;3666 readonly isReportError: boolean;3667 readonly asReportError: {3668 readonly queryId: Compact<u64>;3669 readonly dest: XcmV1MultiLocation;3670 readonly maxResponseWeight: Compact<u64>;3671 } & Struct;3672 readonly isDepositAsset: boolean;3673 readonly asDepositAsset: {3674 readonly assets: XcmV1MultiassetMultiAssetFilter;3675 readonly maxAssets: Compact<u32>;3676 readonly beneficiary: XcmV1MultiLocation;3677 } & Struct;3678 readonly isDepositReserveAsset: boolean;3679 readonly asDepositReserveAsset: {3680 readonly assets: XcmV1MultiassetMultiAssetFilter;3681 readonly maxAssets: Compact<u32>;3682 readonly dest: XcmV1MultiLocation;3683 readonly xcm: XcmV2Xcm;3684 } & Struct;3685 readonly isExchangeAsset: boolean;3686 readonly asExchangeAsset: {3687 readonly give: XcmV1MultiassetMultiAssetFilter;3688 readonly receive: XcmV1MultiassetMultiAssets;3689 } & Struct;3690 readonly isInitiateReserveWithdraw: boolean;3691 readonly asInitiateReserveWithdraw: {3692 readonly assets: XcmV1MultiassetMultiAssetFilter;3693 readonly reserve: XcmV1MultiLocation;3694 readonly xcm: XcmV2Xcm;3695 } & Struct;3696 readonly isInitiateTeleport: boolean;3697 readonly asInitiateTeleport: {3698 readonly assets: XcmV1MultiassetMultiAssetFilter;3699 readonly dest: XcmV1MultiLocation;3700 readonly xcm: XcmV2Xcm;3701 } & Struct;3702 readonly isQueryHolding: boolean;3703 readonly asQueryHolding: {3704 readonly queryId: Compact<u64>;3705 readonly dest: XcmV1MultiLocation;3706 readonly assets: XcmV1MultiassetMultiAssetFilter;3707 readonly maxResponseWeight: Compact<u64>;3708 } & Struct;3709 readonly isBuyExecution: boolean;3710 readonly asBuyExecution: {3711 readonly fees: XcmV1MultiAsset;3712 readonly weightLimit: XcmV2WeightLimit;3713 } & Struct;3714 readonly isRefundSurplus: boolean;3715 readonly isSetErrorHandler: boolean;3716 readonly asSetErrorHandler: XcmV2Xcm;3717 readonly isSetAppendix: boolean;3718 readonly asSetAppendix: XcmV2Xcm;3719 readonly isClearError: boolean;3720 readonly isClaimAsset: boolean;3721 readonly asClaimAsset: {3722 readonly assets: XcmV1MultiassetMultiAssets;3723 readonly ticket: XcmV1MultiLocation;3724 } & Struct;3725 readonly isTrap: boolean;3726 readonly asTrap: Compact<u64>;3727 readonly isSubscribeVersion: boolean;3728 readonly asSubscribeVersion: {3729 readonly queryId: Compact<u64>;3730 readonly maxResponseWeight: Compact<u64>;3731 } & Struct;3732 readonly isUnsubscribeVersion: boolean;3733 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion';3734}37353736/** @name XcmV2Response */3737export interface XcmV2Response extends Enum {3738 readonly isNull: boolean;3739 readonly isAssets: boolean;3740 readonly asAssets: XcmV1MultiassetMultiAssets;3741 readonly isExecutionResult: boolean;3742 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3743 readonly isVersion: boolean;3744 readonly asVersion: u32;3745 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3746}37473748/** @name XcmV2TraitsError */3749export interface XcmV2TraitsError extends Enum {3750 readonly isOverflow: boolean;3751 readonly isUnimplemented: boolean;3752 readonly isUntrustedReserveLocation: boolean;3753 readonly isUntrustedTeleportLocation: boolean;3754 readonly isMultiLocationFull: boolean;3755 readonly isMultiLocationNotInvertible: boolean;3756 readonly isBadOrigin: boolean;3757 readonly isInvalidLocation: boolean;3758 readonly isAssetNotFound: boolean;3759 readonly isFailedToTransactAsset: boolean;3760 readonly isNotWithdrawable: boolean;3761 readonly isLocationCannotHold: boolean;3762 readonly isExceedsMaxMessageSize: boolean;3763 readonly isDestinationUnsupported: boolean;3764 readonly isTransport: boolean;3765 readonly isUnroutable: boolean;3766 readonly isUnknownClaim: boolean;3767 readonly isFailedToDecode: boolean;3768 readonly isMaxWeightInvalid: boolean;3769 readonly isNotHoldingFees: boolean;3770 readonly isTooExpensive: boolean;3771 readonly isTrap: boolean;3772 readonly asTrap: u64;3773 readonly isUnhandledXcmVersion: boolean;3774 readonly isWeightLimitReached: boolean;3775 readonly asWeightLimitReached: u64;3776 readonly isBarrier: boolean;3777 readonly isWeightNotComputable: boolean;3778 readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable';3779}37803781/** @name XcmV2TraitsOutcome */3782export interface XcmV2TraitsOutcome extends Enum {3783 readonly isComplete: boolean;3784 readonly asComplete: u64;3785 readonly isIncomplete: boolean;3786 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3787 readonly isError: boolean;3788 readonly asError: XcmV2TraitsError;3789 readonly type: 'Complete' | 'Incomplete' | 'Error';3790}37913792/** @name XcmV2WeightLimit */3793export interface XcmV2WeightLimit extends Enum {3794 readonly isUnlimited: boolean;3795 readonly isLimited: boolean;3796 readonly asLimited: Compact<u64>;3797 readonly type: 'Unlimited' | 'Limited';3798}37993800/** @name XcmV2Xcm */3801export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}38023803/** @name XcmVersionedMultiAsset */3804export interface XcmVersionedMultiAsset extends Enum {3805 readonly isV0: boolean;3806 readonly asV0: XcmV0MultiAsset;3807 readonly isV1: boolean;3808 readonly asV1: XcmV1MultiAsset;3809 readonly type: 'V0' | 'V1';3810}38113812/** @name XcmVersionedMultiAssets */3813export interface XcmVersionedMultiAssets extends Enum {3814 readonly isV0: boolean;3815 readonly asV0: Vec<XcmV0MultiAsset>;3816 readonly isV1: boolean;3817 readonly asV1: XcmV1MultiassetMultiAssets;3818 readonly type: 'V0' | 'V1';3819}38203821/** @name XcmVersionedMultiLocation */3822export interface XcmVersionedMultiLocation extends Enum {3823 readonly isV0: boolean;3824 readonly asV0: XcmV0MultiLocation;3825 readonly isV1: boolean;3826 readonly asV1: XcmV1MultiLocation;3827 readonly type: 'V0' | 'V1';3828}38293830/** @name XcmVersionedXcm */3831export interface XcmVersionedXcm extends Enum {3832 readonly isV0: boolean;3833 readonly asV0: XcmV0Xcm;3834 readonly isV1: boolean;3835 readonly asV1: XcmV1Xcm;3836 readonly isV2: boolean;3837 readonly asV2: XcmV2Xcm;3838 readonly type: 'V0' | 'V1' | 'V2';3839}38403841export type PHANTOM_DEFAULT = 'default';tests/src/interfaces/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/definitions.ts
+++ b/tests/src/interfaces/definitions.ts
@@ -17,4 +17,5 @@
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
+export {default as povinfo} from './povinfo/definitions';
+export {default as default} from './default/definitions';
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -3106,7 +3106,7 @@
/**
* Lookup399: PhantomType::up_data_structs<T>
**/
- PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
+ PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild,UpPovEstimateRpcPovInfo);0]',
/**
* Lookup401: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
@@ -3198,79 +3198,133 @@
nftId: 'u32'
},
/**
- * Lookup414: pallet_common::pallet::Error<T>
+ * Lookup413: up_pov_estimate_rpc::PovInfo
+ **/
+ UpPovEstimateRpcPovInfo: {
+ proofSize: 'u64',
+ compactProofSize: 'u64',
+ compressedProofSize: 'u64',
+ results: 'Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>',
+ keyValues: 'Vec<UpPovEstimateRpcTrieKeyValue>'
+ },
+ /**
+ * Lookup416: sp_runtime::transaction_validity::TransactionValidityError
+ **/
+ SpRuntimeTransactionValidityTransactionValidityError: {
+ _enum: {
+ Invalid: 'SpRuntimeTransactionValidityInvalidTransaction',
+ Unknown: 'SpRuntimeTransactionValidityUnknownTransaction'
+ }
+ },
+ /**
+ * Lookup417: sp_runtime::transaction_validity::InvalidTransaction
+ **/
+ SpRuntimeTransactionValidityInvalidTransaction: {
+ _enum: {
+ Call: 'Null',
+ Payment: 'Null',
+ Future: 'Null',
+ Stale: 'Null',
+ BadProof: 'Null',
+ AncientBirthBlock: 'Null',
+ ExhaustsResources: 'Null',
+ Custom: 'u8',
+ BadMandatory: 'Null',
+ MandatoryValidation: 'Null',
+ BadSigner: 'Null'
+ }
+ },
+ /**
+ * Lookup418: sp_runtime::transaction_validity::UnknownTransaction
+ **/
+ SpRuntimeTransactionValidityUnknownTransaction: {
+ _enum: {
+ CannotLookup: 'Null',
+ NoUnsignedValidator: 'Null',
+ Custom: 'u8'
+ }
+ },
+ /**
+ * Lookup420: up_pov_estimate_rpc::TrieKeyValue
+ **/
+ UpPovEstimateRpcTrieKeyValue: {
+ key: 'Bytes',
+ value: 'Bytes'
+ },
+ /**
+ * Lookup422: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
_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', 'ConfirmSponsorshipFail', 'UserIsNotCollectionAdmin']
},
/**
- * Lookup416: pallet_fungible::pallet::Error<T>
+ * Lookup424: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup420: pallet_refungible::pallet::Error<T>
+ * Lookup428: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup421: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup429: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup423: up_data_structs::PropertyScope
+ * Lookup431: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup426: pallet_nonfungible::pallet::Error<T>
+ * Lookup434: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup427: pallet_structure::pallet::Error<T>
+ * Lookup435: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup428: pallet_rmrk_core::pallet::Error<T>
+ * Lookup436: pallet_rmrk_core::pallet::Error<T>
**/
PalletRmrkCoreError: {
_enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
},
/**
- * Lookup430: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup438: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup436: pallet_app_promotion::pallet::Error<T>
+ * Lookup444: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup437: pallet_foreign_assets::module::Error<T>
+ * Lookup445: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup439: pallet_evm::pallet::Error<T>
+ * Lookup447: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup442: fp_rpc::TransactionStatus
+ * Lookup450: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3282,11 +3336,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup444: ethbloom::Bloom
+ * Lookup452: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup446: ethereum::receipt::ReceiptV3
+ * Lookup454: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3296,7 +3350,7 @@
}
},
/**
- * Lookup447: ethereum::receipt::EIP658ReceiptData
+ * Lookup455: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3305,7 +3359,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup448: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup456: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3313,7 +3367,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup449: ethereum::header::Header
+ * Lookup457: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3333,23 +3387,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup450: ethereum_types::hash::H64
+ * Lookup458: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup455: pallet_ethereum::pallet::Error<T>
+ * Lookup463: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup456: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup464: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup457: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup465: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3359,35 +3413,35 @@
}
},
/**
- * Lookup458: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup466: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup464: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup472: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup465: pallet_evm_migration::pallet::Error<T>
+ * Lookup473: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup466: pallet_maintenance::pallet::Error<T>
+ * Lookup474: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup467: pallet_test_utils::pallet::Error<T>
+ * Lookup475: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup469: sp_runtime::MultiSignature
+ * Lookup477: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3397,51 +3451,51 @@
}
},
/**
- * Lookup470: sp_core::ed25519::Signature
+ * Lookup478: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup472: sp_core::sr25519::Signature
+ * Lookup480: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup473: sp_core::ecdsa::Signature
+ * Lookup481: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup476: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup484: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup477: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup485: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup478: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup486: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup481: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup489: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup482: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup490: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup483: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup491: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup484: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup492: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup485: opal_runtime::Runtime
+ * Lookup493: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup486: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup494: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/povinfo/definitions.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/povinfo/definitions.ts
@@ -0,0 +1,40 @@
+// 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 atParam = {name: 'at', type: 'Hash', isOptional: true};
+
+const fun = (description: string, params: RpcParam[], type: string) => ({
+ description,
+ params: [...params, atParam],
+ type,
+});
+
+export default {
+ types: {},
+ rpc: {
+ estimateExtrinsicPoV: fun(
+ 'Estimate PoV size of encoded signed extrinsics',
+ [{name: 'encodedXt', type: 'Vec<Bytes>'}],
+ 'UpPovEstimateRpcPovInfo',
+ ),
+ },
+};
tests/src/interfaces/povinfo/index.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/povinfo/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/povinfo/types.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/interfaces/povinfo/types.ts
@@ -0,0 +1,4 @@
+// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
+/* eslint-disable */
+
+export type PHANTOM_POVINFO = 'povinfo';
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleCall, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletAppPromotionCall, PalletAppPromotionError, PalletAppPromotionEvent, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletConfigurationAppPromotionConfiguration, PalletConfigurationCall, PalletConfigurationError, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersEvent, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletEvmMigrationEvent, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletForeignAssetsModuleCall, PalletForeignAssetsModuleError, PalletForeignAssetsModuleEvent, PalletForeignAssetsNativeCurrency, PalletFungibleError, PalletInflationCall, PalletMaintenanceCall, PalletMaintenanceError, PalletMaintenanceEvent, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTestUtilsCall, PalletTestUtilsError, PalletTestUtilsEvent, PalletTimestampCall, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, RmrkTraitsBaseBaseInfo, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsNftNftChild, RmrkTraitsNftNftInfo, RmrkTraitsNftRoyaltyInfo, RmrkTraitsPartEquippableList, RmrkTraitsPartFixedPart, RmrkTraitsPartPartType, RmrkTraitsPartSlotPart, RmrkTraitsPropertyPropertyInfo, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceInfo, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, RmrkTraitsThemeThemeProperty, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionValidityInvalidTransaction, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityUnknownTransaction, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExMultipleOwners, UpDataStructsCreateRefungibleExSingleOwner, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsRpcCollection, UpDataStructsRpcCollectionFlags, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipStateAccountId32, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, UpDataStructsTokenData, UpPovEstimateRpcPovInfo, UpPovEstimateRpcTrieKeyValue, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -198,6 +198,9 @@
SpRuntimeModuleError: SpRuntimeModuleError;
SpRuntimeMultiSignature: SpRuntimeMultiSignature;
SpRuntimeTokenError: SpRuntimeTokenError;
+ SpRuntimeTransactionValidityInvalidTransaction: SpRuntimeTransactionValidityInvalidTransaction;
+ SpRuntimeTransactionValidityTransactionValidityError: SpRuntimeTransactionValidityTransactionValidityError;
+ SpRuntimeTransactionValidityUnknownTransaction: SpRuntimeTransactionValidityUnknownTransaction;
SpRuntimeTransactionalError: SpRuntimeTransactionalError;
SpTrieStorageProof: SpTrieStorageProof;
SpVersionRuntimeVersion: SpVersionRuntimeVersion;
@@ -234,6 +237,8 @@
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: UpDataStructsSponsorshipStateBasicCrossAccountIdRepr;
UpDataStructsTokenChild: UpDataStructsTokenChild;
UpDataStructsTokenData: UpDataStructsTokenData;
+ UpPovEstimateRpcPovInfo: UpPovEstimateRpcPovInfo;
+ UpPovEstimateRpcTrieKeyValue: UpPovEstimateRpcTrieKeyValue;
XcmDoubleEncoded: XcmDoubleEncoded;
XcmV0Junction: XcmV0Junction;
XcmV0JunctionBodyId: XcmV0JunctionBodyId;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -3380,7 +3380,7 @@
}
/** @name PhantomTypeUpDataStructs (399) */
- interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
+ interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild, UpPovEstimateRpcPovInfo]>> {}
/** @name UpDataStructsTokenData (401) */
interface UpDataStructsTokenData extends Struct {
@@ -3462,7 +3462,57 @@
readonly nftId: u32;
}
- /** @name PalletCommonError (414) */
+ /** @name UpPovEstimateRpcPovInfo (413) */
+ interface UpPovEstimateRpcPovInfo extends Struct {
+ readonly proofSize: u64;
+ readonly compactProofSize: u64;
+ readonly compressedProofSize: u64;
+ readonly results: Vec<Result<Result<Null, SpRuntimeDispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>;
+ readonly keyValues: Vec<UpPovEstimateRpcTrieKeyValue>;
+ }
+
+ /** @name SpRuntimeTransactionValidityTransactionValidityError (416) */
+ interface SpRuntimeTransactionValidityTransactionValidityError extends Enum {
+ readonly isInvalid: boolean;
+ readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction;
+ readonly isUnknown: boolean;
+ readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction;
+ readonly type: 'Invalid' | 'Unknown';
+ }
+
+ /** @name SpRuntimeTransactionValidityInvalidTransaction (417) */
+ interface SpRuntimeTransactionValidityInvalidTransaction extends Enum {
+ readonly isCall: boolean;
+ readonly isPayment: boolean;
+ readonly isFuture: boolean;
+ readonly isStale: boolean;
+ readonly isBadProof: boolean;
+ readonly isAncientBirthBlock: boolean;
+ readonly isExhaustsResources: boolean;
+ readonly isCustom: boolean;
+ readonly asCustom: u8;
+ readonly isBadMandatory: boolean;
+ readonly isMandatoryValidation: boolean;
+ readonly isBadSigner: boolean;
+ readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryValidation' | 'BadSigner';
+ }
+
+ /** @name SpRuntimeTransactionValidityUnknownTransaction (418) */
+ interface SpRuntimeTransactionValidityUnknownTransaction extends Enum {
+ readonly isCannotLookup: boolean;
+ readonly isNoUnsignedValidator: boolean;
+ readonly isCustom: boolean;
+ readonly asCustom: u8;
+ readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';
+ }
+
+ /** @name UpPovEstimateRpcTrieKeyValue (420) */
+ interface UpPovEstimateRpcTrieKeyValue extends Struct {
+ readonly key: Bytes;
+ readonly value: Bytes;
+ }
+
+ /** @name PalletCommonError (422) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3503,7 +3553,7 @@
readonly type: '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' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
}
- /** @name PalletFungibleError (416) */
+ /** @name PalletFungibleError (424) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3515,7 +3565,7 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleError (420) */
+ /** @name PalletRefungibleError (428) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3525,19 +3575,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (421) */
+ /** @name PalletNonfungibleItemData (429) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (423) */
+ /** @name UpDataStructsPropertyScope (431) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (426) */
+ /** @name PalletNonfungibleError (434) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3545,7 +3595,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (427) */
+ /** @name PalletStructureError (435) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3554,7 +3604,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (428) */
+ /** @name PalletRmrkCoreError (436) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3578,7 +3628,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (430) */
+ /** @name PalletRmrkEquipError (438) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3590,7 +3640,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (436) */
+ /** @name PalletAppPromotionError (444) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3601,7 +3651,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
}
- /** @name PalletForeignAssetsModuleError (437) */
+ /** @name PalletForeignAssetsModuleError (445) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3610,7 +3660,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (439) */
+ /** @name PalletEvmError (447) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3626,7 +3676,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
}
- /** @name FpRpcTransactionStatus (442) */
+ /** @name FpRpcTransactionStatus (450) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3637,10 +3687,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (444) */
+ /** @name EthbloomBloom (452) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (446) */
+ /** @name EthereumReceiptReceiptV3 (454) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3651,7 +3701,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (447) */
+ /** @name EthereumReceiptEip658ReceiptData (455) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3659,14 +3709,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (448) */
+ /** @name EthereumBlock (456) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (449) */
+ /** @name EthereumHeader (457) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3685,24 +3735,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (450) */
+ /** @name EthereumTypesHashH64 (458) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (455) */
+ /** @name PalletEthereumError (463) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (456) */
+ /** @name PalletEvmCoderSubstrateError (464) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (457) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (465) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3712,7 +3762,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (458) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (466) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3720,7 +3770,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (464) */
+ /** @name PalletEvmContractHelpersError (472) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3728,7 +3778,7 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (465) */
+ /** @name PalletEvmMigrationError (473) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
@@ -3736,17 +3786,17 @@
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (466) */
+ /** @name PalletMaintenanceError (474) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (467) */
+ /** @name PalletTestUtilsError (475) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (469) */
+ /** @name SpRuntimeMultiSignature (477) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3757,40 +3807,40 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (470) */
+ /** @name SpCoreEd25519Signature (478) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (472) */
+ /** @name SpCoreSr25519Signature (480) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (473) */
+ /** @name SpCoreEcdsaSignature (481) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (476) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (484) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (477) */
+ /** @name FrameSystemExtensionsCheckTxVersion (485) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (478) */
+ /** @name FrameSystemExtensionsCheckGenesis (486) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (481) */
+ /** @name FrameSystemExtensionsCheckNonce (489) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (482) */
+ /** @name FrameSystemExtensionsCheckWeight (490) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (483) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (491) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (484) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (492) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (485) */
+ /** @name OpalRuntimeRuntime (493) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (486) */
+ /** @name PalletEthereumFakeTransactionFinalizer (494) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/interfaces/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -4,4 +4,5 @@
export * from './unique/types';
export * from './appPromotion/types';
export * from './rmrk/types';
+export * from './povinfo/types';
export * from './default/types';
tests/src/util/playgrounds/types.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/types.ts
+++ b/tests/src/util/playgrounds/types.ts
@@ -171,6 +171,14 @@
amount: bigint,
}
+export interface IPovInfo {
+ proofSize: number,
+ compactProofSize: number,
+ compressedProofSize: number,
+ results: any[],
+ kv: any,
+}
+
export interface ISchedulerOptions {
scheduledId?: string,
priority?: number,
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -8,10 +8,11 @@
import * as defs from '../../interfaces/definitions';
import {IKeyringPair} from '@polkadot/types/types';
import {EventRecord} from '@polkadot/types/interfaces';
-import {ICrossAccountId, TSigner} from './types';
+import {ICrossAccountId, IPovInfo, TSigner} from './types';
import {FrameSystemEventRecord} from '@polkadot/types/lookup';
import {VoidFn} from '@polkadot/api/types';
import {Pallets} from '..';
+import {spawnSync} from 'child_process';
export class SilentLogger {
log(_msg: any, _level: any): void { }
@@ -98,6 +99,7 @@
rpc: {
unique: defs.unique.rpc,
appPromotion: defs.appPromotion.rpc,
+ povinfo: defs.povinfo.rpc,
rmrk: defs.rmrk.rpc,
eth: {
feeHistory: {
@@ -115,6 +117,7 @@
});
await this.api.isReadyOrError;
this.network = await UniqueHelper.detectNetwork(this.api);
+ this.wsEndpoint = wsEndpoint;
}
}
@@ -322,6 +325,38 @@
return balance;
}
+ async calculatePoVInfo(txs: any[]): Promise<IPovInfo> {
+ const rawPovInfo = await this.helper.callRpc('api.rpc.povinfo.estimateExtrinsicPoV', [txs]);
+
+ const kvJson: {[key: string]: string} = {};
+
+ for (const kv of rawPovInfo.keyValues) {
+ kvJson[kv.key.toHex()] = kv.value.toHex();
+ }
+
+ const kvStr = JSON.stringify(kvJson);
+
+ const chainql = spawnSync(
+ 'chainql',
+ [
+ `--tla-code=data=${kvStr}`,
+ '-e', `function(data) cql.dump(cql.chain("${this.helper.getEndpoint()}").latest._meta, data, {omit_empty:true})`,
+ ],
+ );
+
+ if (!chainql.stdout) {
+ throw Error('unable to get an output from the `chainql`');
+ }
+
+ return {
+ proofSize: rawPovInfo.proofSize.toNumber(),
+ compactProofSize: rawPovInfo.compactProofSize.toNumber(),
+ compressedProofSize: rawPovInfo.compressedProofSize.toNumber(),
+ results: rawPovInfo.results,
+ kv: JSON.parse(chainql.stdout.toString()),
+ };
+ }
+
calculatePalletAddress(palletId: any) {
const address = stringToU8a(('modl' + palletId).padEnd(32, '\0'));
return encodeAddress(address, this.helper.chain.getChainProperties().ss58Format);
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -371,6 +371,7 @@
api: ApiPromise | null;
forcedNetwork: TNetworks | null;
network: TNetworks | null;
+ wsEndpoint: string | null;
chainLog: IUniqueHelperLog[];
children: ChainHelperBase[];
address: AddressGroup;
@@ -386,6 +387,7 @@
this.api = null;
this.forcedNetwork = null;
this.network = null;
+ this.wsEndpoint = null;
this.chainLog = [];
this.children = [];
this.address = new AddressGroup(this);
@@ -405,6 +407,11 @@
return newHelper;
}
+ getEndpoint(): string {
+ if (this.wsEndpoint === null) throw Error('No connection was established');
+ return this.wsEndpoint;
+ }
+
getApi(): ApiPromise {
if(this.api === null) throw Error('API not initialized');
return this.api;
@@ -436,6 +443,7 @@
async connect(wsEndpoint: string, listeners?: IApiListeners) {
if (this.api !== null) throw Error('Already connected');
const {api, network} = await ChainHelperBase.createConnection(wsEndpoint, listeners, this.forcedNetwork);
+ this.wsEndpoint = wsEndpoint;
this.api = api;
this.network = network;
}
@@ -586,6 +594,20 @@
});
}
+ async signTransactionWithoutSending(signer: TSigner, tx: any) {
+ const api = this.getApi();
+ const signingInfo = await api.derive.tx.signingInfo(signer.address);
+
+ tx.sign(signer, {
+ blockHash: api.genesisHash,
+ genesisHash: api.genesisHash,
+ runtimeVersion: api.runtimeVersion,
+ nonce: signingInfo.nonce,
+ });
+
+ return tx.toHex();
+ }
+
async getPaymentInfo(signer: TSigner, tx: any, len: number | null) {
const api = this.getApi();
const signingInfo = await api.derive.tx.signingInfo(signer.address);