git.delta.rocks / unique-network / refs/commits / 507b779dd4fb

difftreelog

Merge pull request #757 from UniqueNetwork/feature/collection-sponsoring-for-rft

Yaroslav Bolyukin2022-12-23parents: #246f27a #9b3f042.patch.diff
in: master

19 files changed

modifiedCargo.lockdiffbeforeafterboth
903903
904[[package]]904[[package]]
905name = "clap"905name = "clap"
906version = "4.0.30"906version = "4.0.32"
907source = "registry+https://github.com/rust-lang/crates.io-index"907source = "registry+https://github.com/rust-lang/crates.io-index"
908checksum = "656ad1e55e23d287773f7d8192c300dc715c3eeded93b3da651d11c42cfd74d2"908checksum = "a7db700bc935f9e43e88d00b0850dae18a63773cfbec6d8e070fccf7fef89a39"
909dependencies = [909dependencies = [
910 "bitflags",910 "bitflags",
911 "clap_derive",911 "clap_derive",
1300[[package]]1300[[package]]
1301name = "cumulus-client-cli"1301name = "cumulus-client-cli"
1302version = "0.1.0"1302version = "0.1.0"
1303source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1303source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1304dependencies = [1304dependencies = [
1305 "clap",1305 "clap",
1306 "parity-scale-codec 3.2.1",1306 "parity-scale-codec 3.2.1",
1315[[package]]1315[[package]]
1316name = "cumulus-client-collator"1316name = "cumulus-client-collator"
1317version = "0.1.0"1317version = "0.1.0"
1318source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1318source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1319dependencies = [1319dependencies = [
1320 "cumulus-client-consensus-common",1320 "cumulus-client-consensus-common",
1321 "cumulus-client-network",1321 "cumulus-client-network",
1338[[package]]1338[[package]]
1339name = "cumulus-client-consensus-aura"1339name = "cumulus-client-consensus-aura"
1340version = "0.1.0"1340version = "0.1.0"
1341source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1341source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1342dependencies = [1342dependencies = [
1343 "async-trait",1343 "async-trait",
1344 "cumulus-client-consensus-common",1344 "cumulus-client-consensus-common",
1367[[package]]1367[[package]]
1368name = "cumulus-client-consensus-common"1368name = "cumulus-client-consensus-common"
1369version = "0.1.0"1369version = "0.1.0"
1370source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1370source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1371dependencies = [1371dependencies = [
1372 "async-trait",1372 "async-trait",
1373 "cumulus-client-pov-recovery",1373 "cumulus-client-pov-recovery",
1390[[package]]1390[[package]]
1391name = "cumulus-client-network"1391name = "cumulus-client-network"
1392version = "0.1.0"1392version = "0.1.0"
1393source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1393source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1394dependencies = [1394dependencies = [
1395 "async-trait",1395 "async-trait",
1396 "cumulus-relay-chain-interface",1396 "cumulus-relay-chain-interface",
1413[[package]]1413[[package]]
1414name = "cumulus-client-pov-recovery"1414name = "cumulus-client-pov-recovery"
1415version = "0.1.0"1415version = "0.1.0"
1416source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1416source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1417dependencies = [1417dependencies = [
1418 "cumulus-primitives-core",1418 "cumulus-primitives-core",
1419 "cumulus-relay-chain-interface",1419 "cumulus-relay-chain-interface",
1436[[package]]1436[[package]]
1437name = "cumulus-client-service"1437name = "cumulus-client-service"
1438version = "0.1.0"1438version = "0.1.0"
1439source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1439source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1440dependencies = [1440dependencies = [
1441 "cumulus-client-cli",1441 "cumulus-client-cli",
1442 "cumulus-client-collator",1442 "cumulus-client-collator",
1464[[package]]1464[[package]]
1465name = "cumulus-pallet-aura-ext"1465name = "cumulus-pallet-aura-ext"
1466version = "0.1.0"1466version = "0.1.0"
1467source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1467source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1468dependencies = [1468dependencies = [
1469 "frame-support",1469 "frame-support",
1470 "frame-system",1470 "frame-system",
1480[[package]]1480[[package]]
1481name = "cumulus-pallet-dmp-queue"1481name = "cumulus-pallet-dmp-queue"
1482version = "0.1.0"1482version = "0.1.0"
1483source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1483source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1484dependencies = [1484dependencies = [
1485 "cumulus-primitives-core",1485 "cumulus-primitives-core",
1486 "frame-support",1486 "frame-support",
1497[[package]]1497[[package]]
1498name = "cumulus-pallet-parachain-system"1498name = "cumulus-pallet-parachain-system"
1499version = "0.1.0"1499version = "0.1.0"
1500source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1500source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1501dependencies = [1501dependencies = [
1502 "bytes",1502 "bytes",
1503 "cumulus-pallet-parachain-system-proc-macro",1503 "cumulus-pallet-parachain-system-proc-macro",
1525[[package]]1525[[package]]
1526name = "cumulus-pallet-parachain-system-proc-macro"1526name = "cumulus-pallet-parachain-system-proc-macro"
1527version = "0.1.0"1527version = "0.1.0"
1528source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1528source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1529dependencies = [1529dependencies = [
1530 "proc-macro-crate",1530 "proc-macro-crate",
1531 "proc-macro2",1531 "proc-macro2",
1536[[package]]1536[[package]]
1537name = "cumulus-pallet-xcm"1537name = "cumulus-pallet-xcm"
1538version = "0.1.0"1538version = "0.1.0"
1539source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1539source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1540dependencies = [1540dependencies = [
1541 "cumulus-primitives-core",1541 "cumulus-primitives-core",
1542 "frame-support",1542 "frame-support",
1552[[package]]1552[[package]]
1553name = "cumulus-pallet-xcmp-queue"1553name = "cumulus-pallet-xcmp-queue"
1554version = "0.1.0"1554version = "0.1.0"
1555source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1555source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1556dependencies = [1556dependencies = [
1557 "cumulus-primitives-core",1557 "cumulus-primitives-core",
1558 "frame-support",1558 "frame-support",
1570[[package]]1570[[package]]
1571name = "cumulus-primitives-core"1571name = "cumulus-primitives-core"
1572version = "0.1.0"1572version = "0.1.0"
1573source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1573source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1574dependencies = [1574dependencies = [
1575 "parity-scale-codec 3.2.1",1575 "parity-scale-codec 3.2.1",
1576 "polkadot-core-primitives",1576 "polkadot-core-primitives",
1585[[package]]1585[[package]]
1586name = "cumulus-primitives-parachain-inherent"1586name = "cumulus-primitives-parachain-inherent"
1587version = "0.1.0"1587version = "0.1.0"
1588source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1588source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1589dependencies = [1589dependencies = [
1590 "async-trait",1590 "async-trait",
1591 "cumulus-primitives-core",1591 "cumulus-primitives-core",
1608[[package]]1608[[package]]
1609name = "cumulus-primitives-timestamp"1609name = "cumulus-primitives-timestamp"
1610version = "0.1.0"1610version = "0.1.0"
1611source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1611source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1612dependencies = [1612dependencies = [
1613 "cumulus-primitives-core",1613 "cumulus-primitives-core",
1614 "futures 0.3.25",1614 "futures 0.3.25",
1621[[package]]1621[[package]]
1622name = "cumulus-primitives-utility"1622name = "cumulus-primitives-utility"
1623version = "0.1.0"1623version = "0.1.0"
1624source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1624source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1625dependencies = [1625dependencies = [
1626 "cumulus-primitives-core",1626 "cumulus-primitives-core",
1627 "frame-support",1627 "frame-support",
1637[[package]]1637[[package]]
1638name = "cumulus-relay-chain-inprocess-interface"1638name = "cumulus-relay-chain-inprocess-interface"
1639version = "0.1.0"1639version = "0.1.0"
1640source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1640source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1641dependencies = [1641dependencies = [
1642 "async-trait",1642 "async-trait",
1643 "cumulus-primitives-core",1643 "cumulus-primitives-core",
1662[[package]]1662[[package]]
1663name = "cumulus-relay-chain-interface"1663name = "cumulus-relay-chain-interface"
1664version = "0.1.0"1664version = "0.1.0"
1665source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1665source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1666dependencies = [1666dependencies = [
1667 "async-trait",1667 "async-trait",
1668 "cumulus-primitives-core",1668 "cumulus-primitives-core",
1682[[package]]1682[[package]]
1683name = "cumulus-relay-chain-minimal-node"1683name = "cumulus-relay-chain-minimal-node"
1684version = "0.1.0"1684version = "0.1.0"
1685source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1685source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1686dependencies = [1686dependencies = [
1687 "array-bytes 6.0.0",1687 "array-bytes 6.0.0",
1688 "async-trait",1688 "async-trait",
1722[[package]]1722[[package]]
1723name = "cumulus-relay-chain-rpc-interface"1723name = "cumulus-relay-chain-rpc-interface"
1724version = "0.1.0"1724version = "0.1.0"
1725source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1725source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1726dependencies = [1726dependencies = [
1727 "async-trait",1727 "async-trait",
1728 "cumulus-primitives-core",1728 "cumulus-primitives-core",
1751[[package]]1751[[package]]
1752name = "cumulus-test-relay-sproof-builder"1752name = "cumulus-test-relay-sproof-builder"
1753version = "0.1.0"1753version = "0.1.0"
1754source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"1754source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
1755dependencies = [1755dependencies = [
1756 "cumulus-primitives-core",1756 "cumulus-primitives-core",
1757 "parity-scale-codec 3.2.1",1757 "parity-scale-codec 3.2.1",
6982[[package]]6982[[package]]
6983name = "parachain-info"6983name = "parachain-info"
6984version = "0.1.0"6984version = "0.1.0"
6985source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#a4e825c9500acab6cc3deccffea7b01350f12ed1"6985source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.36#afe528af891f464b318293f183f6d3eefbc979b0"
6986dependencies = [6986dependencies = [
6987 "cumulus-primitives-core",6987 "cumulus-primitives-core",
6988 "frame-support",6988 "frame-support",
modifiedpallets/common/src/eth.rsdiffbeforeafterboth
125/// Ethereum representation of Optional value with CrossAddress.125/// Ethereum representation of Optional value with CrossAddress.
126#[derive(Debug, Default, AbiCoder)]126#[derive(Debug, Default, AbiCoder)]
127pub struct OptionCrossAddress {127pub struct OptionCrossAddress {
128 /// Is address set
128 pub status: bool,129 pub status: bool,
130 /// Address value
129 pub value: CrossAddress,131 pub value: CrossAddress,
130}132}
131133
modifiedpallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth
23 execution::Result,23 execution::Result,
24 generate_stubgen, solidity_interface,24 generate_stubgen, solidity_interface,
25 types::*,25 types::*,
26 ToLog, AbiCoder,26 ToLog,
27};27};
28use pallet_common::eth;28use pallet_common::eth;
29use pallet_evm::{29use pallet_evm::{
modifiedpallets/evm-contract-helpers/src/stubs/ContractHelpers.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth
283283
284/// Ethereum representation of Optional value with CrossAddress.284/// Ethereum representation of Optional value with CrossAddress.
285struct OptionCrossAddress {285struct OptionCrossAddress {
286 /// TODO: field description
286 bool status;287 bool status;
288 /// TODO: field description
287 CrossAddress value;289 CrossAddress value;
288}290}
289291
modifiedpallets/refungible/src/erc_token.rsdiffbeforeafterboth
43 TotalSupply, weights::WeightInfo,43 TotalSupply, weights::WeightInfo,
44};44};
4545
46/// Refungible token handle contains information about token's collection and id
47///
48/// RefungibleTokenHandle doesn't check token's existance upon creation
46pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);49pub struct RefungibleTokenHandle<T: Config>(pub RefungibleHandle<T>, pub TokenId);
4750
48#[solidity_interface(name = ERC1633)]51#[solidity_interface(name = ERC1633)]
modifiedruntime/common/ethereum/sponsoring.rsdiffbeforeafterboth
32 Config as FungibleConfig,32 Config as FungibleConfig,
33 erc::{UniqueFungibleCall, ERC20Call},33 erc::{UniqueFungibleCall, ERC20Call},
34};34};
35use pallet_refungible::Config as RefungibleConfig;35use pallet_refungible::{
36 Config as RefungibleConfig,
37 erc::UniqueRefungibleCall,
38 erc_token::{RefungibleTokenHandle, UniqueRefungibleTokenCall},
39 RefungibleHandle,
40};
36use pallet_unique::Config as UniqueConfig;41use pallet_unique::Config as UniqueConfig;
37use sp_std::prelude::*;42use sp_std::prelude::*;
38use up_data_structs::{CollectionMode, CreateItemData, CreateNftData, TokenId};43use up_data_structs::{
44 CollectionMode, CreateItemData, CreateNftData, mapping::TokenAddressMapping, TokenId,
45};
39use up_sponsorship::SponsorshipHandler;46use up_sponsorship::SponsorshipHandler;
40
41use crate::{Runtime, runtime_common::sponsoring::*};47use crate::{Runtime, runtime_common::sponsoring::*};
48
49mod refungible;
4250
43pub type EvmSponsorshipHandler = (51pub type EvmSponsorshipHandler = (
44 UniqueEthSponsorshipHandler<Runtime>,52 UniqueEthSponsorshipHandler<Runtime>,
53 who: &T::CrossAccountId,61 who: &T::CrossAccountId,
54 call_context: &CallContext,62 call_context: &CallContext,
55 ) -> Option<T::CrossAccountId> {63 ) -> Option<T::CrossAccountId> {
56 let collection_id = map_eth_to_id(&call_context.contract_address)?;64 if let Some(collection_id) = map_eth_to_id(&call_context.contract_address) {
57 let collection = <CollectionHandle<T>>::new(collection_id)?;65 let collection = <CollectionHandle<T>>::new(collection_id)?;
58 let sponsor = collection.sponsorship.sponsor()?.clone();66 let sponsor = collection.sponsorship.sponsor()?.clone();
59 let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;67 let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;
106 _ => None,116 _ => None,
107 }117 }
108 }118 }
119 CollectionMode::ReFungible => {
120 let call = <UniqueRefungibleCall<T>>::parse(method_id, &mut reader).ok()??;
121 refungible::call_sponsor(call, collection, who).map(|()| sponsor)
122 }
109 CollectionMode::Fungible(_) => {123 CollectionMode::Fungible(_) => {
110 let call = <UniqueFungibleCall<T>>::parse(method_id, &mut reader).ok()??;124 let call = <UniqueFungibleCall<T>>::parse(method_id, &mut reader).ok()??;
111 #[allow(clippy::single_match)]
112 match call {125 match call {
113 UniqueFungibleCall::ERC20(ERC20Call::Transfer { .. }) => {126 UniqueFungibleCall::ERC20(ERC20Call::Transfer { .. }) => {
114 withdraw_transfer::<T>(&collection, who, &TokenId::default())127 withdraw_transfer::<T>(&collection, who, &TokenId::default())
126 _ => None,139 _ => None,
127 }140 }
128 }141 }
129 _ => None,
130 }?))142 }?))
143 } else {
144 let (collection_id, token_id) =
145 T::EvmTokenAddressMapping::address_to_token(&call_context.contract_address)?;
146 let collection = <CollectionHandle<T>>::new(collection_id)?;
147 if collection.mode != CollectionMode::ReFungible {
148 return None;
149 }
150 let sponsor = collection.sponsorship.sponsor()?.clone();
151 let rft_collection = RefungibleHandle::cast(collection);
152 // Token existance isn't checked at this point and should be checked in `withdraw` method.
153 let token = RefungibleTokenHandle(rft_collection, token_id);
154
155 let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;
156 let call = <UniqueRefungibleTokenCall<T>>::parse(method_id, &mut reader).ok()??;
157 Some(T::CrossAccountId::from_sub(
158 refungible::token_call_sponsor(call, token, who).map(|()| sponsor)?,
159 ))
160 }
131 }161 }
132}162}
163
164mod common {
165 use super::*;
166
167 use pallet_common::erc::{CollectionCall};
168
169 pub fn collection_call_sponsor<T>(
170 call: CollectionCall<T>,
171 _collection: CollectionHandle<T>,
172 _who: &T::CrossAccountId,
173 ) -> Option<()>
174 where
175 T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig,
176 {
177 use CollectionCall::*;
178
179 match call {
180 // Readonly
181 ERC165Call(_, _)
182 | CollectionProperty { .. }
183 | CollectionProperties { .. }
184 | HasCollectionPendingSponsor
185 | CollectionSponsor
186 | ContractAddress
187 | AllowlistedCross { .. }
188 | IsOwnerOrAdminEth { .. }
189 | IsOwnerOrAdminCross { .. }
190 | CollectionOwner
191 | CollectionAdmins
192 | CollectionLimits
193 | CollectionNestingRestrictedIds
194 | CollectionNestingPermissions
195 | UniqueCollectionType => None,
196
197 // Not sponsored
198 AddToCollectionAllowList { .. }
199 | AddToCollectionAllowListCross { .. }
200 | RemoveFromCollectionAllowList { .. }
201 | RemoveFromCollectionAllowListCross { .. }
202 | AddCollectionAdminCross { .. }
203 | RemoveCollectionAdminCross { .. }
204 | AddCollectionAdmin { .. }
205 | RemoveCollectionAdmin { .. }
206 | SetNestingBool { .. }
207 | SetNesting { .. }
208 | SetCollectionAccess { .. }
209 | SetCollectionMintMode { .. }
210 | SetOwner { .. }
211 | ChangeCollectionOwnerCross { .. }
212 | SetCollectionProperty { .. }
213 | SetCollectionProperties { .. }
214 | DeleteCollectionProperty { .. }
215 | DeleteCollectionProperties { .. }
216 | SetCollectionSponsor { .. }
217 | SetCollectionSponsorCross { .. }
218 | SetCollectionLimit { .. }
219 | ConfirmCollectionSponsorship
220 | RemoveCollectionSponsor => None,
221 }
222 }
223}
133224
addedruntime/common/ethereum/sponsoring/refungible.rsdiffbeforeafterboth

no changes

modifiedtests/src/eth/abi/reFungibleDeprecated.jsondiffbeforeafterboth
98 "outputs": [],98 "outputs": [],
99 "stateMutability": "nonpayable",99 "stateMutability": "nonpayable",
100 "type": "function"100 "type": "function"
101 }101 },
102 {
103 "inputs": [
104 { "internalType": "address", "name": "to", "type": "address" },
105 { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
106 ],
107 "name": "mintBulk",
108 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
109 "stateMutability": "nonpayable",
110 "type": "function"
111 },
112 {
113 "inputs": [
114 { "internalType": "address", "name": "to", "type": "address" },
115 {
116 "components": [
117 { "internalType": "uint256", "name": "field_0", "type": "uint256" },
118 { "internalType": "string", "name": "field_1", "type": "string" }
119 ],
120 "internalType": "struct Tuple0[]",
121 "name": "tokens",
122 "type": "tuple[]"
123 }
124 ],
125 "name": "mintBulkWithTokenURI",
126 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
127 "stateMutability": "nonpayable",
128 "type": "function"
129 }
102]130]
103131
modifiedtests/src/eth/api/ContractHelpers.soldiffbeforeafterboth
183183
184/// Ethereum representation of Optional value with CrossAddress.184/// Ethereum representation of Optional value with CrossAddress.
185struct OptionCrossAddress {185struct OptionCrossAddress {
186 /// TODO: field description
186 bool status;187 bool status;
188 /// TODO: field description
187 CrossAddress value;189 CrossAddress value;
188}190}
189191
modifiedtests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';
18import {usingPlaygrounds} from '../util/index';18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index';
19import {itEth, expect} from './util';19import {itEth, expect} from './util';
2020
21describe('evm collection sponsoring', () => {21describe('evm nft collection sponsoring', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
24 let nominal: bigint;24 let nominal: bigint;
101 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.true;101 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.true;
102102
103 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});103 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
104 let sponsorTuple = await collectionEvm.methods.collectionSponsor().call({from: owner});104 let sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
105 expect(helper.address.restoreCrossAccountFromBigInt(BigInt(sponsorTuple.sub))).to.be.eq(helper.address.ethToSubstrate(sponsor, true));105 expect(helper.address.restoreCrossAccountFromBigInt(BigInt(sponsorStruct.sub))).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
106 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;106 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
107107
108 await collectionEvm.methods.removeCollectionSponsor().send({from: owner});108 await collectionEvm.methods.removeCollectionSponsor().send({from: owner});
109109
110 sponsorTuple = await collectionEvm.methods.collectionSponsor().call({from: owner});110 sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
111 expect(sponsorTuple.eth).to.be.eq('0x0000000000000000000000000000000000000000');111 expect(sponsorStruct.eth).to.be.eq('0x0000000000000000000000000000000000000000');
112 }));112 }));
113113
114 [114 [
144 expect(nextTokenId).to.be.equal('1');144 expect(nextTokenId).to.be.equal('1');
145145
146 // Set collection permissions:146 // Set collection permissions:
147 const oldPermissions = (await collectionSub.getData())!.raw.permissions; // (await getDetailedCollectionInfo(api, collectionId))!.permissions.toHuman();147 const oldPermissions = (await collectionSub.getData())!.raw.permissions;
148 expect(oldPermissions.mintMode).to.be.false;148 expect(oldPermissions.mintMode).to.be.false;
149 expect(oldPermissions.access).to.be.equal('Normal');149 expect(oldPermissions.access).to.be.equal('Normal');
150150
151 await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});151 await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});
152 await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});152 await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});
153 await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});153 await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
154154
155 const newPermissions = (await collectionSub.getData())!.raw.permissions; // (await getDetailedCollectionInfo(api, collectionId))!.permissions.toHuman();155 const newPermissions = (await collectionSub.getData())!.raw.permissions;
156 expect(newPermissions.mintMode).to.be.true;156 expect(newPermissions.mintMode).to.be.true;
157 expect(newPermissions.access).to.be.equal('AllowList');157 expect(newPermissions.access).to.be.equal('AllowList');
158158
159 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));159 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
160 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));160 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));
161 const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
161162
162 // User can mint token without balance:163 // User can mint token without balance:
163 {164 {
181182
182 expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');183 expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
183 expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);184 expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
184 expect(userBalanceAfter).to.be.eq(0n);185 expect(userBalanceAfter).to.be.eq(userBalanceBefore);
185 expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;186 expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
186 }187 }
187 }));188 }));
318 });319 });
319});320});
321
322describe('evm RFT collection sponsoring', () => {
323 let donor: IKeyringPair;
324 let alice: IKeyringPair;
325 let nominal: bigint;
326
327 before(async function() {
328 await usingPlaygrounds(async (helper, privateKey) => {
329 requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
330 donor = await privateKey({filename: __filename});
331 [alice] = await helper.arrange.createAccounts([100n], donor);
332 nominal = helper.balance.getOneTokenNominal();
333 });
334 });
335
336 [
337 'mintCross',
338 'mintWithTokenURI',
339 ].map(testCase =>
340 itEth(`[${testCase}] sponsors mint transactions`, async ({helper}) => {
341 const collection = await helper.rft.mintCollection(alice, {tokenPrefix: 'spnr', permissions: {mintMode: true}, tokenPropertyPermissions: [
342 {key: 'URI', permission: {tokenOwner: true, mutable: true, collectionAdmin: true}},
343 ]});
344
345 const owner = await helper.eth.createAccountWithBalance(donor);
346 await collection.setSponsor(alice, alice.address);
347 await collection.confirmSponsorship(alice);
348
349 const minter = helper.eth.createAccount();
350 const minterCross = helper.ethCrossAccount.fromAddress(minter);
351 expect(await helper.balance.getEthereum(minter)).to.equal(0n);
352
353 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);
354 const contract = await helper.ethNativeContract.collection(collectionAddress, 'rft', minter, true);
355
356 await collection.addToAllowList(alice, {Ethereum: minter});
357 await collection.addAdmin(alice, {Ethereum: owner});
358 const collectionHelpers = await helper.ethNativeContract.collectionHelpers(owner);
359 await collectionHelpers.methods.makeCollectionERC721MetadataCompatible(collectionAddress, 'base/')
360 .send();
361
362 let mintingResult;
363 let tokenId;
364 switch (testCase) {
365 case 'mintCross':
366 mintingResult = await contract.methods.mintCross(minterCross, []).send();
367 break;
368 case 'mintWithTokenURI':
369 mintingResult = await contract.methods.mintWithTokenURI(minter, 'Test URI').send();
370 tokenId = mintingResult.events.Transfer.returnValues.tokenId;
371 expect(await contract.methods.tokenURI(tokenId).call()).to.be.equal('Test URI');
372 break;
373 }
374
375 const events = helper.eth.normalizeEvents(mintingResult.events);
376 expect(events).to.deep.include({
377 address: collectionAddress,
378 event: 'Transfer',
379 args: {
380 from: '0x0000000000000000000000000000000000000000',
381 to: minter,
382 tokenId: '1',
383 },
384 });
385 }));
386
387 [
388 'setCollectionSponsorCross',
389 'setCollectionSponsor', // Soft-deprecated
390 ].map(testCase =>
391 itEth(`[${testCase}] can remove collection sponsor`, async ({helper}) => {
392 const owner = await helper.eth.createAccountWithBalance(donor);
393 const collectionHelpers = await helper.ethNativeContract.collectionHelpers(owner);
394
395 let result = await collectionHelpers.methods.createRFTCollection('Sponsor collection', '1', '1').send({value: Number(2n * nominal)});
396 const collectionIdAddress = helper.ethAddress.normalizeAddress(result.events.CollectionCreated.returnValues.collectionId);
397 const sponsor = await helper.eth.createAccountWithBalance(donor);
398 const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
399 const collectionEvm = await helper.ethNativeContract.collection(collectionIdAddress, 'rft', owner, testCase === 'setCollectionSponsor');
400
401 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
402 result = await collectionEvm.methods[testCase](testCase === 'setCollectionSponsor' ? sponsor : sponsorCross).send({from: owner});
403 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.true;
404
405 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
406 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call({from: owner})).to.be.false;
407
408 await collectionEvm.methods.removeCollectionSponsor().send({from: owner});
409
410 const sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
411 expect(sponsorStruct.eth).to.be.eq('0x0000000000000000000000000000000000000000');
412 }));
413
414 [
415 'setCollectionSponsorCross',
416 'setCollectionSponsor', // Soft-deprecated
417 ].map(testCase =>
418 itEth(`[${testCase}] Can sponsor from evm address via access list`, async ({helper}) => {
419 const owner = await helper.eth.createAccountWithBalance(donor);
420 const sponsorEth = await helper.eth.createAccountWithBalance(donor);
421 const sponsorCrossEth = helper.ethCrossAccount.fromAddress(sponsorEth);
422
423 const {collectionId, collectionAddress} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner, 'Sponsor collection', '1', '1', '');
424
425 const collectionSub = helper.rft.getCollectionObject(collectionId);
426 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, testCase === 'setCollectionSponsor');
427
428 // Set collection sponsor:
429 await collectionEvm.methods[testCase](testCase === 'setCollectionSponsor' ? sponsorEth : sponsorCrossEth).send({from: owner});
430 let sponsorship = (await collectionSub.getData())!.raw.sponsorship;
431 expect(sponsorship.Unconfirmed).to.be.eq(helper.address.ethToSubstrate(sponsorEth, true));
432 // Account cannot confirm sponsorship if it is not set as a sponsor
433 await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('ConfirmSponsorshipFail');
434
435 // Sponsor can confirm sponsorship:
436 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsorEth});
437 sponsorship = (await collectionSub.getData())!.raw.sponsorship;
438 expect(sponsorship.Confirmed).to.be.eq(helper.address.ethToSubstrate(sponsorEth, true));
439
440 // Create user with no balance:
441 const user = helper.eth.createAccount();
442 const userCross = helper.ethCrossAccount.fromAddress(user);
443 const nextTokenId = await collectionEvm.methods.nextTokenId().call();
444 expect(nextTokenId).to.be.equal('1');
445
446 // Set collection permissions:
447 const oldPermissions = (await collectionSub.getData())!.raw.permissions;
448 expect(oldPermissions.mintMode).to.be.false;
449 expect(oldPermissions.access).to.be.equal('Normal');
450
451 await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});
452 await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});
453 await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
454
455 const newPermissions = (await collectionSub.getData())!.raw.permissions;
456 expect(newPermissions.mintMode).to.be.true;
457 expect(newPermissions.access).to.be.equal('AllowList');
458
459 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
460 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));
461 const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
462
463 // User can mint token without balance:
464 {
465 const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
466 const events = helper.eth.normalizeEvents(result.events);
467
468 expect(events).to.deep.include({
469 address: collectionAddress,
470 event: 'Transfer',
471 args: {
472 from: '0x0000000000000000000000000000000000000000',
473 to: user,
474 tokenId: '1',
475 },
476 });
477
478 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
479 const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsorEth));
480 const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
481
482 expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
483 expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
484 expect(userBalanceAfter).to.be.eq(userBalanceBefore);
485 expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
486 }
487 }));
488
489 [
490 'setCollectionSponsorCross',
491 'setCollectionSponsor', // Soft-deprecated
492 ].map(testCase =>
493 itEth(`[${testCase}] Check that collection admin EVM transaction spend money from sponsor eth address`, async ({helper}) => {
494 const owner = await helper.eth.createAccountWithBalance(donor);
495 const sponsor = await helper.eth.createAccountWithBalance(donor);
496 const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
497
498 const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
499
500 const collectionSub = helper.rft.getCollectionObject(collectionId);
501 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, testCase === 'setCollectionSponsor');
502 // Set collection sponsor:
503 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
504 await collectionEvm.methods[testCase](testCase === 'setCollectionSponsor' ? sponsor : sponsorCross).send();
505 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.true;
506 let collectionData = (await collectionSub.getData())!;
507 expect(collectionData.raw.sponsorship.Unconfirmed).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
508 await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('ConfirmSponsorshipFail');
509 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.true;
510
511 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
512 collectionData = (await collectionSub.getData())!;
513 expect(collectionData.raw.sponsorship.Confirmed).to.be.eq(helper.address.ethToSubstrate(sponsor, true));
514 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
515 const sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
516 const sponsorSubAddress = helper.address.normalizeSubstrateToChainFormat(helper.address.ethToSubstrate(sponsor));
517 const actualSubAddress = helper.address.normalizeSubstrateToChainFormat(helper.address.restoreCrossAccountFromBigInt(BigInt(sponsorStruct.sub)));
518 expect(actualSubAddress).to.be.equal(sponsorSubAddress);
519
520 const user = helper.eth.createAccount();
521 const userCross = helper.ethCrossAccount.fromAddress(user);
522 await collectionEvm.methods.addCollectionAdminCross(userCross).send();
523
524 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
525 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
526
527 const mintingResult = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
528 const tokenId = mintingResult.events.Transfer.returnValues.tokenId;
529
530 const events = helper.eth.normalizeEvents(mintingResult.events);
531 const address = helper.ethAddress.fromCollectionId(collectionId);
532
533 expect(events).to.deep.include({
534 address,
535 event: 'Transfer',
536 args: {
537 from: '0x0000000000000000000000000000000000000000',
538 to: user,
539 tokenId: '1',
540 },
541 });
542 expect(await collectionEvm.methods.tokenURI(tokenId).call({from: user})).to.be.equal('Test URI');
543
544 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
545 expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
546 const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
547 expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
548 }));
549
550 itEth('Check that collection admin EVM transaction spend money from sponsor sub address', async ({helper}) => {
551 const owner = await helper.eth.createAccountWithBalance(donor);
552 const sponsor = alice;
553 const sponsorCross = helper.ethCrossAccount.fromKeyringPair(sponsor);
554
555 const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
556
557 const collectionSub = helper.rft.getCollectionObject(collectionId);
558 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, false);
559 // Set collection sponsor:
560 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
561 await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
562 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.true;
563 let collectionData = (await collectionSub.getData())!;
564 expect(collectionData.raw.sponsorship.Unconfirmed).to.be.eq(sponsor.address);
565 await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('ConfirmSponsorshipFail');
566
567 await collectionSub.confirmSponsorship(sponsor);
568 collectionData = (await collectionSub.getData())!;
569 expect(collectionData.raw.sponsorship.Confirmed).to.be.eq(sponsor.address);
570 expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
571 const sponsorStruct = await collectionEvm.methods.collectionSponsor().call({from: owner});
572 expect(BigInt(sponsorStruct.sub)).to.be.equal(BigInt('0x' + Buffer.from(sponsor.addressRaw).toString('hex')));
573
574 const user = helper.eth.createAccount();
575 const userCross = helper.ethCrossAccount.fromAddress(user);
576 await collectionEvm.methods.addCollectionAdminCross(userCross).send();
577
578 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
579 const sponsorBalanceBefore = await helper.balance.getSubstrate(sponsor.address);
580
581 const mintingResult = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
582 const tokenId = mintingResult.events.Transfer.returnValues.tokenId;
583
584 const events = helper.eth.normalizeEvents(mintingResult.events);
585
586 expect(events).to.deep.include({
587 address: collectionAddress,
588 event: 'Transfer',
589 args: {
590 from: '0x0000000000000000000000000000000000000000',
591 to: user,
592 tokenId: '1',
593 },
594 });
595 expect(await collectionEvm.methods.tokenURI(tokenId).call({from: user})).to.be.equal('Test URI');
596
597 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
598 expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
599 const sponsorBalanceAfter = await helper.balance.getSubstrate(sponsor.address);
600 expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
601 });
602
603 itEth('Sponsoring collection from substrate address via access list', async ({helper}) => {
604 const owner = await helper.eth.createAccountWithBalance(donor);
605 const user = helper.eth.createAccount();
606 const userCross = helper.ethCrossAccount.fromAddress(user);
607 const sponsor = alice;
608 const sponsorCross = helper.ethCrossAccount.fromKeyringPair(sponsor);
609
610 const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
611 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, false);
612
613 await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send({from: owner});
614
615 const collectionSub = helper.rft.getCollectionObject(collectionId);
616 await collectionSub.confirmSponsorship(sponsor);
617
618 const nextTokenId = await collectionEvm.methods.nextTokenId().call();
619 expect(nextTokenId).to.be.equal('1');
620
621 await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});
622
623 await collectionEvm.methods.addToCollectionAllowListCross(userCross).send({from: owner});
624 await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
625
626 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
627 const sponsorBalanceBefore = await helper.balance.getSubstrate(sponsor.address);
628 const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
629
630 {
631 const nextTokenId = await collectionEvm.methods.nextTokenId().call();
632 expect(nextTokenId).to.be.equal('1');
633 const mintingResult = await collectionEvm.methods.mintWithTokenURI(
634 user,
635 'Test URI',
636 ).send({from: user});
637
638 const events = helper.eth.normalizeEvents(mintingResult.events);
639
640
641 expect(events).to.deep.include({
642 address: collectionAddress,
643 event: 'Transfer',
644 args: {
645 from: '0x0000000000000000000000000000000000000000',
646 to: user,
647 tokenId: nextTokenId,
648 },
649 });
650
651 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
652 const sponsorBalanceAfter = await helper.balance.getSubstrate(sponsor.address);
653 const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
654
655 expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
656 expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
657 expect(userBalanceAfter).to.be.eq(userBalanceBefore);
658 expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
659 }
660 });
661
662 itEth('Can reassign collection sponsor', async ({helper}) => {
663 const owner = await helper.eth.createAccountWithBalance(donor);
664 const sponsorEth = await helper.eth.createAccountWithBalance(donor);
665 const sponsorCrossEth = helper.ethCrossAccount.fromAddress(sponsorEth);
666 const [sponsorSub] = await helper.arrange.createAccounts([100n], donor);
667 const sponsorCrossSub = helper.ethCrossAccount.fromKeyringPair(sponsorSub);
668
669 const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
670 const collectionSub = helper.rft.getCollectionObject(collectionId);
671 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
672
673 // Set and confirm sponsor:
674 await collectionEvm.methods.setCollectionSponsorCross(sponsorCrossEth).send({from: owner});
675 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsorEth});
676
677 // Can reassign sponsor:
678 await collectionEvm.methods.setCollectionSponsorCross(sponsorCrossSub).send({from: owner});
679 const collectionSponsor = (await collectionSub.getData())?.raw.sponsorship;
680 expect(collectionSponsor).to.deep.eq({Unconfirmed: sponsorSub.address});
681 });
682
683 [
684 'transfer',
685 'transferCross',
686 'transferFrom',
687 'transferFromCross',
688 ].map(testCase =>
689 itEth(`[${testCase}] Check that transfer via EVM spend money from sponsor address`, async ({helper}) => {
690 const owner = await helper.eth.createAccountWithBalance(donor);
691
692 const {collectionAddress} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
693 const sponsor = await helper.eth.createAccountWithBalance(donor);
694 const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
695 const receiver = await helper.eth.createAccountWithBalance(donor);
696 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
697
698 await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
699 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
700
701 const user = await helper.eth.createAccountWithBalance(donor);
702 const userCross = helper.ethCrossAccount.fromAddress(user);
703 await collectionEvm.methods.addCollectionAdminCross(userCross).send();
704
705 const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
706 const tokenId = result.events.Transfer.returnValues.tokenId;
707
708 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
709 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
710 const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
711
712 switch (testCase) {
713 case 'transfer':
714 await collectionEvm.methods.transfer(receiver, tokenId).send({from: user});
715 break;
716 case 'transferCross':
717 await collectionEvm.methods.transferCross(helper.ethCrossAccount.fromAddress(receiver), tokenId).send({from: user});
718 break;
719 case 'transferFrom':
720 await collectionEvm.methods.transferFrom(user, receiver, tokenId).send({from: user});
721 break;
722 case 'transferFromCross':
723 await collectionEvm.methods.transferFromCross(helper.ethCrossAccount.fromAddress(user), helper.ethCrossAccount.fromAddress(receiver), tokenId).send({from: user});
724 break;
725 }
726
727 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
728 expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
729 const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
730 expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
731 const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
732 expect(userBalanceAfter).to.be.eq(userBalanceBefore);
733 }));
734});
735
736describe('evm RFT token sponsoring', () => {
737 let donor: IKeyringPair;
738
739 before(async function() {
740 await usingPlaygrounds(async (helper, privateKey) => {
741 requirePalletsOrSkip(this, helper, [Pallets.ReFungible]);
742 donor = await privateKey({filename: __filename});
743 });
744 });
745
746 [
747 'transfer',
748 'transferCross',
749 'transferFrom',
750 'transferFromCross',
751 ].map(testCase =>
752 itEth(`[${testCase}] Check that token piece transfer via EVM spend money from sponsor address`, async ({helper}) => {
753 const owner = await helper.eth.createAccountWithBalance(donor);
754
755 const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
756 const sponsor = await helper.eth.createAccountWithBalance(donor);
757 const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
758 const receiver = await helper.eth.createAccountWithBalance(donor);
759 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
760
761 await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
762 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
763
764 const user = await helper.eth.createAccountWithBalance(donor);
765 const userCross = helper.ethCrossAccount.fromAddress(user);
766 await collectionEvm.methods.addCollectionAdminCross(userCross).send();
767
768 const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
769 const tokenId = result.events.Transfer.returnValues.tokenId;
770
771 const tokenContract = await helper.ethNativeContract.rftTokenById(collectionId, tokenId, user);
772 await tokenContract.methods.repartition(2).send();
773
774 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
775 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
776 const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
777
778 switch (testCase) {
779 case 'transfer':
780 await tokenContract.methods.transfer(receiver, 1).send();
781 break;
782 case 'transferCross':
783 await tokenContract.methods.transferCross(helper.ethCrossAccount.fromAddress(receiver), 1).send();
784 break;
785 case 'transferFrom':
786 await tokenContract.methods.transferFrom(user, receiver, 1).send();
787 break;
788 case 'transferFromCross':
789 await tokenContract.methods.transferFromCross(helper.ethCrossAccount.fromAddress(user), helper.ethCrossAccount.fromAddress(receiver), 1).send();
790 break;
791 }
792
793 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
794 expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
795 const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
796 expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
797 const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
798 expect(userBalanceAfter).to.be.eq(userBalanceBefore);
799 }));
800
801 [
802 'approve',
803 'approveCross',
804 ].map(testCase =>
805 itEth(`[${testCase}] Check that approve via EVM spend money from sponsor address`, async ({helper}) => {
806 const owner = await helper.eth.createAccountWithBalance(donor);
807
808 const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
809 const sponsor = await helper.eth.createAccountWithBalance(donor);
810 const sponsorCross = helper.ethCrossAccount.fromAddress(sponsor);
811 const receiver = await helper.eth.createAccountWithBalance(donor);
812 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner);
813
814 await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
815 await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
816
817 const user = await helper.eth.createAccountWithBalance(donor);
818 const userCross = helper.ethCrossAccount.fromAddress(user);
819 await collectionEvm.methods.addCollectionAdminCross(userCross).send();
820
821 const result = await collectionEvm.methods.mintWithTokenURI(user, 'Test URI').send({from: user});
822 const tokenId = result.events.Transfer.returnValues.tokenId;
823
824 const tokenContract = await helper.ethNativeContract.rftTokenById(collectionId, tokenId, user);
825 await tokenContract.methods.repartition(2).send();
826
827 const ownerBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
828 const sponsorBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
829 const userBalanceBefore = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
830
831 switch (testCase) {
832 case 'approve':
833 await tokenContract.methods.approve(receiver, 1).send();
834 break;
835 case 'approveCross':
836 await tokenContract.methods.approveCross(helper.ethCrossAccount.fromAddress(receiver), 1).send();
837 break;
838 }
839
840 const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
841 expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
842 const sponsorBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(sponsor));
843 expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
844 const userBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(user));
845 expect(userBalanceAfter).to.be.eq(userBalanceBefore);
846 }));
847});
320848
849
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
303 * EVM reentrancy303 * EVM reentrancy
304 **/304 **/
305 Reentrancy: AugmentedError<ApiType>;305 Reentrancy: AugmentedError<ApiType>;
306 /**
307 * EIP-3607,
308 **/
309 TransactionMustComeFromEOA: AugmentedError<ApiType>;
306 /**310 /**
307 * Undefined error.311 * Undefined error.
308 **/312 **/
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
9import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
12import 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';12import 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';
13import type { Observable } from '@polkadot/types/types';13import type { Observable } from '@polkadot/types/types';
1414
15export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;15export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
87 * NOTE: This is only used in the case that this pallet is used to store balances.87 * NOTE: This is only used in the case that this pallet is used to store balances.
88 **/88 **/
89 account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;89 account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
90 /**
91 * The total units of outstanding deactivated balance in the system.
92 **/
93 inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
90 /**94 /**
91 * Any liquidity locks on some account balances.95 * Any liquidity locks on some account balances.
92 * NOTE: Should only be accessed when setting, changing and freeing a lock.96 * NOTE: Should only be accessed when setting, changing and freeing a lock.
96 * Named reserves on some account balances.100 * Named reserves on some account balances.
97 **/101 **/
98 reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;102 reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
99 /**
100 * Storage version of the pallet.
101 *
102 * This is set to v2.0.0 for new networks.
103 **/
104 storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;
105 /**103 /**
106 * The total units issued in the system.104 * The total units issued in the system.
107 **/105 **/
852 * Proposal indices that have been approved but not yet awarded.850 * Proposal indices that have been approved but not yet awarded.
853 **/851 **/
854 approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;852 approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
853 /**
854 * The amount which has been reported as inactive to Currency.
855 **/
856 inactive: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
855 /**857 /**
856 * Number of proposals that have been made.858 * Number of proposals that have been made.
857 **/859 **/
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
8import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';8import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
9import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';9import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';11import type { AccountId32, Call, H160, H256, MultiAddress, Permill } from '@polkadot/types/interfaces/runtime';
12import 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';12import 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';
1313
14export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;14export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
905 [key: string]: SubmittableExtrinsicFunction<ApiType>;905 [key: string]: SubmittableExtrinsicFunction<ApiType>;
906 };906 };
907 system: {907 system: {
908 /**
909 * A dispatch that will fill the block weight up to the given ratio.
910 **/
911 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
912 /**908 /**
913 * Kill all storage items with a key that starts with the given prefix.909 * Kill all storage items with a key that starts with the given prefix.
914 * 910 *
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions
6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';
77
8import 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';8import 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';
9import type { Data, StorageKey } from '@polkadot/types';9import type { Data, StorageKey } from '@polkadot/types';
10import 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';10import 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';
11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';11import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
823 PalletBalancesError: PalletBalancesError;823 PalletBalancesError: PalletBalancesError;
824 PalletBalancesEvent: PalletBalancesEvent;824 PalletBalancesEvent: PalletBalancesEvent;
825 PalletBalancesReasons: PalletBalancesReasons;825 PalletBalancesReasons: PalletBalancesReasons;
826 PalletBalancesReleases: PalletBalancesReleases;
827 PalletBalancesReserveData: PalletBalancesReserveData;826 PalletBalancesReserveData: PalletBalancesReserveData;
828 PalletCallMetadataLatest: PalletCallMetadataLatest;827 PalletCallMetadataLatest: PalletCallMetadataLatest;
829 PalletCallMetadataV14: PalletCallMetadataV14;828 PalletCallMetadataV14: PalletCallMetadataV14;
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
557557
558/** @name FrameSystemCall */558/** @name FrameSystemCall */
559export interface FrameSystemCall extends Enum {559export interface FrameSystemCall extends Enum {
560 readonly isFillBlock: boolean;
561 readonly asFillBlock: {
562 readonly ratio: Perbill;
563 } & Struct;
564 readonly isRemark: boolean;560 readonly isRemark: boolean;
565 readonly asRemark: {561 readonly asRemark: {
566 readonly remark: Bytes;562 readonly remark: Bytes;
594 readonly asRemarkWithEvent: {590 readonly asRemarkWithEvent: {
595 readonly remark: Bytes;591 readonly remark: Bytes;
596 } & Struct;592 } & Struct;
597 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';593 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
598}594}
599595
600/** @name FrameSystemError */596/** @name FrameSystemError */
1188 readonly type: 'Fee' | 'Misc' | 'All';1184 readonly type: 'Fee' | 'Misc' | 'All';
1189}1185}
1190
1191/** @name PalletBalancesReleases */
1192export interface PalletBalancesReleases extends Enum {
1193 readonly isV100: boolean;
1194 readonly isV200: boolean;
1195 readonly type: 'V100' | 'V200';
1196}
11971186
1198/** @name PalletBalancesReserveData */1187/** @name PalletBalancesReserveData */
1199export interface PalletBalancesReserveData extends Struct {1188export interface PalletBalancesReserveData extends Struct {
1457 readonly isGasLimitTooHigh: boolean;1446 readonly isGasLimitTooHigh: boolean;
1458 readonly isUndefined: boolean;1447 readonly isUndefined: boolean;
1459 readonly isReentrancy: boolean;1448 readonly isReentrancy: boolean;
1449 readonly isTransactionMustComeFromEOA: boolean;
1460 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';1450 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
1461}1451}
14621452
1463/** @name PalletEvmEvent */1453/** @name PalletEvmEvent */
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
1329 **/1329 **/
1330 FrameSystemCall: {1330 FrameSystemCall: {
1331 _enum: {1331 _enum: {
1332 fill_block: {
1333 ratio: 'Perbill',
1334 },
1335 remark: {1332 remark: {
1336 remark: 'Bytes',1333 remark: 'Bytes',
1337 },1334 },
1362 }1359 }
1363 }1360 }
1364 },1361 },
1365 /**1362 /**
1366 * Lookup130: frame_system::limits::BlockWeights1363 * Lookup129: frame_system::limits::BlockWeights
1367 **/1364 **/
1368 FrameSystemLimitsBlockWeights: {1365 FrameSystemLimitsBlockWeights: {
1369 baseBlock: 'SpWeightsWeightV2Weight',1366 baseBlock: 'SpWeightsWeightV2Weight',
1370 maxBlock: 'SpWeightsWeightV2Weight',1367 maxBlock: 'SpWeightsWeightV2Weight',
1371 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'1368 perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
1372 },1369 },
1373 /**1370 /**
1374 * Lookup131: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>1371 * Lookup130: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
1375 **/1372 **/
1376 FrameSupportDispatchPerDispatchClassWeightsPerClass: {1373 FrameSupportDispatchPerDispatchClassWeightsPerClass: {
1377 normal: 'FrameSystemLimitsWeightsPerClass',1374 normal: 'FrameSystemLimitsWeightsPerClass',
1378 operational: 'FrameSystemLimitsWeightsPerClass',1375 operational: 'FrameSystemLimitsWeightsPerClass',
1379 mandatory: 'FrameSystemLimitsWeightsPerClass'1376 mandatory: 'FrameSystemLimitsWeightsPerClass'
1380 },1377 },
1381 /**1378 /**
1382 * Lookup132: frame_system::limits::WeightsPerClass1379 * Lookup131: frame_system::limits::WeightsPerClass
1383 **/1380 **/
1384 FrameSystemLimitsWeightsPerClass: {1381 FrameSystemLimitsWeightsPerClass: {
1385 baseExtrinsic: 'SpWeightsWeightV2Weight',1382 baseExtrinsic: 'SpWeightsWeightV2Weight',
1386 maxExtrinsic: 'Option<SpWeightsWeightV2Weight>',1383 maxExtrinsic: 'Option<SpWeightsWeightV2Weight>',
1387 maxTotal: 'Option<SpWeightsWeightV2Weight>',1384 maxTotal: 'Option<SpWeightsWeightV2Weight>',
1388 reserved: 'Option<SpWeightsWeightV2Weight>'1385 reserved: 'Option<SpWeightsWeightV2Weight>'
1389 },1386 },
1390 /**1387 /**
1391 * Lookup134: frame_system::limits::BlockLength1388 * Lookup133: frame_system::limits::BlockLength
1392 **/1389 **/
1393 FrameSystemLimitsBlockLength: {1390 FrameSystemLimitsBlockLength: {
1394 max: 'FrameSupportDispatchPerDispatchClassU32'1391 max: 'FrameSupportDispatchPerDispatchClassU32'
1395 },1392 },
1396 /**1393 /**
1397 * Lookup135: frame_support::dispatch::PerDispatchClass<T>1394 * Lookup134: frame_support::dispatch::PerDispatchClass<T>
1398 **/1395 **/
1399 FrameSupportDispatchPerDispatchClassU32: {1396 FrameSupportDispatchPerDispatchClassU32: {
1400 normal: 'u32',1397 normal: 'u32',
1401 operational: 'u32',1398 operational: 'u32',
1402 mandatory: 'u32'1399 mandatory: 'u32'
1403 },1400 },
1404 /**1401 /**
1405 * Lookup136: sp_weights::RuntimeDbWeight1402 * Lookup135: sp_weights::RuntimeDbWeight
1406 **/1403 **/
1407 SpWeightsRuntimeDbWeight: {1404 SpWeightsRuntimeDbWeight: {
1408 read: 'u64',1405 read: 'u64',
1409 write: 'u64'1406 write: 'u64'
1410 },1407 },
1411 /**1408 /**
1412 * Lookup137: sp_version::RuntimeVersion1409 * Lookup136: sp_version::RuntimeVersion
1413 **/1410 **/
1414 SpVersionRuntimeVersion: {1411 SpVersionRuntimeVersion: {
1415 specName: 'Text',1412 specName: 'Text',
1416 implName: 'Text',1413 implName: 'Text',
1421 transactionVersion: 'u32',1418 transactionVersion: 'u32',
1422 stateVersion: 'u8'1419 stateVersion: 'u8'
1423 },1420 },
1424 /**1421 /**
1425 * Lookup142: frame_system::pallet::Error<T>1422 * Lookup141: frame_system::pallet::Error<T>
1426 **/1423 **/
1427 FrameSystemError: {1424 FrameSystemError: {
1428 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']1425 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
1429 },1426 },
1430 /**1427 /**
1431 * Lookup143: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>1428 * Lookup142: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>
1432 **/1429 **/
1433 PolkadotPrimitivesV2PersistedValidationData: {1430 PolkadotPrimitivesV2PersistedValidationData: {
1434 parentHead: 'Bytes',1431 parentHead: 'Bytes',
1435 relayParentNumber: 'u32',1432 relayParentNumber: 'u32',
1436 relayParentStorageRoot: 'H256',1433 relayParentStorageRoot: 'H256',
1437 maxPovSize: 'u32'1434 maxPovSize: 'u32'
1438 },1435 },
1439 /**1436 /**
1440 * Lookup146: polkadot_primitives::v2::UpgradeRestriction1437 * Lookup145: polkadot_primitives::v2::UpgradeRestriction
1441 **/1438 **/
1442 PolkadotPrimitivesV2UpgradeRestriction: {1439 PolkadotPrimitivesV2UpgradeRestriction: {
1443 _enum: ['Present']1440 _enum: ['Present']
1444 },1441 },
1445 /**1442 /**
1446 * Lookup147: sp_trie::storage_proof::StorageProof1443 * Lookup146: sp_trie::storage_proof::StorageProof
1447 **/1444 **/
1448 SpTrieStorageProof: {1445 SpTrieStorageProof: {
1449 trieNodes: 'BTreeSet<Bytes>'1446 trieNodes: 'BTreeSet<Bytes>'
1450 },1447 },
1451 /**1448 /**
1452 * Lookup149: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot1449 * Lookup148: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
1453 **/1450 **/
1454 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {1451 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
1455 dmqMqcHead: 'H256',1452 dmqMqcHead: 'H256',
1456 relayDispatchQueueSize: '(u32,u32)',1453 relayDispatchQueueSize: '(u32,u32)',
1457 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',1454 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',
1458 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'1455 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'
1459 },1456 },
1460 /**1457 /**
1461 * Lookup152: polkadot_primitives::v2::AbridgedHrmpChannel1458 * Lookup151: polkadot_primitives::v2::AbridgedHrmpChannel
1462 **/1459 **/
1463 PolkadotPrimitivesV2AbridgedHrmpChannel: {1460 PolkadotPrimitivesV2AbridgedHrmpChannel: {
1464 maxCapacity: 'u32',1461 maxCapacity: 'u32',
1465 maxTotalSize: 'u32',1462 maxTotalSize: 'u32',
1468 totalSize: 'u32',1465 totalSize: 'u32',
1469 mqcHead: 'Option<H256>'1466 mqcHead: 'Option<H256>'
1470 },1467 },
1471 /**1468 /**
1472 * Lookup153: polkadot_primitives::v2::AbridgedHostConfiguration1469 * Lookup152: polkadot_primitives::v2::AbridgedHostConfiguration
1473 **/1470 **/
1474 PolkadotPrimitivesV2AbridgedHostConfiguration: {1471 PolkadotPrimitivesV2AbridgedHostConfiguration: {
1475 maxCodeSize: 'u32',1472 maxCodeSize: 'u32',
1476 maxHeadDataSize: 'u32',1473 maxHeadDataSize: 'u32',
1482 validationUpgradeCooldown: 'u32',1479 validationUpgradeCooldown: 'u32',
1483 validationUpgradeDelay: 'u32'1480 validationUpgradeDelay: 'u32'
1484 },1481 },
1485 /**1482 /**
1486 * Lookup159: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>1483 * Lookup158: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
1487 **/1484 **/
1488 PolkadotCorePrimitivesOutboundHrmpMessage: {1485 PolkadotCorePrimitivesOutboundHrmpMessage: {
1489 recipient: 'u32',1486 recipient: 'u32',
1490 data: 'Bytes'1487 data: 'Bytes'
1491 },1488 },
1492 /**1489 /**
1493 * Lookup160: cumulus_pallet_parachain_system::pallet::Call<T>1490 * Lookup159: cumulus_pallet_parachain_system::pallet::Call<T>
1494 **/1491 **/
1495 CumulusPalletParachainSystemCall: {1492 CumulusPalletParachainSystemCall: {
1496 _enum: {1493 _enum: {
1497 set_validation_data: {1494 set_validation_data: {
1508 }1505 }
1509 }1506 }
1510 },1507 },
1511 /**1508 /**
1512 * Lookup161: cumulus_primitives_parachain_inherent::ParachainInherentData1509 * Lookup160: cumulus_primitives_parachain_inherent::ParachainInherentData
1513 **/1510 **/
1514 CumulusPrimitivesParachainInherentParachainInherentData: {1511 CumulusPrimitivesParachainInherentParachainInherentData: {
1515 validationData: 'PolkadotPrimitivesV2PersistedValidationData',1512 validationData: 'PolkadotPrimitivesV2PersistedValidationData',
1516 relayChainState: 'SpTrieStorageProof',1513 relayChainState: 'SpTrieStorageProof',
1517 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',1514 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',
1518 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'1515 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
1519 },1516 },
1520 /**1517 /**
1521 * Lookup163: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>1518 * Lookup162: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
1522 **/1519 **/
1523 PolkadotCorePrimitivesInboundDownwardMessage: {1520 PolkadotCorePrimitivesInboundDownwardMessage: {
1524 sentAt: 'u32',1521 sentAt: 'u32',
1525 msg: 'Bytes'1522 msg: 'Bytes'
1526 },1523 },
1527 /**1524 /**
1528 * Lookup166: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>1525 * Lookup165: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
1529 **/1526 **/
1530 PolkadotCorePrimitivesInboundHrmpMessage: {1527 PolkadotCorePrimitivesInboundHrmpMessage: {
1531 sentAt: 'u32',1528 sentAt: 'u32',
1532 data: 'Bytes'1529 data: 'Bytes'
1533 },1530 },
1534 /**1531 /**
1535 * Lookup169: cumulus_pallet_parachain_system::pallet::Error<T>1532 * Lookup168: cumulus_pallet_parachain_system::pallet::Error<T>
1536 **/1533 **/
1537 CumulusPalletParachainSystemError: {1534 CumulusPalletParachainSystemError: {
1538 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']1535 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
1539 },1536 },
1540 /**1537 /**
1541 * Lookup171: pallet_balances::BalanceLock<Balance>1538 * Lookup170: pallet_balances::BalanceLock<Balance>
1542 **/1539 **/
1543 PalletBalancesBalanceLock: {1540 PalletBalancesBalanceLock: {
1544 id: '[u8;8]',1541 id: '[u8;8]',
1545 amount: 'u128',1542 amount: 'u128',
1546 reasons: 'PalletBalancesReasons'1543 reasons: 'PalletBalancesReasons'
1547 },1544 },
1548 /**1545 /**
1549 * Lookup172: pallet_balances::Reasons1546 * Lookup171: pallet_balances::Reasons
1550 **/1547 **/
1551 PalletBalancesReasons: {1548 PalletBalancesReasons: {
1552 _enum: ['Fee', 'Misc', 'All']1549 _enum: ['Fee', 'Misc', 'All']
1553 },1550 },
1554 /**1551 /**
1555 * Lookup175: pallet_balances::ReserveData<ReserveIdentifier, Balance>1552 * Lookup174: pallet_balances::ReserveData<ReserveIdentifier, Balance>
1556 **/1553 **/
1557 PalletBalancesReserveData: {1554 PalletBalancesReserveData: {
1558 id: '[u8;16]',1555 id: '[u8;16]',
1559 amount: 'u128'1556 amount: 'u128'
1560 },1557 },
1561 /**
1562 * Lookup177: pallet_balances::Releases
1563 **/
1564 PalletBalancesReleases: {
1565 _enum: ['V1_0_0', 'V2_0_0']
1566 },
1567 /**1558 /**
1568 * Lookup178: pallet_balances::pallet::Call<T, I>1559 * Lookup176: pallet_balances::pallet::Call<T, I>
1569 **/1560 **/
1570 PalletBalancesCall: {1561 PalletBalancesCall: {
1571 _enum: {1562 _enum: {
1572 transfer: {1563 transfer: {
1597 }1588 }
1598 }1589 }
1599 },1590 },
1600 /**1591 /**
1601 * Lookup181: pallet_balances::pallet::Error<T, I>1592 * Lookup179: pallet_balances::pallet::Error<T, I>
1602 **/1593 **/
1603 PalletBalancesError: {1594 PalletBalancesError: {
1604 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1595 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
1605 },1596 },
1606 /**1597 /**
1607 * Lookup183: pallet_timestamp::pallet::Call<T>1598 * Lookup181: pallet_timestamp::pallet::Call<T>
1608 **/1599 **/
1609 PalletTimestampCall: {1600 PalletTimestampCall: {
1610 _enum: {1601 _enum: {
1611 set: {1602 set: {
1612 now: 'Compact<u64>'1603 now: 'Compact<u64>'
1613 }1604 }
1614 }1605 }
1615 },1606 },
1616 /**1607 /**
1617 * Lookup185: pallet_transaction_payment::Releases1608 * Lookup183: pallet_transaction_payment::Releases
1618 **/1609 **/
1619 PalletTransactionPaymentReleases: {1610 PalletTransactionPaymentReleases: {
1620 _enum: ['V1Ancient', 'V2']1611 _enum: ['V1Ancient', 'V2']
1621 },1612 },
1622 /**1613 /**
1623 * Lookup186: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1614 * Lookup184: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
1624 **/1615 **/
1625 PalletTreasuryProposal: {1616 PalletTreasuryProposal: {
1626 proposer: 'AccountId32',1617 proposer: 'AccountId32',
1627 value: 'u128',1618 value: 'u128',
1628 beneficiary: 'AccountId32',1619 beneficiary: 'AccountId32',
1629 bond: 'u128'1620 bond: 'u128'
1630 },1621 },
1631 /**1622 /**
1632 * Lookup189: pallet_treasury::pallet::Call<T, I>1623 * Lookup187: pallet_treasury::pallet::Call<T, I>
1633 **/1624 **/
1634 PalletTreasuryCall: {1625 PalletTreasuryCall: {
1635 _enum: {1626 _enum: {
1636 propose_spend: {1627 propose_spend: {
1652 }1643 }
1653 }1644 }
1654 },1645 },
1655 /**1646 /**
1656 * Lookup192: frame_support::PalletId1647 * Lookup190: frame_support::PalletId
1657 **/1648 **/
1658 FrameSupportPalletId: '[u8;8]',1649 FrameSupportPalletId: '[u8;8]',
1659 /**1650 /**
1660 * Lookup193: pallet_treasury::pallet::Error<T, I>1651 * Lookup191: pallet_treasury::pallet::Error<T, I>
1661 **/1652 **/
1662 PalletTreasuryError: {1653 PalletTreasuryError: {
1663 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1654 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']
1664 },1655 },
1665 /**1656 /**
1666 * Lookup194: pallet_sudo::pallet::Call<T>1657 * Lookup192: pallet_sudo::pallet::Call<T>
1667 **/1658 **/
1668 PalletSudoCall: {1659 PalletSudoCall: {
1669 _enum: {1660 _enum: {
1670 sudo: {1661 sudo: {
1686 }1677 }
1687 }1678 }
1688 },1679 },
1689 /**1680 /**
1690 * Lookup196: orml_vesting::module::Call<T>1681 * Lookup194: orml_vesting::module::Call<T>
1691 **/1682 **/
1692 OrmlVestingModuleCall: {1683 OrmlVestingModuleCall: {
1693 _enum: {1684 _enum: {
1694 claim: 'Null',1685 claim: 'Null',
1705 }1696 }
1706 }1697 }
1707 },1698 },
1708 /**1699 /**
1709 * Lookup198: orml_xtokens::module::Call<T>1700 * Lookup196: orml_xtokens::module::Call<T>
1710 **/1701 **/
1711 OrmlXtokensModuleCall: {1702 OrmlXtokensModuleCall: {
1712 _enum: {1703 _enum: {
1713 transfer: {1704 transfer: {
1748 }1739 }
1749 }1740 }
1750 },1741 },
1751 /**1742 /**
1752 * Lookup199: xcm::VersionedMultiAsset1743 * Lookup197: xcm::VersionedMultiAsset
1753 **/1744 **/
1754 XcmVersionedMultiAsset: {1745 XcmVersionedMultiAsset: {
1755 _enum: {1746 _enum: {
1756 V0: 'XcmV0MultiAsset',1747 V0: 'XcmV0MultiAsset',
1757 V1: 'XcmV1MultiAsset'1748 V1: 'XcmV1MultiAsset'
1758 }1749 }
1759 },1750 },
1760 /**1751 /**
1761 * Lookup202: orml_tokens::module::Call<T>1752 * Lookup200: orml_tokens::module::Call<T>
1762 **/1753 **/
1763 OrmlTokensModuleCall: {1754 OrmlTokensModuleCall: {
1764 _enum: {1755 _enum: {
1765 transfer: {1756 transfer: {
1791 }1782 }
1792 }1783 }
1793 },1784 },
1794 /**1785 /**
1795 * Lookup203: cumulus_pallet_xcmp_queue::pallet::Call<T>1786 * Lookup201: cumulus_pallet_xcmp_queue::pallet::Call<T>
1796 **/1787 **/
1797 CumulusPalletXcmpQueueCall: {1788 CumulusPalletXcmpQueueCall: {
1798 _enum: {1789 _enum: {
1799 service_overweight: {1790 service_overweight: {
1840 }1831 }
1841 }1832 }
1842 },1833 },
1843 /**1834 /**
1844 * Lookup204: pallet_xcm::pallet::Call<T>1835 * Lookup202: pallet_xcm::pallet::Call<T>
1845 **/1836 **/
1846 PalletXcmCall: {1837 PalletXcmCall: {
1847 _enum: {1838 _enum: {
1848 send: {1839 send: {
1894 }1885 }
1895 }1886 }
1896 },1887 },
1897 /**1888 /**
1898 * Lookup205: xcm::VersionedXcm<RuntimeCall>1889 * Lookup203: xcm::VersionedXcm<RuntimeCall>
1899 **/1890 **/
1900 XcmVersionedXcm: {1891 XcmVersionedXcm: {
1901 _enum: {1892 _enum: {
1902 V0: 'XcmV0Xcm',1893 V0: 'XcmV0Xcm',
1903 V1: 'XcmV1Xcm',1894 V1: 'XcmV1Xcm',
1904 V2: 'XcmV2Xcm'1895 V2: 'XcmV2Xcm'
1905 }1896 }
1906 },1897 },
1907 /**1898 /**
1908 * Lookup206: xcm::v0::Xcm<RuntimeCall>1899 * Lookup204: xcm::v0::Xcm<RuntimeCall>
1909 **/1900 **/
1910 XcmV0Xcm: {1901 XcmV0Xcm: {
1911 _enum: {1902 _enum: {
1912 WithdrawAsset: {1903 WithdrawAsset: {
1958 }1949 }
1959 }1950 }
1960 },1951 },
1961 /**1952 /**
1962 * Lookup208: xcm::v0::order::Order<RuntimeCall>1953 * Lookup206: xcm::v0::order::Order<RuntimeCall>
1963 **/1954 **/
1964 XcmV0Order: {1955 XcmV0Order: {
1965 _enum: {1956 _enum: {
1966 Null: 'Null',1957 Null: 'Null',
2001 }1992 }
2002 }1993 }
2003 },1994 },
2004 /**1995 /**
2005 * Lookup210: xcm::v0::Response1996 * Lookup208: xcm::v0::Response
2006 **/1997 **/
2007 XcmV0Response: {1998 XcmV0Response: {
2008 _enum: {1999 _enum: {
2009 Assets: 'Vec<XcmV0MultiAsset>'2000 Assets: 'Vec<XcmV0MultiAsset>'
2010 }2001 }
2011 },2002 },
2012 /**2003 /**
2013 * Lookup211: xcm::v1::Xcm<RuntimeCall>2004 * Lookup209: xcm::v1::Xcm<RuntimeCall>
2014 **/2005 **/
2015 XcmV1Xcm: {2006 XcmV1Xcm: {
2016 _enum: {2007 _enum: {
2017 WithdrawAsset: {2008 WithdrawAsset: {
2068 UnsubscribeVersion: 'Null'2059 UnsubscribeVersion: 'Null'
2069 }2060 }
2070 },2061 },
2071 /**2062 /**
2072 * Lookup213: xcm::v1::order::Order<RuntimeCall>2063 * Lookup211: xcm::v1::order::Order<RuntimeCall>
2073 **/2064 **/
2074 XcmV1Order: {2065 XcmV1Order: {
2075 _enum: {2066 _enum: {
2076 Noop: 'Null',2067 Noop: 'Null',
2113 }2104 }
2114 }2105 }
2115 },2106 },
2116 /**2107 /**
2117 * Lookup215: xcm::v1::Response2108 * Lookup213: xcm::v1::Response
2118 **/2109 **/
2119 XcmV1Response: {2110 XcmV1Response: {
2120 _enum: {2111 _enum: {
2121 Assets: 'XcmV1MultiassetMultiAssets',2112 Assets: 'XcmV1MultiassetMultiAssets',
2122 Version: 'u32'2113 Version: 'u32'
2123 }2114 }
2124 },2115 },
2125 /**2116 /**
2126 * Lookup229: cumulus_pallet_xcm::pallet::Call<T>2117 * Lookup227: cumulus_pallet_xcm::pallet::Call<T>
2127 **/2118 **/
2128 CumulusPalletXcmCall: 'Null',2119 CumulusPalletXcmCall: 'Null',
2129 /**2120 /**
2130 * Lookup230: cumulus_pallet_dmp_queue::pallet::Call<T>2121 * Lookup228: cumulus_pallet_dmp_queue::pallet::Call<T>
2131 **/2122 **/
2132 CumulusPalletDmpQueueCall: {2123 CumulusPalletDmpQueueCall: {
2133 _enum: {2124 _enum: {
2134 service_overweight: {2125 service_overweight: {
2137 }2128 }
2138 }2129 }
2139 },2130 },
2140 /**2131 /**
2141 * Lookup231: pallet_inflation::pallet::Call<T>2132 * Lookup229: pallet_inflation::pallet::Call<T>
2142 **/2133 **/
2143 PalletInflationCall: {2134 PalletInflationCall: {
2144 _enum: {2135 _enum: {
2145 start_inflation: {2136 start_inflation: {
2146 inflationStartRelayBlock: 'u32'2137 inflationStartRelayBlock: 'u32'
2147 }2138 }
2148 }2139 }
2149 },2140 },
2150 /**2141 /**
2151 * Lookup232: pallet_unique::Call<T>2142 * Lookup230: pallet_unique::Call<T>
2152 **/2143 **/
2153 PalletUniqueCall: {2144 PalletUniqueCall: {
2154 _enum: {2145 _enum: {
2155 create_collection: {2146 create_collection: {
2291 }2282 }
2292 }2283 }
2293 },2284 },
2294 /**2285 /**
2295 * Lookup237: up_data_structs::CollectionMode2286 * Lookup235: up_data_structs::CollectionMode
2296 **/2287 **/
2297 UpDataStructsCollectionMode: {2288 UpDataStructsCollectionMode: {
2298 _enum: {2289 _enum: {
2299 NFT: 'Null',2290 NFT: 'Null',
2300 Fungible: 'u8',2291 Fungible: 'u8',
2301 ReFungible: 'Null'2292 ReFungible: 'Null'
2302 }2293 }
2303 },2294 },
2304 /**2295 /**
2305 * Lookup238: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2296 * Lookup236: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>
2306 **/2297 **/
2307 UpDataStructsCreateCollectionData: {2298 UpDataStructsCreateCollectionData: {
2308 mode: 'UpDataStructsCollectionMode',2299 mode: 'UpDataStructsCollectionMode',
2309 access: 'Option<UpDataStructsAccessMode>',2300 access: 'Option<UpDataStructsAccessMode>',
2316 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2307 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
2317 properties: 'Vec<UpDataStructsProperty>'2308 properties: 'Vec<UpDataStructsProperty>'
2318 },2309 },
2319 /**2310 /**
2320 * Lookup240: up_data_structs::AccessMode2311 * Lookup238: up_data_structs::AccessMode
2321 **/2312 **/
2322 UpDataStructsAccessMode: {2313 UpDataStructsAccessMode: {
2323 _enum: ['Normal', 'AllowList']2314 _enum: ['Normal', 'AllowList']
2324 },2315 },
2325 /**2316 /**
2326 * Lookup242: up_data_structs::CollectionLimits2317 * Lookup240: up_data_structs::CollectionLimits
2327 **/2318 **/
2328 UpDataStructsCollectionLimits: {2319 UpDataStructsCollectionLimits: {
2329 accountTokenOwnershipLimit: 'Option<u32>',2320 accountTokenOwnershipLimit: 'Option<u32>',
2330 sponsoredDataSize: 'Option<u32>',2321 sponsoredDataSize: 'Option<u32>',
2336 ownerCanDestroy: 'Option<bool>',2327 ownerCanDestroy: 'Option<bool>',
2337 transfersEnabled: 'Option<bool>'2328 transfersEnabled: 'Option<bool>'
2338 },2329 },
2339 /**2330 /**
2340 * Lookup244: up_data_structs::SponsoringRateLimit2331 * Lookup242: up_data_structs::SponsoringRateLimit
2341 **/2332 **/
2342 UpDataStructsSponsoringRateLimit: {2333 UpDataStructsSponsoringRateLimit: {
2343 _enum: {2334 _enum: {
2344 SponsoringDisabled: 'Null',2335 SponsoringDisabled: 'Null',
2345 Blocks: 'u32'2336 Blocks: 'u32'
2346 }2337 }
2347 },2338 },
2348 /**2339 /**
2349 * Lookup247: up_data_structs::CollectionPermissions2340 * Lookup245: up_data_structs::CollectionPermissions
2350 **/2341 **/
2351 UpDataStructsCollectionPermissions: {2342 UpDataStructsCollectionPermissions: {
2352 access: 'Option<UpDataStructsAccessMode>',2343 access: 'Option<UpDataStructsAccessMode>',
2353 mintMode: 'Option<bool>',2344 mintMode: 'Option<bool>',
2354 nesting: 'Option<UpDataStructsNestingPermissions>'2345 nesting: 'Option<UpDataStructsNestingPermissions>'
2355 },2346 },
2356 /**2347 /**
2357 * Lookup249: up_data_structs::NestingPermissions2348 * Lookup247: up_data_structs::NestingPermissions
2358 **/2349 **/
2359 UpDataStructsNestingPermissions: {2350 UpDataStructsNestingPermissions: {
2360 tokenOwner: 'bool',2351 tokenOwner: 'bool',
2361 collectionAdmin: 'bool',2352 collectionAdmin: 'bool',
2362 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2353 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'
2363 },2354 },
2364 /**2355 /**
2365 * Lookup251: up_data_structs::OwnerRestrictedSet2356 * Lookup249: up_data_structs::OwnerRestrictedSet
2366 **/2357 **/
2367 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2358 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
2368 /**2359 /**
2369 * Lookup256: up_data_structs::PropertyKeyPermission2360 * Lookup254: up_data_structs::PropertyKeyPermission
2370 **/2361 **/
2371 UpDataStructsPropertyKeyPermission: {2362 UpDataStructsPropertyKeyPermission: {
2372 key: 'Bytes',2363 key: 'Bytes',
2373 permission: 'UpDataStructsPropertyPermission'2364 permission: 'UpDataStructsPropertyPermission'
2374 },2365 },
2375 /**2366 /**
2376 * Lookup257: up_data_structs::PropertyPermission2367 * Lookup255: up_data_structs::PropertyPermission
2377 **/2368 **/
2378 UpDataStructsPropertyPermission: {2369 UpDataStructsPropertyPermission: {
2379 mutable: 'bool',2370 mutable: 'bool',
2380 collectionAdmin: 'bool',2371 collectionAdmin: 'bool',
2381 tokenOwner: 'bool'2372 tokenOwner: 'bool'
2382 },2373 },
2383 /**2374 /**
2384 * Lookup260: up_data_structs::Property2375 * Lookup258: up_data_structs::Property
2385 **/2376 **/
2386 UpDataStructsProperty: {2377 UpDataStructsProperty: {
2387 key: 'Bytes',2378 key: 'Bytes',
2388 value: 'Bytes'2379 value: 'Bytes'
2389 },2380 },
2390 /**2381 /**
2391 * Lookup263: up_data_structs::CreateItemData2382 * Lookup261: up_data_structs::CreateItemData
2392 **/2383 **/
2393 UpDataStructsCreateItemData: {2384 UpDataStructsCreateItemData: {
2394 _enum: {2385 _enum: {
2395 NFT: 'UpDataStructsCreateNftData',2386 NFT: 'UpDataStructsCreateNftData',
2396 Fungible: 'UpDataStructsCreateFungibleData',2387 Fungible: 'UpDataStructsCreateFungibleData',
2397 ReFungible: 'UpDataStructsCreateReFungibleData'2388 ReFungible: 'UpDataStructsCreateReFungibleData'
2398 }2389 }
2399 },2390 },
2400 /**2391 /**
2401 * Lookup264: up_data_structs::CreateNftData2392 * Lookup262: up_data_structs::CreateNftData
2402 **/2393 **/
2403 UpDataStructsCreateNftData: {2394 UpDataStructsCreateNftData: {
2404 properties: 'Vec<UpDataStructsProperty>'2395 properties: 'Vec<UpDataStructsProperty>'
2405 },2396 },
2406 /**2397 /**
2407 * Lookup265: up_data_structs::CreateFungibleData2398 * Lookup263: up_data_structs::CreateFungibleData
2408 **/2399 **/
2409 UpDataStructsCreateFungibleData: {2400 UpDataStructsCreateFungibleData: {
2410 value: 'u128'2401 value: 'u128'
2411 },2402 },
2412 /**2403 /**
2413 * Lookup266: up_data_structs::CreateReFungibleData2404 * Lookup264: up_data_structs::CreateReFungibleData
2414 **/2405 **/
2415 UpDataStructsCreateReFungibleData: {2406 UpDataStructsCreateReFungibleData: {
2416 pieces: 'u128',2407 pieces: 'u128',
2417 properties: 'Vec<UpDataStructsProperty>'2408 properties: 'Vec<UpDataStructsProperty>'
2418 },2409 },
2419 /**2410 /**
2420 * Lookup269: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2411 * Lookup267: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2421 **/2412 **/
2422 UpDataStructsCreateItemExData: {2413 UpDataStructsCreateItemExData: {
2423 _enum: {2414 _enum: {
2424 NFT: 'Vec<UpDataStructsCreateNftExData>',2415 NFT: 'Vec<UpDataStructsCreateNftExData>',
2427 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2418 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'
2428 }2419 }
2429 },2420 },
2430 /**2421 /**
2431 * Lookup271: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2422 * Lookup269: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2432 **/2423 **/
2433 UpDataStructsCreateNftExData: {2424 UpDataStructsCreateNftExData: {
2434 properties: 'Vec<UpDataStructsProperty>',2425 properties: 'Vec<UpDataStructsProperty>',
2435 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2426 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
2436 },2427 },
2437 /**2428 /**
2438 * Lookup278: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2429 * Lookup276: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2439 **/2430 **/
2440 UpDataStructsCreateRefungibleExSingleOwner: {2431 UpDataStructsCreateRefungibleExSingleOwner: {
2441 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2432 user: 'PalletEvmAccountBasicCrossAccountIdRepr',
2442 pieces: 'u128',2433 pieces: 'u128',
2443 properties: 'Vec<UpDataStructsProperty>'2434 properties: 'Vec<UpDataStructsProperty>'
2444 },2435 },
2445 /**2436 /**
2446 * Lookup280: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2437 * Lookup278: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2447 **/2438 **/
2448 UpDataStructsCreateRefungibleExMultipleOwners: {2439 UpDataStructsCreateRefungibleExMultipleOwners: {
2449 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2440 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',
2450 properties: 'Vec<UpDataStructsProperty>'2441 properties: 'Vec<UpDataStructsProperty>'
2451 },2442 },
2452 /**2443 /**
2453 * Lookup281: pallet_configuration::pallet::Call<T>2444 * Lookup279: pallet_configuration::pallet::Call<T>
2454 **/2445 **/
2455 PalletConfigurationCall: {2446 PalletConfigurationCall: {
2456 _enum: {2447 _enum: {
2457 set_weight_to_fee_coefficient_override: {2448 set_weight_to_fee_coefficient_override: {
2468 }2459 }
2469 }2460 }
2470 },2461 },
2471 /**2462 /**
2472 * Lookup286: pallet_configuration::AppPromotionConfiguration<BlockNumber>2463 * Lookup284: pallet_configuration::AppPromotionConfiguration<BlockNumber>
2473 **/2464 **/
2474 PalletConfigurationAppPromotionConfiguration: {2465 PalletConfigurationAppPromotionConfiguration: {
2475 recalculationInterval: 'Option<u32>',2466 recalculationInterval: 'Option<u32>',
2476 pendingInterval: 'Option<u32>',2467 pendingInterval: 'Option<u32>',
2477 intervalIncome: 'Option<Perbill>',2468 intervalIncome: 'Option<Perbill>',
2478 maxStakersPerCalculation: 'Option<u8>'2469 maxStakersPerCalculation: 'Option<u8>'
2479 },2470 },
2480 /**2471 /**
2481 * Lookup289: pallet_template_transaction_payment::Call<T>2472 * Lookup288: pallet_template_transaction_payment::Call<T>
2482 **/2473 **/
2483 PalletTemplateTransactionPaymentCall: 'Null',2474 PalletTemplateTransactionPaymentCall: 'Null',
2484 /**2475 /**
2485 * Lookup290: pallet_structure::pallet::Call<T>2476 * Lookup289: pallet_structure::pallet::Call<T>
2486 **/2477 **/
2487 PalletStructureCall: 'Null',2478 PalletStructureCall: 'Null',
2488 /**2479 /**
2489 * Lookup291: pallet_rmrk_core::pallet::Call<T>2480 * Lookup290: pallet_rmrk_core::pallet::Call<T>
2490 **/2481 **/
2491 PalletRmrkCoreCall: {2482 PalletRmrkCoreCall: {
2492 _enum: {2483 _enum: {
2493 create_collection: {2484 create_collection: {
2576 }2567 }
2577 }2568 }
2578 },2569 },
2579 /**2570 /**
2580 * Lookup297: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2571 * Lookup296: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2581 **/2572 **/
2582 RmrkTraitsResourceResourceTypes: {2573 RmrkTraitsResourceResourceTypes: {
2583 _enum: {2574 _enum: {
2584 Basic: 'RmrkTraitsResourceBasicResource',2575 Basic: 'RmrkTraitsResourceBasicResource',
2585 Composable: 'RmrkTraitsResourceComposableResource',2576 Composable: 'RmrkTraitsResourceComposableResource',
2586 Slot: 'RmrkTraitsResourceSlotResource'2577 Slot: 'RmrkTraitsResourceSlotResource'
2587 }2578 }
2588 },2579 },
2589 /**2580 /**
2590 * Lookup299: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2581 * Lookup298: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2591 **/2582 **/
2592 RmrkTraitsResourceBasicResource: {2583 RmrkTraitsResourceBasicResource: {
2593 src: 'Option<Bytes>',2584 src: 'Option<Bytes>',
2594 metadata: 'Option<Bytes>',2585 metadata: 'Option<Bytes>',
2595 license: 'Option<Bytes>',2586 license: 'Option<Bytes>',
2596 thumb: 'Option<Bytes>'2587 thumb: 'Option<Bytes>'
2597 },2588 },
2598 /**2589 /**
2599 * Lookup301: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2590 * Lookup300: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2600 **/2591 **/
2601 RmrkTraitsResourceComposableResource: {2592 RmrkTraitsResourceComposableResource: {
2602 parts: 'Vec<u32>',2593 parts: 'Vec<u32>',
2603 base: 'u32',2594 base: 'u32',
2606 license: 'Option<Bytes>',2597 license: 'Option<Bytes>',
2607 thumb: 'Option<Bytes>'2598 thumb: 'Option<Bytes>'
2608 },2599 },
2609 /**2600 /**
2610 * Lookup302: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2601 * Lookup301: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2611 **/2602 **/
2612 RmrkTraitsResourceSlotResource: {2603 RmrkTraitsResourceSlotResource: {
2613 base: 'u32',2604 base: 'u32',
2614 src: 'Option<Bytes>',2605 src: 'Option<Bytes>',
2617 license: 'Option<Bytes>',2608 license: 'Option<Bytes>',
2618 thumb: 'Option<Bytes>'2609 thumb: 'Option<Bytes>'
2619 },2610 },
2620 /**2611 /**
2621 * Lookup305: pallet_rmrk_equip::pallet::Call<T>2612 * Lookup304: pallet_rmrk_equip::pallet::Call<T>
2622 **/2613 **/
2623 PalletRmrkEquipCall: {2614 PalletRmrkEquipCall: {
2624 _enum: {2615 _enum: {
2625 create_base: {2616 create_base: {
2638 }2629 }
2639 }2630 }
2640 },2631 },
2641 /**2632 /**
2642 * Lookup308: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2633 * Lookup307: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2643 **/2634 **/
2644 RmrkTraitsPartPartType: {2635 RmrkTraitsPartPartType: {
2645 _enum: {2636 _enum: {
2646 FixedPart: 'RmrkTraitsPartFixedPart',2637 FixedPart: 'RmrkTraitsPartFixedPart',
2647 SlotPart: 'RmrkTraitsPartSlotPart'2638 SlotPart: 'RmrkTraitsPartSlotPart'
2648 }2639 }
2649 },2640 },
2650 /**2641 /**
2651 * Lookup310: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2642 * Lookup309: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2652 **/2643 **/
2653 RmrkTraitsPartFixedPart: {2644 RmrkTraitsPartFixedPart: {
2654 id: 'u32',2645 id: 'u32',
2655 z: 'u32',2646 z: 'u32',
2656 src: 'Bytes'2647 src: 'Bytes'
2657 },2648 },
2658 /**2649 /**
2659 * Lookup311: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2650 * Lookup310: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2660 **/2651 **/
2661 RmrkTraitsPartSlotPart: {2652 RmrkTraitsPartSlotPart: {
2662 id: 'u32',2653 id: 'u32',
2663 equippable: 'RmrkTraitsPartEquippableList',2654 equippable: 'RmrkTraitsPartEquippableList',
2664 src: 'Bytes',2655 src: 'Bytes',
2665 z: 'u32'2656 z: 'u32'
2666 },2657 },
2667 /**2658 /**
2668 * Lookup312: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2659 * Lookup311: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2669 **/2660 **/
2670 RmrkTraitsPartEquippableList: {2661 RmrkTraitsPartEquippableList: {
2671 _enum: {2662 _enum: {
2672 All: 'Null',2663 All: 'Null',
2673 Empty: 'Null',2664 Empty: 'Null',
2674 Custom: 'Vec<u32>'2665 Custom: 'Vec<u32>'
2675 }2666 }
2676 },2667 },
2677 /**2668 /**
2678 * 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>>2669 * 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>>
2679 **/2670 **/
2680 RmrkTraitsTheme: {2671 RmrkTraitsTheme: {
2681 name: 'Bytes',2672 name: 'Bytes',
2682 properties: 'Vec<RmrkTraitsThemeThemeProperty>',2673 properties: 'Vec<RmrkTraitsThemeThemeProperty>',
2683 inherit: 'bool'2674 inherit: 'bool'
2684 },2675 },
2685 /**2676 /**
2686 * Lookup316: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2677 * Lookup315: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
2687 **/2678 **/
2688 RmrkTraitsThemeThemeProperty: {2679 RmrkTraitsThemeThemeProperty: {
2689 key: 'Bytes',2680 key: 'Bytes',
2690 value: 'Bytes'2681 value: 'Bytes'
2691 },2682 },
2692 /**2683 /**
2693 * Lookup318: pallet_app_promotion::pallet::Call<T>2684 * Lookup317: pallet_app_promotion::pallet::Call<T>
2694 **/2685 **/
2695 PalletAppPromotionCall: {2686 PalletAppPromotionCall: {
2696 _enum: {2687 _enum: {
2697 set_admin_address: {2688 set_admin_address: {
2718 }2709 }
2719 }2710 }
2720 },2711 },
2721 /**2712 /**
2722 * Lookup319: pallet_foreign_assets::module::Call<T>2713 * Lookup318: pallet_foreign_assets::module::Call<T>
2723 **/2714 **/
2724 PalletForeignAssetsModuleCall: {2715 PalletForeignAssetsModuleCall: {
2725 _enum: {2716 _enum: {
2726 register_foreign_asset: {2717 register_foreign_asset: {
2735 }2726 }
2736 }2727 }
2737 },2728 },
2738 /**2729 /**
2739 * Lookup320: pallet_evm::pallet::Call<T>2730 * Lookup319: pallet_evm::pallet::Call<T>
2740 **/2731 **/
2741 PalletEvmCall: {2732 PalletEvmCall: {
2742 _enum: {2733 _enum: {
2743 withdraw: {2734 withdraw: {
2778 }2769 }
2779 }2770 }
2780 },2771 },
2781 /**2772 /**
2782 * Lookup326: pallet_ethereum::pallet::Call<T>2773 * Lookup325: pallet_ethereum::pallet::Call<T>
2783 **/2774 **/
2784 PalletEthereumCall: {2775 PalletEthereumCall: {
2785 _enum: {2776 _enum: {
2786 transact: {2777 transact: {
2787 transaction: 'EthereumTransactionTransactionV2'2778 transaction: 'EthereumTransactionTransactionV2'
2788 }2779 }
2789 }2780 }
2790 },2781 },
2791 /**2782 /**
2792 * Lookup327: ethereum::transaction::TransactionV22783 * Lookup326: ethereum::transaction::TransactionV2
2793 **/2784 **/
2794 EthereumTransactionTransactionV2: {2785 EthereumTransactionTransactionV2: {
2795 _enum: {2786 _enum: {
2796 Legacy: 'EthereumTransactionLegacyTransaction',2787 Legacy: 'EthereumTransactionLegacyTransaction',
2797 EIP2930: 'EthereumTransactionEip2930Transaction',2788 EIP2930: 'EthereumTransactionEip2930Transaction',
2798 EIP1559: 'EthereumTransactionEip1559Transaction'2789 EIP1559: 'EthereumTransactionEip1559Transaction'
2799 }2790 }
2800 },2791 },
2801 /**2792 /**
2802 * Lookup328: ethereum::transaction::LegacyTransaction2793 * Lookup327: ethereum::transaction::LegacyTransaction
2803 **/2794 **/
2804 EthereumTransactionLegacyTransaction: {2795 EthereumTransactionLegacyTransaction: {
2805 nonce: 'U256',2796 nonce: 'U256',
2806 gasPrice: 'U256',2797 gasPrice: 'U256',
2810 input: 'Bytes',2801 input: 'Bytes',
2811 signature: 'EthereumTransactionTransactionSignature'2802 signature: 'EthereumTransactionTransactionSignature'
2812 },2803 },
2813 /**2804 /**
2814 * Lookup329: ethereum::transaction::TransactionAction2805 * Lookup328: ethereum::transaction::TransactionAction
2815 **/2806 **/
2816 EthereumTransactionTransactionAction: {2807 EthereumTransactionTransactionAction: {
2817 _enum: {2808 _enum: {
2818 Call: 'H160',2809 Call: 'H160',
2819 Create: 'Null'2810 Create: 'Null'
2820 }2811 }
2821 },2812 },
2822 /**2813 /**
2823 * Lookup330: ethereum::transaction::TransactionSignature2814 * Lookup329: ethereum::transaction::TransactionSignature
2824 **/2815 **/
2825 EthereumTransactionTransactionSignature: {2816 EthereumTransactionTransactionSignature: {
2826 v: 'u64',2817 v: 'u64',
2827 r: 'H256',2818 r: 'H256',
2828 s: 'H256'2819 s: 'H256'
2829 },2820 },
2830 /**2821 /**
2831 * Lookup332: ethereum::transaction::EIP2930Transaction2822 * Lookup331: ethereum::transaction::EIP2930Transaction
2832 **/2823 **/
2833 EthereumTransactionEip2930Transaction: {2824 EthereumTransactionEip2930Transaction: {
2834 chainId: 'u64',2825 chainId: 'u64',
2835 nonce: 'U256',2826 nonce: 'U256',
2843 r: 'H256',2834 r: 'H256',
2844 s: 'H256'2835 s: 'H256'
2845 },2836 },
2846 /**2837 /**
2847 * Lookup334: ethereum::transaction::AccessListItem2838 * Lookup333: ethereum::transaction::AccessListItem
2848 **/2839 **/
2849 EthereumTransactionAccessListItem: {2840 EthereumTransactionAccessListItem: {
2850 address: 'H160',2841 address: 'H160',
2851 storageKeys: 'Vec<H256>'2842 storageKeys: 'Vec<H256>'
2852 },2843 },
2853 /**2844 /**
2854 * Lookup335: ethereum::transaction::EIP1559Transaction2845 * Lookup334: ethereum::transaction::EIP1559Transaction
2855 **/2846 **/
2856 EthereumTransactionEip1559Transaction: {2847 EthereumTransactionEip1559Transaction: {
2857 chainId: 'u64',2848 chainId: 'u64',
2858 nonce: 'U256',2849 nonce: 'U256',
2867 r: 'H256',2858 r: 'H256',
2868 s: 'H256'2859 s: 'H256'
2869 },2860 },
2870 /**2861 /**
2871 * Lookup336: pallet_evm_migration::pallet::Call<T>2862 * Lookup335: pallet_evm_migration::pallet::Call<T>
2872 **/2863 **/
2873 PalletEvmMigrationCall: {2864 PalletEvmMigrationCall: {
2874 _enum: {2865 _enum: {
2875 begin: {2866 begin: {
2891 }2882 }
2892 }2883 }
2893 },2884 },
2894 /**2885 /**
2895 * Lookup340: pallet_maintenance::pallet::Call<T>2886 * Lookup339: pallet_maintenance::pallet::Call<T>
2896 **/2887 **/
2897 PalletMaintenanceCall: {2888 PalletMaintenanceCall: {
2898 _enum: ['enable', 'disable']2889 _enum: ['enable', 'disable']
2899 },2890 },
2900 /**2891 /**
2901 * Lookup341: pallet_test_utils::pallet::Call<T>2892 * Lookup340: pallet_test_utils::pallet::Call<T>
2902 **/2893 **/
2903 PalletTestUtilsCall: {2894 PalletTestUtilsCall: {
2904 _enum: {2895 _enum: {
2905 enable: 'Null',2896 enable: 'Null',
2916 }2907 }
2917 }2908 }
2918 },2909 },
2919 /**2910 /**
2920 * Lookup343: pallet_sudo::pallet::Error<T>2911 * Lookup342: pallet_sudo::pallet::Error<T>
2921 **/2912 **/
2922 PalletSudoError: {2913 PalletSudoError: {
2923 _enum: ['RequireSudo']2914 _enum: ['RequireSudo']
2924 },2915 },
2925 /**2916 /**
2926 * Lookup345: orml_vesting::module::Error<T>2917 * Lookup344: orml_vesting::module::Error<T>
2927 **/2918 **/
2928 OrmlVestingModuleError: {2919 OrmlVestingModuleError: {
2929 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2920 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
2930 },2921 },
2931 /**2922 /**
2932 * Lookup346: orml_xtokens::module::Error<T>2923 * Lookup345: orml_xtokens::module::Error<T>
2933 **/2924 **/
2934 OrmlXtokensModuleError: {2925 OrmlXtokensModuleError: {
2935 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']2926 _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedMultiLocation', 'MinXcmFeeNotDefined']
2936 },2927 },
2937 /**2928 /**
2938 * Lookup349: orml_tokens::BalanceLock<Balance>2929 * Lookup348: orml_tokens::BalanceLock<Balance>
2939 **/2930 **/
2940 OrmlTokensBalanceLock: {2931 OrmlTokensBalanceLock: {
2941 id: '[u8;8]',2932 id: '[u8;8]',
2942 amount: 'u128'2933 amount: 'u128'
2943 },2934 },
2944 /**2935 /**
2945 * Lookup351: orml_tokens::AccountData<Balance>2936 * Lookup350: orml_tokens::AccountData<Balance>
2946 **/2937 **/
2947 OrmlTokensAccountData: {2938 OrmlTokensAccountData: {
2948 free: 'u128',2939 free: 'u128',
2949 reserved: 'u128',2940 reserved: 'u128',
2950 frozen: 'u128'2941 frozen: 'u128'
2951 },2942 },
2952 /**2943 /**
2953 * Lookup353: orml_tokens::ReserveData<ReserveIdentifier, Balance>2944 * Lookup352: orml_tokens::ReserveData<ReserveIdentifier, Balance>
2954 **/2945 **/
2955 OrmlTokensReserveData: {2946 OrmlTokensReserveData: {
2956 id: 'Null',2947 id: 'Null',
2957 amount: 'u128'2948 amount: 'u128'
2958 },2949 },
2959 /**2950 /**
2960 * Lookup355: orml_tokens::module::Error<T>2951 * Lookup354: orml_tokens::module::Error<T>
2961 **/2952 **/
2962 OrmlTokensModuleError: {2953 OrmlTokensModuleError: {
2963 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']2954 _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves']
2964 },2955 },
2965 /**2956 /**
2966 * Lookup357: cumulus_pallet_xcmp_queue::InboundChannelDetails2957 * Lookup356: cumulus_pallet_xcmp_queue::InboundChannelDetails
2967 **/2958 **/
2968 CumulusPalletXcmpQueueInboundChannelDetails: {2959 CumulusPalletXcmpQueueInboundChannelDetails: {
2969 sender: 'u32',2960 sender: 'u32',
2970 state: 'CumulusPalletXcmpQueueInboundState',2961 state: 'CumulusPalletXcmpQueueInboundState',
2971 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2962 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
2972 },2963 },
2973 /**2964 /**
2974 * Lookup358: cumulus_pallet_xcmp_queue::InboundState2965 * Lookup357: cumulus_pallet_xcmp_queue::InboundState
2975 **/2966 **/
2976 CumulusPalletXcmpQueueInboundState: {2967 CumulusPalletXcmpQueueInboundState: {
2977 _enum: ['Ok', 'Suspended']2968 _enum: ['Ok', 'Suspended']
2978 },2969 },
2979 /**2970 /**
2980 * Lookup361: polkadot_parachain::primitives::XcmpMessageFormat2971 * Lookup360: polkadot_parachain::primitives::XcmpMessageFormat
2981 **/2972 **/
2982 PolkadotParachainPrimitivesXcmpMessageFormat: {2973 PolkadotParachainPrimitivesXcmpMessageFormat: {
2983 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2974 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
2984 },2975 },
2985 /**2976 /**
2986 * Lookup364: cumulus_pallet_xcmp_queue::OutboundChannelDetails2977 * Lookup363: cumulus_pallet_xcmp_queue::OutboundChannelDetails
2987 **/2978 **/
2988 CumulusPalletXcmpQueueOutboundChannelDetails: {2979 CumulusPalletXcmpQueueOutboundChannelDetails: {
2989 recipient: 'u32',2980 recipient: 'u32',
2990 state: 'CumulusPalletXcmpQueueOutboundState',2981 state: 'CumulusPalletXcmpQueueOutboundState',
2991 signalsExist: 'bool',2982 signalsExist: 'bool',
2992 firstIndex: 'u16',2983 firstIndex: 'u16',
2993 lastIndex: 'u16'2984 lastIndex: 'u16'
2994 },2985 },
2995 /**2986 /**
2996 * Lookup365: cumulus_pallet_xcmp_queue::OutboundState2987 * Lookup364: cumulus_pallet_xcmp_queue::OutboundState
2997 **/2988 **/
2998 CumulusPalletXcmpQueueOutboundState: {2989 CumulusPalletXcmpQueueOutboundState: {
2999 _enum: ['Ok', 'Suspended']2990 _enum: ['Ok', 'Suspended']
3000 },2991 },
3001 /**2992 /**
3002 * Lookup367: cumulus_pallet_xcmp_queue::QueueConfigData2993 * Lookup366: cumulus_pallet_xcmp_queue::QueueConfigData
3003 **/2994 **/
3004 CumulusPalletXcmpQueueQueueConfigData: {2995 CumulusPalletXcmpQueueQueueConfigData: {
3005 suspendThreshold: 'u32',2996 suspendThreshold: 'u32',
3006 dropThreshold: 'u32',2997 dropThreshold: 'u32',
3009 weightRestrictDecay: 'SpWeightsWeightV2Weight',3000 weightRestrictDecay: 'SpWeightsWeightV2Weight',
3010 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'3001 xcmpMaxIndividualWeight: 'SpWeightsWeightV2Weight'
3011 },3002 },
3012 /**3003 /**
3013 * Lookup369: cumulus_pallet_xcmp_queue::pallet::Error<T>3004 * Lookup368: cumulus_pallet_xcmp_queue::pallet::Error<T>
3014 **/3005 **/
3015 CumulusPalletXcmpQueueError: {3006 CumulusPalletXcmpQueueError: {
3016 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']3007 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
3017 },3008 },
3018 /**3009 /**
3019 * Lookup370: pallet_xcm::pallet::Error<T>3010 * Lookup369: pallet_xcm::pallet::Error<T>
3020 **/3011 **/
3021 PalletXcmError: {3012 PalletXcmError: {
3022 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']3013 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
3023 },3014 },
3024 /**3015 /**
3025 * Lookup371: cumulus_pallet_xcm::pallet::Error<T>3016 * Lookup370: cumulus_pallet_xcm::pallet::Error<T>
3026 **/3017 **/
3027 CumulusPalletXcmError: 'Null',3018 CumulusPalletXcmError: 'Null',
3028 /**3019 /**
3029 * Lookup372: cumulus_pallet_dmp_queue::ConfigData3020 * Lookup371: cumulus_pallet_dmp_queue::ConfigData
3030 **/3021 **/
3031 CumulusPalletDmpQueueConfigData: {3022 CumulusPalletDmpQueueConfigData: {
3032 maxIndividual: 'SpWeightsWeightV2Weight'3023 maxIndividual: 'SpWeightsWeightV2Weight'
3033 },3024 },
3034 /**3025 /**
3035 * Lookup373: cumulus_pallet_dmp_queue::PageIndexData3026 * Lookup372: cumulus_pallet_dmp_queue::PageIndexData
3036 **/3027 **/
3037 CumulusPalletDmpQueuePageIndexData: {3028 CumulusPalletDmpQueuePageIndexData: {
3038 beginUsed: 'u32',3029 beginUsed: 'u32',
3039 endUsed: 'u32',3030 endUsed: 'u32',
3040 overweightCount: 'u64'3031 overweightCount: 'u64'
3041 },3032 },
3042 /**3033 /**
3043 * Lookup376: cumulus_pallet_dmp_queue::pallet::Error<T>3034 * Lookup375: cumulus_pallet_dmp_queue::pallet::Error<T>
3044 **/3035 **/
3045 CumulusPalletDmpQueueError: {3036 CumulusPalletDmpQueueError: {
3046 _enum: ['Unknown', 'OverLimit']3037 _enum: ['Unknown', 'OverLimit']
3047 },3038 },
3048 /**3039 /**
3049 * Lookup380: pallet_unique::Error<T>3040 * Lookup379: pallet_unique::Error<T>
3050 **/3041 **/
3051 PalletUniqueError: {3042 PalletUniqueError: {
3052 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']3043 _enum: ['CollectionDecimalPointLimitExceeded', 'EmptyArgument', 'RepartitionCalledOnNonRefungibleCollection']
3053 },3044 },
3054 /**3045 /**
3055 * Lookup381: pallet_configuration::pallet::Error<T>3046 * Lookup380: pallet_configuration::pallet::Error<T>
3056 **/3047 **/
3057 PalletConfigurationError: {3048 PalletConfigurationError: {
3058 _enum: ['InconsistentConfiguration']3049 _enum: ['InconsistentConfiguration']
3059 },3050 },
3060 /**3051 /**
3061 * Lookup382: up_data_structs::Collection<sp_core::crypto::AccountId32>3052 * Lookup381: up_data_structs::Collection<sp_core::crypto::AccountId32>
3062 **/3053 **/
3063 UpDataStructsCollection: {3054 UpDataStructsCollection: {
3064 owner: 'AccountId32',3055 owner: 'AccountId32',
3065 mode: 'UpDataStructsCollectionMode',3056 mode: 'UpDataStructsCollectionMode',
3071 permissions: 'UpDataStructsCollectionPermissions',3062 permissions: 'UpDataStructsCollectionPermissions',
3072 flags: '[u8;1]'3063 flags: '[u8;1]'
3073 },3064 },
3074 /**3065 /**
3075 * Lookup383: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>3066 * Lookup382: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
3076 **/3067 **/
3077 UpDataStructsSponsorshipStateAccountId32: {3068 UpDataStructsSponsorshipStateAccountId32: {
3078 _enum: {3069 _enum: {
3079 Disabled: 'Null',3070 Disabled: 'Null',
3080 Unconfirmed: 'AccountId32',3071 Unconfirmed: 'AccountId32',
3081 Confirmed: 'AccountId32'3072 Confirmed: 'AccountId32'
3082 }3073 }
3083 },3074 },
3084 /**3075 /**
3085 * Lookup385: up_data_structs::Properties3076 * Lookup384: up_data_structs::Properties
3086 **/3077 **/
3087 UpDataStructsProperties: {3078 UpDataStructsProperties: {
3088 map: 'UpDataStructsPropertiesMapBoundedVec',3079 map: 'UpDataStructsPropertiesMapBoundedVec',
3089 consumedSpace: 'u32',3080 consumedSpace: 'u32',
3090 spaceLimit: 'u32'3081 spaceLimit: 'u32'
3091 },3082 },
3092 /**3083 /**
3093 * Lookup386: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3084 * Lookup385: up_data_structs::PropertiesMap<sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3094 **/3085 **/
3095 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',3086 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
3096 /**3087 /**
3097 * Lookup391: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>3088 * Lookup390: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
3098 **/3089 **/
3099 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',3090 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
3100 /**3091 /**
3101 * Lookup398: up_data_structs::CollectionStats3092 * Lookup397: up_data_structs::CollectionStats
3102 **/3093 **/
3103 UpDataStructsCollectionStats: {3094 UpDataStructsCollectionStats: {
3104 created: 'u32',3095 created: 'u32',
3105 destroyed: 'u32',3096 destroyed: 'u32',
3106 alive: 'u32'3097 alive: 'u32'
3107 },3098 },
3108 /**3099 /**
3109 * Lookup399: up_data_structs::TokenChild3100 * Lookup398: up_data_structs::TokenChild
3110 **/3101 **/
3111 UpDataStructsTokenChild: {3102 UpDataStructsTokenChild: {
3112 token: 'u32',3103 token: 'u32',
3113 collection: 'u32'3104 collection: 'u32'
3114 },3105 },
3115 /**3106 /**
3116 * Lookup400: PhantomType::up_data_structs<T>3107 * Lookup399: PhantomType::up_data_structs<T>
3117 **/3108 **/
3118 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',3109 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',
3119 /**3110 /**
3120 * Lookup402: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3111 * Lookup401: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3121 **/3112 **/
3122 UpDataStructsTokenData: {3113 UpDataStructsTokenData: {
3123 properties: 'Vec<UpDataStructsProperty>',3114 properties: 'Vec<UpDataStructsProperty>',
3124 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',3115 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>',
3125 pieces: 'u128'3116 pieces: 'u128'
3126 },3117 },
3127 /**3118 /**
3128 * Lookup404: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>3119 * Lookup403: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
3129 **/3120 **/
3130 UpDataStructsRpcCollection: {3121 UpDataStructsRpcCollection: {
3131 owner: 'AccountId32',3122 owner: 'AccountId32',
3132 mode: 'UpDataStructsCollectionMode',3123 mode: 'UpDataStructsCollectionMode',
3141 readOnly: 'bool',3132 readOnly: 'bool',
3142 flags: 'UpDataStructsRpcCollectionFlags'3133 flags: 'UpDataStructsRpcCollectionFlags'
3143 },3134 },
3144 /**3135 /**
3145 * Lookup405: up_data_structs::RpcCollectionFlags3136 * Lookup404: up_data_structs::RpcCollectionFlags
3146 **/3137 **/
3147 UpDataStructsRpcCollectionFlags: {3138 UpDataStructsRpcCollectionFlags: {
3148 foreign: 'bool',3139 foreign: 'bool',
3149 erc721metadata: 'bool'3140 erc721metadata: 'bool'
3150 },3141 },
3151 /**3142 /**
3152 * 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>3143 * 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>
3153 **/3144 **/
3154 RmrkTraitsCollectionCollectionInfo: {3145 RmrkTraitsCollectionCollectionInfo: {
3155 issuer: 'AccountId32',3146 issuer: 'AccountId32',
3156 metadata: 'Bytes',3147 metadata: 'Bytes',
3157 max: 'Option<u32>',3148 max: 'Option<u32>',
3158 symbol: 'Bytes',3149 symbol: 'Bytes',
3159 nftsCount: 'u32'3150 nftsCount: 'u32'
3160 },3151 },
3161 /**3152 /**
3162 * Lookup407: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3153 * Lookup406: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3163 **/3154 **/
3164 RmrkTraitsNftNftInfo: {3155 RmrkTraitsNftNftInfo: {
3165 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',3156 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',
3166 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',3157 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',
3167 metadata: 'Bytes',3158 metadata: 'Bytes',
3168 equipped: 'bool',3159 equipped: 'bool',
3169 pending: 'bool'3160 pending: 'bool'
3170 },3161 },
3171 /**3162 /**
3172 * Lookup409: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>3163 * Lookup408: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
3173 **/3164 **/
3174 RmrkTraitsNftRoyaltyInfo: {3165 RmrkTraitsNftRoyaltyInfo: {
3175 recipient: 'AccountId32',3166 recipient: 'AccountId32',
3176 amount: 'Permill'3167 amount: 'Permill'
3177 },3168 },
3178 /**3169 /**
3179 * Lookup410: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3170 * Lookup409: rmrk_traits::resource::ResourceInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3180 **/3171 **/
3181 RmrkTraitsResourceResourceInfo: {3172 RmrkTraitsResourceResourceInfo: {
3182 id: 'u32',3173 id: 'u32',
3183 resource: 'RmrkTraitsResourceResourceTypes',3174 resource: 'RmrkTraitsResourceResourceTypes',
3184 pending: 'bool',3175 pending: 'bool',
3185 pendingRemoval: 'bool'3176 pendingRemoval: 'bool'
3186 },3177 },
3187 /**3178 /**
3188 * Lookup411: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3179 * Lookup410: rmrk_traits::property::PropertyInfo<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3189 **/3180 **/
3190 RmrkTraitsPropertyPropertyInfo: {3181 RmrkTraitsPropertyPropertyInfo: {
3191 key: 'Bytes',3182 key: 'Bytes',
3192 value: 'Bytes'3183 value: 'Bytes'
3193 },3184 },
3194 /**3185 /**
3195 * Lookup412: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3186 * Lookup411: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
3196 **/3187 **/
3197 RmrkTraitsBaseBaseInfo: {3188 RmrkTraitsBaseBaseInfo: {
3198 issuer: 'AccountId32',3189 issuer: 'AccountId32',
3199 baseType: 'Bytes',3190 baseType: 'Bytes',
3200 symbol: 'Bytes'3191 symbol: 'Bytes'
3201 },3192 },
3202 /**3193 /**
3203 * Lookup413: rmrk_traits::nft::NftChild3194 * Lookup412: rmrk_traits::nft::NftChild
3204 **/3195 **/
3205 RmrkTraitsNftNftChild: {3196 RmrkTraitsNftNftChild: {
3206 collectionId: 'u32',3197 collectionId: 'u32',
3207 nftId: 'u32'3198 nftId: 'u32'
3208 },3199 },
3209 /**3200 /**
3210 * Lookup415: pallet_common::pallet::Error<T>3201 * Lookup414: pallet_common::pallet::Error<T>
3211 **/3202 **/
3212 PalletCommonError: {3203 PalletCommonError: {
3213 _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']3204 _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']
3214 },3205 },
3215 /**3206 /**
3216 * Lookup417: pallet_fungible::pallet::Error<T>3207 * Lookup416: pallet_fungible::pallet::Error<T>
3217 **/3208 **/
3218 PalletFungibleError: {3209 PalletFungibleError: {
3219 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']3210 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed', 'SettingAllowanceForAllNotAllowed', 'FungibleTokensAreAlwaysValid']
3220 },3211 },
3221 /**3212 /**
3222 * Lookup418: pallet_refungible::ItemData3213 * Lookup417: pallet_refungible::ItemData
3223 **/3214 **/
3224 PalletRefungibleItemData: {3215 PalletRefungibleItemData: {
3225 constData: 'Bytes'3216 constData: 'Bytes'
3226 },3217 },
3227 /**3218 /**
3228 * Lookup423: pallet_refungible::pallet::Error<T>3219 * Lookup422: pallet_refungible::pallet::Error<T>
3229 **/3220 **/
3230 PalletRefungibleError: {3221 PalletRefungibleError: {
3231 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']3222 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RepartitionWhileNotOwningAllPieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
3232 },3223 },
3233 /**3224 /**
3234 * Lookup424: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3225 * Lookup423: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3235 **/3226 **/
3236 PalletNonfungibleItemData: {3227 PalletNonfungibleItemData: {
3237 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'3228 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
3238 },3229 },
3239 /**3230 /**
3240 * Lookup426: up_data_structs::PropertyScope3231 * Lookup425: up_data_structs::PropertyScope
3241 **/3232 **/
3242 UpDataStructsPropertyScope: {3233 UpDataStructsPropertyScope: {
3243 _enum: ['None', 'Rmrk']3234 _enum: ['None', 'Rmrk']
3244 },3235 },
3245 /**3236 /**
3246 * Lookup428: pallet_nonfungible::pallet::Error<T>3237 * Lookup427: pallet_nonfungible::pallet::Error<T>
3247 **/3238 **/
3248 PalletNonfungibleError: {3239 PalletNonfungibleError: {
3249 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']3240 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
3250 },3241 },
3251 /**3242 /**
3252 * Lookup429: pallet_structure::pallet::Error<T>3243 * Lookup428: pallet_structure::pallet::Error<T>
3253 **/3244 **/
3254 PalletStructureError: {3245 PalletStructureError: {
3255 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']3246 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']
3256 },3247 },
3257 /**3248 /**
3258 * Lookup430: pallet_rmrk_core::pallet::Error<T>3249 * Lookup429: pallet_rmrk_core::pallet::Error<T>
3259 **/3250 **/
3260 PalletRmrkCoreError: {3251 PalletRmrkCoreError: {
3261 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']3252 _enum: ['CorruptedCollectionType', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'RmrkPropertyIsNotFound', 'UnableToDecodeRmrkData', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'CannotRejectNonPendingNft', 'ResourceNotPending', 'NoAvailableResourceId']
3262 },3253 },
3263 /**3254 /**
3264 * Lookup432: pallet_rmrk_equip::pallet::Error<T>3255 * Lookup431: pallet_rmrk_equip::pallet::Error<T>
3265 **/3256 **/
3266 PalletRmrkEquipError: {3257 PalletRmrkEquipError: {
3267 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']3258 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst', 'PartDoesntExist', 'NoEquippableOnFixedPart']
3268 },3259 },
3269 /**3260 /**
3270 * Lookup438: pallet_app_promotion::pallet::Error<T>3261 * Lookup437: pallet_app_promotion::pallet::Error<T>
3271 **/3262 **/
3272 PalletAppPromotionError: {3263 PalletAppPromotionError: {
3273 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']3264 _enum: ['AdminNotSet', 'NoPermission', 'NotSufficientFunds', 'PendingForBlockOverflow', 'SponsorNotSet', 'IncorrectLockedBalanceOperation']
3274 },3265 },
3275 /**3266 /**
3276 * Lookup439: pallet_foreign_assets::module::Error<T>3267 * Lookup438: pallet_foreign_assets::module::Error<T>
3277 **/3268 **/
3278 PalletForeignAssetsModuleError: {3269 PalletForeignAssetsModuleError: {
3279 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']3270 _enum: ['BadLocation', 'MultiLocationExisted', 'AssetIdNotExists', 'AssetIdExisted']
3280 },3271 },
3281 /**3272 /**
3282 * Lookup441: pallet_evm::pallet::Error<T>3273 * Lookup440: pallet_evm::pallet::Error<T>
3283 **/3274 **/
3284 PalletEvmError: {3275 PalletEvmError: {
3285 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy']3276 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitTooHigh', 'Undefined', 'Reentrancy', 'TransactionMustComeFromEOA']
3286 },3277 },
3287 /**3278 /**
3288 * Lookup444: fp_rpc::TransactionStatus3279 * Lookup443: fp_rpc::TransactionStatus
3289 **/3280 **/
3290 FpRpcTransactionStatus: {3281 FpRpcTransactionStatus: {
3291 transactionHash: 'H256',3282 transactionHash: 'H256',
3292 transactionIndex: 'u32',3283 transactionIndex: 'u32',
3296 logs: 'Vec<EthereumLog>',3287 logs: 'Vec<EthereumLog>',
3297 logsBloom: 'EthbloomBloom'3288 logsBloom: 'EthbloomBloom'
3298 },3289 },
3299 /**3290 /**
3300 * Lookup446: ethbloom::Bloom3291 * Lookup445: ethbloom::Bloom
3301 **/3292 **/
3302 EthbloomBloom: '[u8;256]',3293 EthbloomBloom: '[u8;256]',
3303 /**3294 /**
3304 * Lookup448: ethereum::receipt::ReceiptV33295 * Lookup447: ethereum::receipt::ReceiptV3
3305 **/3296 **/
3306 EthereumReceiptReceiptV3: {3297 EthereumReceiptReceiptV3: {
3307 _enum: {3298 _enum: {
3308 Legacy: 'EthereumReceiptEip658ReceiptData',3299 Legacy: 'EthereumReceiptEip658ReceiptData',
3309 EIP2930: 'EthereumReceiptEip658ReceiptData',3300 EIP2930: 'EthereumReceiptEip658ReceiptData',
3310 EIP1559: 'EthereumReceiptEip658ReceiptData'3301 EIP1559: 'EthereumReceiptEip658ReceiptData'
3311 }3302 }
3312 },3303 },
3313 /**3304 /**
3314 * Lookup449: ethereum::receipt::EIP658ReceiptData3305 * Lookup448: ethereum::receipt::EIP658ReceiptData
3315 **/3306 **/
3316 EthereumReceiptEip658ReceiptData: {3307 EthereumReceiptEip658ReceiptData: {
3317 statusCode: 'u8',3308 statusCode: 'u8',
3318 usedGas: 'U256',3309 usedGas: 'U256',
3319 logsBloom: 'EthbloomBloom',3310 logsBloom: 'EthbloomBloom',
3320 logs: 'Vec<EthereumLog>'3311 logs: 'Vec<EthereumLog>'
3321 },3312 },
3322 /**3313 /**
3323 * Lookup450: ethereum::block::Block<ethereum::transaction::TransactionV2>3314 * Lookup449: ethereum::block::Block<ethereum::transaction::TransactionV2>
3324 **/3315 **/
3325 EthereumBlock: {3316 EthereumBlock: {
3326 header: 'EthereumHeader',3317 header: 'EthereumHeader',
3327 transactions: 'Vec<EthereumTransactionTransactionV2>',3318 transactions: 'Vec<EthereumTransactionTransactionV2>',
3328 ommers: 'Vec<EthereumHeader>'3319 ommers: 'Vec<EthereumHeader>'
3329 },3320 },
3330 /**3321 /**
3331 * Lookup451: ethereum::header::Header3322 * Lookup450: ethereum::header::Header
3332 **/3323 **/
3333 EthereumHeader: {3324 EthereumHeader: {
3334 parentHash: 'H256',3325 parentHash: 'H256',
3335 ommersHash: 'H256',3326 ommersHash: 'H256',
3347 mixHash: 'H256',3338 mixHash: 'H256',
3348 nonce: 'EthereumTypesHashH64'3339 nonce: 'EthereumTypesHashH64'
3349 },3340 },
3350 /**3341 /**
3351 * Lookup452: ethereum_types::hash::H643342 * Lookup451: ethereum_types::hash::H64
3352 **/3343 **/
3353 EthereumTypesHashH64: '[u8;8]',3344 EthereumTypesHashH64: '[u8;8]',
3354 /**3345 /**
3355 * Lookup457: pallet_ethereum::pallet::Error<T>3346 * Lookup456: pallet_ethereum::pallet::Error<T>
3356 **/3347 **/
3357 PalletEthereumError: {3348 PalletEthereumError: {
3358 _enum: ['InvalidSignature', 'PreLogExists']3349 _enum: ['InvalidSignature', 'PreLogExists']
3359 },3350 },
3360 /**3351 /**
3361 * Lookup458: pallet_evm_coder_substrate::pallet::Error<T>3352 * Lookup457: pallet_evm_coder_substrate::pallet::Error<T>
3362 **/3353 **/
3363 PalletEvmCoderSubstrateError: {3354 PalletEvmCoderSubstrateError: {
3364 _enum: ['OutOfGas', 'OutOfFund']3355 _enum: ['OutOfGas', 'OutOfFund']
3365 },3356 },
3366 /**3357 /**
3367 * Lookup459: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>3358 * Lookup458: up_data_structs::SponsorshipState<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
3368 **/3359 **/
3369 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {3360 UpDataStructsSponsorshipStateBasicCrossAccountIdRepr: {
3370 _enum: {3361 _enum: {
3371 Disabled: 'Null',3362 Disabled: 'Null',
3372 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',3363 Unconfirmed: 'PalletEvmAccountBasicCrossAccountIdRepr',
3373 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'3364 Confirmed: 'PalletEvmAccountBasicCrossAccountIdRepr'
3374 }3365 }
3375 },3366 },
3376 /**3367 /**
3377 * Lookup460: pallet_evm_contract_helpers::SponsoringModeT3368 * Lookup459: pallet_evm_contract_helpers::SponsoringModeT
3378 **/3369 **/
3379 PalletEvmContractHelpersSponsoringModeT: {3370 PalletEvmContractHelpersSponsoringModeT: {
3380 _enum: ['Disabled', 'Allowlisted', 'Generous']3371 _enum: ['Disabled', 'Allowlisted', 'Generous']
3381 },3372 },
3382 /**3373 /**
3383 * Lookup466: pallet_evm_contract_helpers::pallet::Error<T>3374 * Lookup465: pallet_evm_contract_helpers::pallet::Error<T>
3384 **/3375 **/
3385 PalletEvmContractHelpersError: {3376 PalletEvmContractHelpersError: {
3386 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']3377 _enum: ['NoPermission', 'NoPendingSponsor', 'TooManyMethodsHaveSponsoredLimit']
3387 },3378 },
3388 /**3379 /**
3389 * Lookup467: pallet_evm_migration::pallet::Error<T>3380 * Lookup466: pallet_evm_migration::pallet::Error<T>
3390 **/3381 **/
3391 PalletEvmMigrationError: {3382 PalletEvmMigrationError: {
3392 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']3383 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating', 'BadEvent']
3393 },3384 },
3394 /**3385 /**
3395 * Lookup468: pallet_maintenance::pallet::Error<T>3386 * Lookup467: pallet_maintenance::pallet::Error<T>
3396 **/3387 **/
3397 PalletMaintenanceError: 'Null',3388 PalletMaintenanceError: 'Null',
3398 /**3389 /**
3399 * Lookup469: pallet_test_utils::pallet::Error<T>3390 * Lookup468: pallet_test_utils::pallet::Error<T>
3400 **/3391 **/
3401 PalletTestUtilsError: {3392 PalletTestUtilsError: {
3402 _enum: ['TestPalletDisabled', 'TriggerRollback']3393 _enum: ['TestPalletDisabled', 'TriggerRollback']
3403 },3394 },
3404 /**3395 /**
3405 * Lookup471: sp_runtime::MultiSignature3396 * Lookup470: sp_runtime::MultiSignature
3406 **/3397 **/
3407 SpRuntimeMultiSignature: {3398 SpRuntimeMultiSignature: {
3408 _enum: {3399 _enum: {
3409 Ed25519: 'SpCoreEd25519Signature',3400 Ed25519: 'SpCoreEd25519Signature',
3410 Sr25519: 'SpCoreSr25519Signature',3401 Sr25519: 'SpCoreSr25519Signature',
3411 Ecdsa: 'SpCoreEcdsaSignature'3402 Ecdsa: 'SpCoreEcdsaSignature'
3412 }3403 }
3413 },3404 },
3414 /**3405 /**
3415 * Lookup472: sp_core::ed25519::Signature3406 * Lookup471: sp_core::ed25519::Signature
3416 **/3407 **/
3417 SpCoreEd25519Signature: '[u8;64]',3408 SpCoreEd25519Signature: '[u8;64]',
3418 /**3409 /**
3419 * Lookup474: sp_core::sr25519::Signature3410 * Lookup473: sp_core::sr25519::Signature
3420 **/3411 **/
3421 SpCoreSr25519Signature: '[u8;64]',3412 SpCoreSr25519Signature: '[u8;64]',
3422 /**3413 /**
3423 * Lookup475: sp_core::ecdsa::Signature3414 * Lookup474: sp_core::ecdsa::Signature
3424 **/3415 **/
3425 SpCoreEcdsaSignature: '[u8;65]',3416 SpCoreEcdsaSignature: '[u8;65]',
3426 /**3417 /**
3427 * Lookup478: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3418 * Lookup477: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
3428 **/3419 **/
3429 FrameSystemExtensionsCheckSpecVersion: 'Null',3420 FrameSystemExtensionsCheckSpecVersion: 'Null',
3430 /**3421 /**
3431 * Lookup479: frame_system::extensions::check_tx_version::CheckTxVersion<T>3422 * Lookup478: frame_system::extensions::check_tx_version::CheckTxVersion<T>
3432 **/3423 **/
3433 FrameSystemExtensionsCheckTxVersion: 'Null',3424 FrameSystemExtensionsCheckTxVersion: 'Null',
3434 /**3425 /**
3435 * Lookup480: frame_system::extensions::check_genesis::CheckGenesis<T>3426 * Lookup479: frame_system::extensions::check_genesis::CheckGenesis<T>
3436 **/3427 **/
3437 FrameSystemExtensionsCheckGenesis: 'Null',3428 FrameSystemExtensionsCheckGenesis: 'Null',
3438 /**3429 /**
3439 * Lookup483: frame_system::extensions::check_nonce::CheckNonce<T>3430 * Lookup482: frame_system::extensions::check_nonce::CheckNonce<T>
3440 **/3431 **/
3441 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3432 FrameSystemExtensionsCheckNonce: 'Compact<u32>',
3442 /**3433 /**
3443 * Lookup484: frame_system::extensions::check_weight::CheckWeight<T>3434 * Lookup483: frame_system::extensions::check_weight::CheckWeight<T>
3444 **/3435 **/
3445 FrameSystemExtensionsCheckWeight: 'Null',3436 FrameSystemExtensionsCheckWeight: 'Null',
3446 /**3437 /**
3447 * Lookup485: opal_runtime::runtime_common::maintenance::CheckMaintenance3438 * Lookup484: opal_runtime::runtime_common::maintenance::CheckMaintenance
3448 **/3439 **/
3449 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',3440 OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance: 'Null',
3450 /**3441 /**
3451 * Lookup486: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3442 * Lookup485: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
3452 **/3443 **/
3453 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3444 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
3454 /**3445 /**
3455 * Lookup487: opal_runtime::Runtime3446 * Lookup486: opal_runtime::Runtime
3456 **/3447 **/
3457 OpalRuntimeRuntime: 'Null',3448 OpalRuntimeRuntime: 'Null',
3458 /**3449 /**
3459 * Lookup488: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3450 * Lookup487: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
3460 **/3451 **/
3461 PalletEthereumFakeTransactionFinalizer: 'Null'3452 PalletEthereumFakeTransactionFinalizer: 'Null'
3462};3453};
34633454
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
5// this is required to allow for ambient/previous definitions5// this is required to allow for ambient/previous definitions
6import '@polkadot/types/types/registry';6import '@polkadot/types/types/registry';
77
8import 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';8import 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';
99
10declare module '@polkadot/types/types/registry' {10declare module '@polkadot/types/types/registry' {
11 interface InterfaceTypes {11 interface InterfaceTypes {
97 PalletBalancesError: PalletBalancesError;97 PalletBalancesError: PalletBalancesError;
98 PalletBalancesEvent: PalletBalancesEvent;98 PalletBalancesEvent: PalletBalancesEvent;
99 PalletBalancesReasons: PalletBalancesReasons;99 PalletBalancesReasons: PalletBalancesReasons;
100 PalletBalancesReleases: PalletBalancesReleases;
101 PalletBalancesReserveData: PalletBalancesReserveData;100 PalletBalancesReserveData: PalletBalancesReserveData;
102 PalletCommonError: PalletCommonError;101 PalletCommonError: PalletCommonError;
103 PalletCommonEvent: PalletCommonEvent;102 PalletCommonEvent: PalletCommonEvent;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
14881488
1489 /** @name FrameSystemCall (125) */1489 /** @name FrameSystemCall (125) */
1490 interface FrameSystemCall extends Enum {1490 interface FrameSystemCall extends Enum {
1491 readonly isFillBlock: boolean;
1492 readonly asFillBlock: {
1493 readonly ratio: Perbill;
1494 } & Struct;
1495 readonly isRemark: boolean;1491 readonly isRemark: boolean;
1496 readonly asRemark: {1492 readonly asRemark: {
1497 readonly remark: Bytes;1493 readonly remark: Bytes;
1525 readonly asRemarkWithEvent: {1521 readonly asRemarkWithEvent: {
1526 readonly remark: Bytes;1522 readonly remark: Bytes;
1527 } & Struct;1523 } & Struct;
1528 readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';1524 readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
1529 }1525 }
15301526
1531 /** @name FrameSystemLimitsBlockWeights (130) */1527 /** @name FrameSystemLimitsBlockWeights (129) */
1532 interface FrameSystemLimitsBlockWeights extends Struct {1528 interface FrameSystemLimitsBlockWeights extends Struct {
1533 readonly baseBlock: SpWeightsWeightV2Weight;1529 readonly baseBlock: SpWeightsWeightV2Weight;
1534 readonly maxBlock: SpWeightsWeightV2Weight;1530 readonly maxBlock: SpWeightsWeightV2Weight;
1535 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;1531 readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
1536 }1532 }
15371533
1538 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (131) */1534 /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (130) */
1539 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {1535 interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
1540 readonly normal: FrameSystemLimitsWeightsPerClass;1536 readonly normal: FrameSystemLimitsWeightsPerClass;
1541 readonly operational: FrameSystemLimitsWeightsPerClass;1537 readonly operational: FrameSystemLimitsWeightsPerClass;
1542 readonly mandatory: FrameSystemLimitsWeightsPerClass;1538 readonly mandatory: FrameSystemLimitsWeightsPerClass;
1543 }1539 }
15441540
1545 /** @name FrameSystemLimitsWeightsPerClass (132) */1541 /** @name FrameSystemLimitsWeightsPerClass (131) */
1546 interface FrameSystemLimitsWeightsPerClass extends Struct {1542 interface FrameSystemLimitsWeightsPerClass extends Struct {
1547 readonly baseExtrinsic: SpWeightsWeightV2Weight;1543 readonly baseExtrinsic: SpWeightsWeightV2Weight;
1548 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;1544 readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
1549 readonly maxTotal: Option<SpWeightsWeightV2Weight>;1545 readonly maxTotal: Option<SpWeightsWeightV2Weight>;
1550 readonly reserved: Option<SpWeightsWeightV2Weight>;1546 readonly reserved: Option<SpWeightsWeightV2Weight>;
1551 }1547 }
15521548
1553 /** @name FrameSystemLimitsBlockLength (134) */1549 /** @name FrameSystemLimitsBlockLength (133) */
1554 interface FrameSystemLimitsBlockLength extends Struct {1550 interface FrameSystemLimitsBlockLength extends Struct {
1555 readonly max: FrameSupportDispatchPerDispatchClassU32;1551 readonly max: FrameSupportDispatchPerDispatchClassU32;
1556 }1552 }
15571553
1558 /** @name FrameSupportDispatchPerDispatchClassU32 (135) */1554 /** @name FrameSupportDispatchPerDispatchClassU32 (134) */
1559 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {1555 interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
1560 readonly normal: u32;1556 readonly normal: u32;
1561 readonly operational: u32;1557 readonly operational: u32;
1562 readonly mandatory: u32;1558 readonly mandatory: u32;
1563 }1559 }
15641560
1565 /** @name SpWeightsRuntimeDbWeight (136) */1561 /** @name SpWeightsRuntimeDbWeight (135) */
1566 interface SpWeightsRuntimeDbWeight extends Struct {1562 interface SpWeightsRuntimeDbWeight extends Struct {
1567 readonly read: u64;1563 readonly read: u64;
1568 readonly write: u64;1564 readonly write: u64;
1569 }1565 }
15701566
1571 /** @name SpVersionRuntimeVersion (137) */1567 /** @name SpVersionRuntimeVersion (136) */
1572 interface SpVersionRuntimeVersion extends Struct {1568 interface SpVersionRuntimeVersion extends Struct {
1573 readonly specName: Text;1569 readonly specName: Text;
1574 readonly implName: Text;1570 readonly implName: Text;
1580 readonly stateVersion: u8;1576 readonly stateVersion: u8;
1581 }1577 }
15821578
1583 /** @name FrameSystemError (142) */1579 /** @name FrameSystemError (141) */
1584 interface FrameSystemError extends Enum {1580 interface FrameSystemError extends Enum {
1585 readonly isInvalidSpecName: boolean;1581 readonly isInvalidSpecName: boolean;
1586 readonly isSpecVersionNeedsToIncrease: boolean;1582 readonly isSpecVersionNeedsToIncrease: boolean;
1591 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';1587 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
1592 }1588 }
15931589
1594 /** @name PolkadotPrimitivesV2PersistedValidationData (143) */1590 /** @name PolkadotPrimitivesV2PersistedValidationData (142) */
1595 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {1591 interface PolkadotPrimitivesV2PersistedValidationData extends Struct {
1596 readonly parentHead: Bytes;1592 readonly parentHead: Bytes;
1597 readonly relayParentNumber: u32;1593 readonly relayParentNumber: u32;
1598 readonly relayParentStorageRoot: H256;1594 readonly relayParentStorageRoot: H256;
1599 readonly maxPovSize: u32;1595 readonly maxPovSize: u32;
1600 }1596 }
16011597
1602 /** @name PolkadotPrimitivesV2UpgradeRestriction (146) */1598 /** @name PolkadotPrimitivesV2UpgradeRestriction (145) */
1603 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {1599 interface PolkadotPrimitivesV2UpgradeRestriction extends Enum {
1604 readonly isPresent: boolean;1600 readonly isPresent: boolean;
1605 readonly type: 'Present';1601 readonly type: 'Present';
1606 }1602 }
16071603
1608 /** @name SpTrieStorageProof (147) */1604 /** @name SpTrieStorageProof (146) */
1609 interface SpTrieStorageProof extends Struct {1605 interface SpTrieStorageProof extends Struct {
1610 readonly trieNodes: BTreeSet<Bytes>;1606 readonly trieNodes: BTreeSet<Bytes>;
1611 }1607 }
16121608
1613 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (149) */1609 /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (148) */
1614 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {1610 interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
1615 readonly dmqMqcHead: H256;1611 readonly dmqMqcHead: H256;
1616 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;1612 readonly relayDispatchQueueSize: ITuple<[u32, u32]>;
1617 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1613 readonly ingressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
1618 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;1614 readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV2AbridgedHrmpChannel]>>;
1619 }1615 }
16201616
1621 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (152) */1617 /** @name PolkadotPrimitivesV2AbridgedHrmpChannel (151) */
1622 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {1618 interface PolkadotPrimitivesV2AbridgedHrmpChannel extends Struct {
1623 readonly maxCapacity: u32;1619 readonly maxCapacity: u32;
1624 readonly maxTotalSize: u32;1620 readonly maxTotalSize: u32;
1628 readonly mqcHead: Option<H256>;1624 readonly mqcHead: Option<H256>;
1629 }1625 }
16301626
1631 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (153) */1627 /** @name PolkadotPrimitivesV2AbridgedHostConfiguration (152) */
1632 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {1628 interface PolkadotPrimitivesV2AbridgedHostConfiguration extends Struct {
1633 readonly maxCodeSize: u32;1629 readonly maxCodeSize: u32;
1634 readonly maxHeadDataSize: u32;1630 readonly maxHeadDataSize: u32;
1641 readonly validationUpgradeDelay: u32;1637 readonly validationUpgradeDelay: u32;
1642 }1638 }
16431639
1644 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (159) */1640 /** @name PolkadotCorePrimitivesOutboundHrmpMessage (158) */
1645 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {1641 interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
1646 readonly recipient: u32;1642 readonly recipient: u32;
1647 readonly data: Bytes;1643 readonly data: Bytes;
1648 }1644 }
16491645
1650 /** @name CumulusPalletParachainSystemCall (160) */1646 /** @name CumulusPalletParachainSystemCall (159) */
1651 interface CumulusPalletParachainSystemCall extends Enum {1647 interface CumulusPalletParachainSystemCall extends Enum {
1652 readonly isSetValidationData: boolean;1648 readonly isSetValidationData: boolean;
1653 readonly asSetValidationData: {1649 readonly asSetValidationData: {
1668 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';1664 readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade';
1669 }1665 }
16701666
1671 /** @name CumulusPrimitivesParachainInherentParachainInherentData (161) */1667 /** @name CumulusPrimitivesParachainInherentParachainInherentData (160) */
1672 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {1668 interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
1673 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;1669 readonly validationData: PolkadotPrimitivesV2PersistedValidationData;
1674 readonly relayChainState: SpTrieStorageProof;1670 readonly relayChainState: SpTrieStorageProof;
1675 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;1671 readonly downwardMessages: Vec<PolkadotCorePrimitivesInboundDownwardMessage>;
1676 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;1672 readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
1677 }1673 }
16781674
1679 /** @name PolkadotCorePrimitivesInboundDownwardMessage (163) */1675 /** @name PolkadotCorePrimitivesInboundDownwardMessage (162) */
1680 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1676 interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
1681 readonly sentAt: u32;1677 readonly sentAt: u32;
1682 readonly msg: Bytes;1678 readonly msg: Bytes;
1683 }1679 }
16841680
1685 /** @name PolkadotCorePrimitivesInboundHrmpMessage (166) */1681 /** @name PolkadotCorePrimitivesInboundHrmpMessage (165) */
1686 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {1682 interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
1687 readonly sentAt: u32;1683 readonly sentAt: u32;
1688 readonly data: Bytes;1684 readonly data: Bytes;
1689 }1685 }
16901686
1691 /** @name CumulusPalletParachainSystemError (169) */1687 /** @name CumulusPalletParachainSystemError (168) */
1692 interface CumulusPalletParachainSystemError extends Enum {1688 interface CumulusPalletParachainSystemError extends Enum {
1693 readonly isOverlappingUpgrades: boolean;1689 readonly isOverlappingUpgrades: boolean;
1694 readonly isProhibitedByPolkadot: boolean;1690 readonly isProhibitedByPolkadot: boolean;
1701 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';1697 readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
1702 }1698 }
17031699
1704 /** @name PalletBalancesBalanceLock (171) */1700 /** @name PalletBalancesBalanceLock (170) */
1705 interface PalletBalancesBalanceLock extends Struct {1701 interface PalletBalancesBalanceLock extends Struct {
1706 readonly id: U8aFixed;1702 readonly id: U8aFixed;
1707 readonly amount: u128;1703 readonly amount: u128;
1708 readonly reasons: PalletBalancesReasons;1704 readonly reasons: PalletBalancesReasons;
1709 }1705 }
17101706
1711 /** @name PalletBalancesReasons (172) */1707 /** @name PalletBalancesReasons (171) */
1712 interface PalletBalancesReasons extends Enum {1708 interface PalletBalancesReasons extends Enum {
1713 readonly isFee: boolean;1709 readonly isFee: boolean;
1714 readonly isMisc: boolean;1710 readonly isMisc: boolean;
1715 readonly isAll: boolean;1711 readonly isAll: boolean;
1716 readonly type: 'Fee' | 'Misc' | 'All';1712 readonly type: 'Fee' | 'Misc' | 'All';
1717 }1713 }
17181714
1719 /** @name PalletBalancesReserveData (175) */1715 /** @name PalletBalancesReserveData (174) */
1720 interface PalletBalancesReserveData extends Struct {1716 interface PalletBalancesReserveData extends Struct {
1721 readonly id: U8aFixed;1717 readonly id: U8aFixed;
1722 readonly amount: u128;1718 readonly amount: u128;
1723 }1719 }
1724
1725 /** @name PalletBalancesReleases (177) */
1726 interface PalletBalancesReleases extends Enum {
1727 readonly isV100: boolean;
1728 readonly isV200: boolean;
1729 readonly type: 'V100' | 'V200';
1730 }
17311720
1732 /** @name PalletBalancesCall (178) */1721 /** @name PalletBalancesCall (176) */
1733 interface PalletBalancesCall extends Enum {1722 interface PalletBalancesCall extends Enum {
1734 readonly isTransfer: boolean;1723 readonly isTransfer: boolean;
1735 readonly asTransfer: {1724 readonly asTransfer: {
1766 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';1755 readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
1767 }1756 }
17681757
1769 /** @name PalletBalancesError (181) */1758 /** @name PalletBalancesError (179) */
1770 interface PalletBalancesError extends Enum {1759 interface PalletBalancesError extends Enum {
1771 readonly isVestingBalance: boolean;1760 readonly isVestingBalance: boolean;
1772 readonly isLiquidityRestrictions: boolean;1761 readonly isLiquidityRestrictions: boolean;
1779 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';1768 readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
1780 }1769 }
17811770
1782 /** @name PalletTimestampCall (183) */1771 /** @name PalletTimestampCall (181) */
1783 interface PalletTimestampCall extends Enum {1772 interface PalletTimestampCall extends Enum {
1784 readonly isSet: boolean;1773 readonly isSet: boolean;
1785 readonly asSet: {1774 readonly asSet: {
1788 readonly type: 'Set';1777 readonly type: 'Set';
1789 }1778 }
17901779
1791 /** @name PalletTransactionPaymentReleases (185) */1780 /** @name PalletTransactionPaymentReleases (183) */
1792 interface PalletTransactionPaymentReleases extends Enum {1781 interface PalletTransactionPaymentReleases extends Enum {
1793 readonly isV1Ancient: boolean;1782 readonly isV1Ancient: boolean;
1794 readonly isV2: boolean;1783 readonly isV2: boolean;
1795 readonly type: 'V1Ancient' | 'V2';1784 readonly type: 'V1Ancient' | 'V2';
1796 }1785 }
17971786
1798 /** @name PalletTreasuryProposal (186) */1787 /** @name PalletTreasuryProposal (184) */
1799 interface PalletTreasuryProposal extends Struct {1788 interface PalletTreasuryProposal extends Struct {
1800 readonly proposer: AccountId32;1789 readonly proposer: AccountId32;
1801 readonly value: u128;1790 readonly value: u128;
1802 readonly beneficiary: AccountId32;1791 readonly beneficiary: AccountId32;
1803 readonly bond: u128;1792 readonly bond: u128;
1804 }1793 }
18051794
1806 /** @name PalletTreasuryCall (189) */1795 /** @name PalletTreasuryCall (187) */
1807 interface PalletTreasuryCall extends Enum {1796 interface PalletTreasuryCall extends Enum {
1808 readonly isProposeSpend: boolean;1797 readonly isProposeSpend: boolean;
1809 readonly asProposeSpend: {1798 readonly asProposeSpend: {
1830 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';1819 readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
1831 }1820 }
18321821
1833 /** @name FrameSupportPalletId (192) */1822 /** @name FrameSupportPalletId (190) */
1834 interface FrameSupportPalletId extends U8aFixed {}1823 interface FrameSupportPalletId extends U8aFixed {}
18351824
1836 /** @name PalletTreasuryError (193) */1825 /** @name PalletTreasuryError (191) */
1837 interface PalletTreasuryError extends Enum {1826 interface PalletTreasuryError extends Enum {
1838 readonly isInsufficientProposersBalance: boolean;1827 readonly isInsufficientProposersBalance: boolean;
1839 readonly isInvalidIndex: boolean;1828 readonly isInvalidIndex: boolean;
1843 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';1832 readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
1844 }1833 }
18451834
1846 /** @name PalletSudoCall (194) */1835 /** @name PalletSudoCall (192) */
1847 interface PalletSudoCall extends Enum {1836 interface PalletSudoCall extends Enum {
1848 readonly isSudo: boolean;1837 readonly isSudo: boolean;
1849 readonly asSudo: {1838 readonly asSudo: {
1866 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';1855 readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
1867 }1856 }
18681857
1869 /** @name OrmlVestingModuleCall (196) */1858 /** @name OrmlVestingModuleCall (194) */
1870 interface OrmlVestingModuleCall extends Enum {1859 interface OrmlVestingModuleCall extends Enum {
1871 readonly isClaim: boolean;1860 readonly isClaim: boolean;
1872 readonly isVestedTransfer: boolean;1861 readonly isVestedTransfer: boolean;
1886 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';1875 readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
1887 }1876 }
18881877
1889 /** @name OrmlXtokensModuleCall (198) */1878 /** @name OrmlXtokensModuleCall (196) */
1890 interface OrmlXtokensModuleCall extends Enum {1879 interface OrmlXtokensModuleCall extends Enum {
1891 readonly isTransfer: boolean;1880 readonly isTransfer: boolean;
1892 readonly asTransfer: {1881 readonly asTransfer: {
1933 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';1922 readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
1934 }1923 }
19351924
1936 /** @name XcmVersionedMultiAsset (199) */1925 /** @name XcmVersionedMultiAsset (197) */
1937 interface XcmVersionedMultiAsset extends Enum {1926 interface XcmVersionedMultiAsset extends Enum {
1938 readonly isV0: boolean;1927 readonly isV0: boolean;
1939 readonly asV0: XcmV0MultiAsset;1928 readonly asV0: XcmV0MultiAsset;
1942 readonly type: 'V0' | 'V1';1931 readonly type: 'V0' | 'V1';
1943 }1932 }
19441933
1945 /** @name OrmlTokensModuleCall (202) */1934 /** @name OrmlTokensModuleCall (200) */
1946 interface OrmlTokensModuleCall extends Enum {1935 interface OrmlTokensModuleCall extends Enum {
1947 readonly isTransfer: boolean;1936 readonly isTransfer: boolean;
1948 readonly asTransfer: {1937 readonly asTransfer: {
1979 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';1968 readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
1980 }1969 }
19811970
1982 /** @name CumulusPalletXcmpQueueCall (203) */1971 /** @name CumulusPalletXcmpQueueCall (201) */
1983 interface CumulusPalletXcmpQueueCall extends Enum {1972 interface CumulusPalletXcmpQueueCall extends Enum {
1984 readonly isServiceOverweight: boolean;1973 readonly isServiceOverweight: boolean;
1985 readonly asServiceOverweight: {1974 readonly asServiceOverweight: {
2015 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';2004 readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
2016 }2005 }
20172006
2018 /** @name PalletXcmCall (204) */2007 /** @name PalletXcmCall (202) */
2019 interface PalletXcmCall extends Enum {2008 interface PalletXcmCall extends Enum {
2020 readonly isSend: boolean;2009 readonly isSend: boolean;
2021 readonly asSend: {2010 readonly asSend: {
2077 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';2066 readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
2078 }2067 }
20792068
2080 /** @name XcmVersionedXcm (205) */2069 /** @name XcmVersionedXcm (203) */
2081 interface XcmVersionedXcm extends Enum {2070 interface XcmVersionedXcm extends Enum {
2082 readonly isV0: boolean;2071 readonly isV0: boolean;
2083 readonly asV0: XcmV0Xcm;2072 readonly asV0: XcmV0Xcm;
2088 readonly type: 'V0' | 'V1' | 'V2';2077 readonly type: 'V0' | 'V1' | 'V2';
2089 }2078 }
20902079
2091 /** @name XcmV0Xcm (206) */2080 /** @name XcmV0Xcm (204) */
2092 interface XcmV0Xcm extends Enum {2081 interface XcmV0Xcm extends Enum {
2093 readonly isWithdrawAsset: boolean;2082 readonly isWithdrawAsset: boolean;
2094 readonly asWithdrawAsset: {2083 readonly asWithdrawAsset: {
2151 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';2140 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
2152 }2141 }
21532142
2154 /** @name XcmV0Order (208) */2143 /** @name XcmV0Order (206) */
2155 interface XcmV0Order extends Enum {2144 interface XcmV0Order extends Enum {
2156 readonly isNull: boolean;2145 readonly isNull: boolean;
2157 readonly isDepositAsset: boolean;2146 readonly isDepositAsset: boolean;
2199 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2188 readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2200 }2189 }
22012190
2202 /** @name XcmV0Response (210) */2191 /** @name XcmV0Response (208) */
2203 interface XcmV0Response extends Enum {2192 interface XcmV0Response extends Enum {
2204 readonly isAssets: boolean;2193 readonly isAssets: boolean;
2205 readonly asAssets: Vec<XcmV0MultiAsset>;2194 readonly asAssets: Vec<XcmV0MultiAsset>;
2206 readonly type: 'Assets';2195 readonly type: 'Assets';
2207 }2196 }
22082197
2209 /** @name XcmV1Xcm (211) */2198 /** @name XcmV1Xcm (209) */
2210 interface XcmV1Xcm extends Enum {2199 interface XcmV1Xcm extends Enum {
2211 readonly isWithdrawAsset: boolean;2200 readonly isWithdrawAsset: boolean;
2212 readonly asWithdrawAsset: {2201 readonly asWithdrawAsset: {
2275 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';2264 readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
2276 }2265 }
22772266
2278 /** @name XcmV1Order (213) */2267 /** @name XcmV1Order (211) */
2279 interface XcmV1Order extends Enum {2268 interface XcmV1Order extends Enum {
2280 readonly isNoop: boolean;2269 readonly isNoop: boolean;
2281 readonly isDepositAsset: boolean;2270 readonly isDepositAsset: boolean;
2325 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';2314 readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
2326 }2315 }
23272316
2328 /** @name XcmV1Response (215) */2317 /** @name XcmV1Response (213) */
2329 interface XcmV1Response extends Enum {2318 interface XcmV1Response extends Enum {
2330 readonly isAssets: boolean;2319 readonly isAssets: boolean;
2331 readonly asAssets: XcmV1MultiassetMultiAssets;2320 readonly asAssets: XcmV1MultiassetMultiAssets;
2334 readonly type: 'Assets' | 'Version';2323 readonly type: 'Assets' | 'Version';
2335 }2324 }
23362325
2337 /** @name CumulusPalletXcmCall (229) */2326 /** @name CumulusPalletXcmCall (227) */
2338 type CumulusPalletXcmCall = Null;2327 type CumulusPalletXcmCall = Null;
23392328
2340 /** @name CumulusPalletDmpQueueCall (230) */2329 /** @name CumulusPalletDmpQueueCall (228) */
2341 interface CumulusPalletDmpQueueCall extends Enum {2330 interface CumulusPalletDmpQueueCall extends Enum {
2342 readonly isServiceOverweight: boolean;2331 readonly isServiceOverweight: boolean;
2343 readonly asServiceOverweight: {2332 readonly asServiceOverweight: {
2347 readonly type: 'ServiceOverweight';2336 readonly type: 'ServiceOverweight';
2348 }2337 }
23492338
2350 /** @name PalletInflationCall (231) */2339 /** @name PalletInflationCall (229) */
2351 interface PalletInflationCall extends Enum {2340 interface PalletInflationCall extends Enum {
2352 readonly isStartInflation: boolean;2341 readonly isStartInflation: boolean;
2353 readonly asStartInflation: {2342 readonly asStartInflation: {
2356 readonly type: 'StartInflation';2345 readonly type: 'StartInflation';
2357 }2346 }
23582347
2359 /** @name PalletUniqueCall (232) */2348 /** @name PalletUniqueCall (230) */
2360 interface PalletUniqueCall extends Enum {2349 interface PalletUniqueCall extends Enum {
2361 readonly isCreateCollection: boolean;2350 readonly isCreateCollection: boolean;
2362 readonly asCreateCollection: {2351 readonly asCreateCollection: {
2529 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';2518 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
2530 }2519 }
25312520
2532 /** @name UpDataStructsCollectionMode (237) */2521 /** @name UpDataStructsCollectionMode (235) */
2533 interface UpDataStructsCollectionMode extends Enum {2522 interface UpDataStructsCollectionMode extends Enum {
2534 readonly isNft: boolean;2523 readonly isNft: boolean;
2535 readonly isFungible: boolean;2524 readonly isFungible: boolean;
2538 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2527 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2539 }2528 }
25402529
2541 /** @name UpDataStructsCreateCollectionData (238) */2530 /** @name UpDataStructsCreateCollectionData (236) */
2542 interface UpDataStructsCreateCollectionData extends Struct {2531 interface UpDataStructsCreateCollectionData extends Struct {
2543 readonly mode: UpDataStructsCollectionMode;2532 readonly mode: UpDataStructsCollectionMode;
2544 readonly access: Option<UpDataStructsAccessMode>;2533 readonly access: Option<UpDataStructsAccessMode>;
2552 readonly properties: Vec<UpDataStructsProperty>;2541 readonly properties: Vec<UpDataStructsProperty>;
2553 }2542 }
25542543
2555 /** @name UpDataStructsAccessMode (240) */2544 /** @name UpDataStructsAccessMode (238) */
2556 interface UpDataStructsAccessMode extends Enum {2545 interface UpDataStructsAccessMode extends Enum {
2557 readonly isNormal: boolean;2546 readonly isNormal: boolean;
2558 readonly isAllowList: boolean;2547 readonly isAllowList: boolean;
2559 readonly type: 'Normal' | 'AllowList';2548 readonly type: 'Normal' | 'AllowList';
2560 }2549 }
25612550
2562 /** @name UpDataStructsCollectionLimits (242) */2551 /** @name UpDataStructsCollectionLimits (240) */
2563 interface UpDataStructsCollectionLimits extends Struct {2552 interface UpDataStructsCollectionLimits extends Struct {
2564 readonly accountTokenOwnershipLimit: Option<u32>;2553 readonly accountTokenOwnershipLimit: Option<u32>;
2565 readonly sponsoredDataSize: Option<u32>;2554 readonly sponsoredDataSize: Option<u32>;
2572 readonly transfersEnabled: Option<bool>;2561 readonly transfersEnabled: Option<bool>;
2573 }2562 }
25742563
2575 /** @name UpDataStructsSponsoringRateLimit (244) */2564 /** @name UpDataStructsSponsoringRateLimit (242) */
2576 interface UpDataStructsSponsoringRateLimit extends Enum {2565 interface UpDataStructsSponsoringRateLimit extends Enum {
2577 readonly isSponsoringDisabled: boolean;2566 readonly isSponsoringDisabled: boolean;
2578 readonly isBlocks: boolean;2567 readonly isBlocks: boolean;
2579 readonly asBlocks: u32;2568 readonly asBlocks: u32;
2580 readonly type: 'SponsoringDisabled' | 'Blocks';2569 readonly type: 'SponsoringDisabled' | 'Blocks';
2581 }2570 }
25822571
2583 /** @name UpDataStructsCollectionPermissions (247) */2572 /** @name UpDataStructsCollectionPermissions (245) */
2584 interface UpDataStructsCollectionPermissions extends Struct {2573 interface UpDataStructsCollectionPermissions extends Struct {
2585 readonly access: Option<UpDataStructsAccessMode>;2574 readonly access: Option<UpDataStructsAccessMode>;
2586 readonly mintMode: Option<bool>;2575 readonly mintMode: Option<bool>;
2587 readonly nesting: Option<UpDataStructsNestingPermissions>;2576 readonly nesting: Option<UpDataStructsNestingPermissions>;
2588 }2577 }
25892578
2590 /** @name UpDataStructsNestingPermissions (249) */2579 /** @name UpDataStructsNestingPermissions (247) */
2591 interface UpDataStructsNestingPermissions extends Struct {2580 interface UpDataStructsNestingPermissions extends Struct {
2592 readonly tokenOwner: bool;2581 readonly tokenOwner: bool;
2593 readonly collectionAdmin: bool;2582 readonly collectionAdmin: bool;
2594 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;2583 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
2595 }2584 }
25962585
2597 /** @name UpDataStructsOwnerRestrictedSet (251) */2586 /** @name UpDataStructsOwnerRestrictedSet (249) */
2598 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}2587 interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
25992588
2600 /** @name UpDataStructsPropertyKeyPermission (256) */2589 /** @name UpDataStructsPropertyKeyPermission (254) */
2601 interface UpDataStructsPropertyKeyPermission extends Struct {2590 interface UpDataStructsPropertyKeyPermission extends Struct {
2602 readonly key: Bytes;2591 readonly key: Bytes;
2603 readonly permission: UpDataStructsPropertyPermission;2592 readonly permission: UpDataStructsPropertyPermission;
2604 }2593 }
26052594
2606 /** @name UpDataStructsPropertyPermission (257) */2595 /** @name UpDataStructsPropertyPermission (255) */
2607 interface UpDataStructsPropertyPermission extends Struct {2596 interface UpDataStructsPropertyPermission extends Struct {
2608 readonly mutable: bool;2597 readonly mutable: bool;
2609 readonly collectionAdmin: bool;2598 readonly collectionAdmin: bool;
2610 readonly tokenOwner: bool;2599 readonly tokenOwner: bool;
2611 }2600 }
26122601
2613 /** @name UpDataStructsProperty (260) */2602 /** @name UpDataStructsProperty (258) */
2614 interface UpDataStructsProperty extends Struct {2603 interface UpDataStructsProperty extends Struct {
2615 readonly key: Bytes;2604 readonly key: Bytes;
2616 readonly value: Bytes;2605 readonly value: Bytes;
2617 }2606 }
26182607
2619 /** @name UpDataStructsCreateItemData (263) */2608 /** @name UpDataStructsCreateItemData (261) */
2620 interface UpDataStructsCreateItemData extends Enum {2609 interface UpDataStructsCreateItemData extends Enum {
2621 readonly isNft: boolean;2610 readonly isNft: boolean;
2622 readonly asNft: UpDataStructsCreateNftData;2611 readonly asNft: UpDataStructsCreateNftData;
2627 readonly type: 'Nft' | 'Fungible' | 'ReFungible';2616 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
2628 }2617 }
26292618
2630 /** @name UpDataStructsCreateNftData (264) */2619 /** @name UpDataStructsCreateNftData (262) */
2631 interface UpDataStructsCreateNftData extends Struct {2620 interface UpDataStructsCreateNftData extends Struct {
2632 readonly properties: Vec<UpDataStructsProperty>;2621 readonly properties: Vec<UpDataStructsProperty>;
2633 }2622 }
26342623
2635 /** @name UpDataStructsCreateFungibleData (265) */2624 /** @name UpDataStructsCreateFungibleData (263) */
2636 interface UpDataStructsCreateFungibleData extends Struct {2625 interface UpDataStructsCreateFungibleData extends Struct {
2637 readonly value: u128;2626 readonly value: u128;
2638 }2627 }
26392628
2640 /** @name UpDataStructsCreateReFungibleData (266) */2629 /** @name UpDataStructsCreateReFungibleData (264) */
2641 interface UpDataStructsCreateReFungibleData extends Struct {2630 interface UpDataStructsCreateReFungibleData extends Struct {
2642 readonly pieces: u128;2631 readonly pieces: u128;
2643 readonly properties: Vec<UpDataStructsProperty>;2632 readonly properties: Vec<UpDataStructsProperty>;
2644 }2633 }
26452634
2646 /** @name UpDataStructsCreateItemExData (269) */2635 /** @name UpDataStructsCreateItemExData (267) */
2647 interface UpDataStructsCreateItemExData extends Enum {2636 interface UpDataStructsCreateItemExData extends Enum {
2648 readonly isNft: boolean;2637 readonly isNft: boolean;
2649 readonly asNft: Vec<UpDataStructsCreateNftExData>;2638 readonly asNft: Vec<UpDataStructsCreateNftExData>;
2656 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';2645 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
2657 }2646 }
26582647
2659 /** @name UpDataStructsCreateNftExData (271) */2648 /** @name UpDataStructsCreateNftExData (269) */
2660 interface UpDataStructsCreateNftExData extends Struct {2649 interface UpDataStructsCreateNftExData extends Struct {
2661 readonly properties: Vec<UpDataStructsProperty>;2650 readonly properties: Vec<UpDataStructsProperty>;
2662 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2651 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
2663 }2652 }
26642653
2665 /** @name UpDataStructsCreateRefungibleExSingleOwner (278) */2654 /** @name UpDataStructsCreateRefungibleExSingleOwner (276) */
2666 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {2655 interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
2667 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;2656 readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
2668 readonly pieces: u128;2657 readonly pieces: u128;
2669 readonly properties: Vec<UpDataStructsProperty>;2658 readonly properties: Vec<UpDataStructsProperty>;
2670 }2659 }
26712660
2672 /** @name UpDataStructsCreateRefungibleExMultipleOwners (280) */2661 /** @name UpDataStructsCreateRefungibleExMultipleOwners (278) */
2673 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {2662 interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
2674 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2663 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
2675 readonly properties: Vec<UpDataStructsProperty>;2664 readonly properties: Vec<UpDataStructsProperty>;
2676 }2665 }
26772666
2678 /** @name PalletConfigurationCall (281) */2667 /** @name PalletConfigurationCall (279) */
2679 interface PalletConfigurationCall extends Enum {2668 interface PalletConfigurationCall extends Enum {
2680 readonly isSetWeightToFeeCoefficientOverride: boolean;2669 readonly isSetWeightToFeeCoefficientOverride: boolean;
2681 readonly asSetWeightToFeeCoefficientOverride: {2670 readonly asSetWeightToFeeCoefficientOverride: {
2696 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';2685 readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride';
2697 }2686 }
26982687
2699 /** @name PalletConfigurationAppPromotionConfiguration (286) */2688 /** @name PalletConfigurationAppPromotionConfiguration (284) */
2700 interface PalletConfigurationAppPromotionConfiguration extends Struct {2689 interface PalletConfigurationAppPromotionConfiguration extends Struct {
2701 readonly recalculationInterval: Option<u32>;2690 readonly recalculationInterval: Option<u32>;
2702 readonly pendingInterval: Option<u32>;2691 readonly pendingInterval: Option<u32>;
2703 readonly intervalIncome: Option<Perbill>;2692 readonly intervalIncome: Option<Perbill>;
2704 readonly maxStakersPerCalculation: Option<u8>;2693 readonly maxStakersPerCalculation: Option<u8>;
2705 }2694 }
27062695
2707 /** @name PalletTemplateTransactionPaymentCall (289) */2696 /** @name PalletTemplateTransactionPaymentCall (288) */
2708 type PalletTemplateTransactionPaymentCall = Null;2697 type PalletTemplateTransactionPaymentCall = Null;
27092698
2710 /** @name PalletStructureCall (290) */2699 /** @name PalletStructureCall (289) */
2711 type PalletStructureCall = Null;2700 type PalletStructureCall = Null;
27122701
2713 /** @name PalletRmrkCoreCall (291) */2702 /** @name PalletRmrkCoreCall (290) */
2714 interface PalletRmrkCoreCall extends Enum {2703 interface PalletRmrkCoreCall extends Enum {
2715 readonly isCreateCollection: boolean;2704 readonly isCreateCollection: boolean;
2716 readonly asCreateCollection: {2705 readonly asCreateCollection: {
2816 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';2805 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
2817 }2806 }
28182807
2819 /** @name RmrkTraitsResourceResourceTypes (297) */2808 /** @name RmrkTraitsResourceResourceTypes (296) */
2820 interface RmrkTraitsResourceResourceTypes extends Enum {2809 interface RmrkTraitsResourceResourceTypes extends Enum {
2821 readonly isBasic: boolean;2810 readonly isBasic: boolean;
2822 readonly asBasic: RmrkTraitsResourceBasicResource;2811 readonly asBasic: RmrkTraitsResourceBasicResource;
2827 readonly type: 'Basic' | 'Composable' | 'Slot';2816 readonly type: 'Basic' | 'Composable' | 'Slot';
2828 }2817 }
28292818
2830 /** @name RmrkTraitsResourceBasicResource (299) */2819 /** @name RmrkTraitsResourceBasicResource (298) */
2831 interface RmrkTraitsResourceBasicResource extends Struct {2820 interface RmrkTraitsResourceBasicResource extends Struct {
2832 readonly src: Option<Bytes>;2821 readonly src: Option<Bytes>;
2833 readonly metadata: Option<Bytes>;2822 readonly metadata: Option<Bytes>;
2834 readonly license: Option<Bytes>;2823 readonly license: Option<Bytes>;
2835 readonly thumb: Option<Bytes>;2824 readonly thumb: Option<Bytes>;
2836 }2825 }
28372826
2838 /** @name RmrkTraitsResourceComposableResource (301) */2827 /** @name RmrkTraitsResourceComposableResource (300) */
2839 interface RmrkTraitsResourceComposableResource extends Struct {2828 interface RmrkTraitsResourceComposableResource extends Struct {
2840 readonly parts: Vec<u32>;2829 readonly parts: Vec<u32>;
2841 readonly base: u32;2830 readonly base: u32;
2845 readonly thumb: Option<Bytes>;2834 readonly thumb: Option<Bytes>;
2846 }2835 }
28472836
2848 /** @name RmrkTraitsResourceSlotResource (302) */2837 /** @name RmrkTraitsResourceSlotResource (301) */
2849 interface RmrkTraitsResourceSlotResource extends Struct {2838 interface RmrkTraitsResourceSlotResource extends Struct {
2850 readonly base: u32;2839 readonly base: u32;
2851 readonly src: Option<Bytes>;2840 readonly src: Option<Bytes>;
2855 readonly thumb: Option<Bytes>;2844 readonly thumb: Option<Bytes>;
2856 }2845 }
28572846
2858 /** @name PalletRmrkEquipCall (305) */2847 /** @name PalletRmrkEquipCall (304) */
2859 interface PalletRmrkEquipCall extends Enum {2848 interface PalletRmrkEquipCall extends Enum {
2860 readonly isCreateBase: boolean;2849 readonly isCreateBase: boolean;
2861 readonly asCreateBase: {2850 readonly asCreateBase: {
2877 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';2866 readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
2878 }2867 }
28792868
2880 /** @name RmrkTraitsPartPartType (308) */2869 /** @name RmrkTraitsPartPartType (307) */
2881 interface RmrkTraitsPartPartType extends Enum {2870 interface RmrkTraitsPartPartType extends Enum {
2882 readonly isFixedPart: boolean;2871 readonly isFixedPart: boolean;
2883 readonly asFixedPart: RmrkTraitsPartFixedPart;2872 readonly asFixedPart: RmrkTraitsPartFixedPart;
2886 readonly type: 'FixedPart' | 'SlotPart';2875 readonly type: 'FixedPart' | 'SlotPart';
2887 }2876 }
28882877
2889 /** @name RmrkTraitsPartFixedPart (310) */2878 /** @name RmrkTraitsPartFixedPart (309) */
2890 interface RmrkTraitsPartFixedPart extends Struct {2879 interface RmrkTraitsPartFixedPart extends Struct {
2891 readonly id: u32;2880 readonly id: u32;
2892 readonly z: u32;2881 readonly z: u32;
2893 readonly src: Bytes;2882 readonly src: Bytes;
2894 }2883 }
28952884
2896 /** @name RmrkTraitsPartSlotPart (311) */2885 /** @name RmrkTraitsPartSlotPart (310) */
2897 interface RmrkTraitsPartSlotPart extends Struct {2886 interface RmrkTraitsPartSlotPart extends Struct {
2898 readonly id: u32;2887 readonly id: u32;
2899 readonly equippable: RmrkTraitsPartEquippableList;2888 readonly equippable: RmrkTraitsPartEquippableList;
2900 readonly src: Bytes;2889 readonly src: Bytes;
2901 readonly z: u32;2890 readonly z: u32;
2902 }2891 }
29032892
2904 /** @name RmrkTraitsPartEquippableList (312) */2893 /** @name RmrkTraitsPartEquippableList (311) */
2905 interface RmrkTraitsPartEquippableList extends Enum {2894 interface RmrkTraitsPartEquippableList extends Enum {
2906 readonly isAll: boolean;2895 readonly isAll: boolean;
2907 readonly isEmpty: boolean;2896 readonly isEmpty: boolean;
2910 readonly type: 'All' | 'Empty' | 'Custom';2899 readonly type: 'All' | 'Empty' | 'Custom';
2911 }2900 }
29122901
2913 /** @name RmrkTraitsTheme (314) */2902 /** @name RmrkTraitsTheme (313) */
2914 interface RmrkTraitsTheme extends Struct {2903 interface RmrkTraitsTheme extends Struct {
2915 readonly name: Bytes;2904 readonly name: Bytes;
2916 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;2905 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
2917 readonly inherit: bool;2906 readonly inherit: bool;
2918 }2907 }
29192908
2920 /** @name RmrkTraitsThemeThemeProperty (316) */2909 /** @name RmrkTraitsThemeThemeProperty (315) */
2921 interface RmrkTraitsThemeThemeProperty extends Struct {2910 interface RmrkTraitsThemeThemeProperty extends Struct {
2922 readonly key: Bytes;2911 readonly key: Bytes;
2923 readonly value: Bytes;2912 readonly value: Bytes;
2924 }2913 }
29252914
2926 /** @name PalletAppPromotionCall (318) */2915 /** @name PalletAppPromotionCall (317) */
2927 interface PalletAppPromotionCall extends Enum {2916 interface PalletAppPromotionCall extends Enum {
2928 readonly isSetAdminAddress: boolean;2917 readonly isSetAdminAddress: boolean;
2929 readonly asSetAdminAddress: {2918 readonly asSetAdminAddress: {
2957 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';2946 readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
2958 }2947 }
29592948
2960 /** @name PalletForeignAssetsModuleCall (319) */2949 /** @name PalletForeignAssetsModuleCall (318) */
2961 interface PalletForeignAssetsModuleCall extends Enum {2950 interface PalletForeignAssetsModuleCall extends Enum {
2962 readonly isRegisterForeignAsset: boolean;2951 readonly isRegisterForeignAsset: boolean;
2963 readonly asRegisterForeignAsset: {2952 readonly asRegisterForeignAsset: {
2974 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';2963 readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
2975 }2964 }
29762965
2977 /** @name PalletEvmCall (320) */2966 /** @name PalletEvmCall (319) */
2978 interface PalletEvmCall extends Enum {2967 interface PalletEvmCall extends Enum {
2979 readonly isWithdraw: boolean;2968 readonly isWithdraw: boolean;
2980 readonly asWithdraw: {2969 readonly asWithdraw: {
3019 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';3008 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
3020 }3009 }
30213010
3022 /** @name PalletEthereumCall (326) */3011 /** @name PalletEthereumCall (325) */
3023 interface PalletEthereumCall extends Enum {3012 interface PalletEthereumCall extends Enum {
3024 readonly isTransact: boolean;3013 readonly isTransact: boolean;
3025 readonly asTransact: {3014 readonly asTransact: {
3028 readonly type: 'Transact';3017 readonly type: 'Transact';
3029 }3018 }
30303019
3031 /** @name EthereumTransactionTransactionV2 (327) */3020 /** @name EthereumTransactionTransactionV2 (326) */
3032 interface EthereumTransactionTransactionV2 extends Enum {3021 interface EthereumTransactionTransactionV2 extends Enum {
3033 readonly isLegacy: boolean;3022 readonly isLegacy: boolean;
3034 readonly asLegacy: EthereumTransactionLegacyTransaction;3023 readonly asLegacy: EthereumTransactionLegacyTransaction;
3039 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3028 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3040 }3029 }
30413030
3042 /** @name EthereumTransactionLegacyTransaction (328) */3031 /** @name EthereumTransactionLegacyTransaction (327) */
3043 interface EthereumTransactionLegacyTransaction extends Struct {3032 interface EthereumTransactionLegacyTransaction extends Struct {
3044 readonly nonce: U256;3033 readonly nonce: U256;
3045 readonly gasPrice: U256;3034 readonly gasPrice: U256;
3050 readonly signature: EthereumTransactionTransactionSignature;3039 readonly signature: EthereumTransactionTransactionSignature;
3051 }3040 }
30523041
3053 /** @name EthereumTransactionTransactionAction (329) */3042 /** @name EthereumTransactionTransactionAction (328) */
3054 interface EthereumTransactionTransactionAction extends Enum {3043 interface EthereumTransactionTransactionAction extends Enum {
3055 readonly isCall: boolean;3044 readonly isCall: boolean;
3056 readonly asCall: H160;3045 readonly asCall: H160;
3057 readonly isCreate: boolean;3046 readonly isCreate: boolean;
3058 readonly type: 'Call' | 'Create';3047 readonly type: 'Call' | 'Create';
3059 }3048 }
30603049
3061 /** @name EthereumTransactionTransactionSignature (330) */3050 /** @name EthereumTransactionTransactionSignature (329) */
3062 interface EthereumTransactionTransactionSignature extends Struct {3051 interface EthereumTransactionTransactionSignature extends Struct {
3063 readonly v: u64;3052 readonly v: u64;
3064 readonly r: H256;3053 readonly r: H256;
3065 readonly s: H256;3054 readonly s: H256;
3066 }3055 }
30673056
3068 /** @name EthereumTransactionEip2930Transaction (332) */3057 /** @name EthereumTransactionEip2930Transaction (331) */
3069 interface EthereumTransactionEip2930Transaction extends Struct {3058 interface EthereumTransactionEip2930Transaction extends Struct {
3070 readonly chainId: u64;3059 readonly chainId: u64;
3071 readonly nonce: U256;3060 readonly nonce: U256;
3080 readonly s: H256;3069 readonly s: H256;
3081 }3070 }
30823071
3083 /** @name EthereumTransactionAccessListItem (334) */3072 /** @name EthereumTransactionAccessListItem (333) */
3084 interface EthereumTransactionAccessListItem extends Struct {3073 interface EthereumTransactionAccessListItem extends Struct {
3085 readonly address: H160;3074 readonly address: H160;
3086 readonly storageKeys: Vec<H256>;3075 readonly storageKeys: Vec<H256>;
3087 }3076 }
30883077
3089 /** @name EthereumTransactionEip1559Transaction (335) */3078 /** @name EthereumTransactionEip1559Transaction (334) */
3090 interface EthereumTransactionEip1559Transaction extends Struct {3079 interface EthereumTransactionEip1559Transaction extends Struct {
3091 readonly chainId: u64;3080 readonly chainId: u64;
3092 readonly nonce: U256;3081 readonly nonce: U256;
3102 readonly s: H256;3091 readonly s: H256;
3103 }3092 }
31043093
3105 /** @name PalletEvmMigrationCall (336) */3094 /** @name PalletEvmMigrationCall (335) */
3106 interface PalletEvmMigrationCall extends Enum {3095 interface PalletEvmMigrationCall extends Enum {
3107 readonly isBegin: boolean;3096 readonly isBegin: boolean;
3108 readonly asBegin: {3097 readonly asBegin: {
3129 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';3118 readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
3130 }3119 }
31313120
3132 /** @name PalletMaintenanceCall (340) */3121 /** @name PalletMaintenanceCall (339) */
3133 interface PalletMaintenanceCall extends Enum {3122 interface PalletMaintenanceCall extends Enum {
3134 readonly isEnable: boolean;3123 readonly isEnable: boolean;
3135 readonly isDisable: boolean;3124 readonly isDisable: boolean;
3136 readonly type: 'Enable' | 'Disable';3125 readonly type: 'Enable' | 'Disable';
3137 }3126 }
31383127
3139 /** @name PalletTestUtilsCall (341) */3128 /** @name PalletTestUtilsCall (340) */
3140 interface PalletTestUtilsCall extends Enum {3129 interface PalletTestUtilsCall extends Enum {
3141 readonly isEnable: boolean;3130 readonly isEnable: boolean;
3142 readonly isSetTestValue: boolean;3131 readonly isSetTestValue: boolean;
3156 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';3145 readonly type: 'Enable' | 'SetTestValue' | 'SetTestValueAndRollback' | 'IncTestValue' | 'JustTakeFee' | 'BatchAll';
3157 }3146 }
31583147
3159 /** @name PalletSudoError (343) */3148 /** @name PalletSudoError (342) */
3160 interface PalletSudoError extends Enum {3149 interface PalletSudoError extends Enum {
3161 readonly isRequireSudo: boolean;3150 readonly isRequireSudo: boolean;
3162 readonly type: 'RequireSudo';3151 readonly type: 'RequireSudo';
3163 }3152 }
31643153
3165 /** @name OrmlVestingModuleError (345) */3154 /** @name OrmlVestingModuleError (344) */
3166 interface OrmlVestingModuleError extends Enum {3155 interface OrmlVestingModuleError extends Enum {
3167 readonly isZeroVestingPeriod: boolean;3156 readonly isZeroVestingPeriod: boolean;
3168 readonly isZeroVestingPeriodCount: boolean;3157 readonly isZeroVestingPeriodCount: boolean;
3173 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';3162 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
3174 }3163 }
31753164
3176 /** @name OrmlXtokensModuleError (346) */3165 /** @name OrmlXtokensModuleError (345) */
3177 interface OrmlXtokensModuleError extends Enum {3166 interface OrmlXtokensModuleError extends Enum {
3178 readonly isAssetHasNoReserve: boolean;3167 readonly isAssetHasNoReserve: boolean;
3179 readonly isNotCrossChainTransfer: boolean;3168 readonly isNotCrossChainTransfer: boolean;
3197 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';3186 readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedMultiLocation' | 'MinXcmFeeNotDefined';
3198 }3187 }
31993188
3200 /** @name OrmlTokensBalanceLock (349) */3189 /** @name OrmlTokensBalanceLock (348) */
3201 interface OrmlTokensBalanceLock extends Struct {3190 interface OrmlTokensBalanceLock extends Struct {
3202 readonly id: U8aFixed;3191 readonly id: U8aFixed;
3203 readonly amount: u128;3192 readonly amount: u128;
3204 }3193 }
32053194
3206 /** @name OrmlTokensAccountData (351) */3195 /** @name OrmlTokensAccountData (350) */
3207 interface OrmlTokensAccountData extends Struct {3196 interface OrmlTokensAccountData extends Struct {
3208 readonly free: u128;3197 readonly free: u128;
3209 readonly reserved: u128;3198 readonly reserved: u128;
3210 readonly frozen: u128;3199 readonly frozen: u128;
3211 }3200 }
32123201
3213 /** @name OrmlTokensReserveData (353) */3202 /** @name OrmlTokensReserveData (352) */
3214 interface OrmlTokensReserveData extends Struct {3203 interface OrmlTokensReserveData extends Struct {
3215 readonly id: Null;3204 readonly id: Null;
3216 readonly amount: u128;3205 readonly amount: u128;
3217 }3206 }
32183207
3219 /** @name OrmlTokensModuleError (355) */3208 /** @name OrmlTokensModuleError (354) */
3220 interface OrmlTokensModuleError extends Enum {3209 interface OrmlTokensModuleError extends Enum {
3221 readonly isBalanceTooLow: boolean;3210 readonly isBalanceTooLow: boolean;
3222 readonly isAmountIntoBalanceFailed: boolean;3211 readonly isAmountIntoBalanceFailed: boolean;
3229 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';3218 readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves';
3230 }3219 }
32313220
3232 /** @name CumulusPalletXcmpQueueInboundChannelDetails (357) */3221 /** @name CumulusPalletXcmpQueueInboundChannelDetails (356) */
3233 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {3222 interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
3234 readonly sender: u32;3223 readonly sender: u32;
3235 readonly state: CumulusPalletXcmpQueueInboundState;3224 readonly state: CumulusPalletXcmpQueueInboundState;
3236 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;3225 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
3237 }3226 }
32383227
3239 /** @name CumulusPalletXcmpQueueInboundState (358) */3228 /** @name CumulusPalletXcmpQueueInboundState (357) */
3240 interface CumulusPalletXcmpQueueInboundState extends Enum {3229 interface CumulusPalletXcmpQueueInboundState extends Enum {
3241 readonly isOk: boolean;3230 readonly isOk: boolean;
3242 readonly isSuspended: boolean;3231 readonly isSuspended: boolean;
3243 readonly type: 'Ok' | 'Suspended';3232 readonly type: 'Ok' | 'Suspended';
3244 }3233 }
32453234
3246 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (361) */3235 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (360) */
3247 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {3236 interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
3248 readonly isConcatenatedVersionedXcm: boolean;3237 readonly isConcatenatedVersionedXcm: boolean;
3249 readonly isConcatenatedEncodedBlob: boolean;3238 readonly isConcatenatedEncodedBlob: boolean;
3250 readonly isSignals: boolean;3239 readonly isSignals: boolean;
3251 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';3240 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
3252 }3241 }
32533242
3254 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (364) */3243 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (363) */
3255 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {3244 interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
3256 readonly recipient: u32;3245 readonly recipient: u32;
3257 readonly state: CumulusPalletXcmpQueueOutboundState;3246 readonly state: CumulusPalletXcmpQueueOutboundState;
3260 readonly lastIndex: u16;3249 readonly lastIndex: u16;
3261 }3250 }
32623251
3263 /** @name CumulusPalletXcmpQueueOutboundState (365) */3252 /** @name CumulusPalletXcmpQueueOutboundState (364) */
3264 interface CumulusPalletXcmpQueueOutboundState extends Enum {3253 interface CumulusPalletXcmpQueueOutboundState extends Enum {
3265 readonly isOk: boolean;3254 readonly isOk: boolean;
3266 readonly isSuspended: boolean;3255 readonly isSuspended: boolean;
3267 readonly type: 'Ok' | 'Suspended';3256 readonly type: 'Ok' | 'Suspended';
3268 }3257 }
32693258
3270 /** @name CumulusPalletXcmpQueueQueueConfigData (367) */3259 /** @name CumulusPalletXcmpQueueQueueConfigData (366) */
3271 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {3260 interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
3272 readonly suspendThreshold: u32;3261 readonly suspendThreshold: u32;
3273 readonly dropThreshold: u32;3262 readonly dropThreshold: u32;
3277 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;3266 readonly xcmpMaxIndividualWeight: SpWeightsWeightV2Weight;
3278 }3267 }
32793268
3280 /** @name CumulusPalletXcmpQueueError (369) */3269 /** @name CumulusPalletXcmpQueueError (368) */
3281 interface CumulusPalletXcmpQueueError extends Enum {3270 interface CumulusPalletXcmpQueueError extends Enum {
3282 readonly isFailedToSend: boolean;3271 readonly isFailedToSend: boolean;
3283 readonly isBadXcmOrigin: boolean;3272 readonly isBadXcmOrigin: boolean;
3287 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';3276 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
3288 }3277 }
32893278
3290 /** @name PalletXcmError (370) */3279 /** @name PalletXcmError (369) */
3291 interface PalletXcmError extends Enum {3280 interface PalletXcmError extends Enum {
3292 readonly isUnreachable: boolean;3281 readonly isUnreachable: boolean;
3293 readonly isSendFailure: boolean;3282 readonly isSendFailure: boolean;
3305 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';3294 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
3306 }3295 }
33073296
3308 /** @name CumulusPalletXcmError (371) */3297 /** @name CumulusPalletXcmError (370) */
3309 type CumulusPalletXcmError = Null;3298 type CumulusPalletXcmError = Null;
33103299
3311 /** @name CumulusPalletDmpQueueConfigData (372) */3300 /** @name CumulusPalletDmpQueueConfigData (371) */
3312 interface CumulusPalletDmpQueueConfigData extends Struct {3301 interface CumulusPalletDmpQueueConfigData extends Struct {
3313 readonly maxIndividual: SpWeightsWeightV2Weight;3302 readonly maxIndividual: SpWeightsWeightV2Weight;
3314 }3303 }
33153304
3316 /** @name CumulusPalletDmpQueuePageIndexData (373) */3305 /** @name CumulusPalletDmpQueuePageIndexData (372) */
3317 interface CumulusPalletDmpQueuePageIndexData extends Struct {3306 interface CumulusPalletDmpQueuePageIndexData extends Struct {
3318 readonly beginUsed: u32;3307 readonly beginUsed: u32;
3319 readonly endUsed: u32;3308 readonly endUsed: u32;
3320 readonly overweightCount: u64;3309 readonly overweightCount: u64;
3321 }3310 }
33223311
3323 /** @name CumulusPalletDmpQueueError (376) */3312 /** @name CumulusPalletDmpQueueError (375) */
3324 interface CumulusPalletDmpQueueError extends Enum {3313 interface CumulusPalletDmpQueueError extends Enum {
3325 readonly isUnknown: boolean;3314 readonly isUnknown: boolean;
3326 readonly isOverLimit: boolean;3315 readonly isOverLimit: boolean;
3327 readonly type: 'Unknown' | 'OverLimit';3316 readonly type: 'Unknown' | 'OverLimit';
3328 }3317 }
33293318
3330 /** @name PalletUniqueError (380) */3319 /** @name PalletUniqueError (379) */
3331 interface PalletUniqueError extends Enum {3320 interface PalletUniqueError extends Enum {
3332 readonly isCollectionDecimalPointLimitExceeded: boolean;3321 readonly isCollectionDecimalPointLimitExceeded: boolean;
3333 readonly isEmptyArgument: boolean;3322 readonly isEmptyArgument: boolean;
3334 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;3323 readonly isRepartitionCalledOnNonRefungibleCollection: boolean;
3335 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';3324 readonly type: 'CollectionDecimalPointLimitExceeded' | 'EmptyArgument' | 'RepartitionCalledOnNonRefungibleCollection';
3336 }3325 }
33373326
3338 /** @name PalletConfigurationError (381) */3327 /** @name PalletConfigurationError (380) */
3339 interface PalletConfigurationError extends Enum {3328 interface PalletConfigurationError extends Enum {
3340 readonly isInconsistentConfiguration: boolean;3329 readonly isInconsistentConfiguration: boolean;
3341 readonly type: 'InconsistentConfiguration';3330 readonly type: 'InconsistentConfiguration';
3342 }3331 }
33433332
3344 /** @name UpDataStructsCollection (382) */3333 /** @name UpDataStructsCollection (381) */
3345 interface UpDataStructsCollection extends Struct {3334 interface UpDataStructsCollection extends Struct {
3346 readonly owner: AccountId32;3335 readonly owner: AccountId32;
3347 readonly mode: UpDataStructsCollectionMode;3336 readonly mode: UpDataStructsCollectionMode;
3354 readonly flags: U8aFixed;3343 readonly flags: U8aFixed;
3355 }3344 }
33563345
3357 /** @name UpDataStructsSponsorshipStateAccountId32 (383) */3346 /** @name UpDataStructsSponsorshipStateAccountId32 (382) */
3358 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {3347 interface UpDataStructsSponsorshipStateAccountId32 extends Enum {
3359 readonly isDisabled: boolean;3348 readonly isDisabled: boolean;
3360 readonly isUnconfirmed: boolean;3349 readonly isUnconfirmed: boolean;
3364 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3353 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
3365 }3354 }
33663355
3367 /** @name UpDataStructsProperties (385) */3356 /** @name UpDataStructsProperties (384) */
3368 interface UpDataStructsProperties extends Struct {3357 interface UpDataStructsProperties extends Struct {
3369 readonly map: UpDataStructsPropertiesMapBoundedVec;3358 readonly map: UpDataStructsPropertiesMapBoundedVec;
3370 readonly consumedSpace: u32;3359 readonly consumedSpace: u32;
3371 readonly spaceLimit: u32;3360 readonly spaceLimit: u32;
3372 }3361 }
33733362
3374 /** @name UpDataStructsPropertiesMapBoundedVec (386) */3363 /** @name UpDataStructsPropertiesMapBoundedVec (385) */
3375 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}3364 interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
33763365
3377 /** @name UpDataStructsPropertiesMapPropertyPermission (391) */3366 /** @name UpDataStructsPropertiesMapPropertyPermission (390) */
3378 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}3367 interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
33793368
3380 /** @name UpDataStructsCollectionStats (398) */3369 /** @name UpDataStructsCollectionStats (397) */
3381 interface UpDataStructsCollectionStats extends Struct {3370 interface UpDataStructsCollectionStats extends Struct {
3382 readonly created: u32;3371 readonly created: u32;
3383 readonly destroyed: u32;3372 readonly destroyed: u32;
3384 readonly alive: u32;3373 readonly alive: u32;
3385 }3374 }
33863375
3387 /** @name UpDataStructsTokenChild (399) */3376 /** @name UpDataStructsTokenChild (398) */
3388 interface UpDataStructsTokenChild extends Struct {3377 interface UpDataStructsTokenChild extends Struct {
3389 readonly token: u32;3378 readonly token: u32;
3390 readonly collection: u32;3379 readonly collection: u32;
3391 }3380 }
33923381
3393 /** @name PhantomTypeUpDataStructs (400) */3382 /** @name PhantomTypeUpDataStructs (399) */
3394 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}3383 interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
33953384
3396 /** @name UpDataStructsTokenData (402) */3385 /** @name UpDataStructsTokenData (401) */
3397 interface UpDataStructsTokenData extends Struct {3386 interface UpDataStructsTokenData extends Struct {
3398 readonly properties: Vec<UpDataStructsProperty>;3387 readonly properties: Vec<UpDataStructsProperty>;
3399 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;3388 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
3400 readonly pieces: u128;3389 readonly pieces: u128;
3401 }3390 }
34023391
3403 /** @name UpDataStructsRpcCollection (404) */3392 /** @name UpDataStructsRpcCollection (403) */
3404 interface UpDataStructsRpcCollection extends Struct {3393 interface UpDataStructsRpcCollection extends Struct {
3405 readonly owner: AccountId32;3394 readonly owner: AccountId32;
3406 readonly mode: UpDataStructsCollectionMode;3395 readonly mode: UpDataStructsCollectionMode;
3416 readonly flags: UpDataStructsRpcCollectionFlags;3405 readonly flags: UpDataStructsRpcCollectionFlags;
3417 }3406 }
34183407
3419 /** @name UpDataStructsRpcCollectionFlags (405) */3408 /** @name UpDataStructsRpcCollectionFlags (404) */
3420 interface UpDataStructsRpcCollectionFlags extends Struct {3409 interface UpDataStructsRpcCollectionFlags extends Struct {
3421 readonly foreign: bool;3410 readonly foreign: bool;
3422 readonly erc721metadata: bool;3411 readonly erc721metadata: bool;
3423 }3412 }
34243413
3425 /** @name RmrkTraitsCollectionCollectionInfo (406) */3414 /** @name RmrkTraitsCollectionCollectionInfo (405) */
3426 interface RmrkTraitsCollectionCollectionInfo extends Struct {3415 interface RmrkTraitsCollectionCollectionInfo extends Struct {
3427 readonly issuer: AccountId32;3416 readonly issuer: AccountId32;
3428 readonly metadata: Bytes;3417 readonly metadata: Bytes;
3431 readonly nftsCount: u32;3420 readonly nftsCount: u32;
3432 }3421 }
34333422
3434 /** @name RmrkTraitsNftNftInfo (407) */3423 /** @name RmrkTraitsNftNftInfo (406) */
3435 interface RmrkTraitsNftNftInfo extends Struct {3424 interface RmrkTraitsNftNftInfo extends Struct {
3436 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;3425 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
3437 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;3426 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
3440 readonly pending: bool;3429 readonly pending: bool;
3441 }3430 }
34423431
3443 /** @name RmrkTraitsNftRoyaltyInfo (409) */3432 /** @name RmrkTraitsNftRoyaltyInfo (408) */
3444 interface RmrkTraitsNftRoyaltyInfo extends Struct {3433 interface RmrkTraitsNftRoyaltyInfo extends Struct {
3445 readonly recipient: AccountId32;3434 readonly recipient: AccountId32;
3446 readonly amount: Permill;3435 readonly amount: Permill;
3447 }3436 }
34483437
3449 /** @name RmrkTraitsResourceResourceInfo (410) */3438 /** @name RmrkTraitsResourceResourceInfo (409) */
3450 interface RmrkTraitsResourceResourceInfo extends Struct {3439 interface RmrkTraitsResourceResourceInfo extends Struct {
3451 readonly id: u32;3440 readonly id: u32;
3452 readonly resource: RmrkTraitsResourceResourceTypes;3441 readonly resource: RmrkTraitsResourceResourceTypes;
3453 readonly pending: bool;3442 readonly pending: bool;
3454 readonly pendingRemoval: bool;3443 readonly pendingRemoval: bool;
3455 }3444 }
34563445
3457 /** @name RmrkTraitsPropertyPropertyInfo (411) */3446 /** @name RmrkTraitsPropertyPropertyInfo (410) */
3458 interface RmrkTraitsPropertyPropertyInfo extends Struct {3447 interface RmrkTraitsPropertyPropertyInfo extends Struct {
3459 readonly key: Bytes;3448 readonly key: Bytes;
3460 readonly value: Bytes;3449 readonly value: Bytes;
3461 }3450 }
34623451
3463 /** @name RmrkTraitsBaseBaseInfo (412) */3452 /** @name RmrkTraitsBaseBaseInfo (411) */
3464 interface RmrkTraitsBaseBaseInfo extends Struct {3453 interface RmrkTraitsBaseBaseInfo extends Struct {
3465 readonly issuer: AccountId32;3454 readonly issuer: AccountId32;
3466 readonly baseType: Bytes;3455 readonly baseType: Bytes;
3467 readonly symbol: Bytes;3456 readonly symbol: Bytes;
3468 }3457 }
34693458
3470 /** @name RmrkTraitsNftNftChild (413) */3459 /** @name RmrkTraitsNftNftChild (412) */
3471 interface RmrkTraitsNftNftChild extends Struct {3460 interface RmrkTraitsNftNftChild extends Struct {
3472 readonly collectionId: u32;3461 readonly collectionId: u32;
3473 readonly nftId: u32;3462 readonly nftId: u32;
3474 }3463 }
34753464
3476 /** @name PalletCommonError (415) */3465 /** @name PalletCommonError (414) */
3477 interface PalletCommonError extends Enum {3466 interface PalletCommonError extends Enum {
3478 readonly isCollectionNotFound: boolean;3467 readonly isCollectionNotFound: boolean;
3479 readonly isMustBeTokenOwner: boolean;3468 readonly isMustBeTokenOwner: boolean;
3514 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';3503 readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal' | 'ConfirmSponsorshipFail' | 'UserIsNotCollectionAdmin';
3515 }3504 }
35163505
3517 /** @name PalletFungibleError (417) */3506 /** @name PalletFungibleError (416) */
3518 interface PalletFungibleError extends Enum {3507 interface PalletFungibleError extends Enum {
3519 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3508 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
3520 readonly isFungibleItemsHaveNoId: boolean;3509 readonly isFungibleItemsHaveNoId: boolean;
3526 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';3515 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed' | 'SettingAllowanceForAllNotAllowed' | 'FungibleTokensAreAlwaysValid';
3527 }3516 }
35283517
3529 /** @name PalletRefungibleItemData (418) */3518 /** @name PalletRefungibleItemData (417) */
3530 interface PalletRefungibleItemData extends Struct {3519 interface PalletRefungibleItemData extends Struct {
3531 readonly constData: Bytes;3520 readonly constData: Bytes;
3532 }3521 }
35333522
3534 /** @name PalletRefungibleError (423) */3523 /** @name PalletRefungibleError (422) */
3535 interface PalletRefungibleError extends Enum {3524 interface PalletRefungibleError extends Enum {
3536 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3525 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
3537 readonly isWrongRefungiblePieces: boolean;3526 readonly isWrongRefungiblePieces: boolean;
3541 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3530 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RepartitionWhileNotOwningAllPieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
3542 }3531 }
35433532
3544 /** @name PalletNonfungibleItemData (424) */3533 /** @name PalletNonfungibleItemData (423) */
3545 interface PalletNonfungibleItemData extends Struct {3534 interface PalletNonfungibleItemData extends Struct {
3546 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3535 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
3547 }3536 }
35483537
3549 /** @name UpDataStructsPropertyScope (426) */3538 /** @name UpDataStructsPropertyScope (425) */
3550 interface UpDataStructsPropertyScope extends Enum {3539 interface UpDataStructsPropertyScope extends Enum {
3551 readonly isNone: boolean;3540 readonly isNone: boolean;
3552 readonly isRmrk: boolean;3541 readonly isRmrk: boolean;
3553 readonly type: 'None' | 'Rmrk';3542 readonly type: 'None' | 'Rmrk';
3554 }3543 }
35553544
3556 /** @name PalletNonfungibleError (428) */3545 /** @name PalletNonfungibleError (427) */
3557 interface PalletNonfungibleError extends Enum {3546 interface PalletNonfungibleError extends Enum {
3558 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3547 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
3559 readonly isNonfungibleItemsHaveNoAmount: boolean;3548 readonly isNonfungibleItemsHaveNoAmount: boolean;
3560 readonly isCantBurnNftWithChildren: boolean;3549 readonly isCantBurnNftWithChildren: boolean;
3561 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3550 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
3562 }3551 }
35633552
3564 /** @name PalletStructureError (429) */3553 /** @name PalletStructureError (428) */
3565 interface PalletStructureError extends Enum {3554 interface PalletStructureError extends Enum {
3566 readonly isOuroborosDetected: boolean;3555 readonly isOuroborosDetected: boolean;
3567 readonly isDepthLimit: boolean;3556 readonly isDepthLimit: boolean;
3570 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';3559 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
3571 }3560 }
35723561
3573 /** @name PalletRmrkCoreError (430) */3562 /** @name PalletRmrkCoreError (429) */
3574 interface PalletRmrkCoreError extends Enum {3563 interface PalletRmrkCoreError extends Enum {
3575 readonly isCorruptedCollectionType: boolean;3564 readonly isCorruptedCollectionType: boolean;
3576 readonly isRmrkPropertyKeyIsTooLong: boolean;3565 readonly isRmrkPropertyKeyIsTooLong: boolean;
3594 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';3583 readonly type: 'CorruptedCollectionType' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'RmrkPropertyIsNotFound' | 'UnableToDecodeRmrkData' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'CannotRejectNonPendingNft' | 'ResourceNotPending' | 'NoAvailableResourceId';
3595 }3584 }
35963585
3597 /** @name PalletRmrkEquipError (432) */3586 /** @name PalletRmrkEquipError (431) */
3598 interface PalletRmrkEquipError extends Enum {3587 interface PalletRmrkEquipError extends Enum {
3599 readonly isPermissionError: boolean;3588 readonly isPermissionError: boolean;
3600 readonly isNoAvailableBaseId: boolean;3589 readonly isNoAvailableBaseId: boolean;
3606 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';3595 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst' | 'PartDoesntExist' | 'NoEquippableOnFixedPart';
3607 }3596 }
36083597
3609 /** @name PalletAppPromotionError (438) */3598 /** @name PalletAppPromotionError (437) */
3610 interface PalletAppPromotionError extends Enum {3599 interface PalletAppPromotionError extends Enum {
3611 readonly isAdminNotSet: boolean;3600 readonly isAdminNotSet: boolean;
3612 readonly isNoPermission: boolean;3601 readonly isNoPermission: boolean;
3617 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';3606 readonly type: 'AdminNotSet' | 'NoPermission' | 'NotSufficientFunds' | 'PendingForBlockOverflow' | 'SponsorNotSet' | 'IncorrectLockedBalanceOperation';
3618 }3607 }
36193608
3620 /** @name PalletForeignAssetsModuleError (439) */3609 /** @name PalletForeignAssetsModuleError (438) */
3621 interface PalletForeignAssetsModuleError extends Enum {3610 interface PalletForeignAssetsModuleError extends Enum {
3622 readonly isBadLocation: boolean;3611 readonly isBadLocation: boolean;
3623 readonly isMultiLocationExisted: boolean;3612 readonly isMultiLocationExisted: boolean;
3626 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';3615 readonly type: 'BadLocation' | 'MultiLocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted';
3627 }3616 }
36283617
3629 /** @name PalletEvmError (441) */3618 /** @name PalletEvmError (440) */
3630 interface PalletEvmError extends Enum {3619 interface PalletEvmError extends Enum {
3631 readonly isBalanceLow: boolean;3620 readonly isBalanceLow: boolean;
3632 readonly isFeeOverflow: boolean;3621 readonly isFeeOverflow: boolean;
3638 readonly isGasLimitTooHigh: boolean;3627 readonly isGasLimitTooHigh: boolean;
3639 readonly isUndefined: boolean;3628 readonly isUndefined: boolean;
3640 readonly isReentrancy: boolean;3629 readonly isReentrancy: boolean;
3630 readonly isTransactionMustComeFromEOA: boolean;
3641 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy';3631 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce' | 'GasLimitTooLow' | 'GasLimitTooHigh' | 'Undefined' | 'Reentrancy' | 'TransactionMustComeFromEOA';
3642 }3632 }
36433633
3644 /** @name FpRpcTransactionStatus (444) */3634 /** @name FpRpcTransactionStatus (443) */
3645 interface FpRpcTransactionStatus extends Struct {3635 interface FpRpcTransactionStatus extends Struct {
3646 readonly transactionHash: H256;3636 readonly transactionHash: H256;
3647 readonly transactionIndex: u32;3637 readonly transactionIndex: u32;
3652 readonly logsBloom: EthbloomBloom;3642 readonly logsBloom: EthbloomBloom;
3653 }3643 }
36543644
3655 /** @name EthbloomBloom (446) */3645 /** @name EthbloomBloom (445) */
3656 interface EthbloomBloom extends U8aFixed {}3646 interface EthbloomBloom extends U8aFixed {}
36573647
3658 /** @name EthereumReceiptReceiptV3 (448) */3648 /** @name EthereumReceiptReceiptV3 (447) */
3659 interface EthereumReceiptReceiptV3 extends Enum {3649 interface EthereumReceiptReceiptV3 extends Enum {
3660 readonly isLegacy: boolean;3650 readonly isLegacy: boolean;
3661 readonly asLegacy: EthereumReceiptEip658ReceiptData;3651 readonly asLegacy: EthereumReceiptEip658ReceiptData;
3666 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3656 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3667 }3657 }
36683658
3669 /** @name EthereumReceiptEip658ReceiptData (449) */3659 /** @name EthereumReceiptEip658ReceiptData (448) */
3670 interface EthereumReceiptEip658ReceiptData extends Struct {3660 interface EthereumReceiptEip658ReceiptData extends Struct {
3671 readonly statusCode: u8;3661 readonly statusCode: u8;
3672 readonly usedGas: U256;3662 readonly usedGas: U256;
3673 readonly logsBloom: EthbloomBloom;3663 readonly logsBloom: EthbloomBloom;
3674 readonly logs: Vec<EthereumLog>;3664 readonly logs: Vec<EthereumLog>;
3675 }3665 }
36763666
3677 /** @name EthereumBlock (450) */3667 /** @name EthereumBlock (449) */
3678 interface EthereumBlock extends Struct {3668 interface EthereumBlock extends Struct {
3679 readonly header: EthereumHeader;3669 readonly header: EthereumHeader;
3680 readonly transactions: Vec<EthereumTransactionTransactionV2>;3670 readonly transactions: Vec<EthereumTransactionTransactionV2>;
3681 readonly ommers: Vec<EthereumHeader>;3671 readonly ommers: Vec<EthereumHeader>;
3682 }3672 }
36833673
3684 /** @name EthereumHeader (451) */3674 /** @name EthereumHeader (450) */
3685 interface EthereumHeader extends Struct {3675 interface EthereumHeader extends Struct {
3686 readonly parentHash: H256;3676 readonly parentHash: H256;
3687 readonly ommersHash: H256;3677 readonly ommersHash: H256;
3700 readonly nonce: EthereumTypesHashH64;3690 readonly nonce: EthereumTypesHashH64;
3701 }3691 }
37023692
3703 /** @name EthereumTypesHashH64 (452) */3693 /** @name EthereumTypesHashH64 (451) */
3704 interface EthereumTypesHashH64 extends U8aFixed {}3694 interface EthereumTypesHashH64 extends U8aFixed {}
37053695
3706 /** @name PalletEthereumError (457) */3696 /** @name PalletEthereumError (456) */
3707 interface PalletEthereumError extends Enum {3697 interface PalletEthereumError extends Enum {
3708 readonly isInvalidSignature: boolean;3698 readonly isInvalidSignature: boolean;
3709 readonly isPreLogExists: boolean;3699 readonly isPreLogExists: boolean;
3710 readonly type: 'InvalidSignature' | 'PreLogExists';3700 readonly type: 'InvalidSignature' | 'PreLogExists';
3711 }3701 }
37123702
3713 /** @name PalletEvmCoderSubstrateError (458) */3703 /** @name PalletEvmCoderSubstrateError (457) */
3714 interface PalletEvmCoderSubstrateError extends Enum {3704 interface PalletEvmCoderSubstrateError extends Enum {
3715 readonly isOutOfGas: boolean;3705 readonly isOutOfGas: boolean;
3716 readonly isOutOfFund: boolean;3706 readonly isOutOfFund: boolean;
3717 readonly type: 'OutOfGas' | 'OutOfFund';3707 readonly type: 'OutOfGas' | 'OutOfFund';
3718 }3708 }
37193709
3720 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (459) */3710 /** @name UpDataStructsSponsorshipStateBasicCrossAccountIdRepr (458) */
3721 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {3711 interface UpDataStructsSponsorshipStateBasicCrossAccountIdRepr extends Enum {
3722 readonly isDisabled: boolean;3712 readonly isDisabled: boolean;
3723 readonly isUnconfirmed: boolean;3713 readonly isUnconfirmed: boolean;
3727 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';3717 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
3728 }3718 }
37293719
3730 /** @name PalletEvmContractHelpersSponsoringModeT (460) */3720 /** @name PalletEvmContractHelpersSponsoringModeT (459) */
3731 interface PalletEvmContractHelpersSponsoringModeT extends Enum {3721 interface PalletEvmContractHelpersSponsoringModeT extends Enum {
3732 readonly isDisabled: boolean;3722 readonly isDisabled: boolean;
3733 readonly isAllowlisted: boolean;3723 readonly isAllowlisted: boolean;
3734 readonly isGenerous: boolean;3724 readonly isGenerous: boolean;
3735 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3725 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
3736 }3726 }
37373727
3738 /** @name PalletEvmContractHelpersError (466) */3728 /** @name PalletEvmContractHelpersError (465) */
3739 interface PalletEvmContractHelpersError extends Enum {3729 interface PalletEvmContractHelpersError extends Enum {
3740 readonly isNoPermission: boolean;3730 readonly isNoPermission: boolean;
3741 readonly isNoPendingSponsor: boolean;3731 readonly isNoPendingSponsor: boolean;
3742 readonly isTooManyMethodsHaveSponsoredLimit: boolean;3732 readonly isTooManyMethodsHaveSponsoredLimit: boolean;
3743 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';3733 readonly type: 'NoPermission' | 'NoPendingSponsor' | 'TooManyMethodsHaveSponsoredLimit';
3744 }3734 }
37453735
3746 /** @name PalletEvmMigrationError (467) */3736 /** @name PalletEvmMigrationError (466) */
3747 interface PalletEvmMigrationError extends Enum {3737 interface PalletEvmMigrationError extends Enum {
3748 readonly isAccountNotEmpty: boolean;3738 readonly isAccountNotEmpty: boolean;
3749 readonly isAccountIsNotMigrating: boolean;3739 readonly isAccountIsNotMigrating: boolean;
3750 readonly isBadEvent: boolean;3740 readonly isBadEvent: boolean;
3751 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';3741 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating' | 'BadEvent';
3752 }3742 }
37533743
3754 /** @name PalletMaintenanceError (468) */3744 /** @name PalletMaintenanceError (467) */
3755 type PalletMaintenanceError = Null;3745 type PalletMaintenanceError = Null;
37563746
3757 /** @name PalletTestUtilsError (469) */3747 /** @name PalletTestUtilsError (468) */
3758 interface PalletTestUtilsError extends Enum {3748 interface PalletTestUtilsError extends Enum {
3759 readonly isTestPalletDisabled: boolean;3749 readonly isTestPalletDisabled: boolean;
3760 readonly isTriggerRollback: boolean;3750 readonly isTriggerRollback: boolean;
3761 readonly type: 'TestPalletDisabled' | 'TriggerRollback';3751 readonly type: 'TestPalletDisabled' | 'TriggerRollback';
3762 }3752 }
37633753
3764 /** @name SpRuntimeMultiSignature (471) */3754 /** @name SpRuntimeMultiSignature (470) */
3765 interface SpRuntimeMultiSignature extends Enum {3755 interface SpRuntimeMultiSignature extends Enum {
3766 readonly isEd25519: boolean;3756 readonly isEd25519: boolean;
3767 readonly asEd25519: SpCoreEd25519Signature;3757 readonly asEd25519: SpCoreEd25519Signature;
3772 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3762 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
3773 }3763 }
37743764
3775 /** @name SpCoreEd25519Signature (472) */3765 /** @name SpCoreEd25519Signature (471) */
3776 interface SpCoreEd25519Signature extends U8aFixed {}3766 interface SpCoreEd25519Signature extends U8aFixed {}
37773767
3778 /** @name SpCoreSr25519Signature (474) */3768 /** @name SpCoreSr25519Signature (473) */
3779 interface SpCoreSr25519Signature extends U8aFixed {}3769 interface SpCoreSr25519Signature extends U8aFixed {}
37803770
3781 /** @name SpCoreEcdsaSignature (475) */3771 /** @name SpCoreEcdsaSignature (474) */
3782 interface SpCoreEcdsaSignature extends U8aFixed {}3772 interface SpCoreEcdsaSignature extends U8aFixed {}
37833773
3784 /** @name FrameSystemExtensionsCheckSpecVersion (478) */3774 /** @name FrameSystemExtensionsCheckSpecVersion (477) */
3785 type FrameSystemExtensionsCheckSpecVersion = Null;3775 type FrameSystemExtensionsCheckSpecVersion = Null;
37863776
3787 /** @name FrameSystemExtensionsCheckTxVersion (479) */3777 /** @name FrameSystemExtensionsCheckTxVersion (478) */
3788 type FrameSystemExtensionsCheckTxVersion = Null;3778 type FrameSystemExtensionsCheckTxVersion = Null;
37893779
3790 /** @name FrameSystemExtensionsCheckGenesis (480) */3780 /** @name FrameSystemExtensionsCheckGenesis (479) */
3791 type FrameSystemExtensionsCheckGenesis = Null;3781 type FrameSystemExtensionsCheckGenesis = Null;
37923782
3793 /** @name FrameSystemExtensionsCheckNonce (483) */3783 /** @name FrameSystemExtensionsCheckNonce (482) */
3794 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3784 interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
37953785
3796 /** @name FrameSystemExtensionsCheckWeight (484) */3786 /** @name FrameSystemExtensionsCheckWeight (483) */
3797 type FrameSystemExtensionsCheckWeight = Null;3787 type FrameSystemExtensionsCheckWeight = Null;
37983788
3799 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (485) */3789 /** @name OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance (484) */
3800 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;3790 type OpalRuntimeRuntimeCommonMaintenanceCheckMaintenance = Null;
38013791
3802 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (486) */3792 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (485) */
3803 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3793 interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
38043794
3805 /** @name OpalRuntimeRuntime (487) */3795 /** @name OpalRuntimeRuntime (486) */
3806 type OpalRuntimeRuntime = Null;3796 type OpalRuntimeRuntime = Null;
38073797
3808 /** @name PalletEthereumFakeTransactionFinalizer (488) */3798 /** @name PalletEthereumFakeTransactionFinalizer (487) */
3809 type PalletEthereumFakeTransactionFinalizer = Null;3799 type PalletEthereumFakeTransactionFinalizer = Null;
38103800
3811} // declare module3801} // declare module