git.delta.rocks / unique-network / refs/commits / f2ed65d6da99

difftreelog

Merge branch 'develop' into feature/CORE-386_1

Trubnikov Sergey2022-06-10parents: #275d4ae #3151280.patch.diff
in: master

37 files changed

modifiedCargo.lockdiffbeforeafterboth
5356 "pallet-transaction-payment-rpc-runtime-api",5356 "pallet-transaction-payment-rpc-runtime-api",
5357 "pallet-treasury",5357 "pallet-treasury",
5358 "pallet-unique",5358 "pallet-unique",
5359 "pallet-unq-scheduler",5359 "pallet-unique-scheduler",
5360 "pallet-xcm",5360 "pallet-xcm",
5361 "parachain-info",5361 "parachain-info",
5362 "parity-scale-codec 3.1.2",5362 "parity-scale-codec 3.1.2",
6646]6646]
66476647
6648[[package]]6648[[package]]
6649name = "pallet-unq-scheduler"6649name = "pallet-unique-scheduler"
6650version = "0.1.0"6650version = "0.1.0"
6651dependencies = [6651dependencies = [
6652 "frame-benchmarking",6652 "frame-benchmarking",
8590 "pallet-transaction-payment-rpc-runtime-api",8590 "pallet-transaction-payment-rpc-runtime-api",
8591 "pallet-treasury",8591 "pallet-treasury",
8592 "pallet-unique",8592 "pallet-unique",
8593 "pallet-unq-scheduler",8593 "pallet-unique-scheduler",
8594 "pallet-xcm",8594 "pallet-xcm",
8595 "parachain-info",8595 "parachain-info",
8596 "parity-scale-codec 3.1.2",8596 "parity-scale-codec 3.1.2",
12643 "pallet-transaction-payment-rpc-runtime-api",12643 "pallet-transaction-payment-rpc-runtime-api",
12644 "pallet-treasury",12644 "pallet-treasury",
12645 "pallet-unique",12645 "pallet-unique",
12646 "pallet-unq-scheduler",12646 "pallet-unique-scheduler",
12647 "pallet-xcm",12647 "pallet-xcm",
12648 "parachain-info",12648 "parachain-info",
12649 "parity-scale-codec 3.1.2",12649 "parity-scale-codec 3.1.2",
12688 "pallet-nonfungible",12688 "pallet-nonfungible",
12689 "pallet-refungible",12689 "pallet-refungible",
12690 "pallet-unique",12690 "pallet-unique",
12691 "pallet-unique-scheduler",
12691 "parity-scale-codec 3.1.2",12692 "parity-scale-codec 3.1.2",
12692 "rmrk-rpc",12693 "rmrk-rpc",
12693 "scale-info",12694 "scale-info",
modifiedMakefilediffbeforeafterboth
65 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \65 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
66 --output=./pallets/$(PALLET)/src/weights.rs66 --output=./pallets/$(PALLET)/src/weights.rs
67
68.PHONY: _bench2
69_bench2:
70 cargo run --release --features runtime-benchmarks,unique-runtime -- \
71 benchmark pallet --pallet pallet-$(PALLET) \
72 --wasm-execution compiled --extrinsic '*' \
73 --template .maintain/frame-weight-template.hbs --steps=50 --repeat=200 --heap-pages=4096 \
74 --output=./pallets/$(PALLET_DIR)/src/weights.rs
6775
68.PHONY: bench-evm-migration76.PHONY: bench-evm-migration
69bench-evm-migration:77bench-evm-migration:
93bench-structure:101bench-structure:
94 make _bench PALLET=structure102 make _bench PALLET=structure
103
104.PHONY: bench-scheduler
105bench-scheduler:
106 make _bench2 PALLET=unique-scheduler PALLET_DIR=scheduler
95107
96.PHONY: bench-rmrk-core108.PHONY: bench-rmrk-core
97bench-rmrk-core:109bench-rmrk-core:
98 make _bench PALLET=proxy-rmrk-core110 make _bench PALLET=proxy-rmrk-core
99111
100.PHONY: bench112.PHONY: bench
101bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-rmrk-core113bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core
102114
modifiedpallets/common/src/benchmarking.rsdiffbeforeafterboth
20use frame_benchmarking::{benchmarks, account};20use frame_benchmarking::{benchmarks, account};
21use up_data_structs::{21use up_data_structs::{
22 CollectionMode, CreateCollectionData, CollectionId, Property, PropertyKey, PropertyValue,22 CollectionMode, CreateCollectionData, CollectionId, Property, PropertyKey, PropertyValue,
23 CollectionPermissions, NestingRule, MAX_COLLECTION_NAME_LENGTH,23 CollectionPermissions, NestingPermissions, MAX_COLLECTION_NAME_LENGTH,
24 MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH, MAX_PROPERTIES_PER_ITEM,24 MAX_COLLECTION_DESCRIPTION_LENGTH, MAX_TOKEN_PREFIX_LENGTH, MAX_PROPERTIES_PER_ITEM,
25};25};
26use frame_support::{26use frame_support::{
94 description,94 description,
95 token_prefix,95 token_prefix,
96 permissions: Some(CollectionPermissions {96 permissions: Some(CollectionPermissions {
97 nesting: Some(NestingRule::Permissive),97 nesting: Some(NestingPermissions {
98 token_owner: false,
99 admin: false,
100 restricted: None,
101 permissive: true,
102 }),
98 ..Default::default()103 ..Default::default()
99 }),104 }),
100 ..Default::default()105 ..Default::default()
modifiedpallets/common/src/erc.rsdiffbeforeafterboth
23use pallet_evm_coder_substrate::dispatch_to_evm;23use pallet_evm_coder_substrate::dispatch_to_evm;
24use sp_std::vec::Vec;24use sp_std::vec::Vec;
25use up_data_structs::{25use up_data_structs::{Property, SponsoringRateLimit, OwnerRestrictedSet, AccessMode, CollectionPermissions};
26 Property, SponsoringRateLimit, NestingRule, OwnerRestrictedSet, AccessMode,
27 CollectionPermissions,
28};
29use alloc::format;26use alloc::format;
3027
220 fn set_nesting_bool(&mut self, caller: caller, enable: bool) -> Result<void> {217 fn set_nesting_bool(&mut self, caller: caller, enable: bool) -> Result<void> {
221 check_is_owner_or_admin(caller, self)?;218 check_is_owner_or_admin(caller, self)?;
219
222 let permissions = CollectionPermissions {220 let mut permissions = self.collection.permissions.clone();
223 nesting: Some(match enable {221 let mut nesting = permissions.nesting().clone();
224 false => NestingRule::Disabled,222 nesting.token_owner = enable;
225 true => NestingRule::Owner,223 nesting.restricted = None;
226 }),224 permissions.nesting = Some(nesting);
227 ..Default::default()225
228 };
229 self.collection.permissions = <Pallet<T>>::clamp_permissions(226 self.collection.permissions = <Pallet<T>>::clamp_permissions(
230 self.collection.mode.clone(),227 self.collection.mode.clone(),
231 &self.collection.permissions,228 &self.collection.permissions,
246 if collections.is_empty() {243 if collections.is_empty() {
247 return Err("no addresses provided".into());244 return Err("no addresses provided".into());
248 }245 }
249 if collections.len() >= OwnerRestrictedSet::bound() {
250 return Err(Error::Revert(format!(
251 "out of bound: {} >= {}",
252 collections.len(),
253 OwnerRestrictedSet::bound()
254 )));
255 }
256 check_is_owner_or_admin(caller, self)?;246 check_is_owner_or_admin(caller, self)?;
257 let permissions = CollectionPermissions {247
248 let mut permissions = self.collection.permissions.clone();
258 nesting: Some(match enable {249 match enable {
259 false => NestingRule::Disabled,250 false => {
251 let mut nesting = permissions.nesting().clone();
252 nesting.token_owner = false;
253 nesting.restricted = None;
254 permissions.nesting = Some(nesting);
255 }
260 true => {256 true => {
261 let mut bv = OwnerRestrictedSet::new();257 let mut bv = OwnerRestrictedSet::new();
262 for i in collections {258 for i in collections {
263 bv.try_insert(crate::eth::map_eth_to_id(&i).ok_or_else(|| {259 bv.try_insert(crate::eth::map_eth_to_id(&i).ok_or(Error::Revert(
264 Error::Revert("can't convert address into collection id".into())260 "Can't convert address into collection id".into(),
265 })?)261 ))?)
266 .map_err(|e| Error::Revert(format!("{:?}", e)))?;262 .map_err(|_| "too many collections")?;
267 }263 }
264 let mut nesting = permissions.nesting().clone();
265 nesting.token_owner = true;
268 NestingRule::OwnerRestricted(bv)266 nesting.restricted = Some(bv);
267 permissions.nesting = Some(nesting);
269 }268 }
270 }),269 };
271 ..Default::default()270
272 };
273 self.collection.permissions = <Pallet<T>>::clamp_permissions(271 self.collection.permissions = <Pallet<T>>::clamp_permissions(
274 self.collection.mode.clone(),272 self.collection.mode.clone(),
275 &self.collection.permissions,273 &self.collection.permissions,
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
430 /// Not sufficient funds to perform action430 /// Not sufficient funds to perform action
431 NotSufficientFounds,431 NotSufficientFounds,
432432
433 /// Collection has nesting disabled433 /// User not passed nesting rule
434 NestingIsDisabled,434 UserIsNotAllowedToNest,
435 /// Only owner may nest tokens under this collection
436 OnlyOwnerAllowedToNest,
437 /// Only tokens from specific collections may nest tokens under this435 /// Only tokens from specific collections may nest tokens under this
438 SourceCollectionIsNotAllowedToNest,436 SourceCollectionIsNotAllowedToNest,
439437
1212 limit_default_clone!(old_limit, new_limit,1210 limit_default_clone!(old_limit, new_limit,
1213 access => {},1211 access => {},
1214 mint_mode => {},1212 mint_mode => {},
1215 nesting => {},1213 nesting => ensure!(
1214 // Permissive is only allowed for tests and internal usage of chain for now
1215 old_limit.permissive || !new_limit.permissive,
1216 <Error<T>>::NoPermission,
1217 ),
1216 );1218 );
1217 Ok(new_limit)1219 Ok(new_limit)
1218 }1220 }
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
27};27};
28use up_data_structs::{28use up_data_structs::{
29 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,29 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,
30 mapping::TokenAddressMapping, NestingRule, budget::Budget, Property, PropertyPermission,30 mapping::TokenAddressMapping, budget::Budget, Property, PropertyPermission, PropertyKey,
31 PropertyKey, PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,31 PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,
32};32};
33use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};33use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
996 under: TokenId,996 under: TokenId,
997 nesting_budget: &dyn Budget,997 nesting_budget: &dyn Budget,
998 ) -> DispatchResult {998 ) -> DispatchResult {
999 fn ensure_sender_allowed<T: Config>(
1000 collection: CollectionId,
1001 token: TokenId,
1002 for_nest: (CollectionId, TokenId),
1003 sender: T::CrossAccountId,
1004 budget: &dyn Budget,
1005 ) -> DispatchResult {
1006 ensure!(
1007 <PalletStructure<T>>::check_indirectly_owned(
1008 sender,
1009 collection,
1010 token,
1011 Some(for_nest),
1012 budget
1013 )?,
1014 <CommonError<T>>::OnlyOwnerAllowedToNest,
1015 );
1016 Ok(())
1017 }
1018 match handle.permissions.nesting() {999 let nesting = handle.permissions.nesting();
1019 NestingRule::Disabled => fail!(<CommonError<T>>::NestingIsDisabled),1000 if nesting.permissive {
1020 NestingRule::Owner => {1001 // Pass
1002 } else if nesting.token_owner
1021 ensure_sender_allowed::<T>(handle.id, under, from, sender, nesting_budget)?1003 && <PalletStructure<T>>::check_indirectly_owned(
1022 }1004 sender.clone(),
1005 handle.id,
1006 under,
1007 Some(from),
1008 nesting_budget,
1009 )? {
1010 // Pass
1011 } else if nesting.admin && handle.is_owner_or_admin(&sender) {
1012 // Pass
1013 } else {
1014 fail!(<CommonError<T>>::UserIsNotAllowedToNest);
1015 }
1016
1023 NestingRule::OwnerRestricted(whitelist) => {1017 if let Some(whitelist) = &nesting.restricted {
1024 ensure!(1018 ensure!(
1025 whitelist.contains(&from.0),1019 whitelist.contains(&from.0),
1026 <CommonError<T>>::SourceCollectionIsNotAllowedToNest1020 <CommonError<T>>::SourceCollectionIsNotAllowedToNest
1027 );1021 );
1028 ensure_sender_allowed::<T>(handle.id, under, from, sender, nesting_budget)?
1029 }1022 }
1030 NestingRule::Permissive => {}
1031 }
1032 Ok(())1023 Ok(())
1033 }1024 }
10341025
modifiedpallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth
200 .try_into()200 .try_into()
201 .map_err(|_| <CommonError<T>>::CollectionTokenPrefixLimitExceeded)?,201 .map_err(|_| <CommonError<T>>::CollectionTokenPrefixLimitExceeded)?,
202 permissions: Some(CollectionPermissions {202 permissions: Some(CollectionPermissions {
203 nesting: Some(NestingRule::Owner),203 nesting: Some(NestingPermissions {
204 token_owner: true,
205 admin: false,
206 restricted: None,
207
208 permissive: false,
209 }),
204 ..Default::default()210 ..Default::default()
205 }),211 }),
206 ..Default::default()212 ..Default::default()
600 &budget,606 &budget,
601 )607 )
602 .map_err(|err| {608 .map_err(|err| {
603 if err == <CommonError<T>>::OnlyOwnerAllowedToNest.into() {609 if err == <CommonError<T>>::UserIsNotAllowedToNest.into() {
604 <Error<T>>::CannotAcceptNonOwnedNft.into()610 <Error<T>>::CannotAcceptNonOwnedNft.into()
605 } else {611 } else {
606 Self::map_unique_err_to_proxy(err)612 Self::map_unique_err_to_proxy(err)
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
1[package]1[package]
2name = "pallet-unq-scheduler"2name = "pallet-unique-scheduler"
3version = "0.1.0"3version = "0.1.0"
4authors = ["Unique Network <support@uniquenetwork.io>"]4authors = ["Unique Network <support@uniquenetwork.io>"]
5edition = "2021"5edition = "2021"
modifiedpallets/scheduler/src/benchmarking.rsdiffbeforeafterboth
3434
35//! Scheduler pallet benchmarking.35//! Scheduler pallet benchmarking.
36
37#![cfg(feature = "runtime-benchmarks")]
3836
39use super::*;37use super::*;
38use frame_benchmarking::{benchmarks, account};
40use sp_std::{vec, prelude::*};39use frame_support::{
40 ensure,
41 traits::{OnInitialize},
42};
41use frame_system::RawOrigin;43use frame_system::RawOrigin;
42use frame_support::{ensure, traits::OnInitialize};44use sp_runtime::traits::Hash;
43use frame_benchmarking::{benchmarks, impl_benchmark_test_suite};45use sp_std::{prelude::*, vec};
4446
45use crate::Module as Scheduler;47use crate::Pallet as Scheduler;
46use frame_system::Pallet as System;48use frame_system::Pallet as System;
49use frame_support::traits::Currency;
4750
48const BLOCK_NUMBER: u32 = 2;51const BLOCK_NUMBER: u32 = 2;
4952
50// Add `n` named items to the schedule53/// Add `n` named items to the schedule.
54///
55/// For `resolved`:
56/// - `None`: aborted (hash without preimage)
57/// - `Some(true)`: hash resolves into call if possible, plain call otherwise
58/// - `Some(false)`: plain call
51fn fill_schedule<T: Config>(when: T::BlockNumber, n: u32) -> Result<(), &'static str> {59fn fill_schedule<T: Config>(
52 // Essentially a no-op call.60 when: T::BlockNumber,
61 n: u32,
62 periodic: bool,
63 resolved: Option<bool>,
64) -> Result<(), &'static str> {
65 let t = DispatchTime::At(when);
66 let caller = account("user", 0, 1);
67
68 // Give the sender account max funds for transfer (their account will never reasonably be killed).
53 let call = frame_system::Call::set_storage { items: vec![] };69 T::Currency::make_free_balance_be(&caller, T::Currency::minimum_balance());
70
54 for i in 0..n {71 for i in 0..n {
55 // Named schedule is strictly heavier than anonymous72 let (call, hash) = call_and_hash::<T>(i);
56 Scheduler::<T>::do_schedule_named(73 let call_or_hash = match resolved {
57 i.encode(),74 Some(_) => call.into(),
58 DispatchTime::At(when),75 None => CallOrHashOf::<T>::Hash(hash),
59 // Add periodicity76 };
77 let period = match periodic {
78 true => Some(((i + 100).into(), 100)),
79 false => None,
80 };
81
82 let slice_id: [u8; 4] = i.encode().try_into().unwrap();
83 let mut id: [u8; 16] = [0; 16];
60 Some((T::BlockNumber::one(), 100)),84 id[..4].clone_from_slice(&slice_id);
61 // HARD_DEADLINE priority means it gets executed no matter what85
62 0,
63 frame_system::RawOrigin::Root.into(),86 let origin = frame_system::RawOrigin::Signed(caller.clone()).into();
64 call.clone().into(),87 Scheduler::<T>::do_schedule_named(id, t, period, 0, origin, call_or_hash)?;
65 )?;
66 }88 }
67 ensure!(89 ensure!(
68 Agenda::<T>::get(when).len() == n as usize,90 Agenda::<T>::get(when).len() == n as usize,
71 Ok(())93 Ok(())
72}94}
95
96fn call_and_hash<T: Config>(i: u32) -> (<T as Config>::Call, T::Hash) {
97 // Essentially a no-op call.
98 let call: <T as Config>::Call = frame_system::Call::remark { remark: i.encode() }.into();
99 let hash = T::Hashing::hash_of(&call);
100 (call, hash)
101}
73102
74benchmarks! {103benchmarks! {
75 schedule {104 on_initialize_periodic_named_resolved {
76 let s in 0 .. T::MaxScheduledPerBlock::get();105 let s in 1 .. T::MaxScheduledPerBlock::get();
77 let when = BLOCK_NUMBER.into();106 let when = BLOCK_NUMBER.into();
78 let periodic = Some((T::BlockNumber::one(), 100));107 fill_schedule::<T>(when, s, true, Some(true))?;
108 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
109 verify {
110 assert_eq!(System::<T>::event_count(), s);
111 for i in 0..s {
112 assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
113 }
114 }
115
116 on_initialize_named_resolved {
79 let priority = 0;117 let s in 1 .. T::MaxScheduledPerBlock::get();
80 // Essentially a no-op call.
81 let call = Box::new(frame_system::Call::set_storage { items: vec![] }.into());118 let when = BLOCK_NUMBER.into();
82119 fill_schedule::<T>(when, s, false, Some(true))?;
120 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
121 verify {
122 assert_eq!(System::<T>::event_count(), s);
123 assert!(Agenda::<T>::iter().count() == 0);
124 }
125
126 on_initialize_periodic {
127 let s in 1 .. T::MaxScheduledPerBlock::get();
128 let when = BLOCK_NUMBER.into();
83 fill_schedule::<T>(when, s)?;129 fill_schedule::<T>(when, s, true, Some(false))?;
84 }: _(RawOrigin::Root, when, periodic, priority, call)130 }: { Scheduler::<T>::on_initialize(when); }
85 verify {131 verify {
86 ensure!(132 assert_eq!(System::<T>::event_count(), s);
133 for i in 0..s {
87 Agenda::<T>::get(when).len() == (s + 1) as usize,134 assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
88 "didn't add to schedule"135 }
89 );
90 }136 }
91137
92 cancel {138 on_initialize_periodic_resolved {
93 let s in 1 .. T::MaxScheduledPerBlock::get();139 let s in 1 .. T::MaxScheduledPerBlock::get();
94 let when = BLOCK_NUMBER.into();140 let when = BLOCK_NUMBER.into();
95
96 fill_schedule::<T>(when, s)?;141 fill_schedule::<T>(when, s, true, Some(true))?;
142 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
143 verify {
97 assert_eq!(Agenda::<T>::get(when).len(), s as usize);144 assert_eq!(System::<T>::event_count(), s );
145 for i in 0..s {
146 assert_eq!(Agenda::<T>::get(when + (i + 100).into()).len(), 1 as usize);
147 }
148 }
149
150 on_initialize_aborted {
151 let s in 1 .. T::MaxScheduledPerBlock::get();
152 let when = BLOCK_NUMBER.into();
153 fill_schedule::<T>(when, s, false, None)?;
98 }: _(RawOrigin::Root, when, 0)154 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
155 verify {
156 assert_eq!(System::<T>::event_count(), 0);
157 }
158
159 on_initialize_named_aborted {
160 let s in 1 .. T::MaxScheduledPerBlock::get();
161 let when = BLOCK_NUMBER.into();
162 fill_schedule::<T>(when, s, false, Some(false))?;
163 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
99 verify {164 verify {
165 }
166
167 on_initialize_named {
168 let s in 1 .. T::MaxScheduledPerBlock::get();
169 let when = BLOCK_NUMBER.into();
170 fill_schedule::<T>(when, s, false, None)?;
171 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
172 verify {
100 ensure!(173 assert_eq!(System::<T>::event_count(), 0);
174 }
175
176 on_initialize {
101 Lookup::<T>::get(0.encode()).is_none(),177 let s in 1 .. T::MaxScheduledPerBlock::get();
102 "didn't remove from lookup"178 let when = BLOCK_NUMBER.into();
179 fill_schedule::<T>(when, s, false, Some(false))?;
180 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
181 verify {
103 );182 assert_eq!(System::<T>::event_count(), s);
104 // Removed schedule is NONE
105 ensure!(183 assert!(Agenda::<T>::iter().count() == 0);
184 }
185
186 on_initialize_resolved {
106 Agenda::<T>::get(when)[0].is_none(),187 let s in 1 .. T::MaxScheduledPerBlock::get();
107 "didn't remove from schedule"188 let when = BLOCK_NUMBER.into();
189 fill_schedule::<T>(when, s, false, Some(true))?;
190 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }
191 verify {
108 );192 assert_eq!(System::<T>::event_count(), s);
109 }193 assert!(Agenda::<T>::iter().count() == 0);
194 }
110195
111 schedule_named {196 schedule_named {
197 let caller: T::AccountId = account("user", 0, 1);
198 let origin: RawOrigin<T::AccountId> = frame_system::RawOrigin::Signed(caller.clone());
112 let s in 0 .. T::MaxScheduledPerBlock::get();199 let s in 0 .. T::MaxScheduledPerBlock::get();
113 let id = s.encode();200 let slice_id: [u8; 4] = s.encode().try_into().unwrap();
201 let mut id: [u8; 16] = [0; 16];
202 id[..4].clone_from_slice(&slice_id);
114 let when = BLOCK_NUMBER.into();203 let when = BLOCK_NUMBER.into();
115 let periodic = Some((T::BlockNumber::one(), 100));204 let periodic = Some((T::BlockNumber::one(), 100));
116 let priority = 0;205 let priority = 0;
117 // Essentially a no-op call.206 // Essentially a no-op call.
118 let call = Box::new(frame_system::Call::set_storage { items: vec![] }.into());207 let inner_call = frame_system::Call::set_storage { items: vec![] }.into();
119208 let call = Box::new(CallOrHashOf::<T>::Value(inner_call));
120 fill_schedule::<T>(when, s)?;209 fill_schedule::<T>(when, s, true, Some(false))?;
121 }: _(RawOrigin::Root, id, when, periodic, priority, call)210 }: _(origin, id, when, periodic, priority, call)
122 verify {211 verify {
123 ensure!(212 ensure!(
124 Agenda::<T>::get(when).len() == (s + 1) as usize,213 Agenda::<T>::get(when).len() == (s + 1) as usize,
127 }216 }
128217
129 cancel_named {218 cancel_named {
219 let caller: T::AccountId = account("user", 0, 1);
220 let origin: RawOrigin<T::AccountId> = frame_system::RawOrigin::Signed(caller.clone());
130 let s in 1 .. T::MaxScheduledPerBlock::get();221 let s in 1 .. T::MaxScheduledPerBlock::get();
131 let when = BLOCK_NUMBER.into();222 let when = BLOCK_NUMBER.into();
132223 let id = 0.encode().try_into().unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
133 fill_schedule::<T>(when, s)?;224 fill_schedule::<T>(when, s, true, Some(false))?;
134 }: _(RawOrigin::Root, 0.encode())225 }: _(origin, id)
135 verify {226 verify {
136 ensure!(227 ensure!(
137 Lookup::<T>::get(0.encode()).is_none(),228 Lookup::<T>::get(id).is_none(),
138 "didn't remove from lookup"229 "didn't remove from lookup"
139 );230 );
140 // Removed schedule is NONE231 // Removed schedule is NONE
144 );235 );
145 }236 }
146237
147 // TODO [#7141]: Make this more complex and flexible so it can be used in automation.
148 #[extra]
149 on_initialize {
150 let s in 0 .. T::MaxScheduledPerBlock::get();
151 let when = BLOCK_NUMBER.into();
152 fill_schedule::<T>(when, s)?;
153 }: { Scheduler::<T>::on_initialize(BLOCK_NUMBER.into()); }238 impl_benchmark_test_suite!(Scheduler, crate::mock::new_test_ext(), crate::mock::Test);
154 verify {
155 assert_eq!(System::<T>::event_count(), s);
156 // Next block should have all the schedules again
157 ensure!(
158 Agenda::<T>::get(when + T::BlockNumber::one()).len() == s as usize,
159 "didn't append schedule"
160 );
161 }
162}239}
163
164impl_benchmark_test_suite!(Scheduler, crate::tests::new_test_ext(), crate::tests::Test,);
165240
modifiedpallets/scheduler/src/lib.rsdiffbeforeafterboth
60// Ensure we're `no_std` when compiling for Wasm.60// Ensure we're `no_std` when compiling for Wasm.
61#![cfg_attr(not(feature = "std"), no_std)]61#![cfg_attr(not(feature = "std"), no_std)]
6262
63// FIXME
64// #[cfg(feature = "runtime-benchmarks")]63#[cfg(feature = "runtime-benchmarks")]
65// mod benchmarking;64mod benchmarking;
6665
67pub mod weights;66pub mod weights;
6867
159 Self::on_initialize_periodic(2) - Self::on_initialize_periodic(1)158 Self::on_initialize_periodic(2) - Self::on_initialize_periodic(1)
160 }159 }
161 (true, true, Some(false)) => {160 (true, true, Some(false)) => {
162 Self::on_initialize_periodic_named(2) - Self::on_initialize_periodic_named(1)161 Self::on_initialize_periodic_named_resolved(2)
162 - Self::on_initialize_periodic_named_resolved(1)
163 }163 }
164 (false, false, Some(true)) => {164 (false, false, Some(true)) => Self::on_initialize(2) - Self::on_initialize(1),
165 Self::on_initialize_resolved(2) - Self::on_initialize_resolved(1)
166 }
167 (false, true, Some(true)) => {165 (false, true, Some(true)) => {
168 Self::on_initialize_named_resolved(2) - Self::on_initialize_named_resolved(1)166 Self::on_initialize_named_resolved(2) - Self::on_initialize_named_resolved(1)
169 }167 }
610 Ok(when)608 Ok(when)
611 }609 }
612610
613 fn do_schedule(
614 when: DispatchTime<T::BlockNumber>,
615 maybe_periodic: Option<schedule::Period<T::BlockNumber>>,
616 priority: schedule::Priority,
617 origin: T::PalletsOrigin,
618 call: CallOrHashOf<T>,
619 ) -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
620 let when = Self::resolve_time(when)?;
621 call.ensure_requested::<T::PreimageProvider>();
622
623 // sanitize maybe_periodic
624 let maybe_periodic = maybe_periodic
625 .filter(|p| p.1 > 1 && !p.0.is_zero())
626 // Remove one from the number of repetitions since we will schedule one now.
627 .map(|(p, c)| (p, c - 1));
628 let s = Some(Scheduled {
629 maybe_id: None,
630 priority,
631 call,
632 maybe_periodic,
633 origin,
634 _phantom: PhantomData::<T::AccountId>::default(),
635 });
636 Agenda::<T>::append(when, s);
637 let index = Agenda::<T>::decode_len(when).unwrap_or(1) as u32 - 1;
638 Self::deposit_event(Event::Scheduled { when, index });
639
640 Ok((when, index))
641 }
642
643 fn do_cancel(
644 origin: Option<T::PalletsOrigin>,
645 (when, index): TaskAddress<T::BlockNumber>,
646 ) -> Result<(), DispatchError> {
647 let scheduled = Agenda::<T>::try_mutate(when, |agenda| {
648 agenda.get_mut(index as usize).map_or(
649 Ok(None),
650 |s| -> Result<Option<Scheduled<_, _, _, _>>, DispatchError> {
651 if let (Some(ref o), Some(ref s)) = (origin, s.borrow()) {
652 if matches!(
653 T::OriginPrivilegeCmp::cmp_privilege(o, &s.origin),
654 Some(Ordering::Less) | None
655 ) {
656 return Err(BadOrigin.into());
657 }
658 };
659 Ok(s.take())
660 },
661 )
662 })?;
663 if let Some(s) = scheduled {
664 s.call.ensure_unrequested::<T::PreimageProvider>();
665 if let Some(id) = s.maybe_id {
666 Lookup::<T>::remove(id);
667 }
668 Self::deposit_event(Event::Canceled { when, index });
669 Ok(())
670 } else {
671 Err(Error::<T>::NotFound)?
672 }
673 }
674
675 fn do_reschedule(
676 (when, index): TaskAddress<T::BlockNumber>,
677 new_time: DispatchTime<T::BlockNumber>,
678 ) -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
679 let new_time = Self::resolve_time(new_time)?;
680
681 if new_time == when {
682 return Err(Error::<T>::RescheduleNoChange.into());
683 }
684
685 Agenda::<T>::try_mutate(when, |agenda| -> DispatchResult {
686 let task = agenda.get_mut(index as usize).ok_or(Error::<T>::NotFound)?;
687 let task = task.take().ok_or(Error::<T>::NotFound)?;
688 Agenda::<T>::append(new_time, Some(task));
689 Ok(())
690 })?;
691
692 let new_index = Agenda::<T>::decode_len(new_time).unwrap_or(1) as u32 - 1;
693 Self::deposit_event(Event::Canceled { when, index });
694 Self::deposit_event(Event::Scheduled {
695 when: new_time,
696 index: new_index,
697 });
698
699 Ok((new_time, new_index))
700 }
701
702 fn do_schedule_named(611 fn do_schedule_named(
703 id: ScheduledId,612 id: ScheduledId,
789 Err(Error::<T>::NotFound)?698 Err(Error::<T>::NotFound)?
790 }699 }
791 })700 })
792 }
793
794 fn do_reschedule_named(
795 id: ScheduledId,
796 new_time: DispatchTime<T::BlockNumber>,
797 ) -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
798 let new_time = Self::resolve_time(new_time)?;
799
800 Lookup::<T>::try_mutate_exists(
801 id,
802 |lookup| -> Result<TaskAddress<T::BlockNumber>, DispatchError> {
803 let (when, index) = lookup.ok_or(Error::<T>::NotFound)?;
804
805 if new_time == when {
806 return Err(Error::<T>::RescheduleNoChange.into());
807 }
808
809 Agenda::<T>::try_mutate(when, |agenda| -> DispatchResult {
810 let task = agenda.get_mut(index as usize).ok_or(Error::<T>::NotFound)?;
811 let task = task.take().ok_or(Error::<T>::NotFound)?;
812 Agenda::<T>::append(new_time, Some(task));
813
814 Ok(())
815 })?;
816
817 let new_index = Agenda::<T>::decode_len(new_time).unwrap_or(1) as u32 - 1;
818 Self::deposit_event(Event::Canceled { when, index });
819 Self::deposit_event(Event::Scheduled {
820 when: new_time,
821 index: new_index,
822 });
823
824 *lookup = Some((new_time, new_index));
825
826 Ok((new_time, new_index))
827 },
828 )
829 }
830}
831
832impl<T: Config> schedule::v2::Anon<T::BlockNumber, <T as Config>::Call, T::PalletsOrigin>
833 for Pallet<T>
834{
835 type Address = TaskAddress<T::BlockNumber>;
836 type Hash = T::Hash;
837
838 fn schedule(
839 when: DispatchTime<T::BlockNumber>,
840 maybe_periodic: Option<schedule::Period<T::BlockNumber>>,
841 priority: schedule::Priority,
842 origin: T::PalletsOrigin,
843 call: CallOrHashOf<T>,
844 ) -> Result<Self::Address, DispatchError> {
845 Self::do_schedule(when, maybe_periodic, priority, origin, call)
846 }
847
848 fn cancel((when, index): Self::Address) -> Result<(), ()> {
849 Self::do_cancel(None, (when, index)).map_err(|_| ())
850 }
851
852 fn reschedule(
853 address: Self::Address,
854 when: DispatchTime<T::BlockNumber>,
855 ) -> Result<Self::Address, DispatchError> {
856 Self::do_reschedule(address, when)
857 }
858
859 fn next_dispatch_time((when, index): Self::Address) -> Result<T::BlockNumber, ()> {
860 Agenda::<T>::get(when)
861 .get(index as usize)
862 .ok_or(())
863 .map(|_| when)
864 }
865}
866
867impl<T: Config> schedule::v2::Named<T::BlockNumber, <T as Config>::Call, T::PalletsOrigin>
868 for Pallet<T>
869{
870 type Address = TaskAddress<T::BlockNumber>;
871 type Hash = T::Hash;
872
873 fn schedule_named(
874 id: Vec<u8>,
875 when: DispatchTime<T::BlockNumber>,
876 maybe_periodic: Option<schedule::Period<T::BlockNumber>>,
877 priority: schedule::Priority,
878 origin: T::PalletsOrigin,
879 call: CallOrHashOf<T>,
880 ) -> Result<Self::Address, ()> {
881 let inner_id: ScheduledId = id
882 .try_into()
883 .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
884 Self::do_schedule_named(inner_id, when, maybe_periodic, priority, origin, call)
885 .map_err(|_| ())
886 }
887
888 fn cancel_named(id: Vec<u8>) -> Result<(), ()> {
889 let inner_id: ScheduledId = id
890 .try_into()
891 .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
892 Self::do_cancel_named(None, inner_id).map_err(|_| ())
893 }
894
895 fn reschedule_named(
896 id: Vec<u8>,
897 when: DispatchTime<T::BlockNumber>,
898 ) -> Result<Self::Address, DispatchError> {
899 let inner_id: ScheduledId = id
900 .try_into()
901 .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
902 Self::do_reschedule_named(inner_id, when)
903 }
904
905 fn next_dispatch_time(id: Vec<u8>) -> Result<T::BlockNumber, ()> {
906 let inner_id: ScheduledId = id
907 .try_into()
908 .unwrap_or([0; MAX_TASK_ID_LENGTH_IN_BYTES as usize]);
909 Lookup::<T>::get(inner_id)
910 .and_then(|(when, index)| Agenda::<T>::get(when).get(index as usize).map(|_| when))
911 .ok_or(())
912 }701 }
913}702}
914703
modifiedpallets/scheduler/src/weights.rsdiffbeforeafterboth
1// This file is part of Substrate.1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs
22
3// Copyright (C) 2022 Parity Technologies (UK) Ltd.3//! Autogenerated weights for pallet_unique_scheduler
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18//! Autogenerated weights for pallet_scheduler
19//!4//!
20//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
21//! DATE: 2022-01-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2022-06-09, STEPS: `50`, REPEAT: 200, LOW RANGE: `[]`, HIGH RANGE: `[]`
22//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 10247//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
238
24// Executed Command:9// Executed Command:
25// ./target/production/substrate10// target/release/unique-collator
26// benchmark11// benchmark
27// --chain=dev12// pallet
13// --pallet
14// pallet-unique-scheduler
15// --wasm-execution
16// compiled
17// --extrinsic
18// *
19// --template
20// .maintain/frame-weight-template.hbs
28// --steps=5021// --steps=50
29// --repeat=2022// --repeat=200
30// --pallet=pallet_scheduler
31// --extrinsic=*
32// --execution=wasm
33// --wasm-execution=compiled
34// --heap-pages=409623// --heap-pages=4096
35// --output=./frame/scheduler/src/weights.rs24// --output=./pallets/scheduler/src/weights.rs
36// --template=.maintain/frame-weight-template.hbs
37// --header=HEADER-APACHE2
38// --raw
3925
40#![cfg_attr(rustfmt, rustfmt_skip)]26#![cfg_attr(rustfmt, rustfmt_skip)]
41#![allow(unused_parens)]27#![allow(unused_parens)]
42#![allow(unused_imports)]28#![allow(unused_imports)]
29#![allow(clippy::unnecessary_cast)]
4330
44use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
45use sp_std::marker::PhantomData;32use sp_std::marker::PhantomData;
4633
47/// Weight functions needed for pallet_scheduler.34/// Weight functions needed for pallet_unique_scheduler.
48pub trait WeightInfo {35pub trait WeightInfo {
49 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight;36 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight;
50 fn on_initialize_named_resolved(s: u32, ) -> Weight;37 fn on_initialize_named_resolved(s: u32, ) -> Weight;
38 fn on_initialize_periodic(s: u32, ) -> Weight;
51 fn on_initialize_periodic_resolved(s: u32, ) -> Weight;39 fn on_initialize_periodic_resolved(s: u32, ) -> Weight;
52 fn on_initialize_resolved(s: u32, ) -> Weight;
53 fn on_initialize_named_aborted(s: u32, ) -> Weight;
54 fn on_initialize_aborted(s: u32, ) -> Weight;40 fn on_initialize_aborted(s: u32, ) -> Weight;
55 fn on_initialize_periodic_named(s: u32, ) -> Weight;41 fn on_initialize_named_aborted(s: u32, ) -> Weight;
56 fn on_initialize_periodic(s: u32, ) -> Weight;
57 fn on_initialize_named(s: u32, ) -> Weight;42 fn on_initialize_named(s: u32, ) -> Weight;
58 fn on_initialize(s: u32, ) -> Weight;43 fn on_initialize(s: u32, ) -> Weight;
59 fn schedule(s: u32, ) -> Weight;44 fn on_initialize_resolved(s: u32, ) -> Weight;
60 fn cancel(s: u32, ) -> Weight;
61 fn schedule_named(s: u32, ) -> Weight;45 fn schedule_named(s: u32, ) -> Weight;
62 fn cancel_named(s: u32, ) -> Weight;46 fn cancel_named(s: u32, ) -> Weight;
63}47}
6448
65/// Weights for pallet_scheduler using the Substrate node and recommended hardware.49/// Weights for pallet_unique_scheduler using the Substrate node and recommended hardware.
66pub struct SubstrateWeight<T>(PhantomData<T>);50pub struct SubstrateWeight<T>(PhantomData<T>);
67impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {51impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
68 // Storage: Scheduler Agenda (r:2 w:2)52 // Storage: Scheduler Agenda (r:2 w:2)
69 // Storage: Preimage PreimageFor (r:1 w:1)53 // Storage: System Account (r:1 w:1)
70 // Storage: Preimage StatusFor (r:1 w:1)54 // Storage: System AllExtrinsicsLen (r:1 w:1)
55 // Storage: System BlockWeight (r:1 w:1)
71 // Storage: Scheduler Lookup (r:0 w:1)56 // Storage: Scheduler Lookup (r:0 w:1)
72 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {57 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
73 (11_587_000 as Weight)58 (35_999_000 as Weight)
74 // Standard Error: 17_00059 // Standard Error: 3_000
75 .saturating_add((17_428_000 as Weight).saturating_mul(s as Weight))60 .saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
76 .saturating_add(T::DbWeight::get().reads(1 as Weight))61 .saturating_add(T::DbWeight::get().reads(4 as Weight))
77 .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))62 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
78 .saturating_add(T::DbWeight::get().writes(1 as Weight))63 .saturating_add(T::DbWeight::get().writes(4 as Weight))
79 .saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(s as Weight)))64 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
80 }65 }
81 // Storage: Scheduler Agenda (r:1 w:1)66 // Storage: Scheduler Agenda (r:1 w:1)
82 // Storage: Preimage PreimageFor (r:1 w:1)67 // Storage: System Account (r:1 w:1)
83 // Storage: Preimage StatusFor (r:1 w:1)68 // Storage: System AllExtrinsicsLen (r:1 w:1)
69 // Storage: System BlockWeight (r:1 w:1)
84 // Storage: Scheduler Lookup (r:0 w:1)70 // Storage: Scheduler Lookup (r:0 w:1)
85 fn on_initialize_named_resolved(s: u32, ) -> Weight {71 fn on_initialize_named_resolved(s: u32, ) -> Weight {
86 (8_965_000 as Weight)72 (34_874_000 as Weight)
87 // Standard Error: 11_00073 // Standard Error: 2_000
88 .saturating_add((13_410_000 as Weight).saturating_mul(s as Weight))74 .saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
89 .saturating_add(T::DbWeight::get().reads(1 as Weight))75 .saturating_add(T::DbWeight::get().reads(4 as Weight))
90 .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))76 .saturating_add(T::DbWeight::get().writes(4 as Weight))
91 .saturating_add(T::DbWeight::get().writes(1 as Weight))
92 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))77 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
93 }78 }
94 // Storage: Scheduler Agenda (r:2 w:2)79 // Storage: Scheduler Agenda (r:2 w:2)
95 // Storage: Preimage PreimageFor (r:1 w:1)80 // Storage: System Account (r:1 w:1)
96 // Storage: Preimage StatusFor (r:1 w:1)81 // Storage: System AllExtrinsicsLen (r:1 w:1)
97 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {82 // Storage: System BlockWeight (r:1 w:1)
98 (8_654_000 as Weight)
99 // Standard Error: 17_000
100 .saturating_add((14_990_000 as Weight).saturating_mul(s as Weight))
101 .saturating_add(T::DbWeight::get().reads(1 as Weight))
102 .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
103 .saturating_add(T::DbWeight::get().writes(1 as Weight))
104 .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))
105 }
106 // Storage: Scheduler Agenda (r:1 w:1)
107 // Storage: Preimage PreimageFor (r:1 w:1)83 // Storage: Scheduler Lookup (r:0 w:1)
108 // Storage: Preimage StatusFor (r:1 w:1)84 fn on_initialize_periodic(s: u32, ) -> Weight {
109 fn on_initialize_resolved(s: u32, ) -> Weight {
110 (9_303_000 as Weight)85 (36_469_000 as Weight)
111 // Standard Error: 10_00086 // Standard Error: 3_000
112 .saturating_add((12_244_000 as Weight).saturating_mul(s as Weight))87 .saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
113 .saturating_add(T::DbWeight::get().reads(1 as Weight))88 .saturating_add(T::DbWeight::get().reads(4 as Weight))
114 .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))89 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
115 .saturating_add(T::DbWeight::get().writes(1 as Weight))90 .saturating_add(T::DbWeight::get().writes(4 as Weight))
116 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))91 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
117 }92 }
118 // Storage: Scheduler Agenda (r:2 w:2)93 // Storage: Scheduler Agenda (r:2 w:2)
119 // Storage: Preimage PreimageFor (r:1 w:0)94 // Storage: System Account (r:1 w:1)
95 // Storage: System AllExtrinsicsLen (r:1 w:1)
96 // Storage: System BlockWeight (r:1 w:1)
120 // Storage: Scheduler Lookup (r:0 w:1)97 // Storage: Scheduler Lookup (r:0 w:1)
121 fn on_initialize_named_aborted(s: u32, ) -> Weight {98 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
122 (7_506_000 as Weight)99 (35_352_000 as Weight)
123 // Standard Error: 3_000100 // Standard Error: 3_000
124 .saturating_add((5_208_000 as Weight).saturating_mul(s as Weight))101 .saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
125 .saturating_add(T::DbWeight::get().reads(2 as Weight))102 .saturating_add(T::DbWeight::get().reads(4 as Weight))
126 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))103 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
127 .saturating_add(T::DbWeight::get().writes(2 as Weight))104 .saturating_add(T::DbWeight::get().writes(4 as Weight))
128 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))105 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
129 }106 }
130 // Storage: Scheduler Agenda (r:2 w:2)107 // Storage: Scheduler Agenda (r:2 w:2)
131 // Storage: Preimage PreimageFor (r:1 w:0)108 // Storage: Scheduler Lookup (r:0 w:1)
132 fn on_initialize_aborted(s: u32, ) -> Weight {109 fn on_initialize_aborted(s: u32, ) -> Weight {
133 (8_046_000 as Weight)110 (11_267_000 as Weight)
134 // Standard Error: 3_000111 // Standard Error: 1_000
135 .saturating_add((2_914_000 as Weight).saturating_mul(s as Weight))112 .saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
136 .saturating_add(T::DbWeight::get().reads(2 as Weight))113 .saturating_add(T::DbWeight::get().reads(2 as Weight))
137 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
138 .saturating_add(T::DbWeight::get().writes(2 as Weight))114 .saturating_add(T::DbWeight::get().writes(2 as Weight))
115 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
139 }116 }
140 // Storage: Scheduler Agenda (r:2 w:2)117 // Storage: Scheduler Agenda (r:1 w:1)
118 // Storage: System Account (r:1 w:1)
119 // Storage: System AllExtrinsicsLen (r:1 w:1)
120 // Storage: System BlockWeight (r:1 w:1)
141 // Storage: Scheduler Lookup (r:0 w:1)121 // Storage: Scheduler Lookup (r:0 w:1)
142 fn on_initialize_periodic_named(s: u32, ) -> Weight {122 fn on_initialize_named_aborted(s: u32, ) -> Weight {
143 (13_704_000 as Weight)123 (35_937_000 as Weight)
144 // Standard Error: 4_000124 // Standard Error: 3_000
145 .saturating_add((8_186_000 as Weight).saturating_mul(s as Weight))125 .saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
146 .saturating_add(T::DbWeight::get().reads(1 as Weight))126 .saturating_add(T::DbWeight::get().reads(4 as Weight))
147 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))127 .saturating_add(T::DbWeight::get().writes(4 as Weight))
148 .saturating_add(T::DbWeight::get().writes(1 as Weight))
149 .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
150 }
151 // Storage: Scheduler Agenda (r:2 w:2)
152 fn on_initialize_periodic(s: u32, ) -> Weight {
153 (12_668_000 as Weight)
154 // Standard Error: 5_000
155 .saturating_add((5_868_000 as Weight).saturating_mul(s as Weight))
156 .saturating_add(T::DbWeight::get().reads(1 as Weight))
157 .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
158 .saturating_add(T::DbWeight::get().writes(1 as Weight))
159 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))128 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
160 }129 }
161 // Storage: Scheduler Agenda (r:1 w:1)130 // Storage: Scheduler Agenda (r:2 w:2)
162 // Storage: Scheduler Lookup (r:0 w:1)131 // Storage: Scheduler Lookup (r:0 w:1)
163 fn on_initialize_named(s: u32, ) -> Weight {132 fn on_initialize_named(s: u32, ) -> Weight {
164 (13_946_000 as Weight)133 (10_338_000 as Weight)
165 // Standard Error: 4_000134 // Standard Error: 2_000
166 .saturating_add((4_367_000 as Weight).saturating_mul(s as Weight))135 .saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
167 .saturating_add(T::DbWeight::get().reads(1 as Weight))136 .saturating_add(T::DbWeight::get().reads(2 as Weight))
168 .saturating_add(T::DbWeight::get().writes(1 as Weight))137 .saturating_add(T::DbWeight::get().writes(2 as Weight))
169 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))138 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
170 }139 }
171 // Storage: Scheduler Agenda (r:1 w:1)140 // Storage: Scheduler Agenda (r:1 w:1)
141 // Storage: System Account (r:1 w:1)
142 // Storage: System AllExtrinsicsLen (r:1 w:1)
143 // Storage: System BlockWeight (r:1 w:1)
144 // Storage: Scheduler Lookup (r:0 w:1)
172 fn on_initialize(s: u32, ) -> Weight {145 fn on_initialize(s: u32, ) -> Weight {
173 (13_151_000 as Weight)146 (37_448_000 as Weight)
174 // Standard Error: 4_000147 // Standard Error: 7_000
175 .saturating_add((3_455_000 as Weight).saturating_mul(s as Weight))148 .saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
176 .saturating_add(T::DbWeight::get().reads(1 as Weight))149 .saturating_add(T::DbWeight::get().reads(4 as Weight))
177 .saturating_add(T::DbWeight::get().writes(1 as Weight))150 .saturating_add(T::DbWeight::get().writes(4 as Weight))
151 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
178 }152 }
179 // Storage: Scheduler Agenda (r:1 w:1)153 // Storage: Scheduler Agenda (r:1 w:1)
180 fn schedule(s: u32, ) -> Weight {154 // Storage: System Account (r:1 w:1)
181 (14_040_000 as Weight)
182 // Standard Error: 1_000155 // Storage: System AllExtrinsicsLen (r:1 w:1)
183 .saturating_add((89_000 as Weight).saturating_mul(s as Weight))
184 .saturating_add(T::DbWeight::get().reads(1 as Weight))
185 .saturating_add(T::DbWeight::get().writes(1 as Weight))
186 }
187 // Storage: Scheduler Agenda (r:1 w:1)156 // Storage: System BlockWeight (r:1 w:1)
188 // Storage: Scheduler Lookup (r:0 w:1)157 // Storage: Scheduler Lookup (r:0 w:1)
189 fn cancel(s: u32, ) -> Weight {158 fn on_initialize_resolved(s: u32, ) -> Weight {
190 (14_376_000 as Weight)159 (34_841_000 as Weight)
191 // Standard Error: 1_000160 // Standard Error: 7_000
192 .saturating_add((576_000 as Weight).saturating_mul(s as Weight))161 .saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
193 .saturating_add(T::DbWeight::get().reads(1 as Weight))162 .saturating_add(T::DbWeight::get().reads(4 as Weight))
194 .saturating_add(T::DbWeight::get().writes(2 as Weight))163 .saturating_add(T::DbWeight::get().writes(4 as Weight))
164 .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
195 }165 }
196 // Storage: Scheduler Lookup (r:1 w:1)166 // Storage: Scheduler Lookup (r:1 w:1)
197 // Storage: Scheduler Agenda (r:1 w:1)167 // Storage: Scheduler Agenda (r:1 w:1)
198 fn schedule_named(s: u32, ) -> Weight {168 fn schedule_named(s: u32, ) -> Weight {
199 (16_806_000 as Weight)169 (33_845_000 as Weight)
200 // Standard Error: 1_000170 // Standard Error: 0
201 .saturating_add((102_000 as Weight).saturating_mul(s as Weight))171 .saturating_add((168_000 as Weight).saturating_mul(s as Weight))
202 .saturating_add(T::DbWeight::get().reads(2 as Weight))172 .saturating_add(T::DbWeight::get().reads(2 as Weight))
203 .saturating_add(T::DbWeight::get().writes(2 as Weight))173 .saturating_add(T::DbWeight::get().writes(2 as Weight))
204 }174 }
205 // Storage: Scheduler Lookup (r:1 w:1)175 // Storage: Scheduler Lookup (r:1 w:1)
206 // Storage: Scheduler Agenda (r:1 w:1)176 // Storage: Scheduler Agenda (r:1 w:1)
207 fn cancel_named(s: u32, ) -> Weight {177 fn cancel_named(s: u32, ) -> Weight {
208 (15_852_000 as Weight)178 (31_169_000 as Weight)
209 // Standard Error: 2_000179 // Standard Error: 1_000
210 .saturating_add((590_000 as Weight).saturating_mul(s as Weight))180 .saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
211 .saturating_add(T::DbWeight::get().reads(2 as Weight))181 .saturating_add(T::DbWeight::get().reads(2 as Weight))
212 .saturating_add(T::DbWeight::get().writes(2 as Weight))182 .saturating_add(T::DbWeight::get().writes(2 as Weight))
213 }183 }
216// For backwards compatibility and tests186// For backwards compatibility and tests
217impl WeightInfo for () {187impl WeightInfo for () {
218 // Storage: Scheduler Agenda (r:2 w:2)188 // Storage: Scheduler Agenda (r:2 w:2)
219 // Storage: Preimage PreimageFor (r:1 w:1)189 // Storage: System Account (r:1 w:1)
220 // Storage: Preimage StatusFor (r:1 w:1)190 // Storage: System AllExtrinsicsLen (r:1 w:1)
191 // Storage: System BlockWeight (r:1 w:1)
221 // Storage: Scheduler Lookup (r:0 w:1)192 // Storage: Scheduler Lookup (r:0 w:1)
222 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {193 fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight {
223 (11_587_000 as Weight)194 (35_999_000 as Weight)
224 // Standard Error: 17_000195 // Standard Error: 3_000
225 .saturating_add((17_428_000 as Weight).saturating_mul(s as Weight))196 .saturating_add((32_234_000 as Weight).saturating_mul(s as Weight))
226 .saturating_add(RocksDbWeight::get().reads(1 as Weight))197 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
227 .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))198 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
228 .saturating_add(RocksDbWeight::get().writes(1 as Weight))199 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
229 .saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(s as Weight)))200 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
230 }201 }
231 // Storage: Scheduler Agenda (r:1 w:1)202 // Storage: Scheduler Agenda (r:1 w:1)
232 // Storage: Preimage PreimageFor (r:1 w:1)203 // Storage: System Account (r:1 w:1)
233 // Storage: Preimage StatusFor (r:1 w:1)204 // Storage: System AllExtrinsicsLen (r:1 w:1)
205 // Storage: System BlockWeight (r:1 w:1)
234 // Storage: Scheduler Lookup (r:0 w:1)206 // Storage: Scheduler Lookup (r:0 w:1)
235 fn on_initialize_named_resolved(s: u32, ) -> Weight {207 fn on_initialize_named_resolved(s: u32, ) -> Weight {
236 (8_965_000 as Weight)208 (34_874_000 as Weight)
237 // Standard Error: 11_000209 // Standard Error: 2_000
238 .saturating_add((13_410_000 as Weight).saturating_mul(s as Weight))210 .saturating_add((23_114_000 as Weight).saturating_mul(s as Weight))
239 .saturating_add(RocksDbWeight::get().reads(1 as Weight))211 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
240 .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))212 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
241 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
242 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))213 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
243 }214 }
244 // Storage: Scheduler Agenda (r:2 w:2)215 // Storage: Scheduler Agenda (r:2 w:2)
245 // Storage: Preimage PreimageFor (r:1 w:1)216 // Storage: System Account (r:1 w:1)
246 // Storage: Preimage StatusFor (r:1 w:1)217 // Storage: System AllExtrinsicsLen (r:1 w:1)
247 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {218 // Storage: System BlockWeight (r:1 w:1)
248 (8_654_000 as Weight)
249 // Standard Error: 17_000
250 .saturating_add((14_990_000 as Weight).saturating_mul(s as Weight))
251 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
252 .saturating_add(RocksDbWeight::get().reads((3 as Weight).saturating_mul(s as Weight)))
253 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
254 .saturating_add(RocksDbWeight::get().writes((3 as Weight).saturating_mul(s as Weight)))
255 }
256 // Storage: Scheduler Agenda (r:1 w:1)
257 // Storage: Preimage PreimageFor (r:1 w:1)219 // Storage: Scheduler Lookup (r:0 w:1)
258 // Storage: Preimage StatusFor (r:1 w:1)220 fn on_initialize_periodic(s: u32, ) -> Weight {
259 fn on_initialize_resolved(s: u32, ) -> Weight {
260 (9_303_000 as Weight)221 (36_469_000 as Weight)
261 // Standard Error: 10_000222 // Standard Error: 3_000
262 .saturating_add((12_244_000 as Weight).saturating_mul(s as Weight))223 .saturating_add((32_202_000 as Weight).saturating_mul(s as Weight))
263 .saturating_add(RocksDbWeight::get().reads(1 as Weight))224 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
264 .saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(s as Weight)))225 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
265 .saturating_add(RocksDbWeight::get().writes(1 as Weight))226 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
266 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))227 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
267 }228 }
268 // Storage: Scheduler Agenda (r:2 w:2)229 // Storage: Scheduler Agenda (r:2 w:2)
269 // Storage: Preimage PreimageFor (r:1 w:0)230 // Storage: System Account (r:1 w:1)
231 // Storage: System AllExtrinsicsLen (r:1 w:1)
232 // Storage: System BlockWeight (r:1 w:1)
270 // Storage: Scheduler Lookup (r:0 w:1)233 // Storage: Scheduler Lookup (r:0 w:1)
271 fn on_initialize_named_aborted(s: u32, ) -> Weight {234 fn on_initialize_periodic_resolved(s: u32, ) -> Weight {
272 (7_506_000 as Weight)235 (35_352_000 as Weight)
273 // Standard Error: 3_000236 // Standard Error: 3_000
274 .saturating_add((5_208_000 as Weight).saturating_mul(s as Weight))237 .saturating_add((32_309_000 as Weight).saturating_mul(s as Weight))
275 .saturating_add(RocksDbWeight::get().reads(2 as Weight))238 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
276 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))239 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
277 .saturating_add(RocksDbWeight::get().writes(2 as Weight))240 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
278 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))241 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
279 }242 }
280 // Storage: Scheduler Agenda (r:2 w:2)243 // Storage: Scheduler Agenda (r:2 w:2)
281 // Storage: Preimage PreimageFor (r:1 w:0)244 // Storage: Scheduler Lookup (r:0 w:1)
282 fn on_initialize_aborted(s: u32, ) -> Weight {245 fn on_initialize_aborted(s: u32, ) -> Weight {
283 (8_046_000 as Weight)246 (11_267_000 as Weight)
284 // Standard Error: 3_000247 // Standard Error: 1_000
285 .saturating_add((2_914_000 as Weight).saturating_mul(s as Weight))248 .saturating_add((9_368_000 as Weight).saturating_mul(s as Weight))
286 .saturating_add(RocksDbWeight::get().reads(2 as Weight))249 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
287 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
288 .saturating_add(RocksDbWeight::get().writes(2 as Weight))250 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
251 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
289 }252 }
290 // Storage: Scheduler Agenda (r:2 w:2)253 // Storage: Scheduler Agenda (r:1 w:1)
254 // Storage: System Account (r:1 w:1)
255 // Storage: System AllExtrinsicsLen (r:1 w:1)
256 // Storage: System BlockWeight (r:1 w:1)
291 // Storage: Scheduler Lookup (r:0 w:1)257 // Storage: Scheduler Lookup (r:0 w:1)
292 fn on_initialize_periodic_named(s: u32, ) -> Weight {258 fn on_initialize_named_aborted(s: u32, ) -> Weight {
293 (13_704_000 as Weight)259 (35_937_000 as Weight)
294 // Standard Error: 4_000260 // Standard Error: 3_000
295 .saturating_add((8_186_000 as Weight).saturating_mul(s as Weight))261 .saturating_add((23_037_000 as Weight).saturating_mul(s as Weight))
296 .saturating_add(RocksDbWeight::get().reads(1 as Weight))262 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
297 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))263 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
298 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
299 .saturating_add(RocksDbWeight::get().writes((2 as Weight).saturating_mul(s as Weight)))
300 }
301 // Storage: Scheduler Agenda (r:2 w:2)
302 fn on_initialize_periodic(s: u32, ) -> Weight {
303 (12_668_000 as Weight)
304 // Standard Error: 5_000
305 .saturating_add((5_868_000 as Weight).saturating_mul(s as Weight))
306 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
307 .saturating_add(RocksDbWeight::get().reads((1 as Weight).saturating_mul(s as Weight)))
308 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
309 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))264 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
310 }265 }
311 // Storage: Scheduler Agenda (r:1 w:1)266 // Storage: Scheduler Agenda (r:2 w:2)
312 // Storage: Scheduler Lookup (r:0 w:1)267 // Storage: Scheduler Lookup (r:0 w:1)
313 fn on_initialize_named(s: u32, ) -> Weight {268 fn on_initialize_named(s: u32, ) -> Weight {
314 (13_946_000 as Weight)269 (10_338_000 as Weight)
315 // Standard Error: 4_000270 // Standard Error: 2_000
316 .saturating_add((4_367_000 as Weight).saturating_mul(s as Weight))271 .saturating_add((9_422_000 as Weight).saturating_mul(s as Weight))
317 .saturating_add(RocksDbWeight::get().reads(1 as Weight))272 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
318 .saturating_add(RocksDbWeight::get().writes(1 as Weight))273 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
319 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))274 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
320 }275 }
321 // Storage: Scheduler Agenda (r:1 w:1)276 // Storage: Scheduler Agenda (r:1 w:1)
277 // Storage: System Account (r:1 w:1)
278 // Storage: System AllExtrinsicsLen (r:1 w:1)
279 // Storage: System BlockWeight (r:1 w:1)
280 // Storage: Scheduler Lookup (r:0 w:1)
322 fn on_initialize(s: u32, ) -> Weight {281 fn on_initialize(s: u32, ) -> Weight {
323 (13_151_000 as Weight)282 (37_448_000 as Weight)
324 // Standard Error: 4_000283 // Standard Error: 7_000
325 .saturating_add((3_455_000 as Weight).saturating_mul(s as Weight))284 .saturating_add((22_907_000 as Weight).saturating_mul(s as Weight))
326 .saturating_add(RocksDbWeight::get().reads(1 as Weight))285 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
327 .saturating_add(RocksDbWeight::get().writes(1 as Weight))286 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
287 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
328 }288 }
329 // Storage: Scheduler Agenda (r:1 w:1)289 // Storage: Scheduler Agenda (r:1 w:1)
330 fn schedule(s: u32, ) -> Weight {290 // Storage: System Account (r:1 w:1)
331 (14_040_000 as Weight)
332 // Standard Error: 1_000291 // Storage: System AllExtrinsicsLen (r:1 w:1)
333 .saturating_add((89_000 as Weight).saturating_mul(s as Weight))
334 .saturating_add(RocksDbWeight::get().reads(1 as Weight))
335 .saturating_add(RocksDbWeight::get().writes(1 as Weight))
336 }
337 // Storage: Scheduler Agenda (r:1 w:1)292 // Storage: System BlockWeight (r:1 w:1)
338 // Storage: Scheduler Lookup (r:0 w:1)293 // Storage: Scheduler Lookup (r:0 w:1)
339 fn cancel(s: u32, ) -> Weight {294 fn on_initialize_resolved(s: u32, ) -> Weight {
340 (14_376_000 as Weight)295 (34_841_000 as Weight)
341 // Standard Error: 1_000296 // Standard Error: 7_000
342 .saturating_add((576_000 as Weight).saturating_mul(s as Weight))297 .saturating_add((22_966_000 as Weight).saturating_mul(s as Weight))
343 .saturating_add(RocksDbWeight::get().reads(1 as Weight))298 .saturating_add(RocksDbWeight::get().reads(4 as Weight))
344 .saturating_add(RocksDbWeight::get().writes(2 as Weight))299 .saturating_add(RocksDbWeight::get().writes(4 as Weight))
300 .saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
345 }301 }
346 // Storage: Scheduler Lookup (r:1 w:1)302 // Storage: Scheduler Lookup (r:1 w:1)
347 // Storage: Scheduler Agenda (r:1 w:1)303 // Storage: Scheduler Agenda (r:1 w:1)
348 fn schedule_named(s: u32, ) -> Weight {304 fn schedule_named(s: u32, ) -> Weight {
349 (16_806_000 as Weight)305 (33_845_000 as Weight)
350 // Standard Error: 1_000306 // Standard Error: 0
351 .saturating_add((102_000 as Weight).saturating_mul(s as Weight))307 .saturating_add((168_000 as Weight).saturating_mul(s as Weight))
352 .saturating_add(RocksDbWeight::get().reads(2 as Weight))308 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
353 .saturating_add(RocksDbWeight::get().writes(2 as Weight))309 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
354 }310 }
355 // Storage: Scheduler Lookup (r:1 w:1)311 // Storage: Scheduler Lookup (r:1 w:1)
356 // Storage: Scheduler Agenda (r:1 w:1)312 // Storage: Scheduler Agenda (r:1 w:1)
357 fn cancel_named(s: u32, ) -> Weight {313 fn cancel_named(s: u32, ) -> Weight {
358 (15_852_000 as Weight)314 (31_169_000 as Weight)
359 // Standard Error: 2_000315 // Standard Error: 1_000
360 .saturating_add((590_000 as Weight).saturating_mul(s as Weight))316 .saturating_add((1_565_000 as Weight).saturating_mul(s as Weight))
361 .saturating_add(RocksDbWeight::get().reads(2 as Weight))317 .saturating_add(RocksDbWeight::get().reads(2 as Weight))
362 .saturating_add(RocksDbWeight::get().writes(2 as Weight))318 .saturating_add(RocksDbWeight::get().writes(2 as Weight))
363 }319 }
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
441pub struct CollectionPermissions {441pub struct CollectionPermissions {
442 pub access: Option<AccessMode>,442 pub access: Option<AccessMode>,
443 pub mint_mode: Option<bool>,443 pub mint_mode: Option<bool>,
444 pub nesting: Option<NestingRule>,444 pub nesting: Option<NestingPermissions>,
445}445}
446446
447impl CollectionPermissions {447impl CollectionPermissions {
451 pub fn mint_mode(&self) -> bool {451 pub fn mint_mode(&self) -> bool {
452 self.mint_mode.unwrap_or(false)452 self.mint_mode.unwrap_or(false)
453 }453 }
454 pub fn nesting(&self) -> &NestingRule {454 pub fn nesting(&self) -> &NestingPermissions {
455 static DEFAULT: NestingRule = NestingRule::Disabled;455 static DEFAULT: NestingPermissions = NestingPermissions {
456 token_owner: false,
457 admin: false,
458 restricted: None,
459
460 permissive: false,
461 };
456 self.nesting.as_ref().unwrap_or(&DEFAULT)462 self.nesting.as_ref().unwrap_or(&DEFAULT)
457 }463 }
458}464}
459465
460pub type OwnerRestrictedSet = BoundedBTreeSet<CollectionId, ConstU32<16>>;466type OwnerRestrictedSetInner = BoundedBTreeSet<CollectionId, ConstU32<16>>;
461467
462#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]468#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]
463#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]469#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
464#[derivative(Debug)]470#[derivative(Debug)]
465pub enum NestingRule {471pub struct OwnerRestrictedSet(
466 /// No one can nest tokens
467 Disabled,
468 /// Owner can nest any tokens
469 Owner,
470 /// Owner can nest tokens from specified collections
471 OwnerRestricted(
472 #[cfg_attr(feature = "serde1", serde(with = "bounded::set_serde"))]472 #[cfg_attr(feature = "serde1", serde(with = "bounded::set_serde"))]
473 #[derivative(Debug(format_with = "bounded::set_debug"))]473 #[derivative(Debug(format_with = "bounded::set_debug"))]
474 pub OwnerRestrictedSetInner,
475);
474 OwnerRestrictedSet,476impl OwnerRestrictedSet {
477 pub fn new() -> Self {
478 Self(Default::default())
479 }
480}
481impl core::ops::Deref for OwnerRestrictedSet {
482 type Target = OwnerRestrictedSetInner;
483 fn deref(&self) -> &Self::Target {
484 &self.0
485 }
486}
487impl core::ops::DerefMut for OwnerRestrictedSet {
488 fn deref_mut(&mut self) -> &mut Self::Target {
489 &mut self.0
490 }
491}
492
493#[derive(Encode, Decode, Clone, PartialEq, TypeInfo, MaxEncodedLen, Derivative)]
494#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
495#[derivative(Debug)]
496pub struct NestingPermissions {
497 /// Owner of token can nest tokens under it
475 ),498 pub token_owner: bool,
476 /// Used for tests499 /// Admin of token collection can nest tokens under token
477 Permissive,500 pub admin: bool,
478}501 /// If set - only tokens from specified collections can be nested
502 pub restricted: Option<OwnerRestrictedSet>,
503
504 /// Anyone can nest tokens, mutually exclusive with `token_owner`, `admin`
505 pub permissive: bool,
506}
479507
480#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo, MaxEncodedLen)]508#[derive(Encode, Decode, Debug, Clone, Copy, PartialEq, TypeInfo, MaxEncodedLen)]
481#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]509#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
modifiedruntime/common/Cargo.tomldiffbeforeafterboth
89default-features = false89default-features = false
90path = "../../pallets/refungible"90path = "../../pallets/refungible"
91
92[dependencies.pallet-unique-scheduler]
93default-features = false
94path = "../../pallets/scheduler"
9195
92[dependencies.up-data-structs]96[dependencies.up-data-structs]
93default-features = false97default-features = false
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
843 list_benchmark!(list, extra, pallet_fungible, Fungible);843 list_benchmark!(list, extra, pallet_fungible, Fungible);
844 list_benchmark!(list, extra, pallet_refungible, Refungible);844 list_benchmark!(list, extra, pallet_refungible, Refungible);
845 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);845 list_benchmark!(list, extra, pallet_nonfungible, Nonfungible);
846 list_benchmark!(list, extra, pallet_unique_scheduler, Scheduler);
846 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);847 list_benchmark!(list, extra, pallet_proxy_rmrk_core, RmrkCore);
847 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);848 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);
848849
887 add_benchmark!(params, batches, pallet_fungible, Fungible);888 add_benchmark!(params, batches, pallet_fungible, Fungible);
888 add_benchmark!(params, batches, pallet_refungible, Refungible);889 add_benchmark!(params, batches, pallet_refungible, Refungible);
889 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);890 add_benchmark!(params, batches, pallet_nonfungible, Nonfungible);
891 add_benchmark!(params, batches, pallet_unique_scheduler, Scheduler);
890 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);892 add_benchmark!(params, batches, pallet_proxy_rmrk_core, RmrkCore);
891 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);893 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);
892894
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
36 'pallet-proxy-rmrk-core/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',
37 'pallet-unique/runtime-benchmarks',37 'pallet-unique/runtime-benchmarks',
38 'pallet-inflation/runtime-benchmarks',38 'pallet-inflation/runtime-benchmarks',
39 'pallet-unique-scheduler/runtime-benchmarks',
39 'pallet-xcm/runtime-benchmarks',40 'pallet-xcm/runtime-benchmarks',
40 'sp-runtime/runtime-benchmarks',41 'sp-runtime/runtime-benchmarks',
41 'xcm-builder/runtime-benchmarks',42 'xcm-builder/runtime-benchmarks',
93 'pallet-proxy-rmrk-core/std',94 'pallet-proxy-rmrk-core/std',
94 'pallet-proxy-rmrk-equip/std',95 'pallet-proxy-rmrk-equip/std',
95 'pallet-unique/std',96 'pallet-unique/std',
96 'pallet-unq-scheduler/std',97 'pallet-unique-scheduler/std',
97 'pallet-charge-transaction/std',98 'pallet-charge-transaction/std',
98 'up-data-structs/std',99 'up-data-structs/std',
99 'sp-api/std',100 'sp-api/std',
412pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }413pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
413pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }414pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
414pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }415pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
415pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }416pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
416# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }417# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
417pallet-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" }418pallet-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" }
418pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }419pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
69 },69 },
70};70};
71use pallet_unq_scheduler::DispatchCall;71use pallet_unique_scheduler::DispatchCall;
72use up_data_structs::{72use up_data_structs::{
73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
74 CollectionStats, RpcCollection,74 CollectionStats, RpcCollection,
969}969}
970970
971pub struct SchedulerPaymentExecutor;971pub struct SchedulerPaymentExecutor;
972impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>972impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
973 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor973 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
974where974where
975 <T as frame_system::Config>::Call: Member975 <T as frame_system::Config>::Call: Member
979 + From<frame_system::Call<Runtime>>,979 + From<frame_system::Call<Runtime>>,
980 SelfContainedSignedInfo: Send + Sync + 'static,980 SelfContainedSignedInfo: Send + Sync + 'static,
981 Call: From<<T as frame_system::Config>::Call>981 Call: From<<T as frame_system::Config>::Call>
982 + From<<T as pallet_unq_scheduler::Config>::Call>982 + From<<T as pallet_unique_scheduler::Config>::Call>
983 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,983 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
984 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,984 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
985{985{
986 fn dispatch_call(986 fn dispatch_call(
987 signer: <T as frame_system::Config>::AccountId,987 signer: <T as frame_system::Config>::AccountId,
988 call: <T as pallet_unq_scheduler::Config>::Call,988 call: <T as pallet_unique_scheduler::Config>::Call,
989 ) -> Result<989 ) -> Result<
990 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,990 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
991 TransactionValidityError,991 TransactionValidityError,
1011 fn reserve_balance(1011 fn reserve_balance(
1012 id: [u8; 16],1012 id: [u8; 16],
1013 sponsor: <T as frame_system::Config>::AccountId,1013 sponsor: <T as frame_system::Config>::AccountId,
1014 call: <T as pallet_unq_scheduler::Config>::Call,1014 call: <T as pallet_unique_scheduler::Config>::Call,
1015 count: u32,1015 count: u32,
1016 ) -> Result<(), DispatchError> {1016 ) -> Result<(), DispatchError> {
1017 let dispatch_info = call.get_dispatch_info();1017 let dispatch_info = call.get_dispatch_info();
1028 fn pay_for_call(1028 fn pay_for_call(
1029 id: [u8; 16],1029 id: [u8; 16],
1030 sponsor: <T as frame_system::Config>::AccountId,1030 sponsor: <T as frame_system::Config>::AccountId,
1031 call: <T as pallet_unq_scheduler::Config>::Call,1031 call: <T as pallet_unique_scheduler::Config>::Call,
1032 ) -> Result<u128, DispatchError> {1032 ) -> Result<u128, DispatchError> {
1033 let dispatch_info = call.get_dispatch_info();1033 let dispatch_info = call.get_dispatch_info();
1034 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1034 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
1069 }1069 }
1070}1070}
10711071
1072impl pallet_unq_scheduler::Config for Runtime {1072impl pallet_unique_scheduler::Config for Runtime {
1073 type Event = Event;1073 type Event = Event;
1074 type Origin = Origin;1074 type Origin = Origin;
1075 type Currency = Balances;1075 type Currency = Balances;
1158 // Unique Pallets1158 // Unique Pallets
1159 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1159 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
1160 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1160 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
1161 Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1161 Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
1162 // free = 631162 // free = 63
1163 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1163 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
1164 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1164 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
37 'pallet-proxy-rmrk-equip/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',
38 'pallet-unique/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',
39 'pallet-inflation/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',
40 'pallet-unique-scheduler/runtime-benchmarks',
40 'pallet-xcm/runtime-benchmarks',41 'pallet-xcm/runtime-benchmarks',
41 'sp-runtime/runtime-benchmarks',42 'sp-runtime/runtime-benchmarks',
42 'xcm-builder/runtime-benchmarks',43 'xcm-builder/runtime-benchmarks',
94 'pallet-proxy-rmrk-core/std',95 'pallet-proxy-rmrk-core/std',
95 'pallet-proxy-rmrk-equip/std',96 'pallet-proxy-rmrk-equip/std',
96 'pallet-unique/std',97 'pallet-unique/std',
97 'pallet-unq-scheduler/std',98 'pallet-unique-scheduler/std',
98 'pallet-charge-transaction/std',99 'pallet-charge-transaction/std',
99 'up-data-structs/std',100 'up-data-structs/std',
100 'sp-api/std',101 'sp-api/std',
419pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }420pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
420pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }421pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
421pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }422pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
422pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }423pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
423# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }424# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
424pallet-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" }425pallet-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" }
425pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }426pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
69 },69 },
70};70};
71use pallet_unq_scheduler::DispatchCall;71use pallet_unique_scheduler::DispatchCall;
72use up_data_structs::{72use up_data_structs::{
73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
74 CollectionStats, RpcCollection,74 CollectionStats, RpcCollection,
968}968}
969969
970pub struct SchedulerPaymentExecutor;970pub struct SchedulerPaymentExecutor;
971impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>971impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
972 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor972 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
973where973where
974 <T as frame_system::Config>::Call: Member974 <T as frame_system::Config>::Call: Member
978 + From<frame_system::Call<Runtime>>,978 + From<frame_system::Call<Runtime>>,
979 SelfContainedSignedInfo: Send + Sync + 'static,979 SelfContainedSignedInfo: Send + Sync + 'static,
980 Call: From<<T as frame_system::Config>::Call>980 Call: From<<T as frame_system::Config>::Call>
981 + From<<T as pallet_unq_scheduler::Config>::Call>981 + From<<T as pallet_unique_scheduler::Config>::Call>
982 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,982 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
983 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,983 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
984{984{
985 fn dispatch_call(985 fn dispatch_call(
986 signer: <T as frame_system::Config>::AccountId,986 signer: <T as frame_system::Config>::AccountId,
987 call: <T as pallet_unq_scheduler::Config>::Call,987 call: <T as pallet_unique_scheduler::Config>::Call,
988 ) -> Result<988 ) -> Result<
989 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,989 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
990 TransactionValidityError,990 TransactionValidityError,
1010 fn reserve_balance(1010 fn reserve_balance(
1011 id: [u8; 16],1011 id: [u8; 16],
1012 sponsor: <T as frame_system::Config>::AccountId,1012 sponsor: <T as frame_system::Config>::AccountId,
1013 call: <T as pallet_unq_scheduler::Config>::Call,1013 call: <T as pallet_unique_scheduler::Config>::Call,
1014 count: u32,1014 count: u32,
1015 ) -> Result<(), DispatchError> {1015 ) -> Result<(), DispatchError> {
1016 let dispatch_info = call.get_dispatch_info();1016 let dispatch_info = call.get_dispatch_info();
1027 fn pay_for_call(1027 fn pay_for_call(
1028 id: [u8; 16],1028 id: [u8; 16],
1029 sponsor: <T as frame_system::Config>::AccountId,1029 sponsor: <T as frame_system::Config>::AccountId,
1030 call: <T as pallet_unq_scheduler::Config>::Call,1030 call: <T as pallet_unique_scheduler::Config>::Call,
1031 ) -> Result<u128, DispatchError> {1031 ) -> Result<u128, DispatchError> {
1032 let dispatch_info = call.get_dispatch_info();1032 let dispatch_info = call.get_dispatch_info();
1033 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1033 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
1068 }1068 }
1069}1069}
10701070
1071impl pallet_unq_scheduler::Config for Runtime {1071impl pallet_unique_scheduler::Config for Runtime {
1072 type Event = Event;1072 type Event = Event;
1073 type Origin = Origin;1073 type Origin = Origin;
1074 type Currency = Balances;1074 type Currency = Balances;
1156 // Unique Pallets1156 // Unique Pallets
1157 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1157 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
1158 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1158 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
1159 Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1159 Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
1160 // free = 631160 // free = 63
1161 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1161 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
1162 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1162 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
37 'pallet-proxy-rmrk-equip/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',
38 'pallet-unique/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',
39 'pallet-inflation/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',
40 'pallet-unique-scheduler/runtime-benchmarks',
40 'pallet-xcm/runtime-benchmarks',41 'pallet-xcm/runtime-benchmarks',
41 'sp-runtime/runtime-benchmarks',42 'sp-runtime/runtime-benchmarks',
42 'xcm-builder/runtime-benchmarks',43 'xcm-builder/runtime-benchmarks',
95 'pallet-proxy-rmrk-core/std',96 'pallet-proxy-rmrk-core/std',
96 'pallet-proxy-rmrk-equip/std',97 'pallet-proxy-rmrk-equip/std',
97 'pallet-unique/std',98 'pallet-unique/std',
98 'pallet-unq-scheduler/std',99 'pallet-unique-scheduler/std',
99 'pallet-charge-transaction/std',100 'pallet-charge-transaction/std',
100 'up-data-structs/std',101 'up-data-structs/std',
101 'sp-api/std',102 'sp-api/std',
412pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }413pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
413pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }414pallet-proxy-rmrk-core = { default-features = false, path = "../../pallets/proxy-rmrk-core", package = "pallet-rmrk-core" }
414pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }415pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
415pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }416pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
416# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }417# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
417pallet-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" }418pallet-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" }
418pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }419pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
69 },69 },
70};70};
71use pallet_unq_scheduler::DispatchCall;71use pallet_unique_scheduler::DispatchCall;
72use up_data_structs::{72use up_data_structs::{
73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
74 CollectionStats, RpcCollection,74 CollectionStats, RpcCollection,
967}967}
968968
969pub struct SchedulerPaymentExecutor;969pub struct SchedulerPaymentExecutor;
970impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>970impl<T: frame_system::Config + pallet_unique_scheduler::Config, SelfContainedSignedInfo>
971 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor971 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor
972where972where
973 <T as frame_system::Config>::Call: Member973 <T as frame_system::Config>::Call: Member
977 + From<frame_system::Call<Runtime>>,977 + From<frame_system::Call<Runtime>>,
978 SelfContainedSignedInfo: Send + Sync + 'static,978 SelfContainedSignedInfo: Send + Sync + 'static,
979 Call: From<<T as frame_system::Config>::Call>979 Call: From<<T as frame_system::Config>::Call>
980 + From<<T as pallet_unq_scheduler::Config>::Call>980 + From<<T as pallet_unique_scheduler::Config>::Call>
981 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,981 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
982 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,982 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,
983{983{
984 fn dispatch_call(984 fn dispatch_call(
985 signer: <T as frame_system::Config>::AccountId,985 signer: <T as frame_system::Config>::AccountId,
986 call: <T as pallet_unq_scheduler::Config>::Call,986 call: <T as pallet_unique_scheduler::Config>::Call,
987 ) -> Result<987 ) -> Result<
988 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,988 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,
989 TransactionValidityError,989 TransactionValidityError,
1009 fn reserve_balance(1009 fn reserve_balance(
1010 id: [u8; 16],1010 id: [u8; 16],
1011 sponsor: <T as frame_system::Config>::AccountId,1011 sponsor: <T as frame_system::Config>::AccountId,
1012 call: <T as pallet_unq_scheduler::Config>::Call,1012 call: <T as pallet_unique_scheduler::Config>::Call,
1013 count: u32,1013 count: u32,
1014 ) -> Result<(), DispatchError> {1014 ) -> Result<(), DispatchError> {
1015 let dispatch_info = call.get_dispatch_info();1015 let dispatch_info = call.get_dispatch_info();
1026 fn pay_for_call(1026 fn pay_for_call(
1027 id: [u8; 16],1027 id: [u8; 16],
1028 sponsor: <T as frame_system::Config>::AccountId,1028 sponsor: <T as frame_system::Config>::AccountId,
1029 call: <T as pallet_unq_scheduler::Config>::Call,1029 call: <T as pallet_unique_scheduler::Config>::Call,
1030 ) -> Result<u128, DispatchError> {1030 ) -> Result<u128, DispatchError> {
1031 let dispatch_info = call.get_dispatch_info();1031 let dispatch_info = call.get_dispatch_info();
1032 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1032 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);
1067 }1067 }
1068}1068}
10691069
1070impl pallet_unq_scheduler::Config for Runtime {1070impl pallet_unique_scheduler::Config for Runtime {
1071 type Event = Event;1071 type Event = Event;
1072 type Origin = Origin;1072 type Origin = Origin;
1073 type Currency = Balances;1073 type Currency = Balances;
1155 // Unique Pallets1155 // Unique Pallets
1156 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1156 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,
1157 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1157 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,
1158 Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1158 Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,
1159 // free = 631159 // free = 63
1160 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1160 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,
1161 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1161 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,
modifiedtests/package.jsondiffbeforeafterboth
5 "main": "",5 "main": "",
6 "devDependencies": {6 "devDependencies": {
7 "@polkadot/ts": "0.4.22",7 "@polkadot/ts": "0.4.22",
8 "@polkadot/typegen": "8.7.2-11",8 "@polkadot/typegen": "8.7.2-15",
9 "@types/chai": "^4.3.1",9 "@types/chai": "^4.3.1",
10 "@types/chai-as-promised": "^7.1.5",10 "@types/chai-as-promised": "^7.1.5",
11 "@types/mocha": "^9.1.1",11 "@types/mocha": "^9.1.1",
86 "license": "SEE LICENSE IN ../LICENSE",86 "license": "SEE LICENSE IN ../LICENSE",
87 "homepage": "",87 "homepage": "",
88 "dependencies": {88 "dependencies": {
89 "@polkadot/api": "8.7.2-11",89 "@polkadot/api": "8.7.2-15",
90 "@polkadot/api-contract": "8.7.2-11",90 "@polkadot/api-contract": "8.7.2-15",
91 "@polkadot/util-crypto": "9.4.1",91 "@polkadot/util-crypto": "9.4.1",
92 "bignumber.js": "^9.0.2",92 "bignumber.js": "^9.0.2",
93 "chai-as-promised": "^7.1.1",93 "chai-as-promised": "^7.1.1",
modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
124 * Sender parameter and item owner must be equal.124 * Sender parameter and item owner must be equal.
125 **/125 **/
126 MustBeTokenOwner: AugmentedError<ApiType>;126 MustBeTokenOwner: AugmentedError<ApiType>;
127 /**
128 * Collection has nesting disabled
129 **/
130 NestingIsDisabled: AugmentedError<ApiType>;
131 /**127 /**
132 * No permission to perform action128 * No permission to perform action
133 **/129 **/
136 * Tried to store more property data than allowed132 * Tried to store more property data than allowed
137 **/133 **/
138 NoSpaceForProperty: AugmentedError<ApiType>;134 NoSpaceForProperty: AugmentedError<ApiType>;
139 /**135 /**
140 * Not sufficient founds to perform action136 * Not sufficient funds to perform action
141 **/137 **/
142 NotSufficientFounds: AugmentedError<ApiType>;138 NotSufficientFounds: AugmentedError<ApiType>;
143 /**
144 * Only owner may nest tokens under this collection
145 **/
146 OnlyOwnerAllowedToNest: AugmentedError<ApiType>;
147 /**139 /**
148 * Tried to enable permissions which are only permitted to be disabled140 * Tried to enable permissions which are only permitted to be disabled
149 **/141 **/
184 * Target collection doesn't supports this operation176 * Target collection doesn't supports this operation
185 **/177 **/
186 UnsupportedOperation: AugmentedError<ApiType>;178 UnsupportedOperation: AugmentedError<ApiType>;
179 /**
180 * User not passed nesting rule
181 **/
182 UserIsNotAllowedToNest: AugmentedError<ApiType>;
187 /**183 /**
188 * Generic error184 * Generic error
189 **/185 **/
501 [key: string]: AugmentedError<ApiType>;497 [key: string]: AugmentedError<ApiType>;
502 };498 };
503 structure: {499 structure: {
500 /**
501 * While iterating over children, encountered breadth limit
502 **/
503 BreadthLimit: AugmentedError<ApiType>;
504 /**504 /**
505 * While searched for owner, encountered depth limit505 * While searched for owner, encountered depth limit
506 **/506 **/
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
13 /**13 /**
14 * A balance was set by root.14 * A balance was set by root.
15 **/15 **/
16 BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;16 BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], { who: AccountId32, free: u128, reserved: u128 }>;
17 /**17 /**
18 * Some amount was deposited (e.g. for transaction fees).18 * Some amount was deposited (e.g. for transaction fees).
19 **/19 **/
20 Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;20 Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
21 /**21 /**
22 * An account was removed whose balance was non-zero but below ExistentialDeposit,22 * An account was removed whose balance was non-zero but below ExistentialDeposit,
23 * resulting in an outright loss.23 * resulting in an outright loss.
24 **/24 **/
25 DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;25 DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
26 /**26 /**
27 * An account was created with some free balance.27 * An account was created with some free balance.
28 **/28 **/
29 Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;29 Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
30 /**30 /**
31 * Some balance was reserved (moved from free to reserved).31 * Some balance was reserved (moved from free to reserved).
32 **/32 **/
33 Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;33 Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
34 /**34 /**
35 * Some balance was moved from the reserve of the first account to the second account.35 * Some balance was moved from the reserve of the first account to the second account.
36 * Final argument indicates the destination balance type.36 * Final argument indicates the destination balance type.
37 **/37 **/
38 ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;38 ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
39 /**39 /**
40 * Some amount was removed from the account (e.g. for misbehavior).40 * Some amount was removed from the account (e.g. for misbehavior).
41 **/41 **/
42 Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;42 Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
43 /**43 /**
44 * Transfer succeeded.44 * Transfer succeeded.
45 **/45 **/
46 Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;46 Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
47 /**47 /**
48 * Some balance was unreserved (moved from reserved to free).48 * Some balance was unreserved (moved from reserved to free).
49 **/49 **/
50 Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;50 Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
51 /**51 /**
52 * Some amount was withdrawn from the account (e.g. for transaction fees).52 * Some amount was withdrawn from the account (e.g. for transaction fees).
53 **/53 **/
54 Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;54 Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
55 /**55 /**
56 * Generic event56 * Generic event
57 **/57 **/
398 [key: string]: AugmentedEvent<ApiType>;398 [key: string]: AugmentedEvent<ApiType>;
399 };399 };
400 rmrkCore: {400 rmrkCore: {
401 CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;401 CollectionCreated: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
402 CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;402 CollectionDestroyed: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
403 CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;403 CollectionLocked: AugmentedEvent<ApiType, [issuer: AccountId32, collectionId: u32], { issuer: AccountId32, collectionId: u32 }>;
404 IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;404 IssuerChanged: AugmentedEvent<ApiType, [oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32], { oldIssuer: AccountId32, newIssuer: AccountId32, collectionId: u32 }>;
405 NFTAccepted: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32]>;405 NFTAccepted: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32 }>;
406 NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;406 NFTBurned: AugmentedEvent<ApiType, [owner: AccountId32, nftId: u32], { owner: AccountId32, nftId: u32 }>;
407 NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;407 NftMinted: AugmentedEvent<ApiType, [owner: AccountId32, collectionId: u32, nftId: u32], { owner: AccountId32, collectionId: u32, nftId: u32 }>;
408 NFTRejected: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;408 NFTRejected: AugmentedEvent<ApiType, [sender: AccountId32, collectionId: u32, nftId: u32], { sender: AccountId32, collectionId: u32, nftId: u32 }>;
409 NFTSent: AugmentedEvent<ApiType, [AccountId32, RmrkTraitsNftAccountIdOrCollectionNftTuple, u32, u32, bool]>;409 NFTSent: AugmentedEvent<ApiType, [sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool], { sender: AccountId32, recipient: RmrkTraitsNftAccountIdOrCollectionNftTuple, collectionId: u32, nftId: u32, approvalRequired: bool }>;
410 PrioritySet: AugmentedEvent<ApiType, [u32, u32]>;410 PrioritySet: AugmentedEvent<ApiType, [collectionId: u32, nftId: u32], { collectionId: u32, nftId: u32 }>;
411 PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;411 PropertySet: AugmentedEvent<ApiType, [collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes], { collectionId: u32, maybeNftId: Option<u32>, key: Bytes, value: Bytes }>;
412 ResourceAccepted: AugmentedEvent<ApiType, [u32, u32]>;412 ResourceAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
413 ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;413 ResourceAdded: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
414 ResourceRemoval: AugmentedEvent<ApiType, [u32, u32]>;414 ResourceRemoval: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
415 ResourceRemovalAccepted: AugmentedEvent<ApiType, [u32, u32]>;415 ResourceRemovalAccepted: AugmentedEvent<ApiType, [nftId: u32, resourceId: u32], { nftId: u32, resourceId: u32 }>;
416 /**416 /**
417 * Generic event417 * Generic event
418 **/418 **/
419 [key: string]: AugmentedEvent<ApiType>;419 [key: string]: AugmentedEvent<ApiType>;
420 };420 };
421 rmrkEquip: {421 rmrkEquip: {
422 BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;422 BaseCreated: AugmentedEvent<ApiType, [issuer: AccountId32, baseId: u32], { issuer: AccountId32, baseId: u32 }>;
423 /**423 /**
424 * Generic event424 * Generic event
425 **/425 **/
429 /**429 /**
430 * The call for the provided hash was not found so the task has been aborted.430 * The call for the provided hash was not found so the task has been aborted.
431 **/431 **/
432 CallLookupFailed: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<U8aFixed>, FrameSupportScheduleLookupError]>;432 CallLookupFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, error: FrameSupportScheduleLookupError], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, error: FrameSupportScheduleLookupError }>;
433 /**433 /**
434 * Canceled some task.434 * Canceled some task.
435 **/435 **/
436 Canceled: AugmentedEvent<ApiType, [u32, u32]>;436 Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
437 /**437 /**
438 * Dispatched some task.438 * Dispatched some task.
439 **/439 **/
440 Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<U8aFixed>, Result<Null, SpRuntimeDispatchError>]>;440 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> }>;
441 /**441 /**
442 * Scheduled some task.442 * Scheduled some task.
443 **/443 **/
444 Scheduled: AugmentedEvent<ApiType, [u32, u32]>;444 Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>;
445 /**445 /**
446 * Generic event446 * Generic event
447 **/447 **/
461 /**461 /**
462 * The \[sudoer\] just switched identity; the old key is supplied if one existed.462 * The \[sudoer\] just switched identity; the old key is supplied if one existed.
463 **/463 **/
464 KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;464 KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], { oldSudoer: Option<AccountId32> }>;
465 /**465 /**
466 * A sudo just took place. \[result\]466 * A sudo just took place. \[result\]
467 **/467 **/
468 Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;468 Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
469 /**469 /**
470 * A sudo just took place. \[result\]470 * A sudo just took place. \[result\]
471 **/471 **/
472 SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;472 SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>;
473 /**473 /**
474 * Generic event474 * Generic event
475 **/475 **/
483 /**483 /**
484 * An extrinsic failed.484 * An extrinsic failed.
485 **/485 **/
486 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;486 ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo }>;
487 /**487 /**
488 * An extrinsic completed successfully.488 * An extrinsic completed successfully.
489 **/489 **/
490 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;490 ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchInfo: FrameSupportWeightsDispatchInfo }>;
491 /**491 /**
492 * An account was reaped.492 * An account was reaped.
493 **/493 **/
494 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;494 KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
495 /**495 /**
496 * A new account was created.496 * A new account was created.
497 **/497 **/
498 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;498 NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
499 /**499 /**
500 * On on-chain remark happened.500 * On on-chain remark happened.
501 **/501 **/
502 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;502 Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
503 /**503 /**
504 * Generic event504 * Generic event
505 **/505 **/
509 /**509 /**
510 * Some funds have been allocated.510 * Some funds have been allocated.
511 **/511 **/
512 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;512 Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], { proposalIndex: u32, award: u128, account: AccountId32 }>;
513 /**513 /**
514 * Some of our funds have been burnt.514 * Some of our funds have been burnt.
515 **/515 **/
516 Burnt: AugmentedEvent<ApiType, [u128]>;516 Burnt: AugmentedEvent<ApiType, [burntFunds: u128], { burntFunds: u128 }>;
517 /**517 /**
518 * Some funds have been deposited.518 * Some funds have been deposited.
519 **/519 **/
520 Deposit: AugmentedEvent<ApiType, [u128]>;520 Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
521 /**521 /**
522 * New proposal.522 * New proposal.
523 **/523 **/
524 Proposed: AugmentedEvent<ApiType, [u32]>;524 Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
525 /**525 /**
526 * A proposal was rejected; funds were slashed.526 * A proposal was rejected; funds were slashed.
527 **/527 **/
528 Rejected: AugmentedEvent<ApiType, [u32, u128]>;528 Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
529 /**529 /**
530 * Spending has finished; this is the amount that rolls over until next spend.530 * Spending has finished; this is the amount that rolls over until next spend.
531 **/531 **/
532 Rollover: AugmentedEvent<ApiType, [u128]>;532 Rollover: AugmentedEvent<ApiType, [rolloverBalance: u128], { rolloverBalance: u128 }>;
533 /**533 /**
534 * We have ended a spend period and will now allocate funds.534 * We have ended a spend period and will now allocate funds.
535 **/535 **/
536 Spending: AugmentedEvent<ApiType, [u128]>;536 Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], { budgetRemaining: u128 }>;
537 /**537 /**
538 * Generic event538 * Generic event
539 **/539 **/
636 /**636 /**
637 * Claimed vesting.637 * Claimed vesting.
638 **/638 **/
639 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;639 Claimed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
640 /**640 /**
641 * Added new vesting schedule.641 * Added new vesting schedule.
642 **/642 **/
643 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;643 VestingScheduleAdded: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, vestingSchedule: OrmlVestingVestingSchedule], { from: AccountId32, to: AccountId32, vestingSchedule: OrmlVestingVestingSchedule }>;
644 /**644 /**
645 * Updated vesting schedules.645 * Updated vesting schedules.
646 **/646 **/
647 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;647 VestingSchedulesUpdated: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
648 /**648 /**
649 * Generic event649 * Generic event
650 **/650 **/
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
5import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
8import 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';8import 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';
9import type { Observable } from '@polkadot/types/types';9import type { Observable } from '@polkadot/types/types';
1010
11declare module '@polkadot/api-base/types/storage' {11declare module '@polkadot/api-base/types/storage' {
436 /**436 /**
437 * Items to be executed, indexed by the block number that they should be executed on.437 * Items to be executed, indexed by the block number that they should be executed on.
438 **/438 **/
439 agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUnqSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;439 agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUniqueSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
440 /**440 /**
441 * Lookup from identity to the block number and index of the task.441 * Lookup from identity to the block number and index of the task.
442 **/442 **/
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
18import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';18import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
19import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';19import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
20import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';20import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
21import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';21import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
22import type { StorageKind } from '@polkadot/types/interfaces/offchain';22import type { StorageKind } from '@polkadot/types/interfaces/offchain';
23import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';23import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
24import type { RpcMethods } from '@polkadot/types/interfaces/rpc';24import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
354 subscribeJustifications: AugmentedRpc<() => Observable<JustificationNotification>>;354 subscribeJustifications: AugmentedRpc<() => Observable<JustificationNotification>>;
355 };355 };
356 mmr: {356 mmr: {
357 /**
358 * Generate MMR proof for the given leaf indices.
359 **/
360 generateBatchProof: AugmentedRpc<(leafIndices: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
357 /**361 /**
358 * Generate MMR proof for given leaf index.362 * Generate MMR proof for given leaf index.
359 **/363 **/
360 generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;364 generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>;
361 };365 };
362 net: {366 net: {
363 /**367 /**
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
347 [key: string]: SubmittableExtrinsicFunction<ApiType>;347 [key: string]: SubmittableExtrinsicFunction<ApiType>;
348 };348 };
349 rmrkCore: {349 rmrkCore: {
350 /**
351 * Accepts an NFT sent from another account to self or owned NFT
352 *
353 * Parameters:
354 * - `origin`: sender of the transaction
355 * - `rmrk_collection_id`: collection id of the nft to be accepted
356 * - `rmrk_nft_id`: nft id of the nft to be accepted
357 * - `new_owner`: either origin's account ID or origin-owned NFT, whichever the NFT was
358 * sent to
359 **/
350 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;360 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
361 /**
362 * accept the addition of a new resource to an existing NFT
363 **/
351 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;364 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
365 /**
366 * accept the removal of a resource of an existing NFT
367 **/
352 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;368 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, rmrkResourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
369 /**
370 * Create basic resource
371 **/
353 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]>;372 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]>;
373 /**
374 * Create composable resource
375 **/
354 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]>;376 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]>;
377 /**
378 * Create slot resource
379 **/
355 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]>;380 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]>;
381 /**
382 * burn nft
383 **/
356 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;384 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
385 /**
386 * Change the issuer of a collection
387 *
388 * Parameters:
389 * - `origin`: sender of the transaction
390 * - `collection_id`: collection id of the nft to change issuer of
391 * - `new_issuer`: Collection's new issuer
392 **/
357 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;393 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
394 /**
395 * Create a collection
396 **/
358 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;397 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
398 /**
399 * destroy collection
400 **/
359 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;401 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
402 /**
403 * lock collection
404 **/
360 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;405 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
406 /**
407 * Mints an NFT in the specified collection
408 * Sets metadata and the royalty attribute
409 *
410 * Parameters:
411 * - `collection_id`: The class of the asset to be minted.
412 * - `nft_id`: The nft value of the asset to be minted.
413 * - `recipient`: Receiver of the royalty
414 * - `royalty`: Permillage reward from each trade for the Recipient
415 * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash
416 * - `transferable`: Ability to transfer this NFT
417 **/
361 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]>;418 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]>;
419 /**
420 * Rejects an NFT sent from another account to self or owned NFT
421 *
422 * Parameters:
423 * - `origin`: sender of the transaction
424 * - `rmrk_collection_id`: collection id of the nft to be accepted
425 * - `rmrk_nft_id`: nft id of the nft to be accepted
426 **/
362 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;427 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
428 /**
429 * remove resource
430 **/
363 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;431 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
432 /**
433 * Transfers a NFT from an Account or NFT A to another Account or NFT B
434 *
435 * Parameters:
436 * - `origin`: sender of the transaction
437 * - `rmrk_collection_id`: collection id of the nft to be transferred
438 * - `rmrk_nft_id`: nft id of the nft to be transferred
439 * - `new_owner`: new owner of the nft which can be either an account or a NFT
440 **/
364 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;441 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;
442 /**
443 * set a different order of resource priority
444 **/
365 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;445 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;
446 /**
447 * set a custom value on an NFT
448 **/
366 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]>;449 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]>;
367 /**450 /**
368 * Generic tx451 * Generic tx
369 **/452 **/
370 [key: string]: SubmittableExtrinsicFunction<ApiType>;453 [key: string]: SubmittableExtrinsicFunction<ApiType>;
371 };454 };
372 rmrkEquip: {455 rmrkEquip: {
456 /**
457 * Creates a new Base.
458 * Modeled after [base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)
459 *
460 * Parameters:
461 * - origin: Caller, will be assigned as the issuer of the Base
462 * - base_type: media type, e.g. "svg"
463 * - symbol: arbitrary client-chosen symbol
464 * - parts: array of Fixed and Slot parts composing the base, confined in length by
465 * RmrkPartsLimit
466 **/
373 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>]>;467 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>]>;
468 /**
469 * Adds a Theme to a Base.
470 * Modeled after [themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md)
471 * Themes are stored in the Themes storage
472 * A Theme named "default" is required prior to adding other Themes.
473 *
474 * Parameters:
475 * - origin: The caller of the function, must be issuer of the base
476 * - base_id: The Base containing the Theme to be updated
477 * - theme: The Theme to add to the Base. A Theme has a name and properties, which are an
478 * array of [key, value, inherit].
479 * - key: arbitrary BoundedString, defined by client
480 * - value: arbitrary BoundedString, defined by client
481 * - inherit: optional bool
482 **/
374 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;483 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;
375 /**484 /**
376 * Generic tx485 * Generic tx
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import 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';4import 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';
5import type { Data, StorageKey } from '@polkadot/types';5import type { Data, StorageKey } from '@polkadot/types';
6import 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';6import 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';
7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
8import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';8import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
9import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';9import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
36import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';36import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
37import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';37import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
38import 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';38import 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';
39import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';39import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
40import type { StorageKind } from '@polkadot/types/interfaces/offchain';40import type { StorageKind } from '@polkadot/types/interfaces/offchain';
41import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';41import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
42import 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';42import 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 MetadataV14: MetadataV14;664 MetadataV14: MetadataV14;
665 MetadataV9: MetadataV9;665 MetadataV9: MetadataV9;
666 MigrationStatusResult: MigrationStatusResult;666 MigrationStatusResult: MigrationStatusResult;
667 MmrLeafBatchProof: MmrLeafBatchProof;
667 MmrLeafProof: MmrLeafProof;668 MmrLeafProof: MmrLeafProof;
668 MmrRootHash: MmrRootHash;669 MmrRootHash: MmrRootHash;
669 ModuleConstantMetadataV10: ModuleConstantMetadataV10;670 ModuleConstantMetadataV10: ModuleConstantMetadataV10;
731 OpenTipTip: OpenTipTip;732 OpenTipTip: OpenTipTip;
732 OpenTipTo225: OpenTipTo225;733 OpenTipTo225: OpenTipTo225;
733 OperatingMode: OperatingMode;734 OperatingMode: OperatingMode;
735 OptionBool: OptionBool;
734 Origin: Origin;736 Origin: Origin;
735 OriginCaller: OriginCaller;737 OriginCaller: OriginCaller;
736 OriginKindV0: OriginKindV0;738 OriginKindV0: OriginKindV0;
817 PalletUniqueCall: PalletUniqueCall;819 PalletUniqueCall: PalletUniqueCall;
818 PalletUniqueError: PalletUniqueError;820 PalletUniqueError: PalletUniqueError;
819 PalletUniqueRawEvent: PalletUniqueRawEvent;821 PalletUniqueRawEvent: PalletUniqueRawEvent;
820 PalletUnqSchedulerCall: PalletUnqSchedulerCall;822 PalletUniqueSchedulerCall: PalletUniqueSchedulerCall;
821 PalletUnqSchedulerError: PalletUnqSchedulerError;823 PalletUniqueSchedulerError: PalletUniqueSchedulerError;
822 PalletUnqSchedulerEvent: PalletUnqSchedulerEvent;824 PalletUniqueSchedulerEvent: PalletUniqueSchedulerEvent;
823 PalletUnqSchedulerScheduledV3: PalletUnqSchedulerScheduledV3;825 PalletUniqueSchedulerScheduledV3: PalletUniqueSchedulerScheduledV3;
824 PalletVersion: PalletVersion;826 PalletVersion: PalletVersion;
825 PalletXcmCall: PalletXcmCall;827 PalletXcmCall: PalletXcmCall;
826 PalletXcmError: PalletXcmError;828 PalletXcmError: PalletXcmError;
1216 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;1218 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
1217 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;1219 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
1218 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;1220 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
1219 UpDataStructsNestingRule: UpDataStructsNestingRule;1221 UpDataStructsNestingPermissions: UpDataStructsNestingPermissions;
1222 UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet;
1220 UpDataStructsProperties: UpDataStructsProperties;1223 UpDataStructsProperties: UpDataStructsProperties;
1221 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;1224 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
1222 UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;1225 UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
935 readonly isAddressIsZero: boolean;935 readonly isAddressIsZero: boolean;
936 readonly isUnsupportedOperation: boolean;936 readonly isUnsupportedOperation: boolean;
937 readonly isNotSufficientFounds: boolean;937 readonly isNotSufficientFounds: boolean;
938 readonly isNestingIsDisabled: boolean;938 readonly isUserIsNotAllowedToNest: boolean;
939 readonly isOnlyOwnerAllowedToNest: boolean;
940 readonly isSourceCollectionIsNotAllowedToNest: boolean;939 readonly isSourceCollectionIsNotAllowedToNest: boolean;
941 readonly isCollectionFieldSizeExceeded: boolean;940 readonly isCollectionFieldSizeExceeded: boolean;
942 readonly isNoSpaceForProperty: boolean;941 readonly isNoSpaceForProperty: boolean;
946 readonly isEmptyPropertyKey: boolean;945 readonly isEmptyPropertyKey: boolean;
947 readonly isCollectionIsExternal: boolean;946 readonly isCollectionIsExternal: boolean;
948 readonly isCollectionIsInternal: boolean;947 readonly isCollectionIsInternal: boolean;
949 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';948 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';
950}949}
951950
952/** @name PalletCommonEvent */951/** @name PalletCommonEvent */
1445export interface PalletStructureError extends Enum {1444export interface PalletStructureError extends Enum {
1446 readonly isOuroborosDetected: boolean;1445 readonly isOuroborosDetected: boolean;
1447 readonly isDepthLimit: boolean;1446 readonly isDepthLimit: boolean;
1447 readonly isBreadthLimit: boolean;
1448 readonly isTokenNotFound: boolean;1448 readonly isTokenNotFound: boolean;
1449 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';1449 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
1450}1450}
14511451
1452/** @name PalletStructureEvent */1452/** @name PalletStructureEvent */
1784 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';1784 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
1785}1785}
17861786
1787/** @name PalletUnqSchedulerCall */1787/** @name PalletUniqueSchedulerCall */
1788export interface PalletUnqSchedulerCall extends Enum {1788export interface PalletUniqueSchedulerCall extends Enum {
1789 readonly isScheduleNamed: boolean;1789 readonly isScheduleNamed: boolean;
1790 readonly asScheduleNamed: {1790 readonly asScheduleNamed: {
1791 readonly id: U8aFixed;1791 readonly id: U8aFixed;
1809 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1809 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
1810}1810}
18111811
1812/** @name PalletUnqSchedulerError */1812/** @name PalletUniqueSchedulerError */
1813export interface PalletUnqSchedulerError extends Enum {1813export interface PalletUniqueSchedulerError extends Enum {
1814 readonly isFailedToSchedule: boolean;1814 readonly isFailedToSchedule: boolean;
1815 readonly isNotFound: boolean;1815 readonly isNotFound: boolean;
1816 readonly isTargetBlockNumberInPast: boolean;1816 readonly isTargetBlockNumberInPast: boolean;
1817 readonly isRescheduleNoChange: boolean;1817 readonly isRescheduleNoChange: boolean;
1818 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';1818 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
1819}1819}
18201820
1821/** @name PalletUnqSchedulerEvent */1821/** @name PalletUniqueSchedulerEvent */
1822export interface PalletUnqSchedulerEvent extends Enum {1822export interface PalletUniqueSchedulerEvent extends Enum {
1823 readonly isScheduled: boolean;1823 readonly isScheduled: boolean;
1824 readonly asScheduled: {1824 readonly asScheduled: {
1825 readonly when: u32;1825 readonly when: u32;
1845 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';1845 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';
1846}1846}
18471847
1848/** @name PalletUnqSchedulerScheduledV3 */1848/** @name PalletUniqueSchedulerScheduledV3 */
1849export interface PalletUnqSchedulerScheduledV3 extends Struct {1849export interface PalletUniqueSchedulerScheduledV3 extends Struct {
1850 readonly maybeId: Option<U8aFixed>;1850 readonly maybeId: Option<U8aFixed>;
1851 readonly priority: u8;1851 readonly priority: u8;
1852 readonly call: FrameSupportScheduleMaybeHashed;1852 readonly call: FrameSupportScheduleMaybeHashed;
2348export interface UpDataStructsCollectionPermissions extends Struct {2348export interface UpDataStructsCollectionPermissions extends Struct {
2349 readonly access: Option<UpDataStructsAccessMode>;2349 readonly access: Option<UpDataStructsAccessMode>;
2350 readonly mintMode: Option<bool>;2350 readonly mintMode: Option<bool>;
2351 readonly nesting: Option<UpDataStructsNestingRule>;2351 readonly nesting: Option<UpDataStructsNestingPermissions>;
2352}2352}
23532353
2354/** @name UpDataStructsCollectionStats */2354/** @name UpDataStructsCollectionStats */
2424 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;2424 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
2425}2425}
24262426
2427/** @name UpDataStructsNestingRule */2427/** @name UpDataStructsNestingPermissions */
2428export interface UpDataStructsNestingRule extends Enum {2428export interface UpDataStructsNestingPermissions extends Struct {
2429 readonly isDisabled: boolean;2429 readonly tokenOwner: bool;
2430 readonly isOwner: boolean;2430 readonly admin: bool;
2431 readonly isOwnerRestricted: boolean;
2432 readonly asOwnerRestricted: BTreeSet<u32>;2431 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
2433 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';2432 readonly permissive: bool;
2434}2433}
2434
2435/** @name UpDataStructsOwnerRestrictedSet */
2436export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
24352437
2436/** @name UpDataStructsProperties */2438/** @name UpDataStructsProperties */
2437export interface UpDataStructsProperties extends Struct {2439export interface UpDataStructsProperties extends Struct {
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
1425 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::NestingPermissions
1432 **/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::OwnerRestrictedSet
1441 **/
1442 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',
1440 /**1443 /**
1441 * Lookup175: up_data_structs::PropertyKeyPermission1444 * Lookup177: up_data_structs::PropertyKeyPermission
1442 **/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::PropertyPermission
1449 **/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::Property
1457 **/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::CreateItemData
1473 **/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::CreateNftData
1483 **/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::CreateFungibleData
1489 **/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::CreateReFungibleData
1495 **/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::TransactionV2
1818 **/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::LegacyTransaction
1828 **/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::TransactionAction
1840 **/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::TransactionSignature
1849 **/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::EIP2930Transaction
1857 **/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::AccessListItem
1873 **/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::EIP1559Transaction
1880 **/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::DispatchError
1931 **/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::ModuleError
1948 **/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::TokenError
1955 **/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::ArithmeticError
1961 **/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::TransactionalError
1967 **/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::Digest
1997 **/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::DigestItem
2003 **/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::DispatchInfo
2055 **/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::DispatchClass
2063 **/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::Pays
2069 **/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::Outcome
2132 **/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::LookupError
2207 **/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::Log
2341 **/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::Event
2349 **/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::ExitReason
2357 **/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::ExitSucceed
2368 **/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::ExitError
2374 **/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::ExitRevert
2396 **/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::ExitFatal
2402 **/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::Phase
2413 **/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::LastRuntimeUpgradeInfo
2423 **/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::BlockWeights
2430 **/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::WeightsPerClass
2446 **/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::BlockLength
2455 **/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::RuntimeDbWeight
2469 **/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::RuntimeVersion
2476 **/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::InboundChannelDetails
2501 **/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::InboundState
2509 **/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::XcmpMessageFormat
2515 **/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::OutboundChannelDetails
2521 **/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::OutboundState
2531 **/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::QueueConfigData
2537 **/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::ConfigData
2564 **/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::PageIndexData
2570 **/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::OriginCaller
2600 **/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::Origin
2719 **/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::Origin
2728 **/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::RawOrigin
2737 **/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::Void
2745 **/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::Properties
2779 **/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::CollectionStats
2795 **/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::TokenChild
2803 **/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::NftChild
2898 **/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::ItemData
2917 **/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::TransactionStatus
2965 **/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::Bloom
2977 **/2980 **/
2978 EthbloomBloom: '[u8;256]',2981 EthbloomBloom: '[u8;256]',
2979 /**2982 /**
2980 * Lookup406: ethereum::receipt::ReceiptV32983 * Lookup408: ethereum::receipt::ReceiptV3
2981 **/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::EIP658ReceiptData
2991 **/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::Header
3008 **/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::H64
3028 **/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::SponsoringModeT
3044 **/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::MultiSignature
3062 **/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::Signature
3072 **/3075 **/
3073 SpCoreEd25519Signature: '[u8;64]',3076 SpCoreEd25519Signature: '[u8;64]',
3074 /**3077 /**
3075 * Lookup425: sp_core::sr25519::Signature3078 * Lookup427: sp_core::sr25519::Signature
3076 **/3079 **/
3077 SpCoreSr25519Signature: '[u8;64]',3080 SpCoreSr25519Signature: '[u8;64]',
3078 /**3081 /**
3079 * Lookup426: sp_core::ecdsa::Signature3082 * Lookup428: sp_core::ecdsa::Signature
3080 **/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::Runtime
3104 **/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};
31113114
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import 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';4import 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';
55
6declare module '@polkadot/types/types/registry' {6declare module '@polkadot/types/types/registry' {
7 export interface InterfaceTypes {7 export interface InterfaceTypes {
133 PalletUniqueCall: PalletUniqueCall;133 PalletUniqueCall: PalletUniqueCall;
134 PalletUniqueError: PalletUniqueError;134 PalletUniqueError: PalletUniqueError;
135 PalletUniqueRawEvent: PalletUniqueRawEvent;135 PalletUniqueRawEvent: PalletUniqueRawEvent;
136 PalletUnqSchedulerCall: PalletUnqSchedulerCall;136 PalletUniqueSchedulerCall: PalletUniqueSchedulerCall;
137 PalletUnqSchedulerError: PalletUnqSchedulerError;137 PalletUniqueSchedulerError: PalletUniqueSchedulerError;
138 PalletUnqSchedulerEvent: PalletUnqSchedulerEvent;138 PalletUniqueSchedulerEvent: PalletUniqueSchedulerEvent;
139 PalletUnqSchedulerScheduledV3: PalletUnqSchedulerScheduledV3;139 PalletUniqueSchedulerScheduledV3: PalletUniqueSchedulerScheduledV3;
140 PalletXcmCall: PalletXcmCall;140 PalletXcmCall: PalletXcmCall;
141 PalletXcmError: PalletXcmError;141 PalletXcmError: PalletXcmError;
142 PalletXcmEvent: PalletXcmEvent;142 PalletXcmEvent: PalletXcmEvent;
196 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;196 UpDataStructsCreateNftExData: UpDataStructsCreateNftExData;
197 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;197 UpDataStructsCreateReFungibleData: UpDataStructsCreateReFungibleData;
198 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;198 UpDataStructsCreateRefungibleExData: UpDataStructsCreateRefungibleExData;
199 UpDataStructsNestingRule: UpDataStructsNestingRule;199 UpDataStructsNestingPermissions: UpDataStructsNestingPermissions;
200 UpDataStructsOwnerRestrictedSet: UpDataStructsOwnerRestrictedSet;
200 UpDataStructsProperties: UpDataStructsProperties;201 UpDataStructsProperties: UpDataStructsProperties;
201 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;202 UpDataStructsPropertiesMapBoundedVec: UpDataStructsPropertiesMapBoundedVec;
202 UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;203 UpDataStructsPropertiesMapPropertyPermission: UpDataStructsPropertiesMapPropertyPermission;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
1556 export interface UpDataStructsCollectionPermissions extends Struct {1556 export interface UpDataStructsCollectionPermissions extends Struct {
1557 readonly access: Option<UpDataStructsAccessMode>;1557 readonly access: Option<UpDataStructsAccessMode>;
1558 readonly mintMode: Option<bool>;1558 readonly mintMode: Option<bool>;
1559 readonly nesting: Option<UpDataStructsNestingRule>;1559 readonly nesting: Option<UpDataStructsNestingPermissions>;
1560 }1560 }
15611561
1562 /** @name UpDataStructsNestingRule (169) */1562 /** @name UpDataStructsNestingPermissions (169) */
1563 export interface UpDataStructsNestingRule extends Enum {1563 export interface UpDataStructsNestingPermissions extends Struct {
1564 readonly isDisabled: boolean;1564 readonly tokenOwner: bool;
1565 readonly isOwner: boolean;1565 readonly admin: bool;
1566 readonly isOwnerRestricted: boolean;
1567 readonly asOwnerRestricted: BTreeSet<u32>;1566 readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
1568 readonly type: 'Disabled' | 'Owner' | 'OwnerRestricted';1567 readonly permissive: bool;
1569 }1568 }
1569
1570 /** @name UpDataStructsOwnerRestrictedSet (171) */
1571 export interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
15701572
1571 /** @name UpDataStructsPropertyKeyPermission (175) */1573 /** @name UpDataStructsPropertyKeyPermission (177) */
1572 export interface UpDataStructsPropertyKeyPermission extends Struct {1574 export interface UpDataStructsPropertyKeyPermission extends Struct {
1573 readonly key: Bytes;1575 readonly key: Bytes;
1574 readonly permission: UpDataStructsPropertyPermission;1576 readonly permission: UpDataStructsPropertyPermission;
1575 }1577 }
15761578
1577 /** @name UpDataStructsPropertyPermission (177) */1579 /** @name UpDataStructsPropertyPermission (179) */
1578 export interface UpDataStructsPropertyPermission extends Struct {1580 export interface UpDataStructsPropertyPermission extends Struct {
1579 readonly mutable: bool;1581 readonly mutable: bool;
1580 readonly collectionAdmin: bool;1582 readonly collectionAdmin: bool;
1581 readonly tokenOwner: bool;1583 readonly tokenOwner: bool;
1582 }1584 }
15831585
1584 /** @name UpDataStructsProperty (180) */1586 /** @name UpDataStructsProperty (182) */
1585 export interface UpDataStructsProperty extends Struct {1587 export interface UpDataStructsProperty extends Struct {
1586 readonly key: Bytes;1588 readonly key: Bytes;
1587 readonly value: Bytes;1589 readonly value: Bytes;
1588 }1590 }
15891591
1590 /** @name PalletEvmAccountBasicCrossAccountIdRepr (183) */1592 /** @name PalletEvmAccountBasicCrossAccountIdRepr (185) */
1591 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {1593 export interface PalletEvmAccountBasicCrossAccountIdRepr extends Enum {
1592 readonly isSubstrate: boolean;1594 readonly isSubstrate: boolean;
1593 readonly asSubstrate: AccountId32;1595 readonly asSubstrate: AccountId32;
1596 readonly type: 'Substrate' | 'Ethereum';1598 readonly type: 'Substrate' | 'Ethereum';
1597 }1599 }
15981600
1599 /** @name UpDataStructsCreateItemData (185) */1601 /** @name UpDataStructsCreateItemData (187) */
1600 export interface UpDataStructsCreateItemData extends Enum {1602 export interface UpDataStructsCreateItemData extends Enum {
1601 readonly isNft: boolean;1603 readonly isNft: boolean;
1602 readonly asNft: UpDataStructsCreateNftData;1604 readonly asNft: UpDataStructsCreateNftData;
1607 readonly type: 'Nft' | 'Fungible' | 'ReFungible';1609 readonly type: 'Nft' | 'Fungible' | 'ReFungible';
1608 }1610 }
16091611
1610 /** @name UpDataStructsCreateNftData (186) */1612 /** @name UpDataStructsCreateNftData (188) */
1611 export interface UpDataStructsCreateNftData extends Struct {1613 export interface UpDataStructsCreateNftData extends Struct {
1612 readonly properties: Vec<UpDataStructsProperty>;1614 readonly properties: Vec<UpDataStructsProperty>;
1613 }1615 }
16141616
1615 /** @name UpDataStructsCreateFungibleData (187) */1617 /** @name UpDataStructsCreateFungibleData (189) */
1616 export interface UpDataStructsCreateFungibleData extends Struct {1618 export interface UpDataStructsCreateFungibleData extends Struct {
1617 readonly value: u128;1619 readonly value: u128;
1618 }1620 }
16191621
1620 /** @name UpDataStructsCreateReFungibleData (188) */1622 /** @name UpDataStructsCreateReFungibleData (190) */
1621 export interface UpDataStructsCreateReFungibleData extends Struct {1623 export interface UpDataStructsCreateReFungibleData extends Struct {
1622 readonly constData: Bytes;1624 readonly constData: Bytes;
1623 readonly pieces: u128;1625 readonly pieces: u128;
1624 }1626 }
16251627
1626 /** @name UpDataStructsCreateItemExData (193) */1628 /** @name UpDataStructsCreateItemExData (195) */
1627 export interface UpDataStructsCreateItemExData extends Enum {1629 export interface UpDataStructsCreateItemExData extends Enum {
1628 readonly isNft: boolean;1630 readonly isNft: boolean;
1629 readonly asNft: Vec<UpDataStructsCreateNftExData>;1631 readonly asNft: Vec<UpDataStructsCreateNftExData>;
1636 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';1638 readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
1637 }1639 }
16381640
1639 /** @name UpDataStructsCreateNftExData (195) */1641 /** @name UpDataStructsCreateNftExData (197) */
1640 export interface UpDataStructsCreateNftExData extends Struct {1642 export interface UpDataStructsCreateNftExData extends Struct {
1641 readonly properties: Vec<UpDataStructsProperty>;1643 readonly properties: Vec<UpDataStructsProperty>;
1642 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;1644 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
1643 }1645 }
16441646
1645 /** @name UpDataStructsCreateRefungibleExData (202) */1647 /** @name UpDataStructsCreateRefungibleExData (204) */
1646 export interface UpDataStructsCreateRefungibleExData extends Struct {1648 export interface UpDataStructsCreateRefungibleExData extends Struct {
1647 readonly constData: Bytes;1649 readonly constData: Bytes;
1648 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;1650 readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
1649 }1651 }
16501652
1651 /** @name PalletUnqSchedulerCall (204) */1653 /** @name PalletUniqueSchedulerCall (206) */
1652 export interface PalletUnqSchedulerCall extends Enum {1654 export interface PalletUniqueSchedulerCall extends Enum {
1653 readonly isScheduleNamed: boolean;1655 readonly isScheduleNamed: boolean;
1654 readonly asScheduleNamed: {1656 readonly asScheduleNamed: {
1655 readonly id: U8aFixed;1657 readonly id: U8aFixed;
1673 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';1675 readonly type: 'ScheduleNamed' | 'CancelNamed' | 'ScheduleNamedAfter';
1674 }1676 }
16751677
1676 /** @name FrameSupportScheduleMaybeHashed (206) */1678 /** @name FrameSupportScheduleMaybeHashed (208) */
1677 export interface FrameSupportScheduleMaybeHashed extends Enum {1679 export interface FrameSupportScheduleMaybeHashed extends Enum {
1678 readonly isValue: boolean;1680 readonly isValue: boolean;
1679 readonly asValue: Call;1681 readonly asValue: Call;
1682 readonly type: 'Value' | 'Hash';1684 readonly type: 'Value' | 'Hash';
1683 }1685 }
16841686
1685 /** @name PalletTemplateTransactionPaymentCall (207) */1687 /** @name PalletTemplateTransactionPaymentCall (209) */
1686 export type PalletTemplateTransactionPaymentCall = Null;1688 export type PalletTemplateTransactionPaymentCall = Null;
16871689
1688 /** @name PalletStructureCall (208) */1690 /** @name PalletStructureCall (210) */
1689 export type PalletStructureCall = Null;1691 export type PalletStructureCall = Null;
16901692
1691 /** @name PalletRmrkCoreCall (209) */1693 /** @name PalletRmrkCoreCall (211) */
1692 export interface PalletRmrkCoreCall extends Enum {1694 export interface PalletRmrkCoreCall extends Enum {
1693 readonly isCreateCollection: boolean;1695 readonly isCreateCollection: boolean;
1694 readonly asCreateCollection: {1696 readonly asCreateCollection: {
1793 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';1795 readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
1794 }1796 }
17951797
1796 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (213) */1798 /** @name RmrkTraitsNftAccountIdOrCollectionNftTuple (215) */
1797 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {1799 export interface RmrkTraitsNftAccountIdOrCollectionNftTuple extends Enum {
1798 readonly isAccountId: boolean;1800 readonly isAccountId: boolean;
1799 readonly asAccountId: AccountId32;1801 readonly asAccountId: AccountId32;
1802 readonly type: 'AccountId' | 'CollectionAndNftTuple';1804 readonly type: 'AccountId' | 'CollectionAndNftTuple';
1803 }1805 }
18041806
1805 /** @name RmrkTraitsResourceBasicResource (217) */1807 /** @name RmrkTraitsResourceBasicResource (219) */
1806 export interface RmrkTraitsResourceBasicResource extends Struct {1808 export interface RmrkTraitsResourceBasicResource extends Struct {
1807 readonly src: Option<Bytes>;1809 readonly src: Option<Bytes>;
1808 readonly metadata: Option<Bytes>;1810 readonly metadata: Option<Bytes>;
1809 readonly license: Option<Bytes>;1811 readonly license: Option<Bytes>;
1810 readonly thumb: Option<Bytes>;1812 readonly thumb: Option<Bytes>;
1811 }1813 }
18121814
1813 /** @name RmrkTraitsResourceComposableResource (220) */1815 /** @name RmrkTraitsResourceComposableResource (222) */
1814 export interface RmrkTraitsResourceComposableResource extends Struct {1816 export interface RmrkTraitsResourceComposableResource extends Struct {
1815 readonly parts: Vec<u32>;1817 readonly parts: Vec<u32>;
1816 readonly base: u32;1818 readonly base: u32;
1820 readonly thumb: Option<Bytes>;1822 readonly thumb: Option<Bytes>;
1821 }1823 }
18221824
1823 /** @name RmrkTraitsResourceSlotResource (222) */1825 /** @name RmrkTraitsResourceSlotResource (224) */
1824 export interface RmrkTraitsResourceSlotResource extends Struct {1826 export interface RmrkTraitsResourceSlotResource extends Struct {
1825 readonly base: u32;1827 readonly base: u32;
1826 readonly src: Option<Bytes>;1828 readonly src: Option<Bytes>;
1830 readonly thumb: Option<Bytes>;1832 readonly thumb: Option<Bytes>;
1831 }1833 }
18321834
1833 /** @name PalletRmrkEquipCall (223) */1835 /** @name PalletRmrkEquipCall (225) */
1834 export interface PalletRmrkEquipCall extends Enum {1836 export interface PalletRmrkEquipCall extends Enum {
1835 readonly isCreateBase: boolean;1837 readonly isCreateBase: boolean;
1836 readonly asCreateBase: {1838 readonly asCreateBase: {
1846 readonly type: 'CreateBase' | 'ThemeAdd';1848 readonly type: 'CreateBase' | 'ThemeAdd';
1847 }1849 }
18481850
1849 /** @name RmrkTraitsPartPartType (225) */1851 /** @name RmrkTraitsPartPartType (227) */
1850 export interface RmrkTraitsPartPartType extends Enum {1852 export interface RmrkTraitsPartPartType extends Enum {
1851 readonly isFixedPart: boolean;1853 readonly isFixedPart: boolean;
1852 readonly asFixedPart: RmrkTraitsPartFixedPart;1854 readonly asFixedPart: RmrkTraitsPartFixedPart;
1855 readonly type: 'FixedPart' | 'SlotPart';1857 readonly type: 'FixedPart' | 'SlotPart';
1856 }1858 }
18571859
1858 /** @name RmrkTraitsPartFixedPart (227) */1860 /** @name RmrkTraitsPartFixedPart (229) */
1859 export interface RmrkTraitsPartFixedPart extends Struct {1861 export interface RmrkTraitsPartFixedPart extends Struct {
1860 readonly id: u32;1862 readonly id: u32;
1861 readonly z: u32;1863 readonly z: u32;
1862 readonly src: Bytes;1864 readonly src: Bytes;
1863 }1865 }
18641866
1865 /** @name RmrkTraitsPartSlotPart (228) */1867 /** @name RmrkTraitsPartSlotPart (230) */
1866 export interface RmrkTraitsPartSlotPart extends Struct {1868 export interface RmrkTraitsPartSlotPart extends Struct {
1867 readonly id: u32;1869 readonly id: u32;
1868 readonly equippable: RmrkTraitsPartEquippableList;1870 readonly equippable: RmrkTraitsPartEquippableList;
1869 readonly src: Bytes;1871 readonly src: Bytes;
1870 readonly z: u32;1872 readonly z: u32;
1871 }1873 }
18721874
1873 /** @name RmrkTraitsPartEquippableList (229) */1875 /** @name RmrkTraitsPartEquippableList (231) */
1874 export interface RmrkTraitsPartEquippableList extends Enum {1876 export interface RmrkTraitsPartEquippableList extends Enum {
1875 readonly isAll: boolean;1877 readonly isAll: boolean;
1876 readonly isEmpty: boolean;1878 readonly isEmpty: boolean;
1879 readonly type: 'All' | 'Empty' | 'Custom';1881 readonly type: 'All' | 'Empty' | 'Custom';
1880 }1882 }
18811883
1882 /** @name RmrkTraitsTheme (231) */1884 /** @name RmrkTraitsTheme (233) */
1883 export interface RmrkTraitsTheme extends Struct {1885 export interface RmrkTraitsTheme extends Struct {
1884 readonly name: Bytes;1886 readonly name: Bytes;
1885 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;1887 readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
1886 readonly inherit: bool;1888 readonly inherit: bool;
1887 }1889 }
18881890
1889 /** @name RmrkTraitsThemeThemeProperty (233) */1891 /** @name RmrkTraitsThemeThemeProperty (235) */
1890 export interface RmrkTraitsThemeThemeProperty extends Struct {1892 export interface RmrkTraitsThemeThemeProperty extends Struct {
1891 readonly key: Bytes;1893 readonly key: Bytes;
1892 readonly value: Bytes;1894 readonly value: Bytes;
1893 }1895 }
18941896
1895 /** @name PalletEvmCall (234) */1897 /** @name PalletEvmCall (236) */
1896 export interface PalletEvmCall extends Enum {1898 export interface PalletEvmCall extends Enum {
1897 readonly isWithdraw: boolean;1899 readonly isWithdraw: boolean;
1898 readonly asWithdraw: {1900 readonly asWithdraw: {
1937 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';1939 readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
1938 }1940 }
19391941
1940 /** @name PalletEthereumCall (240) */1942 /** @name PalletEthereumCall (242) */
1941 export interface PalletEthereumCall extends Enum {1943 export interface PalletEthereumCall extends Enum {
1942 readonly isTransact: boolean;1944 readonly isTransact: boolean;
1943 readonly asTransact: {1945 readonly asTransact: {
1946 readonly type: 'Transact';1948 readonly type: 'Transact';
1947 }1949 }
19481950
1949 /** @name EthereumTransactionTransactionV2 (241) */1951 /** @name EthereumTransactionTransactionV2 (243) */
1950 export interface EthereumTransactionTransactionV2 extends Enum {1952 export interface EthereumTransactionTransactionV2 extends Enum {
1951 readonly isLegacy: boolean;1953 readonly isLegacy: boolean;
1952 readonly asLegacy: EthereumTransactionLegacyTransaction;1954 readonly asLegacy: EthereumTransactionLegacyTransaction;
1957 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';1959 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
1958 }1960 }
19591961
1960 /** @name EthereumTransactionLegacyTransaction (242) */1962 /** @name EthereumTransactionLegacyTransaction (244) */
1961 export interface EthereumTransactionLegacyTransaction extends Struct {1963 export interface EthereumTransactionLegacyTransaction extends Struct {
1962 readonly nonce: U256;1964 readonly nonce: U256;
1963 readonly gasPrice: U256;1965 readonly gasPrice: U256;
1968 readonly signature: EthereumTransactionTransactionSignature;1970 readonly signature: EthereumTransactionTransactionSignature;
1969 }1971 }
19701972
1971 /** @name EthereumTransactionTransactionAction (243) */1973 /** @name EthereumTransactionTransactionAction (245) */
1972 export interface EthereumTransactionTransactionAction extends Enum {1974 export interface EthereumTransactionTransactionAction extends Enum {
1973 readonly isCall: boolean;1975 readonly isCall: boolean;
1974 readonly asCall: H160;1976 readonly asCall: H160;
1975 readonly isCreate: boolean;1977 readonly isCreate: boolean;
1976 readonly type: 'Call' | 'Create';1978 readonly type: 'Call' | 'Create';
1977 }1979 }
19781980
1979 /** @name EthereumTransactionTransactionSignature (244) */1981 /** @name EthereumTransactionTransactionSignature (246) */
1980 export interface EthereumTransactionTransactionSignature extends Struct {1982 export interface EthereumTransactionTransactionSignature extends Struct {
1981 readonly v: u64;1983 readonly v: u64;
1982 readonly r: H256;1984 readonly r: H256;
1983 readonly s: H256;1985 readonly s: H256;
1984 }1986 }
19851987
1986 /** @name EthereumTransactionEip2930Transaction (246) */1988 /** @name EthereumTransactionEip2930Transaction (248) */
1987 export interface EthereumTransactionEip2930Transaction extends Struct {1989 export interface EthereumTransactionEip2930Transaction extends Struct {
1988 readonly chainId: u64;1990 readonly chainId: u64;
1989 readonly nonce: U256;1991 readonly nonce: U256;
1998 readonly s: H256;2000 readonly s: H256;
1999 }2001 }
20002002
2001 /** @name EthereumTransactionAccessListItem (248) */2003 /** @name EthereumTransactionAccessListItem (250) */
2002 export interface EthereumTransactionAccessListItem extends Struct {2004 export interface EthereumTransactionAccessListItem extends Struct {
2003 readonly address: H160;2005 readonly address: H160;
2004 readonly storageKeys: Vec<H256>;2006 readonly storageKeys: Vec<H256>;
2005 }2007 }
20062008
2007 /** @name EthereumTransactionEip1559Transaction (249) */2009 /** @name EthereumTransactionEip1559Transaction (251) */
2008 export interface EthereumTransactionEip1559Transaction extends Struct {2010 export interface EthereumTransactionEip1559Transaction extends Struct {
2009 readonly chainId: u64;2011 readonly chainId: u64;
2010 readonly nonce: U256;2012 readonly nonce: U256;
2020 readonly s: H256;2022 readonly s: H256;
2021 }2023 }
20222024
2023 /** @name PalletEvmMigrationCall (250) */2025 /** @name PalletEvmMigrationCall (252) */
2024 export interface PalletEvmMigrationCall extends Enum {2026 export interface PalletEvmMigrationCall extends Enum {
2025 readonly isBegin: boolean;2027 readonly isBegin: boolean;
2026 readonly asBegin: {2028 readonly asBegin: {
2039 readonly type: 'Begin' | 'SetData' | 'Finish';2041 readonly type: 'Begin' | 'SetData' | 'Finish';
2040 }2042 }
20412043
2042 /** @name PalletSudoEvent (253) */2044 /** @name PalletSudoEvent (255) */
2043 export interface PalletSudoEvent extends Enum {2045 export interface PalletSudoEvent extends Enum {
2044 readonly isSudid: boolean;2046 readonly isSudid: boolean;
2045 readonly asSudid: {2047 readonly asSudid: {
2056 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';2058 readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
2057 }2059 }
20582060
2059 /** @name SpRuntimeDispatchError (255) */2061 /** @name SpRuntimeDispatchError (257) */
2060 export interface SpRuntimeDispatchError extends Enum {2062 export interface SpRuntimeDispatchError extends Enum {
2061 readonly isOther: boolean;2063 readonly isOther: boolean;
2062 readonly isCannotLookup: boolean;2064 readonly isCannotLookup: boolean;
2075 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';2077 readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
2076 }2078 }
20772079
2078 /** @name SpRuntimeModuleError (256) */2080 /** @name SpRuntimeModuleError (258) */
2079 export interface SpRuntimeModuleError extends Struct {2081 export interface SpRuntimeModuleError extends Struct {
2080 readonly index: u8;2082 readonly index: u8;
2081 readonly error: U8aFixed;2083 readonly error: U8aFixed;
2082 }2084 }
20832085
2084 /** @name SpRuntimeTokenError (257) */2086 /** @name SpRuntimeTokenError (259) */
2085 export interface SpRuntimeTokenError extends Enum {2087 export interface SpRuntimeTokenError extends Enum {
2086 readonly isNoFunds: boolean;2088 readonly isNoFunds: boolean;
2087 readonly isWouldDie: boolean;2089 readonly isWouldDie: boolean;
2093 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';2095 readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
2094 }2096 }
20952097
2096 /** @name SpRuntimeArithmeticError (258) */2098 /** @name SpRuntimeArithmeticError (260) */
2097 export interface SpRuntimeArithmeticError extends Enum {2099 export interface SpRuntimeArithmeticError extends Enum {
2098 readonly isUnderflow: boolean;2100 readonly isUnderflow: boolean;
2099 readonly isOverflow: boolean;2101 readonly isOverflow: boolean;
2100 readonly isDivisionByZero: boolean;2102 readonly isDivisionByZero: boolean;
2101 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';2103 readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
2102 }2104 }
21032105
2104 /** @name SpRuntimeTransactionalError (259) */2106 /** @name SpRuntimeTransactionalError (261) */
2105 export interface SpRuntimeTransactionalError extends Enum {2107 export interface SpRuntimeTransactionalError extends Enum {
2106 readonly isLimitReached: boolean;2108 readonly isLimitReached: boolean;
2107 readonly isNoLayer: boolean;2109 readonly isNoLayer: boolean;
2108 readonly type: 'LimitReached' | 'NoLayer';2110 readonly type: 'LimitReached' | 'NoLayer';
2109 }2111 }
21102112
2111 /** @name PalletSudoError (260) */2113 /** @name PalletSudoError (262) */
2112 export interface PalletSudoError extends Enum {2114 export interface PalletSudoError extends Enum {
2113 readonly isRequireSudo: boolean;2115 readonly isRequireSudo: boolean;
2114 readonly type: 'RequireSudo';2116 readonly type: 'RequireSudo';
2115 }2117 }
21162118
2117 /** @name FrameSystemAccountInfo (261) */2119 /** @name FrameSystemAccountInfo (263) */
2118 export interface FrameSystemAccountInfo extends Struct {2120 export interface FrameSystemAccountInfo extends Struct {
2119 readonly nonce: u32;2121 readonly nonce: u32;
2120 readonly consumers: u32;2122 readonly consumers: u32;
2123 readonly data: PalletBalancesAccountData;2125 readonly data: PalletBalancesAccountData;
2124 }2126 }
21252127
2126 /** @name FrameSupportWeightsPerDispatchClassU64 (262) */2128 /** @name FrameSupportWeightsPerDispatchClassU64 (264) */
2127 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {2129 export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
2128 readonly normal: u64;2130 readonly normal: u64;
2129 readonly operational: u64;2131 readonly operational: u64;
2130 readonly mandatory: u64;2132 readonly mandatory: u64;
2131 }2133 }
21322134
2133 /** @name SpRuntimeDigest (263) */2135 /** @name SpRuntimeDigest (265) */
2134 export interface SpRuntimeDigest extends Struct {2136 export interface SpRuntimeDigest extends Struct {
2135 readonly logs: Vec<SpRuntimeDigestDigestItem>;2137 readonly logs: Vec<SpRuntimeDigestDigestItem>;
2136 }2138 }
21372139
2138 /** @name SpRuntimeDigestDigestItem (265) */2140 /** @name SpRuntimeDigestDigestItem (267) */
2139 export interface SpRuntimeDigestDigestItem extends Enum {2141 export interface SpRuntimeDigestDigestItem extends Enum {
2140 readonly isOther: boolean;2142 readonly isOther: boolean;
2141 readonly asOther: Bytes;2143 readonly asOther: Bytes;
2149 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';2151 readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
2150 }2152 }
21512153
2152 /** @name FrameSystemEventRecord (267) */2154 /** @name FrameSystemEventRecord (269) */
2153 export interface FrameSystemEventRecord extends Struct {2155 export interface FrameSystemEventRecord extends Struct {
2154 readonly phase: FrameSystemPhase;2156 readonly phase: FrameSystemPhase;
2155 readonly event: Event;2157 readonly event: Event;
2156 readonly topics: Vec<H256>;2158 readonly topics: Vec<H256>;
2157 }2159 }
21582160
2159 /** @name FrameSystemEvent (269) */2161 /** @name FrameSystemEvent (271) */
2160 export interface FrameSystemEvent extends Enum {2162 export interface FrameSystemEvent extends Enum {
2161 readonly isExtrinsicSuccess: boolean;2163 readonly isExtrinsicSuccess: boolean;
2162 readonly asExtrinsicSuccess: {2164 readonly asExtrinsicSuccess: {
2184 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';2186 readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
2185 }2187 }
21862188
2187 /** @name FrameSupportWeightsDispatchInfo (270) */2189 /** @name FrameSupportWeightsDispatchInfo (272) */
2188 export interface FrameSupportWeightsDispatchInfo extends Struct {2190 export interface FrameSupportWeightsDispatchInfo extends Struct {
2189 readonly weight: u64;2191 readonly weight: u64;
2190 readonly class: FrameSupportWeightsDispatchClass;2192 readonly class: FrameSupportWeightsDispatchClass;
2191 readonly paysFee: FrameSupportWeightsPays;2193 readonly paysFee: FrameSupportWeightsPays;
2192 }2194 }
21932195
2194 /** @name FrameSupportWeightsDispatchClass (271) */2196 /** @name FrameSupportWeightsDispatchClass (273) */
2195 export interface FrameSupportWeightsDispatchClass extends Enum {2197 export interface FrameSupportWeightsDispatchClass extends Enum {
2196 readonly isNormal: boolean;2198 readonly isNormal: boolean;
2197 readonly isOperational: boolean;2199 readonly isOperational: boolean;
2198 readonly isMandatory: boolean;2200 readonly isMandatory: boolean;
2199 readonly type: 'Normal' | 'Operational' | 'Mandatory';2201 readonly type: 'Normal' | 'Operational' | 'Mandatory';
2200 }2202 }
22012203
2202 /** @name FrameSupportWeightsPays (272) */2204 /** @name FrameSupportWeightsPays (274) */
2203 export interface FrameSupportWeightsPays extends Enum {2205 export interface FrameSupportWeightsPays extends Enum {
2204 readonly isYes: boolean;2206 readonly isYes: boolean;
2205 readonly isNo: boolean;2207 readonly isNo: boolean;
2206 readonly type: 'Yes' | 'No';2208 readonly type: 'Yes' | 'No';
2207 }2209 }
22082210
2209 /** @name OrmlVestingModuleEvent (273) */2211 /** @name OrmlVestingModuleEvent (275) */
2210 export interface OrmlVestingModuleEvent extends Enum {2212 export interface OrmlVestingModuleEvent extends Enum {
2211 readonly isVestingScheduleAdded: boolean;2213 readonly isVestingScheduleAdded: boolean;
2212 readonly asVestingScheduleAdded: {2214 readonly asVestingScheduleAdded: {
2226 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';2228 readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
2227 }2229 }
22282230
2229 /** @name CumulusPalletXcmpQueueEvent (274) */2231 /** @name CumulusPalletXcmpQueueEvent (276) */
2230 export interface CumulusPalletXcmpQueueEvent extends Enum {2232 export interface CumulusPalletXcmpQueueEvent extends Enum {
2231 readonly isSuccess: boolean;2233 readonly isSuccess: boolean;
2232 readonly asSuccess: Option<H256>;2234 readonly asSuccess: Option<H256>;
2247 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';2249 readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
2248 }2250 }
22492251
2250 /** @name PalletXcmEvent (275) */2252 /** @name PalletXcmEvent (277) */
2251 export interface PalletXcmEvent extends Enum {2253 export interface PalletXcmEvent extends Enum {
2252 readonly isAttempted: boolean;2254 readonly isAttempted: boolean;
2253 readonly asAttempted: XcmV2TraitsOutcome;2255 readonly asAttempted: XcmV2TraitsOutcome;
2284 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';2286 readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
2285 }2287 }
22862288
2287 /** @name XcmV2TraitsOutcome (276) */2289 /** @name XcmV2TraitsOutcome (278) */
2288 export interface XcmV2TraitsOutcome extends Enum {2290 export interface XcmV2TraitsOutcome extends Enum {
2289 readonly isComplete: boolean;2291 readonly isComplete: boolean;
2290 readonly asComplete: u64;2292 readonly asComplete: u64;
2295 readonly type: 'Complete' | 'Incomplete' | 'Error';2297 readonly type: 'Complete' | 'Incomplete' | 'Error';
2296 }2298 }
22972299
2298 /** @name CumulusPalletXcmEvent (278) */2300 /** @name CumulusPalletXcmEvent (280) */
2299 export interface CumulusPalletXcmEvent extends Enum {2301 export interface CumulusPalletXcmEvent extends Enum {
2300 readonly isInvalidFormat: boolean;2302 readonly isInvalidFormat: boolean;
2301 readonly asInvalidFormat: U8aFixed;2303 readonly asInvalidFormat: U8aFixed;
2306 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';2308 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
2307 }2309 }
23082310
2309 /** @name CumulusPalletDmpQueueEvent (279) */2311 /** @name CumulusPalletDmpQueueEvent (281) */
2310 export interface CumulusPalletDmpQueueEvent extends Enum {2312 export interface CumulusPalletDmpQueueEvent extends Enum {
2311 readonly isInvalidFormat: boolean;2313 readonly isInvalidFormat: boolean;
2312 readonly asInvalidFormat: U8aFixed;2314 readonly asInvalidFormat: U8aFixed;
2323 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';2325 readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
2324 }2326 }
23252327
2326 /** @name PalletUniqueRawEvent (280) */2328 /** @name PalletUniqueRawEvent (282) */
2327 export interface PalletUniqueRawEvent extends Enum {2329 export interface PalletUniqueRawEvent extends Enum {
2328 readonly isCollectionSponsorRemoved: boolean;2330 readonly isCollectionSponsorRemoved: boolean;
2329 readonly asCollectionSponsorRemoved: u32;2331 readonly asCollectionSponsorRemoved: u32;
2348 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';2350 readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
2349 }2351 }
23502352
2351 /** @name PalletUnqSchedulerEvent (281) */2353 /** @name PalletUniqueSchedulerEvent (283) */
2352 export interface PalletUnqSchedulerEvent extends Enum {2354 export interface PalletUniqueSchedulerEvent extends Enum {
2353 readonly isScheduled: boolean;2355 readonly isScheduled: boolean;
2354 readonly asScheduled: {2356 readonly asScheduled: {
2355 readonly when: u32;2357 readonly when: u32;
2375 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';2377 readonly type: 'Scheduled' | 'Canceled' | 'Dispatched' | 'CallLookupFailed';
2376 }2378 }
23772379
2378 /** @name FrameSupportScheduleLookupError (283) */2380 /** @name FrameSupportScheduleLookupError (285) */
2379 export interface FrameSupportScheduleLookupError extends Enum {2381 export interface FrameSupportScheduleLookupError extends Enum {
2380 readonly isUnknown: boolean;2382 readonly isUnknown: boolean;
2381 readonly isBadFormat: boolean;2383 readonly isBadFormat: boolean;
2382 readonly type: 'Unknown' | 'BadFormat';2384 readonly type: 'Unknown' | 'BadFormat';
2383 }2385 }
23842386
2385 /** @name PalletCommonEvent (284) */2387 /** @name PalletCommonEvent (286) */
2386 export interface PalletCommonEvent extends Enum {2388 export interface PalletCommonEvent extends Enum {
2387 readonly isCollectionCreated: boolean;2389 readonly isCollectionCreated: boolean;
2388 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;2390 readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
2409 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';2411 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
2410 }2412 }
24112413
2412 /** @name PalletStructureEvent (285) */2414 /** @name PalletStructureEvent (287) */
2413 export interface PalletStructureEvent extends Enum {2415 export interface PalletStructureEvent extends Enum {
2414 readonly isExecuted: boolean;2416 readonly isExecuted: boolean;
2415 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;2417 readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
2416 readonly type: 'Executed';2418 readonly type: 'Executed';
2417 }2419 }
24182420
2419 /** @name PalletRmrkCoreEvent (286) */2421 /** @name PalletRmrkCoreEvent (288) */
2420 export interface PalletRmrkCoreEvent extends Enum {2422 export interface PalletRmrkCoreEvent extends Enum {
2421 readonly isCollectionCreated: boolean;2423 readonly isCollectionCreated: boolean;
2422 readonly asCollectionCreated: {2424 readonly asCollectionCreated: {
2506 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';2508 readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'NftSent' | 'NftAccepted' | 'NftRejected' | 'PropertySet' | 'ResourceAdded' | 'ResourceRemoval' | 'ResourceAccepted' | 'ResourceRemovalAccepted' | 'PrioritySet';
2507 }2509 }
25082510
2509 /** @name PalletRmrkEquipEvent (287) */2511 /** @name PalletRmrkEquipEvent (289) */
2510 export interface PalletRmrkEquipEvent extends Enum {2512 export interface PalletRmrkEquipEvent extends Enum {
2511 readonly isBaseCreated: boolean;2513 readonly isBaseCreated: boolean;
2512 readonly asBaseCreated: {2514 readonly asBaseCreated: {
2516 readonly type: 'BaseCreated';2518 readonly type: 'BaseCreated';
2517 }2519 }
25182520
2519 /** @name PalletEvmEvent (288) */2521 /** @name PalletEvmEvent (290) */
2520 export interface PalletEvmEvent extends Enum {2522 export interface PalletEvmEvent extends Enum {
2521 readonly isLog: boolean;2523 readonly isLog: boolean;
2522 readonly asLog: EthereumLog;2524 readonly asLog: EthereumLog;
2535 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';2537 readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
2536 }2538 }
25372539
2538 /** @name EthereumLog (289) */2540 /** @name EthereumLog (291) */
2539 export interface EthereumLog extends Struct {2541 export interface EthereumLog extends Struct {
2540 readonly address: H160;2542 readonly address: H160;
2541 readonly topics: Vec<H256>;2543 readonly topics: Vec<H256>;
2542 readonly data: Bytes;2544 readonly data: Bytes;
2543 }2545 }
25442546
2545 /** @name PalletEthereumEvent (290) */2547 /** @name PalletEthereumEvent (292) */
2546 export interface PalletEthereumEvent extends Enum {2548 export interface PalletEthereumEvent extends Enum {
2547 readonly isExecuted: boolean;2549 readonly isExecuted: boolean;
2548 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;2550 readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
2549 readonly type: 'Executed';2551 readonly type: 'Executed';
2550 }2552 }
25512553
2552 /** @name EvmCoreErrorExitReason (291) */2554 /** @name EvmCoreErrorExitReason (293) */
2553 export interface EvmCoreErrorExitReason extends Enum {2555 export interface EvmCoreErrorExitReason extends Enum {
2554 readonly isSucceed: boolean;2556 readonly isSucceed: boolean;
2555 readonly asSucceed: EvmCoreErrorExitSucceed;2557 readonly asSucceed: EvmCoreErrorExitSucceed;
2562 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';2564 readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
2563 }2565 }
25642566
2565 /** @name EvmCoreErrorExitSucceed (292) */2567 /** @name EvmCoreErrorExitSucceed (294) */
2566 export interface EvmCoreErrorExitSucceed extends Enum {2568 export interface EvmCoreErrorExitSucceed extends Enum {
2567 readonly isStopped: boolean;2569 readonly isStopped: boolean;
2568 readonly isReturned: boolean;2570 readonly isReturned: boolean;
2569 readonly isSuicided: boolean;2571 readonly isSuicided: boolean;
2570 readonly type: 'Stopped' | 'Returned' | 'Suicided';2572 readonly type: 'Stopped' | 'Returned' | 'Suicided';
2571 }2573 }
25722574
2573 /** @name EvmCoreErrorExitError (293) */2575 /** @name EvmCoreErrorExitError (295) */
2574 export interface EvmCoreErrorExitError extends Enum {2576 export interface EvmCoreErrorExitError extends Enum {
2575 readonly isStackUnderflow: boolean;2577 readonly isStackUnderflow: boolean;
2576 readonly isStackOverflow: boolean;2578 readonly isStackOverflow: boolean;
2591 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';2593 readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
2592 }2594 }
25932595
2594 /** @name EvmCoreErrorExitRevert (296) */2596 /** @name EvmCoreErrorExitRevert (298) */
2595 export interface EvmCoreErrorExitRevert extends Enum {2597 export interface EvmCoreErrorExitRevert extends Enum {
2596 readonly isReverted: boolean;2598 readonly isReverted: boolean;
2597 readonly type: 'Reverted';2599 readonly type: 'Reverted';
2598 }2600 }
25992601
2600 /** @name EvmCoreErrorExitFatal (297) */2602 /** @name EvmCoreErrorExitFatal (299) */
2601 export interface EvmCoreErrorExitFatal extends Enum {2603 export interface EvmCoreErrorExitFatal extends Enum {
2602 readonly isNotSupported: boolean;2604 readonly isNotSupported: boolean;
2603 readonly isUnhandledInterrupt: boolean;2605 readonly isUnhandledInterrupt: boolean;
2608 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';2610 readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
2609 }2611 }
26102612
2611 /** @name FrameSystemPhase (298) */2613 /** @name FrameSystemPhase (300) */
2612 export interface FrameSystemPhase extends Enum {2614 export interface FrameSystemPhase extends Enum {
2613 readonly isApplyExtrinsic: boolean;2615 readonly isApplyExtrinsic: boolean;
2614 readonly asApplyExtrinsic: u32;2616 readonly asApplyExtrinsic: u32;
2617 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';2619 readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
2618 }2620 }
26192621
2620 /** @name FrameSystemLastRuntimeUpgradeInfo (300) */2622 /** @name FrameSystemLastRuntimeUpgradeInfo (302) */
2621 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {2623 export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
2622 readonly specVersion: Compact<u32>;2624 readonly specVersion: Compact<u32>;
2623 readonly specName: Text;2625 readonly specName: Text;
2624 }2626 }
26252627
2626 /** @name FrameSystemLimitsBlockWeights (301) */2628 /** @name FrameSystemLimitsBlockWeights (303) */
2627 export interface FrameSystemLimitsBlockWeights extends Struct {2629 export interface FrameSystemLimitsBlockWeights extends Struct {
2628 readonly baseBlock: u64;2630 readonly baseBlock: u64;
2629 readonly maxBlock: u64;2631 readonly maxBlock: u64;
2630 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;2632 readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
2631 }2633 }
26322634
2633 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (302) */2635 /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (304) */
2634 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {2636 export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
2635 readonly normal: FrameSystemLimitsWeightsPerClass;2637 readonly normal: FrameSystemLimitsWeightsPerClass;
2636 readonly operational: FrameSystemLimitsWeightsPerClass;2638 readonly operational: FrameSystemLimitsWeightsPerClass;
2637 readonly mandatory: FrameSystemLimitsWeightsPerClass;2639 readonly mandatory: FrameSystemLimitsWeightsPerClass;
2638 }2640 }
26392641
2640 /** @name FrameSystemLimitsWeightsPerClass (303) */2642 /** @name FrameSystemLimitsWeightsPerClass (305) */
2641 export interface FrameSystemLimitsWeightsPerClass extends Struct {2643 export interface FrameSystemLimitsWeightsPerClass extends Struct {
2642 readonly baseExtrinsic: u64;2644 readonly baseExtrinsic: u64;
2643 readonly maxExtrinsic: Option<u64>;2645 readonly maxExtrinsic: Option<u64>;
2644 readonly maxTotal: Option<u64>;2646 readonly maxTotal: Option<u64>;
2645 readonly reserved: Option<u64>;2647 readonly reserved: Option<u64>;
2646 }2648 }
26472649
2648 /** @name FrameSystemLimitsBlockLength (305) */2650 /** @name FrameSystemLimitsBlockLength (307) */
2649 export interface FrameSystemLimitsBlockLength extends Struct {2651 export interface FrameSystemLimitsBlockLength extends Struct {
2650 readonly max: FrameSupportWeightsPerDispatchClassU32;2652 readonly max: FrameSupportWeightsPerDispatchClassU32;
2651 }2653 }
26522654
2653 /** @name FrameSupportWeightsPerDispatchClassU32 (306) */2655 /** @name FrameSupportWeightsPerDispatchClassU32 (308) */
2654 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {2656 export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
2655 readonly normal: u32;2657 readonly normal: u32;
2656 readonly operational: u32;2658 readonly operational: u32;
2657 readonly mandatory: u32;2659 readonly mandatory: u32;
2658 }2660 }
26592661
2660 /** @name FrameSupportWeightsRuntimeDbWeight (307) */2662 /** @name FrameSupportWeightsRuntimeDbWeight (309) */
2661 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {2663 export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
2662 readonly read: u64;2664 readonly read: u64;
2663 readonly write: u64;2665 readonly write: u64;
2664 }2666 }
26652667
2666 /** @name SpVersionRuntimeVersion (308) */2668 /** @name SpVersionRuntimeVersion (310) */
2667 export interface SpVersionRuntimeVersion extends Struct {2669 export interface SpVersionRuntimeVersion extends Struct {
2668 readonly specName: Text;2670 readonly specName: Text;
2669 readonly implName: Text;2671 readonly implName: Text;
2675 readonly stateVersion: u8;2677 readonly stateVersion: u8;
2676 }2678 }
26772679
2678 /** @name FrameSystemError (312) */2680 /** @name FrameSystemError (314) */
2679 export interface FrameSystemError extends Enum {2681 export interface FrameSystemError extends Enum {
2680 readonly isInvalidSpecName: boolean;2682 readonly isInvalidSpecName: boolean;
2681 readonly isSpecVersionNeedsToIncrease: boolean;2683 readonly isSpecVersionNeedsToIncrease: boolean;
2686 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';2688 readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
2687 }2689 }
26882690
2689 /** @name OrmlVestingModuleError (314) */2691 /** @name OrmlVestingModuleError (316) */
2690 export interface OrmlVestingModuleError extends Enum {2692 export interface OrmlVestingModuleError extends Enum {
2691 readonly isZeroVestingPeriod: boolean;2693 readonly isZeroVestingPeriod: boolean;
2692 readonly isZeroVestingPeriodCount: boolean;2694 readonly isZeroVestingPeriodCount: boolean;
2697 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';2699 readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
2698 }2700 }
26992701
2700 /** @name CumulusPalletXcmpQueueInboundChannelDetails (316) */2702 /** @name CumulusPalletXcmpQueueInboundChannelDetails (318) */
2701 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {2703 export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
2702 readonly sender: u32;2704 readonly sender: u32;
2703 readonly state: CumulusPalletXcmpQueueInboundState;2705 readonly state: CumulusPalletXcmpQueueInboundState;
2704 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;2706 readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
2705 }2707 }
27062708
2707 /** @name CumulusPalletXcmpQueueInboundState (317) */2709 /** @name CumulusPalletXcmpQueueInboundState (319) */
2708 export interface CumulusPalletXcmpQueueInboundState extends Enum {2710 export interface CumulusPalletXcmpQueueInboundState extends Enum {
2709 readonly isOk: boolean;2711 readonly isOk: boolean;
2710 readonly isSuspended: boolean;2712 readonly isSuspended: boolean;
2711 readonly type: 'Ok' | 'Suspended';2713 readonly type: 'Ok' | 'Suspended';
2712 }2714 }
27132715
2714 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (320) */2716 /** @name PolkadotParachainPrimitivesXcmpMessageFormat (322) */
2715 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {2717 export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
2716 readonly isConcatenatedVersionedXcm: boolean;2718 readonly isConcatenatedVersionedXcm: boolean;
2717 readonly isConcatenatedEncodedBlob: boolean;2719 readonly isConcatenatedEncodedBlob: boolean;
2718 readonly isSignals: boolean;2720 readonly isSignals: boolean;
2719 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';2721 readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
2720 }2722 }
27212723
2722 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (323) */2724 /** @name CumulusPalletXcmpQueueOutboundChannelDetails (325) */
2723 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {2725 export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
2724 readonly recipient: u32;2726 readonly recipient: u32;
2725 readonly state: CumulusPalletXcmpQueueOutboundState;2727 readonly state: CumulusPalletXcmpQueueOutboundState;
2728 readonly lastIndex: u16;2730 readonly lastIndex: u16;
2729 }2731 }
27302732
2731 /** @name CumulusPalletXcmpQueueOutboundState (324) */2733 /** @name CumulusPalletXcmpQueueOutboundState (326) */
2732 export interface CumulusPalletXcmpQueueOutboundState extends Enum {2734 export interface CumulusPalletXcmpQueueOutboundState extends Enum {
2733 readonly isOk: boolean;2735 readonly isOk: boolean;
2734 readonly isSuspended: boolean;2736 readonly isSuspended: boolean;
2735 readonly type: 'Ok' | 'Suspended';2737 readonly type: 'Ok' | 'Suspended';
2736 }2738 }
27372739
2738 /** @name CumulusPalletXcmpQueueQueueConfigData (326) */2740 /** @name CumulusPalletXcmpQueueQueueConfigData (328) */
2739 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {2741 export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
2740 readonly suspendThreshold: u32;2742 readonly suspendThreshold: u32;
2741 readonly dropThreshold: u32;2743 readonly dropThreshold: u32;
2745 readonly xcmpMaxIndividualWeight: u64;2747 readonly xcmpMaxIndividualWeight: u64;
2746 }2748 }
27472749
2748 /** @name CumulusPalletXcmpQueueError (328) */2750 /** @name CumulusPalletXcmpQueueError (330) */
2749 export interface CumulusPalletXcmpQueueError extends Enum {2751 export interface CumulusPalletXcmpQueueError extends Enum {
2750 readonly isFailedToSend: boolean;2752 readonly isFailedToSend: boolean;
2751 readonly isBadXcmOrigin: boolean;2753 readonly isBadXcmOrigin: boolean;
2755 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';2757 readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
2756 }2758 }
27572759
2758 /** @name PalletXcmError (329) */2760 /** @name PalletXcmError (331) */
2759 export interface PalletXcmError extends Enum {2761 export interface PalletXcmError extends Enum {
2760 readonly isUnreachable: boolean;2762 readonly isUnreachable: boolean;
2761 readonly isSendFailure: boolean;2763 readonly isSendFailure: boolean;
2773 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';2775 readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
2774 }2776 }
27752777
2776 /** @name CumulusPalletXcmError (330) */2778 /** @name CumulusPalletXcmError (332) */
2777 export type CumulusPalletXcmError = Null;2779 export type CumulusPalletXcmError = Null;
27782780
2779 /** @name CumulusPalletDmpQueueConfigData (331) */2781 /** @name CumulusPalletDmpQueueConfigData (333) */
2780 export interface CumulusPalletDmpQueueConfigData extends Struct {2782 export interface CumulusPalletDmpQueueConfigData extends Struct {
2781 readonly maxIndividual: u64;2783 readonly maxIndividual: u64;
2782 }2784 }
27832785
2784 /** @name CumulusPalletDmpQueuePageIndexData (332) */2786 /** @name CumulusPalletDmpQueuePageIndexData (334) */
2785 export interface CumulusPalletDmpQueuePageIndexData extends Struct {2787 export interface CumulusPalletDmpQueuePageIndexData extends Struct {
2786 readonly beginUsed: u32;2788 readonly beginUsed: u32;
2787 readonly endUsed: u32;2789 readonly endUsed: u32;
2788 readonly overweightCount: u64;2790 readonly overweightCount: u64;
2789 }2791 }
27902792
2791 /** @name CumulusPalletDmpQueueError (335) */2793 /** @name CumulusPalletDmpQueueError (337) */
2792 export interface CumulusPalletDmpQueueError extends Enum {2794 export interface CumulusPalletDmpQueueError extends Enum {
2793 readonly isUnknown: boolean;2795 readonly isUnknown: boolean;
2794 readonly isOverLimit: boolean;2796 readonly isOverLimit: boolean;
2795 readonly type: 'Unknown' | 'OverLimit';2797 readonly type: 'Unknown' | 'OverLimit';
2796 }2798 }
27972799
2798 /** @name PalletUniqueError (339) */2800 /** @name PalletUniqueError (341) */
2799 export interface PalletUniqueError extends Enum {2801 export interface PalletUniqueError extends Enum {
2800 readonly isCollectionDecimalPointLimitExceeded: boolean;2802 readonly isCollectionDecimalPointLimitExceeded: boolean;
2801 readonly isConfirmUnsetSponsorFail: boolean;2803 readonly isConfirmUnsetSponsorFail: boolean;
2802 readonly isEmptyArgument: boolean;2804 readonly isEmptyArgument: boolean;
2803 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';2805 readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
2804 }2806 }
28052807
2806 /** @name PalletUnqSchedulerScheduledV3 (342) */2808 /** @name PalletUniqueSchedulerScheduledV3 (344) */
2807 export interface PalletUnqSchedulerScheduledV3 extends Struct {2809 export interface PalletUniqueSchedulerScheduledV3 extends Struct {
2808 readonly maybeId: Option<U8aFixed>;2810 readonly maybeId: Option<U8aFixed>;
2809 readonly priority: u8;2811 readonly priority: u8;
2810 readonly call: FrameSupportScheduleMaybeHashed;2812 readonly call: FrameSupportScheduleMaybeHashed;
2811 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;2813 readonly maybePeriodic: Option<ITuple<[u32, u32]>>;
2812 readonly origin: OpalRuntimeOriginCaller;2814 readonly origin: OpalRuntimeOriginCaller;
2813 }2815 }
28142816
2815 /** @name OpalRuntimeOriginCaller (343) */2817 /** @name OpalRuntimeOriginCaller (345) */
2816 export interface OpalRuntimeOriginCaller extends Enum {2818 export interface OpalRuntimeOriginCaller extends Enum {
2817 readonly isVoid: boolean;2819 readonly isVoid: boolean;
2818 readonly isSystem: boolean;2820 readonly isSystem: boolean;
2826 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';2828 readonly type: 'Void' | 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Ethereum';
2827 }2829 }
28282830
2829 /** @name FrameSupportDispatchRawOrigin (344) */2831 /** @name FrameSupportDispatchRawOrigin (346) */
2830 export interface FrameSupportDispatchRawOrigin extends Enum {2832 export interface FrameSupportDispatchRawOrigin extends Enum {
2831 readonly isRoot: boolean;2833 readonly isRoot: boolean;
2832 readonly isSigned: boolean;2834 readonly isSigned: boolean;
2835 readonly type: 'Root' | 'Signed' | 'None';2837 readonly type: 'Root' | 'Signed' | 'None';
2836 }2838 }
28372839
2838 /** @name PalletXcmOrigin (345) */2840 /** @name PalletXcmOrigin (347) */
2839 export interface PalletXcmOrigin extends Enum {2841 export interface PalletXcmOrigin extends Enum {
2840 readonly isXcm: boolean;2842 readonly isXcm: boolean;
2841 readonly asXcm: XcmV1MultiLocation;2843 readonly asXcm: XcmV1MultiLocation;
2844 readonly type: 'Xcm' | 'Response';2846 readonly type: 'Xcm' | 'Response';
2845 }2847 }
28462848
2847 /** @name CumulusPalletXcmOrigin (346) */2849 /** @name CumulusPalletXcmOrigin (348) */
2848 export interface CumulusPalletXcmOrigin extends Enum {2850 export interface CumulusPalletXcmOrigin extends Enum {
2849 readonly isRelay: boolean;2851 readonly isRelay: boolean;
2850 readonly isSiblingParachain: boolean;2852 readonly isSiblingParachain: boolean;
2851 readonly asSiblingParachain: u32;2853 readonly asSiblingParachain: u32;
2852 readonly type: 'Relay' | 'SiblingParachain';2854 readonly type: 'Relay' | 'SiblingParachain';
2853 }2855 }
28542856
2855 /** @name PalletEthereumRawOrigin (347) */2857 /** @name PalletEthereumRawOrigin (349) */
2856 export interface PalletEthereumRawOrigin extends Enum {2858 export interface PalletEthereumRawOrigin extends Enum {
2857 readonly isEthereumTransaction: boolean;2859 readonly isEthereumTransaction: boolean;
2858 readonly asEthereumTransaction: H160;2860 readonly asEthereumTransaction: H160;
2859 readonly type: 'EthereumTransaction';2861 readonly type: 'EthereumTransaction';
2860 }2862 }
28612863
2862 /** @name SpCoreVoid (348) */2864 /** @name SpCoreVoid (350) */
2863 export type SpCoreVoid = Null;2865 export type SpCoreVoid = Null;
28642866
2865 /** @name PalletUnqSchedulerError (349) */2867 /** @name PalletUniqueSchedulerError (351) */
2866 export interface PalletUnqSchedulerError extends Enum {2868 export interface PalletUniqueSchedulerError extends Enum {
2867 readonly isFailedToSchedule: boolean;2869 readonly isFailedToSchedule: boolean;
2868 readonly isNotFound: boolean;2870 readonly isNotFound: boolean;
2869 readonly isTargetBlockNumberInPast: boolean;2871 readonly isTargetBlockNumberInPast: boolean;
2870 readonly isRescheduleNoChange: boolean;2872 readonly isRescheduleNoChange: boolean;
2871 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';2873 readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
2872 }2874 }
28732875
2874 /** @name UpDataStructsCollection (350) */2876 /** @name UpDataStructsCollection (352) */
2875 export interface UpDataStructsCollection extends Struct {2877 export interface UpDataStructsCollection extends Struct {
2876 readonly owner: AccountId32;2878 readonly owner: AccountId32;
2877 readonly mode: UpDataStructsCollectionMode;2879 readonly mode: UpDataStructsCollectionMode;
2884 readonly externalCollection: bool;2886 readonly externalCollection: bool;
2885 }2887 }
28862888
2887 /** @name UpDataStructsSponsorshipState (351) */2889 /** @name UpDataStructsSponsorshipState (353) */
2888 export interface UpDataStructsSponsorshipState extends Enum {2890 export interface UpDataStructsSponsorshipState extends Enum {
2889 readonly isDisabled: boolean;2891 readonly isDisabled: boolean;
2890 readonly isUnconfirmed: boolean;2892 readonly isUnconfirmed: boolean;
2894 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2896 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
2895 }2897 }
28962898
2897 /** @name UpDataStructsProperties (352) */2899 /** @name UpDataStructsProperties (354) */
2898 export interface UpDataStructsProperties extends Struct {2900 export interface UpDataStructsProperties extends Struct {
2899 readonly map: UpDataStructsPropertiesMapBoundedVec;2901 readonly map: UpDataStructsPropertiesMapBoundedVec;
2900 readonly consumedSpace: u32;2902 readonly consumedSpace: u32;
2901 readonly spaceLimit: u32;2903 readonly spaceLimit: u32;
2902 }2904 }
29032905
2904 /** @name UpDataStructsPropertiesMapBoundedVec (353) */2906 /** @name UpDataStructsPropertiesMapBoundedVec (355) */
2905 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}2907 export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
29062908
2907 /** @name UpDataStructsPropertiesMapPropertyPermission (358) */2909 /** @name UpDataStructsPropertiesMapPropertyPermission (360) */
2908 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}2910 export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
29092911
2910 /** @name UpDataStructsCollectionStats (365) */2912 /** @name UpDataStructsCollectionStats (367) */
2911 export interface UpDataStructsCollectionStats extends Struct {2913 export interface UpDataStructsCollectionStats extends Struct {
2912 readonly created: u32;2914 readonly created: u32;
2913 readonly destroyed: u32;2915 readonly destroyed: u32;
2914 readonly alive: u32;2916 readonly alive: u32;
2915 }2917 }
29162918
2917 /** @name UpDataStructsTokenChild (366) */2919 /** @name UpDataStructsTokenChild (368) */
2918 export interface UpDataStructsTokenChild extends Struct {2920 export interface UpDataStructsTokenChild extends Struct {
2919 readonly token: u32;2921 readonly token: u32;
2920 readonly collection: u32;2922 readonly collection: u32;
2921 }2923 }
29222924
2923 /** @name PhantomTypeUpDataStructs (367) */2925 /** @name PhantomTypeUpDataStructs (369) */
2924 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}2926 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, RmrkTraitsCollectionCollectionInfo, RmrkTraitsNftNftInfo, RmrkTraitsResourceResourceInfo, RmrkTraitsPropertyPropertyInfo, RmrkTraitsBaseBaseInfo, RmrkTraitsPartPartType, RmrkTraitsTheme, RmrkTraitsNftNftChild]>> {}
29252927
2926 /** @name UpDataStructsTokenData (369) */2928 /** @name UpDataStructsTokenData (371) */
2927 export interface UpDataStructsTokenData extends Struct {2929 export interface UpDataStructsTokenData extends Struct {
2928 readonly properties: Vec<UpDataStructsProperty>;2930 readonly properties: Vec<UpDataStructsProperty>;
2929 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2931 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
2930 }2932 }
29312933
2932 /** @name UpDataStructsRpcCollection (371) */2934 /** @name UpDataStructsRpcCollection (373) */
2933 export interface UpDataStructsRpcCollection extends Struct {2935 export interface UpDataStructsRpcCollection extends Struct {
2934 readonly owner: AccountId32;2936 readonly owner: AccountId32;
2935 readonly mode: UpDataStructsCollectionMode;2937 readonly mode: UpDataStructsCollectionMode;
2944 readonly readOnly: bool;2946 readonly readOnly: bool;
2945 }2947 }
29462948
2947 /** @name RmrkTraitsCollectionCollectionInfo (372) */2949 /** @name RmrkTraitsCollectionCollectionInfo (374) */
2948 export interface RmrkTraitsCollectionCollectionInfo extends Struct {2950 export interface RmrkTraitsCollectionCollectionInfo extends Struct {
2949 readonly issuer: AccountId32;2951 readonly issuer: AccountId32;
2950 readonly metadata: Bytes;2952 readonly metadata: Bytes;
2953 readonly nftsCount: u32;2955 readonly nftsCount: u32;
2954 }2956 }
29552957
2956 /** @name RmrkTraitsNftNftInfo (373) */2958 /** @name RmrkTraitsNftNftInfo (375) */
2957 export interface RmrkTraitsNftNftInfo extends Struct {2959 export interface RmrkTraitsNftNftInfo extends Struct {
2958 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;2960 readonly owner: RmrkTraitsNftAccountIdOrCollectionNftTuple;
2959 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;2961 readonly royalty: Option<RmrkTraitsNftRoyaltyInfo>;
2962 readonly pending: bool;2964 readonly pending: bool;
2963 }2965 }
29642966
2965 /** @name RmrkTraitsNftRoyaltyInfo (375) */2967 /** @name RmrkTraitsNftRoyaltyInfo (377) */
2966 export interface RmrkTraitsNftRoyaltyInfo extends Struct {2968 export interface RmrkTraitsNftRoyaltyInfo extends Struct {
2967 readonly recipient: AccountId32;2969 readonly recipient: AccountId32;
2968 readonly amount: Permill;2970 readonly amount: Permill;
2969 }2971 }
29702972
2971 /** @name RmrkTraitsResourceResourceInfo (376) */2973 /** @name RmrkTraitsResourceResourceInfo (378) */
2972 export interface RmrkTraitsResourceResourceInfo extends Struct {2974 export interface RmrkTraitsResourceResourceInfo extends Struct {
2973 readonly id: u32;2975 readonly id: u32;
2974 readonly resource: RmrkTraitsResourceResourceTypes;2976 readonly resource: RmrkTraitsResourceResourceTypes;
2975 readonly pending: bool;2977 readonly pending: bool;
2976 readonly pendingRemoval: bool;2978 readonly pendingRemoval: bool;
2977 }2979 }
29782980
2979 /** @name RmrkTraitsResourceResourceTypes (377) */2981 /** @name RmrkTraitsResourceResourceTypes (379) */
2980 export interface RmrkTraitsResourceResourceTypes extends Enum {2982 export interface RmrkTraitsResourceResourceTypes extends Enum {
2981 readonly isBasic: boolean;2983 readonly isBasic: boolean;
2982 readonly asBasic: RmrkTraitsResourceBasicResource;2984 readonly asBasic: RmrkTraitsResourceBasicResource;
2987 readonly type: 'Basic' | 'Composable' | 'Slot';2989 readonly type: 'Basic' | 'Composable' | 'Slot';
2988 }2990 }
29892991
2990 /** @name RmrkTraitsPropertyPropertyInfo (378) */2992 /** @name RmrkTraitsPropertyPropertyInfo (380) */
2991 export interface RmrkTraitsPropertyPropertyInfo extends Struct {2993 export interface RmrkTraitsPropertyPropertyInfo extends Struct {
2992 readonly key: Bytes;2994 readonly key: Bytes;
2993 readonly value: Bytes;2995 readonly value: Bytes;
2994 }2996 }
29952997
2996 /** @name RmrkTraitsBaseBaseInfo (379) */2998 /** @name RmrkTraitsBaseBaseInfo (381) */
2997 export interface RmrkTraitsBaseBaseInfo extends Struct {2999 export interface RmrkTraitsBaseBaseInfo extends Struct {
2998 readonly issuer: AccountId32;3000 readonly issuer: AccountId32;
2999 readonly baseType: Bytes;3001 readonly baseType: Bytes;
3000 readonly symbol: Bytes;3002 readonly symbol: Bytes;
3001 }3003 }
30023004
3003 /** @name RmrkTraitsNftNftChild (380) */3005 /** @name RmrkTraitsNftNftChild (382) */
3004 export interface RmrkTraitsNftNftChild extends Struct {3006 export interface RmrkTraitsNftNftChild extends Struct {
3005 readonly collectionId: u32;3007 readonly collectionId: u32;
3006 readonly nftId: u32;3008 readonly nftId: u32;
3007 }3009 }
30083010
3009 /** @name PalletCommonError (382) */3011 /** @name PalletCommonError (384) */
3010 export interface PalletCommonError extends Enum {3012 export interface PalletCommonError extends Enum {
3011 readonly isCollectionNotFound: boolean;3013 readonly isCollectionNotFound: boolean;
3012 readonly isMustBeTokenOwner: boolean;3014 readonly isMustBeTokenOwner: boolean;
3032 readonly isAddressIsZero: boolean;3034 readonly isAddressIsZero: boolean;
3033 readonly isUnsupportedOperation: boolean;3035 readonly isUnsupportedOperation: boolean;
3034 readonly isNotSufficientFounds: boolean;3036 readonly isNotSufficientFounds: boolean;
3035 readonly isNestingIsDisabled: boolean;3037 readonly isUserIsNotAllowedToNest: boolean;
3036 readonly isOnlyOwnerAllowedToNest: boolean;
3037 readonly isSourceCollectionIsNotAllowedToNest: boolean;3038 readonly isSourceCollectionIsNotAllowedToNest: boolean;
3038 readonly isCollectionFieldSizeExceeded: boolean;3039 readonly isCollectionFieldSizeExceeded: boolean;
3039 readonly isNoSpaceForProperty: boolean;3040 readonly isNoSpaceForProperty: boolean;
3043 readonly isEmptyPropertyKey: boolean;3044 readonly isEmptyPropertyKey: boolean;
3044 readonly isCollectionIsExternal: boolean;3045 readonly isCollectionIsExternal: boolean;
3045 readonly isCollectionIsInternal: boolean;3046 readonly isCollectionIsInternal: boolean;
3046 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';3047 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';
3047 }3048 }
30483049
3049 /** @name PalletFungibleError (384) */3050 /** @name PalletFungibleError (386) */
3050 export interface PalletFungibleError extends Enum {3051 export interface PalletFungibleError extends Enum {
3051 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;3052 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
3052 readonly isFungibleItemsHaveNoId: boolean;3053 readonly isFungibleItemsHaveNoId: boolean;
3056 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3057 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
3057 }3058 }
30583059
3059 /** @name PalletRefungibleItemData (385) */3060 /** @name PalletRefungibleItemData (387) */
3060 export interface PalletRefungibleItemData extends Struct {3061 export interface PalletRefungibleItemData extends Struct {
3061 readonly constData: Bytes;3062 readonly constData: Bytes;
3062 }3063 }
30633064
3064 /** @name PalletRefungibleError (389) */3065 /** @name PalletRefungibleError (391) */
3065 export interface PalletRefungibleError extends Enum {3066 export interface PalletRefungibleError extends Enum {
3066 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;3067 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
3067 readonly isWrongRefungiblePieces: boolean;3068 readonly isWrongRefungiblePieces: boolean;
3070 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';3071 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
3071 }3072 }
30723073
3073 /** @name PalletNonfungibleItemData (390) */3074 /** @name PalletNonfungibleItemData (392) */
3074 export interface PalletNonfungibleItemData extends Struct {3075 export interface PalletNonfungibleItemData extends Struct {
3075 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;3076 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
3076 }3077 }
30773078
3078 /** @name PalletNonfungibleError (392) */3079 /** @name PalletNonfungibleError (394) */
3079 export interface PalletNonfungibleError extends Enum {3080 export interface PalletNonfungibleError extends Enum {
3080 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;3081 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
3081 readonly isNonfungibleItemsHaveNoAmount: boolean;3082 readonly isNonfungibleItemsHaveNoAmount: boolean;
3082 readonly isCantBurnNftWithChildren: boolean;3083 readonly isCantBurnNftWithChildren: boolean;
3083 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';3084 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
3084 }3085 }
30853086
3086 /** @name PalletStructureError (393) */3087 /** @name PalletStructureError (395) */
3087 export interface PalletStructureError extends Enum {3088 export interface PalletStructureError extends Enum {
3088 readonly isOuroborosDetected: boolean;3089 readonly isOuroborosDetected: boolean;
3089 readonly isDepthLimit: boolean;3090 readonly isDepthLimit: boolean;
3091 readonly isBreadthLimit: boolean;
3090 readonly isTokenNotFound: boolean;3092 readonly isTokenNotFound: boolean;
3091 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';3093 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'BreadthLimit' | 'TokenNotFound';
3092 }3094 }
30933095
3094 /** @name PalletRmrkCoreError (394) */3096 /** @name PalletRmrkCoreError (396) */
3095 export interface PalletRmrkCoreError extends Enum {3097 export interface PalletRmrkCoreError extends Enum {
3096 readonly isCorruptedCollectionType: boolean;3098 readonly isCorruptedCollectionType: boolean;
3097 readonly isNftTypeEncodeError: boolean;3099 readonly isNftTypeEncodeError: boolean;
3112 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';3114 readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'NonTransferable' | 'CollectionFullOrLocked' | 'ResourceDoesntExist' | 'CannotSendToDescendentOrSelf' | 'CannotAcceptNonOwnedNft' | 'CannotRejectNonOwnedNft' | 'ResourceNotPending';
3113 }3115 }
31143116
3115 /** @name PalletRmrkEquipError (396) */3117 /** @name PalletRmrkEquipError (398) */
3116 export interface PalletRmrkEquipError extends Enum {3118 export interface PalletRmrkEquipError extends Enum {
3117 readonly isPermissionError: boolean;3119 readonly isPermissionError: boolean;
3118 readonly isNoAvailableBaseId: boolean;3120 readonly isNoAvailableBaseId: boolean;
3122 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';3124 readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
3123 }3125 }
31243126
3125 /** @name PalletEvmError (399) */3127 /** @name PalletEvmError (401) */
3126 export interface PalletEvmError extends Enum {3128 export interface PalletEvmError extends Enum {
3127 readonly isBalanceLow: boolean;3129 readonly isBalanceLow: boolean;
3128 readonly isFeeOverflow: boolean;3130 readonly isFeeOverflow: boolean;
3133 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';3135 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
3134 }3136 }
31353137
3136 /** @name FpRpcTransactionStatus (402) */3138 /** @name FpRpcTransactionStatus (404) */
3137 export interface FpRpcTransactionStatus extends Struct {3139 export interface FpRpcTransactionStatus extends Struct {
3138 readonly transactionHash: H256;3140 readonly transactionHash: H256;
3139 readonly transactionIndex: u32;3141 readonly transactionIndex: u32;
3144 readonly logsBloom: EthbloomBloom;3146 readonly logsBloom: EthbloomBloom;
3145 }3147 }
31463148
3147 /** @name EthbloomBloom (404) */3149 /** @name EthbloomBloom (406) */
3148 export interface EthbloomBloom extends U8aFixed {}3150 export interface EthbloomBloom extends U8aFixed {}
31493151
3150 /** @name EthereumReceiptReceiptV3 (406) */3152 /** @name EthereumReceiptReceiptV3 (408) */
3151 export interface EthereumReceiptReceiptV3 extends Enum {3153 export interface EthereumReceiptReceiptV3 extends Enum {
3152 readonly isLegacy: boolean;3154 readonly isLegacy: boolean;
3153 readonly asLegacy: EthereumReceiptEip658ReceiptData;3155 readonly asLegacy: EthereumReceiptEip658ReceiptData;
3158 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';3160 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
3159 }3161 }
31603162
3161 /** @name EthereumReceiptEip658ReceiptData (407) */3163 /** @name EthereumReceiptEip658ReceiptData (409) */
3162 export interface EthereumReceiptEip658ReceiptData extends Struct {3164 export interface EthereumReceiptEip658ReceiptData extends Struct {
3163 readonly statusCode: u8;3165 readonly statusCode: u8;
3164 readonly usedGas: U256;3166 readonly usedGas: U256;
3165 readonly logsBloom: EthbloomBloom;3167 readonly logsBloom: EthbloomBloom;
3166 readonly logs: Vec<EthereumLog>;3168 readonly logs: Vec<EthereumLog>;
3167 }3169 }
31683170
3169 /** @name EthereumBlock (408) */3171 /** @name EthereumBlock (410) */
3170 export interface EthereumBlock extends Struct {3172 export interface EthereumBlock extends Struct {
3171 readonly header: EthereumHeader;3173 readonly header: EthereumHeader;
3172 readonly transactions: Vec<EthereumTransactionTransactionV2>;3174 readonly transactions: Vec<EthereumTransactionTransactionV2>;
3173 readonly ommers: Vec<EthereumHeader>;3175 readonly ommers: Vec<EthereumHeader>;
3174 }3176 }
31753177
3176 /** @name EthereumHeader (409) */3178 /** @name EthereumHeader (411) */
3177 export interface EthereumHeader extends Struct {3179 export interface EthereumHeader extends Struct {
3178 readonly parentHash: H256;3180 readonly parentHash: H256;
3179 readonly ommersHash: H256;3181 readonly ommersHash: H256;
3192 readonly nonce: EthereumTypesHashH64;3194 readonly nonce: EthereumTypesHashH64;
3193 }3195 }
31943196
3195 /** @name EthereumTypesHashH64 (410) */3197 /** @name EthereumTypesHashH64 (412) */
3196 export interface EthereumTypesHashH64 extends U8aFixed {}3198 export interface EthereumTypesHashH64 extends U8aFixed {}
31973199
3198 /** @name PalletEthereumError (415) */3200 /** @name PalletEthereumError (417) */
3199 export interface PalletEthereumError extends Enum {3201 export interface PalletEthereumError extends Enum {
3200 readonly isInvalidSignature: boolean;3202 readonly isInvalidSignature: boolean;
3201 readonly isPreLogExists: boolean;3203 readonly isPreLogExists: boolean;
3202 readonly type: 'InvalidSignature' | 'PreLogExists';3204 readonly type: 'InvalidSignature' | 'PreLogExists';
3203 }3205 }
32043206
3205 /** @name PalletEvmCoderSubstrateError (416) */3207 /** @name PalletEvmCoderSubstrateError (418) */
3206 export interface PalletEvmCoderSubstrateError extends Enum {3208 export interface PalletEvmCoderSubstrateError extends Enum {
3207 readonly isOutOfGas: boolean;3209 readonly isOutOfGas: boolean;
3208 readonly isOutOfFund: boolean;3210 readonly isOutOfFund: boolean;
3209 readonly type: 'OutOfGas' | 'OutOfFund';3211 readonly type: 'OutOfGas' | 'OutOfFund';
3210 }3212 }
32113213
3212 /** @name PalletEvmContractHelpersSponsoringModeT (417) */3214 /** @name PalletEvmContractHelpersSponsoringModeT (419) */
3213 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {3215 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
3214 readonly isDisabled: boolean;3216 readonly isDisabled: boolean;
3215 readonly isAllowlisted: boolean;3217 readonly isAllowlisted: boolean;
3216 readonly isGenerous: boolean;3218 readonly isGenerous: boolean;
3217 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';3219 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
3218 }3220 }
32193221
3220 /** @name PalletEvmContractHelpersError (419) */3222 /** @name PalletEvmContractHelpersError (421) */
3221 export interface PalletEvmContractHelpersError extends Enum {3223 export interface PalletEvmContractHelpersError extends Enum {
3222 readonly isNoPermission: boolean;3224 readonly isNoPermission: boolean;
3223 readonly type: 'NoPermission';3225 readonly type: 'NoPermission';
3224 }3226 }
32253227
3226 /** @name PalletEvmMigrationError (420) */3228 /** @name PalletEvmMigrationError (422) */
3227 export interface PalletEvmMigrationError extends Enum {3229 export interface PalletEvmMigrationError extends Enum {
3228 readonly isAccountNotEmpty: boolean;3230 readonly isAccountNotEmpty: boolean;
3229 readonly isAccountIsNotMigrating: boolean;3231 readonly isAccountIsNotMigrating: boolean;
3230 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';3232 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
3231 }3233 }
32323234
3233 /** @name SpRuntimeMultiSignature (422) */3235 /** @name SpRuntimeMultiSignature (424) */
3234 export interface SpRuntimeMultiSignature extends Enum {3236 export interface SpRuntimeMultiSignature extends Enum {
3235 readonly isEd25519: boolean;3237 readonly isEd25519: boolean;
3236 readonly asEd25519: SpCoreEd25519Signature;3238 readonly asEd25519: SpCoreEd25519Signature;
3241 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';3243 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
3242 }3244 }
32433245
3244 /** @name SpCoreEd25519Signature (423) */3246 /** @name SpCoreEd25519Signature (425) */
3245 export interface SpCoreEd25519Signature extends U8aFixed {}3247 export interface SpCoreEd25519Signature extends U8aFixed {}
32463248
3247 /** @name SpCoreSr25519Signature (425) */3249 /** @name SpCoreSr25519Signature (427) */
3248 export interface SpCoreSr25519Signature extends U8aFixed {}3250 export interface SpCoreSr25519Signature extends U8aFixed {}
32493251
3250 /** @name SpCoreEcdsaSignature (426) */3252 /** @name SpCoreEcdsaSignature (428) */
3251 export interface SpCoreEcdsaSignature extends U8aFixed {}3253 export interface SpCoreEcdsaSignature extends U8aFixed {}
32523254
3253 /** @name FrameSystemExtensionsCheckSpecVersion (429) */3255 /** @name FrameSystemExtensionsCheckSpecVersion (431) */
3254 export type FrameSystemExtensionsCheckSpecVersion = Null;3256 export type FrameSystemExtensionsCheckSpecVersion = Null;
32553257
3256 /** @name FrameSystemExtensionsCheckGenesis (430) */3258 /** @name FrameSystemExtensionsCheckGenesis (432) */
3257 export type FrameSystemExtensionsCheckGenesis = Null;3259 export type FrameSystemExtensionsCheckGenesis = Null;
32583260
3259 /** @name FrameSystemExtensionsCheckNonce (433) */3261 /** @name FrameSystemExtensionsCheckNonce (435) */
3260 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}3262 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
32613263
3262 /** @name FrameSystemExtensionsCheckWeight (434) */3264 /** @name FrameSystemExtensionsCheckWeight (436) */
3263 export type FrameSystemExtensionsCheckWeight = Null;3265 export type FrameSystemExtensionsCheckWeight = Null;
32643266
3265 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (435) */3267 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (437) */
3266 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}3268 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
32673269
3268 /** @name OpalRuntimeRuntime (436) */3270 /** @name OpalRuntimeRuntime (438) */
3269 export type OpalRuntimeRuntime = Null;3271 export type OpalRuntimeRuntime = Null;
32703272
3271 /** @name PalletEthereumFakeTransactionFinalizer (437) */3273 /** @name PalletEthereumFakeTransactionFinalizer (439) */
3272 export type PalletEthereumFakeTransactionFinalizer = Null;3274 export type PalletEthereumFakeTransactionFinalizer = Null;
32733275
3274} // declare module3276} // declare module
modifiedtests/src/nesting/nest.test.tsdiffbeforeafterboth
32 it('Performs the full suite: bundles a token, transfers, and unnests', async () => {32 it('Performs the full suite: bundles a token, transfers, and unnests', async () => {
33 await usingApi(async api => {33 await usingApi(async api => {
34 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});34 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
35 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});35 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
36 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');36 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
3737
38 // Create a nested token38 // Create a nested token
62 it('Transfers an already bundled token', async () => {62 it('Transfers an already bundled token', async () => {
63 await usingApi(async api => {63 await usingApi(async api => {
64 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});64 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
65 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});65 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
6666
67 const tokenA = await createItemExpectSuccess(alice, collection, 'NFT');67 const tokenA = await createItemExpectSuccess(alice, collection, 'NFT');
68 const tokenB = await createItemExpectSuccess(alice, collection, 'NFT');68 const tokenB = await createItemExpectSuccess(alice, collection, 'NFT');
92 it('Checks token children', async () => {92 it('Checks token children', async () => {
93 await usingApi(async api => {93 await usingApi(async api => {
94 const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});94 const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
95 await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: 'Owner'});95 await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: {tokenOwner: true}});
96 const collectionB = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});96 const collectionB = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
9797
98 const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT');98 const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT');
151 it('NFT: allows an Owner to nest/unnest their token', async () => {151 it('NFT: allows an Owner to nest/unnest their token', async () => {
152 await usingApi(async api => {152 await usingApi(async api => {
153 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});153 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
154 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});154 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
155 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');155 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
156156
157 // Create a nested token157 // Create a nested token
170 it('NFT: allows an Owner to nest/unnest their token (Restricted nesting)', async () => {170 it('NFT: allows an Owner to nest/unnest their token (Restricted nesting)', async () => {
171 await usingApi(async api => {171 await usingApi(async api => {
172 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});172 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
173 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[collection]}});173 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[collection]}});
174 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');174 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
175175
176 // Create a nested token176 // Create a nested token
191 it('Fungible: allows an Owner to nest/unnest their token', async () => {191 it('Fungible: allows an Owner to nest/unnest their token', async () => {
192 await usingApi(async api => {192 await usingApi(async api => {
193 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});193 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
194 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});194 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
195 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});195 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});
196 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};196 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
197197
218218
219 const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});219 const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
220220
221 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted: [collectionFT]}});221 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted: [collectionFT]}});
222222
223 // Create a nested token223 // Create a nested token
224 await expect(executeTransaction(api, alice, api.tx.unique.createItem(224 await expect(executeTransaction(api, alice, api.tx.unique.createItem(
238 it('ReFungible: allows an Owner to nest/unnest their token', async () => {238 it('ReFungible: allows an Owner to nest/unnest their token', async () => {
239 await usingApi(async api => {239 await usingApi(async api => {
240 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});240 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
241 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});241 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
242 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});242 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT', {Substrate: alice.address});
243 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};243 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
244244
265265
266 const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});266 const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
267267
268 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionRFT]}});268 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionRFT]}});
269269
270 // Create a nested token270 // Create a nested token
271 await expect(executeTransaction(api, alice, api.tx.unique.createItem(271 await expect(executeTransaction(api, alice, api.tx.unique.createItem(
292 it('Disallows excessive token nesting', async () => {292 it('Disallows excessive token nesting', async () => {
293 await usingApi(async api => {293 await usingApi(async api => {
294 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});294 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
295 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});295 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
296 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');296 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
297297
298 const maxNestingLevel = 5;298 const maxNestingLevel = 5;
326 it('NFT: disallows to nest token if nesting is disabled', async () => {326 it('NFT: disallows to nest token if nesting is disabled', async () => {
327 await usingApi(async api => {327 await usingApi(async api => {
328 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});328 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
329 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Disabled'});329 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {}});
330 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');330 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
331331
332 // Try to create a nested token332 // Try to create a nested token
333 await expect(executeTransaction(api, alice, api.tx.unique.createItem(333 await expect(executeTransaction(api, alice, api.tx.unique.createItem(
334 collection,334 collection,
335 {Ethereum: tokenIdToAddress(collection, targetToken)},335 {Ethereum: tokenIdToAddress(collection, targetToken)},
336 {nft: {const_data: [], variable_data: []}} as any,336 {nft: {const_data: [], variable_data: []}} as any,
337 )), 'while creating nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);337 )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
338338
339 // Create a token to be nested339 // Create a token to be nested
340 const newToken = await createItemExpectSuccess(alice, collection, 'NFT');340 const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
341 // Try to nest341 // Try to nest
342 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/);342 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/);
343 expect(await getTopmostTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});343 expect(await getTopmostTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});
344 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});344 expect(await getTokenOwner(api, collection, newToken)).to.be.deep.equal({Substrate: alice.address});
345 });345 });
348 it('NFT: disallows a non-Owner to nest someone else\'s token', async () => {348 it('NFT: disallows a non-Owner to nest someone else\'s token', async () => {
349 await usingApi(async api => {349 await usingApi(async api => {
350 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});350 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
351 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});351 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
352352
353 await addToAllowListExpectSuccess(alice, collection, bob.address);353 await addToAllowListExpectSuccess(alice, collection, bob.address);
354 await enableAllowListExpectSuccess(alice, collection);354 await enableAllowListExpectSuccess(alice, collection);
362 collection,362 collection,
363 {Ethereum: tokenIdToAddress(collection, targetToken)},363 {Ethereum: tokenIdToAddress(collection, targetToken)},
364 {nft: {const_data: [], variable_data: []}} as any,364 {nft: {const_data: [], variable_data: []}} as any,
365 )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);365 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
366366
367 // Try to create and nest a token in the wrong collection367 // Try to create and nest a token in the wrong collection
368 const newToken = await createItemExpectSuccess(alice, collection, 'NFT');368 const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
374 it('NFT: disallows a non-Owner to nest someone else\'s token (Restricted nesting)', async () => {374 it('NFT: disallows a non-Owner to nest someone else\'s token (Restricted nesting)', async () => {
375 await usingApi(async api => {375 await usingApi(async api => {
376 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});376 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
377 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[collection]}});377 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[collection]}});
378378
379 await addToAllowListExpectSuccess(alice, collection, bob.address);379 await addToAllowListExpectSuccess(alice, collection, bob.address);
380 await enableAllowListExpectSuccess(alice, collection);380 await enableAllowListExpectSuccess(alice, collection);
388 collection,388 collection,
389 {Ethereum: tokenIdToAddress(collection, targetToken)},389 {Ethereum: tokenIdToAddress(collection, targetToken)},
390 {nft: {const_data: [], variable_data: []}} as any,390 {nft: {const_data: [], variable_data: []}} as any,
391 )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);391 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
392392
393 // Try to create and nest a token in the wrong collection393 // Try to create and nest a token in the wrong collection
394 const newToken = await createItemExpectSuccess(alice, collection, 'NFT');394 const newToken = await createItemExpectSuccess(alice, collection, 'NFT');
400 it('NFT: disallows to nest token in an unlisted collection', async () => {400 it('NFT: disallows to nest token in an unlisted collection', async () => {
401 await usingApi(async api => {401 await usingApi(async api => {
402 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});402 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
403 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {OwnerRestricted:[]}});403 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true, restricted:[]}});
404404
405 // Create a token to attempt to be nested into405 // Create a token to attempt to be nested into
406 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');406 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
424 it('Fungible: disallows to nest token if nesting is disabled', async () => {424 it('Fungible: disallows to nest token if nesting is disabled', async () => {
425 await usingApi(async api => {425 await usingApi(async api => {
426 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});426 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
427 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Disabled'});427 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {}});
428 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');428 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
429 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};429 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
430430
435 collectionFT,435 collectionFT,
436 targetAddress,436 targetAddress,
437 {Fungible: {Value: 10}},437 {Fungible: {Value: 10}},
438 )), 'while creating nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);438 )), 'while creating nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
439439
440 // Create a token to be nested440 // Create a token to be nested
441 const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');441 const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
442 // Try to nest442 // Try to nest
443 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);443 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
444444
445 // Create another token to be nested445 // Create another token to be nested
446 const newToken2 = await createItemExpectSuccess(alice, collectionFT, 'Fungible');446 const newToken2 = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
452 it('Fungible: disallows a non-Owner to nest someone else\'s token', async () => {452 it('Fungible: disallows a non-Owner to nest someone else\'s token', async () => {
453 await usingApi(async api => {453 await usingApi(async api => {
454 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});454 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
455 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});455 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
456456
457 await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);457 await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);
458 await enableAllowListExpectSuccess(alice, collectionNFT);458 await enableAllowListExpectSuccess(alice, collectionNFT);
469 collectionFT,469 collectionFT,
470 targetAddress,470 targetAddress,
471 {Fungible: {Value: 10}},471 {Fungible: {Value: 10}},
472 )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);472 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
473473
474 // Try to create and nest a token in the wrong collection474 // Try to create and nest a token in the wrong collection
475 const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');475 const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
476 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);476 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
477 });477 });
478 });478 });
479479
489 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};489 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
490490
491 const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});491 const collectionFT = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
492 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionFT]}});492 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionFT]}});
493493
494 // Try to create a nested token in the wrong collection494 // Try to create a nested token in the wrong collection
495 await expect(executeTransaction(api, alice, api.tx.unique.createItem(495 await expect(executeTransaction(api, alice, api.tx.unique.createItem(
496 collectionFT,496 collectionFT,
497 targetAddress,497 targetAddress,
498 {Fungible: {Value: 10}},498 {Fungible: {Value: 10}},
499 )), 'while creating nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);499 )), 'while creating nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
500500
501 // Try to create and nest a token in the wrong collection501 // Try to create and nest a token in the wrong collection
502 const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');502 const newToken = await createItemExpectSuccess(alice, collectionFT, 'Fungible');
503 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);503 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
504 });504 });
505 });505 });
506506
507 it('Fungible: disallows to nest token in an unlisted collection', async () => {507 it('Fungible: disallows to nest token in an unlisted collection', async () => {
508 await usingApi(async api => {508 await usingApi(async api => {
509 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});509 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
510 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[]}});510 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[]}});
511511
512 // Create a token to attempt to be nested into512 // Create a token to attempt to be nested into
513 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');513 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
533 it('ReFungible: disallows to nest token if nesting is disabled', async () => {533 it('ReFungible: disallows to nest token if nesting is disabled', async () => {
534 await usingApi(async api => {534 await usingApi(async api => {
535 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});535 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
536 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Disabled'});536 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {}});
537 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');537 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
538 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};538 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
539539
544 collectionRFT,544 collectionRFT,
545 targetAddress,545 targetAddress,
546 {ReFungible: {const_data: [], pieces: 100}},546 {ReFungible: {const_data: [], pieces: 100}},
547 )), 'while creating a nested token').to.be.rejectedWith(/^common\.NestingIsDisabled$/);547 )), 'while creating a nested token').to.be.rejectedWith(/^common\.UserIsNotAllowedToNest$/);
548548
549 // Create a token to be nested549 // Create a token to be nested
550 const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');550 const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
551 // Try to nest551 // Try to nest
552 await transferExpectFailure(collectionRFT, newToken, alice, targetAddress, 100);552 await transferExpectFailure(collectionRFT, newToken, alice, targetAddress, 100);
553 // Try to nest553 // Try to nest
554 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.NestingIsDisabled/);554 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
555555
556 // Create another token to be nested556 // Create another token to be nested
557 const newToken2 = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');557 const newToken2 = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
563 it('ReFungible: disallows a non-Owner to nest someone else\'s token', async () => {563 it('ReFungible: disallows a non-Owner to nest someone else\'s token', async () => {
564 await usingApi(async api => {564 await usingApi(async api => {
565 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});565 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
566 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: 'Owner'});566 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true}});
567567
568 await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);568 await addToAllowListExpectSuccess(alice, collectionNFT, bob.address);
569 await enableAllowListExpectSuccess(alice, collectionNFT);569 await enableAllowListExpectSuccess(alice, collectionNFT);
580 collectionRFT,580 collectionRFT,
581 targetAddress,581 targetAddress,
582 {ReFungible: {const_data: [], pieces: 100}},582 {ReFungible: {const_data: [], pieces: 100}},
583 )), 'while creating a nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);583 )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
584584
585 // Try to create and nest a token in the wrong collection585 // Try to create and nest a token in the wrong collection
586 const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');586 const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
587 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);587 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
588 });588 });
589 });589 });
590590
600 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};600 const targetAddress = {Ethereum: tokenIdToAddress(collectionNFT, targetToken)};
601601
602 const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});602 const collectionRFT = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});
603 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[collectionRFT]}});603 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[collectionRFT]}});
604604
605 // Try to create a nested token in the wrong collection605 // Try to create a nested token in the wrong collection
606 await expect(executeTransaction(api, alice, api.tx.unique.createItem(606 await expect(executeTransaction(api, alice, api.tx.unique.createItem(
607 collectionRFT,607 collectionRFT,
608 targetAddress,608 targetAddress,
609 {ReFungible: {const_data: [], pieces: 100}},609 {ReFungible: {const_data: [], pieces: 100}},
610 )), 'while creating a nested token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);610 )), 'while creating a nested token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
611611
612 // Try to create and nest a token in the wrong collection612 // Try to create and nest a token in the wrong collection
613 const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');613 const newToken = await createItemExpectSuccess(alice, collectionRFT, 'ReFungible');
614 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.OnlyOwnerAllowedToNest/);614 await expect(executeTransaction(api, alice, api.tx.unique.transfer(targetAddress, collectionRFT, newToken, 1)), 'while nesting new token').to.be.rejectedWith(/common\.UserIsNotAllowedToNest/);
615 });615 });
616 });616 });
617617
618 it('ReFungible: disallows to nest token to an unlisted collection', async () => {618 it('ReFungible: disallows to nest token to an unlisted collection', async () => {
619 await usingApi(async api => {619 await usingApi(async api => {
620 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});620 const collectionNFT = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
621 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {OwnerRestricted:[]}});621 await setCollectionPermissionsExpectSuccess(alice, collectionNFT, {nesting: {tokenOwner: true, restricted:[]}});
622622
623 // Create a token to attempt to be nested into623 // Create a token to attempt to be nested into
624 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');624 const targetToken = await createItemExpectSuccess(alice, collectionNFT, 'NFT');
modifiedtests/src/nesting/rules-smoke.test.tsdiffbeforeafterboth
14 const events = await executeTransaction(api, alice, api.tx.unique.createCollectionEx({14 const events = await executeTransaction(api, alice, api.tx.unique.createCollectionEx({
15 mode: 'NFT',15 mode: 'NFT',
16 permissions: {16 permissions: {
17 nesting: {OwnerRestricted: []},17 nesting: {tokenOwner: true, restricted: []},
18 },18 },
19 }));19 }));
20 const collection = getCreateCollectionResult(events).collectionId;20 const collection = getCreateCollectionResult(events).collectionId;
modifiedtests/src/nesting/unnest.test.tsdiffbeforeafterboth
27 it('NFT: allows the owner to successfully unnest a token', async () => {27 it('NFT: allows the owner to successfully unnest a token', async () => {
28 await usingApi(async api => {28 await usingApi(async api => {
29 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});29 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
30 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});30 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
31 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');31 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
32 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};32 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
3333
56 it('Fungible: allows the owner to successfully unnest a token', async () => {56 it('Fungible: allows the owner to successfully unnest a token', async () => {
57 await usingApi(async api => {57 await usingApi(async api => {
58 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});58 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
59 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});59 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
60 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');60 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
61 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};61 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
6262
83 it('ReFungible: allows the owner to successfully unnest a token', async () => {83 it('ReFungible: allows the owner to successfully unnest a token', async () => {
84 await usingApi(async api => {84 await usingApi(async api => {
85 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});85 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
86 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});86 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
87 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');87 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
88 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};88 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
8989
118 it('Disallows a non-owner to unnest/burn a token', async () => {118 it('Disallows a non-owner to unnest/burn a token', async () => {
119 await usingApi(async api => {119 await usingApi(async api => {
120 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});120 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
121 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});121 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
122 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');122 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
123 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};123 const targetAddress = {Ethereum: tokenIdToAddress(collection, targetToken)};
124124
148 // Recursive nesting148 // Recursive nesting
149 it('Prevents Ouroboros creation', async () => {149 it('Prevents Ouroboros creation', async () => {
150 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});150 const collection = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
151 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: 'Owner'});151 await setCollectionPermissionsExpectSuccess(alice, collection, {nesting: {tokenOwner: true}});
152 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');152 const targetToken = await createItemExpectSuccess(alice, collection, 'NFT');
153153
154 // Create a nested token ouroboros154 // Create a nested token ouroboros
modifiedtests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth
111 });111 });
112 });112 });
113113
114 it.only('Admin can\'t remove collection admin.', async () => {114 it('Admin can\'t remove collection admin.', async () => {
115 await usingApi(async (api, privateKeyWrapper) => {115 await usingApi(async (api, privateKeyWrapper) => {
116 const collectionId = await createCollectionExpectSuccess();116 const collectionId = await createCollectionExpectSuccess();
117 const alice = privateKeyWrapper('//Alice');117 const alice = privateKeyWrapper('//Alice');
modifiedtests/src/util/helpers.tsdiffbeforeafterboth
193 if (method === 'ExtrinsicSuccess') {193 if (method === 'ExtrinsicSuccess') {
194 success = true;194 success = true;
195 } else if ((expectSection == section) && (expectMethod == method)) {195 } else if ((expectSection == section) && (expectMethod == method)) {
196 successData = extractAction!(data);196 successData = extractAction!(data as any);
197 }197 }
198 });198 });
199199
547 });547 });
548}548}
549549
550export const setCollectionPermissionsExpectSuccess = async (sender: IKeyringPair, collectionId: number, permissions: {mintMode?: boolean, access?: 'Normal' | 'AllowList', nesting?: 'Disabled' | 'Owner' | {OwnerRestricted: number[]}}) => {550export const setCollectionPermissionsExpectSuccess = async (sender: IKeyringPair, collectionId: number, permissions: any) => {
551 await usingApi(async(api) => {551 await usingApi(async(api) => {
552 const tx = api.tx.unique.setCollectionPermissions(collectionId, permissions);552 const tx = api.tx.unique.setCollectionPermissions(collectionId, permissions);
553 const events = await submitTransactionAsync(sender, tx);553 const events = await submitTransactionAsync(sender, tx);
modifiedtests/yarn.lockdiffbeforeafterboth
508 "@nodelib/fs.scandir" "2.1.5"508 "@nodelib/fs.scandir" "2.1.5"
509 fastq "^1.6.0"509 fastq "^1.6.0"
510510
511"@polkadot/api-augment@8.7.2-11":511"@polkadot/api-augment@8.7.2-15":
512 version "8.7.2-11"512 version "8.7.2-15"
513 resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.7.2-11.tgz#7f174f830c181d82863eb41f48e24fd6bbde3065"513 resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-8.7.2-15.tgz#a141d3cd595a39e7e2965330268b5eb92bdd5849"
514 integrity sha512-yKsuxjez1ArwSEZJ+g8mausm38CgOtaWBG5ob5cmO9M2v45HBXy3Kmviqr8Dputtu23deT85p7m/8RFLlAnzSA==514 integrity sha512-QGXosX6p0RFYNhWepZCIaRiyCvHnVt5Pb6U7/77UxIszgGRHfHFDsYr4v5bGiaRTOj/E8moc2Ufi/+VgOiG9sw==
515 dependencies:515 dependencies:
516 "@babel/runtime" "^7.18.3"516 "@babel/runtime" "^7.18.3"
517 "@polkadot/api-base" "8.7.2-11"517 "@polkadot/api-base" "8.7.2-15"
518 "@polkadot/rpc-augment" "8.7.2-11"518 "@polkadot/rpc-augment" "8.7.2-15"
519 "@polkadot/types" "8.7.2-11"519 "@polkadot/types" "8.7.2-15"
520 "@polkadot/types-augment" "8.7.2-11"520 "@polkadot/types-augment" "8.7.2-15"
521 "@polkadot/types-codec" "8.7.2-11"521 "@polkadot/types-codec" "8.7.2-15"
522 "@polkadot/util" "^9.4.1"522 "@polkadot/util" "^9.4.1"
523523
524"@polkadot/api-base@8.7.2-11":524"@polkadot/api-base@8.7.2-15":
525 version "8.7.2-11"525 version "8.7.2-15"
526 resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.7.2-11.tgz#7e297a0ca283a58bc9d8d11c1edb099bc61da9f1"526 resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-8.7.2-15.tgz#c909d3bf0fbfb3cc46ca7067199e36e72b959bdb"
527 integrity sha512-WQE5uvb7W7AKSfy4ekW2i6mJJzZYLMS/eNPNXYpURW/cRPt9NhT9lNz2Ae2d7gaWgWil+jNLecXTHTUzxobRbA==527 integrity sha512-HXdtaqbpnfFbOazjI9CPSYM37S4mzhxUs8hLMKrWqpHL//at4tiMa5dRyev9VSKeE6gqeqCT9JTBvEAZ9eNR6Q==
528 dependencies:528 dependencies:
529 "@babel/runtime" "^7.18.3"529 "@babel/runtime" "^7.18.3"
530 "@polkadot/rpc-core" "8.7.2-11"530 "@polkadot/rpc-core" "8.7.2-15"
531 "@polkadot/types" "8.7.2-11"531 "@polkadot/types" "8.7.2-15"
532 "@polkadot/util" "^9.4.1"532 "@polkadot/util" "^9.4.1"
533 rxjs "^7.5.5"533 rxjs "^7.5.5"
534534
535"@polkadot/api-contract@8.7.2-11":535"@polkadot/api-contract@8.7.2-15":
536 version "8.7.2-11"536 version "8.7.2-15"
537 resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-8.7.2-11.tgz#9487394286e536a7b1edfb6296529722fa63a43a"537 resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-8.7.2-15.tgz#687706fb4bd33c4a88187db3a269292f6e559892"
538 integrity sha512-vOi4FX33ttkotJDzSum0nFUworWJ2+yfDejZkC33mM8zb+ne0Quggfz2nQqiKS2lgkj2z4YwJbsf/9paRQeS3w==538 integrity sha512-Pr1Nm5zBpW9foCKm/Q6hIT5KHCeFVE8EFSfHBgjbitYpFOGnz19kduEpa0vxIcfq2WVXcVPTQ2eqjGtHoThNqA==
539 dependencies:539 dependencies:
540 "@babel/runtime" "^7.18.3"540 "@babel/runtime" "^7.18.3"
541 "@polkadot/api" "8.7.2-11"541 "@polkadot/api" "8.7.2-15"
542 "@polkadot/types" "8.7.2-11"542 "@polkadot/types" "8.7.2-15"
543 "@polkadot/types-codec" "8.7.2-11"543 "@polkadot/types-codec" "8.7.2-15"
544 "@polkadot/types-create" "8.7.2-11"544 "@polkadot/types-create" "8.7.2-15"
545 "@polkadot/util" "^9.4.1"545 "@polkadot/util" "^9.4.1"
546 "@polkadot/util-crypto" "^9.4.1"546 "@polkadot/util-crypto" "^9.4.1"
547 rxjs "^7.5.5"547 rxjs "^7.5.5"
548548
549"@polkadot/api-derive@8.7.2-11":549"@polkadot/api-derive@8.7.2-15":
550 version "8.7.2-11"550 version "8.7.2-15"
551 resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.7.2-11.tgz#21e315d554a8cd31bb1f3b10077960e35391a311"551 resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-8.7.2-15.tgz#b29f24d435c036c9bf5624d18a9d93196cf2c4f4"
552 integrity sha512-8fkYidDgNjJcWHtiRfJQaI4H386uGZh5Ie0t21KG4sSC5R+Lbnm0CJwIX4scJvQ/U+38gCyQW07b+Pxt9oDwvg==552 integrity sha512-0R3M9LFKoQ0d7elIDQjPKuV5EAHTtkU/72Lgxw2GYStsOqcnfFNomfLoLMuk8Xy4ETUAp/Kq1eMJpvsY6hSTtA==
553 dependencies:553 dependencies:
554 "@babel/runtime" "^7.18.3"554 "@babel/runtime" "^7.18.3"
555 "@polkadot/api" "8.7.2-11"555 "@polkadot/api" "8.7.2-15"
556 "@polkadot/api-augment" "8.7.2-11"556 "@polkadot/api-augment" "8.7.2-15"
557 "@polkadot/api-base" "8.7.2-11"557 "@polkadot/api-base" "8.7.2-15"
558 "@polkadot/rpc-core" "8.7.2-11"558 "@polkadot/rpc-core" "8.7.2-15"
559 "@polkadot/types" "8.7.2-11"559 "@polkadot/types" "8.7.2-15"
560 "@polkadot/types-codec" "8.7.2-11"560 "@polkadot/types-codec" "8.7.2-15"
561 "@polkadot/util" "^9.4.1"561 "@polkadot/util" "^9.4.1"
562 "@polkadot/util-crypto" "^9.4.1"562 "@polkadot/util-crypto" "^9.4.1"
563 rxjs "^7.5.5"563 rxjs "^7.5.5"
564564
565"@polkadot/api@8.7.2-11":565"@polkadot/api@8.7.2-15":
566 version "8.7.2-11"566 version "8.7.2-15"
567 resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.7.2-11.tgz#d76ad24f96fc9eba49825c11277105d12bf5e05c"567 resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-8.7.2-15.tgz#c7ede416e4d277c227fc93fdfdc4d27634935d08"
568 integrity sha512-eFQtZOJOVK5IbNSjvrk1JrOZJrtZRjaecMAhnQiglMPoIfQJiRbnXhUslGbXsgFoJsfWW6DAVY5aJi/PjuF9OQ==568 integrity sha512-tzEUWsXIPzPbnpn/3LTGtJ7SXzMgCJ/da5d9q0UH3vsx1gDEjuZEWXOeSYLHgbqQSgwPukvMVuGtRjcC+A/WZQ==
569 dependencies:569 dependencies:
570 "@babel/runtime" "^7.18.3"570 "@babel/runtime" "^7.18.3"
571 "@polkadot/api-augment" "8.7.2-11"571 "@polkadot/api-augment" "8.7.2-15"
572 "@polkadot/api-base" "8.7.2-11"572 "@polkadot/api-base" "8.7.2-15"
573 "@polkadot/api-derive" "8.7.2-11"573 "@polkadot/api-derive" "8.7.2-15"
574 "@polkadot/keyring" "^9.4.1"574 "@polkadot/keyring" "^9.4.1"
575 "@polkadot/rpc-augment" "8.7.2-11"575 "@polkadot/rpc-augment" "8.7.2-15"
576 "@polkadot/rpc-core" "8.7.2-11"576 "@polkadot/rpc-core" "8.7.2-15"
577 "@polkadot/rpc-provider" "8.7.2-11"577 "@polkadot/rpc-provider" "8.7.2-15"
578 "@polkadot/types" "8.7.2-11"578 "@polkadot/types" "8.7.2-15"
579 "@polkadot/types-augment" "8.7.2-11"579 "@polkadot/types-augment" "8.7.2-15"
580 "@polkadot/types-codec" "8.7.2-11"580 "@polkadot/types-codec" "8.7.2-15"
581 "@polkadot/types-create" "8.7.2-11"581 "@polkadot/types-create" "8.7.2-15"
582 "@polkadot/types-known" "8.7.2-11"582 "@polkadot/types-known" "8.7.2-15"
583 "@polkadot/util" "^9.4.1"583 "@polkadot/util" "^9.4.1"
584 "@polkadot/util-crypto" "^9.4.1"584 "@polkadot/util-crypto" "^9.4.1"
585 eventemitter3 "^4.0.7"585 eventemitter3 "^4.0.7"
603 "@polkadot/util" "9.4.1"603 "@polkadot/util" "9.4.1"
604 "@substrate/ss58-registry" "^1.22.0"604 "@substrate/ss58-registry" "^1.22.0"
605605
606"@polkadot/rpc-augment@8.7.2-11":606"@polkadot/rpc-augment@8.7.2-15":
607 version "8.7.2-11"607 version "8.7.2-15"
608 resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.7.2-11.tgz#b118303653fb6f80688c62600fde2ed489e1c974"608 resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-8.7.2-15.tgz#6175126968dfb79ba5549b03cac8c3860666e72b"
609 integrity sha512-/h50Kzz/UZwhsV+g7bwGWf0fkVvlWIQ/zaA7H9xtuE4VGvmZRE4Uu06011ToVWNyAwM5xQfXBx1gUznRhem+pg==609 integrity sha512-IgfkR9CHT8jDuGYkb75DBFu+yJNW32+vOt3oS0sf57VqkHketSq9rD3mtZD37V/21Q4a17yrqKQOte7mMl9kcg==
610 dependencies:610 dependencies:
611 "@babel/runtime" "^7.18.3"611 "@babel/runtime" "^7.18.3"
612 "@polkadot/rpc-core" "8.7.2-11"612 "@polkadot/rpc-core" "8.7.2-15"
613 "@polkadot/types" "8.7.2-11"613 "@polkadot/types" "8.7.2-15"
614 "@polkadot/types-codec" "8.7.2-11"614 "@polkadot/types-codec" "8.7.2-15"
615 "@polkadot/util" "^9.4.1"615 "@polkadot/util" "^9.4.1"
616616
617"@polkadot/rpc-core@8.7.2-11":617"@polkadot/rpc-core@8.7.2-15":
618 version "8.7.2-11"618 version "8.7.2-15"
619 resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.7.2-11.tgz#9c31a34bc2f70e4dab40f9ba08ca9b89c8f3e5c0"619 resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-8.7.2-15.tgz#827a31adf833fb866cb5f39dbd86c5f0b44d63a4"
620 integrity sha512-DyHYgzBusMFfsDJ/2VBaVTNHRwZ2cf/woaeJA/ijJbxK2Ke/sg9UW6zr+3Ip8T62GnSNnJoSHMOaMdqvebkNVQ==620 integrity sha512-yGmpESOmGyzY7+D3yUxbKToz/eP/q8vDyOGajLnHn12TcnjgbAfMdc4xdU6cQex+mSsPwS0YQFuPrPXGloCOHA==
621 dependencies:621 dependencies:
622 "@babel/runtime" "^7.18.3"622 "@babel/runtime" "^7.18.3"
623 "@polkadot/rpc-augment" "8.7.2-11"623 "@polkadot/rpc-augment" "8.7.2-15"
624 "@polkadot/rpc-provider" "8.7.2-11"624 "@polkadot/rpc-provider" "8.7.2-15"
625 "@polkadot/types" "8.7.2-11"625 "@polkadot/types" "8.7.2-15"
626 "@polkadot/util" "^9.4.1"626 "@polkadot/util" "^9.4.1"
627 rxjs "^7.5.5"627 rxjs "^7.5.5"
628628
629"@polkadot/rpc-provider@8.7.2-11":629"@polkadot/rpc-provider@8.7.2-15":
630 version "8.7.2-11"630 version "8.7.2-15"
631 resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.7.2-11.tgz#1f4ef542aee83e0c4e1b2a126ed00ade7c818660"631 resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-8.7.2-15.tgz#99dd30085284442265225e0f12aef3849b7bfe44"
632 integrity sha512-LE5kKEMxL4mZ+dLbU8lOPG2GuPYliYtX1SnXv509zAgUjSCWW9fkdeMBF3tFCjSJJcUmle3mlxG8kYuAqNUScA==632 integrity sha512-EwgBnUIpGhEfSanDXVviQQ784HYD3DWUPdv9pIvn9qnCZPk7o+MGPvKW73A+XbQpPV9j8tAGnVsSnbDuoSVp1g==
633 dependencies:633 dependencies:
634 "@babel/runtime" "^7.18.3"634 "@babel/runtime" "^7.18.3"
635 "@polkadot/keyring" "^9.4.1"635 "@polkadot/keyring" "^9.4.1"
636 "@polkadot/types" "8.7.2-11"636 "@polkadot/types" "8.7.2-15"
637 "@polkadot/types-support" "8.7.2-11"637 "@polkadot/types-support" "8.7.2-15"
638 "@polkadot/util" "^9.4.1"638 "@polkadot/util" "^9.4.1"
639 "@polkadot/util-crypto" "^9.4.1"639 "@polkadot/util-crypto" "^9.4.1"
640 "@polkadot/x-fetch" "^9.4.1"640 "@polkadot/x-fetch" "^9.4.1"
652 dependencies:652 dependencies:
653 "@types/chrome" "^0.0.171"653 "@types/chrome" "^0.0.171"
654654
655"@polkadot/typegen@8.7.2-11":655"@polkadot/typegen@8.7.2-15":
656 version "8.7.2-11"656 version "8.7.2-15"
657 resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-8.7.2-11.tgz#047c3c91f4b34f0188853bed606fd12f6a0fbf4d"657 resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-8.7.2-15.tgz#06e9d054db1c63d9862186429a8017b2b80bce2a"
658 integrity sha512-YZpyT8LJFm3akFurrxHpRWxZU50yKvrfdgyZpJh+JJOhSIIDtkx58JNj2+lv0QvhUFOUkd4IWap9bbCPmeLf6w==658 integrity sha512-NC8Ticirh20k1Co17D8cqQawIJ8W9HWDuq6oDyEMT4XkeBbZ1hQRO9JBO14neWDJmYJBhlUotP65jgjs8D5bMw==
659 dependencies:659 dependencies:
660 "@babel/core" "^7.18.2"660 "@babel/core" "^7.18.2"
661 "@babel/register" "^7.17.7"661 "@babel/register" "^7.17.7"
662 "@babel/runtime" "^7.18.3"662 "@babel/runtime" "^7.18.3"
663 "@polkadot/api" "8.7.2-11"663 "@polkadot/api" "8.7.2-15"
664 "@polkadot/api-augment" "8.7.2-11"664 "@polkadot/api-augment" "8.7.2-15"
665 "@polkadot/rpc-augment" "8.7.2-11"665 "@polkadot/rpc-augment" "8.7.2-15"
666 "@polkadot/rpc-provider" "8.7.2-11"666 "@polkadot/rpc-provider" "8.7.2-15"
667 "@polkadot/types" "8.7.2-11"667 "@polkadot/types" "8.7.2-15"
668 "@polkadot/types-augment" "8.7.2-11"668 "@polkadot/types-augment" "8.7.2-15"
669 "@polkadot/types-codec" "8.7.2-11"669 "@polkadot/types-codec" "8.7.2-15"
670 "@polkadot/types-create" "8.7.2-11"670 "@polkadot/types-create" "8.7.2-15"
671 "@polkadot/types-support" "8.7.2-11"671 "@polkadot/types-support" "8.7.2-15"
672 "@polkadot/util" "^9.4.1"672 "@polkadot/util" "^9.4.1"
673 "@polkadot/x-ws" "^9.4.1"673 "@polkadot/x-ws" "^9.4.1"
674 handlebars "^4.7.7"674 handlebars "^4.7.7"
675 websocket "^1.0.34"675 websocket "^1.0.34"
676 yargs "^17.5.1"676 yargs "^17.5.1"
677677
678"@polkadot/types-augment@8.7.2-11":678"@polkadot/types-augment@8.7.2-15":
679 version "8.7.2-11"679 version "8.7.2-15"
680 resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.7.2-11.tgz#c63105c76f8d85f7e642f8e81e16c3ffc3b3e7c4"680 resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.7.2-15.tgz#7ab077a1a31190ad17183196efb1da065c0d0bcd"
681 integrity sha512-1meIbpS0Synfdz+Jo90jc/utxwbwl9XQiH5WoFCUYLlbtE/H/yQcIoeme5o6gr/q7BalFQMYYwGBfctGT/KGjA==681 integrity sha512-th1jVBDqpyQVB2gCNzo/HV0dIeNinjyPla01BFdhQ5mDKYXJ8fugsLCk5oKUPpItBrj+5NWCgynVvCwm0YJw3g==
682 dependencies:682 dependencies:
683 "@babel/runtime" "^7.18.3"683 "@babel/runtime" "^7.18.3"
684 "@polkadot/types" "8.7.2-11"684 "@polkadot/types" "8.7.2-15"
685 "@polkadot/types-codec" "8.7.2-11"685 "@polkadot/types-codec" "8.7.2-15"
686 "@polkadot/util" "^9.4.1"686 "@polkadot/util" "^9.4.1"
687687
688"@polkadot/types-codec@8.7.2-11":688"@polkadot/types-codec@8.7.2-15":
689 version "8.7.2-11"689 version "8.7.2-15"
690 resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.7.2-11.tgz#a852d3493062ee1052f7a837d07cce4146f2c67e"690 resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.7.2-15.tgz#6afa4ff45dc7afb9250f283f70a40be641367941"
691 integrity sha512-ZvRBiVo5IwZ+vcbKIMv6l0kRG2bVpBmU+pCPdWV9zGtKpgumz1FTvxBmjXoNo6OJVX23fKNMF8qBD/DEiC9ZwA==691 integrity sha512-k8t7/Ern7sY4ZKQc5cYY3h1bg7/GAEaTPmKz094DhPJmEhi3NNgeJ4uyeB/JYCo5GbxXQG6W2M021s582urjMw==
692 dependencies:692 dependencies:
693 "@babel/runtime" "^7.18.3"693 "@babel/runtime" "^7.18.3"
694 "@polkadot/util" "^9.4.1"694 "@polkadot/util" "^9.4.1"
695695
696"@polkadot/types-create@8.7.2-11":696"@polkadot/types-create@8.7.2-15":
697 version "8.7.2-11"697 version "8.7.2-15"
698 resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.7.2-11.tgz#2489409155d55c941a322349d740e9f8f8325147"698 resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.7.2-15.tgz#106a11eb71dc2743b140d8640a3b3e7fc5ccf10e"
699 integrity sha512-489UaZP7JKfZ2Fn0oDQ32setAiV7vv9Q3Kg4a+j4m2TGEEXAVeiNE4Uvijmsw3ayLTtzO9hL0WtMpFWa8GlIMg==699 integrity sha512-xB9jAJ3XQh/U05b+X77m5TPh4N9oBwwpePkAmLhovTSOSeobj7qeUKrZqccs0BSxJnJPlLwrwuusjeTtTfZCHw==
700 dependencies:700 dependencies:
701 "@babel/runtime" "^7.18.3"701 "@babel/runtime" "^7.18.3"
702 "@polkadot/types-codec" "8.7.2-11"702 "@polkadot/types-codec" "8.7.2-15"
703 "@polkadot/util" "^9.4.1"703 "@polkadot/util" "^9.4.1"
704704
705"@polkadot/types-known@8.7.2-11":705"@polkadot/types-known@8.7.2-15":
706 version "8.7.2-11"706 version "8.7.2-15"
707 resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.7.2-11.tgz#89cb0cdea197ed3887b30948a560b0cd13b39c23"707 resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-8.7.2-15.tgz#171b8d3963a5c38d46f98a7c14be59033f9a4da8"
708 integrity sha512-ulPQCmwJTJ/MGJGVJZfjWEGq28HGl7D4sOrigbfLOlo6/KyFl2p5H4GUFeF/s+/lGfUQsxfu4Q6QgXDZAOkB1A==708 integrity sha512-c5YuuauPCu70chDnV7Fphh7SbAQl8JWj+PoY37I5BACCNFxtUx5KnP93BChiD0QxcHs2QqD6RdjW6O7cVRUKfA==
709 dependencies:709 dependencies:
710 "@babel/runtime" "^7.18.3"710 "@babel/runtime" "^7.18.3"
711 "@polkadot/networks" "^9.4.1"711 "@polkadot/networks" "^9.4.1"
712 "@polkadot/types" "8.7.2-11"712 "@polkadot/types" "8.7.2-15"
713 "@polkadot/types-codec" "8.7.2-11"713 "@polkadot/types-codec" "8.7.2-15"
714 "@polkadot/types-create" "8.7.2-11"714 "@polkadot/types-create" "8.7.2-15"
715 "@polkadot/util" "^9.4.1"715 "@polkadot/util" "^9.4.1"
716716
717"@polkadot/types-support@8.7.2-11":717"@polkadot/types-support@8.7.2-15":
718 version "8.7.2-11"718 version "8.7.2-15"
719 resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.7.2-11.tgz#ed08331ba1faf7a803e35aafa0692eefd28baa90"719 resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-8.7.2-15.tgz#2d726e3d5615383ca97db3f32ee21e2aad077fcb"
720 integrity sha512-oflUi0eahFMoS3Sxz6EKjZKNl7GMRnd91kClEV0FzR1wEha+3CL1BCXTGV3n8YoJtfztUUNInVHPQTvMW78WvQ==720 integrity sha512-Tl6xm9r/uqrKQK1OUdi5X9MaTgplBYPj3tY9677ZPV7QGYWt0Uz912u9fC2v0PGNReDXtzvrlgvk0aoErwzF5Q==
721 dependencies:721 dependencies:
722 "@babel/runtime" "^7.18.3"722 "@babel/runtime" "^7.18.3"
723 "@polkadot/util" "^9.4.1"723 "@polkadot/util" "^9.4.1"
724724
725"@polkadot/types@8.7.2-11":725"@polkadot/types@8.7.2-15":
726 version "8.7.2-11"726 version "8.7.2-15"
727 resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.7.2-11.tgz#84b1dca2896fec4af23d4096fa810b59f44071ac"727 resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.7.2-15.tgz#5b25b6b76c916637a1d15133b5880a73079e65bc"
728 integrity sha512-PSreCXr/csWpMVqtByEj7Pk5j+JEqxOiipsP+PdtOJaRnWtBMFpMqs7Fj2uULVYqFJKKPyp+JofnRDRcH1YDYg==728 integrity sha512-KfJKzk6/Ta8vZVJH8+xYYPvd9SD+4fdl4coGgKuPGYZFsjDGnYvAX4ls6/WKby51JK5s24sqaUP3vZisIgh4wA==
729 dependencies:729 dependencies:
730 "@babel/runtime" "^7.18.3"730 "@babel/runtime" "^7.18.3"
731 "@polkadot/keyring" "^9.4.1"731 "@polkadot/keyring" "^9.4.1"
732 "@polkadot/types-augment" "8.7.2-11"732 "@polkadot/types-augment" "8.7.2-15"
733 "@polkadot/types-codec" "8.7.2-11"733 "@polkadot/types-codec" "8.7.2-15"
734 "@polkadot/types-create" "8.7.2-11"734 "@polkadot/types-create" "8.7.2-15"
735 "@polkadot/util" "^9.4.1"735 "@polkadot/util" "^9.4.1"
736 "@polkadot/util-crypto" "^9.4.1"736 "@polkadot/util-crypto" "^9.4.1"
737 rxjs "^7.5.5"737 rxjs "^7.5.5"