difftreelog
Merge branch 'develop' into feature/CORE-386_1
in: master
37 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5356,7 +5356,7 @@
"pallet-transaction-payment-rpc-runtime-api",
"pallet-treasury",
"pallet-unique",
- "pallet-unq-scheduler",
+ "pallet-unique-scheduler",
"pallet-xcm",
"parachain-info",
"parity-scale-codec 3.1.2",
@@ -6646,7 +6646,7 @@
]
[[package]]
-name = "pallet-unq-scheduler"
+name = "pallet-unique-scheduler"
version = "0.1.0"
dependencies = [
"frame-benchmarking",
@@ -8590,7 +8590,7 @@
"pallet-transaction-payment-rpc-runtime-api",
"pallet-treasury",
"pallet-unique",
- "pallet-unq-scheduler",
+ "pallet-unique-scheduler",
"pallet-xcm",
"parachain-info",
"parity-scale-codec 3.1.2",
@@ -12643,7 +12643,7 @@
"pallet-transaction-payment-rpc-runtime-api",
"pallet-treasury",
"pallet-unique",
- "pallet-unq-scheduler",
+ "pallet-unique-scheduler",
"pallet-xcm",
"parachain-info",
"parity-scale-codec 3.1.2",
@@ -12688,6 +12688,7 @@
"pallet-nonfungible",
"pallet-refungible",
"pallet-unique",
+ "pallet-unique-scheduler",
"parity-scale-codec 3.1.2",
"rmrk-rpc",
"scale-info",
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,14 @@
--template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
--output=./pallets/$(PALLET)/src/weights.rs
+.PHONY: _bench2
+_bench2:
+ cargo run --release --features runtime-benchmarks,unique-runtime -- \
+ benchmark pallet --pallet pallet-$(PALLET) \
+ --wasm-execution compiled --extrinsic '*' \
+ --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
+ --output=./pallets/$(PALLET_DIR)/src/weights.rs
+
.PHONY: bench-evm-migration
bench-evm-migration:
make _bench PALLET=evm-migration
@@ -93,9 +101,13 @@
bench-structure:
make _bench PALLET=structure
+.PHONY: bench-scheduler
+bench-scheduler:
+ make _bench2 PALLET=unique-scheduler PALLET_DIR=scheduler
+
.PHONY: bench-rmrk-core
bench-rmrk-core:
make _bench PALLET=proxy-rmrk-core
.PHONY: bench
-bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-rmrk-core
+bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core
pallets/common/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/common/src/benchmarking.rs
+++ b/pallets/common/src/benchmarking.rs
@@ -20,7 +20,7 @@
use frame_benchmarking::{benchmarks, account};
use up_data_structs::{
CollectionMode, CreateCollectionData, CollectionId, Property, PropertyKey, PropertyValue,
- CollectionPermissions, NestingRule, MAX_COLLECTION_NAME_LENGTH,
+ CollectionPermissions, NestingPermissions, MAX_COLLECTION_NAME_LENGTH,
MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH, MAX_PROPERTIES_PER_ITEM,
};
use frame_support::{
@@ -94,7 +94,12 @@
description,
token_prefix,
permissions: Some(CollectionPermissions {
- nesting: Some(NestingRule::Permissive),
+ nesting: Some(NestingPermissions {
+ token_owner: false,
+ admin: false,
+ restricted: None,
+ permissive: true,
+ }),
..Default::default()
}),
..Default::default()
pallets/common/src/erc.rsdiffbeforeafterboth--- a/pallets/common/src/erc.rs
+++ b/pallets/common/src/erc.rs
@@ -22,10 +22,7 @@
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, NestingRule, OwnerRestrictedSet, AccessMode,
- CollectionPermissions,
-};
+use up_data_structs::{Property, SponsoringRateLimit, OwnerRestrictedSet, AccessMode, CollectionPermissions};
use alloc::format;
use crate::{Pallet, CollectionHandle, Config, CollectionProperties};
@@ -219,13 +216,13 @@
#[solidity(rename_selector = "setCollectionNesting")]
fn set_nesting_bool(&mut self, caller: caller, enable: bool) -> Result<void> {
check_is_owner_or_admin(caller, self)?;
- let permissions = CollectionPermissions {
- nesting: Some(match enable {
- false => NestingRule::Disabled,
- true => NestingRule::Owner,
- }),
- ..Default::default()
- };
+
+ let mut permissions = self.collection.permissions.clone();
+ let mut nesting = permissions.nesting().clone();
+ nesting.token_owner = enable;
+ nesting.restricted = None;
+ permissions.nesting = Some(nesting);
+
self.collection.permissions = <Pallet<T>>::clamp_permissions(
self.collection.mode.clone(),
&self.collection.permissions,
@@ -246,30 +243,31 @@
if collections.is_empty() {
return Err("no addresses provided".into());
}
- if collections.len() >= OwnerRestrictedSet::bound() {
- return Err(Error::Revert(format!(
- "out of bound: {} >= {}",
- collections.len(),
- OwnerRestrictedSet::bound()
- )));
- }
check_is_owner_or_admin(caller, self)?;
- let permissions = CollectionPermissions {
- nesting: Some(match enable {
- false => NestingRule::Disabled,
- true => {
- let mut bv = OwnerRestrictedSet::new();
- for i in collections {
- bv.try_insert(crate::eth::map_eth_to_id(&i).ok_or_else(|| {
- Error::Revert("can't convert address into collection id".into())
- })?)
- .map_err(|e| Error::Revert(format!("{:?}", e)))?;
- }
- NestingRule::OwnerRestricted(bv)
+
+ let mut permissions = self.collection.permissions.clone();
+ match enable {
+ false => {
+ let mut nesting = permissions.nesting().clone();
+ nesting.token_owner = false;
+ nesting.restricted = None;
+ permissions.nesting = Some(nesting);
+ }
+ true => {
+ let mut bv = OwnerRestrictedSet::new();
+ for i in collections {
+ bv.try_insert(crate::eth::map_eth_to_id(&i).ok_or(Error::Revert(
+ "Can't convert address into collection id".into(),
+ ))?)
+ .map_err(|_| "too many collections")?;
}
- }),
- ..Default::default()
+ let mut nesting = permissions.nesting().clone();
+ nesting.token_owner = true;
+ nesting.restricted = Some(bv);
+ permissions.nesting = Some(nesting);
+ }
};
+
self.collection.permissions = <Pallet<T>>::clamp_permissions(
self.collection.mode.clone(),
&self.collection.permissions,
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -430,10 +430,8 @@
/// Not sufficient funds to perform action
NotSufficientFounds,
- /// Collection has nesting disabled
- NestingIsDisabled,
- /// Only owner may nest tokens under this collection
- OnlyOwnerAllowedToNest,
+ /// User not passed nesting rule
+ UserIsNotAllowedToNest,
/// Only tokens from specific collections may nest tokens under this
SourceCollectionIsNotAllowedToNest,
@@ -1212,7 +1210,11 @@
limit_default_clone!(old_limit, new_limit,
access => {},
mint_mode => {},
- nesting => {},
+ nesting => ensure!(
+ // Permissive is only allowed for tests and internal usage of chain for now
+ old_limit.permissive || !new_limit.permissive,
+ <Error<T>>::NoPermission,
+ ),
);
Ok(new_limit)
}
pallets/nonfungible/src/lib.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -27,8 +27,8 @@
};
use up_data_structs::{
AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,
- mapping::TokenAddressMapping, NestingRule, budget::Budget, Property, PropertyPermission,
- PropertyKey, PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,
+ mapping::TokenAddressMapping, budget::Budget, Property, PropertyPermission, PropertyKey,
+ PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,
};
use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
use pallet_common::{
@@ -996,38 +996,29 @@
under: TokenId,
nesting_budget: &dyn Budget,
) -> DispatchResult {
- fn ensure_sender_allowed<T: Config>(
- collection: CollectionId,
- token: TokenId,
- for_nest: (CollectionId, TokenId),
- sender: T::CrossAccountId,
- budget: &dyn Budget,
- ) -> DispatchResult {
+ let nesting = handle.permissions.nesting();
+ if nesting.permissive {
+ // Pass
+ } else if nesting.token_owner
+ && <PalletStructure<T>>::check_indirectly_owned(
+ sender.clone(),
+ handle.id,
+ under,
+ Some(from),
+ nesting_budget,
+ )? {
+ // Pass
+ } else if nesting.admin && handle.is_owner_or_admin(&sender) {
+ // Pass
+ } else {
+ fail!(<CommonError<T>>::UserIsNotAllowedToNest);
+ }
+
+ if let Some(whitelist) = &nesting.restricted {
ensure!(
- <PalletStructure<T>>::check_indirectly_owned(
- sender,
- collection,
- token,
- Some(for_nest),
- budget
- )?,
- <CommonError<T>>::OnlyOwnerAllowedToNest,
+ whitelist.contains(&from.0),
+ <CommonError<T>>::SourceCollectionIsNotAllowedToNest
);
- Ok(())
- }
- match handle.permissions.nesting() {
- NestingRule::Disabled => fail!(<CommonError<T>>::NestingIsDisabled),
- NestingRule::Owner => {
- ensure_sender_allowed::<T>(handle.id, under, from, sender, nesting_budget)?
- }
- NestingRule::OwnerRestricted(whitelist) => {
- ensure!(
- whitelist.contains(&from.0),
- <CommonError<T>>::SourceCollectionIsNotAllowedToNest
- );
- ensure_sender_allowed::<T>(handle.id, under, from, sender, nesting_budget)?
- }
- NestingRule::Permissive => {}
}
Ok(())
}
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -200,7 +200,13 @@
.try_into()
.map_err(|_| <CommonError<T>>::CollectionTokenPrefixLimitExceeded)?,
permissions: Some(CollectionPermissions {
- nesting: Some(NestingRule::Owner),
+ nesting: Some(NestingPermissions {
+ token_owner: true,
+ admin: false,
+ restricted: None,
+
+ permissive: false,
+ }),
..Default::default()
}),
..Default::default()
@@ -600,7 +606,7 @@
&budget,
)
.map_err(|err| {
- if err == <CommonError<T>>::OnlyOwnerAllowedToNest.into() {
+ if err == <CommonError<T>>::UserIsNotAllowedToNest.into() {
<Error<T>>::CannotAcceptNonOwnedNft.into()
} else {
Self::map_unique_err_to_proxy(err)
pallets/scheduler/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "pallet-unq-scheduler"
+name = "pallet-unique-scheduler"
version = "0.1.0"
authors = ["Unique Network <support@uniquenetwork.io>"]
edition = "2021"
pallets/scheduler/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/scheduler/src/benchmarking.rs
+++ b/pallets/scheduler/src/benchmarking.rs
@@ -34,35 +34,57 @@
//! Scheduler pallet benchmarking.
-#![cfg(feature = "runtime-benchmarks")]
-
use super::*;
-use sp_std::{vec, prelude::*};
+use frame_benchmarking::{benchmarks, account};
+use frame_support::{
+ ensure,
+ traits::{OnInitialize},
+};
use frame_system::RawOrigin;
-use frame_support::{ensure, traits::OnInitialize};
-use frame_benchmarking::{benchmarks, impl_benchmark_test_suite};
+use sp_runtime::traits::Hash;
+use sp_std::{prelude::*, vec};
-use crate::Module as Scheduler;
+use crate::Pallet as Scheduler;
use frame_system::Pallet as System;
+use frame_support::traits::Currency;
const BLOCK_NUMBER: u32 = 2;
-// Add `n` named items to the schedule
-fn fill_schedule<T: Config>(when: T::BlockNumber, n: u32) -> Result<(), &'static str> {
- // Essentially a no-op call.
- let call = frame_system::Call::set_storage { items: vec![] };
+/// Add `n` named items to the schedule.
+///
+/// For `resolved`:
+/// - `None`: aborted (hash without preimage)
+/// - `Some(true)`: hash resolves into call if possible, plain call otherwise
+/// - `Some(false)`: plain call
+fn fill_schedule<T: Config>(
+ when: T::BlockNumber,
+ n: u32,
+ periodic: bool,
+ resolved: Option<bool>,
+) -> Result<(), &'static str> {
+ let t = DispatchTime::At(when);
+ let caller = account("user", 0, 1);
+
+ // Give the sender account max funds for transfer (their account will never reasonably be killed).
+ T::Currency::make_free_balance_be(&caller, T::Currency::minimum_balance());
+
for i in 0..n {
- // Named schedule is strictly heavier than anonymous
- Scheduler::<T>::do_schedule_named(
- i.encode(),
- DispatchTime::At(when),
- // Add periodicity
- Some((T::BlockNumber::one(), 100)),
- // HARD_DEADLINE priority means it gets executed no matter what
- 0,
- frame_system::RawOrigin::Root.into(),
- call.clone().into(),
- )?;
+ let (call, hash) = call_and_hash::<T>(i);
+ let call_or_hash = match resolved {
+ Some(_) => call.into(),
+ None => CallOrHashOf::<T>::Hash(hash),
+ };
+ let period = match periodic {
+ true => Some(((i + 100).into(), 100)),
+ false => None,
+ };
+
+ let slice_id: [u8; 4] = i.encode().try_into().unwrap();
+ let mut id: [u8; 16] = [0; 16];
+ id[..4].clone_from_slice(&slice_id);
+
+ let origin = frame_system::RawOrigin::Signed(caller.clone()).into();
+ Scheduler::<T>::do_schedule_named(id, t, period, 0, origin, call_or_hash)?;
}
ensure!(
Agenda::<T>::get(when).len() == n as usize,
@@ -71,54 +93,121 @@
Ok(())
}
+fn call_and_hash<T: Config>(i: u32) -> (<T as Config>::Call, T::Hash) {
+ // Essentially a no-op call.
+ let call: <T as Config>::Call = frame_system::Call::remark { remark: i.encode() }.into();
+ let hash = T::Hashing::hash_of(&call);
+ (call, hash)
+}
+
benchmarks! {
- schedule {
- let s in 0 .. T::MaxScheduledPerBlock::get();
+ on_initialize_periodic_named_resolved {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
let when = BLOCK_NUMBER.into();
- let periodic = Some((T::BlockNumber::one(), 100));
- let priority = 0;
- // Essentially a no-op call.
- let call = Box::new(frame_system::Call::set_storage { items: vec![] }.into());
+ fill_schedule::<T>(when, s, true, Some(true))?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+ verify {
+ assert_eq!(System::<T>::event_count(), s);
+ for i in 0..s {
+ assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
+ }
+ }
- fill_schedule::<T>(when, s)?;
- }: _(RawOrigin::Root, when, periodic, priority, call)
+ on_initialize_named_resolved {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, false, Some(true))?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
verify {
- ensure!(
- Agenda::<T>::get(when).len() == (s + 1) as usize,
- "didn't add to schedule"
- );
+ assert_eq!(System::<T>::event_count(), s);
+ assert!(Agenda::<T>::iter().count() == 0);
}
- cancel {
+ on_initialize_periodic {
let s in 1 .. T::MaxScheduledPerBlock::get();
let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, true, Some(false))?;
+ }: { Scheduler::<T>::on_initialize(when); }
+ verify {
+ assert_eq!(System::<T>::event_count(), s);
+ for i in 0..s {
+ assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
+ }
+ }
- fill_schedule::<T>(when, s)?;
- assert_eq!(Agenda::<T>::get(when).len(), s as usize);
- }: _(RawOrigin::Root, when, 0)
+ on_initialize_periodic_resolved {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, true, Some(true))?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
verify {
- ensure!(
- Lookup::<T>::get(0.encode()).is_none(),
- "didn't remove from lookup"
- );
- // Removed schedule is NONE
- ensure!(
- Agenda::<T>::get(when)[0].is_none(),
- "didn't remove from schedule"
- );
+ assert_eq!(System::<T>::event_count(), s );
+ for i in 0..s {
+ assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
+ }
}
+ on_initialize_aborted {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, false, None)?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+ verify {
+ assert_eq!(System::<T>::event_count(), 0);
+ }
+
+ on_initialize_named_aborted {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, false, Some(false))?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+ verify {
+ }
+
+ on_initialize_named {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, false, None)?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+ verify {
+ assert_eq!(System::<T>::event_count(), 0);
+ }
+
+ on_initialize {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, false, Some(false))?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+ verify {
+ assert_eq!(System::<T>::event_count(), s);
+ assert!(Agenda::<T>::iter().count() == 0);
+ }
+
+ on_initialize_resolved {
+ let s in 1 .. T::MaxScheduledPerBlock::get();
+ let when = BLOCK_NUMBER.into();
+ fill_schedule::<T>(when, s, false, Some(true))?;
+ }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
+ verify {
+ assert_eq!(System::<T>::event_count(), s);
+ assert!(Agenda::<T>::iter().count() == 0);
+ }
+
schedule_named {
+ let caller: T::AccountId = account("user", 0, 1);
+ let origin: RawOrigin<T::AccountId> = frame_system::RawOrigin::Signed(caller.clone());
let s in 0 .. T::MaxScheduledPerBlock::get();
- let id = s.encode();
+ let slice_id: [u8; 4] = s.encode().try_into().unwrap();
+ let mut id: [u8; 16] = [0; 16];
+ id[..4].clone_from_slice(&slice_id);
let when = BLOCK_NUMBER.into();
let periodic = Some((T::BlockNumber::one(), 100));
let priority = 0;
// Essentially a no-op call.
- let call = Box::new(frame_system::Call::set_storage { items: vec![] }.into());
-
- fill_schedule::<T>(when, s)?;
- }: _(RawOrigin::Root, id, when, periodic, priority, call)
+ let inner_call = frame_system::Call::set_storage { items: vec![] }.into();
+ let call = Box::new(CallOrHashOf::<T>::Value(inner_call));
+ fill_schedule::<T>(when, s, true, Some(false))?;
+ }: _(origin, id, when, periodic, priority, call)
verify {
ensure!(
Agenda::<T>::get(when).len() == (s + 1) as usize,
@@ -127,14 +216,16 @@
}
cancel_named {
+ let caller: T::AccountId = account("user", 0, 1);
+ let origin: RawOrigin<T::AccountId> = frame_system::RawOrigin::Signed(caller.clone());
let s in 1 .. T::MaxScheduledPerBlock::get();
let when = BLOCK_NUMBER.into();
-
- fill_schedule::<T>(when, s)?;
- }: _(RawOrigin::Root, 0.encode())
+ let id = 0.encode().try_into().unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
+ fill_schedule::<T>(when, s, true, Some(false))?;
+ }: _(origin, id)
verify {
ensure!(
- Lookup::<T>::get(0.encode()).is_none(),
+ Lookup::<T>::get(id).is_none(),
"didn't remove from lookup"
);
// Removed schedule is NONE
@@ -144,21 +235,5 @@
);
}
- // TODO [#7141]: Make this more complex and flexible so it can be used in automation.
- #[extra]
- on_initialize {
- let s in 0 .. T::MaxScheduledPerBlock::get();
- let when = BLOCK_NUMBER.into();
- fill_schedule::<T>(when, s)?;
- }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
- verify {
- assert_eq!(System::<T>::event_count(), s);
- // Next block should have all the schedules again
- ensure!(
- Agenda::<T>::get(when + T::BlockNumber::one()).len() == s as usize,
- "didn't append schedule"
- );
- }
+ impl_benchmark_test_suite!(Scheduler, crate::mock::new_test_ext(), crate::mock::Test);
}
-
-impl_benchmark_test_suite!(Scheduler, crate::tests::new_test_ext(), crate::tests::Test,);
pallets/scheduler/src/lib.rsdiffbeforeafterboth--- a/pallets/scheduler/src/lib.rs
+++ b/pallets/scheduler/src/lib.rs
@@ -60,9 +60,8 @@
// Ensure we're `no_std` when compiling for Wasm.
#![cfg_attr(not(feature = "std"), no_std)]
-// FIXME
-// #[cfg(feature = "runtime-benchmarks")]
-// mod benchmarking;
+#[cfg(feature = "runtime-benchmarks")]
+mod benchmarking;
pub mod weights;
@@ -159,11 +158,10 @@
Self::on_initialize_periodic(2) - Self::on_initialize_periodic(1)
}
(true, true, Some(false)) => {
- Self::on_initialize_periodic_named(2) - Self::on_initialize_periodic_named(1)
- }
- (false, false, Some(true)) => {
- Self::on_initialize_resolved(2) - Self::on_initialize_resolved(1)
+ Self::on_initialize_periodic_named_resolved(2)
+ - Self::on_initialize_periodic_named_resolved(1)
}
+ (false, false, Some(true)) => Self::on_initialize(2) - Self::on_initialize(1),
(false, true, Some(true)) => {
Self::on_initialize_named_resolved(2) - Self::on_initialize_named_resolved(1)
}
@@ -608,97 +606,8 @@
}
Ok(when)
- }
-
- fn do_schedule(
- when: DispatchTime<T::BlockNumber>,
- maybe_periodic: Option<schedule::Period<T::BlockNumber>>,
- priority: schedule::Priority,
- origin: T::PalletsOrigin,
- call: CallOrHashOf<T>,
- ) -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
- let when = Self::resolve_time(when)?;
- call.ensure_requested::<T::PreimageProvider>();
-
- // sanitize maybe_periodic
- let maybe_periodic = maybe_periodic
- .filter(|p| p.1 > 1 && !p.0.is_zero())
- // Remove one from the number of repetitions since we will schedule one now.
- .map(|(p, c)| (p, c - 1));
- let s = Some(Scheduled {
- maybe_id: None,
- priority,
- call,
- maybe_periodic,
- origin,
- _phantom: PhantomData::<T::AccountId>::default(),
- });
- Agenda::<T>::append(when, s);
- let index = Agenda::<T>::decode_len(when).unwrap_or(1) as u32 - 1;
- Self::deposit_event(Event::Scheduled { when, index });
-
- Ok((when, index))
}
- fn do_cancel(
- origin: Option<T::PalletsOrigin>,
- (when, index): TaskAddress<T::BlockNumber>,
- ) -> Result<(), DispatchError> {
- let scheduled = Agenda::<T>::try_mutate(when, |agenda| {
- agenda.get_mut(index as usize).map_or(
- Ok(None),
- |s| -> Result<Option<Scheduled<_, _, _, _>>, DispatchError> {
- if let (Some(ref o), Some(ref s)) = (origin, s.borrow()) {
- if matches!(
- T::OriginPrivilegeCmp::cmp_privilege(o, &s.origin),
- Some(Ordering::Less) | None
- ) {
- return Err(BadOrigin.into());
- }
- };
- Ok(s.take())
- },
- )
- })?;
- if let Some(s) = scheduled {
- s.call.ensure_unrequested::<T::PreimageProvider>();
- if let Some(id) = s.maybe_id {
- Lookup::<T>::remove(id);
- }
- Self::deposit_event(Event::Canceled { when, index });
- Ok(())
- } else {
- Err(Error::<T>::NotFound)?
- }
- }
-
- fn do_reschedule(
- (when, index): TaskAddress<T::BlockNumber>,
- new_time: DispatchTime<T::BlockNumber>,
- ) -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
- let new_time = Self::resolve_time(new_time)?;
-
- if new_time == when {
- return Err(Error::<T>::RescheduleNoChange.into());
- }
-
- Agenda::<T>::try_mutate(when, |agenda| -> DispatchResult {
- let task = agenda.get_mut(index as usize).ok_or(Error::<T>::NotFound)?;
- let task = task.take().ok_or(Error::<T>::NotFound)?;
- Agenda::<T>::append(new_time, Some(task));
- Ok(())
- })?;
-
- let new_index = Agenda::<T>::decode_len(new_time).unwrap_or(1) as u32 - 1;
- Self::deposit_event(Event::Canceled { when, index });
- Self::deposit_event(Event::Scheduled {
- when: new_time,
- index: new_index,
- });
-
- Ok((new_time, new_index))
- }
-
fn do_schedule_named(
id: ScheduledId,
when: DispatchTime<T::BlockNumber>,
@@ -789,125 +698,5 @@
Err(Error::<T>::NotFound)?
}
})
- }
-
- fn do_reschedule_named(
- id: ScheduledId,
- new_time: DispatchTime<T::BlockNumber>,
- ) -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
- let new_time = Self::resolve_time(new_time)?;
-
- Lookup::<T>::try_mutate_exists(
- id,
- |lookup| -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
- let (when, index) = lookup.ok_or(Error::<T>::NotFound)?;
-
- if new_time == when {
- return Err(Error::<T>::RescheduleNoChange.into());
- }
-
- Agenda::<T>::try_mutate(when, |agenda| -> DispatchResult {
- let task = agenda.get_mut(index as usize).ok_or(Error::<T>::NotFound)?;
- let task = task.take().ok_or(Error::<T>::NotFound)?;
- Agenda::<T>::append(new_time, Some(task));
-
- Ok(())
- })?;
-
- let new_index = Agenda::<T>::decode_len(new_time).unwrap_or(1) as u32 - 1;
- Self::deposit_event(Event::Canceled { when, index });
- Self::deposit_event(Event::Scheduled {
- when: new_time,
- index: new_index,
- });
-
- *lookup = Some((new_time, new_index));
-
- Ok((new_time, new_index))
- },
- )
- }
-}
-
-impl<T: Config> schedule::v2::Anon<T::BlockNumber, <T as Config>::Call, T::PalletsOrigin>
- for Pallet<T>
-{
- type Address = TaskAddress<T::BlockNumber>;
- type Hash = T::Hash;
-
- fn schedule(
- when: DispatchTime<T::BlockNumber>,
- maybe_periodic: Option<schedule::Period<T::BlockNumber>>,
- priority: schedule::Priority,
- origin: T::PalletsOrigin,
- call: CallOrHashOf<T>,
- ) -> Result<Self::Address, DispatchError> {
- Self::do_schedule(when, maybe_periodic, priority, origin, call)
- }
-
- fn cancel((when, index): Self::Address) -> Result<(), ()> {
- Self::do_cancel(None, (when, index)).map_err(|_| ())
- }
-
- fn reschedule(
- address: Self::Address,
- when: DispatchTime<T::BlockNumber>,
- ) -> Result<Self::Address, DispatchError> {
- Self::do_reschedule(address, when)
- }
-
- fn next_dispatch_time((when, index): Self::Address) -> Result<T::BlockNumber, ()> {
- Agenda::<T>::get(when)
- .get(index as usize)
- .ok_or(())
- .map(|_| when)
- }
-}
-
-impl<T: Config> schedule::v2::Named<T::BlockNumber, <T as Config>::Call, T::PalletsOrigin>
- for Pallet<T>
-{
- type Address = TaskAddress<T::BlockNumber>;
- type Hash = T::Hash;
-
- fn schedule_named(
- id: Vec<u8>,
- when: DispatchTime<T::BlockNumber>,
- maybe_periodic: Option<schedule::Period<T::BlockNumber>>,
- priority: schedule::Priority,
- origin: T::PalletsOrigin,
- call: CallOrHashOf<T>,
- ) -> Result<Self::Address, ()> {
- let inner_id: ScheduledId = id
- .try_into()
- .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
- Self::do_schedule_named(inner_id, when, maybe_periodic, priority, origin, call)
- .map_err(|_| ())
- }
-
- fn cancel_named(id: Vec<u8>) -> Result<(), ()> {
- let inner_id: ScheduledId = id
- .try_into()
- .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
- Self::do_cancel_named(None, inner_id).map_err(|_| ())
- }
-
- fn reschedule_named(
- id: Vec<u8>,
- when: DispatchTime<T::BlockNumber>,
- ) -> Result<Self::Address, DispatchError> {
- let inner_id: ScheduledId = id
- .try_into()
- .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
- Self::do_reschedule_named(inner_id, when)
- }
-
- fn next_dispatch_time(id: Vec<u8>) -> Result<T::BlockNumber, ()> {
- let inner_id: ScheduledId = id
- .try_into()
- .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
- Lookup::<T>::get(inner_id)
- .and_then(|(when, index)| Agenda::<T>::get(when).get(index as usize).map(|_| when))
- .ok_or(())
}
}
pallets/scheduler/src/weights.rsdiffbeforeafterboth--- a/pallets/scheduler/src/weights.rs
+++ b/pallets/scheduler/src/weights.rs
@@ -1,213 +1,183 @@
-// This file is part of Substrate.
-
-// Copyright (C) 2022 Parity Technologies (UK) Ltd.
-// SPDX-License-Identifier: Apache-2.0
-
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
-//! Autogenerated weights for pallet_scheduler
+//! Autogenerated weights for pallet_unique_scheduler
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2022-01-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
-//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
+//! DATE: 2022-06-09, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
-// ./target/production/substrate
+// target/release/unique-collator
// benchmark
-// --chain=dev
+// pallet
+// --pallet
+// pallet-unique-scheduler
+// --wasm-execution
+// compiled
+// --extrinsic
+// *
+// --template
+// .maintain/frame-weight-template.hbs
// --steps=50
-// --repeat=20
-// --pallet=pallet_scheduler
-// --extrinsic=*
-// --execution=wasm
-// --wasm-execution=compiled
+// --repeat=200
// --heap-pages=4096
-// --output=./frame/scheduler/src/weights.rs
-// --template=.maintain/frame-weight-template.hbs
-// --header=HEADER-APACHE2
-// --raw
+// --output=./pallets/scheduler/src/weights.rs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
+#![allow(clippy::unnecessary_cast)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
-/// Weight functions needed for pallet_scheduler.
+/// Weight functions needed for pallet_unique_scheduler.
pub trait WeightInfo {
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight;
fn on_initialize_named_resolved(s: u32, ) -> Weight;
+ fn on_initialize_periodic(s: u32, ) -> Weight;
fn on_initialize_periodic_resolved(s: u32, ) -> Weight;
- fn on_initialize_resolved(s: u32, ) -> Weight;
+ fn on_initialize_aborted(s: u32, ) -> Weight;
fn on_initialize_named_aborted(s: u32, ) -> Weight;
- fn on_initialize_aborted(s: u32, ) -> Weight;
- fn on_initialize_periodic_named(s: u32, ) -> Weight;
- fn on_initialize_periodic(s: u32, ) -> Weight;
fn on_initialize_named(s: u32, ) -> Weight;
fn on_initialize(s: u32, ) -> Weight;
- fn schedule(s: u32, ) -> Weight;
- fn cancel(s: u32, ) -> Weight;
+ fn on_initialize_resolved(s: u32, ) -> Weight;
fn schedule_named(s: u32, ) -> Weight;
fn cancel_named(s: u32, ) -> Weight;
}
-/// Weights for pallet_scheduler using the Substrate node and recommended hardware.
+/// Weights for pallet_unique_scheduler using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (11_587_000 as Weight)
- // Standard Error: 17_000
- .saturating_add((17_428_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(s as Weight)))
+ (35_999_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:1 w:1)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (8_965_000 as Weight)
- // Standard Error: 11_000
- .saturating_add((13_410_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))
+ (34_874_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
- fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (8_654_000 as Weight)
- // Standard Error: 17_000
- .saturating_add((14_990_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))
- }
- // Storage: Scheduler Agenda (r:1 w:1)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
- fn on_initialize_resolved(s: u32, ) -> Weight {
- (9_303_000 as Weight)
- // Standard Error: 10_000
- .saturating_add((12_244_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: Scheduler Lookup (r:0 w:1)
+ fn on_initialize_periodic(s: u32, ) -> Weight {
+ (36_469_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:0)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
- fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (7_506_000 as Weight)
+ fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
+ (35_352_000 as Weight)
// Standard Error: 3_000
- .saturating_add((5_208_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
- .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:0)
+ // Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (8_046_000 as Weight)
- // Standard Error: 3_000
- .saturating_add((2_914_000 as Weight).saturating_mul(s as Weight))
+ (11_267_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
- // Storage: Scheduler Agenda (r:2 w:2)
+ // Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
- fn on_initialize_periodic_named(s: u32, ) -> Weight {
- (13_704_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((8_186_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
- }
- // Storage: Scheduler Agenda (r:2 w:2)
- fn on_initialize_periodic(s: u32, ) -> Weight {
- (12_668_000 as Weight)
- // Standard Error: 5_000
- .saturating_add((5_868_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ fn on_initialize_named_aborted(s: u32, ) -> Weight {
+ (35_937_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
- // Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (13_946_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((4_367_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (10_338_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(2 as Weight))
+ .saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (13_151_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((3_455_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
+ (37_448_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:1 w:1)
- fn schedule(s: u32, ) -> Weight {
- (14_040_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((89_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(1 as Weight))
- }
- // Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
- fn cancel(s: u32, ) -> Weight {
- (14_376_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((576_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(T::DbWeight::get().reads(1 as Weight))
- .saturating_add(T::DbWeight::get().writes(2 as Weight))
+ fn on_initialize_resolved(s: u32, ) -> Weight {
+ (34_841_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(T::DbWeight::get().reads(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes(4 as Weight))
+ .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (16_806_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((102_000 as Weight).saturating_mul(s as Weight))
+ (33_845_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((168_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (15_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((590_000 as Weight).saturating_mul(s as Weight))
+ (31_169_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
@@ -216,148 +186,134 @@
// For backwards compatibility and tests
impl WeightInfo for () {
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
- (11_587_000 as Weight)
- // Standard Error: 17_000
- .saturating_add((17_428_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(s as Weight)))
+ (35_999_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:1 w:1)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named_resolved(s: u32, ) -> Weight {
- (8_965_000 as Weight)
- // Standard Error: 11_000
- .saturating_add((13_410_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))
+ (34_874_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
- fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
- (8_654_000 as Weight)
- // Standard Error: 17_000
- .saturating_add((14_990_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))
- }
- // Storage: Scheduler Agenda (r:1 w:1)
- // Storage: Preimage PreimageFor (r:1 w:1)
- // Storage: Preimage StatusFor (r:1 w:1)
- fn on_initialize_resolved(s: u32, ) -> Weight {
- (9_303_000 as Weight)
- // Standard Error: 10_000
- .saturating_add((12_244_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: Scheduler Lookup (r:0 w:1)
+ fn on_initialize_periodic(s: u32, ) -> Weight {
+ (36_469_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:0)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
- fn on_initialize_named_aborted(s: u32, ) -> Weight {
- (7_506_000 as Weight)
+ fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
+ (35_352_000 as Weight)
// Standard Error: 3_000
- .saturating_add((5_208_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ .saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
- .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:2 w:2)
- // Storage: Preimage PreimageFor (r:1 w:0)
+ // Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_aborted(s: u32, ) -> Weight {
- (8_046_000 as Weight)
- // Standard Error: 3_000
- .saturating_add((2_914_000 as Weight).saturating_mul(s as Weight))
+ (11_267_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
- // Storage: Scheduler Agenda (r:2 w:2)
+ // Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
- fn on_initialize_periodic_named(s: u32, ) -> Weight {
- (13_704_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((8_186_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
- }
- // Storage: Scheduler Agenda (r:2 w:2)
- fn on_initialize_periodic(s: u32, ) -> Weight {
- (12_668_000 as Weight)
- // Standard Error: 5_000
- .saturating_add((5_868_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ fn on_initialize_named_aborted(s: u32, ) -> Weight {
+ (35_937_000 as Weight)
+ // Standard Error: 3_000
+ .saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
- // Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: Scheduler Agenda (r:2 w:2)
// Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize_named(s: u32, ) -> Weight {
- (13_946_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((4_367_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ (10_338_000 as Weight)
+ // Standard Error: 2_000
+ .saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(2 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
+ // Storage: Scheduler Lookup (r:0 w:1)
fn on_initialize(s: u32, ) -> Weight {
- (13_151_000 as Weight)
- // Standard Error: 4_000
- .saturating_add((3_455_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
+ (37_448_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Agenda (r:1 w:1)
- fn schedule(s: u32, ) -> Weight {
- (14_040_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((89_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(1 as Weight))
- }
- // Storage: Scheduler Agenda (r:1 w:1)
+ // Storage: System Account (r:1 w:1)
+ // Storage: System AllExtrinsicsLen (r:1 w:1)
+ // Storage: System BlockWeight (r:1 w:1)
// Storage: Scheduler Lookup (r:0 w:1)
- fn cancel(s: u32, ) -> Weight {
- (14_376_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((576_000 as Weight).saturating_mul(s as Weight))
- .saturating_add(RocksDbWeight::get().reads(1 as Weight))
- .saturating_add(RocksDbWeight::get().writes(2 as Weight))
+ fn on_initialize_resolved(s: u32, ) -> Weight {
+ (34_841_000 as Weight)
+ // Standard Error: 7_000
+ .saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
+ .saturating_add(RocksDbWeight::get().reads(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes(4 as Weight))
+ .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn schedule_named(s: u32, ) -> Weight {
- (16_806_000 as Weight)
- // Standard Error: 1_000
- .saturating_add((102_000 as Weight).saturating_mul(s as Weight))
+ (33_845_000 as Weight)
+ // Standard Error: 0
+ .saturating_add((168_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Scheduler Lookup (r:1 w:1)
// Storage: Scheduler Agenda (r:1 w:1)
fn cancel_named(s: u32, ) -> Weight {
- (15_852_000 as Weight)
- // Standard Error: 2_000
- .saturating_add((590_000 as Weight).saturating_mul(s as Weight))
+ (31_169_000 as Weight)
+ // Standard Error: 1_000
+ .saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(2 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
primitives/data-structs/src/lib.rsdiffbeforeafterboth--- a/primitives/data-structs/src/lib.rs
+++ b/primitives/data-structs/src/lib.rs
@@ -441,7 +441,7 @@
pub struct CollectionPermissions {
pub access: Option<AccessMode>,
pub mint_mode: Option<bool>,
- pub nesting: Option<NestingRule>,
+ pub nesting: Option<NestingPermissions>,
}
impl CollectionPermissions {
@@ -451,30 +451,58 @@
pub fn mint_mode(&self) -> bool {
self.mint_mode.unwrap_or(false)
}
- pub fn nesting(&self) -> &NestingRule {
- static DEFAULT: NestingRule = NestingRule::Disabled;
+ pub fn nesting(&self) -> &NestingPermissions {
+ static DEFAULT: NestingPermissions = NestingPermissions {
+ token_owner: false,
+ admin: false,
+ restricted: None,
+
+ permissive: false,
+ };
self.nesting.as_ref().unwrap_or(&DEFAULT)
}
}
-pub type OwnerRestrictedSet = BoundedBTreeSet<CollectionId, ConstU32<16>>;
+type OwnerRestrictedSetInner = BoundedBTreeSet<CollectionId, ConstU32<16>>;
+
+#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]
+#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
+#[derivative(Debug)]
+pub struct OwnerRestrictedSet(
+ #[cfg_attr(feature = "serde1", serde(with = "bounded::set_serde"))]
+ #[derivative(Debug(format_with = "bounded::set_debug"))]
+ pub OwnerRestrictedSetInner,
+);
+impl OwnerRestrictedSet {
+ pub fn new() -> Self {
+ Self(Default::default())
+ }
+}
+impl core::ops::Deref for OwnerRestrictedSet {
+ type Target = OwnerRestrictedSetInner;
+ fn deref(&self) -> &Self::Target {
+ &self.0
+ }
+}
+impl core::ops::DerefMut for OwnerRestrictedSet {
+ fn deref_mut(&mut self) -> &mut Self::Target {
+ &mut self.0
+ }
+}
#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
#[derivative(Debug)]
-pub enum NestingRule {
- /// No one can nest tokens
- Disabled,
- /// Owner can nest any tokens
- Owner,
- /// Owner can nest tokens from specified collections
- OwnerRestricted(
- #[cfg_attr(feature = "serde1", serde(with = "bounded::set_serde"))]
- #[derivative(Debug(format_with = "bounded::set_debug"))]
- OwnerRestrictedSet,
- ),
- /// Used for tests
- Permissive,
+pub struct NestingPermissions {
+ /// Owner of token can nest tokens under it
+ pub token_owner: bool,
+ /// Admin of token collection can nest tokens under token
+ pub admin: bool,
+ /// If set - only tokens from specified collections can be nested
+ pub restricted: Option<OwnerRestrictedSet>,
+
+ /// Anyone can nest tokens, mutually exclusive with `token_owner`, `admin`
+ pub permissive: bool,
}
#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo, MaxEncodedLen)]
runtime/common/Cargo.tomldiffbeforeafterboth--- a/runtime/common/Cargo.toml
+++ b/runtime/common/Cargo.toml
@@ -89,6 +89,10 @@
default-features = false
path = "../../pallets/refungible"
+[dependencies.pallet-unique-scheduler]
+default-features = false
+path = "../../pallets/scheduler"
+
[dependencies.up-data-structs]
default-features = false
path = "../../primitives/data-structs"
runtime/common/src/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -843,6 +843,7 @@
list_benchmark!(list, extra, pallet_fungible, Fungible);
list_benchmark!(list, extra, pallet_refungible, Refungible);
list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
+ list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);
list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);
// list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
@@ -887,6 +888,7 @@
add_benchmark!(params, batches, pallet_fungible, Fungible);
add_benchmark!(params, batches, pallet_refungible, Refungible);
add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
+ add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);
add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);
// add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -36,6 +36,7 @@
'pallet-proxy-rmrk-core/runtime-benchmarks',
'pallet-unique/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-unique-scheduler/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
@@ -93,7 +94,7 @@
'pallet-proxy-rmrk-core/std',
'pallet-proxy-rmrk-equip/std',
'pallet-unique/std',
- 'pallet-unq-scheduler/std',
+ 'pallet-unique-scheduler/std',
'pallet-charge-transaction/std',
'up-data-structs/std',
'sp-api/std',
@@ -412,7 +413,7 @@
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
-pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
+pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
runtime/opal/src/lib.rsdiffbeforeafterboth--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -68,7 +68,7 @@
WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
},
};
-use pallet_unq_scheduler::DispatchCall;
+use pallet_unique_scheduler::DispatchCall;
use up_data_structs::{
CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
CollectionStats, RpcCollection,
@@ -969,7 +969,7 @@
}
pub struct SchedulerPaymentExecutor;
-impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>
+impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
where
<T as frame_system::Config>::Call: Member
@@ -979,13 +979,13 @@
+ From<frame_system::Call<Runtime>>,
SelfContainedSignedInfo: Send + Sync + 'static,
Call: From<<T as frame_system::Config>::Call>
- + From<<T as pallet_unq_scheduler::Config>::Call>
+ + From<<T as pallet_unique_scheduler::Config>::Call>
+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
{
fn dispatch_call(
signer: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
) -> Result<
Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
TransactionValidityError,
@@ -1011,7 +1011,7 @@
fn reserve_balance(
id: [u8; 16],
sponsor: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
count: u32,
) -> Result<(), DispatchError> {
let dispatch_info = call.get_dispatch_info();
@@ -1028,7 +1028,7 @@
fn pay_for_call(
id: [u8; 16],
sponsor: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
) -> Result<u128, DispatchError> {
let dispatch_info = call.get_dispatch_info();
let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
@@ -1069,7 +1069,7 @@
}
}
-impl pallet_unq_scheduler::Config for Runtime {
+impl pallet_unique_scheduler::Config for Runtime {
type Event = Event;
type Origin = Origin;
type Currency = Balances;
@@ -1158,7 +1158,7 @@
// Unique Pallets
Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
- Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+ Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
// free = 63
Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -37,6 +37,7 @@
'pallet-proxy-rmrk-equip/runtime-benchmarks',
'pallet-unique/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-unique-scheduler/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
@@ -94,7 +95,7 @@
'pallet-proxy-rmrk-core/std',
'pallet-proxy-rmrk-equip/std',
'pallet-unique/std',
- 'pallet-unq-scheduler/std',
+ 'pallet-unique-scheduler/std',
'pallet-charge-transaction/std',
'up-data-structs/std',
'sp-api/std',
@@ -419,7 +420,7 @@
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
-pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
+pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -68,7 +68,7 @@
WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
},
};
-use pallet_unq_scheduler::DispatchCall;
+use pallet_unique_scheduler::DispatchCall;
use up_data_structs::{
CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
CollectionStats, RpcCollection,
@@ -968,7 +968,7 @@
}
pub struct SchedulerPaymentExecutor;
-impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>
+impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
where
<T as frame_system::Config>::Call: Member
@@ -978,13 +978,13 @@
+ From<frame_system::Call<Runtime>>,
SelfContainedSignedInfo: Send + Sync + 'static,
Call: From<<T as frame_system::Config>::Call>
- + From<<T as pallet_unq_scheduler::Config>::Call>
+ + From<<T as pallet_unique_scheduler::Config>::Call>
+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
{
fn dispatch_call(
signer: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
) -> Result<
Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
TransactionValidityError,
@@ -1010,7 +1010,7 @@
fn reserve_balance(
id: [u8; 16],
sponsor: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
count: u32,
) -> Result<(), DispatchError> {
let dispatch_info = call.get_dispatch_info();
@@ -1027,7 +1027,7 @@
fn pay_for_call(
id: [u8; 16],
sponsor: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
) -> Result<u128, DispatchError> {
let dispatch_info = call.get_dispatch_info();
let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
@@ -1068,7 +1068,7 @@
}
}
-impl pallet_unq_scheduler::Config for Runtime {
+impl pallet_unique_scheduler::Config for Runtime {
type Event = Event;
type Origin = Origin;
type Currency = Balances;
@@ -1156,7 +1156,7 @@
// Unique Pallets
Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
- Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+ Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
// free = 63
Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -37,6 +37,7 @@
'pallet-proxy-rmrk-equip/runtime-benchmarks',
'pallet-unique/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
+ 'pallet-unique-scheduler/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
@@ -95,7 +96,7 @@
'pallet-proxy-rmrk-core/std',
'pallet-proxy-rmrk-equip/std',
'pallet-unique/std',
- 'pallet-unq-scheduler/std',
+ 'pallet-unique-scheduler/std',
'pallet-charge-transaction/std',
'up-data-structs/std',
'sp-api/std',
@@ -412,7 +413,7 @@
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
-pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
+pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -68,7 +68,7 @@
WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
},
};
-use pallet_unq_scheduler::DispatchCall;
+use pallet_unique_scheduler::DispatchCall;
use up_data_structs::{
CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
CollectionStats, RpcCollection,
@@ -967,7 +967,7 @@
}
pub struct SchedulerPaymentExecutor;
-impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>
+impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
where
<T as frame_system::Config>::Call: Member
@@ -977,13 +977,13 @@
+ From<frame_system::Call<Runtime>>,
SelfContainedSignedInfo: Send + Sync + 'static,
Call: From<<T as frame_system::Config>::Call>
- + From<<T as pallet_unq_scheduler::Config>::Call>
+ + From<<T as pallet_unique_scheduler::Config>::Call>
+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
{
fn dispatch_call(
signer: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
) -> Result<
Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
TransactionValidityError,
@@ -1009,7 +1009,7 @@
fn reserve_balance(
id: [u8; 16],
sponsor: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
count: u32,
) -> Result<(), DispatchError> {
let dispatch_info = call.get_dispatch_info();
@@ -1026,7 +1026,7 @@
fn pay_for_call(
id: [u8; 16],
sponsor: <T as frame_system::Config>::AccountId,
- call: <T as pallet_unq_scheduler::Config>::Call,
+ call: <T as pallet_unique_scheduler::Config>::Call,
) -> Result<u128, DispatchError> {
let dispatch_info = call.get_dispatch_info();
let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
@@ -1067,7 +1067,7 @@
}
}
-impl pallet_unq_scheduler::Config for Runtime {
+impl pallet_unique_scheduler::Config for Runtime {
type Event = Event;
type Origin = Origin;
type Currency = Balances;
@@ -1155,7 +1155,7 @@
// Unique Pallets
Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
- Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
+ Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
// free = 63
Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -5,7 +5,7 @@
"main": "",
"devDependencies": {
"@polkadot/ts": "0.4.22",
- "@polkadot/typegen": "8.7.2-11",
+ "@polkadot/typegen": "8.7.2-15",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.1",
@@ -86,8 +86,8 @@
"license": "SEE LICENSE IN ../LICENSE",
"homepage": "",
"dependencies": {
- "@polkadot/api": "8.7.2-11",
- "@polkadot/api-contract": "8.7.2-11",
+ "@polkadot/api": "8.7.2-15",
+ "@polkadot/api-contract": "8.7.2-15",
"@polkadot/util-crypto": "9.4.1",
"bignumber.js": "^9.0.2",
"chai-as-promised": "^7.1.1",
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -125,10 +125,6 @@
**/
MustBeTokenOwner: AugmentedError<ApiType>;
/**
- * Collection has nesting disabled
- **/
- NestingIsDisabled: AugmentedError<ApiType>;
- /**
* No permission to perform action
**/
NoPermission: AugmentedError<ApiType>;
@@ -137,13 +133,9 @@
**/
NoSpaceForProperty: AugmentedError<ApiType>;
/**
- * Not sufficient founds to perform action
+ * Not sufficient funds to perform action
**/
NotSufficientFounds: AugmentedError<ApiType>;
- /**
- * Only owner may nest tokens under this collection
- **/
- OnlyOwnerAllowedToNest: AugmentedError<ApiType>;
/**
* Tried to enable permissions which are only permitted to be disabled
**/
@@ -185,6 +177,10 @@
**/
UnsupportedOperation: AugmentedError<ApiType>;
/**
+ * User not passed nesting rule
+ **/
+ UserIsNotAllowedToNest: AugmentedError<ApiType>;
+ /**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
@@ -502,6 +498,10 @@
};
structure: {
/**
+ * While iterating over children, encountered breadth limit
+ **/
+ BreadthLimit: AugmentedError<ApiType>;
+ /**
* While searched for owner, encountered depth limit
**/
DepthLimit: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-events.ts
+++ b/tests/src/interfaces/augment-api-events.ts
@@ -13,45 +13,45 @@
/**
* A balance was set by root.
**/
- BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], { who: AccountId32, free: u128, reserved: u128 }>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
- Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* An account was removed whose balance was non-zero but below ExistentialDeposit,
* resulting in an outright loss.
**/
- DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
/**
* An account was created with some free balance.
**/
- Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
/**
* Some balance was reserved (moved from free to reserved).
**/
- Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some balance was moved from the reserve of the first account to the second account.
* Final argument indicates the destination balance type.
**/
- ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;
+ ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
/**
* Some amount was removed from the account (e.g. for misbehavior).
**/
- Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Transfer succeeded.
**/
- Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
+ Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* Some balance was unreserved (moved from reserved to free).
**/
- Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some amount was withdrawn from the account (e.g. for transaction fees).
**/
- Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Generic event
**/
@@ -398,28 +398,28 @@
[key: string]: AugmentedEvent<ApiType>;
};
rmrkCore: {
- CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
- CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;
- CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;
- IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;
- NFTAccepted: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32]>;
- NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;
- NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
- NFTRejected: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;
- NFTSent: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32, bool]>;
- PrioritySet: AugmentedEvent<ApiType, [u32, u32]>;
- PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
- ResourceAccepted: AugmentedEvent<ApiType, [u32, u32]>;
- ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;
- ResourceRemoval: AugmentedEvent<ApiType, [u32, u32]>;
- ResourceRemovalAccepted: AugmentedEvent<ApiType, [u32, u32]>;
+ CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
+ CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
+ CollectionLocked: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
+ IssuerChanged: AugmentedEvent<ApiType, [oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32], { oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32 }>;
+ NFTAccepted: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32 }>;
+ NFTBurned: AugmentedEvent<ApiType, [owner: AccountId32, nftId: u32], { owner: AccountId32, nftId: u32 }>;
+ NftMinted: AugmentedEvent<ApiType, [owner: AccountId32, collectionId: u32, nftId: u32], { owner: AccountId32, collectionId: u32, nftId: u32 }>;
+ NFTRejected: AugmentedEvent<ApiType, [sender: AccountId32, collectionId: u32, nftId: u32], { sender: AccountId32, collectionId: u32, nftId: u32 }>;
+ NFTSent: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool }>;
+ PrioritySet: AugmentedEvent<ApiType, [collectionId: u32, nftId: u32], { collectionId: u32, nftId: u32 }>;
+ PropertySet: AugmentedEvent<ApiType, [collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes], { collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes }>;
+ ResourceAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ ResourceAdded: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ ResourceRemoval: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
+ ResourceRemovalAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
rmrkEquip: {
- BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;
+ BaseCreated: AugmentedEvent<ApiType, [issuer: AccountId32, baseId: u32], { issuer: AccountId32, baseId: u32 }>;
/**
* Generic event
**/
@@ -429,19 +429,19 @@
/**
* The call for the provided hash was not found so the task has been aborted.
**/
- CallLookupFailed: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<U8aFixed>, FrameSupportScheduleLookupError]>;
+ CallLookupFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, error: FrameSupportScheduleLookupError], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, error: FrameSupportScheduleLookupError }>;
/**
* Canceled some task.
**/
- Canceled: AugmentedEvent<ApiType, [u32, u32]>;
+ Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
/**
* Dispatched some task.
**/
- Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<U8aFixed>, Result<Null, SpRuntimeDispatchError>]>;
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>;
/**
* Scheduled some task.
**/
- Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
+ Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
/**
* Generic event
**/
@@ -461,15 +461,15 @@
/**
* The \[sudoer\] just switched identity; the old key is supplied if one existed.
**/
- KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;
+ KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], { oldSudoer: Option<AccountId32> }>;
/**
* A sudo just took place. \[result\]
**/
- Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
+ Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
/**
* A sudo just took place. \[result\]
**/
- SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
+ SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
/**
* Generic event
**/
@@ -483,23 +483,23 @@
/**
* An extrinsic failed.
**/
- ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo }>;
/**
* An extrinsic completed successfully.
**/
- ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchInfo: FrameSupportWeightsDispatchInfo }>;
/**
* An account was reaped.
**/
- KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
+ KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* A new account was created.
**/
- NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
+ NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* On on-chain remark happened.
**/
- Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
+ Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
/**
* Generic event
**/
@@ -509,31 +509,31 @@
/**
* Some funds have been allocated.
**/
- Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
+ Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], { proposalIndex: u32, award: u128, account: AccountId32 }>;
/**
* Some of our funds have been burnt.
**/
- Burnt: AugmentedEvent<ApiType, [u128]>;
+ Burnt: AugmentedEvent<ApiType, [burntFunds: u128], { burntFunds: u128 }>;
/**
* Some funds have been deposited.
**/
- Deposit: AugmentedEvent<ApiType, [u128]>;
+ Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
/**
* New proposal.
**/
- Proposed: AugmentedEvent<ApiType, [u32]>;
+ Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
/**
* A proposal was rejected; funds were slashed.
**/
- Rejected: AugmentedEvent<ApiType, [u32, u128]>;
+ Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
/**
* Spending has finished; this is the amount that rolls over until next spend.
**/
- Rollover: AugmentedEvent<ApiType, [u128]>;
+ Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], { rolloverBalance: u128 }>;
/**
* We have ended a spend period and will now allocate funds.
**/
- Spending: AugmentedEvent<ApiType, [u128]>;
+ Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], { budgetRemaining: u128 }>;
/**
* Generic event
**/
@@ -636,15 +636,15 @@
/**
* Claimed vesting.
**/
- Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;
+ Claimed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Added new vesting schedule.
**/
- VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;
+ VestingScheduleAdded: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, vestingSchedule: OrmlVestingVestingSchedule], { from: AccountId32, to: AccountId32, vestingSchedule: OrmlVestingVestingSchedule }>;
/**
* Updated vesting schedules.
**/
- VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;
+ VestingSchedulesUpdated: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
/**
* Generic event
**/
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-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -18,7 +18,7 @@
import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
-import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
@@ -355,9 +355,13 @@
};
mmr: {
/**
+ * Generate MMR proof for the given leaf indices.
+ **/
+ generateBatchProof: AugmentedRpc<(leafIndices: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
+ /**
* Generate MMR proof for given leaf index.
**/
- generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
+ generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>;
};
net: {
/**
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -347,22 +347,105 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rmrkCore: {
+ /**
+ * Accepts an NFT sent from another account to self or owned NFT
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `rmrk_collection_id`: collection id of the nft to be accepted
+ * - `rmrk_nft_id`: nft id of the nft to be accepted
+ * - `new_owner`: either origin's account ID or origin-owned NFT, whichever the NFT was
+ * sent to
+ **/
acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ /**
+ * accept the addition of a new resource to an existing NFT
+ **/
acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ /**
+ * accept the removal of a resource of an existing NFT
+ **/
acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ /**
+ * Create basic resource
+ **/
addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;
+ /**
+ * Create composable resource
+ **/
addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: Bytes | string | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes, RmrkTraitsResourceComposableResource]>;
+ /**
+ * Create slot resource
+ **/
addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;
+ /**
+ * burn nft
+ **/
burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
+ * Change the issuer of a collection
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `collection_id`: collection id of the nft to change issuer of
+ * - `new_issuer`: Collection's new issuer
+ **/
changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
+ /**
+ * Create a collection
+ **/
createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
+ /**
+ * destroy collection
+ **/
destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * lock collection
+ **/
lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
+ /**
+ * Mints an NFT in the specified collection
+ * Sets metadata and the royalty attribute
+ *
+ * Parameters:
+ * - `collection_id`: The class of the asset to be minted.
+ * - `nft_id`: The nft value of the asset to be minted.
+ * - `recipient`: Receiver of the royalty
+ * - `royalty`: Permillage reward from each trade for the Recipient
+ * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash
+ * - `transferable`: Ability to transfer this NFT
+ **/
mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes, bool]>;
+ /**
+ * Rejects an NFT sent from another account to self or owned NFT
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `rmrk_collection_id`: collection id of the nft to be accepted
+ * - `rmrk_nft_id`: nft id of the nft to be accepted
+ **/
rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
+ /**
+ * remove resource
+ **/
removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
+ /**
+ * Transfers a NFT from an Account or NFT A to another Account or NFT B
+ *
+ * Parameters:
+ * - `origin`: sender of the transaction
+ * - `rmrk_collection_id`: collection id of the nft to be transferred
+ * - `rmrk_nft_id`: nft id of the nft to be transferred
+ * - `new_owner`: new owner of the nft which can be either an account or a NFT
+ **/
send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
+ /**
+ * set a different order of resource priority
+ **/
setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;
+ /**
+ * set a custom value on an NFT
+ **/
setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;
/**
* Generic tx
@@ -370,7 +453,33 @@
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rmrkEquip: {
+ /**
+ * Creates a new Base.
+ * Modeled after [base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)
+ *
+ * Parameters:
+ * - origin: Caller, will be assigned as the issuer of the Base
+ * - base_type: media type, e.g. "svg"
+ * - symbol: arbitrary client-chosen symbol
+ * - parts: array of Fixed and Slot parts composing the base, confined in length by
+ * RmrkPartsLimit
+ **/
createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;
+ /**
+ * Adds a Theme to a Base.
+ * Modeled after [themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md)
+ * Themes are stored in the Themes storage
+ * A Theme named "default" is required prior to adding other Themes.
+ *
+ * Parameters:
+ * - origin: The caller of the function, must be issuer of the base
+ * - base_id: The Base containing the Theme to be updated
+ * - theme: The Theme to add to the Base. A Theme has a name and properties, which are an
+ * array of [key, value, inherit].
+ * - key: arbitrary BoundedString, defined by client
+ * - value: arbitrary BoundedString, defined by client
+ * - inherit: optional bool
+ **/
themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;
/**
* Generic tx
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,9 +1,9 @@
// 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, UpDataStructsNestingRule, 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, 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 { 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';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -36,7 +36,7 @@
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
-import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
@@ -664,6 +664,7 @@
MetadataV14: MetadataV14;
MetadataV9: MetadataV9;
MigrationStatusResult: MigrationStatusResult;
+ MmrLeafBatchProof: MmrLeafBatchProof;
MmrLeafProof: MmrLeafProof;
MmrRootHash: MmrRootHash;
ModuleConstantMetadataV10: ModuleConstantMetadataV10;
@@ -731,6 +732,7 @@
OpenTipTip: OpenTipTip;
OpenTipTo225: OpenTipTo225;
OperatingMode: OperatingMode;
+ OptionBool: OptionBool;
Origin: Origin;
OriginCaller: OriginCaller;
OriginKindV0: OriginKindV0;
@@ -817,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;
@@ -1216,7 +1218,8 @@
UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
- UpDataStructsNestingRule: UpDataStructsNestingRule;
+ UpDataStructsNestingPermissions: UpDataStructsNestingPermissions;
+ UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet;
UpDataStructsProperties: UpDataStructsProperties;
UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -935,8 +935,7 @@
readonly isAddressIsZero: boolean;
readonly isUnsupportedOperation: boolean;
readonly isNotSufficientFounds: boolean;
- readonly isNestingIsDisabled: boolean;
- readonly isOnlyOwnerAllowedToNest: boolean;
+ readonly isUserIsNotAllowedToNest: boolean;
readonly isSourceCollectionIsNotAllowedToNest: boolean;
readonly isCollectionFieldSizeExceeded: boolean;
readonly isNoSpaceForProperty: boolean;
@@ -946,7 +945,7 @@
readonly isEmptyPropertyKey: boolean;
readonly isCollectionIsExternal: boolean;
readonly isCollectionIsInternal: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
}
/** @name PalletCommonEvent */
@@ -1445,8 +1444,9 @@
export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
+ readonly isBreadthLimit: boolean;
readonly isTokenNotFound: boolean;
- readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
/** @name PalletStructureEvent */
@@ -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;
@@ -2348,7 +2348,7 @@
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
- readonly nesting: Option<UpDataStructsNestingRule>;
+ readonly nesting: Option<UpDataStructsNestingPermissions>;
}
/** @name UpDataStructsCollectionStats */
@@ -2424,15 +2424,17 @@
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
}
-/** @name UpDataStructsNestingRule */
-export interface UpDataStructsNestingRule extends Enum {
- readonly isDisabled: boolean;
- readonly isOwner: boolean;
- readonly isOwnerRestricted: boolean;
- readonly asOwnerRestricted: BTreeSet<u32>;
- readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
+/** @name UpDataStructsNestingPermissions */
+export interface UpDataStructsNestingPermissions extends Struct {
+ readonly tokenOwner: bool;
+ readonly admin: bool;
+ readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
+ readonly permissive: bool;
}
+/** @name UpDataStructsOwnerRestrictedSet */
+export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
+
/** @name UpDataStructsProperties */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
tests/src/interfaces/lookup.tsdiffbeforeafterboth1425 UpDataStructsCollectionPermissions: {1425 UpDataStructsCollectionPermissions: {1426 access: 'Option<UpDataStructsAccessMode>',1426 access: 'Option<UpDataStructsAccessMode>',1427 mintMode: 'Option<bool>',1427 mintMode: 'Option<bool>',1428 nesting: 'Option<UpDataStructsNestingRule>'1428 nesting: 'Option<UpDataStructsNestingPermissions>'1429 },1429 },1430 /**1430 /**1431 * Lookup169: up_data_structs::NestingRule1431 * Lookup169: up_data_structs::NestingPermissions1432 **/1432 **/1433 UpDataStructsNestingRule: {1433 UpDataStructsNestingPermissions: {1434 _enum: {1434 tokenOwner: 'bool',1435 Disabled: 'Null',1435 admin: 'bool',1436 Owner: 'Null',1436 restricted: 'Option<UpDataStructsOwnerRestrictedSet>',1437 OwnerRestricted: 'BTreeSet<u32>'1437 permissive: 'bool'1438 }1439 },1438 },1439 /**1440 * Lookup171: up_data_structs::OwnerRestrictedSet1441 **/1442 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',1440 /**1443 /**1441 * Lookup175: up_data_structs::PropertyKeyPermission1444 * Lookup177: up_data_structs::PropertyKeyPermission1442 **/1445 **/1443 UpDataStructsPropertyKeyPermission: {1446 UpDataStructsPropertyKeyPermission: {1444 key: 'Bytes',1447 key: 'Bytes',1445 permission: 'UpDataStructsPropertyPermission'1448 permission: 'UpDataStructsPropertyPermission'1446 },1449 },1447 /**1450 /**1448 * Lookup177: up_data_structs::PropertyPermission1451 * Lookup179: up_data_structs::PropertyPermission1449 **/1452 **/1450 UpDataStructsPropertyPermission: {1453 UpDataStructsPropertyPermission: {1451 mutable: 'bool',1454 mutable: 'bool',1452 collectionAdmin: 'bool',1455 collectionAdmin: 'bool',1453 tokenOwner: 'bool'1456 tokenOwner: 'bool'1454 },1457 },1455 /**1458 /**1456 * Lookup180: up_data_structs::Property1459 * Lookup182: up_data_structs::Property1457 **/1460 **/1458 UpDataStructsProperty: {1461 UpDataStructsProperty: {1459 key: 'Bytes',1462 key: 'Bytes',1460 value: 'Bytes'1463 value: 'Bytes'1461 },1464 },1462 /**1465 /**1463 * Lookup183: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1466 * Lookup185: pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1464 **/1467 **/1465 PalletEvmAccountBasicCrossAccountIdRepr: {1468 PalletEvmAccountBasicCrossAccountIdRepr: {1466 _enum: {1469 _enum: {1467 Substrate: 'AccountId32',1470 Substrate: 'AccountId32',1468 Ethereum: 'H160'1471 Ethereum: 'H160'1469 }1472 }1470 },1473 },1471 /**1474 /**1472 * Lookup185: up_data_structs::CreateItemData1475 * Lookup187: up_data_structs::CreateItemData1473 **/1476 **/1474 UpDataStructsCreateItemData: {1477 UpDataStructsCreateItemData: {1475 _enum: {1478 _enum: {1476 NFT: 'UpDataStructsCreateNftData',1479 NFT: 'UpDataStructsCreateNftData',1477 Fungible: 'UpDataStructsCreateFungibleData',1480 Fungible: 'UpDataStructsCreateFungibleData',1478 ReFungible: 'UpDataStructsCreateReFungibleData'1481 ReFungible: 'UpDataStructsCreateReFungibleData'1479 }1482 }1480 },1483 },1481 /**1484 /**1482 * Lookup186: up_data_structs::CreateNftData1485 * Lookup188: up_data_structs::CreateNftData1483 **/1486 **/1484 UpDataStructsCreateNftData: {1487 UpDataStructsCreateNftData: {1485 properties: 'Vec<UpDataStructsProperty>'1488 properties: 'Vec<UpDataStructsProperty>'1486 },1489 },1487 /**1490 /**1488 * Lookup187: up_data_structs::CreateFungibleData1491 * Lookup189: up_data_structs::CreateFungibleData1489 **/1492 **/1490 UpDataStructsCreateFungibleData: {1493 UpDataStructsCreateFungibleData: {1491 value: 'u128'1494 value: 'u128'1492 },1495 },1493 /**1496 /**1494 * Lookup188: up_data_structs::CreateReFungibleData1497 * Lookup190: up_data_structs::CreateReFungibleData1495 **/1498 **/1496 UpDataStructsCreateReFungibleData: {1499 UpDataStructsCreateReFungibleData: {1497 constData: 'Bytes',1500 constData: 'Bytes',1498 pieces: 'u128'1501 pieces: 'u128'1499 },1502 },1500 /**1503 /**1501 * Lookup193: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1504 * Lookup195: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1502 **/1505 **/1503 UpDataStructsCreateItemExData: {1506 UpDataStructsCreateItemExData: {1504 _enum: {1507 _enum: {1505 NFT: 'Vec<UpDataStructsCreateNftExData>',1508 NFT: 'Vec<UpDataStructsCreateNftExData>',1508 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1511 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1509 }1512 }1510 },1513 },1511 /**1514 /**1512 * Lookup195: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1515 * Lookup197: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1513 **/1516 **/1514 UpDataStructsCreateNftExData: {1517 UpDataStructsCreateNftExData: {1515 properties: 'Vec<UpDataStructsProperty>',1518 properties: 'Vec<UpDataStructsProperty>',1516 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1519 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'1517 },1520 },1518 /**1521 /**1519 * Lookup202: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1522 * Lookup204: up_data_structs::CreateRefungibleExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1520 **/1523 **/1521 UpDataStructsCreateRefungibleExData: {1524 UpDataStructsCreateRefungibleExData: {1522 constData: 'Bytes',1525 constData: 'Bytes',1523 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1526 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>'1524 },1527 },1525 /**1528 /**1526 * Lookup204: pallet_unq_scheduler::pallet::Call<T>1529 * Lookup206: pallet_unique_scheduler::pallet::Call<T>1527 **/1530 **/1528 PalletUnqSchedulerCall: {1531 PalletUniqueSchedulerCall: {1529 _enum: {1532 _enum: {1530 schedule_named: {1533 schedule_named: {1531 id: '[u8;16]',1534 id: '[u8;16]',1546 }1549 }1547 }1550 }1548 },1551 },1549 /**1552 /**1550 * Lookup206: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1553 * Lookup208: frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>1551 **/1554 **/1552 FrameSupportScheduleMaybeHashed: {1555 FrameSupportScheduleMaybeHashed: {1553 _enum: {1556 _enum: {1554 Value: 'Call',1557 Value: 'Call',1555 Hash: 'H256'1558 Hash: 'H256'1556 }1559 }1557 },1560 },1558 /**1561 /**1559 * Lookup207: pallet_template_transaction_payment::Call<T>1562 * Lookup209: pallet_template_transaction_payment::Call<T>1560 **/1563 **/1561 PalletTemplateTransactionPaymentCall: 'Null',1564 PalletTemplateTransactionPaymentCall: 'Null',1562 /**1565 /**1563 * Lookup208: pallet_structure::pallet::Call<T>1566 * Lookup210: pallet_structure::pallet::Call<T>1564 **/1567 **/1565 PalletStructureCall: 'Null',1568 PalletStructureCall: 'Null',1566 /**1569 /**1567 * Lookup209: pallet_rmrk_core::pallet::Call<T>1570 * Lookup211: pallet_rmrk_core::pallet::Call<T>1568 **/1571 **/1569 PalletRmrkCoreCall: {1572 PalletRmrkCoreCall: {1570 _enum: {1573 _enum: {1571 create_collection: {1574 create_collection: {1653 }1656 }1654 }1657 }1655 },1658 },1656 /**1659 /**1657 * Lookup213: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1660 * Lookup215: rmrk_traits::nft::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>1658 **/1661 **/1659 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1662 RmrkTraitsNftAccountIdOrCollectionNftTuple: {1660 _enum: {1663 _enum: {1661 AccountId: 'AccountId32',1664 AccountId: 'AccountId32',1662 CollectionAndNftTuple: '(u32,u32)'1665 CollectionAndNftTuple: '(u32,u32)'1663 }1666 }1664 },1667 },1665 /**1668 /**1666 * Lookup217: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1669 * Lookup219: rmrk_traits::resource::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1667 **/1670 **/1668 RmrkTraitsResourceBasicResource: {1671 RmrkTraitsResourceBasicResource: {1669 src: 'Option<Bytes>',1672 src: 'Option<Bytes>',1670 metadata: 'Option<Bytes>',1673 metadata: 'Option<Bytes>',1671 license: 'Option<Bytes>',1674 license: 'Option<Bytes>',1672 thumb: 'Option<Bytes>'1675 thumb: 'Option<Bytes>'1673 },1676 },1674 /**1677 /**1675 * Lookup220: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1678 * Lookup222: rmrk_traits::resource::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1676 **/1679 **/1677 RmrkTraitsResourceComposableResource: {1680 RmrkTraitsResourceComposableResource: {1678 parts: 'Vec<u32>',1681 parts: 'Vec<u32>',1679 base: 'u32',1682 base: 'u32',1682 license: 'Option<Bytes>',1685 license: 'Option<Bytes>',1683 thumb: 'Option<Bytes>'1686 thumb: 'Option<Bytes>'1684 },1687 },1685 /**1688 /**1686 * Lookup222: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1689 * Lookup224: rmrk_traits::resource::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>1687 **/1690 **/1688 RmrkTraitsResourceSlotResource: {1691 RmrkTraitsResourceSlotResource: {1689 base: 'u32',1692 base: 'u32',1690 src: 'Option<Bytes>',1693 src: 'Option<Bytes>',1693 license: 'Option<Bytes>',1696 license: 'Option<Bytes>',1694 thumb: 'Option<Bytes>'1697 thumb: 'Option<Bytes>'1695 },1698 },1696 /**1699 /**1697 * Lookup223: pallet_rmrk_equip::pallet::Call<T>1700 * Lookup225: pallet_rmrk_equip::pallet::Call<T>1698 **/1701 **/1699 PalletRmrkEquipCall: {1702 PalletRmrkEquipCall: {1700 _enum: {1703 _enum: {1701 create_base: {1704 create_base: {1709 }1712 }1710 }1713 }1711 },1714 },1712 /**1715 /**1713 * Lookup225: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1716 * Lookup227: rmrk_traits::part::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1714 **/1717 **/1715 RmrkTraitsPartPartType: {1718 RmrkTraitsPartPartType: {1716 _enum: {1719 _enum: {1717 FixedPart: 'RmrkTraitsPartFixedPart',1720 FixedPart: 'RmrkTraitsPartFixedPart',1718 SlotPart: 'RmrkTraitsPartSlotPart'1721 SlotPart: 'RmrkTraitsPartSlotPart'1719 }1722 }1720 },1723 },1721 /**1724 /**1722 * Lookup227: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1725 * Lookup229: rmrk_traits::part::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>1723 **/1726 **/1724 RmrkTraitsPartFixedPart: {1727 RmrkTraitsPartFixedPart: {1725 id: 'u32',1728 id: 'u32',1726 z: 'u32',1729 z: 'u32',1727 src: 'Bytes'1730 src: 'Bytes'1728 },1731 },1729 /**1732 /**1730 * Lookup228: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1733 * Lookup230: rmrk_traits::part::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>1731 **/1734 **/1732 RmrkTraitsPartSlotPart: {1735 RmrkTraitsPartSlotPart: {1733 id: 'u32',1736 id: 'u32',1734 equippable: 'RmrkTraitsPartEquippableList',1737 equippable: 'RmrkTraitsPartEquippableList',1735 src: 'Bytes',1738 src: 'Bytes',1736 z: 'u32'1739 z: 'u32'1737 },1740 },1738 /**1741 /**1739 * Lookup229: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1742 * Lookup231: rmrk_traits::part::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>1740 **/1743 **/1741 RmrkTraitsPartEquippableList: {1744 RmrkTraitsPartEquippableList: {1742 _enum: {1745 _enum: {1743 All: 'Null',1746 All: 'Null',1744 Empty: 'Null',1747 Empty: 'Null',1745 Custom: 'Vec<u32>'1748 Custom: 'Vec<u32>'1746 }1749 }1747 },1750 },1748 /**1751 /**1749 * Lookup231: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1752 * Lookup233: rmrk_traits::theme::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>1750 **/1753 **/1751 RmrkTraitsTheme: {1754 RmrkTraitsTheme: {1752 name: 'Bytes',1755 name: 'Bytes',1753 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1756 properties: 'Vec<RmrkTraitsThemeThemeProperty>',1754 inherit: 'bool'1757 inherit: 'bool'1755 },1758 },1756 /**1759 /**1757 * Lookup233: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1760 * Lookup235: rmrk_traits::theme::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>1758 **/1761 **/1759 RmrkTraitsThemeThemeProperty: {1762 RmrkTraitsThemeThemeProperty: {1760 key: 'Bytes',1763 key: 'Bytes',1761 value: 'Bytes'1764 value: 'Bytes'1762 },1765 },1763 /**1766 /**1764 * Lookup234: pallet_evm::pallet::Call<T>1767 * Lookup236: pallet_evm::pallet::Call<T>1765 **/1768 **/1766 PalletEvmCall: {1769 PalletEvmCall: {1767 _enum: {1770 _enum: {1768 withdraw: {1771 withdraw: {1803 }1806 }1804 }1807 }1805 },1808 },1806 /**1809 /**1807 * Lookup240: pallet_ethereum::pallet::Call<T>1810 * Lookup242: pallet_ethereum::pallet::Call<T>1808 **/1811 **/1809 PalletEthereumCall: {1812 PalletEthereumCall: {1810 _enum: {1813 _enum: {1811 transact: {1814 transact: {1812 transaction: 'EthereumTransactionTransactionV2'1815 transaction: 'EthereumTransactionTransactionV2'1813 }1816 }1814 }1817 }1815 },1818 },1816 /**1819 /**1817 * Lookup241: ethereum::transaction::TransactionV21820 * Lookup243: ethereum::transaction::TransactionV21818 **/1821 **/1819 EthereumTransactionTransactionV2: {1822 EthereumTransactionTransactionV2: {1820 _enum: {1823 _enum: {1821 Legacy: 'EthereumTransactionLegacyTransaction',1824 Legacy: 'EthereumTransactionLegacyTransaction',1822 EIP2930: 'EthereumTransactionEip2930Transaction',1825 EIP2930: 'EthereumTransactionEip2930Transaction',1823 EIP1559: 'EthereumTransactionEip1559Transaction'1826 EIP1559: 'EthereumTransactionEip1559Transaction'1824 }1827 }1825 },1828 },1826 /**1829 /**1827 * Lookup242: ethereum::transaction::LegacyTransaction1830 * Lookup244: ethereum::transaction::LegacyTransaction1828 **/1831 **/1829 EthereumTransactionLegacyTransaction: {1832 EthereumTransactionLegacyTransaction: {1830 nonce: 'U256',1833 nonce: 'U256',1831 gasPrice: 'U256',1834 gasPrice: 'U256',1835 input: 'Bytes',1838 input: 'Bytes',1836 signature: 'EthereumTransactionTransactionSignature'1839 signature: 'EthereumTransactionTransactionSignature'1837 },1840 },1838 /**1841 /**1839 * Lookup243: ethereum::transaction::TransactionAction1842 * Lookup245: ethereum::transaction::TransactionAction1840 **/1843 **/1841 EthereumTransactionTransactionAction: {1844 EthereumTransactionTransactionAction: {1842 _enum: {1845 _enum: {1843 Call: 'H160',1846 Call: 'H160',1844 Create: 'Null'1847 Create: 'Null'1845 }1848 }1846 },1849 },1847 /**1850 /**1848 * Lookup244: ethereum::transaction::TransactionSignature1851 * Lookup246: ethereum::transaction::TransactionSignature1849 **/1852 **/1850 EthereumTransactionTransactionSignature: {1853 EthereumTransactionTransactionSignature: {1851 v: 'u64',1854 v: 'u64',1852 r: 'H256',1855 r: 'H256',1853 s: 'H256'1856 s: 'H256'1854 },1857 },1855 /**1858 /**1856 * Lookup246: ethereum::transaction::EIP2930Transaction1859 * Lookup248: ethereum::transaction::EIP2930Transaction1857 **/1860 **/1858 EthereumTransactionEip2930Transaction: {1861 EthereumTransactionEip2930Transaction: {1859 chainId: 'u64',1862 chainId: 'u64',1860 nonce: 'U256',1863 nonce: 'U256',1868 r: 'H256',1871 r: 'H256',1869 s: 'H256'1872 s: 'H256'1870 },1873 },1871 /**1874 /**1872 * Lookup248: ethereum::transaction::AccessListItem1875 * Lookup250: ethereum::transaction::AccessListItem1873 **/1876 **/1874 EthereumTransactionAccessListItem: {1877 EthereumTransactionAccessListItem: {1875 address: 'H160',1878 address: 'H160',1876 storageKeys: 'Vec<H256>'1879 storageKeys: 'Vec<H256>'1877 },1880 },1878 /**1881 /**1879 * Lookup249: ethereum::transaction::EIP1559Transaction1882 * Lookup251: ethereum::transaction::EIP1559Transaction1880 **/1883 **/1881 EthereumTransactionEip1559Transaction: {1884 EthereumTransactionEip1559Transaction: {1882 chainId: 'u64',1885 chainId: 'u64',1883 nonce: 'U256',1886 nonce: 'U256',1892 r: 'H256',1895 r: 'H256',1893 s: 'H256'1896 s: 'H256'1894 },1897 },1895 /**1898 /**1896 * Lookup250: pallet_evm_migration::pallet::Call<T>1899 * Lookup252: pallet_evm_migration::pallet::Call<T>1897 **/1900 **/1898 PalletEvmMigrationCall: {1901 PalletEvmMigrationCall: {1899 _enum: {1902 _enum: {1900 begin: {1903 begin: {1910 }1913 }1911 }1914 }1912 },1915 },1913 /**1916 /**1914 * Lookup253: pallet_sudo::pallet::Event<T>1917 * Lookup255: pallet_sudo::pallet::Event<T>1915 **/1918 **/1916 PalletSudoEvent: {1919 PalletSudoEvent: {1917 _enum: {1920 _enum: {1918 Sudid: {1921 Sudid: {1926 }1929 }1927 }1930 }1928 },1931 },1929 /**1932 /**1930 * Lookup255: sp_runtime::DispatchError1933 * Lookup257: sp_runtime::DispatchError1931 **/1934 **/1932 SpRuntimeDispatchError: {1935 SpRuntimeDispatchError: {1933 _enum: {1936 _enum: {1934 Other: 'Null',1937 Other: 'Null',1943 Transactional: 'SpRuntimeTransactionalError'1946 Transactional: 'SpRuntimeTransactionalError'1944 }1947 }1945 },1948 },1946 /**1949 /**1947 * Lookup256: sp_runtime::ModuleError1950 * Lookup258: sp_runtime::ModuleError1948 **/1951 **/1949 SpRuntimeModuleError: {1952 SpRuntimeModuleError: {1950 index: 'u8',1953 index: 'u8',1951 error: '[u8;4]'1954 error: '[u8;4]'1952 },1955 },1953 /**1956 /**1954 * Lookup257: sp_runtime::TokenError1957 * Lookup259: sp_runtime::TokenError1955 **/1958 **/1956 SpRuntimeTokenError: {1959 SpRuntimeTokenError: {1957 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1960 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1958 },1961 },1959 /**1962 /**1960 * Lookup258: sp_runtime::ArithmeticError1963 * Lookup260: sp_runtime::ArithmeticError1961 **/1964 **/1962 SpRuntimeArithmeticError: {1965 SpRuntimeArithmeticError: {1963 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1966 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1964 },1967 },1965 /**1968 /**1966 * Lookup259: sp_runtime::TransactionalError1969 * Lookup261: sp_runtime::TransactionalError1967 **/1970 **/1968 SpRuntimeTransactionalError: {1971 SpRuntimeTransactionalError: {1969 _enum: ['LimitReached', 'NoLayer']1972 _enum: ['LimitReached', 'NoLayer']1970 },1973 },1971 /**1974 /**1972 * Lookup260: pallet_sudo::pallet::Error<T>1975 * Lookup262: pallet_sudo::pallet::Error<T>1973 **/1976 **/1974 PalletSudoError: {1977 PalletSudoError: {1975 _enum: ['RequireSudo']1978 _enum: ['RequireSudo']1976 },1979 },1977 /**1980 /**1978 * Lookup261: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1981 * Lookup263: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1979 **/1982 **/1980 FrameSystemAccountInfo: {1983 FrameSystemAccountInfo: {1981 nonce: 'u32',1984 nonce: 'u32',1982 consumers: 'u32',1985 consumers: 'u32',1983 providers: 'u32',1986 providers: 'u32',1984 sufficients: 'u32',1987 sufficients: 'u32',1985 data: 'PalletBalancesAccountData'1988 data: 'PalletBalancesAccountData'1986 },1989 },1987 /**1990 /**1988 * Lookup262: frame_support::weights::PerDispatchClass<T>1991 * Lookup264: frame_support::weights::PerDispatchClass<T>1989 **/1992 **/1990 FrameSupportWeightsPerDispatchClassU64: {1993 FrameSupportWeightsPerDispatchClassU64: {1991 normal: 'u64',1994 normal: 'u64',1992 operational: 'u64',1995 operational: 'u64',1993 mandatory: 'u64'1996 mandatory: 'u64'1994 },1997 },1995 /**1998 /**1996 * Lookup263: sp_runtime::generic::digest::Digest1999 * Lookup265: sp_runtime::generic::digest::Digest1997 **/2000 **/1998 SpRuntimeDigest: {2001 SpRuntimeDigest: {1999 logs: 'Vec<SpRuntimeDigestDigestItem>'2002 logs: 'Vec<SpRuntimeDigestDigestItem>'2000 },2003 },2001 /**2004 /**2002 * Lookup265: sp_runtime::generic::digest::DigestItem2005 * Lookup267: sp_runtime::generic::digest::DigestItem2003 **/2006 **/2004 SpRuntimeDigestDigestItem: {2007 SpRuntimeDigestDigestItem: {2005 _enum: {2008 _enum: {2006 Other: 'Bytes',2009 Other: 'Bytes',2014 RuntimeEnvironmentUpdated: 'Null'2017 RuntimeEnvironmentUpdated: 'Null'2015 }2018 }2016 },2019 },2017 /**2020 /**2018 * Lookup267: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2021 * Lookup269: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>2019 **/2022 **/2020 FrameSystemEventRecord: {2023 FrameSystemEventRecord: {2021 phase: 'FrameSystemPhase',2024 phase: 'FrameSystemPhase',2022 event: 'Event',2025 event: 'Event',2023 topics: 'Vec<H256>'2026 topics: 'Vec<H256>'2024 },2027 },2025 /**2028 /**2026 * Lookup269: frame_system::pallet::Event<T>2029 * Lookup271: frame_system::pallet::Event<T>2027 **/2030 **/2028 FrameSystemEvent: {2031 FrameSystemEvent: {2029 _enum: {2032 _enum: {2030 ExtrinsicSuccess: {2033 ExtrinsicSuccess: {2050 }2053 }2051 }2054 }2052 },2055 },2053 /**2056 /**2054 * Lookup270: frame_support::weights::DispatchInfo2057 * Lookup272: frame_support::weights::DispatchInfo2055 **/2058 **/2056 FrameSupportWeightsDispatchInfo: {2059 FrameSupportWeightsDispatchInfo: {2057 weight: 'u64',2060 weight: 'u64',2058 class: 'FrameSupportWeightsDispatchClass',2061 class: 'FrameSupportWeightsDispatchClass',2059 paysFee: 'FrameSupportWeightsPays'2062 paysFee: 'FrameSupportWeightsPays'2060 },2063 },2061 /**2064 /**2062 * Lookup271: frame_support::weights::DispatchClass2065 * Lookup273: frame_support::weights::DispatchClass2063 **/2066 **/2064 FrameSupportWeightsDispatchClass: {2067 FrameSupportWeightsDispatchClass: {2065 _enum: ['Normal', 'Operational', 'Mandatory']2068 _enum: ['Normal', 'Operational', 'Mandatory']2066 },2069 },2067 /**2070 /**2068 * Lookup272: frame_support::weights::Pays2071 * Lookup274: frame_support::weights::Pays2069 **/2072 **/2070 FrameSupportWeightsPays: {2073 FrameSupportWeightsPays: {2071 _enum: ['Yes', 'No']2074 _enum: ['Yes', 'No']2072 },2075 },2073 /**2076 /**2074 * Lookup273: orml_vesting::module::Event<T>2077 * Lookup275: orml_vesting::module::Event<T>2075 **/2078 **/2076 OrmlVestingModuleEvent: {2079 OrmlVestingModuleEvent: {2077 _enum: {2080 _enum: {2078 VestingScheduleAdded: {2081 VestingScheduleAdded: {2089 }2092 }2090 }2093 }2091 },2094 },2092 /**2095 /**2093 * Lookup274: cumulus_pallet_xcmp_queue::pallet::Event<T>2096 * Lookup276: cumulus_pallet_xcmp_queue::pallet::Event<T>2094 **/2097 **/2095 CumulusPalletXcmpQueueEvent: {2098 CumulusPalletXcmpQueueEvent: {2096 _enum: {2099 _enum: {2097 Success: 'Option<H256>',2100 Success: 'Option<H256>',2104 OverweightServiced: '(u64,u64)'2107 OverweightServiced: '(u64,u64)'2105 }2108 }2106 },2109 },2107 /**2110 /**2108 * Lookup275: pallet_xcm::pallet::Event<T>2111 * Lookup277: pallet_xcm::pallet::Event<T>2109 **/2112 **/2110 PalletXcmEvent: {2113 PalletXcmEvent: {2111 _enum: {2114 _enum: {2112 Attempted: 'XcmV2TraitsOutcome',2115 Attempted: 'XcmV2TraitsOutcome',2127 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2130 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'2128 }2131 }2129 },2132 },2130 /**2133 /**2131 * Lookup276: xcm::v2::traits::Outcome2134 * Lookup278: xcm::v2::traits::Outcome2132 **/2135 **/2133 XcmV2TraitsOutcome: {2136 XcmV2TraitsOutcome: {2134 _enum: {2137 _enum: {2135 Complete: 'u64',2138 Complete: 'u64',2136 Incomplete: '(u64,XcmV2TraitsError)',2139 Incomplete: '(u64,XcmV2TraitsError)',2137 Error: 'XcmV2TraitsError'2140 Error: 'XcmV2TraitsError'2138 }2141 }2139 },2142 },2140 /**2143 /**2141 * Lookup278: cumulus_pallet_xcm::pallet::Event<T>2144 * Lookup280: cumulus_pallet_xcm::pallet::Event<T>2142 **/2145 **/2143 CumulusPalletXcmEvent: {2146 CumulusPalletXcmEvent: {2144 _enum: {2147 _enum: {2145 InvalidFormat: '[u8;8]',2148 InvalidFormat: '[u8;8]',2146 UnsupportedVersion: '[u8;8]',2149 UnsupportedVersion: '[u8;8]',2147 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2150 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'2148 }2151 }2149 },2152 },2150 /**2153 /**2151 * Lookup279: cumulus_pallet_dmp_queue::pallet::Event<T>2154 * Lookup281: cumulus_pallet_dmp_queue::pallet::Event<T>2152 **/2155 **/2153 CumulusPalletDmpQueueEvent: {2156 CumulusPalletDmpQueueEvent: {2154 _enum: {2157 _enum: {2155 InvalidFormat: '[u8;32]',2158 InvalidFormat: '[u8;32]',2160 OverweightServiced: '(u64,u64)'2163 OverweightServiced: '(u64,u64)'2161 }2164 }2162 },2165 },2163 /**2166 /**2164 * Lookup280: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2167 * Lookup282: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2165 **/2168 **/2166 PalletUniqueRawEvent: {2169 PalletUniqueRawEvent: {2167 _enum: {2170 _enum: {2168 CollectionSponsorRemoved: 'u32',2171 CollectionSponsorRemoved: 'u32',2177 CollectionPermissionSet: 'u32'2180 CollectionPermissionSet: 'u32'2178 }2181 }2179 },2182 },2180 /**2183 /**2181 * Lookup281: pallet_unq_scheduler::pallet::Event<T>2184 * Lookup283: pallet_unique_scheduler::pallet::Event<T>2182 **/2185 **/2183 PalletUnqSchedulerEvent: {2186 PalletUniqueSchedulerEvent: {2184 _enum: {2187 _enum: {2185 Scheduled: {2188 Scheduled: {2186 when: 'u32',2189 when: 'u32',2202 }2205 }2203 }2206 }2204 },2207 },2205 /**2208 /**2206 * Lookup283: frame_support::traits::schedule::LookupError2209 * Lookup285: frame_support::traits::schedule::LookupError2207 **/2210 **/2208 FrameSupportScheduleLookupError: {2211 FrameSupportScheduleLookupError: {2209 _enum: ['Unknown', 'BadFormat']2212 _enum: ['Unknown', 'BadFormat']2210 },2213 },2211 /**2214 /**2212 * Lookup284: pallet_common::pallet::Event<T>2215 * Lookup286: pallet_common::pallet::Event<T>2213 **/2216 **/2214 PalletCommonEvent: {2217 PalletCommonEvent: {2215 _enum: {2218 _enum: {2216 CollectionCreated: '(u32,u8,AccountId32)',2219 CollectionCreated: '(u32,u8,AccountId32)',2226 PropertyPermissionSet: '(u32,Bytes)'2229 PropertyPermissionSet: '(u32,Bytes)'2227 }2230 }2228 },2231 },2229 /**2232 /**2230 * Lookup285: pallet_structure::pallet::Event<T>2233 * Lookup287: pallet_structure::pallet::Event<T>2231 **/2234 **/2232 PalletStructureEvent: {2235 PalletStructureEvent: {2233 _enum: {2236 _enum: {2234 Executed: 'Result<Null, SpRuntimeDispatchError>'2237 Executed: 'Result<Null, SpRuntimeDispatchError>'2235 }2238 }2236 },2239 },2237 /**2240 /**2238 * Lookup286: pallet_rmrk_core::pallet::Event<T>2241 * Lookup288: pallet_rmrk_core::pallet::Event<T>2239 **/2242 **/2240 PalletRmrkCoreEvent: {2243 PalletRmrkCoreEvent: {2241 _enum: {2244 _enum: {2242 CollectionCreated: {2245 CollectionCreated: {2311 }2314 }2312 }2315 }2313 },2316 },2314 /**2317 /**2315 * Lookup287: pallet_rmrk_equip::pallet::Event<T>2318 * Lookup289: pallet_rmrk_equip::pallet::Event<T>2316 **/2319 **/2317 PalletRmrkEquipEvent: {2320 PalletRmrkEquipEvent: {2318 _enum: {2321 _enum: {2319 BaseCreated: {2322 BaseCreated: {2322 }2325 }2323 }2326 }2324 },2327 },2325 /**2328 /**2326 * Lookup288: pallet_evm::pallet::Event<T>2329 * Lookup290: pallet_evm::pallet::Event<T>2327 **/2330 **/2328 PalletEvmEvent: {2331 PalletEvmEvent: {2329 _enum: {2332 _enum: {2330 Log: 'EthereumLog',2333 Log: 'EthereumLog',2336 BalanceWithdraw: '(AccountId32,H160,U256)'2339 BalanceWithdraw: '(AccountId32,H160,U256)'2337 }2340 }2338 },2341 },2339 /**2342 /**2340 * Lookup289: ethereum::log::Log2343 * Lookup291: ethereum::log::Log2341 **/2344 **/2342 EthereumLog: {2345 EthereumLog: {2343 address: 'H160',2346 address: 'H160',2344 topics: 'Vec<H256>',2347 topics: 'Vec<H256>',2345 data: 'Bytes'2348 data: 'Bytes'2346 },2349 },2347 /**2350 /**2348 * Lookup290: pallet_ethereum::pallet::Event2351 * Lookup292: pallet_ethereum::pallet::Event2349 **/2352 **/2350 PalletEthereumEvent: {2353 PalletEthereumEvent: {2351 _enum: {2354 _enum: {2352 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2355 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'2353 }2356 }2354 },2357 },2355 /**2358 /**2356 * Lookup291: evm_core::error::ExitReason2359 * Lookup293: evm_core::error::ExitReason2357 **/2360 **/2358 EvmCoreErrorExitReason: {2361 EvmCoreErrorExitReason: {2359 _enum: {2362 _enum: {2360 Succeed: 'EvmCoreErrorExitSucceed',2363 Succeed: 'EvmCoreErrorExitSucceed',2363 Fatal: 'EvmCoreErrorExitFatal'2366 Fatal: 'EvmCoreErrorExitFatal'2364 }2367 }2365 },2368 },2366 /**2369 /**2367 * Lookup292: evm_core::error::ExitSucceed2370 * Lookup294: evm_core::error::ExitSucceed2368 **/2371 **/2369 EvmCoreErrorExitSucceed: {2372 EvmCoreErrorExitSucceed: {2370 _enum: ['Stopped', 'Returned', 'Suicided']2373 _enum: ['Stopped', 'Returned', 'Suicided']2371 },2374 },2372 /**2375 /**2373 * Lookup293: evm_core::error::ExitError2376 * Lookup295: evm_core::error::ExitError2374 **/2377 **/2375 EvmCoreErrorExitError: {2378 EvmCoreErrorExitError: {2376 _enum: {2379 _enum: {2377 StackUnderflow: 'Null',2380 StackUnderflow: 'Null',2391 InvalidCode: 'Null'2394 InvalidCode: 'Null'2392 }2395 }2393 },2396 },2394 /**2397 /**2395 * Lookup296: evm_core::error::ExitRevert2398 * Lookup298: evm_core::error::ExitRevert2396 **/2399 **/2397 EvmCoreErrorExitRevert: {2400 EvmCoreErrorExitRevert: {2398 _enum: ['Reverted']2401 _enum: ['Reverted']2399 },2402 },2400 /**2403 /**2401 * Lookup297: evm_core::error::ExitFatal2404 * Lookup299: evm_core::error::ExitFatal2402 **/2405 **/2403 EvmCoreErrorExitFatal: {2406 EvmCoreErrorExitFatal: {2404 _enum: {2407 _enum: {2405 NotSupported: 'Null',2408 NotSupported: 'Null',2408 Other: 'Text'2411 Other: 'Text'2409 }2412 }2410 },2413 },2411 /**2414 /**2412 * Lookup298: frame_system::Phase2415 * Lookup300: frame_system::Phase2413 **/2416 **/2414 FrameSystemPhase: {2417 FrameSystemPhase: {2415 _enum: {2418 _enum: {2416 ApplyExtrinsic: 'u32',2419 ApplyExtrinsic: 'u32',2417 Finalization: 'Null',2420 Finalization: 'Null',2418 Initialization: 'Null'2421 Initialization: 'Null'2419 }2422 }2420 },2423 },2421 /**2424 /**2422 * Lookup300: frame_system::LastRuntimeUpgradeInfo2425 * Lookup302: frame_system::LastRuntimeUpgradeInfo2423 **/2426 **/2424 FrameSystemLastRuntimeUpgradeInfo: {2427 FrameSystemLastRuntimeUpgradeInfo: {2425 specVersion: 'Compact<u32>',2428 specVersion: 'Compact<u32>',2426 specName: 'Text'2429 specName: 'Text'2427 },2430 },2428 /**2431 /**2429 * Lookup301: frame_system::limits::BlockWeights2432 * Lookup303: frame_system::limits::BlockWeights2430 **/2433 **/2431 FrameSystemLimitsBlockWeights: {2434 FrameSystemLimitsBlockWeights: {2432 baseBlock: 'u64',2435 baseBlock: 'u64',2433 maxBlock: 'u64',2436 maxBlock: 'u64',2434 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2437 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2435 },2438 },2436 /**2439 /**2437 * Lookup302: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2440 * Lookup304: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2438 **/2441 **/2439 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2442 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2440 normal: 'FrameSystemLimitsWeightsPerClass',2443 normal: 'FrameSystemLimitsWeightsPerClass',2441 operational: 'FrameSystemLimitsWeightsPerClass',2444 operational: 'FrameSystemLimitsWeightsPerClass',2442 mandatory: 'FrameSystemLimitsWeightsPerClass'2445 mandatory: 'FrameSystemLimitsWeightsPerClass'2443 },2446 },2444 /**2447 /**2445 * Lookup303: frame_system::limits::WeightsPerClass2448 * Lookup305: frame_system::limits::WeightsPerClass2446 **/2449 **/2447 FrameSystemLimitsWeightsPerClass: {2450 FrameSystemLimitsWeightsPerClass: {2448 baseExtrinsic: 'u64',2451 baseExtrinsic: 'u64',2449 maxExtrinsic: 'Option<u64>',2452 maxExtrinsic: 'Option<u64>',2450 maxTotal: 'Option<u64>',2453 maxTotal: 'Option<u64>',2451 reserved: 'Option<u64>'2454 reserved: 'Option<u64>'2452 },2455 },2453 /**2456 /**2454 * Lookup305: frame_system::limits::BlockLength2457 * Lookup307: frame_system::limits::BlockLength2455 **/2458 **/2456 FrameSystemLimitsBlockLength: {2459 FrameSystemLimitsBlockLength: {2457 max: 'FrameSupportWeightsPerDispatchClassU32'2460 max: 'FrameSupportWeightsPerDispatchClassU32'2458 },2461 },2459 /**2462 /**2460 * Lookup306: frame_support::weights::PerDispatchClass<T>2463 * Lookup308: frame_support::weights::PerDispatchClass<T>2461 **/2464 **/2462 FrameSupportWeightsPerDispatchClassU32: {2465 FrameSupportWeightsPerDispatchClassU32: {2463 normal: 'u32',2466 normal: 'u32',2464 operational: 'u32',2467 operational: 'u32',2465 mandatory: 'u32'2468 mandatory: 'u32'2466 },2469 },2467 /**2470 /**2468 * Lookup307: frame_support::weights::RuntimeDbWeight2471 * Lookup309: frame_support::weights::RuntimeDbWeight2469 **/2472 **/2470 FrameSupportWeightsRuntimeDbWeight: {2473 FrameSupportWeightsRuntimeDbWeight: {2471 read: 'u64',2474 read: 'u64',2472 write: 'u64'2475 write: 'u64'2473 },2476 },2474 /**2477 /**2475 * Lookup308: sp_version::RuntimeVersion2478 * Lookup310: sp_version::RuntimeVersion2476 **/2479 **/2477 SpVersionRuntimeVersion: {2480 SpVersionRuntimeVersion: {2478 specName: 'Text',2481 specName: 'Text',2479 implName: 'Text',2482 implName: 'Text',2484 transactionVersion: 'u32',2487 transactionVersion: 'u32',2485 stateVersion: 'u8'2488 stateVersion: 'u8'2486 },2489 },2487 /**2490 /**2488 * Lookup312: frame_system::pallet::Error<T>2491 * Lookup314: frame_system::pallet::Error<T>2489 **/2492 **/2490 FrameSystemError: {2493 FrameSystemError: {2491 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2494 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2492 },2495 },2493 /**2496 /**2494 * Lookup314: orml_vesting::module::Error<T>2497 * Lookup316: orml_vesting::module::Error<T>2495 **/2498 **/2496 OrmlVestingModuleError: {2499 OrmlVestingModuleError: {2497 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2500 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2498 },2501 },2499 /**2502 /**2500 * Lookup316: cumulus_pallet_xcmp_queue::InboundChannelDetails2503 * Lookup318: cumulus_pallet_xcmp_queue::InboundChannelDetails2501 **/2504 **/2502 CumulusPalletXcmpQueueInboundChannelDetails: {2505 CumulusPalletXcmpQueueInboundChannelDetails: {2503 sender: 'u32',2506 sender: 'u32',2504 state: 'CumulusPalletXcmpQueueInboundState',2507 state: 'CumulusPalletXcmpQueueInboundState',2505 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2508 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2506 },2509 },2507 /**2510 /**2508 * Lookup317: cumulus_pallet_xcmp_queue::InboundState2511 * Lookup319: cumulus_pallet_xcmp_queue::InboundState2509 **/2512 **/2510 CumulusPalletXcmpQueueInboundState: {2513 CumulusPalletXcmpQueueInboundState: {2511 _enum: ['Ok', 'Suspended']2514 _enum: ['Ok', 'Suspended']2512 },2515 },2513 /**2516 /**2514 * Lookup320: polkadot_parachain::primitives::XcmpMessageFormat2517 * Lookup322: polkadot_parachain::primitives::XcmpMessageFormat2515 **/2518 **/2516 PolkadotParachainPrimitivesXcmpMessageFormat: {2519 PolkadotParachainPrimitivesXcmpMessageFormat: {2517 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2520 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2518 },2521 },2519 /**2522 /**2520 * Lookup323: cumulus_pallet_xcmp_queue::OutboundChannelDetails2523 * Lookup325: cumulus_pallet_xcmp_queue::OutboundChannelDetails2521 **/2524 **/2522 CumulusPalletXcmpQueueOutboundChannelDetails: {2525 CumulusPalletXcmpQueueOutboundChannelDetails: {2523 recipient: 'u32',2526 recipient: 'u32',2524 state: 'CumulusPalletXcmpQueueOutboundState',2527 state: 'CumulusPalletXcmpQueueOutboundState',2525 signalsExist: 'bool',2528 signalsExist: 'bool',2526 firstIndex: 'u16',2529 firstIndex: 'u16',2527 lastIndex: 'u16'2530 lastIndex: 'u16'2528 },2531 },2529 /**2532 /**2530 * Lookup324: cumulus_pallet_xcmp_queue::OutboundState2533 * Lookup326: cumulus_pallet_xcmp_queue::OutboundState2531 **/2534 **/2532 CumulusPalletXcmpQueueOutboundState: {2535 CumulusPalletXcmpQueueOutboundState: {2533 _enum: ['Ok', 'Suspended']2536 _enum: ['Ok', 'Suspended']2534 },2537 },2535 /**2538 /**2536 * Lookup326: cumulus_pallet_xcmp_queue::QueueConfigData2539 * Lookup328: cumulus_pallet_xcmp_queue::QueueConfigData2537 **/2540 **/2538 CumulusPalletXcmpQueueQueueConfigData: {2541 CumulusPalletXcmpQueueQueueConfigData: {2539 suspendThreshold: 'u32',2542 suspendThreshold: 'u32',2540 dropThreshold: 'u32',2543 dropThreshold: 'u32',2543 weightRestrictDecay: 'u64',2546 weightRestrictDecay: 'u64',2544 xcmpMaxIndividualWeight: 'u64'2547 xcmpMaxIndividualWeight: 'u64'2545 },2548 },2546 /**2549 /**2547 * Lookup328: cumulus_pallet_xcmp_queue::pallet::Error<T>2550 * Lookup330: cumulus_pallet_xcmp_queue::pallet::Error<T>2548 **/2551 **/2549 CumulusPalletXcmpQueueError: {2552 CumulusPalletXcmpQueueError: {2550 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2553 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2551 },2554 },2552 /**2555 /**2553 * Lookup329: pallet_xcm::pallet::Error<T>2556 * Lookup331: pallet_xcm::pallet::Error<T>2554 **/2557 **/2555 PalletXcmError: {2558 PalletXcmError: {2556 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2559 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2557 },2560 },2558 /**2561 /**2559 * Lookup330: cumulus_pallet_xcm::pallet::Error<T>2562 * Lookup332: cumulus_pallet_xcm::pallet::Error<T>2560 **/2563 **/2561 CumulusPalletXcmError: 'Null',2564 CumulusPalletXcmError: 'Null',2562 /**2565 /**2563 * Lookup331: cumulus_pallet_dmp_queue::ConfigData2566 * Lookup333: cumulus_pallet_dmp_queue::ConfigData2564 **/2567 **/2565 CumulusPalletDmpQueueConfigData: {2568 CumulusPalletDmpQueueConfigData: {2566 maxIndividual: 'u64'2569 maxIndividual: 'u64'2567 },2570 },2568 /**2571 /**2569 * Lookup332: cumulus_pallet_dmp_queue::PageIndexData2572 * Lookup334: cumulus_pallet_dmp_queue::PageIndexData2570 **/2573 **/2571 CumulusPalletDmpQueuePageIndexData: {2574 CumulusPalletDmpQueuePageIndexData: {2572 beginUsed: 'u32',2575 beginUsed: 'u32',2573 endUsed: 'u32',2576 endUsed: 'u32',2574 overweightCount: 'u64'2577 overweightCount: 'u64'2575 },2578 },2576 /**2579 /**2577 * Lookup335: cumulus_pallet_dmp_queue::pallet::Error<T>2580 * Lookup337: cumulus_pallet_dmp_queue::pallet::Error<T>2578 **/2581 **/2579 CumulusPalletDmpQueueError: {2582 CumulusPalletDmpQueueError: {2580 _enum: ['Unknown', 'OverLimit']2583 _enum: ['Unknown', 'OverLimit']2581 },2584 },2582 /**2585 /**2583 * Lookup339: pallet_unique::Error<T>2586 * Lookup341: pallet_unique::Error<T>2584 **/2587 **/2585 PalletUniqueError: {2588 PalletUniqueError: {2586 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2589 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2587 },2590 },2588 /**2591 /**2589 * Lookup342: pallet_unq_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<opal_runtime::Call, primitive_types::H256>, BlockNumber, opal_runtime::OriginCaller, sp_core::crypto::AccountId32>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>2590 **/2593 **/2591 PalletUnqSchedulerScheduledV3: {2594 PalletUniqueSchedulerScheduledV3: {2592 maybeId: 'Option<[u8;16]>',2595 maybeId: 'Option<[u8;16]>',2593 priority: 'u8',2596 priority: 'u8',2594 call: 'FrameSupportScheduleMaybeHashed',2597 call: 'FrameSupportScheduleMaybeHashed',2595 maybePeriodic: 'Option<(u32,u32)>',2598 maybePeriodic: 'Option<(u32,u32)>',2596 origin: 'OpalRuntimeOriginCaller'2599 origin: 'OpalRuntimeOriginCaller'2597 },2600 },2598 /**2601 /**2599 * Lookup343: opal_runtime::OriginCaller2602 * Lookup345: opal_runtime::OriginCaller2600 **/2603 **/2601 OpalRuntimeOriginCaller: {2604 OpalRuntimeOriginCaller: {2602 _enum: {2605 _enum: {2603 __Unused0: 'Null',2606 __Unused0: 'Null',2704 Ethereum: 'PalletEthereumRawOrigin'2707 Ethereum: 'PalletEthereumRawOrigin'2705 }2708 }2706 },2709 },2707 /**2710 /**2708 * Lookup344: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2711 * Lookup346: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32>2709 **/2712 **/2710 FrameSupportDispatchRawOrigin: {2713 FrameSupportDispatchRawOrigin: {2711 _enum: {2714 _enum: {2712 Root: 'Null',2715 Root: 'Null',2713 Signed: 'AccountId32',2716 Signed: 'AccountId32',2714 None: 'Null'2717 None: 'Null'2715 }2718 }2716 },2719 },2717 /**2720 /**2718 * Lookup345: pallet_xcm::pallet::Origin2721 * Lookup347: pallet_xcm::pallet::Origin2719 **/2722 **/2720 PalletXcmOrigin: {2723 PalletXcmOrigin: {2721 _enum: {2724 _enum: {2722 Xcm: 'XcmV1MultiLocation',2725 Xcm: 'XcmV1MultiLocation',2723 Response: 'XcmV1MultiLocation'2726 Response: 'XcmV1MultiLocation'2724 }2727 }2725 },2728 },2726 /**2729 /**2727 * Lookup346: cumulus_pallet_xcm::pallet::Origin2730 * Lookup348: cumulus_pallet_xcm::pallet::Origin2728 **/2731 **/2729 CumulusPalletXcmOrigin: {2732 CumulusPalletXcmOrigin: {2730 _enum: {2733 _enum: {2731 Relay: 'Null',2734 Relay: 'Null',2732 SiblingParachain: 'u32'2735 SiblingParachain: 'u32'2733 }2736 }2734 },2737 },2735 /**2738 /**2736 * Lookup347: pallet_ethereum::RawOrigin2739 * Lookup349: pallet_ethereum::RawOrigin2737 **/2740 **/2738 PalletEthereumRawOrigin: {2741 PalletEthereumRawOrigin: {2739 _enum: {2742 _enum: {2740 EthereumTransaction: 'H160'2743 EthereumTransaction: 'H160'2741 }2744 }2742 },2745 },2743 /**2746 /**2744 * Lookup348: sp_core::Void2747 * Lookup350: sp_core::Void2745 **/2748 **/2746 SpCoreVoid: 'Null',2749 SpCoreVoid: 'Null',2747 /**2750 /**2748 * Lookup349: pallet_unq_scheduler::pallet::Error<T>2751 * Lookup351: pallet_unique_scheduler::pallet::Error<T>2749 **/2752 **/2750 PalletUnqSchedulerError: {2753 PalletUniqueSchedulerError: {2751 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2754 _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']2752 },2755 },2753 /**2756 /**2754 * Lookup350: up_data_structs::Collection<sp_core::crypto::AccountId32>2757 * Lookup352: up_data_structs::Collection<sp_core::crypto::AccountId32>2755 **/2758 **/2756 UpDataStructsCollection: {2759 UpDataStructsCollection: {2757 owner: 'AccountId32',2760 owner: 'AccountId32',2758 mode: 'UpDataStructsCollectionMode',2761 mode: 'UpDataStructsCollectionMode',2764 permissions: 'UpDataStructsCollectionPermissions',2767 permissions: 'UpDataStructsCollectionPermissions',2765 externalCollection: 'bool'2768 externalCollection: 'bool'2766 },2769 },2767 /**2770 /**2768 * Lookup351: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2771 * Lookup353: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2769 **/2772 **/2770 UpDataStructsSponsorshipState: {2773 UpDataStructsSponsorshipState: {2771 _enum: {2774 _enum: {2772 Disabled: 'Null',2775 Disabled: 'Null',2773 Unconfirmed: 'AccountId32',2776 Unconfirmed: 'AccountId32',2774 Confirmed: 'AccountId32'2777 Confirmed: 'AccountId32'2775 }2778 }2776 },2779 },2777 /**2780 /**2778 * Lookup352: up_data_structs::Properties2781 * Lookup354: up_data_structs::Properties2779 **/2782 **/2780 UpDataStructsProperties: {2783 UpDataStructsProperties: {2781 map: 'UpDataStructsPropertiesMapBoundedVec',2784 map: 'UpDataStructsPropertiesMapBoundedVec',2782 consumedSpace: 'u32',2785 consumedSpace: 'u32',2783 spaceLimit: 'u32'2786 spaceLimit: 'u32'2784 },2787 },2785 /**2788 /**2786 * Lookup353: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2789 * Lookup355: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>2787 **/2790 **/2788 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2791 UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',2789 /**2792 /**2790 * Lookup358: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2793 * Lookup360: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>2791 **/2794 **/2792 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2795 UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',2793 /**2796 /**2794 * Lookup365: up_data_structs::CollectionStats2797 * Lookup367: up_data_structs::CollectionStats2795 **/2798 **/2796 UpDataStructsCollectionStats: {2799 UpDataStructsCollectionStats: {2797 created: 'u32',2800 created: 'u32',2798 destroyed: 'u32',2801 destroyed: 'u32',2799 alive: 'u32'2802 alive: 'u32'2800 },2803 },2801 /**2804 /**2802 * Lookup366: up_data_structs::TokenChild2805 * Lookup368: up_data_structs::TokenChild2803 **/2806 **/2804 UpDataStructsTokenChild: {2807 UpDataStructsTokenChild: {2805 token: 'u32',2808 token: 'u32',2806 collection: 'u32'2809 collection: 'u32'2807 },2810 },2808 /**2811 /**2809 * Lookup367: PhantomType::up_data_structs<T>2812 * Lookup369: PhantomType::up_data_structs<T>2810 **/2813 **/2811 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2814 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,RmrkTraitsCollectionCollectionInfo,RmrkTraitsNftNftInfo,RmrkTraitsResourceResourceInfo,RmrkTraitsPropertyPropertyInfo,RmrkTraitsBaseBaseInfo,RmrkTraitsPartPartType,RmrkTraitsTheme,RmrkTraitsNftNftChild);0]',2812 /**2815 /**2813 * Lookup369: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2816 * Lookup371: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2814 **/2817 **/2815 UpDataStructsTokenData: {2818 UpDataStructsTokenData: {2816 properties: 'Vec<UpDataStructsProperty>',2819 properties: 'Vec<UpDataStructsProperty>',2817 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2820 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2818 },2821 },2819 /**2822 /**2820 * Lookup371: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2823 * Lookup373: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2821 **/2824 **/2822 UpDataStructsRpcCollection: {2825 UpDataStructsRpcCollection: {2823 owner: 'AccountId32',2826 owner: 'AccountId32',2824 mode: 'UpDataStructsCollectionMode',2827 mode: 'UpDataStructsCollectionMode',2832 properties: 'Vec<UpDataStructsProperty>',2835 properties: 'Vec<UpDataStructsProperty>',2833 readOnly: 'bool'2836 readOnly: 'bool'2834 },2837 },2835 /**2838 /**2836 * Lookup372: rmrk_traits::collection::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>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>2837 **/2840 **/2838 RmrkTraitsCollectionCollectionInfo: {2841 RmrkTraitsCollectionCollectionInfo: {2839 issuer: 'AccountId32',2842 issuer: 'AccountId32',2840 metadata: 'Bytes',2843 metadata: 'Bytes',2841 max: 'Option<u32>',2844 max: 'Option<u32>',2842 symbol: 'Bytes',2845 symbol: 'Bytes',2843 nftsCount: 'u32'2846 nftsCount: 'u32'2844 },2847 },2845 /**2848 /**2846 * Lookup373: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2849 * Lookup375: rmrk_traits::nft::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2847 **/2850 **/2848 RmrkTraitsNftNftInfo: {2851 RmrkTraitsNftNftInfo: {2849 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2852 owner: 'RmrkTraitsNftAccountIdOrCollectionNftTuple',2850 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2853 royalty: 'Option<RmrkTraitsNftRoyaltyInfo>',2851 metadata: 'Bytes',2854 metadata: 'Bytes',2852 equipped: 'bool',2855 equipped: 'bool',2853 pending: 'bool'2856 pending: 'bool'2854 },2857 },2855 /**2858 /**2856 * Lookup375: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2859 * Lookup377: rmrk_traits::nft::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2857 **/2860 **/2858 RmrkTraitsNftRoyaltyInfo: {2861 RmrkTraitsNftRoyaltyInfo: {2859 recipient: 'AccountId32',2862 recipient: 'AccountId32',2860 amount: 'Permill'2863 amount: 'Permill'2861 },2864 },2862 /**2865 /**2863 * Lookup376: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2866 * Lookup378: rmrk_traits::resource::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2864 **/2867 **/2865 RmrkTraitsResourceResourceInfo: {2868 RmrkTraitsResourceResourceInfo: {2866 id: 'u32',2869 id: 'u32',2867 resource: 'RmrkTraitsResourceResourceTypes',2870 resource: 'RmrkTraitsResourceResourceTypes',2868 pending: 'bool',2871 pending: 'bool',2869 pendingRemoval: 'bool'2872 pendingRemoval: 'bool'2870 },2873 },2871 /**2874 /**2872 * Lookup377: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2875 * Lookup379: rmrk_traits::resource::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2873 **/2876 **/2874 RmrkTraitsResourceResourceTypes: {2877 RmrkTraitsResourceResourceTypes: {2875 _enum: {2878 _enum: {2876 Basic: 'RmrkTraitsResourceBasicResource',2879 Basic: 'RmrkTraitsResourceBasicResource',2877 Composable: 'RmrkTraitsResourceComposableResource',2880 Composable: 'RmrkTraitsResourceComposableResource',2878 Slot: 'RmrkTraitsResourceSlotResource'2881 Slot: 'RmrkTraitsResourceSlotResource'2879 }2882 }2880 },2883 },2881 /**2884 /**2882 * Lookup378: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2885 * Lookup380: rmrk_traits::property::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2883 **/2886 **/2884 RmrkTraitsPropertyPropertyInfo: {2887 RmrkTraitsPropertyPropertyInfo: {2885 key: 'Bytes',2888 key: 'Bytes',2886 value: 'Bytes'2889 value: 'Bytes'2887 },2890 },2888 /**2891 /**2889 * Lookup379: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2892 * Lookup381: rmrk_traits::base::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2890 **/2893 **/2891 RmrkTraitsBaseBaseInfo: {2894 RmrkTraitsBaseBaseInfo: {2892 issuer: 'AccountId32',2895 issuer: 'AccountId32',2893 baseType: 'Bytes',2896 baseType: 'Bytes',2894 symbol: 'Bytes'2897 symbol: 'Bytes'2895 },2898 },2896 /**2899 /**2897 * Lookup380: rmrk_traits::nft::NftChild2900 * Lookup382: rmrk_traits::nft::NftChild2898 **/2901 **/2899 RmrkTraitsNftNftChild: {2902 RmrkTraitsNftNftChild: {2900 collectionId: 'u32',2903 collectionId: 'u32',2901 nftId: 'u32'2904 nftId: 'u32'2902 },2905 },2903 /**2906 /**2904 * Lookup382: pallet_common::pallet::Error<T>2907 * Lookup384: pallet_common::pallet::Error<T>2905 **/2908 **/2906 PalletCommonError: {2909 PalletCommonError: {2907 _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', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey', 'CollectionIsExternal', 'CollectionIsInternal']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']2908 },2911 },2909 /**2912 /**2910 * Lookup384: pallet_fungible::pallet::Error<T>2913 * Lookup386: pallet_fungible::pallet::Error<T>2911 **/2914 **/2912 PalletFungibleError: {2915 PalletFungibleError: {2913 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2916 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2914 },2917 },2915 /**2918 /**2916 * Lookup385: pallet_refungible::ItemData2919 * Lookup387: pallet_refungible::ItemData2917 **/2920 **/2918 PalletRefungibleItemData: {2921 PalletRefungibleItemData: {2919 constData: 'Bytes'2922 constData: 'Bytes'2920 },2923 },2921 /**2924 /**2922 * Lookup389: pallet_refungible::pallet::Error<T>2925 * Lookup391: pallet_refungible::pallet::Error<T>2923 **/2926 **/2924 PalletRefungibleError: {2927 PalletRefungibleError: {2925 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2928 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2926 },2929 },2927 /**2930 /**2928 * Lookup390: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2931 * Lookup392: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2929 **/2932 **/2930 PalletNonfungibleItemData: {2933 PalletNonfungibleItemData: {2931 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2934 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2932 },2935 },2933 /**2936 /**2934 * Lookup392: pallet_nonfungible::pallet::Error<T>2937 * Lookup394: pallet_nonfungible::pallet::Error<T>2935 **/2938 **/2936 PalletNonfungibleError: {2939 PalletNonfungibleError: {2937 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2940 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2938 },2941 },2939 /**2942 /**2940 * Lookup393: pallet_structure::pallet::Error<T>2943 * Lookup395: pallet_structure::pallet::Error<T>2941 **/2944 **/2942 PalletStructureError: {2945 PalletStructureError: {2943 _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']2946 _enum: ['OuroborosDetected', 'DepthLimit', 'BreadthLimit', 'TokenNotFound']2944 },2947 },2945 /**2948 /**2946 * Lookup394: pallet_rmrk_core::pallet::Error<T>2949 * Lookup396: pallet_rmrk_core::pallet::Error<T>2947 **/2950 **/2948 PalletRmrkCoreError: {2951 PalletRmrkCoreError: {2949 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2952 _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'NonTransferable', 'CollectionFullOrLocked', 'ResourceDoesntExist', 'CannotSendToDescendentOrSelf', 'CannotAcceptNonOwnedNft', 'CannotRejectNonOwnedNft', 'ResourceNotPending']2950 },2953 },2951 /**2954 /**2952 * Lookup396: pallet_rmrk_equip::pallet::Error<T>2955 * Lookup398: pallet_rmrk_equip::pallet::Error<T>2953 **/2956 **/2954 PalletRmrkEquipError: {2957 PalletRmrkEquipError: {2955 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2958 _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']2956 },2959 },2957 /**2960 /**2958 * Lookup399: pallet_evm::pallet::Error<T>2961 * Lookup401: pallet_evm::pallet::Error<T>2959 **/2962 **/2960 PalletEvmError: {2963 PalletEvmError: {2961 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2964 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2962 },2965 },2963 /**2966 /**2964 * Lookup402: fp_rpc::TransactionStatus2967 * Lookup404: fp_rpc::TransactionStatus2965 **/2968 **/2966 FpRpcTransactionStatus: {2969 FpRpcTransactionStatus: {2967 transactionHash: 'H256',2970 transactionHash: 'H256',2968 transactionIndex: 'u32',2971 transactionIndex: 'u32',2972 logs: 'Vec<EthereumLog>',2975 logs: 'Vec<EthereumLog>',2973 logsBloom: 'EthbloomBloom'2976 logsBloom: 'EthbloomBloom'2974 },2977 },2975 /**2978 /**2976 * Lookup404: ethbloom::Bloom2979 * Lookup406: ethbloom::Bloom2977 **/2980 **/2978 EthbloomBloom: '[u8;256]',2981 EthbloomBloom: '[u8;256]',2979 /**2982 /**2980 * Lookup406: ethereum::receipt::ReceiptV32983 * Lookup408: ethereum::receipt::ReceiptV32981 **/2984 **/2982 EthereumReceiptReceiptV3: {2985 EthereumReceiptReceiptV3: {2983 _enum: {2986 _enum: {2984 Legacy: 'EthereumReceiptEip658ReceiptData',2987 Legacy: 'EthereumReceiptEip658ReceiptData',2985 EIP2930: 'EthereumReceiptEip658ReceiptData',2988 EIP2930: 'EthereumReceiptEip658ReceiptData',2986 EIP1559: 'EthereumReceiptEip658ReceiptData'2989 EIP1559: 'EthereumReceiptEip658ReceiptData'2987 }2990 }2988 },2991 },2989 /**2992 /**2990 * Lookup407: ethereum::receipt::EIP658ReceiptData2993 * Lookup409: ethereum::receipt::EIP658ReceiptData2991 **/2994 **/2992 EthereumReceiptEip658ReceiptData: {2995 EthereumReceiptEip658ReceiptData: {2993 statusCode: 'u8',2996 statusCode: 'u8',2994 usedGas: 'U256',2997 usedGas: 'U256',2995 logsBloom: 'EthbloomBloom',2998 logsBloom: 'EthbloomBloom',2996 logs: 'Vec<EthereumLog>'2999 logs: 'Vec<EthereumLog>'2997 },3000 },2998 /**3001 /**2999 * Lookup408: ethereum::block::Block<ethereum::transaction::TransactionV2>3002 * Lookup410: ethereum::block::Block<ethereum::transaction::TransactionV2>3000 **/3003 **/3001 EthereumBlock: {3004 EthereumBlock: {3002 header: 'EthereumHeader',3005 header: 'EthereumHeader',3003 transactions: 'Vec<EthereumTransactionTransactionV2>',3006 transactions: 'Vec<EthereumTransactionTransactionV2>',3004 ommers: 'Vec<EthereumHeader>'3007 ommers: 'Vec<EthereumHeader>'3005 },3008 },3006 /**3009 /**3007 * Lookup409: ethereum::header::Header3010 * Lookup411: ethereum::header::Header3008 **/3011 **/3009 EthereumHeader: {3012 EthereumHeader: {3010 parentHash: 'H256',3013 parentHash: 'H256',3011 ommersHash: 'H256',3014 ommersHash: 'H256',3023 mixHash: 'H256',3026 mixHash: 'H256',3024 nonce: 'EthereumTypesHashH64'3027 nonce: 'EthereumTypesHashH64'3025 },3028 },3026 /**3029 /**3027 * Lookup410: ethereum_types::hash::H643030 * Lookup412: ethereum_types::hash::H643028 **/3031 **/3029 EthereumTypesHashH64: '[u8;8]',3032 EthereumTypesHashH64: '[u8;8]',3030 /**3033 /**3031 * Lookup415: pallet_ethereum::pallet::Error<T>3034 * Lookup417: pallet_ethereum::pallet::Error<T>3032 **/3035 **/3033 PalletEthereumError: {3036 PalletEthereumError: {3034 _enum: ['InvalidSignature', 'PreLogExists']3037 _enum: ['InvalidSignature', 'PreLogExists']3035 },3038 },3036 /**3039 /**3037 * Lookup416: pallet_evm_coder_substrate::pallet::Error<T>3040 * Lookup418: pallet_evm_coder_substrate::pallet::Error<T>3038 **/3041 **/3039 PalletEvmCoderSubstrateError: {3042 PalletEvmCoderSubstrateError: {3040 _enum: ['OutOfGas', 'OutOfFund']3043 _enum: ['OutOfGas', 'OutOfFund']3041 },3044 },3042 /**3045 /**3043 * Lookup417: pallet_evm_contract_helpers::SponsoringModeT3046 * Lookup419: pallet_evm_contract_helpers::SponsoringModeT3044 **/3047 **/3045 PalletEvmContractHelpersSponsoringModeT: {3048 PalletEvmContractHelpersSponsoringModeT: {3046 _enum: ['Disabled', 'Allowlisted', 'Generous']3049 _enum: ['Disabled', 'Allowlisted', 'Generous']3047 },3050 },3048 /**3051 /**3049 * Lookup419: pallet_evm_contract_helpers::pallet::Error<T>3052 * Lookup421: pallet_evm_contract_helpers::pallet::Error<T>3050 **/3053 **/3051 PalletEvmContractHelpersError: {3054 PalletEvmContractHelpersError: {3052 _enum: ['NoPermission']3055 _enum: ['NoPermission']3053 },3056 },3054 /**3057 /**3055 * Lookup420: pallet_evm_migration::pallet::Error<T>3058 * Lookup422: pallet_evm_migration::pallet::Error<T>3056 **/3059 **/3057 PalletEvmMigrationError: {3060 PalletEvmMigrationError: {3058 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3061 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']3059 },3062 },3060 /**3063 /**3061 * Lookup422: sp_runtime::MultiSignature3064 * Lookup424: sp_runtime::MultiSignature3062 **/3065 **/3063 SpRuntimeMultiSignature: {3066 SpRuntimeMultiSignature: {3064 _enum: {3067 _enum: {3065 Ed25519: 'SpCoreEd25519Signature',3068 Ed25519: 'SpCoreEd25519Signature',3066 Sr25519: 'SpCoreSr25519Signature',3069 Sr25519: 'SpCoreSr25519Signature',3067 Ecdsa: 'SpCoreEcdsaSignature'3070 Ecdsa: 'SpCoreEcdsaSignature'3068 }3071 }3069 },3072 },3070 /**3073 /**3071 * Lookup423: sp_core::ed25519::Signature3074 * Lookup425: sp_core::ed25519::Signature3072 **/3075 **/3073 SpCoreEd25519Signature: '[u8;64]',3076 SpCoreEd25519Signature: '[u8;64]',3074 /**3077 /**3075 * Lookup425: sp_core::sr25519::Signature3078 * Lookup427: sp_core::sr25519::Signature3076 **/3079 **/3077 SpCoreSr25519Signature: '[u8;64]',3080 SpCoreSr25519Signature: '[u8;64]',3078 /**3081 /**3079 * Lookup426: sp_core::ecdsa::Signature3082 * Lookup428: sp_core::ecdsa::Signature3080 **/3083 **/3081 SpCoreEcdsaSignature: '[u8;65]',3084 SpCoreEcdsaSignature: '[u8;65]',3082 /**3085 /**3083 * Lookup429: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3086 * Lookup431: frame_system::extensions::check_spec_version::CheckSpecVersion<T>3084 **/3087 **/3085 FrameSystemExtensionsCheckSpecVersion: 'Null',3088 FrameSystemExtensionsCheckSpecVersion: 'Null',3086 /**3089 /**3087 * Lookup430: frame_system::extensions::check_genesis::CheckGenesis<T>3090 * Lookup432: frame_system::extensions::check_genesis::CheckGenesis<T>3088 **/3091 **/3089 FrameSystemExtensionsCheckGenesis: 'Null',3092 FrameSystemExtensionsCheckGenesis: 'Null',3090 /**3093 /**3091 * Lookup433: frame_system::extensions::check_nonce::CheckNonce<T>3094 * Lookup435: frame_system::extensions::check_nonce::CheckNonce<T>3092 **/3095 **/3093 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3096 FrameSystemExtensionsCheckNonce: 'Compact<u32>',3094 /**3097 /**3095 * Lookup434: frame_system::extensions::check_weight::CheckWeight<T>3098 * Lookup436: frame_system::extensions::check_weight::CheckWeight<T>3096 **/3099 **/3097 FrameSystemExtensionsCheckWeight: 'Null',3100 FrameSystemExtensionsCheckWeight: 'Null',3098 /**3101 /**3099 * Lookup435: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3102 * Lookup437: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>3100 **/3103 **/3101 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3104 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',3102 /**3105 /**3103 * Lookup436: opal_runtime::Runtime3106 * Lookup438: opal_runtime::Runtime3104 **/3107 **/3105 OpalRuntimeRuntime: 'Null',3108 OpalRuntimeRuntime: 'Null',3106 /**3109 /**3107 * Lookup437: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3110 * Lookup439: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>3108 **/3111 **/3109 PalletEthereumFakeTransactionFinalizer: 'Null'3112 PalletEthereumFakeTransactionFinalizer: 'Null'3110};3113};31113114tests/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, UpDataStructsNestingRule, 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;
@@ -196,7 +196,8 @@
UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
- UpDataStructsNestingRule: UpDataStructsNestingRule;
+ UpDataStructsNestingPermissions: UpDataStructsNestingPermissions;
+ UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet;
UpDataStructsProperties: UpDataStructsProperties;
UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -1556,38 +1556,40 @@
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
- readonly nesting: Option<UpDataStructsNestingRule>;
+ readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingRule (169) */
- export interface UpDataStructsNestingRule extends Enum {
- readonly isDisabled: boolean;
- readonly isOwner: boolean;
- readonly isOwnerRestricted: boolean;
- readonly asOwnerRestricted: BTreeSet<u32>;
- readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';
+ /** @name UpDataStructsNestingPermissions (169) */
+ export interface UpDataStructsNestingPermissions extends Struct {
+ readonly tokenOwner: bool;
+ readonly admin: bool;
+ readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
+ readonly permissive: bool;
}
- /** @name UpDataStructsPropertyKeyPermission (175) */
+ /** @name UpDataStructsOwnerRestrictedSet (171) */
+ export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
+
+ /** @name UpDataStructsPropertyKeyPermission (177) */
export interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (177) */
+ /** @name UpDataStructsPropertyPermission (179) */
export interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (180) */
+ /** @name UpDataStructsProperty (182) */
export interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */
+ /** @name PalletEvmAccountBasicCrossAccountIdRepr (185) */
export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
readonly isSubstrate: boolean;
readonly asSubstrate: AccountId32;
@@ -1596,7 +1598,7 @@
readonly type: 'Substrate' | 'Ethereum';
}
- /** @name UpDataStructsCreateItemData (185) */
+ /** @name UpDataStructsCreateItemData (187) */
export interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -1607,23 +1609,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (186) */
+ /** @name UpDataStructsCreateNftData (188) */
export interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (187) */
+ /** @name UpDataStructsCreateFungibleData (189) */
export interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (188) */
+ /** @name UpDataStructsCreateReFungibleData (190) */
export interface UpDataStructsCreateReFungibleData extends Struct {
readonly constData: Bytes;
readonly pieces: u128;
}
- /** @name UpDataStructsCreateItemExData (193) */
+ /** @name UpDataStructsCreateItemExData (195) */
export interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -1636,20 +1638,20 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (195) */
+ /** @name UpDataStructsCreateNftExData (197) */
export interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExData (202) */
+ /** @name UpDataStructsCreateRefungibleExData (204) */
export interface UpDataStructsCreateRefungibleExData extends Struct {
readonly constData: Bytes;
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
}
- /** @name PalletUnqSchedulerCall (204) */
- export interface PalletUnqSchedulerCall extends Enum {
+ /** @name PalletUniqueSchedulerCall (206) */
+ export interface PalletUniqueSchedulerCall extends Enum {
readonly isScheduleNamed: boolean;
readonly asScheduleNamed: {
readonly id: U8aFixed;
@@ -1673,7 +1675,7 @@
readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
}
- /** @name FrameSupportScheduleMaybeHashed (206) */
+ /** @name FrameSupportScheduleMaybeHashed (208) */
export interface FrameSupportScheduleMaybeHashed extends Enum {
readonly isValue: boolean;
readonly asValue: Call;
@@ -1682,13 +1684,13 @@
readonly type: 'Value' | 'Hash';
}
- /** @name PalletTemplateTransactionPaymentCall (207) */
+ /** @name PalletTemplateTransactionPaymentCall (209) */
export type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (208) */
+ /** @name PalletStructureCall (210) */
export type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (209) */
+ /** @name PalletRmrkCoreCall (211) */
export interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -1793,7 +1795,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (213) */
+ /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (215) */
export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
@@ -1802,7 +1804,7 @@
readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name RmrkTraitsResourceBasicResource (217) */
+ /** @name RmrkTraitsResourceBasicResource (219) */
export interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -1810,7 +1812,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (220) */
+ /** @name RmrkTraitsResourceComposableResource (222) */
export interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -1820,7 +1822,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (222) */
+ /** @name RmrkTraitsResourceSlotResource (224) */
export interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -1830,7 +1832,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (223) */
+ /** @name PalletRmrkEquipCall (225) */
export interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -1846,7 +1848,7 @@
readonly type: 'CreateBase' | 'ThemeAdd';
}
- /** @name RmrkTraitsPartPartType (225) */
+ /** @name RmrkTraitsPartPartType (227) */
export interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -1855,14 +1857,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (227) */
+ /** @name RmrkTraitsPartFixedPart (229) */
export interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (228) */
+ /** @name RmrkTraitsPartSlotPart (230) */
export interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -1870,7 +1872,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (229) */
+ /** @name RmrkTraitsPartEquippableList (231) */
export interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -1879,20 +1881,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (231) */
+ /** @name RmrkTraitsTheme (233) */
export interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (233) */
+ /** @name RmrkTraitsThemeThemeProperty (235) */
export interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletEvmCall (234) */
+ /** @name PalletEvmCall (236) */
export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -1937,7 +1939,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (240) */
+ /** @name PalletEthereumCall (242) */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -1946,7 +1948,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (241) */
+ /** @name EthereumTransactionTransactionV2 (243) */
export interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -1957,7 +1959,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (242) */
+ /** @name EthereumTransactionLegacyTransaction (244) */
export interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -1968,7 +1970,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (243) */
+ /** @name EthereumTransactionTransactionAction (245) */
export interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -1976,14 +1978,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (244) */
+ /** @name EthereumTransactionTransactionSignature (246) */
export interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (246) */
+ /** @name EthereumTransactionEip2930Transaction (248) */
export interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1998,13 +2000,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (248) */
+ /** @name EthereumTransactionAccessListItem (250) */
export interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (249) */
+ /** @name EthereumTransactionEip1559Transaction (251) */
export interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -2020,7 +2022,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (250) */
+ /** @name PalletEvmMigrationCall (252) */
export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -2039,7 +2041,7 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoEvent (253) */
+ /** @name PalletSudoEvent (255) */
export interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -2056,7 +2058,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name SpRuntimeDispatchError (255) */
+ /** @name SpRuntimeDispatchError (257) */
export interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
@@ -2075,13 +2077,13 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
}
- /** @name SpRuntimeModuleError (256) */
+ /** @name SpRuntimeModuleError (258) */
export interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
- /** @name SpRuntimeTokenError (257) */
+ /** @name SpRuntimeTokenError (259) */
export interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
@@ -2093,7 +2095,7 @@
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
- /** @name SpRuntimeArithmeticError (258) */
+ /** @name SpRuntimeArithmeticError (260) */
export interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
@@ -2101,20 +2103,20 @@
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
- /** @name SpRuntimeTransactionalError (259) */
+ /** @name SpRuntimeTransactionalError (261) */
export interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
- /** @name PalletSudoError (260) */
+ /** @name PalletSudoError (262) */
export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name FrameSystemAccountInfo (261) */
+ /** @name FrameSystemAccountInfo (263) */
export interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
@@ -2123,19 +2125,19 @@
readonly data: PalletBalancesAccountData;
}
- /** @name FrameSupportWeightsPerDispatchClassU64 (262) */
+ /** @name FrameSupportWeightsPerDispatchClassU64 (264) */
export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
- /** @name SpRuntimeDigest (263) */
+ /** @name SpRuntimeDigest (265) */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
- /** @name SpRuntimeDigestDigestItem (265) */
+ /** @name SpRuntimeDigestDigestItem (267) */
export interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
@@ -2149,14 +2151,14 @@
readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
}
- /** @name FrameSystemEventRecord (267) */
+ /** @name FrameSystemEventRecord (269) */
export interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
- /** @name FrameSystemEvent (269) */
+ /** @name FrameSystemEvent (271) */
export interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
@@ -2184,14 +2186,14 @@
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
- /** @name FrameSupportWeightsDispatchInfo (270) */
+ /** @name FrameSupportWeightsDispatchInfo (272) */
export interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
- /** @name FrameSupportWeightsDispatchClass (271) */
+ /** @name FrameSupportWeightsDispatchClass (273) */
export interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
@@ -2199,14 +2201,14 @@
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
- /** @name FrameSupportWeightsPays (272) */
+ /** @name FrameSupportWeightsPays (274) */
export interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
- /** @name OrmlVestingModuleEvent (273) */
+ /** @name OrmlVestingModuleEvent (275) */
export interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -2226,7 +2228,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name CumulusPalletXcmpQueueEvent (274) */
+ /** @name CumulusPalletXcmpQueueEvent (276) */
export interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: Option<H256>;
@@ -2247,7 +2249,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletXcmEvent (275) */
+ /** @name PalletXcmEvent (277) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -2284,7 +2286,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
- /** @name XcmV2TraitsOutcome (276) */
+ /** @name XcmV2TraitsOutcome (278) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -2295,7 +2297,7 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name CumulusPalletXcmEvent (278) */
+ /** @name CumulusPalletXcmEvent (280) */
export interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2306,7 +2308,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (279) */
+ /** @name CumulusPalletDmpQueueEvent (281) */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2323,7 +2325,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletUniqueRawEvent (280) */
+ /** @name PalletUniqueRawEvent (282) */
export interface PalletUniqueRawEvent extends Enum {
readonly isCollectionSponsorRemoved: boolean;
readonly asCollectionSponsorRemoved: u32;
@@ -2348,8 +2350,8 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
}
- /** @name PalletUnqSchedulerEvent (281) */
- export interface PalletUnqSchedulerEvent extends Enum {
+ /** @name PalletUniqueSchedulerEvent (283) */
+ export interface PalletUniqueSchedulerEvent extends Enum {
readonly isScheduled: boolean;
readonly asScheduled: {
readonly when: u32;
@@ -2375,14 +2377,14 @@
readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';
}
- /** @name FrameSupportScheduleLookupError (283) */
+ /** @name FrameSupportScheduleLookupError (285) */
export interface FrameSupportScheduleLookupError extends Enum {
readonly isUnknown: boolean;
readonly isBadFormat: boolean;
readonly type: 'Unknown' | 'BadFormat';
}
- /** @name PalletCommonEvent (284) */
+ /** @name PalletCommonEvent (286) */
export interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -2409,14 +2411,14 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
}
- /** @name PalletStructureEvent (285) */
+ /** @name PalletStructureEvent (287) */
export interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (286) */
+ /** @name PalletRmrkCoreEvent (288) */
export interface PalletRmrkCoreEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: {
@@ -2506,7 +2508,7 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
}
- /** @name PalletRmrkEquipEvent (287) */
+ /** @name PalletRmrkEquipEvent (289) */
export interface PalletRmrkEquipEvent extends Enum {
readonly isBaseCreated: boolean;
readonly asBaseCreated: {
@@ -2516,7 +2518,7 @@
readonly type: 'BaseCreated';
}
- /** @name PalletEvmEvent (288) */
+ /** @name PalletEvmEvent (290) */
export interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
@@ -2535,21 +2537,21 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
}
- /** @name EthereumLog (289) */
+ /** @name EthereumLog (291) */
export interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (290) */
+ /** @name PalletEthereumEvent (292) */
export interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (291) */
+ /** @name EvmCoreErrorExitReason (293) */
export interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -2562,7 +2564,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (292) */
+ /** @name EvmCoreErrorExitSucceed (294) */
export interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -2570,7 +2572,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (293) */
+ /** @name EvmCoreErrorExitError (295) */
export interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -2591,13 +2593,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (296) */
+ /** @name EvmCoreErrorExitRevert (298) */
export interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (297) */
+ /** @name EvmCoreErrorExitFatal (299) */
export interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -2608,7 +2610,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name FrameSystemPhase (298) */
+ /** @name FrameSystemPhase (300) */
export interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -2617,27 +2619,27 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (300) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (302) */
export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemLimitsBlockWeights (301) */
+ /** @name FrameSystemLimitsBlockWeights (303) */
export interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (302) */
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (304) */
export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (303) */
+ /** @name FrameSystemLimitsWeightsPerClass (305) */
export interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -2645,25 +2647,25 @@
readonly reserved: Option<u64>;
}
- /** @name FrameSystemLimitsBlockLength (305) */
+ /** @name FrameSystemLimitsBlockLength (307) */
export interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
- /** @name FrameSupportWeightsPerDispatchClassU32 (306) */
+ /** @name FrameSupportWeightsPerDispatchClassU32 (308) */
export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name FrameSupportWeightsRuntimeDbWeight (307) */
+ /** @name FrameSupportWeightsRuntimeDbWeight (309) */
export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (308) */
+ /** @name SpVersionRuntimeVersion (310) */
export interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -2675,7 +2677,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (312) */
+ /** @name FrameSystemError (314) */
export interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -2686,7 +2688,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name OrmlVestingModuleError (314) */
+ /** @name OrmlVestingModuleError (316) */
export interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2697,21 +2699,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (316) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (318) */
export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (317) */
+ /** @name CumulusPalletXcmpQueueInboundState (319) */
export interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (320) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (322) */
export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2719,7 +2721,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (323) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (325) */
export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2728,14 +2730,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (324) */
+ /** @name CumulusPalletXcmpQueueOutboundState (326) */
export interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (326) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (328) */
export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2745,7 +2747,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (328) */
+ /** @name CumulusPalletXcmpQueueError (330) */
export interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2755,7 +2757,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (329) */
+ /** @name PalletXcmError (331) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2773,29 +2775,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (330) */
+ /** @name CumulusPalletXcmError (332) */
export type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (331) */
+ /** @name CumulusPalletDmpQueueConfigData (333) */
export interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (332) */
+ /** @name CumulusPalletDmpQueuePageIndexData (334) */
export interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (335) */
+ /** @name CumulusPalletDmpQueueError (337) */
export interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (339) */
+ /** @name PalletUniqueError (341) */
export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2803,8 +2805,8 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
}
- /** @name PalletUnqSchedulerScheduledV3 (342) */
- export interface PalletUnqSchedulerScheduledV3 extends Struct {
+ /** @name PalletUniqueSchedulerScheduledV3 (344) */
+ export interface PalletUniqueSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<U8aFixed>;
readonly priority: u8;
readonly call: FrameSupportScheduleMaybeHashed;
@@ -2812,7 +2814,7 @@
readonly origin: OpalRuntimeOriginCaller;
}
- /** @name OpalRuntimeOriginCaller (343) */
+ /** @name OpalRuntimeOriginCaller (345) */
export interface OpalRuntimeOriginCaller extends Enum {
readonly isVoid: boolean;
readonly isSystem: boolean;
@@ -2826,7 +2828,7 @@
readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';
}
- /** @name FrameSupportDispatchRawOrigin (344) */
+ /** @name FrameSupportDispatchRawOrigin (346) */
export interface FrameSupportDispatchRawOrigin extends Enum {
readonly isRoot: boolean;
readonly isSigned: boolean;
@@ -2835,7 +2837,7 @@
readonly type: 'Root' | 'Signed' | 'None';
}
- /** @name PalletXcmOrigin (345) */
+ /** @name PalletXcmOrigin (347) */
export interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
@@ -2844,7 +2846,7 @@
readonly type: 'Xcm' | 'Response';
}
- /** @name CumulusPalletXcmOrigin (346) */
+ /** @name CumulusPalletXcmOrigin (348) */
export interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
@@ -2852,18 +2854,18 @@
readonly type: 'Relay' | 'SiblingParachain';
}
- /** @name PalletEthereumRawOrigin (347) */
+ /** @name PalletEthereumRawOrigin (349) */
export interface PalletEthereumRawOrigin extends Enum {
readonly isEthereumTransaction: boolean;
readonly asEthereumTransaction: H160;
readonly type: 'EthereumTransaction';
}
- /** @name SpCoreVoid (348) */
+ /** @name SpCoreVoid (350) */
export type SpCoreVoid = Null;
- /** @name PalletUnqSchedulerError (349) */
- export interface PalletUnqSchedulerError extends Enum {
+ /** @name PalletUniqueSchedulerError (351) */
+ export interface PalletUniqueSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
readonly isTargetBlockNumberInPast: boolean;
@@ -2871,7 +2873,7 @@
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
- /** @name UpDataStructsCollection (350) */
+ /** @name UpDataStructsCollection (352) */
export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2884,7 +2886,7 @@
readonly externalCollection: bool;
}
- /** @name UpDataStructsSponsorshipState (351) */
+ /** @name UpDataStructsSponsorshipState (353) */
export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -2894,42 +2896,42 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (352) */
+ /** @name UpDataStructsProperties (354) */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (353) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (355) */
export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (358) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (360) */
export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (365) */
+ /** @name UpDataStructsCollectionStats (367) */
export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name UpDataStructsTokenChild (366) */
+ /** @name UpDataStructsTokenChild (368) */
export interface UpDataStructsTokenChild extends Struct {
readonly token: u32;
readonly collection: u32;
}
- /** @name PhantomTypeUpDataStructs (367) */
+ /** @name PhantomTypeUpDataStructs (369) */
export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
- /** @name UpDataStructsTokenData (369) */
+ /** @name UpDataStructsTokenData (371) */
export interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
}
- /** @name UpDataStructsRpcCollection (371) */
+ /** @name UpDataStructsRpcCollection (373) */
export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2944,7 +2946,7 @@
readonly readOnly: bool;
}
- /** @name RmrkTraitsCollectionCollectionInfo (372) */
+ /** @name RmrkTraitsCollectionCollectionInfo (374) */
export interface RmrkTraitsCollectionCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -2953,7 +2955,7 @@
readonly nftsCount: u32;
}
- /** @name RmrkTraitsNftNftInfo (373) */
+ /** @name RmrkTraitsNftNftInfo (375) */
export interface RmrkTraitsNftNftInfo extends Struct {
readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
@@ -2962,13 +2964,13 @@
readonly pending: bool;
}
- /** @name RmrkTraitsNftRoyaltyInfo (375) */
+ /** @name RmrkTraitsNftRoyaltyInfo (377) */
export interface RmrkTraitsNftRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name RmrkTraitsResourceResourceInfo (376) */
+ /** @name RmrkTraitsResourceResourceInfo (378) */
export interface RmrkTraitsResourceResourceInfo extends Struct {
readonly id: u32;
readonly resource: RmrkTraitsResourceResourceTypes;
@@ -2976,7 +2978,7 @@
readonly pendingRemoval: bool;
}
- /** @name RmrkTraitsResourceResourceTypes (377) */
+ /** @name RmrkTraitsResourceResourceTypes (379) */
export interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -2987,26 +2989,26 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsPropertyPropertyInfo (378) */
+ /** @name RmrkTraitsPropertyPropertyInfo (380) */
export interface RmrkTraitsPropertyPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name RmrkTraitsBaseBaseInfo (379) */
+ /** @name RmrkTraitsBaseBaseInfo (381) */
export interface RmrkTraitsBaseBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name RmrkTraitsNftNftChild (380) */
+ /** @name RmrkTraitsNftNftChild (382) */
export interface RmrkTraitsNftNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (382) */
+ /** @name PalletCommonError (384) */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
@@ -3032,8 +3034,7 @@
readonly isAddressIsZero: boolean;
readonly isUnsupportedOperation: boolean;
readonly isNotSufficientFounds: boolean;
- readonly isNestingIsDisabled: boolean;
- readonly isOnlyOwnerAllowedToNest: boolean;
+ readonly isUserIsNotAllowedToNest: boolean;
readonly isSourceCollectionIsNotAllowedToNest: boolean;
readonly isCollectionFieldSizeExceeded: boolean;
readonly isNoSpaceForProperty: boolean;
@@ -3043,10 +3044,10 @@
readonly isEmptyPropertyKey: boolean;
readonly isCollectionIsExternal: boolean;
readonly isCollectionIsInternal: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'UserIsNotAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey' | 'CollectionIsExternal' | 'CollectionIsInternal';
}
- /** @name PalletFungibleError (384) */
+ /** @name PalletFungibleError (386) */
export interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -3056,12 +3057,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (385) */
+ /** @name PalletRefungibleItemData (387) */
export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (389) */
+ /** @name PalletRefungibleError (391) */
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -3070,12 +3071,12 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (390) */
+ /** @name PalletNonfungibleItemData (392) */
export interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name PalletNonfungibleError (392) */
+ /** @name PalletNonfungibleError (394) */
export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
@@ -3083,15 +3084,16 @@
readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (393) */
+ /** @name PalletStructureError (395) */
export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
+ readonly isBreadthLimit: boolean;
readonly isTokenNotFound: boolean;
- readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
+ readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (394) */
+ /** @name PalletRmrkCoreError (396) */
export interface PalletRmrkCoreError extends Enum {
readonly isCorruptedCollectionType: boolean;
readonly isNftTypeEncodeError: boolean;
@@ -3112,7 +3114,7 @@
readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';
}
- /** @name PalletRmrkEquipError (396) */
+ /** @name PalletRmrkEquipError (398) */
export interface PalletRmrkEquipError extends Enum {
readonly isPermissionError: boolean;
readonly isNoAvailableBaseId: boolean;
@@ -3122,7 +3124,7 @@
readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
}
- /** @name PalletEvmError (399) */
+ /** @name PalletEvmError (401) */
export interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -3133,7 +3135,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (402) */
+ /** @name FpRpcTransactionStatus (404) */
export interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -3144,10 +3146,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (404) */
+ /** @name EthbloomBloom (406) */
export interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (406) */
+ /** @name EthereumReceiptReceiptV3 (408) */
export interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -3158,7 +3160,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (407) */
+ /** @name EthereumReceiptEip658ReceiptData (409) */
export interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -3166,14 +3168,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (408) */
+ /** @name EthereumBlock (410) */
export interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (409) */
+ /** @name EthereumHeader (411) */
export interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -3192,24 +3194,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (410) */
+ /** @name EthereumTypesHashH64 (412) */
export interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (415) */
+ /** @name PalletEthereumError (417) */
export interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (416) */
+ /** @name PalletEvmCoderSubstrateError (418) */
export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (417) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (419) */
export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -3217,20 +3219,20 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (419) */
+ /** @name PalletEvmContractHelpersError (421) */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (420) */
+ /** @name PalletEvmMigrationError (422) */
export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (422) */
+ /** @name SpRuntimeMultiSignature (424) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -3241,34 +3243,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (423) */
+ /** @name SpCoreEd25519Signature (425) */
export interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (425) */
+ /** @name SpCoreSr25519Signature (427) */
export interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (426) */
+ /** @name SpCoreEcdsaSignature (428) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (429) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (431) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (430) */
+ /** @name FrameSystemExtensionsCheckGenesis (432) */
export type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (433) */
+ /** @name FrameSystemExtensionsCheckNonce (435) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (434) */
+ /** @name FrameSystemExtensionsCheckWeight (436) */
export type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (435) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (437) */
export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (436) */
+ /** @name OpalRuntimeRuntime (438) */
export type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (437) */
+ /** @name PalletEthereumFakeTransactionFinalizer (439) */
export type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/nesting/nest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/nest.test.ts
+++ b/tests/src/nesting/nest.test.ts
@@ -32,7 +32,7 @@
it('Performs the full suite: bundles a token, transfers, and unnests', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token
@@ -62,7 +62,7 @@
it('Transfers an already bundled token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const tokenA = await createItemExpectSuccess(alice, collection, 'NFT');
const tokenB = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -92,7 +92,7 @@
it('Checks token children', async () => {
await usingApi(async api => {
const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: {tokenOwner: true}});
const collectionB = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT');
@@ -151,7 +151,7 @@
it('NFT: allows an Owner to nest/unnest their token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token
@@ -170,7 +170,7 @@
it('NFT: allows an Owner to nest/unnest their token (Restricted nesting)', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[collection]}});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[collection]}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token
@@ -191,7 +191,7 @@
it('Fungible: allows an Owner to nest/unnest their token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -218,7 +218,7 @@
const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted: [collectionFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted: [collectionFT]}});
// Create a nested token
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
@@ -238,7 +238,7 @@
it('ReFungible: allows an Owner to nest/unnest their token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -265,7 +265,7 @@
const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionRFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionRFT]}});
// Create a nested token
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
@@ -292,7 +292,7 @@
it('Disallows excessive token nesting', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const maxNestingLevel = 5;
@@ -326,7 +326,7 @@
it('NFT: disallows to nest token if nesting is disabled', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Disabled'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Try to create a nested token
@@ -334,12 +334,12 @@
collection,
{Ethereum: tokenIdToAddress(collection, targetToken)},
{nft: {const_data: [], variable_data: []}} as any,
- )), 'while creating nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);
+ )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
// Create a token to be nested
const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Try to nest
- await expect(executeTransaction(api, alice, api.tx.unique.transfer({Ethereum: tokenIdToAddress(collection, targetToken)}, collection, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer({Ethereum: tokenIdToAddress(collection, targetToken)}, collection, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
expect(await getTopmostTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});
expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});
});
@@ -348,7 +348,7 @@
it('NFT: disallows a non-Owner to nest someone else\'s token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
await addToAllowListExpectSuccess(alice, collection, bob.address);
await enableAllowListExpectSuccess(alice, collection);
@@ -362,7 +362,7 @@
collection,
{Ethereum: tokenIdToAddress(collection, targetToken)},
{nft: {const_data: [], variable_data: []}} as any,
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -374,7 +374,7 @@
it('NFT: disallows a non-Owner to nest someone else\'s token (Restricted nesting)', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[collection]}});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[collection]}});
await addToAllowListExpectSuccess(alice, collection, bob.address);
await enableAllowListExpectSuccess(alice, collection);
@@ -388,7 +388,7 @@
collection,
{Ethereum: tokenIdToAddress(collection, targetToken)},
{nft: {const_data: [], variable_data: []}} as any,
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -400,7 +400,7 @@
it('NFT: disallows to nest token in an unlisted collection', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[]}});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[]}});
// Create a token to attempt to be nested into
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
@@ -424,7 +424,7 @@
it('Fungible: disallows to nest token if nesting is disabled', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Disabled'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -435,12 +435,12 @@
collectionFT,
targetAddress,
{Fungible: {Value: 10}},
- )), 'while creating nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);
+ )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
// Create a token to be nested
const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
// Try to nest
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Create another token to be nested
const newToken2 = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
@@ -452,7 +452,7 @@
it('Fungible: disallows a non-Owner to nest someone else\'s token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);
await enableAllowListExpectSuccess(alice, collectionNFT);
@@ -469,11 +469,11 @@
collectionFT,
targetAddress,
{Fungible: {Value: 10}},
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
@@ -489,25 +489,25 @@
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionFT]}});
// Try to create a nested token in the wrong collection
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
collectionFT,
targetAddress,
{Fungible: {Value: 10}},
- )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
it('Fungible: disallows to nest token in an unlisted collection', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[]}});
// Create a token to attempt to be nested into
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
@@ -533,7 +533,7 @@
it('ReFungible: disallows to nest token if nesting is disabled', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Disabled'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {}});
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
@@ -544,14 +544,14 @@
collectionRFT,
targetAddress,
{ReFungible: {const_data: [], pieces: 100}},
- )), 'while creating a nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);
+ )), 'while creating a nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
// Create a token to be nested
const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
// Try to nest
await transferExpectFailure(collectionRFT, newToken, alice, targetAddress, 100);
// Try to nest
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Create another token to be nested
const newToken2 = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
@@ -563,7 +563,7 @@
it('ReFungible: disallows a non-Owner to nest someone else\'s token', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);
await enableAllowListExpectSuccess(alice, collectionNFT);
@@ -580,11 +580,11 @@
collectionRFT,
targetAddress,
{ReFungible: {const_data: [], pieces: 100}},
- )), 'while creating a nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
@@ -600,25 +600,25 @@
const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionRFT]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionRFT]}});
// Try to create a nested token in the wrong collection
await expect(executeTransaction(api, alice, api.tx.unique.createItem(
collectionRFT,
targetAddress,
{ReFungible: {const_data: [], pieces: 100}},
- )), 'while creating a nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
// Try to create and nest a token in the wrong collection
const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
- await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);
+ await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
});
});
it('ReFungible: disallows to nest token to an unlisted collection', async () => {
await usingApi(async api => {
const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[]}});
+ await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[]}});
// Create a token to attempt to be nested into
const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
tests/src/nesting/rules-smoke.test.tsdiffbeforeafterboth--- a/tests/src/nesting/rules-smoke.test.ts
+++ b/tests/src/nesting/rules-smoke.test.ts
@@ -14,7 +14,7 @@
const events = await executeTransaction(api, alice, api.tx.unique.createCollectionEx({
mode: 'NFT',
permissions: {
- nesting: {OwnerRestricted: []},
+ nesting: {tokenOwner: true, restricted: []},
},
}));
const collection = getCreateCollectionResult(events).collectionId;
tests/src/nesting/unnest.test.tsdiffbeforeafterboth--- a/tests/src/nesting/unnest.test.ts
+++ b/tests/src/nesting/unnest.test.ts
@@ -27,7 +27,7 @@
it('NFT: allows the owner to successfully unnest a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -56,7 +56,7 @@
it('Fungible: allows the owner to successfully unnest a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -83,7 +83,7 @@
it('ReFungible: allows the owner to successfully unnest a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -118,7 +118,7 @@
it('Disallows a non-owner to unnest/burn a token', async () => {
await usingApi(async api => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
@@ -148,7 +148,7 @@
// Recursive nesting
it('Prevents Ouroboros creation', async () => {
const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
- await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});
+ await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
// Create a nested token ouroboros
tests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth--- a/tests/src/removeCollectionAdmin.test.ts
+++ b/tests/src/removeCollectionAdmin.test.ts
@@ -111,7 +111,7 @@
});
});
- it.only('Admin can\'t remove collection admin.', async () => {
+ it('Admin can\'t remove collection admin.', async () => {
await usingApi(async (api, privateKeyWrapper) => {
const collectionId = await createCollectionExpectSuccess();
const alice = privateKeyWrapper('//Alice');
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -193,7 +193,7 @@
if (method === 'ExtrinsicSuccess') {
success = true;
} else if ((expectSection == section) && (expectMethod == method)) {
- successData = extractAction!(data);
+ successData = extractAction!(data as any);
}
});
@@ -547,7 +547,7 @@
});
}
-export const setCollectionPermissionsExpectSuccess = async (sender: IKeyringPair, collectionId: number, permissions: {mintMode?: boolean, access?: 'Normal' | 'AllowList', nesting?: 'Disabled' | 'Owner' | {OwnerRestricted: number[]}}) => {
+export const setCollectionPermissionsExpectSuccess = async (sender: IKeyringPair, collectionId: number, permissions: any) => {
await usingApi(async(api) => {
const tx = api.tx.unique.setCollectionPermissions(collectionId, permissions);
const events = await submitTransactionAsync(sender, tx);
tests/yarn.lockdiffbeforeafterboth--- a/tests/yarn.lock
+++ b/tests/yarn.lock
@@ -508,78 +508,78 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"
-"@polkadot/api-augment@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.7.2-11.tgz#7f174f830c181d82863eb41f48e24fd6bbde3065"
- integrity sha512-yKsuxjez1ArwSEZJ+g8mausm38CgOtaWBG5ob5cmO9M2v45HBXy3Kmviqr8Dputtu23deT85p7m/8RFLlAnzSA==
+"@polkadot/api-augment@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.7.2-15.tgz#a141d3cd595a39e7e2965330268b5eb92bdd5849"
+ integrity sha512-QGXosX6p0RFYNhWepZCIaRiyCvHnVt5Pb6U7/77UxIszgGRHfHFDsYr4v5bGiaRTOj/E8moc2Ufi/+VgOiG9sw==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api-base" "8.7.2-11"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/api-base" "8.7.2-15"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/api-base@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.7.2-11.tgz#7e297a0ca283a58bc9d8d11c1edb099bc61da9f1"
- integrity sha512-WQE5uvb7W7AKSfy4ekW2i6mJJzZYLMS/eNPNXYpURW/cRPt9NhT9lNz2Ae2d7gaWgWil+jNLecXTHTUzxobRbA==
+"@polkadot/api-base@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.7.2-15.tgz#c909d3bf0fbfb3cc46ca7067199e36e72b959bdb"
+ integrity sha512-HXdtaqbpnfFbOazjI9CPSYM37S4mzhxUs8hLMKrWqpHL//at4tiMa5dRyev9VSKeE6gqeqCT9JTBvEAZ9eNR6Q==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
"@polkadot/util" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/api-contract@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-8.7.2-11.tgz#9487394286e536a7b1edfb6296529722fa63a43a"
- integrity sha512-vOi4FX33ttkotJDzSum0nFUworWJ2+yfDejZkC33mM8zb+ne0Quggfz2nQqiKS2lgkj2z4YwJbsf/9paRQeS3w==
+"@polkadot/api-contract@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-8.7.2-15.tgz#687706fb4bd33c4a88187db3a269292f6e559892"
+ integrity sha512-Pr1Nm5zBpW9foCKm/Q6hIT5KHCeFVE8EFSfHBgjbitYpFOGnz19kduEpa0vxIcfq2WVXcVPTQ2eqjGtHoThNqA==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
+ "@polkadot/api" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/api-derive@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.7.2-11.tgz#21e315d554a8cd31bb1f3b10077960e35391a311"
- integrity sha512-8fkYidDgNjJcWHtiRfJQaI4H386uGZh5Ie0t21KG4sSC5R+Lbnm0CJwIX4scJvQ/U+38gCyQW07b+Pxt9oDwvg==
+"@polkadot/api-derive@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.7.2-15.tgz#b29f24d435c036c9bf5624d18a9d93196cf2c4f4"
+ integrity sha512-0R3M9LFKoQ0d7elIDQjPKuV5EAHTtkU/72Lgxw2GYStsOqcnfFNomfLoLMuk8Xy4ETUAp/Kq1eMJpvsY6hSTtA==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api" "8.7.2-11"
- "@polkadot/api-augment" "8.7.2-11"
- "@polkadot/api-base" "8.7.2-11"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/api" "8.7.2-15"
+ "@polkadot/api-augment" "8.7.2-15"
+ "@polkadot/api-base" "8.7.2-15"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/api@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.7.2-11.tgz#d76ad24f96fc9eba49825c11277105d12bf5e05c"
- integrity sha512-eFQtZOJOVK5IbNSjvrk1JrOZJrtZRjaecMAhnQiglMPoIfQJiRbnXhUslGbXsgFoJsfWW6DAVY5aJi/PjuF9OQ==
+"@polkadot/api@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.7.2-15.tgz#c7ede416e4d277c227fc93fdfdc4d27634935d08"
+ integrity sha512-tzEUWsXIPzPbnpn/3LTGtJ7SXzMgCJ/da5d9q0UH3vsx1gDEjuZEWXOeSYLHgbqQSgwPukvMVuGtRjcC+A/WZQ==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/api-augment" "8.7.2-11"
- "@polkadot/api-base" "8.7.2-11"
- "@polkadot/api-derive" "8.7.2-11"
+ "@polkadot/api-augment" "8.7.2-15"
+ "@polkadot/api-base" "8.7.2-15"
+ "@polkadot/api-derive" "8.7.2-15"
"@polkadot/keyring" "^9.4.1"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/rpc-provider" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
- "@polkadot/types-known" "8.7.2-11"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/rpc-provider" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
+ "@polkadot/types-known" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
eventemitter3 "^4.0.7"
@@ -603,38 +603,38 @@
"@polkadot/util" "9.4.1"
"@substrate/ss58-registry" "^1.22.0"
-"@polkadot/rpc-augment@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.7.2-11.tgz#b118303653fb6f80688c62600fde2ed489e1c974"
- integrity sha512-/h50Kzz/UZwhsV+g7bwGWf0fkVvlWIQ/zaA7H9xtuE4VGvmZRE4Uu06011ToVWNyAwM5xQfXBx1gUznRhem+pg==
+"@polkadot/rpc-augment@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.7.2-15.tgz#6175126968dfb79ba5549b03cac8c3860666e72b"
+ integrity sha512-IgfkR9CHT8jDuGYkb75DBFu+yJNW32+vOt3oS0sf57VqkHketSq9rD3mtZD37V/21Q4a17yrqKQOte7mMl9kcg==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/rpc-core" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/rpc-core" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/rpc-core@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.7.2-11.tgz#9c31a34bc2f70e4dab40f9ba08ca9b89c8f3e5c0"
- integrity sha512-DyHYgzBusMFfsDJ/2VBaVTNHRwZ2cf/woaeJA/ijJbxK2Ke/sg9UW6zr+3Ip8T62GnSNnJoSHMOaMdqvebkNVQ==
+"@polkadot/rpc-core@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.7.2-15.tgz#827a31adf833fb866cb5f39dbd86c5f0b44d63a4"
+ integrity sha512-yGmpESOmGyzY7+D3yUxbKToz/eP/q8vDyOGajLnHn12TcnjgbAfMdc4xdU6cQex+mSsPwS0YQFuPrPXGloCOHA==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/rpc-provider" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/rpc-provider" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
"@polkadot/util" "^9.4.1"
rxjs "^7.5.5"
-"@polkadot/rpc-provider@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.7.2-11.tgz#1f4ef542aee83e0c4e1b2a126ed00ade7c818660"
- integrity sha512-LE5kKEMxL4mZ+dLbU8lOPG2GuPYliYtX1SnXv509zAgUjSCWW9fkdeMBF3tFCjSJJcUmle3mlxG8kYuAqNUScA==
+"@polkadot/rpc-provider@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.7.2-15.tgz#99dd30085284442265225e0f12aef3849b7bfe44"
+ integrity sha512-EwgBnUIpGhEfSanDXVviQQ784HYD3DWUPdv9pIvn9qnCZPk7o+MGPvKW73A+XbQpPV9j8tAGnVsSnbDuoSVp1g==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/keyring" "^9.4.1"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-support" "8.7.2-11"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-support" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
"@polkadot/x-fetch" "^9.4.1"
@@ -652,86 +652,86 @@
dependencies:
"@types/chrome" "^0.0.171"
-"@polkadot/typegen@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-8.7.2-11.tgz#047c3c91f4b34f0188853bed606fd12f6a0fbf4d"
- integrity sha512-YZpyT8LJFm3akFurrxHpRWxZU50yKvrfdgyZpJh+JJOhSIIDtkx58JNj2+lv0QvhUFOUkd4IWap9bbCPmeLf6w==
+"@polkadot/typegen@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-8.7.2-15.tgz#06e9d054db1c63d9862186429a8017b2b80bce2a"
+ integrity sha512-NC8Ticirh20k1Co17D8cqQawIJ8W9HWDuq6oDyEMT4XkeBbZ1hQRO9JBO14neWDJmYJBhlUotP65jgjs8D5bMw==
dependencies:
"@babel/core" "^7.18.2"
"@babel/register" "^7.17.7"
"@babel/runtime" "^7.18.3"
- "@polkadot/api" "8.7.2-11"
- "@polkadot/api-augment" "8.7.2-11"
- "@polkadot/rpc-augment" "8.7.2-11"
- "@polkadot/rpc-provider" "8.7.2-11"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
- "@polkadot/types-support" "8.7.2-11"
+ "@polkadot/api" "8.7.2-15"
+ "@polkadot/api-augment" "8.7.2-15"
+ "@polkadot/rpc-augment" "8.7.2-15"
+ "@polkadot/rpc-provider" "8.7.2-15"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
+ "@polkadot/types-support" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/x-ws" "^9.4.1"
handlebars "^4.7.7"
websocket "^1.0.34"
yargs "^17.5.1"
-"@polkadot/types-augment@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.7.2-11.tgz#c63105c76f8d85f7e642f8e81e16c3ffc3b3e7c4"
- integrity sha512-1meIbpS0Synfdz+Jo90jc/utxwbwl9XQiH5WoFCUYLlbtE/H/yQcIoeme5o6gr/q7BalFQMYYwGBfctGT/KGjA==
+"@polkadot/types-augment@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.7.2-15.tgz#7ab077a1a31190ad17183196efb1da065c0d0bcd"
+ integrity sha512-th1jVBDqpyQVB2gCNzo/HV0dIeNinjyPla01BFdhQ5mDKYXJ8fugsLCk5oKUPpItBrj+5NWCgynVvCwm0YJw3g==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-codec@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.7.2-11.tgz#a852d3493062ee1052f7a837d07cce4146f2c67e"
- integrity sha512-ZvRBiVo5IwZ+vcbKIMv6l0kRG2bVpBmU+pCPdWV9zGtKpgumz1FTvxBmjXoNo6OJVX23fKNMF8qBD/DEiC9ZwA==
+"@polkadot/types-codec@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.7.2-15.tgz#6afa4ff45dc7afb9250f283f70a40be641367941"
+ integrity sha512-k8t7/Ern7sY4ZKQc5cYY3h1bg7/GAEaTPmKz094DhPJmEhi3NNgeJ4uyeB/JYCo5GbxXQG6W2M021s582urjMw==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-create@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.7.2-11.tgz#2489409155d55c941a322349d740e9f8f8325147"
- integrity sha512-489UaZP7JKfZ2Fn0oDQ32setAiV7vv9Q3Kg4a+j4m2TGEEXAVeiNE4Uvijmsw3ayLTtzO9hL0WtMpFWa8GlIMg==
+"@polkadot/types-create@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.7.2-15.tgz#106a11eb71dc2743b140d8640a3b3e7fc5ccf10e"
+ integrity sha512-xB9jAJ3XQh/U05b+X77m5TPh4N9oBwwpePkAmLhovTSOSeobj7qeUKrZqccs0BSxJnJPlLwrwuusjeTtTfZCHw==
dependencies:
"@babel/runtime" "^7.18.3"
- "@polkadot/types-codec" "8.7.2-11"
+ "@polkadot/types-codec" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-known@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.7.2-11.tgz#89cb0cdea197ed3887b30948a560b0cd13b39c23"
- integrity sha512-ulPQCmwJTJ/MGJGVJZfjWEGq28HGl7D4sOrigbfLOlo6/KyFl2p5H4GUFeF/s+/lGfUQsxfu4Q6QgXDZAOkB1A==
+"@polkadot/types-known@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.7.2-15.tgz#171b8d3963a5c38d46f98a7c14be59033f9a4da8"
+ integrity sha512-c5YuuauPCu70chDnV7Fphh7SbAQl8JWj+PoY37I5BACCNFxtUx5KnP93BChiD0QxcHs2QqD6RdjW6O7cVRUKfA==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/networks" "^9.4.1"
- "@polkadot/types" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
+ "@polkadot/types" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
"@polkadot/util" "^9.4.1"
-"@polkadot/types-support@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.7.2-11.tgz#ed08331ba1faf7a803e35aafa0692eefd28baa90"
- integrity sha512-oflUi0eahFMoS3Sxz6EKjZKNl7GMRnd91kClEV0FzR1wEha+3CL1BCXTGV3n8YoJtfztUUNInVHPQTvMW78WvQ==
+"@polkadot/types-support@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.7.2-15.tgz#2d726e3d5615383ca97db3f32ee21e2aad077fcb"
+ integrity sha512-Tl6xm9r/uqrKQK1OUdi5X9MaTgplBYPj3tY9677ZPV7QGYWt0Uz912u9fC2v0PGNReDXtzvrlgvk0aoErwzF5Q==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/util" "^9.4.1"
-"@polkadot/types@8.7.2-11":
- version "8.7.2-11"
- resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.7.2-11.tgz#84b1dca2896fec4af23d4096fa810b59f44071ac"
- integrity sha512-PSreCXr/csWpMVqtByEj7Pk5j+JEqxOiipsP+PdtOJaRnWtBMFpMqs7Fj2uULVYqFJKKPyp+JofnRDRcH1YDYg==
+"@polkadot/types@8.7.2-15":
+ version "8.7.2-15"
+ resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.7.2-15.tgz#5b25b6b76c916637a1d15133b5880a73079e65bc"
+ integrity sha512-KfJKzk6/Ta8vZVJH8+xYYPvd9SD+4fdl4coGgKuPGYZFsjDGnYvAX4ls6/WKby51JK5s24sqaUP3vZisIgh4wA==
dependencies:
"@babel/runtime" "^7.18.3"
"@polkadot/keyring" "^9.4.1"
- "@polkadot/types-augment" "8.7.2-11"
- "@polkadot/types-codec" "8.7.2-11"
- "@polkadot/types-create" "8.7.2-11"
+ "@polkadot/types-augment" "8.7.2-15"
+ "@polkadot/types-codec" "8.7.2-15"
+ "@polkadot/types-create" "8.7.2-15"
"@polkadot/util" "^9.4.1"
"@polkadot/util-crypto" "^9.4.1"
rxjs "^7.5.5"