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.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';5import type { ITuple } from '@polkadot/types-codec/types';6import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';7import type { Event } from '@polkadot/types/interfaces/system';89/** @name CumulusPalletDmpQueueCall */10export interface CumulusPalletDmpQueueCall extends Enum {11 readonly isServiceOverweight: boolean;12 readonly asServiceOverweight: {13 readonly index: u64;14 readonly weightLimit: u64;15 } & Struct;16 readonly type: 'ServiceOverweight';17}1819/** @name CumulusPalletDmpQueueConfigData */20export interface CumulusPalletDmpQueueConfigData extends Struct {21 readonly maxIndividual: SpWeightsWeightV2Weight;22}2324/** @name CumulusPalletDmpQueueError */25export interface CumulusPalletDmpQueueError extends Enum {26 readonly isUnknown: boolean;27 readonly isOverLimit: boolean;28 readonly type: 'Unknown' | 'OverLimit';29}3031/** @name CumulusPalletDmpQueueEvent */32export interface CumulusPalletDmpQueueEvent extends Enum {33 readonly isInvalidFormat: boolean;34 readonly asInvalidFormat: {35 readonly messageId: U8aFixed;36 } & Struct;37 readonly isUnsupportedVersion: boolean;38 readonly asUnsupportedVersion: {39 readonly messageId: U8aFixed;40 } & Struct;41 readonly isExecutedDownward: boolean;42 readonly asExecutedDownward: {43 readonly messageId: U8aFixed;44 readonly outcome: XcmV2TraitsOutcome;45 } & Struct;46 readonly isWeightExhausted: boolean;47 readonly asWeightExhausted: {48 readonly messageId: U8aFixed;49 readonly remainingWeight: SpWeightsWeightV2Weight;50 readonly requiredWeight: SpWeightsWeightV2Weight;51 } & Struct;52 readonly isOverweightEnqueued: boolean;53 readonly asOverweightEnqueued: {54 readonly messageId: U8aFixed;55 readonly overweightIndex: u64;56 readonly requiredWeight: SpWeightsWeightV2Weight;57 } & Struct;58 readonly isOverweightServiced: boolean;59 readonly asOverweightServiced: {60 readonly overweightIndex: u64;61 readonly weightUsed: SpWeightsWeightV2Weight;62 } & Struct;63 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';64}6566/** @name CumulusPalletDmpQueuePageIndexData */67export interface CumulusPalletDmpQueuePageIndexData extends Struct {68 readonly beginUsed: u32;69 readonly endUsed: u32;70 readonly overweightCount: u64;71}7273/** @name CumulusPalletParachainSystemCall */74export interface CumulusPalletParachainSystemCall extends Enum {75 readonly isSetValidationData: boolean;76 readonly asSetValidationData: {77 readonly data: CumulusPrimitivesParachainInherentParachainInherentData;78 } & Struct;79 readonly isSudoSendUpwardMessage: boolean;80 readonly asSudoSendUpwardMessage: {81 readonly message: Bytes;82 } & Struct;83 readonly isAuthorizeUpgrade: boolean;84 readonly asAuthorizeUpgrade: {85 readonly codeHash: H256;86 } & Struct;87 readonly isEnactAuthorizedUpgrade: boolean;88 readonly asEnactAuthorizedUpgrade: {89 readonly code: Bytes;90 } & Struct;91 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';92}9394/** @name CumulusPalletParachainSystemError */95export interface CumulusPalletParachainSystemError extends Enum {96 readonly isOverlappingUpgrades: boolean;97 readonly isProhibitedByPolkadot: boolean;98 readonly isTooBig: boolean;99 readonly isValidationDataNotAvailable: boolean;100 readonly isHostConfigurationNotAvailable: boolean;101 readonly isNotScheduled: boolean;102 readonly isNothingAuthorized: boolean;103 readonly isUnauthorized: boolean;104 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';105}106107/** @name CumulusPalletParachainSystemEvent */108export interface CumulusPalletParachainSystemEvent extends Enum {109 readonly isValidationFunctionStored: boolean;110 readonly isValidationFunctionApplied: boolean;111 readonly asValidationFunctionApplied: {112 readonly relayChainBlockNum: u32;113 } & Struct;114 readonly isValidationFunctionDiscarded: boolean;115 readonly isUpgradeAuthorized: boolean;116 readonly asUpgradeAuthorized: {117 readonly codeHash: H256;118 } & Struct;119 readonly isDownwardMessagesReceived: boolean;120 readonly asDownwardMessagesReceived: {121 readonly count: u32;122 } & Struct;123 readonly isDownwardMessagesProcessed: boolean;124 readonly asDownwardMessagesProcessed: {125 readonly weightUsed: SpWeightsWeightV2Weight;126 readonly dmqHead: H256;127 } & Struct;128 readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'UpgradeAuthorized' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed';129}130131/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot */132export interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {133 readonly dmqMqcHead: H256;134 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;135 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;136 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;137}138139/** @name CumulusPalletXcmCall */140export interface CumulusPalletXcmCall extends Null {}141142/** @name CumulusPalletXcmError */143export interface CumulusPalletXcmError extends Null {}144145/** @name CumulusPalletXcmEvent */146export interface CumulusPalletXcmEvent extends Enum {147 readonly isInvalidFormat: boolean;148 readonly asInvalidFormat: U8aFixed;149 readonly isUnsupportedVersion: boolean;150 readonly asUnsupportedVersion: U8aFixed;151 readonly isExecutedDownward: boolean;152 readonly asExecutedDownward: ITuple<[U8aFixed, XcmV2TraitsOutcome]>;153 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';154}155156/** @name CumulusPalletXcmpQueueCall */157export interface CumulusPalletXcmpQueueCall extends Enum {158 readonly isServiceOverweight: boolean;159 readonly asServiceOverweight: {160 readonly index: u64;161 readonly weightLimit: u64;162 } & Struct;163 readonly isSuspendXcmExecution: boolean;164 readonly isResumeXcmExecution: boolean;165 readonly isUpdateSuspendThreshold: boolean;166 readonly asUpdateSuspendThreshold: {167 readonly new_: u32;168 } & Struct;169 readonly isUpdateDropThreshold: boolean;170 readonly asUpdateDropThreshold: {171 readonly new_: u32;172 } & Struct;173 readonly isUpdateResumeThreshold: boolean;174 readonly asUpdateResumeThreshold: {175 readonly new_: u32;176 } & Struct;177 readonly isUpdateThresholdWeight: boolean;178 readonly asUpdateThresholdWeight: {179 readonly new_: u64;180 } & Struct;181 readonly isUpdateWeightRestrictDecay: boolean;182 readonly asUpdateWeightRestrictDecay: {183 readonly new_: u64;184 } & Struct;185 readonly isUpdateXcmpMaxIndividualWeight: boolean;186 readonly asUpdateXcmpMaxIndividualWeight: {187 readonly new_: u64;188 } & Struct;189 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';190}191192/** @name CumulusPalletXcmpQueueError */193export interface CumulusPalletXcmpQueueError extends Enum {194 readonly isFailedToSend: boolean;195 readonly isBadXcmOrigin: boolean;196 readonly isBadXcm: boolean;197 readonly isBadOverweightIndex: boolean;198 readonly isWeightOverLimit: boolean;199 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';200}201202/** @name CumulusPalletXcmpQueueEvent */203export interface CumulusPalletXcmpQueueEvent extends Enum {204 readonly isSuccess: boolean;205 readonly asSuccess: {206 readonly messageHash: Option<H256>;207 readonly weight: SpWeightsWeightV2Weight;208 } & Struct;209 readonly isFail: boolean;210 readonly asFail: {211 readonly messageHash: Option<H256>;212 readonly error: XcmV2TraitsError;213 readonly weight: SpWeightsWeightV2Weight;214 } & Struct;215 readonly isBadVersion: boolean;216 readonly asBadVersion: {217 readonly messageHash: Option<H256>;218 } & Struct;219 readonly isBadFormat: boolean;220 readonly asBadFormat: {221 readonly messageHash: Option<H256>;222 } & Struct;223 readonly isUpwardMessageSent: boolean;224 readonly asUpwardMessageSent: {225 readonly messageHash: Option<H256>;226 } & Struct;227 readonly isXcmpMessageSent: boolean;228 readonly asXcmpMessageSent: {229 readonly messageHash: Option<H256>;230 } & Struct;231 readonly isOverweightEnqueued: boolean;232 readonly asOverweightEnqueued: {233 readonly sender: u32;234 readonly sentAt: u32;235 readonly index: u64;236 readonly required: SpWeightsWeightV2Weight;237 } & Struct;238 readonly isOverweightServiced: boolean;239 readonly asOverweightServiced: {240 readonly index: u64;241 readonly used: SpWeightsWeightV2Weight;242 } & Struct;243 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';244}245246/** @name CumulusPalletXcmpQueueInboundChannelDetails */247export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {248 readonly sender: u32;249 readonly state: CumulusPalletXcmpQueueInboundState;250 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;251}252253/** @name CumulusPalletXcmpQueueInboundState */254export interface CumulusPalletXcmpQueueInboundState extends Enum {255 readonly isOk: boolean;256 readonly isSuspended: boolean;257 readonly type: 'Ok' | 'Suspended';258}259260/** @name CumulusPalletXcmpQueueOutboundChannelDetails */261export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {262 readonly recipient: u32;263 readonly state: CumulusPalletXcmpQueueOutboundState;264 readonly signalsExist: bool;265 readonly firstIndex: u16;266 readonly lastIndex: u16;267}268269/** @name CumulusPalletXcmpQueueOutboundState */270export interface CumulusPalletXcmpQueueOutboundState extends Enum {271 readonly isOk: boolean;272 readonly isSuspended: boolean;273 readonly type: 'Ok' | 'Suspended';274}275276/** @name CumulusPalletXcmpQueueQueueConfigData */277export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {278 readonly suspendThreshold: u32;279 readonly dropThreshold: u32;280 readonly resumeThreshold: u32;281 readonly thresholdWeight: SpWeightsWeightV2Weight;282 readonly weightRestrictDecay: SpWeightsWeightV2Weight;283 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;284}285286/** @name CumulusPrimitivesParachainInherentParachainInherentData */287export interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {288 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;289 readonly relayChainState: SpTrieStorageProof;290 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;291 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;292}293294/** @name EthbloomBloom */295export interface EthbloomBloom extends U8aFixed {}296297/** @name EthereumBlock */298export interface EthereumBlock extends Struct {299 readonly header: EthereumHeader;300 readonly transactions: Vec<EthereumTransactionTransactionV2>;301 readonly ommers: Vec<EthereumHeader>;302}303304/** @name EthereumHeader */305export interface EthereumHeader extends Struct {306 readonly parentHash: H256;307 readonly ommersHash: H256;308 readonly beneficiary: H160;309 readonly stateRoot: H256;310 readonly transactionsRoot: H256;311 readonly receiptsRoot: H256;312 readonly logsBloom: EthbloomBloom;313 readonly difficulty: U256;314 readonly number: U256;315 readonly gasLimit: U256;316 readonly gasUsed: U256;317 readonly timestamp: u64;318 readonly extraData: Bytes;319 readonly mixHash: H256;320 readonly nonce: EthereumTypesHashH64;321}322323/** @name EthereumLog */324export interface EthereumLog extends Struct {325 readonly address: H160;326 readonly topics: Vec<H256>;327 readonly data: Bytes;328}329330/** @name EthereumReceiptEip658ReceiptData */331export interface EthereumReceiptEip658ReceiptData extends Struct {332 readonly statusCode: u8;333 readonly usedGas: U256;334 readonly logsBloom: EthbloomBloom;335 readonly logs: Vec<EthereumLog>;336}337338/** @name EthereumReceiptReceiptV3 */339export interface EthereumReceiptReceiptV3 extends Enum {340 readonly isLegacy: boolean;341 readonly asLegacy: EthereumReceiptEip658ReceiptData;342 readonly isEip2930: boolean;343 readonly asEip2930: EthereumReceiptEip658ReceiptData;344 readonly isEip1559: boolean;345 readonly asEip1559: EthereumReceiptEip658ReceiptData;346 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';347}348349/** @name EthereumTransactionAccessListItem */350export interface EthereumTransactionAccessListItem extends Struct {351 readonly address: H160;352 readonly storageKeys: Vec<H256>;353}354355/** @name EthereumTransactionEip1559Transaction */356export interface EthereumTransactionEip1559Transaction extends Struct {357 readonly chainId: u64;358 readonly nonce: U256;359 readonly maxPriorityFeePerGas: U256;360 readonly maxFeePerGas: U256;361 readonly gasLimit: U256;362 readonly action: EthereumTransactionTransactionAction;363 readonly value: U256;364 readonly input: Bytes;365 readonly accessList: Vec<EthereumTransactionAccessListItem>;366 readonly oddYParity: bool;367 readonly r: H256;368 readonly s: H256;369}370371/** @name EthereumTransactionEip2930Transaction */372export interface EthereumTransactionEip2930Transaction extends Struct {373 readonly chainId: u64;374 readonly nonce: U256;375 readonly gasPrice: U256;376 readonly gasLimit: U256;377 readonly action: EthereumTransactionTransactionAction;378 readonly value: U256;379 readonly input: Bytes;380 readonly accessList: Vec<EthereumTransactionAccessListItem>;381 readonly oddYParity: bool;382 readonly r: H256;383 readonly s: H256;384}385386/** @name EthereumTransactionLegacyTransaction */387export interface EthereumTransactionLegacyTransaction extends Struct {388 readonly nonce: U256;389 readonly gasPrice: U256;390 readonly gasLimit: U256;391 readonly action: EthereumTransactionTransactionAction;392 readonly value: U256;393 readonly input: Bytes;394 readonly signature: EthereumTransactionTransactionSignature;395}396397/** @name EthereumTransactionTransactionAction */398export interface EthereumTransactionTransactionAction extends Enum {399 readonly isCall: boolean;400 readonly asCall: H160;401 readonly isCreate: boolean;402 readonly type: 'Call' | 'Create';403}404405/** @name EthereumTransactionTransactionSignature */406export interface EthereumTransactionTransactionSignature extends Struct {407 readonly v: u64;408 readonly r: H256;409 readonly s: H256;410}411412/** @name EthereumTransactionTransactionV2 */413export interface EthereumTransactionTransactionV2 extends Enum {414 readonly isLegacy: boolean;415 readonly asLegacy: EthereumTransactionLegacyTransaction;416 readonly isEip2930: boolean;417 readonly asEip2930: EthereumTransactionEip2930Transaction;418 readonly isEip1559: boolean;419 readonly asEip1559: EthereumTransactionEip1559Transaction;420 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';421}422423/** @name EthereumTypesHashH64 */424export interface EthereumTypesHashH64 extends U8aFixed {}425426/** @name EvmCoreErrorExitError */427export interface EvmCoreErrorExitError extends Enum {428 readonly isStackUnderflow: boolean;429 readonly isStackOverflow: boolean;430 readonly isInvalidJump: boolean;431 readonly isInvalidRange: boolean;432 readonly isDesignatedInvalid: boolean;433 readonly isCallTooDeep: boolean;434 readonly isCreateCollision: boolean;435 readonly isCreateContractLimit: boolean;436 readonly isOutOfOffset: boolean;437 readonly isOutOfGas: boolean;438 readonly isOutOfFund: boolean;439 readonly isPcUnderflow: boolean;440 readonly isCreateEmpty: boolean;441 readonly isOther: boolean;442 readonly asOther: Text;443 readonly isInvalidCode: boolean;444 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';445}446447/** @name EvmCoreErrorExitFatal */448export interface EvmCoreErrorExitFatal extends Enum {449 readonly isNotSupported: boolean;450 readonly isUnhandledInterrupt: boolean;451 readonly isCallErrorAsFatal: boolean;452 readonly asCallErrorAsFatal: EvmCoreErrorExitError;453 readonly isOther: boolean;454 readonly asOther: Text;455 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';456}457458/** @name EvmCoreErrorExitReason */459export interface EvmCoreErrorExitReason extends Enum {460 readonly isSucceed: boolean;461 readonly asSucceed: EvmCoreErrorExitSucceed;462 readonly isError: boolean;463 readonly asError: EvmCoreErrorExitError;464 readonly isRevert: boolean;465 readonly asRevert: EvmCoreErrorExitRevert;466 readonly isFatal: boolean;467 readonly asFatal: EvmCoreErrorExitFatal;468 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';469}470471/** @name EvmCoreErrorExitRevert */472export interface EvmCoreErrorExitRevert extends Enum {473 readonly isReverted: boolean;474 readonly type: 'Reverted';475}476477/** @name EvmCoreErrorExitSucceed */478export interface EvmCoreErrorExitSucceed extends Enum {479 readonly isStopped: boolean;480 readonly isReturned: boolean;481 readonly isSuicided: boolean;482 readonly type: 'Stopped' | 'Returned' | 'Suicided';483}484485/** @name FpRpcTransactionStatus */486export interface FpRpcTransactionStatus extends Struct {487 readonly transactionHash: H256;488 readonly transactionIndex: u32;489 readonly from: H160;490 readonly to: Option<H160>;491 readonly contractAddress: Option<H160>;492 readonly logs: Vec<EthereumLog>;493 readonly logsBloom: EthbloomBloom;494}495496/** @name FrameSupportDispatchDispatchClass */497export interface FrameSupportDispatchDispatchClass extends Enum {498 readonly isNormal: boolean;499 readonly isOperational: boolean;500 readonly isMandatory: boolean;501 readonly type: 'Normal' | 'Operational' | 'Mandatory';502}503504/** @name FrameSupportDispatchDispatchInfo */505export interface FrameSupportDispatchDispatchInfo extends Struct {506 readonly weight: SpWeightsWeightV2Weight;507 readonly class: FrameSupportDispatchDispatchClass;508 readonly paysFee: FrameSupportDispatchPays;509}510511/** @name FrameSupportDispatchPays */512export interface FrameSupportDispatchPays extends Enum {513 readonly isYes: boolean;514 readonly isNo: boolean;515 readonly type: 'Yes' | 'No';516}517518/** @name FrameSupportDispatchPerDispatchClassU32 */519export interface FrameSupportDispatchPerDispatchClassU32 extends Struct {520 readonly normal: u32;521 readonly operational: u32;522 readonly mandatory: u32;523}524525/** @name FrameSupportDispatchPerDispatchClassWeight */526export interface FrameSupportDispatchPerDispatchClassWeight extends Struct {527 readonly normal: SpWeightsWeightV2Weight;528 readonly operational: SpWeightsWeightV2Weight;529 readonly mandatory: SpWeightsWeightV2Weight;530}531532/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass */533export interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {534 readonly normal: FrameSystemLimitsWeightsPerClass;535 readonly operational: FrameSystemLimitsWeightsPerClass;536 readonly mandatory: FrameSystemLimitsWeightsPerClass;537}538539/** @name FrameSupportPalletId */540export interface FrameSupportPalletId extends U8aFixed {}541542/** @name FrameSupportTokensMiscBalanceStatus */543export interface FrameSupportTokensMiscBalanceStatus extends Enum {544 readonly isFree: boolean;545 readonly isReserved: boolean;546 readonly type: 'Free' | 'Reserved';547}548549/** @name FrameSystemAccountInfo */550export interface FrameSystemAccountInfo extends Struct {551 readonly nonce: u32;552 readonly consumers: u32;553 readonly providers: u32;554 readonly sufficients: u32;555 readonly data: PalletBalancesAccountData;556}557558/** @name FrameSystemCall */559export interface FrameSystemCall extends Enum {560 readonly isFillBlock: boolean;561 readonly asFillBlock: {562 readonly ratio: Perbill;563 } & Struct;564 readonly isRemark: boolean;565 readonly asRemark: {566 readonly remark: Bytes;567 } & Struct;568 readonly isSetHeapPages: boolean;569 readonly asSetHeapPages: {570 readonly pages: u64;571 } & Struct;572 readonly isSetCode: boolean;573 readonly asSetCode: {574 readonly code: Bytes;575 } & Struct;576 readonly isSetCodeWithoutChecks: boolean;577 readonly asSetCodeWithoutChecks: {578 readonly code: Bytes;579 } & Struct;580 readonly isSetStorage: boolean;581 readonly asSetStorage: {582 readonly items: Vec<ITuple<[Bytes, Bytes]>>;583 } & Struct;584 readonly isKillStorage: boolean;585 readonly asKillStorage: {586 readonly keys_: Vec<Bytes>;587 } & Struct;588 readonly isKillPrefix: boolean;589 readonly asKillPrefix: {590 readonly prefix: Bytes;591 readonly subkeys: u32;592 } & Struct;593 readonly isRemarkWithEvent: boolean;594 readonly asRemarkWithEvent: {595 readonly remark: Bytes;596 } & Struct;597 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';598}599600/** @name FrameSystemError */601export interface FrameSystemError extends Enum {602 readonly isInvalidSpecName: boolean;603 readonly isSpecVersionNeedsToIncrease: boolean;604 readonly isFailedToExtractRuntimeVersion: boolean;605 readonly isNonDefaultComposite: boolean;606 readonly isNonZeroRefCount: boolean;607 readonly isCallFiltered: boolean;608 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';609}610611/** @name FrameSystemEvent */612export interface FrameSystemEvent extends Enum {613 readonly isExtrinsicSuccess: boolean;614 readonly asExtrinsicSuccess: {615 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;616 } & Struct;617 readonly isExtrinsicFailed: boolean;618 readonly asExtrinsicFailed: {619 readonly dispatchError: SpRuntimeDispatchError;620 readonly dispatchInfo: FrameSupportDispatchDispatchInfo;621 } & Struct;622 readonly isCodeUpdated: boolean;623 readonly isNewAccount: boolean;624 readonly asNewAccount: {625 readonly account: AccountId32;626 } & Struct;627 readonly isKilledAccount: boolean;628 readonly asKilledAccount: {629 readonly account: AccountId32;630 } & Struct;631 readonly isRemarked: boolean;632 readonly asRemarked: {633 readonly sender: AccountId32;634 readonly hash_: H256;635 } & Struct;636 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';637}638639/** @name FrameSystemEventRecord */640export interface FrameSystemEventRecord extends Struct {641 readonly phase: FrameSystemPhase;642 readonly event: Event;643 readonly topics: Vec<H256>;644}645646/** @name FrameSystemExtensionsCheckGenesis */647export interface FrameSystemExtensionsCheckGenesis extends Null {}648649/** @name FrameSystemExtensionsCheckNonce */650export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}651652/** @name FrameSystemExtensionsCheckSpecVersion */653export interface FrameSystemExtensionsCheckSpecVersion extends Null {}654655/** @name FrameSystemExtensionsCheckTxVersion */656export interface FrameSystemExtensionsCheckTxVersion extends Null {}657658/** @name FrameSystemExtensionsCheckWeight */659export interface FrameSystemExtensionsCheckWeight extends Null {}660661/** @name FrameSystemLastRuntimeUpgradeInfo */662export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {663 readonly specVersion: Compact<u32>;664 readonly specName: Text;665}666667/** @name FrameSystemLimitsBlockLength */668export interface FrameSystemLimitsBlockLength extends Struct {669 readonly max: FrameSupportDispatchPerDispatchClassU32;670}671672/** @name FrameSystemLimitsBlockWeights */673export interface FrameSystemLimitsBlockWeights extends Struct {674 readonly baseBlock: SpWeightsWeightV2Weight;675 readonly maxBlock: SpWeightsWeightV2Weight;676 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;677}678679/** @name FrameSystemLimitsWeightsPerClass */680export interface FrameSystemLimitsWeightsPerClass extends Struct {681 readonly baseExtrinsic: SpWeightsWeightV2Weight;682 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;683 readonly maxTotal: Option<SpWeightsWeightV2Weight>;684 readonly reserved: Option<SpWeightsWeightV2Weight>;685}686687/** @name FrameSystemPhase */688export interface FrameSystemPhase extends Enum {689 readonly isApplyExtrinsic: boolean;690 readonly asApplyExtrinsic: u32;691 readonly isFinalization: boolean;692 readonly isInitialization: boolean;693 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';694}695696/** @name OpalRuntimeRuntime */697export interface OpalRuntimeRuntime extends Null {}698699/** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance */700export interface OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance extends Null {}701702/** @name OrmlTokensAccountData */703export interface OrmlTokensAccountData extends Struct {704 readonly free: u128;705 readonly reserved: u128;706 readonly frozen: u128;707}708709/** @name OrmlTokensBalanceLock */710export interface OrmlTokensBalanceLock extends Struct {711 readonly id: U8aFixed;712 readonly amount: u128;713}714715/** @name OrmlTokensModuleCall */716export interface OrmlTokensModuleCall extends Enum {717 readonly isTransfer: boolean;718 readonly asTransfer: {719 readonly dest: MultiAddress;720 readonly currencyId: PalletForeignAssetsAssetIds;721 readonly amount: Compact<u128>;722 } & Struct;723 readonly isTransferAll: boolean;724 readonly asTransferAll: {725 readonly dest: MultiAddress;726 readonly currencyId: PalletForeignAssetsAssetIds;727 readonly keepAlive: bool;728 } & Struct;729 readonly isTransferKeepAlive: boolean;730 readonly asTransferKeepAlive: {731 readonly dest: MultiAddress;732 readonly currencyId: PalletForeignAssetsAssetIds;733 readonly amount: Compact<u128>;734 } & Struct;735 readonly isForceTransfer: boolean;736 readonly asForceTransfer: {737 readonly source: MultiAddress;738 readonly dest: MultiAddress;739 readonly currencyId: PalletForeignAssetsAssetIds;740 readonly amount: Compact<u128>;741 } & Struct;742 readonly isSetBalance: boolean;743 readonly asSetBalance: {744 readonly who: MultiAddress;745 readonly currencyId: PalletForeignAssetsAssetIds;746 readonly newFree: Compact<u128>;747 readonly newReserved: Compact<u128>;748 } & Struct;749 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';750}751752/** @name OrmlTokensModuleError */753export interface OrmlTokensModuleError extends Enum {754 readonly isBalanceTooLow: boolean;755 readonly isAmountIntoBalanceFailed: boolean;756 readonly isLiquidityRestrictions: boolean;757 readonly isMaxLocksExceeded: boolean;758 readonly isKeepAlive: boolean;759 readonly isExistentialDeposit: boolean;760 readonly isDeadAccount: boolean;761 readonly isTooManyReserves: boolean;762 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';763}764765/** @name OrmlTokensModuleEvent */766export interface OrmlTokensModuleEvent extends Enum {767 readonly isEndowed: boolean;768 readonly asEndowed: {769 readonly currencyId: PalletForeignAssetsAssetIds;770 readonly who: AccountId32;771 readonly amount: u128;772 } & Struct;773 readonly isDustLost: boolean;774 readonly asDustLost: {775 readonly currencyId: PalletForeignAssetsAssetIds;776 readonly who: AccountId32;777 readonly amount: u128;778 } & Struct;779 readonly isTransfer: boolean;780 readonly asTransfer: {781 readonly currencyId: PalletForeignAssetsAssetIds;782 readonly from: AccountId32;783 readonly to: AccountId32;784 readonly amount: u128;785 } & Struct;786 readonly isReserved: boolean;787 readonly asReserved: {788 readonly currencyId: PalletForeignAssetsAssetIds;789 readonly who: AccountId32;790 readonly amount: u128;791 } & Struct;792 readonly isUnreserved: boolean;793 readonly asUnreserved: {794 readonly currencyId: PalletForeignAssetsAssetIds;795 readonly who: AccountId32;796 readonly amount: u128;797 } & Struct;798 readonly isReserveRepatriated: boolean;799 readonly asReserveRepatriated: {800 readonly currencyId: PalletForeignAssetsAssetIds;801 readonly from: AccountId32;802 readonly to: AccountId32;803 readonly amount: u128;804 readonly status: FrameSupportTokensMiscBalanceStatus;805 } & Struct;806 readonly isBalanceSet: boolean;807 readonly asBalanceSet: {808 readonly currencyId: PalletForeignAssetsAssetIds;809 readonly who: AccountId32;810 readonly free: u128;811 readonly reserved: u128;812 } & Struct;813 readonly isTotalIssuanceSet: boolean;814 readonly asTotalIssuanceSet: {815 readonly currencyId: PalletForeignAssetsAssetIds;816 readonly amount: u128;817 } & Struct;818 readonly isWithdrawn: boolean;819 readonly asWithdrawn: {820 readonly currencyId: PalletForeignAssetsAssetIds;821 readonly who: AccountId32;822 readonly amount: u128;823 } & Struct;824 readonly isSlashed: boolean;825 readonly asSlashed: {826 readonly currencyId: PalletForeignAssetsAssetIds;827 readonly who: AccountId32;828 readonly freeAmount: u128;829 readonly reservedAmount: u128;830 } & Struct;831 readonly isDeposited: boolean;832 readonly asDeposited: {833 readonly currencyId: PalletForeignAssetsAssetIds;834 readonly who: AccountId32;835 readonly amount: u128;836 } & Struct;837 readonly isLockSet: boolean;838 readonly asLockSet: {839 readonly lockId: U8aFixed;840 readonly currencyId: PalletForeignAssetsAssetIds;841 readonly who: AccountId32;842 readonly amount: u128;843 } & Struct;844 readonly isLockRemoved: boolean;845 readonly asLockRemoved: {846 readonly lockId: U8aFixed;847 readonly currencyId: PalletForeignAssetsAssetIds;848 readonly who: AccountId32;849 } & Struct;850 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'BalanceSet' | 'TotalIssuanceSet' | 'Withdrawn' | 'Slashed' | 'Deposited' | 'LockSet' | 'LockRemoved';851}852853/** @name OrmlTokensReserveData */854export interface OrmlTokensReserveData extends Struct {855 readonly id: Null;856 readonly amount: u128;857}858859/** @name OrmlVestingModuleCall */860export interface OrmlVestingModuleCall extends Enum {861 readonly isClaim: boolean;862 readonly isVestedTransfer: boolean;863 readonly asVestedTransfer: {864 readonly dest: MultiAddress;865 readonly schedule: OrmlVestingVestingSchedule;866 } & Struct;867 readonly isUpdateVestingSchedules: boolean;868 readonly asUpdateVestingSchedules: {869 readonly who: MultiAddress;870 readonly vestingSchedules: Vec<OrmlVestingVestingSchedule>;871 } & Struct;872 readonly isClaimFor: boolean;873 readonly asClaimFor: {874 readonly dest: MultiAddress;875 } & Struct;876 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';877}878879/** @name OrmlVestingModuleError */880export interface OrmlVestingModuleError extends Enum {881 readonly isZeroVestingPeriod: boolean;882 readonly isZeroVestingPeriodCount: boolean;883 readonly isInsufficientBalanceToLock: boolean;884 readonly isTooManyVestingSchedules: boolean;885 readonly isAmountLow: boolean;886 readonly isMaxVestingSchedulesExceeded: boolean;887 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';888}889890/** @name OrmlVestingModuleEvent */891export interface OrmlVestingModuleEvent extends Enum {892 readonly isVestingScheduleAdded: boolean;893 readonly asVestingScheduleAdded: {894 readonly from: AccountId32;895 readonly to: AccountId32;896 readonly vestingSchedule: OrmlVestingVestingSchedule;897 } & Struct;898 readonly isClaimed: boolean;899 readonly asClaimed: {900 readonly who: AccountId32;901 readonly amount: u128;902 } & Struct;903 readonly isVestingSchedulesUpdated: boolean;904 readonly asVestingSchedulesUpdated: {905 readonly who: AccountId32;906 } & Struct;907 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';908}909910/** @name OrmlVestingVestingSchedule */911export interface OrmlVestingVestingSchedule extends Struct {912 readonly start: u32;913 readonly period: u32;914 readonly periodCount: u32;915 readonly perPeriod: Compact<u128>;916}917918/** @name OrmlXtokensModuleCall */919export interface OrmlXtokensModuleCall extends Enum {920 readonly isTransfer: boolean;921 readonly asTransfer: {922 readonly currencyId: PalletForeignAssetsAssetIds;923 readonly amount: u128;924 readonly dest: XcmVersionedMultiLocation;925 readonly destWeightLimit: XcmV2WeightLimit;926 } & Struct;927 readonly isTransferMultiasset: boolean;928 readonly asTransferMultiasset: {929 readonly asset: XcmVersionedMultiAsset;930 readonly dest: XcmVersionedMultiLocation;931 readonly destWeightLimit: XcmV2WeightLimit;932 } & Struct;933 readonly isTransferWithFee: boolean;934 readonly asTransferWithFee: {935 readonly currencyId: PalletForeignAssetsAssetIds;936 readonly amount: u128;937 readonly fee: u128;938 readonly dest: XcmVersionedMultiLocation;939 readonly destWeightLimit: XcmV2WeightLimit;940 } & Struct;941 readonly isTransferMultiassetWithFee: boolean;942 readonly asTransferMultiassetWithFee: {943 readonly asset: XcmVersionedMultiAsset;944 readonly fee: XcmVersionedMultiAsset;945 readonly dest: XcmVersionedMultiLocation;946 readonly destWeightLimit: XcmV2WeightLimit;947 } & Struct;948 readonly isTransferMulticurrencies: boolean;949 readonly asTransferMulticurrencies: {950 readonly currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>;951 readonly feeItem: u32;952 readonly dest: XcmVersionedMultiLocation;953 readonly destWeightLimit: XcmV2WeightLimit;954 } & Struct;955 readonly isTransferMultiassets: boolean;956 readonly asTransferMultiassets: {957 readonly assets: XcmVersionedMultiAssets;958 readonly feeItem: u32;959 readonly dest: XcmVersionedMultiLocation;960 readonly destWeightLimit: XcmV2WeightLimit;961 } & Struct;962 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';963}964965/** @name OrmlXtokensModuleError */966export interface OrmlXtokensModuleError extends Enum {967 readonly isAssetHasNoReserve: boolean;968 readonly isNotCrossChainTransfer: boolean;969 readonly isInvalidDest: boolean;970 readonly isNotCrossChainTransferableCurrency: boolean;971 readonly isUnweighableMessage: boolean;972 readonly isXcmExecutionFailed: boolean;973 readonly isCannotReanchor: boolean;974 readonly isInvalidAncestry: boolean;975 readonly isInvalidAsset: boolean;976 readonly isDestinationNotInvertible: boolean;977 readonly isBadVersion: boolean;978 readonly isDistinctReserveForAssetAndFee: boolean;979 readonly isZeroFee: boolean;980 readonly isZeroAmount: boolean;981 readonly isTooManyAssetsBeingSent: boolean;982 readonly isAssetIndexNonExistent: boolean;983 readonly isFeeNotEnough: boolean;984 readonly isNotSupportedMultiLocation: boolean;985 readonly isMinXcmFeeNotDefined: boolean;986 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';987}988989/** @name OrmlXtokensModuleEvent */990export interface OrmlXtokensModuleEvent extends Enum {991 readonly isTransferredMultiAssets: boolean;992 readonly asTransferredMultiAssets: {993 readonly sender: AccountId32;994 readonly assets: XcmV1MultiassetMultiAssets;995 readonly fee: XcmV1MultiAsset;996 readonly dest: XcmV1MultiLocation;997 } & Struct;998 readonly type: 'TransferredMultiAssets';999}10001001/** @name PalletAppPromotionCall */1002export interface PalletAppPromotionCall extends Enum {1003 readonly isSetAdminAddress: boolean;1004 readonly asSetAdminAddress: {1005 readonly admin: PalletEvmAccountBasicCrossAccountIdRepr;1006 } & Struct;1007 readonly isStake: boolean;1008 readonly asStake: {1009 readonly amount: u128;1010 } & Struct;1011 readonly isUnstake: boolean;1012 readonly isSponsorCollection: boolean;1013 readonly asSponsorCollection: {1014 readonly collectionId: u32;1015 } & Struct;1016 readonly isStopSponsoringCollection: boolean;1017 readonly asStopSponsoringCollection: {1018 readonly collectionId: u32;1019 } & Struct;1020 readonly isSponsorContract: boolean;1021 readonly asSponsorContract: {1022 readonly contractId: H160;1023 } & Struct;1024 readonly isStopSponsoringContract: boolean;1025 readonly asStopSponsoringContract: {1026 readonly contractId: H160;1027 } & Struct;1028 readonly isPayoutStakers: boolean;1029 readonly asPayoutStakers: {1030 readonly stakersNumber: Option<u8>;1031 } & Struct;1032 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';1033}10341035/** @name PalletAppPromotionError */1036export interface PalletAppPromotionError extends Enum {1037 readonly isAdminNotSet: boolean;1038 readonly isNoPermission: boolean;1039 readonly isNotSufficientFunds: boolean;1040 readonly isPendingForBlockOverflow: boolean;1041 readonly isSponsorNotSet: boolean;1042 readonly isIncorrectLockedBalanceOperation: boolean;1043 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';1044}10451046/** @name PalletAppPromotionEvent */1047export interface PalletAppPromotionEvent extends Enum {1048 readonly isStakingRecalculation: boolean;1049 readonly asStakingRecalculation: ITuple<[AccountId32, u128, u128]>;1050 readonly isStake: boolean;1051 readonly asStake: ITuple<[AccountId32, u128]>;1052 readonly isUnstake: boolean;1053 readonly asUnstake: ITuple<[AccountId32, u128]>;1054 readonly isSetAdmin: boolean;1055 readonly asSetAdmin: AccountId32;1056 readonly type: 'StakingRecalculation' | 'Stake' | 'Unstake' | 'SetAdmin';1057}10581059/** @name PalletBalancesAccountData */1060export interface PalletBalancesAccountData extends Struct {1061 readonly free: u128;1062 readonly reserved: u128;1063 readonly miscFrozen: u128;1064 readonly feeFrozen: u128;1065}10661067/** @name PalletBalancesBalanceLock */1068export interface PalletBalancesBalanceLock extends Struct {1069 readonly id: U8aFixed;1070 readonly amount: u128;1071 readonly reasons: PalletBalancesReasons;1072}10731074/** @name PalletBalancesCall */1075export interface PalletBalancesCall extends Enum {1076 readonly isTransfer: boolean;1077 readonly asTransfer: {1078 readonly dest: MultiAddress;1079 readonly value: Compact<u128>;1080 } & Struct;1081 readonly isSetBalance: boolean;1082 readonly asSetBalance: {1083 readonly who: MultiAddress;1084 readonly newFree: Compact<u128>;1085 readonly newReserved: Compact<u128>;1086 } & Struct;1087 readonly isForceTransfer: boolean;1088 readonly asForceTransfer: {1089 readonly source: MultiAddress;1090 readonly dest: MultiAddress;1091 readonly value: Compact<u128>;1092 } & Struct;1093 readonly isTransferKeepAlive: boolean;1094 readonly asTransferKeepAlive: {1095 readonly dest: MultiAddress;1096 readonly value: Compact<u128>;1097 } & Struct;1098 readonly isTransferAll: boolean;1099 readonly asTransferAll: {1100 readonly dest: MultiAddress;1101 readonly keepAlive: bool;1102 } & Struct;1103 readonly isForceUnreserve: boolean;1104 readonly asForceUnreserve: {1105 readonly who: MultiAddress;1106 readonly amount: u128;1107 } & Struct;1108 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1109}11101111/** @name PalletBalancesError */1112export interface PalletBalancesError extends Enum {1113 readonly isVestingBalance: boolean;1114 readonly isLiquidityRestrictions: boolean;1115 readonly isInsufficientBalance: boolean;1116 readonly isExistentialDeposit: boolean;1117 readonly isKeepAlive: boolean;1118 readonly isExistingVestingSchedule: boolean;1119 readonly isDeadAccount: boolean;1120 readonly isTooManyReserves: boolean;1121 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1122}11231124/** @name PalletBalancesEvent */1125export interface PalletBalancesEvent extends Enum {1126 readonly isEndowed: boolean;1127 readonly asEndowed: {1128 readonly account: AccountId32;1129 readonly freeBalance: u128;1130 } & Struct;1131 readonly isDustLost: boolean;1132 readonly asDustLost: {1133 readonly account: AccountId32;1134 readonly amount: u128;1135 } & Struct;1136 readonly isTransfer: boolean;1137 readonly asTransfer: {1138 readonly from: AccountId32;1139 readonly to: AccountId32;1140 readonly amount: u128;1141 } & Struct;1142 readonly isBalanceSet: boolean;1143 readonly asBalanceSet: {1144 readonly who: AccountId32;1145 readonly free: u128;1146 readonly reserved: u128;1147 } & Struct;1148 readonly isReserved: boolean;1149 readonly asReserved: {1150 readonly who: AccountId32;1151 readonly amount: u128;1152 } & Struct;1153 readonly isUnreserved: boolean;1154 readonly asUnreserved: {1155 readonly who: AccountId32;1156 readonly amount: u128;1157 } & Struct;1158 readonly isReserveRepatriated: boolean;1159 readonly asReserveRepatriated: {1160 readonly from: AccountId32;1161 readonly to: AccountId32;1162 readonly amount: u128;1163 readonly destinationStatus: FrameSupportTokensMiscBalanceStatus;1164 } & Struct;1165 readonly isDeposit: boolean;1166 readonly asDeposit: {1167 readonly who: AccountId32;1168 readonly amount: u128;1169 } & Struct;1170 readonly isWithdraw: boolean;1171 readonly asWithdraw: {1172 readonly who: AccountId32;1173 readonly amount: u128;1174 } & Struct;1175 readonly isSlashed: boolean;1176 readonly asSlashed: {1177 readonly who: AccountId32;1178 readonly amount: u128;1179 } & Struct;1180 readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed';1181}11821183/** @name PalletBalancesReasons */1184export interface PalletBalancesReasons extends Enum {1185 readonly isFee: boolean;1186 readonly isMisc: boolean;1187 readonly isAll: boolean;1188 readonly type: 'Fee' | 'Misc' | 'All';1189}11901191/** @name PalletBalancesReleases */1192export interface PalletBalancesReleases extends Enum {1193 readonly isV100: boolean;1194 readonly isV200: boolean;1195 readonly type: 'V100' | 'V200';1196}11971198/** @name PalletBalancesReserveData */1199export interface PalletBalancesReserveData extends Struct {1200 readonly id: U8aFixed;1201 readonly amount: u128;1202}12031204/** @name PalletCommonError */1205export interface PalletCommonError extends Enum {1206 readonly isCollectionNotFound: boolean;1207 readonly isMustBeTokenOwner: boolean;1208 readonly isNoPermission: boolean;1209 readonly isCantDestroyNotEmptyCollection: boolean;1210 readonly isPublicMintingNotAllowed: boolean;1211 readonly isAddressNotInAllowlist: boolean;1212 readonly isCollectionNameLimitExceeded: boolean;1213 readonly isCollectionDescriptionLimitExceeded: boolean;1214 readonly isCollectionTokenPrefixLimitExceeded: boolean;1215 readonly isTotalCollectionsLimitExceeded: boolean;1216 readonly isCollectionAdminCountExceeded: boolean;1217 readonly isCollectionLimitBoundsExceeded: boolean;1218 readonly isOwnerPermissionsCantBeReverted: boolean;1219 readonly isTransferNotAllowed: boolean;1220 readonly isAccountTokenLimitExceeded: boolean;1221 readonly isCollectionTokenLimitExceeded: boolean;1222 readonly isMetadataFlagFrozen: boolean;1223 readonly isTokenNotFound: boolean;1224 readonly isTokenValueTooLow: boolean;1225 readonly isApprovedValueTooLow: boolean;1226 readonly isCantApproveMoreThanOwned: boolean;1227 readonly isAddressIsZero: boolean;1228 readonly isUnsupportedOperation: boolean;1229 readonly isNotSufficientFounds: boolean;1230 readonly isUserIsNotAllowedToNest: boolean;1231 readonly isSourceCollectionIsNotAllowedToNest: boolean;1232 readonly isCollectionFieldSizeExceeded: boolean;1233 readonly isNoSpaceForProperty: boolean;1234 readonly isPropertyLimitReached: boolean;1235 readonly isPropertyKeyIsTooLong: boolean;1236 readonly isInvalidCharacterInPropertyKey: boolean;1237 readonly isEmptyPropertyKey: boolean;1238 readonly isCollectionIsExternal: boolean;1239 readonly isCollectionIsInternal: boolean;1240 readonly isConfirmSponsorshipFail: boolean;1241 readonly isUserIsNotCollectionAdmin: boolean;1242 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';1243}12441245/** @name PalletCommonEvent */1246export interface PalletCommonEvent extends Enum {1247 readonly isCollectionCreated: boolean;1248 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;1249 readonly isCollectionDestroyed: boolean;1250 readonly asCollectionDestroyed: u32;1251 readonly isItemCreated: boolean;1252 readonly asItemCreated: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1253 readonly isItemDestroyed: boolean;1254 readonly asItemDestroyed: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1255 readonly isTransfer: boolean;1256 readonly asTransfer: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1257 readonly isApproved: boolean;1258 readonly asApproved: ITuple<[u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;1259 readonly isApprovedForAll: boolean;1260 readonly asApprovedForAll: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1261 readonly isCollectionPropertySet: boolean;1262 readonly asCollectionPropertySet: ITuple<[u32, Bytes]>;1263 readonly isCollectionPropertyDeleted: boolean;1264 readonly asCollectionPropertyDeleted: ITuple<[u32, Bytes]>;1265 readonly isTokenPropertySet: boolean;1266 readonly asTokenPropertySet: ITuple<[u32, u32, Bytes]>;1267 readonly isTokenPropertyDeleted: boolean;1268 readonly asTokenPropertyDeleted: ITuple<[u32, u32, Bytes]>;1269 readonly isPropertyPermissionSet: boolean;1270 readonly asPropertyPermissionSet: ITuple<[u32, Bytes]>;1271 readonly isAllowListAddressAdded: boolean;1272 readonly asAllowListAddressAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1273 readonly isAllowListAddressRemoved: boolean;1274 readonly asAllowListAddressRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1275 readonly isCollectionAdminAdded: boolean;1276 readonly asCollectionAdminAdded: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1277 readonly isCollectionAdminRemoved: boolean;1278 readonly asCollectionAdminRemoved: ITuple<[u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1279 readonly isCollectionLimitSet: boolean;1280 readonly asCollectionLimitSet: u32;1281 readonly isCollectionOwnerChanged: boolean;1282 readonly asCollectionOwnerChanged: ITuple<[u32, AccountId32]>;1283 readonly isCollectionPermissionSet: boolean;1284 readonly asCollectionPermissionSet: u32;1285 readonly isCollectionSponsorSet: boolean;1286 readonly asCollectionSponsorSet: ITuple<[u32, AccountId32]>;1287 readonly isSponsorshipConfirmed: boolean;1288 readonly asSponsorshipConfirmed: ITuple<[u32, AccountId32]>;1289 readonly isCollectionSponsorRemoved: boolean;1290 readonly asCollectionSponsorRemoved: u32;1291 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'ApprovedForAll' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet' | 'AllowListAddressAdded' | 'AllowListAddressRemoved' | 'CollectionAdminAdded' | 'CollectionAdminRemoved' | 'CollectionLimitSet' | 'CollectionOwnerChanged' | 'CollectionPermissionSet' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionSponsorRemoved';1292}12931294/** @name PalletConfigurationAppPromotionConfiguration */1295export interface PalletConfigurationAppPromotionConfiguration extends Struct {1296 readonly recalculationInterval: Option<u32>;1297 readonly pendingInterval: Option<u32>;1298 readonly intervalIncome: Option<Perbill>;1299 readonly maxStakersPerCalculation: Option<u8>;1300}13011302/** @name PalletConfigurationCall */1303export interface PalletConfigurationCall extends Enum {1304 readonly isSetWeightToFeeCoefficientOverride: boolean;1305 readonly asSetWeightToFeeCoefficientOverride: {1306 readonly coeff: Option<u64>;1307 } & Struct;1308 readonly isSetMinGasPriceOverride: boolean;1309 readonly asSetMinGasPriceOverride: {1310 readonly coeff: Option<u64>;1311 } & Struct;1312 readonly isSetXcmAllowedLocations: boolean;1313 readonly asSetXcmAllowedLocations: {1314 readonly locations: Option<Vec<XcmV1MultiLocation>>;1315 } & Struct;1316 readonly isSetAppPromotionConfigurationOverride: boolean;1317 readonly asSetAppPromotionConfigurationOverride: {1318 readonly configuration: PalletConfigurationAppPromotionConfiguration;1319 } & Struct;1320 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';1321}13221323/** @name PalletConfigurationError */1324export interface PalletConfigurationError extends Enum {1325 readonly isInconsistentConfiguration: boolean;1326 readonly type: 'InconsistentConfiguration';1327}13281329/** @name PalletEthereumCall */1330export interface PalletEthereumCall extends Enum {1331 readonly isTransact: boolean;1332 readonly asTransact: {1333 readonly transaction: EthereumTransactionTransactionV2;1334 } & Struct;1335 readonly type: 'Transact';1336}13371338/** @name PalletEthereumError */1339export interface PalletEthereumError extends Enum {1340 readonly isInvalidSignature: boolean;1341 readonly isPreLogExists: boolean;1342 readonly type: 'InvalidSignature' | 'PreLogExists';1343}13441345/** @name PalletEthereumEvent */1346export interface PalletEthereumEvent extends Enum {1347 readonly isExecuted: boolean;1348 readonly asExecuted: {1349 readonly from: H160;1350 readonly to: H160;1351 readonly transactionHash: H256;1352 readonly exitReason: EvmCoreErrorExitReason;1353 } & Struct;1354 readonly type: 'Executed';1355}13561357/** @name PalletEthereumFakeTransactionFinalizer */1358export interface PalletEthereumFakeTransactionFinalizer extends Null {}13591360/** @name PalletEvmAccountBasicCrossAccountIdRepr */1361export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1362 readonly isSubstrate: boolean;1363 readonly asSubstrate: AccountId32;1364 readonly isEthereum: boolean;1365 readonly asEthereum: H160;1366 readonly type: 'Substrate' | 'Ethereum';1367}13681369/** @name PalletEvmCall */1370export interface PalletEvmCall extends Enum {1371 readonly isWithdraw: boolean;1372 readonly asWithdraw: {1373 readonly address: H160;1374 readonly value: u128;1375 } & Struct;1376 readonly isCall: boolean;1377 readonly asCall: {1378 readonly source: H160;1379 readonly target: H160;1380 readonly input: Bytes;1381 readonly value: U256;1382 readonly gasLimit: u64;1383 readonly maxFeePerGas: U256;1384 readonly maxPriorityFeePerGas: Option<U256>;1385 readonly nonce: Option<U256>;1386 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1387 } & Struct;1388 readonly isCreate: boolean;1389 readonly asCreate: {1390 readonly source: H160;1391 readonly init: Bytes;1392 readonly value: U256;1393 readonly gasLimit: u64;1394 readonly maxFeePerGas: U256;1395 readonly maxPriorityFeePerGas: Option<U256>;1396 readonly nonce: Option<U256>;1397 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1398 } & Struct;1399 readonly isCreate2: boolean;1400 readonly asCreate2: {1401 readonly source: H160;1402 readonly init: Bytes;1403 readonly salt: H256;1404 readonly value: U256;1405 readonly gasLimit: u64;1406 readonly maxFeePerGas: U256;1407 readonly maxPriorityFeePerGas: Option<U256>;1408 readonly nonce: Option<U256>;1409 readonly accessList: Vec<ITuple<[H160, Vec<H256>]>>;1410 } & Struct;1411 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1412}14131414/** @name PalletEvmCoderSubstrateError */1415export interface PalletEvmCoderSubstrateError extends Enum {1416 readonly isOutOfGas: boolean;1417 readonly isOutOfFund: boolean;1418 readonly type: 'OutOfGas' | 'OutOfFund';1419}14201421/** @name PalletEvmContractHelpersError */1422export interface PalletEvmContractHelpersError extends Enum {1423 readonly isNoPermission: boolean;1424 readonly isNoPendingSponsor: boolean;1425 readonly isTooManyMethodsHaveSponsoredLimit: boolean;1426 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';1427}14281429/** @name PalletEvmContractHelpersEvent */1430export interface PalletEvmContractHelpersEvent extends Enum {1431 readonly isContractSponsorSet: boolean;1432 readonly asContractSponsorSet: ITuple<[H160, AccountId32]>;1433 readonly isContractSponsorshipConfirmed: boolean;1434 readonly asContractSponsorshipConfirmed: ITuple<[H160, AccountId32]>;1435 readonly isContractSponsorRemoved: boolean;1436 readonly asContractSponsorRemoved: H160;1437 readonly type: 'ContractSponsorSet' | 'ContractSponsorshipConfirmed' | 'ContractSponsorRemoved';1438}14391440/** @name PalletEvmContractHelpersSponsoringModeT */1441export interface PalletEvmContractHelpersSponsoringModeT extends Enum {1442 readonly isDisabled: boolean;1443 readonly isAllowlisted: boolean;1444 readonly isGenerous: boolean;1445 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';1446}14471448/** @name PalletEvmError */1449export interface PalletEvmError extends Enum {1450 readonly isBalanceLow: boolean;1451 readonly isFeeOverflow: boolean;1452 readonly isPaymentOverflow: boolean;1453 readonly isWithdrawFailed: boolean;1454 readonly isGasPriceTooLow: boolean;1455 readonly isInvalidNonce: boolean;1456 readonly isGasLimitTooLow: boolean;1457 readonly isGasLimitTooHigh: boolean;1458 readonly isUndefined: boolean;1459 readonly isReentrancy: boolean;1460 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1461}14621463/** @name PalletEvmEvent */1464export interface PalletEvmEvent extends Enum {1465 readonly isLog: boolean;1466 readonly asLog: {1467 readonly log: EthereumLog;1468 } & Struct;1469 readonly isCreated: boolean;1470 readonly asCreated: {1471 readonly address: H160;1472 } & Struct;1473 readonly isCreatedFailed: boolean;1474 readonly asCreatedFailed: {1475 readonly address: H160;1476 } & Struct;1477 readonly isExecuted: boolean;1478 readonly asExecuted: {1479 readonly address: H160;1480 } & Struct;1481 readonly isExecutedFailed: boolean;1482 readonly asExecutedFailed: {1483 readonly address: H160;1484 } & Struct;1485 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed';1486}14871488/** @name PalletEvmMigrationCall */1489export interface PalletEvmMigrationCall extends Enum {1490 readonly isBegin: boolean;1491 readonly asBegin: {1492 readonly address: H160;1493 } & Struct;1494 readonly isSetData: boolean;1495 readonly asSetData: {1496 readonly address: H160;1497 readonly data: Vec<ITuple<[H256, H256]>>;1498 } & Struct;1499 readonly isFinish: boolean;1500 readonly asFinish: {1501 readonly address: H160;1502 readonly code: Bytes;1503 } & Struct;1504 readonly isInsertEthLogs: boolean;1505 readonly asInsertEthLogs: {1506 readonly logs: Vec<EthereumLog>;1507 } & Struct;1508 readonly isInsertEvents: boolean;1509 readonly asInsertEvents: {1510 readonly events: Vec<Bytes>;1511 } & Struct;1512 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';1513}15141515/** @name PalletEvmMigrationError */1516export interface PalletEvmMigrationError extends Enum {1517 readonly isAccountNotEmpty: boolean;1518 readonly isAccountIsNotMigrating: boolean;1519 readonly isBadEvent: boolean;1520 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';1521}15221523/** @name PalletEvmMigrationEvent */1524export interface PalletEvmMigrationEvent extends Enum {1525 readonly isTestEvent: boolean;1526 readonly type: 'TestEvent';1527}15281529/** @name PalletForeignAssetsAssetIds */1530export interface PalletForeignAssetsAssetIds extends Enum {1531 readonly isForeignAssetId: boolean;1532 readonly asForeignAssetId: u32;1533 readonly isNativeAssetId: boolean;1534 readonly asNativeAssetId: PalletForeignAssetsNativeCurrency;1535 readonly type: 'ForeignAssetId' | 'NativeAssetId';1536}15371538/** @name PalletForeignAssetsModuleAssetMetadata */1539export interface PalletForeignAssetsModuleAssetMetadata extends Struct {1540 readonly name: Bytes;1541 readonly symbol: Bytes;1542 readonly decimals: u8;1543 readonly minimalBalance: u128;1544}15451546/** @name PalletForeignAssetsModuleCall */1547export interface PalletForeignAssetsModuleCall extends Enum {1548 readonly isRegisterForeignAsset: boolean;1549 readonly asRegisterForeignAsset: {1550 readonly owner: AccountId32;1551 readonly location: XcmVersionedMultiLocation;1552 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1553 } & Struct;1554 readonly isUpdateForeignAsset: boolean;1555 readonly asUpdateForeignAsset: {1556 readonly foreignAssetId: u32;1557 readonly location: XcmVersionedMultiLocation;1558 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1559 } & Struct;1560 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';1561}15621563/** @name PalletForeignAssetsModuleError */1564export interface PalletForeignAssetsModuleError extends Enum {1565 readonly isBadLocation: boolean;1566 readonly isMultiLocationExisted: boolean;1567 readonly isAssetIdNotExists: boolean;1568 readonly isAssetIdExisted: boolean;1569 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';1570}15711572/** @name PalletForeignAssetsModuleEvent */1573export interface PalletForeignAssetsModuleEvent extends Enum {1574 readonly isForeignAssetRegistered: boolean;1575 readonly asForeignAssetRegistered: {1576 readonly assetId: u32;1577 readonly assetAddress: XcmV1MultiLocation;1578 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1579 } & Struct;1580 readonly isForeignAssetUpdated: boolean;1581 readonly asForeignAssetUpdated: {1582 readonly assetId: u32;1583 readonly assetAddress: XcmV1MultiLocation;1584 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1585 } & Struct;1586 readonly isAssetRegistered: boolean;1587 readonly asAssetRegistered: {1588 readonly assetId: PalletForeignAssetsAssetIds;1589 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1590 } & Struct;1591 readonly isAssetUpdated: boolean;1592 readonly asAssetUpdated: {1593 readonly assetId: PalletForeignAssetsAssetIds;1594 readonly metadata: PalletForeignAssetsModuleAssetMetadata;1595 } & Struct;1596 readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated';1597}15981599/** @name PalletForeignAssetsNativeCurrency */1600export interface PalletForeignAssetsNativeCurrency extends Enum {1601 readonly isHere: boolean;1602 readonly isParent: boolean;1603 readonly type: 'Here' | 'Parent';1604}16051606/** @name PalletFungibleError */1607export interface PalletFungibleError extends Enum {1608 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;1609 readonly isFungibleItemsHaveNoId: boolean;1610 readonly isFungibleItemsDontHaveData: boolean;1611 readonly isFungibleDisallowsNesting: boolean;1612 readonly isSettingPropertiesNotAllowed: boolean;1613 readonly isSettingAllowanceForAllNotAllowed: boolean;1614 readonly isFungibleTokensAreAlwaysValid: boolean;1615 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';1616}16171618/** @name PalletInflationCall */1619export interface PalletInflationCall extends Enum {1620 readonly isStartInflation: boolean;1621 readonly asStartInflation: {1622 readonly inflationStartRelayBlock: u32;1623 } & Struct;1624 readonly type: 'StartInflation';1625}16261627/** @name PalletMaintenanceCall */1628export interface PalletMaintenanceCall extends Enum {1629 readonly isEnable: boolean;1630 readonly isDisable: boolean;1631 readonly type: 'Enable' | 'Disable';1632}16331634/** @name PalletMaintenanceError */1635export interface PalletMaintenanceError extends Null {}16361637/** @name PalletMaintenanceEvent */1638export interface PalletMaintenanceEvent extends Enum {1639 readonly isMaintenanceEnabled: boolean;1640 readonly isMaintenanceDisabled: boolean;1641 readonly type: 'MaintenanceEnabled' | 'MaintenanceDisabled';1642}16431644/** @name PalletNonfungibleError */1645export interface PalletNonfungibleError extends Enum {1646 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;1647 readonly isNonfungibleItemsHaveNoAmount: boolean;1648 readonly isCantBurnNftWithChildren: boolean;1649 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';1650}16511652/** @name PalletNonfungibleItemData */1653export interface PalletNonfungibleItemData extends Struct {1654 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1655}16561657/** @name PalletRefungibleError */1658export interface PalletRefungibleError extends Enum {1659 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;1660 readonly isWrongRefungiblePieces: boolean;1661 readonly isRepartitionWhileNotOwningAllPieces: boolean;1662 readonly isRefungibleDisallowsNesting: boolean;1663 readonly isSettingPropertiesNotAllowed: boolean;1664 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';1665}16661667/** @name PalletRefungibleItemData */1668export interface PalletRefungibleItemData extends Struct {1669 readonly constData: Bytes;1670}16711672/** @name PalletRmrkCoreCall */1673export interface PalletRmrkCoreCall extends Enum {1674 readonly isCreateCollection: boolean;1675 readonly asCreateCollection: {1676 readonly metadata: Bytes;1677 readonly max: Option<u32>;1678 readonly symbol: Bytes;1679 } & Struct;1680 readonly isDestroyCollection: boolean;1681 readonly asDestroyCollection: {1682 readonly collectionId: u32;1683 } & Struct;1684 readonly isChangeCollectionIssuer: boolean;1685 readonly asChangeCollectionIssuer: {1686 readonly collectionId: u32;1687 readonly newIssuer: MultiAddress;1688 } & Struct;1689 readonly isLockCollection: boolean;1690 readonly asLockCollection: {1691 readonly collectionId: u32;1692 } & Struct;1693 readonly isMintNft: boolean;1694 readonly asMintNft: {1695 readonly owner: Option<AccountId32>;1696 readonly collectionId: u32;1697 readonly recipient: Option<AccountId32>;1698 readonly royaltyAmount: Option<Permill>;1699 readonly metadata: Bytes;1700 readonly transferable: bool;1701 readonly resources: Option<Vec<RmrkTraitsResourceResourceTypes>>;1702 } & Struct;1703 readonly isBurnNft: boolean;1704 readonly asBurnNft: {1705 readonly collectionId: u32;1706 readonly nftId: u32;1707 readonly maxBurns: u32;1708 } & Struct;1709 readonly isSend: boolean;1710 readonly asSend: {1711 readonly rmrkCollectionId: u32;1712 readonly rmrkNftId: u32;1713 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1714 } & Struct;1715 readonly isAcceptNft: boolean;1716 readonly asAcceptNft: {1717 readonly rmrkCollectionId: u32;1718 readonly rmrkNftId: u32;1719 readonly newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple;1720 } & Struct;1721 readonly isRejectNft: boolean;1722 readonly asRejectNft: {1723 readonly rmrkCollectionId: u32;1724 readonly rmrkNftId: u32;1725 } & Struct;1726 readonly isAcceptResource: boolean;1727 readonly asAcceptResource: {1728 readonly rmrkCollectionId: u32;1729 readonly rmrkNftId: u32;1730 readonly resourceId: u32;1731 } & Struct;1732 readonly isAcceptResourceRemoval: boolean;1733 readonly asAcceptResourceRemoval: {1734 readonly rmrkCollectionId: u32;1735 readonly rmrkNftId: u32;1736 readonly resourceId: u32;1737 } & Struct;1738 readonly isSetProperty: boolean;1739 readonly asSetProperty: {1740 readonly rmrkCollectionId: Compact<u32>;1741 readonly maybeNftId: Option<u32>;1742 readonly key: Bytes;1743 readonly value: Bytes;1744 } & Struct;1745 readonly isSetPriority: boolean;1746 readonly asSetPriority: {1747 readonly rmrkCollectionId: u32;1748 readonly rmrkNftId: u32;1749 readonly priorities: Vec<u32>;1750 } & Struct;1751 readonly isAddBasicResource: boolean;1752 readonly asAddBasicResource: {1753 readonly rmrkCollectionId: u32;1754 readonly nftId: u32;1755 readonly resource: RmrkTraitsResourceBasicResource;1756 } & Struct;1757 readonly isAddComposableResource: boolean;1758 readonly asAddComposableResource: {1759 readonly rmrkCollectionId: u32;1760 readonly nftId: u32;1761 readonly resource: RmrkTraitsResourceComposableResource;1762 } & Struct;1763 readonly isAddSlotResource: boolean;1764 readonly asAddSlotResource: {1765 readonly rmrkCollectionId: u32;1766 readonly nftId: u32;1767 readonly resource: RmrkTraitsResourceSlotResource;1768 } & Struct;1769 readonly isRemoveResource: boolean;1770 readonly asRemoveResource: {1771 readonly rmrkCollectionId: u32;1772 readonly nftId: u32;1773 readonly resourceId: u32;1774 } & Struct;1775 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1776}17771778/** @name PalletRmrkCoreError */1779export interface PalletRmrkCoreError extends Enum {1780 readonly isCorruptedCollectionType: boolean;1781 readonly isRmrkPropertyKeyIsTooLong: boolean;1782 readonly isRmrkPropertyValueIsTooLong: boolean;1783 readonly isRmrkPropertyIsNotFound: boolean;1784 readonly isUnableToDecodeRmrkData: boolean;1785 readonly isCollectionNotEmpty: boolean;1786 readonly isNoAvailableCollectionId: boolean;1787 readonly isNoAvailableNftId: boolean;1788 readonly isCollectionUnknown: boolean;1789 readonly isNoPermission: boolean;1790 readonly isNonTransferable: boolean;1791 readonly isCollectionFullOrLocked: boolean;1792 readonly isResourceDoesntExist: boolean;1793 readonly isCannotSendToDescendentOrSelf: boolean;1794 readonly isCannotAcceptNonOwnedNft: boolean;1795 readonly isCannotRejectNonOwnedNft: boolean;1796 readonly isCannotRejectNonPendingNft: boolean;1797 readonly isResourceNotPending: boolean;1798 readonly isNoAvailableResourceId: boolean;1799 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';1800}18011802/** @name PalletRmrkCoreEvent */1803export interface PalletRmrkCoreEvent extends Enum {1804 readonly isCollectionCreated: boolean;1805 readonly asCollectionCreated: {1806 readonly issuer: AccountId32;1807 readonly collectionId: u32;1808 } & Struct;1809 readonly isCollectionDestroyed: boolean;1810 readonly asCollectionDestroyed: {1811 readonly issuer: AccountId32;1812 readonly collectionId: u32;1813 } & Struct;1814 readonly isIssuerChanged: boolean;1815 readonly asIssuerChanged: {1816 readonly oldIssuer: AccountId32;1817 readonly newIssuer: AccountId32;1818 readonly collectionId: u32;1819 } & Struct;1820 readonly isCollectionLocked: boolean;1821 readonly asCollectionLocked: {1822 readonly issuer: AccountId32;1823 readonly collectionId: u32;1824 } & Struct;1825 readonly isNftMinted: boolean;1826 readonly asNftMinted: {1827 readonly owner: AccountId32;1828 readonly collectionId: u32;1829 readonly nftId: u32;1830 } & Struct;1831 readonly isNftBurned: boolean;1832 readonly asNftBurned: {1833 readonly owner: AccountId32;1834 readonly nftId: u32;1835 } & Struct;1836 readonly isNftSent: boolean;1837 readonly asNftSent: {1838 readonly sender: AccountId32;1839 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1840 readonly collectionId: u32;1841 readonly nftId: u32;1842 readonly approvalRequired: bool;1843 } & Struct;1844 readonly isNftAccepted: boolean;1845 readonly asNftAccepted: {1846 readonly sender: AccountId32;1847 readonly recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple;1848 readonly collectionId: u32;1849 readonly nftId: u32;1850 } & Struct;1851 readonly isNftRejected: boolean;1852 readonly asNftRejected: {1853 readonly sender: AccountId32;1854 readonly collectionId: u32;1855 readonly nftId: u32;1856 } & Struct;1857 readonly isPropertySet: boolean;1858 readonly asPropertySet: {1859 readonly collectionId: u32;1860 readonly maybeNftId: Option<u32>;1861 readonly key: Bytes;1862 readonly value: Bytes;1863 } & Struct;1864 readonly isResourceAdded: boolean;1865 readonly asResourceAdded: {1866 readonly nftId: u32;1867 readonly resourceId: u32;1868 } & Struct;1869 readonly isResourceRemoval: boolean;1870 readonly asResourceRemoval: {1871 readonly nftId: u32;1872 readonly resourceId: u32;1873 } & Struct;1874 readonly isResourceAccepted: boolean;1875 readonly asResourceAccepted: {1876 readonly nftId: u32;1877 readonly resourceId: u32;1878 } & Struct;1879 readonly isResourceRemovalAccepted: boolean;1880 readonly asResourceRemovalAccepted: {1881 readonly nftId: u32;1882 readonly resourceId: u32;1883 } & Struct;1884 readonly isPrioritySet: boolean;1885 readonly asPrioritySet: {1886 readonly collectionId: u32;1887 readonly nftId: u32;1888 } & Struct;1889 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';1890}18911892/** @name PalletRmrkEquipCall */1893export interface PalletRmrkEquipCall extends Enum {1894 readonly isCreateBase: boolean;1895 readonly asCreateBase: {1896 readonly baseType: Bytes;1897 readonly symbol: Bytes;1898 readonly parts: Vec<RmrkTraitsPartPartType>;1899 } & Struct;1900 readonly isThemeAdd: boolean;1901 readonly asThemeAdd: {1902 readonly baseId: u32;1903 readonly theme: RmrkTraitsTheme;1904 } & Struct;1905 readonly isEquippable: boolean;1906 readonly asEquippable: {1907 readonly baseId: u32;1908 readonly slotId: u32;1909 readonly equippables: RmrkTraitsPartEquippableList;1910 } & Struct;1911 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';1912}19131914/** @name PalletRmrkEquipError */1915export interface PalletRmrkEquipError extends Enum {1916 readonly isPermissionError: boolean;1917 readonly isNoAvailableBaseId: boolean;1918 readonly isNoAvailablePartId: boolean;1919 readonly isBaseDoesntExist: boolean;1920 readonly isNeedsDefaultThemeFirst: boolean;1921 readonly isPartDoesntExist: boolean;1922 readonly isNoEquippableOnFixedPart: boolean;1923 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';1924}19251926/** @name PalletRmrkEquipEvent */1927export interface PalletRmrkEquipEvent extends Enum {1928 readonly isBaseCreated: boolean;1929 readonly asBaseCreated: {1930 readonly issuer: AccountId32;1931 readonly baseId: u32;1932 } & Struct;1933 readonly isEquippablesUpdated: boolean;1934 readonly asEquippablesUpdated: {1935 readonly baseId: u32;1936 readonly slotId: u32;1937 } & Struct;1938 readonly type: 'BaseCreated' | 'EquippablesUpdated';1939}19401941/** @name PalletStructureCall */1942export interface PalletStructureCall extends Null {}19431944/** @name PalletStructureError */1945export interface PalletStructureError extends Enum {1946 readonly isOuroborosDetected: boolean;1947 readonly isDepthLimit: boolean;1948 readonly isBreadthLimit: boolean;1949 readonly isTokenNotFound: boolean;1950 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';1951}19521953/** @name PalletStructureEvent */1954export interface PalletStructureEvent extends Enum {1955 readonly isExecuted: boolean;1956 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;1957 readonly type: 'Executed';1958}19591960/** @name PalletSudoCall */1961export interface PalletSudoCall extends Enum {1962 readonly isSudo: boolean;1963 readonly asSudo: {1964 readonly call: Call;1965 } & Struct;1966 readonly isSudoUncheckedWeight: boolean;1967 readonly asSudoUncheckedWeight: {1968 readonly call: Call;1969 readonly weight: SpWeightsWeightV2Weight;1970 } & Struct;1971 readonly isSetKey: boolean;1972 readonly asSetKey: {1973 readonly new_: MultiAddress;1974 } & Struct;1975 readonly isSudoAs: boolean;1976 readonly asSudoAs: {1977 readonly who: MultiAddress;1978 readonly call: Call;1979 } & Struct;1980 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1981}19821983/** @name PalletSudoError */1984export interface PalletSudoError extends Enum {1985 readonly isRequireSudo: boolean;1986 readonly type: 'RequireSudo';1987}19881989/** @name PalletSudoEvent */1990export interface PalletSudoEvent extends Enum {1991 readonly isSudid: boolean;1992 readonly asSudid: {1993 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;1994 } & Struct;1995 readonly isKeyChanged: boolean;1996 readonly asKeyChanged: {1997 readonly oldSudoer: Option<AccountId32>;1998 } & Struct;1999 readonly isSudoAsDone: boolean;2000 readonly asSudoAsDone: {2001 readonly sudoResult: Result<Null, SpRuntimeDispatchError>;2002 } & Struct;2003 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2004}20052006/** @name PalletTemplateTransactionPaymentCall */2007export interface PalletTemplateTransactionPaymentCall extends Null {}20082009/** @name PalletTemplateTransactionPaymentChargeTransactionPayment */2010export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}20112012/** @name PalletTestUtilsCall */2013export interface PalletTestUtilsCall extends Enum {2014 readonly isEnable: boolean;2015 readonly isSetTestValue: boolean;2016 readonly asSetTestValue: {2017 readonly value: u32;2018 } & Struct;2019 readonly isSetTestValueAndRollback: boolean;2020 readonly asSetTestValueAndRollback: {2021 readonly value: u32;2022 } & Struct;2023 readonly isIncTestValue: boolean;2024 readonly isJustTakeFee: boolean;2025 readonly isBatchAll: boolean;2026 readonly asBatchAll: {2027 readonly calls: Vec<Call>;2028 } & Struct;2029 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';2030}20312032/** @name PalletTestUtilsError */2033export interface PalletTestUtilsError extends Enum {2034 readonly isTestPalletDisabled: boolean;2035 readonly isTriggerRollback: boolean;2036 readonly type: 'TestPalletDisabled' | 'TriggerRollback';2037}20382039/** @name PalletTestUtilsEvent */2040export interface PalletTestUtilsEvent extends Enum {2041 readonly isValueIsSet: boolean;2042 readonly isShouldRollback: boolean;2043 readonly isBatchCompleted: boolean;2044 readonly type: 'ValueIsSet' | 'ShouldRollback' | 'BatchCompleted';2045}20462047/** @name PalletTimestampCall */2048export interface PalletTimestampCall extends Enum {2049 readonly isSet: boolean;2050 readonly asSet: {2051 readonly now: Compact<u64>;2052 } & Struct;2053 readonly type: 'Set';2054}20552056/** @name PalletTransactionPaymentEvent */2057export interface PalletTransactionPaymentEvent extends Enum {2058 readonly isTransactionFeePaid: boolean;2059 readonly asTransactionFeePaid: {2060 readonly who: AccountId32;2061 readonly actualFee: u128;2062 readonly tip: u128;2063 } & Struct;2064 readonly type: 'TransactionFeePaid';2065}20662067/** @name PalletTransactionPaymentReleases */2068export interface PalletTransactionPaymentReleases extends Enum {2069 readonly isV1Ancient: boolean;2070 readonly isV2: boolean;2071 readonly type: 'V1Ancient' | 'V2';2072}20732074/** @name PalletTreasuryCall */2075export interface PalletTreasuryCall extends Enum {2076 readonly isProposeSpend: boolean;2077 readonly asProposeSpend: {2078 readonly value: Compact<u128>;2079 readonly beneficiary: MultiAddress;2080 } & Struct;2081 readonly isRejectProposal: boolean;2082 readonly asRejectProposal: {2083 readonly proposalId: Compact<u32>;2084 } & Struct;2085 readonly isApproveProposal: boolean;2086 readonly asApproveProposal: {2087 readonly proposalId: Compact<u32>;2088 } & Struct;2089 readonly isSpend: boolean;2090 readonly asSpend: {2091 readonly amount: Compact<u128>;2092 readonly beneficiary: MultiAddress;2093 } & Struct;2094 readonly isRemoveApproval: boolean;2095 readonly asRemoveApproval: {2096 readonly proposalId: Compact<u32>;2097 } & Struct;2098 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';2099}21002101/** @name PalletTreasuryError */2102export interface PalletTreasuryError extends Enum {2103 readonly isInsufficientProposersBalance: boolean;2104 readonly isInvalidIndex: boolean;2105 readonly isTooManyApprovals: boolean;2106 readonly isInsufficientPermission: boolean;2107 readonly isProposalNotApproved: boolean;2108 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';2109}21102111/** @name PalletTreasuryEvent */2112export interface PalletTreasuryEvent extends Enum {2113 readonly isProposed: boolean;2114 readonly asProposed: {2115 readonly proposalIndex: u32;2116 } & Struct;2117 readonly isSpending: boolean;2118 readonly asSpending: {2119 readonly budgetRemaining: u128;2120 } & Struct;2121 readonly isAwarded: boolean;2122 readonly asAwarded: {2123 readonly proposalIndex: u32;2124 readonly award: u128;2125 readonly account: AccountId32;2126 } & Struct;2127 readonly isRejected: boolean;2128 readonly asRejected: {2129 readonly proposalIndex: u32;2130 readonly slashed: u128;2131 } & Struct;2132 readonly isBurnt: boolean;2133 readonly asBurnt: {2134 readonly burntFunds: u128;2135 } & Struct;2136 readonly isRollover: boolean;2137 readonly asRollover: {2138 readonly rolloverBalance: u128;2139 } & Struct;2140 readonly isDeposit: boolean;2141 readonly asDeposit: {2142 readonly value: u128;2143 } & Struct;2144 readonly isSpendApproved: boolean;2145 readonly asSpendApproved: {2146 readonly proposalIndex: u32;2147 readonly amount: u128;2148 readonly beneficiary: AccountId32;2149 } & Struct;2150 readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved';2151}21522153/** @name PalletTreasuryProposal */2154export interface PalletTreasuryProposal extends Struct {2155 readonly proposer: AccountId32;2156 readonly value: u128;2157 readonly beneficiary: AccountId32;2158 readonly bond: u128;2159}21602161/** @name PalletUniqueCall */2162export interface PalletUniqueCall extends Enum {2163 readonly isCreateCollection: boolean;2164 readonly asCreateCollection: {2165 readonly collectionName: Vec<u16>;2166 readonly collectionDescription: Vec<u16>;2167 readonly tokenPrefix: Bytes;2168 readonly mode: UpDataStructsCollectionMode;2169 } & Struct;2170 readonly isCreateCollectionEx: boolean;2171 readonly asCreateCollectionEx: {2172 readonly data: UpDataStructsCreateCollectionData;2173 } & Struct;2174 readonly isDestroyCollection: boolean;2175 readonly asDestroyCollection: {2176 readonly collectionId: u32;2177 } & Struct;2178 readonly isAddToAllowList: boolean;2179 readonly asAddToAllowList: {2180 readonly collectionId: u32;2181 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2182 } & Struct;2183 readonly isRemoveFromAllowList: boolean;2184 readonly asRemoveFromAllowList: {2185 readonly collectionId: u32;2186 readonly address: PalletEvmAccountBasicCrossAccountIdRepr;2187 } & Struct;2188 readonly isChangeCollectionOwner: boolean;2189 readonly asChangeCollectionOwner: {2190 readonly collectionId: u32;2191 readonly newOwner: AccountId32;2192 } & Struct;2193 readonly isAddCollectionAdmin: boolean;2194 readonly asAddCollectionAdmin: {2195 readonly collectionId: u32;2196 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;2197 } & Struct;2198 readonly isRemoveCollectionAdmin: boolean;2199 readonly asRemoveCollectionAdmin: {2200 readonly collectionId: u32;2201 readonly accountId: PalletEvmAccountBasicCrossAccountIdRepr;2202 } & Struct;2203 readonly isSetCollectionSponsor: boolean;2204 readonly asSetCollectionSponsor: {2205 readonly collectionId: u32;2206 readonly newSponsor: AccountId32;2207 } & Struct;2208 readonly isConfirmSponsorship: boolean;2209 readonly asConfirmSponsorship: {2210 readonly collectionId: u32;2211 } & Struct;2212 readonly isRemoveCollectionSponsor: boolean;2213 readonly asRemoveCollectionSponsor: {2214 readonly collectionId: u32;2215 } & Struct;2216 readonly isCreateItem: boolean;2217 readonly asCreateItem: {2218 readonly collectionId: u32;2219 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2220 readonly data: UpDataStructsCreateItemData;2221 } & Struct;2222 readonly isCreateMultipleItems: boolean;2223 readonly asCreateMultipleItems: {2224 readonly collectionId: u32;2225 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2226 readonly itemsData: Vec<UpDataStructsCreateItemData>;2227 } & Struct;2228 readonly isSetCollectionProperties: boolean;2229 readonly asSetCollectionProperties: {2230 readonly collectionId: u32;2231 readonly properties: Vec<UpDataStructsProperty>;2232 } & Struct;2233 readonly isDeleteCollectionProperties: boolean;2234 readonly asDeleteCollectionProperties: {2235 readonly collectionId: u32;2236 readonly propertyKeys: Vec<Bytes>;2237 } & Struct;2238 readonly isSetTokenProperties: boolean;2239 readonly asSetTokenProperties: {2240 readonly collectionId: u32;2241 readonly tokenId: u32;2242 readonly properties: Vec<UpDataStructsProperty>;2243 } & Struct;2244 readonly isDeleteTokenProperties: boolean;2245 readonly asDeleteTokenProperties: {2246 readonly collectionId: u32;2247 readonly tokenId: u32;2248 readonly propertyKeys: Vec<Bytes>;2249 } & Struct;2250 readonly isSetTokenPropertyPermissions: boolean;2251 readonly asSetTokenPropertyPermissions: {2252 readonly collectionId: u32;2253 readonly propertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2254 } & Struct;2255 readonly isCreateMultipleItemsEx: boolean;2256 readonly asCreateMultipleItemsEx: {2257 readonly collectionId: u32;2258 readonly data: UpDataStructsCreateItemExData;2259 } & Struct;2260 readonly isSetTransfersEnabledFlag: boolean;2261 readonly asSetTransfersEnabledFlag: {2262 readonly collectionId: u32;2263 readonly value: bool;2264 } & Struct;2265 readonly isBurnItem: boolean;2266 readonly asBurnItem: {2267 readonly collectionId: u32;2268 readonly itemId: u32;2269 readonly value: u128;2270 } & Struct;2271 readonly isBurnFrom: boolean;2272 readonly asBurnFrom: {2273 readonly collectionId: u32;2274 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2275 readonly itemId: u32;2276 readonly value: u128;2277 } & Struct;2278 readonly isTransfer: boolean;2279 readonly asTransfer: {2280 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2281 readonly collectionId: u32;2282 readonly itemId: u32;2283 readonly value: u128;2284 } & Struct;2285 readonly isApprove: boolean;2286 readonly asApprove: {2287 readonly spender: PalletEvmAccountBasicCrossAccountIdRepr;2288 readonly collectionId: u32;2289 readonly itemId: u32;2290 readonly amount: u128;2291 } & Struct;2292 readonly isTransferFrom: boolean;2293 readonly asTransferFrom: {2294 readonly from: PalletEvmAccountBasicCrossAccountIdRepr;2295 readonly recipient: PalletEvmAccountBasicCrossAccountIdRepr;2296 readonly collectionId: u32;2297 readonly itemId: u32;2298 readonly value: u128;2299 } & Struct;2300 readonly isSetCollectionLimits: boolean;2301 readonly asSetCollectionLimits: {2302 readonly collectionId: u32;2303 readonly newLimit: UpDataStructsCollectionLimits;2304 } & Struct;2305 readonly isSetCollectionPermissions: boolean;2306 readonly asSetCollectionPermissions: {2307 readonly collectionId: u32;2308 readonly newPermission: UpDataStructsCollectionPermissions;2309 } & Struct;2310 readonly isRepartition: boolean;2311 readonly asRepartition: {2312 readonly collectionId: u32;2313 readonly tokenId: u32;2314 readonly amount: u128;2315 } & Struct;2316 readonly isSetAllowanceForAll: boolean;2317 readonly asSetAllowanceForAll: {2318 readonly collectionId: u32;2319 readonly operator: PalletEvmAccountBasicCrossAccountIdRepr;2320 readonly approve: bool;2321 } & Struct;2322 readonly isForceRepairCollection: boolean;2323 readonly asForceRepairCollection: {2324 readonly collectionId: u32;2325 } & Struct;2326 readonly isForceRepairItem: boolean;2327 readonly asForceRepairItem: {2328 readonly collectionId: u32;2329 readonly itemId: u32;2330 } & Struct;2331 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';2332}23332334/** @name PalletUniqueError */2335export interface PalletUniqueError extends Enum {2336 readonly isCollectionDecimalPointLimitExceeded: boolean;2337 readonly isEmptyArgument: boolean;2338 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;2339 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';2340}23412342/** @name PalletXcmCall */2343export interface PalletXcmCall extends Enum {2344 readonly isSend: boolean;2345 readonly asSend: {2346 readonly dest: XcmVersionedMultiLocation;2347 readonly message: XcmVersionedXcm;2348 } & Struct;2349 readonly isTeleportAssets: boolean;2350 readonly asTeleportAssets: {2351 readonly dest: XcmVersionedMultiLocation;2352 readonly beneficiary: XcmVersionedMultiLocation;2353 readonly assets: XcmVersionedMultiAssets;2354 readonly feeAssetItem: u32;2355 } & Struct;2356 readonly isReserveTransferAssets: boolean;2357 readonly asReserveTransferAssets: {2358 readonly dest: XcmVersionedMultiLocation;2359 readonly beneficiary: XcmVersionedMultiLocation;2360 readonly assets: XcmVersionedMultiAssets;2361 readonly feeAssetItem: u32;2362 } & Struct;2363 readonly isExecute: boolean;2364 readonly asExecute: {2365 readonly message: XcmVersionedXcm;2366 readonly maxWeight: u64;2367 } & Struct;2368 readonly isForceXcmVersion: boolean;2369 readonly asForceXcmVersion: {2370 readonly location: XcmV1MultiLocation;2371 readonly xcmVersion: u32;2372 } & Struct;2373 readonly isForceDefaultXcmVersion: boolean;2374 readonly asForceDefaultXcmVersion: {2375 readonly maybeXcmVersion: Option<u32>;2376 } & Struct;2377 readonly isForceSubscribeVersionNotify: boolean;2378 readonly asForceSubscribeVersionNotify: {2379 readonly location: XcmVersionedMultiLocation;2380 } & Struct;2381 readonly isForceUnsubscribeVersionNotify: boolean;2382 readonly asForceUnsubscribeVersionNotify: {2383 readonly location: XcmVersionedMultiLocation;2384 } & Struct;2385 readonly isLimitedReserveTransferAssets: boolean;2386 readonly asLimitedReserveTransferAssets: {2387 readonly dest: XcmVersionedMultiLocation;2388 readonly beneficiary: XcmVersionedMultiLocation;2389 readonly assets: XcmVersionedMultiAssets;2390 readonly feeAssetItem: u32;2391 readonly weightLimit: XcmV2WeightLimit;2392 } & Struct;2393 readonly isLimitedTeleportAssets: boolean;2394 readonly asLimitedTeleportAssets: {2395 readonly dest: XcmVersionedMultiLocation;2396 readonly beneficiary: XcmVersionedMultiLocation;2397 readonly assets: XcmVersionedMultiAssets;2398 readonly feeAssetItem: u32;2399 readonly weightLimit: XcmV2WeightLimit;2400 } & Struct;2401 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2402}24032404/** @name PalletXcmError */2405export interface PalletXcmError extends Enum {2406 readonly isUnreachable: boolean;2407 readonly isSendFailure: boolean;2408 readonly isFiltered: boolean;2409 readonly isUnweighableMessage: boolean;2410 readonly isDestinationNotInvertible: boolean;2411 readonly isEmpty: boolean;2412 readonly isCannotReanchor: boolean;2413 readonly isTooManyAssets: boolean;2414 readonly isInvalidOrigin: boolean;2415 readonly isBadVersion: boolean;2416 readonly isBadLocation: boolean;2417 readonly isNoSubscription: boolean;2418 readonly isAlreadySubscribed: boolean;2419 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2420}24212422/** @name PalletXcmEvent */2423export interface PalletXcmEvent extends Enum {2424 readonly isAttempted: boolean;2425 readonly asAttempted: XcmV2TraitsOutcome;2426 readonly isSent: boolean;2427 readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;2428 readonly isUnexpectedResponse: boolean;2429 readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;2430 readonly isResponseReady: boolean;2431 readonly asResponseReady: ITuple<[u64, XcmV2Response]>;2432 readonly isNotified: boolean;2433 readonly asNotified: ITuple<[u64, u8, u8]>;2434 readonly isNotifyOverweight: boolean;2435 readonly asNotifyOverweight: ITuple<[u64, u8, u8, SpWeightsWeightV2Weight, SpWeightsWeightV2Weight]>;2436 readonly isNotifyDispatchError: boolean;2437 readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;2438 readonly isNotifyDecodeFailed: boolean;2439 readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;2440 readonly isInvalidResponder: boolean;2441 readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;2442 readonly isInvalidResponderVersion: boolean;2443 readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;2444 readonly isResponseTaken: boolean;2445 readonly asResponseTaken: u64;2446 readonly isAssetsTrapped: boolean;2447 readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2448 readonly isVersionChangeNotified: boolean;2449 readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;2450 readonly isSupportedVersionChanged: boolean;2451 readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;2452 readonly isNotifyTargetSendFail: boolean;2453 readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;2454 readonly isNotifyTargetMigrationFail: boolean;2455 readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;2456 readonly isAssetsClaimed: boolean;2457 readonly asAssetsClaimed: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;2458 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'AssetsClaimed';2459}24602461/** @name PhantomTypeUpDataStructs */2462export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}24632464/** @name PolkadotCorePrimitivesInboundDownwardMessage */2465export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {2466 readonly sentAt: u32;2467 readonly msg: Bytes;2468}24692470/** @name PolkadotCorePrimitivesInboundHrmpMessage */2471export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {2472 readonly sentAt: u32;2473 readonly data: Bytes;2474}24752476/** @name PolkadotCorePrimitivesOutboundHrmpMessage */2477export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {2478 readonly recipient: u32;2479 readonly data: Bytes;2480}24812482/** @name PolkadotParachainPrimitivesXcmpMessageFormat */2483export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2484 readonly isConcatenatedVersionedXcm: boolean;2485 readonly isConcatenatedEncodedBlob: boolean;2486 readonly isSignals: boolean;2487 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2488}24892490/** @name PolkadotPrimitivesV2AbridgedHostConfiguration */2491export interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {2492 readonly maxCodeSize: u32;2493 readonly maxHeadDataSize: u32;2494 readonly maxUpwardQueueCount: u32;2495 readonly maxUpwardQueueSize: u32;2496 readonly maxUpwardMessageSize: u32;2497 readonly maxUpwardMessageNumPerCandidate: u32;2498 readonly hrmpMaxMessageNumPerCandidate: u32;2499 readonly validationUpgradeCooldown: u32;2500 readonly validationUpgradeDelay: u32;2501}25022503/** @name PolkadotPrimitivesV2AbridgedHrmpChannel */2504export interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {2505 readonly maxCapacity: u32;2506 readonly maxTotalSize: u32;2507 readonly maxMessageSize: u32;2508 readonly msgCount: u32;2509 readonly totalSize: u32;2510 readonly mqcHead: Option<H256>;2511}25122513/** @name PolkadotPrimitivesV2PersistedValidationData */2514export interface PolkadotPrimitivesV2PersistedValidationData extends Struct {2515 readonly parentHead: Bytes;2516 readonly relayParentNumber: u32;2517 readonly relayParentStorageRoot: H256;2518 readonly maxPovSize: u32;2519}25202521/** @name PolkadotPrimitivesV2UpgradeRestriction */2522export interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {2523 readonly isPresent: boolean;2524 readonly type: 'Present';2525}25262527/** @name RmrkTraitsBaseBaseInfo */2528export interface RmrkTraitsBaseBaseInfo extends Struct {2529 readonly issuer: AccountId32;2530 readonly baseType: Bytes;2531 readonly symbol: Bytes;2532}25332534/** @name RmrkTraitsCollectionCollectionInfo */2535export interface RmrkTraitsCollectionCollectionInfo extends Struct {2536 readonly issuer: AccountId32;2537 readonly metadata: Bytes;2538 readonly max: Option<u32>;2539 readonly symbol: Bytes;2540 readonly nftsCount: u32;2541}25422543/** @name RmrkTraitsNftAccountIdOrCollectionNftTuple */2544export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {2545 readonly isAccountId: boolean;2546 readonly asAccountId: AccountId32;2547 readonly isCollectionAndNftTuple: boolean;2548 readonly asCollectionAndNftTuple: ITuple<[u32, u32]>;2549 readonly type: 'AccountId' | 'CollectionAndNftTuple';2550}25512552/** @name RmrkTraitsNftNftChild */2553export interface RmrkTraitsNftNftChild extends Struct {2554 readonly collectionId: u32;2555 readonly nftId: u32;2556}25572558/** @name RmrkTraitsNftNftInfo */2559export interface RmrkTraitsNftNftInfo extends Struct {2560 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2561 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2562 readonly metadata: Bytes;2563 readonly equipped: bool;2564 readonly pending: bool;2565}25662567/** @name RmrkTraitsNftRoyaltyInfo */2568export interface RmrkTraitsNftRoyaltyInfo extends Struct {2569 readonly recipient: AccountId32;2570 readonly amount: Permill;2571}25722573/** @name RmrkTraitsPartEquippableList */2574export interface RmrkTraitsPartEquippableList extends Enum {2575 readonly isAll: boolean;2576 readonly isEmpty: boolean;2577 readonly isCustom: boolean;2578 readonly asCustom: Vec<u32>;2579 readonly type: 'All' | 'Empty' | 'Custom';2580}25812582/** @name RmrkTraitsPartFixedPart */2583export interface RmrkTraitsPartFixedPart extends Struct {2584 readonly id: u32;2585 readonly z: u32;2586 readonly src: Bytes;2587}25882589/** @name RmrkTraitsPartPartType */2590export interface RmrkTraitsPartPartType extends Enum {2591 readonly isFixedPart: boolean;2592 readonly asFixedPart: RmrkTraitsPartFixedPart;2593 readonly isSlotPart: boolean;2594 readonly asSlotPart: RmrkTraitsPartSlotPart;2595 readonly type: 'FixedPart' | 'SlotPart';2596}25972598/** @name RmrkTraitsPartSlotPart */2599export interface RmrkTraitsPartSlotPart extends Struct {2600 readonly id: u32;2601 readonly equippable: RmrkTraitsPartEquippableList;2602 readonly src: Bytes;2603 readonly z: u32;2604}26052606/** @name RmrkTraitsPropertyPropertyInfo */2607export interface RmrkTraitsPropertyPropertyInfo extends Struct {2608 readonly key: Bytes;2609 readonly value: Bytes;2610}26112612/** @name RmrkTraitsResourceBasicResource */2613export interface RmrkTraitsResourceBasicResource extends Struct {2614 readonly src: Option<Bytes>;2615 readonly metadata: Option<Bytes>;2616 readonly license: Option<Bytes>;2617 readonly thumb: Option<Bytes>;2618}26192620/** @name RmrkTraitsResourceComposableResource */2621export interface RmrkTraitsResourceComposableResource extends Struct {2622 readonly parts: Vec<u32>;2623 readonly base: u32;2624 readonly src: Option<Bytes>;2625 readonly metadata: Option<Bytes>;2626 readonly license: Option<Bytes>;2627 readonly thumb: Option<Bytes>;2628}26292630/** @name RmrkTraitsResourceResourceInfo */2631export interface RmrkTraitsResourceResourceInfo extends Struct {2632 readonly id: u32;2633 readonly resource: RmrkTraitsResourceResourceTypes;2634 readonly pending: bool;2635 readonly pendingRemoval: bool;2636}26372638/** @name RmrkTraitsResourceResourceTypes */2639export interface RmrkTraitsResourceResourceTypes extends Enum {2640 readonly isBasic: boolean;2641 readonly asBasic: RmrkTraitsResourceBasicResource;2642 readonly isComposable: boolean;2643 readonly asComposable: RmrkTraitsResourceComposableResource;2644 readonly isSlot: boolean;2645 readonly asSlot: RmrkTraitsResourceSlotResource;2646 readonly type: 'Basic' | 'Composable' | 'Slot';2647}26482649/** @name RmrkTraitsResourceSlotResource */2650export interface RmrkTraitsResourceSlotResource extends Struct {2651 readonly base: u32;2652 readonly src: Option<Bytes>;2653 readonly metadata: Option<Bytes>;2654 readonly slot: u32;2655 readonly license: Option<Bytes>;2656 readonly thumb: Option<Bytes>;2657}26582659/** @name RmrkTraitsTheme */2660export interface RmrkTraitsTheme extends Struct {2661 readonly name: Bytes;2662 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2663 readonly inherit: bool;2664}26652666/** @name RmrkTraitsThemeThemeProperty */2667export interface RmrkTraitsThemeThemeProperty extends Struct {2668 readonly key: Bytes;2669 readonly value: Bytes;2670}26712672/** @name SpCoreEcdsaSignature */2673export interface SpCoreEcdsaSignature extends U8aFixed {}26742675/** @name SpCoreEd25519Signature */2676export interface SpCoreEd25519Signature extends U8aFixed {}26772678/** @name SpCoreSr25519Signature */2679export interface SpCoreSr25519Signature extends U8aFixed {}26802681/** @name SpRuntimeArithmeticError */2682export interface SpRuntimeArithmeticError extends Enum {2683 readonly isUnderflow: boolean;2684 readonly isOverflow: boolean;2685 readonly isDivisionByZero: boolean;2686 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2687}26882689/** @name SpRuntimeDigest */2690export interface SpRuntimeDigest extends Struct {2691 readonly logs: Vec<SpRuntimeDigestDigestItem>;2692}26932694/** @name SpRuntimeDigestDigestItem */2695export interface SpRuntimeDigestDigestItem extends Enum {2696 readonly isOther: boolean;2697 readonly asOther: Bytes;2698 readonly isConsensus: boolean;2699 readonly asConsensus: ITuple<[U8aFixed, Bytes]>;2700 readonly isSeal: boolean;2701 readonly asSeal: ITuple<[U8aFixed, Bytes]>;2702 readonly isPreRuntime: boolean;2703 readonly asPreRuntime: ITuple<[U8aFixed, Bytes]>;2704 readonly isRuntimeEnvironmentUpdated: boolean;2705 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2706}27072708/** @name SpRuntimeDispatchError */2709export interface SpRuntimeDispatchError extends Enum {2710 readonly isOther: boolean;2711 readonly isCannotLookup: boolean;2712 readonly isBadOrigin: boolean;2713 readonly isModule: boolean;2714 readonly asModule: SpRuntimeModuleError;2715 readonly isConsumerRemaining: boolean;2716 readonly isNoProviders: boolean;2717 readonly isTooManyConsumers: boolean;2718 readonly isToken: boolean;2719 readonly asToken: SpRuntimeTokenError;2720 readonly isArithmetic: boolean;2721 readonly asArithmetic: SpRuntimeArithmeticError;2722 readonly isTransactional: boolean;2723 readonly asTransactional: SpRuntimeTransactionalError;2724 readonly isExhausted: boolean;2725 readonly isCorruption: boolean;2726 readonly isUnavailable: boolean;2727 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';2728}27292730/** @name SpRuntimeModuleError */2731export interface SpRuntimeModuleError extends Struct {2732 readonly index: u8;2733 readonly error: U8aFixed;2734}27352736/** @name SpRuntimeMultiSignature */2737export interface SpRuntimeMultiSignature extends Enum {2738 readonly isEd25519: boolean;2739 readonly asEd25519: SpCoreEd25519Signature;2740 readonly isSr25519: boolean;2741 readonly asSr25519: SpCoreSr25519Signature;2742 readonly isEcdsa: boolean;2743 readonly asEcdsa: SpCoreEcdsaSignature;2744 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2745}27462747/** @name SpRuntimeTokenError */2748export interface SpRuntimeTokenError extends Enum {2749 readonly isNoFunds: boolean;2750 readonly isWouldDie: boolean;2751 readonly isBelowMinimum: boolean;2752 readonly isCannotCreate: boolean;2753 readonly isUnknownAsset: boolean;2754 readonly isFrozen: boolean;2755 readonly isUnsupported: boolean;2756 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2757}27582759/** @name SpRuntimeTransactionalError */2760export interface SpRuntimeTransactionalError extends Enum {2761 readonly isLimitReached: boolean;2762 readonly isNoLayer: boolean;2763 readonly type: 'LimitReached' | 'NoLayer';2764}27652766/** @name SpTrieStorageProof */2767export interface SpTrieStorageProof extends Struct {2768 readonly trieNodes: BTreeSet<Bytes>;2769}27702771/** @name SpVersionRuntimeVersion */2772export interface SpVersionRuntimeVersion extends Struct {2773 readonly specName: Text;2774 readonly implName: Text;2775 readonly authoringVersion: u32;2776 readonly specVersion: u32;2777 readonly implVersion: u32;2778 readonly apis: Vec<ITuple<[U8aFixed, u32]>>;2779 readonly transactionVersion: u32;2780 readonly stateVersion: u8;2781}27822783/** @name SpWeightsRuntimeDbWeight */2784export interface SpWeightsRuntimeDbWeight extends Struct {2785 readonly read: u64;2786 readonly write: u64;2787}27882789/** @name SpWeightsWeightV2Weight */2790export interface SpWeightsWeightV2Weight extends Struct {2791 readonly refTime: Compact<u64>;2792 readonly proofSize: Compact<u64>;2793}27942795/** @name UpDataStructsAccessMode */2796export interface UpDataStructsAccessMode extends Enum {2797 readonly isNormal: boolean;2798 readonly isAllowList: boolean;2799 readonly type: 'Normal' | 'AllowList';2800}28012802/** @name UpDataStructsCollection */2803export interface UpDataStructsCollection extends Struct {2804 readonly owner: AccountId32;2805 readonly mode: UpDataStructsCollectionMode;2806 readonly name: Vec<u16>;2807 readonly description: Vec<u16>;2808 readonly tokenPrefix: Bytes;2809 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2810 readonly limits: UpDataStructsCollectionLimits;2811 readonly permissions: UpDataStructsCollectionPermissions;2812 readonly flags: U8aFixed;2813}28142815/** @name UpDataStructsCollectionLimits */2816export interface UpDataStructsCollectionLimits extends Struct {2817 readonly accountTokenOwnershipLimit: Option<u32>;2818 readonly sponsoredDataSize: Option<u32>;2819 readonly sponsoredDataRateLimit: Option<UpDataStructsSponsoringRateLimit>;2820 readonly tokenLimit: Option<u32>;2821 readonly sponsorTransferTimeout: Option<u32>;2822 readonly sponsorApproveTimeout: Option<u32>;2823 readonly ownerCanTransfer: Option<bool>;2824 readonly ownerCanDestroy: Option<bool>;2825 readonly transfersEnabled: Option<bool>;2826}28272828/** @name UpDataStructsCollectionMode */2829export interface UpDataStructsCollectionMode extends Enum {2830 readonly isNft: boolean;2831 readonly isFungible: boolean;2832 readonly asFungible: u8;2833 readonly isReFungible: boolean;2834 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2835}28362837/** @name UpDataStructsCollectionPermissions */2838export interface UpDataStructsCollectionPermissions extends Struct {2839 readonly access: Option<UpDataStructsAccessMode>;2840 readonly mintMode: Option<bool>;2841 readonly nesting: Option<UpDataStructsNestingPermissions>;2842}28432844/** @name UpDataStructsCollectionStats */2845export interface UpDataStructsCollectionStats extends Struct {2846 readonly created: u32;2847 readonly destroyed: u32;2848 readonly alive: u32;2849}28502851/** @name UpDataStructsCreateCollectionData */2852export interface UpDataStructsCreateCollectionData extends Struct {2853 readonly mode: UpDataStructsCollectionMode;2854 readonly access: Option<UpDataStructsAccessMode>;2855 readonly name: Vec<u16>;2856 readonly description: Vec<u16>;2857 readonly tokenPrefix: Bytes;2858 readonly pendingSponsor: Option<AccountId32>;2859 readonly limits: Option<UpDataStructsCollectionLimits>;2860 readonly permissions: Option<UpDataStructsCollectionPermissions>;2861 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2862 readonly properties: Vec<UpDataStructsProperty>;2863}28642865/** @name UpDataStructsCreateFungibleData */2866export interface UpDataStructsCreateFungibleData extends Struct {2867 readonly value: u128;2868}28692870/** @name UpDataStructsCreateItemData */2871export interface UpDataStructsCreateItemData extends Enum {2872 readonly isNft: boolean;2873 readonly asNft: UpDataStructsCreateNftData;2874 readonly isFungible: boolean;2875 readonly asFungible: UpDataStructsCreateFungibleData;2876 readonly isReFungible: boolean;2877 readonly asReFungible: UpDataStructsCreateReFungibleData;2878 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2879}28802881/** @name UpDataStructsCreateItemExData */2882export interface UpDataStructsCreateItemExData extends Enum {2883 readonly isNft: boolean;2884 readonly asNft: Vec<UpDataStructsCreateNftExData>;2885 readonly isFungible: boolean;2886 readonly asFungible: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr,u128>;2887 readonly isRefungibleMultipleItems: boolean;2888 readonly asRefungibleMultipleItems: Vec<UpDataStructsCreateRefungibleExSingleOwner>;2889 readonly isRefungibleMultipleOwners: boolean;2890 readonly asRefungibleMultipleOwners: UpDataStructsCreateRefungibleExMultipleOwners;2891 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2892}28932894/** @name UpDataStructsCreateNftData */2895export interface UpDataStructsCreateNftData extends Struct {2896 readonly properties: Vec<UpDataStructsProperty>;2897}28982899/** @name UpDataStructsCreateNftExData */2900export interface UpDataStructsCreateNftExData extends Struct {2901 readonly properties: Vec<UpDataStructsProperty>;2902 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2903}29042905/** @name UpDataStructsCreateReFungibleData */2906export interface UpDataStructsCreateReFungibleData extends Struct {2907 readonly pieces: u128;2908 readonly properties: Vec<UpDataStructsProperty>;2909}29102911/** @name UpDataStructsCreateRefungibleExMultipleOwners */2912export interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2913 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2914 readonly properties: Vec<UpDataStructsProperty>;2915}29162917/** @name UpDataStructsCreateRefungibleExSingleOwner */2918export interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2919 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2920 readonly pieces: u128;2921 readonly properties: Vec<UpDataStructsProperty>;2922}29232924/** @name UpDataStructsNestingPermissions */2925export interface UpDataStructsNestingPermissions extends Struct {2926 readonly tokenOwner: bool;2927 readonly collectionAdmin: bool;2928 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2929}29302931/** @name UpDataStructsOwnerRestrictedSet */2932export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}29332934/** @name UpDataStructsProperties */2935export interface UpDataStructsProperties extends Struct {2936 readonly map: UpDataStructsPropertiesMapBoundedVec;2937 readonly consumedSpace: u32;2938 readonly spaceLimit: u32;2939}29402941/** @name UpDataStructsPropertiesMapBoundedVec */2942export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}29432944/** @name UpDataStructsPropertiesMapPropertyPermission */2945export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}29462947/** @name UpDataStructsProperty */2948export interface UpDataStructsProperty extends Struct {2949 readonly key: Bytes;2950 readonly value: Bytes;2951}29522953/** @name UpDataStructsPropertyKeyPermission */2954export interface UpDataStructsPropertyKeyPermission extends Struct {2955 readonly key: Bytes;2956 readonly permission: UpDataStructsPropertyPermission;2957}29582959/** @name UpDataStructsPropertyPermission */2960export interface UpDataStructsPropertyPermission extends Struct {2961 readonly mutable: bool;2962 readonly collectionAdmin: bool;2963 readonly tokenOwner: bool;2964}29652966/** @name UpDataStructsPropertyScope */2967export interface UpDataStructsPropertyScope extends Enum {2968 readonly isNone: boolean;2969 readonly isRmrk: boolean;2970 readonly type: 'None' | 'Rmrk';2971}29722973/** @name UpDataStructsRpcCollection */2974export interface UpDataStructsRpcCollection extends Struct {2975 readonly owner: AccountId32;2976 readonly mode: UpDataStructsCollectionMode;2977 readonly name: Vec<u16>;2978 readonly description: Vec<u16>;2979 readonly tokenPrefix: Bytes;2980 readonly sponsorship: UpDataStructsSponsorshipStateAccountId32;2981 readonly limits: UpDataStructsCollectionLimits;2982 readonly permissions: UpDataStructsCollectionPermissions;2983 readonly tokenPropertyPermissions: Vec<UpDataStructsPropertyKeyPermission>;2984 readonly properties: Vec<UpDataStructsProperty>;2985 readonly readOnly: bool;2986 readonly flags: UpDataStructsRpcCollectionFlags;2987}29882989/** @name UpDataStructsRpcCollectionFlags */2990export interface UpDataStructsRpcCollectionFlags extends Struct {2991 readonly foreign: bool;2992 readonly erc721metadata: bool;2993}29942995/** @name UpDataStructsSponsoringRateLimit */2996export interface UpDataStructsSponsoringRateLimit extends Enum {2997 readonly isSponsoringDisabled: boolean;2998 readonly isBlocks: boolean;2999 readonly asBlocks: u32;3000 readonly type: 'SponsoringDisabled' | 'Blocks';3001}30023003/** @name UpDataStructsSponsorshipStateAccountId32 */3004export interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3005 readonly isDisabled: boolean;3006 readonly isUnconfirmed: boolean;3007 readonly asUnconfirmed: AccountId32;3008 readonly isConfirmed: boolean;3009 readonly asConfirmed: AccountId32;3010 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3011}30123013/** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr */3014export interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3015 readonly isDisabled: boolean;3016 readonly isUnconfirmed: boolean;3017 readonly asUnconfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3018 readonly isConfirmed: boolean;3019 readonly asConfirmed: PalletEvmAccountBasicCrossAccountIdRepr;3020 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3021}30223023/** @name UpDataStructsTokenChild */3024export interface UpDataStructsTokenChild extends Struct {3025 readonly token: u32;3026 readonly collection: u32;3027}30283029/** @name UpDataStructsTokenData */3030export interface UpDataStructsTokenData extends Struct {3031 readonly properties: Vec<UpDataStructsProperty>;3032 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3033 readonly pieces: u128;3034}30353036/** @name XcmDoubleEncoded */3037export interface XcmDoubleEncoded extends Struct {3038 readonly encoded: Bytes;3039}30403041/** @name XcmV0Junction */3042export interface XcmV0Junction extends Enum {3043 readonly isParent: boolean;3044 readonly isParachain: boolean;3045 readonly asParachain: Compact<u32>;3046 readonly isAccountId32: boolean;3047 readonly asAccountId32: {3048 readonly network: XcmV0JunctionNetworkId;3049 readonly id: U8aFixed;3050 } & Struct;3051 readonly isAccountIndex64: boolean;3052 readonly asAccountIndex64: {3053 readonly network: XcmV0JunctionNetworkId;3054 readonly index: Compact<u64>;3055 } & Struct;3056 readonly isAccountKey20: boolean;3057 readonly asAccountKey20: {3058 readonly network: XcmV0JunctionNetworkId;3059 readonly key: U8aFixed;3060 } & Struct;3061 readonly isPalletInstance: boolean;3062 readonly asPalletInstance: u8;3063 readonly isGeneralIndex: boolean;3064 readonly asGeneralIndex: Compact<u128>;3065 readonly isGeneralKey: boolean;3066 readonly asGeneralKey: Bytes;3067 readonly isOnlyChild: boolean;3068 readonly isPlurality: boolean;3069 readonly asPlurality: {3070 readonly id: XcmV0JunctionBodyId;3071 readonly part: XcmV0JunctionBodyPart;3072 } & Struct;3073 readonly type: 'Parent' | 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3074}30753076/** @name XcmV0JunctionBodyId */3077export interface XcmV0JunctionBodyId extends Enum {3078 readonly isUnit: boolean;3079 readonly isNamed: boolean;3080 readonly asNamed: Bytes;3081 readonly isIndex: boolean;3082 readonly asIndex: Compact<u32>;3083 readonly isExecutive: boolean;3084 readonly isTechnical: boolean;3085 readonly isLegislative: boolean;3086 readonly isJudicial: boolean;3087 readonly type: 'Unit' | 'Named' | 'Index' | 'Executive' | 'Technical' | 'Legislative' | 'Judicial';3088}30893090/** @name XcmV0JunctionBodyPart */3091export interface XcmV0JunctionBodyPart extends Enum {3092 readonly isVoice: boolean;3093 readonly isMembers: boolean;3094 readonly asMembers: {3095 readonly count: Compact<u32>;3096 } & Struct;3097 readonly isFraction: boolean;3098 readonly asFraction: {3099 readonly nom: Compact<u32>;3100 readonly denom: Compact<u32>;3101 } & Struct;3102 readonly isAtLeastProportion: boolean;3103 readonly asAtLeastProportion: {3104 readonly nom: Compact<u32>;3105 readonly denom: Compact<u32>;3106 } & Struct;3107 readonly isMoreThanProportion: boolean;3108 readonly asMoreThanProportion: {3109 readonly nom: Compact<u32>;3110 readonly denom: Compact<u32>;3111 } & Struct;3112 readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';3113}31143115/** @name XcmV0JunctionNetworkId */3116export interface XcmV0JunctionNetworkId extends Enum {3117 readonly isAny: boolean;3118 readonly isNamed: boolean;3119 readonly asNamed: Bytes;3120 readonly isPolkadot: boolean;3121 readonly isKusama: boolean;3122 readonly type: 'Any' | 'Named' | 'Polkadot' | 'Kusama';3123}31243125/** @name XcmV0MultiAsset */3126export interface XcmV0MultiAsset extends Enum {3127 readonly isNone: boolean;3128 readonly isAll: boolean;3129 readonly isAllFungible: boolean;3130 readonly isAllNonFungible: boolean;3131 readonly isAllAbstractFungible: boolean;3132 readonly asAllAbstractFungible: {3133 readonly id: Bytes;3134 } & Struct;3135 readonly isAllAbstractNonFungible: boolean;3136 readonly asAllAbstractNonFungible: {3137 readonly class: Bytes;3138 } & Struct;3139 readonly isAllConcreteFungible: boolean;3140 readonly asAllConcreteFungible: {3141 readonly id: XcmV0MultiLocation;3142 } & Struct;3143 readonly isAllConcreteNonFungible: boolean;3144 readonly asAllConcreteNonFungible: {3145 readonly class: XcmV0MultiLocation;3146 } & Struct;3147 readonly isAbstractFungible: boolean;3148 readonly asAbstractFungible: {3149 readonly id: Bytes;3150 readonly amount: Compact<u128>;3151 } & Struct;3152 readonly isAbstractNonFungible: boolean;3153 readonly asAbstractNonFungible: {3154 readonly class: Bytes;3155 readonly instance: XcmV1MultiassetAssetInstance;3156 } & Struct;3157 readonly isConcreteFungible: boolean;3158 readonly asConcreteFungible: {3159 readonly id: XcmV0MultiLocation;3160 readonly amount: Compact<u128>;3161 } & Struct;3162 readonly isConcreteNonFungible: boolean;3163 readonly asConcreteNonFungible: {3164 readonly class: XcmV0MultiLocation;3165 readonly instance: XcmV1MultiassetAssetInstance;3166 } & Struct;3167 readonly type: 'None' | 'All' | 'AllFungible' | 'AllNonFungible' | 'AllAbstractFungible' | 'AllAbstractNonFungible' | 'AllConcreteFungible' | 'AllConcreteNonFungible' | 'AbstractFungible' | 'AbstractNonFungible' | 'ConcreteFungible' | 'ConcreteNonFungible';3168}31693170/** @name XcmV0MultiLocation */3171export interface XcmV0MultiLocation extends Enum {3172 readonly isNull: boolean;3173 readonly isX1: boolean;3174 readonly asX1: XcmV0Junction;3175 readonly isX2: boolean;3176 readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;3177 readonly isX3: boolean;3178 readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3179 readonly isX4: boolean;3180 readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3181 readonly isX5: boolean;3182 readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3183 readonly isX6: boolean;3184 readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3185 readonly isX7: boolean;3186 readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3187 readonly isX8: boolean;3188 readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;3189 readonly type: 'Null' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3190}31913192/** @name XcmV0Order */3193export interface XcmV0Order extends Enum {3194 readonly isNull: boolean;3195 readonly isDepositAsset: boolean;3196 readonly asDepositAsset: {3197 readonly assets: Vec<XcmV0MultiAsset>;3198 readonly dest: XcmV0MultiLocation;3199 } & Struct;3200 readonly isDepositReserveAsset: boolean;3201 readonly asDepositReserveAsset: {3202 readonly assets: Vec<XcmV0MultiAsset>;3203 readonly dest: XcmV0MultiLocation;3204 readonly effects: Vec<XcmV0Order>;3205 } & Struct;3206 readonly isExchangeAsset: boolean;3207 readonly asExchangeAsset: {3208 readonly give: Vec<XcmV0MultiAsset>;3209 readonly receive: Vec<XcmV0MultiAsset>;3210 } & Struct;3211 readonly isInitiateReserveWithdraw: boolean;3212 readonly asInitiateReserveWithdraw: {3213 readonly assets: Vec<XcmV0MultiAsset>;3214 readonly reserve: XcmV0MultiLocation;3215 readonly effects: Vec<XcmV0Order>;3216 } & Struct;3217 readonly isInitiateTeleport: boolean;3218 readonly asInitiateTeleport: {3219 readonly assets: Vec<XcmV0MultiAsset>;3220 readonly dest: XcmV0MultiLocation;3221 readonly effects: Vec<XcmV0Order>;3222 } & Struct;3223 readonly isQueryHolding: boolean;3224 readonly asQueryHolding: {3225 readonly queryId: Compact<u64>;3226 readonly dest: XcmV0MultiLocation;3227 readonly assets: Vec<XcmV0MultiAsset>;3228 } & Struct;3229 readonly isBuyExecution: boolean;3230 readonly asBuyExecution: {3231 readonly fees: XcmV0MultiAsset;3232 readonly weight: u64;3233 readonly debt: u64;3234 readonly haltOnError: bool;3235 readonly xcm: Vec<XcmV0Xcm>;3236 } & Struct;3237 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3238}32393240/** @name XcmV0OriginKind */3241export interface XcmV0OriginKind extends Enum {3242 readonly isNative: boolean;3243 readonly isSovereignAccount: boolean;3244 readonly isSuperuser: boolean;3245 readonly isXcm: boolean;3246 readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';3247}32483249/** @name XcmV0Response */3250export interface XcmV0Response extends Enum {3251 readonly isAssets: boolean;3252 readonly asAssets: Vec<XcmV0MultiAsset>;3253 readonly type: 'Assets';3254}32553256/** @name XcmV0Xcm */3257export interface XcmV0Xcm extends Enum {3258 readonly isWithdrawAsset: boolean;3259 readonly asWithdrawAsset: {3260 readonly assets: Vec<XcmV0MultiAsset>;3261 readonly effects: Vec<XcmV0Order>;3262 } & Struct;3263 readonly isReserveAssetDeposit: boolean;3264 readonly asReserveAssetDeposit: {3265 readonly assets: Vec<XcmV0MultiAsset>;3266 readonly effects: Vec<XcmV0Order>;3267 } & Struct;3268 readonly isTeleportAsset: boolean;3269 readonly asTeleportAsset: {3270 readonly assets: Vec<XcmV0MultiAsset>;3271 readonly effects: Vec<XcmV0Order>;3272 } & Struct;3273 readonly isQueryResponse: boolean;3274 readonly asQueryResponse: {3275 readonly queryId: Compact<u64>;3276 readonly response: XcmV0Response;3277 } & Struct;3278 readonly isTransferAsset: boolean;3279 readonly asTransferAsset: {3280 readonly assets: Vec<XcmV0MultiAsset>;3281 readonly dest: XcmV0MultiLocation;3282 } & Struct;3283 readonly isTransferReserveAsset: boolean;3284 readonly asTransferReserveAsset: {3285 readonly assets: Vec<XcmV0MultiAsset>;3286 readonly dest: XcmV0MultiLocation;3287 readonly effects: Vec<XcmV0Order>;3288 } & Struct;3289 readonly isTransact: boolean;3290 readonly asTransact: {3291 readonly originType: XcmV0OriginKind;3292 readonly requireWeightAtMost: u64;3293 readonly call: XcmDoubleEncoded;3294 } & Struct;3295 readonly isHrmpNewChannelOpenRequest: boolean;3296 readonly asHrmpNewChannelOpenRequest: {3297 readonly sender: Compact<u32>;3298 readonly maxMessageSize: Compact<u32>;3299 readonly maxCapacity: Compact<u32>;3300 } & Struct;3301 readonly isHrmpChannelAccepted: boolean;3302 readonly asHrmpChannelAccepted: {3303 readonly recipient: Compact<u32>;3304 } & Struct;3305 readonly isHrmpChannelClosing: boolean;3306 readonly asHrmpChannelClosing: {3307 readonly initiator: Compact<u32>;3308 readonly sender: Compact<u32>;3309 readonly recipient: Compact<u32>;3310 } & Struct;3311 readonly isRelayedFrom: boolean;3312 readonly asRelayedFrom: {3313 readonly who: XcmV0MultiLocation;3314 readonly message: XcmV0Xcm;3315 } & Struct;3316 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';3317}33183319/** @name XcmV1Junction */3320export interface XcmV1Junction extends Enum {3321 readonly isParachain: boolean;3322 readonly asParachain: Compact<u32>;3323 readonly isAccountId32: boolean;3324 readonly asAccountId32: {3325 readonly network: XcmV0JunctionNetworkId;3326 readonly id: U8aFixed;3327 } & Struct;3328 readonly isAccountIndex64: boolean;3329 readonly asAccountIndex64: {3330 readonly network: XcmV0JunctionNetworkId;3331 readonly index: Compact<u64>;3332 } & Struct;3333 readonly isAccountKey20: boolean;3334 readonly asAccountKey20: {3335 readonly network: XcmV0JunctionNetworkId;3336 readonly key: U8aFixed;3337 } & Struct;3338 readonly isPalletInstance: boolean;3339 readonly asPalletInstance: u8;3340 readonly isGeneralIndex: boolean;3341 readonly asGeneralIndex: Compact<u128>;3342 readonly isGeneralKey: boolean;3343 readonly asGeneralKey: Bytes;3344 readonly isOnlyChild: boolean;3345 readonly isPlurality: boolean;3346 readonly asPlurality: {3347 readonly id: XcmV0JunctionBodyId;3348 readonly part: XcmV0JunctionBodyPart;3349 } & Struct;3350 readonly type: 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality';3351}33523353/** @name XcmV1MultiAsset */3354export interface XcmV1MultiAsset extends Struct {3355 readonly id: XcmV1MultiassetAssetId;3356 readonly fun: XcmV1MultiassetFungibility;3357}33583359/** @name XcmV1MultiassetAssetId */3360export interface XcmV1MultiassetAssetId extends Enum {3361 readonly isConcrete: boolean;3362 readonly asConcrete: XcmV1MultiLocation;3363 readonly isAbstract: boolean;3364 readonly asAbstract: Bytes;3365 readonly type: 'Concrete' | 'Abstract';3366}33673368/** @name XcmV1MultiassetAssetInstance */3369export interface XcmV1MultiassetAssetInstance extends Enum {3370 readonly isUndefined: boolean;3371 readonly isIndex: boolean;3372 readonly asIndex: Compact<u128>;3373 readonly isArray4: boolean;3374 readonly asArray4: U8aFixed;3375 readonly isArray8: boolean;3376 readonly asArray8: U8aFixed;3377 readonly isArray16: boolean;3378 readonly asArray16: U8aFixed;3379 readonly isArray32: boolean;3380 readonly asArray32: U8aFixed;3381 readonly isBlob: boolean;3382 readonly asBlob: Bytes;3383 readonly type: 'Undefined' | 'Index' | 'Array4' | 'Array8' | 'Array16' | 'Array32' | 'Blob';3384}33853386/** @name XcmV1MultiassetFungibility */3387export interface XcmV1MultiassetFungibility extends Enum {3388 readonly isFungible: boolean;3389 readonly asFungible: Compact<u128>;3390 readonly isNonFungible: boolean;3391 readonly asNonFungible: XcmV1MultiassetAssetInstance;3392 readonly type: 'Fungible' | 'NonFungible';3393}33943395/** @name XcmV1MultiassetMultiAssetFilter */3396export interface XcmV1MultiassetMultiAssetFilter extends Enum {3397 readonly isDefinite: boolean;3398 readonly asDefinite: XcmV1MultiassetMultiAssets;3399 readonly isWild: boolean;3400 readonly asWild: XcmV1MultiassetWildMultiAsset;3401 readonly type: 'Definite' | 'Wild';3402}34033404/** @name XcmV1MultiassetMultiAssets */3405export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}34063407/** @name XcmV1MultiassetWildFungibility */3408export interface XcmV1MultiassetWildFungibility extends Enum {3409 readonly isFungible: boolean;3410 readonly isNonFungible: boolean;3411 readonly type: 'Fungible' | 'NonFungible';3412}34133414/** @name XcmV1MultiassetWildMultiAsset */3415export interface XcmV1MultiassetWildMultiAsset extends Enum {3416 readonly isAll: boolean;3417 readonly isAllOf: boolean;3418 readonly asAllOf: {3419 readonly id: XcmV1MultiassetAssetId;3420 readonly fun: XcmV1MultiassetWildFungibility;3421 } & Struct;3422 readonly type: 'All' | 'AllOf';3423}34243425/** @name XcmV1MultiLocation */3426export interface XcmV1MultiLocation extends Struct {3427 readonly parents: u8;3428 readonly interior: XcmV1MultilocationJunctions;3429}34303431/** @name XcmV1MultilocationJunctions */3432export interface XcmV1MultilocationJunctions extends Enum {3433 readonly isHere: boolean;3434 readonly isX1: boolean;3435 readonly asX1: XcmV1Junction;3436 readonly isX2: boolean;3437 readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;3438 readonly isX3: boolean;3439 readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3440 readonly isX4: boolean;3441 readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3442 readonly isX5: boolean;3443 readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3444 readonly isX6: boolean;3445 readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3446 readonly isX7: boolean;3447 readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3448 readonly isX8: boolean;3449 readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;3450 readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8';3451}34523453/** @name XcmV1Order */3454export interface XcmV1Order extends Enum {3455 readonly isNoop: boolean;3456 readonly isDepositAsset: boolean;3457 readonly asDepositAsset: {3458 readonly assets: XcmV1MultiassetMultiAssetFilter;3459 readonly maxAssets: u32;3460 readonly beneficiary: XcmV1MultiLocation;3461 } & Struct;3462 readonly isDepositReserveAsset: boolean;3463 readonly asDepositReserveAsset: {3464 readonly assets: XcmV1MultiassetMultiAssetFilter;3465 readonly maxAssets: u32;3466 readonly dest: XcmV1MultiLocation;3467 readonly effects: Vec<XcmV1Order>;3468 } & Struct;3469 readonly isExchangeAsset: boolean;3470 readonly asExchangeAsset: {3471 readonly give: XcmV1MultiassetMultiAssetFilter;3472 readonly receive: XcmV1MultiassetMultiAssets;3473 } & Struct;3474 readonly isInitiateReserveWithdraw: boolean;3475 readonly asInitiateReserveWithdraw: {3476 readonly assets: XcmV1MultiassetMultiAssetFilter;3477 readonly reserve: XcmV1MultiLocation;3478 readonly effects: Vec<XcmV1Order>;3479 } & Struct;3480 readonly isInitiateTeleport: boolean;3481 readonly asInitiateTeleport: {3482 readonly assets: XcmV1MultiassetMultiAssetFilter;3483 readonly dest: XcmV1MultiLocation;3484 readonly effects: Vec<XcmV1Order>;3485 } & Struct;3486 readonly isQueryHolding: boolean;3487 readonly asQueryHolding: {3488 readonly queryId: Compact<u64>;3489 readonly dest: XcmV1MultiLocation;3490 readonly assets: XcmV1MultiassetMultiAssetFilter;3491 } & Struct;3492 readonly isBuyExecution: boolean;3493 readonly asBuyExecution: {3494 readonly fees: XcmV1MultiAsset;3495 readonly weight: u64;3496 readonly debt: u64;3497 readonly haltOnError: bool;3498 readonly instructions: Vec<XcmV1Xcm>;3499 } & Struct;3500 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';3501}35023503/** @name XcmV1Response */3504export interface XcmV1Response extends Enum {3505 readonly isAssets: boolean;3506 readonly asAssets: XcmV1MultiassetMultiAssets;3507 readonly isVersion: boolean;3508 readonly asVersion: u32;3509 readonly type: 'Assets' | 'Version';3510}35113512/** @name XcmV1Xcm */3513export interface XcmV1Xcm extends Enum {3514 readonly isWithdrawAsset: boolean;3515 readonly asWithdrawAsset: {3516 readonly assets: XcmV1MultiassetMultiAssets;3517 readonly effects: Vec<XcmV1Order>;3518 } & Struct;3519 readonly isReserveAssetDeposited: boolean;3520 readonly asReserveAssetDeposited: {3521 readonly assets: XcmV1MultiassetMultiAssets;3522 readonly effects: Vec<XcmV1Order>;3523 } & Struct;3524 readonly isReceiveTeleportedAsset: boolean;3525 readonly asReceiveTeleportedAsset: {3526 readonly assets: XcmV1MultiassetMultiAssets;3527 readonly effects: Vec<XcmV1Order>;3528 } & Struct;3529 readonly isQueryResponse: boolean;3530 readonly asQueryResponse: {3531 readonly queryId: Compact<u64>;3532 readonly response: XcmV1Response;3533 } & Struct;3534 readonly isTransferAsset: boolean;3535 readonly asTransferAsset: {3536 readonly assets: XcmV1MultiassetMultiAssets;3537 readonly beneficiary: XcmV1MultiLocation;3538 } & Struct;3539 readonly isTransferReserveAsset: boolean;3540 readonly asTransferReserveAsset: {3541 readonly assets: XcmV1MultiassetMultiAssets;3542 readonly dest: XcmV1MultiLocation;3543 readonly effects: Vec<XcmV1Order>;3544 } & Struct;3545 readonly isTransact: boolean;3546 readonly asTransact: {3547 readonly originType: XcmV0OriginKind;3548 readonly requireWeightAtMost: u64;3549 readonly call: XcmDoubleEncoded;3550 } & Struct;3551 readonly isHrmpNewChannelOpenRequest: boolean;3552 readonly asHrmpNewChannelOpenRequest: {3553 readonly sender: Compact<u32>;3554 readonly maxMessageSize: Compact<u32>;3555 readonly maxCapacity: Compact<u32>;3556 } & Struct;3557 readonly isHrmpChannelAccepted: boolean;3558 readonly asHrmpChannelAccepted: {3559 readonly recipient: Compact<u32>;3560 } & Struct;3561 readonly isHrmpChannelClosing: boolean;3562 readonly asHrmpChannelClosing: {3563 readonly initiator: Compact<u32>;3564 readonly sender: Compact<u32>;3565 readonly recipient: Compact<u32>;3566 } & Struct;3567 readonly isRelayedFrom: boolean;3568 readonly asRelayedFrom: {3569 readonly who: XcmV1MultilocationJunctions;3570 readonly message: XcmV1Xcm;3571 } & Struct;3572 readonly isSubscribeVersion: boolean;3573 readonly asSubscribeVersion: {3574 readonly queryId: Compact<u64>;3575 readonly maxResponseWeight: Compact<u64>;3576 } & Struct;3577 readonly isUnsubscribeVersion: boolean;3578 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';3579}35803581/** @name XcmV2Instruction */3582export interface XcmV2Instruction extends Enum {3583 readonly isWithdrawAsset: boolean;3584 readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;3585 readonly isReserveAssetDeposited: boolean;3586 readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;3587 readonly isReceiveTeleportedAsset: boolean;3588 readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;3589 readonly isQueryResponse: boolean;3590 readonly asQueryResponse: {3591 readonly queryId: Compact<u64>;3592 readonly response: XcmV2Response;3593 readonly maxWeight: Compact<u64>;3594 } & Struct;3595 readonly isTransferAsset: boolean;3596 readonly asTransferAsset: {3597 readonly assets: XcmV1MultiassetMultiAssets;3598 readonly beneficiary: XcmV1MultiLocation;3599 } & Struct;3600 readonly isTransferReserveAsset: boolean;3601 readonly asTransferReserveAsset: {3602 readonly assets: XcmV1MultiassetMultiAssets;3603 readonly dest: XcmV1MultiLocation;3604 readonly xcm: XcmV2Xcm;3605 } & Struct;3606 readonly isTransact: boolean;3607 readonly asTransact: {3608 readonly originType: XcmV0OriginKind;3609 readonly requireWeightAtMost: Compact<u64>;3610 readonly call: XcmDoubleEncoded;3611 } & Struct;3612 readonly isHrmpNewChannelOpenRequest: boolean;3613 readonly asHrmpNewChannelOpenRequest: {3614 readonly sender: Compact<u32>;3615 readonly maxMessageSize: Compact<u32>;3616 readonly maxCapacity: Compact<u32>;3617 } & Struct;3618 readonly isHrmpChannelAccepted: boolean;3619 readonly asHrmpChannelAccepted: {3620 readonly recipient: Compact<u32>;3621 } & Struct;3622 readonly isHrmpChannelClosing: boolean;3623 readonly asHrmpChannelClosing: {3624 readonly initiator: Compact<u32>;3625 readonly sender: Compact<u32>;3626 readonly recipient: Compact<u32>;3627 } & Struct;3628 readonly isClearOrigin: boolean;3629 readonly isDescendOrigin: boolean;3630 readonly asDescendOrigin: XcmV1MultilocationJunctions;3631 readonly isReportError: boolean;3632 readonly asReportError: {3633 readonly queryId: Compact<u64>;3634 readonly dest: XcmV1MultiLocation;3635 readonly maxResponseWeight: Compact<u64>;3636 } & Struct;3637 readonly isDepositAsset: boolean;3638 readonly asDepositAsset: {3639 readonly assets: XcmV1MultiassetMultiAssetFilter;3640 readonly maxAssets: Compact<u32>;3641 readonly beneficiary: XcmV1MultiLocation;3642 } & Struct;3643 readonly isDepositReserveAsset: boolean;3644 readonly asDepositReserveAsset: {3645 readonly assets: XcmV1MultiassetMultiAssetFilter;3646 readonly maxAssets: Compact<u32>;3647 readonly dest: XcmV1MultiLocation;3648 readonly xcm: XcmV2Xcm;3649 } & Struct;3650 readonly isExchangeAsset: boolean;3651 readonly asExchangeAsset: {3652 readonly give: XcmV1MultiassetMultiAssetFilter;3653 readonly receive: XcmV1MultiassetMultiAssets;3654 } & Struct;3655 readonly isInitiateReserveWithdraw: boolean;3656 readonly asInitiateReserveWithdraw: {3657 readonly assets: XcmV1MultiassetMultiAssetFilter;3658 readonly reserve: XcmV1MultiLocation;3659 readonly xcm: XcmV2Xcm;3660 } & Struct;3661 readonly isInitiateTeleport: boolean;3662 readonly asInitiateTeleport: {3663 readonly assets: XcmV1MultiassetMultiAssetFilter;3664 readonly dest: XcmV1MultiLocation;3665 readonly xcm: XcmV2Xcm;3666 } & Struct;3667 readonly isQueryHolding: boolean;3668 readonly asQueryHolding: {3669 readonly queryId: Compact<u64>;3670 readonly dest: XcmV1MultiLocation;3671 readonly assets: XcmV1MultiassetMultiAssetFilter;3672 readonly maxResponseWeight: Compact<u64>;3673 } & Struct;3674 readonly isBuyExecution: boolean;3675 readonly asBuyExecution: {3676 readonly fees: XcmV1MultiAsset;3677 readonly weightLimit: XcmV2WeightLimit;3678 } & Struct;3679 readonly isRefundSurplus: boolean;3680 readonly isSetErrorHandler: boolean;3681 readonly asSetErrorHandler: XcmV2Xcm;3682 readonly isSetAppendix: boolean;3683 readonly asSetAppendix: XcmV2Xcm;3684 readonly isClearError: boolean;3685 readonly isClaimAsset: boolean;3686 readonly asClaimAsset: {3687 readonly assets: XcmV1MultiassetMultiAssets;3688 readonly ticket: XcmV1MultiLocation;3689 } & Struct;3690 readonly isTrap: boolean;3691 readonly asTrap: Compact<u64>;3692 readonly isSubscribeVersion: boolean;3693 readonly asSubscribeVersion: {3694 readonly queryId: Compact<u64>;3695 readonly maxResponseWeight: Compact<u64>;3696 } & Struct;3697 readonly isUnsubscribeVersion: boolean;3698 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';3699}37003701/** @name XcmV2Response */3702export interface XcmV2Response extends Enum {3703 readonly isNull: boolean;3704 readonly isAssets: boolean;3705 readonly asAssets: XcmV1MultiassetMultiAssets;3706 readonly isExecutionResult: boolean;3707 readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;3708 readonly isVersion: boolean;3709 readonly asVersion: u32;3710 readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version';3711}37123713/** @name XcmV2TraitsError */3714export interface XcmV2TraitsError extends Enum {3715 readonly isOverflow: boolean;3716 readonly isUnimplemented: boolean;3717 readonly isUntrustedReserveLocation: boolean;3718 readonly isUntrustedTeleportLocation: boolean;3719 readonly isMultiLocationFull: boolean;3720 readonly isMultiLocationNotInvertible: boolean;3721 readonly isBadOrigin: boolean;3722 readonly isInvalidLocation: boolean;3723 readonly isAssetNotFound: boolean;3724 readonly isFailedToTransactAsset: boolean;3725 readonly isNotWithdrawable: boolean;3726 readonly isLocationCannotHold: boolean;3727 readonly isExceedsMaxMessageSize: boolean;3728 readonly isDestinationUnsupported: boolean;3729 readonly isTransport: boolean;3730 readonly isUnroutable: boolean;3731 readonly isUnknownClaim: boolean;3732 readonly isFailedToDecode: boolean;3733 readonly isMaxWeightInvalid: boolean;3734 readonly isNotHoldingFees: boolean;3735 readonly isTooExpensive: boolean;3736 readonly isTrap: boolean;3737 readonly asTrap: u64;3738 readonly isUnhandledXcmVersion: boolean;3739 readonly isWeightLimitReached: boolean;3740 readonly asWeightLimitReached: u64;3741 readonly isBarrier: boolean;3742 readonly isWeightNotComputable: boolean;3743 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';3744}37453746/** @name XcmV2TraitsOutcome */3747export interface XcmV2TraitsOutcome extends Enum {3748 readonly isComplete: boolean;3749 readonly asComplete: u64;3750 readonly isIncomplete: boolean;3751 readonly asIncomplete: ITuple<[u64, XcmV2TraitsError]>;3752 readonly isError: boolean;3753 readonly asError: XcmV2TraitsError;3754 readonly type: 'Complete' | 'Incomplete' | 'Error';3755}37563757/** @name XcmV2WeightLimit */3758export interface XcmV2WeightLimit extends Enum {3759 readonly isUnlimited: boolean;3760 readonly isLimited: boolean;3761 readonly asLimited: Compact<u64>;3762 readonly type: 'Unlimited' | 'Limited';3763}37643765/** @name XcmV2Xcm */3766export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}37673768/** @name XcmVersionedMultiAsset */3769export interface XcmVersionedMultiAsset extends Enum {3770 readonly isV0: boolean;3771 readonly asV0: XcmV0MultiAsset;3772 readonly isV1: boolean;3773 readonly asV1: XcmV1MultiAsset;3774 readonly type: 'V0' | 'V1';3775}37763777/** @name XcmVersionedMultiAssets */3778export interface XcmVersionedMultiAssets extends Enum {3779 readonly isV0: boolean;3780 readonly asV0: Vec<XcmV0MultiAsset>;3781 readonly isV1: boolean;3782 readonly asV1: XcmV1MultiassetMultiAssets;3783 readonly type: 'V0' | 'V1';3784}37853786/** @name XcmVersionedMultiLocation */3787export interface XcmVersionedMultiLocation extends Enum {3788 readonly isV0: boolean;3789 readonly asV0: XcmV0MultiLocation;3790 readonly isV1: boolean;3791 readonly asV1: XcmV1MultiLocation;3792 readonly type: 'V0' | 'V1';3793}37943795/** @name XcmVersionedXcm */3796export interface XcmVersionedXcm extends Enum {3797 readonly isV0: boolean;3798 readonly asV0: XcmV0Xcm;3799 readonly isV1: boolean;3800 readonly asV1: XcmV1Xcm;3801 readonly isV2: boolean;3802 readonly asV2: XcmV2Xcm;3803 readonly type: 'V0' | 'V1' | 'V2';3804}38053806export type PHANTOM_DEFAULT = 'default';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.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1488,10 +1488,6 @@
/** @name FrameSystemCall (125) */
interface FrameSystemCall extends Enum {
- readonly isFillBlock: boolean;
- readonly asFillBlock: {
- readonly ratio: Perbill;
- } & Struct;
readonly isRemark: boolean;
readonly asRemark: {
readonly remark: Bytes;
@@ -1525,24 +1521,24 @@
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 FrameSystemLimitsBlockWeights (130) */
+ /** @name FrameSystemLimitsBlockWeights (129) */
interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: SpWeightsWeightV2Weight;
readonly maxBlock: SpWeightsWeightV2Weight;
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (131) */
+ /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (130) */
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (132) */
+ /** @name FrameSystemLimitsWeightsPerClass (131) */
interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: SpWeightsWeightV2Weight;
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
@@ -1550,25 +1546,25 @@
readonly reserved: Option<SpWeightsWeightV2Weight>;
}
- /** @name FrameSystemLimitsBlockLength (134) */
+ /** @name FrameSystemLimitsBlockLength (133) */
interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportDispatchPerDispatchClassU32;
}
- /** @name FrameSupportDispatchPerDispatchClassU32 (135) */
+ /** @name FrameSupportDispatchPerDispatchClassU32 (134) */
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name SpWeightsRuntimeDbWeight (136) */
+ /** @name SpWeightsRuntimeDbWeight (135) */
interface SpWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (137) */
+ /** @name SpVersionRuntimeVersion (136) */
interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1580,7 +1576,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (142) */
+ /** @name FrameSystemError (141) */
interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1591,7 +1587,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name PolkadotPrimitivesV2PersistedValidationData (143) */
+ /** @name PolkadotPrimitivesV2PersistedValidationData (142) */
interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -1599,18 +1595,18 @@
readonly maxPovSize: u32;
}
- /** @name PolkadotPrimitivesV2UpgradeRestriction (146) */
+ /** @name PolkadotPrimitivesV2UpgradeRestriction (145) */
interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
- /** @name SpTrieStorageProof (147) */
+ /** @name SpTrieStorageProof (146) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
- /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */
+ /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (148) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
@@ -1618,7 +1614,7 @@
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
}
- /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */
+ /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (151) */
interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -1628,7 +1624,7 @@
readonly mqcHead: Option<H256>;
}
- /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */
+ /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (152) */
interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1641,13 +1637,13 @@
readonly validationUpgradeDelay: u32;
}
- /** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */
+ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (158) */
interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemCall (160) */
+ /** @name CumulusPalletParachainSystemCall (159) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -1668,7 +1664,7 @@
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
}
- /** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */
+ /** @name CumulusPrimitivesParachainInherentParachainInherentData (160) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -1676,19 +1672,19 @@
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
- /** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */
+ /** @name PolkadotCorePrimitivesInboundDownwardMessage (162) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
- /** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */
+ /** @name PolkadotCorePrimitivesInboundHrmpMessage (165) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
- /** @name CumulusPalletParachainSystemError (169) */
+ /** @name CumulusPalletParachainSystemError (168) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -1701,14 +1697,14 @@
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
}
- /** @name PalletBalancesBalanceLock (171) */
+ /** @name PalletBalancesBalanceLock (170) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (172) */
+ /** @name PalletBalancesReasons (171) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -1716,20 +1712,13 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (175) */
+ /** @name PalletBalancesReserveData (174) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
- }
-
- /** @name PalletBalancesReleases (177) */
- interface PalletBalancesReleases extends Enum {
- readonly isV100: boolean;
- readonly isV200: boolean;
- readonly type: 'V100' | 'V200';
}
- /** @name PalletBalancesCall (178) */
+ /** @name PalletBalancesCall (176) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1766,7 +1755,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (181) */
+ /** @name PalletBalancesError (179) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -1779,7 +1768,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (183) */
+ /** @name PalletTimestampCall (181) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1788,14 +1777,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (185) */
+ /** @name PalletTransactionPaymentReleases (183) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (186) */
+ /** @name PalletTreasuryProposal (184) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -1803,7 +1792,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (189) */
+ /** @name PalletTreasuryCall (187) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -1830,10 +1819,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (192) */
+ /** @name FrameSupportPalletId (190) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (193) */
+ /** @name PalletTreasuryError (191) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -1843,7 +1832,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (194) */
+ /** @name PalletSudoCall (192) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -1866,7 +1855,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (196) */
+ /** @name OrmlVestingModuleCall (194) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -1886,7 +1875,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (198) */
+ /** @name OrmlXtokensModuleCall (196) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1933,7 +1922,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (199) */
+ /** @name XcmVersionedMultiAsset (197) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -1942,7 +1931,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (202) */
+ /** @name OrmlTokensModuleCall (200) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1979,7 +1968,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (203) */
+ /** @name CumulusPalletXcmpQueueCall (201) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2015,7 +2004,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (204) */
+ /** @name PalletXcmCall (202) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2077,7 +2066,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (205) */
+ /** @name XcmVersionedXcm (203) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2088,7 +2077,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (206) */
+ /** @name XcmV0Xcm (204) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2151,7 +2140,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (208) */
+ /** @name XcmV0Order (206) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2199,14 +2188,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (210) */
+ /** @name XcmV0Response (208) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (211) */
+ /** @name XcmV1Xcm (209) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2275,7 +2264,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (213) */
+ /** @name XcmV1Order (211) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2325,7 +2314,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (215) */
+ /** @name XcmV1Response (213) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2334,10 +2323,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (229) */
+ /** @name CumulusPalletXcmCall (227) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (230) */
+ /** @name CumulusPalletDmpQueueCall (228) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2347,7 +2336,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (231) */
+ /** @name PalletInflationCall (229) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2356,7 +2345,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (232) */
+ /** @name PalletUniqueCall (230) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2529,7 +2518,7 @@
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';
}
- /** @name UpDataStructsCollectionMode (237) */
+ /** @name UpDataStructsCollectionMode (235) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2538,7 +2527,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (238) */
+ /** @name UpDataStructsCreateCollectionData (236) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2552,14 +2541,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (240) */
+ /** @name UpDataStructsAccessMode (238) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (242) */
+ /** @name UpDataStructsCollectionLimits (240) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2572,7 +2561,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (244) */
+ /** @name UpDataStructsSponsoringRateLimit (242) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2580,43 +2569,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (247) */
+ /** @name UpDataStructsCollectionPermissions (245) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (249) */
+ /** @name UpDataStructsNestingPermissions (247) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (251) */
+ /** @name UpDataStructsOwnerRestrictedSet (249) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (256) */
+ /** @name UpDataStructsPropertyKeyPermission (254) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (257) */
+ /** @name UpDataStructsPropertyPermission (255) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (260) */
+ /** @name UpDataStructsProperty (258) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (263) */
+ /** @name UpDataStructsCreateItemData (261) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -2627,23 +2616,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (264) */
+ /** @name UpDataStructsCreateNftData (262) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (265) */
+ /** @name UpDataStructsCreateFungibleData (263) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (266) */
+ /** @name UpDataStructsCreateReFungibleData (264) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (269) */
+ /** @name UpDataStructsCreateItemExData (267) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -2656,26 +2645,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (271) */
+ /** @name UpDataStructsCreateNftExData (269) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (278) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (276) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (278) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (281) */
+ /** @name PalletConfigurationCall (279) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -2696,7 +2685,7 @@
readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';
}
- /** @name PalletConfigurationAppPromotionConfiguration (286) */
+ /** @name PalletConfigurationAppPromotionConfiguration (284) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -2704,13 +2693,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (289) */
+ /** @name PalletTemplateTransactionPaymentCall (288) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (290) */
+ /** @name PalletStructureCall (289) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (291) */
+ /** @name PalletRmrkCoreCall (290) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2816,7 +2805,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (297) */
+ /** @name RmrkTraitsResourceResourceTypes (296) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -2827,7 +2816,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (299) */
+ /** @name RmrkTraitsResourceBasicResource (298) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2835,7 +2824,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (301) */
+ /** @name RmrkTraitsResourceComposableResource (300) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -2845,7 +2834,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (302) */
+ /** @name RmrkTraitsResourceSlotResource (301) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2855,7 +2844,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (305) */
+ /** @name PalletRmrkEquipCall (304) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -2877,7 +2866,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (308) */
+ /** @name RmrkTraitsPartPartType (307) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -2886,14 +2875,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (310) */
+ /** @name RmrkTraitsPartFixedPart (309) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (311) */
+ /** @name RmrkTraitsPartSlotPart (310) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -2901,7 +2890,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (312) */
+ /** @name RmrkTraitsPartEquippableList (311) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -2910,20 +2899,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (314) */
+ /** @name RmrkTraitsTheme (313) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (316) */
+ /** @name RmrkTraitsThemeThemeProperty (315) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (318) */
+ /** @name PalletAppPromotionCall (317) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -2957,7 +2946,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletForeignAssetsModuleCall (319) */
+ /** @name PalletForeignAssetsModuleCall (318) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -2974,7 +2963,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (320) */
+ /** @name PalletEvmCall (319) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3019,7 +3008,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (326) */
+ /** @name PalletEthereumCall (325) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3028,7 +3017,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (327) */
+ /** @name EthereumTransactionTransactionV2 (326) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3039,7 +3028,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (328) */
+ /** @name EthereumTransactionLegacyTransaction (327) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3050,7 +3039,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (329) */
+ /** @name EthereumTransactionTransactionAction (328) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3058,14 +3047,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (330) */
+ /** @name EthereumTransactionTransactionSignature (329) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (332) */
+ /** @name EthereumTransactionEip2930Transaction (331) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3080,13 +3069,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (334) */
+ /** @name EthereumTransactionAccessListItem (333) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (335) */
+ /** @name EthereumTransactionEip1559Transaction (334) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3102,7 +3091,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (336) */
+ /** @name PalletEvmMigrationCall (335) */
interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -3129,14 +3118,14 @@
readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
- /** @name PalletMaintenanceCall (340) */
+ /** @name PalletMaintenanceCall (339) */
interface PalletMaintenanceCall extends Enum {
readonly isEnable: boolean;
readonly isDisable: boolean;
readonly type: 'Enable' | 'Disable';
}
- /** @name PalletTestUtilsCall (341) */
+ /** @name PalletTestUtilsCall (340) */
interface PalletTestUtilsCall extends Enum {
readonly isEnable: boolean;
readonly isSetTestValue: boolean;
@@ -3156,13 +3145,13 @@
readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
}
- /** @name PalletSudoError (343) */
+ /** @name PalletSudoError (342) */
interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name OrmlVestingModuleError (345) */
+ /** @name OrmlVestingModuleError (344) */
interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -3173,7 +3162,7 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name OrmlXtokensModuleError (346) */
+ /** @name OrmlXtokensModuleError (345) */
interface OrmlXtokensModuleError extends Enum {
readonly isAssetHasNoReserve: boolean;
readonly isNotCrossChainTransfer: boolean;
@@ -3197,26 +3186,26 @@
readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
}
- /** @name OrmlTokensBalanceLock (349) */
+ /** @name OrmlTokensBalanceLock (348) */
interface OrmlTokensBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name OrmlTokensAccountData (351) */
+ /** @name OrmlTokensAccountData (350) */
interface OrmlTokensAccountData extends Struct {
readonly free: u128;
readonly reserved: u128;
readonly frozen: u128;
}
- /** @name OrmlTokensReserveData (353) */
+ /** @name OrmlTokensReserveData (352) */
interface OrmlTokensReserveData extends Struct {
readonly id: Null;
readonly amount: u128;
}
- /** @name OrmlTokensModuleError (355) */
+ /** @name OrmlTokensModuleError (354) */
interface OrmlTokensModuleError extends Enum {
readonly isBalanceTooLow: boolean;
readonly isAmountIntoBalanceFailed: boolean;
@@ -3229,21 +3218,21 @@
readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (356) */
interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (358) */
+ /** @name CumulusPalletXcmpQueueInboundState (357) */
interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (360) */
interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -3251,7 +3240,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (363) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -3260,14 +3249,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (365) */
+ /** @name CumulusPalletXcmpQueueOutboundState (364) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (367) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (366) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -3277,7 +3266,7 @@
readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletXcmpQueueError (369) */
+ /** @name CumulusPalletXcmpQueueError (368) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -3287,7 +3276,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (370) */
+ /** @name PalletXcmError (369) */
interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3305,29 +3294,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (371) */
+ /** @name CumulusPalletXcmError (370) */
type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (372) */
+ /** @name CumulusPalletDmpQueueConfigData (371) */
interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: SpWeightsWeightV2Weight;
}
- /** @name CumulusPalletDmpQueuePageIndexData (373) */
+ /** @name CumulusPalletDmpQueuePageIndexData (372) */
interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (376) */
+ /** @name CumulusPalletDmpQueueError (375) */
interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (380) */
+ /** @name PalletUniqueError (379) */
interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isEmptyArgument: boolean;
@@ -3335,13 +3324,13 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
}
- /** @name PalletConfigurationError (381) */
+ /** @name PalletConfigurationError (380) */
interface PalletConfigurationError extends Enum {
readonly isInconsistentConfiguration: boolean;
readonly type: 'InconsistentConfiguration';
}
- /** @name UpDataStructsCollection (382) */
+ /** @name UpDataStructsCollection (381) */
interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3354,7 +3343,7 @@
readonly flags: U8aFixed;
}
- /** @name UpDataStructsSponsorshipStateAccountId32 (383) */
+ /** @name UpDataStructsSponsorshipStateAccountId32 (382) */
interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3364,43 +3353,43 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (385) */
+ /** @name UpDataStructsProperties (384) */
interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (386) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (385) */
interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (391) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (390) */
interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (398) */
+ /** @name UpDataStructsCollectionStats (397) */
interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (399) */
+ /** @name UpDataStructsTokenChild (398) */
interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (400) */
+ /** @name PhantomTypeUpDataStructs (399) */
interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (402) */
+ /** @name UpDataStructsTokenData (401) */
interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
readonly pieces: u128;
}
- /** @name UpDataStructsRpcCollection (404) */
+ /** @name UpDataStructsRpcCollection (403) */
interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -3416,13 +3405,13 @@
readonly flags: UpDataStructsRpcCollectionFlags;
}
- /** @name UpDataStructsRpcCollectionFlags (405) */
+ /** @name UpDataStructsRpcCollectionFlags (404) */
interface UpDataStructsRpcCollectionFlags extends Struct {
readonly foreign: bool;
readonly erc721metadata: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (406) */
+ /** @name RmrkTraitsCollectionCollectionInfo (405) */
interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -3431,7 +3420,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (407) */
+ /** @name RmrkTraitsNftNftInfo (406) */
interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -3440,13 +3429,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (409) */
+ /** @name RmrkTraitsNftRoyaltyInfo (408) */
interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (410) */
+ /** @name RmrkTraitsResourceResourceInfo (409) */
interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -3454,26 +3443,26 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsPropertyPropertyInfo (411) */
+ /** @name RmrkTraitsPropertyPropertyInfo (410) */
interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (412) */
+ /** @name RmrkTraitsBaseBaseInfo (411) */
interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (413) */
+ /** @name RmrkTraitsNftNftChild (412) */
interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (415) */
+ /** @name PalletCommonError (414) */
interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3514,7 +3503,7 @@
readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
}
- /** @name PalletFungibleError (417) */
+ /** @name PalletFungibleError (416) */
interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3526,12 +3515,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
}
- /** @name PalletRefungibleItemData (418) */
+ /** @name PalletRefungibleItemData (417) */
interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (423) */
+ /** @name PalletRefungibleError (422) */
interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3541,19 +3530,19 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (424) */
+ /** @name PalletNonfungibleItemData (423) */
interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsPropertyScope (426) */
+ /** @name UpDataStructsPropertyScope (425) */
interface UpDataStructsPropertyScope extends Enum {
readonly isNone: boolean;
readonly isRmrk: boolean;
readonly type: 'None' | 'Rmrk';
}
- /** @name PalletNonfungibleError (428) */
+ /** @name PalletNonfungibleError (427) */
interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3561,7 +3550,7 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (429) */
+ /** @name PalletStructureError (428) */
interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -3570,7 +3559,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (430) */
+ /** @name PalletRmrkCoreError (429) */
interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isRmrkPropertyKeyIsTooLong: boolean;
@@ -3594,7 +3583,7 @@
readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
}
- /** @name PalletRmrkEquipError (432) */
+ /** @name PalletRmrkEquipError (431) */
interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3606,7 +3595,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
}
- /** @name PalletAppPromotionError (438) */
+ /** @name PalletAppPromotionError (437) */
interface PalletAppPromotionError extends Enum {
readonly isAdminNotSet: boolean;
readonly isNoPermission: boolean;
@@ -3617,7 +3606,7 @@
readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
}
- /** @name PalletForeignAssetsModuleError (439) */
+ /** @name PalletForeignAssetsModuleError (438) */
interface PalletForeignAssetsModuleError extends Enum {
readonly isBadLocation: boolean;
readonly isMultiLocationExisted: boolean;
@@ -3626,7 +3615,7 @@
readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
}
- /** @name PalletEvmError (441) */
+ /** @name PalletEvmError (440) */
interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3638,10 +3627,11 @@
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 FpRpcTransactionStatus (444) */
+ /** @name FpRpcTransactionStatus (443) */
interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3652,10 +3642,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (446) */
+ /** @name EthbloomBloom (445) */
interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (448) */
+ /** @name EthereumReceiptReceiptV3 (447) */
interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3666,7 +3656,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (449) */
+ /** @name EthereumReceiptEip658ReceiptData (448) */
interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3674,14 +3664,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (450) */
+ /** @name EthereumBlock (449) */
interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (451) */
+ /** @name EthereumHeader (450) */
interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3700,24 +3690,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (452) */
+ /** @name EthereumTypesHashH64 (451) */
interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (457) */
+ /** @name PalletEthereumError (456) */
interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (458) */
+ /** @name PalletEvmCoderSubstrateError (457) */
interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (459) */
+ /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (458) */
interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -3727,7 +3717,7 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (460) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (459) */
interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3735,7 +3725,7 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (466) */
+ /** @name PalletEvmContractHelpersError (465) */
interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly isNoPendingSponsor: boolean;
@@ -3743,7 +3733,7 @@
readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
}
- /** @name PalletEvmMigrationError (467) */
+ /** @name PalletEvmMigrationError (466) */
interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
@@ -3751,17 +3741,17 @@
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
}
- /** @name PalletMaintenanceError (468) */
+ /** @name PalletMaintenanceError (467) */
type PalletMaintenanceError = Null;
- /** @name PalletTestUtilsError (469) */
+ /** @name PalletTestUtilsError (468) */
interface PalletTestUtilsError extends Enum {
readonly isTestPalletDisabled: boolean;
readonly isTriggerRollback: boolean;
readonly type: 'TestPalletDisabled' | 'TriggerRollback';
}
- /** @name SpRuntimeMultiSignature (471) */
+ /** @name SpRuntimeMultiSignature (470) */
interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3772,40 +3762,40 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (472) */
+ /** @name SpCoreEd25519Signature (471) */
interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (474) */
+ /** @name SpCoreSr25519Signature (473) */
interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (475) */
+ /** @name SpCoreEcdsaSignature (474) */
interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (478) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (477) */
type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckTxVersion (479) */
+ /** @name FrameSystemExtensionsCheckTxVersion (478) */
type FrameSystemExtensionsCheckTxVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (480) */
+ /** @name FrameSystemExtensionsCheckGenesis (479) */
type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (483) */
+ /** @name FrameSystemExtensionsCheckNonce (482) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (484) */
+ /** @name FrameSystemExtensionsCheckWeight (483) */
type FrameSystemExtensionsCheckWeight = Null;
- /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (485) */
+ /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (484) */
type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (486) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (485) */
interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (487) */
+ /** @name OpalRuntimeRuntime (486) */
type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (488) */
+ /** @name PalletEthereumFakeTransactionFinalizer (487) */
type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module