difftreelog
Merge pull request #368 from UniqueNetwork/feature/CORE-386_1
in: master
Feature/core 386 1
27 files changed
pallets/common/src/erc.rsdiffbeforeafterboth--- a/pallets/common/src/erc.rs
+++ b/pallets/common/src/erc.rs
@@ -22,7 +22,9 @@
pub use pallet_evm::{PrecompileOutput, PrecompileResult, PrecompileHandle, account::CrossAccountId};
use pallet_evm_coder_substrate::dispatch_to_evm;
use sp_std::vec::Vec;
-use up_data_structs::{Property, SponsoringRateLimit, OwnerRestrictedSet, AccessMode};
+use up_data_structs::{
+ Property, SponsoringRateLimit, OwnerRestrictedSet, AccessMode, CollectionPermissions,
+};
use alloc::format;
use crate::{Pallet, CollectionHandle, Config, CollectionProperties};
@@ -47,10 +49,15 @@
#[solidity_interface(name = "Collection")]
impl<T: Config> CollectionHandle<T>
-// where
-// T::AccountId: From<H256>
+where
+ T::AccountId: From<[u8; 32]>,
{
- fn set_collection_property(&mut self, caller: caller, key: string, value: bytes) -> Result<()> {
+ fn set_collection_property(
+ &mut self,
+ caller: caller,
+ key: string,
+ value: bytes,
+ ) -> Result<void> {
let caller = T::CrossAccountId::from_eth(caller);
let key = <Vec<u8>>::from(key)
.try_into()
@@ -83,7 +90,7 @@
}
fn set_collection_sponsor(&mut self, caller: caller, sponsor: address) -> Result<void> {
- check_is_owner(caller, self)?;
+ check_is_owner_or_admin(caller, self)?;
let sponsor = T::CrossAccountId::from_eth(sponsor);
self.set_sponsor(sponsor.as_sub().clone())
@@ -97,14 +104,14 @@
.confirm_sponsorship(caller.as_sub())
.map_err(dispatch_to_evm::<T>)?
{
- return Err(Error::Revert("Caller is not set as sponsor".into()));
+ return Err("caller is not set as sponsor".into());
}
save(self)
}
#[solidity(rename_selector = "setCollectionLimit")]
fn set_int_limit(&mut self, caller: caller, limit: string, value: uint32) -> Result<void> {
- check_is_owner(caller, self)?;
+ check_is_owner_or_admin(caller, self)?;
let mut limits = self.limits.clone();
match limit.as_str() {
@@ -128,7 +135,7 @@
}
_ => {
return Err(Error::Revert(format!(
- "Unknown integer limit \"{}\"",
+ "unknown integer limit \"{}\"",
limit
)))
}
@@ -140,7 +147,7 @@
#[solidity(rename_selector = "setCollectionLimit")]
fn set_bool_limit(&mut self, caller: caller, limit: string, value: bool) -> Result<void> {
- check_is_owner(caller, self)?;
+ check_is_owner_or_admin(caller, self)?;
let mut limits = self.limits.clone();
match limit.as_str() {
@@ -155,7 +162,7 @@
}
_ => {
return Err(Error::Revert(format!(
- "Unknown boolean limit \"{}\"",
+ "unknown boolean limit \"{}\"",
limit
)))
}
@@ -169,52 +176,48 @@
Ok(crate::eth::collection_id_to_address(self.id))
}
- // fn add_admin_substrate(&self, caller: caller, new_admin: uint256) -> Result<void> {
- // let mut new_admin_h256 = H256::default();
- // new_admin.to_little_endian(&mut new_admin_h256.0);
- // let account_id = T::AccountId::from(new_admin_h256);
- // let caller = T::CrossAccountId::from_eth(caller);
- // let new_admin = T::CrossAccountId::from_sub(account_id);
- // <Pallet<T>>::toggle_admin(&self, &caller, &new_admin, true)
- // .map_err(dispatch_to_evm::<T>)?;
- // Ok(())
- // }
+ fn add_collection_admin_substrate(&self, caller: caller, new_admin: uint256) -> Result<void> {
+ let caller = T::CrossAccountId::from_eth(caller);
+ let mut new_admin_arr: [u8; 32] = Default::default();
+ new_admin.to_big_endian(&mut new_admin_arr);
+ let account_id = T::AccountId::from(new_admin_arr);
+ let new_admin = T::CrossAccountId::from_sub(account_id);
+ <Pallet<T>>::toggle_admin(self, &caller, &new_admin, true).map_err(dispatch_to_evm::<T>)?;
+ Ok(())
+ }
- // fn remove_admin_substrate(&self, caller: caller, new_admin: uint256) -> Result<void> {
- // let mut new_admin_h256 = H256::default();
- // new_admin.to_little_endian(&mut new_admin_h256.0);
- // let account_id = T::AccountId::from(new_admin_h256);
- // let caller = T::CrossAccountId::from_eth(caller);
- // let new_admin = T::CrossAccountId::from_sub(account_id);
- // <Pallet<T>>::toggle_admin(&self, &caller, &new_admin, false)
- // .map_err(dispatch_to_evm::<T>)?;
- // Ok(())
- // }
+ fn remove_collection_admin_substrate(
+ &self,
+ caller: caller,
+ new_admin: uint256,
+ ) -> Result<void> {
+ let caller = T::CrossAccountId::from_eth(caller);
+ let mut new_admin_arr: [u8; 32] = Default::default();
+ new_admin.to_big_endian(&mut new_admin_arr);
+ let account_id = T::AccountId::from(new_admin_arr);
+ let new_admin = T::CrossAccountId::from_sub(account_id);
+ <Pallet<T>>::toggle_admin(self, &caller, &new_admin, false)
+ .map_err(dispatch_to_evm::<T>)?;
+ Ok(())
+ }
fn add_collection_admin(&self, caller: caller, new_admin: address) -> Result<void> {
let caller = T::CrossAccountId::from_eth(caller);
- self.check_is_owner_or_admin(&caller)
- .map_err(dispatch_to_evm::<T>)?;
let new_admin = T::CrossAccountId::from_eth(new_admin);
- <Pallet<T>>::toggle_admin(&self, &caller, &new_admin, true)
- .map_err(dispatch_to_evm::<T>)?;
+ <Pallet<T>>::toggle_admin(self, &caller, &new_admin, true).map_err(dispatch_to_evm::<T>)?;
Ok(())
}
fn remove_collection_admin(&self, caller: caller, admin: address) -> Result<void> {
let caller = T::CrossAccountId::from_eth(caller);
- self.check_is_owner_or_admin(&caller)
- .map_err(dispatch_to_evm::<T>)?;
let admin = T::CrossAccountId::from_eth(admin);
- <Pallet<T>>::toggle_admin(&self, &caller, &admin, false).map_err(dispatch_to_evm::<T>)?;
+ <Pallet<T>>::toggle_admin(self, &caller, &admin, false).map_err(dispatch_to_evm::<T>)?;
Ok(())
}
#[solidity(rename_selector = "setCollectionNesting")]
fn set_nesting_bool(&mut self, caller: caller, enable: bool) -> Result<void> {
- let caller = T::CrossAccountId::from_eth(caller);
- self.check_is_owner_or_admin(&caller)
- .map_err(dispatch_to_evm::<T>)?;
+ check_is_owner_or_admin(caller, self)?;
let mut permissions = self.collection.permissions.clone();
let mut nesting = permissions.nesting().clone();
@@ -240,11 +243,9 @@
collections: Vec<address>,
) -> Result<void> {
if collections.is_empty() {
- return Err("No addresses provided".into());
+ return Err("no addresses provided".into());
}
- let caller = T::CrossAccountId::from_eth(caller);
- self.check_is_owner_or_admin(&caller)
- .map_err(dispatch_to_evm::<T>)?;
+ check_is_owner_or_admin(caller, self)?;
let mut permissions = self.collection.permissions.clone();
match enable {
@@ -280,27 +281,34 @@
}
fn set_collection_access(&mut self, caller: caller, mode: uint8) -> Result<void> {
- let caller = T::CrossAccountId::from_eth(caller);
- self.check_is_owner_or_admin(&caller)
- .map_err(dispatch_to_evm::<T>)?;
- self.collection.permissions.access = Some(match mode {
- 0 => AccessMode::Normal,
- 1 => AccessMode::AllowList,
- _ => return Err("Not supported access mode".into()),
- });
- save(self)?;
- Ok(())
+ check_is_owner_or_admin(caller, self)?;
+ let permissions = CollectionPermissions {
+ access: Some(match mode {
+ 0 => AccessMode::Normal,
+ 1 => AccessMode::AllowList,
+ _ => return Err("not supported access mode".into()),
+ }),
+ ..Default::default()
+ };
+ self.collection.permissions = <Pallet<T>>::clamp_permissions(
+ self.collection.mode.clone(),
+ &self.collection.permissions,
+ permissions,
+ )
+ .map_err(dispatch_to_evm::<T>)?;
+
+ save(self)
}
fn add_to_collection_allow_list(&self, caller: caller, user: address) -> Result<void> {
- let caller = check_is_owner_or_admin(caller, self)?;
+ let caller = T::CrossAccountId::from_eth(caller);
let user = T::CrossAccountId::from_eth(user);
<Pallet<T>>::toggle_allowlist(self, &caller, &user, true).map_err(dispatch_to_evm::<T>)?;
Ok(())
}
fn remove_from_collection_allow_list(&self, caller: caller, user: address) -> Result<void> {
- let caller = check_is_owner_or_admin(caller, self)?;
+ let caller = T::CrossAccountId::from_eth(caller);
let user = T::CrossAccountId::from_eth(user);
<Pallet<T>>::toggle_allowlist(self, &caller, &user, false).map_err(dispatch_to_evm::<T>)?;
Ok(())
@@ -308,18 +316,19 @@
fn set_collection_mint_mode(&mut self, caller: caller, mode: bool) -> Result<void> {
check_is_owner_or_admin(caller, self)?;
- self.collection.permissions.mint_mode = Some(mode);
- save(self)?;
- Ok(())
- }
-}
+ let permissions = CollectionPermissions {
+ mint_mode: Some(mode),
+ ..Default::default()
+ };
+ self.collection.permissions = <Pallet<T>>::clamp_permissions(
+ self.collection.mode.clone(),
+ &self.collection.permissions,
+ permissions,
+ )
+ .map_err(dispatch_to_evm::<T>)?;
-fn check_is_owner<T: Config>(caller: caller, collection: &CollectionHandle<T>) -> Result<void> {
- let caller = T::CrossAccountId::from_eth(caller);
- collection
- .check_is_owner(&caller)
- .map_err(pallet_evm_coder_substrate::dispatch_to_evm::<T>)?;
- Ok(())
+ save(self)
+ }
}
fn check_is_owner_or_admin<T: Config>(
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -148,7 +148,7 @@
.saturating_mul(writes),
))
}
- pub fn save(self) -> Result<(), DispatchError> {
+ pub fn save(self) -> DispatchResult {
<CollectionById<T>>::insert(self.id, self.collection);
Ok(())
}
pallets/fungible/src/erc.rsdiffbeforeafterboth--- a/pallets/fungible/src/erc.rs
+++ b/pallets/fungible/src/erc.rs
@@ -152,12 +152,15 @@
via("CollectionHandle<T>", common_mut, Collection)
)
)]
-impl<T: Config> FungibleHandle<T> {}
+impl<T: Config> FungibleHandle<T> where T::AccountId: From<[u8; 32]> {}
generate_stubgen!(gen_impl, UniqueFungibleCall<()>, true);
generate_stubgen!(gen_iface, UniqueFungibleCall<()>, false);
-impl<T: Config> CommonEvmHandler for FungibleHandle<T> {
+impl<T: Config> CommonEvmHandler for FungibleHandle<T>
+where
+ T::AccountId: From<[u8; 32]>,
+{
const CODE: &'static [u8] = include_bytes!("./stubs/UniqueFungible.raw");
fn call(self, handle: &mut impl PrecompileHandle) -> Option<PrecompileResult> {
pallets/nonfungible/src/erc.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/erc.rs
+++ b/pallets/nonfungible/src/erc.rs
@@ -583,13 +583,16 @@
TokenProperties,
)
)]
-impl<T: Config> NonfungibleHandle<T> {}
+impl<T: Config> NonfungibleHandle<T> where T::AccountId: From<[u8; 32]> {}
// Not a tests, but code generators
generate_stubgen!(gen_impl, UniqueNFTCall<()>, true);
generate_stubgen!(gen_iface, UniqueNFTCall<()>, false);
-impl<T: Config> CommonEvmHandler for NonfungibleHandle<T> {
+impl<T: Config> CommonEvmHandler for NonfungibleHandle<T>
+where
+ T::AccountId: From<[u8; 32]>,
+{
const CODE: &'static [u8] = include_bytes!("./stubs/UniqueNFT.raw");
fn call(self, handle: &mut impl PrecompileHandle) -> Option<PrecompileResult> {
pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -297,7 +297,40 @@
}
}
-// Selector: 6aea9834
+// Selector: 780e9d63
+contract ERC721Enumerable is Dummy, ERC165 {
+ // Selector: tokenByIndex(uint256) 4f6ccce7
+ function tokenByIndex(uint256 index) public view returns (uint256) {
+ require(false, stub_error);
+ index;
+ dummy;
+ return 0;
+ }
+
+ // Not implemented
+ //
+ // Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
+ function tokenOfOwnerByIndex(address owner, uint256 index)
+ public
+ view
+ returns (uint256)
+ {
+ require(false, stub_error);
+ owner;
+ index;
+ dummy;
+ return 0;
+ }
+
+ // Selector: totalSupply() 18160ddd
+ function totalSupply() public view returns (uint256) {
+ require(false, stub_error);
+ dummy;
+ return 0;
+ }
+}
+
+// Selector: 7d9262e6
contract Collection is Dummy, ERC165 {
// Selector: setCollectionProperty(string,bytes) 2f073f66
function setCollectionProperty(string memory key, bytes memory value)
@@ -366,6 +399,20 @@
return 0x0000000000000000000000000000000000000000;
}
+ // Selector: addCollectionAdminSubstrate(uint256) 5730062b
+ function addCollectionAdminSubstrate(uint256 newAdmin) public view {
+ require(false, stub_error);
+ newAdmin;
+ dummy;
+ }
+
+ // Selector: removeCollectionAdminSubstrate(uint256) 4048fcf9
+ function removeCollectionAdminSubstrate(uint256 newAdmin) public view {
+ require(false, stub_error);
+ newAdmin;
+ dummy;
+ }
+
// Selector: addCollectionAdmin(address) 92e462c7
function addCollectionAdmin(address newAdmin) public view {
require(false, stub_error);
@@ -423,39 +470,6 @@
require(false, stub_error);
mode;
dummy = 0;
- }
-}
-
-// Selector: 780e9d63
-contract ERC721Enumerable is Dummy, ERC165 {
- // Selector: tokenByIndex(uint256) 4f6ccce7
- function tokenByIndex(uint256 index) public view returns (uint256) {
- require(false, stub_error);
- index;
- dummy;
- return 0;
- }
-
- // Not implemented
- //
- // Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
- function tokenOfOwnerByIndex(address owner, uint256 index)
- public
- view
- returns (uint256)
- {
- require(false, stub_error);
- owner;
- index;
- dummy;
- return 0;
- }
-
- // Selector: totalSupply() 18160ddd
- function totalSupply() public view returns (uint256) {
- require(false, stub_error);
- dummy;
- return 0;
}
}
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -491,7 +491,7 @@
let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);
let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;
- target_collection.check_is_owner(&sender)?;
+ target_collection.check_is_owner_or_admin(&sender)?;
target_collection.check_is_internal()?;
target_collection.set_sponsor(new_sponsor.clone())?;
@@ -867,7 +867,7 @@
let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);
let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;
target_collection.check_is_internal()?;
- target_collection.check_is_owner(&sender)?;
+ target_collection.check_is_owner_or_admin(&sender)?;
let old_limit = &target_collection.limits;
target_collection.limits = <PalletCommon<T>>::clamp_limits(target_collection.mode.clone(), &old_limit, new_limit)?;
@@ -889,7 +889,7 @@
let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);
let mut target_collection = <CollectionHandle<T>>::try_get(collection_id)?;
target_collection.check_is_internal()?;
- target_collection.check_is_owner(&sender)?;
+ target_collection.check_is_owner_or_admin(&sender)?;
let old_limit = &target_collection.permissions;
target_collection.permissions = <PalletCommon<T>>::clamp_permissions(target_collection.mode.clone(), &old_limit, new_limit)?;
primitives/data-structs/src/lib.rsdiffbeforeafterboth--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -812,7 +812,7 @@
for byte in key.as_slice().iter() {
let byte = *byte;
- if !byte.is_ascii_alphanumeric() && byte != b'_' && byte != b'-' {
+ if !byte.is_ascii_alphanumeric() && byte != b'_' && byte != b'-' && byte != b'.' {
return Err(PropertiesError::InvalidCharacterInPropertyKey);
}
}
runtime/common/src/dispatch.rsdiffbeforeafterboth--- a/runtime/common/src/dispatch.rs
+++ b/runtime/common/src/dispatch.rs
@@ -112,6 +112,7 @@
+ pallet_fungible::Config
+ pallet_nonfungible::Config
+ pallet_refungible::Config,
+ T::AccountId: From<[u8; 32]>,
{
fn is_reserved(target: &H160) -> bool {
map_eth_to_id(target).is_some()
runtime/tests/src/tests.rsdiffbeforeafterboth--- a/runtime/tests/src/tests.rs
+++ b/runtime/tests/src/tests.rs
@@ -1264,7 +1264,6 @@
let collection1_id =
create_test_collection_for_owner(&CollectionMode::NFT, 1, CollectionId(1));
let origin1 = Origin::signed(1);
- let origin2 = Origin::signed(2);
// Add collection admins 2 and 3
assert_ok!(Unique::add_collection_admin(
@@ -1273,7 +1272,7 @@
account(2)
));
assert_ok!(Unique::add_collection_admin(
- origin1,
+ origin1.clone(),
collection1_id,
account(3)
));
@@ -1289,7 +1288,7 @@
// remove admin 3
assert_ok!(Unique::remove_collection_admin(
- origin2,
+ origin1,
CollectionId(1),
account(3)
));
tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -174,7 +174,24 @@
function finishMinting() external returns (bool);
}
-// Selector: 6aea9834
+// Selector: 780e9d63
+interface ERC721Enumerable is Dummy, ERC165 {
+ // Selector: tokenByIndex(uint256) 4f6ccce7
+ function tokenByIndex(uint256 index) external view returns (uint256);
+
+ // Not implemented
+ //
+ // Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
+ function tokenOfOwnerByIndex(address owner, uint256 index)
+ external
+ view
+ returns (uint256);
+
+ // Selector: totalSupply() 18160ddd
+ function totalSupply() external view returns (uint256);
+}
+
+// Selector: 7d9262e6
interface Collection is Dummy, ERC165 {
// Selector: setCollectionProperty(string,bytes) 2f073f66
function setCollectionProperty(string memory key, bytes memory value)
@@ -206,6 +223,12 @@
// Selector: contractAddress() f6b4dfb4
function contractAddress() external view returns (address);
+ // Selector: addCollectionAdminSubstrate(uint256) 5730062b
+ function addCollectionAdminSubstrate(uint256 newAdmin) external view;
+
+ // Selector: removeCollectionAdminSubstrate(uint256) 4048fcf9
+ function removeCollectionAdminSubstrate(uint256 newAdmin) external view;
+
// Selector: addCollectionAdmin(address) 92e462c7
function addCollectionAdmin(address newAdmin) external view;
@@ -230,23 +253,6 @@
// Selector: setCollectionMintMode(bool) 00018e84
function setCollectionMintMode(bool mode) external;
-}
-
-// Selector: 780e9d63
-interface ERC721Enumerable is Dummy, ERC165 {
- // Selector: tokenByIndex(uint256) 4f6ccce7
- function tokenByIndex(uint256 index) external view returns (uint256);
-
- // Not implemented
- //
- // Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
- function tokenOfOwnerByIndex(address owner, uint256 index)
- external
- view
- returns (uint256);
-
- // Selector: totalSupply() 18160ddd
- function totalSupply() external view returns (uint256);
}
// Selector: d74d154f
tests/src/eth/collectionAdmin.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/eth/collectionAdmin.test.ts
@@ -0,0 +1,296 @@
+// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.
+// This file is part of Unique Network.
+// Unique Network is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Unique Network is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+
+import {expect} from 'chai';
+import privateKey from '../substrate/privateKey';
+import {
+ createEthAccount,
+ createEthAccountWithBalance,
+ evmCollection,
+ evmCollectionHelpers,
+ getCollectionAddressFromResult,
+ itWeb3,
+} from './util/helpers';
+
+describe('Add collection admins', () => {
+ itWeb3('Add admin by owner', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const newAdmin = await createEthAccount(web3);
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdmin(newAdmin).send();
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList[0].asEthereum.toString().toLocaleLowerCase())
+ .to.be.eq(newAdmin.toLocaleLowerCase());
+ });
+
+ itWeb3('Add substrate admin by owner', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const newAdmin = privateKey('//Alice');
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdminSubstrate(newAdmin.addressRaw).send();
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList[0].asSubstrate.toString().toLocaleLowerCase())
+ .to.be.eq(newAdmin.address.toLocaleLowerCase());
+ });
+
+ itWeb3('(!negative tests!) Add admin by ADMIN is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const admin = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdmin(admin).send();
+
+ const user = await createEthAccount(web3);
+ await expect(collectionEvm.methods.addCollectionAdmin(user).call({from: admin}))
+ .to.be.rejectedWith('NoPermission');
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(1);
+ expect(adminList[0].asEthereum.toString().toLocaleLowerCase())
+ .to.be.eq(admin.toLocaleLowerCase());
+ });
+
+ itWeb3('(!negative tests!) Add admin by USER is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const notAdmin = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+
+ const user = await createEthAccount(web3);
+ await expect(collectionEvm.methods.addCollectionAdmin(user).call({from: notAdmin}))
+ .to.be.rejectedWith('NoPermission');
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(0);
+ });
+
+ itWeb3('(!negative tests!) Add substrate admin by ADMIN is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const admin = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdmin(admin).send();
+
+ const notAdmin = privateKey('//Alice');
+ await expect(collectionEvm.methods.addCollectionAdminSubstrate(notAdmin.addressRaw).call({from: admin}))
+ .to.be.rejectedWith('NoPermission');
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(1);
+ expect(adminList[0].asEthereum.toString().toLocaleLowerCase())
+ .to.be.eq(admin.toLocaleLowerCase());
+ });
+
+ itWeb3('(!negative tests!) Add substrate admin by USER is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const notAdmin0 = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ const notAdmin1 = privateKey('//Alice');
+ await expect(collectionEvm.methods.addCollectionAdminSubstrate(notAdmin1.addressRaw).call({from: notAdmin0}))
+ .to.be.rejectedWith('NoPermission');
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(0);
+ });
+});
+
+describe('Remove collection admins', () => {
+ itWeb3('Remove admin by owner', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const newAdmin = await createEthAccount(web3);
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdmin(newAdmin).send();
+ {
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(1);
+ expect(adminList[0].asEthereum.toString().toLocaleLowerCase())
+ .to.be.eq(newAdmin.toLocaleLowerCase());
+ }
+
+ await collectionEvm.methods.removeCollectionAdmin(newAdmin).send();
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(0);
+ });
+
+ itWeb3('Remove substrate admin by owner', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const newAdmin = privateKey('//Alice');
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdminSubstrate(newAdmin.addressRaw).send();
+ {
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList[0].asSubstrate.toString().toLocaleLowerCase())
+ .to.be.eq(newAdmin.address.toLocaleLowerCase());
+ }
+
+ await collectionEvm.methods.removeCollectionAdminSubstrate(newAdmin.addressRaw).send();
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(0);
+ });
+
+ itWeb3('(!negative tests!) Remove admin by ADMIN is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+
+ const admin0 = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ await collectionEvm.methods.addCollectionAdmin(admin0).send();
+ const admin1 = await createEthAccount(web3);
+ await collectionEvm.methods.addCollectionAdmin(admin1).send();
+
+ await expect(collectionEvm.methods.removeCollectionAdmin(admin1).call({from: admin0}))
+ .to.be.rejectedWith('NoPermission');
+ {
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(2);
+ expect(adminList.toString().toLocaleLowerCase())
+ .to.be.deep.contains(admin0.toLocaleLowerCase())
+ .to.be.deep.contains(admin1.toLocaleLowerCase());
+ }
+ });
+
+ itWeb3('(!negative tests!) Remove admin by USER is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+
+ const admin = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ await collectionEvm.methods.addCollectionAdmin(admin).send();
+ const notAdmin = await createEthAccount(web3);
+
+ await expect(collectionEvm.methods.removeCollectionAdmin(admin).call({from: notAdmin}))
+ .to.be.rejectedWith('NoPermission');
+ {
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList[0].asEthereum.toString().toLocaleLowerCase())
+ .to.be.eq(admin.toLocaleLowerCase());
+ expect(adminList.length).to.be.eq(1);
+ }
+ });
+
+ itWeb3('(!negative tests!) Remove substrate admin by ADMIN is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const adminSub = privateKey('//Alice');
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdminSubstrate(adminSub.addressRaw).send();
+ const adminEth = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ await collectionEvm.methods.addCollectionAdmin(adminEth).send();
+
+ await expect(collectionEvm.methods.removeCollectionAdminSubstrate(adminSub.addressRaw).call({from: adminEth}))
+ .to.be.rejectedWith('NoPermission');
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(2);
+ expect(adminList.toString().toLocaleLowerCase())
+ .to.be.deep.contains(adminSub.address.toLocaleLowerCase())
+ .to.be.deep.contains(adminEth.toLocaleLowerCase());
+ });
+
+ itWeb3('(!negative tests!) Remove substrate admin by USER is not allowed', async ({api, web3, privateKeyWrapper}) => {
+ const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+ const collectionHelper = evmCollectionHelpers(web3, owner);
+
+ const result = await collectionHelper.methods
+ .createNonfungibleCollection('A', 'B', 'C')
+ .send();
+ const {collectionIdAddress, collectionId} = await getCollectionAddressFromResult(api, result);
+
+ const adminSub = privateKey('//Alice');
+ const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
+ await collectionEvm.methods.addCollectionAdminSubstrate(adminSub.addressRaw).send();
+ const notAdminEth = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
+
+ await expect(collectionEvm.methods.removeCollectionAdminSubstrate(adminSub.addressRaw).call({from: notAdminEth}))
+ .to.be.rejectedWith('NoPermission');
+
+ const adminList = await api.rpc.unique.adminlist(collectionId);
+ expect(adminList.length).to.be.eq(1);
+ expect(adminList[0].asSubstrate.toString().toLocaleLowerCase())
+ .to.be.eq(adminSub.address.toLocaleLowerCase());
+ });
+});
\ No newline at end of file
tests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/contractSponsoring.test.ts
+++ b/tests/src/eth/contractSponsoring.test.ts
@@ -233,7 +233,7 @@
const ss58Format = (api.registry.getChainProperties())!.toJSON().ss58Format;
expect(collectionSub.sponsorship.isUnconfirmed).to.be.true;
expect(collectionSub.sponsorship.asUnconfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
- await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('Caller is not set as sponsor');
+ await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
await collectionEvm.methods.confirmCollectionSponsorship().send({from: sponsor});
collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
@@ -241,14 +241,13 @@
expect(collectionSub.sponsorship.asConfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
const user = createEthAccount(web3);
- let nextTokenId = await collectionEvm.methods.nextTokenId().call();
+ const nextTokenId = await collectionEvm.methods.nextTokenId().call();
expect(nextTokenId).to.be.equal('1');
const oldPermissions = (await getDetailedCollectionInfo(api, collectionId))!.permissions.toHuman();
expect(oldPermissions.mintMode).to.be.false;
expect(oldPermissions.access).to.be.equal('Normal');
- //TODO: change value, when enum generated
await collectionEvm.methods.setCollectionAccess(1 /*'AllowList'*/).send({from: owner});
await collectionEvm.methods.addToCollectionAllowList(user).send({from: owner});
await collectionEvm.methods.setCollectionMintMode(true).send({from: owner});
@@ -260,34 +259,35 @@
const ownerBalanceBefore = await ethBalanceViaSub(api, owner);
const sponsorBalanceBefore = await ethBalanceViaSub(api, sponsor);
- nextTokenId = await collectionEvm.methods.nextTokenId().call({from: user});
- expect(nextTokenId).to.be.equal('1');
- result = await collectionEvm.methods.mintWithTokenURI(
- user,
- nextTokenId,
- 'Test URI',
- ).send({from: user});
- const events = normalizeEvents(result.events);
- events[0].address = events[0].address.toLocaleLowerCase();
+ {
+ const nextTokenId = await collectionEvm.methods.nextTokenId().call();
+ expect(nextTokenId).to.be.equal('1');
+ const result = await collectionEvm.methods.mintWithTokenURI(
+ user,
+ nextTokenId,
+ 'Test URI',
+ ).send({from: user});
+ const events = normalizeEvents(result.events);
- expect(events).to.be.deep.equal([
- {
- address: collectionIdAddress.toLocaleLowerCase(),
- event: 'Transfer',
- args: {
- from: '0x0000000000000000000000000000000000000000',
- to: user,
- tokenId: nextTokenId,
+ expect(events).to.be.deep.equal([
+ {
+ address: collectionIdAddress,
+ event: 'Transfer',
+ args: {
+ from: '0x0000000000000000000000000000000000000000',
+ to: user,
+ tokenId: nextTokenId,
+ },
},
- },
- ]);
+ ]);
- expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
+ const ownerBalanceAfter = await ethBalanceViaSub(api, owner);
+ const sponsorBalanceAfter = await ethBalanceViaSub(api, sponsor);
- const ownerBalanceAfter = await ethBalanceViaSub(api, owner);
- expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
- const sponsorBalanceAfter = await ethBalanceViaSub(api, sponsor);
- expect(sponsorBalanceAfter < sponsorBalanceBefore).to.be.true;
+ expect(await collectionEvm.methods.tokenURI(nextTokenId).call()).to.be.equal('Test URI');
+ expect(ownerBalanceBefore).to.be.eq(ownerBalanceAfter);
+ expect(sponsorBalanceBefore > sponsorBalanceAfter).to.be.true;
+ }
});
itWeb3('Check that transaction via EVM spend money from sponsor address', async ({api, web3, privateKeyWrapper}) => {
@@ -302,7 +302,7 @@
const ss58Format = (api.registry.getChainProperties())!.toJSON().ss58Format;
expect(collectionSub.sponsorship.isUnconfirmed).to.be.true;
expect(collectionSub.sponsorship.asUnconfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
- await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('Caller is not set as sponsor');
+ await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
await sponsorCollection.methods.confirmCollectionSponsorship().send();
collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
@@ -314,6 +314,7 @@
const ownerBalanceBefore = await ethBalanceViaSub(api, owner);
const sponsorBalanceBefore = await ethBalanceViaSub(api, sponsor);
+
const userCollectionEvm = evmCollection(web3, user, collectionIdAddress);
const nextTokenId = await userCollectionEvm.methods.nextTokenId().call();
tests/src/eth/createCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createCollection.test.ts
+++ b/tests/src/eth/createCollection.test.ts
@@ -80,7 +80,7 @@
expect(collectionSub.sponsorship.isUnconfirmed).to.be.true;
const ss58Format = (api.registry.getChainProperties())!.toJSON().ss58Format;
expect(collectionSub.sponsorship.asUnconfirmed.toHuman()).to.be.eq(evmToAddress(sponsor, Number(ss58Format)));
- await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('Caller is not set as sponsor');
+ await expect(collectionEvm.methods.confirmCollectionSponsorship().call()).to.be.rejectedWith('caller is not set as sponsor');
const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
await sponsorCollection.methods.confirmCollectionSponsorship().send();
collectionSub = (await getDetailedCollectionInfo(api, collectionId))!;
@@ -208,7 +208,7 @@
const sponsorCollection = evmCollection(web3, sponsor, collectionIdAddress);
await expect(sponsorCollection.methods
.confirmCollectionSponsorship()
- .call()).to.be.rejectedWith('Caller is not set as sponsor');
+ .call()).to.be.rejectedWith('caller is not set as sponsor');
}
{
await expect(contractEvmFromNotOwner.methods
@@ -225,6 +225,6 @@
const collectionEvm = evmCollection(web3, owner, collectionIdAddress);
await expect(collectionEvm.methods
.setCollectionLimit('badLimit', 'true')
- .call()).to.be.rejectedWith('Unknown boolean limit "badLimit"');
+ .call()).to.be.rejectedWith('unknown boolean limit "badLimit"');
});
});
\ No newline at end of file
tests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -91,6 +91,15 @@
},
{
"inputs": [
+ { "internalType": "uint256", "name": "newAdmin", "type": "uint256" }
+ ],
+ "name": "addCollectionAdminSubstrate",
+ "outputs": [],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [
{ "internalType": "address", "name": "user", "type": "address" }
],
"name": "addToCollectionAllowList",
@@ -300,6 +309,15 @@
},
{
"inputs": [
+ { "internalType": "uint256", "name": "newAdmin", "type": "uint256" }
+ ],
+ "name": "removeCollectionAdminSubstrate",
+ "outputs": [],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [
{ "internalType": "address", "name": "user", "type": "address" }
],
"name": "removeFromCollectionAllowList",
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -5,7 +5,7 @@
import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUnqSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsTokenChild } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsTokenChild } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
declare module '@polkadot/api-base/types/storage' {
@@ -436,7 +436,7 @@
/**
* Items to be executed, indexed by the block number that they should be executed on.
**/
- agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUnqSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
+ agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUniqueSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Lookup from identity to the block number and index of the task.
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUnqSchedulerCall, PalletUnqSchedulerError, PalletUnqSchedulerEvent, PalletUnqSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, 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, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, 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, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -819,10 +819,10 @@
PalletUniqueCall: PalletUniqueCall;
PalletUniqueError: PalletUniqueError;
PalletUniqueRawEvent: PalletUniqueRawEvent;
- PalletUnqSchedulerCall: PalletUnqSchedulerCall;
- PalletUnqSchedulerError: PalletUnqSchedulerError;
- PalletUnqSchedulerEvent: PalletUnqSchedulerEvent;
- PalletUnqSchedulerScheduledV3: PalletUnqSchedulerScheduledV3;
+ PalletUniqueSchedulerCall: PalletUniqueSchedulerCall;
+ PalletUniqueSchedulerError: PalletUniqueSchedulerError;
+ PalletUniqueSchedulerEvent: PalletUniqueSchedulerEvent;
+ PalletUniqueSchedulerScheduledV3: PalletUniqueSchedulerScheduledV3;
PalletVersion: PalletVersion;
PalletXcmCall: PalletXcmCall;
PalletXcmError: PalletXcmError;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1784,8 +1784,8 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
}
-/** @name PalletUnqSchedulerCall */
-export interface PalletUnqSchedulerCall extends Enum {
+/** @name PalletUniqueSchedulerCall */
+export interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
readonly id: U8aFixed;
@@ -1809,8 +1809,8 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
}
-/** @name PalletUnqSchedulerError */
-export interface PalletUnqSchedulerError extends Enum {
+/** @name PalletUniqueSchedulerError */
+export interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
readonly isTargetBlockNumberInPast: boolean;
@@ -1818,8 +1818,8 @@
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
-/** @name PalletUnqSchedulerEvent */
-export interface PalletUnqSchedulerEvent extends Enum {
+/** @name PalletUniqueSchedulerEvent */
+export interface PalletUniqueSchedulerEvent extends Enum {
readonly isScheduled: boolean;
readonly asScheduled: {
readonly when: u32;
@@ -1845,8 +1845,8 @@
readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';
}
-/** @name PalletUnqSchedulerScheduledV3 */
-export interface PalletUnqSchedulerScheduledV3 extends Struct {
+/** @name PalletUniqueSchedulerScheduledV3 */
+export interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
readonly call: FrameSupportScheduleMaybeHashed;
tests/src/interfaces/lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>9 **/10 PolkadotPrimitivesV2PersistedValidationData: {11 parentHead: 'Bytes',12 relayParentNumber: 'u32',13 relayParentStorageRoot: 'H256',14 maxPovSize: 'u32'15 },16 /**17 * Lookup9: polkadot_primitives::v2::UpgradeRestriction18 **/19 PolkadotPrimitivesV2UpgradeRestriction: {20 _enum: ['Present']21 },22 /**23 * Lookup10: sp_trie::storage_proof::StorageProof24 **/25 SpTrieStorageProof: {26 trieNodes: 'BTreeSet<Bytes>'27 },28 /**29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot30 **/31 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {32 dmqMqcHead: 'H256',33 relayDispatchQueueSize: '(u32,u32)',34 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',35 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'36 },37 /**38 * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel39 **/40 PolkadotPrimitivesV2AbridgedHrmpChannel: {41 maxCapacity: 'u32',42 maxTotalSize: 'u32',43 maxMessageSize: 'u32',44 msgCount: 'u32',45 totalSize: 'u32',46 mqcHead: 'Option<H256>'47 },48 /**49 * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration50 **/51 PolkadotPrimitivesV2AbridgedHostConfiguration: {52 maxCodeSize: 'u32',53 maxHeadDataSize: 'u32',54 maxUpwardQueueCount: 'u32',55 maxUpwardQueueSize: 'u32',56 maxUpwardMessageSize: 'u32',57 maxUpwardMessageNumPerCandidate: 'u32',58 hrmpMaxMessageNumPerCandidate: 'u32',59 validationUpgradeCooldown: 'u32',60 validationUpgradeDelay: 'u32'61 },62 /**63 * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>64 **/65 PolkadotCorePrimitivesOutboundHrmpMessage: {66 recipient: 'u32',67 data: 'Bytes'68 },69 /**70 * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>71 **/72 CumulusPalletParachainSystemCall: {73 _enum: {74 set_validation_data: {75 data: 'CumulusPrimitivesParachainInherentParachainInherentData',76 },77 sudo_send_upward_message: {78 message: 'Bytes',79 },80 authorize_upgrade: {81 codeHash: 'H256',82 },83 enact_authorized_upgrade: {84 code: 'Bytes'85 }86 }87 },88 /**89 * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData90 **/91 CumulusPrimitivesParachainInherentParachainInherentData: {92 validationData: 'PolkadotPrimitivesV2PersistedValidationData',93 relayChainState: 'SpTrieStorageProof',94 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',95 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'96 },97 /**98 * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99 **/100 PolkadotCorePrimitivesInboundDownwardMessage: {101 sentAt: 'u32',102 msg: 'Bytes'103 },104 /**105 * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106 **/107 PolkadotCorePrimitivesInboundHrmpMessage: {108 sentAt: 'u32',109 data: 'Bytes'110 },111 /**112 * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>113 **/114 CumulusPalletParachainSystemEvent: {115 _enum: {116 ValidationFunctionStored: 'Null',117 ValidationFunctionApplied: 'u32',118 ValidationFunctionDiscarded: 'Null',119 UpgradeAuthorized: 'H256',120 DownwardMessagesReceived: 'u32',121 DownwardMessagesProcessed: '(u64,H256)'122 }123 },124 /**125 * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>126 **/127 CumulusPalletParachainSystemError: {128 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']129 },130 /**131 * Lookup41: pallet_balances::AccountData<Balance>132 **/133 PalletBalancesAccountData: {134 free: 'u128',135 reserved: 'u128',136 miscFrozen: 'u128',137 feeFrozen: 'u128'138 },139 /**140 * Lookup43: pallet_balances::BalanceLock<Balance>141 **/142 PalletBalancesBalanceLock: {143 id: '[u8;8]',144 amount: 'u128',145 reasons: 'PalletBalancesReasons'146 },147 /**148 * Lookup45: pallet_balances::Reasons149 **/150 PalletBalancesReasons: {151 _enum: ['Fee', 'Misc', 'All']152 },153 /**154 * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>155 **/156 PalletBalancesReserveData: {157 id: '[u8;16]',158 amount: 'u128'159 },160 /**161 * Lookup51: pallet_balances::Releases162 **/163 PalletBalancesReleases: {164 _enum: ['V1_0_0', 'V2_0_0']165 },166 /**167 * Lookup52: pallet_balances::pallet::Call<T, I>168 **/169 PalletBalancesCall: {170 _enum: {171 transfer: {172 dest: 'MultiAddress',173 value: 'Compact<u128>',174 },175 set_balance: {176 who: 'MultiAddress',177 newFree: 'Compact<u128>',178 newReserved: 'Compact<u128>',179 },180 force_transfer: {181 source: 'MultiAddress',182 dest: 'MultiAddress',183 value: 'Compact<u128>',184 },185 transfer_keep_alive: {186 dest: 'MultiAddress',187 value: 'Compact<u128>',188 },189 transfer_all: {190 dest: 'MultiAddress',191 keepAlive: 'bool',192 },193 force_unreserve: {194 who: 'MultiAddress',195 amount: 'u128'196 }197 }198 },199 /**200 * Lookup58: pallet_balances::pallet::Event<T, I>201 **/202 PalletBalancesEvent: {203 _enum: {204 Endowed: {205 account: 'AccountId32',206 freeBalance: 'u128',207 },208 DustLost: {209 account: 'AccountId32',210 amount: 'u128',211 },212 Transfer: {213 from: 'AccountId32',214 to: 'AccountId32',215 amount: 'u128',216 },217 BalanceSet: {218 who: 'AccountId32',219 free: 'u128',220 reserved: 'u128',221 },222 Reserved: {223 who: 'AccountId32',224 amount: 'u128',225 },226 Unreserved: {227 who: 'AccountId32',228 amount: 'u128',229 },230 ReserveRepatriated: {231 from: 'AccountId32',232 to: 'AccountId32',233 amount: 'u128',234 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',235 },236 Deposit: {237 who: 'AccountId32',238 amount: 'u128',239 },240 Withdraw: {241 who: 'AccountId32',242 amount: 'u128',243 },244 Slashed: {245 who: 'AccountId32',246 amount: 'u128'247 }248 }249 },250 /**251 * Lookup59: frame_support::traits::tokens::misc::BalanceStatus252 **/253 FrameSupportTokensMiscBalanceStatus: {254 _enum: ['Free', 'Reserved']255 },256 /**257 * Lookup60: pallet_balances::pallet::Error<T, I>258 **/259 PalletBalancesError: {260 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']261 },262 /**263 * Lookup63: pallet_timestamp::pallet::Call<T>264 **/265 PalletTimestampCall: {266 _enum: {267 set: {268 now: 'Compact<u64>'269 }270 }271 },272 /**273 * Lookup66: pallet_transaction_payment::Releases274 **/275 PalletTransactionPaymentReleases: {276 _enum: ['V1Ancient', 'V2']277 },278 /**279 * Lookup68: frame_support::weights::WeightToFeeCoefficient<Balance>280 **/281 FrameSupportWeightsWeightToFeeCoefficient: {282 coeffInteger: 'u128',283 coeffFrac: 'Perbill',284 negative: 'bool',285 degree: 'u8'286 },287 /**288 * Lookup70: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289 **/290 PalletTreasuryProposal: {291 proposer: 'AccountId32',292 value: 'u128',293 beneficiary: 'AccountId32',294 bond: 'u128'295 },296 /**297 * Lookup73: pallet_treasury::pallet::Call<T, I>298 **/299 PalletTreasuryCall: {300 _enum: {301 propose_spend: {302 value: 'Compact<u128>',303 beneficiary: 'MultiAddress',304 },305 reject_proposal: {306 proposalId: 'Compact<u32>',307 },308 approve_proposal: {309 proposalId: 'Compact<u32>',310 },311 remove_approval: {312 proposalId: 'Compact<u32>'313 }314 }315 },316 /**317 * Lookup75: pallet_treasury::pallet::Event<T, I>318 **/319 PalletTreasuryEvent: {320 _enum: {321 Proposed: {322 proposalIndex: 'u32',323 },324 Spending: {325 budgetRemaining: 'u128',326 },327 Awarded: {328 proposalIndex: 'u32',329 award: 'u128',330 account: 'AccountId32',331 },332 Rejected: {333 proposalIndex: 'u32',334 slashed: 'u128',335 },336 Burnt: {337 burntFunds: 'u128',338 },339 Rollover: {340 rolloverBalance: 'u128',341 },342 Deposit: {343 value: 'u128'344 }345 }346 },347 /**348 * Lookup78: frame_support::PalletId349 **/350 FrameSupportPalletId: '[u8;8]',351 /**352 * Lookup79: pallet_treasury::pallet::Error<T, I>353 **/354 PalletTreasuryError: {355 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'ProposalNotApproved']356 },357 /**358 * Lookup80: pallet_sudo::pallet::Call<T>359 **/360 PalletSudoCall: {361 _enum: {362 sudo: {363 call: 'Call',364 },365 sudo_unchecked_weight: {366 call: 'Call',367 weight: 'u64',368 },369 set_key: {370 _alias: {371 new_: 'new',372 },373 new_: 'MultiAddress',374 },375 sudo_as: {376 who: 'MultiAddress',377 call: 'Call'378 }379 }380 },381 /**382 * Lookup82: frame_system::pallet::Call<T>383 **/384 FrameSystemCall: {385 _enum: {386 fill_block: {387 ratio: 'Perbill',388 },389 remark: {390 remark: 'Bytes',391 },392 set_heap_pages: {393 pages: 'u64',394 },395 set_code: {396 code: 'Bytes',397 },398 set_code_without_checks: {399 code: 'Bytes',400 },401 set_storage: {402 items: 'Vec<(Bytes,Bytes)>',403 },404 kill_storage: {405 _alias: {406 keys_: 'keys',407 },408 keys_: 'Vec<Bytes>',409 },410 kill_prefix: {411 prefix: 'Bytes',412 subkeys: 'u32',413 },414 remark_with_event: {415 remark: 'Bytes'416 }417 }418 },419 /**420 * Lookup85: orml_vesting::module::Call<T>421 **/422 OrmlVestingModuleCall: {423 _enum: {424 claim: 'Null',425 vested_transfer: {426 dest: 'MultiAddress',427 schedule: 'OrmlVestingVestingSchedule',428 },429 update_vesting_schedules: {430 who: 'MultiAddress',431 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',432 },433 claim_for: {434 dest: 'MultiAddress'435 }436 }437 },438 /**439 * Lookup86: orml_vesting::VestingSchedule<BlockNumber, Balance>440 **/441 OrmlVestingVestingSchedule: {442 start: 'u32',443 period: 'u32',444 periodCount: 'u32',445 perPeriod: 'Compact<u128>'446 },447 /**448 * Lookup88: cumulus_pallet_xcmp_queue::pallet::Call<T>449 **/450 CumulusPalletXcmpQueueCall: {451 _enum: {452 service_overweight: {453 index: 'u64',454 weightLimit: 'u64',455 },456 suspend_xcm_execution: 'Null',457 resume_xcm_execution: 'Null',458 update_suspend_threshold: {459 _alias: {460 new_: 'new',461 },462 new_: 'u32',463 },464 update_drop_threshold: {465 _alias: {466 new_: 'new',467 },468 new_: 'u32',469 },470 update_resume_threshold: {471 _alias: {472 new_: 'new',473 },474 new_: 'u32',475 },476 update_threshold_weight: {477 _alias: {478 new_: 'new',479 },480 new_: 'u64',481 },482 update_weight_restrict_decay: {483 _alias: {484 new_: 'new',485 },486 new_: 'u64',487 },488 update_xcmp_max_individual_weight: {489 _alias: {490 new_: 'new',491 },492 new_: 'u64'493 }494 }495 },496 /**497 * Lookup89: pallet_xcm::pallet::Call<T>498 **/499 PalletXcmCall: {500 _enum: {501 send: {502 dest: 'XcmVersionedMultiLocation',503 message: 'XcmVersionedXcm',504 },505 teleport_assets: {506 dest: 'XcmVersionedMultiLocation',507 beneficiary: 'XcmVersionedMultiLocation',508 assets: 'XcmVersionedMultiAssets',509 feeAssetItem: 'u32',510 },511 reserve_transfer_assets: {512 dest: 'XcmVersionedMultiLocation',513 beneficiary: 'XcmVersionedMultiLocation',514 assets: 'XcmVersionedMultiAssets',515 feeAssetItem: 'u32',516 },517 execute: {518 message: 'XcmVersionedXcm',519 maxWeight: 'u64',520 },521 force_xcm_version: {522 location: 'XcmV1MultiLocation',523 xcmVersion: 'u32',524 },525 force_default_xcm_version: {526 maybeXcmVersion: 'Option<u32>',527 },528 force_subscribe_version_notify: {529 location: 'XcmVersionedMultiLocation',530 },531 force_unsubscribe_version_notify: {532 location: 'XcmVersionedMultiLocation',533 },534 limited_reserve_transfer_assets: {535 dest: 'XcmVersionedMultiLocation',536 beneficiary: 'XcmVersionedMultiLocation',537 assets: 'XcmVersionedMultiAssets',538 feeAssetItem: 'u32',539 weightLimit: 'XcmV2WeightLimit',540 },541 limited_teleport_assets: {542 dest: 'XcmVersionedMultiLocation',543 beneficiary: 'XcmVersionedMultiLocation',544 assets: 'XcmVersionedMultiAssets',545 feeAssetItem: 'u32',546 weightLimit: 'XcmV2WeightLimit'547 }548 }549 },550 /**551 * Lookup90: xcm::VersionedMultiLocation552 **/553 XcmVersionedMultiLocation: {554 _enum: {555 V0: 'XcmV0MultiLocation',556 V1: 'XcmV1MultiLocation'557 }558 },559 /**560 * Lookup91: xcm::v0::multi_location::MultiLocation561 **/562 XcmV0MultiLocation: {563 _enum: {564 Null: 'Null',565 X1: 'XcmV0Junction',566 X2: '(XcmV0Junction,XcmV0Junction)',567 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',568 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',570 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',571 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',572 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'573 }574 },575 /**576 * Lookup92: xcm::v0::junction::Junction577 **/578 XcmV0Junction: {579 _enum: {580 Parent: 'Null',581 Parachain: 'Compact<u32>',582 AccountId32: {583 network: 'XcmV0JunctionNetworkId',584 id: '[u8;32]',585 },586 AccountIndex64: {587 network: 'XcmV0JunctionNetworkId',588 index: 'Compact<u64>',589 },590 AccountKey20: {591 network: 'XcmV0JunctionNetworkId',592 key: '[u8;20]',593 },594 PalletInstance: 'u8',595 GeneralIndex: 'Compact<u128>',596 GeneralKey: 'Bytes',597 OnlyChild: 'Null',598 Plurality: {599 id: 'XcmV0JunctionBodyId',600 part: 'XcmV0JunctionBodyPart'601 }602 }603 },604 /**605 * Lookup93: xcm::v0::junction::NetworkId606 **/607 XcmV0JunctionNetworkId: {608 _enum: {609 Any: 'Null',610 Named: 'Bytes',611 Polkadot: 'Null',612 Kusama: 'Null'613 }614 },615 /**616 * Lookup94: xcm::v0::junction::BodyId617 **/618 XcmV0JunctionBodyId: {619 _enum: {620 Unit: 'Null',621 Named: 'Bytes',622 Index: 'Compact<u32>',623 Executive: 'Null',624 Technical: 'Null',625 Legislative: 'Null',626 Judicial: 'Null'627 }628 },629 /**630 * Lookup95: xcm::v0::junction::BodyPart631 **/632 XcmV0JunctionBodyPart: {633 _enum: {634 Voice: 'Null',635 Members: {636 count: 'Compact<u32>',637 },638 Fraction: {639 nom: 'Compact<u32>',640 denom: 'Compact<u32>',641 },642 AtLeastProportion: {643 nom: 'Compact<u32>',644 denom: 'Compact<u32>',645 },646 MoreThanProportion: {647 nom: 'Compact<u32>',648 denom: 'Compact<u32>'649 }650 }651 },652 /**653 * Lookup96: xcm::v1::multilocation::MultiLocation654 **/655 XcmV1MultiLocation: {656 parents: 'u8',657 interior: 'XcmV1MultilocationJunctions'658 },659 /**660 * Lookup97: xcm::v1::multilocation::Junctions661 **/662 XcmV1MultilocationJunctions: {663 _enum: {664 Here: 'Null',665 X1: 'XcmV1Junction',666 X2: '(XcmV1Junction,XcmV1Junction)',667 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',668 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',670 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',671 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',672 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'673 }674 },675 /**676 * Lookup98: xcm::v1::junction::Junction677 **/678 XcmV1Junction: {679 _enum: {680 Parachain: 'Compact<u32>',681 AccountId32: {682 network: 'XcmV0JunctionNetworkId',683 id: '[u8;32]',684 },685 AccountIndex64: {686 network: 'XcmV0JunctionNetworkId',687 index: 'Compact<u64>',688 },689 AccountKey20: {690 network: 'XcmV0JunctionNetworkId',691 key: '[u8;20]',692 },693 PalletInstance: 'u8',694 GeneralIndex: 'Compact<u128>',695 GeneralKey: 'Bytes',696 OnlyChild: 'Null',697 Plurality: {698 id: 'XcmV0JunctionBodyId',699 part: 'XcmV0JunctionBodyPart'700 }701 }702 },703 /**704 * Lookup99: xcm::VersionedXcm<Call>705 **/706 XcmVersionedXcm: {707 _enum: {708 V0: 'XcmV0Xcm',709 V1: 'XcmV1Xcm',710 V2: 'XcmV2Xcm'711 }712 },713 /**714 * Lookup100: xcm::v0::Xcm<Call>715 **/716 XcmV0Xcm: {717 _enum: {718 WithdrawAsset: {719 assets: 'Vec<XcmV0MultiAsset>',720 effects: 'Vec<XcmV0Order>',721 },722 ReserveAssetDeposit: {723 assets: 'Vec<XcmV0MultiAsset>',724 effects: 'Vec<XcmV0Order>',725 },726 TeleportAsset: {727 assets: 'Vec<XcmV0MultiAsset>',728 effects: 'Vec<XcmV0Order>',729 },730 QueryResponse: {731 queryId: 'Compact<u64>',732 response: 'XcmV0Response',733 },734 TransferAsset: {735 assets: 'Vec<XcmV0MultiAsset>',736 dest: 'XcmV0MultiLocation',737 },738 TransferReserveAsset: {739 assets: 'Vec<XcmV0MultiAsset>',740 dest: 'XcmV0MultiLocation',741 effects: 'Vec<XcmV0Order>',742 },743 Transact: {744 originType: 'XcmV0OriginKind',745 requireWeightAtMost: 'u64',746 call: 'XcmDoubleEncoded',747 },748 HrmpNewChannelOpenRequest: {749 sender: 'Compact<u32>',750 maxMessageSize: 'Compact<u32>',751 maxCapacity: 'Compact<u32>',752 },753 HrmpChannelAccepted: {754 recipient: 'Compact<u32>',755 },756 HrmpChannelClosing: {757 initiator: 'Compact<u32>',758 sender: 'Compact<u32>',759 recipient: 'Compact<u32>',760 },761 RelayedFrom: {762 who: 'XcmV0MultiLocation',763 message: 'XcmV0Xcm'764 }765 }766 },767 /**768 * Lookup102: xcm::v0::multi_asset::MultiAsset769 **/770 XcmV0MultiAsset: {771 _enum: {772 None: 'Null',773 All: 'Null',774 AllFungible: 'Null',775 AllNonFungible: 'Null',776 AllAbstractFungible: {777 id: 'Bytes',778 },779 AllAbstractNonFungible: {780 class: 'Bytes',781 },782 AllConcreteFungible: {783 id: 'XcmV0MultiLocation',784 },785 AllConcreteNonFungible: {786 class: 'XcmV0MultiLocation',787 },788 AbstractFungible: {789 id: 'Bytes',790 amount: 'Compact<u128>',791 },792 AbstractNonFungible: {793 class: 'Bytes',794 instance: 'XcmV1MultiassetAssetInstance',795 },796 ConcreteFungible: {797 id: 'XcmV0MultiLocation',798 amount: 'Compact<u128>',799 },800 ConcreteNonFungible: {801 class: 'XcmV0MultiLocation',802 instance: 'XcmV1MultiassetAssetInstance'803 }804 }805 },806 /**807 * Lookup103: xcm::v1::multiasset::AssetInstance808 **/809 XcmV1MultiassetAssetInstance: {810 _enum: {811 Undefined: 'Null',812 Index: 'Compact<u128>',813 Array4: '[u8;4]',814 Array8: '[u8;8]',815 Array16: '[u8;16]',816 Array32: '[u8;32]',817 Blob: 'Bytes'818 }819 },820 /**821 * Lookup106: xcm::v0::order::Order<Call>822 **/823 XcmV0Order: {824 _enum: {825 Null: 'Null',826 DepositAsset: {827 assets: 'Vec<XcmV0MultiAsset>',828 dest: 'XcmV0MultiLocation',829 },830 DepositReserveAsset: {831 assets: 'Vec<XcmV0MultiAsset>',832 dest: 'XcmV0MultiLocation',833 effects: 'Vec<XcmV0Order>',834 },835 ExchangeAsset: {836 give: 'Vec<XcmV0MultiAsset>',837 receive: 'Vec<XcmV0MultiAsset>',838 },839 InitiateReserveWithdraw: {840 assets: 'Vec<XcmV0MultiAsset>',841 reserve: 'XcmV0MultiLocation',842 effects: 'Vec<XcmV0Order>',843 },844 InitiateTeleport: {845 assets: 'Vec<XcmV0MultiAsset>',846 dest: 'XcmV0MultiLocation',847 effects: 'Vec<XcmV0Order>',848 },849 QueryHolding: {850 queryId: 'Compact<u64>',851 dest: 'XcmV0MultiLocation',852 assets: 'Vec<XcmV0MultiAsset>',853 },854 BuyExecution: {855 fees: 'XcmV0MultiAsset',856 weight: 'u64',857 debt: 'u64',858 haltOnError: 'bool',859 xcm: 'Vec<XcmV0Xcm>'860 }861 }862 },863 /**864 * Lookup108: xcm::v0::Response865 **/866 XcmV0Response: {867 _enum: {868 Assets: 'Vec<XcmV0MultiAsset>'869 }870 },871 /**872 * Lookup109: xcm::v0::OriginKind873 **/874 XcmV0OriginKind: {875 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']876 },877 /**878 * Lookup110: xcm::double_encoded::DoubleEncoded<T>879 **/880 XcmDoubleEncoded: {881 encoded: 'Bytes'882 },883 /**884 * Lookup111: xcm::v1::Xcm<Call>885 **/886 XcmV1Xcm: {887 _enum: {888 WithdrawAsset: {889 assets: 'XcmV1MultiassetMultiAssets',890 effects: 'Vec<XcmV1Order>',891 },892 ReserveAssetDeposited: {893 assets: 'XcmV1MultiassetMultiAssets',894 effects: 'Vec<XcmV1Order>',895 },896 ReceiveTeleportedAsset: {897 assets: 'XcmV1MultiassetMultiAssets',898 effects: 'Vec<XcmV1Order>',899 },900 QueryResponse: {901 queryId: 'Compact<u64>',902 response: 'XcmV1Response',903 },904 TransferAsset: {905 assets: 'XcmV1MultiassetMultiAssets',906 beneficiary: 'XcmV1MultiLocation',907 },908 TransferReserveAsset: {909 assets: 'XcmV1MultiassetMultiAssets',910 dest: 'XcmV1MultiLocation',911 effects: 'Vec<XcmV1Order>',912 },913 Transact: {914 originType: 'XcmV0OriginKind',915 requireWeightAtMost: 'u64',916 call: 'XcmDoubleEncoded',917 },918 HrmpNewChannelOpenRequest: {919 sender: 'Compact<u32>',920 maxMessageSize: 'Compact<u32>',921 maxCapacity: 'Compact<u32>',922 },923 HrmpChannelAccepted: {924 recipient: 'Compact<u32>',925 },926 HrmpChannelClosing: {927 initiator: 'Compact<u32>',928 sender: 'Compact<u32>',929 recipient: 'Compact<u32>',930 },931 RelayedFrom: {932 who: 'XcmV1MultilocationJunctions',933 message: 'XcmV1Xcm',934 },935 SubscribeVersion: {936 queryId: 'Compact<u64>',937 maxResponseWeight: 'Compact<u64>',938 },939 UnsubscribeVersion: 'Null'940 }941 },942 /**943 * Lookup112: xcm::v1::multiasset::MultiAssets944 **/945 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',946 /**947 * Lookup114: xcm::v1::multiasset::MultiAsset948 **/949 XcmV1MultiAsset: {950 id: 'XcmV1MultiassetAssetId',951 fun: 'XcmV1MultiassetFungibility'952 },953 /**954 * Lookup115: xcm::v1::multiasset::AssetId955 **/956 XcmV1MultiassetAssetId: {957 _enum: {958 Concrete: 'XcmV1MultiLocation',959 Abstract: 'Bytes'960 }961 },962 /**963 * Lookup116: xcm::v1::multiasset::Fungibility964 **/965 XcmV1MultiassetFungibility: {966 _enum: {967 Fungible: 'Compact<u128>',968 NonFungible: 'XcmV1MultiassetAssetInstance'969 }970 },971 /**972 * Lookup118: xcm::v1::order::Order<Call>973 **/974 XcmV1Order: {975 _enum: {976 Noop: 'Null',977 DepositAsset: {978 assets: 'XcmV1MultiassetMultiAssetFilter',979 maxAssets: 'u32',980 beneficiary: 'XcmV1MultiLocation',981 },982 DepositReserveAsset: {983 assets: 'XcmV1MultiassetMultiAssetFilter',984 maxAssets: 'u32',985 dest: 'XcmV1MultiLocation',986 effects: 'Vec<XcmV1Order>',987 },988 ExchangeAsset: {989 give: 'XcmV1MultiassetMultiAssetFilter',990 receive: 'XcmV1MultiassetMultiAssets',991 },992 InitiateReserveWithdraw: {993 assets: 'XcmV1MultiassetMultiAssetFilter',994 reserve: 'XcmV1MultiLocation',995 effects: 'Vec<XcmV1Order>',996 },997 InitiateTeleport: {998 assets: 'XcmV1MultiassetMultiAssetFilter',999 dest: 'XcmV1MultiLocation',1000 effects: 'Vec<XcmV1Order>',1001 },1002 QueryHolding: {1003 queryId: 'Compact<u64>',1004 dest: 'XcmV1MultiLocation',1005 assets: 'XcmV1MultiassetMultiAssetFilter',1006 },1007 BuyExecution: {1008 fees: 'XcmV1MultiAsset',1009 weight: 'u64',1010 debt: 'u64',1011 haltOnError: 'bool',1012 instructions: 'Vec<XcmV1Xcm>'1013 }1014 }1015 },1016 /**1017 * Lookup119: xcm::v1::multiasset::MultiAssetFilter1018 **/1019 XcmV1MultiassetMultiAssetFilter: {1020 _enum: {1021 Definite: 'XcmV1MultiassetMultiAssets',1022 Wild: 'XcmV1MultiassetWildMultiAsset'1023 }1024 },1025 /**1026 * Lookup120: xcm::v1::multiasset::WildMultiAsset1027 **/1028 XcmV1MultiassetWildMultiAsset: {1029 _enum: {1030 All: 'Null',1031 AllOf: {1032 id: 'XcmV1MultiassetAssetId',1033 fun: 'XcmV1MultiassetWildFungibility'1034 }1035 }1036 },1037 /**1038 * Lookup121: xcm::v1::multiasset::WildFungibility1039 **/1040 XcmV1MultiassetWildFungibility: {1041 _enum: ['Fungible', 'NonFungible']1042 },1043 /**1044 * Lookup123: xcm::v1::Response1045 **/1046 XcmV1Response: {1047 _enum: {1048 Assets: 'XcmV1MultiassetMultiAssets',1049 Version: 'u32'1050 }1051 },1052 /**1053 * Lookup124: xcm::v2::Xcm<Call>1054 **/1055 XcmV2Xcm: 'Vec<XcmV2Instruction>',1056 /**1057 * Lookup126: xcm::v2::Instruction<Call>1058 **/1059 XcmV2Instruction: {1060 _enum: {1061 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1062 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1063 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1064 QueryResponse: {1065 queryId: 'Compact<u64>',1066 response: 'XcmV2Response',1067 maxWeight: 'Compact<u64>',1068 },1069 TransferAsset: {1070 assets: 'XcmV1MultiassetMultiAssets',1071 beneficiary: 'XcmV1MultiLocation',1072 },1073 TransferReserveAsset: {1074 assets: 'XcmV1MultiassetMultiAssets',1075 dest: 'XcmV1MultiLocation',1076 xcm: 'XcmV2Xcm',1077 },1078 Transact: {1079 originType: 'XcmV0OriginKind',1080 requireWeightAtMost: 'Compact<u64>',1081 call: 'XcmDoubleEncoded',1082 },1083 HrmpNewChannelOpenRequest: {1084 sender: 'Compact<u32>',1085 maxMessageSize: 'Compact<u32>',1086 maxCapacity: 'Compact<u32>',1087 },1088 HrmpChannelAccepted: {1089 recipient: 'Compact<u32>',1090 },1091 HrmpChannelClosing: {1092 initiator: 'Compact<u32>',1093 sender: 'Compact<u32>',1094 recipient: 'Compact<u32>',1095 },1096 ClearOrigin: 'Null',1097 DescendOrigin: 'XcmV1MultilocationJunctions',1098 ReportError: {1099 queryId: 'Compact<u64>',1100 dest: 'XcmV1MultiLocation',1101 maxResponseWeight: 'Compact<u64>',1102 },1103 DepositAsset: {1104 assets: 'XcmV1MultiassetMultiAssetFilter',1105 maxAssets: 'Compact<u32>',1106 beneficiary: 'XcmV1MultiLocation',1107 },1108 DepositReserveAsset: {1109 assets: 'XcmV1MultiassetMultiAssetFilter',1110 maxAssets: 'Compact<u32>',1111 dest: 'XcmV1MultiLocation',1112 xcm: 'XcmV2Xcm',1113 },1114 ExchangeAsset: {1115 give: 'XcmV1MultiassetMultiAssetFilter',1116 receive: 'XcmV1MultiassetMultiAssets',1117 },1118 InitiateReserveWithdraw: {1119 assets: 'XcmV1MultiassetMultiAssetFilter',1120 reserve: 'XcmV1MultiLocation',1121 xcm: 'XcmV2Xcm',1122 },1123 InitiateTeleport: {1124 assets: 'XcmV1MultiassetMultiAssetFilter',1125 dest: 'XcmV1MultiLocation',1126 xcm: 'XcmV2Xcm',1127 },1128 QueryHolding: {1129 queryId: 'Compact<u64>',1130 dest: 'XcmV1MultiLocation',1131 assets: 'XcmV1MultiassetMultiAssetFilter',1132 maxResponseWeight: 'Compact<u64>',1133 },1134 BuyExecution: {1135 fees: 'XcmV1MultiAsset',1136 weightLimit: 'XcmV2WeightLimit',1137 },1138 RefundSurplus: 'Null',1139 SetErrorHandler: 'XcmV2Xcm',1140 SetAppendix: 'XcmV2Xcm',1141 ClearError: 'Null',1142 ClaimAsset: {1143 assets: 'XcmV1MultiassetMultiAssets',1144 ticket: 'XcmV1MultiLocation',1145 },1146 Trap: 'Compact<u64>',1147 SubscribeVersion: {1148 queryId: 'Compact<u64>',1149 maxResponseWeight: 'Compact<u64>',1150 },1151 UnsubscribeVersion: 'Null'1152 }1153 },1154 /**1155 * Lookup127: xcm::v2::Response1156 **/1157 XcmV2Response: {1158 _enum: {1159 Null: 'Null',1160 Assets: 'XcmV1MultiassetMultiAssets',1161 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1162 Version: 'u32'1163 }1164 },1165 /**1166 * Lookup130: xcm::v2::traits::Error1167 **/1168 XcmV2TraitsError: {1169 _enum: {1170 Overflow: 'Null',1171 Unimplemented: 'Null',1172 UntrustedReserveLocation: 'Null',1173 UntrustedTeleportLocation: 'Null',1174 MultiLocationFull: 'Null',1175 MultiLocationNotInvertible: 'Null',1176 BadOrigin: 'Null',1177 InvalidLocation: 'Null',1178 AssetNotFound: 'Null',1179 FailedToTransactAsset: 'Null',1180 NotWithdrawable: 'Null',1181 LocationCannotHold: 'Null',1182 ExceedsMaxMessageSize: 'Null',1183 DestinationUnsupported: 'Null',1184 Transport: 'Null',1185 Unroutable: 'Null',1186 UnknownClaim: 'Null',1187 FailedToDecode: 'Null',1188 MaxWeightInvalid: 'Null',1189 NotHoldingFees: 'Null',1190 TooExpensive: 'Null',1191 Trap: 'u64',1192 UnhandledXcmVersion: 'Null',1193 WeightLimitReached: 'u64',1194 Barrier: 'Null',1195 WeightNotComputable: 'Null'1196 }1197 },1198 /**1199 * Lookup131: xcm::v2::WeightLimit1200 **/1201 XcmV2WeightLimit: {1202 _enum: {1203 Unlimited: 'Null',1204 Limited: 'Compact<u64>'1205 }1206 },1207 /**1208 * Lookup132: xcm::VersionedMultiAssets1209 **/1210 XcmVersionedMultiAssets: {1211 _enum: {1212 V0: 'Vec<XcmV0MultiAsset>',1213 V1: 'XcmV1MultiassetMultiAssets'1214 }1215 },1216 /**1217 * Lookup147: cumulus_pallet_xcm::pallet::Call<T>1218 **/1219 CumulusPalletXcmCall: 'Null',1220 /**1221 * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>1222 **/1223 CumulusPalletDmpQueueCall: {1224 _enum: {1225 service_overweight: {1226 index: 'u64',1227 weightLimit: 'u64'1228 }1229 }1230 },1231 /**1232 * Lookup149: pallet_inflation::pallet::Call<T>1233 **/1234 PalletInflationCall: {1235 _enum: {1236 start_inflation: {1237 inflationStartRelayBlock: 'u32'1238 }1239 }1240 },1241 /**1242 * Lookup150: pallet_unique::Call<T>1243 **/1244 PalletUniqueCall: {1245 _enum: {1246 create_collection: {1247 collectionName: 'Vec<u16>',1248 collectionDescription: 'Vec<u16>',1249 tokenPrefix: 'Bytes',1250 mode: 'UpDataStructsCollectionMode',1251 },1252 create_collection_ex: {1253 data: 'UpDataStructsCreateCollectionData',1254 },1255 destroy_collection: {1256 collectionId: 'u32',1257 },1258 add_to_allow_list: {1259 collectionId: 'u32',1260 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1261 },1262 remove_from_allow_list: {1263 collectionId: 'u32',1264 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1265 },1266 change_collection_owner: {1267 collectionId: 'u32',1268 newOwner: 'AccountId32',1269 },1270 add_collection_admin: {1271 collectionId: 'u32',1272 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1273 },1274 remove_collection_admin: {1275 collectionId: 'u32',1276 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1277 },1278 set_collection_sponsor: {1279 collectionId: 'u32',1280 newSponsor: 'AccountId32',1281 },1282 confirm_sponsorship: {1283 collectionId: 'u32',1284 },1285 remove_collection_sponsor: {1286 collectionId: 'u32',1287 },1288 create_item: {1289 collectionId: 'u32',1290 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1291 data: 'UpDataStructsCreateItemData',1292 },1293 create_multiple_items: {1294 collectionId: 'u32',1295 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1296 itemsData: 'Vec<UpDataStructsCreateItemData>',1297 },1298 set_collection_properties: {1299 collectionId: 'u32',1300 properties: 'Vec<UpDataStructsProperty>',1301 },1302 delete_collection_properties: {1303 collectionId: 'u32',1304 propertyKeys: 'Vec<Bytes>',1305 },1306 set_token_properties: {1307 collectionId: 'u32',1308 tokenId: 'u32',1309 properties: 'Vec<UpDataStructsProperty>',1310 },1311 delete_token_properties: {1312 collectionId: 'u32',1313 tokenId: 'u32',1314 propertyKeys: 'Vec<Bytes>',1315 },1316 set_property_permissions: {1317 collectionId: 'u32',1318 propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1319 },1320 create_multiple_items_ex: {1321 collectionId: 'u32',1322 data: 'UpDataStructsCreateItemExData',1323 },1324 set_transfers_enabled_flag: {1325 collectionId: 'u32',1326 value: 'bool',1327 },1328 burn_item: {1329 collectionId: 'u32',1330 itemId: 'u32',1331 value: 'u128',1332 },1333 burn_from: {1334 collectionId: 'u32',1335 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1336 itemId: 'u32',1337 value: 'u128',1338 },1339 transfer: {1340 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1341 collectionId: 'u32',1342 itemId: 'u32',1343 value: 'u128',1344 },1345 approve: {1346 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1347 collectionId: 'u32',1348 itemId: 'u32',1349 amount: 'u128',1350 },1351 transfer_from: {1352 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1353 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1354 collectionId: 'u32',1355 itemId: 'u32',1356 value: 'u128',1357 },1358 set_collection_limits: {1359 collectionId: 'u32',1360 newLimit: 'UpDataStructsCollectionLimits',1361 },1362 set_collection_permissions: {1363 collectionId: 'u32',1364 newLimit: 'UpDataStructsCollectionPermissions'1365 }1366 }1367 },1368 /**1369 * Lookup156: up_data_structs::CollectionMode1370 **/1371 UpDataStructsCollectionMode: {1372 _enum: {1373 NFT: 'Null',1374 Fungible: 'u8',1375 ReFungible: 'Null'1376 }1377 },1378 /**1379 * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1380 **/1381 UpDataStructsCreateCollectionData: {1382 mode: 'UpDataStructsCollectionMode',1383 access: 'Option<UpDataStructsAccessMode>',1384 name: 'Vec<u16>',1385 description: 'Vec<u16>',1386 tokenPrefix: 'Bytes',1387 pendingSponsor: 'Option<AccountId32>',1388 limits: 'Option<UpDataStructsCollectionLimits>',1389 permissions: 'Option<UpDataStructsCollectionPermissions>',1390 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1391 properties: 'Vec<UpDataStructsProperty>'1392 },1393 /**1394 * Lookup159: up_data_structs::AccessMode1395 **/1396 UpDataStructsAccessMode: {1397 _enum: ['Normal', 'AllowList']1398 },1399 /**1400 * Lookup162: up_data_structs::CollectionLimits1401 **/1402 UpDataStructsCollectionLimits: {1403 accountTokenOwnershipLimit: 'Option<u32>',1404 sponsoredDataSize: 'Option<u32>',1405 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1406 tokenLimit: 'Option<u32>',1407 sponsorTransferTimeout: 'Option<u32>',1408 sponsorApproveTimeout: 'Option<u32>',1409 ownerCanTransfer: 'Option<bool>',1410 ownerCanDestroy: 'Option<bool>',1411 transfersEnabled: 'Option<bool>'1412 },1413 /**1414 * Lookup164: up_data_structs::SponsoringRateLimit1415 **/1416 UpDataStructsSponsoringRateLimit: {1417 _enum: {1418 SponsoringDisabled: 'Null',1419 Blocks: 'u32'1420 }1421 },1422 /**1423 * Lookup167: up_data_structs::CollectionPermissions1424 **/1425 UpDataStructsCollectionPermissions: {1426 access: 'Option<UpDataStructsAccessMode>',1427 mintMode: 'Option<bool>',1428 nesting: 'Option<UpDataStructsNestingPermissions>'1429 },1430 /**1431 * Lookup169: up_data_structs::NestingPermissions1432 **/1433 UpDataStructsNestingPermissions: {1434 tokenOwner: 'bool',1435 admin: 'bool',1436 restricted: 'Option<UpDataStructsOwnerRestrictedSet>',1437 permissive: 'bool'1438 },1439 /**1440 * Lookup171: up_data_structs::OwnerRestrictedSet1441 **/1442 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',1443 /**1444 * Lookup177: up_data_structs::PropertyKeyPermission1445 **/1446 UpDataStructsPropertyKeyPermission: {1447 key: 'Bytes',1448 permission: 'UpDataStructsPropertyPermission'1449 },1450 /**1451 * Lookup179: up_data_structs::PropertyPermission1452 **/1453 UpDataStructsPropertyPermission: {1454 mutable: 'bool',1455 collectionAdmin: 'bool',1456 tokenOwner: 'bool'1457 },1458 /**1459 * Lookup182: up_data_structs::Property1460 **/1461 UpDataStructsProperty: {1462 key: 'Bytes',1463 value: 'Bytes'1464 },1465 /**1466 * Lookup185: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1467 **/1468 PalletEvmAccountBasicCrossAccountIdRepr: {1469 _enum: {1470 Substrate: 'AccountId32',1471 Ethereum: 'H160'1472 }1473 },1474 /**1475 * Lookup187: up_data_structs::CreateItemData1476 **/1477 UpDataStructsCreateItemData: {1478 _enum: {1479 NFT: 'UpDataStructsCreateNftData',1480 Fungible: 'UpDataStructsCreateFungibleData',1481 ReFungible: 'UpDataStructsCreateReFungibleData'1482 }1483 },1484 /**1485 * Lookup188: up_data_structs::CreateNftData1486 **/1487 UpDataStructsCreateNftData: {1488 properties: 'Vec<UpDataStructsProperty>'1489 },1490 /**1491 * Lookup189: up_data_structs::CreateFungibleData1492 **/1493 UpDataStructsCreateFungibleData: {1494 value: 'u128'1495 },1496 /**1497 * Lookup190: up_data_structs::CreateReFungibleData1498 **/1499 UpDataStructsCreateReFungibleData: {1500 constData: 'Bytes',1501 pieces: 'u128'1502 },1503 /**1504 * Lookup195: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1505 **/1506 UpDataStructsCreateItemExData: {1507 _enum: {1508 NFT: 'Vec<UpDataStructsCreateNftExData>',1509 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1510 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1511 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1512 }1513 },1514 /**1515 * Lookup197: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1516 **/1517 UpDataStructsCreateNftExData: {1518 properties: 'Vec<UpDataStructsProperty>',1519 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1520 },1521 /**1522 * Lookup204: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1523 **/1524 UpDataStructsCreateRefungibleExData: {1525 constData: 'Bytes',1526 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1527 },1528 /**1529 * Lookup206: pallet_unq_scheduler::pallet::Call<T>1530 **/1531 PalletUnqSchedulerCall: {1532 _enum: {1533 schedule_named: {1534 id: '[u8;16]',1535 when: 'u32',1536 maybePeriodic: 'Option<(u32,u32)>',1537 priority: 'u8',1538 call: 'FrameSupportScheduleMaybeHashed',1539 },1540 cancel_named: {1541 id: '[u8;16]',1542 },1543 schedule_named_after: {1544 id: '[u8;16]',1545 after: 'u32',1546 maybePeriodic: 'Option<(u32,u32)>',1547 priority: 'u8',1548 call: 'FrameSupportScheduleMaybeHashed'1549 }1550 }1551 },1552 /**1553 * Lookup208: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1554 **/1555 FrameSupportScheduleMaybeHashed: {1556 _enum: {1557 Value: 'Call',1558 Hash: 'H256'1559 }1560 },1561 /**1562 * Lookup209: pallet_template_transaction_payment::Call<T>1563 **/1564 PalletTemplateTransactionPaymentCall: 'Null',1565 /**1566 * Lookup210: pallet_structure::pallet::Call<T>1567 **/1568 PalletStructureCall: 'Null',1569 /**1570 * Lookup211: pallet_rmrk_core::pallet::Call<T>1571 **/1572 PalletRmrkCoreCall: {1573 _enum: {1574 create_collection: {1575 metadata: 'Bytes',1576 max: 'Option<u32>',1577 symbol: 'Bytes',1578 },1579 destroy_collection: {1580 collectionId: 'u32',1581 },1582 change_collection_issuer: {1583 collectionId: 'u32',1584 newIssuer: 'MultiAddress',1585 },1586 lock_collection: {1587 collectionId: 'u32',1588 },1589 mint_nft: {1590 owner: 'AccountId32',1591 collectionId: 'u32',1592 recipient: 'Option<AccountId32>',1593 royaltyAmount: 'Option<Permill>',1594 metadata: 'Bytes',1595 transferable: 'bool',1596 },1597 burn_nft: {1598 collectionId: 'u32',1599 nftId: 'u32',1600 },1601 send: {1602 rmrkCollectionId: 'u32',1603 rmrkNftId: 'u32',1604 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1605 },1606 accept_nft: {1607 rmrkCollectionId: 'u32',1608 rmrkNftId: 'u32',1609 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1610 },1611 reject_nft: {1612 rmrkCollectionId: 'u32',1613 rmrkNftId: 'u32',1614 },1615 accept_resource: {1616 rmrkCollectionId: 'u32',1617 rmrkNftId: 'u32',1618 rmrkResourceId: 'u32',1619 },1620 accept_resource_removal: {1621 rmrkCollectionId: 'u32',1622 rmrkNftId: 'u32',1623 rmrkResourceId: 'u32',1624 },1625 set_property: {1626 rmrkCollectionId: 'Compact<u32>',1627 maybeNftId: 'Option<u32>',1628 key: 'Bytes',1629 value: 'Bytes',1630 },1631 set_priority: {1632 rmrkCollectionId: 'u32',1633 rmrkNftId: 'u32',1634 priorities: 'Vec<u32>',1635 },1636 add_basic_resource: {1637 rmrkCollectionId: 'u32',1638 nftId: 'u32',1639 resource: 'RmrkTraitsResourceBasicResource',1640 },1641 add_composable_resource: {1642 rmrkCollectionId: 'u32',1643 nftId: 'u32',1644 resourceId: 'Bytes',1645 resource: 'RmrkTraitsResourceComposableResource',1646 },1647 add_slot_resource: {1648 rmrkCollectionId: 'u32',1649 nftId: 'u32',1650 resource: 'RmrkTraitsResourceSlotResource',1651 },1652 remove_resource: {1653 rmrkCollectionId: 'u32',1654 nftId: 'u32',1655 resourceId: 'u32'1656 }1657 }1658 },1659 /**1660 * Lookup215: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1661 **/1662 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1663 _enum: {1664 AccountId: 'AccountId32',1665 CollectionAndNftTuple: '(u32,u32)'1666 }1667 },1668 /**1669 * Lookup219: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1670 **/1671 RmrkTraitsResourceBasicResource: {1672 src: 'Option<Bytes>',1673 metadata: 'Option<Bytes>',1674 license: 'Option<Bytes>',1675 thumb: 'Option<Bytes>'1676 },1677 /**1678 * Lookup222: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1679 **/1680 RmrkTraitsResourceComposableResource: {1681 parts: 'Vec<u32>',1682 base: 'u32',1683 src: 'Option<Bytes>',1684 metadata: 'Option<Bytes>',1685 license: 'Option<Bytes>',1686 thumb: 'Option<Bytes>'1687 },1688 /**1689 * Lookup224: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1690 **/1691 RmrkTraitsResourceSlotResource: {1692 base: 'u32',1693 src: 'Option<Bytes>',1694 metadata: 'Option<Bytes>',1695 slot: 'u32',1696 license: 'Option<Bytes>',1697 thumb: 'Option<Bytes>'1698 },1699 /**1700 * Lookup225: pallet_rmrk_equip::pallet::Call<T>1701 **/1702 PalletRmrkEquipCall: {1703 _enum: {1704 create_base: {1705 baseType: 'Bytes',1706 symbol: 'Bytes',1707 parts: 'Vec<RmrkTraitsPartPartType>',1708 },1709 theme_add: {1710 baseId: 'u32',1711 theme: 'RmrkTraitsTheme'1712 }1713 }1714 },1715 /**1716 * Lookup227: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1717 **/1718 RmrkTraitsPartPartType: {1719 _enum: {1720 FixedPart: 'RmrkTraitsPartFixedPart',1721 SlotPart: 'RmrkTraitsPartSlotPart'1722 }1723 },1724 /**1725 * Lookup229: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1726 **/1727 RmrkTraitsPartFixedPart: {1728 id: 'u32',1729 z: 'u32',1730 src: 'Bytes'1731 },1732 /**1733 * Lookup230: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1734 **/1735 RmrkTraitsPartSlotPart: {1736 id: 'u32',1737 equippable: 'RmrkTraitsPartEquippableList',1738 src: 'Bytes',1739 z: 'u32'1740 },1741 /**1742 * Lookup231: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1743 **/1744 RmrkTraitsPartEquippableList: {1745 _enum: {1746 All: 'Null',1747 Empty: 'Null',1748 Custom: 'Vec<u32>'1749 }1750 },1751 /**1752 * Lookup233: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1753 **/1754 RmrkTraitsTheme: {1755 name: 'Bytes',1756 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1757 inherit: 'bool'1758 },1759 /**1760 * Lookup235: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1761 **/1762 RmrkTraitsThemeThemeProperty: {1763 key: 'Bytes',1764 value: 'Bytes'1765 },1766 /**1767 * Lookup236: pallet_evm::pallet::Call<T>1768 **/1769 PalletEvmCall: {1770 _enum: {1771 withdraw: {1772 address: 'H160',1773 value: 'u128',1774 },1775 call: {1776 source: 'H160',1777 target: 'H160',1778 input: 'Bytes',1779 value: 'U256',1780 gasLimit: 'u64',1781 maxFeePerGas: 'U256',1782 maxPriorityFeePerGas: 'Option<U256>',1783 nonce: 'Option<U256>',1784 accessList: 'Vec<(H160,Vec<H256>)>',1785 },1786 create: {1787 source: 'H160',1788 init: 'Bytes',1789 value: 'U256',1790 gasLimit: 'u64',1791 maxFeePerGas: 'U256',1792 maxPriorityFeePerGas: 'Option<U256>',1793 nonce: 'Option<U256>',1794 accessList: 'Vec<(H160,Vec<H256>)>',1795 },1796 create2: {1797 source: 'H160',1798 init: 'Bytes',1799 salt: 'H256',1800 value: 'U256',1801 gasLimit: 'u64',1802 maxFeePerGas: 'U256',1803 maxPriorityFeePerGas: 'Option<U256>',1804 nonce: 'Option<U256>',1805 accessList: 'Vec<(H160,Vec<H256>)>'1806 }1807 }1808 },1809 /**1810 * Lookup242: pallet_ethereum::pallet::Call<T>1811 **/1812 PalletEthereumCall: {1813 _enum: {1814 transact: {1815 transaction: 'EthereumTransactionTransactionV2'1816 }1817 }1818 },1819 /**1820 * Lookup243: ethereum::transaction::TransactionV21821 **/1822 EthereumTransactionTransactionV2: {1823 _enum: {1824 Legacy: 'EthereumTransactionLegacyTransaction',1825 EIP2930: 'EthereumTransactionEip2930Transaction',1826 EIP1559: 'EthereumTransactionEip1559Transaction'1827 }1828 },1829 /**1830 * Lookup244: ethereum::transaction::LegacyTransaction1831 **/1832 EthereumTransactionLegacyTransaction: {1833 nonce: 'U256',1834 gasPrice: 'U256',1835 gasLimit: 'U256',1836 action: 'EthereumTransactionTransactionAction',1837 value: 'U256',1838 input: 'Bytes',1839 signature: 'EthereumTransactionTransactionSignature'1840 },1841 /**1842 * Lookup245: ethereum::transaction::TransactionAction1843 **/1844 EthereumTransactionTransactionAction: {1845 _enum: {1846 Call: 'H160',1847 Create: 'Null'1848 }1849 },1850 /**1851 * Lookup246: ethereum::transaction::TransactionSignature1852 **/1853 EthereumTransactionTransactionSignature: {1854 v: 'u64',1855 r: 'H256',1856 s: 'H256'1857 },1858 /**1859 * Lookup248: ethereum::transaction::EIP2930Transaction1860 **/1861 EthereumTransactionEip2930Transaction: {1862 chainId: 'u64',1863 nonce: 'U256',1864 gasPrice: 'U256',1865 gasLimit: 'U256',1866 action: 'EthereumTransactionTransactionAction',1867 value: 'U256',1868 input: 'Bytes',1869 accessList: 'Vec<EthereumTransactionAccessListItem>',1870 oddYParity: 'bool',1871 r: 'H256',1872 s: 'H256'1873 },1874 /**1875 * Lookup250: ethereum::transaction::AccessListItem1876 **/1877 EthereumTransactionAccessListItem: {1878 address: 'H160',1879 storageKeys: 'Vec<H256>'1880 },1881 /**1882 * Lookup251: ethereum::transaction::EIP1559Transaction1883 **/1884 EthereumTransactionEip1559Transaction: {1885 chainId: 'u64',1886 nonce: 'U256',1887 maxPriorityFeePerGas: 'U256',1888 maxFeePerGas: 'U256',1889 gasLimit: 'U256',1890 action: 'EthereumTransactionTransactionAction',1891 value: 'U256',1892 input: 'Bytes',1893 accessList: 'Vec<EthereumTransactionAccessListItem>',1894 oddYParity: 'bool',1895 r: 'H256',1896 s: 'H256'1897 },1898 /**1899 * Lookup252: pallet_evm_migration::pallet::Call<T>1900 **/1901 PalletEvmMigrationCall: {1902 _enum: {1903 begin: {1904 address: 'H160',1905 },1906 set_data: {1907 address: 'H160',1908 data: 'Vec<(H256,H256)>',1909 },1910 finish: {1911 address: 'H160',1912 code: 'Bytes'1913 }1914 }1915 },1916 /**1917 * Lookup255: pallet_sudo::pallet::Event<T>1918 **/1919 PalletSudoEvent: {1920 _enum: {1921 Sudid: {1922 sudoResult: 'Result<Null, SpRuntimeDispatchError>',1923 },1924 KeyChanged: {1925 oldSudoer: 'Option<AccountId32>',1926 },1927 SudoAsDone: {1928 sudoResult: 'Result<Null, SpRuntimeDispatchError>'1929 }1930 }1931 },1932 /**1933 * Lookup257: sp_runtime::DispatchError1934 **/1935 SpRuntimeDispatchError: {1936 _enum: {1937 Other: 'Null',1938 CannotLookup: 'Null',1939 BadOrigin: 'Null',1940 Module: 'SpRuntimeModuleError',1941 ConsumerRemaining: 'Null',1942 NoProviders: 'Null',1943 TooManyConsumers: 'Null',1944 Token: 'SpRuntimeTokenError',1945 Arithmetic: 'SpRuntimeArithmeticError',1946 Transactional: 'SpRuntimeTransactionalError'1947 }1948 },1949 /**1950 * Lookup258: sp_runtime::ModuleError1951 **/1952 SpRuntimeModuleError: {1953 index: 'u8',1954 error: '[u8;4]'1955 },1956 /**1957 * Lookup259: sp_runtime::TokenError1958 **/1959 SpRuntimeTokenError: {1960 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1961 },1962 /**1963 * Lookup260: sp_runtime::ArithmeticError1964 **/1965 SpRuntimeArithmeticError: {1966 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1967 },1968 /**1969 * Lookup261: sp_runtime::TransactionalError1970 **/1971 SpRuntimeTransactionalError: {1972 _enum: ['LimitReached', 'NoLayer']1973 },1974 /**1975 * Lookup262: pallet_sudo::pallet::Error<T>1976 **/1977 PalletSudoError: {1978 _enum: ['RequireSudo']1979 },1980 /**1981 * Lookup263: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1982 **/1983 FrameSystemAccountInfo: {1984 nonce: 'u32',1985 consumers: 'u32',1986 providers: 'u32',1987 sufficients: 'u32',1988 data: 'PalletBalancesAccountData'1989 },1990 /**1991 * Lookup264: frame_support::weights::PerDispatchClass<T>1992 **/1993 FrameSupportWeightsPerDispatchClassU64: {1994 normal: 'u64',1995 operational: 'u64',1996 mandatory: 'u64'1997 },1998 /**1999 * Lookup265: sp_runtime::generic::digest::Digest2000 **/2001 SpRuntimeDigest: {2002 logs: 'Vec<SpRuntimeDigestDigestItem>'2003 },2004 /**2005 * Lookup267: sp_runtime::generic::digest::DigestItem2006 **/2007 SpRuntimeDigestDigestItem: {2008 _enum: {2009 Other: 'Bytes',2010 __Unused1: 'Null',2011 __Unused2: 'Null',2012 __Unused3: 'Null',2013 Consensus: '([u8;4],Bytes)',2014 Seal: '([u8;4],Bytes)',2015 PreRuntime: '([u8;4],Bytes)',2016 __Unused7: 'Null',2017 RuntimeEnvironmentUpdated: 'Null'2018 }2019 },2020 /**2021 * Lookup269: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2022 **/2023 FrameSystemEventRecord: {2024 phase: 'FrameSystemPhase',2025 event: 'Event',2026 topics: 'Vec<H256>'2027 },2028 /**2029 * Lookup271: frame_system::pallet::Event<T>2030 **/2031 FrameSystemEvent: {2032 _enum: {2033 ExtrinsicSuccess: {2034 dispatchInfo: 'FrameSupportWeightsDispatchInfo',2035 },2036 ExtrinsicFailed: {2037 dispatchError: 'SpRuntimeDispatchError',2038 dispatchInfo: 'FrameSupportWeightsDispatchInfo',2039 },2040 CodeUpdated: 'Null',2041 NewAccount: {2042 account: 'AccountId32',2043 },2044 KilledAccount: {2045 account: 'AccountId32',2046 },2047 Remarked: {2048 _alias: {2049 hash_: 'hash',2050 },2051 sender: 'AccountId32',2052 hash_: 'H256'2053 }2054 }2055 },2056 /**2057 * Lookup272: frame_support::weights::DispatchInfo2058 **/2059 FrameSupportWeightsDispatchInfo: {2060 weight: 'u64',2061 class: 'FrameSupportWeightsDispatchClass',2062 paysFee: 'FrameSupportWeightsPays'2063 },2064 /**2065 * Lookup273: frame_support::weights::DispatchClass2066 **/2067 FrameSupportWeightsDispatchClass: {2068 _enum: ['Normal', 'Operational', 'Mandatory']2069 },2070 /**2071 * Lookup274: frame_support::weights::Pays2072 **/2073 FrameSupportWeightsPays: {2074 _enum: ['Yes', 'No']2075 },2076 /**2077 * Lookup275: orml_vesting::module::Event<T>2078 **/2079 OrmlVestingModuleEvent: {2080 _enum: {2081 VestingScheduleAdded: {2082 from: 'AccountId32',2083 to: 'AccountId32',2084 vestingSchedule: 'OrmlVestingVestingSchedule',2085 },2086 Claimed: {2087 who: 'AccountId32',2088 amount: 'u128',2089 },2090 VestingSchedulesUpdated: {2091 who: 'AccountId32'2092 }2093 }2094 },2095 /**2096 * Lookup276: cumulus_pallet_xcmp_queue::pallet::Event<T>2097 **/2098 CumulusPalletXcmpQueueEvent: {2099 _enum: {2100 Success: 'Option<H256>',2101 Fail: '(Option<H256>,XcmV2TraitsError)',2102 BadVersion: 'Option<H256>',2103 BadFormat: 'Option<H256>',2104 UpwardMessageSent: 'Option<H256>',2105 XcmpMessageSent: 'Option<H256>',2106 OverweightEnqueued: '(u32,u32,u64,u64)',2107 OverweightServiced: '(u64,u64)'2108 }2109 },2110 /**2111 * Lookup277: pallet_xcm::pallet::Event<T>2112 **/2113 PalletXcmEvent: {2114 _enum: {2115 Attempted: 'XcmV2TraitsOutcome',2116 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',2117 UnexpectedResponse: '(XcmV1MultiLocation,u64)',2118 ResponseReady: '(u64,XcmV2Response)',2119 Notified: '(u64,u8,u8)',2120 NotifyOverweight: '(u64,u8,u8,u64,u64)',2121 NotifyDispatchError: '(u64,u8,u8)',2122 NotifyDecodeFailed: '(u64,u8,u8)',2123 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',2124 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',2125 ResponseTaken: 'u64',2126 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',2127 VersionChangeNotified: '(XcmV1MultiLocation,u32)',2128 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',2129 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',2130 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2131 }2132 },2133 /**2134 * Lookup278: xcm::v2::traits::Outcome2135 **/2136 XcmV2TraitsOutcome: {2137 _enum: {2138 Complete: 'u64',2139 Incomplete: '(u64,XcmV2TraitsError)',2140 Error: 'XcmV2TraitsError'2141 }2142 },2143 /**2144 * Lookup280: cumulus_pallet_xcm::pallet::Event<T>2145 **/2146 CumulusPalletXcmEvent: {2147 _enum: {2148 InvalidFormat: '[u8;8]',2149 UnsupportedVersion: '[u8;8]',2150 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2151 }2152 },2153 /**2154 * Lookup281: cumulus_pallet_dmp_queue::pallet::Event<T>2155 **/2156 CumulusPalletDmpQueueEvent: {2157 _enum: {2158 InvalidFormat: '[u8;32]',2159 UnsupportedVersion: '[u8;32]',2160 ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',2161 WeightExhausted: '([u8;32],u64,u64)',2162 OverweightEnqueued: '([u8;32],u64,u64)',2163 OverweightServiced: '(u64,u64)'2164 }2165 },2166 /**2167 * Lookup282: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2168 **/2169 PalletUniqueRawEvent: {2170 _enum: {2171 CollectionSponsorRemoved: 'u32',2172 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2173 CollectionOwnedChanged: '(u32,AccountId32)',2174 CollectionSponsorSet: '(u32,AccountId32)',2175 SponsorshipConfirmed: '(u32,AccountId32)',2176 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2177 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2178 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2179 CollectionLimitSet: 'u32',2180 CollectionPermissionSet: 'u32'2181 }2182 },2183 /**2184 * Lookup283: pallet_unq_scheduler::pallet::Event<T>2185 **/2186 PalletUnqSchedulerEvent: {2187 _enum: {2188 Scheduled: {2189 when: 'u32',2190 index: 'u32',2191 },2192 Canceled: {2193 when: 'u32',2194 index: 'u32',2195 },2196 Dispatched: {2197 task: '(u32,u32)',2198 id: 'Option<[u8;16]>',2199 result: 'Result<Null, SpRuntimeDispatchError>',2200 },2201 CallLookupFailed: {2202 task: '(u32,u32)',2203 id: 'Option<[u8;16]>',2204 error: 'FrameSupportScheduleLookupError'2205 }2206 }2207 },2208 /**2209 * Lookup285: frame_support::traits::schedule::LookupError2210 **/2211 FrameSupportScheduleLookupError: {2212 _enum: ['Unknown', 'BadFormat']2213 },2214 /**2215 * Lookup286: pallet_common::pallet::Event<T>2216 **/2217 PalletCommonEvent: {2218 _enum: {2219 CollectionCreated: '(u32,u8,AccountId32)',2220 CollectionDestroyed: 'u32',2221 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2222 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2223 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2224 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2225 CollectionPropertySet: '(u32,Bytes)',2226 CollectionPropertyDeleted: '(u32,Bytes)',2227 TokenPropertySet: '(u32,u32,Bytes)',2228 TokenPropertyDeleted: '(u32,u32,Bytes)',2229 PropertyPermissionSet: '(u32,Bytes)'2230 }2231 },2232 /**2233 * Lookup287: pallet_structure::pallet::Event<T>2234 **/2235 PalletStructureEvent: {2236 _enum: {2237 Executed: 'Result<Null, SpRuntimeDispatchError>'2238 }2239 },2240 /**2241 * Lookup288: pallet_rmrk_core::pallet::Event<T>2242 **/2243 PalletRmrkCoreEvent: {2244 _enum: {2245 CollectionCreated: {2246 issuer: 'AccountId32',2247 collectionId: 'u32',2248 },2249 CollectionDestroyed: {2250 issuer: 'AccountId32',2251 collectionId: 'u32',2252 },2253 IssuerChanged: {2254 oldIssuer: 'AccountId32',2255 newIssuer: 'AccountId32',2256 collectionId: 'u32',2257 },2258 CollectionLocked: {2259 issuer: 'AccountId32',2260 collectionId: 'u32',2261 },2262 NftMinted: {2263 owner: 'AccountId32',2264 collectionId: 'u32',2265 nftId: 'u32',2266 },2267 NFTBurned: {2268 owner: 'AccountId32',2269 nftId: 'u32',2270 },2271 NFTSent: {2272 sender: 'AccountId32',2273 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2274 collectionId: 'u32',2275 nftId: 'u32',2276 approvalRequired: 'bool',2277 },2278 NFTAccepted: {2279 sender: 'AccountId32',2280 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2281 collectionId: 'u32',2282 nftId: 'u32',2283 },2284 NFTRejected: {2285 sender: 'AccountId32',2286 collectionId: 'u32',2287 nftId: 'u32',2288 },2289 PropertySet: {2290 collectionId: 'u32',2291 maybeNftId: 'Option<u32>',2292 key: 'Bytes',2293 value: 'Bytes',2294 },2295 ResourceAdded: {2296 nftId: 'u32',2297 resourceId: 'u32',2298 },2299 ResourceRemoval: {2300 nftId: 'u32',2301 resourceId: 'u32',2302 },2303 ResourceAccepted: {2304 nftId: 'u32',2305 resourceId: 'u32',2306 },2307 ResourceRemovalAccepted: {2308 nftId: 'u32',2309 resourceId: 'u32',2310 },2311 PrioritySet: {2312 collectionId: 'u32',2313 nftId: 'u32'2314 }2315 }2316 },2317 /**2318 * Lookup289: pallet_rmrk_equip::pallet::Event<T>2319 **/2320 PalletRmrkEquipEvent: {2321 _enum: {2322 BaseCreated: {2323 issuer: 'AccountId32',2324 baseId: 'u32'2325 }2326 }2327 },2328 /**2329 * Lookup290: pallet_evm::pallet::Event<T>2330 **/2331 PalletEvmEvent: {2332 _enum: {2333 Log: 'EthereumLog',2334 Created: 'H160',2335 CreatedFailed: 'H160',2336 Executed: 'H160',2337 ExecutedFailed: 'H160',2338 BalanceDeposit: '(AccountId32,H160,U256)',2339 BalanceWithdraw: '(AccountId32,H160,U256)'2340 }2341 },2342 /**2343 * Lookup291: ethereum::log::Log2344 **/2345 EthereumLog: {2346 address: 'H160',2347 topics: 'Vec<H256>',2348 data: 'Bytes'2349 },2350 /**2351 * Lookup292: pallet_ethereum::pallet::Event2352 **/2353 PalletEthereumEvent: {2354 _enum: {2355 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2356 }2357 },2358 /**2359 * Lookup293: evm_core::error::ExitReason2360 **/2361 EvmCoreErrorExitReason: {2362 _enum: {2363 Succeed: 'EvmCoreErrorExitSucceed',2364 Error: 'EvmCoreErrorExitError',2365 Revert: 'EvmCoreErrorExitRevert',2366 Fatal: 'EvmCoreErrorExitFatal'2367 }2368 },2369 /**2370 * Lookup294: evm_core::error::ExitSucceed2371 **/2372 EvmCoreErrorExitSucceed: {2373 _enum: ['Stopped', 'Returned', 'Suicided']2374 },2375 /**2376 * Lookup295: evm_core::error::ExitError2377 **/2378 EvmCoreErrorExitError: {2379 _enum: {2380 StackUnderflow: 'Null',2381 StackOverflow: 'Null',2382 InvalidJump: 'Null',2383 InvalidRange: 'Null',2384 DesignatedInvalid: 'Null',2385 CallTooDeep: 'Null',2386 CreateCollision: 'Null',2387 CreateContractLimit: 'Null',2388 OutOfOffset: 'Null',2389 OutOfGas: 'Null',2390 OutOfFund: 'Null',2391 PCUnderflow: 'Null',2392 CreateEmpty: 'Null',2393 Other: 'Text',2394 InvalidCode: 'Null'2395 }2396 },2397 /**2398 * Lookup298: evm_core::error::ExitRevert2399 **/2400 EvmCoreErrorExitRevert: {2401 _enum: ['Reverted']2402 },2403 /**2404 * Lookup299: evm_core::error::ExitFatal2405 **/2406 EvmCoreErrorExitFatal: {2407 _enum: {2408 NotSupported: 'Null',2409 UnhandledInterrupt: 'Null',2410 CallErrorAsFatal: 'EvmCoreErrorExitError',2411 Other: 'Text'2412 }2413 },2414 /**2415 * Lookup300: frame_system::Phase2416 **/2417 FrameSystemPhase: {2418 _enum: {2419 ApplyExtrinsic: 'u32',2420 Finalization: 'Null',2421 Initialization: 'Null'2422 }2423 },2424 /**2425 * Lookup302: frame_system::LastRuntimeUpgradeInfo2426 **/2427 FrameSystemLastRuntimeUpgradeInfo: {2428 specVersion: 'Compact<u32>',2429 specName: 'Text'2430 },2431 /**2432 * Lookup303: frame_system::limits::BlockWeights2433 **/2434 FrameSystemLimitsBlockWeights: {2435 baseBlock: 'u64',2436 maxBlock: 'u64',2437 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2438 },2439 /**2440 * Lookup304: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2441 **/2442 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2443 normal: 'FrameSystemLimitsWeightsPerClass',2444 operational: 'FrameSystemLimitsWeightsPerClass',2445 mandatory: 'FrameSystemLimitsWeightsPerClass'2446 },2447 /**2448 * Lookup305: frame_system::limits::WeightsPerClass2449 **/2450 FrameSystemLimitsWeightsPerClass: {2451 baseExtrinsic: 'u64',2452 maxExtrinsic: 'Option<u64>',2453 maxTotal: 'Option<u64>',2454 reserved: 'Option<u64>'2455 },2456 /**2457 * Lookup307: frame_system::limits::BlockLength2458 **/2459 FrameSystemLimitsBlockLength: {2460 max: 'FrameSupportWeightsPerDispatchClassU32'2461 },2462 /**2463 * Lookup308: frame_support::weights::PerDispatchClass<T>2464 **/2465 FrameSupportWeightsPerDispatchClassU32: {2466 normal: 'u32',2467 operational: 'u32',2468 mandatory: 'u32'2469 },2470 /**2471 * Lookup309: frame_support::weights::RuntimeDbWeight2472 **/2473 FrameSupportWeightsRuntimeDbWeight: {2474 read: 'u64',2475 write: 'u64'2476 },2477 /**2478 * Lookup310: sp_version::RuntimeVersion2479 **/2480 SpVersionRuntimeVersion: {2481 specName: 'Text',2482 implName: 'Text',2483 authoringVersion: 'u32',2484 specVersion: 'u32',2485 implVersion: 'u32',2486 apis: 'Vec<([u8;8],u32)>',2487 transactionVersion: 'u32',2488 stateVersion: 'u8'2489 },2490 /**2491 * Lookup314: frame_system::pallet::Error<T>2492 **/2493 FrameSystemError: {2494 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2495 },2496 /**2497 * Lookup316: orml_vesting::module::Error<T>2498 **/2499 OrmlVestingModuleError: {2500 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2501 },2502 /**2503 * Lookup318: cumulus_pallet_xcmp_queue::InboundChannelDetails2504 **/2505 CumulusPalletXcmpQueueInboundChannelDetails: {2506 sender: 'u32',2507 state: 'CumulusPalletXcmpQueueInboundState',2508 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2509 },2510 /**2511 * Lookup319: cumulus_pallet_xcmp_queue::InboundState2512 **/2513 CumulusPalletXcmpQueueInboundState: {2514 _enum: ['Ok', 'Suspended']2515 },2516 /**2517 * Lookup322: polkadot_parachain::primitives::XcmpMessageFormat2518 **/2519 PolkadotParachainPrimitivesXcmpMessageFormat: {2520 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2521 },2522 /**2523 * Lookup325: cumulus_pallet_xcmp_queue::OutboundChannelDetails2524 **/2525 CumulusPalletXcmpQueueOutboundChannelDetails: {2526 recipient: 'u32',2527 state: 'CumulusPalletXcmpQueueOutboundState',2528 signalsExist: 'bool',2529 firstIndex: 'u16',2530 lastIndex: 'u16'2531 },2532 /**2533 * Lookup326: cumulus_pallet_xcmp_queue::OutboundState2534 **/2535 CumulusPalletXcmpQueueOutboundState: {2536 _enum: ['Ok', 'Suspended']2537 },2538 /**2539 * Lookup328: cumulus_pallet_xcmp_queue::QueueConfigData2540 **/2541 CumulusPalletXcmpQueueQueueConfigData: {2542 suspendThreshold: 'u32',2543 dropThreshold: 'u32',2544 resumeThreshold: 'u32',2545 thresholdWeight: 'u64',2546 weightRestrictDecay: 'u64',2547 xcmpMaxIndividualWeight: 'u64'2548 },2549 /**2550 * Lookup330: cumulus_pallet_xcmp_queue::pallet::Error<T>2551 **/2552 CumulusPalletXcmpQueueError: {2553 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2554 },2555 /**2556 * Lookup331: pallet_xcm::pallet::Error<T>2557 **/2558 PalletXcmError: {2559 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2560 },2561 /**2562 * Lookup332: cumulus_pallet_xcm::pallet::Error<T>2563 **/2564 CumulusPalletXcmError: 'Null',2565 /**2566 * Lookup333: cumulus_pallet_dmp_queue::ConfigData2567 **/2568 CumulusPalletDmpQueueConfigData: {2569 maxIndividual: 'u64'2570 },2571 /**2572 * Lookup334: cumulus_pallet_dmp_queue::PageIndexData2573 **/2574 CumulusPalletDmpQueuePageIndexData: {2575 beginUsed: 'u32',2576 endUsed: 'u32',2577 overweightCount: 'u64'2578 },2579 /**2580 * Lookup337: cumulus_pallet_dmp_queue::pallet::Error<T>2581 **/2582 CumulusPalletDmpQueueError: {2583 _enum: ['Unknown', 'OverLimit']2584 },2585 /**2586 * Lookup341: pallet_unique::Error<T>2587 **/2588 PalletUniqueError: {2589 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2590 },2591 /**2592 * Lookup344: pallet_unq_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2593 **/2594 PalletUnqSchedulerScheduledV3: {2595 maybeId: 'Option<[u8;16]>',2596 priority: 'u8',2597 call: 'FrameSupportScheduleMaybeHashed',2598 maybePeriodic: 'Option<(u32,u32)>',2599 origin: 'OpalRuntimeOriginCaller'2600 },2601 /**2602 * Lookup345: opal_runtime::OriginCaller2603 **/2604 OpalRuntimeOriginCaller: {2605 _enum: {2606 __Unused0: 'Null',2607 __Unused1: 'Null',2608 __Unused2: 'Null',2609 __Unused3: 'Null',2610 Void: 'SpCoreVoid',2611 __Unused5: 'Null',2612 __Unused6: 'Null',2613 __Unused7: 'Null',2614 __Unused8: 'Null',2615 __Unused9: 'Null',2616 __Unused10: 'Null',2617 __Unused11: 'Null',2618 __Unused12: 'Null',2619 __Unused13: 'Null',2620 __Unused14: 'Null',2621 __Unused15: 'Null',2622 __Unused16: 'Null',2623 __Unused17: 'Null',2624 __Unused18: 'Null',2625 __Unused19: 'Null',2626 __Unused20: 'Null',2627 __Unused21: 'Null',2628 __Unused22: 'Null',2629 __Unused23: 'Null',2630 __Unused24: 'Null',2631 __Unused25: 'Null',2632 __Unused26: 'Null',2633 __Unused27: 'Null',2634 __Unused28: 'Null',2635 __Unused29: 'Null',2636 __Unused30: 'Null',2637 __Unused31: 'Null',2638 __Unused32: 'Null',2639 __Unused33: 'Null',2640 __Unused34: 'Null',2641 __Unused35: 'Null',2642 system: 'FrameSupportDispatchRawOrigin',2643 __Unused37: 'Null',2644 __Unused38: 'Null',2645 __Unused39: 'Null',2646 __Unused40: 'Null',2647 __Unused41: 'Null',2648 __Unused42: 'Null',2649 __Unused43: 'Null',2650 __Unused44: 'Null',2651 __Unused45: 'Null',2652 __Unused46: 'Null',2653 __Unused47: 'Null',2654 __Unused48: 'Null',2655 __Unused49: 'Null',2656 __Unused50: 'Null',2657 PolkadotXcm: 'PalletXcmOrigin',2658 CumulusXcm: 'CumulusPalletXcmOrigin',2659 __Unused53: 'Null',2660 __Unused54: 'Null',2661 __Unused55: 'Null',2662 __Unused56: 'Null',2663 __Unused57: 'Null',2664 __Unused58: 'Null',2665 __Unused59: 'Null',2666 __Unused60: 'Null',2667 __Unused61: 'Null',2668 __Unused62: 'Null',2669 __Unused63: 'Null',2670 __Unused64: 'Null',2671 __Unused65: 'Null',2672 __Unused66: 'Null',2673 __Unused67: 'Null',2674 __Unused68: 'Null',2675 __Unused69: 'Null',2676 __Unused70: 'Null',2677 __Unused71: 'Null',2678 __Unused72: 'Null',2679 __Unused73: 'Null',2680 __Unused74: 'Null',2681 __Unused75: 'Null',2682 __Unused76: 'Null',2683 __Unused77: 'Null',2684 __Unused78: 'Null',2685 __Unused79: 'Null',2686 __Unused80: 'Null',2687 __Unused81: 'Null',2688 __Unused82: 'Null',2689 __Unused83: 'Null',2690 __Unused84: 'Null',2691 __Unused85: 'Null',2692 __Unused86: 'Null',2693 __Unused87: 'Null',2694 __Unused88: 'Null',2695 __Unused89: 'Null',2696 __Unused90: 'Null',2697 __Unused91: 'Null',2698 __Unused92: 'Null',2699 __Unused93: 'Null',2700 __Unused94: 'Null',2701 __Unused95: 'Null',2702 __Unused96: 'Null',2703 __Unused97: 'Null',2704 __Unused98: 'Null',2705 __Unused99: 'Null',2706 __Unused100: 'Null',2707 Ethereum: 'PalletEthereumRawOrigin'2708 }2709 },2710 /**2711 * Lookup346: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2712 **/2713 FrameSupportDispatchRawOrigin: {2714 _enum: {2715 Root: 'Null',2716 Signed: 'AccountId32',2717 None: 'Null'2718 }2719 },2720 /**2721 * Lookup347: pallet_xcm::pallet::Origin2722 **/2723 PalletXcmOrigin: {2724 _enum: {2725 Xcm: 'XcmV1MultiLocation',2726 Response: 'XcmV1MultiLocation'2727 }2728 },2729 /**2730 * Lookup348: cumulus_pallet_xcm::pallet::Origin2731 **/2732 CumulusPalletXcmOrigin: {2733 _enum: {2734 Relay: 'Null',2735 SiblingParachain: 'u32'2736 }2737 },2738 /**2739 * Lookup349: pallet_ethereum::RawOrigin2740 **/2741 PalletEthereumRawOrigin: {2742 _enum: {2743 EthereumTransaction: 'H160'2744 }2745 },2746 /**2747 * Lookup350: sp_core::Void2748 **/2749 SpCoreVoid: 'Null',2750 /**2751 * Lookup351: pallet_unq_scheduler::pallet::Error<T>2752 **/2753 PalletUnqSchedulerError: {2754 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2755 },2756 /**2757 * Lookup352: up_data_structs::Collection<sp_core::crypto::AccountId32>2758 **/2759 UpDataStructsCollection: {2760 owner: 'AccountId32',2761 mode: 'UpDataStructsCollectionMode',2762 name: 'Vec<u16>',2763 description: 'Vec<u16>',2764 tokenPrefix: 'Bytes',2765 sponsorship: 'UpDataStructsSponsorshipState',2766 limits: 'UpDataStructsCollectionLimits',2767 permissions: 'UpDataStructsCollectionPermissions',2768 externalCollection: 'bool'2769 },2770 /**2771 * Lookup353: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2772 **/2773 UpDataStructsSponsorshipState: {2774 _enum: {2775 Disabled: 'Null',2776 Unconfirmed: 'AccountId32',2777 Confirmed: 'AccountId32'2778 }2779 },2780 /**2781 * Lookup354: up_data_structs::Properties2782 **/2783 UpDataStructsProperties: {2784 map: 'UpDataStructsPropertiesMapBoundedVec',2785 consumedSpace: 'u32',2786 spaceLimit: 'u32'2787 },2788 /**2789 * Lookup355: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2790 **/2791 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2792 /**2793 * Lookup360: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2794 **/2795 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2796 /**2797 * Lookup367: up_data_structs::CollectionStats2798 **/2799 UpDataStructsCollectionStats: {2800 created: 'u32',2801 destroyed: 'u32',2802 alive: 'u32'2803 },2804 /**2805 * Lookup368: up_data_structs::TokenChild2806 **/2807 UpDataStructsTokenChild: {2808 token: 'u32',2809 collection: 'u32'2810 },2811 /**2812 * Lookup369: PhantomType::up_data_structs<T>2813 **/2814 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2815 /**2816 * Lookup371: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2817 **/2818 UpDataStructsTokenData: {2819 properties: 'Vec<UpDataStructsProperty>',2820 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2821 },2822 /**2823 * Lookup373: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2824 **/2825 UpDataStructsRpcCollection: {2826 owner: 'AccountId32',2827 mode: 'UpDataStructsCollectionMode',2828 name: 'Vec<u16>',2829 description: 'Vec<u16>',2830 tokenPrefix: 'Bytes',2831 sponsorship: 'UpDataStructsSponsorshipState',2832 limits: 'UpDataStructsCollectionLimits',2833 permissions: 'UpDataStructsCollectionPermissions',2834 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2835 properties: 'Vec<UpDataStructsProperty>',2836 readOnly: 'bool'2837 },2838 /**2839 * Lookup374: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2840 **/2841 RmrkTraitsCollectionCollectionInfo: {2842 issuer: 'AccountId32',2843 metadata: 'Bytes',2844 max: 'Option<u32>',2845 symbol: 'Bytes',2846 nftsCount: 'u32'2847 },2848 /**2849 * Lookup375: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2850 **/2851 RmrkTraitsNftNftInfo: {2852 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2853 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2854 metadata: 'Bytes',2855 equipped: 'bool',2856 pending: 'bool'2857 },2858 /**2859 * Lookup377: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2860 **/2861 RmrkTraitsNftRoyaltyInfo: {2862 recipient: 'AccountId32',2863 amount: 'Permill'2864 },2865 /**2866 * Lookup378: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2867 **/2868 RmrkTraitsResourceResourceInfo: {2869 id: 'u32',2870 resource: 'RmrkTraitsResourceResourceTypes',2871 pending: 'bool',2872 pendingRemoval: 'bool'2873 },2874 /**2875 * Lookup379: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2876 **/2877 RmrkTraitsResourceResourceTypes: {2878 _enum: {2879 Basic: 'RmrkTraitsResourceBasicResource',2880 Composable: 'RmrkTraitsResourceComposableResource',2881 Slot: 'RmrkTraitsResourceSlotResource'2882 }2883 },2884 /**2885 * Lookup380: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2886 **/2887 RmrkTraitsPropertyPropertyInfo: {2888 key: 'Bytes',2889 value: 'Bytes'2890 },2891 /**2892 * Lookup381: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2893 **/2894 RmrkTraitsBaseBaseInfo: {2895 issuer: 'AccountId32',2896 baseType: 'Bytes',2897 symbol: 'Bytes'2898 },2899 /**2900 * Lookup382: rmrk_traits::nft::NftChild2901 **/2902 RmrkTraitsNftNftChild: {2903 collectionId: 'u32',2904 nftId: 'u32'2905 },2906 /**2907 * Lookup384: pallet_common::pallet::Error<T>2908 **/2909 PalletCommonError: {2910 _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']2911 },2912 /**2913 * Lookup386: pallet_fungible::pallet::Error<T>2914 **/2915 PalletFungibleError: {2916 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2917 },2918 /**2919 * Lookup387: pallet_refungible::ItemData2920 **/2921 PalletRefungibleItemData: {2922 constData: 'Bytes'2923 },2924 /**2925 * Lookup391: pallet_refungible::pallet::Error<T>2926 **/2927 PalletRefungibleError: {2928 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2929 },2930 /**2931 * Lookup392: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2932 **/2933 PalletNonfungibleItemData: {2934 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2935 },2936 /**2937 * Lookup394: pallet_nonfungible::pallet::Error<T>2938 **/2939 PalletNonfungibleError: {2940 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2941 },2942 /**2943 * Lookup395: pallet_structure::pallet::Error<T>2944 **/2945 PalletStructureError: {2946 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2947 },2948 /**2949 * Lookup396: pallet_rmrk_core::pallet::Error<T>2950 **/2951 PalletRmrkCoreError: {2952 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2953 },2954 /**2955 * Lookup398: pallet_rmrk_equip::pallet::Error<T>2956 **/2957 PalletRmrkEquipError: {2958 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2959 },2960 /**2961 * Lookup401: pallet_evm::pallet::Error<T>2962 **/2963 PalletEvmError: {2964 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2965 },2966 /**2967 * Lookup404: fp_rpc::TransactionStatus2968 **/2969 FpRpcTransactionStatus: {2970 transactionHash: 'H256',2971 transactionIndex: 'u32',2972 from: 'H160',2973 to: 'Option<H160>',2974 contractAddress: 'Option<H160>',2975 logs: 'Vec<EthereumLog>',2976 logsBloom: 'EthbloomBloom'2977 },2978 /**2979 * Lookup406: ethbloom::Bloom2980 **/2981 EthbloomBloom: '[u8;256]',2982 /**2983 * Lookup408: ethereum::receipt::ReceiptV32984 **/2985 EthereumReceiptReceiptV3: {2986 _enum: {2987 Legacy: 'EthereumReceiptEip658ReceiptData',2988 EIP2930: 'EthereumReceiptEip658ReceiptData',2989 EIP1559: 'EthereumReceiptEip658ReceiptData'2990 }2991 },2992 /**2993 * Lookup409: ethereum::receipt::EIP658ReceiptData2994 **/2995 EthereumReceiptEip658ReceiptData: {2996 statusCode: 'u8',2997 usedGas: 'U256',2998 logsBloom: 'EthbloomBloom',2999 logs: 'Vec<EthereumLog>'3000 },3001 /**3002 * Lookup410: ethereum::block::Block<ethereum::transaction::TransactionV2>3003 **/3004 EthereumBlock: {3005 header: 'EthereumHeader',3006 transactions: 'Vec<EthereumTransactionTransactionV2>',3007 ommers: 'Vec<EthereumHeader>'3008 },3009 /**3010 * Lookup411: ethereum::header::Header3011 **/3012 EthereumHeader: {3013 parentHash: 'H256',3014 ommersHash: 'H256',3015 beneficiary: 'H160',3016 stateRoot: 'H256',3017 transactionsRoot: 'H256',3018 receiptsRoot: 'H256',3019 logsBloom: 'EthbloomBloom',3020 difficulty: 'U256',3021 number: 'U256',3022 gasLimit: 'U256',3023 gasUsed: 'U256',3024 timestamp: 'u64',3025 extraData: 'Bytes',3026 mixHash: 'H256',3027 nonce: 'EthereumTypesHashH64'3028 },3029 /**3030 * Lookup412: ethereum_types::hash::H643031 **/3032 EthereumTypesHashH64: '[u8;8]',3033 /**3034 * Lookup417: pallet_ethereum::pallet::Error<T>3035 **/3036 PalletEthereumError: {3037 _enum: ['InvalidSignature', 'PreLogExists']3038 },3039 /**3040 * Lookup418: pallet_evm_coder_substrate::pallet::Error<T>3041 **/3042 PalletEvmCoderSubstrateError: {3043 _enum: ['OutOfGas', 'OutOfFund']3044 },3045 /**3046 * Lookup419: pallet_evm_contract_helpers::SponsoringModeT3047 **/3048 PalletEvmContractHelpersSponsoringModeT: {3049 _enum: ['Disabled', 'Allowlisted', 'Generous']3050 },3051 /**3052 * Lookup421: pallet_evm_contract_helpers::pallet::Error<T>3053 **/3054 PalletEvmContractHelpersError: {3055 _enum: ['NoPermission']3056 },3057 /**3058 * Lookup422: pallet_evm_migration::pallet::Error<T>3059 **/3060 PalletEvmMigrationError: {3061 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3062 },3063 /**3064 * Lookup424: sp_runtime::MultiSignature3065 **/3066 SpRuntimeMultiSignature: {3067 _enum: {3068 Ed25519: 'SpCoreEd25519Signature',3069 Sr25519: 'SpCoreSr25519Signature',3070 Ecdsa: 'SpCoreEcdsaSignature'3071 }3072 },3073 /**3074 * Lookup425: sp_core::ed25519::Signature3075 **/3076 SpCoreEd25519Signature: '[u8;64]',3077 /**3078 * Lookup427: sp_core::sr25519::Signature3079 **/3080 SpCoreSr25519Signature: '[u8;64]',3081 /**3082 * Lookup428: sp_core::ecdsa::Signature3083 **/3084 SpCoreEcdsaSignature: '[u8;65]',3085 /**3086 * Lookup431: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3087 **/3088 FrameSystemExtensionsCheckSpecVersion: 'Null',3089 /**3090 * Lookup432: frame_system::extensions::check_genesis::CheckGenesis<T>3091 **/3092 FrameSystemExtensionsCheckGenesis: 'Null',3093 /**3094 * Lookup435: frame_system::extensions::check_nonce::CheckNonce<T>3095 **/3096 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3097 /**3098 * Lookup436: frame_system::extensions::check_weight::CheckWeight<T>3099 **/3100 FrameSystemExtensionsCheckWeight: 'Null',3101 /**3102 * Lookup437: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3103 **/3104 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3105 /**3106 * Lookup438: opal_runtime::Runtime3107 **/3108 OpalRuntimeRuntime: 'Null',3109 /**3110 * Lookup439: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3111 **/3112 PalletEthereumFakeTransactionFinalizer: 'Null'3113};1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup2: polkadot_primitives::v2::PersistedValidationData<primitive_types::H256, N>9 **/10 PolkadotPrimitivesV2PersistedValidationData: {11 parentHead: 'Bytes',12 relayParentNumber: 'u32',13 relayParentStorageRoot: 'H256',14 maxPovSize: 'u32'15 },16 /**17 * Lookup9: polkadot_primitives::v2::UpgradeRestriction18 **/19 PolkadotPrimitivesV2UpgradeRestriction: {20 _enum: ['Present']21 },22 /**23 * Lookup10: sp_trie::storage_proof::StorageProof24 **/25 SpTrieStorageProof: {26 trieNodes: 'BTreeSet<Bytes>'27 },28 /**29 * Lookup13: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot30 **/31 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {32 dmqMqcHead: 'H256',33 relayDispatchQueueSize: '(u32,u32)',34 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>',35 egressChannels: 'Vec<(u32,PolkadotPrimitivesV2AbridgedHrmpChannel)>'36 },37 /**38 * Lookup18: polkadot_primitives::v2::AbridgedHrmpChannel39 **/40 PolkadotPrimitivesV2AbridgedHrmpChannel: {41 maxCapacity: 'u32',42 maxTotalSize: 'u32',43 maxMessageSize: 'u32',44 msgCount: 'u32',45 totalSize: 'u32',46 mqcHead: 'Option<H256>'47 },48 /**49 * Lookup20: polkadot_primitives::v2::AbridgedHostConfiguration50 **/51 PolkadotPrimitivesV2AbridgedHostConfiguration: {52 maxCodeSize: 'u32',53 maxHeadDataSize: 'u32',54 maxUpwardQueueCount: 'u32',55 maxUpwardQueueSize: 'u32',56 maxUpwardMessageSize: 'u32',57 maxUpwardMessageNumPerCandidate: 'u32',58 hrmpMaxMessageNumPerCandidate: 'u32',59 validationUpgradeCooldown: 'u32',60 validationUpgradeDelay: 'u32'61 },62 /**63 * Lookup26: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>64 **/65 PolkadotCorePrimitivesOutboundHrmpMessage: {66 recipient: 'u32',67 data: 'Bytes'68 },69 /**70 * Lookup28: cumulus_pallet_parachain_system::pallet::Call<T>71 **/72 CumulusPalletParachainSystemCall: {73 _enum: {74 set_validation_data: {75 data: 'CumulusPrimitivesParachainInherentParachainInherentData',76 },77 sudo_send_upward_message: {78 message: 'Bytes',79 },80 authorize_upgrade: {81 codeHash: 'H256',82 },83 enact_authorized_upgrade: {84 code: 'Bytes'85 }86 }87 },88 /**89 * Lookup29: cumulus_primitives_parachain_inherent::ParachainInherentData90 **/91 CumulusPrimitivesParachainInherentParachainInherentData: {92 validationData: 'PolkadotPrimitivesV2PersistedValidationData',93 relayChainState: 'SpTrieStorageProof',94 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',95 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'96 },97 /**98 * Lookup31: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99 **/100 PolkadotCorePrimitivesInboundDownwardMessage: {101 sentAt: 'u32',102 msg: 'Bytes'103 },104 /**105 * Lookup34: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106 **/107 PolkadotCorePrimitivesInboundHrmpMessage: {108 sentAt: 'u32',109 data: 'Bytes'110 },111 /**112 * Lookup37: cumulus_pallet_parachain_system::pallet::Event<T>113 **/114 CumulusPalletParachainSystemEvent: {115 _enum: {116 ValidationFunctionStored: 'Null',117 ValidationFunctionApplied: 'u32',118 ValidationFunctionDiscarded: 'Null',119 UpgradeAuthorized: 'H256',120 DownwardMessagesReceived: 'u32',121 DownwardMessagesProcessed: '(u64,H256)'122 }123 },124 /**125 * Lookup38: cumulus_pallet_parachain_system::pallet::Error<T>126 **/127 CumulusPalletParachainSystemError: {128 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']129 },130 /**131 * Lookup41: pallet_balances::AccountData<Balance>132 **/133 PalletBalancesAccountData: {134 free: 'u128',135 reserved: 'u128',136 miscFrozen: 'u128',137 feeFrozen: 'u128'138 },139 /**140 * Lookup43: pallet_balances::BalanceLock<Balance>141 **/142 PalletBalancesBalanceLock: {143 id: '[u8;8]',144 amount: 'u128',145 reasons: 'PalletBalancesReasons'146 },147 /**148 * Lookup45: pallet_balances::Reasons149 **/150 PalletBalancesReasons: {151 _enum: ['Fee', 'Misc', 'All']152 },153 /**154 * Lookup48: pallet_balances::ReserveData<ReserveIdentifier, Balance>155 **/156 PalletBalancesReserveData: {157 id: '[u8;16]',158 amount: 'u128'159 },160 /**161 * Lookup51: pallet_balances::Releases162 **/163 PalletBalancesReleases: {164 _enum: ['V1_0_0', 'V2_0_0']165 },166 /**167 * Lookup52: pallet_balances::pallet::Call<T, I>168 **/169 PalletBalancesCall: {170 _enum: {171 transfer: {172 dest: 'MultiAddress',173 value: 'Compact<u128>',174 },175 set_balance: {176 who: 'MultiAddress',177 newFree: 'Compact<u128>',178 newReserved: 'Compact<u128>',179 },180 force_transfer: {181 source: 'MultiAddress',182 dest: 'MultiAddress',183 value: 'Compact<u128>',184 },185 transfer_keep_alive: {186 dest: 'MultiAddress',187 value: 'Compact<u128>',188 },189 transfer_all: {190 dest: 'MultiAddress',191 keepAlive: 'bool',192 },193 force_unreserve: {194 who: 'MultiAddress',195 amount: 'u128'196 }197 }198 },199 /**200 * Lookup58: pallet_balances::pallet::Event<T, I>201 **/202 PalletBalancesEvent: {203 _enum: {204 Endowed: {205 account: 'AccountId32',206 freeBalance: 'u128',207 },208 DustLost: {209 account: 'AccountId32',210 amount: 'u128',211 },212 Transfer: {213 from: 'AccountId32',214 to: 'AccountId32',215 amount: 'u128',216 },217 BalanceSet: {218 who: 'AccountId32',219 free: 'u128',220 reserved: 'u128',221 },222 Reserved: {223 who: 'AccountId32',224 amount: 'u128',225 },226 Unreserved: {227 who: 'AccountId32',228 amount: 'u128',229 },230 ReserveRepatriated: {231 from: 'AccountId32',232 to: 'AccountId32',233 amount: 'u128',234 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',235 },236 Deposit: {237 who: 'AccountId32',238 amount: 'u128',239 },240 Withdraw: {241 who: 'AccountId32',242 amount: 'u128',243 },244 Slashed: {245 who: 'AccountId32',246 amount: 'u128'247 }248 }249 },250 /**251 * Lookup59: frame_support::traits::tokens::misc::BalanceStatus252 **/253 FrameSupportTokensMiscBalanceStatus: {254 _enum: ['Free', 'Reserved']255 },256 /**257 * Lookup60: pallet_balances::pallet::Error<T, I>258 **/259 PalletBalancesError: {260 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']261 },262 /**263 * Lookup63: pallet_timestamp::pallet::Call<T>264 **/265 PalletTimestampCall: {266 _enum: {267 set: {268 now: 'Compact<u64>'269 }270 }271 },272 /**273 * Lookup66: pallet_transaction_payment::Releases274 **/275 PalletTransactionPaymentReleases: {276 _enum: ['V1Ancient', 'V2']277 },278 /**279 * Lookup68: frame_support::weights::WeightToFeeCoefficient<Balance>280 **/281 FrameSupportWeightsWeightToFeeCoefficient: {282 coeffInteger: 'u128',283 coeffFrac: 'Perbill',284 negative: 'bool',285 degree: 'u8'286 },287 /**288 * Lookup70: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289 **/290 PalletTreasuryProposal: {291 proposer: 'AccountId32',292 value: 'u128',293 beneficiary: 'AccountId32',294 bond: 'u128'295 },296 /**297 * Lookup73: pallet_treasury::pallet::Call<T, I>298 **/299 PalletTreasuryCall: {300 _enum: {301 propose_spend: {302 value: 'Compact<u128>',303 beneficiary: 'MultiAddress',304 },305 reject_proposal: {306 proposalId: 'Compact<u32>',307 },308 approve_proposal: {309 proposalId: 'Compact<u32>',310 },311 remove_approval: {312 proposalId: 'Compact<u32>'313 }314 }315 },316 /**317 * Lookup75: pallet_treasury::pallet::Event<T, I>318 **/319 PalletTreasuryEvent: {320 _enum: {321 Proposed: {322 proposalIndex: 'u32',323 },324 Spending: {325 budgetRemaining: 'u128',326 },327 Awarded: {328 proposalIndex: 'u32',329 award: 'u128',330 account: 'AccountId32',331 },332 Rejected: {333 proposalIndex: 'u32',334 slashed: 'u128',335 },336 Burnt: {337 burntFunds: 'u128',338 },339 Rollover: {340 rolloverBalance: 'u128',341 },342 Deposit: {343 value: 'u128'344 }345 }346 },347 /**348 * Lookup78: frame_support::PalletId349 **/350 FrameSupportPalletId: '[u8;8]',351 /**352 * Lookup79: pallet_treasury::pallet::Error<T, I>353 **/354 PalletTreasuryError: {355 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'ProposalNotApproved']356 },357 /**358 * Lookup80: pallet_sudo::pallet::Call<T>359 **/360 PalletSudoCall: {361 _enum: {362 sudo: {363 call: 'Call',364 },365 sudo_unchecked_weight: {366 call: 'Call',367 weight: 'u64',368 },369 set_key: {370 _alias: {371 new_: 'new',372 },373 new_: 'MultiAddress',374 },375 sudo_as: {376 who: 'MultiAddress',377 call: 'Call'378 }379 }380 },381 /**382 * Lookup82: frame_system::pallet::Call<T>383 **/384 FrameSystemCall: {385 _enum: {386 fill_block: {387 ratio: 'Perbill',388 },389 remark: {390 remark: 'Bytes',391 },392 set_heap_pages: {393 pages: 'u64',394 },395 set_code: {396 code: 'Bytes',397 },398 set_code_without_checks: {399 code: 'Bytes',400 },401 set_storage: {402 items: 'Vec<(Bytes,Bytes)>',403 },404 kill_storage: {405 _alias: {406 keys_: 'keys',407 },408 keys_: 'Vec<Bytes>',409 },410 kill_prefix: {411 prefix: 'Bytes',412 subkeys: 'u32',413 },414 remark_with_event: {415 remark: 'Bytes'416 }417 }418 },419 /**420 * Lookup85: orml_vesting::module::Call<T>421 **/422 OrmlVestingModuleCall: {423 _enum: {424 claim: 'Null',425 vested_transfer: {426 dest: 'MultiAddress',427 schedule: 'OrmlVestingVestingSchedule',428 },429 update_vesting_schedules: {430 who: 'MultiAddress',431 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',432 },433 claim_for: {434 dest: 'MultiAddress'435 }436 }437 },438 /**439 * Lookup86: orml_vesting::VestingSchedule<BlockNumber, Balance>440 **/441 OrmlVestingVestingSchedule: {442 start: 'u32',443 period: 'u32',444 periodCount: 'u32',445 perPeriod: 'Compact<u128>'446 },447 /**448 * Lookup88: cumulus_pallet_xcmp_queue::pallet::Call<T>449 **/450 CumulusPalletXcmpQueueCall: {451 _enum: {452 service_overweight: {453 index: 'u64',454 weightLimit: 'u64',455 },456 suspend_xcm_execution: 'Null',457 resume_xcm_execution: 'Null',458 update_suspend_threshold: {459 _alias: {460 new_: 'new',461 },462 new_: 'u32',463 },464 update_drop_threshold: {465 _alias: {466 new_: 'new',467 },468 new_: 'u32',469 },470 update_resume_threshold: {471 _alias: {472 new_: 'new',473 },474 new_: 'u32',475 },476 update_threshold_weight: {477 _alias: {478 new_: 'new',479 },480 new_: 'u64',481 },482 update_weight_restrict_decay: {483 _alias: {484 new_: 'new',485 },486 new_: 'u64',487 },488 update_xcmp_max_individual_weight: {489 _alias: {490 new_: 'new',491 },492 new_: 'u64'493 }494 }495 },496 /**497 * Lookup89: pallet_xcm::pallet::Call<T>498 **/499 PalletXcmCall: {500 _enum: {501 send: {502 dest: 'XcmVersionedMultiLocation',503 message: 'XcmVersionedXcm',504 },505 teleport_assets: {506 dest: 'XcmVersionedMultiLocation',507 beneficiary: 'XcmVersionedMultiLocation',508 assets: 'XcmVersionedMultiAssets',509 feeAssetItem: 'u32',510 },511 reserve_transfer_assets: {512 dest: 'XcmVersionedMultiLocation',513 beneficiary: 'XcmVersionedMultiLocation',514 assets: 'XcmVersionedMultiAssets',515 feeAssetItem: 'u32',516 },517 execute: {518 message: 'XcmVersionedXcm',519 maxWeight: 'u64',520 },521 force_xcm_version: {522 location: 'XcmV1MultiLocation',523 xcmVersion: 'u32',524 },525 force_default_xcm_version: {526 maybeXcmVersion: 'Option<u32>',527 },528 force_subscribe_version_notify: {529 location: 'XcmVersionedMultiLocation',530 },531 force_unsubscribe_version_notify: {532 location: 'XcmVersionedMultiLocation',533 },534 limited_reserve_transfer_assets: {535 dest: 'XcmVersionedMultiLocation',536 beneficiary: 'XcmVersionedMultiLocation',537 assets: 'XcmVersionedMultiAssets',538 feeAssetItem: 'u32',539 weightLimit: 'XcmV2WeightLimit',540 },541 limited_teleport_assets: {542 dest: 'XcmVersionedMultiLocation',543 beneficiary: 'XcmVersionedMultiLocation',544 assets: 'XcmVersionedMultiAssets',545 feeAssetItem: 'u32',546 weightLimit: 'XcmV2WeightLimit'547 }548 }549 },550 /**551 * Lookup90: xcm::VersionedMultiLocation552 **/553 XcmVersionedMultiLocation: {554 _enum: {555 V0: 'XcmV0MultiLocation',556 V1: 'XcmV1MultiLocation'557 }558 },559 /**560 * Lookup91: xcm::v0::multi_location::MultiLocation561 **/562 XcmV0MultiLocation: {563 _enum: {564 Null: 'Null',565 X1: 'XcmV0Junction',566 X2: '(XcmV0Junction,XcmV0Junction)',567 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',568 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',570 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',571 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',572 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'573 }574 },575 /**576 * Lookup92: xcm::v0::junction::Junction577 **/578 XcmV0Junction: {579 _enum: {580 Parent: 'Null',581 Parachain: 'Compact<u32>',582 AccountId32: {583 network: 'XcmV0JunctionNetworkId',584 id: '[u8;32]',585 },586 AccountIndex64: {587 network: 'XcmV0JunctionNetworkId',588 index: 'Compact<u64>',589 },590 AccountKey20: {591 network: 'XcmV0JunctionNetworkId',592 key: '[u8;20]',593 },594 PalletInstance: 'u8',595 GeneralIndex: 'Compact<u128>',596 GeneralKey: 'Bytes',597 OnlyChild: 'Null',598 Plurality: {599 id: 'XcmV0JunctionBodyId',600 part: 'XcmV0JunctionBodyPart'601 }602 }603 },604 /**605 * Lookup93: xcm::v0::junction::NetworkId606 **/607 XcmV0JunctionNetworkId: {608 _enum: {609 Any: 'Null',610 Named: 'Bytes',611 Polkadot: 'Null',612 Kusama: 'Null'613 }614 },615 /**616 * Lookup94: xcm::v0::junction::BodyId617 **/618 XcmV0JunctionBodyId: {619 _enum: {620 Unit: 'Null',621 Named: 'Bytes',622 Index: 'Compact<u32>',623 Executive: 'Null',624 Technical: 'Null',625 Legislative: 'Null',626 Judicial: 'Null'627 }628 },629 /**630 * Lookup95: xcm::v0::junction::BodyPart631 **/632 XcmV0JunctionBodyPart: {633 _enum: {634 Voice: 'Null',635 Members: {636 count: 'Compact<u32>',637 },638 Fraction: {639 nom: 'Compact<u32>',640 denom: 'Compact<u32>',641 },642 AtLeastProportion: {643 nom: 'Compact<u32>',644 denom: 'Compact<u32>',645 },646 MoreThanProportion: {647 nom: 'Compact<u32>',648 denom: 'Compact<u32>'649 }650 }651 },652 /**653 * Lookup96: xcm::v1::multilocation::MultiLocation654 **/655 XcmV1MultiLocation: {656 parents: 'u8',657 interior: 'XcmV1MultilocationJunctions'658 },659 /**660 * Lookup97: xcm::v1::multilocation::Junctions661 **/662 XcmV1MultilocationJunctions: {663 _enum: {664 Here: 'Null',665 X1: 'XcmV1Junction',666 X2: '(XcmV1Junction,XcmV1Junction)',667 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',668 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',670 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',671 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',672 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'673 }674 },675 /**676 * Lookup98: xcm::v1::junction::Junction677 **/678 XcmV1Junction: {679 _enum: {680 Parachain: 'Compact<u32>',681 AccountId32: {682 network: 'XcmV0JunctionNetworkId',683 id: '[u8;32]',684 },685 AccountIndex64: {686 network: 'XcmV0JunctionNetworkId',687 index: 'Compact<u64>',688 },689 AccountKey20: {690 network: 'XcmV0JunctionNetworkId',691 key: '[u8;20]',692 },693 PalletInstance: 'u8',694 GeneralIndex: 'Compact<u128>',695 GeneralKey: 'Bytes',696 OnlyChild: 'Null',697 Plurality: {698 id: 'XcmV0JunctionBodyId',699 part: 'XcmV0JunctionBodyPart'700 }701 }702 },703 /**704 * Lookup99: xcm::VersionedXcm<Call>705 **/706 XcmVersionedXcm: {707 _enum: {708 V0: 'XcmV0Xcm',709 V1: 'XcmV1Xcm',710 V2: 'XcmV2Xcm'711 }712 },713 /**714 * Lookup100: xcm::v0::Xcm<Call>715 **/716 XcmV0Xcm: {717 _enum: {718 WithdrawAsset: {719 assets: 'Vec<XcmV0MultiAsset>',720 effects: 'Vec<XcmV0Order>',721 },722 ReserveAssetDeposit: {723 assets: 'Vec<XcmV0MultiAsset>',724 effects: 'Vec<XcmV0Order>',725 },726 TeleportAsset: {727 assets: 'Vec<XcmV0MultiAsset>',728 effects: 'Vec<XcmV0Order>',729 },730 QueryResponse: {731 queryId: 'Compact<u64>',732 response: 'XcmV0Response',733 },734 TransferAsset: {735 assets: 'Vec<XcmV0MultiAsset>',736 dest: 'XcmV0MultiLocation',737 },738 TransferReserveAsset: {739 assets: 'Vec<XcmV0MultiAsset>',740 dest: 'XcmV0MultiLocation',741 effects: 'Vec<XcmV0Order>',742 },743 Transact: {744 originType: 'XcmV0OriginKind',745 requireWeightAtMost: 'u64',746 call: 'XcmDoubleEncoded',747 },748 HrmpNewChannelOpenRequest: {749 sender: 'Compact<u32>',750 maxMessageSize: 'Compact<u32>',751 maxCapacity: 'Compact<u32>',752 },753 HrmpChannelAccepted: {754 recipient: 'Compact<u32>',755 },756 HrmpChannelClosing: {757 initiator: 'Compact<u32>',758 sender: 'Compact<u32>',759 recipient: 'Compact<u32>',760 },761 RelayedFrom: {762 who: 'XcmV0MultiLocation',763 message: 'XcmV0Xcm'764 }765 }766 },767 /**768 * Lookup102: xcm::v0::multi_asset::MultiAsset769 **/770 XcmV0MultiAsset: {771 _enum: {772 None: 'Null',773 All: 'Null',774 AllFungible: 'Null',775 AllNonFungible: 'Null',776 AllAbstractFungible: {777 id: 'Bytes',778 },779 AllAbstractNonFungible: {780 class: 'Bytes',781 },782 AllConcreteFungible: {783 id: 'XcmV0MultiLocation',784 },785 AllConcreteNonFungible: {786 class: 'XcmV0MultiLocation',787 },788 AbstractFungible: {789 id: 'Bytes',790 amount: 'Compact<u128>',791 },792 AbstractNonFungible: {793 class: 'Bytes',794 instance: 'XcmV1MultiassetAssetInstance',795 },796 ConcreteFungible: {797 id: 'XcmV0MultiLocation',798 amount: 'Compact<u128>',799 },800 ConcreteNonFungible: {801 class: 'XcmV0MultiLocation',802 instance: 'XcmV1MultiassetAssetInstance'803 }804 }805 },806 /**807 * Lookup103: xcm::v1::multiasset::AssetInstance808 **/809 XcmV1MultiassetAssetInstance: {810 _enum: {811 Undefined: 'Null',812 Index: 'Compact<u128>',813 Array4: '[u8;4]',814 Array8: '[u8;8]',815 Array16: '[u8;16]',816 Array32: '[u8;32]',817 Blob: 'Bytes'818 }819 },820 /**821 * Lookup106: xcm::v0::order::Order<Call>822 **/823 XcmV0Order: {824 _enum: {825 Null: 'Null',826 DepositAsset: {827 assets: 'Vec<XcmV0MultiAsset>',828 dest: 'XcmV0MultiLocation',829 },830 DepositReserveAsset: {831 assets: 'Vec<XcmV0MultiAsset>',832 dest: 'XcmV0MultiLocation',833 effects: 'Vec<XcmV0Order>',834 },835 ExchangeAsset: {836 give: 'Vec<XcmV0MultiAsset>',837 receive: 'Vec<XcmV0MultiAsset>',838 },839 InitiateReserveWithdraw: {840 assets: 'Vec<XcmV0MultiAsset>',841 reserve: 'XcmV0MultiLocation',842 effects: 'Vec<XcmV0Order>',843 },844 InitiateTeleport: {845 assets: 'Vec<XcmV0MultiAsset>',846 dest: 'XcmV0MultiLocation',847 effects: 'Vec<XcmV0Order>',848 },849 QueryHolding: {850 queryId: 'Compact<u64>',851 dest: 'XcmV0MultiLocation',852 assets: 'Vec<XcmV0MultiAsset>',853 },854 BuyExecution: {855 fees: 'XcmV0MultiAsset',856 weight: 'u64',857 debt: 'u64',858 haltOnError: 'bool',859 xcm: 'Vec<XcmV0Xcm>'860 }861 }862 },863 /**864 * Lookup108: xcm::v0::Response865 **/866 XcmV0Response: {867 _enum: {868 Assets: 'Vec<XcmV0MultiAsset>'869 }870 },871 /**872 * Lookup109: xcm::v0::OriginKind873 **/874 XcmV0OriginKind: {875 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']876 },877 /**878 * Lookup110: xcm::double_encoded::DoubleEncoded<T>879 **/880 XcmDoubleEncoded: {881 encoded: 'Bytes'882 },883 /**884 * Lookup111: xcm::v1::Xcm<Call>885 **/886 XcmV1Xcm: {887 _enum: {888 WithdrawAsset: {889 assets: 'XcmV1MultiassetMultiAssets',890 effects: 'Vec<XcmV1Order>',891 },892 ReserveAssetDeposited: {893 assets: 'XcmV1MultiassetMultiAssets',894 effects: 'Vec<XcmV1Order>',895 },896 ReceiveTeleportedAsset: {897 assets: 'XcmV1MultiassetMultiAssets',898 effects: 'Vec<XcmV1Order>',899 },900 QueryResponse: {901 queryId: 'Compact<u64>',902 response: 'XcmV1Response',903 },904 TransferAsset: {905 assets: 'XcmV1MultiassetMultiAssets',906 beneficiary: 'XcmV1MultiLocation',907 },908 TransferReserveAsset: {909 assets: 'XcmV1MultiassetMultiAssets',910 dest: 'XcmV1MultiLocation',911 effects: 'Vec<XcmV1Order>',912 },913 Transact: {914 originType: 'XcmV0OriginKind',915 requireWeightAtMost: 'u64',916 call: 'XcmDoubleEncoded',917 },918 HrmpNewChannelOpenRequest: {919 sender: 'Compact<u32>',920 maxMessageSize: 'Compact<u32>',921 maxCapacity: 'Compact<u32>',922 },923 HrmpChannelAccepted: {924 recipient: 'Compact<u32>',925 },926 HrmpChannelClosing: {927 initiator: 'Compact<u32>',928 sender: 'Compact<u32>',929 recipient: 'Compact<u32>',930 },931 RelayedFrom: {932 who: 'XcmV1MultilocationJunctions',933 message: 'XcmV1Xcm',934 },935 SubscribeVersion: {936 queryId: 'Compact<u64>',937 maxResponseWeight: 'Compact<u64>',938 },939 UnsubscribeVersion: 'Null'940 }941 },942 /**943 * Lookup112: xcm::v1::multiasset::MultiAssets944 **/945 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',946 /**947 * Lookup114: xcm::v1::multiasset::MultiAsset948 **/949 XcmV1MultiAsset: {950 id: 'XcmV1MultiassetAssetId',951 fun: 'XcmV1MultiassetFungibility'952 },953 /**954 * Lookup115: xcm::v1::multiasset::AssetId955 **/956 XcmV1MultiassetAssetId: {957 _enum: {958 Concrete: 'XcmV1MultiLocation',959 Abstract: 'Bytes'960 }961 },962 /**963 * Lookup116: xcm::v1::multiasset::Fungibility964 **/965 XcmV1MultiassetFungibility: {966 _enum: {967 Fungible: 'Compact<u128>',968 NonFungible: 'XcmV1MultiassetAssetInstance'969 }970 },971 /**972 * Lookup118: xcm::v1::order::Order<Call>973 **/974 XcmV1Order: {975 _enum: {976 Noop: 'Null',977 DepositAsset: {978 assets: 'XcmV1MultiassetMultiAssetFilter',979 maxAssets: 'u32',980 beneficiary: 'XcmV1MultiLocation',981 },982 DepositReserveAsset: {983 assets: 'XcmV1MultiassetMultiAssetFilter',984 maxAssets: 'u32',985 dest: 'XcmV1MultiLocation',986 effects: 'Vec<XcmV1Order>',987 },988 ExchangeAsset: {989 give: 'XcmV1MultiassetMultiAssetFilter',990 receive: 'XcmV1MultiassetMultiAssets',991 },992 InitiateReserveWithdraw: {993 assets: 'XcmV1MultiassetMultiAssetFilter',994 reserve: 'XcmV1MultiLocation',995 effects: 'Vec<XcmV1Order>',996 },997 InitiateTeleport: {998 assets: 'XcmV1MultiassetMultiAssetFilter',999 dest: 'XcmV1MultiLocation',1000 effects: 'Vec<XcmV1Order>',1001 },1002 QueryHolding: {1003 queryId: 'Compact<u64>',1004 dest: 'XcmV1MultiLocation',1005 assets: 'XcmV1MultiassetMultiAssetFilter',1006 },1007 BuyExecution: {1008 fees: 'XcmV1MultiAsset',1009 weight: 'u64',1010 debt: 'u64',1011 haltOnError: 'bool',1012 instructions: 'Vec<XcmV1Xcm>'1013 }1014 }1015 },1016 /**1017 * Lookup119: xcm::v1::multiasset::MultiAssetFilter1018 **/1019 XcmV1MultiassetMultiAssetFilter: {1020 _enum: {1021 Definite: 'XcmV1MultiassetMultiAssets',1022 Wild: 'XcmV1MultiassetWildMultiAsset'1023 }1024 },1025 /**1026 * Lookup120: xcm::v1::multiasset::WildMultiAsset1027 **/1028 XcmV1MultiassetWildMultiAsset: {1029 _enum: {1030 All: 'Null',1031 AllOf: {1032 id: 'XcmV1MultiassetAssetId',1033 fun: 'XcmV1MultiassetWildFungibility'1034 }1035 }1036 },1037 /**1038 * Lookup121: xcm::v1::multiasset::WildFungibility1039 **/1040 XcmV1MultiassetWildFungibility: {1041 _enum: ['Fungible', 'NonFungible']1042 },1043 /**1044 * Lookup123: xcm::v1::Response1045 **/1046 XcmV1Response: {1047 _enum: {1048 Assets: 'XcmV1MultiassetMultiAssets',1049 Version: 'u32'1050 }1051 },1052 /**1053 * Lookup124: xcm::v2::Xcm<Call>1054 **/1055 XcmV2Xcm: 'Vec<XcmV2Instruction>',1056 /**1057 * Lookup126: xcm::v2::Instruction<Call>1058 **/1059 XcmV2Instruction: {1060 _enum: {1061 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1062 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1063 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1064 QueryResponse: {1065 queryId: 'Compact<u64>',1066 response: 'XcmV2Response',1067 maxWeight: 'Compact<u64>',1068 },1069 TransferAsset: {1070 assets: 'XcmV1MultiassetMultiAssets',1071 beneficiary: 'XcmV1MultiLocation',1072 },1073 TransferReserveAsset: {1074 assets: 'XcmV1MultiassetMultiAssets',1075 dest: 'XcmV1MultiLocation',1076 xcm: 'XcmV2Xcm',1077 },1078 Transact: {1079 originType: 'XcmV0OriginKind',1080 requireWeightAtMost: 'Compact<u64>',1081 call: 'XcmDoubleEncoded',1082 },1083 HrmpNewChannelOpenRequest: {1084 sender: 'Compact<u32>',1085 maxMessageSize: 'Compact<u32>',1086 maxCapacity: 'Compact<u32>',1087 },1088 HrmpChannelAccepted: {1089 recipient: 'Compact<u32>',1090 },1091 HrmpChannelClosing: {1092 initiator: 'Compact<u32>',1093 sender: 'Compact<u32>',1094 recipient: 'Compact<u32>',1095 },1096 ClearOrigin: 'Null',1097 DescendOrigin: 'XcmV1MultilocationJunctions',1098 ReportError: {1099 queryId: 'Compact<u64>',1100 dest: 'XcmV1MultiLocation',1101 maxResponseWeight: 'Compact<u64>',1102 },1103 DepositAsset: {1104 assets: 'XcmV1MultiassetMultiAssetFilter',1105 maxAssets: 'Compact<u32>',1106 beneficiary: 'XcmV1MultiLocation',1107 },1108 DepositReserveAsset: {1109 assets: 'XcmV1MultiassetMultiAssetFilter',1110 maxAssets: 'Compact<u32>',1111 dest: 'XcmV1MultiLocation',1112 xcm: 'XcmV2Xcm',1113 },1114 ExchangeAsset: {1115 give: 'XcmV1MultiassetMultiAssetFilter',1116 receive: 'XcmV1MultiassetMultiAssets',1117 },1118 InitiateReserveWithdraw: {1119 assets: 'XcmV1MultiassetMultiAssetFilter',1120 reserve: 'XcmV1MultiLocation',1121 xcm: 'XcmV2Xcm',1122 },1123 InitiateTeleport: {1124 assets: 'XcmV1MultiassetMultiAssetFilter',1125 dest: 'XcmV1MultiLocation',1126 xcm: 'XcmV2Xcm',1127 },1128 QueryHolding: {1129 queryId: 'Compact<u64>',1130 dest: 'XcmV1MultiLocation',1131 assets: 'XcmV1MultiassetMultiAssetFilter',1132 maxResponseWeight: 'Compact<u64>',1133 },1134 BuyExecution: {1135 fees: 'XcmV1MultiAsset',1136 weightLimit: 'XcmV2WeightLimit',1137 },1138 RefundSurplus: 'Null',1139 SetErrorHandler: 'XcmV2Xcm',1140 SetAppendix: 'XcmV2Xcm',1141 ClearError: 'Null',1142 ClaimAsset: {1143 assets: 'XcmV1MultiassetMultiAssets',1144 ticket: 'XcmV1MultiLocation',1145 },1146 Trap: 'Compact<u64>',1147 SubscribeVersion: {1148 queryId: 'Compact<u64>',1149 maxResponseWeight: 'Compact<u64>',1150 },1151 UnsubscribeVersion: 'Null'1152 }1153 },1154 /**1155 * Lookup127: xcm::v2::Response1156 **/1157 XcmV2Response: {1158 _enum: {1159 Null: 'Null',1160 Assets: 'XcmV1MultiassetMultiAssets',1161 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1162 Version: 'u32'1163 }1164 },1165 /**1166 * Lookup130: xcm::v2::traits::Error1167 **/1168 XcmV2TraitsError: {1169 _enum: {1170 Overflow: 'Null',1171 Unimplemented: 'Null',1172 UntrustedReserveLocation: 'Null',1173 UntrustedTeleportLocation: 'Null',1174 MultiLocationFull: 'Null',1175 MultiLocationNotInvertible: 'Null',1176 BadOrigin: 'Null',1177 InvalidLocation: 'Null',1178 AssetNotFound: 'Null',1179 FailedToTransactAsset: 'Null',1180 NotWithdrawable: 'Null',1181 LocationCannotHold: 'Null',1182 ExceedsMaxMessageSize: 'Null',1183 DestinationUnsupported: 'Null',1184 Transport: 'Null',1185 Unroutable: 'Null',1186 UnknownClaim: 'Null',1187 FailedToDecode: 'Null',1188 MaxWeightInvalid: 'Null',1189 NotHoldingFees: 'Null',1190 TooExpensive: 'Null',1191 Trap: 'u64',1192 UnhandledXcmVersion: 'Null',1193 WeightLimitReached: 'u64',1194 Barrier: 'Null',1195 WeightNotComputable: 'Null'1196 }1197 },1198 /**1199 * Lookup131: xcm::v2::WeightLimit1200 **/1201 XcmV2WeightLimit: {1202 _enum: {1203 Unlimited: 'Null',1204 Limited: 'Compact<u64>'1205 }1206 },1207 /**1208 * Lookup132: xcm::VersionedMultiAssets1209 **/1210 XcmVersionedMultiAssets: {1211 _enum: {1212 V0: 'Vec<XcmV0MultiAsset>',1213 V1: 'XcmV1MultiassetMultiAssets'1214 }1215 },1216 /**1217 * Lookup147: cumulus_pallet_xcm::pallet::Call<T>1218 **/1219 CumulusPalletXcmCall: 'Null',1220 /**1221 * Lookup148: cumulus_pallet_dmp_queue::pallet::Call<T>1222 **/1223 CumulusPalletDmpQueueCall: {1224 _enum: {1225 service_overweight: {1226 index: 'u64',1227 weightLimit: 'u64'1228 }1229 }1230 },1231 /**1232 * Lookup149: pallet_inflation::pallet::Call<T>1233 **/1234 PalletInflationCall: {1235 _enum: {1236 start_inflation: {1237 inflationStartRelayBlock: 'u32'1238 }1239 }1240 },1241 /**1242 * Lookup150: pallet_unique::Call<T>1243 **/1244 PalletUniqueCall: {1245 _enum: {1246 create_collection: {1247 collectionName: 'Vec<u16>',1248 collectionDescription: 'Vec<u16>',1249 tokenPrefix: 'Bytes',1250 mode: 'UpDataStructsCollectionMode',1251 },1252 create_collection_ex: {1253 data: 'UpDataStructsCreateCollectionData',1254 },1255 destroy_collection: {1256 collectionId: 'u32',1257 },1258 add_to_allow_list: {1259 collectionId: 'u32',1260 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1261 },1262 remove_from_allow_list: {1263 collectionId: 'u32',1264 address: 'PalletEvmAccountBasicCrossAccountIdRepr',1265 },1266 change_collection_owner: {1267 collectionId: 'u32',1268 newOwner: 'AccountId32',1269 },1270 add_collection_admin: {1271 collectionId: 'u32',1272 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1273 },1274 remove_collection_admin: {1275 collectionId: 'u32',1276 accountId: 'PalletEvmAccountBasicCrossAccountIdRepr',1277 },1278 set_collection_sponsor: {1279 collectionId: 'u32',1280 newSponsor: 'AccountId32',1281 },1282 confirm_sponsorship: {1283 collectionId: 'u32',1284 },1285 remove_collection_sponsor: {1286 collectionId: 'u32',1287 },1288 create_item: {1289 collectionId: 'u32',1290 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1291 data: 'UpDataStructsCreateItemData',1292 },1293 create_multiple_items: {1294 collectionId: 'u32',1295 owner: 'PalletEvmAccountBasicCrossAccountIdRepr',1296 itemsData: 'Vec<UpDataStructsCreateItemData>',1297 },1298 set_collection_properties: {1299 collectionId: 'u32',1300 properties: 'Vec<UpDataStructsProperty>',1301 },1302 delete_collection_properties: {1303 collectionId: 'u32',1304 propertyKeys: 'Vec<Bytes>',1305 },1306 set_token_properties: {1307 collectionId: 'u32',1308 tokenId: 'u32',1309 properties: 'Vec<UpDataStructsProperty>',1310 },1311 delete_token_properties: {1312 collectionId: 'u32',1313 tokenId: 'u32',1314 propertyKeys: 'Vec<Bytes>',1315 },1316 set_property_permissions: {1317 collectionId: 'u32',1318 propertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1319 },1320 create_multiple_items_ex: {1321 collectionId: 'u32',1322 data: 'UpDataStructsCreateItemExData',1323 },1324 set_transfers_enabled_flag: {1325 collectionId: 'u32',1326 value: 'bool',1327 },1328 burn_item: {1329 collectionId: 'u32',1330 itemId: 'u32',1331 value: 'u128',1332 },1333 burn_from: {1334 collectionId: 'u32',1335 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1336 itemId: 'u32',1337 value: 'u128',1338 },1339 transfer: {1340 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1341 collectionId: 'u32',1342 itemId: 'u32',1343 value: 'u128',1344 },1345 approve: {1346 spender: 'PalletEvmAccountBasicCrossAccountIdRepr',1347 collectionId: 'u32',1348 itemId: 'u32',1349 amount: 'u128',1350 },1351 transfer_from: {1352 from: 'PalletEvmAccountBasicCrossAccountIdRepr',1353 recipient: 'PalletEvmAccountBasicCrossAccountIdRepr',1354 collectionId: 'u32',1355 itemId: 'u32',1356 value: 'u128',1357 },1358 set_collection_limits: {1359 collectionId: 'u32',1360 newLimit: 'UpDataStructsCollectionLimits',1361 },1362 set_collection_permissions: {1363 collectionId: 'u32',1364 newLimit: 'UpDataStructsCollectionPermissions'1365 }1366 }1367 },1368 /**1369 * Lookup156: up_data_structs::CollectionMode1370 **/1371 UpDataStructsCollectionMode: {1372 _enum: {1373 NFT: 'Null',1374 Fungible: 'u8',1375 ReFungible: 'Null'1376 }1377 },1378 /**1379 * Lookup157: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1380 **/1381 UpDataStructsCreateCollectionData: {1382 mode: 'UpDataStructsCollectionMode',1383 access: 'Option<UpDataStructsAccessMode>',1384 name: 'Vec<u16>',1385 description: 'Vec<u16>',1386 tokenPrefix: 'Bytes',1387 pendingSponsor: 'Option<AccountId32>',1388 limits: 'Option<UpDataStructsCollectionLimits>',1389 permissions: 'Option<UpDataStructsCollectionPermissions>',1390 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',1391 properties: 'Vec<UpDataStructsProperty>'1392 },1393 /**1394 * Lookup159: up_data_structs::AccessMode1395 **/1396 UpDataStructsAccessMode: {1397 _enum: ['Normal', 'AllowList']1398 },1399 /**1400 * Lookup162: up_data_structs::CollectionLimits1401 **/1402 UpDataStructsCollectionLimits: {1403 accountTokenOwnershipLimit: 'Option<u32>',1404 sponsoredDataSize: 'Option<u32>',1405 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1406 tokenLimit: 'Option<u32>',1407 sponsorTransferTimeout: 'Option<u32>',1408 sponsorApproveTimeout: 'Option<u32>',1409 ownerCanTransfer: 'Option<bool>',1410 ownerCanDestroy: 'Option<bool>',1411 transfersEnabled: 'Option<bool>'1412 },1413 /**1414 * Lookup164: up_data_structs::SponsoringRateLimit1415 **/1416 UpDataStructsSponsoringRateLimit: {1417 _enum: {1418 SponsoringDisabled: 'Null',1419 Blocks: 'u32'1420 }1421 },1422 /**1423 * Lookup167: up_data_structs::CollectionPermissions1424 **/1425 UpDataStructsCollectionPermissions: {1426 access: 'Option<UpDataStructsAccessMode>',1427 mintMode: 'Option<bool>',1428 nesting: 'Option<UpDataStructsNestingPermissions>'1429 },1430 /**1431 * Lookup169: up_data_structs::NestingPermissions1432 **/1433 UpDataStructsNestingPermissions: {1434 tokenOwner: 'bool',1435 admin: 'bool',1436 restricted: 'Option<UpDataStructsOwnerRestrictedSet>',1437 permissive: 'bool'1438 },1439 /**1440 * Lookup171: up_data_structs::OwnerRestrictedSet1441 **/1442 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',1443 /**1444 * Lookup177: up_data_structs::PropertyKeyPermission1445 **/1446 UpDataStructsPropertyKeyPermission: {1447 key: 'Bytes',1448 permission: 'UpDataStructsPropertyPermission'1449 },1450 /**1451 * Lookup179: up_data_structs::PropertyPermission1452 **/1453 UpDataStructsPropertyPermission: {1454 mutable: 'bool',1455 collectionAdmin: 'bool',1456 tokenOwner: 'bool'1457 },1458 /**1459 * Lookup182: up_data_structs::Property1460 **/1461 UpDataStructsProperty: {1462 key: 'Bytes',1463 value: 'Bytes'1464 },1465 /**1466 * Lookup185: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1467 **/1468 PalletEvmAccountBasicCrossAccountIdRepr: {1469 _enum: {1470 Substrate: 'AccountId32',1471 Ethereum: 'H160'1472 }1473 },1474 /**1475 * Lookup187: up_data_structs::CreateItemData1476 **/1477 UpDataStructsCreateItemData: {1478 _enum: {1479 NFT: 'UpDataStructsCreateNftData',1480 Fungible: 'UpDataStructsCreateFungibleData',1481 ReFungible: 'UpDataStructsCreateReFungibleData'1482 }1483 },1484 /**1485 * Lookup188: up_data_structs::CreateNftData1486 **/1487 UpDataStructsCreateNftData: {1488 properties: 'Vec<UpDataStructsProperty>'1489 },1490 /**1491 * Lookup189: up_data_structs::CreateFungibleData1492 **/1493 UpDataStructsCreateFungibleData: {1494 value: 'u128'1495 },1496 /**1497 * Lookup190: up_data_structs::CreateReFungibleData1498 **/1499 UpDataStructsCreateReFungibleData: {1500 constData: 'Bytes',1501 pieces: 'u128'1502 },1503 /**1504 * Lookup195: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1505 **/1506 UpDataStructsCreateItemExData: {1507 _enum: {1508 NFT: 'Vec<UpDataStructsCreateNftExData>',1509 Fungible: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',1510 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1511 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1512 }1513 },1514 /**1515 * Lookup197: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1516 **/1517 UpDataStructsCreateNftExData: {1518 properties: 'Vec<UpDataStructsProperty>',1519 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1520 },1521 /**1522 * Lookup204: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1523 **/1524 UpDataStructsCreateRefungibleExData: {1525 constData: 'Bytes',1526 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1527 },1528 /**1529 * Lookup206: pallet_unique_scheduler::pallet::Call<T>1530 **/1531 PalletUniqueSchedulerCall: {1532 _enum: {1533 schedule_named: {1534 id: '[u8;16]',1535 when: 'u32',1536 maybePeriodic: 'Option<(u32,u32)>',1537 priority: 'u8',1538 call: 'FrameSupportScheduleMaybeHashed',1539 },1540 cancel_named: {1541 id: '[u8;16]',1542 },1543 schedule_named_after: {1544 id: '[u8;16]',1545 after: 'u32',1546 maybePeriodic: 'Option<(u32,u32)>',1547 priority: 'u8',1548 call: 'FrameSupportScheduleMaybeHashed'1549 }1550 }1551 },1552 /**1553 * Lookup208: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1554 **/1555 FrameSupportScheduleMaybeHashed: {1556 _enum: {1557 Value: 'Call',1558 Hash: 'H256'1559 }1560 },1561 /**1562 * Lookup209: pallet_template_transaction_payment::Call<T>1563 **/1564 PalletTemplateTransactionPaymentCall: 'Null',1565 /**1566 * Lookup210: pallet_structure::pallet::Call<T>1567 **/1568 PalletStructureCall: 'Null',1569 /**1570 * Lookup211: pallet_rmrk_core::pallet::Call<T>1571 **/1572 PalletRmrkCoreCall: {1573 _enum: {1574 create_collection: {1575 metadata: 'Bytes',1576 max: 'Option<u32>',1577 symbol: 'Bytes',1578 },1579 destroy_collection: {1580 collectionId: 'u32',1581 },1582 change_collection_issuer: {1583 collectionId: 'u32',1584 newIssuer: 'MultiAddress',1585 },1586 lock_collection: {1587 collectionId: 'u32',1588 },1589 mint_nft: {1590 owner: 'AccountId32',1591 collectionId: 'u32',1592 recipient: 'Option<AccountId32>',1593 royaltyAmount: 'Option<Permill>',1594 metadata: 'Bytes',1595 transferable: 'bool',1596 },1597 burn_nft: {1598 collectionId: 'u32',1599 nftId: 'u32',1600 },1601 send: {1602 rmrkCollectionId: 'u32',1603 rmrkNftId: 'u32',1604 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1605 },1606 accept_nft: {1607 rmrkCollectionId: 'u32',1608 rmrkNftId: 'u32',1609 newOwner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',1610 },1611 reject_nft: {1612 rmrkCollectionId: 'u32',1613 rmrkNftId: 'u32',1614 },1615 accept_resource: {1616 rmrkCollectionId: 'u32',1617 rmrkNftId: 'u32',1618 rmrkResourceId: 'u32',1619 },1620 accept_resource_removal: {1621 rmrkCollectionId: 'u32',1622 rmrkNftId: 'u32',1623 rmrkResourceId: 'u32',1624 },1625 set_property: {1626 rmrkCollectionId: 'Compact<u32>',1627 maybeNftId: 'Option<u32>',1628 key: 'Bytes',1629 value: 'Bytes',1630 },1631 set_priority: {1632 rmrkCollectionId: 'u32',1633 rmrkNftId: 'u32',1634 priorities: 'Vec<u32>',1635 },1636 add_basic_resource: {1637 rmrkCollectionId: 'u32',1638 nftId: 'u32',1639 resource: 'RmrkTraitsResourceBasicResource',1640 },1641 add_composable_resource: {1642 rmrkCollectionId: 'u32',1643 nftId: 'u32',1644 resourceId: 'Bytes',1645 resource: 'RmrkTraitsResourceComposableResource',1646 },1647 add_slot_resource: {1648 rmrkCollectionId: 'u32',1649 nftId: 'u32',1650 resource: 'RmrkTraitsResourceSlotResource',1651 },1652 remove_resource: {1653 rmrkCollectionId: 'u32',1654 nftId: 'u32',1655 resourceId: 'u32'1656 }1657 }1658 },1659 /**1660 * Lookup215: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1661 **/1662 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1663 _enum: {1664 AccountId: 'AccountId32',1665 CollectionAndNftTuple: '(u32,u32)'1666 }1667 },1668 /**1669 * Lookup219: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1670 **/1671 RmrkTraitsResourceBasicResource: {1672 src: 'Option<Bytes>',1673 metadata: 'Option<Bytes>',1674 license: 'Option<Bytes>',1675 thumb: 'Option<Bytes>'1676 },1677 /**1678 * Lookup222: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1679 **/1680 RmrkTraitsResourceComposableResource: {1681 parts: 'Vec<u32>',1682 base: 'u32',1683 src: 'Option<Bytes>',1684 metadata: 'Option<Bytes>',1685 license: 'Option<Bytes>',1686 thumb: 'Option<Bytes>'1687 },1688 /**1689 * Lookup224: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1690 **/1691 RmrkTraitsResourceSlotResource: {1692 base: 'u32',1693 src: 'Option<Bytes>',1694 metadata: 'Option<Bytes>',1695 slot: 'u32',1696 license: 'Option<Bytes>',1697 thumb: 'Option<Bytes>'1698 },1699 /**1700 * Lookup225: pallet_rmrk_equip::pallet::Call<T>1701 **/1702 PalletRmrkEquipCall: {1703 _enum: {1704 create_base: {1705 baseType: 'Bytes',1706 symbol: 'Bytes',1707 parts: 'Vec<RmrkTraitsPartPartType>',1708 },1709 theme_add: {1710 baseId: 'u32',1711 theme: 'RmrkTraitsTheme'1712 }1713 }1714 },1715 /**1716 * Lookup227: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1717 **/1718 RmrkTraitsPartPartType: {1719 _enum: {1720 FixedPart: 'RmrkTraitsPartFixedPart',1721 SlotPart: 'RmrkTraitsPartSlotPart'1722 }1723 },1724 /**1725 * Lookup229: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1726 **/1727 RmrkTraitsPartFixedPart: {1728 id: 'u32',1729 z: 'u32',1730 src: 'Bytes'1731 },1732 /**1733 * Lookup230: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1734 **/1735 RmrkTraitsPartSlotPart: {1736 id: 'u32',1737 equippable: 'RmrkTraitsPartEquippableList',1738 src: 'Bytes',1739 z: 'u32'1740 },1741 /**1742 * Lookup231: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1743 **/1744 RmrkTraitsPartEquippableList: {1745 _enum: {1746 All: 'Null',1747 Empty: 'Null',1748 Custom: 'Vec<u32>'1749 }1750 },1751 /**1752 * Lookup233: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1753 **/1754 RmrkTraitsTheme: {1755 name: 'Bytes',1756 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1757 inherit: 'bool'1758 },1759 /**1760 * Lookup235: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1761 **/1762 RmrkTraitsThemeThemeProperty: {1763 key: 'Bytes',1764 value: 'Bytes'1765 },1766 /**1767 * Lookup236: pallet_evm::pallet::Call<T>1768 **/1769 PalletEvmCall: {1770 _enum: {1771 withdraw: {1772 address: 'H160',1773 value: 'u128',1774 },1775 call: {1776 source: 'H160',1777 target: 'H160',1778 input: 'Bytes',1779 value: 'U256',1780 gasLimit: 'u64',1781 maxFeePerGas: 'U256',1782 maxPriorityFeePerGas: 'Option<U256>',1783 nonce: 'Option<U256>',1784 accessList: 'Vec<(H160,Vec<H256>)>',1785 },1786 create: {1787 source: 'H160',1788 init: 'Bytes',1789 value: 'U256',1790 gasLimit: 'u64',1791 maxFeePerGas: 'U256',1792 maxPriorityFeePerGas: 'Option<U256>',1793 nonce: 'Option<U256>',1794 accessList: 'Vec<(H160,Vec<H256>)>',1795 },1796 create2: {1797 source: 'H160',1798 init: 'Bytes',1799 salt: 'H256',1800 value: 'U256',1801 gasLimit: 'u64',1802 maxFeePerGas: 'U256',1803 maxPriorityFeePerGas: 'Option<U256>',1804 nonce: 'Option<U256>',1805 accessList: 'Vec<(H160,Vec<H256>)>'1806 }1807 }1808 },1809 /**1810 * Lookup242: pallet_ethereum::pallet::Call<T>1811 **/1812 PalletEthereumCall: {1813 _enum: {1814 transact: {1815 transaction: 'EthereumTransactionTransactionV2'1816 }1817 }1818 },1819 /**1820 * Lookup243: ethereum::transaction::TransactionV21821 **/1822 EthereumTransactionTransactionV2: {1823 _enum: {1824 Legacy: 'EthereumTransactionLegacyTransaction',1825 EIP2930: 'EthereumTransactionEip2930Transaction',1826 EIP1559: 'EthereumTransactionEip1559Transaction'1827 }1828 },1829 /**1830 * Lookup244: ethereum::transaction::LegacyTransaction1831 **/1832 EthereumTransactionLegacyTransaction: {1833 nonce: 'U256',1834 gasPrice: 'U256',1835 gasLimit: 'U256',1836 action: 'EthereumTransactionTransactionAction',1837 value: 'U256',1838 input: 'Bytes',1839 signature: 'EthereumTransactionTransactionSignature'1840 },1841 /**1842 * Lookup245: ethereum::transaction::TransactionAction1843 **/1844 EthereumTransactionTransactionAction: {1845 _enum: {1846 Call: 'H160',1847 Create: 'Null'1848 }1849 },1850 /**1851 * Lookup246: ethereum::transaction::TransactionSignature1852 **/1853 EthereumTransactionTransactionSignature: {1854 v: 'u64',1855 r: 'H256',1856 s: 'H256'1857 },1858 /**1859 * Lookup248: ethereum::transaction::EIP2930Transaction1860 **/1861 EthereumTransactionEip2930Transaction: {1862 chainId: 'u64',1863 nonce: 'U256',1864 gasPrice: 'U256',1865 gasLimit: 'U256',1866 action: 'EthereumTransactionTransactionAction',1867 value: 'U256',1868 input: 'Bytes',1869 accessList: 'Vec<EthereumTransactionAccessListItem>',1870 oddYParity: 'bool',1871 r: 'H256',1872 s: 'H256'1873 },1874 /**1875 * Lookup250: ethereum::transaction::AccessListItem1876 **/1877 EthereumTransactionAccessListItem: {1878 address: 'H160',1879 storageKeys: 'Vec<H256>'1880 },1881 /**1882 * Lookup251: ethereum::transaction::EIP1559Transaction1883 **/1884 EthereumTransactionEip1559Transaction: {1885 chainId: 'u64',1886 nonce: 'U256',1887 maxPriorityFeePerGas: 'U256',1888 maxFeePerGas: 'U256',1889 gasLimit: 'U256',1890 action: 'EthereumTransactionTransactionAction',1891 value: 'U256',1892 input: 'Bytes',1893 accessList: 'Vec<EthereumTransactionAccessListItem>',1894 oddYParity: 'bool',1895 r: 'H256',1896 s: 'H256'1897 },1898 /**1899 * Lookup252: pallet_evm_migration::pallet::Call<T>1900 **/1901 PalletEvmMigrationCall: {1902 _enum: {1903 begin: {1904 address: 'H160',1905 },1906 set_data: {1907 address: 'H160',1908 data: 'Vec<(H256,H256)>',1909 },1910 finish: {1911 address: 'H160',1912 code: 'Bytes'1913 }1914 }1915 },1916 /**1917 * Lookup255: pallet_sudo::pallet::Event<T>1918 **/1919 PalletSudoEvent: {1920 _enum: {1921 Sudid: {1922 sudoResult: 'Result<Null, SpRuntimeDispatchError>',1923 },1924 KeyChanged: {1925 oldSudoer: 'Option<AccountId32>',1926 },1927 SudoAsDone: {1928 sudoResult: 'Result<Null, SpRuntimeDispatchError>'1929 }1930 }1931 },1932 /**1933 * Lookup257: sp_runtime::DispatchError1934 **/1935 SpRuntimeDispatchError: {1936 _enum: {1937 Other: 'Null',1938 CannotLookup: 'Null',1939 BadOrigin: 'Null',1940 Module: 'SpRuntimeModuleError',1941 ConsumerRemaining: 'Null',1942 NoProviders: 'Null',1943 TooManyConsumers: 'Null',1944 Token: 'SpRuntimeTokenError',1945 Arithmetic: 'SpRuntimeArithmeticError',1946 Transactional: 'SpRuntimeTransactionalError'1947 }1948 },1949 /**1950 * Lookup258: sp_runtime::ModuleError1951 **/1952 SpRuntimeModuleError: {1953 index: 'u8',1954 error: '[u8;4]'1955 },1956 /**1957 * Lookup259: sp_runtime::TokenError1958 **/1959 SpRuntimeTokenError: {1960 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1961 },1962 /**1963 * Lookup260: sp_runtime::ArithmeticError1964 **/1965 SpRuntimeArithmeticError: {1966 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1967 },1968 /**1969 * Lookup261: sp_runtime::TransactionalError1970 **/1971 SpRuntimeTransactionalError: {1972 _enum: ['LimitReached', 'NoLayer']1973 },1974 /**1975 * Lookup262: pallet_sudo::pallet::Error<T>1976 **/1977 PalletSudoError: {1978 _enum: ['RequireSudo']1979 },1980 /**1981 * Lookup263: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1982 **/1983 FrameSystemAccountInfo: {1984 nonce: 'u32',1985 consumers: 'u32',1986 providers: 'u32',1987 sufficients: 'u32',1988 data: 'PalletBalancesAccountData'1989 },1990 /**1991 * Lookup264: frame_support::weights::PerDispatchClass<T>1992 **/1993 FrameSupportWeightsPerDispatchClassU64: {1994 normal: 'u64',1995 operational: 'u64',1996 mandatory: 'u64'1997 },1998 /**1999 * Lookup265: sp_runtime::generic::digest::Digest2000 **/2001 SpRuntimeDigest: {2002 logs: 'Vec<SpRuntimeDigestDigestItem>'2003 },2004 /**2005 * Lookup267: sp_runtime::generic::digest::DigestItem2006 **/2007 SpRuntimeDigestDigestItem: {2008 _enum: {2009 Other: 'Bytes',2010 __Unused1: 'Null',2011 __Unused2: 'Null',2012 __Unused3: 'Null',2013 Consensus: '([u8;4],Bytes)',2014 Seal: '([u8;4],Bytes)',2015 PreRuntime: '([u8;4],Bytes)',2016 __Unused7: 'Null',2017 RuntimeEnvironmentUpdated: 'Null'2018 }2019 },2020 /**2021 * Lookup269: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2022 **/2023 FrameSystemEventRecord: {2024 phase: 'FrameSystemPhase',2025 event: 'Event',2026 topics: 'Vec<H256>'2027 },2028 /**2029 * Lookup271: frame_system::pallet::Event<T>2030 **/2031 FrameSystemEvent: {2032 _enum: {2033 ExtrinsicSuccess: {2034 dispatchInfo: 'FrameSupportWeightsDispatchInfo',2035 },2036 ExtrinsicFailed: {2037 dispatchError: 'SpRuntimeDispatchError',2038 dispatchInfo: 'FrameSupportWeightsDispatchInfo',2039 },2040 CodeUpdated: 'Null',2041 NewAccount: {2042 account: 'AccountId32',2043 },2044 KilledAccount: {2045 account: 'AccountId32',2046 },2047 Remarked: {2048 _alias: {2049 hash_: 'hash',2050 },2051 sender: 'AccountId32',2052 hash_: 'H256'2053 }2054 }2055 },2056 /**2057 * Lookup272: frame_support::weights::DispatchInfo2058 **/2059 FrameSupportWeightsDispatchInfo: {2060 weight: 'u64',2061 class: 'FrameSupportWeightsDispatchClass',2062 paysFee: 'FrameSupportWeightsPays'2063 },2064 /**2065 * Lookup273: frame_support::weights::DispatchClass2066 **/2067 FrameSupportWeightsDispatchClass: {2068 _enum: ['Normal', 'Operational', 'Mandatory']2069 },2070 /**2071 * Lookup274: frame_support::weights::Pays2072 **/2073 FrameSupportWeightsPays: {2074 _enum: ['Yes', 'No']2075 },2076 /**2077 * Lookup275: orml_vesting::module::Event<T>2078 **/2079 OrmlVestingModuleEvent: {2080 _enum: {2081 VestingScheduleAdded: {2082 from: 'AccountId32',2083 to: 'AccountId32',2084 vestingSchedule: 'OrmlVestingVestingSchedule',2085 },2086 Claimed: {2087 who: 'AccountId32',2088 amount: 'u128',2089 },2090 VestingSchedulesUpdated: {2091 who: 'AccountId32'2092 }2093 }2094 },2095 /**2096 * Lookup276: cumulus_pallet_xcmp_queue::pallet::Event<T>2097 **/2098 CumulusPalletXcmpQueueEvent: {2099 _enum: {2100 Success: 'Option<H256>',2101 Fail: '(Option<H256>,XcmV2TraitsError)',2102 BadVersion: 'Option<H256>',2103 BadFormat: 'Option<H256>',2104 UpwardMessageSent: 'Option<H256>',2105 XcmpMessageSent: 'Option<H256>',2106 OverweightEnqueued: '(u32,u32,u64,u64)',2107 OverweightServiced: '(u64,u64)'2108 }2109 },2110 /**2111 * Lookup277: pallet_xcm::pallet::Event<T>2112 **/2113 PalletXcmEvent: {2114 _enum: {2115 Attempted: 'XcmV2TraitsOutcome',2116 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',2117 UnexpectedResponse: '(XcmV1MultiLocation,u64)',2118 ResponseReady: '(u64,XcmV2Response)',2119 Notified: '(u64,u8,u8)',2120 NotifyOverweight: '(u64,u8,u8,u64,u64)',2121 NotifyDispatchError: '(u64,u8,u8)',2122 NotifyDecodeFailed: '(u64,u8,u8)',2123 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',2124 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',2125 ResponseTaken: 'u64',2126 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',2127 VersionChangeNotified: '(XcmV1MultiLocation,u32)',2128 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',2129 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',2130 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2131 }2132 },2133 /**2134 * Lookup278: xcm::v2::traits::Outcome2135 **/2136 XcmV2TraitsOutcome: {2137 _enum: {2138 Complete: 'u64',2139 Incomplete: '(u64,XcmV2TraitsError)',2140 Error: 'XcmV2TraitsError'2141 }2142 },2143 /**2144 * Lookup280: cumulus_pallet_xcm::pallet::Event<T>2145 **/2146 CumulusPalletXcmEvent: {2147 _enum: {2148 InvalidFormat: '[u8;8]',2149 UnsupportedVersion: '[u8;8]',2150 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2151 }2152 },2153 /**2154 * Lookup281: cumulus_pallet_dmp_queue::pallet::Event<T>2155 **/2156 CumulusPalletDmpQueueEvent: {2157 _enum: {2158 InvalidFormat: '[u8;32]',2159 UnsupportedVersion: '[u8;32]',2160 ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',2161 WeightExhausted: '([u8;32],u64,u64)',2162 OverweightEnqueued: '([u8;32],u64,u64)',2163 OverweightServiced: '(u64,u64)'2164 }2165 },2166 /**2167 * Lookup282: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2168 **/2169 PalletUniqueRawEvent: {2170 _enum: {2171 CollectionSponsorRemoved: 'u32',2172 CollectionAdminAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2173 CollectionOwnedChanged: '(u32,AccountId32)',2174 CollectionSponsorSet: '(u32,AccountId32)',2175 SponsorshipConfirmed: '(u32,AccountId32)',2176 CollectionAdminRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2177 AllowListAddressRemoved: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2178 AllowListAddressAdded: '(u32,PalletEvmAccountBasicCrossAccountIdRepr)',2179 CollectionLimitSet: 'u32',2180 CollectionPermissionSet: 'u32'2181 }2182 },2183 /**2184 * Lookup283: pallet_unique_scheduler::pallet::Event<T>2185 **/2186 PalletUniqueSchedulerEvent: {2187 _enum: {2188 Scheduled: {2189 when: 'u32',2190 index: 'u32',2191 },2192 Canceled: {2193 when: 'u32',2194 index: 'u32',2195 },2196 Dispatched: {2197 task: '(u32,u32)',2198 id: 'Option<[u8;16]>',2199 result: 'Result<Null, SpRuntimeDispatchError>',2200 },2201 CallLookupFailed: {2202 task: '(u32,u32)',2203 id: 'Option<[u8;16]>',2204 error: 'FrameSupportScheduleLookupError'2205 }2206 }2207 },2208 /**2209 * Lookup285: frame_support::traits::schedule::LookupError2210 **/2211 FrameSupportScheduleLookupError: {2212 _enum: ['Unknown', 'BadFormat']2213 },2214 /**2215 * Lookup286: pallet_common::pallet::Event<T>2216 **/2217 PalletCommonEvent: {2218 _enum: {2219 CollectionCreated: '(u32,u8,AccountId32)',2220 CollectionDestroyed: 'u32',2221 ItemCreated: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2222 ItemDestroyed: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2223 Transfer: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2224 Approved: '(u32,u32,PalletEvmAccountBasicCrossAccountIdRepr,PalletEvmAccountBasicCrossAccountIdRepr,u128)',2225 CollectionPropertySet: '(u32,Bytes)',2226 CollectionPropertyDeleted: '(u32,Bytes)',2227 TokenPropertySet: '(u32,u32,Bytes)',2228 TokenPropertyDeleted: '(u32,u32,Bytes)',2229 PropertyPermissionSet: '(u32,Bytes)'2230 }2231 },2232 /**2233 * Lookup287: pallet_structure::pallet::Event<T>2234 **/2235 PalletStructureEvent: {2236 _enum: {2237 Executed: 'Result<Null, SpRuntimeDispatchError>'2238 }2239 },2240 /**2241 * Lookup288: pallet_rmrk_core::pallet::Event<T>2242 **/2243 PalletRmrkCoreEvent: {2244 _enum: {2245 CollectionCreated: {2246 issuer: 'AccountId32',2247 collectionId: 'u32',2248 },2249 CollectionDestroyed: {2250 issuer: 'AccountId32',2251 collectionId: 'u32',2252 },2253 IssuerChanged: {2254 oldIssuer: 'AccountId32',2255 newIssuer: 'AccountId32',2256 collectionId: 'u32',2257 },2258 CollectionLocked: {2259 issuer: 'AccountId32',2260 collectionId: 'u32',2261 },2262 NftMinted: {2263 owner: 'AccountId32',2264 collectionId: 'u32',2265 nftId: 'u32',2266 },2267 NFTBurned: {2268 owner: 'AccountId32',2269 nftId: 'u32',2270 },2271 NFTSent: {2272 sender: 'AccountId32',2273 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2274 collectionId: 'u32',2275 nftId: 'u32',2276 approvalRequired: 'bool',2277 },2278 NFTAccepted: {2279 sender: 'AccountId32',2280 recipient: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2281 collectionId: 'u32',2282 nftId: 'u32',2283 },2284 NFTRejected: {2285 sender: 'AccountId32',2286 collectionId: 'u32',2287 nftId: 'u32',2288 },2289 PropertySet: {2290 collectionId: 'u32',2291 maybeNftId: 'Option<u32>',2292 key: 'Bytes',2293 value: 'Bytes',2294 },2295 ResourceAdded: {2296 nftId: 'u32',2297 resourceId: 'u32',2298 },2299 ResourceRemoval: {2300 nftId: 'u32',2301 resourceId: 'u32',2302 },2303 ResourceAccepted: {2304 nftId: 'u32',2305 resourceId: 'u32',2306 },2307 ResourceRemovalAccepted: {2308 nftId: 'u32',2309 resourceId: 'u32',2310 },2311 PrioritySet: {2312 collectionId: 'u32',2313 nftId: 'u32'2314 }2315 }2316 },2317 /**2318 * Lookup289: pallet_rmrk_equip::pallet::Event<T>2319 **/2320 PalletRmrkEquipEvent: {2321 _enum: {2322 BaseCreated: {2323 issuer: 'AccountId32',2324 baseId: 'u32'2325 }2326 }2327 },2328 /**2329 * Lookup290: pallet_evm::pallet::Event<T>2330 **/2331 PalletEvmEvent: {2332 _enum: {2333 Log: 'EthereumLog',2334 Created: 'H160',2335 CreatedFailed: 'H160',2336 Executed: 'H160',2337 ExecutedFailed: 'H160',2338 BalanceDeposit: '(AccountId32,H160,U256)',2339 BalanceWithdraw: '(AccountId32,H160,U256)'2340 }2341 },2342 /**2343 * Lookup291: ethereum::log::Log2344 **/2345 EthereumLog: {2346 address: 'H160',2347 topics: 'Vec<H256>',2348 data: 'Bytes'2349 },2350 /**2351 * Lookup292: pallet_ethereum::pallet::Event2352 **/2353 PalletEthereumEvent: {2354 _enum: {2355 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2356 }2357 },2358 /**2359 * Lookup293: evm_core::error::ExitReason2360 **/2361 EvmCoreErrorExitReason: {2362 _enum: {2363 Succeed: 'EvmCoreErrorExitSucceed',2364 Error: 'EvmCoreErrorExitError',2365 Revert: 'EvmCoreErrorExitRevert',2366 Fatal: 'EvmCoreErrorExitFatal'2367 }2368 },2369 /**2370 * Lookup294: evm_core::error::ExitSucceed2371 **/2372 EvmCoreErrorExitSucceed: {2373 _enum: ['Stopped', 'Returned', 'Suicided']2374 },2375 /**2376 * Lookup295: evm_core::error::ExitError2377 **/2378 EvmCoreErrorExitError: {2379 _enum: {2380 StackUnderflow: 'Null',2381 StackOverflow: 'Null',2382 InvalidJump: 'Null',2383 InvalidRange: 'Null',2384 DesignatedInvalid: 'Null',2385 CallTooDeep: 'Null',2386 CreateCollision: 'Null',2387 CreateContractLimit: 'Null',2388 OutOfOffset: 'Null',2389 OutOfGas: 'Null',2390 OutOfFund: 'Null',2391 PCUnderflow: 'Null',2392 CreateEmpty: 'Null',2393 Other: 'Text',2394 InvalidCode: 'Null'2395 }2396 },2397 /**2398 * Lookup298: evm_core::error::ExitRevert2399 **/2400 EvmCoreErrorExitRevert: {2401 _enum: ['Reverted']2402 },2403 /**2404 * Lookup299: evm_core::error::ExitFatal2405 **/2406 EvmCoreErrorExitFatal: {2407 _enum: {2408 NotSupported: 'Null',2409 UnhandledInterrupt: 'Null',2410 CallErrorAsFatal: 'EvmCoreErrorExitError',2411 Other: 'Text'2412 }2413 },2414 /**2415 * Lookup300: frame_system::Phase2416 **/2417 FrameSystemPhase: {2418 _enum: {2419 ApplyExtrinsic: 'u32',2420 Finalization: 'Null',2421 Initialization: 'Null'2422 }2423 },2424 /**2425 * Lookup302: frame_system::LastRuntimeUpgradeInfo2426 **/2427 FrameSystemLastRuntimeUpgradeInfo: {2428 specVersion: 'Compact<u32>',2429 specName: 'Text'2430 },2431 /**2432 * Lookup303: frame_system::limits::BlockWeights2433 **/2434 FrameSystemLimitsBlockWeights: {2435 baseBlock: 'u64',2436 maxBlock: 'u64',2437 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2438 },2439 /**2440 * Lookup304: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2441 **/2442 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2443 normal: 'FrameSystemLimitsWeightsPerClass',2444 operational: 'FrameSystemLimitsWeightsPerClass',2445 mandatory: 'FrameSystemLimitsWeightsPerClass'2446 },2447 /**2448 * Lookup305: frame_system::limits::WeightsPerClass2449 **/2450 FrameSystemLimitsWeightsPerClass: {2451 baseExtrinsic: 'u64',2452 maxExtrinsic: 'Option<u64>',2453 maxTotal: 'Option<u64>',2454 reserved: 'Option<u64>'2455 },2456 /**2457 * Lookup307: frame_system::limits::BlockLength2458 **/2459 FrameSystemLimitsBlockLength: {2460 max: 'FrameSupportWeightsPerDispatchClassU32'2461 },2462 /**2463 * Lookup308: frame_support::weights::PerDispatchClass<T>2464 **/2465 FrameSupportWeightsPerDispatchClassU32: {2466 normal: 'u32',2467 operational: 'u32',2468 mandatory: 'u32'2469 },2470 /**2471 * Lookup309: frame_support::weights::RuntimeDbWeight2472 **/2473 FrameSupportWeightsRuntimeDbWeight: {2474 read: 'u64',2475 write: 'u64'2476 },2477 /**2478 * Lookup310: sp_version::RuntimeVersion2479 **/2480 SpVersionRuntimeVersion: {2481 specName: 'Text',2482 implName: 'Text',2483 authoringVersion: 'u32',2484 specVersion: 'u32',2485 implVersion: 'u32',2486 apis: 'Vec<([u8;8],u32)>',2487 transactionVersion: 'u32',2488 stateVersion: 'u8'2489 },2490 /**2491 * Lookup314: frame_system::pallet::Error<T>2492 **/2493 FrameSystemError: {2494 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2495 },2496 /**2497 * Lookup316: orml_vesting::module::Error<T>2498 **/2499 OrmlVestingModuleError: {2500 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2501 },2502 /**2503 * Lookup318: cumulus_pallet_xcmp_queue::InboundChannelDetails2504 **/2505 CumulusPalletXcmpQueueInboundChannelDetails: {2506 sender: 'u32',2507 state: 'CumulusPalletXcmpQueueInboundState',2508 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2509 },2510 /**2511 * Lookup319: cumulus_pallet_xcmp_queue::InboundState2512 **/2513 CumulusPalletXcmpQueueInboundState: {2514 _enum: ['Ok', 'Suspended']2515 },2516 /**2517 * Lookup322: polkadot_parachain::primitives::XcmpMessageFormat2518 **/2519 PolkadotParachainPrimitivesXcmpMessageFormat: {2520 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2521 },2522 /**2523 * Lookup325: cumulus_pallet_xcmp_queue::OutboundChannelDetails2524 **/2525 CumulusPalletXcmpQueueOutboundChannelDetails: {2526 recipient: 'u32',2527 state: 'CumulusPalletXcmpQueueOutboundState',2528 signalsExist: 'bool',2529 firstIndex: 'u16',2530 lastIndex: 'u16'2531 },2532 /**2533 * Lookup326: cumulus_pallet_xcmp_queue::OutboundState2534 **/2535 CumulusPalletXcmpQueueOutboundState: {2536 _enum: ['Ok', 'Suspended']2537 },2538 /**2539 * Lookup328: cumulus_pallet_xcmp_queue::QueueConfigData2540 **/2541 CumulusPalletXcmpQueueQueueConfigData: {2542 suspendThreshold: 'u32',2543 dropThreshold: 'u32',2544 resumeThreshold: 'u32',2545 thresholdWeight: 'u64',2546 weightRestrictDecay: 'u64',2547 xcmpMaxIndividualWeight: 'u64'2548 },2549 /**2550 * Lookup330: cumulus_pallet_xcmp_queue::pallet::Error<T>2551 **/2552 CumulusPalletXcmpQueueError: {2553 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2554 },2555 /**2556 * Lookup331: pallet_xcm::pallet::Error<T>2557 **/2558 PalletXcmError: {2559 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2560 },2561 /**2562 * Lookup332: cumulus_pallet_xcm::pallet::Error<T>2563 **/2564 CumulusPalletXcmError: 'Null',2565 /**2566 * Lookup333: cumulus_pallet_dmp_queue::ConfigData2567 **/2568 CumulusPalletDmpQueueConfigData: {2569 maxIndividual: 'u64'2570 },2571 /**2572 * Lookup334: cumulus_pallet_dmp_queue::PageIndexData2573 **/2574 CumulusPalletDmpQueuePageIndexData: {2575 beginUsed: 'u32',2576 endUsed: 'u32',2577 overweightCount: 'u64'2578 },2579 /**2580 * Lookup337: cumulus_pallet_dmp_queue::pallet::Error<T>2581 **/2582 CumulusPalletDmpQueueError: {2583 _enum: ['Unknown', 'OverLimit']2584 },2585 /**2586 * Lookup341: pallet_unique::Error<T>2587 **/2588 PalletUniqueError: {2589 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2590 },2591 /**2592 * Lookup344: pallet_unique_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>2593 **/2594 PalletUniqueSchedulerScheduledV3: {2595 maybeId: 'Option<[u8;16]>',2596 priority: 'u8',2597 call: 'FrameSupportScheduleMaybeHashed',2598 maybePeriodic: 'Option<(u32,u32)>',2599 origin: 'OpalRuntimeOriginCaller'2600 },2601 /**2602 * Lookup345: opal_runtime::OriginCaller2603 **/2604 OpalRuntimeOriginCaller: {2605 _enum: {2606 __Unused0: 'Null',2607 __Unused1: 'Null',2608 __Unused2: 'Null',2609 __Unused3: 'Null',2610 Void: 'SpCoreVoid',2611 __Unused5: 'Null',2612 __Unused6: 'Null',2613 __Unused7: 'Null',2614 __Unused8: 'Null',2615 __Unused9: 'Null',2616 __Unused10: 'Null',2617 __Unused11: 'Null',2618 __Unused12: 'Null',2619 __Unused13: 'Null',2620 __Unused14: 'Null',2621 __Unused15: 'Null',2622 __Unused16: 'Null',2623 __Unused17: 'Null',2624 __Unused18: 'Null',2625 __Unused19: 'Null',2626 __Unused20: 'Null',2627 __Unused21: 'Null',2628 __Unused22: 'Null',2629 __Unused23: 'Null',2630 __Unused24: 'Null',2631 __Unused25: 'Null',2632 __Unused26: 'Null',2633 __Unused27: 'Null',2634 __Unused28: 'Null',2635 __Unused29: 'Null',2636 __Unused30: 'Null',2637 __Unused31: 'Null',2638 __Unused32: 'Null',2639 __Unused33: 'Null',2640 __Unused34: 'Null',2641 __Unused35: 'Null',2642 system: 'FrameSupportDispatchRawOrigin',2643 __Unused37: 'Null',2644 __Unused38: 'Null',2645 __Unused39: 'Null',2646 __Unused40: 'Null',2647 __Unused41: 'Null',2648 __Unused42: 'Null',2649 __Unused43: 'Null',2650 __Unused44: 'Null',2651 __Unused45: 'Null',2652 __Unused46: 'Null',2653 __Unused47: 'Null',2654 __Unused48: 'Null',2655 __Unused49: 'Null',2656 __Unused50: 'Null',2657 PolkadotXcm: 'PalletXcmOrigin',2658 CumulusXcm: 'CumulusPalletXcmOrigin',2659 __Unused53: 'Null',2660 __Unused54: 'Null',2661 __Unused55: 'Null',2662 __Unused56: 'Null',2663 __Unused57: 'Null',2664 __Unused58: 'Null',2665 __Unused59: 'Null',2666 __Unused60: 'Null',2667 __Unused61: 'Null',2668 __Unused62: 'Null',2669 __Unused63: 'Null',2670 __Unused64: 'Null',2671 __Unused65: 'Null',2672 __Unused66: 'Null',2673 __Unused67: 'Null',2674 __Unused68: 'Null',2675 __Unused69: 'Null',2676 __Unused70: 'Null',2677 __Unused71: 'Null',2678 __Unused72: 'Null',2679 __Unused73: 'Null',2680 __Unused74: 'Null',2681 __Unused75: 'Null',2682 __Unused76: 'Null',2683 __Unused77: 'Null',2684 __Unused78: 'Null',2685 __Unused79: 'Null',2686 __Unused80: 'Null',2687 __Unused81: 'Null',2688 __Unused82: 'Null',2689 __Unused83: 'Null',2690 __Unused84: 'Null',2691 __Unused85: 'Null',2692 __Unused86: 'Null',2693 __Unused87: 'Null',2694 __Unused88: 'Null',2695 __Unused89: 'Null',2696 __Unused90: 'Null',2697 __Unused91: 'Null',2698 __Unused92: 'Null',2699 __Unused93: 'Null',2700 __Unused94: 'Null',2701 __Unused95: 'Null',2702 __Unused96: 'Null',2703 __Unused97: 'Null',2704 __Unused98: 'Null',2705 __Unused99: 'Null',2706 __Unused100: 'Null',2707 Ethereum: 'PalletEthereumRawOrigin'2708 }2709 },2710 /**2711 * Lookup346: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2712 **/2713 FrameSupportDispatchRawOrigin: {2714 _enum: {2715 Root: 'Null',2716 Signed: 'AccountId32',2717 None: 'Null'2718 }2719 },2720 /**2721 * Lookup347: pallet_xcm::pallet::Origin2722 **/2723 PalletXcmOrigin: {2724 _enum: {2725 Xcm: 'XcmV1MultiLocation',2726 Response: 'XcmV1MultiLocation'2727 }2728 },2729 /**2730 * Lookup348: cumulus_pallet_xcm::pallet::Origin2731 **/2732 CumulusPalletXcmOrigin: {2733 _enum: {2734 Relay: 'Null',2735 SiblingParachain: 'u32'2736 }2737 },2738 /**2739 * Lookup349: pallet_ethereum::RawOrigin2740 **/2741 PalletEthereumRawOrigin: {2742 _enum: {2743 EthereumTransaction: 'H160'2744 }2745 },2746 /**2747 * Lookup350: sp_core::Void2748 **/2749 SpCoreVoid: 'Null',2750 /**2751 * Lookup351: pallet_unique_scheduler::pallet::Error<T>2752 **/2753 PalletUniqueSchedulerError: {2754 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2755 },2756 /**2757 * Lookup352: up_data_structs::Collection<sp_core::crypto::AccountId32>2758 **/2759 UpDataStructsCollection: {2760 owner: 'AccountId32',2761 mode: 'UpDataStructsCollectionMode',2762 name: 'Vec<u16>',2763 description: 'Vec<u16>',2764 tokenPrefix: 'Bytes',2765 sponsorship: 'UpDataStructsSponsorshipState',2766 limits: 'UpDataStructsCollectionLimits',2767 permissions: 'UpDataStructsCollectionPermissions',2768 externalCollection: 'bool'2769 },2770 /**2771 * Lookup353: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2772 **/2773 UpDataStructsSponsorshipState: {2774 _enum: {2775 Disabled: 'Null',2776 Unconfirmed: 'AccountId32',2777 Confirmed: 'AccountId32'2778 }2779 },2780 /**2781 * Lookup354: up_data_structs::Properties2782 **/2783 UpDataStructsProperties: {2784 map: 'UpDataStructsPropertiesMapBoundedVec',2785 consumedSpace: 'u32',2786 spaceLimit: 'u32'2787 },2788 /**2789 * Lookup355: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2790 **/2791 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2792 /**2793 * Lookup360: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2794 **/2795 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2796 /**2797 * Lookup367: up_data_structs::CollectionStats2798 **/2799 UpDataStructsCollectionStats: {2800 created: 'u32',2801 destroyed: 'u32',2802 alive: 'u32'2803 },2804 /**2805 * Lookup368: up_data_structs::TokenChild2806 **/2807 UpDataStructsTokenChild: {2808 token: 'u32',2809 collection: 'u32'2810 },2811 /**2812 * Lookup369: PhantomType::up_data_structs<T>2813 **/2814 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2815 /**2816 * Lookup371: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2817 **/2818 UpDataStructsTokenData: {2819 properties: 'Vec<UpDataStructsProperty>',2820 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2821 },2822 /**2823 * Lookup373: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2824 **/2825 UpDataStructsRpcCollection: {2826 owner: 'AccountId32',2827 mode: 'UpDataStructsCollectionMode',2828 name: 'Vec<u16>',2829 description: 'Vec<u16>',2830 tokenPrefix: 'Bytes',2831 sponsorship: 'UpDataStructsSponsorshipState',2832 limits: 'UpDataStructsCollectionLimits',2833 permissions: 'UpDataStructsCollectionPermissions',2834 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2835 properties: 'Vec<UpDataStructsProperty>',2836 readOnly: 'bool'2837 },2838 /**2839 * Lookup374: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>2840 **/2841 RmrkTraitsCollectionCollectionInfo: {2842 issuer: 'AccountId32',2843 metadata: 'Bytes',2844 max: 'Option<u32>',2845 symbol: 'Bytes',2846 nftsCount: 'u32'2847 },2848 /**2849 * Lookup375: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2850 **/2851 RmrkTraitsNftNftInfo: {2852 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2853 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2854 metadata: 'Bytes',2855 equipped: 'bool',2856 pending: 'bool'2857 },2858 /**2859 * Lookup377: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2860 **/2861 RmrkTraitsNftRoyaltyInfo: {2862 recipient: 'AccountId32',2863 amount: 'Permill'2864 },2865 /**2866 * Lookup378: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2867 **/2868 RmrkTraitsResourceResourceInfo: {2869 id: 'u32',2870 resource: 'RmrkTraitsResourceResourceTypes',2871 pending: 'bool',2872 pendingRemoval: 'bool'2873 },2874 /**2875 * Lookup379: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2876 **/2877 RmrkTraitsResourceResourceTypes: {2878 _enum: {2879 Basic: 'RmrkTraitsResourceBasicResource',2880 Composable: 'RmrkTraitsResourceComposableResource',2881 Slot: 'RmrkTraitsResourceSlotResource'2882 }2883 },2884 /**2885 * Lookup380: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2886 **/2887 RmrkTraitsPropertyPropertyInfo: {2888 key: 'Bytes',2889 value: 'Bytes'2890 },2891 /**2892 * Lookup381: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2893 **/2894 RmrkTraitsBaseBaseInfo: {2895 issuer: 'AccountId32',2896 baseType: 'Bytes',2897 symbol: 'Bytes'2898 },2899 /**2900 * Lookup382: rmrk_traits::nft::NftChild2901 **/2902 RmrkTraitsNftNftChild: {2903 collectionId: 'u32',2904 nftId: 'u32'2905 },2906 /**2907 * Lookup384: pallet_common::pallet::Error<T>2908 **/2909 PalletCommonError: {2910 _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']2911 },2912 /**2913 * Lookup386: pallet_fungible::pallet::Error<T>2914 **/2915 PalletFungibleError: {2916 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2917 },2918 /**2919 * Lookup387: pallet_refungible::ItemData2920 **/2921 PalletRefungibleItemData: {2922 constData: 'Bytes'2923 },2924 /**2925 * Lookup391: pallet_refungible::pallet::Error<T>2926 **/2927 PalletRefungibleError: {2928 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2929 },2930 /**2931 * Lookup392: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2932 **/2933 PalletNonfungibleItemData: {2934 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2935 },2936 /**2937 * Lookup394: pallet_nonfungible::pallet::Error<T>2938 **/2939 PalletNonfungibleError: {2940 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2941 },2942 /**2943 * Lookup395: pallet_structure::pallet::Error<T>2944 **/2945 PalletStructureError: {2946 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2947 },2948 /**2949 * Lookup396: pallet_rmrk_core::pallet::Error<T>2950 **/2951 PalletRmrkCoreError: {2952 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2953 },2954 /**2955 * Lookup398: pallet_rmrk_equip::pallet::Error<T>2956 **/2957 PalletRmrkEquipError: {2958 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2959 },2960 /**2961 * Lookup401: pallet_evm::pallet::Error<T>2962 **/2963 PalletEvmError: {2964 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2965 },2966 /**2967 * Lookup404: fp_rpc::TransactionStatus2968 **/2969 FpRpcTransactionStatus: {2970 transactionHash: 'H256',2971 transactionIndex: 'u32',2972 from: 'H160',2973 to: 'Option<H160>',2974 contractAddress: 'Option<H160>',2975 logs: 'Vec<EthereumLog>',2976 logsBloom: 'EthbloomBloom'2977 },2978 /**2979 * Lookup406: ethbloom::Bloom2980 **/2981 EthbloomBloom: '[u8;256]',2982 /**2983 * Lookup408: ethereum::receipt::ReceiptV32984 **/2985 EthereumReceiptReceiptV3: {2986 _enum: {2987 Legacy: 'EthereumReceiptEip658ReceiptData',2988 EIP2930: 'EthereumReceiptEip658ReceiptData',2989 EIP1559: 'EthereumReceiptEip658ReceiptData'2990 }2991 },2992 /**2993 * Lookup409: ethereum::receipt::EIP658ReceiptData2994 **/2995 EthereumReceiptEip658ReceiptData: {2996 statusCode: 'u8',2997 usedGas: 'U256',2998 logsBloom: 'EthbloomBloom',2999 logs: 'Vec<EthereumLog>'3000 },3001 /**3002 * Lookup410: ethereum::block::Block<ethereum::transaction::TransactionV2>3003 **/3004 EthereumBlock: {3005 header: 'EthereumHeader',3006 transactions: 'Vec<EthereumTransactionTransactionV2>',3007 ommers: 'Vec<EthereumHeader>'3008 },3009 /**3010 * Lookup411: ethereum::header::Header3011 **/3012 EthereumHeader: {3013 parentHash: 'H256',3014 ommersHash: 'H256',3015 beneficiary: 'H160',3016 stateRoot: 'H256',3017 transactionsRoot: 'H256',3018 receiptsRoot: 'H256',3019 logsBloom: 'EthbloomBloom',3020 difficulty: 'U256',3021 number: 'U256',3022 gasLimit: 'U256',3023 gasUsed: 'U256',3024 timestamp: 'u64',3025 extraData: 'Bytes',3026 mixHash: 'H256',3027 nonce: 'EthereumTypesHashH64'3028 },3029 /**3030 * Lookup412: ethereum_types::hash::H643031 **/3032 EthereumTypesHashH64: '[u8;8]',3033 /**3034 * Lookup417: pallet_ethereum::pallet::Error<T>3035 **/3036 PalletEthereumError: {3037 _enum: ['InvalidSignature', 'PreLogExists']3038 },3039 /**3040 * Lookup418: pallet_evm_coder_substrate::pallet::Error<T>3041 **/3042 PalletEvmCoderSubstrateError: {3043 _enum: ['OutOfGas', 'OutOfFund']3044 },3045 /**3046 * Lookup419: pallet_evm_contract_helpers::SponsoringModeT3047 **/3048 PalletEvmContractHelpersSponsoringModeT: {3049 _enum: ['Disabled', 'Allowlisted', 'Generous']3050 },3051 /**3052 * Lookup421: pallet_evm_contract_helpers::pallet::Error<T>3053 **/3054 PalletEvmContractHelpersError: {3055 _enum: ['NoPermission']3056 },3057 /**3058 * Lookup422: pallet_evm_migration::pallet::Error<T>3059 **/3060 PalletEvmMigrationError: {3061 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3062 },3063 /**3064 * Lookup424: sp_runtime::MultiSignature3065 **/3066 SpRuntimeMultiSignature: {3067 _enum: {3068 Ed25519: 'SpCoreEd25519Signature',3069 Sr25519: 'SpCoreSr25519Signature',3070 Ecdsa: 'SpCoreEcdsaSignature'3071 }3072 },3073 /**3074 * Lookup425: sp_core::ed25519::Signature3075 **/3076 SpCoreEd25519Signature: '[u8;64]',3077 /**3078 * Lookup427: sp_core::sr25519::Signature3079 **/3080 SpCoreSr25519Signature: '[u8;64]',3081 /**3082 * Lookup428: sp_core::ecdsa::Signature3083 **/3084 SpCoreEcdsaSignature: '[u8;65]',3085 /**3086 * Lookup431: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3087 **/3088 FrameSystemExtensionsCheckSpecVersion: 'Null',3089 /**3090 * Lookup432: frame_system::extensions::check_genesis::CheckGenesis<T>3091 **/3092 FrameSystemExtensionsCheckGenesis: 'Null',3093 /**3094 * Lookup435: frame_system::extensions::check_nonce::CheckNonce<T>3095 **/3096 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3097 /**3098 * Lookup436: frame_system::extensions::check_weight::CheckWeight<T>3099 **/3100 FrameSystemExtensionsCheckWeight: 'Null',3101 /**3102 * Lookup437: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3103 **/3104 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3105 /**3106 * Lookup438: opal_runtime::Runtime3107 **/3108 OpalRuntimeRuntime: 'Null',3109 /**3110 * Lookup439: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3111 **/3112 PalletEthereumFakeTransactionFinalizer: 'Null'3113};tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUnqSchedulerCall, PalletUnqSchedulerError, PalletUnqSchedulerEvent, PalletUnqSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, 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, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, 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, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeOriginCaller, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEthereumRawOrigin, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletUniqueSchedulerCall, PalletUniqueSchedulerError, PalletUniqueSchedulerEvent, PalletUniqueSchedulerScheduledV3, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, 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, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingPermissions, UpDataStructsOwnerRestrictedSet, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -133,10 +133,10 @@
PalletUniqueCall: PalletUniqueCall;
PalletUniqueError: PalletUniqueError;
PalletUniqueRawEvent: PalletUniqueRawEvent;
- PalletUnqSchedulerCall: PalletUnqSchedulerCall;
- PalletUnqSchedulerError: PalletUnqSchedulerError;
- PalletUnqSchedulerEvent: PalletUnqSchedulerEvent;
- PalletUnqSchedulerScheduledV3: PalletUnqSchedulerScheduledV3;
+ PalletUniqueSchedulerCall: PalletUniqueSchedulerCall;
+ PalletUniqueSchedulerError: PalletUniqueSchedulerError;
+ PalletUniqueSchedulerEvent: PalletUniqueSchedulerEvent;
+ PalletUniqueSchedulerScheduledV3: PalletUniqueSchedulerScheduledV3;
PalletXcmCall: PalletXcmCall;
PalletXcmError: PalletXcmError;
PalletXcmEvent: PalletXcmEvent;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1650,8 +1650,8 @@
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
}
- /** @name PalletUnqSchedulerCall (206) */
- export interface PalletUnqSchedulerCall extends Enum {
+ /** @name PalletUniqueSchedulerCall (206) */
+ export interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
readonly id: U8aFixed;
@@ -2350,8 +2350,8 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
}
- /** @name PalletUnqSchedulerEvent (283) */
- export interface PalletUnqSchedulerEvent extends Enum {
+ /** @name PalletUniqueSchedulerEvent (283) */
+ export interface PalletUniqueSchedulerEvent extends Enum {
readonly isScheduled: boolean;
readonly asScheduled: {
readonly when: u32;
@@ -2805,8 +2805,8 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
}
- /** @name PalletUnqSchedulerScheduledV3 (344) */
- export interface PalletUnqSchedulerScheduledV3 extends Struct {
+ /** @name PalletUniqueSchedulerScheduledV3 (344) */
+ export interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
readonly call: FrameSupportScheduleMaybeHashed;
@@ -2864,8 +2864,8 @@
/** @name SpCoreVoid (350) */
export type SpCoreVoid = Null;
- /** @name PalletUnqSchedulerError (351) */
- export interface PalletUnqSchedulerError extends Enum {
+ /** @name PalletUniqueSchedulerError (351) */
+ export interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
readonly isTargetBlockNumberInPast: boolean;
tests/src/nesting/properties.test.tsdiffbeforeafterboth--- a/tests/src/nesting/properties.test.ts
+++ b/tests/src/nesting/properties.test.ts
@@ -106,6 +106,58 @@
});
});
+ it('Check valid names for collection properties keys', async () => {
+ await usingApi(async api => {
+ const events = await executeTransaction(api, bob, api.tx.unique.createCollectionEx({mode: 'NFT'}));
+ const {collectionId} = getCreateCollectionResult(events);
+
+ // alpha symbols
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: 'alpha'}]),
+ )).to.not.be.rejected;
+
+ // numeric symbols
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: '123'}]),
+ )).to.not.be.rejected;
+
+ // underscore symbol
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: 'black_hole'}]),
+ )).to.not.be.rejected;
+
+ // dash symbol
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: 'semi-automatic'}]),
+ )).to.not.be.rejected;
+
+ // underscore symbol
+ await expect(executeTransaction(
+ api,
+ bob,
+ api.tx.unique.setCollectionProperties(collectionId, [{key: 'build.rs'}]),
+ )).to.not.be.rejected;
+
+ const propertyKeys = ['alpha', '123', 'black_hole', 'semi-automatic', 'build.rs'];
+ const properties = (await api.rpc.unique.collectionProperties(collectionId, propertyKeys)).toHuman();
+ expect(properties).to.be.deep.equal([
+ {key: 'alpha', value: ''},
+ {key: '123', value: ''},
+ {key: 'black_hole', value: ''},
+ {key: 'semi-automatic', value: ''},
+ {key: 'build.rs', value: ''},
+ ]);
+ });
+ });
+
it('Changes properties of a collection', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess();
@@ -241,7 +293,7 @@
const invalidProperties = [
[{key: 'electron', value: 'negative'}, {key: 'string theory', value: 'understandable'}],
- [{key: 'Mr.Sandman', value: 'Bring me a gene'}],
+ [{key: 'Mr/Sandman', value: 'Bring me a gene'}],
[{key: 'déjà vu', value: 'hmm...'}],
];
tests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth--- a/tests/src/removeCollectionAdmin.test.ts
+++ b/tests/src/removeCollectionAdmin.test.ts
@@ -118,11 +118,17 @@
const bob = privateKeyWrapper('//Bob');
const charlie = privateKeyWrapper('//Charlie');
+ const addBobAdminTx = api.tx.unique.addCollectionAdmin(collectionId, normalizeAccountId(bob.address));
+ await submitTransactionAsync(alice, addBobAdminTx);
+ const addCharlieAdminTx = api.tx.unique.addCollectionAdmin(collectionId, normalizeAccountId(charlie.address));
+ await submitTransactionAsync(alice, addCharlieAdminTx);
+
const adminListAfterAddAdmin = await getAdminList(api, collectionId);
expect(adminListAfterAddAdmin).to.be.deep.contains(normalizeAccountId(bob.address));
+ expect(adminListAfterAddAdmin).to.be.deep.contains(normalizeAccountId(charlie.address));
const removeAdminTx = api.tx.unique.removeCollectionAdmin(collectionId, normalizeAccountId(bob.address));
- await expect(submitTransactionAsync(charlie, removeAdminTx)).to.be.rejected;
+ await expect(submitTransactionExpectFailAsync(charlie, removeAdminTx)).to.be.rejected;
const adminListAfterRemoveAdmin = await getAdminList(api, collectionId);
expect(adminListAfterRemoveAdmin).to.be.deep.contains(normalizeAccountId(bob.address));
tests/src/setCollectionLimits.test.tsdiffbeforeafterboth--- a/tests/src/setCollectionLimits.test.ts
+++ b/tests/src/setCollectionLimits.test.ts
@@ -46,6 +46,7 @@
before(async () => {
await usingApi(async (api, privateKeyWrapper) => {
alice = privateKeyWrapper('//Alice');
+ bob = privateKeyWrapper('//Bob');
collectionIdForTesting = await createCollectionExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'}});
});
});
@@ -115,6 +116,21 @@
});
});
+ it('execute setCollectionLimits from admin collection', async () => {
+ await addCollectionAdminExpectSuccess(alice, collectionIdForTesting, bob.address);
+ await usingApi(async (api: ApiPromise) => {
+ tx = api.tx.unique.setCollectionLimits(
+ collectionIdForTesting,
+ {
+ accountTokenOwnershipLimit,
+ sponsoredDataSize,
+ // sponsoredMintSize,
+ tokenLimit,
+ },
+ );
+ await expect(submitTransactionAsync(bob, tx)).to.be.not.rejected;
+ });
+ });
});
describe('setCollectionLimits negative', () => {
@@ -143,21 +159,6 @@
});
});
it('execute setCollectionLimits from user who is not owner of this collection', async () => {
- await usingApi(async (api: ApiPromise) => {
- tx = api.tx.unique.setCollectionLimits(
- collectionIdForTesting,
- {
- accountTokenOwnershipLimit,
- sponsoredDataSize,
- // sponsoredMintSize,
- tokenLimit,
- },
- );
- await expect(submitTransactionExpectFailAsync(bob, tx)).to.be.rejected;
- });
- });
- it('execute setCollectionLimits from admin collection', async () => {
- await addCollectionAdminExpectSuccess(alice, collectionIdForTesting, bob.address);
await usingApi(async (api: ApiPromise) => {
tx = api.tx.unique.setCollectionLimits(
collectionIdForTesting,
tests/src/setCollectionSponsor.test.tsdiffbeforeafterboth--- a/tests/src/setCollectionSponsor.test.ts
+++ b/tests/src/setCollectionSponsor.test.ts
@@ -65,6 +65,11 @@
await setCollectionSponsorExpectSuccess(collectionId, bob.address);
await setCollectionSponsorExpectSuccess(collectionId, charlie.address);
});
+ it('Collection admin add sponsor', async () => {
+ const collectionId = await createCollectionExpectSuccess();
+ await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
+ await setCollectionSponsorExpectSuccess(collectionId, charlie.address, '//Bob');
+ });
});
describe('(!negative test!) integration test: ext. setCollectionSponsor():', () => {
@@ -93,10 +98,5 @@
const collectionId = await createCollectionExpectSuccess();
await destroyCollectionExpectSuccess(collectionId);
await setCollectionSponsorExpectFailure(collectionId, bob.address);
- });
- it('(!negative test!) Collection admin add sponsor', async () => {
- const collectionId = await createCollectionExpectSuccess();
- await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
- await setCollectionSponsorExpectFailure(collectionId, charlie.address, '//Bob');
});
});
tests/src/setMintPermission.test.tsdiffbeforeafterboth--- a/tests/src/setMintPermission.test.ts
+++ b/tests/src/setMintPermission.test.ts
@@ -67,6 +67,14 @@
await setMintPermissionExpectSuccess(alice, collectionId, false);
});
});
+
+ it('Collection admin success on set', async () => {
+ await usingApi(async () => {
+ const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
+ await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
+ await setMintPermissionExpectSuccess(bob, collectionId, true);
+ });
+ });
});
describe('Negative Integration Test setMintPermission', () => {
@@ -100,14 +108,6 @@
const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
await enableAllowListExpectSuccess(alice, collectionId);
await setMintPermissionExpectFailure(bob, collectionId, true);
- });
-
- it('Collection admin fails on set', async () => {
- await usingApi(async () => {
- const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
- await setMintPermissionExpectFailure(bob, collectionId, true);
- });
});
it('ensure non-allow-listed non-privileged address can\'t mint tokens', async () => {
tests/src/setPublicAccessMode.test.tsdiffbeforeafterboth--- a/tests/src/setPublicAccessMode.test.ts
+++ b/tests/src/setPublicAccessMode.test.ts
@@ -103,22 +103,23 @@
await expect(submitTransactionExpectFailAsync(bob, tx)).to.be.rejected;
});
});
-});
-describe('Negative Integration Test ext. collection admin setPublicAccessMode(): ', () => {
- before(async () => {
- await usingApi(async (api, privateKeyWrapper) => {
- alice = privateKeyWrapper('//Alice');
- bob = privateKeyWrapper('//Bob');
- });
- });
it('setPublicAccessMode by collection admin', async () => {
await usingApi(async (api: ApiPromise) => {
// tslint:disable-next-line: no-bitwise
const collectionId = await createCollectionExpectSuccess();
await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);
const tx = api.tx.unique.setCollectionPermissions(collectionId, {access: 'AllowList'});
- await expect(submitTransactionExpectFailAsync(bob, tx)).to.be.rejected;
+ await expect(submitTransactionExpectFailAsync(bob, tx)).to.be.not.rejected;
+ });
+ });
+});
+
+describe('Negative Integration Test ext. collection admin setPublicAccessMode(): ', () => {
+ before(async () => {
+ await usingApi(async (api, privateKeyWrapper) => {
+ alice = privateKeyWrapper('//Alice');
+ bob = privateKeyWrapper('//Bob');
});
});
});