difftreelog
Merge pull request #757 from UniqueNetwork/feature/collection-sponsoring-for-rft
in: master
19 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -903,9 +903,9 @@
[[package]]
name = "clap"
-version = "4.0.30"
+version = "4.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "656ad1e55e23d287773f7d8192c300dc715c3eeded93b3da651d11c42cfd74d2"
+checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39"
dependencies = [
"bitflags",
"clap_derive",
@@ -1300,7 +1300,7 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"clap",
"parity-scale-codec 3.2.1",
@@ -1315,7 +1315,7 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
@@ -1338,7 +1338,7 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
@@ -1367,7 +1367,7 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-client-pov-recovery",
@@ -1390,7 +1390,7 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1413,7 +1413,7 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
@@ -1436,7 +1436,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-client-cli",
"cumulus-client-collator",
@@ -1464,7 +1464,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"frame-support",
"frame-system",
@@ -1480,7 +1480,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1497,7 +1497,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"bytes",
"cumulus-pallet-parachain-system-proc-macro",
@@ -1525,7 +1525,7 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -1536,7 +1536,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1552,7 +1552,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1570,7 +1570,7 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"parity-scale-codec 3.2.1",
"polkadot-core-primitives",
@@ -1585,7 +1585,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1608,7 +1608,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"futures 0.3.25",
@@ -1621,7 +1621,7 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1637,7 +1637,7 @@
[[package]]
name = "cumulus-relay-chain-inprocess-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1662,7 +1662,7 @@
[[package]]
name = "cumulus-relay-chain-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1682,7 +1682,7 @@
[[package]]
name = "cumulus-relay-chain-minimal-node"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"array-bytes 6.0.0",
"async-trait",
@@ -1722,7 +1722,7 @@
[[package]]
name = "cumulus-relay-chain-rpc-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1751,7 +1751,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec 3.2.1",
@@ -6982,7 +6982,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
dependencies = [
"cumulus-primitives-core",
"frame-support",
pallets/common/src/eth.rsdiffbeforeafterboth--- a/pallets/common/src/eth.rs
+++ b/pallets/common/src/eth.rs
@@ -125,7 +125,9 @@
/// Ethereum representation of Optional value with CrossAddress.
#[derive(Debug, Default, AbiCoder)]
pub struct OptionCrossAddress {
+ /// Is address set
pub status: bool,
+ /// Address value
pub value: CrossAddress,
}
pallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/eth.rs
+++ b/pallets/evm-contract-helpers/src/eth.rs
@@ -23,7 +23,7 @@
execution::Result,
generate_stubgen, solidity_interface,
types::*,
- ToLog, AbiCoder,
+ ToLog,
};
use pallet_common::eth;
use pallet_evm::{
pallets/evm-contract-helpers/src/stubs/ContractHelpers.rawdiffbeforeafterbothbinary blob — no preview
pallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth--- a/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
+++ b/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
@@ -283,6 +283,8 @@
/// Ethereum representation of Optional value with CrossAddress.
struct OptionCrossAddress {
+ /// TODO: field description
bool status;
+ /// TODO: field description
CrossAddress value;
}
pallets/refungible/src/erc_token.rsdiffbeforeafterboth--- a/pallets/refungible/src/erc_token.rs
+++ b/pallets/refungible/src/erc_token.rs
@@ -43,6 +43,9 @@
TotalSupply, weights::WeightInfo,
};
+/// Refungible token handle contains information about token's collection and id
+///
+/// RefungibleTokenHandle doesn't check token's existance upon creation
pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);
#[solidity_interface(name = ERC1633)]
runtime/common/ethereum/sponsoring.rsdiffbeforeafterboth--- a/runtime/common/ethereum/sponsoring.rs
+++ b/runtime/common/ethereum/sponsoring.rs
@@ -32,14 +32,22 @@
Config as FungibleConfig,
erc::{UniqueFungibleCall, ERC20Call},
};
-use pallet_refungible::Config as RefungibleConfig;
+use pallet_refungible::{
+ Config as RefungibleConfig,
+ erc::UniqueRefungibleCall,
+ erc_token::{RefungibleTokenHandle, UniqueRefungibleTokenCall},
+ RefungibleHandle,
+};
use pallet_unique::Config as UniqueConfig;
use sp_std::prelude::*;
-use up_data_structs::{CollectionMode, CreateItemData, CreateNftData, TokenId};
+use up_data_structs::{
+ CollectionMode, CreateItemData, CreateNftData, mapping::TokenAddressMapping, TokenId,
+};
use up_sponsorship::SponsorshipHandler;
-
use crate::{Runtime, runtime_common::sponsoring::*};
+mod refungible;
+
pub type EvmSponsorshipHandler = (
UniqueEthSponsorshipHandler<Runtime>,
pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,
@@ -53,80 +61,163 @@
who: &T::CrossAccountId,
call_context: &CallContext,
) -> Option<T::CrossAccountId> {
- let collection_id = map_eth_to_id(&call_context.contract_address)?;
- let collection = <CollectionHandle<T>>::new(collection_id)?;
- let sponsor = collection.sponsorship.sponsor()?.clone();
- let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;
- Some(T::CrossAccountId::from_sub(match &collection.mode {
- CollectionMode::NFT => {
- let call = <UniqueNFTCall<T>>::parse(method_id, &mut reader).ok()??;
- match call {
- UniqueNFTCall::TokenProperties(TokenPropertiesCall::SetProperty {
- token_id,
- key,
- value,
- ..
- }) => {
- let token_id: TokenId = token_id.try_into().ok()?;
- withdraw_set_token_property::<T>(
+ if let Some(collection_id) = map_eth_to_id(&call_context.contract_address) {
+ let collection = <CollectionHandle<T>>::new(collection_id)?;
+ let sponsor = collection.sponsorship.sponsor()?.clone();
+ let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;
+ Some(T::CrossAccountId::from_sub(match &collection.mode {
+ CollectionMode::NFT => {
+ let call = <UniqueNFTCall<T>>::parse(method_id, &mut reader).ok()??;
+ match call {
+ UniqueNFTCall::TokenProperties(TokenPropertiesCall::SetProperty {
+ token_id,
+ key,
+ value,
+ ..
+ }) => {
+ let token_id: TokenId = token_id.try_into().ok()?;
+ withdraw_set_token_property::<T>(
+ &collection,
+ &who,
+ &token_id,
+ key.len() + value.len(),
+ )
+ .map(|()| sponsor)
+ }
+ UniqueNFTCall::ERC721UniqueExtensions(
+ ERC721UniqueExtensionsCall::Transfer { token_id, .. },
+ ) => {
+ let token_id: TokenId = token_id.try_into().ok()?;
+ withdraw_transfer::<T>(&collection, &who, &token_id).map(|()| sponsor)
+ }
+ UniqueNFTCall::ERC721UniqueMintable(
+ ERC721UniqueMintableCall::Mint { .. }
+ | ERC721UniqueMintableCall::MintCheckId { .. }
+ | ERC721UniqueMintableCall::MintWithTokenUri { .. }
+ | ERC721UniqueMintableCall::MintWithTokenUriCheckId { .. },
+ ) => withdraw_create_item::<T>(
&collection,
&who,
- &token_id,
- key.len() + value.len(),
+ &CreateItemData::NFT(CreateNftData::default()),
)
- .map(|()| sponsor)
- }
- UniqueNFTCall::ERC721UniqueExtensions(
- ERC721UniqueExtensionsCall::Transfer { token_id, .. },
- ) => {
- let token_id: TokenId = token_id.try_into().ok()?;
- withdraw_transfer::<T>(&collection, &who, &token_id).map(|()| sponsor)
+ .map(|()| sponsor),
+ UniqueNFTCall::ERC721(ERC721Call::TransferFrom {
+ token_id, from, ..
+ }) => {
+ let token_id: TokenId = token_id.try_into().ok()?;
+ let from = T::CrossAccountId::from_eth(from);
+ withdraw_transfer::<T>(&collection, &from, &token_id).map(|()| sponsor)
+ }
+ UniqueNFTCall::ERC721(ERC721Call::Approve { token_id, .. }) => {
+ let token_id: TokenId = token_id.try_into().ok()?;
+ withdraw_approve::<T>(&collection, who.as_sub(), &token_id)
+ .map(|()| sponsor)
+ }
+ _ => None,
}
- UniqueNFTCall::ERC721UniqueMintable(
- ERC721UniqueMintableCall::Mint { .. }
- | ERC721UniqueMintableCall::MintCheckId { .. }
- | ERC721UniqueMintableCall::MintWithTokenUri { .. }
- | ERC721UniqueMintableCall::MintWithTokenUriCheckId { .. },
- ) => withdraw_create_item::<T>(
- &collection,
- &who,
- &CreateItemData::NFT(CreateNftData::default()),
- )
- .map(|()| sponsor),
- UniqueNFTCall::ERC721(ERC721Call::TransferFrom { token_id, from, .. }) => {
- let token_id: TokenId = token_id.try_into().ok()?;
- let from = T::CrossAccountId::from_eth(from);
- withdraw_transfer::<T>(&collection, &from, &token_id).map(|()| sponsor)
- }
- UniqueNFTCall::ERC721(ERC721Call::Approve { token_id, .. }) => {
- let token_id: TokenId = token_id.try_into().ok()?;
- withdraw_approve::<T>(&collection, who.as_sub(), &token_id)
- .map(|()| sponsor)
- }
- _ => None,
}
- }
- CollectionMode::Fungible(_) => {
- let call = <UniqueFungibleCall<T>>::parse(method_id, &mut reader).ok()??;
- #[allow(clippy::single_match)]
- match call {
- UniqueFungibleCall::ERC20(ERC20Call::Transfer { .. }) => {
- withdraw_transfer::<T>(&collection, who, &TokenId::default())
- .map(|()| sponsor)
- }
- UniqueFungibleCall::ERC20(ERC20Call::TransferFrom { from, .. }) => {
- let from = T::CrossAccountId::from_eth(from);
- withdraw_transfer::<T>(&collection, &from, &TokenId::default())
- .map(|()| sponsor)
+ CollectionMode::ReFungible => {
+ let call = <UniqueRefungibleCall<T>>::parse(method_id, &mut reader).ok()??;
+ refungible::call_sponsor(call, collection, who).map(|()| sponsor)
+ }
+ CollectionMode::Fungible(_) => {
+ let call = <UniqueFungibleCall<T>>::parse(method_id, &mut reader).ok()??;
+ match call {
+ UniqueFungibleCall::ERC20(ERC20Call::Transfer { .. }) => {
+ withdraw_transfer::<T>(&collection, who, &TokenId::default())
+ .map(|()| sponsor)
+ }
+ UniqueFungibleCall::ERC20(ERC20Call::TransferFrom { from, .. }) => {
+ let from = T::CrossAccountId::from_eth(from);
+ withdraw_transfer::<T>(&collection, &from, &TokenId::default())
+ .map(|()| sponsor)
+ }
+ UniqueFungibleCall::ERC20(ERC20Call::Approve { .. }) => {
+ withdraw_approve::<T>(&collection, who.as_sub(), &TokenId::default())
+ .map(|()| sponsor)
+ }
+ _ => None,
}
- UniqueFungibleCall::ERC20(ERC20Call::Approve { .. }) => {
- withdraw_approve::<T>(&collection, who.as_sub(), &TokenId::default())
- .map(|()| sponsor)
- }
- _ => None,
}
+ }?))
+ } else {
+ let (collection_id, token_id) =
+ T::EvmTokenAddressMapping::address_to_token(&call_context.contract_address)?;
+ let collection = <CollectionHandle<T>>::new(collection_id)?;
+ if collection.mode != CollectionMode::ReFungible {
+ return None;
}
- _ => None,
- }?))
+ let sponsor = collection.sponsorship.sponsor()?.clone();
+ let rft_collection = RefungibleHandle::cast(collection);
+ // Token existance isn't checked at this point and should be checked in `withdraw` method.
+ let token = RefungibleTokenHandle(rft_collection, token_id);
+
+ let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;
+ let call = <UniqueRefungibleTokenCall<T>>::parse(method_id, &mut reader).ok()??;
+ Some(T::CrossAccountId::from_sub(
+ refungible::token_call_sponsor(call, token, who).map(|()| sponsor)?,
+ ))
+ }
+ }
+}
+
+mod common {
+ use super::*;
+
+ use pallet_common::erc::{CollectionCall};
+
+ pub fn collection_call_sponsor<T>(
+ call: CollectionCall<T>,
+ _collection: CollectionHandle<T>,
+ _who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use CollectionCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _)
+ | CollectionProperty { .. }
+ | CollectionProperties { .. }
+ | HasCollectionPendingSponsor
+ | CollectionSponsor
+ | ContractAddress
+ | AllowlistedCross { .. }
+ | IsOwnerOrAdminEth { .. }
+ | IsOwnerOrAdminCross { .. }
+ | CollectionOwner
+ | CollectionAdmins
+ | CollectionLimits
+ | CollectionNestingRestrictedIds
+ | CollectionNestingPermissions
+ | UniqueCollectionType => None,
+
+ // Not sponsored
+ AddToCollectionAllowList { .. }
+ | AddToCollectionAllowListCross { .. }
+ | RemoveFromCollectionAllowList { .. }
+ | RemoveFromCollectionAllowListCross { .. }
+ | AddCollectionAdminCross { .. }
+ | RemoveCollectionAdminCross { .. }
+ | AddCollectionAdmin { .. }
+ | RemoveCollectionAdmin { .. }
+ | SetNestingBool { .. }
+ | SetNesting { .. }
+ | SetCollectionAccess { .. }
+ | SetCollectionMintMode { .. }
+ | SetOwner { .. }
+ | ChangeCollectionOwnerCross { .. }
+ | SetCollectionProperty { .. }
+ | SetCollectionProperties { .. }
+ | DeleteCollectionProperty { .. }
+ | DeleteCollectionProperties { .. }
+ | SetCollectionSponsor { .. }
+ | SetCollectionSponsorCross { .. }
+ | SetCollectionLimit { .. }
+ | ConfirmCollectionSponsorship
+ | RemoveCollectionSponsor => None,
+ }
}
}
runtime/common/ethereum/sponsoring/refungible.rsdiffbeforeafterboth--- /dev/null
+++ b/runtime/common/ethereum/sponsoring/refungible.rs
@@ -0,0 +1,381 @@
+// 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/>.
+
+//! Implements EVM sponsoring logic via TransactionValidityHack
+
+use core::convert::TryInto;
+use pallet_common::CollectionHandle;
+use pallet_evm::account::CrossAccountId;
+use pallet_fungible::Config as FungibleConfig;
+use pallet_refungible::Config as RefungibleConfig;
+use pallet_nonfungible::Config as NonfungibleConfig;
+use pallet_unique::Config as UniqueConfig;
+use up_data_structs::{CreateItemData, CreateNftData, TokenId};
+
+use super::common;
+use crate::runtime_common::sponsoring::*;
+
+use pallet_refungible::{
+ erc::{
+ ERC721BurnableCall, ERC721Call, ERC721EnumerableCall, ERC721MetadataCall,
+ ERC721UniqueExtensionsCall, ERC721UniqueMintableCall, TokenPropertiesCall,
+ UniqueRefungibleCall,
+ },
+ erc_token::{
+ ERC1633Call, ERC20Call, ERC20UniqueExtensionsCall, RefungibleTokenHandle,
+ UniqueRefungibleTokenCall,
+ },
+};
+
+pub fn call_sponsor<T>(
+ call: UniqueRefungibleCall<T>,
+ collection: CollectionHandle<T>,
+ who: &T::CrossAccountId,
+) -> Option<()>
+where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+{
+ use UniqueRefungibleCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) => None,
+
+ ERC721Enumerable(call) => erc721::enumerable_call_sponsor(call, collection, who),
+ ERC721Burnable(call) => erc721::burnable_call_sponsor(call, collection, who),
+ ERC721Metadata(call) => erc721::metadata_call_sponsor(call, collection, who),
+ Collection(call) => common::collection_call_sponsor(call, collection, who),
+ ERC721(call) => erc721::call_sponsor(call, collection, who),
+ ERC721UniqueExtensions(call) => {
+ erc721::unique_extensions_call_sponsor(call, collection, who)
+ }
+ ERC721UniqueMintable(call) => erc721::unique_mintable_call_sponsor(call, collection, who),
+ TokenProperties(call) => token_properties_call_sponsor(call, collection, who),
+ }
+}
+
+pub fn token_properties_call_sponsor<T>(
+ call: TokenPropertiesCall<T>,
+ collection: CollectionHandle<T>,
+ who: &T::CrossAccountId,
+) -> Option<()>
+where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+{
+ use TokenPropertiesCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) | Property { .. } | TokenPropertyPermissions => None,
+
+ // Not sponsored
+ SetTokenPropertyPermission { .. }
+ | SetTokenPropertyPermissions { .. }
+ | SetProperties { .. }
+ | DeleteProperty { .. }
+ | DeleteProperties { .. } => None,
+
+ SetProperty {
+ token_id,
+ key,
+ value,
+ ..
+ } => {
+ let token_id = TokenId::try_from(token_id).ok()?;
+ withdraw_set_token_property::<T>(&collection, &who, &token_id, key.len() + value.len())
+ }
+ }
+}
+
+pub fn token_call_sponsor<T>(
+ call: UniqueRefungibleTokenCall<T>,
+ token: RefungibleTokenHandle<T>,
+ who: &T::CrossAccountId,
+) -> Option<()>
+where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+{
+ use UniqueRefungibleTokenCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) => None,
+
+ ERC20(call) => erc20::call_sponsor(call, token, who),
+ ERC20UniqueExtensions(call) => erc20::unique_extensions_call_sponsor(call, token, who),
+ ERC1633(call) => erc1633::call_sponsor(call, token, who),
+ }
+}
+
+mod erc721 {
+ use super::*;
+
+ pub fn call_sponsor<T>(
+ call: ERC721Call<T>,
+ collection: CollectionHandle<T>,
+ _who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC721Call::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _)
+ | BalanceOf { .. }
+ | OwnerOf { .. }
+ | GetApproved { .. }
+ | IsApprovedForAll { .. }
+ | CollectionHelperAddress => None,
+
+ // Not sponsored
+ SafeTransferFromWithData { .. }
+ | SafeTransferFrom { .. }
+ | SetApprovalForAll { .. } => None,
+
+ TransferFrom { token_id, from, .. } => {
+ let token_id = TokenId::try_from(token_id).ok()?;
+ let from = T::CrossAccountId::from_eth(from);
+ withdraw_transfer::<T>(&collection, &from, &token_id)
+ }
+
+ // Not supported
+ Approve { .. } => None,
+ }
+ }
+
+ pub fn enumerable_call_sponsor<T>(
+ call: ERC721EnumerableCall<T>,
+ _collection: CollectionHandle<T>,
+ _who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC721EnumerableCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) | TokenByIndex { .. } | TokenOfOwnerByIndex { .. } | TotalSupply => {
+ None
+ }
+ }
+ }
+
+ pub fn burnable_call_sponsor<T>(
+ call: ERC721BurnableCall<T>,
+ _collection: CollectionHandle<T>,
+ _who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC721BurnableCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) => None,
+
+ // Not sponsored
+ Burn { .. } => None,
+ }
+ }
+
+ pub fn metadata_call_sponsor<T>(
+ call: ERC721MetadataCall<T>,
+ _collection: CollectionHandle<T>,
+ _who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC721MetadataCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) | NameProxy | SymbolProxy | TokenUri { .. } => None,
+ }
+ }
+
+ pub fn unique_extensions_call_sponsor<T>(
+ call: ERC721UniqueExtensionsCall<T>,
+ collection: CollectionHandle<T>,
+ who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC721UniqueExtensionsCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _)
+ | Name
+ | Symbol
+ | Description
+ | CrossOwnerOf { .. }
+ | Properties { .. }
+ | NextTokenId
+ | TokenContractAddress { .. } => None,
+
+ // Not sponsored
+ BurnFrom { .. }
+ | BurnFromCross { .. }
+ | MintBulk { .. }
+ | MintBulkWithTokenUri { .. } => None,
+
+ MintCross { .. } => withdraw_create_item::<T>(
+ &collection,
+ &who,
+ &CreateItemData::NFT(CreateNftData::default()),
+ ),
+
+ TransferCross { token_id, .. }
+ | TransferFromCross { token_id, .. }
+ | Transfer { token_id, .. } => {
+ let token_id = TokenId::try_from(token_id).ok()?;
+ withdraw_transfer::<T>(&collection, &who, &token_id)
+ }
+ }
+ }
+
+ pub fn unique_mintable_call_sponsor<T>(
+ call: ERC721UniqueMintableCall<T>,
+ collection: CollectionHandle<T>,
+ who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC721UniqueMintableCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) | MintingFinished => None,
+
+ // Not sponsored
+ FinishMinting => None,
+
+ Mint { .. }
+ | MintCheckId { .. }
+ | MintWithTokenUri { .. }
+ | MintWithTokenUriCheckId { .. } => withdraw_create_item::<T>(
+ &collection,
+ &who,
+ &CreateItemData::NFT(CreateNftData::default()),
+ ),
+ }
+ }
+}
+
+/// Module for methods of refungible token
+///
+/// Existance of token should be checked before searching for sponsor
+/// because RefungibleTokenHandle doesn't check token's existence upon creation
+mod erc20 {
+ use super::*;
+
+ pub fn call_sponsor<T>(
+ call: ERC20Call<T>,
+ token: RefungibleTokenHandle<T>,
+ who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC20Call::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _)
+ | Name
+ | Symbol
+ | TotalSupply
+ | Decimals
+ | BalanceOf { .. }
+ | Allowance { .. } => None,
+
+ Transfer { .. } => {
+ let RefungibleTokenHandle(handle, token_id) = token;
+ let token_id = token_id.try_into().ok()?;
+ withdraw_transfer::<T>(&handle, &who, &token_id)
+ }
+ TransferFrom { from, .. } => {
+ let RefungibleTokenHandle(handle, token_id) = token;
+ let token_id = token_id.try_into().ok()?;
+ let from = T::CrossAccountId::from_eth(from);
+ withdraw_transfer::<T>(&handle, &from, &token_id)
+ }
+ Approve { .. } => {
+ let RefungibleTokenHandle(handle, token_id) = token;
+ let token_id = token_id.try_into().ok()?;
+ withdraw_approve::<T>(&handle, who.as_sub(), &token_id)
+ }
+ }
+ }
+
+ pub fn unique_extensions_call_sponsor<T>(
+ call: ERC20UniqueExtensionsCall<T>,
+ token: RefungibleTokenHandle<T>,
+ who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC20UniqueExtensionsCall::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) => None,
+
+ // Not sponsored
+ BurnFrom { .. } | BurnFromCross { .. } | Repartition { .. } => None,
+
+ TransferCross { .. } | TransferFromCross { .. } => {
+ let RefungibleTokenHandle(handle, token_id) = token;
+ let token_id = token_id.try_into().ok()?;
+ withdraw_transfer::<T>(&handle, &who, &token_id)
+ }
+
+ ApproveCross { .. } => {
+ let RefungibleTokenHandle(handle, token_id) = token;
+ let token_id = token_id.try_into().ok()?;
+ withdraw_approve::<T>(&handle, who.as_sub(), &token_id)
+ }
+ }
+ }
+}
+
+mod erc1633 {
+ use super::*;
+
+ pub fn call_sponsor<T>(
+ call: ERC1633Call<T>,
+ _token: RefungibleTokenHandle<T>,
+ _who: &T::CrossAccountId,
+ ) -> Option<()>
+ where
+ T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
+ {
+ use ERC1633Call::*;
+
+ match call {
+ // Readonly
+ ERC165Call(_, _) | ParentToken | ParentTokenId => None,
+ }
+ }
+}
tests/src/eth/abi/reFungibleDeprecated.jsondiffbeforeafterboth--- a/tests/src/eth/abi/reFungibleDeprecated.json
+++ b/tests/src/eth/abi/reFungibleDeprecated.json
@@ -98,5 +98,33 @@
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
+ },
+ {
+ "inputs": [
+ { "internalType": "address", "name": "to", "type": "address" },
+ { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
+ ],
+ "name": "mintBulk",
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ { "internalType": "address", "name": "to", "type": "address" },
+ {
+ "components": [
+ { "internalType": "uint256", "name": "field_0", "type": "uint256" },
+ { "internalType": "string", "name": "field_1", "type": "string" }
+ ],
+ "internalType": "struct Tuple0[]",
+ "name": "tokens",
+ "type": "tuple[]"
+ }
+ ],
+ "name": "mintBulkWithTokenURI",
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "stateMutability": "nonpayable",
+ "type": "function"
}
]
tests/src/eth/api/ContractHelpers.soldiffbeforeafterboth--- a/tests/src/eth/api/ContractHelpers.sol
+++ b/tests/src/eth/api/ContractHelpers.sol
@@ -183,7 +183,9 @@
/// Ethereum representation of Optional value with CrossAddress.
struct OptionCrossAddress {
+ /// TODO: field description
bool status;
+ /// TODO: field description
CrossAddress value;
}
tests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionSponsoring.test.ts
+++ b/tests/src/eth/collectionSponsoring.test.ts
@@ -15,10 +15,10 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
import {IKeyringPair} from '@polkadot/types/types';
-import {usingPlaygrounds} from '../util/index';
+import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index';
import {itEth, expect} from './util';
-describe('evm collection sponsoring', () => {
+describe('evm nft collection sponsoring', () => {
let donor: IKeyringPair;
let alice: IKeyringPair;
let nominal: bigint;
@@ -101,14 +101,14 @@
expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.true;
await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
- let sponsorTuple = await collectionEvm.methods.collectionSponsor().call({from: owner});
- expect(helper.address.restoreCrossAccountFromBigInt(BigInt(sponsorTuple.sub))).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
+ let sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
+ expect(helper.address.restoreCrossAccountFromBigInt(BigInt(sponsorStruct.sub))).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
await collectionEvm.methods.removeCollectionSponsor().send({from: owner});
- sponsorTuple = await collectionEvm.methods.collectionSponsor().call({from: owner});
- expect(sponsorTuple.eth).to.be.eq('0x0000000000000000000000000000000000000000');
+ sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
+ expect(sponsorStruct.eth).to.be.eq('0x0000000000000000000000000000000000000000');
}));
[
@@ -144,7 +144,7 @@
expect(nextTokenId).to.be.equal('1');
// Set collection permissions:
- const oldPermissions = (await collectionSub.getData())!.raw.permissions; // (await getDetailedCollectionInfo(api, collectionId))!.permissions.toHuman();
+ const oldPermissions = (await collectionSub.getData())!.raw.permissions;
expect(oldPermissions.mintMode).to.be.false;
expect(oldPermissions.access).to.be.equal('Normal');
@@ -152,12 +152,13 @@
await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});
await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
- const newPermissions = (await collectionSub.getData())!.raw.permissions; // (await getDetailedCollectionInfo(api, collectionId))!.permissions.toHuman();
+ const newPermissions = (await collectionSub.getData())!.raw.permissions;
expect(newPermissions.mintMode).to.be.true;
expect(newPermissions.access).to.be.equal('AllowList');
const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));
+ const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
// User can mint token without balance:
{
@@ -181,7 +182,7 @@
expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
- expect(userBalanceAfter).to.be.eq(0n);
+ expect(userBalanceAfter).to.be.eq(userBalanceBefore);
expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
}
}));
@@ -317,3 +318,531 @@
expect(collectionSponsor).to.deep.eq({Unconfirmed: sponsorSub.address});
});
});
+
+describe('evm RFT collection sponsoring', () => {
+ let donor: IKeyringPair;
+ let alice: IKeyringPair;
+ let nominal: bigint;
+
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKey) => {
+ requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
+ donor = await privateKey({filename: __filename});
+ [alice] = await helper.arrange.createAccounts([100n], donor);
+ nominal = helper.balance.getOneTokenNominal();
+ });
+ });
+
+ [
+ 'mintCross',
+ 'mintWithTokenURI',
+ ].map(testCase =>
+ itEth(`[${testCase}] sponsors mint transactions`, async ({helper}) => {
+ const collection = await helper.rft.mintCollection(alice, {tokenPrefix: 'spnr', permissions: {mintMode: true}, tokenPropertyPermissions: [
+ {key: 'URI', permission: {tokenOwner: true, mutable: true, collectionAdmin: true}},
+ ]});
+
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ await collection.setSponsor(alice, alice.address);
+ await collection.confirmSponsorship(alice);
+
+ const minter = helper.eth.createAccount();
+ const minterCross = helper.ethCrossAccount.fromAddress(minter);
+ expect(await helper.balance.getEthereum(minter)).to.equal(0n);
+
+ const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);
+ const contract = await helper.ethNativeContract.collection(collectionAddress, 'rft', minter, true);
+
+ await collection.addToAllowList(alice, {Ethereum: minter});
+ await collection.addAdmin(alice, {Ethereum: owner});
+ const collectionHelpers = await helper.ethNativeContract.collectionHelpers(owner);
+ await collectionHelpers.methods.makeCollectionERC721MetadataCompatible(collectionAddress, 'base/')
+ .send();
+
+ let mintingResult;
+ let tokenId;
+ switch (testCase) {
+ case 'mintCross':
+ mintingResult = await contract.methods.mintCross(minterCross, []).send();
+ break;
+ case 'mintWithTokenURI':
+ mintingResult = await contract.methods.mintWithTokenURI(minter, 'Test URI').send();
+ tokenId = mintingResult.events.Transfer.returnValues.tokenId;
+ expect(await contract.methods.tokenURI(tokenId).call()).to.be.equal('Test URI');
+ break;
+ }
+
+ const events = helper.eth.normalizeEvents(mintingResult.events);
+ expect(events).to.deep.include({
+ address: collectionAddress,
+ event: 'Transfer',
+ args: {
+ from: '0x0000000000000000000000000000000000000000',
+ to: minter,
+ tokenId: '1',
+ },
+ });
+ }));
+
+ [
+ 'setCollectionSponsorCross',
+ 'setCollectionSponsor', // Soft-deprecated
+ ].map(testCase =>
+ itEth(`[${testCase}] can remove collection sponsor`, async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const collectionHelpers = await helper.ethNativeContract.collectionHelpers(owner);
+
+ let result = await collectionHelpers.methods.createRFTCollection('Sponsor collection', '1', '1').send({value: Number(2n * nominal)});
+ const collectionIdAddress = helper.ethAddress.normalizeAddress(result.events.CollectionCreated.returnValues.collectionId);
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionIdAddress, 'rft', owner, testCase === 'setCollectionSponsor');
+
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
+ result = await collectionEvm.methods[testCase](testCase === 'setCollectionSponsor' ? sponsor : sponsorCross).send({from: owner});
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.true;
+
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
+
+ await collectionEvm.methods.removeCollectionSponsor().send({from: owner});
+
+ const sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
+ expect(sponsorStruct.eth).to.be.eq('0x0000000000000000000000000000000000000000');
+ }));
+
+ [
+ 'setCollectionSponsorCross',
+ 'setCollectionSponsor', // Soft-deprecated
+ ].map(testCase =>
+ itEth(`[${testCase}] Can sponsor from evm address via access list`, async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const sponsorEth = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCrossEth = helper.ethCrossAccount.fromAddress(sponsorEth);
+
+ const {collectionId, collectionAddress} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner, 'Sponsor collection', '1', '1', '');
+
+ const collectionSub = helper.rft.getCollectionObject(collectionId);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, testCase === 'setCollectionSponsor');
+
+ // Set collection sponsor:
+ await collectionEvm.methods[testCase](testCase === 'setCollectionSponsor' ? sponsorEth : sponsorCrossEth).send({from: owner});
+ let sponsorship = (await collectionSub.getData())!.raw.sponsorship;
+ expect(sponsorship.Unconfirmed).to.be.eq(helper.address.ethToSubstrate(sponsorEth, true));
+ // Account cannot confirm sponsorship if it is not set as a sponsor
+ await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('ConfirmSponsorshipFail');
+
+ // Sponsor can confirm sponsorship:
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsorEth});
+ sponsorship = (await collectionSub.getData())!.raw.sponsorship;
+ expect(sponsorship.Confirmed).to.be.eq(helper.address.ethToSubstrate(sponsorEth, true));
+
+ // Create user with no balance:
+ const user = helper.eth.createAccount();
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ const nextTokenId = await collectionEvm.methods.nextTokenId().call();
+ expect(nextTokenId).to.be.equal('1');
+
+ // Set collection permissions:
+ const oldPermissions = (await collectionSub.getData())!.raw.permissions;
+ expect(oldPermissions.mintMode).to.be.false;
+ expect(oldPermissions.access).to.be.equal('Normal');
+
+ await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});
+ await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});
+ await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
+
+ const newPermissions = (await collectionSub.getData())!.raw.permissions;
+ expect(newPermissions.mintMode).to.be.true;
+ expect(newPermissions.access).to.be.equal('AllowList');
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));
+ const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ // User can mint token without balance:
+ {
+ const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
+ const events = helper.eth.normalizeEvents(result.events);
+
+ expect(events).to.deep.include({
+ address: collectionAddress,
+ event: 'Transfer',
+ args: {
+ from: '0x0000000000000000000000000000000000000000',
+ to: user,
+ tokenId: '1',
+ },
+ });
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));
+ const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
+ expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
+ expect(userBalanceAfter).to.be.eq(userBalanceBefore);
+ expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
+ }
+ }));
+
+ [
+ 'setCollectionSponsorCross',
+ 'setCollectionSponsor', // Soft-deprecated
+ ].map(testCase =>
+ itEth(`[${testCase}] Check that collection admin EVM transaction spend money from sponsor eth address`, async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
+
+ const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+
+ const collectionSub = helper.rft.getCollectionObject(collectionId);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, testCase === 'setCollectionSponsor');
+ // Set collection sponsor:
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
+ await collectionEvm.methods[testCase](testCase === 'setCollectionSponsor' ? sponsor : sponsorCross).send();
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.true;
+ let collectionData = (await collectionSub.getData())!;
+ expect(collectionData.raw.sponsorship.Unconfirmed).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
+ await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('ConfirmSponsorshipFail');
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.true;
+
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
+ collectionData = (await collectionSub.getData())!;
+ expect(collectionData.raw.sponsorship.Confirmed).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
+ const sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
+ const sponsorSubAddress = helper.address.normalizeSubstrateToChainFormat(helper.address.ethToSubstrate(sponsor));
+ const actualSubAddress = helper.address.normalizeSubstrateToChainFormat(helper.address.restoreCrossAccountFromBigInt(BigInt(sponsorStruct.sub)));
+ expect(actualSubAddress).to.be.equal(sponsorSubAddress);
+
+ const user = helper.eth.createAccount();
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ await collectionEvm.methods.addCollectionAdminCross(userCross).send();
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+
+ const mintingResult = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
+ const tokenId = mintingResult.events.Transfer.returnValues.tokenId;
+
+ const events = helper.eth.normalizeEvents(mintingResult.events);
+ const address = helper.ethAddress.fromCollectionId(collectionId);
+
+ expect(events).to.deep.include({
+ address,
+ event: 'Transfer',
+ args: {
+ from: '0x0000000000000000000000000000000000000000',
+ to: user,
+ tokenId: '1',
+ },
+ });
+ expect(await collectionEvm.methods.tokenURI(tokenId).call({from: user})).to.be.equal('Test URI');
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
+ }));
+
+ itEth('Check that collection admin EVM transaction spend money from sponsor sub address', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const sponsor = alice;
+ const sponsorCross = helper.ethCrossAccount.fromKeyringPair(sponsor);
+
+ const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+
+ const collectionSub = helper.rft.getCollectionObject(collectionId);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, false);
+ // Set collection sponsor:
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.true;
+ let collectionData = (await collectionSub.getData())!;
+ expect(collectionData.raw.sponsorship.Unconfirmed).to.be.eq(sponsor.address);
+ await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('ConfirmSponsorshipFail');
+
+ await collectionSub.confirmSponsorship(sponsor);
+ collectionData = (await collectionSub.getData())!;
+ expect(collectionData.raw.sponsorship.Confirmed).to.be.eq(sponsor.address);
+ expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
+ const sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
+ expect(BigInt(sponsorStruct.sub)).to.be.equal(BigInt('0x' + Buffer.from(sponsor.addressRaw).toString('hex')));
+
+ const user = helper.eth.createAccount();
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ await collectionEvm.methods.addCollectionAdminCross(userCross).send();
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(sponsor.address);
+
+ const mintingResult = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
+ const tokenId = mintingResult.events.Transfer.returnValues.tokenId;
+
+ const events = helper.eth.normalizeEvents(mintingResult.events);
+
+ expect(events).to.deep.include({
+ address: collectionAddress,
+ event: 'Transfer',
+ args: {
+ from: '0x0000000000000000000000000000000000000000',
+ to: user,
+ tokenId: '1',
+ },
+ });
+ expect(await collectionEvm.methods.tokenURI(tokenId).call({from: user})).to.be.equal('Test URI');
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(sponsor.address);
+ expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
+ });
+
+ itEth('Sponsoring collection from substrate address via access list', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const user = helper.eth.createAccount();
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ const sponsor = alice;
+ const sponsorCross = helper.ethCrossAccount.fromKeyringPair(sponsor);
+
+ const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, false);
+
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send({from: owner});
+
+ const collectionSub = helper.rft.getCollectionObject(collectionId);
+ await collectionSub.confirmSponsorship(sponsor);
+
+ const nextTokenId = await collectionEvm.methods.nextTokenId().call();
+ expect(nextTokenId).to.be.equal('1');
+
+ await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});
+
+ await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});
+ await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(sponsor.address);
+ const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ {
+ const nextTokenId = await collectionEvm.methods.nextTokenId().call();
+ expect(nextTokenId).to.be.equal('1');
+ const mintingResult = await collectionEvm.methods.mintWithTokenURI(
+ user,
+ 'Test URI',
+ ).send({from: user});
+
+ const events = helper.eth.normalizeEvents(mintingResult.events);
+
+
+ expect(events).to.deep.include({
+ address: collectionAddress,
+ event: 'Transfer',
+ args: {
+ from: '0x0000000000000000000000000000000000000000',
+ to: user,
+ tokenId: nextTokenId,
+ },
+ });
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(sponsor.address);
+ const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
+ expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
+ expect(userBalanceAfter).to.be.eq(userBalanceBefore);
+ expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
+ }
+ });
+
+ itEth('Can reassign collection sponsor', async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+ const sponsorEth = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCrossEth = helper.ethCrossAccount.fromAddress(sponsorEth);
+ const [sponsorSub] = await helper.arrange.createAccounts([100n], donor);
+ const sponsorCrossSub = helper.ethCrossAccount.fromKeyringPair(sponsorSub);
+
+ const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+ const collectionSub = helper.rft.getCollectionObject(collectionId);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
+
+ // Set and confirm sponsor:
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCrossEth).send({from: owner});
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsorEth});
+
+ // Can reassign sponsor:
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCrossSub).send({from: owner});
+ const collectionSponsor = (await collectionSub.getData())?.raw.sponsorship;
+ expect(collectionSponsor).to.deep.eq({Unconfirmed: sponsorSub.address});
+ });
+
+ [
+ 'transfer',
+ 'transferCross',
+ 'transferFrom',
+ 'transferFromCross',
+ ].map(testCase =>
+ itEth(`[${testCase}] Check that transfer via EVM spend money from sponsor address`, async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const {collectionAddress} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
+ const receiver = await helper.eth.createAccountWithBalance(donor);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
+
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
+
+ const user = await helper.eth.createAccountWithBalance(donor);
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ await collectionEvm.methods.addCollectionAdminCross(userCross).send();
+
+ const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
+ const tokenId = result.events.Transfer.returnValues.tokenId;
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ switch (testCase) {
+ case 'transfer':
+ await collectionEvm.methods.transfer(receiver, tokenId).send({from: user});
+ break;
+ case 'transferCross':
+ await collectionEvm.methods.transferCross(helper.ethCrossAccount.fromAddress(receiver), tokenId).send({from: user});
+ break;
+ case 'transferFrom':
+ await collectionEvm.methods.transferFrom(user, receiver, tokenId).send({from: user});
+ break;
+ case 'transferFromCross':
+ await collectionEvm.methods.transferFromCross(helper.ethCrossAccount.fromAddress(user), helper.ethCrossAccount.fromAddress(receiver), tokenId).send({from: user});
+ break;
+ }
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
+ const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+ expect(userBalanceAfter).to.be.eq(userBalanceBefore);
+ }));
+});
+
+describe('evm RFT token sponsoring', () => {
+ let donor: IKeyringPair;
+
+ before(async function() {
+ await usingPlaygrounds(async (helper, privateKey) => {
+ requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
+ donor = await privateKey({filename: __filename});
+ });
+ });
+
+ [
+ 'transfer',
+ 'transferCross',
+ 'transferFrom',
+ 'transferFromCross',
+ ].map(testCase =>
+ itEth(`[${testCase}] Check that token piece transfer via EVM spend money from sponsor address`, async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
+ const receiver = await helper.eth.createAccountWithBalance(donor);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
+
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
+
+ const user = await helper.eth.createAccountWithBalance(donor);
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ await collectionEvm.methods.addCollectionAdminCross(userCross).send();
+
+ const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
+ const tokenId = result.events.Transfer.returnValues.tokenId;
+
+ const tokenContract = await helper.ethNativeContract.rftTokenById(collectionId, tokenId, user);
+ await tokenContract.methods.repartition(2).send();
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ switch (testCase) {
+ case 'transfer':
+ await tokenContract.methods.transfer(receiver, 1).send();
+ break;
+ case 'transferCross':
+ await tokenContract.methods.transferCross(helper.ethCrossAccount.fromAddress(receiver), 1).send();
+ break;
+ case 'transferFrom':
+ await tokenContract.methods.transferFrom(user, receiver, 1).send();
+ break;
+ case 'transferFromCross':
+ await tokenContract.methods.transferFromCross(helper.ethCrossAccount.fromAddress(user), helper.ethCrossAccount.fromAddress(receiver), 1).send();
+ break;
+ }
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
+ const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+ expect(userBalanceAfter).to.be.eq(userBalanceBefore);
+ }));
+
+ [
+ 'approve',
+ 'approveCross',
+ ].map(testCase =>
+ itEth(`[${testCase}] Check that approve via EVM spend money from sponsor address`, async ({helper}) => {
+ const owner = await helper.eth.createAccountWithBalance(donor);
+
+ const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
+ const sponsor = await helper.eth.createAccountWithBalance(donor);
+ const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
+ const receiver = await helper.eth.createAccountWithBalance(donor);
+ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
+
+ await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
+ await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
+
+ const user = await helper.eth.createAccountWithBalance(donor);
+ const userCross = helper.ethCrossAccount.fromAddress(user);
+ await collectionEvm.methods.addCollectionAdminCross(userCross).send();
+
+ const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
+ const tokenId = result.events.Transfer.returnValues.tokenId;
+
+ const tokenContract = await helper.ethNativeContract.rftTokenById(collectionId, tokenId, user);
+ await tokenContract.methods.repartition(2).send();
+
+ const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+
+ switch (testCase) {
+ case 'approve':
+ await tokenContract.methods.approve(receiver, 1).send();
+ break;
+ case 'approveCross':
+ await tokenContract.methods.approveCross(helper.ethCrossAccount.fromAddress(receiver), 1).send();
+ break;
+ }
+
+ const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
+ expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
+ const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
+ expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
+ const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
+ expect(userBalanceAfter).to.be.eq(userBalanceBefore);
+ }));
+});
+
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -304,6 +304,10 @@
**/
Reentrancy: AugmentedError<ApiType>;
/**
+ * EIP-3607,
+ **/
+ TransactionMustComeFromEOA: AugmentedError<ApiType>;
+ /**
* Undefined error.
**/
Undefined: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -9,7 +9,7 @@
import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -88,6 +88,10 @@
**/
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
+ * The total units of outstanding deactivated balance in the system.
+ **/
+ inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
* Any liquidity locks on some account balances.
* NOTE: Should only be accessed when setting, changing and freeing a lock.
**/
@@ -96,12 +100,6 @@
* Named reserves on some account balances.
**/
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
- /**
- * Storage version of the pallet.
- *
- * This is set to v2.0.0 for new networks.
- **/
- storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The total units issued in the system.
**/
@@ -853,6 +851,10 @@
**/
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
+ * The amount which has been reported as inactive to Currency.
+ **/
+ inactive: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
+ /**
* Number of proposals that have been made.
**/
proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -8,7 +8,7 @@
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
-import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
+import type { AccountId32, Call, H160, H256, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';
import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
@@ -905,10 +905,6 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
system: {
- /**
- * A dispatch that will fill the block weight up to the given ratio.
- **/
- fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
/**
* Kill all storage items with a key that starts with the given prefix.
*
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, PalletBalancesReleases, 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, PalletRefungibleItemData, 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, PalletRefungibleItemData, 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 { 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';
@@ -823,7 +823,6 @@
PalletBalancesError: PalletBalancesError;
PalletBalancesEvent: PalletBalancesEvent;
PalletBalancesReasons: PalletBalancesReasons;
- PalletBalancesReleases: PalletBalancesReleases;
PalletBalancesReserveData: PalletBalancesReserveData;
PalletCallMetadataLatest: PalletCallMetadataLatest;
PalletCallMetadataV14: PalletCallMetadataV14;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -557,10 +557,6 @@
/** @name FrameSystemCall */
export interface FrameSystemCall extends Enum {
- readonly isFillBlock: boolean;
- readonly asFillBlock: {
- readonly ratio: Perbill;
- } & Struct;
readonly isRemark: boolean;
readonly asRemark: {
readonly remark: Bytes;
@@ -594,7 +590,7 @@
readonly asRemarkWithEvent: {
readonly remark: Bytes;
} & Struct;
- readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
+ readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
}
/** @name FrameSystemError */
@@ -1186,13 +1182,6 @@
readonly isMisc: boolean;
readonly isAll: boolean;
readonly type: 'Fee' | 'Misc' | 'All';
-}
-
-/** @name PalletBalancesReleases */
-export interface PalletBalancesReleases extends Enum {
- readonly isV100: boolean;
- readonly isV200: boolean;
- readonly type: 'V100' | 'V200';
}
/** @name PalletBalancesReserveData */
@@ -1457,7 +1446,8 @@
readonly isGasLimitTooHigh: boolean;
readonly isUndefined: boolean;
readonly isReentrancy: boolean;
- readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';
+ readonly isTransactionMustComeFromEOA: boolean;
+ readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
}
/** @name PalletEvmEvent */
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1329,9 +1329,6 @@
**/
FrameSystemCall: {
_enum: {
- fill_block: {
- ratio: 'Perbill',
- },
remark: {
remark: 'Bytes',
},
@@ -1363,7 +1360,7 @@
}
},
/**
- * Lookup130: frame_system::limits::BlockWeights
+ * Lookup129: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'SpWeightsWeightV2Weight',
@@ -1371,7 +1368,7 @@
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
},
/**
- * Lookup131: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup130: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1379,7 +1376,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup132: frame_system::limits::WeightsPerClass
+ * Lookup131: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'SpWeightsWeightV2Weight',
@@ -1388,13 +1385,13 @@
reserved: 'Option<SpWeightsWeightV2Weight>'
},
/**
- * Lookup134: frame_system::limits::BlockLength
+ * Lookup133: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportDispatchPerDispatchClassU32'
},
/**
- * Lookup135: frame_support::dispatch::PerDispatchClass<T>
+ * Lookup134: frame_support::dispatch::PerDispatchClass<T>
**/
FrameSupportDispatchPerDispatchClassU32: {
normal: 'u32',
@@ -1402,14 +1399,14 @@
mandatory: 'u32'
},
/**
- * Lookup136: sp_weights::RuntimeDbWeight
+ * Lookup135: sp_weights::RuntimeDbWeight
**/
SpWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup137: sp_version::RuntimeVersion
+ * Lookup136: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1422,13 +1419,13 @@
stateVersion: 'u8'
},
/**
- * Lookup142: frame_system::pallet::Error<T>
+ * Lookup141: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup143: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
+ * Lookup142: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV2PersistedValidationData: {
parentHead: 'Bytes',
@@ -1437,19 +1434,19 @@
maxPovSize: 'u32'
},
/**
- * Lookup146: polkadot_primitives::v2::UpgradeRestriction
+ * Lookup145: polkadot_primitives::v2::UpgradeRestriction
**/
PolkadotPrimitivesV2UpgradeRestriction: {
_enum: ['Present']
},
/**
- * Lookup147: sp_trie::storage_proof::StorageProof
+ * Lookup146: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
- * Lookup149: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
+ * Lookup148: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -1458,7 +1455,7 @@
egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
},
/**
- * Lookup152: polkadot_primitives::v2::AbridgedHrmpChannel
+ * Lookup151: polkadot_primitives::v2::AbridgedHrmpChannel
**/
PolkadotPrimitivesV2AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -1469,7 +1466,7 @@
mqcHead: 'Option<H256>'
},
/**
- * Lookup153: polkadot_primitives::v2::AbridgedHostConfiguration
+ * Lookup152: polkadot_primitives::v2::AbridgedHostConfiguration
**/
PolkadotPrimitivesV2AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -1483,14 +1480,14 @@
validationUpgradeDelay: 'u32'
},
/**
- * Lookup159: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
+ * Lookup158: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/
PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32',
data: 'Bytes'
},
/**
- * Lookup160: cumulus_pallet_parachain_system::pallet::Call<T>
+ * Lookup159: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -1509,7 +1506,7 @@
}
},
/**
- * Lookup161: cumulus_primitives_parachain_inherent::ParachainInherentData
+ * Lookup160: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV2PersistedValidationData',
@@ -1518,27 +1515,27 @@
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
- * Lookup163: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
+ * Lookup162: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
- * Lookup166: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
+ * Lookup165: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
- * Lookup169: cumulus_pallet_parachain_system::pallet::Error<T>
+ * Lookup168: cumulus_pallet_parachain_system::pallet::Error<T>
**/
CumulusPalletParachainSystemError: {
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
},
/**
- * Lookup171: pallet_balances::BalanceLock<Balance>
+ * Lookup170: pallet_balances::BalanceLock<Balance>
**/
PalletBalancesBalanceLock: {
id: '[u8;8]',
@@ -1546,26 +1543,20 @@
reasons: 'PalletBalancesReasons'
},
/**
- * Lookup172: pallet_balances::Reasons
+ * Lookup171: pallet_balances::Reasons
**/
PalletBalancesReasons: {
_enum: ['Fee', 'Misc', 'All']
},
/**
- * Lookup175: pallet_balances::ReserveData<ReserveIdentifier, Balance>
+ * Lookup174: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/
PalletBalancesReserveData: {
id: '[u8;16]',
amount: 'u128'
},
/**
- * Lookup177: pallet_balances::Releases
- **/
- PalletBalancesReleases: {
- _enum: ['V1_0_0', 'V2_0_0']
- },
- /**
- * Lookup178: pallet_balances::pallet::Call<T, I>
+ * Lookup176: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1598,13 +1589,13 @@
}
},
/**
- * Lookup181: pallet_balances::pallet::Error<T, I>
+ * Lookup179: pallet_balances::pallet::Error<T, I>
**/
PalletBalancesError: {
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup183: pallet_timestamp::pallet::Call<T>
+ * Lookup181: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1614,13 +1605,13 @@
}
},
/**
- * Lookup185: pallet_transaction_payment::Releases
+ * Lookup183: pallet_transaction_payment::Releases
**/
PalletTransactionPaymentReleases: {
_enum: ['V1Ancient', 'V2']
},
/**
- * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
+ * Lookup184: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/
PalletTreasuryProposal: {
proposer: 'AccountId32',
@@ -1629,7 +1620,7 @@
bond: 'u128'
},
/**
- * Lookup189: pallet_treasury::pallet::Call<T, I>
+ * Lookup187: pallet_treasury::pallet::Call<T, I>
**/
PalletTreasuryCall: {
_enum: {
@@ -1653,17 +1644,17 @@
}
},
/**
- * Lookup192: frame_support::PalletId
+ * Lookup190: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
- * Lookup193: pallet_treasury::pallet::Error<T, I>
+ * Lookup191: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
},
/**
- * Lookup194: pallet_sudo::pallet::Call<T>
+ * Lookup192: pallet_sudo::pallet::Call<T>
**/
PalletSudoCall: {
_enum: {
@@ -1687,7 +1678,7 @@
}
},
/**
- * Lookup196: orml_vesting::module::Call<T>
+ * Lookup194: orml_vesting::module::Call<T>
**/
OrmlVestingModuleCall: {
_enum: {
@@ -1706,7 +1697,7 @@
}
},
/**
- * Lookup198: orml_xtokens::module::Call<T>
+ * Lookup196: orml_xtokens::module::Call<T>
**/
OrmlXtokensModuleCall: {
_enum: {
@@ -1749,7 +1740,7 @@
}
},
/**
- * Lookup199: xcm::VersionedMultiAsset
+ * Lookup197: xcm::VersionedMultiAsset
**/
XcmVersionedMultiAsset: {
_enum: {
@@ -1758,7 +1749,7 @@
}
},
/**
- * Lookup202: orml_tokens::module::Call<T>
+ * Lookup200: orml_tokens::module::Call<T>
**/
OrmlTokensModuleCall: {
_enum: {
@@ -1792,7 +1783,7 @@
}
},
/**
- * Lookup203: cumulus_pallet_xcmp_queue::pallet::Call<T>
+ * Lookup201: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -1841,7 +1832,7 @@
}
},
/**
- * Lookup204: pallet_xcm::pallet::Call<T>
+ * Lookup202: pallet_xcm::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
@@ -1895,7 +1886,7 @@
}
},
/**
- * Lookup205: xcm::VersionedXcm<RuntimeCall>
+ * Lookup203: xcm::VersionedXcm<RuntimeCall>
**/
XcmVersionedXcm: {
_enum: {
@@ -1905,7 +1896,7 @@
}
},
/**
- * Lookup206: xcm::v0::Xcm<RuntimeCall>
+ * Lookup204: xcm::v0::Xcm<RuntimeCall>
**/
XcmV0Xcm: {
_enum: {
@@ -1959,7 +1950,7 @@
}
},
/**
- * Lookup208: xcm::v0::order::Order<RuntimeCall>
+ * Lookup206: xcm::v0::order::Order<RuntimeCall>
**/
XcmV0Order: {
_enum: {
@@ -2002,7 +1993,7 @@
}
},
/**
- * Lookup210: xcm::v0::Response
+ * Lookup208: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
@@ -2010,7 +2001,7 @@
}
},
/**
- * Lookup211: xcm::v1::Xcm<RuntimeCall>
+ * Lookup209: xcm::v1::Xcm<RuntimeCall>
**/
XcmV1Xcm: {
_enum: {
@@ -2069,7 +2060,7 @@
}
},
/**
- * Lookup213: xcm::v1::order::Order<RuntimeCall>
+ * Lookup211: xcm::v1::order::Order<RuntimeCall>
**/
XcmV1Order: {
_enum: {
@@ -2114,7 +2105,7 @@
}
},
/**
- * Lookup215: xcm::v1::Response
+ * Lookup213: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
@@ -2123,11 +2114,11 @@
}
},
/**
- * Lookup229: cumulus_pallet_xcm::pallet::Call<T>
+ * Lookup227: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
- * Lookup230: cumulus_pallet_dmp_queue::pallet::Call<T>
+ * Lookup228: cumulus_pallet_dmp_queue::pallet::Call<T>
**/
CumulusPalletDmpQueueCall: {
_enum: {
@@ -2138,7 +2129,7 @@
}
},
/**
- * Lookup231: pallet_inflation::pallet::Call<T>
+ * Lookup229: pallet_inflation::pallet::Call<T>
**/
PalletInflationCall: {
_enum: {
@@ -2148,7 +2139,7 @@
}
},
/**
- * Lookup232: pallet_unique::Call<T>
+ * Lookup230: pallet_unique::Call<T>
**/
PalletUniqueCall: {
_enum: {
@@ -2292,7 +2283,7 @@
}
},
/**
- * Lookup237: up_data_structs::CollectionMode
+ * Lookup235: up_data_structs::CollectionMode
**/
UpDataStructsCollectionMode: {
_enum: {
@@ -2302,7 +2293,7 @@
}
},
/**
- * Lookup238: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
+ * Lookup236: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
**/
UpDataStructsCreateCollectionData: {
mode: 'UpDataStructsCollectionMode',
@@ -2317,13 +2308,13 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup240: up_data_structs::AccessMode
+ * Lookup238: up_data_structs::AccessMode
**/
UpDataStructsAccessMode: {
_enum: ['Normal', 'AllowList']
},
/**
- * Lookup242: up_data_structs::CollectionLimits
+ * Lookup240: up_data_structs::CollectionLimits
**/
UpDataStructsCollectionLimits: {
accountTokenOwnershipLimit: 'Option<u32>',
@@ -2337,7 +2328,7 @@
transfersEnabled: 'Option<bool>'
},
/**
- * Lookup244: up_data_structs::SponsoringRateLimit
+ * Lookup242: up_data_structs::SponsoringRateLimit
**/
UpDataStructsSponsoringRateLimit: {
_enum: {
@@ -2346,7 +2337,7 @@
}
},
/**
- * Lookup247: up_data_structs::CollectionPermissions
+ * Lookup245: up_data_structs::CollectionPermissions
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
@@ -2354,7 +2345,7 @@
nesting: 'Option<UpDataStructsNestingPermissions>'
},
/**
- * Lookup249: up_data_structs::NestingPermissions
+ * Lookup247: up_data_structs::NestingPermissions
**/
UpDataStructsNestingPermissions: {
tokenOwner: 'bool',
@@ -2362,18 +2353,18 @@
restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
},
/**
- * Lookup251: up_data_structs::OwnerRestrictedSet
+ * Lookup249: up_data_structs::OwnerRestrictedSet
**/
UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
/**
- * Lookup256: up_data_structs::PropertyKeyPermission
+ * Lookup254: up_data_structs::PropertyKeyPermission
**/
UpDataStructsPropertyKeyPermission: {
key: 'Bytes',
permission: 'UpDataStructsPropertyPermission'
},
/**
- * Lookup257: up_data_structs::PropertyPermission
+ * Lookup255: up_data_structs::PropertyPermission
**/
UpDataStructsPropertyPermission: {
mutable: 'bool',
@@ -2381,14 +2372,14 @@
tokenOwner: 'bool'
},
/**
- * Lookup260: up_data_structs::Property
+ * Lookup258: up_data_structs::Property
**/
UpDataStructsProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup263: up_data_structs::CreateItemData
+ * Lookup261: up_data_structs::CreateItemData
**/
UpDataStructsCreateItemData: {
_enum: {
@@ -2398,26 +2389,26 @@
}
},
/**
- * Lookup264: up_data_structs::CreateNftData
+ * Lookup262: up_data_structs::CreateNftData
**/
UpDataStructsCreateNftData: {
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup265: up_data_structs::CreateFungibleData
+ * Lookup263: up_data_structs::CreateFungibleData
**/
UpDataStructsCreateFungibleData: {
value: 'u128'
},
/**
- * Lookup266: up_data_structs::CreateReFungibleData
+ * Lookup264: up_data_structs::CreateReFungibleData
**/
UpDataStructsCreateReFungibleData: {
pieces: 'u128',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup269: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup267: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateItemExData: {
_enum: {
@@ -2428,14 +2419,14 @@
}
},
/**
- * Lookup271: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup269: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateNftExData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup278: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup276: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExSingleOwner: {
user: 'PalletEvmAccountBasicCrossAccountIdRepr',
@@ -2443,14 +2434,14 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup280: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup278: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsCreateRefungibleExMultipleOwners: {
users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup281: pallet_configuration::pallet::Call<T>
+ * Lookup279: pallet_configuration::pallet::Call<T>
**/
PalletConfigurationCall: {
_enum: {
@@ -2469,7 +2460,7 @@
}
},
/**
- * Lookup286: pallet_configuration::AppPromotionConfiguration<BlockNumber>
+ * Lookup284: pallet_configuration::AppPromotionConfiguration<BlockNumber>
**/
PalletConfigurationAppPromotionConfiguration: {
recalculationInterval: 'Option<u32>',
@@ -2478,15 +2469,15 @@
maxStakersPerCalculation: 'Option<u8>'
},
/**
- * Lookup289: pallet_template_transaction_payment::Call<T>
+ * Lookup288: pallet_template_transaction_payment::Call<T>
**/
PalletTemplateTransactionPaymentCall: 'Null',
/**
- * Lookup290: pallet_structure::pallet::Call<T>
+ * Lookup289: pallet_structure::pallet::Call<T>
**/
PalletStructureCall: 'Null',
/**
- * Lookup291: pallet_rmrk_core::pallet::Call<T>
+ * Lookup290: pallet_rmrk_core::pallet::Call<T>
**/
PalletRmrkCoreCall: {
_enum: {
@@ -2577,7 +2568,7 @@
}
},
/**
- * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup296: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceTypes: {
_enum: {
@@ -2587,7 +2578,7 @@
}
},
/**
- * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup298: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceBasicResource: {
src: 'Option<Bytes>',
@@ -2596,7 +2587,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup300: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceComposableResource: {
parts: 'Vec<u32>',
@@ -2607,7 +2598,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup301: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceSlotResource: {
base: 'u32',
@@ -2618,7 +2609,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup305: pallet_rmrk_equip::pallet::Call<T>
+ * Lookup304: pallet_rmrk_equip::pallet::Call<T>
**/
PalletRmrkEquipCall: {
_enum: {
@@ -2639,7 +2630,7 @@
}
},
/**
- * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup307: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartPartType: {
_enum: {
@@ -2648,7 +2639,7 @@
}
},
/**
- * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup309: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartFixedPart: {
id: 'u32',
@@ -2656,7 +2647,7 @@
src: 'Bytes'
},
/**
- * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup310: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartSlotPart: {
id: 'u32',
@@ -2665,7 +2656,7 @@
z: 'u32'
},
/**
- * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup311: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPartEquippableList: {
_enum: {
@@ -2675,7 +2666,7 @@
}
},
/**
- * Lookup314: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
+ * Lookup313: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>
**/
RmrkTraitsTheme: {
name: 'Bytes',
@@ -2683,14 +2674,14 @@
inherit: 'bool'
},
/**
- * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup315: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsThemeThemeProperty: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup318: pallet_app_promotion::pallet::Call<T>
+ * Lookup317: pallet_app_promotion::pallet::Call<T>
**/
PalletAppPromotionCall: {
_enum: {
@@ -2719,7 +2710,7 @@
}
},
/**
- * Lookup319: pallet_foreign_assets::module::Call<T>
+ * Lookup318: pallet_foreign_assets::module::Call<T>
**/
PalletForeignAssetsModuleCall: {
_enum: {
@@ -2736,7 +2727,7 @@
}
},
/**
- * Lookup320: pallet_evm::pallet::Call<T>
+ * Lookup319: pallet_evm::pallet::Call<T>
**/
PalletEvmCall: {
_enum: {
@@ -2779,7 +2770,7 @@
}
},
/**
- * Lookup326: pallet_ethereum::pallet::Call<T>
+ * Lookup325: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -2789,7 +2780,7 @@
}
},
/**
- * Lookup327: ethereum::transaction::TransactionV2
+ * Lookup326: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -2799,7 +2790,7 @@
}
},
/**
- * Lookup328: ethereum::transaction::LegacyTransaction
+ * Lookup327: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -2811,7 +2802,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup329: ethereum::transaction::TransactionAction
+ * Lookup328: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -2820,7 +2811,7 @@
}
},
/**
- * Lookup330: ethereum::transaction::TransactionSignature
+ * Lookup329: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -2828,7 +2819,7 @@
s: 'H256'
},
/**
- * Lookup332: ethereum::transaction::EIP2930Transaction
+ * Lookup331: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -2844,14 +2835,14 @@
s: 'H256'
},
/**
- * Lookup334: ethereum::transaction::AccessListItem
+ * Lookup333: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup335: ethereum::transaction::EIP1559Transaction
+ * Lookup334: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -2868,7 +2859,7 @@
s: 'H256'
},
/**
- * Lookup336: pallet_evm_migration::pallet::Call<T>
+ * Lookup335: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -2892,13 +2883,13 @@
}
},
/**
- * Lookup340: pallet_maintenance::pallet::Call<T>
+ * Lookup339: pallet_maintenance::pallet::Call<T>
**/
PalletMaintenanceCall: {
_enum: ['enable', 'disable']
},
/**
- * Lookup341: pallet_test_utils::pallet::Call<T>
+ * Lookup340: pallet_test_utils::pallet::Call<T>
**/
PalletTestUtilsCall: {
_enum: {
@@ -2917,32 +2908,32 @@
}
},
/**
- * Lookup343: pallet_sudo::pallet::Error<T>
+ * Lookup342: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup345: orml_vesting::module::Error<T>
+ * Lookup344: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup346: orml_xtokens::module::Error<T>
+ * Lookup345: orml_xtokens::module::Error<T>
**/
OrmlXtokensModuleError: {
_enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
},
/**
- * Lookup349: orml_tokens::BalanceLock<Balance>
+ * Lookup348: orml_tokens::BalanceLock<Balance>
**/
OrmlTokensBalanceLock: {
id: '[u8;8]',
amount: 'u128'
},
/**
- * Lookup351: orml_tokens::AccountData<Balance>
+ * Lookup350: orml_tokens::AccountData<Balance>
**/
OrmlTokensAccountData: {
free: 'u128',
@@ -2950,20 +2941,20 @@
frozen: 'u128'
},
/**
- * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>
+ * Lookup352: orml_tokens::ReserveData<ReserveIdentifier, Balance>
**/
OrmlTokensReserveData: {
id: 'Null',
amount: 'u128'
},
/**
- * Lookup355: orml_tokens::module::Error<T>
+ * Lookup354: orml_tokens::module::Error<T>
**/
OrmlTokensModuleError: {
_enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
},
/**
- * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup356: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2971,19 +2962,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup358: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup357: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup360: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup363: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2993,13 +2984,13 @@
lastIndex: 'u16'
},
/**
- * Lookup365: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup364: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup366: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -3010,29 +3001,29 @@
xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup368: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup370: pallet_xcm::pallet::Error<T>
+ * Lookup369: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup371: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup370: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup372: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup371: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'SpWeightsWeightV2Weight'
},
/**
- * Lookup373: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup372: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -3040,25 +3031,25 @@
overweightCount: 'u64'
},
/**
- * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup375: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup380: pallet_unique::Error<T>
+ * Lookup379: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
},
/**
- * Lookup381: pallet_configuration::pallet::Error<T>
+ * Lookup380: pallet_configuration::pallet::Error<T>
**/
PalletConfigurationError: {
_enum: ['InconsistentConfiguration']
},
/**
- * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup381: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -3072,7 +3063,7 @@
flags: '[u8;1]'
},
/**
- * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup382: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipStateAccountId32: {
_enum: {
@@ -3082,7 +3073,7 @@
}
},
/**
- * Lookup385: up_data_structs::Properties
+ * Lookup384: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -3090,15 +3081,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup385: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup390: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup398: up_data_structs::CollectionStats
+ * Lookup397: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -3106,18 +3097,18 @@
alive: 'u32'
},
/**
- * Lookup399: up_data_structs::TokenChild
+ * Lookup398: up_data_structs::TokenChild
**/
UpDataStructsTokenChild: {
token: 'u32',
collection: 'u32'
},
/**
- * Lookup400: PhantomType::up_data_structs<T>
+ * Lookup399: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
/**
- * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup401: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
@@ -3125,7 +3116,7 @@
pieces: 'u128'
},
/**
- * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup403: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -3142,14 +3133,14 @@
flags: 'UpDataStructsRpcCollectionFlags'
},
/**
- * Lookup405: up_data_structs::RpcCollectionFlags
+ * Lookup404: up_data_structs::RpcCollectionFlags
**/
UpDataStructsRpcCollectionFlags: {
foreign: 'bool',
erc721metadata: 'bool'
},
/**
- * Lookup406: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup405: rmrk_traits::collection::CollectionInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
RmrkTraitsCollectionCollectionInfo: {
issuer: 'AccountId32',
@@ -3159,7 +3150,7 @@
nftsCount: 'u32'
},
/**
- * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup406: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsNftNftInfo: {
owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
@@ -3169,14 +3160,14 @@
pending: 'bool'
},
/**
- * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup408: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
RmrkTraitsNftRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup409: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsResourceResourceInfo: {
id: 'u32',
@@ -3185,14 +3176,14 @@
pendingRemoval: 'bool'
},
/**
- * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup410: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsPropertyPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
+ * Lookup411: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/
RmrkTraitsBaseBaseInfo: {
issuer: 'AccountId32',
@@ -3200,92 +3191,92 @@
symbol: 'Bytes'
},
/**
- * Lookup413: rmrk_traits::nft::NftChild
+ * Lookup412: rmrk_traits::nft::NftChild
**/
RmrkTraitsNftNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup415: pallet_common::pallet::Error<T>
+ * Lookup414: 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']
},
/**
- * Lookup417: pallet_fungible::pallet::Error<T>
+ * Lookup416: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
},
/**
- * Lookup418: pallet_refungible::ItemData
+ * Lookup417: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup423: pallet_refungible::pallet::Error<T>
+ * Lookup422: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup424: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup423: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup426: up_data_structs::PropertyScope
+ * Lookup425: up_data_structs::PropertyScope
**/
UpDataStructsPropertyScope: {
_enum: ['None', 'Rmrk']
},
/**
- * Lookup428: pallet_nonfungible::pallet::Error<T>
+ * Lookup427: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
_enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup429: pallet_structure::pallet::Error<T>
+ * Lookup428: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
},
/**
- * Lookup430: pallet_rmrk_core::pallet::Error<T>
+ * Lookup429: 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']
},
/**
- * Lookup432: pallet_rmrk_equip::pallet::Error<T>
+ * Lookup431: pallet_rmrk_equip::pallet::Error<T>
**/
PalletRmrkEquipError: {
_enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
},
/**
- * Lookup438: pallet_app_promotion::pallet::Error<T>
+ * Lookup437: pallet_app_promotion::pallet::Error<T>
**/
PalletAppPromotionError: {
_enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
},
/**
- * Lookup439: pallet_foreign_assets::module::Error<T>
+ * Lookup438: pallet_foreign_assets::module::Error<T>
**/
PalletForeignAssetsModuleError: {
_enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
},
/**
- * Lookup441: pallet_evm::pallet::Error<T>
+ * Lookup440: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
- _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']
+ _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
},
/**
- * Lookup444: fp_rpc::TransactionStatus
+ * Lookup443: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -3297,11 +3288,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup446: ethbloom::Bloom
+ * Lookup445: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup448: ethereum::receipt::ReceiptV3
+ * Lookup447: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -3311,7 +3302,7 @@
}
},
/**
- * Lookup449: ethereum::receipt::EIP658ReceiptData
+ * Lookup448: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -3320,7 +3311,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup450: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup449: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -3328,7 +3319,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup451: ethereum::header::Header
+ * Lookup450: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -3348,23 +3339,23 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup452: ethereum_types::hash::H64
+ * Lookup451: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup457: pallet_ethereum::pallet::Error<T>
+ * Lookup456: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup458: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup457: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup459: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup458: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
_enum: {
@@ -3374,35 +3365,35 @@
}
},
/**
- * Lookup460: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup459: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup466: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup465: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
},
/**
- * Lookup467: pallet_evm_migration::pallet::Error<T>
+ * Lookup466: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
},
/**
- * Lookup468: pallet_maintenance::pallet::Error<T>
+ * Lookup467: pallet_maintenance::pallet::Error<T>
**/
PalletMaintenanceError: 'Null',
/**
- * Lookup469: pallet_test_utils::pallet::Error<T>
+ * Lookup468: pallet_test_utils::pallet::Error<T>
**/
PalletTestUtilsError: {
_enum: ['TestPalletDisabled', 'TriggerRollback']
},
/**
- * Lookup471: sp_runtime::MultiSignature
+ * Lookup470: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -3412,51 +3403,51 @@
}
},
/**
- * Lookup472: sp_core::ed25519::Signature
+ * Lookup471: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup474: sp_core::sr25519::Signature
+ * Lookup473: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup475: sp_core::ecdsa::Signature
+ * Lookup474: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup478: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup477: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup479: frame_system::extensions::check_tx_version::CheckTxVersion<T>
+ * Lookup478: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
- * Lookup480: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup479: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup483: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup482: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup484: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup483: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup485: opal_runtime::runtime_common::maintenance::CheckMaintenance
+ * Lookup484: opal_runtime::runtime_common::maintenance::CheckMaintenance
**/
OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
/**
- * Lookup486: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup485: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup487: opal_runtime::Runtime
+ * Lookup486: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup488: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup487: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
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, PalletBalancesReleases, 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, PalletRefungibleItemData, 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, PalletRefungibleItemData, 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';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -97,7 +97,6 @@
PalletBalancesError: PalletBalancesError;
PalletBalancesEvent: PalletBalancesEvent;
PalletBalancesReasons: PalletBalancesReasons;
- PalletBalancesReleases: PalletBalancesReleases;
PalletBalancesReserveData: PalletBalancesReserveData;
PalletCommonError: PalletCommonError;
PalletCommonEvent: PalletCommonEvent;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: SpWeightsWeightV2Weight;34 readonly operational: SpWeightsWeightV2Weight;35 readonly mandatory: SpWeightsWeightV2Weight;36 }3738 /** @name SpWeightsWeightV2Weight (8) */39 interface SpWeightsWeightV2Weight extends Struct {40 readonly refTime: Compact<u64>;41 readonly proofSize: Compact<u64>;42 }4344 /** @name SpRuntimeDigest (13) */45 interface SpRuntimeDigest extends Struct {46 readonly logs: Vec<SpRuntimeDigestDigestItem>;47 }4849 /** @name SpRuntimeDigestDigestItem (15) */50 interface SpRuntimeDigestDigestItem extends Enum {51 readonly isOther: boolean;52 readonly asOther: Bytes;53 readonly isConsensus: boolean;54 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;55 readonly isSeal: boolean;56 readonly asSeal: ITuple<[U8aFixed, Bytes]>;57 readonly isPreRuntime: boolean;58 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;59 readonly isRuntimeEnvironmentUpdated: boolean;60 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';61 }6263 /** @name FrameSystemEventRecord (18) */64 interface FrameSystemEventRecord extends Struct {65 readonly phase: FrameSystemPhase;66 readonly event: Event;67 readonly topics: Vec<H256>;68 }6970 /** @name FrameSystemEvent (20) */71 interface FrameSystemEvent extends Enum {72 readonly isExtrinsicSuccess: boolean;73 readonly asExtrinsicSuccess: {74 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;75 } & Struct;76 readonly isExtrinsicFailed: boolean;77 readonly asExtrinsicFailed: {78 readonly dispatchError: SpRuntimeDispatchError;79 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;80 } & Struct;81 readonly isCodeUpdated: boolean;82 readonly isNewAccount: boolean;83 readonly asNewAccount: {84 readonly account: AccountId32;85 } & Struct;86 readonly isKilledAccount: boolean;87 readonly asKilledAccount: {88 readonly account: AccountId32;89 } & Struct;90 readonly isRemarked: boolean;91 readonly asRemarked: {92 readonly sender: AccountId32;93 readonly hash_: H256;94 } & Struct;95 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';96 }9798 /** @name FrameSupportDispatchDispatchInfo (21) */99 interface FrameSupportDispatchDispatchInfo extends Struct {100 readonly weight: SpWeightsWeightV2Weight;101 readonly class: FrameSupportDispatchDispatchClass;102 readonly paysFee: FrameSupportDispatchPays;103 }104105 /** @name FrameSupportDispatchDispatchClass (22) */106 interface FrameSupportDispatchDispatchClass extends Enum {107 readonly isNormal: boolean;108 readonly isOperational: boolean;109 readonly isMandatory: boolean;110 readonly type: 'Normal' | 'Operational' | 'Mandatory';111 }112113 /** @name FrameSupportDispatchPays (23) */114 interface FrameSupportDispatchPays extends Enum {115 readonly isYes: boolean;116 readonly isNo: boolean;117 readonly type: 'Yes' | 'No';118 }119120 /** @name SpRuntimeDispatchError (24) */121 interface SpRuntimeDispatchError extends Enum {122 readonly isOther: boolean;123 readonly isCannotLookup: boolean;124 readonly isBadOrigin: boolean;125 readonly isModule: boolean;126 readonly asModule: SpRuntimeModuleError;127 readonly isConsumerRemaining: boolean;128 readonly isNoProviders: boolean;129 readonly isTooManyConsumers: boolean;130 readonly isToken: boolean;131 readonly asToken: SpRuntimeTokenError;132 readonly isArithmetic: boolean;133 readonly asArithmetic: SpRuntimeArithmeticError;134 readonly isTransactional: boolean;135 readonly asTransactional: SpRuntimeTransactionalError;136 readonly isExhausted: boolean;137 readonly isCorruption: boolean;138 readonly isUnavailable: boolean;139 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';140 }141142 /** @name SpRuntimeModuleError (25) */143 interface SpRuntimeModuleError extends Struct {144 readonly index: u8;145 readonly error: U8aFixed;146 }147148 /** @name SpRuntimeTokenError (26) */149 interface SpRuntimeTokenError extends Enum {150 readonly isNoFunds: boolean;151 readonly isWouldDie: boolean;152 readonly isBelowMinimum: boolean;153 readonly isCannotCreate: boolean;154 readonly isUnknownAsset: boolean;155 readonly isFrozen: boolean;156 readonly isUnsupported: boolean;157 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';158 }159160 /** @name SpRuntimeArithmeticError (27) */161 interface SpRuntimeArithmeticError extends Enum {162 readonly isUnderflow: boolean;163 readonly isOverflow: boolean;164 readonly isDivisionByZero: boolean;165 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';166 }167168 /** @name SpRuntimeTransactionalError (28) */169 interface SpRuntimeTransactionalError extends Enum {170 readonly isLimitReached: boolean;171 readonly isNoLayer: boolean;172 readonly type: 'LimitReached' | 'NoLayer';173 }174175 /** @name CumulusPalletParachainSystemEvent (29) */176 interface CumulusPalletParachainSystemEvent extends Enum {177 readonly isValidationFunctionStored: boolean;178 readonly isValidationFunctionApplied: boolean;179 readonly asValidationFunctionApplied: {180 readonly relayChainBlockNum: u32;181 } & Struct;182 readonly isValidationFunctionDiscarded: boolean;183 readonly isUpgradeAuthorized: boolean;184 readonly asUpgradeAuthorized: {185 readonly codeHash: H256;186 } & Struct;187 readonly isDownwardMessagesReceived: boolean;188 readonly asDownwardMessagesReceived: {189 readonly count: u32;190 } & Struct;191 readonly isDownwardMessagesProcessed: boolean;192 readonly asDownwardMessagesProcessed: {193 readonly weightUsed: SpWeightsWeightV2Weight;194 readonly dmqHead: H256;195 } & Struct;196 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';197 }198199 /** @name PalletBalancesEvent (30) */200 interface PalletBalancesEvent extends Enum {201 readonly isEndowed: boolean;202 readonly asEndowed: {203 readonly account: AccountId32;204 readonly freeBalance: u128;205 } & Struct;206 readonly isDustLost: boolean;207 readonly asDustLost: {208 readonly account: AccountId32;209 readonly amount: u128;210 } & Struct;211 readonly isTransfer: boolean;212 readonly asTransfer: {213 readonly from: AccountId32;214 readonly to: AccountId32;215 readonly amount: u128;216 } & Struct;217 readonly isBalanceSet: boolean;218 readonly asBalanceSet: {219 readonly who: AccountId32;220 readonly free: u128;221 readonly reserved: u128;222 } & Struct;223 readonly isReserved: boolean;224 readonly asReserved: {225 readonly who: AccountId32;226 readonly amount: u128;227 } & Struct;228 readonly isUnreserved: boolean;229 readonly asUnreserved: {230 readonly who: AccountId32;231 readonly amount: u128;232 } & Struct;233 readonly isReserveRepatriated: boolean;234 readonly asReserveRepatriated: {235 readonly from: AccountId32;236 readonly to: AccountId32;237 readonly amount: u128;238 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;239 } & Struct;240 readonly isDeposit: boolean;241 readonly asDeposit: {242 readonly who: AccountId32;243 readonly amount: u128;244 } & Struct;245 readonly isWithdraw: boolean;246 readonly asWithdraw: {247 readonly who: AccountId32;248 readonly amount: u128;249 } & Struct;250 readonly isSlashed: boolean;251 readonly asSlashed: {252 readonly who: AccountId32;253 readonly amount: u128;254 } & Struct;255 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';256 }257258 /** @name FrameSupportTokensMiscBalanceStatus (31) */259 interface FrameSupportTokensMiscBalanceStatus extends Enum {260 readonly isFree: boolean;261 readonly isReserved: boolean;262 readonly type: 'Free' | 'Reserved';263 }264265 /** @name PalletTransactionPaymentEvent (32) */266 interface PalletTransactionPaymentEvent extends Enum {267 readonly isTransactionFeePaid: boolean;268 readonly asTransactionFeePaid: {269 readonly who: AccountId32;270 readonly actualFee: u128;271 readonly tip: u128;272 } & Struct;273 readonly type: 'TransactionFeePaid';274 }275276 /** @name PalletTreasuryEvent (33) */277 interface PalletTreasuryEvent extends Enum {278 readonly isProposed: boolean;279 readonly asProposed: {280 readonly proposalIndex: u32;281 } & Struct;282 readonly isSpending: boolean;283 readonly asSpending: {284 readonly budgetRemaining: u128;285 } & Struct;286 readonly isAwarded: boolean;287 readonly asAwarded: {288 readonly proposalIndex: u32;289 readonly award: u128;290 readonly account: AccountId32;291 } & Struct;292 readonly isRejected: boolean;293 readonly asRejected: {294 readonly proposalIndex: u32;295 readonly slashed: u128;296 } & Struct;297 readonly isBurnt: boolean;298 readonly asBurnt: {299 readonly burntFunds: u128;300 } & Struct;301 readonly isRollover: boolean;302 readonly asRollover: {303 readonly rolloverBalance: u128;304 } & Struct;305 readonly isDeposit: boolean;306 readonly asDeposit: {307 readonly value: u128;308 } & Struct;309 readonly isSpendApproved: boolean;310 readonly asSpendApproved: {311 readonly proposalIndex: u32;312 readonly amount: u128;313 readonly beneficiary: AccountId32;314 } & Struct;315 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';316 }317318 /** @name PalletSudoEvent (34) */319 interface PalletSudoEvent extends Enum {320 readonly isSudid: boolean;321 readonly asSudid: {322 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;323 } & Struct;324 readonly isKeyChanged: boolean;325 readonly asKeyChanged: {326 readonly oldSudoer: Option<AccountId32>;327 } & Struct;328 readonly isSudoAsDone: boolean;329 readonly asSudoAsDone: {330 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;331 } & Struct;332 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';333 }334335 /** @name OrmlVestingModuleEvent (38) */336 interface OrmlVestingModuleEvent extends Enum {337 readonly isVestingScheduleAdded: boolean;338 readonly asVestingScheduleAdded: {339 readonly from: AccountId32;340 readonly to: AccountId32;341 readonly vestingSchedule: OrmlVestingVestingSchedule;342 } & Struct;343 readonly isClaimed: boolean;344 readonly asClaimed: {345 readonly who: AccountId32;346 readonly amount: u128;347 } & Struct;348 readonly isVestingSchedulesUpdated: boolean;349 readonly asVestingSchedulesUpdated: {350 readonly who: AccountId32;351 } & Struct;352 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';353 }354355 /** @name OrmlVestingVestingSchedule (39) */356 interface OrmlVestingVestingSchedule extends Struct {357 readonly start: u32;358 readonly period: u32;359 readonly periodCount: u32;360 readonly perPeriod: Compact<u128>;361 }362363 /** @name OrmlXtokensModuleEvent (41) */364 interface OrmlXtokensModuleEvent extends Enum {365 readonly isTransferredMultiAssets: boolean;366 readonly asTransferredMultiAssets: {367 readonly sender: AccountId32;368 readonly assets: XcmV1MultiassetMultiAssets;369 readonly fee: XcmV1MultiAsset;370 readonly dest: XcmV1MultiLocation;371 } & Struct;372 readonly type: 'TransferredMultiAssets';373 }374375 /** @name XcmV1MultiassetMultiAssets (42) */376 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}377378 /** @name XcmV1MultiAsset (44) */379 interface XcmV1MultiAsset extends Struct {380 readonly id: XcmV1MultiassetAssetId;381 readonly fun: XcmV1MultiassetFungibility;382 }383384 /** @name XcmV1MultiassetAssetId (45) */385 interface XcmV1MultiassetAssetId extends Enum {386 readonly isConcrete: boolean;387 readonly asConcrete: XcmV1MultiLocation;388 readonly isAbstract: boolean;389 readonly asAbstract: Bytes;390 readonly type: 'Concrete' | 'Abstract';391 }392393 /** @name XcmV1MultiLocation (46) */394 interface XcmV1MultiLocation extends Struct {395 readonly parents: u8;396 readonly interior: XcmV1MultilocationJunctions;397 }398399 /** @name XcmV1MultilocationJunctions (47) */400 interface XcmV1MultilocationJunctions extends Enum {401 readonly isHere: boolean;402 readonly isX1: boolean;403 readonly asX1: XcmV1Junction;404 readonly isX2: boolean;405 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;406 readonly isX3: boolean;407 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;408 readonly isX4: boolean;409 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;410 readonly isX5: boolean;411 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;412 readonly isX6: boolean;413 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;414 readonly isX7: boolean;415 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;416 readonly isX8: boolean;417 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;418 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';419 }420421 /** @name XcmV1Junction (48) */422 interface XcmV1Junction extends Enum {423 readonly isParachain: boolean;424 readonly asParachain: Compact<u32>;425 readonly isAccountId32: boolean;426 readonly asAccountId32: {427 readonly network: XcmV0JunctionNetworkId;428 readonly id: U8aFixed;429 } & Struct;430 readonly isAccountIndex64: boolean;431 readonly asAccountIndex64: {432 readonly network: XcmV0JunctionNetworkId;433 readonly index: Compact<u64>;434 } & Struct;435 readonly isAccountKey20: boolean;436 readonly asAccountKey20: {437 readonly network: XcmV0JunctionNetworkId;438 readonly key: U8aFixed;439 } & Struct;440 readonly isPalletInstance: boolean;441 readonly asPalletInstance: u8;442 readonly isGeneralIndex: boolean;443 readonly asGeneralIndex: Compact<u128>;444 readonly isGeneralKey: boolean;445 readonly asGeneralKey: Bytes;446 readonly isOnlyChild: boolean;447 readonly isPlurality: boolean;448 readonly asPlurality: {449 readonly id: XcmV0JunctionBodyId;450 readonly part: XcmV0JunctionBodyPart;451 } & Struct;452 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';453 }454455 /** @name XcmV0JunctionNetworkId (50) */456 interface XcmV0JunctionNetworkId extends Enum {457 readonly isAny: boolean;458 readonly isNamed: boolean;459 readonly asNamed: Bytes;460 readonly isPolkadot: boolean;461 readonly isKusama: boolean;462 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';463 }464465 /** @name XcmV0JunctionBodyId (53) */466 interface XcmV0JunctionBodyId extends Enum {467 readonly isUnit: boolean;468 readonly isNamed: boolean;469 readonly asNamed: Bytes;470 readonly isIndex: boolean;471 readonly asIndex: Compact<u32>;472 readonly isExecutive: boolean;473 readonly isTechnical: boolean;474 readonly isLegislative: boolean;475 readonly isJudicial: boolean;476 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';477 }478479 /** @name XcmV0JunctionBodyPart (54) */480 interface XcmV0JunctionBodyPart extends Enum {481 readonly isVoice: boolean;482 readonly isMembers: boolean;483 readonly asMembers: {484 readonly count: Compact<u32>;485 } & Struct;486 readonly isFraction: boolean;487 readonly asFraction: {488 readonly nom: Compact<u32>;489 readonly denom: Compact<u32>;490 } & Struct;491 readonly isAtLeastProportion: boolean;492 readonly asAtLeastProportion: {493 readonly nom: Compact<u32>;494 readonly denom: Compact<u32>;495 } & Struct;496 readonly isMoreThanProportion: boolean;497 readonly asMoreThanProportion: {498 readonly nom: Compact<u32>;499 readonly denom: Compact<u32>;500 } & Struct;501 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';502 }503504 /** @name XcmV1MultiassetFungibility (55) */505 interface XcmV1MultiassetFungibility extends Enum {506 readonly isFungible: boolean;507 readonly asFungible: Compact<u128>;508 readonly isNonFungible: boolean;509 readonly asNonFungible: XcmV1MultiassetAssetInstance;510 readonly type: 'Fungible' | 'NonFungible';511 }512513 /** @name XcmV1MultiassetAssetInstance (56) */514 interface XcmV1MultiassetAssetInstance extends Enum {515 readonly isUndefined: boolean;516 readonly isIndex: boolean;517 readonly asIndex: Compact<u128>;518 readonly isArray4: boolean;519 readonly asArray4: U8aFixed;520 readonly isArray8: boolean;521 readonly asArray8: U8aFixed;522 readonly isArray16: boolean;523 readonly asArray16: U8aFixed;524 readonly isArray32: boolean;525 readonly asArray32: U8aFixed;526 readonly isBlob: boolean;527 readonly asBlob: Bytes;528 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';529 }530531 /** @name OrmlTokensModuleEvent (59) */532 interface OrmlTokensModuleEvent extends Enum {533 readonly isEndowed: boolean;534 readonly asEndowed: {535 readonly currencyId: PalletForeignAssetsAssetIds;536 readonly who: AccountId32;537 readonly amount: u128;538 } & Struct;539 readonly isDustLost: boolean;540 readonly asDustLost: {541 readonly currencyId: PalletForeignAssetsAssetIds;542 readonly who: AccountId32;543 readonly amount: u128;544 } & Struct;545 readonly isTransfer: boolean;546 readonly asTransfer: {547 readonly currencyId: PalletForeignAssetsAssetIds;548 readonly from: AccountId32;549 readonly to: AccountId32;550 readonly amount: u128;551 } & Struct;552 readonly isReserved: boolean;553 readonly asReserved: {554 readonly currencyId: PalletForeignAssetsAssetIds;555 readonly who: AccountId32;556 readonly amount: u128;557 } & Struct;558 readonly isUnreserved: boolean;559 readonly asUnreserved: {560 readonly currencyId: PalletForeignAssetsAssetIds;561 readonly who: AccountId32;562 readonly amount: u128;563 } & Struct;564 readonly isReserveRepatriated: boolean;565 readonly asReserveRepatriated: {566 readonly currencyId: PalletForeignAssetsAssetIds;567 readonly from: AccountId32;568 readonly to: AccountId32;569 readonly amount: u128;570 readonly status: FrameSupportTokensMiscBalanceStatus;571 } & Struct;572 readonly isBalanceSet: boolean;573 readonly asBalanceSet: {574 readonly currencyId: PalletForeignAssetsAssetIds;575 readonly who: AccountId32;576 readonly free: u128;577 readonly reserved: u128;578 } & Struct;579 readonly isTotalIssuanceSet: boolean;580 readonly asTotalIssuanceSet: {581 readonly currencyId: PalletForeignAssetsAssetIds;582 readonly amount: u128;583 } & Struct;584 readonly isWithdrawn: boolean;585 readonly asWithdrawn: {586 readonly currencyId: PalletForeignAssetsAssetIds;587 readonly who: AccountId32;588 readonly amount: u128;589 } & Struct;590 readonly isSlashed: boolean;591 readonly asSlashed: {592 readonly currencyId: PalletForeignAssetsAssetIds;593 readonly who: AccountId32;594 readonly freeAmount: u128;595 readonly reservedAmount: u128;596 } & Struct;597 readonly isDeposited: boolean;598 readonly asDeposited: {599 readonly currencyId: PalletForeignAssetsAssetIds;600 readonly who: AccountId32;601 readonly amount: u128;602 } & Struct;603 readonly isLockSet: boolean;604 readonly asLockSet: {605 readonly lockId: U8aFixed;606 readonly currencyId: PalletForeignAssetsAssetIds;607 readonly who: AccountId32;608 readonly amount: u128;609 } & Struct;610 readonly isLockRemoved: boolean;611 readonly asLockRemoved: {612 readonly lockId: U8aFixed;613 readonly currencyId: PalletForeignAssetsAssetIds;614 readonly who: AccountId32;615 } & Struct;616 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';617 }618619 /** @name PalletForeignAssetsAssetIds (60) */620 interface PalletForeignAssetsAssetIds extends Enum {621 readonly isForeignAssetId: boolean;622 readonly asForeignAssetId: u32;623 readonly isNativeAssetId: boolean;624 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;625 readonly type: 'ForeignAssetId' | 'NativeAssetId';626 }627628 /** @name PalletForeignAssetsNativeCurrency (61) */629 interface PalletForeignAssetsNativeCurrency extends Enum {630 readonly isHere: boolean;631 readonly isParent: boolean;632 readonly type: 'Here' | 'Parent';633 }634635 /** @name CumulusPalletXcmpQueueEvent (62) */636 interface CumulusPalletXcmpQueueEvent extends Enum {637 readonly isSuccess: boolean;638 readonly asSuccess: {639 readonly messageHash: Option<H256>;640 readonly weight: SpWeightsWeightV2Weight;641 } & Struct;642 readonly isFail: boolean;643 readonly asFail: {644 readonly messageHash: Option<H256>;645 readonly error: XcmV2TraitsError;646 readonly weight: SpWeightsWeightV2Weight;647 } & Struct;648 readonly isBadVersion: boolean;649 readonly asBadVersion: {650 readonly messageHash: Option<H256>;651 } & Struct;652 readonly isBadFormat: boolean;653 readonly asBadFormat: {654 readonly messageHash: Option<H256>;655 } & Struct;656 readonly isUpwardMessageSent: boolean;657 readonly asUpwardMessageSent: {658 readonly messageHash: Option<H256>;659 } & Struct;660 readonly isXcmpMessageSent: boolean;661 readonly asXcmpMessageSent: {662 readonly messageHash: Option<H256>;663 } & Struct;664 readonly isOverweightEnqueued: boolean;665 readonly asOverweightEnqueued: {666 readonly sender: u32;667 readonly sentAt: u32;668 readonly index: u64;669 readonly required: SpWeightsWeightV2Weight;670 } & Struct;671 readonly isOverweightServiced: boolean;672 readonly asOverweightServiced: {673 readonly index: u64;674 readonly used: SpWeightsWeightV2Weight;675 } & Struct;676 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';677 }678679 /** @name XcmV2TraitsError (64) */680 interface XcmV2TraitsError extends Enum {681 readonly isOverflow: boolean;682 readonly isUnimplemented: boolean;683 readonly isUntrustedReserveLocation: boolean;684 readonly isUntrustedTeleportLocation: boolean;685 readonly isMultiLocationFull: boolean;686 readonly isMultiLocationNotInvertible: boolean;687 readonly isBadOrigin: boolean;688 readonly isInvalidLocation: boolean;689 readonly isAssetNotFound: boolean;690 readonly isFailedToTransactAsset: boolean;691 readonly isNotWithdrawable: boolean;692 readonly isLocationCannotHold: boolean;693 readonly isExceedsMaxMessageSize: boolean;694 readonly isDestinationUnsupported: boolean;695 readonly isTransport: boolean;696 readonly isUnroutable: boolean;697 readonly isUnknownClaim: boolean;698 readonly isFailedToDecode: boolean;699 readonly isMaxWeightInvalid: boolean;700 readonly isNotHoldingFees: boolean;701 readonly isTooExpensive: boolean;702 readonly isTrap: boolean;703 readonly asTrap: u64;704 readonly isUnhandledXcmVersion: boolean;705 readonly isWeightLimitReached: boolean;706 readonly asWeightLimitReached: u64;707 readonly isBarrier: boolean;708 readonly isWeightNotComputable: boolean;709 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';710 }711712 /** @name PalletXcmEvent (66) */713 interface PalletXcmEvent extends Enum {714 readonly isAttempted: boolean;715 readonly asAttempted: XcmV2TraitsOutcome;716 readonly isSent: boolean;717 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;718 readonly isUnexpectedResponse: boolean;719 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;720 readonly isResponseReady: boolean;721 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;722 readonly isNotified: boolean;723 readonly asNotified: ITuple<[u64, u8, u8]>;724 readonly isNotifyOverweight: boolean;725 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;726 readonly isNotifyDispatchError: boolean;727 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;728 readonly isNotifyDecodeFailed: boolean;729 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;730 readonly isInvalidResponder: boolean;731 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;732 readonly isInvalidResponderVersion: boolean;733 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;734 readonly isResponseTaken: boolean;735 readonly asResponseTaken: u64;736 readonly isAssetsTrapped: boolean;737 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;738 readonly isVersionChangeNotified: boolean;739 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;740 readonly isSupportedVersionChanged: boolean;741 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;742 readonly isNotifyTargetSendFail: boolean;743 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;744 readonly isNotifyTargetMigrationFail: boolean;745 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;746 readonly isAssetsClaimed: boolean;747 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;748 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';749 }750751 /** @name XcmV2TraitsOutcome (67) */752 interface XcmV2TraitsOutcome extends Enum {753 readonly isComplete: boolean;754 readonly asComplete: u64;755 readonly isIncomplete: boolean;756 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;757 readonly isError: boolean;758 readonly asError: XcmV2TraitsError;759 readonly type: 'Complete' | 'Incomplete' | 'Error';760 }761762 /** @name XcmV2Xcm (68) */763 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}764765 /** @name XcmV2Instruction (70) */766 interface XcmV2Instruction extends Enum {767 readonly isWithdrawAsset: boolean;768 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;769 readonly isReserveAssetDeposited: boolean;770 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;771 readonly isReceiveTeleportedAsset: boolean;772 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;773 readonly isQueryResponse: boolean;774 readonly asQueryResponse: {775 readonly queryId: Compact<u64>;776 readonly response: XcmV2Response;777 readonly maxWeight: Compact<u64>;778 } & Struct;779 readonly isTransferAsset: boolean;780 readonly asTransferAsset: {781 readonly assets: XcmV1MultiassetMultiAssets;782 readonly beneficiary: XcmV1MultiLocation;783 } & Struct;784 readonly isTransferReserveAsset: boolean;785 readonly asTransferReserveAsset: {786 readonly assets: XcmV1MultiassetMultiAssets;787 readonly dest: XcmV1MultiLocation;788 readonly xcm: XcmV2Xcm;789 } & Struct;790 readonly isTransact: boolean;791 readonly asTransact: {792 readonly originType: XcmV0OriginKind;793 readonly requireWeightAtMost: Compact<u64>;794 readonly call: XcmDoubleEncoded;795 } & Struct;796 readonly isHrmpNewChannelOpenRequest: boolean;797 readonly asHrmpNewChannelOpenRequest: {798 readonly sender: Compact<u32>;799 readonly maxMessageSize: Compact<u32>;800 readonly maxCapacity: Compact<u32>;801 } & Struct;802 readonly isHrmpChannelAccepted: boolean;803 readonly asHrmpChannelAccepted: {804 readonly recipient: Compact<u32>;805 } & Struct;806 readonly isHrmpChannelClosing: boolean;807 readonly asHrmpChannelClosing: {808 readonly initiator: Compact<u32>;809 readonly sender: Compact<u32>;810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isClearOrigin: boolean;813 readonly isDescendOrigin: boolean;814 readonly asDescendOrigin: XcmV1MultilocationJunctions;815 readonly isReportError: boolean;816 readonly asReportError: {817 readonly queryId: Compact<u64>;818 readonly dest: XcmV1MultiLocation;819 readonly maxResponseWeight: Compact<u64>;820 } & Struct;821 readonly isDepositAsset: boolean;822 readonly asDepositAsset: {823 readonly assets: XcmV1MultiassetMultiAssetFilter;824 readonly maxAssets: Compact<u32>;825 readonly beneficiary: XcmV1MultiLocation;826 } & Struct;827 readonly isDepositReserveAsset: boolean;828 readonly asDepositReserveAsset: {829 readonly assets: XcmV1MultiassetMultiAssetFilter;830 readonly maxAssets: Compact<u32>;831 readonly dest: XcmV1MultiLocation;832 readonly xcm: XcmV2Xcm;833 } & Struct;834 readonly isExchangeAsset: boolean;835 readonly asExchangeAsset: {836 readonly give: XcmV1MultiassetMultiAssetFilter;837 readonly receive: XcmV1MultiassetMultiAssets;838 } & Struct;839 readonly isInitiateReserveWithdraw: boolean;840 readonly asInitiateReserveWithdraw: {841 readonly assets: XcmV1MultiassetMultiAssetFilter;842 readonly reserve: XcmV1MultiLocation;843 readonly xcm: XcmV2Xcm;844 } & Struct;845 readonly isInitiateTeleport: boolean;846 readonly asInitiateTeleport: {847 readonly assets: XcmV1MultiassetMultiAssetFilter;848 readonly dest: XcmV1MultiLocation;849 readonly xcm: XcmV2Xcm;850 } & Struct;851 readonly isQueryHolding: boolean;852 readonly asQueryHolding: {853 readonly queryId: Compact<u64>;854 readonly dest: XcmV1MultiLocation;855 readonly assets: XcmV1MultiassetMultiAssetFilter;856 readonly maxResponseWeight: Compact<u64>;857 } & Struct;858 readonly isBuyExecution: boolean;859 readonly asBuyExecution: {860 readonly fees: XcmV1MultiAsset;861 readonly weightLimit: XcmV2WeightLimit;862 } & Struct;863 readonly isRefundSurplus: boolean;864 readonly isSetErrorHandler: boolean;865 readonly asSetErrorHandler: XcmV2Xcm;866 readonly isSetAppendix: boolean;867 readonly asSetAppendix: XcmV2Xcm;868 readonly isClearError: boolean;869 readonly isClaimAsset: boolean;870 readonly asClaimAsset: {871 readonly assets: XcmV1MultiassetMultiAssets;872 readonly ticket: XcmV1MultiLocation;873 } & Struct;874 readonly isTrap: boolean;875 readonly asTrap: Compact<u64>;876 readonly isSubscribeVersion: boolean;877 readonly asSubscribeVersion: {878 readonly queryId: Compact<u64>;879 readonly maxResponseWeight: Compact<u64>;880 } & Struct;881 readonly isUnsubscribeVersion: boolean;882 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';883 }884885 /** @name XcmV2Response (71) */886 interface XcmV2Response extends Enum {887 readonly isNull: boolean;888 readonly isAssets: boolean;889 readonly asAssets: XcmV1MultiassetMultiAssets;890 readonly isExecutionResult: boolean;891 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;892 readonly isVersion: boolean;893 readonly asVersion: u32;894 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';895 }896897 /** @name XcmV0OriginKind (74) */898 interface XcmV0OriginKind extends Enum {899 readonly isNative: boolean;900 readonly isSovereignAccount: boolean;901 readonly isSuperuser: boolean;902 readonly isXcm: boolean;903 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';904 }905906 /** @name XcmDoubleEncoded (75) */907 interface XcmDoubleEncoded extends Struct {908 readonly encoded: Bytes;909 }910911 /** @name XcmV1MultiassetMultiAssetFilter (76) */912 interface XcmV1MultiassetMultiAssetFilter extends Enum {913 readonly isDefinite: boolean;914 readonly asDefinite: XcmV1MultiassetMultiAssets;915 readonly isWild: boolean;916 readonly asWild: XcmV1MultiassetWildMultiAsset;917 readonly type: 'Definite' | 'Wild';918 }919920 /** @name XcmV1MultiassetWildMultiAsset (77) */921 interface XcmV1MultiassetWildMultiAsset extends Enum {922 readonly isAll: boolean;923 readonly isAllOf: boolean;924 readonly asAllOf: {925 readonly id: XcmV1MultiassetAssetId;926 readonly fun: XcmV1MultiassetWildFungibility;927 } & Struct;928 readonly type: 'All' | 'AllOf';929 }930931 /** @name XcmV1MultiassetWildFungibility (78) */932 interface XcmV1MultiassetWildFungibility extends Enum {933 readonly isFungible: boolean;934 readonly isNonFungible: boolean;935 readonly type: 'Fungible' | 'NonFungible';936 }937938 /** @name XcmV2WeightLimit (79) */939 interface XcmV2WeightLimit extends Enum {940 readonly isUnlimited: boolean;941 readonly isLimited: boolean;942 readonly asLimited: Compact<u64>;943 readonly type: 'Unlimited' | 'Limited';944 }945946 /** @name XcmVersionedMultiAssets (81) */947 interface XcmVersionedMultiAssets extends Enum {948 readonly isV0: boolean;949 readonly asV0: Vec<XcmV0MultiAsset>;950 readonly isV1: boolean;951 readonly asV1: XcmV1MultiassetMultiAssets;952 readonly type: 'V0' | 'V1';953 }954955 /** @name XcmV0MultiAsset (83) */956 interface XcmV0MultiAsset extends Enum {957 readonly isNone: boolean;958 readonly isAll: boolean;959 readonly isAllFungible: boolean;960 readonly isAllNonFungible: boolean;961 readonly isAllAbstractFungible: boolean;962 readonly asAllAbstractFungible: {963 readonly id: Bytes;964 } & Struct;965 readonly isAllAbstractNonFungible: boolean;966 readonly asAllAbstractNonFungible: {967 readonly class: Bytes;968 } & Struct;969 readonly isAllConcreteFungible: boolean;970 readonly asAllConcreteFungible: {971 readonly id: XcmV0MultiLocation;972 } & Struct;973 readonly isAllConcreteNonFungible: boolean;974 readonly asAllConcreteNonFungible: {975 readonly class: XcmV0MultiLocation;976 } & Struct;977 readonly isAbstractFungible: boolean;978 readonly asAbstractFungible: {979 readonly id: Bytes;980 readonly amount: Compact<u128>;981 } & Struct;982 readonly isAbstractNonFungible: boolean;983 readonly asAbstractNonFungible: {984 readonly class: Bytes;985 readonly instance: XcmV1MultiassetAssetInstance;986 } & Struct;987 readonly isConcreteFungible: boolean;988 readonly asConcreteFungible: {989 readonly id: XcmV0MultiLocation;990 readonly amount: Compact<u128>;991 } & Struct;992 readonly isConcreteNonFungible: boolean;993 readonly asConcreteNonFungible: {994 readonly class: XcmV0MultiLocation;995 readonly instance: XcmV1MultiassetAssetInstance;996 } & Struct;997 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';998 }9991000 /** @name XcmV0MultiLocation (84) */1001 interface XcmV0MultiLocation extends Enum {1002 readonly isNull: boolean;1003 readonly isX1: boolean;1004 readonly asX1: XcmV0Junction;1005 readonly isX2: boolean;1006 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1007 readonly isX3: boolean;1008 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1009 readonly isX4: boolean;1010 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1011 readonly isX5: boolean;1012 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1013 readonly isX6: boolean;1014 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1015 readonly isX7: boolean;1016 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1017 readonly isX8: boolean;1018 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1019 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1020 }10211022 /** @name XcmV0Junction (85) */1023 interface XcmV0Junction extends Enum {1024 readonly isParent: boolean;1025 readonly isParachain: boolean;1026 readonly asParachain: Compact<u32>;1027 readonly isAccountId32: boolean;1028 readonly asAccountId32: {1029 readonly network: XcmV0JunctionNetworkId;1030 readonly id: U8aFixed;1031 } & Struct;1032 readonly isAccountIndex64: boolean;1033 readonly asAccountIndex64: {1034 readonly network: XcmV0JunctionNetworkId;1035 readonly index: Compact<u64>;1036 } & Struct;1037 readonly isAccountKey20: boolean;1038 readonly asAccountKey20: {1039 readonly network: XcmV0JunctionNetworkId;1040 readonly key: U8aFixed;1041 } & Struct;1042 readonly isPalletInstance: boolean;1043 readonly asPalletInstance: u8;1044 readonly isGeneralIndex: boolean;1045 readonly asGeneralIndex: Compact<u128>;1046 readonly isGeneralKey: boolean;1047 readonly asGeneralKey: Bytes;1048 readonly isOnlyChild: boolean;1049 readonly isPlurality: boolean;1050 readonly asPlurality: {1051 readonly id: XcmV0JunctionBodyId;1052 readonly part: XcmV0JunctionBodyPart;1053 } & Struct;1054 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1055 }10561057 /** @name XcmVersionedMultiLocation (86) */1058 interface XcmVersionedMultiLocation extends Enum {1059 readonly isV0: boolean;1060 readonly asV0: XcmV0MultiLocation;1061 readonly isV1: boolean;1062 readonly asV1: XcmV1MultiLocation;1063 readonly type: 'V0' | 'V1';1064 }10651066 /** @name CumulusPalletXcmEvent (87) */1067 interface CumulusPalletXcmEvent extends Enum {1068 readonly isInvalidFormat: boolean;1069 readonly asInvalidFormat: U8aFixed;1070 readonly isUnsupportedVersion: boolean;1071 readonly asUnsupportedVersion: U8aFixed;1072 readonly isExecutedDownward: boolean;1073 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1074 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1075 }10761077 /** @name CumulusPalletDmpQueueEvent (88) */1078 interface CumulusPalletDmpQueueEvent extends Enum {1079 readonly isInvalidFormat: boolean;1080 readonly asInvalidFormat: {1081 readonly messageId: U8aFixed;1082 } & Struct;1083 readonly isUnsupportedVersion: boolean;1084 readonly asUnsupportedVersion: {1085 readonly messageId: U8aFixed;1086 } & Struct;1087 readonly isExecutedDownward: boolean;1088 readonly asExecutedDownward: {1089 readonly messageId: U8aFixed;1090 readonly outcome: XcmV2TraitsOutcome;1091 } & Struct;1092 readonly isWeightExhausted: boolean;1093 readonly asWeightExhausted: {1094 readonly messageId: U8aFixed;1095 readonly remainingWeight: SpWeightsWeightV2Weight;1096 readonly requiredWeight: SpWeightsWeightV2Weight;1097 } & Struct;1098 readonly isOverweightEnqueued: boolean;1099 readonly asOverweightEnqueued: {1100 readonly messageId: U8aFixed;1101 readonly overweightIndex: u64;1102 readonly requiredWeight: SpWeightsWeightV2Weight;1103 } & Struct;1104 readonly isOverweightServiced: boolean;1105 readonly asOverweightServiced: {1106 readonly overweightIndex: u64;1107 readonly weightUsed: SpWeightsWeightV2Weight;1108 } & Struct;1109 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1110 }11111112 /** @name PalletCommonEvent (89) */1113 interface PalletCommonEvent extends Enum {1114 readonly isCollectionCreated: boolean;1115 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1116 readonly isCollectionDestroyed: boolean;1117 readonly asCollectionDestroyed: u32;1118 readonly isItemCreated: boolean;1119 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1120 readonly isItemDestroyed: boolean;1121 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1122 readonly isTransfer: boolean;1123 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1124 readonly isApproved: boolean;1125 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1126 readonly isApprovedForAll: boolean;1127 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1128 readonly isCollectionPropertySet: boolean;1129 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1130 readonly isCollectionPropertyDeleted: boolean;1131 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1132 readonly isTokenPropertySet: boolean;1133 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1134 readonly isTokenPropertyDeleted: boolean;1135 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1136 readonly isPropertyPermissionSet: boolean;1137 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1138 readonly isAllowListAddressAdded: boolean;1139 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1140 readonly isAllowListAddressRemoved: boolean;1141 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1142 readonly isCollectionAdminAdded: boolean;1143 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1144 readonly isCollectionAdminRemoved: boolean;1145 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1146 readonly isCollectionLimitSet: boolean;1147 readonly asCollectionLimitSet: u32;1148 readonly isCollectionOwnerChanged: boolean;1149 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1150 readonly isCollectionPermissionSet: boolean;1151 readonly asCollectionPermissionSet: u32;1152 readonly isCollectionSponsorSet: boolean;1153 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1154 readonly isSponsorshipConfirmed: boolean;1155 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1156 readonly isCollectionSponsorRemoved: boolean;1157 readonly asCollectionSponsorRemoved: u32;1158 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1159 }11601161 /** @name PalletEvmAccountBasicCrossAccountIdRepr (92) */1162 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1163 readonly isSubstrate: boolean;1164 readonly asSubstrate: AccountId32;1165 readonly isEthereum: boolean;1166 readonly asEthereum: H160;1167 readonly type: 'Substrate' | 'Ethereum';1168 }11691170 /** @name PalletStructureEvent (96) */1171 interface PalletStructureEvent extends Enum {1172 readonly isExecuted: boolean;1173 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1174 readonly type: 'Executed';1175 }11761177 /** @name PalletRmrkCoreEvent (97) */1178 interface PalletRmrkCoreEvent extends Enum {1179 readonly isCollectionCreated: boolean;1180 readonly asCollectionCreated: {1181 readonly issuer: AccountId32;1182 readonly collectionId: u32;1183 } & Struct;1184 readonly isCollectionDestroyed: boolean;1185 readonly asCollectionDestroyed: {1186 readonly issuer: AccountId32;1187 readonly collectionId: u32;1188 } & Struct;1189 readonly isIssuerChanged: boolean;1190 readonly asIssuerChanged: {1191 readonly oldIssuer: AccountId32;1192 readonly newIssuer: AccountId32;1193 readonly collectionId: u32;1194 } & Struct;1195 readonly isCollectionLocked: boolean;1196 readonly asCollectionLocked: {1197 readonly issuer: AccountId32;1198 readonly collectionId: u32;1199 } & Struct;1200 readonly isNftMinted: boolean;1201 readonly asNftMinted: {1202 readonly owner: AccountId32;1203 readonly collectionId: u32;1204 readonly nftId: u32;1205 } & Struct;1206 readonly isNftBurned: boolean;1207 readonly asNftBurned: {1208 readonly owner: AccountId32;1209 readonly nftId: u32;1210 } & Struct;1211 readonly isNftSent: boolean;1212 readonly asNftSent: {1213 readonly sender: AccountId32;1214 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1215 readonly collectionId: u32;1216 readonly nftId: u32;1217 readonly approvalRequired: bool;1218 } & Struct;1219 readonly isNftAccepted: boolean;1220 readonly asNftAccepted: {1221 readonly sender: AccountId32;1222 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1223 readonly collectionId: u32;1224 readonly nftId: u32;1225 } & Struct;1226 readonly isNftRejected: boolean;1227 readonly asNftRejected: {1228 readonly sender: AccountId32;1229 readonly collectionId: u32;1230 readonly nftId: u32;1231 } & Struct;1232 readonly isPropertySet: boolean;1233 readonly asPropertySet: {1234 readonly collectionId: u32;1235 readonly maybeNftId: Option<u32>;1236 readonly key: Bytes;1237 readonly value: Bytes;1238 } & Struct;1239 readonly isResourceAdded: boolean;1240 readonly asResourceAdded: {1241 readonly nftId: u32;1242 readonly resourceId: u32;1243 } & Struct;1244 readonly isResourceRemoval: boolean;1245 readonly asResourceRemoval: {1246 readonly nftId: u32;1247 readonly resourceId: u32;1248 } & Struct;1249 readonly isResourceAccepted: boolean;1250 readonly asResourceAccepted: {1251 readonly nftId: u32;1252 readonly resourceId: u32;1253 } & Struct;1254 readonly isResourceRemovalAccepted: boolean;1255 readonly asResourceRemovalAccepted: {1256 readonly nftId: u32;1257 readonly resourceId: u32;1258 } & Struct;1259 readonly isPrioritySet: boolean;1260 readonly asPrioritySet: {1261 readonly collectionId: u32;1262 readonly nftId: u32;1263 } & Struct;1264 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1265 }12661267 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (98) */1268 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1269 readonly isAccountId: boolean;1270 readonly asAccountId: AccountId32;1271 readonly isCollectionAndNftTuple: boolean;1272 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1273 readonly type: 'AccountId' | 'CollectionAndNftTuple';1274 }12751276 /** @name PalletRmrkEquipEvent (102) */1277 interface PalletRmrkEquipEvent extends Enum {1278 readonly isBaseCreated: boolean;1279 readonly asBaseCreated: {1280 readonly issuer: AccountId32;1281 readonly baseId: u32;1282 } & Struct;1283 readonly isEquippablesUpdated: boolean;1284 readonly asEquippablesUpdated: {1285 readonly baseId: u32;1286 readonly slotId: u32;1287 } & Struct;1288 readonly type: 'BaseCreated' | 'EquippablesUpdated';1289 }12901291 /** @name PalletAppPromotionEvent (103) */1292 interface PalletAppPromotionEvent extends Enum {1293 readonly isStakingRecalculation: boolean;1294 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1295 readonly isStake: boolean;1296 readonly asStake: ITuple<[AccountId32, u128]>;1297 readonly isUnstake: boolean;1298 readonly asUnstake: ITuple<[AccountId32, u128]>;1299 readonly isSetAdmin: boolean;1300 readonly asSetAdmin: AccountId32;1301 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1302 }13031304 /** @name PalletForeignAssetsModuleEvent (104) */1305 interface PalletForeignAssetsModuleEvent extends Enum {1306 readonly isForeignAssetRegistered: boolean;1307 readonly asForeignAssetRegistered: {1308 readonly assetId: u32;1309 readonly assetAddress: XcmV1MultiLocation;1310 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1311 } & Struct;1312 readonly isForeignAssetUpdated: boolean;1313 readonly asForeignAssetUpdated: {1314 readonly assetId: u32;1315 readonly assetAddress: XcmV1MultiLocation;1316 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1317 } & Struct;1318 readonly isAssetRegistered: boolean;1319 readonly asAssetRegistered: {1320 readonly assetId: PalletForeignAssetsAssetIds;1321 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1322 } & Struct;1323 readonly isAssetUpdated: boolean;1324 readonly asAssetUpdated: {1325 readonly assetId: PalletForeignAssetsAssetIds;1326 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1327 } & Struct;1328 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1329 }13301331 /** @name PalletForeignAssetsModuleAssetMetadata (105) */1332 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1333 readonly name: Bytes;1334 readonly symbol: Bytes;1335 readonly decimals: u8;1336 readonly minimalBalance: u128;1337 }13381339 /** @name PalletEvmEvent (106) */1340 interface PalletEvmEvent extends Enum {1341 readonly isLog: boolean;1342 readonly asLog: {1343 readonly log: EthereumLog;1344 } & Struct;1345 readonly isCreated: boolean;1346 readonly asCreated: {1347 readonly address: H160;1348 } & Struct;1349 readonly isCreatedFailed: boolean;1350 readonly asCreatedFailed: {1351 readonly address: H160;1352 } & Struct;1353 readonly isExecuted: boolean;1354 readonly asExecuted: {1355 readonly address: H160;1356 } & Struct;1357 readonly isExecutedFailed: boolean;1358 readonly asExecutedFailed: {1359 readonly address: H160;1360 } & Struct;1361 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1362 }13631364 /** @name EthereumLog (107) */1365 interface EthereumLog extends Struct {1366 readonly address: H160;1367 readonly topics: Vec<H256>;1368 readonly data: Bytes;1369 }13701371 /** @name PalletEthereumEvent (109) */1372 interface PalletEthereumEvent extends Enum {1373 readonly isExecuted: boolean;1374 readonly asExecuted: {1375 readonly from: H160;1376 readonly to: H160;1377 readonly transactionHash: H256;1378 readonly exitReason: EvmCoreErrorExitReason;1379 } & Struct;1380 readonly type: 'Executed';1381 }13821383 /** @name EvmCoreErrorExitReason (110) */1384 interface EvmCoreErrorExitReason extends Enum {1385 readonly isSucceed: boolean;1386 readonly asSucceed: EvmCoreErrorExitSucceed;1387 readonly isError: boolean;1388 readonly asError: EvmCoreErrorExitError;1389 readonly isRevert: boolean;1390 readonly asRevert: EvmCoreErrorExitRevert;1391 readonly isFatal: boolean;1392 readonly asFatal: EvmCoreErrorExitFatal;1393 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1394 }13951396 /** @name EvmCoreErrorExitSucceed (111) */1397 interface EvmCoreErrorExitSucceed extends Enum {1398 readonly isStopped: boolean;1399 readonly isReturned: boolean;1400 readonly isSuicided: boolean;1401 readonly type: 'Stopped' | 'Returned' | 'Suicided';1402 }14031404 /** @name EvmCoreErrorExitError (112) */1405 interface EvmCoreErrorExitError extends Enum {1406 readonly isStackUnderflow: boolean;1407 readonly isStackOverflow: boolean;1408 readonly isInvalidJump: boolean;1409 readonly isInvalidRange: boolean;1410 readonly isDesignatedInvalid: boolean;1411 readonly isCallTooDeep: boolean;1412 readonly isCreateCollision: boolean;1413 readonly isCreateContractLimit: boolean;1414 readonly isOutOfOffset: boolean;1415 readonly isOutOfGas: boolean;1416 readonly isOutOfFund: boolean;1417 readonly isPcUnderflow: boolean;1418 readonly isCreateEmpty: boolean;1419 readonly isOther: boolean;1420 readonly asOther: Text;1421 readonly isInvalidCode: boolean;1422 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1423 }14241425 /** @name EvmCoreErrorExitRevert (115) */1426 interface EvmCoreErrorExitRevert extends Enum {1427 readonly isReverted: boolean;1428 readonly type: 'Reverted';1429 }14301431 /** @name EvmCoreErrorExitFatal (116) */1432 interface EvmCoreErrorExitFatal extends Enum {1433 readonly isNotSupported: boolean;1434 readonly isUnhandledInterrupt: boolean;1435 readonly isCallErrorAsFatal: boolean;1436 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1437 readonly isOther: boolean;1438 readonly asOther: Text;1439 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1440 }14411442 /** @name PalletEvmContractHelpersEvent (117) */1443 interface PalletEvmContractHelpersEvent extends Enum {1444 readonly isContractSponsorSet: boolean;1445 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1446 readonly isContractSponsorshipConfirmed: boolean;1447 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1448 readonly isContractSponsorRemoved: boolean;1449 readonly asContractSponsorRemoved: H160;1450 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1451 }14521453 /** @name PalletEvmMigrationEvent (118) */1454 interface PalletEvmMigrationEvent extends Enum {1455 readonly isTestEvent: boolean;1456 readonly type: 'TestEvent';1457 }14581459 /** @name PalletMaintenanceEvent (119) */1460 interface PalletMaintenanceEvent extends Enum {1461 readonly isMaintenanceEnabled: boolean;1462 readonly isMaintenanceDisabled: boolean;1463 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1464 }14651466 /** @name PalletTestUtilsEvent (120) */1467 interface PalletTestUtilsEvent extends Enum {1468 readonly isValueIsSet: boolean;1469 readonly isShouldRollback: boolean;1470 readonly isBatchCompleted: boolean;1471 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1472 }14731474 /** @name FrameSystemPhase (121) */1475 interface FrameSystemPhase extends Enum {1476 readonly isApplyExtrinsic: boolean;1477 readonly asApplyExtrinsic: u32;1478 readonly isFinalization: boolean;1479 readonly isInitialization: boolean;1480 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1481 }14821483 /** @name FrameSystemLastRuntimeUpgradeInfo (124) */1484 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1485 readonly specVersion: Compact<u32>;1486 readonly specName: Text;1487 }14881489 /** @name FrameSystemCall (125) */1490 interface FrameSystemCall extends Enum {1491 readonly isFillBlock: boolean;1492 readonly asFillBlock: {1493 readonly ratio: Perbill;1494 } & Struct;1495 readonly isRemark: boolean;1496 readonly asRemark: {1497 readonly remark: Bytes;1498 } & Struct;1499 readonly isSetHeapPages: boolean;1500 readonly asSetHeapPages: {1501 readonly pages: u64;1502 } & Struct;1503 readonly isSetCode: boolean;1504 readonly asSetCode: {1505 readonly code: Bytes;1506 } & Struct;1507 readonly isSetCodeWithoutChecks: boolean;1508 readonly asSetCodeWithoutChecks: {1509 readonly code: Bytes;1510 } & Struct;1511 readonly isSetStorage: boolean;1512 readonly asSetStorage: {1513 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1514 } & Struct;1515 readonly isKillStorage: boolean;1516 readonly asKillStorage: {1517 readonly keys_: Vec<Bytes>;1518 } & Struct;1519 readonly isKillPrefix: boolean;1520 readonly asKillPrefix: {1521 readonly prefix: Bytes;1522 readonly subkeys: u32;1523 } & Struct;1524 readonly isRemarkWithEvent: boolean;1525 readonly asRemarkWithEvent: {1526 readonly remark: Bytes;1527 } & Struct;1528 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1529 }15301531 /** @name FrameSystemLimitsBlockWeights (130) */1532 interface FrameSystemLimitsBlockWeights extends Struct {1533 readonly baseBlock: SpWeightsWeightV2Weight;1534 readonly maxBlock: SpWeightsWeightV2Weight;1535 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1536 }15371538 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (131) */1539 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1540 readonly normal: FrameSystemLimitsWeightsPerClass;1541 readonly operational: FrameSystemLimitsWeightsPerClass;1542 readonly mandatory: FrameSystemLimitsWeightsPerClass;1543 }15441545 /** @name FrameSystemLimitsWeightsPerClass (132) */1546 interface FrameSystemLimitsWeightsPerClass extends Struct {1547 readonly baseExtrinsic: SpWeightsWeightV2Weight;1548 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1549 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1550 readonly reserved: Option<SpWeightsWeightV2Weight>;1551 }15521553 /** @name FrameSystemLimitsBlockLength (134) */1554 interface FrameSystemLimitsBlockLength extends Struct {1555 readonly max: FrameSupportDispatchPerDispatchClassU32;1556 }15571558 /** @name FrameSupportDispatchPerDispatchClassU32 (135) */1559 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1560 readonly normal: u32;1561 readonly operational: u32;1562 readonly mandatory: u32;1563 }15641565 /** @name SpWeightsRuntimeDbWeight (136) */1566 interface SpWeightsRuntimeDbWeight extends Struct {1567 readonly read: u64;1568 readonly write: u64;1569 }15701571 /** @name SpVersionRuntimeVersion (137) */1572 interface SpVersionRuntimeVersion extends Struct {1573 readonly specName: Text;1574 readonly implName: Text;1575 readonly authoringVersion: u32;1576 readonly specVersion: u32;1577 readonly implVersion: u32;1578 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1579 readonly transactionVersion: u32;1580 readonly stateVersion: u8;1581 }15821583 /** @name FrameSystemError (142) */1584 interface FrameSystemError extends Enum {1585 readonly isInvalidSpecName: boolean;1586 readonly isSpecVersionNeedsToIncrease: boolean;1587 readonly isFailedToExtractRuntimeVersion: boolean;1588 readonly isNonDefaultComposite: boolean;1589 readonly isNonZeroRefCount: boolean;1590 readonly isCallFiltered: boolean;1591 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1592 }15931594 /** @name PolkadotPrimitivesV2PersistedValidationData (143) */1595 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1596 readonly parentHead: Bytes;1597 readonly relayParentNumber: u32;1598 readonly relayParentStorageRoot: H256;1599 readonly maxPovSize: u32;1600 }16011602 /** @name PolkadotPrimitivesV2UpgradeRestriction (146) */1603 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1604 readonly isPresent: boolean;1605 readonly type: 'Present';1606 }16071608 /** @name SpTrieStorageProof (147) */1609 interface SpTrieStorageProof extends Struct {1610 readonly trieNodes: BTreeSet<Bytes>;1611 }16121613 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */1614 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1615 readonly dmqMqcHead: H256;1616 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1617 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1618 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1619 }16201621 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */1622 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1623 readonly maxCapacity: u32;1624 readonly maxTotalSize: u32;1625 readonly maxMessageSize: u32;1626 readonly msgCount: u32;1627 readonly totalSize: u32;1628 readonly mqcHead: Option<H256>;1629 }16301631 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */1632 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1633 readonly maxCodeSize: u32;1634 readonly maxHeadDataSize: u32;1635 readonly maxUpwardQueueCount: u32;1636 readonly maxUpwardQueueSize: u32;1637 readonly maxUpwardMessageSize: u32;1638 readonly maxUpwardMessageNumPerCandidate: u32;1639 readonly hrmpMaxMessageNumPerCandidate: u32;1640 readonly validationUpgradeCooldown: u32;1641 readonly validationUpgradeDelay: u32;1642 }16431644 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */1645 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1646 readonly recipient: u32;1647 readonly data: Bytes;1648 }16491650 /** @name CumulusPalletParachainSystemCall (160) */1651 interface CumulusPalletParachainSystemCall extends Enum {1652 readonly isSetValidationData: boolean;1653 readonly asSetValidationData: {1654 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1655 } & Struct;1656 readonly isSudoSendUpwardMessage: boolean;1657 readonly asSudoSendUpwardMessage: {1658 readonly message: Bytes;1659 } & Struct;1660 readonly isAuthorizeUpgrade: boolean;1661 readonly asAuthorizeUpgrade: {1662 readonly codeHash: H256;1663 } & Struct;1664 readonly isEnactAuthorizedUpgrade: boolean;1665 readonly asEnactAuthorizedUpgrade: {1666 readonly code: Bytes;1667 } & Struct;1668 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1669 }16701671 /** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */1672 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1673 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1674 readonly relayChainState: SpTrieStorageProof;1675 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1676 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1677 }16781679 /** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */1680 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1681 readonly sentAt: u32;1682 readonly msg: Bytes;1683 }16841685 /** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */1686 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1687 readonly sentAt: u32;1688 readonly data: Bytes;1689 }16901691 /** @name CumulusPalletParachainSystemError (169) */1692 interface CumulusPalletParachainSystemError extends Enum {1693 readonly isOverlappingUpgrades: boolean;1694 readonly isProhibitedByPolkadot: boolean;1695 readonly isTooBig: boolean;1696 readonly isValidationDataNotAvailable: boolean;1697 readonly isHostConfigurationNotAvailable: boolean;1698 readonly isNotScheduled: boolean;1699 readonly isNothingAuthorized: boolean;1700 readonly isUnauthorized: boolean;1701 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1702 }17031704 /** @name PalletBalancesBalanceLock (171) */1705 interface PalletBalancesBalanceLock extends Struct {1706 readonly id: U8aFixed;1707 readonly amount: u128;1708 readonly reasons: PalletBalancesReasons;1709 }17101711 /** @name PalletBalancesReasons (172) */1712 interface PalletBalancesReasons extends Enum {1713 readonly isFee: boolean;1714 readonly isMisc: boolean;1715 readonly isAll: boolean;1716 readonly type: 'Fee' | 'Misc' | 'All';1717 }17181719 /** @name PalletBalancesReserveData (175) */1720 interface PalletBalancesReserveData extends Struct {1721 readonly id: U8aFixed;1722 readonly amount: u128;1723 }17241725 /** @name PalletBalancesReleases (177) */1726 interface PalletBalancesReleases extends Enum {1727 readonly isV100: boolean;1728 readonly isV200: boolean;1729 readonly type: 'V100' | 'V200';1730 }17311732 /** @name PalletBalancesCall (178) */1733 interface PalletBalancesCall extends Enum {1734 readonly isTransfer: boolean;1735 readonly asTransfer: {1736 readonly dest: MultiAddress;1737 readonly value: Compact<u128>;1738 } & Struct;1739 readonly isSetBalance: boolean;1740 readonly asSetBalance: {1741 readonly who: MultiAddress;1742 readonly newFree: Compact<u128>;1743 readonly newReserved: Compact<u128>;1744 } & Struct;1745 readonly isForceTransfer: boolean;1746 readonly asForceTransfer: {1747 readonly source: MultiAddress;1748 readonly dest: MultiAddress;1749 readonly value: Compact<u128>;1750 } & Struct;1751 readonly isTransferKeepAlive: boolean;1752 readonly asTransferKeepAlive: {1753 readonly dest: MultiAddress;1754 readonly value: Compact<u128>;1755 } & Struct;1756 readonly isTransferAll: boolean;1757 readonly asTransferAll: {1758 readonly dest: MultiAddress;1759 readonly keepAlive: bool;1760 } & Struct;1761 readonly isForceUnreserve: boolean;1762 readonly asForceUnreserve: {1763 readonly who: MultiAddress;1764 readonly amount: u128;1765 } & Struct;1766 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1767 }17681769 /** @name PalletBalancesError (181) */1770 interface PalletBalancesError extends Enum {1771 readonly isVestingBalance: boolean;1772 readonly isLiquidityRestrictions: boolean;1773 readonly isInsufficientBalance: boolean;1774 readonly isExistentialDeposit: boolean;1775 readonly isKeepAlive: boolean;1776 readonly isExistingVestingSchedule: boolean;1777 readonly isDeadAccount: boolean;1778 readonly isTooManyReserves: boolean;1779 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1780 }17811782 /** @name PalletTimestampCall (183) */1783 interface PalletTimestampCall extends Enum {1784 readonly isSet: boolean;1785 readonly asSet: {1786 readonly now: Compact<u64>;1787 } & Struct;1788 readonly type: 'Set';1789 }17901791 /** @name PalletTransactionPaymentReleases (185) */1792 interface PalletTransactionPaymentReleases extends Enum {1793 readonly isV1Ancient: boolean;1794 readonly isV2: boolean;1795 readonly type: 'V1Ancient' | 'V2';1796 }17971798 /** @name PalletTreasuryProposal (186) */1799 interface PalletTreasuryProposal extends Struct {1800 readonly proposer: AccountId32;1801 readonly value: u128;1802 readonly beneficiary: AccountId32;1803 readonly bond: u128;1804 }18051806 /** @name PalletTreasuryCall (189) */1807 interface PalletTreasuryCall extends Enum {1808 readonly isProposeSpend: boolean;1809 readonly asProposeSpend: {1810 readonly value: Compact<u128>;1811 readonly beneficiary: MultiAddress;1812 } & Struct;1813 readonly isRejectProposal: boolean;1814 readonly asRejectProposal: {1815 readonly proposalId: Compact<u32>;1816 } & Struct;1817 readonly isApproveProposal: boolean;1818 readonly asApproveProposal: {1819 readonly proposalId: Compact<u32>;1820 } & Struct;1821 readonly isSpend: boolean;1822 readonly asSpend: {1823 readonly amount: Compact<u128>;1824 readonly beneficiary: MultiAddress;1825 } & Struct;1826 readonly isRemoveApproval: boolean;1827 readonly asRemoveApproval: {1828 readonly proposalId: Compact<u32>;1829 } & Struct;1830 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1831 }18321833 /** @name FrameSupportPalletId (192) */1834 interface FrameSupportPalletId extends U8aFixed {}18351836 /** @name PalletTreasuryError (193) */1837 interface PalletTreasuryError extends Enum {1838 readonly isInsufficientProposersBalance: boolean;1839 readonly isInvalidIndex: boolean;1840 readonly isTooManyApprovals: boolean;1841 readonly isInsufficientPermission: boolean;1842 readonly isProposalNotApproved: boolean;1843 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1844 }18451846 /** @name PalletSudoCall (194) */1847 interface PalletSudoCall extends Enum {1848 readonly isSudo: boolean;1849 readonly asSudo: {1850 readonly call: Call;1851 } & Struct;1852 readonly isSudoUncheckedWeight: boolean;1853 readonly asSudoUncheckedWeight: {1854 readonly call: Call;1855 readonly weight: SpWeightsWeightV2Weight;1856 } & Struct;1857 readonly isSetKey: boolean;1858 readonly asSetKey: {1859 readonly new_: MultiAddress;1860 } & Struct;1861 readonly isSudoAs: boolean;1862 readonly asSudoAs: {1863 readonly who: MultiAddress;1864 readonly call: Call;1865 } & Struct;1866 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1867 }18681869 /** @name OrmlVestingModuleCall (196) */1870 interface OrmlVestingModuleCall extends Enum {1871 readonly isClaim: boolean;1872 readonly isVestedTransfer: boolean;1873 readonly asVestedTransfer: {1874 readonly dest: MultiAddress;1875 readonly schedule: OrmlVestingVestingSchedule;1876 } & Struct;1877 readonly isUpdateVestingSchedules: boolean;1878 readonly asUpdateVestingSchedules: {1879 readonly who: MultiAddress;1880 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1881 } & Struct;1882 readonly isClaimFor: boolean;1883 readonly asClaimFor: {1884 readonly dest: MultiAddress;1885 } & Struct;1886 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1887 }18881889 /** @name OrmlXtokensModuleCall (198) */1890 interface OrmlXtokensModuleCall extends Enum {1891 readonly isTransfer: boolean;1892 readonly asTransfer: {1893 readonly currencyId: PalletForeignAssetsAssetIds;1894 readonly amount: u128;1895 readonly dest: XcmVersionedMultiLocation;1896 readonly destWeightLimit: XcmV2WeightLimit;1897 } & Struct;1898 readonly isTransferMultiasset: boolean;1899 readonly asTransferMultiasset: {1900 readonly asset: XcmVersionedMultiAsset;1901 readonly dest: XcmVersionedMultiLocation;1902 readonly destWeightLimit: XcmV2WeightLimit;1903 } & Struct;1904 readonly isTransferWithFee: boolean;1905 readonly asTransferWithFee: {1906 readonly currencyId: PalletForeignAssetsAssetIds;1907 readonly amount: u128;1908 readonly fee: u128;1909 readonly dest: XcmVersionedMultiLocation;1910 readonly destWeightLimit: XcmV2WeightLimit;1911 } & Struct;1912 readonly isTransferMultiassetWithFee: boolean;1913 readonly asTransferMultiassetWithFee: {1914 readonly asset: XcmVersionedMultiAsset;1915 readonly fee: XcmVersionedMultiAsset;1916 readonly dest: XcmVersionedMultiLocation;1917 readonly destWeightLimit: XcmV2WeightLimit;1918 } & Struct;1919 readonly isTransferMulticurrencies: boolean;1920 readonly asTransferMulticurrencies: {1921 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1922 readonly feeItem: u32;1923 readonly dest: XcmVersionedMultiLocation;1924 readonly destWeightLimit: XcmV2WeightLimit;1925 } & Struct;1926 readonly isTransferMultiassets: boolean;1927 readonly asTransferMultiassets: {1928 readonly assets: XcmVersionedMultiAssets;1929 readonly feeItem: u32;1930 readonly dest: XcmVersionedMultiLocation;1931 readonly destWeightLimit: XcmV2WeightLimit;1932 } & Struct;1933 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1934 }19351936 /** @name XcmVersionedMultiAsset (199) */1937 interface XcmVersionedMultiAsset extends Enum {1938 readonly isV0: boolean;1939 readonly asV0: XcmV0MultiAsset;1940 readonly isV1: boolean;1941 readonly asV1: XcmV1MultiAsset;1942 readonly type: 'V0' | 'V1';1943 }19441945 /** @name OrmlTokensModuleCall (202) */1946 interface OrmlTokensModuleCall extends Enum {1947 readonly isTransfer: boolean;1948 readonly asTransfer: {1949 readonly dest: MultiAddress;1950 readonly currencyId: PalletForeignAssetsAssetIds;1951 readonly amount: Compact<u128>;1952 } & Struct;1953 readonly isTransferAll: boolean;1954 readonly asTransferAll: {1955 readonly dest: MultiAddress;1956 readonly currencyId: PalletForeignAssetsAssetIds;1957 readonly keepAlive: bool;1958 } & Struct;1959 readonly isTransferKeepAlive: boolean;1960 readonly asTransferKeepAlive: {1961 readonly dest: MultiAddress;1962 readonly currencyId: PalletForeignAssetsAssetIds;1963 readonly amount: Compact<u128>;1964 } & Struct;1965 readonly isForceTransfer: boolean;1966 readonly asForceTransfer: {1967 readonly source: MultiAddress;1968 readonly dest: MultiAddress;1969 readonly currencyId: PalletForeignAssetsAssetIds;1970 readonly amount: Compact<u128>;1971 } & Struct;1972 readonly isSetBalance: boolean;1973 readonly asSetBalance: {1974 readonly who: MultiAddress;1975 readonly currencyId: PalletForeignAssetsAssetIds;1976 readonly newFree: Compact<u128>;1977 readonly newReserved: Compact<u128>;1978 } & Struct;1979 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';1980 }19811982 /** @name CumulusPalletXcmpQueueCall (203) */1983 interface CumulusPalletXcmpQueueCall extends Enum {1984 readonly isServiceOverweight: boolean;1985 readonly asServiceOverweight: {1986 readonly index: u64;1987 readonly weightLimit: u64;1988 } & Struct;1989 readonly isSuspendXcmExecution: boolean;1990 readonly isResumeXcmExecution: boolean;1991 readonly isUpdateSuspendThreshold: boolean;1992 readonly asUpdateSuspendThreshold: {1993 readonly new_: u32;1994 } & Struct;1995 readonly isUpdateDropThreshold: boolean;1996 readonly asUpdateDropThreshold: {1997 readonly new_: u32;1998 } & Struct;1999 readonly isUpdateResumeThreshold: boolean;2000 readonly asUpdateResumeThreshold: {2001 readonly new_: u32;2002 } & Struct;2003 readonly isUpdateThresholdWeight: boolean;2004 readonly asUpdateThresholdWeight: {2005 readonly new_: u64;2006 } & Struct;2007 readonly isUpdateWeightRestrictDecay: boolean;2008 readonly asUpdateWeightRestrictDecay: {2009 readonly new_: u64;2010 } & Struct;2011 readonly isUpdateXcmpMaxIndividualWeight: boolean;2012 readonly asUpdateXcmpMaxIndividualWeight: {2013 readonly new_: u64;2014 } & Struct;2015 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2016 }20172018 /** @name PalletXcmCall (204) */2019 interface PalletXcmCall extends Enum {2020 readonly isSend: boolean;2021 readonly asSend: {2022 readonly dest: XcmVersionedMultiLocation;2023 readonly message: XcmVersionedXcm;2024 } & Struct;2025 readonly isTeleportAssets: boolean;2026 readonly asTeleportAssets: {2027 readonly dest: XcmVersionedMultiLocation;2028 readonly beneficiary: XcmVersionedMultiLocation;2029 readonly assets: XcmVersionedMultiAssets;2030 readonly feeAssetItem: u32;2031 } & Struct;2032 readonly isReserveTransferAssets: boolean;2033 readonly asReserveTransferAssets: {2034 readonly dest: XcmVersionedMultiLocation;2035 readonly beneficiary: XcmVersionedMultiLocation;2036 readonly assets: XcmVersionedMultiAssets;2037 readonly feeAssetItem: u32;2038 } & Struct;2039 readonly isExecute: boolean;2040 readonly asExecute: {2041 readonly message: XcmVersionedXcm;2042 readonly maxWeight: u64;2043 } & Struct;2044 readonly isForceXcmVersion: boolean;2045 readonly asForceXcmVersion: {2046 readonly location: XcmV1MultiLocation;2047 readonly xcmVersion: u32;2048 } & Struct;2049 readonly isForceDefaultXcmVersion: boolean;2050 readonly asForceDefaultXcmVersion: {2051 readonly maybeXcmVersion: Option<u32>;2052 } & Struct;2053 readonly isForceSubscribeVersionNotify: boolean;2054 readonly asForceSubscribeVersionNotify: {2055 readonly location: XcmVersionedMultiLocation;2056 } & Struct;2057 readonly isForceUnsubscribeVersionNotify: boolean;2058 readonly asForceUnsubscribeVersionNotify: {2059 readonly location: XcmVersionedMultiLocation;2060 } & Struct;2061 readonly isLimitedReserveTransferAssets: boolean;2062 readonly asLimitedReserveTransferAssets: {2063 readonly dest: XcmVersionedMultiLocation;2064 readonly beneficiary: XcmVersionedMultiLocation;2065 readonly assets: XcmVersionedMultiAssets;2066 readonly feeAssetItem: u32;2067 readonly weightLimit: XcmV2WeightLimit;2068 } & Struct;2069 readonly isLimitedTeleportAssets: boolean;2070 readonly asLimitedTeleportAssets: {2071 readonly dest: XcmVersionedMultiLocation;2072 readonly beneficiary: XcmVersionedMultiLocation;2073 readonly assets: XcmVersionedMultiAssets;2074 readonly feeAssetItem: u32;2075 readonly weightLimit: XcmV2WeightLimit;2076 } & Struct;2077 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2078 }20792080 /** @name XcmVersionedXcm (205) */2081 interface XcmVersionedXcm extends Enum {2082 readonly isV0: boolean;2083 readonly asV0: XcmV0Xcm;2084 readonly isV1: boolean;2085 readonly asV1: XcmV1Xcm;2086 readonly isV2: boolean;2087 readonly asV2: XcmV2Xcm;2088 readonly type: 'V0' | 'V1' | 'V2';2089 }20902091 /** @name XcmV0Xcm (206) */2092 interface XcmV0Xcm extends Enum {2093 readonly isWithdrawAsset: boolean;2094 readonly asWithdrawAsset: {2095 readonly assets: Vec<XcmV0MultiAsset>;2096 readonly effects: Vec<XcmV0Order>;2097 } & Struct;2098 readonly isReserveAssetDeposit: boolean;2099 readonly asReserveAssetDeposit: {2100 readonly assets: Vec<XcmV0MultiAsset>;2101 readonly effects: Vec<XcmV0Order>;2102 } & Struct;2103 readonly isTeleportAsset: boolean;2104 readonly asTeleportAsset: {2105 readonly assets: Vec<XcmV0MultiAsset>;2106 readonly effects: Vec<XcmV0Order>;2107 } & Struct;2108 readonly isQueryResponse: boolean;2109 readonly asQueryResponse: {2110 readonly queryId: Compact<u64>;2111 readonly response: XcmV0Response;2112 } & Struct;2113 readonly isTransferAsset: boolean;2114 readonly asTransferAsset: {2115 readonly assets: Vec<XcmV0MultiAsset>;2116 readonly dest: XcmV0MultiLocation;2117 } & Struct;2118 readonly isTransferReserveAsset: boolean;2119 readonly asTransferReserveAsset: {2120 readonly assets: Vec<XcmV0MultiAsset>;2121 readonly dest: XcmV0MultiLocation;2122 readonly effects: Vec<XcmV0Order>;2123 } & Struct;2124 readonly isTransact: boolean;2125 readonly asTransact: {2126 readonly originType: XcmV0OriginKind;2127 readonly requireWeightAtMost: u64;2128 readonly call: XcmDoubleEncoded;2129 } & Struct;2130 readonly isHrmpNewChannelOpenRequest: boolean;2131 readonly asHrmpNewChannelOpenRequest: {2132 readonly sender: Compact<u32>;2133 readonly maxMessageSize: Compact<u32>;2134 readonly maxCapacity: Compact<u32>;2135 } & Struct;2136 readonly isHrmpChannelAccepted: boolean;2137 readonly asHrmpChannelAccepted: {2138 readonly recipient: Compact<u32>;2139 } & Struct;2140 readonly isHrmpChannelClosing: boolean;2141 readonly asHrmpChannelClosing: {2142 readonly initiator: Compact<u32>;2143 readonly sender: Compact<u32>;2144 readonly recipient: Compact<u32>;2145 } & Struct;2146 readonly isRelayedFrom: boolean;2147 readonly asRelayedFrom: {2148 readonly who: XcmV0MultiLocation;2149 readonly message: XcmV0Xcm;2150 } & Struct;2151 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2152 }21532154 /** @name XcmV0Order (208) */2155 interface XcmV0Order extends Enum {2156 readonly isNull: boolean;2157 readonly isDepositAsset: boolean;2158 readonly asDepositAsset: {2159 readonly assets: Vec<XcmV0MultiAsset>;2160 readonly dest: XcmV0MultiLocation;2161 } & Struct;2162 readonly isDepositReserveAsset: boolean;2163 readonly asDepositReserveAsset: {2164 readonly assets: Vec<XcmV0MultiAsset>;2165 readonly dest: XcmV0MultiLocation;2166 readonly effects: Vec<XcmV0Order>;2167 } & Struct;2168 readonly isExchangeAsset: boolean;2169 readonly asExchangeAsset: {2170 readonly give: Vec<XcmV0MultiAsset>;2171 readonly receive: Vec<XcmV0MultiAsset>;2172 } & Struct;2173 readonly isInitiateReserveWithdraw: boolean;2174 readonly asInitiateReserveWithdraw: {2175 readonly assets: Vec<XcmV0MultiAsset>;2176 readonly reserve: XcmV0MultiLocation;2177 readonly effects: Vec<XcmV0Order>;2178 } & Struct;2179 readonly isInitiateTeleport: boolean;2180 readonly asInitiateTeleport: {2181 readonly assets: Vec<XcmV0MultiAsset>;2182 readonly dest: XcmV0MultiLocation;2183 readonly effects: Vec<XcmV0Order>;2184 } & Struct;2185 readonly isQueryHolding: boolean;2186 readonly asQueryHolding: {2187 readonly queryId: Compact<u64>;2188 readonly dest: XcmV0MultiLocation;2189 readonly assets: Vec<XcmV0MultiAsset>;2190 } & Struct;2191 readonly isBuyExecution: boolean;2192 readonly asBuyExecution: {2193 readonly fees: XcmV0MultiAsset;2194 readonly weight: u64;2195 readonly debt: u64;2196 readonly haltOnError: bool;2197 readonly xcm: Vec<XcmV0Xcm>;2198 } & Struct;2199 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2200 }22012202 /** @name XcmV0Response (210) */2203 interface XcmV0Response extends Enum {2204 readonly isAssets: boolean;2205 readonly asAssets: Vec<XcmV0MultiAsset>;2206 readonly type: 'Assets';2207 }22082209 /** @name XcmV1Xcm (211) */2210 interface XcmV1Xcm extends Enum {2211 readonly isWithdrawAsset: boolean;2212 readonly asWithdrawAsset: {2213 readonly assets: XcmV1MultiassetMultiAssets;2214 readonly effects: Vec<XcmV1Order>;2215 } & Struct;2216 readonly isReserveAssetDeposited: boolean;2217 readonly asReserveAssetDeposited: {2218 readonly assets: XcmV1MultiassetMultiAssets;2219 readonly effects: Vec<XcmV1Order>;2220 } & Struct;2221 readonly isReceiveTeleportedAsset: boolean;2222 readonly asReceiveTeleportedAsset: {2223 readonly assets: XcmV1MultiassetMultiAssets;2224 readonly effects: Vec<XcmV1Order>;2225 } & Struct;2226 readonly isQueryResponse: boolean;2227 readonly asQueryResponse: {2228 readonly queryId: Compact<u64>;2229 readonly response: XcmV1Response;2230 } & Struct;2231 readonly isTransferAsset: boolean;2232 readonly asTransferAsset: {2233 readonly assets: XcmV1MultiassetMultiAssets;2234 readonly beneficiary: XcmV1MultiLocation;2235 } & Struct;2236 readonly isTransferReserveAsset: boolean;2237 readonly asTransferReserveAsset: {2238 readonly assets: XcmV1MultiassetMultiAssets;2239 readonly dest: XcmV1MultiLocation;2240 readonly effects: Vec<XcmV1Order>;2241 } & Struct;2242 readonly isTransact: boolean;2243 readonly asTransact: {2244 readonly originType: XcmV0OriginKind;2245 readonly requireWeightAtMost: u64;2246 readonly call: XcmDoubleEncoded;2247 } & Struct;2248 readonly isHrmpNewChannelOpenRequest: boolean;2249 readonly asHrmpNewChannelOpenRequest: {2250 readonly sender: Compact<u32>;2251 readonly maxMessageSize: Compact<u32>;2252 readonly maxCapacity: Compact<u32>;2253 } & Struct;2254 readonly isHrmpChannelAccepted: boolean;2255 readonly asHrmpChannelAccepted: {2256 readonly recipient: Compact<u32>;2257 } & Struct;2258 readonly isHrmpChannelClosing: boolean;2259 readonly asHrmpChannelClosing: {2260 readonly initiator: Compact<u32>;2261 readonly sender: Compact<u32>;2262 readonly recipient: Compact<u32>;2263 } & Struct;2264 readonly isRelayedFrom: boolean;2265 readonly asRelayedFrom: {2266 readonly who: XcmV1MultilocationJunctions;2267 readonly message: XcmV1Xcm;2268 } & Struct;2269 readonly isSubscribeVersion: boolean;2270 readonly asSubscribeVersion: {2271 readonly queryId: Compact<u64>;2272 readonly maxResponseWeight: Compact<u64>;2273 } & Struct;2274 readonly isUnsubscribeVersion: boolean;2275 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2276 }22772278 /** @name XcmV1Order (213) */2279 interface XcmV1Order extends Enum {2280 readonly isNoop: boolean;2281 readonly isDepositAsset: boolean;2282 readonly asDepositAsset: {2283 readonly assets: XcmV1MultiassetMultiAssetFilter;2284 readonly maxAssets: u32;2285 readonly beneficiary: XcmV1MultiLocation;2286 } & Struct;2287 readonly isDepositReserveAsset: boolean;2288 readonly asDepositReserveAsset: {2289 readonly assets: XcmV1MultiassetMultiAssetFilter;2290 readonly maxAssets: u32;2291 readonly dest: XcmV1MultiLocation;2292 readonly effects: Vec<XcmV1Order>;2293 } & Struct;2294 readonly isExchangeAsset: boolean;2295 readonly asExchangeAsset: {2296 readonly give: XcmV1MultiassetMultiAssetFilter;2297 readonly receive: XcmV1MultiassetMultiAssets;2298 } & Struct;2299 readonly isInitiateReserveWithdraw: boolean;2300 readonly asInitiateReserveWithdraw: {2301 readonly assets: XcmV1MultiassetMultiAssetFilter;2302 readonly reserve: XcmV1MultiLocation;2303 readonly effects: Vec<XcmV1Order>;2304 } & Struct;2305 readonly isInitiateTeleport: boolean;2306 readonly asInitiateTeleport: {2307 readonly assets: XcmV1MultiassetMultiAssetFilter;2308 readonly dest: XcmV1MultiLocation;2309 readonly effects: Vec<XcmV1Order>;2310 } & Struct;2311 readonly isQueryHolding: boolean;2312 readonly asQueryHolding: {2313 readonly queryId: Compact<u64>;2314 readonly dest: XcmV1MultiLocation;2315 readonly assets: XcmV1MultiassetMultiAssetFilter;2316 } & Struct;2317 readonly isBuyExecution: boolean;2318 readonly asBuyExecution: {2319 readonly fees: XcmV1MultiAsset;2320 readonly weight: u64;2321 readonly debt: u64;2322 readonly haltOnError: bool;2323 readonly instructions: Vec<XcmV1Xcm>;2324 } & Struct;2325 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2326 }23272328 /** @name XcmV1Response (215) */2329 interface XcmV1Response extends Enum {2330 readonly isAssets: boolean;2331 readonly asAssets: XcmV1MultiassetMultiAssets;2332 readonly isVersion: boolean;2333 readonly asVersion: u32;2334 readonly type: 'Assets' | 'Version';2335 }23362337 /** @name CumulusPalletXcmCall (229) */2338 type CumulusPalletXcmCall = Null;23392340 /** @name CumulusPalletDmpQueueCall (230) */2341 interface CumulusPalletDmpQueueCall extends Enum {2342 readonly isServiceOverweight: boolean;2343 readonly asServiceOverweight: {2344 readonly index: u64;2345 readonly weightLimit: u64;2346 } & Struct;2347 readonly type: 'ServiceOverweight';2348 }23492350 /** @name PalletInflationCall (231) */2351 interface PalletInflationCall extends Enum {2352 readonly isStartInflation: boolean;2353 readonly asStartInflation: {2354 readonly inflationStartRelayBlock: u32;2355 } & Struct;2356 readonly type: 'StartInflation';2357 }23582359 /** @name PalletUniqueCall (232) */2360 interface PalletUniqueCall extends Enum {2361 readonly isCreateCollection: boolean;2362 readonly asCreateCollection: {2363 readonly collectionName: Vec<u16>;2364 readonly collectionDescription: Vec<u16>;2365 readonly tokenPrefix: Bytes;2366 readonly mode: UpDataStructsCollectionMode;2367 } & Struct;2368 readonly isCreateCollectionEx: boolean;2369 readonly asCreateCollectionEx: {2370 readonly data: UpDataStructsCreateCollectionData;2371 } & Struct;2372 readonly isDestroyCollection: boolean;2373 readonly asDestroyCollection: {2374 readonly collectionId: u32;2375 } & Struct;2376 readonly isAddToAllowList: boolean;2377 readonly asAddToAllowList: {2378 readonly collectionId: u32;2379 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2380 } & Struct;2381 readonly isRemoveFromAllowList: boolean;2382 readonly asRemoveFromAllowList: {2383 readonly collectionId: u32;2384 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2385 } & Struct;2386 readonly isChangeCollectionOwner: boolean;2387 readonly asChangeCollectionOwner: {2388 readonly collectionId: u32;2389 readonly newOwner: AccountId32;2390 } & Struct;2391 readonly isAddCollectionAdmin: boolean;2392 readonly asAddCollectionAdmin: {2393 readonly collectionId: u32;2394 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2395 } & Struct;2396 readonly isRemoveCollectionAdmin: boolean;2397 readonly asRemoveCollectionAdmin: {2398 readonly collectionId: u32;2399 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2400 } & Struct;2401 readonly isSetCollectionSponsor: boolean;2402 readonly asSetCollectionSponsor: {2403 readonly collectionId: u32;2404 readonly newSponsor: AccountId32;2405 } & Struct;2406 readonly isConfirmSponsorship: boolean;2407 readonly asConfirmSponsorship: {2408 readonly collectionId: u32;2409 } & Struct;2410 readonly isRemoveCollectionSponsor: boolean;2411 readonly asRemoveCollectionSponsor: {2412 readonly collectionId: u32;2413 } & Struct;2414 readonly isCreateItem: boolean;2415 readonly asCreateItem: {2416 readonly collectionId: u32;2417 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2418 readonly data: UpDataStructsCreateItemData;2419 } & Struct;2420 readonly isCreateMultipleItems: boolean;2421 readonly asCreateMultipleItems: {2422 readonly collectionId: u32;2423 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2424 readonly itemsData: Vec<UpDataStructsCreateItemData>;2425 } & Struct;2426 readonly isSetCollectionProperties: boolean;2427 readonly asSetCollectionProperties: {2428 readonly collectionId: u32;2429 readonly properties: Vec<UpDataStructsProperty>;2430 } & Struct;2431 readonly isDeleteCollectionProperties: boolean;2432 readonly asDeleteCollectionProperties: {2433 readonly collectionId: u32;2434 readonly propertyKeys: Vec<Bytes>;2435 } & Struct;2436 readonly isSetTokenProperties: boolean;2437 readonly asSetTokenProperties: {2438 readonly collectionId: u32;2439 readonly tokenId: u32;2440 readonly properties: Vec<UpDataStructsProperty>;2441 } & Struct;2442 readonly isDeleteTokenProperties: boolean;2443 readonly asDeleteTokenProperties: {2444 readonly collectionId: u32;2445 readonly tokenId: u32;2446 readonly propertyKeys: Vec<Bytes>;2447 } & Struct;2448 readonly isSetTokenPropertyPermissions: boolean;2449 readonly asSetTokenPropertyPermissions: {2450 readonly collectionId: u32;2451 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2452 } & Struct;2453 readonly isCreateMultipleItemsEx: boolean;2454 readonly asCreateMultipleItemsEx: {2455 readonly collectionId: u32;2456 readonly data: UpDataStructsCreateItemExData;2457 } & Struct;2458 readonly isSetTransfersEnabledFlag: boolean;2459 readonly asSetTransfersEnabledFlag: {2460 readonly collectionId: u32;2461 readonly value: bool;2462 } & Struct;2463 readonly isBurnItem: boolean;2464 readonly asBurnItem: {2465 readonly collectionId: u32;2466 readonly itemId: u32;2467 readonly value: u128;2468 } & Struct;2469 readonly isBurnFrom: boolean;2470 readonly asBurnFrom: {2471 readonly collectionId: u32;2472 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2473 readonly itemId: u32;2474 readonly value: u128;2475 } & Struct;2476 readonly isTransfer: boolean;2477 readonly asTransfer: {2478 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2479 readonly collectionId: u32;2480 readonly itemId: u32;2481 readonly value: u128;2482 } & Struct;2483 readonly isApprove: boolean;2484 readonly asApprove: {2485 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2486 readonly collectionId: u32;2487 readonly itemId: u32;2488 readonly amount: u128;2489 } & Struct;2490 readonly isTransferFrom: boolean;2491 readonly asTransferFrom: {2492 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2493 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2494 readonly collectionId: u32;2495 readonly itemId: u32;2496 readonly value: u128;2497 } & Struct;2498 readonly isSetCollectionLimits: boolean;2499 readonly asSetCollectionLimits: {2500 readonly collectionId: u32;2501 readonly newLimit: UpDataStructsCollectionLimits;2502 } & Struct;2503 readonly isSetCollectionPermissions: boolean;2504 readonly asSetCollectionPermissions: {2505 readonly collectionId: u32;2506 readonly newPermission: UpDataStructsCollectionPermissions;2507 } & Struct;2508 readonly isRepartition: boolean;2509 readonly asRepartition: {2510 readonly collectionId: u32;2511 readonly tokenId: u32;2512 readonly amount: u128;2513 } & Struct;2514 readonly isSetAllowanceForAll: boolean;2515 readonly asSetAllowanceForAll: {2516 readonly collectionId: u32;2517 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2518 readonly approve: bool;2519 } & Struct;2520 readonly isForceRepairCollection: boolean;2521 readonly asForceRepairCollection: {2522 readonly collectionId: u32;2523 } & Struct;2524 readonly isForceRepairItem: boolean;2525 readonly asForceRepairItem: {2526 readonly collectionId: u32;2527 readonly itemId: u32;2528 } & Struct;2529 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';2530 }25312532 /** @name UpDataStructsCollectionMode (237) */2533 interface UpDataStructsCollectionMode extends Enum {2534 readonly isNft: boolean;2535 readonly isFungible: boolean;2536 readonly asFungible: u8;2537 readonly isReFungible: boolean;2538 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2539 }25402541 /** @name UpDataStructsCreateCollectionData (238) */2542 interface UpDataStructsCreateCollectionData extends Struct {2543 readonly mode: UpDataStructsCollectionMode;2544 readonly access: Option<UpDataStructsAccessMode>;2545 readonly name: Vec<u16>;2546 readonly description: Vec<u16>;2547 readonly tokenPrefix: Bytes;2548 readonly pendingSponsor: Option<AccountId32>;2549 readonly limits: Option<UpDataStructsCollectionLimits>;2550 readonly permissions: Option<UpDataStructsCollectionPermissions>;2551 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2552 readonly properties: Vec<UpDataStructsProperty>;2553 }25542555 /** @name UpDataStructsAccessMode (240) */2556 interface UpDataStructsAccessMode extends Enum {2557 readonly isNormal: boolean;2558 readonly isAllowList: boolean;2559 readonly type: 'Normal' | 'AllowList';2560 }25612562 /** @name UpDataStructsCollectionLimits (242) */2563 interface UpDataStructsCollectionLimits extends Struct {2564 readonly accountTokenOwnershipLimit: Option<u32>;2565 readonly sponsoredDataSize: Option<u32>;2566 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2567 readonly tokenLimit: Option<u32>;2568 readonly sponsorTransferTimeout: Option<u32>;2569 readonly sponsorApproveTimeout: Option<u32>;2570 readonly ownerCanTransfer: Option<bool>;2571 readonly ownerCanDestroy: Option<bool>;2572 readonly transfersEnabled: Option<bool>;2573 }25742575 /** @name UpDataStructsSponsoringRateLimit (244) */2576 interface UpDataStructsSponsoringRateLimit extends Enum {2577 readonly isSponsoringDisabled: boolean;2578 readonly isBlocks: boolean;2579 readonly asBlocks: u32;2580 readonly type: 'SponsoringDisabled' | 'Blocks';2581 }25822583 /** @name UpDataStructsCollectionPermissions (247) */2584 interface UpDataStructsCollectionPermissions extends Struct {2585 readonly access: Option<UpDataStructsAccessMode>;2586 readonly mintMode: Option<bool>;2587 readonly nesting: Option<UpDataStructsNestingPermissions>;2588 }25892590 /** @name UpDataStructsNestingPermissions (249) */2591 interface UpDataStructsNestingPermissions extends Struct {2592 readonly tokenOwner: bool;2593 readonly collectionAdmin: bool;2594 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2595 }25962597 /** @name UpDataStructsOwnerRestrictedSet (251) */2598 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25992600 /** @name UpDataStructsPropertyKeyPermission (256) */2601 interface UpDataStructsPropertyKeyPermission extends Struct {2602 readonly key: Bytes;2603 readonly permission: UpDataStructsPropertyPermission;2604 }26052606 /** @name UpDataStructsPropertyPermission (257) */2607 interface UpDataStructsPropertyPermission extends Struct {2608 readonly mutable: bool;2609 readonly collectionAdmin: bool;2610 readonly tokenOwner: bool;2611 }26122613 /** @name UpDataStructsProperty (260) */2614 interface UpDataStructsProperty extends Struct {2615 readonly key: Bytes;2616 readonly value: Bytes;2617 }26182619 /** @name UpDataStructsCreateItemData (263) */2620 interface UpDataStructsCreateItemData extends Enum {2621 readonly isNft: boolean;2622 readonly asNft: UpDataStructsCreateNftData;2623 readonly isFungible: boolean;2624 readonly asFungible: UpDataStructsCreateFungibleData;2625 readonly isReFungible: boolean;2626 readonly asReFungible: UpDataStructsCreateReFungibleData;2627 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2628 }26292630 /** @name UpDataStructsCreateNftData (264) */2631 interface UpDataStructsCreateNftData extends Struct {2632 readonly properties: Vec<UpDataStructsProperty>;2633 }26342635 /** @name UpDataStructsCreateFungibleData (265) */2636 interface UpDataStructsCreateFungibleData extends Struct {2637 readonly value: u128;2638 }26392640 /** @name UpDataStructsCreateReFungibleData (266) */2641 interface UpDataStructsCreateReFungibleData extends Struct {2642 readonly pieces: u128;2643 readonly properties: Vec<UpDataStructsProperty>;2644 }26452646 /** @name UpDataStructsCreateItemExData (269) */2647 interface UpDataStructsCreateItemExData extends Enum {2648 readonly isNft: boolean;2649 readonly asNft: Vec<UpDataStructsCreateNftExData>;2650 readonly isFungible: boolean;2651 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2652 readonly isRefungibleMultipleItems: boolean;2653 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2654 readonly isRefungibleMultipleOwners: boolean;2655 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2656 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2657 }26582659 /** @name UpDataStructsCreateNftExData (271) */2660 interface UpDataStructsCreateNftExData extends Struct {2661 readonly properties: Vec<UpDataStructsProperty>;2662 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2663 }26642665 /** @name UpDataStructsCreateRefungibleExSingleOwner (278) */2666 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2667 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2668 readonly pieces: u128;2669 readonly properties: Vec<UpDataStructsProperty>;2670 }26712672 /** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */2673 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2674 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2675 readonly properties: Vec<UpDataStructsProperty>;2676 }26772678 /** @name PalletConfigurationCall (281) */2679 interface PalletConfigurationCall extends Enum {2680 readonly isSetWeightToFeeCoefficientOverride: boolean;2681 readonly asSetWeightToFeeCoefficientOverride: {2682 readonly coeff: Option<u64>;2683 } & Struct;2684 readonly isSetMinGasPriceOverride: boolean;2685 readonly asSetMinGasPriceOverride: {2686 readonly coeff: Option<u64>;2687 } & Struct;2688 readonly isSetXcmAllowedLocations: boolean;2689 readonly asSetXcmAllowedLocations: {2690 readonly locations: Option<Vec<XcmV1MultiLocation>>;2691 } & Struct;2692 readonly isSetAppPromotionConfigurationOverride: boolean;2693 readonly asSetAppPromotionConfigurationOverride: {2694 readonly configuration: PalletConfigurationAppPromotionConfiguration;2695 } & Struct;2696 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2697 }26982699 /** @name PalletConfigurationAppPromotionConfiguration (286) */2700 interface PalletConfigurationAppPromotionConfiguration extends Struct {2701 readonly recalculationInterval: Option<u32>;2702 readonly pendingInterval: Option<u32>;2703 readonly intervalIncome: Option<Perbill>;2704 readonly maxStakersPerCalculation: Option<u8>;2705 }27062707 /** @name PalletTemplateTransactionPaymentCall (289) */2708 type PalletTemplateTransactionPaymentCall = Null;27092710 /** @name PalletStructureCall (290) */2711 type PalletStructureCall = Null;27122713 /** @name PalletRmrkCoreCall (291) */2714 interface PalletRmrkCoreCall extends Enum {2715 readonly isCreateCollection: boolean;2716 readonly asCreateCollection: {2717 readonly metadata: Bytes;2718 readonly max: Option<u32>;2719 readonly symbol: Bytes;2720 } & Struct;2721 readonly isDestroyCollection: boolean;2722 readonly asDestroyCollection: {2723 readonly collectionId: u32;2724 } & Struct;2725 readonly isChangeCollectionIssuer: boolean;2726 readonly asChangeCollectionIssuer: {2727 readonly collectionId: u32;2728 readonly newIssuer: MultiAddress;2729 } & Struct;2730 readonly isLockCollection: boolean;2731 readonly asLockCollection: {2732 readonly collectionId: u32;2733 } & Struct;2734 readonly isMintNft: boolean;2735 readonly asMintNft: {2736 readonly owner: Option<AccountId32>;2737 readonly collectionId: u32;2738 readonly recipient: Option<AccountId32>;2739 readonly royaltyAmount: Option<Permill>;2740 readonly metadata: Bytes;2741 readonly transferable: bool;2742 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2743 } & Struct;2744 readonly isBurnNft: boolean;2745 readonly asBurnNft: {2746 readonly collectionId: u32;2747 readonly nftId: u32;2748 readonly maxBurns: u32;2749 } & Struct;2750 readonly isSend: boolean;2751 readonly asSend: {2752 readonly rmrkCollectionId: u32;2753 readonly rmrkNftId: u32;2754 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2755 } & Struct;2756 readonly isAcceptNft: boolean;2757 readonly asAcceptNft: {2758 readonly rmrkCollectionId: u32;2759 readonly rmrkNftId: u32;2760 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2761 } & Struct;2762 readonly isRejectNft: boolean;2763 readonly asRejectNft: {2764 readonly rmrkCollectionId: u32;2765 readonly rmrkNftId: u32;2766 } & Struct;2767 readonly isAcceptResource: boolean;2768 readonly asAcceptResource: {2769 readonly rmrkCollectionId: u32;2770 readonly rmrkNftId: u32;2771 readonly resourceId: u32;2772 } & Struct;2773 readonly isAcceptResourceRemoval: boolean;2774 readonly asAcceptResourceRemoval: {2775 readonly rmrkCollectionId: u32;2776 readonly rmrkNftId: u32;2777 readonly resourceId: u32;2778 } & Struct;2779 readonly isSetProperty: boolean;2780 readonly asSetProperty: {2781 readonly rmrkCollectionId: Compact<u32>;2782 readonly maybeNftId: Option<u32>;2783 readonly key: Bytes;2784 readonly value: Bytes;2785 } & Struct;2786 readonly isSetPriority: boolean;2787 readonly asSetPriority: {2788 readonly rmrkCollectionId: u32;2789 readonly rmrkNftId: u32;2790 readonly priorities: Vec<u32>;2791 } & Struct;2792 readonly isAddBasicResource: boolean;2793 readonly asAddBasicResource: {2794 readonly rmrkCollectionId: u32;2795 readonly nftId: u32;2796 readonly resource: RmrkTraitsResourceBasicResource;2797 } & Struct;2798 readonly isAddComposableResource: boolean;2799 readonly asAddComposableResource: {2800 readonly rmrkCollectionId: u32;2801 readonly nftId: u32;2802 readonly resource: RmrkTraitsResourceComposableResource;2803 } & Struct;2804 readonly isAddSlotResource: boolean;2805 readonly asAddSlotResource: {2806 readonly rmrkCollectionId: u32;2807 readonly nftId: u32;2808 readonly resource: RmrkTraitsResourceSlotResource;2809 } & Struct;2810 readonly isRemoveResource: boolean;2811 readonly asRemoveResource: {2812 readonly rmrkCollectionId: u32;2813 readonly nftId: u32;2814 readonly resourceId: u32;2815 } & Struct;2816 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2817 }28182819 /** @name RmrkTraitsResourceResourceTypes (297) */2820 interface RmrkTraitsResourceResourceTypes extends Enum {2821 readonly isBasic: boolean;2822 readonly asBasic: RmrkTraitsResourceBasicResource;2823 readonly isComposable: boolean;2824 readonly asComposable: RmrkTraitsResourceComposableResource;2825 readonly isSlot: boolean;2826 readonly asSlot: RmrkTraitsResourceSlotResource;2827 readonly type: 'Basic' | 'Composable' | 'Slot';2828 }28292830 /** @name RmrkTraitsResourceBasicResource (299) */2831 interface RmrkTraitsResourceBasicResource extends Struct {2832 readonly src: Option<Bytes>;2833 readonly metadata: Option<Bytes>;2834 readonly license: Option<Bytes>;2835 readonly thumb: Option<Bytes>;2836 }28372838 /** @name RmrkTraitsResourceComposableResource (301) */2839 interface RmrkTraitsResourceComposableResource extends Struct {2840 readonly parts: Vec<u32>;2841 readonly base: u32;2842 readonly src: Option<Bytes>;2843 readonly metadata: Option<Bytes>;2844 readonly license: Option<Bytes>;2845 readonly thumb: Option<Bytes>;2846 }28472848 /** @name RmrkTraitsResourceSlotResource (302) */2849 interface RmrkTraitsResourceSlotResource extends Struct {2850 readonly base: u32;2851 readonly src: Option<Bytes>;2852 readonly metadata: Option<Bytes>;2853 readonly slot: u32;2854 readonly license: Option<Bytes>;2855 readonly thumb: Option<Bytes>;2856 }28572858 /** @name PalletRmrkEquipCall (305) */2859 interface PalletRmrkEquipCall extends Enum {2860 readonly isCreateBase: boolean;2861 readonly asCreateBase: {2862 readonly baseType: Bytes;2863 readonly symbol: Bytes;2864 readonly parts: Vec<RmrkTraitsPartPartType>;2865 } & Struct;2866 readonly isThemeAdd: boolean;2867 readonly asThemeAdd: {2868 readonly baseId: u32;2869 readonly theme: RmrkTraitsTheme;2870 } & Struct;2871 readonly isEquippable: boolean;2872 readonly asEquippable: {2873 readonly baseId: u32;2874 readonly slotId: u32;2875 readonly equippables: RmrkTraitsPartEquippableList;2876 } & Struct;2877 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2878 }28792880 /** @name RmrkTraitsPartPartType (308) */2881 interface RmrkTraitsPartPartType extends Enum {2882 readonly isFixedPart: boolean;2883 readonly asFixedPart: RmrkTraitsPartFixedPart;2884 readonly isSlotPart: boolean;2885 readonly asSlotPart: RmrkTraitsPartSlotPart;2886 readonly type: 'FixedPart' | 'SlotPart';2887 }28882889 /** @name RmrkTraitsPartFixedPart (310) */2890 interface RmrkTraitsPartFixedPart extends Struct {2891 readonly id: u32;2892 readonly z: u32;2893 readonly src: Bytes;2894 }28952896 /** @name RmrkTraitsPartSlotPart (311) */2897 interface RmrkTraitsPartSlotPart extends Struct {2898 readonly id: u32;2899 readonly equippable: RmrkTraitsPartEquippableList;2900 readonly src: Bytes;2901 readonly z: u32;2902 }29032904 /** @name RmrkTraitsPartEquippableList (312) */2905 interface RmrkTraitsPartEquippableList extends Enum {2906 readonly isAll: boolean;2907 readonly isEmpty: boolean;2908 readonly isCustom: boolean;2909 readonly asCustom: Vec<u32>;2910 readonly type: 'All' | 'Empty' | 'Custom';2911 }29122913 /** @name RmrkTraitsTheme (314) */2914 interface RmrkTraitsTheme extends Struct {2915 readonly name: Bytes;2916 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2917 readonly inherit: bool;2918 }29192920 /** @name RmrkTraitsThemeThemeProperty (316) */2921 interface RmrkTraitsThemeThemeProperty extends Struct {2922 readonly key: Bytes;2923 readonly value: Bytes;2924 }29252926 /** @name PalletAppPromotionCall (318) */2927 interface PalletAppPromotionCall extends Enum {2928 readonly isSetAdminAddress: boolean;2929 readonly asSetAdminAddress: {2930 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2931 } & Struct;2932 readonly isStake: boolean;2933 readonly asStake: {2934 readonly amount: u128;2935 } & Struct;2936 readonly isUnstake: boolean;2937 readonly isSponsorCollection: boolean;2938 readonly asSponsorCollection: {2939 readonly collectionId: u32;2940 } & Struct;2941 readonly isStopSponsoringCollection: boolean;2942 readonly asStopSponsoringCollection: {2943 readonly collectionId: u32;2944 } & Struct;2945 readonly isSponsorContract: boolean;2946 readonly asSponsorContract: {2947 readonly contractId: H160;2948 } & Struct;2949 readonly isStopSponsoringContract: boolean;2950 readonly asStopSponsoringContract: {2951 readonly contractId: H160;2952 } & Struct;2953 readonly isPayoutStakers: boolean;2954 readonly asPayoutStakers: {2955 readonly stakersNumber: Option<u8>;2956 } & Struct;2957 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2958 }29592960 /** @name PalletForeignAssetsModuleCall (319) */2961 interface PalletForeignAssetsModuleCall extends Enum {2962 readonly isRegisterForeignAsset: boolean;2963 readonly asRegisterForeignAsset: {2964 readonly owner: AccountId32;2965 readonly location: XcmVersionedMultiLocation;2966 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2967 } & Struct;2968 readonly isUpdateForeignAsset: boolean;2969 readonly asUpdateForeignAsset: {2970 readonly foreignAssetId: u32;2971 readonly location: XcmVersionedMultiLocation;2972 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2973 } & Struct;2974 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';2975 }29762977 /** @name PalletEvmCall (320) */2978 interface PalletEvmCall extends Enum {2979 readonly isWithdraw: boolean;2980 readonly asWithdraw: {2981 readonly address: H160;2982 readonly value: u128;2983 } & Struct;2984 readonly isCall: boolean;2985 readonly asCall: {2986 readonly source: H160;2987 readonly target: H160;2988 readonly input: Bytes;2989 readonly value: U256;2990 readonly gasLimit: u64;2991 readonly maxFeePerGas: U256;2992 readonly maxPriorityFeePerGas: Option<U256>;2993 readonly nonce: Option<U256>;2994 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2995 } & Struct;2996 readonly isCreate: boolean;2997 readonly asCreate: {2998 readonly source: H160;2999 readonly init: Bytes;3000 readonly value: U256;3001 readonly gasLimit: u64;3002 readonly maxFeePerGas: U256;3003 readonly maxPriorityFeePerGas: Option<U256>;3004 readonly nonce: Option<U256>;3005 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3006 } & Struct;3007 readonly isCreate2: boolean;3008 readonly asCreate2: {3009 readonly source: H160;3010 readonly init: Bytes;3011 readonly salt: H256;3012 readonly value: U256;3013 readonly gasLimit: u64;3014 readonly maxFeePerGas: U256;3015 readonly maxPriorityFeePerGas: Option<U256>;3016 readonly nonce: Option<U256>;3017 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3018 } & Struct;3019 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3020 }30213022 /** @name PalletEthereumCall (326) */3023 interface PalletEthereumCall extends Enum {3024 readonly isTransact: boolean;3025 readonly asTransact: {3026 readonly transaction: EthereumTransactionTransactionV2;3027 } & Struct;3028 readonly type: 'Transact';3029 }30303031 /** @name EthereumTransactionTransactionV2 (327) */3032 interface EthereumTransactionTransactionV2 extends Enum {3033 readonly isLegacy: boolean;3034 readonly asLegacy: EthereumTransactionLegacyTransaction;3035 readonly isEip2930: boolean;3036 readonly asEip2930: EthereumTransactionEip2930Transaction;3037 readonly isEip1559: boolean;3038 readonly asEip1559: EthereumTransactionEip1559Transaction;3039 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3040 }30413042 /** @name EthereumTransactionLegacyTransaction (328) */3043 interface EthereumTransactionLegacyTransaction extends Struct {3044 readonly nonce: U256;3045 readonly gasPrice: U256;3046 readonly gasLimit: U256;3047 readonly action: EthereumTransactionTransactionAction;3048 readonly value: U256;3049 readonly input: Bytes;3050 readonly signature: EthereumTransactionTransactionSignature;3051 }30523053 /** @name EthereumTransactionTransactionAction (329) */3054 interface EthereumTransactionTransactionAction extends Enum {3055 readonly isCall: boolean;3056 readonly asCall: H160;3057 readonly isCreate: boolean;3058 readonly type: 'Call' | 'Create';3059 }30603061 /** @name EthereumTransactionTransactionSignature (330) */3062 interface EthereumTransactionTransactionSignature extends Struct {3063 readonly v: u64;3064 readonly r: H256;3065 readonly s: H256;3066 }30673068 /** @name EthereumTransactionEip2930Transaction (332) */3069 interface EthereumTransactionEip2930Transaction extends Struct {3070 readonly chainId: u64;3071 readonly nonce: U256;3072 readonly gasPrice: U256;3073 readonly gasLimit: U256;3074 readonly action: EthereumTransactionTransactionAction;3075 readonly value: U256;3076 readonly input: Bytes;3077 readonly accessList: Vec<EthereumTransactionAccessListItem>;3078 readonly oddYParity: bool;3079 readonly r: H256;3080 readonly s: H256;3081 }30823083 /** @name EthereumTransactionAccessListItem (334) */3084 interface EthereumTransactionAccessListItem extends Struct {3085 readonly address: H160;3086 readonly storageKeys: Vec<H256>;3087 }30883089 /** @name EthereumTransactionEip1559Transaction (335) */3090 interface EthereumTransactionEip1559Transaction extends Struct {3091 readonly chainId: u64;3092 readonly nonce: U256;3093 readonly maxPriorityFeePerGas: U256;3094 readonly maxFeePerGas: U256;3095 readonly gasLimit: U256;3096 readonly action: EthereumTransactionTransactionAction;3097 readonly value: U256;3098 readonly input: Bytes;3099 readonly accessList: Vec<EthereumTransactionAccessListItem>;3100 readonly oddYParity: bool;3101 readonly r: H256;3102 readonly s: H256;3103 }31043105 /** @name PalletEvmMigrationCall (336) */3106 interface PalletEvmMigrationCall extends Enum {3107 readonly isBegin: boolean;3108 readonly asBegin: {3109 readonly address: H160;3110 } & Struct;3111 readonly isSetData: boolean;3112 readonly asSetData: {3113 readonly address: H160;3114 readonly data: Vec<ITuple<[H256, H256]>>;3115 } & Struct;3116 readonly isFinish: boolean;3117 readonly asFinish: {3118 readonly address: H160;3119 readonly code: Bytes;3120 } & Struct;3121 readonly isInsertEthLogs: boolean;3122 readonly asInsertEthLogs: {3123 readonly logs: Vec<EthereumLog>;3124 } & Struct;3125 readonly isInsertEvents: boolean;3126 readonly asInsertEvents: {3127 readonly events: Vec<Bytes>;3128 } & Struct;3129 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3130 }31313132 /** @name PalletMaintenanceCall (340) */3133 interface PalletMaintenanceCall extends Enum {3134 readonly isEnable: boolean;3135 readonly isDisable: boolean;3136 readonly type: 'Enable' | 'Disable';3137 }31383139 /** @name PalletTestUtilsCall (341) */3140 interface PalletTestUtilsCall extends Enum {3141 readonly isEnable: boolean;3142 readonly isSetTestValue: boolean;3143 readonly asSetTestValue: {3144 readonly value: u32;3145 } & Struct;3146 readonly isSetTestValueAndRollback: boolean;3147 readonly asSetTestValueAndRollback: {3148 readonly value: u32;3149 } & Struct;3150 readonly isIncTestValue: boolean;3151 readonly isJustTakeFee: boolean;3152 readonly isBatchAll: boolean;3153 readonly asBatchAll: {3154 readonly calls: Vec<Call>;3155 } & Struct;3156 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3157 }31583159 /** @name PalletSudoError (343) */3160 interface PalletSudoError extends Enum {3161 readonly isRequireSudo: boolean;3162 readonly type: 'RequireSudo';3163 }31643165 /** @name OrmlVestingModuleError (345) */3166 interface OrmlVestingModuleError extends Enum {3167 readonly isZeroVestingPeriod: boolean;3168 readonly isZeroVestingPeriodCount: boolean;3169 readonly isInsufficientBalanceToLock: boolean;3170 readonly isTooManyVestingSchedules: boolean;3171 readonly isAmountLow: boolean;3172 readonly isMaxVestingSchedulesExceeded: boolean;3173 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3174 }31753176 /** @name OrmlXtokensModuleError (346) */3177 interface OrmlXtokensModuleError extends Enum {3178 readonly isAssetHasNoReserve: boolean;3179 readonly isNotCrossChainTransfer: boolean;3180 readonly isInvalidDest: boolean;3181 readonly isNotCrossChainTransferableCurrency: boolean;3182 readonly isUnweighableMessage: boolean;3183 readonly isXcmExecutionFailed: boolean;3184 readonly isCannotReanchor: boolean;3185 readonly isInvalidAncestry: boolean;3186 readonly isInvalidAsset: boolean;3187 readonly isDestinationNotInvertible: boolean;3188 readonly isBadVersion: boolean;3189 readonly isDistinctReserveForAssetAndFee: boolean;3190 readonly isZeroFee: boolean;3191 readonly isZeroAmount: boolean;3192 readonly isTooManyAssetsBeingSent: boolean;3193 readonly isAssetIndexNonExistent: boolean;3194 readonly isFeeNotEnough: boolean;3195 readonly isNotSupportedMultiLocation: boolean;3196 readonly isMinXcmFeeNotDefined: boolean;3197 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3198 }31993200 /** @name OrmlTokensBalanceLock (349) */3201 interface OrmlTokensBalanceLock extends Struct {3202 readonly id: U8aFixed;3203 readonly amount: u128;3204 }32053206 /** @name OrmlTokensAccountData (351) */3207 interface OrmlTokensAccountData extends Struct {3208 readonly free: u128;3209 readonly reserved: u128;3210 readonly frozen: u128;3211 }32123213 /** @name OrmlTokensReserveData (353) */3214 interface OrmlTokensReserveData extends Struct {3215 readonly id: Null;3216 readonly amount: u128;3217 }32183219 /** @name OrmlTokensModuleError (355) */3220 interface OrmlTokensModuleError extends Enum {3221 readonly isBalanceTooLow: boolean;3222 readonly isAmountIntoBalanceFailed: boolean;3223 readonly isLiquidityRestrictions: boolean;3224 readonly isMaxLocksExceeded: boolean;3225 readonly isKeepAlive: boolean;3226 readonly isExistentialDeposit: boolean;3227 readonly isDeadAccount: boolean;3228 readonly isTooManyReserves: boolean;3229 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3230 }32313232 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */3233 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3234 readonly sender: u32;3235 readonly state: CumulusPalletXcmpQueueInboundState;3236 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3237 }32383239 /** @name CumulusPalletXcmpQueueInboundState (358) */3240 interface CumulusPalletXcmpQueueInboundState extends Enum {3241 readonly isOk: boolean;3242 readonly isSuspended: boolean;3243 readonly type: 'Ok' | 'Suspended';3244 }32453246 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */3247 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3248 readonly isConcatenatedVersionedXcm: boolean;3249 readonly isConcatenatedEncodedBlob: boolean;3250 readonly isSignals: boolean;3251 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3252 }32533254 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */3255 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3256 readonly recipient: u32;3257 readonly state: CumulusPalletXcmpQueueOutboundState;3258 readonly signalsExist: bool;3259 readonly firstIndex: u16;3260 readonly lastIndex: u16;3261 }32623263 /** @name CumulusPalletXcmpQueueOutboundState (365) */3264 interface CumulusPalletXcmpQueueOutboundState extends Enum {3265 readonly isOk: boolean;3266 readonly isSuspended: boolean;3267 readonly type: 'Ok' | 'Suspended';3268 }32693270 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */3271 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3272 readonly suspendThreshold: u32;3273 readonly dropThreshold: u32;3274 readonly resumeThreshold: u32;3275 readonly thresholdWeight: SpWeightsWeightV2Weight;3276 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3277 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3278 }32793280 /** @name CumulusPalletXcmpQueueError (369) */3281 interface CumulusPalletXcmpQueueError extends Enum {3282 readonly isFailedToSend: boolean;3283 readonly isBadXcmOrigin: boolean;3284 readonly isBadXcm: boolean;3285 readonly isBadOverweightIndex: boolean;3286 readonly isWeightOverLimit: boolean;3287 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3288 }32893290 /** @name PalletXcmError (370) */3291 interface PalletXcmError extends Enum {3292 readonly isUnreachable: boolean;3293 readonly isSendFailure: boolean;3294 readonly isFiltered: boolean;3295 readonly isUnweighableMessage: boolean;3296 readonly isDestinationNotInvertible: boolean;3297 readonly isEmpty: boolean;3298 readonly isCannotReanchor: boolean;3299 readonly isTooManyAssets: boolean;3300 readonly isInvalidOrigin: boolean;3301 readonly isBadVersion: boolean;3302 readonly isBadLocation: boolean;3303 readonly isNoSubscription: boolean;3304 readonly isAlreadySubscribed: boolean;3305 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3306 }33073308 /** @name CumulusPalletXcmError (371) */3309 type CumulusPalletXcmError = Null;33103311 /** @name CumulusPalletDmpQueueConfigData (372) */3312 interface CumulusPalletDmpQueueConfigData extends Struct {3313 readonly maxIndividual: SpWeightsWeightV2Weight;3314 }33153316 /** @name CumulusPalletDmpQueuePageIndexData (373) */3317 interface CumulusPalletDmpQueuePageIndexData extends Struct {3318 readonly beginUsed: u32;3319 readonly endUsed: u32;3320 readonly overweightCount: u64;3321 }33223323 /** @name CumulusPalletDmpQueueError (376) */3324 interface CumulusPalletDmpQueueError extends Enum {3325 readonly isUnknown: boolean;3326 readonly isOverLimit: boolean;3327 readonly type: 'Unknown' | 'OverLimit';3328 }33293330 /** @name PalletUniqueError (380) */3331 interface PalletUniqueError extends Enum {3332 readonly isCollectionDecimalPointLimitExceeded: boolean;3333 readonly isEmptyArgument: boolean;3334 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3335 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3336 }33373338 /** @name PalletConfigurationError (381) */3339 interface PalletConfigurationError extends Enum {3340 readonly isInconsistentConfiguration: boolean;3341 readonly type: 'InconsistentConfiguration';3342 }33433344 /** @name UpDataStructsCollection (382) */3345 interface UpDataStructsCollection extends Struct {3346 readonly owner: AccountId32;3347 readonly mode: UpDataStructsCollectionMode;3348 readonly name: Vec<u16>;3349 readonly description: Vec<u16>;3350 readonly tokenPrefix: Bytes;3351 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3352 readonly limits: UpDataStructsCollectionLimits;3353 readonly permissions: UpDataStructsCollectionPermissions;3354 readonly flags: U8aFixed;3355 }33563357 /** @name UpDataStructsSponsorshipStateAccountId32 (383) */3358 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3359 readonly isDisabled: boolean;3360 readonly isUnconfirmed: boolean;3361 readonly asUnconfirmed: AccountId32;3362 readonly isConfirmed: boolean;3363 readonly asConfirmed: AccountId32;3364 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3365 }33663367 /** @name UpDataStructsProperties (385) */3368 interface UpDataStructsProperties extends Struct {3369 readonly map: UpDataStructsPropertiesMapBoundedVec;3370 readonly consumedSpace: u32;3371 readonly spaceLimit: u32;3372 }33733374 /** @name UpDataStructsPropertiesMapBoundedVec (386) */3375 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33763377 /** @name UpDataStructsPropertiesMapPropertyPermission (391) */3378 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33793380 /** @name UpDataStructsCollectionStats (398) */3381 interface UpDataStructsCollectionStats extends Struct {3382 readonly created: u32;3383 readonly destroyed: u32;3384 readonly alive: u32;3385 }33863387 /** @name UpDataStructsTokenChild (399) */3388 interface UpDataStructsTokenChild extends Struct {3389 readonly token: u32;3390 readonly collection: u32;3391 }33923393 /** @name PhantomTypeUpDataStructs (400) */3394 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}33953396 /** @name UpDataStructsTokenData (402) */3397 interface UpDataStructsTokenData extends Struct {3398 readonly properties: Vec<UpDataStructsProperty>;3399 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3400 readonly pieces: u128;3401 }34023403 /** @name UpDataStructsRpcCollection (404) */3404 interface UpDataStructsRpcCollection extends Struct {3405 readonly owner: AccountId32;3406 readonly mode: UpDataStructsCollectionMode;3407 readonly name: Vec<u16>;3408 readonly description: Vec<u16>;3409 readonly tokenPrefix: Bytes;3410 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3411 readonly limits: UpDataStructsCollectionLimits;3412 readonly permissions: UpDataStructsCollectionPermissions;3413 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3414 readonly properties: Vec<UpDataStructsProperty>;3415 readonly readOnly: bool;3416 readonly flags: UpDataStructsRpcCollectionFlags;3417 }34183419 /** @name UpDataStructsRpcCollectionFlags (405) */3420 interface UpDataStructsRpcCollectionFlags extends Struct {3421 readonly foreign: bool;3422 readonly erc721metadata: bool;3423 }34243425 /** @name RmrkTraitsCollectionCollectionInfo (406) */3426 interface RmrkTraitsCollectionCollectionInfo extends Struct {3427 readonly issuer: AccountId32;3428 readonly metadata: Bytes;3429 readonly max: Option<u32>;3430 readonly symbol: Bytes;3431 readonly nftsCount: u32;3432 }34333434 /** @name RmrkTraitsNftNftInfo (407) */3435 interface RmrkTraitsNftNftInfo extends Struct {3436 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3437 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3438 readonly metadata: Bytes;3439 readonly equipped: bool;3440 readonly pending: bool;3441 }34423443 /** @name RmrkTraitsNftRoyaltyInfo (409) */3444 interface RmrkTraitsNftRoyaltyInfo extends Struct {3445 readonly recipient: AccountId32;3446 readonly amount: Permill;3447 }34483449 /** @name RmrkTraitsResourceResourceInfo (410) */3450 interface RmrkTraitsResourceResourceInfo extends Struct {3451 readonly id: u32;3452 readonly resource: RmrkTraitsResourceResourceTypes;3453 readonly pending: bool;3454 readonly pendingRemoval: bool;3455 }34563457 /** @name RmrkTraitsPropertyPropertyInfo (411) */3458 interface RmrkTraitsPropertyPropertyInfo extends Struct {3459 readonly key: Bytes;3460 readonly value: Bytes;3461 }34623463 /** @name RmrkTraitsBaseBaseInfo (412) */3464 interface RmrkTraitsBaseBaseInfo extends Struct {3465 readonly issuer: AccountId32;3466 readonly baseType: Bytes;3467 readonly symbol: Bytes;3468 }34693470 /** @name RmrkTraitsNftNftChild (413) */3471 interface RmrkTraitsNftNftChild extends Struct {3472 readonly collectionId: u32;3473 readonly nftId: u32;3474 }34753476 /** @name PalletCommonError (415) */3477 interface PalletCommonError extends Enum {3478 readonly isCollectionNotFound: boolean;3479 readonly isMustBeTokenOwner: boolean;3480 readonly isNoPermission: boolean;3481 readonly isCantDestroyNotEmptyCollection: boolean;3482 readonly isPublicMintingNotAllowed: boolean;3483 readonly isAddressNotInAllowlist: boolean;3484 readonly isCollectionNameLimitExceeded: boolean;3485 readonly isCollectionDescriptionLimitExceeded: boolean;3486 readonly isCollectionTokenPrefixLimitExceeded: boolean;3487 readonly isTotalCollectionsLimitExceeded: boolean;3488 readonly isCollectionAdminCountExceeded: boolean;3489 readonly isCollectionLimitBoundsExceeded: boolean;3490 readonly isOwnerPermissionsCantBeReverted: boolean;3491 readonly isTransferNotAllowed: boolean;3492 readonly isAccountTokenLimitExceeded: boolean;3493 readonly isCollectionTokenLimitExceeded: boolean;3494 readonly isMetadataFlagFrozen: boolean;3495 readonly isTokenNotFound: boolean;3496 readonly isTokenValueTooLow: boolean;3497 readonly isApprovedValueTooLow: boolean;3498 readonly isCantApproveMoreThanOwned: boolean;3499 readonly isAddressIsZero: boolean;3500 readonly isUnsupportedOperation: boolean;3501 readonly isNotSufficientFounds: boolean;3502 readonly isUserIsNotAllowedToNest: boolean;3503 readonly isSourceCollectionIsNotAllowedToNest: boolean;3504 readonly isCollectionFieldSizeExceeded: boolean;3505 readonly isNoSpaceForProperty: boolean;3506 readonly isPropertyLimitReached: boolean;3507 readonly isPropertyKeyIsTooLong: boolean;3508 readonly isInvalidCharacterInPropertyKey: boolean;3509 readonly isEmptyPropertyKey: boolean;3510 readonly isCollectionIsExternal: boolean;3511 readonly isCollectionIsInternal: boolean;3512 readonly isConfirmSponsorshipFail: boolean;3513 readonly isUserIsNotCollectionAdmin: boolean;3514 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';3515 }35163517 /** @name PalletFungibleError (417) */3518 interface PalletFungibleError extends Enum {3519 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3520 readonly isFungibleItemsHaveNoId: boolean;3521 readonly isFungibleItemsDontHaveData: boolean;3522 readonly isFungibleDisallowsNesting: boolean;3523 readonly isSettingPropertiesNotAllowed: boolean;3524 readonly isSettingAllowanceForAllNotAllowed: boolean;3525 readonly isFungibleTokensAreAlwaysValid: boolean;3526 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3527 }35283529 /** @name PalletRefungibleItemData (418) */3530 interface PalletRefungibleItemData extends Struct {3531 readonly constData: Bytes;3532 }35333534 /** @name PalletRefungibleError (423) */3535 interface PalletRefungibleError extends Enum {3536 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3537 readonly isWrongRefungiblePieces: boolean;3538 readonly isRepartitionWhileNotOwningAllPieces: boolean;3539 readonly isRefungibleDisallowsNesting: boolean;3540 readonly isSettingPropertiesNotAllowed: boolean;3541 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3542 }35433544 /** @name PalletNonfungibleItemData (424) */3545 interface PalletNonfungibleItemData extends Struct {3546 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3547 }35483549 /** @name UpDataStructsPropertyScope (426) */3550 interface UpDataStructsPropertyScope extends Enum {3551 readonly isNone: boolean;3552 readonly isRmrk: boolean;3553 readonly type: 'None' | 'Rmrk';3554 }35553556 /** @name PalletNonfungibleError (428) */3557 interface PalletNonfungibleError extends Enum {3558 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3559 readonly isNonfungibleItemsHaveNoAmount: boolean;3560 readonly isCantBurnNftWithChildren: boolean;3561 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3562 }35633564 /** @name PalletStructureError (429) */3565 interface PalletStructureError extends Enum {3566 readonly isOuroborosDetected: boolean;3567 readonly isDepthLimit: boolean;3568 readonly isBreadthLimit: boolean;3569 readonly isTokenNotFound: boolean;3570 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3571 }35723573 /** @name PalletRmrkCoreError (430) */3574 interface PalletRmrkCoreError extends Enum {3575 readonly isCorruptedCollectionType: boolean;3576 readonly isRmrkPropertyKeyIsTooLong: boolean;3577 readonly isRmrkPropertyValueIsTooLong: boolean;3578 readonly isRmrkPropertyIsNotFound: boolean;3579 readonly isUnableToDecodeRmrkData: boolean;3580 readonly isCollectionNotEmpty: boolean;3581 readonly isNoAvailableCollectionId: boolean;3582 readonly isNoAvailableNftId: boolean;3583 readonly isCollectionUnknown: boolean;3584 readonly isNoPermission: boolean;3585 readonly isNonTransferable: boolean;3586 readonly isCollectionFullOrLocked: boolean;3587 readonly isResourceDoesntExist: boolean;3588 readonly isCannotSendToDescendentOrSelf: boolean;3589 readonly isCannotAcceptNonOwnedNft: boolean;3590 readonly isCannotRejectNonOwnedNft: boolean;3591 readonly isCannotRejectNonPendingNft: boolean;3592 readonly isResourceNotPending: boolean;3593 readonly isNoAvailableResourceId: boolean;3594 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3595 }35963597 /** @name PalletRmrkEquipError (432) */3598 interface PalletRmrkEquipError extends Enum {3599 readonly isPermissionError: boolean;3600 readonly isNoAvailableBaseId: boolean;3601 readonly isNoAvailablePartId: boolean;3602 readonly isBaseDoesntExist: boolean;3603 readonly isNeedsDefaultThemeFirst: boolean;3604 readonly isPartDoesntExist: boolean;3605 readonly isNoEquippableOnFixedPart: boolean;3606 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3607 }36083609 /** @name PalletAppPromotionError (438) */3610 interface PalletAppPromotionError extends Enum {3611 readonly isAdminNotSet: boolean;3612 readonly isNoPermission: boolean;3613 readonly isNotSufficientFunds: boolean;3614 readonly isPendingForBlockOverflow: boolean;3615 readonly isSponsorNotSet: boolean;3616 readonly isIncorrectLockedBalanceOperation: boolean;3617 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3618 }36193620 /** @name PalletForeignAssetsModuleError (439) */3621 interface PalletForeignAssetsModuleError extends Enum {3622 readonly isBadLocation: boolean;3623 readonly isMultiLocationExisted: boolean;3624 readonly isAssetIdNotExists: boolean;3625 readonly isAssetIdExisted: boolean;3626 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3627 }36283629 /** @name PalletEvmError (441) */3630 interface PalletEvmError extends Enum {3631 readonly isBalanceLow: boolean;3632 readonly isFeeOverflow: boolean;3633 readonly isPaymentOverflow: boolean;3634 readonly isWithdrawFailed: boolean;3635 readonly isGasPriceTooLow: boolean;3636 readonly isInvalidNonce: boolean;3637 readonly isGasLimitTooLow: boolean;3638 readonly isGasLimitTooHigh: boolean;3639 readonly isUndefined: boolean;3640 readonly isReentrancy: boolean;3641 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3642 }36433644 /** @name FpRpcTransactionStatus (444) */3645 interface FpRpcTransactionStatus extends Struct {3646 readonly transactionHash: H256;3647 readonly transactionIndex: u32;3648 readonly from: H160;3649 readonly to: Option<H160>;3650 readonly contractAddress: Option<H160>;3651 readonly logs: Vec<EthereumLog>;3652 readonly logsBloom: EthbloomBloom;3653 }36543655 /** @name EthbloomBloom (446) */3656 interface EthbloomBloom extends U8aFixed {}36573658 /** @name EthereumReceiptReceiptV3 (448) */3659 interface EthereumReceiptReceiptV3 extends Enum {3660 readonly isLegacy: boolean;3661 readonly asLegacy: EthereumReceiptEip658ReceiptData;3662 readonly isEip2930: boolean;3663 readonly asEip2930: EthereumReceiptEip658ReceiptData;3664 readonly isEip1559: boolean;3665 readonly asEip1559: EthereumReceiptEip658ReceiptData;3666 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3667 }36683669 /** @name EthereumReceiptEip658ReceiptData (449) */3670 interface EthereumReceiptEip658ReceiptData extends Struct {3671 readonly statusCode: u8;3672 readonly usedGas: U256;3673 readonly logsBloom: EthbloomBloom;3674 readonly logs: Vec<EthereumLog>;3675 }36763677 /** @name EthereumBlock (450) */3678 interface EthereumBlock extends Struct {3679 readonly header: EthereumHeader;3680 readonly transactions: Vec<EthereumTransactionTransactionV2>;3681 readonly ommers: Vec<EthereumHeader>;3682 }36833684 /** @name EthereumHeader (451) */3685 interface EthereumHeader extends Struct {3686 readonly parentHash: H256;3687 readonly ommersHash: H256;3688 readonly beneficiary: H160;3689 readonly stateRoot: H256;3690 readonly transactionsRoot: H256;3691 readonly receiptsRoot: H256;3692 readonly logsBloom: EthbloomBloom;3693 readonly difficulty: U256;3694 readonly number: U256;3695 readonly gasLimit: U256;3696 readonly gasUsed: U256;3697 readonly timestamp: u64;3698 readonly extraData: Bytes;3699 readonly mixHash: H256;3700 readonly nonce: EthereumTypesHashH64;3701 }37023703 /** @name EthereumTypesHashH64 (452) */3704 interface EthereumTypesHashH64 extends U8aFixed {}37053706 /** @name PalletEthereumError (457) */3707 interface PalletEthereumError extends Enum {3708 readonly isInvalidSignature: boolean;3709 readonly isPreLogExists: boolean;3710 readonly type: 'InvalidSignature' | 'PreLogExists';3711 }37123713 /** @name PalletEvmCoderSubstrateError (458) */3714 interface PalletEvmCoderSubstrateError extends Enum {3715 readonly isOutOfGas: boolean;3716 readonly isOutOfFund: boolean;3717 readonly type: 'OutOfGas' | 'OutOfFund';3718 }37193720 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (459) */3721 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3722 readonly isDisabled: boolean;3723 readonly isUnconfirmed: boolean;3724 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3725 readonly isConfirmed: boolean;3726 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3727 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3728 }37293730 /** @name PalletEvmContractHelpersSponsoringModeT (460) */3731 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3732 readonly isDisabled: boolean;3733 readonly isAllowlisted: boolean;3734 readonly isGenerous: boolean;3735 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3736 }37373738 /** @name PalletEvmContractHelpersError (466) */3739 interface PalletEvmContractHelpersError extends Enum {3740 readonly isNoPermission: boolean;3741 readonly isNoPendingSponsor: boolean;3742 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3743 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3744 }37453746 /** @name PalletEvmMigrationError (467) */3747 interface PalletEvmMigrationError extends Enum {3748 readonly isAccountNotEmpty: boolean;3749 readonly isAccountIsNotMigrating: boolean;3750 readonly isBadEvent: boolean;3751 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3752 }37533754 /** @name PalletMaintenanceError (468) */3755 type PalletMaintenanceError = Null;37563757 /** @name PalletTestUtilsError (469) */3758 interface PalletTestUtilsError extends Enum {3759 readonly isTestPalletDisabled: boolean;3760 readonly isTriggerRollback: boolean;3761 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3762 }37633764 /** @name SpRuntimeMultiSignature (471) */3765 interface SpRuntimeMultiSignature extends Enum {3766 readonly isEd25519: boolean;3767 readonly asEd25519: SpCoreEd25519Signature;3768 readonly isSr25519: boolean;3769 readonly asSr25519: SpCoreSr25519Signature;3770 readonly isEcdsa: boolean;3771 readonly asEcdsa: SpCoreEcdsaSignature;3772 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3773 }37743775 /** @name SpCoreEd25519Signature (472) */3776 interface SpCoreEd25519Signature extends U8aFixed {}37773778 /** @name SpCoreSr25519Signature (474) */3779 interface SpCoreSr25519Signature extends U8aFixed {}37803781 /** @name SpCoreEcdsaSignature (475) */3782 interface SpCoreEcdsaSignature extends U8aFixed {}37833784 /** @name FrameSystemExtensionsCheckSpecVersion (478) */3785 type FrameSystemExtensionsCheckSpecVersion = Null;37863787 /** @name FrameSystemExtensionsCheckTxVersion (479) */3788 type FrameSystemExtensionsCheckTxVersion = Null;37893790 /** @name FrameSystemExtensionsCheckGenesis (480) */3791 type FrameSystemExtensionsCheckGenesis = Null;37923793 /** @name FrameSystemExtensionsCheckNonce (483) */3794 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}37953796 /** @name FrameSystemExtensionsCheckWeight (484) */3797 type FrameSystemExtensionsCheckWeight = Null;37983799 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (485) */3800 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;38013802 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (486) */3803 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}38043805 /** @name OpalRuntimeRuntime (487) */3806 type OpalRuntimeRuntime = Null;38073808 /** @name PalletEthereumFakeTransactionFinalizer (488) */3809 type PalletEthereumFakeTransactionFinalizer = Null;38103811} // declare module1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/types/lookup';78import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { ITuple } from '@polkadot/types-codec/types';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { Event } from '@polkadot/types/interfaces/system';1213declare module '@polkadot/types/lookup' {14 /** @name FrameSystemAccountInfo (3) */15 interface FrameSystemAccountInfo extends Struct {16 readonly nonce: u32;17 readonly consumers: u32;18 readonly providers: u32;19 readonly sufficients: u32;20 readonly data: PalletBalancesAccountData;21 }2223 /** @name PalletBalancesAccountData (5) */24 interface PalletBalancesAccountData extends Struct {25 readonly free: u128;26 readonly reserved: u128;27 readonly miscFrozen: u128;28 readonly feeFrozen: u128;29 }3031 /** @name FrameSupportDispatchPerDispatchClassWeight (7) */32 interface FrameSupportDispatchPerDispatchClassWeight extends Struct {33 readonly normal: SpWeightsWeightV2Weight;34 readonly operational: SpWeightsWeightV2Weight;35 readonly mandatory: SpWeightsWeightV2Weight;36 }3738 /** @name SpWeightsWeightV2Weight (8) */39 interface SpWeightsWeightV2Weight extends Struct {40 readonly refTime: Compact<u64>;41 readonly proofSize: Compact<u64>;42 }4344 /** @name SpRuntimeDigest (13) */45 interface SpRuntimeDigest extends Struct {46 readonly logs: Vec<SpRuntimeDigestDigestItem>;47 }4849 /** @name SpRuntimeDigestDigestItem (15) */50 interface SpRuntimeDigestDigestItem extends Enum {51 readonly isOther: boolean;52 readonly asOther: Bytes;53 readonly isConsensus: boolean;54 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;55 readonly isSeal: boolean;56 readonly asSeal: ITuple<[U8aFixed, Bytes]>;57 readonly isPreRuntime: boolean;58 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;59 readonly isRuntimeEnvironmentUpdated: boolean;60 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';61 }6263 /** @name FrameSystemEventRecord (18) */64 interface FrameSystemEventRecord extends Struct {65 readonly phase: FrameSystemPhase;66 readonly event: Event;67 readonly topics: Vec<H256>;68 }6970 /** @name FrameSystemEvent (20) */71 interface FrameSystemEvent extends Enum {72 readonly isExtrinsicSuccess: boolean;73 readonly asExtrinsicSuccess: {74 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;75 } & Struct;76 readonly isExtrinsicFailed: boolean;77 readonly asExtrinsicFailed: {78 readonly dispatchError: SpRuntimeDispatchError;79 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;80 } & Struct;81 readonly isCodeUpdated: boolean;82 readonly isNewAccount: boolean;83 readonly asNewAccount: {84 readonly account: AccountId32;85 } & Struct;86 readonly isKilledAccount: boolean;87 readonly asKilledAccount: {88 readonly account: AccountId32;89 } & Struct;90 readonly isRemarked: boolean;91 readonly asRemarked: {92 readonly sender: AccountId32;93 readonly hash_: H256;94 } & Struct;95 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';96 }9798 /** @name FrameSupportDispatchDispatchInfo (21) */99 interface FrameSupportDispatchDispatchInfo extends Struct {100 readonly weight: SpWeightsWeightV2Weight;101 readonly class: FrameSupportDispatchDispatchClass;102 readonly paysFee: FrameSupportDispatchPays;103 }104105 /** @name FrameSupportDispatchDispatchClass (22) */106 interface FrameSupportDispatchDispatchClass extends Enum {107 readonly isNormal: boolean;108 readonly isOperational: boolean;109 readonly isMandatory: boolean;110 readonly type: 'Normal' | 'Operational' | 'Mandatory';111 }112113 /** @name FrameSupportDispatchPays (23) */114 interface FrameSupportDispatchPays extends Enum {115 readonly isYes: boolean;116 readonly isNo: boolean;117 readonly type: 'Yes' | 'No';118 }119120 /** @name SpRuntimeDispatchError (24) */121 interface SpRuntimeDispatchError extends Enum {122 readonly isOther: boolean;123 readonly isCannotLookup: boolean;124 readonly isBadOrigin: boolean;125 readonly isModule: boolean;126 readonly asModule: SpRuntimeModuleError;127 readonly isConsumerRemaining: boolean;128 readonly isNoProviders: boolean;129 readonly isTooManyConsumers: boolean;130 readonly isToken: boolean;131 readonly asToken: SpRuntimeTokenError;132 readonly isArithmetic: boolean;133 readonly asArithmetic: SpRuntimeArithmeticError;134 readonly isTransactional: boolean;135 readonly asTransactional: SpRuntimeTransactionalError;136 readonly isExhausted: boolean;137 readonly isCorruption: boolean;138 readonly isUnavailable: boolean;139 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';140 }141142 /** @name SpRuntimeModuleError (25) */143 interface SpRuntimeModuleError extends Struct {144 readonly index: u8;145 readonly error: U8aFixed;146 }147148 /** @name SpRuntimeTokenError (26) */149 interface SpRuntimeTokenError extends Enum {150 readonly isNoFunds: boolean;151 readonly isWouldDie: boolean;152 readonly isBelowMinimum: boolean;153 readonly isCannotCreate: boolean;154 readonly isUnknownAsset: boolean;155 readonly isFrozen: boolean;156 readonly isUnsupported: boolean;157 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';158 }159160 /** @name SpRuntimeArithmeticError (27) */161 interface SpRuntimeArithmeticError extends Enum {162 readonly isUnderflow: boolean;163 readonly isOverflow: boolean;164 readonly isDivisionByZero: boolean;165 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';166 }167168 /** @name SpRuntimeTransactionalError (28) */169 interface SpRuntimeTransactionalError extends Enum {170 readonly isLimitReached: boolean;171 readonly isNoLayer: boolean;172 readonly type: 'LimitReached' | 'NoLayer';173 }174175 /** @name CumulusPalletParachainSystemEvent (29) */176 interface CumulusPalletParachainSystemEvent extends Enum {177 readonly isValidationFunctionStored: boolean;178 readonly isValidationFunctionApplied: boolean;179 readonly asValidationFunctionApplied: {180 readonly relayChainBlockNum: u32;181 } & Struct;182 readonly isValidationFunctionDiscarded: boolean;183 readonly isUpgradeAuthorized: boolean;184 readonly asUpgradeAuthorized: {185 readonly codeHash: H256;186 } & Struct;187 readonly isDownwardMessagesReceived: boolean;188 readonly asDownwardMessagesReceived: {189 readonly count: u32;190 } & Struct;191 readonly isDownwardMessagesProcessed: boolean;192 readonly asDownwardMessagesProcessed: {193 readonly weightUsed: SpWeightsWeightV2Weight;194 readonly dmqHead: H256;195 } & Struct;196 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';197 }198199 /** @name PalletBalancesEvent (30) */200 interface PalletBalancesEvent extends Enum {201 readonly isEndowed: boolean;202 readonly asEndowed: {203 readonly account: AccountId32;204 readonly freeBalance: u128;205 } & Struct;206 readonly isDustLost: boolean;207 readonly asDustLost: {208 readonly account: AccountId32;209 readonly amount: u128;210 } & Struct;211 readonly isTransfer: boolean;212 readonly asTransfer: {213 readonly from: AccountId32;214 readonly to: AccountId32;215 readonly amount: u128;216 } & Struct;217 readonly isBalanceSet: boolean;218 readonly asBalanceSet: {219 readonly who: AccountId32;220 readonly free: u128;221 readonly reserved: u128;222 } & Struct;223 readonly isReserved: boolean;224 readonly asReserved: {225 readonly who: AccountId32;226 readonly amount: u128;227 } & Struct;228 readonly isUnreserved: boolean;229 readonly asUnreserved: {230 readonly who: AccountId32;231 readonly amount: u128;232 } & Struct;233 readonly isReserveRepatriated: boolean;234 readonly asReserveRepatriated: {235 readonly from: AccountId32;236 readonly to: AccountId32;237 readonly amount: u128;238 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;239 } & Struct;240 readonly isDeposit: boolean;241 readonly asDeposit: {242 readonly who: AccountId32;243 readonly amount: u128;244 } & Struct;245 readonly isWithdraw: boolean;246 readonly asWithdraw: {247 readonly who: AccountId32;248 readonly amount: u128;249 } & Struct;250 readonly isSlashed: boolean;251 readonly asSlashed: {252 readonly who: AccountId32;253 readonly amount: u128;254 } & Struct;255 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';256 }257258 /** @name FrameSupportTokensMiscBalanceStatus (31) */259 interface FrameSupportTokensMiscBalanceStatus extends Enum {260 readonly isFree: boolean;261 readonly isReserved: boolean;262 readonly type: 'Free' | 'Reserved';263 }264265 /** @name PalletTransactionPaymentEvent (32) */266 interface PalletTransactionPaymentEvent extends Enum {267 readonly isTransactionFeePaid: boolean;268 readonly asTransactionFeePaid: {269 readonly who: AccountId32;270 readonly actualFee: u128;271 readonly tip: u128;272 } & Struct;273 readonly type: 'TransactionFeePaid';274 }275276 /** @name PalletTreasuryEvent (33) */277 interface PalletTreasuryEvent extends Enum {278 readonly isProposed: boolean;279 readonly asProposed: {280 readonly proposalIndex: u32;281 } & Struct;282 readonly isSpending: boolean;283 readonly asSpending: {284 readonly budgetRemaining: u128;285 } & Struct;286 readonly isAwarded: boolean;287 readonly asAwarded: {288 readonly proposalIndex: u32;289 readonly award: u128;290 readonly account: AccountId32;291 } & Struct;292 readonly isRejected: boolean;293 readonly asRejected: {294 readonly proposalIndex: u32;295 readonly slashed: u128;296 } & Struct;297 readonly isBurnt: boolean;298 readonly asBurnt: {299 readonly burntFunds: u128;300 } & Struct;301 readonly isRollover: boolean;302 readonly asRollover: {303 readonly rolloverBalance: u128;304 } & Struct;305 readonly isDeposit: boolean;306 readonly asDeposit: {307 readonly value: u128;308 } & Struct;309 readonly isSpendApproved: boolean;310 readonly asSpendApproved: {311 readonly proposalIndex: u32;312 readonly amount: u128;313 readonly beneficiary: AccountId32;314 } & Struct;315 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';316 }317318 /** @name PalletSudoEvent (34) */319 interface PalletSudoEvent extends Enum {320 readonly isSudid: boolean;321 readonly asSudid: {322 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;323 } & Struct;324 readonly isKeyChanged: boolean;325 readonly asKeyChanged: {326 readonly oldSudoer: Option<AccountId32>;327 } & Struct;328 readonly isSudoAsDone: boolean;329 readonly asSudoAsDone: {330 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;331 } & Struct;332 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';333 }334335 /** @name OrmlVestingModuleEvent (38) */336 interface OrmlVestingModuleEvent extends Enum {337 readonly isVestingScheduleAdded: boolean;338 readonly asVestingScheduleAdded: {339 readonly from: AccountId32;340 readonly to: AccountId32;341 readonly vestingSchedule: OrmlVestingVestingSchedule;342 } & Struct;343 readonly isClaimed: boolean;344 readonly asClaimed: {345 readonly who: AccountId32;346 readonly amount: u128;347 } & Struct;348 readonly isVestingSchedulesUpdated: boolean;349 readonly asVestingSchedulesUpdated: {350 readonly who: AccountId32;351 } & Struct;352 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';353 }354355 /** @name OrmlVestingVestingSchedule (39) */356 interface OrmlVestingVestingSchedule extends Struct {357 readonly start: u32;358 readonly period: u32;359 readonly periodCount: u32;360 readonly perPeriod: Compact<u128>;361 }362363 /** @name OrmlXtokensModuleEvent (41) */364 interface OrmlXtokensModuleEvent extends Enum {365 readonly isTransferredMultiAssets: boolean;366 readonly asTransferredMultiAssets: {367 readonly sender: AccountId32;368 readonly assets: XcmV1MultiassetMultiAssets;369 readonly fee: XcmV1MultiAsset;370 readonly dest: XcmV1MultiLocation;371 } & Struct;372 readonly type: 'TransferredMultiAssets';373 }374375 /** @name XcmV1MultiassetMultiAssets (42) */376 interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}377378 /** @name XcmV1MultiAsset (44) */379 interface XcmV1MultiAsset extends Struct {380 readonly id: XcmV1MultiassetAssetId;381 readonly fun: XcmV1MultiassetFungibility;382 }383384 /** @name XcmV1MultiassetAssetId (45) */385 interface XcmV1MultiassetAssetId extends Enum {386 readonly isConcrete: boolean;387 readonly asConcrete: XcmV1MultiLocation;388 readonly isAbstract: boolean;389 readonly asAbstract: Bytes;390 readonly type: 'Concrete' | 'Abstract';391 }392393 /** @name XcmV1MultiLocation (46) */394 interface XcmV1MultiLocation extends Struct {395 readonly parents: u8;396 readonly interior: XcmV1MultilocationJunctions;397 }398399 /** @name XcmV1MultilocationJunctions (47) */400 interface XcmV1MultilocationJunctions extends Enum {401 readonly isHere: boolean;402 readonly isX1: boolean;403 readonly asX1: XcmV1Junction;404 readonly isX2: boolean;405 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;406 readonly isX3: boolean;407 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;408 readonly isX4: boolean;409 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;410 readonly isX5: boolean;411 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;412 readonly isX6: boolean;413 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;414 readonly isX7: boolean;415 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;416 readonly isX8: boolean;417 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;418 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';419 }420421 /** @name XcmV1Junction (48) */422 interface XcmV1Junction extends Enum {423 readonly isParachain: boolean;424 readonly asParachain: Compact<u32>;425 readonly isAccountId32: boolean;426 readonly asAccountId32: {427 readonly network: XcmV0JunctionNetworkId;428 readonly id: U8aFixed;429 } & Struct;430 readonly isAccountIndex64: boolean;431 readonly asAccountIndex64: {432 readonly network: XcmV0JunctionNetworkId;433 readonly index: Compact<u64>;434 } & Struct;435 readonly isAccountKey20: boolean;436 readonly asAccountKey20: {437 readonly network: XcmV0JunctionNetworkId;438 readonly key: U8aFixed;439 } & Struct;440 readonly isPalletInstance: boolean;441 readonly asPalletInstance: u8;442 readonly isGeneralIndex: boolean;443 readonly asGeneralIndex: Compact<u128>;444 readonly isGeneralKey: boolean;445 readonly asGeneralKey: Bytes;446 readonly isOnlyChild: boolean;447 readonly isPlurality: boolean;448 readonly asPlurality: {449 readonly id: XcmV0JunctionBodyId;450 readonly part: XcmV0JunctionBodyPart;451 } & Struct;452 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';453 }454455 /** @name XcmV0JunctionNetworkId (50) */456 interface XcmV0JunctionNetworkId extends Enum {457 readonly isAny: boolean;458 readonly isNamed: boolean;459 readonly asNamed: Bytes;460 readonly isPolkadot: boolean;461 readonly isKusama: boolean;462 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';463 }464465 /** @name XcmV0JunctionBodyId (53) */466 interface XcmV0JunctionBodyId extends Enum {467 readonly isUnit: boolean;468 readonly isNamed: boolean;469 readonly asNamed: Bytes;470 readonly isIndex: boolean;471 readonly asIndex: Compact<u32>;472 readonly isExecutive: boolean;473 readonly isTechnical: boolean;474 readonly isLegislative: boolean;475 readonly isJudicial: boolean;476 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';477 }478479 /** @name XcmV0JunctionBodyPart (54) */480 interface XcmV0JunctionBodyPart extends Enum {481 readonly isVoice: boolean;482 readonly isMembers: boolean;483 readonly asMembers: {484 readonly count: Compact<u32>;485 } & Struct;486 readonly isFraction: boolean;487 readonly asFraction: {488 readonly nom: Compact<u32>;489 readonly denom: Compact<u32>;490 } & Struct;491 readonly isAtLeastProportion: boolean;492 readonly asAtLeastProportion: {493 readonly nom: Compact<u32>;494 readonly denom: Compact<u32>;495 } & Struct;496 readonly isMoreThanProportion: boolean;497 readonly asMoreThanProportion: {498 readonly nom: Compact<u32>;499 readonly denom: Compact<u32>;500 } & Struct;501 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';502 }503504 /** @name XcmV1MultiassetFungibility (55) */505 interface XcmV1MultiassetFungibility extends Enum {506 readonly isFungible: boolean;507 readonly asFungible: Compact<u128>;508 readonly isNonFungible: boolean;509 readonly asNonFungible: XcmV1MultiassetAssetInstance;510 readonly type: 'Fungible' | 'NonFungible';511 }512513 /** @name XcmV1MultiassetAssetInstance (56) */514 interface XcmV1MultiassetAssetInstance extends Enum {515 readonly isUndefined: boolean;516 readonly isIndex: boolean;517 readonly asIndex: Compact<u128>;518 readonly isArray4: boolean;519 readonly asArray4: U8aFixed;520 readonly isArray8: boolean;521 readonly asArray8: U8aFixed;522 readonly isArray16: boolean;523 readonly asArray16: U8aFixed;524 readonly isArray32: boolean;525 readonly asArray32: U8aFixed;526 readonly isBlob: boolean;527 readonly asBlob: Bytes;528 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';529 }530531 /** @name OrmlTokensModuleEvent (59) */532 interface OrmlTokensModuleEvent extends Enum {533 readonly isEndowed: boolean;534 readonly asEndowed: {535 readonly currencyId: PalletForeignAssetsAssetIds;536 readonly who: AccountId32;537 readonly amount: u128;538 } & Struct;539 readonly isDustLost: boolean;540 readonly asDustLost: {541 readonly currencyId: PalletForeignAssetsAssetIds;542 readonly who: AccountId32;543 readonly amount: u128;544 } & Struct;545 readonly isTransfer: boolean;546 readonly asTransfer: {547 readonly currencyId: PalletForeignAssetsAssetIds;548 readonly from: AccountId32;549 readonly to: AccountId32;550 readonly amount: u128;551 } & Struct;552 readonly isReserved: boolean;553 readonly asReserved: {554 readonly currencyId: PalletForeignAssetsAssetIds;555 readonly who: AccountId32;556 readonly amount: u128;557 } & Struct;558 readonly isUnreserved: boolean;559 readonly asUnreserved: {560 readonly currencyId: PalletForeignAssetsAssetIds;561 readonly who: AccountId32;562 readonly amount: u128;563 } & Struct;564 readonly isReserveRepatriated: boolean;565 readonly asReserveRepatriated: {566 readonly currencyId: PalletForeignAssetsAssetIds;567 readonly from: AccountId32;568 readonly to: AccountId32;569 readonly amount: u128;570 readonly status: FrameSupportTokensMiscBalanceStatus;571 } & Struct;572 readonly isBalanceSet: boolean;573 readonly asBalanceSet: {574 readonly currencyId: PalletForeignAssetsAssetIds;575 readonly who: AccountId32;576 readonly free: u128;577 readonly reserved: u128;578 } & Struct;579 readonly isTotalIssuanceSet: boolean;580 readonly asTotalIssuanceSet: {581 readonly currencyId: PalletForeignAssetsAssetIds;582 readonly amount: u128;583 } & Struct;584 readonly isWithdrawn: boolean;585 readonly asWithdrawn: {586 readonly currencyId: PalletForeignAssetsAssetIds;587 readonly who: AccountId32;588 readonly amount: u128;589 } & Struct;590 readonly isSlashed: boolean;591 readonly asSlashed: {592 readonly currencyId: PalletForeignAssetsAssetIds;593 readonly who: AccountId32;594 readonly freeAmount: u128;595 readonly reservedAmount: u128;596 } & Struct;597 readonly isDeposited: boolean;598 readonly asDeposited: {599 readonly currencyId: PalletForeignAssetsAssetIds;600 readonly who: AccountId32;601 readonly amount: u128;602 } & Struct;603 readonly isLockSet: boolean;604 readonly asLockSet: {605 readonly lockId: U8aFixed;606 readonly currencyId: PalletForeignAssetsAssetIds;607 readonly who: AccountId32;608 readonly amount: u128;609 } & Struct;610 readonly isLockRemoved: boolean;611 readonly asLockRemoved: {612 readonly lockId: U8aFixed;613 readonly currencyId: PalletForeignAssetsAssetIds;614 readonly who: AccountId32;615 } & Struct;616 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';617 }618619 /** @name PalletForeignAssetsAssetIds (60) */620 interface PalletForeignAssetsAssetIds extends Enum {621 readonly isForeignAssetId: boolean;622 readonly asForeignAssetId: u32;623 readonly isNativeAssetId: boolean;624 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;625 readonly type: 'ForeignAssetId' | 'NativeAssetId';626 }627628 /** @name PalletForeignAssetsNativeCurrency (61) */629 interface PalletForeignAssetsNativeCurrency extends Enum {630 readonly isHere: boolean;631 readonly isParent: boolean;632 readonly type: 'Here' | 'Parent';633 }634635 /** @name CumulusPalletXcmpQueueEvent (62) */636 interface CumulusPalletXcmpQueueEvent extends Enum {637 readonly isSuccess: boolean;638 readonly asSuccess: {639 readonly messageHash: Option<H256>;640 readonly weight: SpWeightsWeightV2Weight;641 } & Struct;642 readonly isFail: boolean;643 readonly asFail: {644 readonly messageHash: Option<H256>;645 readonly error: XcmV2TraitsError;646 readonly weight: SpWeightsWeightV2Weight;647 } & Struct;648 readonly isBadVersion: boolean;649 readonly asBadVersion: {650 readonly messageHash: Option<H256>;651 } & Struct;652 readonly isBadFormat: boolean;653 readonly asBadFormat: {654 readonly messageHash: Option<H256>;655 } & Struct;656 readonly isUpwardMessageSent: boolean;657 readonly asUpwardMessageSent: {658 readonly messageHash: Option<H256>;659 } & Struct;660 readonly isXcmpMessageSent: boolean;661 readonly asXcmpMessageSent: {662 readonly messageHash: Option<H256>;663 } & Struct;664 readonly isOverweightEnqueued: boolean;665 readonly asOverweightEnqueued: {666 readonly sender: u32;667 readonly sentAt: u32;668 readonly index: u64;669 readonly required: SpWeightsWeightV2Weight;670 } & Struct;671 readonly isOverweightServiced: boolean;672 readonly asOverweightServiced: {673 readonly index: u64;674 readonly used: SpWeightsWeightV2Weight;675 } & Struct;676 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';677 }678679 /** @name XcmV2TraitsError (64) */680 interface XcmV2TraitsError extends Enum {681 readonly isOverflow: boolean;682 readonly isUnimplemented: boolean;683 readonly isUntrustedReserveLocation: boolean;684 readonly isUntrustedTeleportLocation: boolean;685 readonly isMultiLocationFull: boolean;686 readonly isMultiLocationNotInvertible: boolean;687 readonly isBadOrigin: boolean;688 readonly isInvalidLocation: boolean;689 readonly isAssetNotFound: boolean;690 readonly isFailedToTransactAsset: boolean;691 readonly isNotWithdrawable: boolean;692 readonly isLocationCannotHold: boolean;693 readonly isExceedsMaxMessageSize: boolean;694 readonly isDestinationUnsupported: boolean;695 readonly isTransport: boolean;696 readonly isUnroutable: boolean;697 readonly isUnknownClaim: boolean;698 readonly isFailedToDecode: boolean;699 readonly isMaxWeightInvalid: boolean;700 readonly isNotHoldingFees: boolean;701 readonly isTooExpensive: boolean;702 readonly isTrap: boolean;703 readonly asTrap: u64;704 readonly isUnhandledXcmVersion: boolean;705 readonly isWeightLimitReached: boolean;706 readonly asWeightLimitReached: u64;707 readonly isBarrier: boolean;708 readonly isWeightNotComputable: boolean;709 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';710 }711712 /** @name PalletXcmEvent (66) */713 interface PalletXcmEvent extends Enum {714 readonly isAttempted: boolean;715 readonly asAttempted: XcmV2TraitsOutcome;716 readonly isSent: boolean;717 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;718 readonly isUnexpectedResponse: boolean;719 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;720 readonly isResponseReady: boolean;721 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;722 readonly isNotified: boolean;723 readonly asNotified: ITuple<[u64, u8, u8]>;724 readonly isNotifyOverweight: boolean;725 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;726 readonly isNotifyDispatchError: boolean;727 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;728 readonly isNotifyDecodeFailed: boolean;729 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;730 readonly isInvalidResponder: boolean;731 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;732 readonly isInvalidResponderVersion: boolean;733 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;734 readonly isResponseTaken: boolean;735 readonly asResponseTaken: u64;736 readonly isAssetsTrapped: boolean;737 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;738 readonly isVersionChangeNotified: boolean;739 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;740 readonly isSupportedVersionChanged: boolean;741 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;742 readonly isNotifyTargetSendFail: boolean;743 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;744 readonly isNotifyTargetMigrationFail: boolean;745 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;746 readonly isAssetsClaimed: boolean;747 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;748 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';749 }750751 /** @name XcmV2TraitsOutcome (67) */752 interface XcmV2TraitsOutcome extends Enum {753 readonly isComplete: boolean;754 readonly asComplete: u64;755 readonly isIncomplete: boolean;756 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;757 readonly isError: boolean;758 readonly asError: XcmV2TraitsError;759 readonly type: 'Complete' | 'Incomplete' | 'Error';760 }761762 /** @name XcmV2Xcm (68) */763 interface XcmV2Xcm extends Vec<XcmV2Instruction> {}764765 /** @name XcmV2Instruction (70) */766 interface XcmV2Instruction extends Enum {767 readonly isWithdrawAsset: boolean;768 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;769 readonly isReserveAssetDeposited: boolean;770 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;771 readonly isReceiveTeleportedAsset: boolean;772 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;773 readonly isQueryResponse: boolean;774 readonly asQueryResponse: {775 readonly queryId: Compact<u64>;776 readonly response: XcmV2Response;777 readonly maxWeight: Compact<u64>;778 } & Struct;779 readonly isTransferAsset: boolean;780 readonly asTransferAsset: {781 readonly assets: XcmV1MultiassetMultiAssets;782 readonly beneficiary: XcmV1MultiLocation;783 } & Struct;784 readonly isTransferReserveAsset: boolean;785 readonly asTransferReserveAsset: {786 readonly assets: XcmV1MultiassetMultiAssets;787 readonly dest: XcmV1MultiLocation;788 readonly xcm: XcmV2Xcm;789 } & Struct;790 readonly isTransact: boolean;791 readonly asTransact: {792 readonly originType: XcmV0OriginKind;793 readonly requireWeightAtMost: Compact<u64>;794 readonly call: XcmDoubleEncoded;795 } & Struct;796 readonly isHrmpNewChannelOpenRequest: boolean;797 readonly asHrmpNewChannelOpenRequest: {798 readonly sender: Compact<u32>;799 readonly maxMessageSize: Compact<u32>;800 readonly maxCapacity: Compact<u32>;801 } & Struct;802 readonly isHrmpChannelAccepted: boolean;803 readonly asHrmpChannelAccepted: {804 readonly recipient: Compact<u32>;805 } & Struct;806 readonly isHrmpChannelClosing: boolean;807 readonly asHrmpChannelClosing: {808 readonly initiator: Compact<u32>;809 readonly sender: Compact<u32>;810 readonly recipient: Compact<u32>;811 } & Struct;812 readonly isClearOrigin: boolean;813 readonly isDescendOrigin: boolean;814 readonly asDescendOrigin: XcmV1MultilocationJunctions;815 readonly isReportError: boolean;816 readonly asReportError: {817 readonly queryId: Compact<u64>;818 readonly dest: XcmV1MultiLocation;819 readonly maxResponseWeight: Compact<u64>;820 } & Struct;821 readonly isDepositAsset: boolean;822 readonly asDepositAsset: {823 readonly assets: XcmV1MultiassetMultiAssetFilter;824 readonly maxAssets: Compact<u32>;825 readonly beneficiary: XcmV1MultiLocation;826 } & Struct;827 readonly isDepositReserveAsset: boolean;828 readonly asDepositReserveAsset: {829 readonly assets: XcmV1MultiassetMultiAssetFilter;830 readonly maxAssets: Compact<u32>;831 readonly dest: XcmV1MultiLocation;832 readonly xcm: XcmV2Xcm;833 } & Struct;834 readonly isExchangeAsset: boolean;835 readonly asExchangeAsset: {836 readonly give: XcmV1MultiassetMultiAssetFilter;837 readonly receive: XcmV1MultiassetMultiAssets;838 } & Struct;839 readonly isInitiateReserveWithdraw: boolean;840 readonly asInitiateReserveWithdraw: {841 readonly assets: XcmV1MultiassetMultiAssetFilter;842 readonly reserve: XcmV1MultiLocation;843 readonly xcm: XcmV2Xcm;844 } & Struct;845 readonly isInitiateTeleport: boolean;846 readonly asInitiateTeleport: {847 readonly assets: XcmV1MultiassetMultiAssetFilter;848 readonly dest: XcmV1MultiLocation;849 readonly xcm: XcmV2Xcm;850 } & Struct;851 readonly isQueryHolding: boolean;852 readonly asQueryHolding: {853 readonly queryId: Compact<u64>;854 readonly dest: XcmV1MultiLocation;855 readonly assets: XcmV1MultiassetMultiAssetFilter;856 readonly maxResponseWeight: Compact<u64>;857 } & Struct;858 readonly isBuyExecution: boolean;859 readonly asBuyExecution: {860 readonly fees: XcmV1MultiAsset;861 readonly weightLimit: XcmV2WeightLimit;862 } & Struct;863 readonly isRefundSurplus: boolean;864 readonly isSetErrorHandler: boolean;865 readonly asSetErrorHandler: XcmV2Xcm;866 readonly isSetAppendix: boolean;867 readonly asSetAppendix: XcmV2Xcm;868 readonly isClearError: boolean;869 readonly isClaimAsset: boolean;870 readonly asClaimAsset: {871 readonly assets: XcmV1MultiassetMultiAssets;872 readonly ticket: XcmV1MultiLocation;873 } & Struct;874 readonly isTrap: boolean;875 readonly asTrap: Compact<u64>;876 readonly isSubscribeVersion: boolean;877 readonly asSubscribeVersion: {878 readonly queryId: Compact<u64>;879 readonly maxResponseWeight: Compact<u64>;880 } & Struct;881 readonly isUnsubscribeVersion: boolean;882 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';883 }884885 /** @name XcmV2Response (71) */886 interface XcmV2Response extends Enum {887 readonly isNull: boolean;888 readonly isAssets: boolean;889 readonly asAssets: XcmV1MultiassetMultiAssets;890 readonly isExecutionResult: boolean;891 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;892 readonly isVersion: boolean;893 readonly asVersion: u32;894 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';895 }896897 /** @name XcmV0OriginKind (74) */898 interface XcmV0OriginKind extends Enum {899 readonly isNative: boolean;900 readonly isSovereignAccount: boolean;901 readonly isSuperuser: boolean;902 readonly isXcm: boolean;903 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';904 }905906 /** @name XcmDoubleEncoded (75) */907 interface XcmDoubleEncoded extends Struct {908 readonly encoded: Bytes;909 }910911 /** @name XcmV1MultiassetMultiAssetFilter (76) */912 interface XcmV1MultiassetMultiAssetFilter extends Enum {913 readonly isDefinite: boolean;914 readonly asDefinite: XcmV1MultiassetMultiAssets;915 readonly isWild: boolean;916 readonly asWild: XcmV1MultiassetWildMultiAsset;917 readonly type: 'Definite' | 'Wild';918 }919920 /** @name XcmV1MultiassetWildMultiAsset (77) */921 interface XcmV1MultiassetWildMultiAsset extends Enum {922 readonly isAll: boolean;923 readonly isAllOf: boolean;924 readonly asAllOf: {925 readonly id: XcmV1MultiassetAssetId;926 readonly fun: XcmV1MultiassetWildFungibility;927 } & Struct;928 readonly type: 'All' | 'AllOf';929 }930931 /** @name XcmV1MultiassetWildFungibility (78) */932 interface XcmV1MultiassetWildFungibility extends Enum {933 readonly isFungible: boolean;934 readonly isNonFungible: boolean;935 readonly type: 'Fungible' | 'NonFungible';936 }937938 /** @name XcmV2WeightLimit (79) */939 interface XcmV2WeightLimit extends Enum {940 readonly isUnlimited: boolean;941 readonly isLimited: boolean;942 readonly asLimited: Compact<u64>;943 readonly type: 'Unlimited' | 'Limited';944 }945946 /** @name XcmVersionedMultiAssets (81) */947 interface XcmVersionedMultiAssets extends Enum {948 readonly isV0: boolean;949 readonly asV0: Vec<XcmV0MultiAsset>;950 readonly isV1: boolean;951 readonly asV1: XcmV1MultiassetMultiAssets;952 readonly type: 'V0' | 'V1';953 }954955 /** @name XcmV0MultiAsset (83) */956 interface XcmV0MultiAsset extends Enum {957 readonly isNone: boolean;958 readonly isAll: boolean;959 readonly isAllFungible: boolean;960 readonly isAllNonFungible: boolean;961 readonly isAllAbstractFungible: boolean;962 readonly asAllAbstractFungible: {963 readonly id: Bytes;964 } & Struct;965 readonly isAllAbstractNonFungible: boolean;966 readonly asAllAbstractNonFungible: {967 readonly class: Bytes;968 } & Struct;969 readonly isAllConcreteFungible: boolean;970 readonly asAllConcreteFungible: {971 readonly id: XcmV0MultiLocation;972 } & Struct;973 readonly isAllConcreteNonFungible: boolean;974 readonly asAllConcreteNonFungible: {975 readonly class: XcmV0MultiLocation;976 } & Struct;977 readonly isAbstractFungible: boolean;978 readonly asAbstractFungible: {979 readonly id: Bytes;980 readonly amount: Compact<u128>;981 } & Struct;982 readonly isAbstractNonFungible: boolean;983 readonly asAbstractNonFungible: {984 readonly class: Bytes;985 readonly instance: XcmV1MultiassetAssetInstance;986 } & Struct;987 readonly isConcreteFungible: boolean;988 readonly asConcreteFungible: {989 readonly id: XcmV0MultiLocation;990 readonly amount: Compact<u128>;991 } & Struct;992 readonly isConcreteNonFungible: boolean;993 readonly asConcreteNonFungible: {994 readonly class: XcmV0MultiLocation;995 readonly instance: XcmV1MultiassetAssetInstance;996 } & Struct;997 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';998 }9991000 /** @name XcmV0MultiLocation (84) */1001 interface XcmV0MultiLocation extends Enum {1002 readonly isNull: boolean;1003 readonly isX1: boolean;1004 readonly asX1: XcmV0Junction;1005 readonly isX2: boolean;1006 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;1007 readonly isX3: boolean;1008 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1009 readonly isX4: boolean;1010 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1011 readonly isX5: boolean;1012 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1013 readonly isX6: boolean;1014 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1015 readonly isX7: boolean;1016 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1017 readonly isX8: boolean;1018 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;1019 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';1020 }10211022 /** @name XcmV0Junction (85) */1023 interface XcmV0Junction extends Enum {1024 readonly isParent: boolean;1025 readonly isParachain: boolean;1026 readonly asParachain: Compact<u32>;1027 readonly isAccountId32: boolean;1028 readonly asAccountId32: {1029 readonly network: XcmV0JunctionNetworkId;1030 readonly id: U8aFixed;1031 } & Struct;1032 readonly isAccountIndex64: boolean;1033 readonly asAccountIndex64: {1034 readonly network: XcmV0JunctionNetworkId;1035 readonly index: Compact<u64>;1036 } & Struct;1037 readonly isAccountKey20: boolean;1038 readonly asAccountKey20: {1039 readonly network: XcmV0JunctionNetworkId;1040 readonly key: U8aFixed;1041 } & Struct;1042 readonly isPalletInstance: boolean;1043 readonly asPalletInstance: u8;1044 readonly isGeneralIndex: boolean;1045 readonly asGeneralIndex: Compact<u128>;1046 readonly isGeneralKey: boolean;1047 readonly asGeneralKey: Bytes;1048 readonly isOnlyChild: boolean;1049 readonly isPlurality: boolean;1050 readonly asPlurality: {1051 readonly id: XcmV0JunctionBodyId;1052 readonly part: XcmV0JunctionBodyPart;1053 } & Struct;1054 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';1055 }10561057 /** @name XcmVersionedMultiLocation (86) */1058 interface XcmVersionedMultiLocation extends Enum {1059 readonly isV0: boolean;1060 readonly asV0: XcmV0MultiLocation;1061 readonly isV1: boolean;1062 readonly asV1: XcmV1MultiLocation;1063 readonly type: 'V0' | 'V1';1064 }10651066 /** @name CumulusPalletXcmEvent (87) */1067 interface CumulusPalletXcmEvent extends Enum {1068 readonly isInvalidFormat: boolean;1069 readonly asInvalidFormat: U8aFixed;1070 readonly isUnsupportedVersion: boolean;1071 readonly asUnsupportedVersion: U8aFixed;1072 readonly isExecutedDownward: boolean;1073 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;1074 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';1075 }10761077 /** @name CumulusPalletDmpQueueEvent (88) */1078 interface CumulusPalletDmpQueueEvent extends Enum {1079 readonly isInvalidFormat: boolean;1080 readonly asInvalidFormat: {1081 readonly messageId: U8aFixed;1082 } & Struct;1083 readonly isUnsupportedVersion: boolean;1084 readonly asUnsupportedVersion: {1085 readonly messageId: U8aFixed;1086 } & Struct;1087 readonly isExecutedDownward: boolean;1088 readonly asExecutedDownward: {1089 readonly messageId: U8aFixed;1090 readonly outcome: XcmV2TraitsOutcome;1091 } & Struct;1092 readonly isWeightExhausted: boolean;1093 readonly asWeightExhausted: {1094 readonly messageId: U8aFixed;1095 readonly remainingWeight: SpWeightsWeightV2Weight;1096 readonly requiredWeight: SpWeightsWeightV2Weight;1097 } & Struct;1098 readonly isOverweightEnqueued: boolean;1099 readonly asOverweightEnqueued: {1100 readonly messageId: U8aFixed;1101 readonly overweightIndex: u64;1102 readonly requiredWeight: SpWeightsWeightV2Weight;1103 } & Struct;1104 readonly isOverweightServiced: boolean;1105 readonly asOverweightServiced: {1106 readonly overweightIndex: u64;1107 readonly weightUsed: SpWeightsWeightV2Weight;1108 } & Struct;1109 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';1110 }11111112 /** @name PalletCommonEvent (89) */1113 interface PalletCommonEvent extends Enum {1114 readonly isCollectionCreated: boolean;1115 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1116 readonly isCollectionDestroyed: boolean;1117 readonly asCollectionDestroyed: u32;1118 readonly isItemCreated: boolean;1119 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1120 readonly isItemDestroyed: boolean;1121 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1122 readonly isTransfer: boolean;1123 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1124 readonly isApproved: boolean;1125 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1126 readonly isApprovedForAll: boolean;1127 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1128 readonly isCollectionPropertySet: boolean;1129 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1130 readonly isCollectionPropertyDeleted: boolean;1131 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1132 readonly isTokenPropertySet: boolean;1133 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1134 readonly isTokenPropertyDeleted: boolean;1135 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1136 readonly isPropertyPermissionSet: boolean;1137 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1138 readonly isAllowListAddressAdded: boolean;1139 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1140 readonly isAllowListAddressRemoved: boolean;1141 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1142 readonly isCollectionAdminAdded: boolean;1143 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1144 readonly isCollectionAdminRemoved: boolean;1145 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1146 readonly isCollectionLimitSet: boolean;1147 readonly asCollectionLimitSet: u32;1148 readonly isCollectionOwnerChanged: boolean;1149 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1150 readonly isCollectionPermissionSet: boolean;1151 readonly asCollectionPermissionSet: u32;1152 readonly isCollectionSponsorSet: boolean;1153 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1154 readonly isSponsorshipConfirmed: boolean;1155 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1156 readonly isCollectionSponsorRemoved: boolean;1157 readonly asCollectionSponsorRemoved: u32;1158 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1159 }11601161 /** @name PalletEvmAccountBasicCrossAccountIdRepr (92) */1162 interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1163 readonly isSubstrate: boolean;1164 readonly asSubstrate: AccountId32;1165 readonly isEthereum: boolean;1166 readonly asEthereum: H160;1167 readonly type: 'Substrate' | 'Ethereum';1168 }11691170 /** @name PalletStructureEvent (96) */1171 interface PalletStructureEvent extends Enum {1172 readonly isExecuted: boolean;1173 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1174 readonly type: 'Executed';1175 }11761177 /** @name PalletRmrkCoreEvent (97) */1178 interface PalletRmrkCoreEvent extends Enum {1179 readonly isCollectionCreated: boolean;1180 readonly asCollectionCreated: {1181 readonly issuer: AccountId32;1182 readonly collectionId: u32;1183 } & Struct;1184 readonly isCollectionDestroyed: boolean;1185 readonly asCollectionDestroyed: {1186 readonly issuer: AccountId32;1187 readonly collectionId: u32;1188 } & Struct;1189 readonly isIssuerChanged: boolean;1190 readonly asIssuerChanged: {1191 readonly oldIssuer: AccountId32;1192 readonly newIssuer: AccountId32;1193 readonly collectionId: u32;1194 } & Struct;1195 readonly isCollectionLocked: boolean;1196 readonly asCollectionLocked: {1197 readonly issuer: AccountId32;1198 readonly collectionId: u32;1199 } & Struct;1200 readonly isNftMinted: boolean;1201 readonly asNftMinted: {1202 readonly owner: AccountId32;1203 readonly collectionId: u32;1204 readonly nftId: u32;1205 } & Struct;1206 readonly isNftBurned: boolean;1207 readonly asNftBurned: {1208 readonly owner: AccountId32;1209 readonly nftId: u32;1210 } & Struct;1211 readonly isNftSent: boolean;1212 readonly asNftSent: {1213 readonly sender: AccountId32;1214 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1215 readonly collectionId: u32;1216 readonly nftId: u32;1217 readonly approvalRequired: bool;1218 } & Struct;1219 readonly isNftAccepted: boolean;1220 readonly asNftAccepted: {1221 readonly sender: AccountId32;1222 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1223 readonly collectionId: u32;1224 readonly nftId: u32;1225 } & Struct;1226 readonly isNftRejected: boolean;1227 readonly asNftRejected: {1228 readonly sender: AccountId32;1229 readonly collectionId: u32;1230 readonly nftId: u32;1231 } & Struct;1232 readonly isPropertySet: boolean;1233 readonly asPropertySet: {1234 readonly collectionId: u32;1235 readonly maybeNftId: Option<u32>;1236 readonly key: Bytes;1237 readonly value: Bytes;1238 } & Struct;1239 readonly isResourceAdded: boolean;1240 readonly asResourceAdded: {1241 readonly nftId: u32;1242 readonly resourceId: u32;1243 } & Struct;1244 readonly isResourceRemoval: boolean;1245 readonly asResourceRemoval: {1246 readonly nftId: u32;1247 readonly resourceId: u32;1248 } & Struct;1249 readonly isResourceAccepted: boolean;1250 readonly asResourceAccepted: {1251 readonly nftId: u32;1252 readonly resourceId: u32;1253 } & Struct;1254 readonly isResourceRemovalAccepted: boolean;1255 readonly asResourceRemovalAccepted: {1256 readonly nftId: u32;1257 readonly resourceId: u32;1258 } & Struct;1259 readonly isPrioritySet: boolean;1260 readonly asPrioritySet: {1261 readonly collectionId: u32;1262 readonly nftId: u32;1263 } & Struct;1264 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1265 }12661267 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (98) */1268 interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1269 readonly isAccountId: boolean;1270 readonly asAccountId: AccountId32;1271 readonly isCollectionAndNftTuple: boolean;1272 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;1273 readonly type: 'AccountId' | 'CollectionAndNftTuple';1274 }12751276 /** @name PalletRmrkEquipEvent (102) */1277 interface PalletRmrkEquipEvent extends Enum {1278 readonly isBaseCreated: boolean;1279 readonly asBaseCreated: {1280 readonly issuer: AccountId32;1281 readonly baseId: u32;1282 } & Struct;1283 readonly isEquippablesUpdated: boolean;1284 readonly asEquippablesUpdated: {1285 readonly baseId: u32;1286 readonly slotId: u32;1287 } & Struct;1288 readonly type: 'BaseCreated' | 'EquippablesUpdated';1289 }12901291 /** @name PalletAppPromotionEvent (103) */1292 interface PalletAppPromotionEvent extends Enum {1293 readonly isStakingRecalculation: boolean;1294 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1295 readonly isStake: boolean;1296 readonly asStake: ITuple<[AccountId32, u128]>;1297 readonly isUnstake: boolean;1298 readonly asUnstake: ITuple<[AccountId32, u128]>;1299 readonly isSetAdmin: boolean;1300 readonly asSetAdmin: AccountId32;1301 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1302 }13031304 /** @name PalletForeignAssetsModuleEvent (104) */1305 interface PalletForeignAssetsModuleEvent extends Enum {1306 readonly isForeignAssetRegistered: boolean;1307 readonly asForeignAssetRegistered: {1308 readonly assetId: u32;1309 readonly assetAddress: XcmV1MultiLocation;1310 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1311 } & Struct;1312 readonly isForeignAssetUpdated: boolean;1313 readonly asForeignAssetUpdated: {1314 readonly assetId: u32;1315 readonly assetAddress: XcmV1MultiLocation;1316 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1317 } & Struct;1318 readonly isAssetRegistered: boolean;1319 readonly asAssetRegistered: {1320 readonly assetId: PalletForeignAssetsAssetIds;1321 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1322 } & Struct;1323 readonly isAssetUpdated: boolean;1324 readonly asAssetUpdated: {1325 readonly assetId: PalletForeignAssetsAssetIds;1326 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1327 } & Struct;1328 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1329 }13301331 /** @name PalletForeignAssetsModuleAssetMetadata (105) */1332 interface PalletForeignAssetsModuleAssetMetadata extends Struct {1333 readonly name: Bytes;1334 readonly symbol: Bytes;1335 readonly decimals: u8;1336 readonly minimalBalance: u128;1337 }13381339 /** @name PalletEvmEvent (106) */1340 interface PalletEvmEvent extends Enum {1341 readonly isLog: boolean;1342 readonly asLog: {1343 readonly log: EthereumLog;1344 } & Struct;1345 readonly isCreated: boolean;1346 readonly asCreated: {1347 readonly address: H160;1348 } & Struct;1349 readonly isCreatedFailed: boolean;1350 readonly asCreatedFailed: {1351 readonly address: H160;1352 } & Struct;1353 readonly isExecuted: boolean;1354 readonly asExecuted: {1355 readonly address: H160;1356 } & Struct;1357 readonly isExecutedFailed: boolean;1358 readonly asExecutedFailed: {1359 readonly address: H160;1360 } & Struct;1361 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1362 }13631364 /** @name EthereumLog (107) */1365 interface EthereumLog extends Struct {1366 readonly address: H160;1367 readonly topics: Vec<H256>;1368 readonly data: Bytes;1369 }13701371 /** @name PalletEthereumEvent (109) */1372 interface PalletEthereumEvent extends Enum {1373 readonly isExecuted: boolean;1374 readonly asExecuted: {1375 readonly from: H160;1376 readonly to: H160;1377 readonly transactionHash: H256;1378 readonly exitReason: EvmCoreErrorExitReason;1379 } & Struct;1380 readonly type: 'Executed';1381 }13821383 /** @name EvmCoreErrorExitReason (110) */1384 interface EvmCoreErrorExitReason extends Enum {1385 readonly isSucceed: boolean;1386 readonly asSucceed: EvmCoreErrorExitSucceed;1387 readonly isError: boolean;1388 readonly asError: EvmCoreErrorExitError;1389 readonly isRevert: boolean;1390 readonly asRevert: EvmCoreErrorExitRevert;1391 readonly isFatal: boolean;1392 readonly asFatal: EvmCoreErrorExitFatal;1393 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';1394 }13951396 /** @name EvmCoreErrorExitSucceed (111) */1397 interface EvmCoreErrorExitSucceed extends Enum {1398 readonly isStopped: boolean;1399 readonly isReturned: boolean;1400 readonly isSuicided: boolean;1401 readonly type: 'Stopped' | 'Returned' | 'Suicided';1402 }14031404 /** @name EvmCoreErrorExitError (112) */1405 interface EvmCoreErrorExitError extends Enum {1406 readonly isStackUnderflow: boolean;1407 readonly isStackOverflow: boolean;1408 readonly isInvalidJump: boolean;1409 readonly isInvalidRange: boolean;1410 readonly isDesignatedInvalid: boolean;1411 readonly isCallTooDeep: boolean;1412 readonly isCreateCollision: boolean;1413 readonly isCreateContractLimit: boolean;1414 readonly isOutOfOffset: boolean;1415 readonly isOutOfGas: boolean;1416 readonly isOutOfFund: boolean;1417 readonly isPcUnderflow: boolean;1418 readonly isCreateEmpty: boolean;1419 readonly isOther: boolean;1420 readonly asOther: Text;1421 readonly isInvalidCode: boolean;1422 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';1423 }14241425 /** @name EvmCoreErrorExitRevert (115) */1426 interface EvmCoreErrorExitRevert extends Enum {1427 readonly isReverted: boolean;1428 readonly type: 'Reverted';1429 }14301431 /** @name EvmCoreErrorExitFatal (116) */1432 interface EvmCoreErrorExitFatal extends Enum {1433 readonly isNotSupported: boolean;1434 readonly isUnhandledInterrupt: boolean;1435 readonly isCallErrorAsFatal: boolean;1436 readonly asCallErrorAsFatal: EvmCoreErrorExitError;1437 readonly isOther: boolean;1438 readonly asOther: Text;1439 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';1440 }14411442 /** @name PalletEvmContractHelpersEvent (117) */1443 interface PalletEvmContractHelpersEvent extends Enum {1444 readonly isContractSponsorSet: boolean;1445 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1446 readonly isContractSponsorshipConfirmed: boolean;1447 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1448 readonly isContractSponsorRemoved: boolean;1449 readonly asContractSponsorRemoved: H160;1450 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1451 }14521453 /** @name PalletEvmMigrationEvent (118) */1454 interface PalletEvmMigrationEvent extends Enum {1455 readonly isTestEvent: boolean;1456 readonly type: 'TestEvent';1457 }14581459 /** @name PalletMaintenanceEvent (119) */1460 interface PalletMaintenanceEvent extends Enum {1461 readonly isMaintenanceEnabled: boolean;1462 readonly isMaintenanceDisabled: boolean;1463 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1464 }14651466 /** @name PalletTestUtilsEvent (120) */1467 interface PalletTestUtilsEvent extends Enum {1468 readonly isValueIsSet: boolean;1469 readonly isShouldRollback: boolean;1470 readonly isBatchCompleted: boolean;1471 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';1472 }14731474 /** @name FrameSystemPhase (121) */1475 interface FrameSystemPhase extends Enum {1476 readonly isApplyExtrinsic: boolean;1477 readonly asApplyExtrinsic: u32;1478 readonly isFinalization: boolean;1479 readonly isInitialization: boolean;1480 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';1481 }14821483 /** @name FrameSystemLastRuntimeUpgradeInfo (124) */1484 interface FrameSystemLastRuntimeUpgradeInfo extends Struct {1485 readonly specVersion: Compact<u32>;1486 readonly specName: Text;1487 }14881489 /** @name FrameSystemCall (125) */1490 interface FrameSystemCall extends Enum {1491 readonly isRemark: boolean;1492 readonly asRemark: {1493 readonly remark: Bytes;1494 } & Struct;1495 readonly isSetHeapPages: boolean;1496 readonly asSetHeapPages: {1497 readonly pages: u64;1498 } & Struct;1499 readonly isSetCode: boolean;1500 readonly asSetCode: {1501 readonly code: Bytes;1502 } & Struct;1503 readonly isSetCodeWithoutChecks: boolean;1504 readonly asSetCodeWithoutChecks: {1505 readonly code: Bytes;1506 } & Struct;1507 readonly isSetStorage: boolean;1508 readonly asSetStorage: {1509 readonly items: Vec<ITuple<[Bytes, Bytes]>>;1510 } & Struct;1511 readonly isKillStorage: boolean;1512 readonly asKillStorage: {1513 readonly keys_: Vec<Bytes>;1514 } & Struct;1515 readonly isKillPrefix: boolean;1516 readonly asKillPrefix: {1517 readonly prefix: Bytes;1518 readonly subkeys: u32;1519 } & Struct;1520 readonly isRemarkWithEvent: boolean;1521 readonly asRemarkWithEvent: {1522 readonly remark: Bytes;1523 } & Struct;1524 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1525 }15261527 /** @name FrameSystemLimitsBlockWeights (129) */1528 interface FrameSystemLimitsBlockWeights extends Struct {1529 readonly baseBlock: SpWeightsWeightV2Weight;1530 readonly maxBlock: SpWeightsWeightV2Weight;1531 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1532 }15331534 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (130) */1535 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1536 readonly normal: FrameSystemLimitsWeightsPerClass;1537 readonly operational: FrameSystemLimitsWeightsPerClass;1538 readonly mandatory: FrameSystemLimitsWeightsPerClass;1539 }15401541 /** @name FrameSystemLimitsWeightsPerClass (131) */1542 interface FrameSystemLimitsWeightsPerClass extends Struct {1543 readonly baseExtrinsic: SpWeightsWeightV2Weight;1544 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1545 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1546 readonly reserved: Option<SpWeightsWeightV2Weight>;1547 }15481549 /** @name FrameSystemLimitsBlockLength (133) */1550 interface FrameSystemLimitsBlockLength extends Struct {1551 readonly max: FrameSupportDispatchPerDispatchClassU32;1552 }15531554 /** @name FrameSupportDispatchPerDispatchClassU32 (134) */1555 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1556 readonly normal: u32;1557 readonly operational: u32;1558 readonly mandatory: u32;1559 }15601561 /** @name SpWeightsRuntimeDbWeight (135) */1562 interface SpWeightsRuntimeDbWeight extends Struct {1563 readonly read: u64;1564 readonly write: u64;1565 }15661567 /** @name SpVersionRuntimeVersion (136) */1568 interface SpVersionRuntimeVersion extends Struct {1569 readonly specName: Text;1570 readonly implName: Text;1571 readonly authoringVersion: u32;1572 readonly specVersion: u32;1573 readonly implVersion: u32;1574 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;1575 readonly transactionVersion: u32;1576 readonly stateVersion: u8;1577 }15781579 /** @name FrameSystemError (141) */1580 interface FrameSystemError extends Enum {1581 readonly isInvalidSpecName: boolean;1582 readonly isSpecVersionNeedsToIncrease: boolean;1583 readonly isFailedToExtractRuntimeVersion: boolean;1584 readonly isNonDefaultComposite: boolean;1585 readonly isNonZeroRefCount: boolean;1586 readonly isCallFiltered: boolean;1587 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1588 }15891590 /** @name PolkadotPrimitivesV2PersistedValidationData (142) */1591 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1592 readonly parentHead: Bytes;1593 readonly relayParentNumber: u32;1594 readonly relayParentStorageRoot: H256;1595 readonly maxPovSize: u32;1596 }15971598 /** @name PolkadotPrimitivesV2UpgradeRestriction (145) */1599 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1600 readonly isPresent: boolean;1601 readonly type: 'Present';1602 }16031604 /** @name SpTrieStorageProof (146) */1605 interface SpTrieStorageProof extends Struct {1606 readonly trieNodes: BTreeSet<Bytes>;1607 }16081609 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (148) */1610 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1611 readonly dmqMqcHead: H256;1612 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1613 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1614 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1615 }16161617 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (151) */1618 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1619 readonly maxCapacity: u32;1620 readonly maxTotalSize: u32;1621 readonly maxMessageSize: u32;1622 readonly msgCount: u32;1623 readonly totalSize: u32;1624 readonly mqcHead: Option<H256>;1625 }16261627 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (152) */1628 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1629 readonly maxCodeSize: u32;1630 readonly maxHeadDataSize: u32;1631 readonly maxUpwardQueueCount: u32;1632 readonly maxUpwardQueueSize: u32;1633 readonly maxUpwardMessageSize: u32;1634 readonly maxUpwardMessageNumPerCandidate: u32;1635 readonly hrmpMaxMessageNumPerCandidate: u32;1636 readonly validationUpgradeCooldown: u32;1637 readonly validationUpgradeDelay: u32;1638 }16391640 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (158) */1641 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1642 readonly recipient: u32;1643 readonly data: Bytes;1644 }16451646 /** @name CumulusPalletParachainSystemCall (159) */1647 interface CumulusPalletParachainSystemCall extends Enum {1648 readonly isSetValidationData: boolean;1649 readonly asSetValidationData: {1650 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;1651 } & Struct;1652 readonly isSudoSendUpwardMessage: boolean;1653 readonly asSudoSendUpwardMessage: {1654 readonly message: Bytes;1655 } & Struct;1656 readonly isAuthorizeUpgrade: boolean;1657 readonly asAuthorizeUpgrade: {1658 readonly codeHash: H256;1659 } & Struct;1660 readonly isEnactAuthorizedUpgrade: boolean;1661 readonly asEnactAuthorizedUpgrade: {1662 readonly code: Bytes;1663 } & Struct;1664 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1665 }16661667 /** @name CumulusPrimitivesParachainInherentParachainInherentData (160) */1668 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1669 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1670 readonly relayChainState: SpTrieStorageProof;1671 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1672 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1673 }16741675 /** @name PolkadotCorePrimitivesInboundDownwardMessage (162) */1676 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1677 readonly sentAt: u32;1678 readonly msg: Bytes;1679 }16801681 /** @name PolkadotCorePrimitivesInboundHrmpMessage (165) */1682 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1683 readonly sentAt: u32;1684 readonly data: Bytes;1685 }16861687 /** @name CumulusPalletParachainSystemError (168) */1688 interface CumulusPalletParachainSystemError extends Enum {1689 readonly isOverlappingUpgrades: boolean;1690 readonly isProhibitedByPolkadot: boolean;1691 readonly isTooBig: boolean;1692 readonly isValidationDataNotAvailable: boolean;1693 readonly isHostConfigurationNotAvailable: boolean;1694 readonly isNotScheduled: boolean;1695 readonly isNothingAuthorized: boolean;1696 readonly isUnauthorized: boolean;1697 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1698 }16991700 /** @name PalletBalancesBalanceLock (170) */1701 interface PalletBalancesBalanceLock extends Struct {1702 readonly id: U8aFixed;1703 readonly amount: u128;1704 readonly reasons: PalletBalancesReasons;1705 }17061707 /** @name PalletBalancesReasons (171) */1708 interface PalletBalancesReasons extends Enum {1709 readonly isFee: boolean;1710 readonly isMisc: boolean;1711 readonly isAll: boolean;1712 readonly type: 'Fee' | 'Misc' | 'All';1713 }17141715 /** @name PalletBalancesReserveData (174) */1716 interface PalletBalancesReserveData extends Struct {1717 readonly id: U8aFixed;1718 readonly amount: u128;1719 }17201721 /** @name PalletBalancesCall (176) */1722 interface PalletBalancesCall extends Enum {1723 readonly isTransfer: boolean;1724 readonly asTransfer: {1725 readonly dest: MultiAddress;1726 readonly value: Compact<u128>;1727 } & Struct;1728 readonly isSetBalance: boolean;1729 readonly asSetBalance: {1730 readonly who: MultiAddress;1731 readonly newFree: Compact<u128>;1732 readonly newReserved: Compact<u128>;1733 } & Struct;1734 readonly isForceTransfer: boolean;1735 readonly asForceTransfer: {1736 readonly source: MultiAddress;1737 readonly dest: MultiAddress;1738 readonly value: Compact<u128>;1739 } & Struct;1740 readonly isTransferKeepAlive: boolean;1741 readonly asTransferKeepAlive: {1742 readonly dest: MultiAddress;1743 readonly value: Compact<u128>;1744 } & Struct;1745 readonly isTransferAll: boolean;1746 readonly asTransferAll: {1747 readonly dest: MultiAddress;1748 readonly keepAlive: bool;1749 } & Struct;1750 readonly isForceUnreserve: boolean;1751 readonly asForceUnreserve: {1752 readonly who: MultiAddress;1753 readonly amount: u128;1754 } & Struct;1755 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1756 }17571758 /** @name PalletBalancesError (179) */1759 interface PalletBalancesError extends Enum {1760 readonly isVestingBalance: boolean;1761 readonly isLiquidityRestrictions: boolean;1762 readonly isInsufficientBalance: boolean;1763 readonly isExistentialDeposit: boolean;1764 readonly isKeepAlive: boolean;1765 readonly isExistingVestingSchedule: boolean;1766 readonly isDeadAccount: boolean;1767 readonly isTooManyReserves: boolean;1768 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1769 }17701771 /** @name PalletTimestampCall (181) */1772 interface PalletTimestampCall extends Enum {1773 readonly isSet: boolean;1774 readonly asSet: {1775 readonly now: Compact<u64>;1776 } & Struct;1777 readonly type: 'Set';1778 }17791780 /** @name PalletTransactionPaymentReleases (183) */1781 interface PalletTransactionPaymentReleases extends Enum {1782 readonly isV1Ancient: boolean;1783 readonly isV2: boolean;1784 readonly type: 'V1Ancient' | 'V2';1785 }17861787 /** @name PalletTreasuryProposal (184) */1788 interface PalletTreasuryProposal extends Struct {1789 readonly proposer: AccountId32;1790 readonly value: u128;1791 readonly beneficiary: AccountId32;1792 readonly bond: u128;1793 }17941795 /** @name PalletTreasuryCall (187) */1796 interface PalletTreasuryCall extends Enum {1797 readonly isProposeSpend: boolean;1798 readonly asProposeSpend: {1799 readonly value: Compact<u128>;1800 readonly beneficiary: MultiAddress;1801 } & Struct;1802 readonly isRejectProposal: boolean;1803 readonly asRejectProposal: {1804 readonly proposalId: Compact<u32>;1805 } & Struct;1806 readonly isApproveProposal: boolean;1807 readonly asApproveProposal: {1808 readonly proposalId: Compact<u32>;1809 } & Struct;1810 readonly isSpend: boolean;1811 readonly asSpend: {1812 readonly amount: Compact<u128>;1813 readonly beneficiary: MultiAddress;1814 } & Struct;1815 readonly isRemoveApproval: boolean;1816 readonly asRemoveApproval: {1817 readonly proposalId: Compact<u32>;1818 } & Struct;1819 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1820 }18211822 /** @name FrameSupportPalletId (190) */1823 interface FrameSupportPalletId extends U8aFixed {}18241825 /** @name PalletTreasuryError (191) */1826 interface PalletTreasuryError extends Enum {1827 readonly isInsufficientProposersBalance: boolean;1828 readonly isInvalidIndex: boolean;1829 readonly isTooManyApprovals: boolean;1830 readonly isInsufficientPermission: boolean;1831 readonly isProposalNotApproved: boolean;1832 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1833 }18341835 /** @name PalletSudoCall (192) */1836 interface PalletSudoCall extends Enum {1837 readonly isSudo: boolean;1838 readonly asSudo: {1839 readonly call: Call;1840 } & Struct;1841 readonly isSudoUncheckedWeight: boolean;1842 readonly asSudoUncheckedWeight: {1843 readonly call: Call;1844 readonly weight: SpWeightsWeightV2Weight;1845 } & Struct;1846 readonly isSetKey: boolean;1847 readonly asSetKey: {1848 readonly new_: MultiAddress;1849 } & Struct;1850 readonly isSudoAs: boolean;1851 readonly asSudoAs: {1852 readonly who: MultiAddress;1853 readonly call: Call;1854 } & Struct;1855 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1856 }18571858 /** @name OrmlVestingModuleCall (194) */1859 interface OrmlVestingModuleCall extends Enum {1860 readonly isClaim: boolean;1861 readonly isVestedTransfer: boolean;1862 readonly asVestedTransfer: {1863 readonly dest: MultiAddress;1864 readonly schedule: OrmlVestingVestingSchedule;1865 } & Struct;1866 readonly isUpdateVestingSchedules: boolean;1867 readonly asUpdateVestingSchedules: {1868 readonly who: MultiAddress;1869 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;1870 } & Struct;1871 readonly isClaimFor: boolean;1872 readonly asClaimFor: {1873 readonly dest: MultiAddress;1874 } & Struct;1875 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1876 }18771878 /** @name OrmlXtokensModuleCall (196) */1879 interface OrmlXtokensModuleCall extends Enum {1880 readonly isTransfer: boolean;1881 readonly asTransfer: {1882 readonly currencyId: PalletForeignAssetsAssetIds;1883 readonly amount: u128;1884 readonly dest: XcmVersionedMultiLocation;1885 readonly destWeightLimit: XcmV2WeightLimit;1886 } & Struct;1887 readonly isTransferMultiasset: boolean;1888 readonly asTransferMultiasset: {1889 readonly asset: XcmVersionedMultiAsset;1890 readonly dest: XcmVersionedMultiLocation;1891 readonly destWeightLimit: XcmV2WeightLimit;1892 } & Struct;1893 readonly isTransferWithFee: boolean;1894 readonly asTransferWithFee: {1895 readonly currencyId: PalletForeignAssetsAssetIds;1896 readonly amount: u128;1897 readonly fee: u128;1898 readonly dest: XcmVersionedMultiLocation;1899 readonly destWeightLimit: XcmV2WeightLimit;1900 } & Struct;1901 readonly isTransferMultiassetWithFee: boolean;1902 readonly asTransferMultiassetWithFee: {1903 readonly asset: XcmVersionedMultiAsset;1904 readonly fee: XcmVersionedMultiAsset;1905 readonly dest: XcmVersionedMultiLocation;1906 readonly destWeightLimit: XcmV2WeightLimit;1907 } & Struct;1908 readonly isTransferMulticurrencies: boolean;1909 readonly asTransferMulticurrencies: {1910 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;1911 readonly feeItem: u32;1912 readonly dest: XcmVersionedMultiLocation;1913 readonly destWeightLimit: XcmV2WeightLimit;1914 } & Struct;1915 readonly isTransferMultiassets: boolean;1916 readonly asTransferMultiassets: {1917 readonly assets: XcmVersionedMultiAssets;1918 readonly feeItem: u32;1919 readonly dest: XcmVersionedMultiLocation;1920 readonly destWeightLimit: XcmV2WeightLimit;1921 } & Struct;1922 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1923 }19241925 /** @name XcmVersionedMultiAsset (197) */1926 interface XcmVersionedMultiAsset extends Enum {1927 readonly isV0: boolean;1928 readonly asV0: XcmV0MultiAsset;1929 readonly isV1: boolean;1930 readonly asV1: XcmV1MultiAsset;1931 readonly type: 'V0' | 'V1';1932 }19331934 /** @name OrmlTokensModuleCall (200) */1935 interface OrmlTokensModuleCall extends Enum {1936 readonly isTransfer: boolean;1937 readonly asTransfer: {1938 readonly dest: MultiAddress;1939 readonly currencyId: PalletForeignAssetsAssetIds;1940 readonly amount: Compact<u128>;1941 } & Struct;1942 readonly isTransferAll: boolean;1943 readonly asTransferAll: {1944 readonly dest: MultiAddress;1945 readonly currencyId: PalletForeignAssetsAssetIds;1946 readonly keepAlive: bool;1947 } & Struct;1948 readonly isTransferKeepAlive: boolean;1949 readonly asTransferKeepAlive: {1950 readonly dest: MultiAddress;1951 readonly currencyId: PalletForeignAssetsAssetIds;1952 readonly amount: Compact<u128>;1953 } & Struct;1954 readonly isForceTransfer: boolean;1955 readonly asForceTransfer: {1956 readonly source: MultiAddress;1957 readonly dest: MultiAddress;1958 readonly currencyId: PalletForeignAssetsAssetIds;1959 readonly amount: Compact<u128>;1960 } & Struct;1961 readonly isSetBalance: boolean;1962 readonly asSetBalance: {1963 readonly who: MultiAddress;1964 readonly currencyId: PalletForeignAssetsAssetIds;1965 readonly newFree: Compact<u128>;1966 readonly newReserved: Compact<u128>;1967 } & Struct;1968 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';1969 }19701971 /** @name CumulusPalletXcmpQueueCall (201) */1972 interface CumulusPalletXcmpQueueCall extends Enum {1973 readonly isServiceOverweight: boolean;1974 readonly asServiceOverweight: {1975 readonly index: u64;1976 readonly weightLimit: u64;1977 } & Struct;1978 readonly isSuspendXcmExecution: boolean;1979 readonly isResumeXcmExecution: boolean;1980 readonly isUpdateSuspendThreshold: boolean;1981 readonly asUpdateSuspendThreshold: {1982 readonly new_: u32;1983 } & Struct;1984 readonly isUpdateDropThreshold: boolean;1985 readonly asUpdateDropThreshold: {1986 readonly new_: u32;1987 } & Struct;1988 readonly isUpdateResumeThreshold: boolean;1989 readonly asUpdateResumeThreshold: {1990 readonly new_: u32;1991 } & Struct;1992 readonly isUpdateThresholdWeight: boolean;1993 readonly asUpdateThresholdWeight: {1994 readonly new_: u64;1995 } & Struct;1996 readonly isUpdateWeightRestrictDecay: boolean;1997 readonly asUpdateWeightRestrictDecay: {1998 readonly new_: u64;1999 } & Struct;2000 readonly isUpdateXcmpMaxIndividualWeight: boolean;2001 readonly asUpdateXcmpMaxIndividualWeight: {2002 readonly new_: u64;2003 } & Struct;2004 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2005 }20062007 /** @name PalletXcmCall (202) */2008 interface PalletXcmCall extends Enum {2009 readonly isSend: boolean;2010 readonly asSend: {2011 readonly dest: XcmVersionedMultiLocation;2012 readonly message: XcmVersionedXcm;2013 } & Struct;2014 readonly isTeleportAssets: boolean;2015 readonly asTeleportAssets: {2016 readonly dest: XcmVersionedMultiLocation;2017 readonly beneficiary: XcmVersionedMultiLocation;2018 readonly assets: XcmVersionedMultiAssets;2019 readonly feeAssetItem: u32;2020 } & Struct;2021 readonly isReserveTransferAssets: boolean;2022 readonly asReserveTransferAssets: {2023 readonly dest: XcmVersionedMultiLocation;2024 readonly beneficiary: XcmVersionedMultiLocation;2025 readonly assets: XcmVersionedMultiAssets;2026 readonly feeAssetItem: u32;2027 } & Struct;2028 readonly isExecute: boolean;2029 readonly asExecute: {2030 readonly message: XcmVersionedXcm;2031 readonly maxWeight: u64;2032 } & Struct;2033 readonly isForceXcmVersion: boolean;2034 readonly asForceXcmVersion: {2035 readonly location: XcmV1MultiLocation;2036 readonly xcmVersion: u32;2037 } & Struct;2038 readonly isForceDefaultXcmVersion: boolean;2039 readonly asForceDefaultXcmVersion: {2040 readonly maybeXcmVersion: Option<u32>;2041 } & Struct;2042 readonly isForceSubscribeVersionNotify: boolean;2043 readonly asForceSubscribeVersionNotify: {2044 readonly location: XcmVersionedMultiLocation;2045 } & Struct;2046 readonly isForceUnsubscribeVersionNotify: boolean;2047 readonly asForceUnsubscribeVersionNotify: {2048 readonly location: XcmVersionedMultiLocation;2049 } & Struct;2050 readonly isLimitedReserveTransferAssets: boolean;2051 readonly asLimitedReserveTransferAssets: {2052 readonly dest: XcmVersionedMultiLocation;2053 readonly beneficiary: XcmVersionedMultiLocation;2054 readonly assets: XcmVersionedMultiAssets;2055 readonly feeAssetItem: u32;2056 readonly weightLimit: XcmV2WeightLimit;2057 } & Struct;2058 readonly isLimitedTeleportAssets: boolean;2059 readonly asLimitedTeleportAssets: {2060 readonly dest: XcmVersionedMultiLocation;2061 readonly beneficiary: XcmVersionedMultiLocation;2062 readonly assets: XcmVersionedMultiAssets;2063 readonly feeAssetItem: u32;2064 readonly weightLimit: XcmV2WeightLimit;2065 } & Struct;2066 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2067 }20682069 /** @name XcmVersionedXcm (203) */2070 interface XcmVersionedXcm extends Enum {2071 readonly isV0: boolean;2072 readonly asV0: XcmV0Xcm;2073 readonly isV1: boolean;2074 readonly asV1: XcmV1Xcm;2075 readonly isV2: boolean;2076 readonly asV2: XcmV2Xcm;2077 readonly type: 'V0' | 'V1' | 'V2';2078 }20792080 /** @name XcmV0Xcm (204) */2081 interface XcmV0Xcm extends Enum {2082 readonly isWithdrawAsset: boolean;2083 readonly asWithdrawAsset: {2084 readonly assets: Vec<XcmV0MultiAsset>;2085 readonly effects: Vec<XcmV0Order>;2086 } & Struct;2087 readonly isReserveAssetDeposit: boolean;2088 readonly asReserveAssetDeposit: {2089 readonly assets: Vec<XcmV0MultiAsset>;2090 readonly effects: Vec<XcmV0Order>;2091 } & Struct;2092 readonly isTeleportAsset: boolean;2093 readonly asTeleportAsset: {2094 readonly assets: Vec<XcmV0MultiAsset>;2095 readonly effects: Vec<XcmV0Order>;2096 } & Struct;2097 readonly isQueryResponse: boolean;2098 readonly asQueryResponse: {2099 readonly queryId: Compact<u64>;2100 readonly response: XcmV0Response;2101 } & Struct;2102 readonly isTransferAsset: boolean;2103 readonly asTransferAsset: {2104 readonly assets: Vec<XcmV0MultiAsset>;2105 readonly dest: XcmV0MultiLocation;2106 } & Struct;2107 readonly isTransferReserveAsset: boolean;2108 readonly asTransferReserveAsset: {2109 readonly assets: Vec<XcmV0MultiAsset>;2110 readonly dest: XcmV0MultiLocation;2111 readonly effects: Vec<XcmV0Order>;2112 } & Struct;2113 readonly isTransact: boolean;2114 readonly asTransact: {2115 readonly originType: XcmV0OriginKind;2116 readonly requireWeightAtMost: u64;2117 readonly call: XcmDoubleEncoded;2118 } & Struct;2119 readonly isHrmpNewChannelOpenRequest: boolean;2120 readonly asHrmpNewChannelOpenRequest: {2121 readonly sender: Compact<u32>;2122 readonly maxMessageSize: Compact<u32>;2123 readonly maxCapacity: Compact<u32>;2124 } & Struct;2125 readonly isHrmpChannelAccepted: boolean;2126 readonly asHrmpChannelAccepted: {2127 readonly recipient: Compact<u32>;2128 } & Struct;2129 readonly isHrmpChannelClosing: boolean;2130 readonly asHrmpChannelClosing: {2131 readonly initiator: Compact<u32>;2132 readonly sender: Compact<u32>;2133 readonly recipient: Compact<u32>;2134 } & Struct;2135 readonly isRelayedFrom: boolean;2136 readonly asRelayedFrom: {2137 readonly who: XcmV0MultiLocation;2138 readonly message: XcmV0Xcm;2139 } & Struct;2140 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2141 }21422143 /** @name XcmV0Order (206) */2144 interface XcmV0Order extends Enum {2145 readonly isNull: boolean;2146 readonly isDepositAsset: boolean;2147 readonly asDepositAsset: {2148 readonly assets: Vec<XcmV0MultiAsset>;2149 readonly dest: XcmV0MultiLocation;2150 } & Struct;2151 readonly isDepositReserveAsset: boolean;2152 readonly asDepositReserveAsset: {2153 readonly assets: Vec<XcmV0MultiAsset>;2154 readonly dest: XcmV0MultiLocation;2155 readonly effects: Vec<XcmV0Order>;2156 } & Struct;2157 readonly isExchangeAsset: boolean;2158 readonly asExchangeAsset: {2159 readonly give: Vec<XcmV0MultiAsset>;2160 readonly receive: Vec<XcmV0MultiAsset>;2161 } & Struct;2162 readonly isInitiateReserveWithdraw: boolean;2163 readonly asInitiateReserveWithdraw: {2164 readonly assets: Vec<XcmV0MultiAsset>;2165 readonly reserve: XcmV0MultiLocation;2166 readonly effects: Vec<XcmV0Order>;2167 } & Struct;2168 readonly isInitiateTeleport: boolean;2169 readonly asInitiateTeleport: {2170 readonly assets: Vec<XcmV0MultiAsset>;2171 readonly dest: XcmV0MultiLocation;2172 readonly effects: Vec<XcmV0Order>;2173 } & Struct;2174 readonly isQueryHolding: boolean;2175 readonly asQueryHolding: {2176 readonly queryId: Compact<u64>;2177 readonly dest: XcmV0MultiLocation;2178 readonly assets: Vec<XcmV0MultiAsset>;2179 } & Struct;2180 readonly isBuyExecution: boolean;2181 readonly asBuyExecution: {2182 readonly fees: XcmV0MultiAsset;2183 readonly weight: u64;2184 readonly debt: u64;2185 readonly haltOnError: bool;2186 readonly xcm: Vec<XcmV0Xcm>;2187 } & Struct;2188 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2189 }21902191 /** @name XcmV0Response (208) */2192 interface XcmV0Response extends Enum {2193 readonly isAssets: boolean;2194 readonly asAssets: Vec<XcmV0MultiAsset>;2195 readonly type: 'Assets';2196 }21972198 /** @name XcmV1Xcm (209) */2199 interface XcmV1Xcm extends Enum {2200 readonly isWithdrawAsset: boolean;2201 readonly asWithdrawAsset: {2202 readonly assets: XcmV1MultiassetMultiAssets;2203 readonly effects: Vec<XcmV1Order>;2204 } & Struct;2205 readonly isReserveAssetDeposited: boolean;2206 readonly asReserveAssetDeposited: {2207 readonly assets: XcmV1MultiassetMultiAssets;2208 readonly effects: Vec<XcmV1Order>;2209 } & Struct;2210 readonly isReceiveTeleportedAsset: boolean;2211 readonly asReceiveTeleportedAsset: {2212 readonly assets: XcmV1MultiassetMultiAssets;2213 readonly effects: Vec<XcmV1Order>;2214 } & Struct;2215 readonly isQueryResponse: boolean;2216 readonly asQueryResponse: {2217 readonly queryId: Compact<u64>;2218 readonly response: XcmV1Response;2219 } & Struct;2220 readonly isTransferAsset: boolean;2221 readonly asTransferAsset: {2222 readonly assets: XcmV1MultiassetMultiAssets;2223 readonly beneficiary: XcmV1MultiLocation;2224 } & Struct;2225 readonly isTransferReserveAsset: boolean;2226 readonly asTransferReserveAsset: {2227 readonly assets: XcmV1MultiassetMultiAssets;2228 readonly dest: XcmV1MultiLocation;2229 readonly effects: Vec<XcmV1Order>;2230 } & Struct;2231 readonly isTransact: boolean;2232 readonly asTransact: {2233 readonly originType: XcmV0OriginKind;2234 readonly requireWeightAtMost: u64;2235 readonly call: XcmDoubleEncoded;2236 } & Struct;2237 readonly isHrmpNewChannelOpenRequest: boolean;2238 readonly asHrmpNewChannelOpenRequest: {2239 readonly sender: Compact<u32>;2240 readonly maxMessageSize: Compact<u32>;2241 readonly maxCapacity: Compact<u32>;2242 } & Struct;2243 readonly isHrmpChannelAccepted: boolean;2244 readonly asHrmpChannelAccepted: {2245 readonly recipient: Compact<u32>;2246 } & Struct;2247 readonly isHrmpChannelClosing: boolean;2248 readonly asHrmpChannelClosing: {2249 readonly initiator: Compact<u32>;2250 readonly sender: Compact<u32>;2251 readonly recipient: Compact<u32>;2252 } & Struct;2253 readonly isRelayedFrom: boolean;2254 readonly asRelayedFrom: {2255 readonly who: XcmV1MultilocationJunctions;2256 readonly message: XcmV1Xcm;2257 } & Struct;2258 readonly isSubscribeVersion: boolean;2259 readonly asSubscribeVersion: {2260 readonly queryId: Compact<u64>;2261 readonly maxResponseWeight: Compact<u64>;2262 } & Struct;2263 readonly isUnsubscribeVersion: boolean;2264 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2265 }22662267 /** @name XcmV1Order (211) */2268 interface XcmV1Order extends Enum {2269 readonly isNoop: boolean;2270 readonly isDepositAsset: boolean;2271 readonly asDepositAsset: {2272 readonly assets: XcmV1MultiassetMultiAssetFilter;2273 readonly maxAssets: u32;2274 readonly beneficiary: XcmV1MultiLocation;2275 } & Struct;2276 readonly isDepositReserveAsset: boolean;2277 readonly asDepositReserveAsset: {2278 readonly assets: XcmV1MultiassetMultiAssetFilter;2279 readonly maxAssets: u32;2280 readonly dest: XcmV1MultiLocation;2281 readonly effects: Vec<XcmV1Order>;2282 } & Struct;2283 readonly isExchangeAsset: boolean;2284 readonly asExchangeAsset: {2285 readonly give: XcmV1MultiassetMultiAssetFilter;2286 readonly receive: XcmV1MultiassetMultiAssets;2287 } & Struct;2288 readonly isInitiateReserveWithdraw: boolean;2289 readonly asInitiateReserveWithdraw: {2290 readonly assets: XcmV1MultiassetMultiAssetFilter;2291 readonly reserve: XcmV1MultiLocation;2292 readonly effects: Vec<XcmV1Order>;2293 } & Struct;2294 readonly isInitiateTeleport: boolean;2295 readonly asInitiateTeleport: {2296 readonly assets: XcmV1MultiassetMultiAssetFilter;2297 readonly dest: XcmV1MultiLocation;2298 readonly effects: Vec<XcmV1Order>;2299 } & Struct;2300 readonly isQueryHolding: boolean;2301 readonly asQueryHolding: {2302 readonly queryId: Compact<u64>;2303 readonly dest: XcmV1MultiLocation;2304 readonly assets: XcmV1MultiassetMultiAssetFilter;2305 } & Struct;2306 readonly isBuyExecution: boolean;2307 readonly asBuyExecution: {2308 readonly fees: XcmV1MultiAsset;2309 readonly weight: u64;2310 readonly debt: u64;2311 readonly haltOnError: bool;2312 readonly instructions: Vec<XcmV1Xcm>;2313 } & Struct;2314 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2315 }23162317 /** @name XcmV1Response (213) */2318 interface XcmV1Response extends Enum {2319 readonly isAssets: boolean;2320 readonly asAssets: XcmV1MultiassetMultiAssets;2321 readonly isVersion: boolean;2322 readonly asVersion: u32;2323 readonly type: 'Assets' | 'Version';2324 }23252326 /** @name CumulusPalletXcmCall (227) */2327 type CumulusPalletXcmCall = Null;23282329 /** @name CumulusPalletDmpQueueCall (228) */2330 interface CumulusPalletDmpQueueCall extends Enum {2331 readonly isServiceOverweight: boolean;2332 readonly asServiceOverweight: {2333 readonly index: u64;2334 readonly weightLimit: u64;2335 } & Struct;2336 readonly type: 'ServiceOverweight';2337 }23382339 /** @name PalletInflationCall (229) */2340 interface PalletInflationCall extends Enum {2341 readonly isStartInflation: boolean;2342 readonly asStartInflation: {2343 readonly inflationStartRelayBlock: u32;2344 } & Struct;2345 readonly type: 'StartInflation';2346 }23472348 /** @name PalletUniqueCall (230) */2349 interface PalletUniqueCall extends Enum {2350 readonly isCreateCollection: boolean;2351 readonly asCreateCollection: {2352 readonly collectionName: Vec<u16>;2353 readonly collectionDescription: Vec<u16>;2354 readonly tokenPrefix: Bytes;2355 readonly mode: UpDataStructsCollectionMode;2356 } & Struct;2357 readonly isCreateCollectionEx: boolean;2358 readonly asCreateCollectionEx: {2359 readonly data: UpDataStructsCreateCollectionData;2360 } & Struct;2361 readonly isDestroyCollection: boolean;2362 readonly asDestroyCollection: {2363 readonly collectionId: u32;2364 } & Struct;2365 readonly isAddToAllowList: boolean;2366 readonly asAddToAllowList: {2367 readonly collectionId: u32;2368 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2369 } & Struct;2370 readonly isRemoveFromAllowList: boolean;2371 readonly asRemoveFromAllowList: {2372 readonly collectionId: u32;2373 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2374 } & Struct;2375 readonly isChangeCollectionOwner: boolean;2376 readonly asChangeCollectionOwner: {2377 readonly collectionId: u32;2378 readonly newOwner: AccountId32;2379 } & Struct;2380 readonly isAddCollectionAdmin: boolean;2381 readonly asAddCollectionAdmin: {2382 readonly collectionId: u32;2383 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2384 } & Struct;2385 readonly isRemoveCollectionAdmin: boolean;2386 readonly asRemoveCollectionAdmin: {2387 readonly collectionId: u32;2388 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2389 } & Struct;2390 readonly isSetCollectionSponsor: boolean;2391 readonly asSetCollectionSponsor: {2392 readonly collectionId: u32;2393 readonly newSponsor: AccountId32;2394 } & Struct;2395 readonly isConfirmSponsorship: boolean;2396 readonly asConfirmSponsorship: {2397 readonly collectionId: u32;2398 } & Struct;2399 readonly isRemoveCollectionSponsor: boolean;2400 readonly asRemoveCollectionSponsor: {2401 readonly collectionId: u32;2402 } & Struct;2403 readonly isCreateItem: boolean;2404 readonly asCreateItem: {2405 readonly collectionId: u32;2406 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2407 readonly data: UpDataStructsCreateItemData;2408 } & Struct;2409 readonly isCreateMultipleItems: boolean;2410 readonly asCreateMultipleItems: {2411 readonly collectionId: u32;2412 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2413 readonly itemsData: Vec<UpDataStructsCreateItemData>;2414 } & Struct;2415 readonly isSetCollectionProperties: boolean;2416 readonly asSetCollectionProperties: {2417 readonly collectionId: u32;2418 readonly properties: Vec<UpDataStructsProperty>;2419 } & Struct;2420 readonly isDeleteCollectionProperties: boolean;2421 readonly asDeleteCollectionProperties: {2422 readonly collectionId: u32;2423 readonly propertyKeys: Vec<Bytes>;2424 } & Struct;2425 readonly isSetTokenProperties: boolean;2426 readonly asSetTokenProperties: {2427 readonly collectionId: u32;2428 readonly tokenId: u32;2429 readonly properties: Vec<UpDataStructsProperty>;2430 } & Struct;2431 readonly isDeleteTokenProperties: boolean;2432 readonly asDeleteTokenProperties: {2433 readonly collectionId: u32;2434 readonly tokenId: u32;2435 readonly propertyKeys: Vec<Bytes>;2436 } & Struct;2437 readonly isSetTokenPropertyPermissions: boolean;2438 readonly asSetTokenPropertyPermissions: {2439 readonly collectionId: u32;2440 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2441 } & Struct;2442 readonly isCreateMultipleItemsEx: boolean;2443 readonly asCreateMultipleItemsEx: {2444 readonly collectionId: u32;2445 readonly data: UpDataStructsCreateItemExData;2446 } & Struct;2447 readonly isSetTransfersEnabledFlag: boolean;2448 readonly asSetTransfersEnabledFlag: {2449 readonly collectionId: u32;2450 readonly value: bool;2451 } & Struct;2452 readonly isBurnItem: boolean;2453 readonly asBurnItem: {2454 readonly collectionId: u32;2455 readonly itemId: u32;2456 readonly value: u128;2457 } & Struct;2458 readonly isBurnFrom: boolean;2459 readonly asBurnFrom: {2460 readonly collectionId: u32;2461 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2462 readonly itemId: u32;2463 readonly value: u128;2464 } & Struct;2465 readonly isTransfer: boolean;2466 readonly asTransfer: {2467 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2468 readonly collectionId: u32;2469 readonly itemId: u32;2470 readonly value: u128;2471 } & Struct;2472 readonly isApprove: boolean;2473 readonly asApprove: {2474 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2475 readonly collectionId: u32;2476 readonly itemId: u32;2477 readonly amount: u128;2478 } & Struct;2479 readonly isTransferFrom: boolean;2480 readonly asTransferFrom: {2481 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2482 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2483 readonly collectionId: u32;2484 readonly itemId: u32;2485 readonly value: u128;2486 } & Struct;2487 readonly isSetCollectionLimits: boolean;2488 readonly asSetCollectionLimits: {2489 readonly collectionId: u32;2490 readonly newLimit: UpDataStructsCollectionLimits;2491 } & Struct;2492 readonly isSetCollectionPermissions: boolean;2493 readonly asSetCollectionPermissions: {2494 readonly collectionId: u32;2495 readonly newPermission: UpDataStructsCollectionPermissions;2496 } & Struct;2497 readonly isRepartition: boolean;2498 readonly asRepartition: {2499 readonly collectionId: u32;2500 readonly tokenId: u32;2501 readonly amount: u128;2502 } & Struct;2503 readonly isSetAllowanceForAll: boolean;2504 readonly asSetAllowanceForAll: {2505 readonly collectionId: u32;2506 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2507 readonly approve: bool;2508 } & Struct;2509 readonly isForceRepairCollection: boolean;2510 readonly asForceRepairCollection: {2511 readonly collectionId: u32;2512 } & Struct;2513 readonly isForceRepairItem: boolean;2514 readonly asForceRepairItem: {2515 readonly collectionId: u32;2516 readonly itemId: u32;2517 } & Struct;2518 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';2519 }25202521 /** @name UpDataStructsCollectionMode (235) */2522 interface UpDataStructsCollectionMode extends Enum {2523 readonly isNft: boolean;2524 readonly isFungible: boolean;2525 readonly asFungible: u8;2526 readonly isReFungible: boolean;2527 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2528 }25292530 /** @name UpDataStructsCreateCollectionData (236) */2531 interface UpDataStructsCreateCollectionData extends Struct {2532 readonly mode: UpDataStructsCollectionMode;2533 readonly access: Option<UpDataStructsAccessMode>;2534 readonly name: Vec<u16>;2535 readonly description: Vec<u16>;2536 readonly tokenPrefix: Bytes;2537 readonly pendingSponsor: Option<AccountId32>;2538 readonly limits: Option<UpDataStructsCollectionLimits>;2539 readonly permissions: Option<UpDataStructsCollectionPermissions>;2540 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2541 readonly properties: Vec<UpDataStructsProperty>;2542 }25432544 /** @name UpDataStructsAccessMode (238) */2545 interface UpDataStructsAccessMode extends Enum {2546 readonly isNormal: boolean;2547 readonly isAllowList: boolean;2548 readonly type: 'Normal' | 'AllowList';2549 }25502551 /** @name UpDataStructsCollectionLimits (240) */2552 interface UpDataStructsCollectionLimits extends Struct {2553 readonly accountTokenOwnershipLimit: Option<u32>;2554 readonly sponsoredDataSize: Option<u32>;2555 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2556 readonly tokenLimit: Option<u32>;2557 readonly sponsorTransferTimeout: Option<u32>;2558 readonly sponsorApproveTimeout: Option<u32>;2559 readonly ownerCanTransfer: Option<bool>;2560 readonly ownerCanDestroy: Option<bool>;2561 readonly transfersEnabled: Option<bool>;2562 }25632564 /** @name UpDataStructsSponsoringRateLimit (242) */2565 interface UpDataStructsSponsoringRateLimit extends Enum {2566 readonly isSponsoringDisabled: boolean;2567 readonly isBlocks: boolean;2568 readonly asBlocks: u32;2569 readonly type: 'SponsoringDisabled' | 'Blocks';2570 }25712572 /** @name UpDataStructsCollectionPermissions (245) */2573 interface UpDataStructsCollectionPermissions extends Struct {2574 readonly access: Option<UpDataStructsAccessMode>;2575 readonly mintMode: Option<bool>;2576 readonly nesting: Option<UpDataStructsNestingPermissions>;2577 }25782579 /** @name UpDataStructsNestingPermissions (247) */2580 interface UpDataStructsNestingPermissions extends Struct {2581 readonly tokenOwner: bool;2582 readonly collectionAdmin: bool;2583 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2584 }25852586 /** @name UpDataStructsOwnerRestrictedSet (249) */2587 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}25882589 /** @name UpDataStructsPropertyKeyPermission (254) */2590 interface UpDataStructsPropertyKeyPermission extends Struct {2591 readonly key: Bytes;2592 readonly permission: UpDataStructsPropertyPermission;2593 }25942595 /** @name UpDataStructsPropertyPermission (255) */2596 interface UpDataStructsPropertyPermission extends Struct {2597 readonly mutable: bool;2598 readonly collectionAdmin: bool;2599 readonly tokenOwner: bool;2600 }26012602 /** @name UpDataStructsProperty (258) */2603 interface UpDataStructsProperty extends Struct {2604 readonly key: Bytes;2605 readonly value: Bytes;2606 }26072608 /** @name UpDataStructsCreateItemData (261) */2609 interface UpDataStructsCreateItemData extends Enum {2610 readonly isNft: boolean;2611 readonly asNft: UpDataStructsCreateNftData;2612 readonly isFungible: boolean;2613 readonly asFungible: UpDataStructsCreateFungibleData;2614 readonly isReFungible: boolean;2615 readonly asReFungible: UpDataStructsCreateReFungibleData;2616 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2617 }26182619 /** @name UpDataStructsCreateNftData (262) */2620 interface UpDataStructsCreateNftData extends Struct {2621 readonly properties: Vec<UpDataStructsProperty>;2622 }26232624 /** @name UpDataStructsCreateFungibleData (263) */2625 interface UpDataStructsCreateFungibleData extends Struct {2626 readonly value: u128;2627 }26282629 /** @name UpDataStructsCreateReFungibleData (264) */2630 interface UpDataStructsCreateReFungibleData extends Struct {2631 readonly pieces: u128;2632 readonly properties: Vec<UpDataStructsProperty>;2633 }26342635 /** @name UpDataStructsCreateItemExData (267) */2636 interface UpDataStructsCreateItemExData extends Enum {2637 readonly isNft: boolean;2638 readonly asNft: Vec<UpDataStructsCreateNftExData>;2639 readonly isFungible: boolean;2640 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2641 readonly isRefungibleMultipleItems: boolean;2642 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2643 readonly isRefungibleMultipleOwners: boolean;2644 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2645 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2646 }26472648 /** @name UpDataStructsCreateNftExData (269) */2649 interface UpDataStructsCreateNftExData extends Struct {2650 readonly properties: Vec<UpDataStructsProperty>;2651 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2652 }26532654 /** @name UpDataStructsCreateRefungibleExSingleOwner (276) */2655 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2656 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2657 readonly pieces: u128;2658 readonly properties: Vec<UpDataStructsProperty>;2659 }26602661 /** @name UpDataStructsCreateRefungibleExMultipleOwners (278) */2662 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2663 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2664 readonly properties: Vec<UpDataStructsProperty>;2665 }26662667 /** @name PalletConfigurationCall (279) */2668 interface PalletConfigurationCall extends Enum {2669 readonly isSetWeightToFeeCoefficientOverride: boolean;2670 readonly asSetWeightToFeeCoefficientOverride: {2671 readonly coeff: Option<u64>;2672 } & Struct;2673 readonly isSetMinGasPriceOverride: boolean;2674 readonly asSetMinGasPriceOverride: {2675 readonly coeff: Option<u64>;2676 } & Struct;2677 readonly isSetXcmAllowedLocations: boolean;2678 readonly asSetXcmAllowedLocations: {2679 readonly locations: Option<Vec<XcmV1MultiLocation>>;2680 } & Struct;2681 readonly isSetAppPromotionConfigurationOverride: boolean;2682 readonly asSetAppPromotionConfigurationOverride: {2683 readonly configuration: PalletConfigurationAppPromotionConfiguration;2684 } & Struct;2685 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2686 }26872688 /** @name PalletConfigurationAppPromotionConfiguration (284) */2689 interface PalletConfigurationAppPromotionConfiguration extends Struct {2690 readonly recalculationInterval: Option<u32>;2691 readonly pendingInterval: Option<u32>;2692 readonly intervalIncome: Option<Perbill>;2693 readonly maxStakersPerCalculation: Option<u8>;2694 }26952696 /** @name PalletTemplateTransactionPaymentCall (288) */2697 type PalletTemplateTransactionPaymentCall = Null;26982699 /** @name PalletStructureCall (289) */2700 type PalletStructureCall = Null;27012702 /** @name PalletRmrkCoreCall (290) */2703 interface PalletRmrkCoreCall extends Enum {2704 readonly isCreateCollection: boolean;2705 readonly asCreateCollection: {2706 readonly metadata: Bytes;2707 readonly max: Option<u32>;2708 readonly symbol: Bytes;2709 } & Struct;2710 readonly isDestroyCollection: boolean;2711 readonly asDestroyCollection: {2712 readonly collectionId: u32;2713 } & Struct;2714 readonly isChangeCollectionIssuer: boolean;2715 readonly asChangeCollectionIssuer: {2716 readonly collectionId: u32;2717 readonly newIssuer: MultiAddress;2718 } & Struct;2719 readonly isLockCollection: boolean;2720 readonly asLockCollection: {2721 readonly collectionId: u32;2722 } & Struct;2723 readonly isMintNft: boolean;2724 readonly asMintNft: {2725 readonly owner: Option<AccountId32>;2726 readonly collectionId: u32;2727 readonly recipient: Option<AccountId32>;2728 readonly royaltyAmount: Option<Permill>;2729 readonly metadata: Bytes;2730 readonly transferable: bool;2731 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;2732 } & Struct;2733 readonly isBurnNft: boolean;2734 readonly asBurnNft: {2735 readonly collectionId: u32;2736 readonly nftId: u32;2737 readonly maxBurns: u32;2738 } & Struct;2739 readonly isSend: boolean;2740 readonly asSend: {2741 readonly rmrkCollectionId: u32;2742 readonly rmrkNftId: u32;2743 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2744 } & Struct;2745 readonly isAcceptNft: boolean;2746 readonly asAcceptNft: {2747 readonly rmrkCollectionId: u32;2748 readonly rmrkNftId: u32;2749 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2750 } & Struct;2751 readonly isRejectNft: boolean;2752 readonly asRejectNft: {2753 readonly rmrkCollectionId: u32;2754 readonly rmrkNftId: u32;2755 } & Struct;2756 readonly isAcceptResource: boolean;2757 readonly asAcceptResource: {2758 readonly rmrkCollectionId: u32;2759 readonly rmrkNftId: u32;2760 readonly resourceId: u32;2761 } & Struct;2762 readonly isAcceptResourceRemoval: boolean;2763 readonly asAcceptResourceRemoval: {2764 readonly rmrkCollectionId: u32;2765 readonly rmrkNftId: u32;2766 readonly resourceId: u32;2767 } & Struct;2768 readonly isSetProperty: boolean;2769 readonly asSetProperty: {2770 readonly rmrkCollectionId: Compact<u32>;2771 readonly maybeNftId: Option<u32>;2772 readonly key: Bytes;2773 readonly value: Bytes;2774 } & Struct;2775 readonly isSetPriority: boolean;2776 readonly asSetPriority: {2777 readonly rmrkCollectionId: u32;2778 readonly rmrkNftId: u32;2779 readonly priorities: Vec<u32>;2780 } & Struct;2781 readonly isAddBasicResource: boolean;2782 readonly asAddBasicResource: {2783 readonly rmrkCollectionId: u32;2784 readonly nftId: u32;2785 readonly resource: RmrkTraitsResourceBasicResource;2786 } & Struct;2787 readonly isAddComposableResource: boolean;2788 readonly asAddComposableResource: {2789 readonly rmrkCollectionId: u32;2790 readonly nftId: u32;2791 readonly resource: RmrkTraitsResourceComposableResource;2792 } & Struct;2793 readonly isAddSlotResource: boolean;2794 readonly asAddSlotResource: {2795 readonly rmrkCollectionId: u32;2796 readonly nftId: u32;2797 readonly resource: RmrkTraitsResourceSlotResource;2798 } & Struct;2799 readonly isRemoveResource: boolean;2800 readonly asRemoveResource: {2801 readonly rmrkCollectionId: u32;2802 readonly nftId: u32;2803 readonly resourceId: u32;2804 } & Struct;2805 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2806 }28072808 /** @name RmrkTraitsResourceResourceTypes (296) */2809 interface RmrkTraitsResourceResourceTypes extends Enum {2810 readonly isBasic: boolean;2811 readonly asBasic: RmrkTraitsResourceBasicResource;2812 readonly isComposable: boolean;2813 readonly asComposable: RmrkTraitsResourceComposableResource;2814 readonly isSlot: boolean;2815 readonly asSlot: RmrkTraitsResourceSlotResource;2816 readonly type: 'Basic' | 'Composable' | 'Slot';2817 }28182819 /** @name RmrkTraitsResourceBasicResource (298) */2820 interface RmrkTraitsResourceBasicResource extends Struct {2821 readonly src: Option<Bytes>;2822 readonly metadata: Option<Bytes>;2823 readonly license: Option<Bytes>;2824 readonly thumb: Option<Bytes>;2825 }28262827 /** @name RmrkTraitsResourceComposableResource (300) */2828 interface RmrkTraitsResourceComposableResource extends Struct {2829 readonly parts: Vec<u32>;2830 readonly base: u32;2831 readonly src: Option<Bytes>;2832 readonly metadata: Option<Bytes>;2833 readonly license: Option<Bytes>;2834 readonly thumb: Option<Bytes>;2835 }28362837 /** @name RmrkTraitsResourceSlotResource (301) */2838 interface RmrkTraitsResourceSlotResource extends Struct {2839 readonly base: u32;2840 readonly src: Option<Bytes>;2841 readonly metadata: Option<Bytes>;2842 readonly slot: u32;2843 readonly license: Option<Bytes>;2844 readonly thumb: Option<Bytes>;2845 }28462847 /** @name PalletRmrkEquipCall (304) */2848 interface PalletRmrkEquipCall extends Enum {2849 readonly isCreateBase: boolean;2850 readonly asCreateBase: {2851 readonly baseType: Bytes;2852 readonly symbol: Bytes;2853 readonly parts: Vec<RmrkTraitsPartPartType>;2854 } & Struct;2855 readonly isThemeAdd: boolean;2856 readonly asThemeAdd: {2857 readonly baseId: u32;2858 readonly theme: RmrkTraitsTheme;2859 } & Struct;2860 readonly isEquippable: boolean;2861 readonly asEquippable: {2862 readonly baseId: u32;2863 readonly slotId: u32;2864 readonly equippables: RmrkTraitsPartEquippableList;2865 } & Struct;2866 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2867 }28682869 /** @name RmrkTraitsPartPartType (307) */2870 interface RmrkTraitsPartPartType extends Enum {2871 readonly isFixedPart: boolean;2872 readonly asFixedPart: RmrkTraitsPartFixedPart;2873 readonly isSlotPart: boolean;2874 readonly asSlotPart: RmrkTraitsPartSlotPart;2875 readonly type: 'FixedPart' | 'SlotPart';2876 }28772878 /** @name RmrkTraitsPartFixedPart (309) */2879 interface RmrkTraitsPartFixedPart extends Struct {2880 readonly id: u32;2881 readonly z: u32;2882 readonly src: Bytes;2883 }28842885 /** @name RmrkTraitsPartSlotPart (310) */2886 interface RmrkTraitsPartSlotPart extends Struct {2887 readonly id: u32;2888 readonly equippable: RmrkTraitsPartEquippableList;2889 readonly src: Bytes;2890 readonly z: u32;2891 }28922893 /** @name RmrkTraitsPartEquippableList (311) */2894 interface RmrkTraitsPartEquippableList extends Enum {2895 readonly isAll: boolean;2896 readonly isEmpty: boolean;2897 readonly isCustom: boolean;2898 readonly asCustom: Vec<u32>;2899 readonly type: 'All' | 'Empty' | 'Custom';2900 }29012902 /** @name RmrkTraitsTheme (313) */2903 interface RmrkTraitsTheme extends Struct {2904 readonly name: Bytes;2905 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2906 readonly inherit: bool;2907 }29082909 /** @name RmrkTraitsThemeThemeProperty (315) */2910 interface RmrkTraitsThemeThemeProperty extends Struct {2911 readonly key: Bytes;2912 readonly value: Bytes;2913 }29142915 /** @name PalletAppPromotionCall (317) */2916 interface PalletAppPromotionCall extends Enum {2917 readonly isSetAdminAddress: boolean;2918 readonly asSetAdminAddress: {2919 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;2920 } & Struct;2921 readonly isStake: boolean;2922 readonly asStake: {2923 readonly amount: u128;2924 } & Struct;2925 readonly isUnstake: boolean;2926 readonly isSponsorCollection: boolean;2927 readonly asSponsorCollection: {2928 readonly collectionId: u32;2929 } & Struct;2930 readonly isStopSponsoringCollection: boolean;2931 readonly asStopSponsoringCollection: {2932 readonly collectionId: u32;2933 } & Struct;2934 readonly isSponsorContract: boolean;2935 readonly asSponsorContract: {2936 readonly contractId: H160;2937 } & Struct;2938 readonly isStopSponsoringContract: boolean;2939 readonly asStopSponsoringContract: {2940 readonly contractId: H160;2941 } & Struct;2942 readonly isPayoutStakers: boolean;2943 readonly asPayoutStakers: {2944 readonly stakersNumber: Option<u8>;2945 } & Struct;2946 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2947 }29482949 /** @name PalletForeignAssetsModuleCall (318) */2950 interface PalletForeignAssetsModuleCall extends Enum {2951 readonly isRegisterForeignAsset: boolean;2952 readonly asRegisterForeignAsset: {2953 readonly owner: AccountId32;2954 readonly location: XcmVersionedMultiLocation;2955 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2956 } & Struct;2957 readonly isUpdateForeignAsset: boolean;2958 readonly asUpdateForeignAsset: {2959 readonly foreignAssetId: u32;2960 readonly location: XcmVersionedMultiLocation;2961 readonly metadata: PalletForeignAssetsModuleAssetMetadata;2962 } & Struct;2963 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';2964 }29652966 /** @name PalletEvmCall (319) */2967 interface PalletEvmCall extends Enum {2968 readonly isWithdraw: boolean;2969 readonly asWithdraw: {2970 readonly address: H160;2971 readonly value: u128;2972 } & Struct;2973 readonly isCall: boolean;2974 readonly asCall: {2975 readonly source: H160;2976 readonly target: H160;2977 readonly input: Bytes;2978 readonly value: U256;2979 readonly gasLimit: u64;2980 readonly maxFeePerGas: U256;2981 readonly maxPriorityFeePerGas: Option<U256>;2982 readonly nonce: Option<U256>;2983 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2984 } & Struct;2985 readonly isCreate: boolean;2986 readonly asCreate: {2987 readonly source: H160;2988 readonly init: Bytes;2989 readonly value: U256;2990 readonly gasLimit: u64;2991 readonly maxFeePerGas: U256;2992 readonly maxPriorityFeePerGas: Option<U256>;2993 readonly nonce: Option<U256>;2994 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;2995 } & Struct;2996 readonly isCreate2: boolean;2997 readonly asCreate2: {2998 readonly source: H160;2999 readonly init: Bytes;3000 readonly salt: H256;3001 readonly value: U256;3002 readonly gasLimit: u64;3003 readonly maxFeePerGas: U256;3004 readonly maxPriorityFeePerGas: Option<U256>;3005 readonly nonce: Option<U256>;3006 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;3007 } & Struct;3008 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3009 }30103011 /** @name PalletEthereumCall (325) */3012 interface PalletEthereumCall extends Enum {3013 readonly isTransact: boolean;3014 readonly asTransact: {3015 readonly transaction: EthereumTransactionTransactionV2;3016 } & Struct;3017 readonly type: 'Transact';3018 }30193020 /** @name EthereumTransactionTransactionV2 (326) */3021 interface EthereumTransactionTransactionV2 extends Enum {3022 readonly isLegacy: boolean;3023 readonly asLegacy: EthereumTransactionLegacyTransaction;3024 readonly isEip2930: boolean;3025 readonly asEip2930: EthereumTransactionEip2930Transaction;3026 readonly isEip1559: boolean;3027 readonly asEip1559: EthereumTransactionEip1559Transaction;3028 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3029 }30303031 /** @name EthereumTransactionLegacyTransaction (327) */3032 interface EthereumTransactionLegacyTransaction extends Struct {3033 readonly nonce: U256;3034 readonly gasPrice: U256;3035 readonly gasLimit: U256;3036 readonly action: EthereumTransactionTransactionAction;3037 readonly value: U256;3038 readonly input: Bytes;3039 readonly signature: EthereumTransactionTransactionSignature;3040 }30413042 /** @name EthereumTransactionTransactionAction (328) */3043 interface EthereumTransactionTransactionAction extends Enum {3044 readonly isCall: boolean;3045 readonly asCall: H160;3046 readonly isCreate: boolean;3047 readonly type: 'Call' | 'Create';3048 }30493050 /** @name EthereumTransactionTransactionSignature (329) */3051 interface EthereumTransactionTransactionSignature extends Struct {3052 readonly v: u64;3053 readonly r: H256;3054 readonly s: H256;3055 }30563057 /** @name EthereumTransactionEip2930Transaction (331) */3058 interface EthereumTransactionEip2930Transaction extends Struct {3059 readonly chainId: u64;3060 readonly nonce: U256;3061 readonly gasPrice: U256;3062 readonly gasLimit: U256;3063 readonly action: EthereumTransactionTransactionAction;3064 readonly value: U256;3065 readonly input: Bytes;3066 readonly accessList: Vec<EthereumTransactionAccessListItem>;3067 readonly oddYParity: bool;3068 readonly r: H256;3069 readonly s: H256;3070 }30713072 /** @name EthereumTransactionAccessListItem (333) */3073 interface EthereumTransactionAccessListItem extends Struct {3074 readonly address: H160;3075 readonly storageKeys: Vec<H256>;3076 }30773078 /** @name EthereumTransactionEip1559Transaction (334) */3079 interface EthereumTransactionEip1559Transaction extends Struct {3080 readonly chainId: u64;3081 readonly nonce: U256;3082 readonly maxPriorityFeePerGas: U256;3083 readonly maxFeePerGas: U256;3084 readonly gasLimit: U256;3085 readonly action: EthereumTransactionTransactionAction;3086 readonly value: U256;3087 readonly input: Bytes;3088 readonly accessList: Vec<EthereumTransactionAccessListItem>;3089 readonly oddYParity: bool;3090 readonly r: H256;3091 readonly s: H256;3092 }30933094 /** @name PalletEvmMigrationCall (335) */3095 interface PalletEvmMigrationCall extends Enum {3096 readonly isBegin: boolean;3097 readonly asBegin: {3098 readonly address: H160;3099 } & Struct;3100 readonly isSetData: boolean;3101 readonly asSetData: {3102 readonly address: H160;3103 readonly data: Vec<ITuple<[H256, H256]>>;3104 } & Struct;3105 readonly isFinish: boolean;3106 readonly asFinish: {3107 readonly address: H160;3108 readonly code: Bytes;3109 } & Struct;3110 readonly isInsertEthLogs: boolean;3111 readonly asInsertEthLogs: {3112 readonly logs: Vec<EthereumLog>;3113 } & Struct;3114 readonly isInsertEvents: boolean;3115 readonly asInsertEvents: {3116 readonly events: Vec<Bytes>;3117 } & Struct;3118 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3119 }31203121 /** @name PalletMaintenanceCall (339) */3122 interface PalletMaintenanceCall extends Enum {3123 readonly isEnable: boolean;3124 readonly isDisable: boolean;3125 readonly type: 'Enable' | 'Disable';3126 }31273128 /** @name PalletTestUtilsCall (340) */3129 interface PalletTestUtilsCall extends Enum {3130 readonly isEnable: boolean;3131 readonly isSetTestValue: boolean;3132 readonly asSetTestValue: {3133 readonly value: u32;3134 } & Struct;3135 readonly isSetTestValueAndRollback: boolean;3136 readonly asSetTestValueAndRollback: {3137 readonly value: u32;3138 } & Struct;3139 readonly isIncTestValue: boolean;3140 readonly isJustTakeFee: boolean;3141 readonly isBatchAll: boolean;3142 readonly asBatchAll: {3143 readonly calls: Vec<Call>;3144 } & Struct;3145 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3146 }31473148 /** @name PalletSudoError (342) */3149 interface PalletSudoError extends Enum {3150 readonly isRequireSudo: boolean;3151 readonly type: 'RequireSudo';3152 }31533154 /** @name OrmlVestingModuleError (344) */3155 interface OrmlVestingModuleError extends Enum {3156 readonly isZeroVestingPeriod: boolean;3157 readonly isZeroVestingPeriodCount: boolean;3158 readonly isInsufficientBalanceToLock: boolean;3159 readonly isTooManyVestingSchedules: boolean;3160 readonly isAmountLow: boolean;3161 readonly isMaxVestingSchedulesExceeded: boolean;3162 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3163 }31643165 /** @name OrmlXtokensModuleError (345) */3166 interface OrmlXtokensModuleError extends Enum {3167 readonly isAssetHasNoReserve: boolean;3168 readonly isNotCrossChainTransfer: boolean;3169 readonly isInvalidDest: boolean;3170 readonly isNotCrossChainTransferableCurrency: boolean;3171 readonly isUnweighableMessage: boolean;3172 readonly isXcmExecutionFailed: boolean;3173 readonly isCannotReanchor: boolean;3174 readonly isInvalidAncestry: boolean;3175 readonly isInvalidAsset: boolean;3176 readonly isDestinationNotInvertible: boolean;3177 readonly isBadVersion: boolean;3178 readonly isDistinctReserveForAssetAndFee: boolean;3179 readonly isZeroFee: boolean;3180 readonly isZeroAmount: boolean;3181 readonly isTooManyAssetsBeingSent: boolean;3182 readonly isAssetIndexNonExistent: boolean;3183 readonly isFeeNotEnough: boolean;3184 readonly isNotSupportedMultiLocation: boolean;3185 readonly isMinXcmFeeNotDefined: boolean;3186 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3187 }31883189 /** @name OrmlTokensBalanceLock (348) */3190 interface OrmlTokensBalanceLock extends Struct {3191 readonly id: U8aFixed;3192 readonly amount: u128;3193 }31943195 /** @name OrmlTokensAccountData (350) */3196 interface OrmlTokensAccountData extends Struct {3197 readonly free: u128;3198 readonly reserved: u128;3199 readonly frozen: u128;3200 }32013202 /** @name OrmlTokensReserveData (352) */3203 interface OrmlTokensReserveData extends Struct {3204 readonly id: Null;3205 readonly amount: u128;3206 }32073208 /** @name OrmlTokensModuleError (354) */3209 interface OrmlTokensModuleError extends Enum {3210 readonly isBalanceTooLow: boolean;3211 readonly isAmountIntoBalanceFailed: boolean;3212 readonly isLiquidityRestrictions: boolean;3213 readonly isMaxLocksExceeded: boolean;3214 readonly isKeepAlive: boolean;3215 readonly isExistentialDeposit: boolean;3216 readonly isDeadAccount: boolean;3217 readonly isTooManyReserves: boolean;3218 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3219 }32203221 /** @name CumulusPalletXcmpQueueInboundChannelDetails (356) */3222 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3223 readonly sender: u32;3224 readonly state: CumulusPalletXcmpQueueInboundState;3225 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3226 }32273228 /** @name CumulusPalletXcmpQueueInboundState (357) */3229 interface CumulusPalletXcmpQueueInboundState extends Enum {3230 readonly isOk: boolean;3231 readonly isSuspended: boolean;3232 readonly type: 'Ok' | 'Suspended';3233 }32343235 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (360) */3236 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3237 readonly isConcatenatedVersionedXcm: boolean;3238 readonly isConcatenatedEncodedBlob: boolean;3239 readonly isSignals: boolean;3240 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3241 }32423243 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (363) */3244 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3245 readonly recipient: u32;3246 readonly state: CumulusPalletXcmpQueueOutboundState;3247 readonly signalsExist: bool;3248 readonly firstIndex: u16;3249 readonly lastIndex: u16;3250 }32513252 /** @name CumulusPalletXcmpQueueOutboundState (364) */3253 interface CumulusPalletXcmpQueueOutboundState extends Enum {3254 readonly isOk: boolean;3255 readonly isSuspended: boolean;3256 readonly type: 'Ok' | 'Suspended';3257 }32583259 /** @name CumulusPalletXcmpQueueQueueConfigData (366) */3260 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3261 readonly suspendThreshold: u32;3262 readonly dropThreshold: u32;3263 readonly resumeThreshold: u32;3264 readonly thresholdWeight: SpWeightsWeightV2Weight;3265 readonly weightRestrictDecay: SpWeightsWeightV2Weight;3266 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3267 }32683269 /** @name CumulusPalletXcmpQueueError (368) */3270 interface CumulusPalletXcmpQueueError extends Enum {3271 readonly isFailedToSend: boolean;3272 readonly isBadXcmOrigin: boolean;3273 readonly isBadXcm: boolean;3274 readonly isBadOverweightIndex: boolean;3275 readonly isWeightOverLimit: boolean;3276 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3277 }32783279 /** @name PalletXcmError (369) */3280 interface PalletXcmError extends Enum {3281 readonly isUnreachable: boolean;3282 readonly isSendFailure: boolean;3283 readonly isFiltered: boolean;3284 readonly isUnweighableMessage: boolean;3285 readonly isDestinationNotInvertible: boolean;3286 readonly isEmpty: boolean;3287 readonly isCannotReanchor: boolean;3288 readonly isTooManyAssets: boolean;3289 readonly isInvalidOrigin: boolean;3290 readonly isBadVersion: boolean;3291 readonly isBadLocation: boolean;3292 readonly isNoSubscription: boolean;3293 readonly isAlreadySubscribed: boolean;3294 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3295 }32963297 /** @name CumulusPalletXcmError (370) */3298 type CumulusPalletXcmError = Null;32993300 /** @name CumulusPalletDmpQueueConfigData (371) */3301 interface CumulusPalletDmpQueueConfigData extends Struct {3302 readonly maxIndividual: SpWeightsWeightV2Weight;3303 }33043305 /** @name CumulusPalletDmpQueuePageIndexData (372) */3306 interface CumulusPalletDmpQueuePageIndexData extends Struct {3307 readonly beginUsed: u32;3308 readonly endUsed: u32;3309 readonly overweightCount: u64;3310 }33113312 /** @name CumulusPalletDmpQueueError (375) */3313 interface CumulusPalletDmpQueueError extends Enum {3314 readonly isUnknown: boolean;3315 readonly isOverLimit: boolean;3316 readonly type: 'Unknown' | 'OverLimit';3317 }33183319 /** @name PalletUniqueError (379) */3320 interface PalletUniqueError extends Enum {3321 readonly isCollectionDecimalPointLimitExceeded: boolean;3322 readonly isEmptyArgument: boolean;3323 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3324 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3325 }33263327 /** @name PalletConfigurationError (380) */3328 interface PalletConfigurationError extends Enum {3329 readonly isInconsistentConfiguration: boolean;3330 readonly type: 'InconsistentConfiguration';3331 }33323333 /** @name UpDataStructsCollection (381) */3334 interface UpDataStructsCollection extends Struct {3335 readonly owner: AccountId32;3336 readonly mode: UpDataStructsCollectionMode;3337 readonly name: Vec<u16>;3338 readonly description: Vec<u16>;3339 readonly tokenPrefix: Bytes;3340 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3341 readonly limits: UpDataStructsCollectionLimits;3342 readonly permissions: UpDataStructsCollectionPermissions;3343 readonly flags: U8aFixed;3344 }33453346 /** @name UpDataStructsSponsorshipStateAccountId32 (382) */3347 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3348 readonly isDisabled: boolean;3349 readonly isUnconfirmed: boolean;3350 readonly asUnconfirmed: AccountId32;3351 readonly isConfirmed: boolean;3352 readonly asConfirmed: AccountId32;3353 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3354 }33553356 /** @name UpDataStructsProperties (384) */3357 interface UpDataStructsProperties extends Struct {3358 readonly map: UpDataStructsPropertiesMapBoundedVec;3359 readonly consumedSpace: u32;3360 readonly spaceLimit: u32;3361 }33623363 /** @name UpDataStructsPropertiesMapBoundedVec (385) */3364 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}33653366 /** @name UpDataStructsPropertiesMapPropertyPermission (390) */3367 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}33683369 /** @name UpDataStructsCollectionStats (397) */3370 interface UpDataStructsCollectionStats extends Struct {3371 readonly created: u32;3372 readonly destroyed: u32;3373 readonly alive: u32;3374 }33753376 /** @name UpDataStructsTokenChild (398) */3377 interface UpDataStructsTokenChild extends Struct {3378 readonly token: u32;3379 readonly collection: u32;3380 }33813382 /** @name PhantomTypeUpDataStructs (399) */3383 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}33843385 /** @name UpDataStructsTokenData (401) */3386 interface UpDataStructsTokenData extends Struct {3387 readonly properties: Vec<UpDataStructsProperty>;3388 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3389 readonly pieces: u128;3390 }33913392 /** @name UpDataStructsRpcCollection (403) */3393 interface UpDataStructsRpcCollection extends Struct {3394 readonly owner: AccountId32;3395 readonly mode: UpDataStructsCollectionMode;3396 readonly name: Vec<u16>;3397 readonly description: Vec<u16>;3398 readonly tokenPrefix: Bytes;3399 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;3400 readonly limits: UpDataStructsCollectionLimits;3401 readonly permissions: UpDataStructsCollectionPermissions;3402 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;3403 readonly properties: Vec<UpDataStructsProperty>;3404 readonly readOnly: bool;3405 readonly flags: UpDataStructsRpcCollectionFlags;3406 }34073408 /** @name UpDataStructsRpcCollectionFlags (404) */3409 interface UpDataStructsRpcCollectionFlags extends Struct {3410 readonly foreign: bool;3411 readonly erc721metadata: bool;3412 }34133414 /** @name RmrkTraitsCollectionCollectionInfo (405) */3415 interface RmrkTraitsCollectionCollectionInfo extends Struct {3416 readonly issuer: AccountId32;3417 readonly metadata: Bytes;3418 readonly max: Option<u32>;3419 readonly symbol: Bytes;3420 readonly nftsCount: u32;3421 }34223423 /** @name RmrkTraitsNftNftInfo (406) */3424 interface RmrkTraitsNftNftInfo extends Struct {3425 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3426 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3427 readonly metadata: Bytes;3428 readonly equipped: bool;3429 readonly pending: bool;3430 }34313432 /** @name RmrkTraitsNftRoyaltyInfo (408) */3433 interface RmrkTraitsNftRoyaltyInfo extends Struct {3434 readonly recipient: AccountId32;3435 readonly amount: Permill;3436 }34373438 /** @name RmrkTraitsResourceResourceInfo (409) */3439 interface RmrkTraitsResourceResourceInfo extends Struct {3440 readonly id: u32;3441 readonly resource: RmrkTraitsResourceResourceTypes;3442 readonly pending: bool;3443 readonly pendingRemoval: bool;3444 }34453446 /** @name RmrkTraitsPropertyPropertyInfo (410) */3447 interface RmrkTraitsPropertyPropertyInfo extends Struct {3448 readonly key: Bytes;3449 readonly value: Bytes;3450 }34513452 /** @name RmrkTraitsBaseBaseInfo (411) */3453 interface RmrkTraitsBaseBaseInfo extends Struct {3454 readonly issuer: AccountId32;3455 readonly baseType: Bytes;3456 readonly symbol: Bytes;3457 }34583459 /** @name RmrkTraitsNftNftChild (412) */3460 interface RmrkTraitsNftNftChild extends Struct {3461 readonly collectionId: u32;3462 readonly nftId: u32;3463 }34643465 /** @name PalletCommonError (414) */3466 interface PalletCommonError extends Enum {3467 readonly isCollectionNotFound: boolean;3468 readonly isMustBeTokenOwner: boolean;3469 readonly isNoPermission: boolean;3470 readonly isCantDestroyNotEmptyCollection: boolean;3471 readonly isPublicMintingNotAllowed: boolean;3472 readonly isAddressNotInAllowlist: boolean;3473 readonly isCollectionNameLimitExceeded: boolean;3474 readonly isCollectionDescriptionLimitExceeded: boolean;3475 readonly isCollectionTokenPrefixLimitExceeded: boolean;3476 readonly isTotalCollectionsLimitExceeded: boolean;3477 readonly isCollectionAdminCountExceeded: boolean;3478 readonly isCollectionLimitBoundsExceeded: boolean;3479 readonly isOwnerPermissionsCantBeReverted: boolean;3480 readonly isTransferNotAllowed: boolean;3481 readonly isAccountTokenLimitExceeded: boolean;3482 readonly isCollectionTokenLimitExceeded: boolean;3483 readonly isMetadataFlagFrozen: boolean;3484 readonly isTokenNotFound: boolean;3485 readonly isTokenValueTooLow: boolean;3486 readonly isApprovedValueTooLow: boolean;3487 readonly isCantApproveMoreThanOwned: boolean;3488 readonly isAddressIsZero: boolean;3489 readonly isUnsupportedOperation: boolean;3490 readonly isNotSufficientFounds: boolean;3491 readonly isUserIsNotAllowedToNest: boolean;3492 readonly isSourceCollectionIsNotAllowedToNest: boolean;3493 readonly isCollectionFieldSizeExceeded: boolean;3494 readonly isNoSpaceForProperty: boolean;3495 readonly isPropertyLimitReached: boolean;3496 readonly isPropertyKeyIsTooLong: boolean;3497 readonly isInvalidCharacterInPropertyKey: boolean;3498 readonly isEmptyPropertyKey: boolean;3499 readonly isCollectionIsExternal: boolean;3500 readonly isCollectionIsInternal: boolean;3501 readonly isConfirmSponsorshipFail: boolean;3502 readonly isUserIsNotCollectionAdmin: boolean;3503 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';3504 }35053506 /** @name PalletFungibleError (416) */3507 interface PalletFungibleError extends Enum {3508 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3509 readonly isFungibleItemsHaveNoId: boolean;3510 readonly isFungibleItemsDontHaveData: boolean;3511 readonly isFungibleDisallowsNesting: boolean;3512 readonly isSettingPropertiesNotAllowed: boolean;3513 readonly isSettingAllowanceForAllNotAllowed: boolean;3514 readonly isFungibleTokensAreAlwaysValid: boolean;3515 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3516 }35173518 /** @name PalletRefungibleItemData (417) */3519 interface PalletRefungibleItemData extends Struct {3520 readonly constData: Bytes;3521 }35223523 /** @name PalletRefungibleError (422) */3524 interface PalletRefungibleError extends Enum {3525 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3526 readonly isWrongRefungiblePieces: boolean;3527 readonly isRepartitionWhileNotOwningAllPieces: boolean;3528 readonly isRefungibleDisallowsNesting: boolean;3529 readonly isSettingPropertiesNotAllowed: boolean;3530 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3531 }35323533 /** @name PalletNonfungibleItemData (423) */3534 interface PalletNonfungibleItemData extends Struct {3535 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3536 }35373538 /** @name UpDataStructsPropertyScope (425) */3539 interface UpDataStructsPropertyScope extends Enum {3540 readonly isNone: boolean;3541 readonly isRmrk: boolean;3542 readonly type: 'None' | 'Rmrk';3543 }35443545 /** @name PalletNonfungibleError (427) */3546 interface PalletNonfungibleError extends Enum {3547 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3548 readonly isNonfungibleItemsHaveNoAmount: boolean;3549 readonly isCantBurnNftWithChildren: boolean;3550 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3551 }35523553 /** @name PalletStructureError (428) */3554 interface PalletStructureError extends Enum {3555 readonly isOuroborosDetected: boolean;3556 readonly isDepthLimit: boolean;3557 readonly isBreadthLimit: boolean;3558 readonly isTokenNotFound: boolean;3559 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3560 }35613562 /** @name PalletRmrkCoreError (429) */3563 interface PalletRmrkCoreError extends Enum {3564 readonly isCorruptedCollectionType: boolean;3565 readonly isRmrkPropertyKeyIsTooLong: boolean;3566 readonly isRmrkPropertyValueIsTooLong: boolean;3567 readonly isRmrkPropertyIsNotFound: boolean;3568 readonly isUnableToDecodeRmrkData: boolean;3569 readonly isCollectionNotEmpty: boolean;3570 readonly isNoAvailableCollectionId: boolean;3571 readonly isNoAvailableNftId: boolean;3572 readonly isCollectionUnknown: boolean;3573 readonly isNoPermission: boolean;3574 readonly isNonTransferable: boolean;3575 readonly isCollectionFullOrLocked: boolean;3576 readonly isResourceDoesntExist: boolean;3577 readonly isCannotSendToDescendentOrSelf: boolean;3578 readonly isCannotAcceptNonOwnedNft: boolean;3579 readonly isCannotRejectNonOwnedNft: boolean;3580 readonly isCannotRejectNonPendingNft: boolean;3581 readonly isResourceNotPending: boolean;3582 readonly isNoAvailableResourceId: boolean;3583 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3584 }35853586 /** @name PalletRmrkEquipError (431) */3587 interface PalletRmrkEquipError extends Enum {3588 readonly isPermissionError: boolean;3589 readonly isNoAvailableBaseId: boolean;3590 readonly isNoAvailablePartId: boolean;3591 readonly isBaseDoesntExist: boolean;3592 readonly isNeedsDefaultThemeFirst: boolean;3593 readonly isPartDoesntExist: boolean;3594 readonly isNoEquippableOnFixedPart: boolean;3595 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3596 }35973598 /** @name PalletAppPromotionError (437) */3599 interface PalletAppPromotionError extends Enum {3600 readonly isAdminNotSet: boolean;3601 readonly isNoPermission: boolean;3602 readonly isNotSufficientFunds: boolean;3603 readonly isPendingForBlockOverflow: boolean;3604 readonly isSponsorNotSet: boolean;3605 readonly isIncorrectLockedBalanceOperation: boolean;3606 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3607 }36083609 /** @name PalletForeignAssetsModuleError (438) */3610 interface PalletForeignAssetsModuleError extends Enum {3611 readonly isBadLocation: boolean;3612 readonly isMultiLocationExisted: boolean;3613 readonly isAssetIdNotExists: boolean;3614 readonly isAssetIdExisted: boolean;3615 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3616 }36173618 /** @name PalletEvmError (440) */3619 interface PalletEvmError extends Enum {3620 readonly isBalanceLow: boolean;3621 readonly isFeeOverflow: boolean;3622 readonly isPaymentOverflow: boolean;3623 readonly isWithdrawFailed: boolean;3624 readonly isGasPriceTooLow: boolean;3625 readonly isInvalidNonce: boolean;3626 readonly isGasLimitTooLow: boolean;3627 readonly isGasLimitTooHigh: boolean;3628 readonly isUndefined: boolean;3629 readonly isReentrancy: boolean;3630 readonly isTransactionMustComeFromEOA: boolean;3631 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';3632 }36333634 /** @name FpRpcTransactionStatus (443) */3635 interface FpRpcTransactionStatus extends Struct {3636 readonly transactionHash: H256;3637 readonly transactionIndex: u32;3638 readonly from: H160;3639 readonly to: Option<H160>;3640 readonly contractAddress: Option<H160>;3641 readonly logs: Vec<EthereumLog>;3642 readonly logsBloom: EthbloomBloom;3643 }36443645 /** @name EthbloomBloom (445) */3646 interface EthbloomBloom extends U8aFixed {}36473648 /** @name EthereumReceiptReceiptV3 (447) */3649 interface EthereumReceiptReceiptV3 extends Enum {3650 readonly isLegacy: boolean;3651 readonly asLegacy: EthereumReceiptEip658ReceiptData;3652 readonly isEip2930: boolean;3653 readonly asEip2930: EthereumReceiptEip658ReceiptData;3654 readonly isEip1559: boolean;3655 readonly asEip1559: EthereumReceiptEip658ReceiptData;3656 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3657 }36583659 /** @name EthereumReceiptEip658ReceiptData (448) */3660 interface EthereumReceiptEip658ReceiptData extends Struct {3661 readonly statusCode: u8;3662 readonly usedGas: U256;3663 readonly logsBloom: EthbloomBloom;3664 readonly logs: Vec<EthereumLog>;3665 }36663667 /** @name EthereumBlock (449) */3668 interface EthereumBlock extends Struct {3669 readonly header: EthereumHeader;3670 readonly transactions: Vec<EthereumTransactionTransactionV2>;3671 readonly ommers: Vec<EthereumHeader>;3672 }36733674 /** @name EthereumHeader (450) */3675 interface EthereumHeader extends Struct {3676 readonly parentHash: H256;3677 readonly ommersHash: H256;3678 readonly beneficiary: H160;3679 readonly stateRoot: H256;3680 readonly transactionsRoot: H256;3681 readonly receiptsRoot: H256;3682 readonly logsBloom: EthbloomBloom;3683 readonly difficulty: U256;3684 readonly number: U256;3685 readonly gasLimit: U256;3686 readonly gasUsed: U256;3687 readonly timestamp: u64;3688 readonly extraData: Bytes;3689 readonly mixHash: H256;3690 readonly nonce: EthereumTypesHashH64;3691 }36923693 /** @name EthereumTypesHashH64 (451) */3694 interface EthereumTypesHashH64 extends U8aFixed {}36953696 /** @name PalletEthereumError (456) */3697 interface PalletEthereumError extends Enum {3698 readonly isInvalidSignature: boolean;3699 readonly isPreLogExists: boolean;3700 readonly type: 'InvalidSignature' | 'PreLogExists';3701 }37023703 /** @name PalletEvmCoderSubstrateError (457) */3704 interface PalletEvmCoderSubstrateError extends Enum {3705 readonly isOutOfGas: boolean;3706 readonly isOutOfFund: boolean;3707 readonly type: 'OutOfGas' | 'OutOfFund';3708 }37093710 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (458) */3711 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3712 readonly isDisabled: boolean;3713 readonly isUnconfirmed: boolean;3714 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3715 readonly isConfirmed: boolean;3716 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3717 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3718 }37193720 /** @name PalletEvmContractHelpersSponsoringModeT (459) */3721 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3722 readonly isDisabled: boolean;3723 readonly isAllowlisted: boolean;3724 readonly isGenerous: boolean;3725 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3726 }37273728 /** @name PalletEvmContractHelpersError (465) */3729 interface PalletEvmContractHelpersError extends Enum {3730 readonly isNoPermission: boolean;3731 readonly isNoPendingSponsor: boolean;3732 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3733 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3734 }37353736 /** @name PalletEvmMigrationError (466) */3737 interface PalletEvmMigrationError extends Enum {3738 readonly isAccountNotEmpty: boolean;3739 readonly isAccountIsNotMigrating: boolean;3740 readonly isBadEvent: boolean;3741 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3742 }37433744 /** @name PalletMaintenanceError (467) */3745 type PalletMaintenanceError = Null;37463747 /** @name PalletTestUtilsError (468) */3748 interface PalletTestUtilsError extends Enum {3749 readonly isTestPalletDisabled: boolean;3750 readonly isTriggerRollback: boolean;3751 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3752 }37533754 /** @name SpRuntimeMultiSignature (470) */3755 interface SpRuntimeMultiSignature extends Enum {3756 readonly isEd25519: boolean;3757 readonly asEd25519: SpCoreEd25519Signature;3758 readonly isSr25519: boolean;3759 readonly asSr25519: SpCoreSr25519Signature;3760 readonly isEcdsa: boolean;3761 readonly asEcdsa: SpCoreEcdsaSignature;3762 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3763 }37643765 /** @name SpCoreEd25519Signature (471) */3766 interface SpCoreEd25519Signature extends U8aFixed {}37673768 /** @name SpCoreSr25519Signature (473) */3769 interface SpCoreSr25519Signature extends U8aFixed {}37703771 /** @name SpCoreEcdsaSignature (474) */3772 interface SpCoreEcdsaSignature extends U8aFixed {}37733774 /** @name FrameSystemExtensionsCheckSpecVersion (477) */3775 type FrameSystemExtensionsCheckSpecVersion = Null;37763777 /** @name FrameSystemExtensionsCheckTxVersion (478) */3778 type FrameSystemExtensionsCheckTxVersion = Null;37793780 /** @name FrameSystemExtensionsCheckGenesis (479) */3781 type FrameSystemExtensionsCheckGenesis = Null;37823783 /** @name FrameSystemExtensionsCheckNonce (482) */3784 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}37853786 /** @name FrameSystemExtensionsCheckWeight (483) */3787 type FrameSystemExtensionsCheckWeight = Null;37883789 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (484) */3790 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;37913792 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (485) */3793 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}37943795 /** @name OpalRuntimeRuntime (486) */3796 type OpalRuntimeRuntime = Null;37973798 /** @name PalletEthereumFakeTransactionFinalizer (487) */3799 type PalletEthereumFakeTransactionFinalizer = Null;38003801} // declare module